From 9892882369019e6b504f3e6efe169b742b47d550 Mon Sep 17 00:00:00 2001 From: Mozafar Date: Mon, 26 Aug 2024 11:32:42 +0100 Subject: [PATCH] chore: update alpha with latest master (#1586) * chore: update modal accessibility and translation chore: remove unnecessary files in PR chore: update modal accessibility and translation * fix: add aggregate data exchange to sharing dialog type prop's type * fix: add all possible sharing dialog type prop's types * fix: restrict dialog types to only sharable and restrict type of sharing type * fix(translations): sync translations from transifex (master) Automatically merged. * chore(release): cut 9.8.2 [skip release] ## [9.8.2](https://github.com/dhis2/ui/compare/v9.8.1...v9.8.2) (2024-06-14) ### Bug Fixes * **translations:** sync translations from transifex (master) ([0dfb475](https://github.com/dhis2/ui/commit/0dfb4754c0d0d13f54a499b7a589633b877fe2a7)) * fix(translations): sync translations from transifex (master) Automatically merged. * chore(release): cut 9.8.3 [skip release] ## [9.8.3](https://github.com/dhis2/ui/compare/v9.8.2...v9.8.3) (2024-06-16) ### Bug Fixes * **translations:** sync translations from transifex (master) ([5f7f65a](https://github.com/dhis2/ui/commit/5f7f65a01bb0819a5794e1ce10550b283a9b3c0e)) * fix(modal): dont swallow keyDown events * fix(drop-down): dont swallow keyDown events unless its esc and open (#1529) * chore(release): cut 9.8.4 [skip release] ## [9.8.4](https://github.com/dhis2/ui/compare/v9.8.3...v9.8.4) (2024-06-19) ### Bug Fixes * **drop-down:** dont swallow keyDown events unless its esc and open ([#1529](https://github.com/dhis2/ui/issues/1529)) ([bdb8eff](https://github.com/dhis2/ui/commit/bdb8eff1c34f1352ce27130584bcf2f442b9e6d5)) * chore(release): cut 9.8.5 [skip release] ## [9.8.5](https://github.com/dhis2/ui/compare/v9.8.4...v9.8.5) (2024-06-19) ### Bug Fixes * **modal:** dont swallow keyDown events ([d4a0c44](https://github.com/dhis2/ui/commit/d4a0c44bcd3892f46510eae0c16c977681f8069f)) * chore(release): cut 9.8.6 [skip release] ## [9.8.6](https://github.com/dhis2/ui/compare/v9.8.5...v9.8.6) (2024-06-20) ### Bug Fixes * add aggregate data exchange to sharing dialog type prop's type ([d3b5486](https://github.com/dhis2/ui/commit/d3b54860337913be53ed25cbb72a0710787fdd28)) * add all possible sharing dialog type prop's types ([43210cb](https://github.com/dhis2/ui/commit/43210cb1f7df6e903f86ad8f5a4d93471704a28b)) * restrict dialog types to only sharable and restrict type of sharing type ([1748809](https://github.com/dhis2/ui/commit/1748809b093ebefefc01db2e4054d61b039fcd52)) * fix(split-button): stop swallowing key down events * chore(release): cut 9.8.7 [skip release] ## [9.8.7](https://github.com/dhis2/ui/compare/v9.8.6...v9.8.7) (2024-06-20) ### Bug Fixes * **split-button:** stop swallowing key down events ([22d43bc](https://github.com/dhis2/ui/commit/22d43bc54ee5be5fc6b17400ac7b4a518051dfe7)) * fix: i18n wrap pick a date (#1531) * chore(release): cut 9.8.8 [skip release] ## [9.8.8](https://github.com/dhis2/ui/compare/v9.8.7...v9.8.8) (2024-06-20) ### Bug Fixes * i18n wrap pick a date ([#1531](https://github.com/dhis2/ui/issues/1531)) ([4e4a43d](https://github.com/dhis2/ui/commit/4e4a43db24342300c4db94ac497d1a381c50dab2)) * fix: update @dhis2/multi-calendar-dates (#1525) * chore(release): cut 9.8.9 [skip release] ## [9.8.9](https://github.com/dhis2/ui/compare/v9.8.8...v9.8.9) (2024-06-20) ### Bug Fixes * update @dhis2/multi-calendar-dates ([#1525](https://github.com/dhis2/ui/issues/1525)) ([cf5d39d](https://github.com/dhis2/ui/commit/cf5d39d2b9898958e6e3c359d1062f16b2011778)) * fix(LIBS-629): bump library to use Nepali script when 'ne' locale passed * chore(release): cut 9.8.10 [skip release] ## [9.8.10](https://github.com/dhis2/ui/compare/v9.8.9...v9.8.10) (2024-07-01) ### Bug Fixes * **LIBS-629:** bump library to use Nepali script when 'ne' locale passed ([6546572](https://github.com/dhis2/ui/commit/6546572ea30d8faed53728cb8b005da0445326d4)) * feat(menu): add aria-attributes and roles to menu and its components (#1514) * feat: add relevant aria-attributes and roles to menu and its child components * fix: update role to menuitem in sharing-dialog-autocomplete test * feat(menu): add keyboard accessibility to menus (#1533) * feat: add support for keyboard navigation and action - Navigate menu items using Up and Down arrow keys - Space and Enter keys trigger the onClick handler attached to the menu items - Extract navigation and action logic into custom useMenuNavigation hook - Handle visual focus of menu items by tracking only the focusable items - Pass only native props to the native child elements, i.e. tabIndex - Implement tests simulating keyboard interactions * feat: ensure all menu children are li elements - wrap non-li children in li tags for consistency - assign tabIndex for visual focus to children with menuitem role - add active CSS class to focused MenuItem component - modify tests * fix: conditional focus and navigation of menu - apply focus and keyboard navigation within the menu iff it contains focusable items * fix: add suffix to MenuItemProps * chore(release): cut 9.9.0 [skip release] # [9.9.0](https://github.com/dhis2/ui/compare/v9.8.10...v9.9.0) (2024-07-02) ### Features * **menu:** add aria-attributes and roles to menu and its components ([#1514](https://github.com/dhis2/ui/issues/1514)) ([54b816c](https://github.com/dhis2/ui/commit/54b816c8ac28ef74ac628130994c9c8fadf9d178)) * **menu:** add keyboard accessibility to menus ([#1533](https://github.com/dhis2/ui/issues/1533)) ([235a71e](https://github.com/dhis2/ui/commit/235a71e92d41c35b84e61407adfbfa53b3513d4e)) * fix(translations): sync translations from transifex (master) (#1532) * chore(release): cut 9.9.1 [skip release] ## [9.9.1](https://github.com/dhis2/ui/compare/v9.9.0...v9.9.1) (2024-07-02) ### Bug Fixes * **translations:** sync translations from transifex (master) ([#1532](https://github.com/dhis2/ui/issues/1532)) ([bb15173](https://github.com/dhis2/ui/commit/bb151732970dee94d0431d379373fbb369776346)) * feat(TabBar): accessibility improvements for TabBar & Tab (#1468) * feat(TabBar): accessibility improvements for TabBar & Tab * feat: make Tabs a composite component * fix: failing tests * docs: improve documentation for CalendarInput callback function usage (#1538) * feat(menu): memoise menu's childrenToRender function and add valid role checks (#1539) * feat: optimise menu and add valid role checks - memoise menu's childrenToRender function - add comments explaining menu child checks and the props passed to them - avoid passing custom props to native HTML elements - move separator role to the divider component - check if role exists on menu children and log a console warning if not - update tests * fix(lint): lint issue in master --------- Co-authored-by: Mozafar Haider * chore(release): cut 9.10.0 [skip release] # [9.10.0](https://github.com/dhis2/ui/compare/v9.9.1...v9.10.0) (2024-07-03) ### Features * **menu:** memoise menu's childrenToRender function and add valid role checks ([#1539](https://github.com/dhis2/ui/issues/1539)) ([bddbdae](https://github.com/dhis2/ui/commit/bddbdaeb63180b80a4352a256e7916ab75f633e9)) * **TabBar:** accessibility improvements for TabBar & Tab ([#1468](https://github.com/dhis2/ui/issues/1468)) ([b095f5a](https://github.com/dhis2/ui/commit/b095f5a90688b7e95338622137c71b2305fd9fe7)) * fix: do not hijack input when inside a menu (#1551) * fix(selectorbar): handle components other than SelectorBarItem correctly as children (#1534) * chore(release): cut 9.10.1 [skip release] ## [9.10.1](https://github.com/dhis2/ui/compare/v9.10.0...v9.10.1) (2024-07-04) ### Bug Fixes * **selectorbar:** handle components other than SelectorBarItem correctly as children ([#1534](https://github.com/dhis2/ui/issues/1534)) ([7c78ac7](https://github.com/dhis2/ui/commit/7c78ac729b763e1c230d50828cc2728f0ed360e7)) * do not hijack input when inside a menu ([#1551](https://github.com/dhis2/ui/issues/1551)) ([7a27d3d](https://github.com/dhis2/ui/commit/7a27d3df5e4812ee01a3c2a9b1d69a3bab1ce96e)) * refactor(storybook): replace "storiesOf" with new api * refactor(testing story filenames): rename stories.e2e to e2e.stories * chore(prod story filenames): change file extension from stories.js to prod.stories.js * fix(calendar): pin temporal dependency to version 0.4.3 due to breaking changes * chore(workspace package json): use new storybook start command * chore(storybook): active working plugins * chore(storybook): restore proper output & use static directory * chore: adjust react-dependency to prevent "wrong hook usage" error * chore: fix imports from story to story files * chore: fix final-form re-export snapshot tests * chore: fix import in calendar input e2e story * chore: fix linter issues * chore: remove legacy scripts and GH workflow bandaids * chore(headerbar profile): fix wrongly resolved merge conflict post-rebase * chore: fix tooltip story * chore(cypress): fix intersection detector tests * chore: fix most cypress tests * chore: fix linter issues * refactor: fix circular dependencies * refactor: add missing file extensions in import statements * chore(headerbar online test): wait for story to render before proceeding * chore(storybook): upgrade react & react-dom to ^18 * fix: get storybook 8 working * fix: get rid of storybook references in docs * chore(menu item cypress test): fix selectors * fix(icon types): export IconSubtract16 & IconSubtract24 * fix(menu item types): make suffix prop optional * fix(modal types): accept ReactNodes as children * fix(tag types): accept ReactNodes as children * chore(release): cut 9.10.2 [skip release] ## [9.10.2](https://github.com/dhis2/ui/compare/v9.10.1...v9.10.2) (2024-07-15) ### Bug Fixes * **icon types:** export IconSubtract16 & IconSubtract24 ([5237c66](https://github.com/dhis2/ui/commit/5237c66ffa372ca79eb28c55369cefc7d4eab327)) * **menu item types:** make suffix prop optional ([c059fde](https://github.com/dhis2/ui/commit/c059fde8e511c21c8540a418833a98b2f868eb6e)) * **modal types:** accept ReactNodes as children ([bc59cf7](https://github.com/dhis2/ui/commit/bc59cf769d24ac66061b78424db0732f164ce387)) * **tag types:** accept ReactNodes as children ([c093a14](https://github.com/dhis2/ui/commit/c093a14988da636a88bc9ce2c5e7589a5a7e8f80)) * chore: make build script work again * fix(translations): sync translations from transifex (master) Automatically merged. * chore(release): cut 9.10.3 [skip release] ## [9.10.3](https://github.com/dhis2/ui/compare/v9.10.2...v9.10.3) (2024-07-24) ### Bug Fixes * **translations:** sync translations from transifex (master) ([b7d3ec6](https://github.com/dhis2/ui/commit/b7d3ec6a91d7fd54c9220364c678f71c9daa14eb)) * feat: implement accessible flyout menu and handle submenus (#1495) - focus the popper's first child element when it is rendered - move focus to flyout menu's first child, i.e. the menu when it receives focus - the Right arrow key opens the submenu, Left arrow key closes submenu and focuses its parent item - close flyout menu with the Escape key by passing it a closeMenu function as a prop - add unit tests simulating opening and closing of submenus * chore(release): cut 9.11.0 [skip release] # [9.11.0](https://github.com/dhis2/ui/compare/v9.10.3...v9.11.0) (2024-07-29) ### Features * implement accessible flyout menu and handle submenus ([#1495](https://github.com/dhis2/ui/issues/1495)) ([73d1f7e](https://github.com/dhis2/ui/commit/73d1f7e062ad393a156b3b439b590c5927f0fc9d)) * fix: issue with production build not loading some dependent modules * chore(package json): remove superfluous resolutions (react & temporal) * fix: resolve react version (#1567) * fix: resolve react version * fix: update yarn.lock again to test the build passes on CI --------- Co-authored-by: Flaminia Cavallo Co-authored-by: Mozafar Haider * fix: pin react version in resolution (#1573) * fix: fix publishing to npm (#1577) * chore(release): cut 9.11.1 [skip release] ## [9.11.1](https://github.com/dhis2/ui/compare/v9.11.0...v9.11.1) (2024-08-08) ### Bug Fixes * fix publishing to npm ([#1577](https://github.com/dhis2/ui/issues/1577)) ([1889a7b](https://github.com/dhis2/ui/commit/1889a7baf0ad1b6709272be61094da80cad65fe1)) * get rid of storybook references in docs ([1904b17](https://github.com/dhis2/ui/commit/1904b172bfde066a17a0edf82c196959ba35c8bb)) * get storybook 8 working ([8c6be62](https://github.com/dhis2/ui/commit/8c6be62c2df9261109df12e51c7dc2339b59eedf)) * issue with production build not loading some dependent modules ([5060c61](https://github.com/dhis2/ui/commit/5060c6143e3788895ab4282ba7dc84283d62bae8)) * pin react version in resolution ([#1573](https://github.com/dhis2/ui/issues/1573)) ([46cdd79](https://github.com/dhis2/ui/commit/46cdd79c27b28d69eb8e5d72a6946376961ba670)) * resolve react version ([#1567](https://github.com/dhis2/ui/issues/1567)) ([c18a73d](https://github.com/dhis2/ui/commit/c18a73d71a1a59e4229adae2f964e06041eaab8b)) * **calendar:** pin temporal dependency to version 0.4.3 due to breaking changes ([3b5a586](https://github.com/dhis2/ui/commit/3b5a58614eb6992469d5c5d74aa19aa225fb2b1c)) * fix(translations): sync translations from transifex (master) Automatically merged. * fix(translations): sync translations from transifex (master) Automatically merged. * chore(release): cut 9.11.2 [skip release] ## [9.11.2](https://github.com/dhis2/ui/compare/v9.11.1...v9.11.2) (2024-08-18) ### Bug Fixes * **translations:** sync translations from transifex (master) ([2f82be2](https://github.com/dhis2/ui/commit/2f82be21006c25b40b3d4e29f479a2c7ee0bd2fa)) * **translations:** sync translations from transifex (master) ([e8b0559](https://github.com/dhis2/ui/commit/e8b05595730f02fdf58e12eb58daf346fc66ffd8)) * fix: select-field not showing in correct place (#1400) * chore(release): cut 9.11.3 [skip release] ## [9.11.3](https://github.com/dhis2/ui/compare/v9.11.2...v9.11.3) (2024-08-21) ### Bug Fixes * select-field not showing in correct place ([#1400](https://github.com/dhis2/ui/issues/1400)) ([d97d640](https://github.com/dhis2/ui/commit/d97d640f92c1c42dbc92e46771b6a58870add895)) * docs: update css variables info (#1584) --------- Co-authored-by: chisom chima Co-authored-by: Flaminia Cavallo Co-authored-by: @dhis2-bot Co-authored-by: Birk Johansson Co-authored-by: Chisom Chima <87203527+Chisomchima@users.noreply.github.com> Co-authored-by: Flaminia Co-authored-by: Thomas Zemp Co-authored-by: Diana Nanyanzi <31903212+d-rita@users.noreply.github.com> Co-authored-by: Alaa Yahia <6881345+alaa-yahia@users.noreply.github.com> Co-authored-by: Redet Getachew Co-authored-by: Mohammer5 Co-authored-by: Jan-Gerke Salomon Co-authored-by: Flaminia Cavallo --- CHANGELOG.md | 26 +- collections/forms/i18n/en.pot | 4 +- collections/forms/package.json | 20 +- collections/ui/package.json | 98 +- components/alert/package.json | 8 +- components/box/package.json | 4 +- components/button/package.json | 12 +- components/calendar/i18n/en.pot | 7 +- components/calendar/package.json | 18 +- .../src/calendar-input/calendar-input.js | 2 +- components/card/package.json | 4 +- components/center/package.json | 4 +- components/checkbox/package.json | 8 +- components/chip/package.json | 4 +- components/cover/package.json | 4 +- components/css/package.json | 4 +- components/divider/package.json | 4 +- components/field/package.json | 10 +- components/file-input/package.json | 16 +- components/header-bar/package.json | 30 +- components/help/package.json | 4 +- components/input/package.json | 16 +- components/intersection-detector/package.json | 4 +- components/label/package.json | 6 +- components/layer/package.json | 6 +- components/legend/package.json | 6 +- components/loader/package.json | 4 +- components/logo/package.json | 4 +- components/menu/package.json | 16 +- components/modal/package.json | 14 +- components/node/package.json | 6 +- components/notice-box/package.json | 6 +- .../organisation-unit-tree/package.json | 12 +- components/pagination/package.json | 10 +- components/popover/package.json | 8 +- components/popper/package.json | 4 +- components/portal/package.json | 2 +- components/radio/package.json | 4 +- components/required/package.json | 4 +- components/segmented-control/package.json | 4 +- components/select/package.json | 30 +- components/select/src/select/menu-wrapper.js | 2 +- .../features/can_show_conditionally.feature | 7 + .../features/can_show_conditionally/index.js | 24 + .../single-select-field.e2e.stories.js | 39 + components/selector-bar/package.json | 22 +- components/sharing-dialog/package.json | 34 +- components/status-icon/package.json | 8 +- components/switch/package.json | 8 +- components/tab/package.json | 8 +- components/table/package.json | 6 +- components/tag/package.json | 4 +- components/text-area/package.json | 14 +- components/tooltip/package.json | 8 +- components/transfer/package.json | 14 +- components/user-avatar/package.json | 4 +- constants/package.json | 2 +- docs/docs/utilities/constants.md | 2 +- docs/package.json | 2 +- icons/package.json | 2 +- package.json | 2 +- storybook/package.json | 6 +- yarn.lock | 5860 ++++++++--------- 63 files changed, 3203 insertions(+), 3332 deletions(-) create mode 100644 components/select/src/single-select-field/features/can_show_conditionally.feature create mode 100644 components/select/src/single-select-field/features/can_show_conditionally/index.js diff --git a/CHANGELOG.md b/CHANGELOG.md index fd0108a868..b30be1234f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [9.11.3](https://github.com/dhis2/ui/compare/v9.11.2...v9.11.3) (2024-08-21) + + +### Bug Fixes + +* select-field not showing in correct place ([#1400](https://github.com/dhis2/ui/issues/1400)) ([d97d640](https://github.com/dhis2/ui/commit/d97d640f92c1c42dbc92e46771b6a58870add895)) + ## [9.11.2](https://github.com/dhis2/ui/compare/v9.11.1...v9.11.2) (2024-08-18) @@ -11,9 +18,6 @@ ### Bug Fixes -* bump multi calendar library version in calendar component ([#1576](https://github.com/dhis2/ui/issues/1576)) ([5f2b13d](https://github.com/dhis2/ui/commit/5f2b13dc3abfd2396c83c39fb399d3c7e0d1dffe)) - -# [9.9.0-alpha.5](https://github.com/dhis2/ui/compare/v9.9.0-alpha.4...v9.9.0-alpha.5) (2024-08-08) * fix publishing to npm ([#1577](https://github.com/dhis2/ui/issues/1577)) ([1889a7b](https://github.com/dhis2/ui/commit/1889a7baf0ad1b6709272be61094da80cad65fe1)) * get rid of storybook references in docs ([1904b17](https://github.com/dhis2/ui/commit/1904b172bfde066a17a0edf82c196959ba35c8bb)) * get storybook 8 working ([8c6be62](https://github.com/dhis2/ui/commit/8c6be62c2df9261109df12e51c7dc2339b59eedf)) @@ -27,16 +31,6 @@ ### Features -* memorize calendar container component to improve perfromance ([#1575](https://github.com/dhis2/ui/issues/1575)) ([0d00a19](https://github.com/dhis2/ui/commit/0d00a19663147b24acc0513aa8958d630ffed94c)) - -# [9.9.0-alpha.4](https://github.com/dhis2/ui/compare/v9.9.0-alpha.3...v9.9.0-alpha.4) (2024-08-07) - - -### Features - -* verify date input only on blur on calendar input, close calendar popup on blur as well ([d8b0d1c](https://github.com/dhis2/ui/commit/d8b0d1cd2fd93a88413f0f73ad216783e6dd3ff7)) - -# [9.9.0-alpha.3](https://github.com/dhis2/ui/compare/v9.9.0-alpha.2...v9.9.0-alpha.3) (2024-08-01) * implement accessible flyout menu and handle submenus ([#1495](https://github.com/dhis2/ui/issues/1495)) ([73d1f7e](https://github.com/dhis2/ui/commit/73d1f7e062ad393a156b3b439b590c5927f0fc9d)) ## [9.10.3](https://github.com/dhis2/ui/compare/v9.10.2...v9.10.3) (2024-07-24) @@ -44,9 +38,6 @@ ### Bug Fixes -* bump multi calendar library version in calendar ([#1566](https://github.com/dhis2/ui/issues/1566)) ([d205016](https://github.com/dhis2/ui/commit/d205016ae9f51eb286007762d99549325199cedc)) - -# [9.9.0-alpha.2](https://github.com/dhis2/ui/compare/v9.9.0-alpha.1...v9.9.0-alpha.2) (2024-08-01) * **translations:** sync translations from transifex (master) ([b7d3ec6](https://github.com/dhis2/ui/commit/b7d3ec6a91d7fd54c9220364c678f71c9daa14eb)) ## [9.10.2](https://github.com/dhis2/ui/compare/v9.10.1...v9.10.2) (2024-07-15) @@ -72,9 +63,6 @@ ### Features -* support editable input | min & max dates | dd-mm-yyyy format in CalendarInput ([#1504](https://github.com/dhis2/ui/issues/1504)) ([99a78f5](https://github.com/dhis2/ui/commit/99a78f5caec83529af26a11a2dd4d93fface30b4)) - -# [9.9.0-alpha.1](https://github.com/dhis2/ui/compare/v9.8.1...v9.9.0-alpha.1) (2024-06-17) * **menu:** memoise menu's childrenToRender function and add valid role checks ([#1539](https://github.com/dhis2/ui/issues/1539)) ([bddbdae](https://github.com/dhis2/ui/commit/bddbdaeb63180b80a4352a256e7916ab75f633e9)) * **TabBar:** accessibility improvements for TabBar & Tab ([#1468](https://github.com/dhis2/ui/issues/1468)) ([b095f5a](https://github.com/dhis2/ui/commit/b095f5a90688b7e95338622137c71b2305fd9fe7)) diff --git a/collections/forms/i18n/en.pot b/collections/forms/i18n/en.pot index 84c7a35ee4..589f3f8baa 100644 --- a/collections/forms/i18n/en.pot +++ b/collections/forms/i18n/en.pot @@ -5,8 +5,8 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" -"POT-Creation-Date: 2024-08-20T17:05:51.905Z\n" -"PO-Revision-Date: 2024-08-20T17:05:51.906Z\n" +"POT-Creation-Date: 2024-07-17T14:10:05.852Z\n" +"PO-Revision-Date: 2024-07-17T14:10:05.853Z\n" msgid "Upload file" msgstr "Upload file" diff --git a/collections/forms/package.json b/collections/forms/package.json index 2ec945f0ef..4c8d890c82 100644 --- a/collections/forms/package.json +++ b/collections/forms/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2/ui-forms", - "version": "9.11.2", + "version": "9.11.3", "main": "./build/cjs/index.js", "module": "./build/es/index.js", "sideEffects": [ @@ -35,15 +35,15 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/button": "9.11.2", - "@dhis2-ui/checkbox": "9.11.2", - "@dhis2-ui/field": "9.11.2", - "@dhis2-ui/file-input": "9.11.2", - "@dhis2-ui/input": "9.11.2", - "@dhis2-ui/radio": "9.11.2", - "@dhis2-ui/select": "9.11.2", - "@dhis2-ui/switch": "9.11.2", - "@dhis2-ui/text-area": "9.11.2", + "@dhis2-ui/button": "9.11.3", + "@dhis2-ui/checkbox": "9.11.3", + "@dhis2-ui/field": "9.11.3", + "@dhis2-ui/file-input": "9.11.3", + "@dhis2-ui/input": "9.11.3", + "@dhis2-ui/radio": "9.11.3", + "@dhis2-ui/select": "9.11.3", + "@dhis2-ui/switch": "9.11.3", + "@dhis2-ui/text-area": "9.11.3", "classnames": "^2.3.1", "final-form": "^4.20.2", "prop-types": "^15.7.2", diff --git a/collections/ui/package.json b/collections/ui/package.json index 7121c5544a..91c3245f68 100644 --- a/collections/ui/package.json +++ b/collections/ui/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2/ui", - "version": "9.11.2", + "version": "9.11.3", "main": "./build/cjs/index.js", "module": "./build/es/index.js", "exports": { @@ -21,54 +21,54 @@ "build": "d2-app-scripts build" }, "dependencies": { - "@dhis2-ui/alert": "9.11.2", - "@dhis2-ui/box": "9.11.2", - "@dhis2-ui/button": "9.11.2", - "@dhis2-ui/calendar": "9.9.0-alpha.6", - "@dhis2-ui/card": "9.11.2", - "@dhis2-ui/center": "9.11.2", - "@dhis2-ui/checkbox": "9.11.2", - "@dhis2-ui/chip": "9.11.2", - "@dhis2-ui/cover": "9.11.2", - "@dhis2-ui/css": "9.11.2", - "@dhis2-ui/divider": "9.11.2", - "@dhis2-ui/field": "9.11.2", - "@dhis2-ui/file-input": "9.11.2", - "@dhis2-ui/header-bar": "9.11.2", - "@dhis2-ui/help": "9.11.2", - "@dhis2-ui/input": "9.11.2", - "@dhis2-ui/intersection-detector": "9.11.2", - "@dhis2-ui/label": "9.11.2", - "@dhis2-ui/layer": "9.11.2", - "@dhis2-ui/legend": "9.11.2", - "@dhis2-ui/loader": "9.11.2", - "@dhis2-ui/logo": "9.11.2", - "@dhis2-ui/menu": "9.11.2", - "@dhis2-ui/modal": "9.11.2", - "@dhis2-ui/node": "9.11.2", - "@dhis2-ui/notice-box": "9.11.2", - "@dhis2-ui/organisation-unit-tree": "9.11.2", - "@dhis2-ui/pagination": "9.11.2", - "@dhis2-ui/popover": "9.11.2", - "@dhis2-ui/popper": "9.11.2", - "@dhis2-ui/portal": "9.11.2", - "@dhis2-ui/radio": "9.11.2", - "@dhis2-ui/required": "9.11.2", - "@dhis2-ui/segmented-control": "9.11.2", - "@dhis2-ui/select": "9.11.2", - "@dhis2-ui/selector-bar": "9.11.2", - "@dhis2-ui/sharing-dialog": "9.11.2", - "@dhis2-ui/switch": "9.11.2", - "@dhis2-ui/tab": "9.11.2", - "@dhis2-ui/table": "9.11.2", - "@dhis2-ui/tag": "9.11.2", - "@dhis2-ui/text-area": "9.11.2", - "@dhis2-ui/tooltip": "9.11.2", - "@dhis2-ui/transfer": "9.11.2", - "@dhis2-ui/user-avatar": "9.11.2", - "@dhis2/ui-constants": "9.11.2", - "@dhis2/ui-forms": "9.11.2", - "@dhis2/ui-icons": "9.11.2", + "@dhis2-ui/alert": "9.11.3", + "@dhis2-ui/box": "9.11.3", + "@dhis2-ui/button": "9.11.3", + "@dhis2-ui/calendar": "9.11.3", + "@dhis2-ui/card": "9.11.3", + "@dhis2-ui/center": "9.11.3", + "@dhis2-ui/checkbox": "9.11.3", + "@dhis2-ui/chip": "9.11.3", + "@dhis2-ui/cover": "9.11.3", + "@dhis2-ui/css": "9.11.3", + "@dhis2-ui/divider": "9.11.3", + "@dhis2-ui/field": "9.11.3", + "@dhis2-ui/file-input": "9.11.3", + "@dhis2-ui/header-bar": "9.11.3", + "@dhis2-ui/help": "9.11.3", + "@dhis2-ui/input": "9.11.3", + "@dhis2-ui/intersection-detector": "9.11.3", + "@dhis2-ui/label": "9.11.3", + "@dhis2-ui/layer": "9.11.3", + "@dhis2-ui/legend": "9.11.3", + "@dhis2-ui/loader": "9.11.3", + "@dhis2-ui/logo": "9.11.3", + "@dhis2-ui/menu": "9.11.3", + "@dhis2-ui/modal": "9.11.3", + "@dhis2-ui/node": "9.11.3", + "@dhis2-ui/notice-box": "9.11.3", + "@dhis2-ui/organisation-unit-tree": "9.11.3", + "@dhis2-ui/pagination": "9.11.3", + "@dhis2-ui/popover": "9.11.3", + "@dhis2-ui/popper": "9.11.3", + "@dhis2-ui/portal": "9.11.3", + "@dhis2-ui/radio": "9.11.3", + "@dhis2-ui/required": "9.11.3", + "@dhis2-ui/segmented-control": "9.11.3", + "@dhis2-ui/select": "9.11.3", + "@dhis2-ui/selector-bar": "9.11.3", + "@dhis2-ui/sharing-dialog": "9.11.3", + "@dhis2-ui/switch": "9.11.3", + "@dhis2-ui/tab": "9.11.3", + "@dhis2-ui/table": "9.11.3", + "@dhis2-ui/tag": "9.11.3", + "@dhis2-ui/text-area": "9.11.3", + "@dhis2-ui/tooltip": "9.11.3", + "@dhis2-ui/transfer": "9.11.3", + "@dhis2-ui/user-avatar": "9.11.3", + "@dhis2/ui-constants": "9.11.3", + "@dhis2/ui-forms": "9.11.3", + "@dhis2/ui-icons": "9.11.3", "prop-types": "^15.7.2" }, "peerDependencies": { diff --git a/components/alert/package.json b/components/alert/package.json index d39dca11f4..fdbd24310f 100644 --- a/components/alert/package.json +++ b/components/alert/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/alert", - "version": "9.11.2", + "version": "9.11.3", "description": "UI Alert", "repository": { "type": "git", @@ -33,9 +33,9 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/portal": "9.11.2", - "@dhis2/ui-constants": "9.11.2", - "@dhis2/ui-icons": "9.11.2", + "@dhis2-ui/portal": "9.11.3", + "@dhis2/ui-constants": "9.11.3", + "@dhis2/ui-icons": "9.11.3", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/box/package.json b/components/box/package.json index a4347c214f..cdb694c433 100644 --- a/components/box/package.json +++ b/components/box/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/box", - "version": "9.11.2", + "version": "9.11.3", "description": "UI Box", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.2", + "@dhis2/ui-constants": "9.11.3", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/button/package.json b/components/button/package.json index f53a6db4b8..e117ab57f5 100644 --- a/components/button/package.json +++ b/components/button/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/button", - "version": "9.11.2", + "version": "9.11.3", "description": "UI Button", "repository": { "type": "git", @@ -33,11 +33,11 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/layer": "9.11.2", - "@dhis2-ui/loader": "9.11.2", - "@dhis2-ui/popper": "9.11.2", - "@dhis2/ui-constants": "9.11.2", - "@dhis2/ui-icons": "9.11.2", + "@dhis2-ui/layer": "9.11.3", + "@dhis2-ui/loader": "9.11.3", + "@dhis2-ui/popper": "9.11.3", + "@dhis2/ui-constants": "9.11.3", + "@dhis2/ui-icons": "9.11.3", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/calendar/i18n/en.pot b/components/calendar/i18n/en.pot index b1b9fb0605..49cf82045a 100644 --- a/components/calendar/i18n/en.pot +++ b/components/calendar/i18n/en.pot @@ -5,8 +5,8 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" -"POT-Creation-Date: 2024-08-17T14:54:18.072Z\n" -"PO-Revision-Date: 2024-08-17T14:54:18.073Z\n" +"POT-Creation-Date: 2024-06-20T08:43:03.143Z\n" +"PO-Revision-Date: 2024-06-20T08:43:03.143Z\n" msgid "Go to previous year" msgstr "Go to previous year" @@ -14,5 +14,8 @@ msgstr "Go to previous year" msgid "Go to next year" msgstr "Go to next year" +msgid "Pick a date" +msgstr "Pick a date" + msgid "Clear" msgstr "Clear" diff --git a/components/calendar/package.json b/components/calendar/package.json index 303d11acd1..e51b506622 100644 --- a/components/calendar/package.json +++ b/components/calendar/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/calendar", - "version": "9.9.0-alpha.6", + "version": "9.11.3", "description": "UI Calendar", "repository": { "type": "git", @@ -33,15 +33,15 @@ "styled-jsx": "^4" }, "dependencies": { - "@dhis2-ui/button": "9.11.2", - "@dhis2-ui/card": "9.11.2", - "@dhis2-ui/input": "9.11.2", - "@dhis2-ui/layer": "9.11.2", - "@dhis2-ui/popper": "9.11.2", - "@dhis2/multi-calendar-dates": "^1.0.0-alpha.29", + "@dhis2-ui/button": "9.11.3", + "@dhis2-ui/card": "9.11.3", + "@dhis2-ui/input": "9.11.3", + "@dhis2-ui/layer": "9.11.3", + "@dhis2-ui/popper": "9.11.3", + "@dhis2/multi-calendar-dates": "^1.2.3", "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.2", - "@dhis2/ui-icons": "9.11.2", + "@dhis2/ui-constants": "9.11.3", + "@dhis2/ui-icons": "9.11.3", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/calendar/src/calendar-input/calendar-input.js b/components/calendar/src/calendar-input/calendar-input.js index 0ff771cf87..53e273a0e7 100644 --- a/components/calendar/src/calendar-input/calendar-input.js +++ b/components/calendar/src/calendar-input/calendar-input.js @@ -112,7 +112,7 @@ export const CalendarInput = ({ <>
{ return ( - +