diff --git a/README.md b/README.md index ab8a87d..d4f681f 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,4 @@ This is the repo that you will use during the Web Academy exercises. Please fork Before participating, make sure you have gone through [the pre-requisites](https://dhis2.github.io/academy-web-app-dev/docs/before-academy/) for the academy. -For more information about the academy and the topics taught, check the website: https://dhis2.github.io/academy-web-app-dev/ \ No newline at end of file +For more information about the academy and the topics taught, check the website: https://dhis2.github.io/academy-web-app-dev/ diff --git a/package.json b/package.json index 0c33cfc..d59a3c3 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ }, "dependencies": { "@dhis2/app-runtime": "^3.10.3", + "@dhis2/ui": "^9.4.4", "react-router-dom": "^6.22.3" } } diff --git a/src/navigation/Navigation.js b/src/navigation/Navigation.js index 38b5781..cadd2f2 100644 --- a/src/navigation/Navigation.js +++ b/src/navigation/Navigation.js @@ -1,3 +1,4 @@ +import { Menu, MenuItem} from '@dhis2/ui' import PropTypes from 'prop-types' import React from 'react' // @TODO: Import the `Menu` and `MenuItem` components @@ -17,7 +18,7 @@ const NavigationItem = ({ path, label }) => { const onClick = () => navigate(path) // @TODO: Use the `MenuItem` component instead of the `div` - return
{label}
+ return } NavigationItem.propTypes = { @@ -27,23 +28,23 @@ NavigationItem.propTypes = { export const Navigation = () => ( // @TODO: Use the `Menu` components instead of the `div` -
+ -
+ ) diff --git a/src/views/AttributeCreateForm.js b/src/views/AttributeCreateForm.js new file mode 100644 index 0000000..89cf790 --- /dev/null +++ b/src/views/AttributeCreateForm.js @@ -0,0 +1,80 @@ +import i18n from '@dhis2/d2-i18n' +import { + Button, + InputFieldFF, + hasValue, + ReactFinalForm, + SingleSelectFieldFF, +} from '@dhis2/ui' +import React from 'react' +import styles from './Form.module.css' +import { useDataMutation } from '@dhis2/app-runtime' + +const { Field, Form: RFForm } = ReactFinalForm + +const mutation= { + resource : 'attributes', + type: 'create', + data: (values) =>values, +} + +const AttributeCreateForm = () => { + const [mutate] = useDataMutation(mutation, { + onComplete : () => { alert('success')}, + onError : () => { alert('error')} + + }) + const onSubmit = async (values) => { + mutate(values) + // @todo: add the mutation + } + + return ( +
+

{i18n.t('Add an attribute')}

+ + + {({ handleSubmit }) => ( +
+
+ +
+
+ +
+ +
+ +
+
+ )} +
+
+ ) +} + +export default AttributeCreateForm diff --git a/src/views/Attributes.js b/src/views/Attributes.js index 87b6a40..637e002 100644 --- a/src/views/Attributes.js +++ b/src/views/Attributes.js @@ -1,10 +1,33 @@ +import { useDataQuery } from '@dhis2/app-runtime' +import { CircularLoader, CenteredContent, NoticeBox, Table, TableBody, TableCell, TableCellHead, TableHead, TableRow, TableRowHead } from '@dhis2/ui' import React from 'react' -import { useGetAttributes } from '../hooks/index.js' +import AttributeCreateForm from './AttributeCreateForm' + +const query = { + attributesList: { + resource: 'attributes', + params: { + fields: ['displayName', 'code', 'unique'], + order: 'created:desc', + }, + } +} export const Attributes = () => { // we get the data using a custom hook // we will update this implementation after learning about app-runtime - const { loading, error, data } = useGetAttributes() + const { loading, error, data } = useDataQuery(query) + if (loading){ + return( + + + + ) + } + if (error){ + return{error?.message} + } + console.log(data) return (
@@ -13,12 +36,32 @@ export const Attributes = () => {

error message: {error?.message}

{ // if there is any data available - data?.attributes?.attributes && ( -
-                        {JSON.stringify(data.attributes.attributes, null, 4)}
-                    
+ data?.attributesList?.attributes && ( + + + + Name + Unique + + + + {data.attributesList.attributes.map( + ({id, displayName, unique}) => ( + + + {displayName} + + + {unique ? 'Yes' : 'No'} + + + ) + )} + +
) } +
) } diff --git a/src/views/Form.js b/src/views/Form.js index 1713331..567a4d2 100644 --- a/src/views/Form.js +++ b/src/views/Form.js @@ -1,7 +1,10 @@ -import { ReactFinalForm } from '@dhis2/ui' +import { useAlert } from '@dhis2/app-runtime' +import { InputFieldFF, ReactFinalForm, SingleSelectFieldFF, SwitchFieldFF, composeValidators, dhis2Password, hasValue, Button } from '@dhis2/ui' import React from 'react' import styles from './Form.module.css' + + /** * This is just a function to demonstrate the values when the form is submitted * It takes the form's values (which is an object), transforms it into readable JSON, @@ -15,31 +18,125 @@ import styles from './Form.module.css' * @param {string} values.email-confirmation * @param {bool} values.newsletter */ -const alertValues = (values) => { - const formattedValuesString = JSON.stringify(values, null, 2) - alert(formattedValuesString) -} + const { Field, Form: RFForm } = ReactFinalForm -export const Form = () => ( -
-

Form

- - - {({ handleSubmit }) => ( -
-
- -
-
- )} -
-
-) +export const Form = () => { + const {show} = useAlert((stringValues) => { + return 'All is Good' + stringValues + }, + (values) => { + if(values.title === 'Professor'){ + return{ + critical: true, + } + } + return{ + success: true, + } + }) + + const alertValues = (values) => { + const formattedValuesString = JSON.stringify(values, null, 2) + show(formattedValuesString) + } + + return ( +
+

Formulaire

+ + + {({ handleSubmit }) => ( +
+
+ +
+
+ + +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+ )} +
+
+ ) +} diff --git a/src/views/Home.js b/src/views/Home.js index 76ef507..8e35b8a 100644 --- a/src/views/Home.js +++ b/src/views/Home.js @@ -1,9 +1,17 @@ +import {useConfig} from '@dhis2/app-runtime' +import i18n from '@dhis2/d2-i18n' +import { Tag } from '@dhis2-ui/tag' import React from 'react' -export const Home = () => ( -
-

Home

+export const Home = () => { + const config = useConfig() + return ( +
+

{i18n.t('Bienvenue')}

+

{i18n.t(`DHIS2 Web App Academy 2024, Abidjan - Côte d'Ivoire`)}

+ + Running on API version: {config.apiVersion} +
+ ) +} -

DHIS2 Web App Academy 2024

-
-) diff --git a/yarn.lock b/yarn.lock index d63dae1..df202a5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1435,6 +1435,18 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/alert@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/alert/-/alert-9.4.4.tgz#4045882cb5bc5e6763897e4eca3d779e54f64d71" + integrity sha512-v3TjIQEDqUtAqcUsH62/TYqQLehzqRPOwqdw6LDa3Yldqf9iMJ6v66DBESO2QsYd33ZWPj0+ZWw8BDtAP/SubQ== + dependencies: + "@dhis2-ui/portal" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + "@dhis2/ui-icons" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/box@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/box/-/box-9.4.3.tgz#7a7766e28ab36775d37e6ff7639e8527b8809b9b" @@ -1445,6 +1457,16 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/box@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/box/-/box-9.4.4.tgz#646cdb3b30708ba2332d249eae47fa03a1e6d309" + integrity sha512-xTkjLlcKm7Z6gESys2QLkgYWZSKyvKXcU4GHDJMZ+HXjiSxLfGSmbKDJfBkGuOsCGYlgCMdM1jMBUQjT7zp/Fg== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/button@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/button/-/button-9.4.3.tgz#0440f3dc390ac9649c1c477452e32e9e61261c1d" @@ -1459,6 +1481,20 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/button@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/button/-/button-9.4.4.tgz#5fa1765e6b7a26fdeca875bf3114a5039deab8f0" + integrity sha512-U0JNzTcQkOlSm0GJsSPGRLDXMA5czS33SkaaL0S7kkNLcsTceZX/4cO6ldTuAJWPJLiuNsR8e/Rklos9xospLg== + dependencies: + "@dhis2-ui/layer" "9.4.4" + "@dhis2-ui/loader" "9.4.4" + "@dhis2-ui/popper" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + "@dhis2/ui-icons" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/calendar@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/calendar/-/calendar-9.4.3.tgz#ffe62abdf68dee9b7afd4e4b4dde0c71f6b2ed8a" @@ -1476,6 +1512,23 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/calendar@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/calendar/-/calendar-9.4.4.tgz#3b5147a42ffbefaab77824f5c95e755508d2291f" + integrity sha512-wBzWhJdnCyGJuNYFhLiLh2cwiSm2iSa/JNud449+atCK6O/XygBel96eaLUh63GWgKmM5RE9PIoHWm1xYfn5XA== + dependencies: + "@dhis2-ui/button" "9.4.4" + "@dhis2-ui/card" "9.4.4" + "@dhis2-ui/input" "9.4.4" + "@dhis2-ui/layer" "9.4.4" + "@dhis2-ui/popper" "9.4.4" + "@dhis2/multi-calendar-dates" "^1.1.1" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + "@dhis2/ui-icons" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/card@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/card/-/card-9.4.3.tgz#994052de11162a00daf0e60e47aabd0df4162b23" @@ -1486,6 +1539,16 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/card@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/card/-/card-9.4.4.tgz#8bb0ca90f5eef4421beef9506b2c244041f1c1ef" + integrity sha512-ZquXjtHeY+/zt5ojXmB8ZeqD5pnEriw7/8LHGi2TYGZovCbw0rN76pTIgL+9X7V2WcVbSQinxUpdlcXex8heGQ== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/center@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/center/-/center-9.4.3.tgz#5b96d1e672921fa418e840a0485e763f81b3951a" @@ -1496,6 +1559,16 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/center@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/center/-/center-9.4.4.tgz#c62c32bbe83aa20278845ec22cfcb5cc3a394d26" + integrity sha512-I+d1ByUcemZDYCPauiXY/EOjUDjoLPXTzpzAF3AboZNvGjo2+1AgHKNkAMp5WgBBQRaGoAiNLRhhgGEX6f9DhQ== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/checkbox@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/checkbox/-/checkbox-9.4.3.tgz#6bace74d49e58118da1c6d158ca88c18c011d58c" @@ -1508,6 +1581,18 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/checkbox@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/checkbox/-/checkbox-9.4.4.tgz#61b75fa7d1773e1d9a11b95126c44a465ac59eaa" + integrity sha512-i26bv/lBynQ1AeOhMmRJ4rQJr5HOFXe4VNCaQhq/+1q+g2dewyf0gIygJnjYMzcX48eyfQsBDU5JBYhuSz6kWw== + dependencies: + "@dhis2-ui/field" "9.4.4" + "@dhis2-ui/required" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/chip@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/chip/-/chip-9.4.3.tgz#c1efcbbef2fe4a34d4ca8cf67874f25a43dc59eb" @@ -1518,6 +1603,16 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/chip@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/chip/-/chip-9.4.4.tgz#f1b151e0bc091aca4e288ed7f4889a38bf1f74c6" + integrity sha512-+2FLdWcDGNOQmrCU0sKve+JRD1hwCd53sQ0D/OCI4zFCrJwJ5C7Pet5Y3Ys0hv8lAu4hCdwklSyKuwlIjYntjg== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/cover@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/cover/-/cover-9.4.3.tgz#cdc4393180f56e1f9cb9f9e8d766e61773d20708" @@ -1528,6 +1623,16 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/cover@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/cover/-/cover-9.4.4.tgz#89ed8113be5ba541d7250e32a828c5e2046369e7" + integrity sha512-JAywkI+Hebyn4EkiSf3li2E2+iDUvBwcgHH4AW5QkkRaM8YGqgluNnsn+AOL1Igs6lXh3jzGrsiN3xZSoGO6ww== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/css@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/css/-/css-9.4.3.tgz#a9b9573a9ca56062ad5a990e943c056a9c1fa939" @@ -1538,6 +1643,16 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/css@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/css/-/css-9.4.4.tgz#c46af291af86eec008f60205c7c46e100ef8188a" + integrity sha512-VBmYcTKet0YDEguptZ0+Yc789HmNiaMDTu3iUnJKuvurhYSaFGD/oK7d2Sr6bIo0KTQ+/XpcOL68+wRLktGgwQ== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/divider@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/divider/-/divider-9.4.3.tgz#c6f934a49a2377044a08def865b607b1e2060a4f" @@ -1548,6 +1663,16 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/divider@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/divider/-/divider-9.4.4.tgz#d904282c0bc8552180923e36189b421dfb4d3853" + integrity sha512-YjERDzyV4aznyKpREUDhh5QgykRAhNE6xr7rO5LiCNeFx2MpZY1Xq6AFoPZSuy966iAEU0KmOK+8Ow0NGg/9GA== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/field@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/field/-/field-9.4.3.tgz#b8b006e667cf443fb15fe05a51369cbea564f7c2" @@ -1561,6 +1686,19 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/field@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/field/-/field-9.4.4.tgz#80753ca3bc2c419dc1066e5e6d662b18ddaec032" + integrity sha512-07O3Npth26D0+kOHYdsfoF3fZm8SXfmtonKyOIOpRAmIX1TJZRNO9LuI5S9+z5vh0++x3Y+c9hIFmac0Vvm9aQ== + dependencies: + "@dhis2-ui/box" "9.4.4" + "@dhis2-ui/help" "9.4.4" + "@dhis2-ui/label" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/file-input@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/file-input/-/file-input-9.4.3.tgz#5c3a1c235ada95a125d4bd4ed3926e16c07b9f34" @@ -1577,6 +1715,22 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/file-input@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/file-input/-/file-input-9.4.4.tgz#02878069f9f4db33a14dba9e18642d8e85f6d2e9" + integrity sha512-GS89r/FxYfd9GlXUqscUXjzh1f190mo9qwJN6GrrzeK+gSGwtFDtGHDCyES7qQ8MdtvgDlC8Dgdjl5EU7YP6tQ== + dependencies: + "@dhis2-ui/button" "9.4.4" + "@dhis2-ui/field" "9.4.4" + "@dhis2-ui/label" "9.4.4" + "@dhis2-ui/loader" "9.4.4" + "@dhis2-ui/status-icon" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + "@dhis2/ui-icons" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/header-bar@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/header-bar/-/header-bar-9.4.3.tgz#666af097b2c8058ea1ff733e26abd5cfd2ba7074" @@ -1601,6 +1755,30 @@ moment "^2.29.1" prop-types "^15.7.2" +"@dhis2-ui/header-bar@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/header-bar/-/header-bar-9.4.4.tgz#7c26955ea968bb25cac6766e549402ccde34d8c3" + integrity sha512-IA6yFbFFimWMYyHSD9idCLCamnWtAgRuoD3FG/8kKvOurTEwUcb0qYaecnQAstwWwZ8C+ZIKiTB0796WXj/SDg== + dependencies: + "@dhis2-ui/box" "9.4.4" + "@dhis2-ui/button" "9.4.4" + "@dhis2-ui/card" "9.4.4" + "@dhis2-ui/center" "9.4.4" + "@dhis2-ui/divider" "9.4.4" + "@dhis2-ui/input" "9.4.4" + "@dhis2-ui/layer" "9.4.4" + "@dhis2-ui/loader" "9.4.4" + "@dhis2-ui/logo" "9.4.4" + "@dhis2-ui/menu" "9.4.4" + "@dhis2-ui/modal" "9.4.4" + "@dhis2-ui/user-avatar" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + "@dhis2/ui-icons" "9.4.4" + classnames "^2.3.1" + moment "^2.29.1" + prop-types "^15.7.2" + "@dhis2-ui/help@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/help/-/help-9.4.3.tgz#6bb24d0ebabe26a2b85f453df64e8f07fa52a797" @@ -1611,6 +1789,16 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/help@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/help/-/help-9.4.4.tgz#6b3df94b6b8c0f7269dde3c90602dbb6dac889fa" + integrity sha512-V/ZNC/QwlN+444rb2wBAzEkqeLToafHQOEWCUUvcYEgC2Vxdh2bXEqBl6w4Bv2Xmh563k+AdxvXZtVL4zLA/og== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/input@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/input/-/input-9.4.3.tgz#99779bfddfc8aa557df3202f1f6bfb489234f30f" @@ -1627,6 +1815,22 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/input@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/input/-/input-9.4.4.tgz#621eab6b8d535fcb111094f660415ff4136cb156" + integrity sha512-F6GEeRUQXFxjhoY3+CuaZWrkS2D54vTuP429uCL77/Wn2HdqYWnDMz3ILubIR+T1C5otmAH5cqW3IinRGlOq+Q== + dependencies: + "@dhis2-ui/box" "9.4.4" + "@dhis2-ui/field" "9.4.4" + "@dhis2-ui/input" "9.4.4" + "@dhis2-ui/loader" "9.4.4" + "@dhis2-ui/status-icon" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + "@dhis2/ui-icons" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/intersection-detector@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/intersection-detector/-/intersection-detector-9.4.3.tgz#4b2df40f73ab6b76d0f94b8721546ab42232e96d" @@ -1637,6 +1841,16 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/intersection-detector@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/intersection-detector/-/intersection-detector-9.4.4.tgz#1ad2a7b47a84aeb674274272d362302f4b23ba56" + integrity sha512-+DhDX7/Y0uKZnTy4r4qTt6kQtdlYxJVnlx42CwAO4KWAJirOISDyepzKUii9ZFMLCcxQgQ2uddiCwdjPqLqiAQ== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/label@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/label/-/label-9.4.3.tgz#9ebab25a734baab05a1680d577bd11cf8d94a086" @@ -1648,6 +1862,17 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/label@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/label/-/label-9.4.4.tgz#107e21bcc7a8d29e8355d54d5e475c96364fc78d" + integrity sha512-uoYpozTDR1kxM+g8tWvvCV9Z4KT9+t4t4IKULICJLwEW8JfwXQxZnVmCvCc3Zv2fHZlmUN9XXGVt00VG1ldWsg== + dependencies: + "@dhis2-ui/required" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/layer@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/layer/-/layer-9.4.3.tgz#9cd91dcc8999a9270936fc899262a96f6684088b" @@ -1659,6 +1884,17 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/layer@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/layer/-/layer-9.4.4.tgz#980a9e397468b9418937202a0afaae868bed4b4b" + integrity sha512-PLqcBHfUB1EV24trWbkDv2m1viU3ijVYZQa13htxa5r800ei+ze6K4x15hnvI9qtCbNAvBv/N1Axxui4Xwjkdg== + dependencies: + "@dhis2-ui/portal" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/legend@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/legend/-/legend-9.4.3.tgz#bf1461062aa05e8aefe36356e38437ef1a6d765e" @@ -1670,6 +1906,17 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/legend@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/legend/-/legend-9.4.4.tgz#5476cfa7937ca9bbac3b9e64e991b17d51e9ced1" + integrity sha512-uqxHCFYMfP8yxV0lOyOgKbOUYRP3TNoO+fHyo78y2OGhjrsanHolZMPokf+POgZAFmBvQDtibOoyp2J7jq1Qog== + dependencies: + "@dhis2-ui/required" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/loader@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/loader/-/loader-9.4.3.tgz#41f8a212c7c9a3c62be3c087e0f6ec5838695238" @@ -1680,6 +1927,16 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/loader@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/loader/-/loader-9.4.4.tgz#2bd268cba9310db47c0a9dda04cff760380fc6b0" + integrity sha512-2B9PZ/iQIuCWbPIQFihrmX+1YHW5vZlOv+rsJT1SipSIj5sLWy4KYtjvm89lSu+Or60jnrNAJ8Iix5bnlb+dWw== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/logo@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/logo/-/logo-9.4.3.tgz#9479533737626dab0285445e117776110a475ee6" @@ -1690,6 +1947,16 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/logo@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/logo/-/logo-9.4.4.tgz#a0050a56aabafe33ef4c232a116980d289fbcc34" + integrity sha512-Nps/U5rCBaO8X8/A0gbd8SuGRdd1ymCRnXv5FuUvciQ8CcoQnjE8aVi0TMY1h/A8XDrLWZXyAnm3WbmA0GnOvw== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/menu@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/menu/-/menu-9.4.3.tgz#9042c76f9257f8eaac9eaa8d9f3ffc6eafda8d6b" @@ -1706,6 +1973,22 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/menu@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/menu/-/menu-9.4.4.tgz#a25fe07705d8e14e97390d8b59e7330d7fdc335e" + integrity sha512-TSIPM9vNswIo59yxPEZN30KTWbxQNXC2BLu6Fkd0FpgLO8ZxnAtG7qbgay8Y3c+9FIAt+Be/N41d+5VlSG8WtA== + dependencies: + "@dhis2-ui/card" "9.4.4" + "@dhis2-ui/divider" "9.4.4" + "@dhis2-ui/layer" "9.4.4" + "@dhis2-ui/popper" "9.4.4" + "@dhis2-ui/portal" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + "@dhis2/ui-icons" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/modal@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/modal/-/modal-9.4.3.tgz#402d687a231076992ae671e9029f6bb83c8bb2b8" @@ -1721,6 +2004,21 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/modal@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/modal/-/modal-9.4.4.tgz#3edbc8e3bb942aba2c8377aadd79514fe2fa7930" + integrity sha512-Ny9y9hxinbrnSQxoDCFh902BNozGjHdp1YG5w+sxyg4gfUjP2gh+OyoLILvw8LqvrjoukI7anfmikNoAEwjanw== + dependencies: + "@dhis2-ui/card" "9.4.4" + "@dhis2-ui/center" "9.4.4" + "@dhis2-ui/layer" "9.4.4" + "@dhis2-ui/portal" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + "@dhis2/ui-icons" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/node@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/node/-/node-9.4.3.tgz#690bb1069efa8d6e1087efb21905ccafbd31768e" @@ -1732,6 +2030,17 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/node@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/node/-/node-9.4.4.tgz#3c13b7424a172564a0d52893b4d1ac8a7d9ceac3" + integrity sha512-8kyvwqFc/cx1U50AhDymUnKR3OvWy6/EBnt8IOGrdFGrIRTk6P+JiRFUMfQ2aRubhtLMsDTpQ3LOMeHeP7/87w== + dependencies: + "@dhis2-ui/loader" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/notice-box@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/notice-box/-/notice-box-9.4.3.tgz#48ba69fa439b9bdee85190ae40baad55b995cd36" @@ -1743,6 +2052,17 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/notice-box@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/notice-box/-/notice-box-9.4.4.tgz#c333a0ffa0cddc20431071ec56f0521fa3dbcb5d" + integrity sha512-u7zcrq4EqCwCOszyl1FlfpeQj+Tn/UJ/J6mZ3v44+7gCTNMrEfT7Hf/drmTVLmFNquqDUP/ppr1uxwtQOResyA== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + "@dhis2/ui-icons" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/organisation-unit-tree@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/organisation-unit-tree/-/organisation-unit-tree-9.4.3.tgz#00c00ab39f811be0f7dc885141bf178093f3799d" @@ -1756,6 +2076,19 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/organisation-unit-tree@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/organisation-unit-tree/-/organisation-unit-tree-9.4.4.tgz#3e952d2fe0fd045d6bc2a6a92872ef8e83a6e7f2" + integrity sha512-qUDsQIHPE2QQVizfs+bomsrlPKVrPi8L2MtKVkma2P1/GlDnZaOoLYB70zzLLbqH90dUbwMlGF3ZXnbIhi+A6g== + dependencies: + "@dhis2-ui/checkbox" "9.4.4" + "@dhis2-ui/loader" "9.4.4" + "@dhis2-ui/node" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/pagination@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/pagination/-/pagination-9.4.3.tgz#9c5172a74feb10a795866c9f44a98a7a5a80c3b0" @@ -1769,6 +2102,19 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/pagination@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/pagination/-/pagination-9.4.4.tgz#35d4ab7e35a0a37d998fe51394ac1bda26b7052f" + integrity sha512-WnruI7k/wcXzZF84fWRcFhfA131p23NwkeUUbt45cm/36+SnDoYAl6Nbh1elEQpYu2jqMWVk2w82u37MT/usxg== + dependencies: + "@dhis2-ui/button" "9.4.4" + "@dhis2-ui/select" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + "@dhis2/ui-icons" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/popover@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/popover/-/popover-9.4.3.tgz#2ed3b6b5ad6540982c648bb0aecca4168e0ed34b" @@ -1781,6 +2127,18 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/popover@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/popover/-/popover-9.4.4.tgz#547dbffefbfdd838bf401a5a44e1e524ab028440" + integrity sha512-UosiUkknLNl3h+IuqNiEcLuGSskP8SV55BOUHEHIyE5HacRVjzyeKyK6ak/g0L8FyscYdpPvAAUqFRq7pnByzg== + dependencies: + "@dhis2-ui/layer" "9.4.4" + "@dhis2-ui/popper" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/popper@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/popper/-/popper-9.4.3.tgz#4fa1ce4893988f1cb03e2ee11b358940c65468ff" @@ -1794,6 +2152,19 @@ react-popper "^2.2.5" resize-observer-polyfill "^1.5.1" +"@dhis2-ui/popper@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/popper/-/popper-9.4.4.tgz#84d3e2155d93bc54cebdf1430dc7b2f207d681ae" + integrity sha512-avSwb0Ty25mE7BkoV/dWvwxZFLEWOOkEXSa2z5F/YNfec8gvCODiVGcHU6CEBfDXk7y4dqv7QtLEfaeoa8cpnA== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + "@popperjs/core" "^2.10.1" + classnames "^2.3.1" + prop-types "^15.7.2" + react-popper "^2.2.5" + resize-observer-polyfill "^1.5.1" + "@dhis2-ui/portal@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/portal/-/portal-9.4.3.tgz#3f72d076c869ebaa0d495d421a872fc1d944acb6" @@ -1802,6 +2173,14 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/portal@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/portal/-/portal-9.4.4.tgz#8de12cd6c0e975b47cd19caae8acc1500034f206" + integrity sha512-HSXWzWFlSy9layr9zmxQcITiOIsse9y7bK0kPRlqjqEtSSfF57iGcFSAOTwX4HBW0xE/lQ8n4UfHoGOU76LF0Q== + dependencies: + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/radio@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/radio/-/radio-9.4.3.tgz#c7f40a156ed9cd4362b6ac135356c30285d638bd" @@ -1812,6 +2191,16 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/radio@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/radio/-/radio-9.4.4.tgz#5654713ad8646aac31909ff6009b189975b3eaf5" + integrity sha512-JAqnlbX9arPASFNHJw8leeDs0FGKWvIOQDZeye9ApG8Xnl2vdu4Oa/8GfDPSPYHIGdvhx5VVH0D+PzAFLBeIUA== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/required@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/required/-/required-9.4.3.tgz#71a190295a2607dc104a228154163a111f357ac0" @@ -1822,6 +2211,16 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/required@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/required/-/required-9.4.4.tgz#fc167134d435a7ee4a86966887f282653e87f9f3" + integrity sha512-jwLwL+6y7Wp0IWiXyj28xmBpOsZOdyJlBUpdfmur7akVK46jMMTlugz36SpygU7f9dzExl2hJgDu01X8q/kdng== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/segmented-control@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/segmented-control/-/segmented-control-9.4.3.tgz#e1b4577b79402cde2d89b6966ac695f6f62ca405" @@ -1832,6 +2231,16 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/segmented-control@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/segmented-control/-/segmented-control-9.4.4.tgz#8f4b756b913f5162f7523c4044be80a068584649" + integrity sha512-A8p8VxRea3VV4G9yWc+zTfQarW/ZDIfkEWzKzsmyQEuqIWlTVPf7Hcva9I7Lx1CiDpScJdJbK5vGlglj4PKj5g== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/select@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/select/-/select-9.4.3.tgz#3963a2a0fa3710ea222bf7754a205d77eb4a6a9f" @@ -1855,6 +2264,29 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/select@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/select/-/select-9.4.4.tgz#39e566dc565a07c783ca9c3be0ad15de2484eec4" + integrity sha512-qIJunqROPGcP9Ys/yx4D/jUS20DE8ORxT3W1l+r/RnL/z8gPlyBAYeYB914nxualIhoUYXr7UjhgyJZfQbIafQ== + dependencies: + "@dhis2-ui/box" "9.4.4" + "@dhis2-ui/button" "9.4.4" + "@dhis2-ui/card" "9.4.4" + "@dhis2-ui/checkbox" "9.4.4" + "@dhis2-ui/chip" "9.4.4" + "@dhis2-ui/field" "9.4.4" + "@dhis2-ui/input" "9.4.4" + "@dhis2-ui/layer" "9.4.4" + "@dhis2-ui/loader" "9.4.4" + "@dhis2-ui/popper" "9.4.4" + "@dhis2-ui/status-icon" "9.4.4" + "@dhis2-ui/tooltip" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + "@dhis2/ui-icons" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/selector-bar@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/selector-bar/-/selector-bar-9.4.3.tgz#a25e30dd35ffb93728513ab88bbcee5ee18d02bf" @@ -1870,6 +2302,21 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/selector-bar@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/selector-bar/-/selector-bar-9.4.4.tgz#79513f90bdc1f4a2c6270cb8f2083dd14d4b11d9" + integrity sha512-9Z9dyrFU6XAEu0KLIa4TDQR/E8KJvjqMeaxWWpSrjnyM2Lmlfn9gH+qZ27TJSUMKqY/mdFJpSSr45aIQGgg2Rw== + dependencies: + "@dhis2-ui/button" "9.4.4" + "@dhis2-ui/card" "9.4.4" + "@dhis2-ui/layer" "9.4.4" + "@dhis2-ui/popper" "9.4.4" + "@dhis2/ui-constants" "9.4.4" + "@dhis2/ui-icons" "9.4.4" + "@testing-library/react" "^12.1.2" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/sharing-dialog@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/sharing-dialog/-/sharing-dialog-9.4.3.tgz#463a1b6faa45dc06380f2c0a1dea0fd448252162" @@ -1896,6 +2343,32 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/sharing-dialog@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/sharing-dialog/-/sharing-dialog-9.4.4.tgz#dcb9aa7436cd037e59f02231eeece7fbf6d82414" + integrity sha512-pYhMR+HXu4gvpFTfwWIe1XtW7+m4DxVzWPHGmHKi7ZbVh42csi466mlpJ29qid8KBo/KmsNASt+R6Vp0I3Dq5w== + dependencies: + "@dhis2-ui/box" "9.4.4" + "@dhis2-ui/button" "9.4.4" + "@dhis2-ui/card" "9.4.4" + "@dhis2-ui/divider" "9.4.4" + "@dhis2-ui/input" "9.4.4" + "@dhis2-ui/layer" "9.4.4" + "@dhis2-ui/menu" "9.4.4" + "@dhis2-ui/modal" "9.4.4" + "@dhis2-ui/notice-box" "9.4.4" + "@dhis2-ui/popper" "9.4.4" + "@dhis2-ui/select" "9.4.4" + "@dhis2-ui/tab" "9.4.4" + "@dhis2-ui/tooltip" "9.4.4" + "@dhis2-ui/user-avatar" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + "@dhis2/ui-icons" "9.4.4" + "@react-hook/size" "^2.1.2" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/status-icon@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/status-icon/-/status-icon-9.4.3.tgz#4b90cf35ec0569c629f4186dc9041d373432d111" @@ -1908,6 +2381,18 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/status-icon@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/status-icon/-/status-icon-9.4.4.tgz#ab44a615aee73a6f4edae6c2eeee017e9970b6c9" + integrity sha512-Hh/UueN9wrbpfrxegT7/712YlhZPlQ+fYDvPOty1GbAALDdPiMUg0F0YqonNXCeZUAuzX+mzxcxOoHk446GVaA== + dependencies: + "@dhis2-ui/loader" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + "@dhis2/ui-icons" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/switch@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/switch/-/switch-9.4.3.tgz#54c7f45e11942657ebbbd1de4f35f3f55ff4576d" @@ -1920,6 +2405,18 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/switch@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/switch/-/switch-9.4.4.tgz#181df81c21f369752bacabd62088b9531248ae13" + integrity sha512-MH3h3+EPtR9ZSq+fsFQSJkCxuKyzLZolcGCBPX2u+8sVmV+7AZ2P6yJ6YiAUGI9udMwZokLjPZSgp3QWwKEQQg== + dependencies: + "@dhis2-ui/field" "9.4.4" + "@dhis2-ui/required" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/tab@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/tab/-/tab-9.4.3.tgz#62417dda2594cf307cdb320cae092fd1cac3c12c" @@ -1931,6 +2428,17 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/tab@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/tab/-/tab-9.4.4.tgz#66ef74adf7e01c8a2f68327e0616795da1b7b064" + integrity sha512-2DqkH+IhiV4uFdvMg9aVJoao2D+U3s4kP+EsUlPPvRxvf2c7P6vjcitvACVgmDBnc2EWGw0jh02QhvOgQezhLA== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + "@dhis2/ui-icons" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/table@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/table/-/table-9.4.3.tgz#4e593ff5d15a4b0d0599e98818c054cd34c303fa" @@ -1942,6 +2450,17 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/table@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/table/-/table-9.4.4.tgz#b93c9ea878914df7dd3147f067c00ea946602fc4" + integrity sha512-i3f8go7JE/+7OyjWXN/ePlRduOC4Pc+9w4P+Sq3VOTFgYnMEPyVpZmz9/dgNtAGTto1Lh54ISU/wxwC+TXfRxw== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + "@dhis2/ui-icons" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/tag@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/tag/-/tag-9.4.3.tgz#c8bcc942dddf02b8b8659aea497cc5fe0c50cb7d" @@ -1952,6 +2471,16 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/tag@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/tag/-/tag-9.4.4.tgz#493a2369f384cb12f1104b18e34b54d516bce740" + integrity sha512-YMKndGKVXdQo5plKYy5RsN8AD233BbGZ9uzd/zmf7u2xs9C/DcK0JL+5UCZwVX++4swXTXbuSblE3Kl26a4U9Q== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/text-area@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/text-area/-/text-area-9.4.3.tgz#72953f5dcf75623769740b1ea8ff356610de7068" @@ -1967,6 +2496,21 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/text-area@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/text-area/-/text-area-9.4.4.tgz#f5d6ee3fab9c2f71b129ea6ce4b3f7d7b36e3bf5" + integrity sha512-vphcZ42dqr2kXpAbJZPyJpr911B/3dAHM/PmUIIF07CzNs3daiEiIELm38KQ1cs0Na5oqXgrdw3HZyhAo02vsw== + dependencies: + "@dhis2-ui/box" "9.4.4" + "@dhis2-ui/field" "9.4.4" + "@dhis2-ui/loader" "9.4.4" + "@dhis2-ui/status-icon" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + "@dhis2/ui-icons" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/tooltip@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/tooltip/-/tooltip-9.4.3.tgz#29820574c938341fc9cbe154806c6e6fbfe03b93" @@ -1979,6 +2523,18 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/tooltip@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/tooltip/-/tooltip-9.4.4.tgz#268c4d0a395669522d45dd0a5720c18589887929" + integrity sha512-qCHsGMuzL9YV3OnWw0j+tK0p5e+tzUd5g7CXbHPsrhtsctgKO5u/VWYnFaJlFh2cbctqvFPpS+buLMe1jndpjw== + dependencies: + "@dhis2-ui/popper" "9.4.4" + "@dhis2-ui/portal" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/transfer@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/transfer/-/transfer-9.4.3.tgz#989b262b464b089653f02a746e97dc5958ed8489" @@ -1994,6 +2550,21 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/transfer@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/transfer/-/transfer-9.4.4.tgz#d3f45a4a41eb35363c3f6ac57f8d499dd0ac198b" + integrity sha512-JMw2VWbybqOx5+4Sh1C9cPeiWN8xS6+ZNUivEwxOpKv/TBpeRBowOV7q0QEfzE1fGC9qyJqVxevBQhcp+2aUaA== + dependencies: + "@dhis2-ui/button" "9.4.4" + "@dhis2-ui/field" "9.4.4" + "@dhis2-ui/input" "9.4.4" + "@dhis2-ui/intersection-detector" "9.4.4" + "@dhis2-ui/loader" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2-ui/user-avatar@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2-ui/user-avatar/-/user-avatar-9.4.3.tgz#1874867bd92a44a21969927be8f3d162287466de" @@ -2004,6 +2575,16 @@ classnames "^2.3.1" prop-types "^15.7.2" +"@dhis2-ui/user-avatar@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2-ui/user-avatar/-/user-avatar-9.4.4.tgz#cb97b581e288c9d6a99d5f98a66fa3c63a6b27be" + integrity sha512-GILxEnNh0KwTKEMf5RCIvwV/BOv9GUKstuyLt9o5lX7YhT8QfMC0Uwn+IMOHtV6RoaewLbn0zyZF30NlZGohwg== + dependencies: + "@dhis2/prop-types" "^3.1.2" + "@dhis2/ui-constants" "9.4.4" + classnames "^2.3.1" + prop-types "^15.7.2" + "@dhis2/app-adapter@11.1.0": version "11.1.0" resolved "https://registry.yarnpkg.com/@dhis2/app-adapter/-/app-adapter-11.1.0.tgz#082f69873e997e13120243ee9e0914bcd339659a" @@ -2186,6 +2767,14 @@ "@js-temporal/polyfill" "^0.4.2" classnames "^2.3.2" +"@dhis2/multi-calendar-dates@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@dhis2/multi-calendar-dates/-/multi-calendar-dates-1.1.1.tgz#fb76a77114ce0b757db7dd9f588d1a47809732da" + integrity sha512-kaisVuRGfdqY/Up6sWqgc81K67ymPVoRYgYRcT29z61ol2WhiTXTSTuRX/gDO1VKjmskeB5/badRrdLMf4BBUA== + dependencies: + "@js-temporal/polyfill" "^0.4.2" + classnames "^2.3.2" + "@dhis2/prop-types@^3.1.2": version "3.1.2" resolved "https://registry.yarnpkg.com/@dhis2/prop-types/-/prop-types-3.1.2.tgz#65b8ad2da8cd2f72bc8b951049a6c9d1b97af3e9" @@ -2209,6 +2798,13 @@ dependencies: prop-types "^15.7.2" +"@dhis2/ui-constants@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2/ui-constants/-/ui-constants-9.4.4.tgz#4fe728f96fe92752b4a033b03f2fdb1313eafeb3" + integrity sha512-O+jHTT/S3jgcHP7gxcZenpMyOfBktvoB9MVGzoVaAW5rRbYe0cCSe1Zh70h25VMVhwxBTCTIR7G3uvDWcdb5Ww== + dependencies: + prop-types "^15.7.2" + "@dhis2/ui-forms@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2/ui-forms/-/ui-forms-9.4.3.tgz#0d4ff0ae7dd89d99d1b9fc4d29e382853b621731" @@ -2229,11 +2825,36 @@ prop-types "^15.7.2" react-final-form "^6.5.3" +"@dhis2/ui-forms@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2/ui-forms/-/ui-forms-9.4.4.tgz#9104665d2a57429df89caac720c59ad509328515" + integrity sha512-4QU4NXlExBqHWfoWnKIpDHB3wahDnJYO1CdZ64UcVurjdGKQdiAbX/WbrFYSpWuk8gO/DqQ8AC7JkTtpXXF9Lg== + dependencies: + "@dhis2-ui/button" "9.4.4" + "@dhis2-ui/checkbox" "9.4.4" + "@dhis2-ui/field" "9.4.4" + "@dhis2-ui/file-input" "9.4.4" + "@dhis2-ui/input" "9.4.4" + "@dhis2-ui/radio" "9.4.4" + "@dhis2-ui/select" "9.4.4" + "@dhis2-ui/switch" "9.4.4" + "@dhis2-ui/text-area" "9.4.4" + "@dhis2/prop-types" "^3.1.2" + classnames "^2.3.1" + final-form "^4.20.2" + prop-types "^15.7.2" + react-final-form "^6.5.3" + "@dhis2/ui-icons@9.4.3": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2/ui-icons/-/ui-icons-9.4.3.tgz#b7eac309031351003d0afdde31e5bbe15de928d0" integrity sha512-6o6L9gfWGLPlB35aBzyU13v6qGE+f2Xk1Xmt68fhqzcAqBj7e1UZ+XIQPb7b3bQlv2AWftWBhUGaMJJIlddtZg== +"@dhis2/ui-icons@9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2/ui-icons/-/ui-icons-9.4.4.tgz#c4f488496389687ebd47266e93e0aacf27054ef3" + integrity sha512-AGt+aYqpqb7f/2IH5quZ1bJoSz/WB3p7I1CdZHUPk/XP6rQpO2W7mqoLxiZYOHCiNlTU+sjfXcYauHaWZSTdjw== + "@dhis2/ui@^9.2.0": version "9.4.3" resolved "https://registry.yarnpkg.com/@dhis2/ui/-/ui-9.4.3.tgz#2b8606a1cf806750c075873086cb3bae3efa5c28" @@ -2289,6 +2910,61 @@ "@dhis2/ui-icons" "9.4.3" prop-types "^15.7.2" +"@dhis2/ui@^9.4.4": + version "9.4.4" + resolved "https://registry.yarnpkg.com/@dhis2/ui/-/ui-9.4.4.tgz#ae7961d42753d72e209f7d11b160b3179e6a6452" + integrity sha512-w1NMZy/S5tNbXGt7F5J5OM1P8qgq1Bo1ifV34YV3Cs+8rJYkHHsFOokUN+wSTdXUWqIKxOGrRoQkmgmjQ19WlA== + dependencies: + "@dhis2-ui/alert" "9.4.4" + "@dhis2-ui/box" "9.4.4" + "@dhis2-ui/button" "9.4.4" + "@dhis2-ui/calendar" "9.4.4" + "@dhis2-ui/card" "9.4.4" + "@dhis2-ui/center" "9.4.4" + "@dhis2-ui/checkbox" "9.4.4" + "@dhis2-ui/chip" "9.4.4" + "@dhis2-ui/cover" "9.4.4" + "@dhis2-ui/css" "9.4.4" + "@dhis2-ui/divider" "9.4.4" + "@dhis2-ui/field" "9.4.4" + "@dhis2-ui/file-input" "9.4.4" + "@dhis2-ui/header-bar" "9.4.4" + "@dhis2-ui/help" "9.4.4" + "@dhis2-ui/input" "9.4.4" + "@dhis2-ui/intersection-detector" "9.4.4" + "@dhis2-ui/label" "9.4.4" + "@dhis2-ui/layer" "9.4.4" + "@dhis2-ui/legend" "9.4.4" + "@dhis2-ui/loader" "9.4.4" + "@dhis2-ui/logo" "9.4.4" + "@dhis2-ui/menu" "9.4.4" + "@dhis2-ui/modal" "9.4.4" + "@dhis2-ui/node" "9.4.4" + "@dhis2-ui/notice-box" "9.4.4" + "@dhis2-ui/organisation-unit-tree" "9.4.4" + "@dhis2-ui/pagination" "9.4.4" + "@dhis2-ui/popover" "9.4.4" + "@dhis2-ui/popper" "9.4.4" + "@dhis2-ui/portal" "9.4.4" + "@dhis2-ui/radio" "9.4.4" + "@dhis2-ui/required" "9.4.4" + "@dhis2-ui/segmented-control" "9.4.4" + "@dhis2-ui/select" "9.4.4" + "@dhis2-ui/selector-bar" "9.4.4" + "@dhis2-ui/sharing-dialog" "9.4.4" + "@dhis2-ui/switch" "9.4.4" + "@dhis2-ui/tab" "9.4.4" + "@dhis2-ui/table" "9.4.4" + "@dhis2-ui/tag" "9.4.4" + "@dhis2-ui/text-area" "9.4.4" + "@dhis2-ui/tooltip" "9.4.4" + "@dhis2-ui/transfer" "9.4.4" + "@dhis2-ui/user-avatar" "9.4.4" + "@dhis2/ui-constants" "9.4.4" + "@dhis2/ui-forms" "9.4.4" + "@dhis2/ui-icons" "9.4.4" + prop-types "^15.7.2" + "@eslint-community/eslint-utils@^4.2.0": version "4.4.0" resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" @@ -11780,7 +12456,7 @@ string-natural-compare@^3.0.1: resolved "https://registry.yarnpkg.com/string-natural-compare/-/string-natural-compare-3.0.1.tgz#7a42d58474454963759e8e8b7ae63d71c1e7fdf4" integrity sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw== -"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -11806,6 +12482,15 @@ string-width@^3.0.0, string-width@^3.1.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^5.1.0" +string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string-width@^5.0.1, string-width@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" @@ -11884,7 +12569,7 @@ stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -11905,6 +12590,13 @@ strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.1: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -13312,7 +14004,7 @@ workbox-window@6.6.1: "@types/trusted-types" "^2.0.2" workbox-core "6.6.1" -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -13330,6 +14022,15 @@ wrap-ansi@^5.1.0: string-width "^3.0.0" strip-ansi "^5.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"