From 5d743fccc2f68a8e5a5078b02aa25e6c679772be Mon Sep 17 00:00:00 2001 From: Kai Vandivier <49666798+KaiVandivier@users.noreply.github.com> Date: Tue, 9 Apr 2024 15:15:04 +0200 Subject: [PATCH 01/57] fix(deps): upgrade @dhis2/multi-calendar-dates for relaxed peer deps fix (#1472) --- components/calendar/package.json | 4 ++-- yarn.lock | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/calendar/package.json b/components/calendar/package.json index d34d3b965c..cc90d51b1e 100644 --- a/components/calendar/package.json +++ b/components/calendar/package.json @@ -27,8 +27,8 @@ "test": "d2-app-scripts test --jestConfig ../../jest.config.shared.js" }, "peerDependencies": { - "react": "^16.8", "@dhis2/d2-i18n": "^1", + "react": "^16.8", "react-dom": "^16.8", "styled-jsx": "^4" }, @@ -38,7 +38,7 @@ "@dhis2-ui/input": "9.4.3", "@dhis2-ui/layer": "9.4.3", "@dhis2-ui/popper": "9.4.3", - "@dhis2/multi-calendar-dates": "1.0.2", + "@dhis2/multi-calendar-dates": "^1.1.1", "@dhis2/prop-types": "^3.1.2", "@dhis2/ui-constants": "9.4.3", "@dhis2/ui-icons": "9.4.3", diff --git a/yarn.lock b/yarn.lock index 0dac4c4cb7..d9e3542108 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2586,10 +2586,10 @@ i18next "^10.3" moment "^2.24.0" -"@dhis2/multi-calendar-dates@1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@dhis2/multi-calendar-dates/-/multi-calendar-dates-1.0.2.tgz#e54dc85e512aba93fceef3004e67e199077f3ba8" - integrity sha512-oQZ7PFMwHFpt4ygDN9DmAeYO3g07L7AHJW6diZ37mzpkEF/DyMafhsZHnJWNlTH5HDp8nYuO3EjBiM7fZN6C0g== +"@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" From 52aa1b4f7213f5c79d10b99b957647e260838a50 Mon Sep 17 00:00:00 2001 From: "@dhis2-bot" Date: Tue, 9 Apr 2024 13:31:08 +0000 Subject: [PATCH 02/57] chore(release): cut 9.4.4 [skip release] ## [9.4.4](https://github.com/dhis2/ui/compare/v9.4.3...v9.4.4) (2024-04-09) ### Bug Fixes * **deps:** upgrade @dhis2/multi-calendar-dates for relaxed peer deps fix ([#1472](https://github.com/dhis2/ui/issues/1472)) ([5d743fc](https://github.com/dhis2/ui/commit/5d743fccc2f68a8e5a5078b02aa25e6c679772be)) --- CHANGELOG.md | 7 ++ 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/package.json | 16 +-- 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 | 10 +- 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/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 | 6 +- 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/package.json | 2 +- icons/package.json | 2 +- package.json | 2 +- storybook/package.json | 6 +- 54 files changed, 285 insertions(+), 278 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0224c162bb..535bc7a5a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [9.4.4](https://github.com/dhis2/ui/compare/v9.4.3...v9.4.4) (2024-04-09) + + +### Bug Fixes + +* **deps:** upgrade @dhis2/multi-calendar-dates for relaxed peer deps fix ([#1472](https://github.com/dhis2/ui/issues/1472)) ([5d743fc](https://github.com/dhis2/ui/commit/5d743fccc2f68a8e5a5078b02aa25e6c679772be)) + ## [9.4.3](https://github.com/dhis2/ui/compare/v9.4.2...v9.4.3) (2024-03-19) diff --git a/collections/forms/package.json b/collections/forms/package.json index a178abc176..1fcebd2a1f 100644 --- a/collections/forms/package.json +++ b/collections/forms/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2/ui-forms", - "version": "9.4.3", + "version": "9.4.4", "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.4.3", - "@dhis2-ui/checkbox": "9.4.3", - "@dhis2-ui/field": "9.4.3", - "@dhis2-ui/file-input": "9.4.3", - "@dhis2-ui/input": "9.4.3", - "@dhis2-ui/radio": "9.4.3", - "@dhis2-ui/select": "9.4.3", - "@dhis2-ui/switch": "9.4.3", - "@dhis2-ui/text-area": "9.4.3", + "@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", "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 b89c2f80df..e3478fcbdb 100644 --- a/collections/ui/package.json +++ b/collections/ui/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2/ui", - "version": "9.4.3", + "version": "9.4.4", "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.4.3", - "@dhis2-ui/box": "9.4.3", - "@dhis2-ui/button": "9.4.3", - "@dhis2-ui/calendar": "9.4.3", - "@dhis2-ui/card": "9.4.3", - "@dhis2-ui/center": "9.4.3", - "@dhis2-ui/checkbox": "9.4.3", - "@dhis2-ui/chip": "9.4.3", - "@dhis2-ui/cover": "9.4.3", - "@dhis2-ui/css": "9.4.3", - "@dhis2-ui/divider": "9.4.3", - "@dhis2-ui/field": "9.4.3", - "@dhis2-ui/file-input": "9.4.3", - "@dhis2-ui/header-bar": "9.4.3", - "@dhis2-ui/help": "9.4.3", - "@dhis2-ui/input": "9.4.3", - "@dhis2-ui/intersection-detector": "9.4.3", - "@dhis2-ui/label": "9.4.3", - "@dhis2-ui/layer": "9.4.3", - "@dhis2-ui/legend": "9.4.3", - "@dhis2-ui/loader": "9.4.3", - "@dhis2-ui/logo": "9.4.3", - "@dhis2-ui/menu": "9.4.3", - "@dhis2-ui/modal": "9.4.3", - "@dhis2-ui/node": "9.4.3", - "@dhis2-ui/notice-box": "9.4.3", - "@dhis2-ui/organisation-unit-tree": "9.4.3", - "@dhis2-ui/pagination": "9.4.3", - "@dhis2-ui/popover": "9.4.3", - "@dhis2-ui/popper": "9.4.3", - "@dhis2-ui/portal": "9.4.3", - "@dhis2-ui/radio": "9.4.3", - "@dhis2-ui/required": "9.4.3", - "@dhis2-ui/segmented-control": "9.4.3", - "@dhis2-ui/select": "9.4.3", - "@dhis2-ui/selector-bar": "9.4.3", - "@dhis2-ui/sharing-dialog": "9.4.3", - "@dhis2-ui/switch": "9.4.3", - "@dhis2-ui/tab": "9.4.3", - "@dhis2-ui/table": "9.4.3", - "@dhis2-ui/tag": "9.4.3", - "@dhis2-ui/text-area": "9.4.3", - "@dhis2-ui/tooltip": "9.4.3", - "@dhis2-ui/transfer": "9.4.3", - "@dhis2-ui/user-avatar": "9.4.3", - "@dhis2/ui-constants": "9.4.3", - "@dhis2/ui-forms": "9.4.3", - "@dhis2/ui-icons": "9.4.3", + "@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" }, "peerDependencies": { diff --git a/components/alert/package.json b/components/alert/package.json index 361cc225af..28d0022f07 100644 --- a/components/alert/package.json +++ b/components/alert/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/alert", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Alert", "repository": { "type": "git", @@ -33,9 +33,9 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/portal": "9.4.3", - "@dhis2/ui-constants": "9.4.3", - "@dhis2/ui-icons": "9.4.3", + "@dhis2-ui/portal": "9.4.4", + "@dhis2/ui-constants": "9.4.4", + "@dhis2/ui-icons": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/box/package.json b/components/box/package.json index 1f4d4a0375..c21c4bf767 100644 --- a/components/box/package.json +++ b/components/box/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/box", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Box", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/button/package.json b/components/button/package.json index e5a905784c..a902dfbfc8 100644 --- a/components/button/package.json +++ b/components/button/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/button", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Button", "repository": { "type": "git", @@ -33,11 +33,11 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/layer": "9.4.3", - "@dhis2-ui/loader": "9.4.3", - "@dhis2-ui/popper": "9.4.3", - "@dhis2/ui-constants": "9.4.3", - "@dhis2/ui-icons": "9.4.3", + "@dhis2-ui/layer": "9.4.4", + "@dhis2-ui/loader": "9.4.4", + "@dhis2-ui/popper": "9.4.4", + "@dhis2/ui-constants": "9.4.4", + "@dhis2/ui-icons": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/calendar/package.json b/components/calendar/package.json index cc90d51b1e..969a33a581 100644 --- a/components/calendar/package.json +++ b/components/calendar/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/calendar", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Calendar", "repository": { "type": "git", @@ -33,15 +33,15 @@ "styled-jsx": "^4" }, "dependencies": { - "@dhis2-ui/button": "9.4.3", - "@dhis2-ui/card": "9.4.3", - "@dhis2-ui/input": "9.4.3", - "@dhis2-ui/layer": "9.4.3", - "@dhis2-ui/popper": "9.4.3", + "@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.3", - "@dhis2/ui-icons": "9.4.3", + "@dhis2/ui-constants": "9.4.4", + "@dhis2/ui-icons": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/card/package.json b/components/card/package.json index 06c7cd68e9..4800398cfc 100644 --- a/components/card/package.json +++ b/components/card/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/card", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Card", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/center/package.json b/components/center/package.json index 3cf843c749..6a378e7cbf 100644 --- a/components/center/package.json +++ b/components/center/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/center", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Center", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/checkbox/package.json b/components/checkbox/package.json index 1c8b851e89..4ea34b08e8 100644 --- a/components/checkbox/package.json +++ b/components/checkbox/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/checkbox", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Checkbox", "repository": { "type": "git", @@ -33,9 +33,9 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/field": "9.4.3", - "@dhis2-ui/required": "9.4.3", - "@dhis2/ui-constants": "9.4.3", + "@dhis2-ui/field": "9.4.4", + "@dhis2-ui/required": "9.4.4", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/chip/package.json b/components/chip/package.json index a3a87e2402..fb37784171 100644 --- a/components/chip/package.json +++ b/components/chip/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/chip", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Chip", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/cover/package.json b/components/cover/package.json index 9a742917a0..75e607cb9e 100644 --- a/components/cover/package.json +++ b/components/cover/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/cover", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Cover", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/css/package.json b/components/css/package.json index 46a3d451a9..d0cf6fc9bc 100644 --- a/components/css/package.json +++ b/components/css/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/css", - "version": "9.4.3", + "version": "9.4.4", "description": "UI CSS", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/divider/package.json b/components/divider/package.json index 1445dd6771..f12adac890 100644 --- a/components/divider/package.json +++ b/components/divider/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/divider", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Divider", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/field/package.json b/components/field/package.json index 103eb3d215..2a2401cdd9 100644 --- a/components/field/package.json +++ b/components/field/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/field", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Field", "repository": { "type": "git", @@ -33,10 +33,10 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/box": "9.4.3", - "@dhis2-ui/help": "9.4.3", - "@dhis2-ui/label": "9.4.3", - "@dhis2/ui-constants": "9.4.3", + "@dhis2-ui/box": "9.4.4", + "@dhis2-ui/help": "9.4.4", + "@dhis2-ui/label": "9.4.4", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/file-input/package.json b/components/file-input/package.json index 792a7a9aac..d5c59b6da5 100644 --- a/components/file-input/package.json +++ b/components/file-input/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/file-input", - "version": "9.4.3", + "version": "9.4.4", "description": "UI FileInput", "repository": { "type": "git", @@ -34,13 +34,13 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/button": "9.4.3", - "@dhis2-ui/field": "9.4.3", - "@dhis2-ui/label": "9.4.3", - "@dhis2-ui/loader": "9.4.3", - "@dhis2-ui/status-icon": "9.4.3", - "@dhis2/ui-constants": "9.4.3", - "@dhis2/ui-icons": "9.4.3", + "@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/ui-constants": "9.4.4", + "@dhis2/ui-icons": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/header-bar/package.json b/components/header-bar/package.json index bb50c6ec7f..b731364bff 100644 --- a/components/header-bar/package.json +++ b/components/header-bar/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/header-bar", - "version": "9.4.3", + "version": "9.4.4", "description": "UI HeaderBar", "repository": { "type": "git", @@ -34,21 +34,21 @@ "styled-jsx": "^4" }, "dependencies": { - "@dhis2-ui/box": "9.4.3", - "@dhis2-ui/button": "9.4.3", - "@dhis2-ui/card": "9.4.3", - "@dhis2-ui/center": "9.4.3", - "@dhis2-ui/divider": "9.4.3", - "@dhis2-ui/input": "9.4.3", - "@dhis2-ui/layer": "9.4.3", - "@dhis2-ui/loader": "9.4.3", - "@dhis2-ui/logo": "9.4.3", - "@dhis2-ui/menu": "9.4.3", - "@dhis2-ui/modal": "9.4.3", - "@dhis2-ui/user-avatar": "9.4.3", + "@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.3", - "@dhis2/ui-icons": "9.4.3", + "@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" diff --git a/components/help/package.json b/components/help/package.json index f49399f2d4..141f3cf838 100644 --- a/components/help/package.json +++ b/components/help/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/help", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Help", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/input/package.json b/components/input/package.json index 5c64d30ec5..9b6917ecfe 100644 --- a/components/input/package.json +++ b/components/input/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/input", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Input", "repository": { "type": "git", @@ -33,13 +33,13 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/box": "9.4.3", - "@dhis2-ui/field": "9.4.3", - "@dhis2-ui/input": "9.4.3", - "@dhis2-ui/loader": "9.4.3", - "@dhis2-ui/status-icon": "9.4.3", - "@dhis2/ui-constants": "9.4.3", - "@dhis2/ui-icons": "9.4.3", + "@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/ui-constants": "9.4.4", + "@dhis2/ui-icons": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/intersection-detector/package.json b/components/intersection-detector/package.json index b7af754ca8..de7dcf0756 100644 --- a/components/intersection-detector/package.json +++ b/components/intersection-detector/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/intersection-detector", - "version": "9.4.3", + "version": "9.4.4", "description": "UI IntersectionDetector", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/label/package.json b/components/label/package.json index 787b9ae8d6..8a66fc0a3c 100644 --- a/components/label/package.json +++ b/components/label/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/label", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Label", "repository": { "type": "git", @@ -33,8 +33,8 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/required": "9.4.3", - "@dhis2/ui-constants": "9.4.3", + "@dhis2-ui/required": "9.4.4", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/layer/package.json b/components/layer/package.json index dcea74299a..9d49234747 100644 --- a/components/layer/package.json +++ b/components/layer/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/layer", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Layer", "repository": { "type": "git", @@ -33,8 +33,8 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/portal": "9.4.3", - "@dhis2/ui-constants": "9.4.3", + "@dhis2-ui/portal": "9.4.4", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/legend/package.json b/components/legend/package.json index eeb7200af9..dd753bfb5c 100644 --- a/components/legend/package.json +++ b/components/legend/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/legend", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Legend", "repository": { "type": "git", @@ -33,8 +33,8 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/required": "9.4.3", - "@dhis2/ui-constants": "9.4.3", + "@dhis2-ui/required": "9.4.4", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/loader/package.json b/components/loader/package.json index 25953178c7..d4a4460e4a 100644 --- a/components/loader/package.json +++ b/components/loader/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/loader", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Loaders", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/logo/package.json b/components/logo/package.json index 7d64aeea45..23fedb47ff 100644 --- a/components/logo/package.json +++ b/components/logo/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/logo", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Logo", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/menu/package.json b/components/menu/package.json index 3be0a844d9..13787b5bc1 100644 --- a/components/menu/package.json +++ b/components/menu/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/menu", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Menu", "repository": { "type": "git", @@ -33,13 +33,13 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/card": "9.4.3", - "@dhis2-ui/divider": "9.4.3", - "@dhis2-ui/layer": "9.4.3", - "@dhis2-ui/popper": "9.4.3", - "@dhis2-ui/portal": "9.4.3", - "@dhis2/ui-constants": "9.4.3", - "@dhis2/ui-icons": "9.4.3", + "@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/ui-constants": "9.4.4", + "@dhis2/ui-icons": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/modal/package.json b/components/modal/package.json index d4e6b8ac4d..5eb02505bc 100644 --- a/components/modal/package.json +++ b/components/modal/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/modal", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Modal", "repository": { "type": "git", @@ -33,12 +33,12 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/card": "9.4.3", - "@dhis2-ui/center": "9.4.3", - "@dhis2-ui/layer": "9.4.3", - "@dhis2-ui/portal": "9.4.3", - "@dhis2/ui-constants": "9.4.3", - "@dhis2/ui-icons": "9.4.3", + "@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/ui-constants": "9.4.4", + "@dhis2/ui-icons": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/node/package.json b/components/node/package.json index 235b3a242f..421781bfe1 100644 --- a/components/node/package.json +++ b/components/node/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/node", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Node", "repository": { "type": "git", @@ -33,8 +33,8 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/loader": "9.4.3", - "@dhis2/ui-constants": "9.4.3", + "@dhis2-ui/loader": "9.4.4", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/notice-box/package.json b/components/notice-box/package.json index 5736ba03a7..c4f573a573 100644 --- a/components/notice-box/package.json +++ b/components/notice-box/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/notice-box", - "version": "9.4.3", + "version": "9.4.4", "description": "UI NoticeBox", "repository": { "type": "git", @@ -33,8 +33,8 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", - "@dhis2/ui-icons": "9.4.3", + "@dhis2/ui-constants": "9.4.4", + "@dhis2/ui-icons": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/organisation-unit-tree/package.json b/components/organisation-unit-tree/package.json index 9be7f1f210..03c3d661b6 100644 --- a/components/organisation-unit-tree/package.json +++ b/components/organisation-unit-tree/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/organisation-unit-tree", - "version": "9.4.3", + "version": "9.4.4", "description": "UI OrganisationUnitTree", "repository": { "type": "git", @@ -35,10 +35,10 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/checkbox": "9.4.3", - "@dhis2-ui/loader": "9.4.3", - "@dhis2-ui/node": "9.4.3", - "@dhis2/ui-constants": "9.4.3", + "@dhis2-ui/checkbox": "9.4.4", + "@dhis2-ui/loader": "9.4.4", + "@dhis2-ui/node": "9.4.4", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/pagination/package.json b/components/pagination/package.json index 7993662ce9..191575dfdc 100644 --- a/components/pagination/package.json +++ b/components/pagination/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/pagination", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Pagination", "repository": { "type": "git", @@ -34,10 +34,10 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/button": "9.4.3", - "@dhis2-ui/select": "9.4.3", - "@dhis2/ui-constants": "9.4.3", - "@dhis2/ui-icons": "9.4.3", + "@dhis2-ui/button": "9.4.4", + "@dhis2-ui/select": "9.4.4", + "@dhis2/ui-constants": "9.4.4", + "@dhis2/ui-icons": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/popover/package.json b/components/popover/package.json index bb3cadea94..6fc2ddc89d 100644 --- a/components/popover/package.json +++ b/components/popover/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/popover", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Popover", "repository": { "type": "git", @@ -33,9 +33,9 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/layer": "9.4.3", - "@dhis2-ui/popper": "9.4.3", - "@dhis2/ui-constants": "9.4.3", + "@dhis2-ui/layer": "9.4.4", + "@dhis2-ui/popper": "9.4.4", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/popper/package.json b/components/popper/package.json index 75bba30c63..0ad8eccc61 100644 --- a/components/popper/package.json +++ b/components/popper/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/popper", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Popper", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", + "@dhis2/ui-constants": "9.4.4", "@popperjs/core": "^2.10.1", "classnames": "^2.3.1", "prop-types": "^15.7.2", diff --git a/components/portal/package.json b/components/portal/package.json index b4bc41dcbb..4d9b1dc88d 100644 --- a/components/portal/package.json +++ b/components/portal/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/portal", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Portal", "repository": { "type": "git", diff --git a/components/radio/package.json b/components/radio/package.json index 194300990d..b61f667024 100644 --- a/components/radio/package.json +++ b/components/radio/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/radio", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Radio", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/required/package.json b/components/required/package.json index 60f185fb27..caaae04b59 100644 --- a/components/required/package.json +++ b/components/required/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/required", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Required", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/segmented-control/package.json b/components/segmented-control/package.json index bea7e90de8..1f5884b74b 100644 --- a/components/segmented-control/package.json +++ b/components/segmented-control/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/segmented-control", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Segmented Control", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/select/package.json b/components/select/package.json index da2a441521..dc491529f1 100644 --- a/components/select/package.json +++ b/components/select/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/select", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Select", "repository": { "type": "git", @@ -33,21 +33,21 @@ "styled-jsx": "^4" }, "dependencies": { - "@dhis2-ui/box": "9.4.3", - "@dhis2-ui/button": "9.4.3", - "@dhis2-ui/card": "9.4.3", - "@dhis2-ui/checkbox": "9.4.3", - "@dhis2-ui/chip": "9.4.3", - "@dhis2-ui/field": "9.4.3", - "@dhis2-ui/input": "9.4.3", - "@dhis2-ui/layer": "9.4.3", - "@dhis2-ui/loader": "9.4.3", - "@dhis2-ui/popper": "9.4.3", - "@dhis2-ui/status-icon": "9.4.3", - "@dhis2-ui/tooltip": "9.4.3", + "@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.3", - "@dhis2/ui-icons": "9.4.3", + "@dhis2/ui-constants": "9.4.4", + "@dhis2/ui-icons": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/selector-bar/package.json b/components/selector-bar/package.json index afd8129022..50f4bc4182 100644 --- a/components/selector-bar/package.json +++ b/components/selector-bar/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/selector-bar", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Select", "repository": { "type": "git", @@ -33,21 +33,21 @@ "styled-jsx": "^4" }, "dependencies": { - "@dhis2-ui/button": "9.4.3", - "@dhis2-ui/card": "9.4.3", - "@dhis2-ui/popper": "9.4.3", - "@dhis2-ui/layer": "9.4.3", - "@dhis2/ui-constants": "9.4.3", - "@dhis2/ui-icons": "9.4.3", + "@dhis2-ui/button": "9.4.4", + "@dhis2-ui/card": "9.4.4", + "@dhis2-ui/popper": "9.4.4", + "@dhis2-ui/layer": "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" }, "devDependencies": { - "@dhis2-ui/css": "9.4.3", - "@dhis2-ui/menu": "9.4.3", - "@dhis2-ui/organisation-unit-tree": "9.4.3", - "@dhis2-ui/select": "9.4.3", + "@dhis2-ui/css": "9.4.4", + "@dhis2-ui/menu": "9.4.4", + "@dhis2-ui/organisation-unit-tree": "9.4.4", + "@dhis2-ui/select": "9.4.4", "@dhis2/d2-i18n": "^1.1.0", "@testing-library/jest-dom": "^5.16.1", "react": "16.13", diff --git a/components/sharing-dialog/package.json b/components/sharing-dialog/package.json index bb4dbe9335..fee6bcd062 100644 --- a/components/sharing-dialog/package.json +++ b/components/sharing-dialog/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/sharing-dialog", - "version": "9.4.3", + "version": "9.4.4", "description": "UI SharingDialog", "repository": { "type": "git", @@ -35,22 +35,22 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/box": "9.4.3", - "@dhis2-ui/button": "9.4.3", - "@dhis2-ui/card": "9.4.3", - "@dhis2-ui/divider": "9.4.3", - "@dhis2-ui/input": "9.4.3", - "@dhis2-ui/layer": "9.4.3", - "@dhis2-ui/menu": "9.4.3", - "@dhis2-ui/modal": "9.4.3", - "@dhis2-ui/notice-box": "9.4.3", - "@dhis2-ui/popper": "9.4.3", - "@dhis2-ui/select": "9.4.3", - "@dhis2-ui/tab": "9.4.3", - "@dhis2-ui/tooltip": "9.4.3", - "@dhis2-ui/user-avatar": "9.4.3", - "@dhis2/ui-constants": "9.4.3", - "@dhis2/ui-icons": "9.4.3", + "@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/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" diff --git a/components/status-icon/package.json b/components/status-icon/package.json index 0bd1891216..601d88d195 100644 --- a/components/status-icon/package.json +++ b/components/status-icon/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/status-icon", - "version": "9.4.3", + "version": "9.4.4", "description": "UI StatusIcon", "repository": { "type": "git", @@ -33,9 +33,9 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/loader": "9.4.3", - "@dhis2/ui-constants": "9.4.3", - "@dhis2/ui-icons": "9.4.3", + "@dhis2-ui/loader": "9.4.4", + "@dhis2/ui-constants": "9.4.4", + "@dhis2/ui-icons": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/switch/package.json b/components/switch/package.json index a93397985d..d4ac3a98a4 100644 --- a/components/switch/package.json +++ b/components/switch/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/switch", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Switch", "repository": { "type": "git", @@ -33,9 +33,9 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/field": "9.4.3", - "@dhis2-ui/required": "9.4.3", - "@dhis2/ui-constants": "9.4.3", + "@dhis2-ui/field": "9.4.4", + "@dhis2-ui/required": "9.4.4", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/tab/package.json b/components/tab/package.json index 2ca1bd12e3..4d38b8b1cf 100644 --- a/components/tab/package.json +++ b/components/tab/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/tab", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Tabs", "repository": { "type": "git", @@ -33,8 +33,8 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", - "@dhis2/ui-icons": "9.4.3", + "@dhis2/ui-constants": "9.4.4", + "@dhis2/ui-icons": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/table/package.json b/components/table/package.json index ca243c33bc..69c7435301 100644 --- a/components/table/package.json +++ b/components/table/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/table", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Table", "repository": { "type": "git", @@ -34,8 +34,8 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", - "@dhis2/ui-icons": "9.4.3", + "@dhis2/ui-constants": "9.4.4", + "@dhis2/ui-icons": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/tag/package.json b/components/tag/package.json index b3b80df1d9..b9fbd5dc8f 100644 --- a/components/tag/package.json +++ b/components/tag/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/tag", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Tag", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/text-area/package.json b/components/text-area/package.json index ce26c278f2..60c3fa36be 100644 --- a/components/text-area/package.json +++ b/components/text-area/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/text-area", - "version": "9.4.3", + "version": "9.4.4", "description": "UI TextArea", "repository": { "type": "git", @@ -33,12 +33,12 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/box": "9.4.3", - "@dhis2-ui/field": "9.4.3", - "@dhis2-ui/loader": "9.4.3", - "@dhis2-ui/status-icon": "9.4.3", - "@dhis2/ui-constants": "9.4.3", - "@dhis2/ui-icons": "9.4.3", + "@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/ui-constants": "9.4.4", + "@dhis2/ui-icons": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/tooltip/package.json b/components/tooltip/package.json index 70c834806c..7517c6a905 100644 --- a/components/tooltip/package.json +++ b/components/tooltip/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/tooltip", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Tooltip", "repository": { "type": "git", @@ -33,9 +33,9 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/popper": "9.4.3", - "@dhis2-ui/portal": "9.4.3", - "@dhis2/ui-constants": "9.4.3", + "@dhis2-ui/popper": "9.4.4", + "@dhis2-ui/portal": "9.4.4", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/transfer/package.json b/components/transfer/package.json index 74d8f192bf..e2b6141bc5 100644 --- a/components/transfer/package.json +++ b/components/transfer/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/transfer", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Transfer", "repository": { "type": "git", @@ -33,12 +33,12 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/button": "9.4.3", - "@dhis2-ui/field": "9.4.3", - "@dhis2-ui/input": "9.4.3", - "@dhis2-ui/intersection-detector": "9.4.3", - "@dhis2-ui/loader": "9.4.3", - "@dhis2/ui-constants": "9.4.3", + "@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/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/user-avatar/package.json b/components/user-avatar/package.json index 9a08b42dd7..303ae67009 100644 --- a/components/user-avatar/package.json +++ b/components/user-avatar/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/user-avatar", - "version": "9.4.3", + "version": "9.4.4", "description": "UI User Avatar", "repository": { "type": "git", @@ -34,7 +34,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.4.3", + "@dhis2/ui-constants": "9.4.4", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/constants/package.json b/constants/package.json index deff7c7c2b..7a3cd6855a 100644 --- a/constants/package.json +++ b/constants/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2/ui-constants", - "version": "9.4.3", + "version": "9.4.4", "description": "Constants used in the UI libs", "main": "./build/cjs/index.js", "module": "./build/es/index.js", diff --git a/docs/package.json b/docs/package.json index f097208b0b..73d95ca66a 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "ui-docusaurus", - "version": "9.4.3", + "version": "9.4.4", "private": true, "description": "UI Docusaurus", "repository": { diff --git a/icons/package.json b/icons/package.json index ab1013f169..e119a980fd 100644 --- a/icons/package.json +++ b/icons/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2/ui-icons", - "version": "9.4.3", + "version": "9.4.4", "description": "Icons used in the UI libs", "main": "./build/cjs/react/index.js", "module": "./build/es/react/index.js", diff --git a/package.json b/package.json index 312d91140e..cfeb18780e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2/ui-root", - "version": "9.4.3", + "version": "9.4.4", "repository": { "type": "git", "url": "https://github.com/dhis2/ui.git" diff --git a/storybook/package.json b/storybook/package.json index e38b0f39fd..093e8f91f8 100644 --- a/storybook/package.json +++ b/storybook/package.json @@ -1,6 +1,6 @@ { "name": "ui-storybook", - "version": "9.4.3", + "version": "9.4.4", "description": "UI Storybook", "repository": { "type": "git", @@ -23,8 +23,8 @@ "@babel/plugin-proposal-class-properties": "^7.13.0", "@babel/plugin-proposal-private-methods": "^7.13.0", "@babel/plugin-proposal-private-property-in-object": "^7.14.0", - "@dhis2-ui/css": "9.4.3", - "@dhis2/ui-constants": "9.4.3", + "@dhis2-ui/css": "9.4.4", + "@dhis2/ui-constants": "9.4.4", "@fontsource/roboto": "^4.5.0", "@storybook/addon-a11y": "^6.3.7", "@storybook/addon-console": "^1.2.3", From 9e9ba33c5dffd7490b72eaa77f65d565b4ef42ba Mon Sep 17 00:00:00 2001 From: Birk Johansson Date: Mon, 15 Apr 2024 17:43:35 +0200 Subject: [PATCH 03/57] fix(button): fix prop types for button --- components/button/types/index.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/button/types/index.d.ts b/components/button/types/index.d.ts index c6f91fe7d4..d4f0f2752c 100644 --- a/components/button/types/index.d.ts +++ b/components/button/types/index.d.ts @@ -16,7 +16,7 @@ type ButtonOpenEventHandler< Event extends React.SyntheticEvent = React.MouseEvent > = (arg0: ButtonEventPayload & { open: boolean }, event: Event) => void -export interface ButtonProps extends HTMLButtonElement { +export interface ButtonProps { /** * Component to render inside the button */ @@ -102,7 +102,9 @@ export interface ButtonProps extends HTMLButtonElement { onKeyDown?: ButtonEventHandler> } -export const Button: React.FC +export const Button: React.FC< + ButtonProps & Omit, keyof ButtonProps> +> export interface ButtonStripProps { children?: React.ReactNode From abe86cf0906b5f7c3512c8d0730071cf751d74eb Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Thu, 21 Mar 2024 16:44:03 +0800 Subject: [PATCH 04/57] chore(cypress): update to v12 and fix failing tests --- .cypress-cucumber-preprocessorrc.json | 6 + collections/forms/i18n/en.pot | 4 +- .../features/can_toggle_a_boolean/index.js | 4 +- .../features/can_toggle_a_value/index.js | 4 +- .../CheckboxFieldFF/features/common/index.js | 2 +- .../features/displays_error/index.js | 2 +- .../features/accepts_file/index.js | 4 +- .../FileInputFieldFF/features/common/index.js | 2 +- .../features/displays_error/index.js | 4 +- .../features/can_set_a_value/index.js | 2 +- .../features/displays_error/index.js | 2 +- .../features/can_set_a_value/index.js | 4 +- .../features/common/index.js | 2 +- .../features/displays_error/index.js | 4 +- .../features/can_set_a_value/index.js | 4 +- .../src/RadioFieldFF/features/common/index.js | 2 +- .../features/displays_error/index.js | 4 +- .../features/can_set_a_value/index.js | 4 +- .../features/common/index.js | 2 +- .../features/displays_error/index.js | 4 +- .../features/can_toggle_a_boolean/index.js | 4 +- .../features/can_toggle_a_value/index.js | 4 +- .../SwitchFieldFF/features/common/index.js | 2 +- .../features/displays_error/index.js | 2 +- .../features/can_set_a_value/index.js | 2 +- .../features/displays_error/index.js | 2 +- .../alert-bar/features/api/hidden_callback.js | 18 - .../alert/src/alert-bar/features/api/index.js | 9 +- .../alert-bar/features/api/prop_message.js | 47 - .../alert-bar/features/api/props_message.js | 12 - .../alert-bar/features/api/props_permanent.js | 11 - .../src/alert-bar/features/common/index.js | 2 +- .../alert-bar/features/hide/automatically.js | 15 - .../src/alert-bar/features/hide/index.js | 32 +- .../src/alert-bar/features/hide/on_action.js | 13 - .../features/render_children/alertbars.js | 2 +- .../src/features/accepts_children/index.js | 2 +- .../features/accepts_multiple_props/index.js | 2 +- .../features/accepts_children/index.js | 2 +- .../button/features/can_be_blurred/index.js | 2 +- .../button/features/can_be_clicked/index.js | 2 +- .../button/features/can_be_focused/index.js | 2 +- .../features/accepts_children/index.js | 2 +- .../features/accepts_component/index.js | 2 +- .../features/accepts_icon/index.js | 2 +- .../features/accepts_initial_focus/index.js | 2 +- .../features/button_is_clickable/index.js | 4 +- .../features/can_be_disabled/index.js | 2 +- .../dropdown-button/features/common/index.js | 2 +- .../features/opens_a_dropdown/index.js | 4 +- .../features/accepts_children/index.js | 2 +- .../features/accepts_icon/index.js | 8 +- .../features/accepts_initial_focus/index.js | 2 +- .../features/arrow_opens_menu/index.js | 4 +- .../features/button_is_clickable/index.js | 4 +- .../features/can_be_disabled/index.js | 2 +- .../src/split-button/features/common/index.js | 2 +- .../supports_calendar_clear_button.js | 8 +- .../supports_ethiopic_calendar.js | 6 +- .../supports_gregorian_calendar.js | 4 +- .../supports_islamic_calendar.js | 2 +- .../supports_nepali_calendar.js | 4 +- .../src/features/accepts_children/index.js | 2 +- .../features/accepts_help_text/index.js | 2 +- .../features/accepts_label/index.js | 2 +- .../features/accepts_validation_text/index.js | 2 +- .../features/can_be_required/index.js | 2 +- .../features/accepts_initial_focus/index.js | 2 +- .../checkbox/features/accepts_label/index.js | 2 +- .../checkbox/features/can_be_blurred/index.js | 2 +- .../checkbox/features/can_be_changed/index.js | 2 +- .../features/can_be_disabled/index.js | 2 +- .../checkbox/features/can_be_focused/index.js | 2 +- .../features/has_indeterminate_prop/index.js | 2 +- .../src/features/accepts_children/index.js | 2 +- .../chip/src/features/accepts_icon/index.js | 2 +- .../chip/src/features/is_clickable/index.js | 2 +- .../chip/src/features/is_removable/index.js | 2 +- .../src/features/accepts_children/index.js | 2 +- .../src/features/click_behavior/index.js | 2 +- .../features/sets_variables/index.js | 2 +- .../features/can_be_required/index.js | 2 +- .../features/accepts_children/index.js | 2 +- .../field/features/accepts_children/index.js | 2 +- .../features/common/index.js | 2 +- .../deduplicates_the_file_list/index.js | 4 +- .../disables_button_when_full/index.js | 2 +- .../displays_files_in_a_list/index.js | 4 +- .../features/files_can_be_removed/index.js | 4 +- .../has_default_button_label/index.js | 2 +- .../features/has_default_placeholder/index.js | 2 +- .../features/has_default_remove_text/index.js | 2 +- .../features/can_be_required/index.js | 2 +- .../has_default_button_label/index.js | 2 +- .../features/has_default_placeholder/index.js | 2 +- .../features/accepts_multiple_files/index.js | 4 +- .../features/can_be_blurred/index.js | 2 +- .../features/can_be_changed/index.js | 4 +- .../features/can_be_focused/index.js | 2 +- .../src/file-input/features/common/index.js | 2 +- .../features/accepts_cancel_text/index.js | 2 +- .../file-list/features/accepts_label/index.js | 2 +- .../features/accepts_remove_text/index.js | 2 +- .../features/can_be_removed/index.js | 2 +- .../file-list-item-accepts_children/index.js | 2 +- .../index.js | 2 +- .../loading_can_be_cancelled/index.js | 2 +- .../header-bar/src/__e2e__/stories/common.js | 232 +- .../stories/modulesWithSpecialCharacters.js | 229 ++ .../header-bar/src/features/common/index.js | 2 +- .../the_headerbar_displays_online_status.js | 11 +- ...onditionally_renders_notification_icons.js | 2 +- .../common.js | 3 +- ...enu_closes_when_the_user_clicks_outside.js | 3 +- .../the_headerbar_contains_a_menu_icon.js | 3 +- .../the_menu_is_closed_by_default.js | 7 - ...user_will_be_offered_a_menu_with_5_apps.js | 2 +- .../common.js | 2 +- ...con_if_the_user_does_not_have_an_avatar.js | 4 +- ...an_image_icon_if_the_user_has_an_avatar.js | 2 +- .../the_menu_is_closed_by_default.js | 2 +- .../the_menu_opens.js | 4 +- ...enu_closes_when_the_user_clicks_outside.js | 4 +- .../the_user_can_edit_his_profile.js | 4 +- .../the_user_can_go_to_his_account.js | 4 +- ...the_user_can_go_to_the_about_dhis2_page.js | 4 +- .../the_user_can_go_to_the_help_page.js | 4 +- .../the_user_can_go_to_the_settings.js | 4 +- .../the_user_can_log_out.js | 6 +- .../the_user_name_and_email_are_displayed.js | 4 +- ..._displays_a_link_to_the_interpretations.js | 4 +- .../there_are_no_unread_interpretations.js | 4 +- .../there_are_some_unread_interpretations.js | 4 +- ...aderbar_displays_a_link_to_the_messages.js | 4 +- .../there_are_no_unread_messages.js | 4 +- .../there_are_some_unread_messages.js | 4 +- .../headerbar_contains_logo.js | 2 +- .../index.js | 2 +- .../index.js | 2 +- ...the_headerbar_displays_the_custom_title.js | 2 +- .../common.js | 3 +- ...do_not_contain_items_with_special_chars.js | 3 +- ...rches_for_an_app_with_a_regex_character.js | 5 +- .../src/features/accepts_children/index.js | 2 +- .../features/can_be_required/index.js | 2 +- .../features/accepts_initial_focus/index.js | 2 +- .../input/features/can_be_blurred/index.js | 2 +- .../input/features/can_be_changed/index.js | 2 +- .../input/features/can_be_disabled/index.js | 2 +- .../input/features/can_be_focused/index.js | 2 +- .../features/Visibility_notification/index.js | 2 +- .../src/features/accepts_children/index.js | 2 +- .../src/features/can_be_required/index.js | 2 +- .../src/features/accepts_children/index.js | 2 +- .../src/features/click_behavior/index.js | 2 +- .../layer/src/features/stacking/index.js | 2 +- .../src/features/accepts_children/index.js | 2 +- .../src/features/can_be_required/index.js | 2 +- .../features/accepts_children/index.js | 2 +- .../flyout-menu/features/position/index.js | 2 +- .../features/toggles_submenus/index.js | 2 +- .../menu-item/features/accepts_href/index.js | 2 +- .../menu-item/features/accepts_icon/index.js | 2 +- .../menu-item/features/accepts_label/index.js | 2 +- .../features/accepts_suffix/index.js | 2 +- .../features/accepts_target/index.js | 2 +- .../menu-item/features/is_clickable/index.js | 2 +- .../features/accepts_label/index.js | 2 +- .../menu/features/accepts_children/index.js | 2 +- .../features/accepts_children/index.js | 2 +- .../features/accepts_children/index.js | 2 +- .../features/accepts_children/index.js | 2 +- .../modal/features/accepts_children/index.js | 2 +- .../src/modal/features/can_be_closed/index.js | 2 +- .../index.js | 2 +- .../src/features/accepts_children/index.js | 2 +- .../src/features/accepts_component/index.js | 2 +- .../node/src/features/accepts_icon/index.js | 2 +- .../node/src/features/can_be_closed/index.js | 2 +- .../node/src/features/can_be_opened/index.js | 2 +- .../src/features/accepts_children/index.js | 2 +- .../src/features/accepts_title/index.js | 2 +- .../src/__e2e__/common.js | 124 +- .../src/__e2e__/get-organisation-unit-data.js | 119 + .../src/__e2e__/namespace.js | 1 + .../features/children_as_child_nodes/index.js | 2 +- .../src/features/controlled_expanded/index.js | 5 +- .../displaying_loading_error/index.js | 2 +- .../src/features/expanded/index.js | 2 +- .../src/features/force_reload/index.js | 2 +- .../src/features/highlight/index.js | 2 +- .../src/features/loading_state/index.js | 2 +- .../src/features/multi_selection/index.js | 2 +- .../src/features/no_selection/index.js | 2 +- .../features/path_based_filtering/index.js | 4 +- .../src/features/single_selection.feature | 2 +- .../src/features/single_selection/index.js | 12 +- .../src/features/sub_unit_as_root/index.js | 16 +- .../src/features/tree_api/index.js | 2 +- .../src/features/arrow_position/index.js | 2 +- .../src/features/clicking_outside/index.js | 2 +- .../src/features/conditional_arrow/index.js | 2 +- .../popover/src/features/position/index.js | 2 +- .../index.js | 2 +- .../popper/src/features/positions/index.js | 2 +- .../features/accepts_initial_focus/index.js | 2 +- .../radio/src/features/accepts_label/index.js | 2 +- .../src/features/can_be_blurred/index.js | 2 +- .../src/features/can_be_changed/index.js | 2 +- .../src/features/can_be_disabled/index.js | 2 +- .../src/features/can_be_focused/index.js | 2 +- .../features/accepts_help_text/index.js | 2 +- .../features/accepts_label/index.js | 2 +- .../features/accepts_validation_text/index.js | 2 +- .../features/can_be_required/index.js | 2 +- .../features/has_default_clear_text/index.js | 2 +- .../features/has_default_empty_text/index.js | 2 +- .../has_default_filter_nomatch_text/index.js | 2 +- .../has_default_filter_placeholder/index.js | 2 +- .../has_default_loading_text/index.js | 2 +- .../features/accepts_blur_cb/index.js | 4 +- .../features/accepts_focus_cb/index.js | 4 +- .../features/accepts_initial_focus/index.js | 4 +- .../features/accepts_loading/index.js | 4 +- .../features/accepts_max_height/index.js | 8 +- .../features/accepts_placeholder/index.js | 4 +- .../features/accepts_prefix/index.js | 4 +- .../features/allows_invalid_options/index.js | 4 +- .../features/allows_selecting/index.js | 10 +- .../features/can_be_cleared/index.js | 4 +- .../features/can_be_disabled/index.js | 8 +- .../features/can_be_empty/index.js | 4 +- .../features/can_be_filtered/index.js | 4 +- .../can_be_opened_and_closed/index.js | 4 +- .../src/multi-select/features/common/index.js | 2 +- .../features/duplicate_option_values/index.js | 4 +- .../menu_width_matches_input/index.js | 4 +- .../multi-select/features/position/index.js | 4 +- .../features/shows_selections/index.js | 4 +- .../features/accepts_help_text/index.js | 2 +- .../features/accepts_label/index.js | 2 +- .../features/accepts_validation_text/index.js | 2 +- .../features/can_be_required/index.js | 2 +- .../features/has_default_clear_text/index.js | 2 +- .../features/has_default_empty_text/index.js | 2 +- .../has_default_filter_nomatch_text/index.js | 2 +- .../has_default_filter_placeholder/index.js | 2 +- .../has_default_loading_text/index.js | 2 +- .../features/accepts_blur_cb/index.js | 4 +- .../features/accepts_focus_cb/index.js | 4 +- .../features/accepts_initial_focus/index.js | 4 +- .../features/accepts_loading/index.js | 4 +- .../features/accepts_max_height/index.js | 8 +- .../features/accepts_placeholder/index.js | 4 +- .../features/accepts_prefix/index.js | 4 +- .../features/allows_invalid_options/index.js | 4 +- .../features/allows_selecting/index.js | 4 +- .../features/can_be_cleared/index.js | 4 +- .../features/can_be_disabled/index.js | 4 +- .../features/can_be_empty/index.js | 4 +- .../features/can_be_filtered/index.js | 4 +- .../can_be_opened_and_closed/index.js | 4 +- .../single-select/features/common/index.js | 2 +- .../features/duplicate_option_values/index.js | 10 +- .../menu_width_matches_input/index.js | 4 +- .../single-select/features/position/index.js | 2 +- .../features/shows_selections/index.js | 4 +- .../features/toggle-children/index.js | 2 +- .../src/features/access-level-change/index.js | 2 +- .../features/access-level-disable/index.js | 2 +- .../src/features/access-level-remove/index.js | 2 +- .../src/features/add-entity/index.js | 2 +- .../src/features/dashboard/index.js | 2 +- .../src/features/title/index.js | 2 +- .../features/can_be_required/index.js | 2 +- .../features/accepts_initial_focus/index.js | 2 +- .../switch/features/accepts_label/index.js | 2 +- .../switch/features/can_be_blurred/index.js | 2 +- .../switch/features/can_be_changed/index.js | 2 +- .../switch/features/can_be_disabled/index.js | 2 +- .../switch/features/can_be_focused/index.js | 2 +- .../features/accepts_children/index.js | 2 +- .../auto_hides_scroll_buttons/index.js | 2 +- .../tab/features/accepts_children/index.js | 2 +- .../src/tab/features/accepts_icon/index.js | 2 +- .../src/tab/features/is_clickable/index.js | 2 +- .../data-table/features/can_scroll/index.js | 2 +- .../features/can_scroll/index.js | 2 +- .../tag/src/features/accepts_icon/index.js | 2 +- .../src/features/accepts_max_width/index.js | 2 +- .../tag/src/features/accepts_text/index.js | 2 +- .../features/can_be_required/index.js | 2 +- .../features/accepts_initial_focus/index.js | 2 +- .../features/can_be_blurred/index.js | 2 +- .../features/can_be_changed/index.js | 4 +- .../features/can_be_disabled/index.js | 2 +- .../features/can_be_focused/index.js | 4 +- .../src/text-area/features/common/index.js | 2 +- .../tooltip/src/features/common/index.js | 2 +- .../tooltip/src/features/layering/index.js | 4 +- .../tooltip/src/features/positions/index.js | 4 +- .../features/scrolling_containers/index.js | 10 +- .../src/features/visibility_toggling/index.js | 4 +- .../add_remove-highlighted-options/index.js | 2 +- .../disabled-transfer-buttons/index.js | 6 +- .../disabled-transfer-options/index.js | 2 +- .../src/features/display-order/index.js | 2 +- .../src/features/filter-options-list/index.js | 2 +- .../highlight-range-of-options/index.js | 2 +- .../src/features/loading_lists/index.js | 2 +- .../features/notify_at_end_of_list/index.js | 2 +- .../features/reorder-with-buttons/index.js | 16 +- .../set_unset-highlighted-option/index.js | 2 +- .../src/features/transferring-items/index.js | 21 +- cypress-cucumber-preprocessor.config.js | 4 - cypress.config.js | 22 + cypress.json | 13 - cypress/plugins/index.js | 9 - cypress/support/{index.js => e2e.js} | 0 cypress/support/find.js | 8 +- cypress/support/get.js | 8 +- package.json | 11 +- yarn.lock | 2260 ++++++++--------- 323 files changed, 1909 insertions(+), 2192 deletions(-) create mode 100644 .cypress-cucumber-preprocessorrc.json delete mode 100644 components/alert/src/alert-bar/features/api/hidden_callback.js delete mode 100644 components/alert/src/alert-bar/features/api/prop_message.js delete mode 100644 components/alert/src/alert-bar/features/api/props_message.js delete mode 100644 components/alert/src/alert-bar/features/api/props_permanent.js delete mode 100644 components/alert/src/alert-bar/features/hide/automatically.js delete mode 100644 components/alert/src/alert-bar/features/hide/on_action.js create mode 100644 components/header-bar/src/__e2e__/stories/modulesWithSpecialCharacters.js delete mode 100644 components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/the_menu_is_closed_by_default.js create mode 100644 components/organisation-unit-tree/src/__e2e__/get-organisation-unit-data.js create mode 100644 components/organisation-unit-tree/src/__e2e__/namespace.js delete mode 100644 cypress-cucumber-preprocessor.config.js create mode 100644 cypress.config.js delete mode 100644 cypress.json delete mode 100644 cypress/plugins/index.js rename cypress/support/{index.js => e2e.js} (100%) diff --git a/.cypress-cucumber-preprocessorrc.json b/.cypress-cucumber-preprocessorrc.json new file mode 100644 index 0000000000..fc9870fc56 --- /dev/null +++ b/.cypress-cucumber-preprocessorrc.json @@ -0,0 +1,6 @@ +{ + "nonGlobalStepDefinitions": true, + "e2e": { + "stepDefinitions": "[filepath]/*.{js,mjs,ts,tsx}" + } +} diff --git a/collections/forms/i18n/en.pot b/collections/forms/i18n/en.pot index e65ed246e0..e9e2f44c4f 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-02-12T14:58:56.792Z\n" -"PO-Revision-Date: 2024-02-12T14:58:56.792Z\n" +"POT-Creation-Date: 2024-03-21T01:41:39.370Z\n" +"PO-Revision-Date: 2024-03-21T01:41:39.370Z\n" msgid "Upload file" msgstr "Upload file" diff --git a/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_boolean/index.js b/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_boolean/index.js index d67d1402c4..18c11a94fd 100644 --- a/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_boolean/index.js +++ b/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_boolean/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an unchecked Checkbox without value is rendered', () => { cy.visitStory('Testing:Checkbox', 'Unchecked') diff --git a/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_value/index.js b/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_value/index.js index 949f751f4c..50e18c6286 100644 --- a/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_value/index.js +++ b/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_value/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an unchecked Checkbox with a value is rendered', () => { cy.visitStory('Testing:Checkbox', 'Unchecked with value') diff --git a/collections/forms/src/CheckboxFieldFF/features/common/index.js b/collections/forms/src/CheckboxFieldFF/features/common/index.js index 35729bc887..0135fbdb24 100644 --- a/collections/forms/src/CheckboxFieldFF/features/common/index.js +++ b/collections/forms/src/CheckboxFieldFF/features/common/index.js @@ -1,4 +1,4 @@ -import { When } from 'cypress-cucumber-preprocessor/steps' +import { When } from '@badeball/cypress-cucumber-preprocessor' When('the user clicks on the Checkbox', () => { cy.get('[data-test="dhis2-uicore-checkbox"]').click() diff --git a/collections/forms/src/CheckboxFieldFF/features/displays_error/index.js b/collections/forms/src/CheckboxFieldFF/features/displays_error/index.js index 1d9b40dd83..4657af986d 100644 --- a/collections/forms/src/CheckboxFieldFF/features/displays_error/index.js +++ b/collections/forms/src/CheckboxFieldFF/features/displays_error/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' import { hasValueMessage } from '../../../validators/hasValue.js' Given('an unchecked Checkbox is rendered', () => { diff --git a/collections/forms/src/FileInputFieldFF/features/accepts_file/index.js b/collections/forms/src/FileInputFieldFF/features/accepts_file/index.js index 141be8337f..f6a41163a5 100644 --- a/collections/forms/src/FileInputFieldFF/features/accepts_file/index.js +++ b/collections/forms/src/FileInputFieldFF/features/accepts_file/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a multi-file IputField is rendered', () => { cy.visitStory('Testing:FileInput', 'Standard form') diff --git a/collections/forms/src/FileInputFieldFF/features/common/index.js b/collections/forms/src/FileInputFieldFF/features/common/index.js index 0f9e80d674..e44a68a15d 100644 --- a/collections/forms/src/FileInputFieldFF/features/common/index.js +++ b/collections/forms/src/FileInputFieldFF/features/common/index.js @@ -1,4 +1,4 @@ -import { Given } from 'cypress-cucumber-preprocessor/steps' +import { Given } from '@badeball/cypress-cucumber-preprocessor' Given('a single-file FileInput is rendered', () => { cy.visitStory('Testing:FileInput', 'Standard form') diff --git a/collections/forms/src/FileInputFieldFF/features/displays_error/index.js b/collections/forms/src/FileInputFieldFF/features/displays_error/index.js index 50e52ff0c5..6dc497619f 100644 --- a/collections/forms/src/FileInputFieldFF/features/displays_error/index.js +++ b/collections/forms/src/FileInputFieldFF/features/displays_error/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { When, Then } from '@badeball/cypress-cucumber-preprocessor' When('a file with the wrong file type is provided', () => { cy.get('[name="fileTxt"]').uploadSingleFile('md', 'FileInput/file.md') diff --git a/collections/forms/src/InputFieldFF/features/can_set_a_value/index.js b/collections/forms/src/InputFieldFF/features/can_set_a_value/index.js index 4131048d89..41bf19e7ec 100644 --- a/collections/forms/src/InputFieldFF/features/can_set_a_value/index.js +++ b/collections/forms/src/InputFieldFF/features/can_set_a_value/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Input with no text is rendered', () => { cy.visitStory('Testing:InputFieldFF', 'Default') diff --git a/collections/forms/src/InputFieldFF/features/displays_error/index.js b/collections/forms/src/InputFieldFF/features/displays_error/index.js index b187bb73e4..065a9ad10f 100644 --- a/collections/forms/src/InputFieldFF/features/displays_error/index.js +++ b/collections/forms/src/InputFieldFF/features/displays_error/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' import { hasValueMessage } from '../../../validators/hasValue.js' Given('an empty, required Input is rendered', () => { diff --git a/collections/forms/src/MultiSelectFieldFF/features/can_set_a_value/index.js b/collections/forms/src/MultiSelectFieldFF/features/can_set_a_value/index.js index f1a83e7be3..3a63384750 100644 --- a/collections/forms/src/MultiSelectFieldFF/features/can_set_a_value/index.js +++ b/collections/forms/src/MultiSelectFieldFF/features/can_set_a_value/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('the MultiSelect has two options', () => { const options = [ diff --git a/collections/forms/src/MultiSelectFieldFF/features/common/index.js b/collections/forms/src/MultiSelectFieldFF/features/common/index.js index 51de51f5fe..1cb2810a3b 100644 --- a/collections/forms/src/MultiSelectFieldFF/features/common/index.js +++ b/collections/forms/src/MultiSelectFieldFF/features/common/index.js @@ -1,4 +1,4 @@ -import { Given } from 'cypress-cucumber-preprocessor/steps' +import { Given } from '@badeball/cypress-cucumber-preprocessor' Given('a required MultiSelect with no selected value', () => { cy.visitStory('Testing:MultiSelectFieldFF', 'Required') diff --git a/collections/forms/src/MultiSelectFieldFF/features/displays_error/index.js b/collections/forms/src/MultiSelectFieldFF/features/displays_error/index.js index 341d2882ee..5b4c2ff771 100644 --- a/collections/forms/src/MultiSelectFieldFF/features/displays_error/index.js +++ b/collections/forms/src/MultiSelectFieldFF/features/displays_error/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { When, Then } from '@badeball/cypress-cucumber-preprocessor' import { hasValueMessage } from '../../../validators/hasValue.js' When('the user submits the form', () => { diff --git a/collections/forms/src/RadioFieldFF/features/can_set_a_value/index.js b/collections/forms/src/RadioFieldFF/features/can_set_a_value/index.js index 13f3a91e50..16a29bf013 100644 --- a/collections/forms/src/RadioFieldFF/features/can_set_a_value/index.js +++ b/collections/forms/src/RadioFieldFF/features/can_set_a_value/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('there are three options', () => { const options = [ diff --git a/collections/forms/src/RadioFieldFF/features/common/index.js b/collections/forms/src/RadioFieldFF/features/common/index.js index ab1d803727..fcc4b7320b 100644 --- a/collections/forms/src/RadioFieldFF/features/common/index.js +++ b/collections/forms/src/RadioFieldFF/features/common/index.js @@ -1,4 +1,4 @@ -import { Given } from 'cypress-cucumber-preprocessor/steps' +import { Given } from '@badeball/cypress-cucumber-preprocessor' Given( 'a FieldGroupFF with required RadioFieldFFs and no selected value', diff --git a/collections/forms/src/RadioFieldFF/features/displays_error/index.js b/collections/forms/src/RadioFieldFF/features/displays_error/index.js index 5c3ca50485..530c30f9c2 100644 --- a/collections/forms/src/RadioFieldFF/features/displays_error/index.js +++ b/collections/forms/src/RadioFieldFF/features/displays_error/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { When, Then } from '@badeball/cypress-cucumber-preprocessor' import { hasValueMessage } from '../../../validators/hasValue.js' When('the user submits the form', () => { diff --git a/collections/forms/src/SingleSelectFieldFF/features/can_set_a_value/index.js b/collections/forms/src/SingleSelectFieldFF/features/can_set_a_value/index.js index b90d12fb97..67dc1e8c2d 100644 --- a/collections/forms/src/SingleSelectFieldFF/features/can_set_a_value/index.js +++ b/collections/forms/src/SingleSelectFieldFF/features/can_set_a_value/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('the SingleSelect has one option', () => { const options = [{ value: 'Value', label: 'Label' }] diff --git a/collections/forms/src/SingleSelectFieldFF/features/common/index.js b/collections/forms/src/SingleSelectFieldFF/features/common/index.js index ccf13fe5a5..389d1b58c4 100644 --- a/collections/forms/src/SingleSelectFieldFF/features/common/index.js +++ b/collections/forms/src/SingleSelectFieldFF/features/common/index.js @@ -1,4 +1,4 @@ -import { Given } from 'cypress-cucumber-preprocessor/steps' +import { Given } from '@badeball/cypress-cucumber-preprocessor' Given('a required SingleSelect with no selected value', () => { cy.visitStory('Testing:SingleSelectFieldFF', 'Required') diff --git a/collections/forms/src/SingleSelectFieldFF/features/displays_error/index.js b/collections/forms/src/SingleSelectFieldFF/features/displays_error/index.js index 341d2882ee..5b4c2ff771 100644 --- a/collections/forms/src/SingleSelectFieldFF/features/displays_error/index.js +++ b/collections/forms/src/SingleSelectFieldFF/features/displays_error/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { When, Then } from '@badeball/cypress-cucumber-preprocessor' import { hasValueMessage } from '../../../validators/hasValue.js' When('the user submits the form', () => { diff --git a/collections/forms/src/SwitchFieldFF/features/can_toggle_a_boolean/index.js b/collections/forms/src/SwitchFieldFF/features/can_toggle_a_boolean/index.js index e349eaf71d..d63445b6df 100644 --- a/collections/forms/src/SwitchFieldFF/features/can_toggle_a_boolean/index.js +++ b/collections/forms/src/SwitchFieldFF/features/can_toggle_a_boolean/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an unchecked Switch without value is rendered', () => { cy.visitStory('Testing:SwitchFieldFF', 'Unchecked') diff --git a/collections/forms/src/SwitchFieldFF/features/can_toggle_a_value/index.js b/collections/forms/src/SwitchFieldFF/features/can_toggle_a_value/index.js index 7e2569e8e4..aab8f6ade2 100644 --- a/collections/forms/src/SwitchFieldFF/features/can_toggle_a_value/index.js +++ b/collections/forms/src/SwitchFieldFF/features/can_toggle_a_value/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an unchecked Switch with a value is rendered', () => { cy.visitStory('Testing:SwitchFieldFF', 'Unchecked with value') diff --git a/collections/forms/src/SwitchFieldFF/features/common/index.js b/collections/forms/src/SwitchFieldFF/features/common/index.js index bd1eb5aa40..79f717c504 100644 --- a/collections/forms/src/SwitchFieldFF/features/common/index.js +++ b/collections/forms/src/SwitchFieldFF/features/common/index.js @@ -1,4 +1,4 @@ -import { When } from 'cypress-cucumber-preprocessor/steps' +import { When } from '@badeball/cypress-cucumber-preprocessor' When('the user clicks on the Switch', () => { cy.get('[data-test="dhis2-uicore-switch"]').click() diff --git a/collections/forms/src/SwitchFieldFF/features/displays_error/index.js b/collections/forms/src/SwitchFieldFF/features/displays_error/index.js index 2e93c1fb89..6bdf6750fb 100644 --- a/collections/forms/src/SwitchFieldFF/features/displays_error/index.js +++ b/collections/forms/src/SwitchFieldFF/features/displays_error/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' import { hasValueMessage } from '../../../validators/hasValue.js' Given('an unchecked Switch is rendered', () => { diff --git a/collections/forms/src/TextAreaFieldFF/features/can_set_a_value/index.js b/collections/forms/src/TextAreaFieldFF/features/can_set_a_value/index.js index 1ebdc266e2..2aef93c661 100644 --- a/collections/forms/src/TextAreaFieldFF/features/can_set_a_value/index.js +++ b/collections/forms/src/TextAreaFieldFF/features/can_set_a_value/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a TextArea with no text is rendered', () => { cy.visitStory('TextArea', 'Default') diff --git a/collections/forms/src/TextAreaFieldFF/features/displays_error/index.js b/collections/forms/src/TextAreaFieldFF/features/displays_error/index.js index e07dab1040..9fd4909280 100644 --- a/collections/forms/src/TextAreaFieldFF/features/displays_error/index.js +++ b/collections/forms/src/TextAreaFieldFF/features/displays_error/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' import { hasValueMessage } from '../../../validators/hasValue.js' Given('an empty, required TextArea is rendered', () => { diff --git a/components/alert/src/alert-bar/features/api/hidden_callback.js b/components/alert/src/alert-bar/features/api/hidden_callback.js deleted file mode 100644 index 5f0f3e87a6..0000000000 --- a/components/alert/src/alert-bar/features/api/hidden_callback.js +++ /dev/null @@ -1,18 +0,0 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' - -Given('an Alertbar with onHidden handler is rendered', () => { - cy.visitStory('Alertbar', 'With onHidden') -}) - -When('the Alertbar is not rendered', () => { - cy.wait(8000) - cy.get('[data-test="dhis2-uicore-alertbar"]').should('not.exist') -}) - -Then('the onHidden handler is called', () => { - cy.window().should((win) => { - expect(win.onHidden).to.be.calledOnce - expect(win.onHidden).to.be.calledWith({}, null) - }) -}) diff --git a/components/alert/src/alert-bar/features/api/index.js b/components/alert/src/alert-bar/features/api/index.js index 410ab2c862..b7efc5f425 100644 --- a/components/alert/src/alert-bar/features/api/index.js +++ b/components/alert/src/alert-bar/features/api/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an AlertBar with onHidden handler is rendered', () => { cy.visitStory('AlertBar', 'With onHidden') @@ -22,6 +22,11 @@ Given('an AlertBar with permanent is rendered', () => { cy.get('[data-test="dhis2-uicore-alertbar"]').should('be.visible') }) +When('the Alertbar is not rendered', () => { + cy.wait(8000) + cy.get('[data-test="dhis2-uicore-alertbar"]').should('not.exist') +}) + Then('the icon will be visible', () => { cy.get('[data-test="dhis2-uicore-alertbar-icon"]').should('be.visible') }) diff --git a/components/alert/src/alert-bar/features/api/prop_message.js b/components/alert/src/alert-bar/features/api/prop_message.js deleted file mode 100644 index 410ab2c862..0000000000 --- a/components/alert/src/alert-bar/features/api/prop_message.js +++ /dev/null @@ -1,47 +0,0 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' - -Given('an AlertBar with onHidden handler is rendered', () => { - cy.visitStory('AlertBar', 'With onHidden') -}) - -Given('an AlertBar with disabled icon is rendered', () => { - cy.visitStory('AlertBar', 'Disabled icon') -}) - -Given('an AlertBar with custom icon is rendered', () => { - cy.visitStory('AlertBar', 'Custom icon') -}) - -Given('an AlertBar with a message is rendered', () => { - cy.visitStory('AlertBar', 'With message') -}) - -Given('an AlertBar with permanent is rendered', () => { - cy.visitStory('AlertBar', 'Permanent') - cy.get('[data-test="dhis2-uicore-alertbar"]').should('be.visible') -}) - -Then('the icon will be visible', () => { - cy.get('[data-test="dhis2-uicore-alertbar-icon"]').should('be.visible') -}) - -Then('the icon will not be rendered', () => { - cy.get('[data-test="dhis2-uicore-alertbar-icon"]').should('not.exist') -}) - -Then('the custom icon will be visible', () => { - cy.get('[data-test="dhis2-uicore-alertbar-icon"]') - .contains('Custom icon') - .should('be.visible') -}) - -Then('the message will be visible', () => { - cy.get('[data-test="dhis2-uicore-alertbar"]') - .contains('With a message') - .should('be.visible') -}) - -Then('the AlertBar will be visible', () => { - cy.get('[data-test="dhis2-uicore-alertbar"]').should('be.visible') -}) diff --git a/components/alert/src/alert-bar/features/api/props_message.js b/components/alert/src/alert-bar/features/api/props_message.js deleted file mode 100644 index b017cb0208..0000000000 --- a/components/alert/src/alert-bar/features/api/props_message.js +++ /dev/null @@ -1,12 +0,0 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' - -Given('an AlertBar with a message is rendered', () => { - cy.visitStory('AlertBar', 'With message') -}) - -Then('the message will be visible', () => { - cy.get('[data-test="dhis2-uicore-alertbar"]') - .contains('With a message') - .should('be.visible') -}) diff --git a/components/alert/src/alert-bar/features/api/props_permanent.js b/components/alert/src/alert-bar/features/api/props_permanent.js deleted file mode 100644 index c124467235..0000000000 --- a/components/alert/src/alert-bar/features/api/props_permanent.js +++ /dev/null @@ -1,11 +0,0 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' - -Given('an AlertBar with permanent is rendered', () => { - cy.visitStory('AlertBar', 'Permanent') - cy.get('[data-test="dhis2-uicore-alertbar"]').should('be.visible') -}) - -Then('the AlertBar will be visible', () => { - cy.get('[data-test="dhis2-uicore-alertbar"]').should('be.visible') -}) diff --git a/components/alert/src/alert-bar/features/common/index.js b/components/alert/src/alert-bar/features/common/index.js index 835a7937ed..5774f6f651 100644 --- a/components/alert/src/alert-bar/features/common/index.js +++ b/components/alert/src/alert-bar/features/common/index.js @@ -1,4 +1,4 @@ -import { When, Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { When, Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a default AlertBar is rendered', () => { cy.visitStory('AlertBar', 'Default') diff --git a/components/alert/src/alert-bar/features/hide/automatically.js b/components/alert/src/alert-bar/features/hide/automatically.js deleted file mode 100644 index 47c28d98b6..0000000000 --- a/components/alert/src/alert-bar/features/hide/automatically.js +++ /dev/null @@ -1,15 +0,0 @@ -import '../common/index.js' -import { Given, When } from 'cypress-cucumber-preprocessor/steps' - -Given('an AlertBar with a custom duration is rendered', () => { - cy.visitStory('AlertBar', 'Custom duration') - cy.get('[data-test="dhis2-uicore-alertbar"]').should('be.visible') -}) - -When('the custom duration has passed', () => { - cy.wait(2000) -}) - -When('the default duration has passed', () => { - cy.wait(8000) -}) diff --git a/components/alert/src/alert-bar/features/hide/index.js b/components/alert/src/alert-bar/features/hide/index.js index 821f6b10d2..fe1a3d7837 100644 --- a/components/alert/src/alert-bar/features/hide/index.js +++ b/components/alert/src/alert-bar/features/hide/index.js @@ -1,5 +1,9 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' +require('../common/index.js') + +Given('a permanent AlertBar with hidden and onHidden is rendered', () => { + cy.visitStory('AlertBar', 'Hidden prop') +}) Given('an AlertBar with a custom duration is rendered', () => { cy.visitStory('AlertBar', 'Custom duration') @@ -11,30 +15,22 @@ Given('a permanent AlertBar with actions is rendered', () => { cy.get('[data-test="dhis2-uicore-alertbar"]').should('be.visible') }) -Given('a permanent AlertBar with hidden and onHidden is rendered', () => { - cy.visitStory('AlertBar', 'Hidden prop') -}) - -When('the custom duration has passed', () => { - cy.wait(2000) -}) - -When('the default duration has passed', () => { - cy.wait(8000) -}) - When('the user clicks on the "Cancel" button', () => { cy.get( '[data-test="dhis2-uicore-alertbar-action"]:contains("Cancel")' ).click() }) +When('the user click a button which toggles the hidden prop', () => { + cy.get('button').click() +}) + +When('the custom duration has passed', () => { + cy.wait(2000) +}) + Then('the onHidden handler is not called', () => { cy.window().should((win) => { expect(win.onHidden).to.not.be.called }) }) - -When('the user click a button which toggles the hidden prop', () => { - cy.get('button').click() -}) diff --git a/components/alert/src/alert-bar/features/hide/on_action.js b/components/alert/src/alert-bar/features/hide/on_action.js deleted file mode 100644 index 1c0b4c4750..0000000000 --- a/components/alert/src/alert-bar/features/hide/on_action.js +++ /dev/null @@ -1,13 +0,0 @@ -import '../common/index.js' -import { Given, When } from 'cypress-cucumber-preprocessor/steps' - -Given('a permanent AlertBar with actions is rendered', () => { - cy.visitStory('AlertBar', 'Permanent with actions') - cy.get('[data-test="dhis2-uicore-alertbar"]').should('be.visible') -}) - -When('the user clicks on the "Cancel" button', () => { - cy.get( - '[data-test="dhis2-uicore-alertbar-action"]:contains("Cancel")' - ).click() -}) diff --git a/components/alert/src/alert-stack/features/render_children/alertbars.js b/components/alert/src/alert-stack/features/render_children/alertbars.js index c02312f6da..e8b0a2003e 100644 --- a/components/alert/src/alert-stack/features/render_children/alertbars.js +++ b/components/alert/src/alert-stack/features/render_children/alertbars.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an AlertStack with multiple AlertBars is rendered', () => { cy.visitStory('Alertstack', 'Default') diff --git a/components/box/src/features/accepts_children/index.js b/components/box/src/features/accepts_children/index.js index 6688a98ba2..3171815a40 100644 --- a/components/box/src/features/accepts_children/index.js +++ b/components/box/src/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Box with children is rendered', () => { cy.visitStory('Box', 'With children') diff --git a/components/box/src/features/accepts_multiple_props/index.js b/components/box/src/features/accepts_multiple_props/index.js index eb006e4cf9..988c9cbfab 100644 --- a/components/box/src/features/accepts_multiple_props/index.js +++ b/components/box/src/features/accepts_multiple_props/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Box with multiple props is rendered', () => { cy.visitStory('Box', 'Multiple') diff --git a/components/button/src/button-strip/features/accepts_children/index.js b/components/button/src/button-strip/features/accepts_children/index.js index f75dbe677b..80581a3480 100644 --- a/components/button/src/button-strip/features/accepts_children/index.js +++ b/components/button/src/button-strip/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a ButtonStrip with children is rendered', () => { cy.visitStory('ButtonStrip', 'With children') diff --git a/components/button/src/button/features/can_be_blurred/index.js b/components/button/src/button/features/can_be_blurred/index.js index 2a06f6b899..1ec6598ac3 100644 --- a/components/button/src/button/features/can_be_blurred/index.js +++ b/components/button/src/button/features/can_be_blurred/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an Button with initialFocus and onBlur handler is rendered', () => { cy.visitStory('Button', 'With initialFocus and onBlur') diff --git a/components/button/src/button/features/can_be_clicked/index.js b/components/button/src/button/features/can_be_clicked/index.js index aad8abca07..bda9294441 100644 --- a/components/button/src/button/features/can_be_clicked/index.js +++ b/components/button/src/button/features/can_be_clicked/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Button with onClick handler is rendered', () => { cy.visitStory('Button', 'With onClick') diff --git a/components/button/src/button/features/can_be_focused/index.js b/components/button/src/button/features/can_be_focused/index.js index ad30433616..02a27fb5b1 100644 --- a/components/button/src/button/features/can_be_focused/index.js +++ b/components/button/src/button/features/can_be_focused/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Button with onFocus handler is rendered', () => { cy.visitStory('Button', 'With onFocus') diff --git a/components/button/src/dropdown-button/features/accepts_children/index.js b/components/button/src/dropdown-button/features/accepts_children/index.js index 3a989f1f2a..bf448dc853 100644 --- a/components/button/src/dropdown-button/features/accepts_children/index.js +++ b/components/button/src/dropdown-button/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a DropdownButton with children is rendered', () => { cy.visitStory('DropdownButton', 'With children') diff --git a/components/button/src/dropdown-button/features/accepts_component/index.js b/components/button/src/dropdown-button/features/accepts_component/index.js index f60bac27f4..e713c2c788 100644 --- a/components/button/src/dropdown-button/features/accepts_component/index.js +++ b/components/button/src/dropdown-button/features/accepts_component/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given( 'a DropdownButton with a component prop and opened dropdown is rendered', diff --git a/components/button/src/dropdown-button/features/accepts_icon/index.js b/components/button/src/dropdown-button/features/accepts_icon/index.js index 3cef147fc3..28334c00af 100644 --- a/components/button/src/dropdown-button/features/accepts_icon/index.js +++ b/components/button/src/dropdown-button/features/accepts_icon/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a DropdownButton with an icon prop is rendered', () => { cy.visitStory('DropdownButton', 'With icon') diff --git a/components/button/src/dropdown-button/features/accepts_initial_focus/index.js b/components/button/src/dropdown-button/features/accepts_initial_focus/index.js index d7fb3e4a1e..ac129fab4f 100644 --- a/components/button/src/dropdown-button/features/accepts_initial_focus/index.js +++ b/components/button/src/dropdown-button/features/accepts_initial_focus/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a DropdownButton with initialFocus is rendered', () => { cy.visitStory('DropdownButton', 'With initialFocus') diff --git a/components/button/src/dropdown-button/features/button_is_clickable/index.js b/components/button/src/dropdown-button/features/button_is_clickable/index.js index 59025c7b1e..4c2a22601f 100644 --- a/components/button/src/dropdown-button/features/button_is_clickable/index.js +++ b/components/button/src/dropdown-button/features/button_is_clickable/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a DropdownButton with onClick handler is rendered', () => { cy.visitStory('DropdownButton', 'With onClick') diff --git a/components/button/src/dropdown-button/features/can_be_disabled/index.js b/components/button/src/dropdown-button/features/can_be_disabled/index.js index e291f7a1c7..d5591bae72 100644 --- a/components/button/src/dropdown-button/features/can_be_disabled/index.js +++ b/components/button/src/dropdown-button/features/can_be_disabled/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a disabled DropdownButton with onClick handler is rendered', () => { cy.visitStory('DropdownButton', 'Disabled with onClick') diff --git a/components/button/src/dropdown-button/features/common/index.js b/components/button/src/dropdown-button/features/common/index.js index 96dcec6ddc..7b10f12e41 100644 --- a/components/button/src/dropdown-button/features/common/index.js +++ b/components/button/src/dropdown-button/features/common/index.js @@ -1,4 +1,4 @@ -import { When } from 'cypress-cucumber-preprocessor/steps' +import { When } from '@badeball/cypress-cucumber-preprocessor' When('the DropdownButton is clicked', () => { cy.get('[data-test="dhis2-uicore-dropdownbutton"]').click() diff --git a/components/button/src/dropdown-button/features/opens_a_dropdown/index.js b/components/button/src/dropdown-button/features/opens_a_dropdown/index.js index bc1d9b6e2f..ce806f7deb 100644 --- a/components/button/src/dropdown-button/features/opens_a_dropdown/index.js +++ b/components/button/src/dropdown-button/features/opens_a_dropdown/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a default DropdownButton is rendered', () => { cy.visitStory('DropdownButton', 'Default') diff --git a/components/button/src/split-button/features/accepts_children/index.js b/components/button/src/split-button/features/accepts_children/index.js index 0061c2efd7..6f526c1d4c 100644 --- a/components/button/src/split-button/features/accepts_children/index.js +++ b/components/button/src/split-button/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SplitButton with children is rendered', () => { cy.visitStory('SplitButton', 'With children') diff --git a/components/button/src/split-button/features/accepts_icon/index.js b/components/button/src/split-button/features/accepts_icon/index.js index a010772790..d72b8ee807 100644 --- a/components/button/src/split-button/features/accepts_icon/index.js +++ b/components/button/src/split-button/features/accepts_icon/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SplitButton with an icon is rendered', () => { cy.visitStory('SplitButton', 'With icon') @@ -6,11 +6,9 @@ Given('a SplitButton with an icon is rendered', () => { }) Then('the icon is visible on the left button only', () => { - cy.get('[data-test="dhis2-uicore-splitbutton-button"]') - .contains('Icon') + cy.get('[data-test="dhis2-uicore-splitbutton-button"] :contains("Icon")') .should('be.visible') - cy.get('[data-test="dhis2-uicore-splitbutton-toggle"]') - .contains('Icon') + cy.get('[data-test="dhis2-uicore-splitbutton-toggle"] :contains("Icon")') .should('not.exist') }) diff --git a/components/button/src/split-button/features/accepts_initial_focus/index.js b/components/button/src/split-button/features/accepts_initial_focus/index.js index 2e9a133e19..6d8fdee9cd 100644 --- a/components/button/src/split-button/features/accepts_initial_focus/index.js +++ b/components/button/src/split-button/features/accepts_initial_focus/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SplitButton with initialFocus is rendered', () => { cy.visitStory('SplitButton', 'With initialFocus') diff --git a/components/button/src/split-button/features/arrow_opens_menu/index.js b/components/button/src/split-button/features/arrow_opens_menu/index.js index 268b2ddb42..79e21d362f 100644 --- a/components/button/src/split-button/features/arrow_opens_menu/index.js +++ b/components/button/src/split-button/features/arrow_opens_menu/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SplitButton is rendered', () => { cy.visitStory('SplitButton', 'Default') diff --git a/components/button/src/split-button/features/button_is_clickable/index.js b/components/button/src/split-button/features/button_is_clickable/index.js index 494de78f5c..6535fe8df5 100644 --- a/components/button/src/split-button/features/button_is_clickable/index.js +++ b/components/button/src/split-button/features/button_is_clickable/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SplitButton with onClick hander is rendered', () => { cy.visitStory('SplitButton', 'With onClick') diff --git a/components/button/src/split-button/features/can_be_disabled/index.js b/components/button/src/split-button/features/can_be_disabled/index.js index cfc44d2415..10c832a1ca 100644 --- a/components/button/src/split-button/features/can_be_disabled/index.js +++ b/components/button/src/split-button/features/can_be_disabled/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a disabled SplitButton is rendered', () => { cy.visitStory('SplitButton', 'With disabled') diff --git a/components/button/src/split-button/features/common/index.js b/components/button/src/split-button/features/common/index.js index eb4247401d..54a054f1ea 100644 --- a/components/button/src/split-button/features/common/index.js +++ b/components/button/src/split-button/features/common/index.js @@ -1,4 +1,4 @@ -import { When } from 'cypress-cucumber-preprocessor/steps' +import { When } from '@badeball/cypress-cucumber-preprocessor' When('the SplitButton is clicked', () => { cy.get('[data-test="dhis2-uicore-splitbutton-button"]').click() diff --git a/components/calendar/src/features/supports_calendar_clear_button/supports_calendar_clear_button.js b/components/calendar/src/features/supports_calendar_clear_button/supports_calendar_clear_button.js index c332dc8d4f..2113d97c8b 100644 --- a/components/calendar/src/features/supports_calendar_clear_button/supports_calendar_clear_button.js +++ b/components/calendar/src/features/supports_calendar_clear_button/supports_calendar_clear_button.js @@ -1,4 +1,4 @@ -import { Given, Then, And } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given( 'a "{word}" calendar is rendered with a selected date "{word}"', @@ -29,12 +29,12 @@ Then('we should be able to clear it', () => { ) }) -And('show the current month afterwards', () => { +Then('show the current month afterwards', () => { cy.get('[data-test="dhis2-uiwidgets-calendar-inputfield"]').click() cy.get('.isToday').should('be.visible') }) -And("allow selecting today's date", () => { +Then("allow selecting today's date", () => { cy.get('.isToday') .parent() .invoke('attr', 'data-test') @@ -50,7 +50,7 @@ And("allow selecting today's date", () => { }) }) -And('highlight today as the selected date', () => { +Then('highlight today as the selected date', () => { cy.get('[data-test="dhis2-uiwidgets-calendar-inputfield"]').click() cy.get('.isToday') .parent() diff --git a/components/calendar/src/features/supports_ethiopic_calendar/supports_ethiopic_calendar.js b/components/calendar/src/features/supports_ethiopic_calendar/supports_ethiopic_calendar.js index 8998604e84..f21ddd8ec0 100644 --- a/components/calendar/src/features/supports_ethiopic_calendar/supports_ethiopic_calendar.js +++ b/components/calendar/src/features/supports_ethiopic_calendar/supports_ethiopic_calendar.js @@ -1,4 +1,4 @@ -import { Given, Then, And } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an Ethiopic calendar is rendered in {word}', (language) => { cy.visitStory('CalendarInputTesting', `Ethiopic With ${language}`) @@ -18,7 +18,7 @@ Then('days should be rendered in "{word}"', (language) => { }) }) -And('months should be rendered in "{word}" with navigation', (language) => { +Then('months should be rendered in "{word}" with navigation', (language) => { const months = language === 'amharic' ? { current: 'ጥቅምት', previous: 'መስከረም', next: 'ኅዳር' } @@ -32,7 +32,7 @@ And('months should be rendered in "{word}" with navigation', (language) => { cy.contains(months.previous).should('be.visible') }) -And('the era should not be displayed in the year', () => { +Then('the era should not be displayed in the year', () => { cy.get('[data-test="calendar-current-year"]').should( 'not.contain.text', 'ERA1' diff --git a/components/calendar/src/features/supports_gregorian_calendar/supports_gregorian_calendar.js b/components/calendar/src/features/supports_gregorian_calendar/supports_gregorian_calendar.js index 4c53311dd5..f96eeeed2d 100644 --- a/components/calendar/src/features/supports_gregorian_calendar/supports_gregorian_calendar.js +++ b/components/calendar/src/features/supports_gregorian_calendar/supports_gregorian_calendar.js @@ -1,4 +1,4 @@ -import { Given, Then, And } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Gregorian calendar is rendered in {word}', (language) => { cy.visitStory('CalendarInputTesting', `Gregorian With ${language}`) @@ -26,7 +26,7 @@ Then('days should be rendered in "{word}"', (language) => { }) }) -And('months should be rendered in "{word}" with navigation', (language) => { +Then('months should be rendered in "{word}" with navigation', (language) => { const months = language === 'english' ? { current: 'October', previous: 'September', next: 'November' } diff --git a/components/calendar/src/features/supports_islamic_calendar/supports_islamic_calendar.js b/components/calendar/src/features/supports_islamic_calendar/supports_islamic_calendar.js index 1e817353f5..a7cd152227 100644 --- a/components/calendar/src/features/supports_islamic_calendar/supports_islamic_calendar.js +++ b/components/calendar/src/features/supports_islamic_calendar/supports_islamic_calendar.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an Islamic calendar is rendered with Arabic locale', () => { cy.visitStory('CalendarInputTesting', `Islamic With Arabic`) diff --git a/components/calendar/src/features/supports_nepali_calendar/supports_nepali_calendar.js b/components/calendar/src/features/supports_nepali_calendar/supports_nepali_calendar.js index db2b1316f0..5c75ac14bc 100644 --- a/components/calendar/src/features/supports_nepali_calendar/supports_nepali_calendar.js +++ b/components/calendar/src/features/supports_nepali_calendar/supports_nepali_calendar.js @@ -1,4 +1,4 @@ -import { Given, Then, And } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a nepali calendar in "{word}" is rendered', (language) => { cy.visitStory('CalendarInputTesting', `Nepali With ${language}`) @@ -19,7 +19,7 @@ Then('nepali days should be rendered in "{word}"', (language) => { }) }) -And('months should be rendered in "{word}" with navigation', (language) => { +Then('months should be rendered in "{word}" with navigation', (language) => { // const months = diff --git a/components/card/src/features/accepts_children/index.js b/components/card/src/features/accepts_children/index.js index 0934ac278c..96789514d9 100644 --- a/components/card/src/features/accepts_children/index.js +++ b/components/card/src/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Card with children is rendered', () => { cy.visitStory('Card', 'With children') diff --git a/components/checkbox/src/checkbox-field/features/accepts_help_text/index.js b/components/checkbox/src/checkbox-field/features/accepts_help_text/index.js index d08787af53..436c121c87 100644 --- a/components/checkbox/src/checkbox-field/features/accepts_help_text/index.js +++ b/components/checkbox/src/checkbox-field/features/accepts_help_text/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a CheckboxField with help text is rendered', () => { cy.visitStory('CheckboxField', 'With help text') diff --git a/components/checkbox/src/checkbox-field/features/accepts_label/index.js b/components/checkbox/src/checkbox-field/features/accepts_label/index.js index 1d47e687c5..16a5aedb29 100644 --- a/components/checkbox/src/checkbox-field/features/accepts_label/index.js +++ b/components/checkbox/src/checkbox-field/features/accepts_label/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a CheckboxField with a label is rendered', () => { cy.visitStory('CheckboxField', 'With label') diff --git a/components/checkbox/src/checkbox-field/features/accepts_validation_text/index.js b/components/checkbox/src/checkbox-field/features/accepts_validation_text/index.js index 87ccd55da7..c75ad16ee1 100644 --- a/components/checkbox/src/checkbox-field/features/accepts_validation_text/index.js +++ b/components/checkbox/src/checkbox-field/features/accepts_validation_text/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a CheckboxField with validation text is rendered', () => { cy.visitStory('CheckboxField', 'With validation text') diff --git a/components/checkbox/src/checkbox-field/features/can_be_required/index.js b/components/checkbox/src/checkbox-field/features/can_be_required/index.js index 62dc6c90b2..241351f807 100644 --- a/components/checkbox/src/checkbox-field/features/can_be_required/index.js +++ b/components/checkbox/src/checkbox-field/features/can_be_required/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a CheckboxField with label and a required flag is rendered', () => { cy.visitStory('CheckboxField', 'With label and required') diff --git a/components/checkbox/src/checkbox/features/accepts_initial_focus/index.js b/components/checkbox/src/checkbox/features/accepts_initial_focus/index.js index ea7049539b..8d4ea621fd 100644 --- a/components/checkbox/src/checkbox/features/accepts_initial_focus/index.js +++ b/components/checkbox/src/checkbox/features/accepts_initial_focus/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Checkbox with initialFocus is rendered', () => { cy.visitStory('Checkbox', 'With initialFocus') diff --git a/components/checkbox/src/checkbox/features/accepts_label/index.js b/components/checkbox/src/checkbox/features/accepts_label/index.js index b1e165e691..101e5ca88d 100644 --- a/components/checkbox/src/checkbox/features/accepts_label/index.js +++ b/components/checkbox/src/checkbox/features/accepts_label/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Checkbox with a label is rendered', () => { cy.visitStory('Checkbox', 'With label') diff --git a/components/checkbox/src/checkbox/features/can_be_blurred/index.js b/components/checkbox/src/checkbox/features/can_be_blurred/index.js index 21e9d1b0ee..7791c44954 100644 --- a/components/checkbox/src/checkbox/features/can_be_blurred/index.js +++ b/components/checkbox/src/checkbox/features/can_be_blurred/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Checkbox with initialFocus and onBlur handler is rendered', () => { cy.visitStory('Checkbox', 'With initialFocus and onBlur') diff --git a/components/checkbox/src/checkbox/features/can_be_changed/index.js b/components/checkbox/src/checkbox/features/can_be_changed/index.js index c6dfccfd45..303c3647f7 100644 --- a/components/checkbox/src/checkbox/features/can_be_changed/index.js +++ b/components/checkbox/src/checkbox/features/can_be_changed/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Checkbox with onChange handler is rendered', () => { cy.visitStory('Checkbox', 'With onChange') diff --git a/components/checkbox/src/checkbox/features/can_be_disabled/index.js b/components/checkbox/src/checkbox/features/can_be_disabled/index.js index 4283194b5a..0cc9f50de6 100644 --- a/components/checkbox/src/checkbox/features/can_be_disabled/index.js +++ b/components/checkbox/src/checkbox/features/can_be_disabled/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a disabled Checkbox with onClick handler is rendered', () => { cy.visitStory('Checkbox', 'Disabled with onClick') diff --git a/components/checkbox/src/checkbox/features/can_be_focused/index.js b/components/checkbox/src/checkbox/features/can_be_focused/index.js index 86764dc63b..d205652c64 100644 --- a/components/checkbox/src/checkbox/features/can_be_focused/index.js +++ b/components/checkbox/src/checkbox/features/can_be_focused/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Checkbox with onFocus handler is rendered', () => { cy.visitStory('Checkbox', 'With onFocus') diff --git a/components/checkbox/src/checkbox/features/has_indeterminate_prop/index.js b/components/checkbox/src/checkbox/features/has_indeterminate_prop/index.js index 9fe8ee199b..c8ce30e102 100644 --- a/components/checkbox/src/checkbox/features/has_indeterminate_prop/index.js +++ b/components/checkbox/src/checkbox/features/has_indeterminate_prop/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('the checkbox is marked as indeterminate', () => { cy.visitStory('Checkbox', 'Indeterminate prop') diff --git a/components/chip/src/features/accepts_children/index.js b/components/chip/src/features/accepts_children/index.js index bccb08d786..866e065ec0 100644 --- a/components/chip/src/features/accepts_children/index.js +++ b/components/chip/src/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Chip with children is rendered', () => { cy.visitStory('Chip', 'With children') diff --git a/components/chip/src/features/accepts_icon/index.js b/components/chip/src/features/accepts_icon/index.js index 078da7f073..c873f015d6 100644 --- a/components/chip/src/features/accepts_icon/index.js +++ b/components/chip/src/features/accepts_icon/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a default Chip is rendered', () => { cy.visitStory('Chip', 'Default') diff --git a/components/chip/src/features/is_clickable/index.js b/components/chip/src/features/is_clickable/index.js index 2ebe4d201c..2d10769ed5 100644 --- a/components/chip/src/features/is_clickable/index.js +++ b/components/chip/src/features/is_clickable/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Chip with onClick handler is rendered', () => { cy.visitStory('Chip', 'With onClick') diff --git a/components/chip/src/features/is_removable/index.js b/components/chip/src/features/is_removable/index.js index 864183b77a..f032ad10a8 100644 --- a/components/chip/src/features/is_removable/index.js +++ b/components/chip/src/features/is_removable/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Chip with onRemove handler is rendered', () => { cy.visitStory('Chip', 'With onRemove') diff --git a/components/cover/src/features/accepts_children/index.js b/components/cover/src/features/accepts_children/index.js index a0b5f3c5b1..6b590236c6 100644 --- a/components/cover/src/features/accepts_children/index.js +++ b/components/cover/src/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Cover with children is rendered', () => { cy.visitStory('Cover', 'With Children') diff --git a/components/cover/src/features/click_behavior/index.js b/components/cover/src/features/click_behavior/index.js index 9903645d97..3fb1baef50 100644 --- a/components/cover/src/features/click_behavior/index.js +++ b/components/cover/src/features/click_behavior/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Cover with a button below it is rendered', () => { cy.visitStory('Cover', 'Blocking') diff --git a/components/css/src/css-variables/features/sets_variables/index.js b/components/css/src/css-variables/features/sets_variables/index.js index 3db8eedb54..dc94966a06 100644 --- a/components/css/src/css-variables/features/sets_variables/index.js +++ b/components/css/src/css-variables/features/sets_variables/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a CssVariables component with colors flag is rendered', () => { cy.visitStory('CssVariables', 'With colors') diff --git a/components/field/src/field-group/features/can_be_required/index.js b/components/field/src/field-group/features/can_be_required/index.js index 50e6128e00..e8e31ae6a0 100644 --- a/components/field/src/field-group/features/can_be_required/index.js +++ b/components/field/src/field-group/features/can_be_required/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a FieldGroup with label and a required flag is rendered', () => { cy.visitStory('FieldGroup', 'With label and required') diff --git a/components/field/src/field-set/features/accepts_children/index.js b/components/field/src/field-set/features/accepts_children/index.js index 5322f4ead4..81165ac7c7 100644 --- a/components/field/src/field-set/features/accepts_children/index.js +++ b/components/field/src/field-set/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a FieldSet with children is rendered', () => { cy.visitStory('FieldSet', 'With children') diff --git a/components/field/src/field/features/accepts_children/index.js b/components/field/src/field/features/accepts_children/index.js index 4bbdc3d507..28253c42d3 100644 --- a/components/field/src/field/features/accepts_children/index.js +++ b/components/field/src/field/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Field with children is rendered', () => { cy.visitStory('Field', 'With children') diff --git a/components/file-input/src/file-input-field-with-list/features/common/index.js b/components/file-input/src/file-input-field-with-list/features/common/index.js index 9282770cd4..9a8b2df1ca 100644 --- a/components/file-input/src/file-input-field-with-list/features/common/index.js +++ b/components/file-input/src/file-input-field-with-list/features/common/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a FileInputFieldWithList with multiple files is rendered', () => { cy.visitStory('FileInputFieldWithList', 'Multiple files - with files') diff --git a/components/file-input/src/file-input-field-with-list/features/deduplicates_the_file_list/index.js b/components/file-input/src/file-input-field-with-list/features/deduplicates_the_file_list/index.js index 7e0acab3a0..6d9717dd95 100644 --- a/components/file-input/src/file-input-field-with-list/features/deduplicates_the_file_list/index.js +++ b/components/file-input/src/file-input-field-with-list/features/deduplicates_the_file_list/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('the list contains the file duplicate.md', () => { cy.contains('duplicate.md') diff --git a/components/file-input/src/file-input-field-with-list/features/disables_button_when_full/index.js b/components/file-input/src/file-input-field-with-list/features/disables_button_when_full/index.js index 0327b9b3e4..2d7efb8b7a 100644 --- a/components/file-input/src/file-input-field-with-list/features/disables_button_when_full/index.js +++ b/components/file-input/src/file-input-field-with-list/features/disables_button_when_full/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a FileInputFieldWithList without multiple is rendered', () => { cy.visitStory('FileInputFieldWithList', 'Single file - with file') diff --git a/components/file-input/src/file-input-field-with-list/features/displays_files_in_a_list/index.js b/components/file-input/src/file-input-field-with-list/features/displays_files_in_a_list/index.js index 670393cc6e..f4a01cce86 100644 --- a/components/file-input/src/file-input-field-with-list/features/displays_files_in_a_list/index.js +++ b/components/file-input/src/file-input-field-with-list/features/displays_files_in_a_list/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('the files are displayed in a list', () => { cy.get('[data-test="dhis2-uicore-filelistitem"] .label') diff --git a/components/file-input/src/file-input-field-with-list/features/files_can_be_removed/index.js b/components/file-input/src/file-input-field-with-list/features/files_can_be_removed/index.js index 1a30b7ea22..a52e981d73 100644 --- a/components/file-input/src/file-input-field-with-list/features/files_can_be_removed/index.js +++ b/components/file-input/src/file-input-field-with-list/features/files_can_be_removed/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { When, Then } from '@badeball/cypress-cucumber-preprocessor' When('the remove handle behind a file is clicked', () => { cy.contains('test1.md') diff --git a/components/file-input/src/file-input-field-with-list/features/has_default_button_label/index.js b/components/file-input/src/file-input-field-with-list/features/has_default_button_label/index.js index 43fbbcaaa7..1313f15692 100644 --- a/components/file-input/src/file-input-field-with-list/features/has_default_button_label/index.js +++ b/components/file-input/src/file-input-field-with-list/features/has_default_button_label/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a default FileInputFieldWithList is rendered', () => { cy.visitStory('FileInputFieldWithList', 'With default texts') diff --git a/components/file-input/src/file-input-field-with-list/features/has_default_placeholder/index.js b/components/file-input/src/file-input-field-with-list/features/has_default_placeholder/index.js index d66afddd94..27e405eac5 100644 --- a/components/file-input/src/file-input-field-with-list/features/has_default_placeholder/index.js +++ b/components/file-input/src/file-input-field-with-list/features/has_default_placeholder/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a default FileInputFieldWithList is rendered', () => { cy.visitStory('FileInputFieldWithList', 'With default texts') diff --git a/components/file-input/src/file-input-field-with-list/features/has_default_remove_text/index.js b/components/file-input/src/file-input-field-with-list/features/has_default_remove_text/index.js index d4ec0da90e..bd873e9259 100644 --- a/components/file-input/src/file-input-field-with-list/features/has_default_remove_text/index.js +++ b/components/file-input/src/file-input-field-with-list/features/has_default_remove_text/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a default FileInputFieldWithList is rendered', () => { cy.visitStory('FileInputFieldWithList', 'With file and default texts') diff --git a/components/file-input/src/file-input-field/features/can_be_required/index.js b/components/file-input/src/file-input-field/features/can_be_required/index.js index f8f1347708..bc2b0ef764 100644 --- a/components/file-input/src/file-input-field/features/can_be_required/index.js +++ b/components/file-input/src/file-input-field/features/can_be_required/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a FileInputField with label and a required flag is rendered', () => { cy.visitStory('FileInputField', 'With label and required') diff --git a/components/file-input/src/file-input-field/features/has_default_button_label/index.js b/components/file-input/src/file-input-field/features/has_default_button_label/index.js index 74f089078c..1c6a1026b9 100644 --- a/components/file-input/src/file-input-field/features/has_default_button_label/index.js +++ b/components/file-input/src/file-input-field/features/has_default_button_label/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a default FileInputField is rendered', () => { cy.visitStory('FileInputField', 'Default') diff --git a/components/file-input/src/file-input-field/features/has_default_placeholder/index.js b/components/file-input/src/file-input-field/features/has_default_placeholder/index.js index 479933862c..814955e23e 100644 --- a/components/file-input/src/file-input-field/features/has_default_placeholder/index.js +++ b/components/file-input/src/file-input-field/features/has_default_placeholder/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a default FileInputField is rendered', () => { cy.visitStory('FileInputField', 'Default') diff --git a/components/file-input/src/file-input/features/accepts_multiple_files/index.js b/components/file-input/src/file-input/features/accepts_multiple_files/index.js index 3e936e8928..fde99e7f03 100644 --- a/components/file-input/src/file-input/features/accepts_multiple_files/index.js +++ b/components/file-input/src/file-input/features/accepts_multiple_files/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a FileInput with multiple and onChange handler is rendered', () => { cy.visitStory('FileInput', 'With onChange and multiple') diff --git a/components/file-input/src/file-input/features/can_be_blurred/index.js b/components/file-input/src/file-input/features/can_be_blurred/index.js index a7a059f930..d28700ee12 100644 --- a/components/file-input/src/file-input/features/can_be_blurred/index.js +++ b/components/file-input/src/file-input/features/can_be_blurred/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an FileInput with initialFocus and onBlur handler is rendered', () => { cy.visitStory('FileInput', 'With initialFocus and onBlur') diff --git a/components/file-input/src/file-input/features/can_be_changed/index.js b/components/file-input/src/file-input/features/can_be_changed/index.js index fc392b20a1..7b3a2fc84f 100644 --- a/components/file-input/src/file-input/features/can_be_changed/index.js +++ b/components/file-input/src/file-input/features/can_be_changed/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a FileInput with onChange handler is rendered', () => { cy.visitStory('FileInput', 'With onChange') diff --git a/components/file-input/src/file-input/features/can_be_focused/index.js b/components/file-input/src/file-input/features/can_be_focused/index.js index ce57580e8d..bf99e11193 100644 --- a/components/file-input/src/file-input/features/can_be_focused/index.js +++ b/components/file-input/src/file-input/features/can_be_focused/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a FileInput with onFocus handler is rendered', () => { cy.visitStory('FileInput', 'With onFocus') diff --git a/components/file-input/src/file-input/features/common/index.js b/components/file-input/src/file-input/features/common/index.js index 66cb71e4e1..d6fd623203 100644 --- a/components/file-input/src/file-input/features/common/index.js +++ b/components/file-input/src/file-input/features/common/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('the FileInput does not have any files', () => { cy.get('[data-test="dhis2-uicore-fileinput"] input').then(($input) => { diff --git a/components/file-input/src/file-list/features/accepts_cancel_text/index.js b/components/file-input/src/file-list/features/accepts_cancel_text/index.js index 609bd5c8a8..e2ba222cf0 100644 --- a/components/file-input/src/file-list/features/accepts_cancel_text/index.js +++ b/components/file-input/src/file-list/features/accepts_cancel_text/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given( 'a loading FileListItem with onCancel handler and cancelText is rendered', diff --git a/components/file-input/src/file-list/features/accepts_label/index.js b/components/file-input/src/file-list/features/accepts_label/index.js index 6acc6c3ac6..166fc5ed8a 100644 --- a/components/file-input/src/file-list/features/accepts_label/index.js +++ b/components/file-input/src/file-list/features/accepts_label/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a FileListItem with label is rendered', () => { cy.visitStory('FileListItem', 'With label') diff --git a/components/file-input/src/file-list/features/accepts_remove_text/index.js b/components/file-input/src/file-list/features/accepts_remove_text/index.js index 71b69833e8..f05201b95d 100644 --- a/components/file-input/src/file-list/features/accepts_remove_text/index.js +++ b/components/file-input/src/file-list/features/accepts_remove_text/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a FileListItem with removeText is rendered', () => { cy.visitStory('FileListItem', 'With removeText') diff --git a/components/file-input/src/file-list/features/can_be_removed/index.js b/components/file-input/src/file-list/features/can_be_removed/index.js index fc197e6352..3e8c6dfae0 100644 --- a/components/file-input/src/file-list/features/can_be_removed/index.js +++ b/components/file-input/src/file-list/features/can_be_removed/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a FileListItem with Onremove handler is rendered', () => { cy.visitStory('FileListItem', 'With onRemove') diff --git a/components/file-input/src/file-list/features/file-list-item-accepts_children/index.js b/components/file-input/src/file-list/features/file-list-item-accepts_children/index.js index 50e9a96396..f380ce4413 100644 --- a/components/file-input/src/file-list/features/file-list-item-accepts_children/index.js +++ b/components/file-input/src/file-list/features/file-list-item-accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a FileList with children is rendered', () => { cy.visitStory('FileList', 'With children') diff --git a/components/file-input/src/file-list/features/file-list-placeholder-accepts_children/index.js b/components/file-input/src/file-list/features/file-list-placeholder-accepts_children/index.js index 7432da2b1a..42f68188be 100644 --- a/components/file-input/src/file-list/features/file-list-placeholder-accepts_children/index.js +++ b/components/file-input/src/file-list/features/file-list-placeholder-accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a FileListPlaceholder with children is rendered', () => { cy.visitStory('FileListPlaceholder', 'With children') diff --git a/components/file-input/src/file-list/features/loading_can_be_cancelled/index.js b/components/file-input/src/file-list/features/loading_can_be_cancelled/index.js index 427655574a..153162cb29 100644 --- a/components/file-input/src/file-list/features/loading_can_be_cancelled/index.js +++ b/components/file-input/src/file-list/features/loading_can_be_cancelled/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a loading FileListItem with onCancel handler is rendered', () => { cy.visitStory('FileListItem', 'Loading with onCancel') diff --git a/components/header-bar/src/__e2e__/stories/common.js b/components/header-bar/src/__e2e__/stories/common.js index d2520ed2f0..ee553a1355 100644 --- a/components/header-bar/src/__e2e__/stories/common.js +++ b/components/header-bar/src/__e2e__/stories/common.js @@ -3,6 +3,8 @@ import { CustomDataProvider, Provider, useAlerts } from '@dhis2/app-runtime' import PropTypes from 'prop-types' import React, { useEffect } from 'react' +export { modulesWithSpecialCharacters } from './modulesWithSpecialCharacters.js' + export const defaultModules = [ { name: 'dhis-web-dashboard', @@ -80,236 +82,6 @@ export const defaultModules = [ }, ] -export const modulesWithSpecialCharacters = [ - { - name: '/', - namespace: '//', - defaultAction: '..//.action', - displayName: 'A / character', - icon: '../icons/dhis-web-dashboard.png', - description: '', - }, - { - name: '-', - namespace: '/-', - defaultAction: '../-.action', - displayName: 'A - character', - icon: '../icons/dhis-web-dashboard.png', - description: '', - }, - { - name: '(', - namespace: '/(', - defaultAction: '../(.action', - displayName: 'A ( character', - icon: '../icons/dhis-web-data-visualizer.png', - description: '', - }, - { - name: ')', - namespace: '/)', - defaultAction: '../).action', - displayName: 'A ) character', - icon: '../icons/dhis-web-data-visualizer.png', - description: '', - }, - { - name: '[', - namespace: '/[', - defaultAction: '../[.action', - displayName: 'A [ character', - icon: '../icons/dhis-web-data-visualizer.png', - description: '', - }, - { - name: ']', - namespace: '/]', - defaultAction: '../].action', - displayName: 'A ] character', - icon: '../icons/dhis-web-data-visualizer.png', - description: '', - }, - { - name: '{', - namespace: '/{', - defaultAction: '../{.action', - displayName: 'A { character', - icon: '../icons/dhis-web-data-visualizer.png', - description: '', - }, - { - name: '}', - namespace: '/}', - defaultAction: '../}.action', - displayName: 'A } character', - icon: '../icons/dhis-web-data-visualizer.png', - description: '', - }, - { - name: '*', - namespace: '/*', - defaultAction: '../*.action', - displayName: 'A * character', - icon: '../icons/dhis-web-data-visualizer.png', - description: '', - }, - { - name: '+', - namespace: '/+', - defaultAction: '../+.action', - displayName: 'A + character', - icon: '../icons/dhis-web-data-visualizer.png', - description: '', - }, - { - name: '?', - namespace: '/?', - defaultAction: '../?.action', - displayName: 'A ? character', - icon: '../icons/dhis-web-data-visualizer.png', - description: '', - }, - { - name: '.', - namespace: '/.', - defaultAction: '../..action', - displayName: 'A . character', - icon: '../icons/dhis-web-data-visualizer.png', - description: '', - }, - { - name: ',', - namespace: '/,', - defaultAction: '../,.action', - displayName: 'A , character', - icon: '../icons/dhis-web-data-visualizer.png', - description: '', - }, - { - name: '^', - namespace: '/^', - defaultAction: '../^.action', - displayName: 'A ^ character', - icon: '../icons/dhis-web-data-visualizer.png', - description: '', - }, - { - name: '$', - namespace: '/$', - defaultAction: '../$.action', - displayName: 'A $ character', - icon: '../icons/dhis-web-data-visualizer.png', - description: '', - }, - { - name: '|', - namespace: '/|', - defaultAction: '../|.action', - displayName: 'A | character', - icon: '../icons/dhis-web-data-visualizer.png', - description: '', - }, - { - name: '#', - namespace: '/#', - defaultAction: '../#.action', - displayName: 'A # character', - icon: '../icons/dhis-web-data-visualizer.png', - description: '', - }, - { - name: '\\s', - namespace: '/\\s', - defaultAction: '../\\s.action', - displayName: 'A \\s character', - icon: '../icons/dhis-web-data-visualizer.png', - description: '', - }, - { - name: '\\', - namespace: '/\\', - defaultAction: '../\\.action', - displayName: 'A \\ character', - icon: '../icons/dhis-web-data-visualizer.png', - description: '', - }, - - { - name: 'dhis-web-dashboard', - namespace: '/dhis-web-dashboard', - defaultAction: '../dhis-web-dashboard/index.action', - displayName: 'Dashboard', - icon: '../icons/dhis-web-dashboard.png', - description: '', - }, - { - name: 'dhis-web-capture', - namespace: '/dhis-web-capture', - defaultAction: '../dhis-web-capture/index.action', - displayName: 'Capture', - icon: '../icons/dhis-web-capture.png', - description: '', - }, - { - name: 'dhis-web-maintenance', - namespace: '/dhis-web-maintenance', - defaultAction: '../dhis-web-maintenance/index.action', - displayName: 'Maintenance', - icon: '../icons/dhis-web-maintenance.png', - description: '', - }, - { - name: 'dhis-web-maps', - namespace: '/dhis-web-maps', - defaultAction: '../dhis-web-maps/index.action', - displayName: 'Maps', - icon: '../icons/dhis-web-maps.png', - description: '', - }, - { - name: 'dhis-web-event-reports', - namespace: '/dhis-web-event-reports', - defaultAction: '../dhis-web-event-reports/index.action', - displayName: 'Event Reports', - icon: '../icons/dhis-web-event-reports.png', - description: '', - }, - { - name: 'dhis-web-interpretation', - namespace: '/dhis-web-interpretation', - defaultAction: '../dhis-web-interpretation/index.action', - displayName: 'Interpretations', - icon: '../icons/dhis-web-interpretation.png', - description: '', - }, - { - name: 'dhis-web-import-export', - namespace: '/dhis-web-import-export', - defaultAction: '../dhis-web-import-export/index.action', - displayName: 'Import/Export', - icon: '../icons/dhis-web-importexport.png', - description: '', - }, - { - name: 'WHO Metadata browser', - namespace: 'WHO Metadata browser', - defaultAction: - 'https://debug.dhis2.org/dev/api/apps/WHO-Metadata-browser/index.html', - displayName: '', - icon: 'https://debug.dhis2.org/dev/api/apps/WHO-Metadata-browser/icons/medicine-48.png', - description: '', - }, - { - name: 'Dashboard Classic', - namespace: 'Dashboard Classic', - defaultAction: - 'https://debug.dhis2.org/dev/api/apps/Dashboard-Classic/index.html', - displayName: '', - icon: 'https://debug.dhis2.org/dev/api/apps/Dashboard-Classic/icon.png', - description: 'DHIS2 Legacy Dashboard App', - }, -] - export const applicationTitle = 'Foobar' export const dataProviderData = { diff --git a/components/header-bar/src/__e2e__/stories/modulesWithSpecialCharacters.js b/components/header-bar/src/__e2e__/stories/modulesWithSpecialCharacters.js new file mode 100644 index 0000000000..4797edc955 --- /dev/null +++ b/components/header-bar/src/__e2e__/stories/modulesWithSpecialCharacters.js @@ -0,0 +1,229 @@ +export const modulesWithSpecialCharacters = [ + { + name: '/', + namespace: '//', + defaultAction: '..//.action', + displayName: 'A / character', + icon: '../icons/dhis-web-dashboard.png', + description: '', + }, + { + name: '-', + namespace: '/-', + defaultAction: '../-.action', + displayName: 'A - character', + icon: '../icons/dhis-web-dashboard.png', + description: '', + }, + { + name: '(', + namespace: '/(', + defaultAction: '../(.action', + displayName: 'A ( character', + icon: '../icons/dhis-web-data-visualizer.png', + description: '', + }, + { + name: ')', + namespace: '/)', + defaultAction: '../).action', + displayName: 'A ) character', + icon: '../icons/dhis-web-data-visualizer.png', + description: '', + }, + { + name: '[', + namespace: '/[', + defaultAction: '../[.action', + displayName: 'A [ character', + icon: '../icons/dhis-web-data-visualizer.png', + description: '', + }, + { + name: ']', + namespace: '/]', + defaultAction: '../].action', + displayName: 'A ] character', + icon: '../icons/dhis-web-data-visualizer.png', + description: '', + }, + { + name: '{', + namespace: '/{', + defaultAction: '../{.action', + displayName: 'A { character', + icon: '../icons/dhis-web-data-visualizer.png', + description: '', + }, + { + name: '}', + namespace: '/}', + defaultAction: '../}.action', + displayName: 'A } character', + icon: '../icons/dhis-web-data-visualizer.png', + description: '', + }, + { + name: '*', + namespace: '/*', + defaultAction: '../*.action', + displayName: 'A * character', + icon: '../icons/dhis-web-data-visualizer.png', + description: '', + }, + { + name: '+', + namespace: '/+', + defaultAction: '../+.action', + displayName: 'A + character', + icon: '../icons/dhis-web-data-visualizer.png', + description: '', + }, + { + name: '?', + namespace: '/?', + defaultAction: '../?.action', + displayName: 'A ? character', + icon: '../icons/dhis-web-data-visualizer.png', + description: '', + }, + { + name: '.', + namespace: '/.', + defaultAction: '../..action', + displayName: 'A . character', + icon: '../icons/dhis-web-data-visualizer.png', + description: '', + }, + { + name: ',', + namespace: '/,', + defaultAction: '../,.action', + displayName: 'A , character', + icon: '../icons/dhis-web-data-visualizer.png', + description: '', + }, + { + name: '^', + namespace: '/^', + defaultAction: '../^.action', + displayName: 'A ^ character', + icon: '../icons/dhis-web-data-visualizer.png', + description: '', + }, + { + name: '$', + namespace: '/$', + defaultAction: '../$.action', + displayName: 'A $ character', + icon: '../icons/dhis-web-data-visualizer.png', + description: '', + }, + { + name: '|', + namespace: '/|', + defaultAction: '../|.action', + displayName: 'A | character', + icon: '../icons/dhis-web-data-visualizer.png', + description: '', + }, + { + name: '#', + namespace: '/#', + defaultAction: '../#.action', + displayName: 'A # character', + icon: '../icons/dhis-web-data-visualizer.png', + description: '', + }, + { + name: '\\s', + namespace: '/\\s', + defaultAction: '../\\s.action', + displayName: 'A \\s character', + icon: '../icons/dhis-web-data-visualizer.png', + description: '', + }, + { + name: '\\', + namespace: '/\\', + defaultAction: '../\\.action', + displayName: 'A \\ character', + icon: '../icons/dhis-web-data-visualizer.png', + description: '', + }, + + { + name: 'dhis-web-dashboard', + namespace: '/dhis-web-dashboard', + defaultAction: '../dhis-web-dashboard/index.action', + displayName: 'Dashboard', + icon: '../icons/dhis-web-dashboard.png', + description: '', + }, + { + name: 'dhis-web-capture', + namespace: '/dhis-web-capture', + defaultAction: '../dhis-web-capture/index.action', + displayName: 'Capture', + icon: '../icons/dhis-web-capture.png', + description: '', + }, + { + name: 'dhis-web-maintenance', + namespace: '/dhis-web-maintenance', + defaultAction: '../dhis-web-maintenance/index.action', + displayName: 'Maintenance', + icon: '../icons/dhis-web-maintenance.png', + description: '', + }, + { + name: 'dhis-web-maps', + namespace: '/dhis-web-maps', + defaultAction: '../dhis-web-maps/index.action', + displayName: 'Maps', + icon: '../icons/dhis-web-maps.png', + description: '', + }, + { + name: 'dhis-web-event-reports', + namespace: '/dhis-web-event-reports', + defaultAction: '../dhis-web-event-reports/index.action', + displayName: 'Event Reports', + icon: '../icons/dhis-web-event-reports.png', + description: '', + }, + { + name: 'dhis-web-interpretation', + namespace: '/dhis-web-interpretation', + defaultAction: '../dhis-web-interpretation/index.action', + displayName: 'Interpretations', + icon: '../icons/dhis-web-interpretation.png', + description: '', + }, + { + name: 'dhis-web-import-export', + namespace: '/dhis-web-import-export', + defaultAction: '../dhis-web-import-export/index.action', + displayName: 'Import/Export', + icon: '../icons/dhis-web-importexport.png', + description: '', + }, + { + name: 'WHO Metadata browser', + namespace: 'WHO Metadata browser', + defaultAction: + 'https://debug.dhis2.org/dev/api/apps/WHO-Metadata-browser/index.html', + displayName: '', + icon: 'https://debug.dhis2.org/dev/api/apps/WHO-Metadata-browser/icons/medicine-48.png', + description: '', + }, + { + name: 'Dashboard Classic', + namespace: 'Dashboard Classic', + defaultAction: + 'https://debug.dhis2.org/dev/api/apps/Dashboard-Classic/index.html', + displayName: '', + icon: 'https://debug.dhis2.org/dev/api/apps/Dashboard-Classic/icon.png', + description: 'DHIS2 Legacy Dashboard App', + }, +] diff --git a/components/header-bar/src/features/common/index.js b/components/header-bar/src/features/common/index.js index 970bb29af5..fbd64c0947 100644 --- a/components/header-bar/src/features/common/index.js +++ b/components/header-bar/src/features/common/index.js @@ -1,4 +1,4 @@ -import { Before, Given } from 'cypress-cucumber-preprocessor/steps' +import { Before, Given } from '@badeball/cypress-cucumber-preprocessor' export const baseUrl = 'https://domain.tld/' export const webCommons = 'https://domain.tld/dhis-web-commons/' diff --git a/components/header-bar/src/features/the_headerbar_can_display_online_status/the_headerbar_displays_online_status.js b/components/header-bar/src/features/the_headerbar_can_display_online_status/the_headerbar_displays_online_status.js index 36f017d2d3..780a6aa060 100644 --- a/components/header-bar/src/features/the_headerbar_can_display_online_status/the_headerbar_displays_online_status.js +++ b/components/header-bar/src/features/the_headerbar_can_display_online_status/the_headerbar_displays_online_status.js @@ -4,9 +4,8 @@ import { Given, Then, When, - And, -} from 'cypress-cucumber-preprocessor/steps' -import '../common/index.js' +} from '@badeball/cypress-cucumber-preprocessor' +require('../common/index.js') // see https://github.com/cypress-io/cypress/issues/17723#issuecomment-1457064322 const goOffline = () => { @@ -53,7 +52,7 @@ Given( } ) -And('the viewport is narrower than 480px', () => { +Given('the viewport is narrower than 480px', () => { cy.viewport(460, 660) }) @@ -71,7 +70,7 @@ Then('the HeaderBar displays only the desktop status badge', () => { cy.get('[data-test="headerbar-online-status"].bar').should('not.be.visible') }) -And('the status badge shows online', () => { +Then('the status badge shows online', () => { cy.get('[data-test="headerbar-online-status"].badge .label').should( ($label) => { expect($label.text()).to.equal('Online') @@ -91,7 +90,7 @@ Then('the HeaderBar displays only the mobile status bar', () => { ) }) -And('the browser goes offline', () => { +Given('the browser goes offline', () => { goOffline() }) diff --git a/components/header-bar/src/features/the_headerbar_conditionally_renders_notification_icons/the_headerbar_conditionally_renders_notification_icons.js b/components/header-bar/src/features/the_headerbar_conditionally_renders_notification_icons/the_headerbar_conditionally_renders_notification_icons.js index ab7e9574d6..d2adfa36b2 100644 --- a/components/header-bar/src/features/the_headerbar_conditionally_renders_notification_icons/the_headerbar_conditionally_renders_notification_icons.js +++ b/components/header-bar/src/features/the_headerbar_conditionally_renders_notification_icons/the_headerbar_conditionally_renders_notification_icons.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('the user has the ALL authority', () => { cy.visitStory('HeaderBarTesting', 'User Has All Authority') diff --git a/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/common.js b/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/common.js index e7054b39cf..42275ceacc 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/common.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/common.js @@ -1,4 +1,5 @@ -import { Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('the HeaderBar dos not display the app menu', () => { cy.get('[data-test="headerbar-apps-menu"]').should('not.exist') diff --git a/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/the_app_menu_closes_when_the_user_clicks_outside.js b/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/the_app_menu_closes_when_the_user_clicks_outside.js index 56b3ca7207..73e9ce20a5 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/the_app_menu_closes_when_the_user_clicks_outside.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/the_app_menu_closes_when_the_user_clicks_outside.js @@ -1,5 +1,4 @@ -import '../common/index.js' -import { When } from 'cypress-cucumber-preprocessor/steps' +import { When } from '@badeball/cypress-cucumber-preprocessor' When('the user opens the menu', () => { cy.get('[data-test="headerbar-apps-icon"]').click() diff --git a/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/the_headerbar_contains_a_menu_icon.js b/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/the_headerbar_contains_a_menu_icon.js index 57f0bd9f25..55baddfbca 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/the_headerbar_contains_a_menu_icon.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/the_headerbar_contains_a_menu_icon.js @@ -1,5 +1,4 @@ -import '../common/index.js' -import { Then } from 'cypress-cucumber-preprocessor/steps' +import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('the HeaderBar displays a menu icon', () => { cy.get('[data-test="headerbar-apps-icon"]').should('exist') diff --git a/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/the_menu_is_closed_by_default.js b/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/the_menu_is_closed_by_default.js deleted file mode 100644 index a3de93713c..0000000000 --- a/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/the_menu_is_closed_by_default.js +++ /dev/null @@ -1,7 +0,0 @@ -import '../common/index.js' -import './common.js' -import { Then } from 'cypress-cucumber-preprocessor/steps' - -Then('the HeaderBar dos not display the app menu', () => { - cy.get('[data-test="headerbar-apps-menu"]').should('not.exist') -}) diff --git a/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/the_user_will_be_offered_a_menu_with_5_apps.js b/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/the_user_will_be_offered_a_menu_with_5_apps.js index 4c1ff83829..31db255a59 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/the_user_will_be_offered_a_menu_with_5_apps.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/the_user_will_be_offered_a_menu_with_5_apps.js @@ -1,4 +1,4 @@ -import { When, Then } from 'cypress-cucumber-preprocessor/steps' +import { When, Then } from '@badeball/cypress-cucumber-preprocessor' When('the user clicks on the menu icons', () => { cy.get('[data-test="headerbar-apps-icon"]').click() diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/common.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/common.js index 8b39d3cc1b..698b083212 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/common.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/common.js @@ -1,4 +1,4 @@ -import { Then, When } from 'cypress-cucumber-preprocessor/steps' +import { Then, When } from '@badeball/cypress-cucumber-preprocessor' Then('the HeaderBar does not display the profile menu', () => { cy.get('[data-test="headerbar-profile-menu"]').should('not.exist') diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_headerbar_shows_a_text_icon_if_the_user_does_not_have_an_avatar.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_headerbar_shows_a_text_icon_if_the_user_does_not_have_an_avatar.js index 5acd429fab..34afb0e389 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_headerbar_shows_a_text_icon_if_the_user_does_not_have_an_avatar.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_headerbar_shows_a_text_icon_if_the_user_does_not_have_an_avatar.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then, When } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then, When } from '@badeball/cypress-cucumber-preprocessor' Given( 'the HeaderBar loads without an error and the user does not have an avatar', diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_headerbar_shows_an_image_icon_if_the_user_has_an_avatar.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_headerbar_shows_an_image_icon_if_the_user_has_an_avatar.js index 7acd78b39f..02012b8525 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_headerbar_shows_an_image_icon_if_the_user_has_an_avatar.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_headerbar_shows_an_image_icon_if_the_user_has_an_avatar.js @@ -1,4 +1,4 @@ -import { Given, Then, When } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then, When } from '@badeball/cypress-cucumber-preprocessor' Given('the HeaderBar loads without an error and the user has an avatar', () => { cy.visitStory('HeaderBarTesting', 'Me With Avatar') diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_menu_is_closed_by_default.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_menu_is_closed_by_default.js index 45c94ab835..0692c6fa03 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_menu_is_closed_by_default.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_menu_is_closed_by_default.js @@ -1,3 +1,3 @@ -import '../common/index.js' +require('../common/index.js') // all step definitions are shared with other scenarios diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_menu_opens.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_menu_opens.js index e3eb02ca87..1e9454c9f2 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_menu_opens.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_menu_opens.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { When, Then } from '@badeball/cypress-cucumber-preprocessor' When('the user clicks on the profile icons', () => { cy.get( diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_profile_menu_closes_when_the_user_clicks_outside.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_profile_menu_closes_when_the_user_clicks_outside.js index 14cb74670d..e8c7014892 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_profile_menu_closes_when_the_user_clicks_outside.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_profile_menu_closes_when_the_user_clicks_outside.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { When } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { When } from '@badeball/cypress-cucumber-preprocessor' When('the user clicks outside of the menu', () => { cy.get('[data-test="headerbar-title"]').click() diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_edit_his_profile.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_edit_his_profile.js index ea906c8da9..551ff9ccb9 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_edit_his_profile.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_edit_his_profile.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('contains a link to edit the profile', () => { cy.get('[data-test="headerbar-profile-edit-profile-link"]').should( diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_his_account.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_his_account.js index 73b00a06cf..1dca44eea8 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_his_account.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_his_account.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('contains a link to the user account', () => { cy.get('[data-test="headerbar-profile-menu"] > li').should((lis) => { diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_about_dhis2_page.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_about_dhis2_page.js index d978d15326..3a185ddcfb 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_about_dhis2_page.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_about_dhis2_page.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('contains a link to the About DHIS2 page', () => { cy.get('[data-test="headerbar-profile-menu"] > li').should((lis) => { diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_help_page.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_help_page.js index 01412c89a7..dfb10adddc 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_help_page.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_help_page.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('contains a link to the help page', () => { cy.get('[data-test="headerbar-profile-menu"] > li').should((lis) => { diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_settings.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_settings.js index 83cbd6110c..93e81ce69c 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_settings.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_settings.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('contains a link to the settings', () => { cy.get('[data-test="headerbar-profile-menu"] > li').should((lis) => { diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_log_out.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_log_out.js index b60106b2c7..777a9b9a4b 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_log_out.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_log_out.js @@ -1,4 +1,4 @@ -import { And, Then } from 'cypress-cucumber-preprocessor/steps' +import { When, Then } from '@badeball/cypress-cucumber-preprocessor' import { baseUrl } from '../common/index.js' const logoutUrl = `${baseUrl}dhis-web-commons-security/logout.action` @@ -11,7 +11,7 @@ Then('contains a link to log out the user', () => { }) }) -And('there is no loading mask', () => { +When('there is no loading mask', () => { cy.get('[data-test="headerbar-profile-menu-loading-mask"]').should( 'not.exist' ) @@ -30,7 +30,7 @@ Then('a loading mask covers the screen', () => { }) // Currently not working -And('clearSensitiveCaches is called', async () => { +When('clearSensitiveCaches is called', async () => { // Open caches to test 'clearSensitiveCaches': // A keepable cache await caches.open('workbox-precache-v2-asdf') diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_name_and_email_are_displayed.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_name_and_email_are_displayed.js index aaf0cc14b6..508f691be4 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_name_and_email_are_displayed.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_name_and_email_are_displayed.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('contains the user name', () => { cy.all( diff --git a/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/the_headerbar_displays_a_link_to_the_interpretations.js b/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/the_headerbar_displays_a_link_to_the_interpretations.js index 5b26643a1d..180eeb214e 100644 --- a/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/the_headerbar_displays_a_link_to_the_interpretations.js +++ b/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/the_headerbar_displays_a_link_to_the_interpretations.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('the HeaderBar contains a link to the interpretations', () => { cy.get('[data-test="headerbar-interpretations"]').should('be.visible') diff --git a/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/there_are_no_unread_interpretations.js b/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/there_are_no_unread_interpretations.js index 547df901e6..f9dde7f7b2 100644 --- a/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/there_are_no_unread_interpretations.js +++ b/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/there_are_no_unread_interpretations.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('there are 0 unread interpretations', () => { cy.visitStory('HeaderBarTesting', 'Zero Unread Interpretations') diff --git a/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/there_are_some_unread_interpretations.js b/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/there_are_some_unread_interpretations.js index 8f1e5be6f3..b1bd32b61d 100644 --- a/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/there_are_some_unread_interpretations.js +++ b/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/there_are_some_unread_interpretations.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Then } from '@badeball/cypress-cucumber-preprocessor' Then( 'the interpretations link contains an icon with a number greater than 0', diff --git a/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/the_headerbar_displays_a_link_to_the_messages.js b/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/the_headerbar_displays_a_link_to_the_messages.js index 00f33f1219..d6bb285b1c 100644 --- a/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/the_headerbar_displays_a_link_to_the_messages.js +++ b/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/the_headerbar_displays_a_link_to_the_messages.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('the HeaderBar contains a link to the messages', () => { cy.get('[data-test="headerbar-messages"]').should('be.visible') diff --git a/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/there_are_no_unread_messages.js b/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/there_are_no_unread_messages.js index 7f1f06e885..99b1f86113 100644 --- a/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/there_are_no_unread_messages.js +++ b/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/there_are_no_unread_messages.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Then, Given } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Then, Given } from '@badeball/cypress-cucumber-preprocessor' Given('there are 0 unread messages', () => { cy.visitStory('HeaderBarTesting', 'Zero Unread Messages') diff --git a/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/there_are_some_unread_messages.js b/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/there_are_some_unread_messages.js index 513774c627..93c3500685 100644 --- a/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/there_are_some_unread_messages.js +++ b/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/there_are_some_unread_messages.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('the messages link contains an icon with a number greater than 0', () => { cy.get('[data-test="headerbar-messages-count"]').should(($count) => { diff --git a/components/header-bar/src/features/the_headerbar_should_contain_a_logo_that_links_to_the_homepage/headerbar_contains_logo.js b/components/header-bar/src/features/the_headerbar_should_contain_a_logo_that_links_to_the_homepage/headerbar_contains_logo.js index 9cde56108c..9cc88a5520 100644 --- a/components/header-bar/src/features/the_headerbar_should_contain_a_logo_that_links_to_the_homepage/headerbar_contains_logo.js +++ b/components/header-bar/src/features/the_headerbar_should_contain_a_logo_that_links_to_the_homepage/headerbar_contains_logo.js @@ -1,4 +1,4 @@ -import { Then } from 'cypress-cucumber-preprocessor/steps' +import { Then } from '@badeball/cypress-cucumber-preprocessor' import { baseUrl } from '../common/index.js' Then('the HeaderBar should display the dhis2 logo', () => { diff --git a/components/header-bar/src/features/the_headerbar_should_display_app_update_notification/index.js b/components/header-bar/src/features/the_headerbar_should_display_app_update_notification/index.js index 40e6122f18..5ab56b45dd 100644 --- a/components/header-bar/src/features/the_headerbar_should_display_app_update_notification/index.js +++ b/components/header-bar/src/features/the_headerbar_should_display_app_update_notification/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('the HeaderBar is rendered without an available update', () => { cy.visitStory('HeaderBarTesting', 'default') diff --git a/components/header-bar/src/features/the_headerbar_should_display_debug_version_infos/index.js b/components/header-bar/src/features/the_headerbar_should_display_debug_version_infos/index.js index b516685d84..0a82d6b7ad 100644 --- a/components/header-bar/src/features/the_headerbar_should_display_debug_version_infos/index.js +++ b/components/header-bar/src/features/the_headerbar_should_display_debug_version_infos/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given( 'the HeaderBar is rendered without an instance version in runtime context', diff --git a/components/header-bar/src/features/the_headerbar_should_display_the_title_provided_by_the_backend_and_the_app/the_headerbar_displays_the_custom_title.js b/components/header-bar/src/features/the_headerbar_should_display_the_title_provided_by_the_backend_and_the_app/the_headerbar_displays_the_custom_title.js index bcf4918ba5..8f9848baec 100644 --- a/components/header-bar/src/features/the_headerbar_should_display_the_title_provided_by_the_backend_and_the_app/the_headerbar_displays_the_custom_title.js +++ b/components/header-bar/src/features/the_headerbar_should_display_the_title_provided_by_the_backend_and_the_app/the_headerbar_displays_the_custom_title.js @@ -1,4 +1,4 @@ -import { Then, Given } from 'cypress-cucumber-preprocessor/steps' +import { Then, Given } from '@badeball/cypress-cucumber-preprocessor' Given('the custom title is "Barbaz" and the app title is "Example!"', () => { cy.visitStory('HeaderBarTesting', 'Custom Application Title') diff --git a/components/header-bar/src/features/the_search_should_escape_regexp_character/common.js b/components/header-bar/src/features/the_search_should_escape_regexp_character/common.js index f88b173e70..1026a0a3b2 100644 --- a/components/header-bar/src/features/the_search_should_escape_regexp_character/common.js +++ b/components/header-bar/src/features/the_search_should_escape_regexp_character/common.js @@ -1,4 +1,5 @@ -import { Given } from 'cypress-cucumber-preprocessor/steps' +import { Given } from '@badeball/cypress-cucumber-preprocessor' +require('../common/index.js') Given(/the search contains a (.*)/, (character) => { cy.get('[data-test="headerbar-apps-icon"]').click() diff --git a/components/header-bar/src/features/the_search_should_escape_regexp_character/the_modules_do_not_contain_items_with_special_chars.js b/components/header-bar/src/features/the_search_should_escape_regexp_character/the_modules_do_not_contain_items_with_special_chars.js index b07013e0a8..f725a07c4c 100644 --- a/components/header-bar/src/features/the_search_should_escape_regexp_character/the_modules_do_not_contain_items_with_special_chars.js +++ b/components/header-bar/src/features/the_search_should_escape_regexp_character/the_modules_do_not_contain_items_with_special_chars.js @@ -1,5 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' -import '../common/index.js' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given(/no app name contains a (.*)/, (character) => { // Needs to be wrapped, otherwise for some reason the wrong char is in the scope diff --git a/components/header-bar/src/features/the_search_should_escape_regexp_character/the_user_searches_for_an_app_with_a_regex_character.js b/components/header-bar/src/features/the_search_should_escape_regexp_character/the_user_searches_for_an_app_with_a_regex_character.js index 3f1318c3dd..8ed1c1e596 100644 --- a/components/header-bar/src/features/the_search_should_escape_regexp_character/the_user_searches_for_an_app_with_a_regex_character.js +++ b/components/header-bar/src/features/the_search_should_escape_regexp_character/the_user_searches_for_an_app_with_a_regex_character.js @@ -1,6 +1,5 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' -import { modulesWithSpecialCharacters } from '../../__e2e__/stories/common.js' -import '../common/index.js' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' +import { modulesWithSpecialCharacters } from '../../__e2e__/stories/modulesWithSpecialCharacters.js' Given(/some app names contain a (.*)/, (character) => { // Needs to be wrapped, otherwise for some reason the wrong char is in the scope diff --git a/components/help/src/features/accepts_children/index.js b/components/help/src/features/accepts_children/index.js index 9d004378a3..ffdb10ca7d 100644 --- a/components/help/src/features/accepts_children/index.js +++ b/components/help/src/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Help component with children is rendered', () => { cy.visitStory('Help', 'With children') diff --git a/components/input/src/input-field/features/can_be_required/index.js b/components/input/src/input-field/features/can_be_required/index.js index 4b421fd551..886459a7d7 100644 --- a/components/input/src/input-field/features/can_be_required/index.js +++ b/components/input/src/input-field/features/can_be_required/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a InputField with label and a required flag is rendered', () => { cy.visitStory('InputField', 'With label and required') diff --git a/components/input/src/input/features/accepts_initial_focus/index.js b/components/input/src/input/features/accepts_initial_focus/index.js index 2972942731..b76b1d6b19 100644 --- a/components/input/src/input/features/accepts_initial_focus/index.js +++ b/components/input/src/input/features/accepts_initial_focus/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Input with initialFocus is rendered', () => { cy.visitStory('Input', 'With initialFocus') diff --git a/components/input/src/input/features/can_be_blurred/index.js b/components/input/src/input/features/can_be_blurred/index.js index 59a19514e8..0dcdd964f9 100644 --- a/components/input/src/input/features/can_be_blurred/index.js +++ b/components/input/src/input/features/can_be_blurred/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an Input with initialFocus and onBlur handler is rendered', () => { cy.visitStory('Input', 'With initialFocus and onBlur') diff --git a/components/input/src/input/features/can_be_changed/index.js b/components/input/src/input/features/can_be_changed/index.js index 98aa423bf8..08449b424a 100644 --- a/components/input/src/input/features/can_be_changed/index.js +++ b/components/input/src/input/features/can_be_changed/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Input with onChange handler is rendered', () => { cy.visitStory('Input', 'With onChange') diff --git a/components/input/src/input/features/can_be_disabled/index.js b/components/input/src/input/features/can_be_disabled/index.js index cb8e3454f5..edb415b0a4 100644 --- a/components/input/src/input/features/can_be_disabled/index.js +++ b/components/input/src/input/features/can_be_disabled/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a disabled Input is rendered', () => { cy.visitStory('Input', 'With disabled') diff --git a/components/input/src/input/features/can_be_focused/index.js b/components/input/src/input/features/can_be_focused/index.js index e467ac4d86..bfe83bb8aa 100644 --- a/components/input/src/input/features/can_be_focused/index.js +++ b/components/input/src/input/features/can_be_focused/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Input with onFocus handler is rendered', () => { cy.visitStory('Input', 'With onFocus') diff --git a/components/intersection-detector/src/features/Visibility_notification/index.js b/components/intersection-detector/src/features/Visibility_notification/index.js index 9b704d86da..54cac17af5 100644 --- a/components/intersection-detector/src/features/Visibility_notification/index.js +++ b/components/intersection-detector/src/features/Visibility_notification/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('the detector is not intersecting with the root', () => { cy.visitStory('IntersectionDetector', 'Out Of View') diff --git a/components/label/src/features/accepts_children/index.js b/components/label/src/features/accepts_children/index.js index 9f77e04e4f..610d94fbf2 100644 --- a/components/label/src/features/accepts_children/index.js +++ b/components/label/src/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Label with children is rendered', () => { cy.visitStory('Label', 'With children') diff --git a/components/label/src/features/can_be_required/index.js b/components/label/src/features/can_be_required/index.js index 8a713648b5..5766c0c541 100644 --- a/components/label/src/features/can_be_required/index.js +++ b/components/label/src/features/can_be_required/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Label with required is rendered', () => { cy.visitStory('Label', 'With required') diff --git a/components/layer/src/features/accepts_children/index.js b/components/layer/src/features/accepts_children/index.js index b687dc83d8..9def4581df 100644 --- a/components/layer/src/features/accepts_children/index.js +++ b/components/layer/src/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Layer with children is rendered', () => { cy.visitStory('Layer', 'Default') diff --git a/components/layer/src/features/click_behavior/index.js b/components/layer/src/features/click_behavior/index.js index 780c369e2e..77eaa7ffff 100644 --- a/components/layer/src/features/click_behavior/index.js +++ b/components/layer/src/features/click_behavior/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Layer with a button below it is rendered', () => { cy.visitStory('Layer', 'Blocking') diff --git a/components/layer/src/features/stacking/index.js b/components/layer/src/features/stacking/index.js index 1b26c23a6f..ecbea5b17c 100644 --- a/components/layer/src/features/stacking/index.js +++ b/components/layer/src/features/stacking/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('two equal sibling Layers are rendered', () => { cy.visitStory('Layer', 'Equal Siblings') diff --git a/components/legend/src/features/accepts_children/index.js b/components/legend/src/features/accepts_children/index.js index 6a2bf5183c..e6c1d005a7 100644 --- a/components/legend/src/features/accepts_children/index.js +++ b/components/legend/src/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Legend with children is rendered', () => { cy.visitStory('Legend', 'With children') diff --git a/components/legend/src/features/can_be_required/index.js b/components/legend/src/features/can_be_required/index.js index a5eae59568..58e1311100 100644 --- a/components/legend/src/features/can_be_required/index.js +++ b/components/legend/src/features/can_be_required/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Legend with content and a required flag is rendered', () => { cy.visitStory('Legend', 'With content and required') diff --git a/components/menu/src/flyout-menu/features/accepts_children/index.js b/components/menu/src/flyout-menu/features/accepts_children/index.js index b3cceced65..3075f8b38f 100644 --- a/components/menu/src/flyout-menu/features/accepts_children/index.js +++ b/components/menu/src/flyout-menu/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a FlyoutMenu with children is rendered', () => { cy.visitStory('FlyoutMenu', 'With Children') diff --git a/components/menu/src/flyout-menu/features/position/index.js b/components/menu/src/flyout-menu/features/position/index.js index d635e3d7fd..7d1feb974c 100644 --- a/components/menu/src/flyout-menu/features/position/index.js +++ b/components/menu/src/flyout-menu/features/position/index.js @@ -1,4 +1,4 @@ -import { Given, Then, When } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then, When } from '@badeball/cypress-cucumber-preprocessor' const CLOSE_TO_DELTA = 1 diff --git a/components/menu/src/flyout-menu/features/toggles_submenus/index.js b/components/menu/src/flyout-menu/features/toggles_submenus/index.js index c8cbba4d28..50ee4b35a0 100644 --- a/components/menu/src/flyout-menu/features/toggles_submenus/index.js +++ b/components/menu/src/flyout-menu/features/toggles_submenus/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a FlyoutMenu with two SubMenus is rendered', () => { cy.visitStory('FlyoutMenu', 'Toggles Sub Menus') diff --git a/components/menu/src/menu-item/features/accepts_href/index.js b/components/menu/src/menu-item/features/accepts_href/index.js index ace9eec24b..d3e103856c 100644 --- a/components/menu/src/menu-item/features/accepts_href/index.js +++ b/components/menu/src/menu-item/features/accepts_href/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MenuItem with href is rendered', () => { cy.visitStory('MenuItem', 'With Href') diff --git a/components/menu/src/menu-item/features/accepts_icon/index.js b/components/menu/src/menu-item/features/accepts_icon/index.js index 24221621f6..50cd38e20b 100644 --- a/components/menu/src/menu-item/features/accepts_icon/index.js +++ b/components/menu/src/menu-item/features/accepts_icon/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MenuItem supplied with an icon is rendered', () => { cy.visitStory('MenuItem', 'With Icon') diff --git a/components/menu/src/menu-item/features/accepts_label/index.js b/components/menu/src/menu-item/features/accepts_label/index.js index ec48d8d87f..6e2e097a0b 100644 --- a/components/menu/src/menu-item/features/accepts_label/index.js +++ b/components/menu/src/menu-item/features/accepts_label/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MenuItem supplied with a label is rendered', () => { cy.visitStory('MenuItem', 'With Label') diff --git a/components/menu/src/menu-item/features/accepts_suffix/index.js b/components/menu/src/menu-item/features/accepts_suffix/index.js index e61d19f251..07f6508f15 100644 --- a/components/menu/src/menu-item/features/accepts_suffix/index.js +++ b/components/menu/src/menu-item/features/accepts_suffix/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MenuItem supplied with a suffix is rendered', () => { cy.visitStory('MenuItem', 'With Suffix') diff --git a/components/menu/src/menu-item/features/accepts_target/index.js b/components/menu/src/menu-item/features/accepts_target/index.js index bf41311217..094c743e61 100644 --- a/components/menu/src/menu-item/features/accepts_target/index.js +++ b/components/menu/src/menu-item/features/accepts_target/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MenuItem with target is rendered', () => { cy.visitStory('MenuItem', 'With Target') diff --git a/components/menu/src/menu-item/features/is_clickable/index.js b/components/menu/src/menu-item/features/is_clickable/index.js index 0f6d17aca3..164442bd03 100644 --- a/components/menu/src/menu-item/features/is_clickable/index.js +++ b/components/menu/src/menu-item/features/is_clickable/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MenuItem with onClick handler and value is rendered', () => { cy.visitStory('MenuItem', 'With On Click And Value') diff --git a/components/menu/src/menu-section-header/features/accepts_label/index.js b/components/menu/src/menu-section-header/features/accepts_label/index.js index 70bb3d779a..254686b58c 100644 --- a/components/menu/src/menu-section-header/features/accepts_label/index.js +++ b/components/menu/src/menu-section-header/features/accepts_label/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MenuSectionHeader supplied with a label is rendered', () => { cy.visitStory('MenuSectionHeader', 'With Label') diff --git a/components/menu/src/menu/features/accepts_children/index.js b/components/menu/src/menu/features/accepts_children/index.js index 6b7f951b7a..b50664fad5 100644 --- a/components/menu/src/menu/features/accepts_children/index.js +++ b/components/menu/src/menu/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Menu with children is rendered', () => { cy.visitStory('Menu', 'With children') diff --git a/components/modal/src/modal-actions/features/accepts_children/index.js b/components/modal/src/modal-actions/features/accepts_children/index.js index e742473bb1..0447edb17e 100644 --- a/components/modal/src/modal-actions/features/accepts_children/index.js +++ b/components/modal/src/modal-actions/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a ModalActions with children is rendered', () => { cy.visitStory('ModalActions', 'With children') diff --git a/components/modal/src/modal-content/features/accepts_children/index.js b/components/modal/src/modal-content/features/accepts_children/index.js index fbd4bd8b39..401491f5b4 100644 --- a/components/modal/src/modal-content/features/accepts_children/index.js +++ b/components/modal/src/modal-content/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a ModalContent with children is rendered', () => { cy.visitStory('ModalContent', 'With children') diff --git a/components/modal/src/modal-title/features/accepts_children/index.js b/components/modal/src/modal-title/features/accepts_children/index.js index 9678536b31..5c7e7a29d7 100644 --- a/components/modal/src/modal-title/features/accepts_children/index.js +++ b/components/modal/src/modal-title/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a ModalTitle with children is rendered', () => { cy.visitStory('ModalTitle', 'With children') diff --git a/components/modal/src/modal/features/accepts_children/index.js b/components/modal/src/modal/features/accepts_children/index.js index 7b4681ea31..1801351a1b 100644 --- a/components/modal/src/modal/features/accepts_children/index.js +++ b/components/modal/src/modal/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Modal with children is rendered', () => { cy.visitStory('Modal', 'With children') diff --git a/components/modal/src/modal/features/can_be_closed/index.js b/components/modal/src/modal/features/can_be_closed/index.js index e2c9793b56..991a4cdac9 100644 --- a/components/modal/src/modal/features/can_be_closed/index.js +++ b/components/modal/src/modal/features/can_be_closed/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a top-aligned Modal with onClose handler is rendered', () => { cy.visitStory('Modal', 'With onClose') diff --git a/components/modal/src/modal/features/does_not_unmount_children_when_hiding/index.js b/components/modal/src/modal/features/does_not_unmount_children_when_hiding/index.js index e678d0eb5b..6f14c5a110 100644 --- a/components/modal/src/modal/features/does_not_unmount_children_when_hiding/index.js +++ b/components/modal/src/modal/features/does_not_unmount_children_when_hiding/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a modal with a counter component is rendered', () => { cy.visitStory('Modal', 'With stateful children') diff --git a/components/node/src/features/accepts_children/index.js b/components/node/src/features/accepts_children/index.js index 8c8759ce10..5f54a64ca8 100644 --- a/components/node/src/features/accepts_children/index.js +++ b/components/node/src/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a closed Node with children is rendered', () => { cy.visitStory('Node', 'Closed with children') diff --git a/components/node/src/features/accepts_component/index.js b/components/node/src/features/accepts_component/index.js index f5d99c2c2c..d8c05262ad 100644 --- a/components/node/src/features/accepts_component/index.js +++ b/components/node/src/features/accepts_component/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Node with component prop is rendered', () => { cy.visitStory('Node', 'With component') diff --git a/components/node/src/features/accepts_icon/index.js b/components/node/src/features/accepts_icon/index.js index 03ff2a8a2b..2731dc287f 100644 --- a/components/node/src/features/accepts_icon/index.js +++ b/components/node/src/features/accepts_icon/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Node with icon prop is rendered', () => { cy.visitStory('Node', 'With icon') diff --git a/components/node/src/features/can_be_closed/index.js b/components/node/src/features/can_be_closed/index.js index 123115440c..38d9a1fd2a 100644 --- a/components/node/src/features/can_be_closed/index.js +++ b/components/node/src/features/can_be_closed/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an open Node with an onClose handler is rendered', () => { cy.visitStory('Node', 'Open with onClose') diff --git a/components/node/src/features/can_be_opened/index.js b/components/node/src/features/can_be_opened/index.js index 1d79e7d70f..badf3056b9 100644 --- a/components/node/src/features/can_be_opened/index.js +++ b/components/node/src/features/can_be_opened/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a closed Node with an onOpen handler is rendered', () => { cy.visitStory('Node', 'Closed with onOpen') diff --git a/components/notice-box/src/features/accepts_children/index.js b/components/notice-box/src/features/accepts_children/index.js index b8b66a54d7..f8144d0bbf 100644 --- a/components/notice-box/src/features/accepts_children/index.js +++ b/components/notice-box/src/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a NoticeBox receives a message as children', () => { cy.visitStory('NoticeBox', 'With children') diff --git a/components/notice-box/src/features/accepts_title/index.js b/components/notice-box/src/features/accepts_title/index.js index ed4e164256..29e875545b 100644 --- a/components/notice-box/src/features/accepts_title/index.js +++ b/components/notice-box/src/features/accepts_title/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a NoticeBox receives a title prop', () => { cy.visitStory('NoticeBox', 'With title') diff --git a/components/organisation-unit-tree/src/__e2e__/common.js b/components/organisation-unit-tree/src/__e2e__/common.js index 3be4c36ef4..26999e7e06 100644 --- a/components/organisation-unit-tree/src/__e2e__/common.js +++ b/components/organisation-unit-tree/src/__e2e__/common.js @@ -2,132 +2,14 @@ import { CustomDataProvider } from '@dhis2/app-runtime' import PropTypes from 'prop-types' import React, { useState } from 'react' +import { getOrganisationUnitData } from './get-organisation-unit-data.js' -export const namespace = 'OrganisationUnitTree' +export { getOrganisationUnitData } from './get-organisation-unit-data.js' +export { namespace } from './namespace.js' export const delayResponse = (delay, response) => () => new Promise((resolve) => setTimeout(() => resolve(response), delay)) -const createResponse = ({ fields, id, path, displayName, children }) => ({ - ...(fields.includes('id') ? { id } : {}), - ...(fields.includes('path') ? { path } : {}), - ...(fields.includes('displayName') ? { displayName } : {}), - ...(fields.includes('children::size') ? { children: children.length } : {}), - ...(fields.includes('children[id,path,displayName]') ? { children } : {}), -}) - -export const getOrganisationUnitData = (id, { fields }) => { - let data - - if (id === 'A0000000000') { - data = createResponse({ - fields, - id: 'A0000000000', - path: '/A0000000000', - displayName: 'Org Unit 1', - children: [ - { - id: 'A0000000001', - path: '/A0000000000/A0000000001', - displayName: 'Org Unit 2', - }, - { - id: 'A0000000002', - path: '/A0000000000/A0000000002', - displayName: 'Org Unit 3', - }, - { - id: 'A0000000006', - path: '/A0000000000/A0000000006', - displayName: 'Org Unit 7', - }, - ], - }) - } - - if (id === 'A0000000001') { - data = createResponse({ - fields, - id: 'A0000000001', - path: '/A0000000000/A0000000001', - displayName: 'Org Unit 2', - children: [ - { - id: 'A0000000003', - path: '/A0000000000/A0000000001/A0000000003', - children: [], - displayName: 'Org Unit 4', - }, - { - id: 'A0000000004', - path: '/A0000000000/A0000000001/A0000000004', - children: [], - displayName: 'Org Unit 5', - }, - ], - }) - } - - if (id === 'A0000000002') { - data = createResponse({ - fields, - displayName: 'Org Unit 3', - id: 'A0000000002', - path: '/A0000000000/A0000000002', - children: [], - }) - } - - if (id === 'A0000000003') { - data = createResponse({ - fields, - displayName: 'Org Unit 4', - id: 'A0000000003', - path: '/A0000000000/A0000000001/A0000000003', - children: [ - { - id: 'A0000000007', - path: '/A0000000000/A0000000001/A0000000003/A0000000007', - children: [], - displayName: 'Org Unit 8', - }, - ], - }) - } - - if (id === 'A0000000004') { - data = createResponse({ - fields, - displayName: 'Org Unit 5', - id: 'A0000000004', - path: '/A0000000000/A0000000001/A0000000004', - children: [], - }) - } - - if (id === 'A0000000006') { - data = createResponse({ - fields, - displayName: 'Org Unit 7', - id: 'A0000000006', - path: '/A0000000000/A0000000006', - children: [], - }) - } - - if (id === 'A0000000007') { - data = createResponse({ - fields, - displayName: 'Org Unit 8', - id: 'A0000000007', - path: '/A0000000000/A0000000001/A0000000003/A0000000007', - children: [], - }) - } - - return data -} - export const dataProviderData = { organisationUnits: (_, { id, params = {} }) => { console.log('id, params', id, params) diff --git a/components/organisation-unit-tree/src/__e2e__/get-organisation-unit-data.js b/components/organisation-unit-tree/src/__e2e__/get-organisation-unit-data.js new file mode 100644 index 0000000000..6c07473f8c --- /dev/null +++ b/components/organisation-unit-tree/src/__e2e__/get-organisation-unit-data.js @@ -0,0 +1,119 @@ +const createResponse = ({ fields, id, path, displayName, children }) => ({ + ...(fields.includes('id') ? { id } : {}), + ...(fields.includes('path') ? { path } : {}), + ...(fields.includes('displayName') ? { displayName } : {}), + ...(fields.includes('children::size') ? { children: children.length } : {}), + ...(fields.includes('children[id,path,displayName]') ? { children } : {}), +}) + +export const getOrganisationUnitData = (id, { fields }) => { + let data + + if (id === 'A0000000000') { + data = createResponse({ + fields, + id: 'A0000000000', + path: '/A0000000000', + displayName: 'Org Unit 1', + children: [ + { + id: 'A0000000001', + path: '/A0000000000/A0000000001', + displayName: 'Org Unit 2', + }, + { + id: 'A0000000002', + path: '/A0000000000/A0000000002', + displayName: 'Org Unit 3', + }, + { + id: 'A0000000006', + path: '/A0000000000/A0000000006', + displayName: 'Org Unit 7', + }, + ], + }) + } + + if (id === 'A0000000001') { + data = createResponse({ + fields, + id: 'A0000000001', + path: '/A0000000000/A0000000001', + displayName: 'Org Unit 2', + children: [ + { + id: 'A0000000003', + path: '/A0000000000/A0000000001/A0000000003', + children: [], + displayName: 'Org Unit 4', + }, + { + id: 'A0000000004', + path: '/A0000000000/A0000000001/A0000000004', + children: [], + displayName: 'Org Unit 5', + }, + ], + }) + } + + if (id === 'A0000000002') { + data = createResponse({ + fields, + displayName: 'Org Unit 3', + id: 'A0000000002', + path: '/A0000000000/A0000000002', + children: [], + }) + } + + if (id === 'A0000000003') { + data = createResponse({ + fields, + displayName: 'Org Unit 4', + id: 'A0000000003', + path: '/A0000000000/A0000000001/A0000000003', + children: [ + { + id: 'A0000000007', + path: '/A0000000000/A0000000001/A0000000003/A0000000007', + children: [], + displayName: 'Org Unit 8', + }, + ], + }) + } + + if (id === 'A0000000004') { + data = createResponse({ + fields, + displayName: 'Org Unit 5', + id: 'A0000000004', + path: '/A0000000000/A0000000001/A0000000004', + children: [], + }) + } + + if (id === 'A0000000006') { + data = createResponse({ + fields, + displayName: 'Org Unit 7', + id: 'A0000000006', + path: '/A0000000000/A0000000006', + children: [], + }) + } + + if (id === 'A0000000007') { + data = createResponse({ + fields, + displayName: 'Org Unit 8', + id: 'A0000000007', + path: '/A0000000000/A0000000001/A0000000003/A0000000007', + children: [], + }) + } + + return data +} diff --git a/components/organisation-unit-tree/src/__e2e__/namespace.js b/components/organisation-unit-tree/src/__e2e__/namespace.js new file mode 100644 index 0000000000..4cf2f3ceb2 --- /dev/null +++ b/components/organisation-unit-tree/src/__e2e__/namespace.js @@ -0,0 +1 @@ +export const namespace = 'OrganisationUnitTree' diff --git a/components/organisation-unit-tree/src/features/children_as_child_nodes/index.js b/components/organisation-unit-tree/src/features/children_as_child_nodes/index.js index 7b99b3b5d8..f012b33a48 100644 --- a/components/organisation-unit-tree/src/features/children_as_child_nodes/index.js +++ b/components/organisation-unit-tree/src/features/children_as_child_nodes/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an OrganisationUnitTree with children is rendered', () => { cy.visitStory('OrganisationUnitTree', 'Closed with children') diff --git a/components/organisation-unit-tree/src/features/controlled_expanded/index.js b/components/organisation-unit-tree/src/features/controlled_expanded/index.js index 216cff0e50..2c23d55baa 100644 --- a/components/organisation-unit-tree/src/features/controlled_expanded/index.js +++ b/components/organisation-unit-tree/src/features/controlled_expanded/index.js @@ -1,5 +1,6 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' -import { getOrganisationUnitData, namespace } from '../../__e2e__/common.js' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' +import { getOrganisationUnitData } from '../../__e2e__/get-organisation-unit-data.js' +import { namespace } from '../../__e2e__/namespace.js' const expectOrgUnitsToBeDisplayed = (ids) => { const expandedLabels = ids.map( diff --git a/components/organisation-unit-tree/src/features/displaying_loading_error/index.js b/components/organisation-unit-tree/src/features/displaying_loading_error/index.js index 07d32bc827..5a24eb91f7 100644 --- a/components/organisation-unit-tree/src/features/displaying_loading_error/index.js +++ b/components/organisation-unit-tree/src/features/displaying_loading_error/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given( "loading errors do not display automatically and loading A0000000001's children will fail", diff --git a/components/organisation-unit-tree/src/features/expanded/index.js b/components/organisation-unit-tree/src/features/expanded/index.js index 28602635ca..7edf4bddc8 100644 --- a/components/organisation-unit-tree/src/features/expanded/index.js +++ b/components/organisation-unit-tree/src/features/expanded/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' const getRootOrgUnitByLabel = (label) => { const rootOrgUnitLabelSelector = ` diff --git a/components/organisation-unit-tree/src/features/force_reload/index.js b/components/organisation-unit-tree/src/features/force_reload/index.js index fb82296363..339529de16 100644 --- a/components/organisation-unit-tree/src/features/force_reload/index.js +++ b/components/organisation-unit-tree/src/features/force_reload/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a OrganisationUnitTree with three levels is rendered', () => { cy.visitStory('OrganisationUnitTree', 'Force reloading') diff --git a/components/organisation-unit-tree/src/features/highlight/index.js b/components/organisation-unit-tree/src/features/highlight/index.js index 80de5f526f..caab672c7c 100644 --- a/components/organisation-unit-tree/src/features/highlight/index.js +++ b/components/organisation-unit-tree/src/features/highlight/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a OrganisationUnitTree with a highlighted root unit is rendered', () => { cy.visitStory('OrganisationUnitTree', 'Root highlighted') diff --git a/components/organisation-unit-tree/src/features/loading_state/index.js b/components/organisation-unit-tree/src/features/loading_state/index.js index 0109b92e8e..cc9cf2e370 100644 --- a/components/organisation-unit-tree/src/features/loading_state/index.js +++ b/components/organisation-unit-tree/src/features/loading_state/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a OrganisationUnitTree with two levels is rendered', () => { cy.visitStory('OrganisationUnitTree', 'A0000000001 loading') diff --git a/components/organisation-unit-tree/src/features/multi_selection/index.js b/components/organisation-unit-tree/src/features/multi_selection/index.js index 7658b47a95..7452483556 100644 --- a/components/organisation-unit-tree/src/features/multi_selection/index.js +++ b/components/organisation-unit-tree/src/features/multi_selection/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an OrganisationUnitTree with two levels is rendered', () => { cy.visitStory('OrganisationUnitTree', 'Multiple selection') diff --git a/components/organisation-unit-tree/src/features/no_selection/index.js b/components/organisation-unit-tree/src/features/no_selection/index.js index 8db30d78a5..fb1d8c27cd 100644 --- a/components/organisation-unit-tree/src/features/no_selection/index.js +++ b/components/organisation-unit-tree/src/features/no_selection/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given( 'a disabled, collapsed OrganisationUnitTree with two levels is rendered', diff --git a/components/organisation-unit-tree/src/features/path_based_filtering/index.js b/components/organisation-unit-tree/src/features/path_based_filtering/index.js index 4d8e1989ce..ff0f2a673a 100644 --- a/components/organisation-unit-tree/src/features/path_based_filtering/index.js +++ b/components/organisation-unit-tree/src/features/path_based_filtering/index.js @@ -1,4 +1,4 @@ -import { Before, Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Before, Given, Then } from '@badeball/cypress-cucumber-preprocessor' Before(() => { cy.wrap([]).as('displayedUnits') @@ -79,7 +79,7 @@ Then('the second node on the first level is visible', () => { addDisplayedUnit('A0000000002') }) -Then('all other nodes are not rendered', async () => { +Then('all other nodes are not rendered', () => { cy.get('@displayedUnits').then((displayedUnits) => { cy.window().then((win) => { const excludedUnitNumbers = win.allUnits diff --git a/components/organisation-unit-tree/src/features/single_selection.feature b/components/organisation-unit-tree/src/features/single_selection.feature index 7ac22752cd..7d398976d7 100644 --- a/components/organisation-unit-tree/src/features/single_selection.feature +++ b/components/organisation-unit-tree/src/features/single_selection.feature @@ -2,7 +2,7 @@ Feature: When specified only one unit can be selected Scenario: The user selects a unit when no other unit is selected Given an OrganisationUnitTree with two nodes is rendered - And no unit is selected + And no unit has been selected When the user selects the first unit Then the first unit is selected diff --git a/components/organisation-unit-tree/src/features/single_selection/index.js b/components/organisation-unit-tree/src/features/single_selection/index.js index 06f050b454..4c997a86f1 100644 --- a/components/organisation-unit-tree/src/features/single_selection/index.js +++ b/components/organisation-unit-tree/src/features/single_selection/index.js @@ -1,10 +1,10 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an OrganisationUnitTree with two nodes is rendered', () => { cy.visitStory('OrganisationUnitTree', 'Single selection') }) -Given('no unit is selected', () => { +Given('no unit has been selected', () => { cy.get('.checked').should('not.exist') }) @@ -37,11 +37,5 @@ Then('the second unit is selected', () => { }) Then('no unit is selected', () => { - cy.get('[data-test="dhis2-uiwidgets-orgunittree-node"]').should( - ($nodes) => { - $nodes.each((index, node) => { - cy.wrap(Cypress.$(node)).shouldNotBeASelectedOrgUnitNode() - }) - } - ) + cy.get('.checked').should('not.exist') }) diff --git a/components/organisation-unit-tree/src/features/sub_unit_as_root/index.js b/components/organisation-unit-tree/src/features/sub_unit_as_root/index.js index 7ae3b619ac..e821ef2164 100644 --- a/components/organisation-unit-tree/src/features/sub_unit_as_root/index.js +++ b/components/organisation-unit-tree/src/features/sub_unit_as_root/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' const rootOrgUnitLabelSelector = ` [data-test="dhis2-uiwidgets-orgunittree"] @@ -22,13 +22,6 @@ Given('both a sub org unit and a main org unit are root org units', () => { ) }) -Given('both a sub org unit and a main org unit are root org units', () => { - cy.visitStory( - 'OrganisationUnitTree', - 'multiple root sub and one main org unit' - ) -}) - Given('multiple sub org units is a root org unit', () => { cy.visitStory( 'OrganisationUnitTree', @@ -43,13 +36,6 @@ Given('the root sub org unit is a child of the root main org unit', () => { ) }) -Given('the root sub org unit is a child of the root main org unit', () => { - cy.visitStory( - 'OrganisationUnitTree', - 'multiple root sub and one main org unit' - ) -}) - Given('the user provided one root sub org unit to the filter', () => { cy.get('input[type="input"]').clear().type('/A0000000001') }) diff --git a/components/organisation-unit-tree/src/features/tree_api/index.js b/components/organisation-unit-tree/src/features/tree_api/index.js index 836bc0eb31..7968ca11e3 100644 --- a/components/organisation-unit-tree/src/features/tree_api/index.js +++ b/components/organisation-unit-tree/src/features/tree_api/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' const expectStubPayloadToEqual = (stub, prop, expected) => { const calls = stub.getCalls() diff --git a/components/popover/src/features/arrow_position/index.js b/components/popover/src/features/arrow_position/index.js index fe8a281b45..b13215b92c 100644 --- a/components/popover/src/features/arrow_position/index.js +++ b/components/popover/src/features/arrow_position/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Popover is rendered with placement top', () => { cy.visitStory('Popover', 'Placement Top') diff --git a/components/popover/src/features/clicking_outside/index.js b/components/popover/src/features/clicking_outside/index.js index f31c6971ae..daec1e255b 100644 --- a/components/popover/src/features/clicking_outside/index.js +++ b/components/popover/src/features/clicking_outside/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a default Popper is rendered with arrow set to true', () => { cy.visitStory('Popover', 'Default') diff --git a/components/popover/src/features/conditional_arrow/index.js b/components/popover/src/features/conditional_arrow/index.js index 11815de0c0..8c06e6f487 100644 --- a/components/popover/src/features/conditional_arrow/index.js +++ b/components/popover/src/features/conditional_arrow/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a default Popper is rendered with arrow set to true', () => { cy.visitStory('Popover', 'Default') diff --git a/components/popover/src/features/position/index.js b/components/popover/src/features/position/index.js index aa64c4140b..0c345b16db 100644 --- a/components/popover/src/features/position/index.js +++ b/components/popover/src/features/position/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' const CLOSE_TO_DELTA = 1 diff --git a/components/popper/src/features/accepts_different_reference_types/index.js b/components/popper/src/features/accepts_different_reference_types/index.js index 471fd00db6..ca7698b2c0 100644 --- a/components/popper/src/features/accepts_different_reference_types/index.js +++ b/components/popper/src/features/accepts_different_reference_types/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given( 'a Popper with placement bottom-start has a React Ref as its reference', () => { diff --git a/components/popper/src/features/positions/index.js b/components/popper/src/features/positions/index.js index 30c198e9a1..f1a95f4469 100644 --- a/components/popper/src/features/positions/index.js +++ b/components/popper/src/features/positions/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' // Visit stories with different placements Given('the Popper is rendered with placement top', () => { diff --git a/components/radio/src/features/accepts_initial_focus/index.js b/components/radio/src/features/accepts_initial_focus/index.js index c8a4a24b1f..7bb07035f3 100644 --- a/components/radio/src/features/accepts_initial_focus/index.js +++ b/components/radio/src/features/accepts_initial_focus/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Radio with initialFocus is rendered', () => { cy.visitStory('Radio', 'With initialFocus') diff --git a/components/radio/src/features/accepts_label/index.js b/components/radio/src/features/accepts_label/index.js index b092f46bc0..c9867e0534 100644 --- a/components/radio/src/features/accepts_label/index.js +++ b/components/radio/src/features/accepts_label/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Radio with a label is rendered', () => { cy.visitStory('Radio', 'With label') diff --git a/components/radio/src/features/can_be_blurred/index.js b/components/radio/src/features/can_be_blurred/index.js index b1719979e1..0536a4cd19 100644 --- a/components/radio/src/features/can_be_blurred/index.js +++ b/components/radio/src/features/can_be_blurred/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Radio with initialFocus and onBlur handler is rendered', () => { cy.visitStory('Radio', 'With initialFocus and onBlur') diff --git a/components/radio/src/features/can_be_changed/index.js b/components/radio/src/features/can_be_changed/index.js index d1fe731ad5..0abadd89a7 100644 --- a/components/radio/src/features/can_be_changed/index.js +++ b/components/radio/src/features/can_be_changed/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Radio with onChange handler is rendered', () => { cy.visitStory('Radio', 'With onChange') diff --git a/components/radio/src/features/can_be_disabled/index.js b/components/radio/src/features/can_be_disabled/index.js index 823b43f8b4..793b1ea7d6 100644 --- a/components/radio/src/features/can_be_disabled/index.js +++ b/components/radio/src/features/can_be_disabled/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a disabled Radio is rendered', () => { cy.visitStory('Radio', 'With disabled') diff --git a/components/radio/src/features/can_be_focused/index.js b/components/radio/src/features/can_be_focused/index.js index 6031495dd5..58d660df90 100644 --- a/components/radio/src/features/can_be_focused/index.js +++ b/components/radio/src/features/can_be_focused/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Radio with onFocus handler is rendered', () => { cy.visitStory('Radio', 'With onFocus') diff --git a/components/select/src/multi-select-field/features/accepts_help_text/index.js b/components/select/src/multi-select-field/features/accepts_help_text/index.js index f2e7ed8fa4..f3ad4c9480 100644 --- a/components/select/src/multi-select-field/features/accepts_help_text/index.js +++ b/components/select/src/multi-select-field/features/accepts_help_text/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelectField with help text is rendered', () => { cy.visitStory('MultiSelectField', 'With help text') diff --git a/components/select/src/multi-select-field/features/accepts_label/index.js b/components/select/src/multi-select-field/features/accepts_label/index.js index b0763dda66..03c88b3825 100644 --- a/components/select/src/multi-select-field/features/accepts_label/index.js +++ b/components/select/src/multi-select-field/features/accepts_label/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelectField with a label is rendered', () => { cy.visitStory('MultiSelectField', 'With label') diff --git a/components/select/src/multi-select-field/features/accepts_validation_text/index.js b/components/select/src/multi-select-field/features/accepts_validation_text/index.js index 350af8fdea..a6476390f7 100644 --- a/components/select/src/multi-select-field/features/accepts_validation_text/index.js +++ b/components/select/src/multi-select-field/features/accepts_validation_text/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelectField with validation text is rendered', () => { cy.visitStory('MultiSelectField', 'With validation text') diff --git a/components/select/src/multi-select-field/features/can_be_required/index.js b/components/select/src/multi-select-field/features/can_be_required/index.js index 3b3b2f7512..ee3c96c069 100644 --- a/components/select/src/multi-select-field/features/can_be_required/index.js +++ b/components/select/src/multi-select-field/features/can_be_required/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelectField with label and a required flag is rendered', () => { cy.visitStory('MultiSelectField', 'With label and required status') diff --git a/components/select/src/multi-select-field/features/has_default_clear_text/index.js b/components/select/src/multi-select-field/features/has_default_clear_text/index.js index 753f25815a..40c63b2847 100644 --- a/components/select/src/multi-select-field/features/has_default_clear_text/index.js +++ b/components/select/src/multi-select-field/features/has_default_clear_text/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a clearable MultiSelectField with selected option is rendered', () => { cy.visitStory('MultiSelectField', 'With clearable and selected option') diff --git a/components/select/src/multi-select-field/features/has_default_empty_text/index.js b/components/select/src/multi-select-field/features/has_default_empty_text/index.js index 6303e807a2..aa7e541c49 100644 --- a/components/select/src/multi-select-field/features/has_default_empty_text/index.js +++ b/components/select/src/multi-select-field/features/has_default_empty_text/index.js @@ -1,4 +1,4 @@ -import { Given, Then, When } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then, When } from '@badeball/cypress-cucumber-preprocessor' Given('an empty MultiSelectField is rendered', () => { cy.visitStory('MultiSelectField', 'Without options') diff --git a/components/select/src/multi-select-field/features/has_default_filter_nomatch_text/index.js b/components/select/src/multi-select-field/features/has_default_filter_nomatch_text/index.js index b1bfcef13b..06b483de54 100644 --- a/components/select/src/multi-select-field/features/has_default_filter_nomatch_text/index.js +++ b/components/select/src/multi-select-field/features/has_default_filter_nomatch_text/index.js @@ -1,4 +1,4 @@ -import { Given, Then, When } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then, When } from '@badeball/cypress-cucumber-preprocessor' Given('a filterable MultiSelectField is rendered', () => { cy.visitStory('MultiSelectField', 'With filterable') diff --git a/components/select/src/multi-select-field/features/has_default_filter_placeholder/index.js b/components/select/src/multi-select-field/features/has_default_filter_placeholder/index.js index 2fd35fba80..6106a7d2f5 100644 --- a/components/select/src/multi-select-field/features/has_default_filter_placeholder/index.js +++ b/components/select/src/multi-select-field/features/has_default_filter_placeholder/index.js @@ -1,4 +1,4 @@ -import { Given, Then, When } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then, When } from '@badeball/cypress-cucumber-preprocessor' Given('a filterable MultiSelectField is rendered', () => { cy.visitStory('MultiSelectField', 'With filterable') diff --git a/components/select/src/multi-select-field/features/has_default_loading_text/index.js b/components/select/src/multi-select-field/features/has_default_loading_text/index.js index 79b32c0db6..5112476ffb 100644 --- a/components/select/src/multi-select-field/features/has_default_loading_text/index.js +++ b/components/select/src/multi-select-field/features/has_default_loading_text/index.js @@ -1,4 +1,4 @@ -import { Given, Then, When } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then, When } from '@badeball/cypress-cucumber-preprocessor' Given('a loading MultiSelectField is rendered', () => { cy.visitStory('MultiSelectField', 'With loading') diff --git a/components/select/src/multi-select/features/accepts_blur_cb/index.js b/components/select/src/multi-select/features/accepts_blur_cb/index.js index 9b942d45a9..f149cf2c8b 100644 --- a/components/select/src/multi-select/features/accepts_blur_cb/index.js +++ b/components/select/src/multi-select/features/accepts_blur_cb/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with onBlur handler is rendered', () => { cy.visitStory('MultiSelect', 'With onBlur') diff --git a/components/select/src/multi-select/features/accepts_focus_cb/index.js b/components/select/src/multi-select/features/accepts_focus_cb/index.js index fa6fbde8ee..a22367928b 100644 --- a/components/select/src/multi-select/features/accepts_focus_cb/index.js +++ b/components/select/src/multi-select/features/accepts_focus_cb/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with onFocus handler is rendered', () => { cy.visitStory('MultiSelect', 'With onFocus') diff --git a/components/select/src/multi-select/features/accepts_initial_focus/index.js b/components/select/src/multi-select/features/accepts_initial_focus/index.js index 8b5178aa6e..c0e15f5fff 100644 --- a/components/select/src/multi-select/features/accepts_initial_focus/index.js +++ b/components/select/src/multi-select/features/accepts_initial_focus/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with initial focus is rendered', () => { cy.visitStory('MultiSelect', 'With initialFocus') diff --git a/components/select/src/multi-select/features/accepts_loading/index.js b/components/select/src/multi-select/features/accepts_loading/index.js index 73defa9464..93092ca8c2 100644 --- a/components/select/src/multi-select/features/accepts_loading/index.js +++ b/components/select/src/multi-select/features/accepts_loading/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with options and a loading flag is rendered', () => { cy.visitStory('MultiSelect', 'With options and loading') diff --git a/components/select/src/multi-select/features/accepts_max_height/index.js b/components/select/src/multi-select/features/accepts_max_height/index.js index a57b61b231..f046ee2aae 100644 --- a/components/select/src/multi-select/features/accepts_max_height/index.js +++ b/components/select/src/multi-select/features/accepts_max_height/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with more than ten options is rendered', () => { cy.visitStory('MultiSelect', 'With more than ten options') @@ -15,10 +15,6 @@ Given( } ) -Given('the MultiSelect is open', () => { - cy.get('[data-test="dhis2-uicore-select"]').click() -}) - Then('has the default max-height', () => { cy.get('[data-test="dhis2-uicore-select-menu-menuwrapper"]').should( 'have.css', diff --git a/components/select/src/multi-select/features/accepts_placeholder/index.js b/components/select/src/multi-select/features/accepts_placeholder/index.js index cdba084953..683504a3f3 100644 --- a/components/select/src/multi-select/features/accepts_placeholder/index.js +++ b/components/select/src/multi-select/features/accepts_placeholder/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with a placeholder and no selection is rendered', () => { cy.visitStory('MultiSelect', 'With placeholder') diff --git a/components/select/src/multi-select/features/accepts_prefix/index.js b/components/select/src/multi-select/features/accepts_prefix/index.js index 72f99c88ca..98b165cf88 100644 --- a/components/select/src/multi-select/features/accepts_prefix/index.js +++ b/components/select/src/multi-select/features/accepts_prefix/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with a prefix and no selection is rendered', () => { cy.visitStory('MultiSelect', 'With prefix') diff --git a/components/select/src/multi-select/features/allows_invalid_options/index.js b/components/select/src/multi-select/features/allows_invalid_options/index.js index 74a58414af..17f7bc5927 100644 --- a/components/select/src/multi-select/features/allows_invalid_options/index.js +++ b/components/select/src/multi-select/features/allows_invalid_options/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with invalid options is rendered', () => { cy.visitStory('MultiSelect', 'With invalid options') diff --git a/components/select/src/multi-select/features/allows_selecting/index.js b/components/select/src/multi-select/features/allows_selecting/index.js index ced94f8b50..1a3d50a1a2 100644 --- a/components/select/src/multi-select/features/allows_selecting/index.js +++ b/components/select/src/multi-select/features/allows_selecting/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given( 'a MultiSelect with a disabled option and onChange handler is rendered', @@ -20,7 +20,7 @@ When('an option is clicked', () => { }) When('the selected option is clicked', () => { - cy.get('[data-test="dhis2-uicore-layer"]').contains('option one').click() + cy.get('[data-test="dhis2-uicore-multiselectoption"]:contains("option one")').click() }) When('another option is clicked', () => { @@ -36,9 +36,7 @@ When('the disabled option is clicked', () => { }) When('the selected option is clicked again', () => { - cy.get('[data-test="dhis2-uicore-multiselectoption"] label') - .contains('option one') - .click() + cy.get('[data-test="dhis2-uicore-multiselectoption"]:contains("option one")').click() }) Then('the clicked option is selected', () => { diff --git a/components/select/src/multi-select/features/can_be_cleared/index.js b/components/select/src/multi-select/features/can_be_cleared/index.js index ffb2874201..8f3f11a5f5 100644 --- a/components/select/src/multi-select/features/can_be_cleared/index.js +++ b/components/select/src/multi-select/features/can_be_cleared/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given( 'a clearable MultiSelect with a selection and onchange handler is rendered', diff --git a/components/select/src/multi-select/features/can_be_disabled/index.js b/components/select/src/multi-select/features/can_be_disabled/index.js index 4ef375f131..b3f6d43f50 100644 --- a/components/select/src/multi-select/features/can_be_disabled/index.js +++ b/components/select/src/multi-select/features/can_be_disabled/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a disabled MultiSelect with options is rendered', () => { cy.visitStory('MultiSelect', 'With options and disabled') @@ -20,10 +20,6 @@ Given('the MultiSelect is focused', () => { cy.focused().should('have.attr', 'data-test', 'dhis2-uicore-select-input') }) -When('the MultiSelect input is clicked', () => { - cy.get('[data-test="dhis2-uicore-select-input"]').click() -}) - When('the down arrowkey is pressed on the focused element', () => { cy.focused().type('{downarrow}') }) diff --git a/components/select/src/multi-select/features/can_be_empty/index.js b/components/select/src/multi-select/features/can_be_empty/index.js index 2594c4db25..1585a74aa7 100644 --- a/components/select/src/multi-select/features/can_be_empty/index.js +++ b/components/select/src/multi-select/features/can_be_empty/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an empty MultiSelect is rendered', () => { cy.visitStory('MultiSelect', 'Empty') diff --git a/components/select/src/multi-select/features/can_be_filtered/index.js b/components/select/src/multi-select/features/can_be_filtered/index.js index 393bdf5ad3..a08f6bcb02 100644 --- a/components/select/src/multi-select/features/can_be_filtered/index.js +++ b/components/select/src/multi-select/features/can_be_filtered/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a filterable MultiSelect with options is rendered', () => { cy.visitStory('MultiSelect', 'With filter field') diff --git a/components/select/src/multi-select/features/can_be_opened_and_closed/index.js b/components/select/src/multi-select/features/can_be_opened_and_closed/index.js index 6fa1cf5cb1..cf735ac02f 100644 --- a/components/select/src/multi-select/features/can_be_opened_and_closed/index.js +++ b/components/select/src/multi-select/features/can_be_opened_and_closed/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with options is rendered', () => { cy.visitStory('MultiSelect', 'With options') diff --git a/components/select/src/multi-select/features/common/index.js b/components/select/src/multi-select/features/common/index.js index 955e974070..8206ab881c 100644 --- a/components/select/src/multi-select/features/common/index.js +++ b/components/select/src/multi-select/features/common/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with options and onChange handler is rendered', () => { cy.visitStory('MultiSelect', 'With options and onChange') diff --git a/components/select/src/multi-select/features/duplicate_option_values/index.js b/components/select/src/multi-select/features/duplicate_option_values/index.js index b536c1db57..f2f800e0f5 100644 --- a/components/select/src/multi-select/features/duplicate_option_values/index.js +++ b/components/select/src/multi-select/features/duplicate_option_values/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given( 'a MultiSelect with options with a duplicate value and this value is selected', diff --git a/components/select/src/multi-select/features/menu_width_matches_input/index.js b/components/select/src/multi-select/features/menu_width_matches_input/index.js index 0a00bc106b..7e95bd87be 100644 --- a/components/select/src/multi-select/features/menu_width_matches_input/index.js +++ b/components/select/src/multi-select/features/menu_width_matches_input/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with hidden sibling elements', () => { cy.visitStory('MultiSelect', 'Menu width changing') diff --git a/components/select/src/multi-select/features/position/index.js b/components/select/src/multi-select/features/position/index.js index 2ff9e02951..16f1425527 100644 --- a/components/select/src/multi-select/features/position/index.js +++ b/components/select/src/multi-select/features/position/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then, When } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then, When } from '@badeball/cypress-cucumber-preprocessor' Given( 'there is enough space below the anchor to fit the MultiSelect menu', diff --git a/components/select/src/multi-select/features/shows_selections/index.js b/components/select/src/multi-select/features/shows_selections/index.js index 43f5c9054f..c97cf0971c 100644 --- a/components/select/src/multi-select/features/shows_selections/index.js +++ b/components/select/src/multi-select/features/shows_selections/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with options and a selection is rendered', () => { cy.visitStory('MultiSelect', 'With options and a selection') diff --git a/components/select/src/single-select-field/features/accepts_help_text/index.js b/components/select/src/single-select-field/features/accepts_help_text/index.js index 3c35742730..adca542fc6 100644 --- a/components/select/src/single-select-field/features/accepts_help_text/index.js +++ b/components/select/src/single-select-field/features/accepts_help_text/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelectField with help text is rendered', () => { cy.visitStory('SingleSelectField', 'With help text') diff --git a/components/select/src/single-select-field/features/accepts_label/index.js b/components/select/src/single-select-field/features/accepts_label/index.js index 572734c174..85d8b57aa6 100644 --- a/components/select/src/single-select-field/features/accepts_label/index.js +++ b/components/select/src/single-select-field/features/accepts_label/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelectField with a label is rendered', () => { cy.visitStory('SingleSelectField', 'With label') diff --git a/components/select/src/single-select-field/features/accepts_validation_text/index.js b/components/select/src/single-select-field/features/accepts_validation_text/index.js index 2a364efa56..a3276fc1f6 100644 --- a/components/select/src/single-select-field/features/accepts_validation_text/index.js +++ b/components/select/src/single-select-field/features/accepts_validation_text/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelectField with validation text is rendered', () => { cy.visitStory('SingleSelectField', 'With validation text') diff --git a/components/select/src/single-select-field/features/can_be_required/index.js b/components/select/src/single-select-field/features/can_be_required/index.js index 9a2ae065cb..42c446f53d 100644 --- a/components/select/src/single-select-field/features/can_be_required/index.js +++ b/components/select/src/single-select-field/features/can_be_required/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelectField with label and a required flag is rendered', () => { cy.visitStory('SingleSelectField', 'With label and required status') diff --git a/components/select/src/single-select-field/features/has_default_clear_text/index.js b/components/select/src/single-select-field/features/has_default_clear_text/index.js index 52fe0661a1..0c114e2f86 100644 --- a/components/select/src/single-select-field/features/has_default_clear_text/index.js +++ b/components/select/src/single-select-field/features/has_default_clear_text/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a clearable SingleSelectField with selected option is rendered', () => { cy.visitStory('SingleSelectField', 'With clearable and selected option') diff --git a/components/select/src/single-select-field/features/has_default_empty_text/index.js b/components/select/src/single-select-field/features/has_default_empty_text/index.js index 1b56e9da9d..4bee7543c4 100644 --- a/components/select/src/single-select-field/features/has_default_empty_text/index.js +++ b/components/select/src/single-select-field/features/has_default_empty_text/index.js @@ -1,4 +1,4 @@ -import { Given, Then, When } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then, When } from '@badeball/cypress-cucumber-preprocessor' Given('an empty SingleSelectField is rendered', () => { cy.visitStory('SingleSelectField', 'Without options') diff --git a/components/select/src/single-select-field/features/has_default_filter_nomatch_text/index.js b/components/select/src/single-select-field/features/has_default_filter_nomatch_text/index.js index 177205040e..5dd6a50583 100644 --- a/components/select/src/single-select-field/features/has_default_filter_nomatch_text/index.js +++ b/components/select/src/single-select-field/features/has_default_filter_nomatch_text/index.js @@ -1,4 +1,4 @@ -import { Given, Then, When } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then, When } from '@badeball/cypress-cucumber-preprocessor' Given('a filterable SingleSelectField is rendered', () => { cy.visitStory('SingleSelectField', 'With filterable') diff --git a/components/select/src/single-select-field/features/has_default_filter_placeholder/index.js b/components/select/src/single-select-field/features/has_default_filter_placeholder/index.js index b843348fa3..bfee427db9 100644 --- a/components/select/src/single-select-field/features/has_default_filter_placeholder/index.js +++ b/components/select/src/single-select-field/features/has_default_filter_placeholder/index.js @@ -1,4 +1,4 @@ -import { Given, Then, When } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then, When } from '@badeball/cypress-cucumber-preprocessor' Given('a filterable SingleSelectField is rendered', () => { cy.visitStory('SingleSelectField', 'With filterable') diff --git a/components/select/src/single-select-field/features/has_default_loading_text/index.js b/components/select/src/single-select-field/features/has_default_loading_text/index.js index faef236e2c..f4f6e31f3a 100644 --- a/components/select/src/single-select-field/features/has_default_loading_text/index.js +++ b/components/select/src/single-select-field/features/has_default_loading_text/index.js @@ -1,4 +1,4 @@ -import { Given, Then, When } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then, When } from '@badeball/cypress-cucumber-preprocessor' Given('a loading SingleSelectField is rendered', () => { cy.visitStory('SingleSelectField', 'With loading') diff --git a/components/select/src/single-select/features/accepts_blur_cb/index.js b/components/select/src/single-select/features/accepts_blur_cb/index.js index b6d201ec0a..7eae77d87f 100644 --- a/components/select/src/single-select/features/accepts_blur_cb/index.js +++ b/components/select/src/single-select/features/accepts_blur_cb/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with onBlur handler is rendered', () => { cy.visitStory('SingleSelect', 'With onBlur') diff --git a/components/select/src/single-select/features/accepts_focus_cb/index.js b/components/select/src/single-select/features/accepts_focus_cb/index.js index 2cdfd07df8..1f4aef1717 100644 --- a/components/select/src/single-select/features/accepts_focus_cb/index.js +++ b/components/select/src/single-select/features/accepts_focus_cb/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with onFocus handler is rendered', () => { cy.visitStory('SingleSelect', 'With onFocus') diff --git a/components/select/src/single-select/features/accepts_initial_focus/index.js b/components/select/src/single-select/features/accepts_initial_focus/index.js index 572a2aed7b..991c1e9f98 100644 --- a/components/select/src/single-select/features/accepts_initial_focus/index.js +++ b/components/select/src/single-select/features/accepts_initial_focus/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with initial focus is rendered', () => { cy.visitStory('SingleSelect', 'With initialFocus') diff --git a/components/select/src/single-select/features/accepts_loading/index.js b/components/select/src/single-select/features/accepts_loading/index.js index 04f024371a..2bfa90d81b 100644 --- a/components/select/src/single-select/features/accepts_loading/index.js +++ b/components/select/src/single-select/features/accepts_loading/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with options and a loading flag is rendered', () => { cy.visitStory('SingleSelect', 'With options and loading') diff --git a/components/select/src/single-select/features/accepts_max_height/index.js b/components/select/src/single-select/features/accepts_max_height/index.js index 346d5c8e22..2bae1f27e4 100644 --- a/components/select/src/single-select/features/accepts_max_height/index.js +++ b/components/select/src/single-select/features/accepts_max_height/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with more than ten options is rendered', () => { cy.visitStory('SingleSelect', 'With more than ten options') @@ -15,10 +15,6 @@ Given( } ) -Given('the SingleSelect is open', () => { - cy.get('[data-test="dhis2-uicore-select"]').click() -}) - Then('has the default max-height', () => { cy.get('[data-test="dhis2-uicore-select-menu-menuwrapper"]').should( 'have.css', diff --git a/components/select/src/single-select/features/accepts_placeholder/index.js b/components/select/src/single-select/features/accepts_placeholder/index.js index 52fa482ec4..eb63d4b8d2 100644 --- a/components/select/src/single-select/features/accepts_placeholder/index.js +++ b/components/select/src/single-select/features/accepts_placeholder/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with a placeholder and no selection is rendered', () => { cy.visitStory('SingleSelect', 'With placeholder') diff --git a/components/select/src/single-select/features/accepts_prefix/index.js b/components/select/src/single-select/features/accepts_prefix/index.js index f7e23c1a30..839a8e04a4 100644 --- a/components/select/src/single-select/features/accepts_prefix/index.js +++ b/components/select/src/single-select/features/accepts_prefix/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with a prefix and no selection is rendered', () => { cy.visitStory('SingleSelect', 'With prefix') diff --git a/components/select/src/single-select/features/allows_invalid_options/index.js b/components/select/src/single-select/features/allows_invalid_options/index.js index a621aa9013..0520a1c135 100644 --- a/components/select/src/single-select/features/allows_invalid_options/index.js +++ b/components/select/src/single-select/features/allows_invalid_options/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with invalid options is rendered', () => { cy.visitStory('SingleSelect', 'With invalid options') diff --git a/components/select/src/single-select/features/allows_selecting/index.js b/components/select/src/single-select/features/allows_selecting/index.js index bd22c26f0d..0c84127991 100644 --- a/components/select/src/single-select/features/allows_selecting/index.js +++ b/components/select/src/single-select/features/allows_selecting/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given( 'a SingleSelect with a disabled option and onChange handler is rendered', diff --git a/components/select/src/single-select/features/can_be_cleared/index.js b/components/select/src/single-select/features/can_be_cleared/index.js index d5324eee4d..5e66818af3 100644 --- a/components/select/src/single-select/features/can_be_cleared/index.js +++ b/components/select/src/single-select/features/can_be_cleared/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given( 'a clearable SingleSelect with a selection and onchange handler is rendered', diff --git a/components/select/src/single-select/features/can_be_disabled/index.js b/components/select/src/single-select/features/can_be_disabled/index.js index b936b52459..486f3ce2b3 100644 --- a/components/select/src/single-select/features/can_be_disabled/index.js +++ b/components/select/src/single-select/features/can_be_disabled/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a disabled SingleSelect with options is rendered', () => { cy.visitStory('SingleSelect', 'With options and disabled') diff --git a/components/select/src/single-select/features/can_be_empty/index.js b/components/select/src/single-select/features/can_be_empty/index.js index afaba4ac37..b842f9b58f 100644 --- a/components/select/src/single-select/features/can_be_empty/index.js +++ b/components/select/src/single-select/features/can_be_empty/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an empty SingleSelect is rendered', () => { cy.visitStory('SingleSelect', 'Empty') diff --git a/components/select/src/single-select/features/can_be_filtered/index.js b/components/select/src/single-select/features/can_be_filtered/index.js index a7c73b9223..7e678f5ba8 100644 --- a/components/select/src/single-select/features/can_be_filtered/index.js +++ b/components/select/src/single-select/features/can_be_filtered/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a filterable SingleSelect with options is rendered', () => { cy.visitStory('SingleSelect', 'With filter field') diff --git a/components/select/src/single-select/features/can_be_opened_and_closed/index.js b/components/select/src/single-select/features/can_be_opened_and_closed/index.js index a3f78d854d..319037f297 100644 --- a/components/select/src/single-select/features/can_be_opened_and_closed/index.js +++ b/components/select/src/single-select/features/can_be_opened_and_closed/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with options is rendered', () => { cy.visitStory('SingleSelect', 'With options') diff --git a/components/select/src/single-select/features/common/index.js b/components/select/src/single-select/features/common/index.js index 3f4914a6eb..f8f0ed7c7a 100644 --- a/components/select/src/single-select/features/common/index.js +++ b/components/select/src/single-select/features/common/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with options and onChange handler is rendered', () => { cy.visitStory('SingleSelect', 'With options and onChange') diff --git a/components/select/src/single-select/features/duplicate_option_values/index.js b/components/select/src/single-select/features/duplicate_option_values/index.js index 3038a5081f..7e95ecfd93 100644 --- a/components/select/src/single-select/features/duplicate_option_values/index.js +++ b/components/select/src/single-select/features/duplicate_option_values/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given( 'a SingleSelect with options with a duplicate value and this value is selected', @@ -17,11 +17,9 @@ Then( } ) Then('both options are highlighted in the dropdown', () => { - cy.get('[data-test="dhis2-uicore-singleselectoption"]') - .contains('option one') + cy.get('[data-test="dhis2-uicore-singleselectoption"]:contains("option one")') .should('have.class', 'active') - cy.get('[data-test="dhis2-uicore-singleselectoption"]') - .contains('option one a') + cy.get('[data-test="dhis2-uicore-singleselectoption"]:contains("option one a")') .should('have.class', 'active') }) diff --git a/components/select/src/single-select/features/menu_width_matches_input/index.js b/components/select/src/single-select/features/menu_width_matches_input/index.js index 04d524b9ab..e8ea117667 100644 --- a/components/select/src/single-select/features/menu_width_matches_input/index.js +++ b/components/select/src/single-select/features/menu_width_matches_input/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with hidden sibling elements', () => { cy.visitStory('SingleSelect', 'Menu width changing') diff --git a/components/select/src/single-select/features/position/index.js b/components/select/src/single-select/features/position/index.js index c51da5d883..6273ad78d1 100644 --- a/components/select/src/single-select/features/position/index.js +++ b/components/select/src/single-select/features/position/index.js @@ -1,4 +1,4 @@ -import { Given, Then, When } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then, When } from '@badeball/cypress-cucumber-preprocessor' Given( 'there is enough space below the anchor to fit the SingleSelect menu', diff --git a/components/select/src/single-select/features/shows_selections/index.js b/components/select/src/single-select/features/shows_selections/index.js index cca655ec43..33e966f363 100644 --- a/components/select/src/single-select/features/shows_selections/index.js +++ b/components/select/src/single-select/features/shows_selections/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with options and a selection is rendered', () => { cy.visitStory('SingleSelect', 'With options and a selection') diff --git a/components/selector-bar/src/selector-bar-item/features/toggle-children/index.js b/components/selector-bar/src/selector-bar-item/features/toggle-children/index.js index f8e58dfb3a..19bf23adda 100644 --- a/components/selector-bar/src/selector-bar-item/features/toggle-children/index.js +++ b/components/selector-bar/src/selector-bar-item/features/toggle-children/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('the selector bar item is closed', () => { cy.visitStory('SelectorBarItem', 'closed no value') diff --git a/components/sharing-dialog/src/features/access-level-change/index.js b/components/sharing-dialog/src/features/access-level-change/index.js index cbb5c4133e..099ceecc1c 100644 --- a/components/sharing-dialog/src/features/access-level-change/index.js +++ b/components/sharing-dialog/src/features/access-level-change/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' import { allUsersNoAccess, allUsersViewAccess, diff --git a/components/sharing-dialog/src/features/access-level-disable/index.js b/components/sharing-dialog/src/features/access-level-disable/index.js index 66749b2368..f12ab71086 100644 --- a/components/sharing-dialog/src/features/access-level-disable/index.js +++ b/components/sharing-dialog/src/features/access-level-disable/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' import { disabledAccess } from '../fixtures/index.js' Given('a sharing dialog without public access is visible', () => { diff --git a/components/sharing-dialog/src/features/access-level-remove/index.js b/components/sharing-dialog/src/features/access-level-remove/index.js index 770d981134..998224fdba 100644 --- a/components/sharing-dialog/src/features/access-level-remove/index.js +++ b/components/sharing-dialog/src/features/access-level-remove/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' import { userNoAccess, userViewAccess, diff --git a/components/sharing-dialog/src/features/add-entity/index.js b/components/sharing-dialog/src/features/add-entity/index.js index bf6b3d1fdf..b64dbc7d61 100644 --- a/components/sharing-dialog/src/features/add-entity/index.js +++ b/components/sharing-dialog/src/features/add-entity/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' import { noAccess, searchUser, diff --git a/components/sharing-dialog/src/features/dashboard/index.js b/components/sharing-dialog/src/features/dashboard/index.js index 54d8c3306c..4498e14595 100644 --- a/components/sharing-dialog/src/features/dashboard/index.js +++ b/components/sharing-dialog/src/features/dashboard/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' import { dashboards, dashboardSharing } from '../fixtures/index.js' Given('a sharing dialog of the dashboard type is visible', () => { diff --git a/components/sharing-dialog/src/features/title/index.js b/components/sharing-dialog/src/features/title/index.js index dc8c6dee59..f18221f9ff 100644 --- a/components/sharing-dialog/src/features/title/index.js +++ b/components/sharing-dialog/src/features/title/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' import { withDisplayname, withoutDisplayname } from '../fixtures/index.js' Given('a sharing dialog without a displayname is visible', () => { diff --git a/components/switch/src/switch-field/features/can_be_required/index.js b/components/switch/src/switch-field/features/can_be_required/index.js index 5fbef9dc13..82eaeafb2f 100644 --- a/components/switch/src/switch-field/features/can_be_required/index.js +++ b/components/switch/src/switch-field/features/can_be_required/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SwitchField with label and a required flag is rendered', () => { cy.visitStory('SwitchField', 'With label and required') diff --git a/components/switch/src/switch/features/accepts_initial_focus/index.js b/components/switch/src/switch/features/accepts_initial_focus/index.js index 3aebb214a5..b711fe37df 100644 --- a/components/switch/src/switch/features/accepts_initial_focus/index.js +++ b/components/switch/src/switch/features/accepts_initial_focus/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Switch with initialFocus is rendered', () => { cy.visitStory('Switch', 'With initialFocus') diff --git a/components/switch/src/switch/features/accepts_label/index.js b/components/switch/src/switch/features/accepts_label/index.js index cd4b50dbb8..38016ea000 100644 --- a/components/switch/src/switch/features/accepts_label/index.js +++ b/components/switch/src/switch/features/accepts_label/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Switch with a label is rendered', () => { cy.visitStory('Switch', 'With label') diff --git a/components/switch/src/switch/features/can_be_blurred/index.js b/components/switch/src/switch/features/can_be_blurred/index.js index 99e44ee350..29d2278937 100644 --- a/components/switch/src/switch/features/can_be_blurred/index.js +++ b/components/switch/src/switch/features/can_be_blurred/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Switch with initialFocus and onBlur handler is rendered', () => { cy.visitStory('Switch', 'With initialFocus and onBlur') diff --git a/components/switch/src/switch/features/can_be_changed/index.js b/components/switch/src/switch/features/can_be_changed/index.js index 15e45313d8..c774da15ee 100644 --- a/components/switch/src/switch/features/can_be_changed/index.js +++ b/components/switch/src/switch/features/can_be_changed/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Switch with onChange handler is rendered', () => { cy.visitStory('Switch', 'With onChange') diff --git a/components/switch/src/switch/features/can_be_disabled/index.js b/components/switch/src/switch/features/can_be_disabled/index.js index 058e1770cc..ac9ac46c0b 100644 --- a/components/switch/src/switch/features/can_be_disabled/index.js +++ b/components/switch/src/switch/features/can_be_disabled/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a disabled Switch is rendered', () => { cy.visitStory('Switch', 'With disabled') diff --git a/components/switch/src/switch/features/can_be_focused/index.js b/components/switch/src/switch/features/can_be_focused/index.js index 51f373fcb3..806c9e139e 100644 --- a/components/switch/src/switch/features/can_be_focused/index.js +++ b/components/switch/src/switch/features/can_be_focused/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Switch with onFocus handler is rendered', () => { cy.visitStory('Switch', 'With onFocus') diff --git a/components/tab/src/tab-bar/features/accepts_children/index.js b/components/tab/src/tab-bar/features/accepts_children/index.js index 141b72d405..35364c0aaa 100644 --- a/components/tab/src/tab-bar/features/accepts_children/index.js +++ b/components/tab/src/tab-bar/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a TabBar with children is rendered', () => { cy.visitStory('TabBar', 'With children') diff --git a/components/tab/src/tab-bar/features/auto_hides_scroll_buttons/index.js b/components/tab/src/tab-bar/features/auto_hides_scroll_buttons/index.js index 984040b526..022e5ae9d3 100644 --- a/components/tab/src/tab-bar/features/auto_hides_scroll_buttons/index.js +++ b/components/tab/src/tab-bar/features/auto_hides_scroll_buttons/index.js @@ -1,5 +1,5 @@ /* global before,after */ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' const handler = (err) => { // > This error means that ResizeObserver was not able to deliver all diff --git a/components/tab/src/tab/features/accepts_children/index.js b/components/tab/src/tab/features/accepts_children/index.js index f4c5b00464..65af0b8e66 100644 --- a/components/tab/src/tab/features/accepts_children/index.js +++ b/components/tab/src/tab/features/accepts_children/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Tab with children is rendered', () => { cy.visitStory('Tab', 'With children') diff --git a/components/tab/src/tab/features/accepts_icon/index.js b/components/tab/src/tab/features/accepts_icon/index.js index ea0c993670..92ba077ebf 100644 --- a/components/tab/src/tab/features/accepts_icon/index.js +++ b/components/tab/src/tab/features/accepts_icon/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Tab with an icon is rendered', () => { cy.visitStory('Tab', 'With icon') diff --git a/components/tab/src/tab/features/is_clickable/index.js b/components/tab/src/tab/features/is_clickable/index.js index 891a6a87fd..ebf12842de 100644 --- a/components/tab/src/tab/features/is_clickable/index.js +++ b/components/tab/src/tab/features/is_clickable/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Tab with onClick handler is rendered', () => { cy.visitStory('Tab', 'With onClick') diff --git a/components/table/src/data-table/features/can_scroll/index.js b/components/table/src/data-table/features/can_scroll/index.js index e7a789fd97..035a719de7 100644 --- a/components/table/src/data-table/features/can_scroll/index.js +++ b/components/table/src/data-table/features/can_scroll/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a scrolling datatable is rendered', () => { cy.visitStory('DataTable', 'Fixed Header And Columns') diff --git a/components/table/src/data-table/table-elements/features/can_scroll/index.js b/components/table/src/data-table/table-elements/features/can_scroll/index.js index f46761dad7..f1ce1f1cad 100644 --- a/components/table/src/data-table/table-elements/features/can_scroll/index.js +++ b/components/table/src/data-table/table-elements/features/can_scroll/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a scrolling table is rendered', () => { cy.visitStory('Table', 'Fixed Header And Columns') diff --git a/components/tag/src/features/accepts_icon/index.js b/components/tag/src/features/accepts_icon/index.js index 257cbb328f..e3706324ff 100644 --- a/components/tag/src/features/accepts_icon/index.js +++ b/components/tag/src/features/accepts_icon/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a default Tag is rendered', () => { cy.visitStory('Tag', 'Without icon') diff --git a/components/tag/src/features/accepts_max_width/index.js b/components/tag/src/features/accepts_max_width/index.js index e2e6874362..8b311773b0 100644 --- a/components/tag/src/features/accepts_max_width/index.js +++ b/components/tag/src/features/accepts_max_width/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given( 'a tag with the default max width and enough content to fill it completely is rendered', diff --git a/components/tag/src/features/accepts_text/index.js b/components/tag/src/features/accepts_text/index.js index f87d9aed99..67d0302fda 100644 --- a/components/tag/src/features/accepts_text/index.js +++ b/components/tag/src/features/accepts_text/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Tag with text is rendered', () => { cy.visitStory('Tag', 'With text') diff --git a/components/text-area/src/text-area-field/features/can_be_required/index.js b/components/text-area/src/text-area-field/features/can_be_required/index.js index cf3a0cc016..34b6265f3a 100644 --- a/components/text-area/src/text-area-field/features/can_be_required/index.js +++ b/components/text-area/src/text-area-field/features/can_be_required/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a TextAreaField with label and a required flag is rendered', () => { cy.visitStory('TextAreaField', 'With label and required') diff --git a/components/text-area/src/text-area/features/accepts_initial_focus/index.js b/components/text-area/src/text-area/features/accepts_initial_focus/index.js index 4adc720a0c..e6f9c21a82 100644 --- a/components/text-area/src/text-area/features/accepts_initial_focus/index.js +++ b/components/text-area/src/text-area/features/accepts_initial_focus/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a TextArea with initialFocus is rendered', () => { cy.visitStory('TextArea', 'With initialFocus') diff --git a/components/text-area/src/text-area/features/can_be_blurred/index.js b/components/text-area/src/text-area/features/can_be_blurred/index.js index e5668ba30a..8606765a4a 100644 --- a/components/text-area/src/text-area/features/can_be_blurred/index.js +++ b/components/text-area/src/text-area/features/can_be_blurred/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a TextArea with initialFocus and onBlur handler is rendered', () => { cy.visitStory('TextArea', 'With initialFocus and onBlur') diff --git a/components/text-area/src/text-area/features/can_be_changed/index.js b/components/text-area/src/text-area/features/can_be_changed/index.js index f4cf857c2f..ef801cf4e6 100644 --- a/components/text-area/src/text-area/features/can_be_changed/index.js +++ b/components/text-area/src/text-area/features/can_be_changed/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a TextArea with onChange handler is rendered', () => { cy.visitStory('TextArea', 'With onChange') diff --git a/components/text-area/src/text-area/features/can_be_disabled/index.js b/components/text-area/src/text-area/features/can_be_disabled/index.js index 00da953f31..eecb78ef62 100644 --- a/components/text-area/src/text-area/features/can_be_disabled/index.js +++ b/components/text-area/src/text-area/features/can_be_disabled/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a disabled TextArea is rendered', () => { cy.visitStory('TextArea', 'With disabled') diff --git a/components/text-area/src/text-area/features/can_be_focused/index.js b/components/text-area/src/text-area/features/can_be_focused/index.js index ecb4d93992..3176fb0aa8 100644 --- a/components/text-area/src/text-area/features/can_be_focused/index.js +++ b/components/text-area/src/text-area/features/can_be_focused/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a TextArea with onFocus handler is rendered', () => { cy.visitStory('TextArea', 'With onFocus') diff --git a/components/text-area/src/text-area/features/common/index.js b/components/text-area/src/text-area/features/common/index.js index d376304d6b..536c8437aa 100644 --- a/components/text-area/src/text-area/features/common/index.js +++ b/components/text-area/src/text-area/features/common/index.js @@ -1,4 +1,4 @@ -import { Given } from 'cypress-cucumber-preprocessor/steps' +import { Given } from '@badeball/cypress-cucumber-preprocessor' Given('an empty TextArea is rendered', () => { cy.visitStory('TextArea', 'Empty') diff --git a/components/tooltip/src/features/common/index.js b/components/tooltip/src/features/common/index.js index a2f439e406..cef3bdd3e0 100644 --- a/components/tooltip/src/features/common/index.js +++ b/components/tooltip/src/features/common/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given( 'there is enough space between the reference element top and the body top to fit the Tooltip', diff --git a/components/tooltip/src/features/layering/index.js b/components/tooltip/src/features/layering/index.js index c54e6bde47..3a3f66ce61 100644 --- a/components/tooltip/src/features/layering/index.js +++ b/components/tooltip/src/features/layering/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Modal contains a tooltip', () => { cy.visitStory('Tooltip', 'Modal With Tooltip') diff --git a/components/tooltip/src/features/positions/index.js b/components/tooltip/src/features/positions/index.js index fab58d46de..8dc2b4e2dc 100644 --- a/components/tooltip/src/features/positions/index.js +++ b/components/tooltip/src/features/positions/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' const TOOLTIP_OFFSET = 4 const TOOLTIP_HEIGHT = 25 diff --git a/components/tooltip/src/features/scrolling_containers/index.js b/components/tooltip/src/features/scrolling_containers/index.js index 1bade83f2e..6c8fea1145 100644 --- a/components/tooltip/src/features/scrolling_containers/index.js +++ b/components/tooltip/src/features/scrolling_containers/index.js @@ -1,7 +1,7 @@ -import '../common/index.js' -import '../positions/index.js' -import '../visibility_toggling/index.js' -import { Given, When, Then, And } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +require('../positions/index.js') +require('../visibility_toggling/index.js') +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' /** * Note that scrolling behavior is tricky with cypress: @@ -52,7 +52,7 @@ Given('this test uses timers', () => { cy.clock() }) -And('there is a pause to allow the tooltip to open', () => { +When('there is a pause to allow the tooltip to open', () => { cy.tick(250) }) diff --git a/components/tooltip/src/features/visibility_toggling/index.js b/components/tooltip/src/features/visibility_toggling/index.js index 6c514669af..0a06138303 100644 --- a/components/tooltip/src/features/visibility_toggling/index.js +++ b/components/tooltip/src/features/visibility_toggling/index.js @@ -1,5 +1,5 @@ -import '../common/index.js' -import { When, Then } from 'cypress-cucumber-preprocessor/steps' +require('../common/index.js') +import { When, Then } from '@badeball/cypress-cucumber-preprocessor' When('the mouse cursor leaves the anchor', () => { // Trigger the mouseout event, and make sure the mouse is diff --git a/components/transfer/src/features/add_remove-highlighted-options/index.js b/components/transfer/src/features/add_remove-highlighted-options/index.js index 98de5185a6..088a106a10 100644 --- a/components/transfer/src/features/add_remove-highlighted-options/index.js +++ b/components/transfer/src/features/add_remove-highlighted-options/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('the option list has two or more items', () => { cy.visitStory('Transfer add & remove highlighted options', 'Has Options') diff --git a/components/transfer/src/features/disabled-transfer-buttons/index.js b/components/transfer/src/features/disabled-transfer-buttons/index.js index dd1b12ad71..e2cd9007f5 100644 --- a/components/transfer/src/features/disabled-transfer-buttons/index.js +++ b/components/transfer/src/features/disabled-transfer-buttons/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('the options list has items', () => { cy.visitStory('Transfer Disabled Transfer Buttons', 'Has Options') @@ -20,10 +20,6 @@ Given('the selected list does not have items', () => { cy.visitStory('Transfer Disabled Transfer Buttons', 'Has Options') }) -Given('the selected list has items', () => { - cy.visitStory('Transfer Disabled Transfer Buttons', 'Some Options Selected') -}) - Given('no option items are highlighted', () => { cy.get( '[data-test="dhis2-uicore-transfer-sourceoptions"] [data-test="dhis2-uicore-transferoption"]' diff --git a/components/transfer/src/features/disabled-transfer-options/index.js b/components/transfer/src/features/disabled-transfer-options/index.js index 5b7a08b8fb..fea88e8fbc 100644 --- a/components/transfer/src/features/disabled-transfer-options/index.js +++ b/components/transfer/src/features/disabled-transfer-options/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' import { extractOptionFromElement } from '../common/index.js' const enabledSourceOptionSelector = diff --git a/components/transfer/src/features/display-order/index.js b/components/transfer/src/features/display-order/index.js index e4c597e16f..9a169600c4 100644 --- a/components/transfer/src/features/display-order/index.js +++ b/components/transfer/src/features/display-order/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' import { extractOptionFromElement } from '../common/index.js' Given('none of the supplied options have been selected', () => { diff --git a/components/transfer/src/features/filter-options-list/index.js b/components/transfer/src/features/filter-options-list/index.js index 3a71311802..77bf49491e 100644 --- a/components/transfer/src/features/filter-options-list/index.js +++ b/components/transfer/src/features/filter-options-list/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' import { extractOptionFromElement } from '../common/index.js' Given('filtering is enabled', () => { diff --git a/components/transfer/src/features/highlight-range-of-options/index.js b/components/transfer/src/features/highlight-range-of-options/index.js index 81a9097ec0..7b59d7d122 100644 --- a/components/transfer/src/features/highlight-range-of-options/index.js +++ b/components/transfer/src/features/highlight-range-of-options/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' import { extractOptionFromElement } from '../common/index.js' Given('the option list has one or more items', () => { diff --git a/components/transfer/src/features/loading_lists/index.js b/components/transfer/src/features/loading_lists/index.js index 3a29ae3136..b27d06485e 100644 --- a/components/transfer/src/features/loading_lists/index.js +++ b/components/transfer/src/features/loading_lists/index.js @@ -1,4 +1,4 @@ -import { Given, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('the source list is loading', () => { cy.visitStory('Transfer Loading Lists', 'Loading Source') diff --git a/components/transfer/src/features/notify_at_end_of_list/index.js b/components/transfer/src/features/notify_at_end_of_list/index.js index 0b5e648c19..f67307021c 100644 --- a/components/transfer/src/features/notify_at_end_of_list/index.js +++ b/components/transfer/src/features/notify_at_end_of_list/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Cypress.on('uncaught:exception', (err) => { // This prevents a benign error: diff --git a/components/transfer/src/features/reorder-with-buttons/index.js b/components/transfer/src/features/reorder-with-buttons/index.js index d0439ce9e0..1f8426e212 100644 --- a/components/transfer/src/features/reorder-with-buttons/index.js +++ b/components/transfer/src/features/reorder-with-buttons/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('reordering of items is enabled', () => { // no op @@ -14,6 +14,14 @@ Given('the selected list has some items', () => { Given('the {int}. item is highlighted', (previousPisition) => { const index = previousPisition - 1 + console.log('> index', index) + + cy.get('{transfer-pickedoptions} {transferoption}') + .eq(index) + .invoke('attr', 'data-value') + // For some reason, using `.as()` directly doesn't work. + // Wrapping it inside a `.then` works though + .then(previousValue => cy.wrap(previousValue).as('previousValue')) cy.get('{transfer-pickedoptions} {transferoption}') .eq(index) @@ -45,7 +53,11 @@ When("the user clicks the 'move down' button", () => { Then('the highlighted item should be moved to the {int}. place', (next) => { const index = next - 1 - cy.get('@previous').invoke('index').should('equal', index) + + cy.get('@previousValue') + .then(previousValue => cy.get(`[data-value="${previousValue}"]`)) + .invoke('index') + .should('equal', index) }) Then("the 'move up' and 'move down' buttons should be disabled", () => { diff --git a/components/transfer/src/features/set_unset-highlighted-option/index.js b/components/transfer/src/features/set_unset-highlighted-option/index.js index 570ec41dfd..1e71a4f0e9 100644 --- a/components/transfer/src/features/set_unset-highlighted-option/index.js +++ b/components/transfer/src/features/set_unset-highlighted-option/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' import { extractOptionFromElement } from '../common/index.js' Given('the option list has one or more items', () => { diff --git a/components/transfer/src/features/transferring-items/index.js b/components/transfer/src/features/transferring-items/index.js index 11c70fdb4b..1392ad75c0 100644 --- a/components/transfer/src/features/transferring-items/index.js +++ b/components/transfer/src/features/transferring-items/index.js @@ -1,4 +1,4 @@ -import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps' +import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' import { parseSelectorWithDataTest } from '../../../../../cypress/support/common/parseSelectorWithDataTest.js' import { extractOptionFromElement } from '../common/index.js' @@ -239,25 +239,6 @@ Then( } ) -Then( - 'the transferred items should be appended to the selected list in the order they were displayed in the options list', - () => { - cy.all( - () => cy.get('@itemsToBeSelected'), - () => cy.get('{transfer-pickedoptions} {transferoption}') - ).should(([itemsToBeSelected, $selectedOptions]) => { - const selectedOptions = $selectedOptions - .toArray() - .map(extractOptionFromElement) - const previouslySelectedSubset = selectedOptions.slice( - -1 * itemsToBeSelected.length - ) - - expect(itemsToBeSelected).to.eql(previouslySelectedSubset) - }) - } -) - Then('all items should be removed from the selected list', () => { cy.get('{transfer-pickedoptions} {transferoption}').should('not.exist') }) diff --git a/cypress-cucumber-preprocessor.config.js b/cypress-cucumber-preprocessor.config.js deleted file mode 100644 index 4059853197..0000000000 --- a/cypress-cucumber-preprocessor.config.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - nonGlobalStepDefinitions: true, - stepDefinitions: '.', -} diff --git a/cypress.config.js b/cypress.config.js new file mode 100644 index 0000000000..e8d254b62b --- /dev/null +++ b/cypress.config.js @@ -0,0 +1,22 @@ +const { + chromeAllowXSiteCookies, + cucumberPreprocessor, +} = require('@dhis2/cypress-plugins') +const { defineConfig } = require('cypress') + +async function setupNodeEvents(on, config) { + await cucumberPreprocessor(on, config) + chromeAllowXSiteCookies(on, config) + return config +} + +module.exports = defineConfig({ + video: false, + projectId: 'vyavbk', + e2e: { + setupNodeEvents, + baseUrl: 'http://localhost:5000', + specPattern: '**/src/**/*.feature', + // excludeSpecPattern: '**/build/**/*', + }, +}) diff --git a/cypress.json b/cypress.json deleted file mode 100644 index ba169eb3d2..0000000000 --- a/cypress.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "baseUrl": "http://localhost:5000", - "ignoreTestFiles": "*/build/**/*.feature", - "testFiles": [ - "components/*/src/**/*.feature", - "collections/*/src/**/*.feature", - "icons/src/**/*.feature", - "constants/src/**/*.feature" - ], - "video": false, - "projectId": "vyavbk", - "integrationFolder": "." -} diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js deleted file mode 100644 index ea75d643b5..0000000000 --- a/cypress/plugins/index.js +++ /dev/null @@ -1,9 +0,0 @@ -const { - chromeAllowXSiteCookies, - cucumberPreprocessor, -} = require('@dhis2/cypress-plugins') - -module.exports = (on, config) => { - chromeAllowXSiteCookies(on, config) - cucumberPreprocessor(on, config) -} diff --git a/cypress/support/index.js b/cypress/support/e2e.js similarity index 100% rename from cypress/support/index.js rename to cypress/support/e2e.js diff --git a/cypress/support/find.js b/cypress/support/find.js index 5be46ed0de..03eeb2f7b1 100644 --- a/cypress/support/find.js +++ b/cypress/support/find.js @@ -17,10 +17,8 @@ import { parseSelectorWithDataTest } from './common/parseSelectorWithDataTest.js * cy.get('.foo').find('[data-test="custom-prefix-node"] input') */ // eslint-disable-next-line max-params -const find = (originalFn, subject, selectors, options = {}) => { +Cypress.Commands.overwriteQuery('find', function (originalFn, selectors, options = {}) { const { prefix, ...restOptions } = options const selector = parseSelectorWithDataTest(selectors, prefix) - return originalFn(subject, selector, restOptions) -} - -Cypress.Commands.overwrite('find', find) + return originalFn.call(this, selector, restOptions) +}) diff --git a/cypress/support/get.js b/cypress/support/get.js index 77ad7b236e..72947b68f4 100644 --- a/cypress/support/get.js +++ b/cypress/support/get.js @@ -15,10 +15,8 @@ import { parseSelectorWithDataTest } from './common/parseSelectorWithDataTest.js * cy.get('{node} {node} input', 'custom-prefix') * cy.get('[data-test="custom-prefix-node"] [data-test="custom-prefix-node"] input') */ -const get = (originalFn, selectors, options = {}) => { +Cypress.Commands.overwriteQuery('get', function (originalFn, selectors, options = {}) { const { prefix, ...restOptions } = options const selector = parseSelectorWithDataTest(selectors, prefix) - return originalFn(selector, restOptions) -} - -Cypress.Commands.overwrite('get', get) + return originalFn.call(this, selector, restOptions) +}) diff --git a/package.json b/package.json index cfeb18780e..4a8cf6248f 100644 --- a/package.json +++ b/package.json @@ -48,10 +48,9 @@ "@dhis2/app-runtime": "^3.9.0", "@dhis2/cli-app-scripts": "^8.0.0", "@dhis2/cli-style": "10.4.2", - "@dhis2/cli-utils-cypress": "^8.0.3", "@dhis2/cli-utils-docsite": "^3.1.2", - "@dhis2/cypress-commands": "^9.0.2", - "@dhis2/cypress-plugins": "^9.0.2", + "@dhis2/cypress-commands": "^10.0.3", + "@dhis2/cypress-plugins": "^10.0.3", "@dhis2/d2-i18n": "^1.1.0", "@manypkg/cli": "^0.18.0", "@svgr/cli": "^5.5.0", @@ -61,7 +60,7 @@ "@testing-library/user-event": "^13.5.0", "ast-types": "^0.14.2", "concurrently": "^6.2.1", - "cypress": "^9.5.0", + "cypress": "^12", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.6", "execa": "^5.1.1", @@ -78,5 +77,9 @@ }, "peerDependencies": { "@types/react": ">=16.14.0" + }, + "devDependencies": { + "@badeball/cypress-cucumber-preprocessor": "^20.0.2", + "@cypress/webpack-preprocessor": "^6.0.1" } } diff --git a/yarn.lock b/yarn.lock index d9e3542108..89a154708c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -223,26 +223,6 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/core@7.4.5": - version "7.4.5" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.4.5.tgz#081f97e8ffca65a9b4b0fdc7e274e703f000c06a" - integrity sha512-OvjIh6aqXtlsA8ujtGKfC7LYWksYSX8yQcM8Ay3LuvVeQ63lcOKgoZWVqcpFwkd29aYU9rVx7jxhfhiEDV9MZA== - dependencies: - "@babel/code-frame" "^7.0.0" - "@babel/generator" "^7.4.4" - "@babel/helpers" "^7.4.4" - "@babel/parser" "^7.4.5" - "@babel/template" "^7.4.4" - "@babel/traverse" "^7.4.5" - "@babel/types" "^7.4.4" - convert-source-map "^1.1.0" - debug "^4.1.0" - json5 "^2.1.0" - lodash "^4.17.11" - resolve "^1.3.2" - semver "^5.4.1" - source-map "^0.5.0" - "@babel/core@^7.1.0", "@babel/core@^7.1.6", "@babel/core@^7.11.1", "@babel/core@^7.12.10", "@babel/core@^7.12.3", "@babel/core@^7.15.5", "@babel/core@^7.17.5", "@babel/core@^7.6.2", "@babel/core@^7.7.2", "@babel/core@^7.7.5", "@babel/core@^7.8.4": version "7.17.5" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.17.5.tgz#6cd2e836058c28f06a4ca8ee7ed955bbf37c8225" @@ -264,7 +244,7 @@ json5 "^2.1.2" semver "^6.3.0" -"@babel/generator@^7.12.1", "@babel/generator@^7.12.11", "@babel/generator@^7.12.5", "@babel/generator@^7.17.3", "@babel/generator@^7.4.4", "@babel/generator@^7.7.2": +"@babel/generator@^7.12.1", "@babel/generator@^7.12.11", "@babel/generator@^7.12.5", "@babel/generator@^7.17.3", "@babel/generator@^7.7.2": version "7.17.3" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.17.3.tgz#a2c30b0c4f89858cb87050c3ffdfd36bdf443200" integrity sha512-+R6Dctil/MgUsZsZAkYgK+ADNSZzJRRy0TvY65T71z/CR854xHQ1EweBYXdfT+HNeN7w0cSJJEzgxZMv40pxsg== @@ -298,7 +278,7 @@ browserslist "^4.17.5" semver "^6.3.0" -"@babel/helper-create-class-features-plugin@^7.12.1", "@babel/helper-create-class-features-plugin@^7.13.11", "@babel/helper-create-class-features-plugin@^7.16.10", "@babel/helper-create-class-features-plugin@^7.16.7", "@babel/helper-create-class-features-plugin@^7.3.0": +"@babel/helper-create-class-features-plugin@^7.12.1", "@babel/helper-create-class-features-plugin@^7.13.11", "@babel/helper-create-class-features-plugin@^7.16.10", "@babel/helper-create-class-features-plugin@^7.16.7": version "7.17.6" resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.17.6.tgz#3778c1ed09a7f3e65e6d6e0f6fbfcc53809d92c9" integrity sha512-SogLLSxXm2OkBbSsHZMM4tUi8fUzjs63AT/d0YQIzr6GSd8Hxsbk2KYDX0k0DweAzGMj/YWeiCsorIdtdcW8Eg== @@ -490,7 +470,7 @@ "@babel/traverse" "^7.16.8" "@babel/types" "^7.16.8" -"@babel/helpers@^7.12.1", "@babel/helpers@^7.12.5", "@babel/helpers@^7.17.2", "@babel/helpers@^7.4.4": +"@babel/helpers@^7.12.1", "@babel/helpers@^7.12.5", "@babel/helpers@^7.17.2": version "7.17.2" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.17.2.tgz#23f0a0746c8e287773ccd27c14be428891f63417" integrity sha512-0Qu7RLR1dILozr/6M0xgj+DFPmi6Bnulgm9M8BVa9ZCWxDqlSnqt3cf8IDPB5m45sVXUZ0kuQAgUrdSFFH79fQ== @@ -508,11 +488,16 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.1.6", "@babel/parser@^7.12.11", "@babel/parser@^7.12.3", "@babel/parser@^7.12.7", "@babel/parser@^7.16.7", "@babel/parser@^7.17.0", "@babel/parser@^7.17.3", "@babel/parser@^7.4.5", "@babel/parser@^7.7.0", "@babel/parser@^7.7.2", "@babel/parser@^7.9.4": +"@babel/parser@^7.1.0", "@babel/parser@^7.1.6", "@babel/parser@^7.12.11", "@babel/parser@^7.12.3", "@babel/parser@^7.12.7", "@babel/parser@^7.16.7", "@babel/parser@^7.17.0", "@babel/parser@^7.17.3", "@babel/parser@^7.7.0", "@babel/parser@^7.7.2", "@babel/parser@^7.9.4": version "7.17.3" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.17.3.tgz#b07702b982990bf6fdc1da5049a23fece4c5c3d0" integrity sha512-7yJPvPV+ESz2IUTPbOL+YkIGyCqOyNIzdguKQuJGnH7bg1WTIifuM21YqokFt/THWh1AkCRn9IgoykTRCBVpzA== +"@babel/parser@^7.18.8": + version "7.24.1" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.1.tgz#1e416d3627393fab1cb5b0f2f1796a100ae9133a" + integrity sha512-Zo9c7N3xdOIQrNip7Lc9wvRPzlRtovHVE4lkz8WEDr7uYh/GMQhSiIgFxGIArRHYdJE5kxtZjAf8rT0xhdLCzg== + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.16.7.tgz#4eda6d6c2a0aa79c70fa7b6da67763dfe2141050" @@ -529,7 +514,7 @@ "@babel/helper-skip-transparent-expression-wrappers" "^7.16.0" "@babel/plugin-proposal-optional-chaining" "^7.16.7" -"@babel/plugin-proposal-async-generator-functions@^7.12.1", "@babel/plugin-proposal-async-generator-functions@^7.16.8", "@babel/plugin-proposal-async-generator-functions@^7.2.0": +"@babel/plugin-proposal-async-generator-functions@^7.12.1", "@babel/plugin-proposal-async-generator-functions@^7.16.8": version "7.16.8" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.16.8.tgz#3bdd1ebbe620804ea9416706cd67d60787504bc8" integrity sha512-71YHIvMuiuqWJQkebWJtdhQTfd4Q4mF76q2IX37uZPkG9+olBxsX+rH1vkhFto4UeJZ9dPY2s+mDvhDm1u2BGQ== @@ -546,14 +531,6 @@ "@babel/helper-create-class-features-plugin" "^7.12.1" "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-proposal-class-properties@7.3.0": - version "7.3.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.3.0.tgz#272636bc0fa19a0bc46e601ec78136a173ea36cd" - integrity sha512-wNHxLkEKTQ2ay0tnsam2z7fGZUi+05ziDJflEt3AZTP3oXLKHJp9HqhfroB/vdMvt3sda9fAbq7FsG8QPDrZBg== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.3.0" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-proposal-class-properties@^7.1.0", "@babel/plugin-proposal-class-properties@^7.12.1", "@babel/plugin-proposal-class-properties@^7.13.0", "@babel/plugin-proposal-class-properties@^7.16.7", "@babel/plugin-proposal-class-properties@^7.8.3": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.16.7.tgz#925cad7b3b1a2fcea7e59ecc8eb5954f961f91b0" @@ -613,7 +590,7 @@ "@babel/helper-plugin-utils" "^7.16.7" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" -"@babel/plugin-proposal-json-strings@^7.12.1", "@babel/plugin-proposal-json-strings@^7.16.7", "@babel/plugin-proposal-json-strings@^7.2.0": +"@babel/plugin-proposal-json-strings@^7.12.1", "@babel/plugin-proposal-json-strings@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.16.7.tgz#9732cb1d17d9a2626a08c5be25186c195b6fa6e8" integrity sha512-lNZ3EEggsGY78JavgbHsK9u5P3pQaW7k4axlgFLYkMd7UBsiNahCITShLjNQschPyjtO6dADrL24757IdhBrsQ== @@ -670,15 +647,7 @@ "@babel/plugin-syntax-object-rest-spread" "^7.8.0" "@babel/plugin-transform-parameters" "^7.12.1" -"@babel/plugin-proposal-object-rest-spread@7.3.2": - version "7.3.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.3.2.tgz#6d1859882d4d778578e41f82cc5d7bf3d5daf6c1" - integrity sha512-DjeMS+J2+lpANkYLLO+m6GjoTMygYglKmRe6cDTbFv3L9i6mmiE8fe6B8MtCSLZpVXscD5kn7s6SgtHrDoBWoA== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-object-rest-spread" "^7.2.0" - -"@babel/plugin-proposal-object-rest-spread@^7.12.1", "@babel/plugin-proposal-object-rest-spread@^7.16.7", "@babel/plugin-proposal-object-rest-spread@^7.4.4": +"@babel/plugin-proposal-object-rest-spread@^7.12.1", "@babel/plugin-proposal-object-rest-spread@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.16.7.tgz#94593ef1ddf37021a25bdcb5754c4a8d534b01d8" integrity sha512-3O0Y4+dw94HA86qSg9IHfyPktgR7q3gpNVAeiKQd+8jBKFaU5NQS1Yatgo4wY+UFNuLjvxcSmzcsHqrhgTyBUA== @@ -689,7 +658,7 @@ "@babel/plugin-syntax-object-rest-spread" "^7.8.3" "@babel/plugin-transform-parameters" "^7.16.7" -"@babel/plugin-proposal-optional-catch-binding@^7.12.1", "@babel/plugin-proposal-optional-catch-binding@^7.16.7", "@babel/plugin-proposal-optional-catch-binding@^7.2.0": +"@babel/plugin-proposal-optional-catch-binding@^7.12.1", "@babel/plugin-proposal-optional-catch-binding@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.7.tgz#c623a430674ffc4ab732fd0a0ae7722b67cb74cf" integrity sha512-eMOH/L4OvWSZAE1VkHbr1vckLG1WUcHGJSLqqQwl2GaUqG6QjddvrOaTUMNYiv77H5IKPMZ9U9P7EaHwvAShfA== @@ -741,7 +710,7 @@ "@babel/helper-create-regexp-features-plugin" "^7.16.7" "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-syntax-async-generators@^7.2.0", "@babel/plugin-syntax-async-generators@^7.8.0", "@babel/plugin-syntax-async-generators@^7.8.4": +"@babel/plugin-syntax-async-generators@^7.8.0", "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== @@ -811,7 +780,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-json-strings@^7.2.0", "@babel/plugin-syntax-json-strings@^7.8.0", "@babel/plugin-syntax-json-strings@^7.8.3": +"@babel/plugin-syntax-json-strings@^7.8.0", "@babel/plugin-syntax-json-strings@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== @@ -860,14 +829,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-object-rest-spread@7.8.3", "@babel/plugin-syntax-object-rest-spread@^7.2.0", "@babel/plugin-syntax-object-rest-spread@^7.8.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3": +"@babel/plugin-syntax-object-rest-spread@7.8.3", "@babel/plugin-syntax-object-rest-spread@^7.8.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-catch-binding@^7.2.0", "@babel/plugin-syntax-optional-catch-binding@^7.8.0", "@babel/plugin-syntax-optional-catch-binding@^7.8.3": +"@babel/plugin-syntax-optional-catch-binding@^7.8.0", "@babel/plugin-syntax-optional-catch-binding@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== @@ -902,14 +871,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-arrow-functions@^7.12.1", "@babel/plugin-transform-arrow-functions@^7.16.7", "@babel/plugin-transform-arrow-functions@^7.2.0": +"@babel/plugin-transform-arrow-functions@^7.12.1", "@babel/plugin-transform-arrow-functions@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.16.7.tgz#44125e653d94b98db76369de9c396dc14bef4154" integrity sha512-9ffkFFMbvzTvv+7dTp/66xvZAWASuPD5Tl9LK3Z9vhOmANo6j94rik+5YMBt4CwHVMWLWpMsriIc2zsa3WW3xQ== dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-async-to-generator@^7.12.1", "@babel/plugin-transform-async-to-generator@^7.16.8", "@babel/plugin-transform-async-to-generator@^7.4.4": +"@babel/plugin-transform-async-to-generator@^7.12.1", "@babel/plugin-transform-async-to-generator@^7.16.8": version "7.16.8" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.16.8.tgz#b83dff4b970cf41f1b819f8b49cc0cfbaa53a808" integrity sha512-MtmUmTJQHCnyJVrScNzNlofQJ3dLFuobYn3mwOTKHnSCMtbNsqvF71GQmJfFjdrXSsAA7iysFmYWw4bXZ20hOg== @@ -918,21 +887,21 @@ "@babel/helper-plugin-utils" "^7.16.7" "@babel/helper-remap-async-to-generator" "^7.16.8" -"@babel/plugin-transform-block-scoped-functions@^7.12.1", "@babel/plugin-transform-block-scoped-functions@^7.16.7", "@babel/plugin-transform-block-scoped-functions@^7.2.0": +"@babel/plugin-transform-block-scoped-functions@^7.12.1", "@babel/plugin-transform-block-scoped-functions@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.7.tgz#4d0d57d9632ef6062cdf354bb717102ee042a620" integrity sha512-JUuzlzmF40Z9cXyytcbZEZKckgrQzChbQJw/5PuEHYeqzCsvebDx0K0jWnIIVcmmDOAVctCgnYs0pMcrYj2zJg== dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-block-scoping@^7.12.1", "@babel/plugin-transform-block-scoping@^7.12.12", "@babel/plugin-transform-block-scoping@^7.16.7", "@babel/plugin-transform-block-scoping@^7.4.4": +"@babel/plugin-transform-block-scoping@^7.12.1", "@babel/plugin-transform-block-scoping@^7.12.12", "@babel/plugin-transform-block-scoping@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.16.7.tgz#f50664ab99ddeaee5bc681b8f3a6ea9d72ab4f87" integrity sha512-ObZev2nxVAYA4bhyusELdo9hb3H+A56bxH3FZMbEImZFiEDYVHXQSJ1hQKFlDnlt8G9bBrCZ5ZpURZUrV4G5qQ== dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-classes@^7.12.1", "@babel/plugin-transform-classes@^7.16.7", "@babel/plugin-transform-classes@^7.4.4": +"@babel/plugin-transform-classes@^7.12.1", "@babel/plugin-transform-classes@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.16.7.tgz#8f4b9562850cd973de3b498f1218796eb181ce00" integrity sha512-WY7og38SFAGYRe64BrjKf8OrE6ulEHtr5jEYaZMwox9KebgqPi67Zqz8K53EKk1fFEJgm96r32rkKZ3qA2nCWQ== @@ -946,14 +915,14 @@ "@babel/helper-split-export-declaration" "^7.16.7" globals "^11.1.0" -"@babel/plugin-transform-computed-properties@^7.12.1", "@babel/plugin-transform-computed-properties@^7.16.7", "@babel/plugin-transform-computed-properties@^7.2.0": +"@babel/plugin-transform-computed-properties@^7.12.1", "@babel/plugin-transform-computed-properties@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.16.7.tgz#66dee12e46f61d2aae7a73710f591eb3df616470" integrity sha512-gN72G9bcmenVILj//sv1zLNaPyYcOzUho2lIJBMh/iakJ9ygCo/hEF9cpGb61SCMEDxbbyBoVQxrt+bWKu5KGw== dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-destructuring@^7.12.1", "@babel/plugin-transform-destructuring@^7.16.7", "@babel/plugin-transform-destructuring@^7.4.4": +"@babel/plugin-transform-destructuring@^7.12.1", "@babel/plugin-transform-destructuring@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.16.7.tgz#ca9588ae2d63978a4c29d3f33282d8603f618e23" integrity sha512-VqAwhTHBnu5xBVDCvrvqJbtLUa++qZaWC0Fgr2mqokBlulZARGyIvZDoqbPlPaKImQ9dKAcCzbv+ul//uqu70A== @@ -968,14 +937,14 @@ "@babel/helper-create-regexp-features-plugin" "^7.16.7" "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-duplicate-keys@^7.12.1", "@babel/plugin-transform-duplicate-keys@^7.16.7", "@babel/plugin-transform-duplicate-keys@^7.2.0": +"@babel/plugin-transform-duplicate-keys@^7.12.1", "@babel/plugin-transform-duplicate-keys@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.16.7.tgz#2207e9ca8f82a0d36a5a67b6536e7ef8b08823c9" integrity sha512-03DvpbRfvWIXyK0/6QiR1KMTWeT6OcQ7tbhjrXyFS02kjuX/mu5Bvnh5SDSWHxyawit2g5aWhKwI86EE7GUnTw== dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-exponentiation-operator@^7.12.1", "@babel/plugin-transform-exponentiation-operator@^7.16.7", "@babel/plugin-transform-exponentiation-operator@^7.2.0": +"@babel/plugin-transform-exponentiation-operator@^7.12.1", "@babel/plugin-transform-exponentiation-operator@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.7.tgz#efa9862ef97e9e9e5f653f6ddc7b665e8536fe9b" integrity sha512-8UYLSlyLgRixQvlYH3J2ekXFHDFLQutdy7FfFAMm3CPZ6q9wHCwnUyiXpQCe3gVVnQlHc5nsuiEVziteRNTXEA== @@ -991,14 +960,14 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-flow" "^7.12.1" -"@babel/plugin-transform-for-of@^7.12.1", "@babel/plugin-transform-for-of@^7.16.7", "@babel/plugin-transform-for-of@^7.4.4": +"@babel/plugin-transform-for-of@^7.12.1", "@babel/plugin-transform-for-of@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.16.7.tgz#649d639d4617dff502a9a158c479b3b556728d8c" integrity sha512-/QZm9W92Ptpw7sjI9Nx1mbcsWz33+l8kuMIQnDwgQBG5s3fAfQvkRjQ7NqXhtNcKOnPkdICmUHyCaWW06HCsqg== dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-function-name@^7.12.1", "@babel/plugin-transform-function-name@^7.16.7", "@babel/plugin-transform-function-name@^7.4.4": +"@babel/plugin-transform-function-name@^7.12.1", "@babel/plugin-transform-function-name@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.7.tgz#5ab34375c64d61d083d7d2f05c38d90b97ec65cf" integrity sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA== @@ -1007,21 +976,21 @@ "@babel/helper-function-name" "^7.16.7" "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-literals@^7.12.1", "@babel/plugin-transform-literals@^7.16.7", "@babel/plugin-transform-literals@^7.2.0": +"@babel/plugin-transform-literals@^7.12.1", "@babel/plugin-transform-literals@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.16.7.tgz#254c9618c5ff749e87cb0c0cef1a0a050c0bdab1" integrity sha512-6tH8RTpTWI0s2sV6uq3e/C9wPo4PTqqZps4uF0kzQ9/xPLFQtipynvmT1g/dOfEJ+0EQsHhkQ/zyRId8J2b8zQ== dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-member-expression-literals@^7.12.1", "@babel/plugin-transform-member-expression-literals@^7.16.7", "@babel/plugin-transform-member-expression-literals@^7.2.0": +"@babel/plugin-transform-member-expression-literals@^7.12.1", "@babel/plugin-transform-member-expression-literals@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.7.tgz#6e5dcf906ef8a098e630149d14c867dd28f92384" integrity sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw== dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-modules-amd@^7.12.1", "@babel/plugin-transform-modules-amd@^7.16.7", "@babel/plugin-transform-modules-amd@^7.2.0": +"@babel/plugin-transform-modules-amd@^7.12.1", "@babel/plugin-transform-modules-amd@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.16.7.tgz#b28d323016a7daaae8609781d1f8c9da42b13186" integrity sha512-KaaEtgBL7FKYwjJ/teH63oAmE3lP34N3kshz8mm4VMAw7U3PxjVwwUmxEFksbgsNUaO3wId9R2AVQYSEGRa2+g== @@ -1030,7 +999,7 @@ "@babel/helper-plugin-utils" "^7.16.7" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-commonjs@^7.1.0", "@babel/plugin-transform-modules-commonjs@^7.12.1", "@babel/plugin-transform-modules-commonjs@^7.16.8", "@babel/plugin-transform-modules-commonjs@^7.4.4": +"@babel/plugin-transform-modules-commonjs@^7.1.0", "@babel/plugin-transform-modules-commonjs@^7.12.1", "@babel/plugin-transform-modules-commonjs@^7.16.8": version "7.16.8" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.16.8.tgz#cdee19aae887b16b9d331009aa9a219af7c86afe" integrity sha512-oflKPvsLT2+uKQopesJt3ApiaIS2HW+hzHFcwRNtyDGieAeC/dIHZX8buJQ2J2X1rxGPy4eRcUijm3qcSPjYcA== @@ -1040,7 +1009,7 @@ "@babel/helper-simple-access" "^7.16.7" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.12.1", "@babel/plugin-transform-modules-systemjs@^7.16.7", "@babel/plugin-transform-modules-systemjs@^7.4.4": +"@babel/plugin-transform-modules-systemjs@^7.12.1", "@babel/plugin-transform-modules-systemjs@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.16.7.tgz#887cefaef88e684d29558c2b13ee0563e287c2d7" integrity sha512-DuK5E3k+QQmnOqBR9UkusByy5WZWGRxfzV529s9nPra1GE7olmxfqO2FHobEOYSPIjPBTr4p66YDcjQnt8cBmw== @@ -1051,7 +1020,7 @@ "@babel/helper-validator-identifier" "^7.16.7" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-umd@^7.12.1", "@babel/plugin-transform-modules-umd@^7.16.7", "@babel/plugin-transform-modules-umd@^7.2.0": +"@babel/plugin-transform-modules-umd@^7.12.1", "@babel/plugin-transform-modules-umd@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.16.7.tgz#23dad479fa585283dbd22215bff12719171e7618" integrity sha512-EMh7uolsC8O4xhudF2F6wedbSHm1HHZ0C6aJ7K67zcDNidMzVcxWdGr+htW9n21klm+bOn+Rx4CBsAntZd3rEQ== @@ -1059,21 +1028,21 @@ "@babel/helper-module-transforms" "^7.16.7" "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-named-capturing-groups-regex@^7.12.1", "@babel/plugin-transform-named-capturing-groups-regex@^7.16.8", "@babel/plugin-transform-named-capturing-groups-regex@^7.4.5": +"@babel/plugin-transform-named-capturing-groups-regex@^7.12.1", "@babel/plugin-transform-named-capturing-groups-regex@^7.16.8": version "7.16.8" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.16.8.tgz#7f860e0e40d844a02c9dcf9d84965e7dfd666252" integrity sha512-j3Jw+n5PvpmhRR+mrgIh04puSANCk/T/UA3m3P1MjJkhlK906+ApHhDIqBQDdOgL/r1UYpz4GNclTXxyZrYGSw== dependencies: "@babel/helper-create-regexp-features-plugin" "^7.16.7" -"@babel/plugin-transform-new-target@^7.12.1", "@babel/plugin-transform-new-target@^7.16.7", "@babel/plugin-transform-new-target@^7.4.4": +"@babel/plugin-transform-new-target@^7.12.1", "@babel/plugin-transform-new-target@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.16.7.tgz#9967d89a5c243818e0800fdad89db22c5f514244" integrity sha512-xiLDzWNMfKoGOpc6t3U+etCE2yRnn3SM09BXqWPIZOBpL2gvVrBWUKnsJx0K/ADi5F5YC5f8APFfWrz25TdlGg== dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-object-super@^7.12.1", "@babel/plugin-transform-object-super@^7.16.7", "@babel/plugin-transform-object-super@^7.2.0": +"@babel/plugin-transform-object-super@^7.12.1", "@babel/plugin-transform-object-super@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.7.tgz#ac359cf8d32cf4354d27a46867999490b6c32a94" integrity sha512-14J1feiQVWaGvRxj2WjyMuXS2jsBkgB3MdSN5HuC2G5nRspa5RK9COcs82Pwy5BuGcjb+fYaUj94mYcOj7rCvw== @@ -1081,14 +1050,14 @@ "@babel/helper-plugin-utils" "^7.16.7" "@babel/helper-replace-supers" "^7.16.7" -"@babel/plugin-transform-parameters@^7.12.1", "@babel/plugin-transform-parameters@^7.16.7", "@babel/plugin-transform-parameters@^7.4.4": +"@babel/plugin-transform-parameters@^7.12.1", "@babel/plugin-transform-parameters@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.7.tgz#a1721f55b99b736511cb7e0152f61f17688f331f" integrity sha512-AT3MufQ7zZEhU2hwOA11axBnExW0Lszu4RL/tAlUJBuNoRak+wehQW8h6KcXOcgjY42fHtDxswuMhMjFEuv/aw== dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-property-literals@^7.12.1", "@babel/plugin-transform-property-literals@^7.16.7", "@babel/plugin-transform-property-literals@^7.2.0": +"@babel/plugin-transform-property-literals@^7.12.1", "@babel/plugin-transform-property-literals@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.7.tgz#2dadac85155436f22c696c4827730e0fe1057a55" integrity sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw== @@ -1109,7 +1078,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-react-display-name@^7.0.0", "@babel/plugin-transform-react-display-name@^7.12.1", "@babel/plugin-transform-react-display-name@^7.16.7": +"@babel/plugin-transform-react-display-name@^7.12.1", "@babel/plugin-transform-react-display-name@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.16.7.tgz#7b6d40d232f4c0f550ea348593db3b21e2404340" integrity sha512-qgIg8BcZgd0G/Cz916D5+9kqX0c7nPZyXaP8R2tLNN5tkyIZdG5fEwBrxwplzSnjC1jvQmyMNVwUCZPcbGY7Pg== @@ -1123,21 +1092,21 @@ dependencies: "@babel/plugin-transform-react-jsx" "^7.16.7" -"@babel/plugin-transform-react-jsx-self@^7.0.0", "@babel/plugin-transform-react-jsx-self@^7.12.1": +"@babel/plugin-transform-react-jsx-self@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.12.1.tgz#ef43cbca2a14f1bd17807dbe4376ff89d714cf28" integrity sha512-FbpL0ieNWiiBB5tCldX17EtXgmzeEZjFrix72rQYeq9X6nUK38HCaxexzVQrZWXanxKJPKVVIU37gFjEQYkPkA== dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-react-jsx-source@^7.0.0", "@babel/plugin-transform-react-jsx-source@^7.12.1": +"@babel/plugin-transform-react-jsx-source@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.12.1.tgz#d07de6863f468da0809edcf79a1aa8ce2a82a26b" integrity sha512-keQ5kBfjJNRc6zZN1/nVHCd6LLIHq4aUKcVnvE/2l+ZZROSbqoiGFRtT5t3Is89XJxBQaP7NLZX2jgGHdZvvFQ== dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-react-jsx@^7.0.0", "@babel/plugin-transform-react-jsx@^7.12.1", "@babel/plugin-transform-react-jsx@^7.12.12", "@babel/plugin-transform-react-jsx@^7.16.7": +"@babel/plugin-transform-react-jsx@^7.12.1", "@babel/plugin-transform-react-jsx@^7.12.12", "@babel/plugin-transform-react-jsx@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.16.7.tgz#86a6a220552afd0e4e1f0388a68a372be7add0d4" integrity sha512-8D16ye66fxiE8m890w0BpPpngG9o9OVBBy0gH2E+2AR7qMR2ZpTYJEqLxAsoroenMId0p/wMW+Blc0meDgu0Ag== @@ -1156,14 +1125,14 @@ "@babel/helper-annotate-as-pure" "^7.16.7" "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-regenerator@^7.12.1", "@babel/plugin-transform-regenerator@^7.16.7", "@babel/plugin-transform-regenerator@^7.4.5": +"@babel/plugin-transform-regenerator@^7.12.1", "@babel/plugin-transform-regenerator@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.16.7.tgz#9e7576dc476cb89ccc5096fff7af659243b4adeb" integrity sha512-mF7jOgGYCkSJagJ6XCujSQg+6xC1M77/03K2oBmVJWoFGNUtnVJO4WHKJk3dnPC8HCcj4xBQP1Egm8DWh3Pb3Q== dependencies: regenerator-transform "^0.14.2" -"@babel/plugin-transform-reserved-words@^7.12.1", "@babel/plugin-transform-reserved-words@^7.16.7", "@babel/plugin-transform-reserved-words@^7.2.0": +"@babel/plugin-transform-reserved-words@^7.12.1", "@babel/plugin-transform-reserved-words@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.16.7.tgz#1d798e078f7c5958eec952059c460b220a63f586" integrity sha512-KQzzDnZ9hWQBjwi5lpY5v9shmm6IVG0U9pB18zvMu2i4H90xpT4gmqwPYsn8rObiadYe2M0gmgsiOIF5A/2rtg== @@ -1180,16 +1149,6 @@ resolve "^1.8.1" semver "^5.5.1" -"@babel/plugin-transform-runtime@7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.2.0.tgz#566bc43f7d0aedc880eaddbd29168d0f248966ea" - integrity sha512-jIgkljDdq4RYDnJyQsiWbdvGeei/0MOTtSHKO/rfbd/mXBxNpdlulMx49L0HQ4pug1fXannxoqCI+fYSle9eSw== - dependencies: - "@babel/helper-module-imports" "^7.0.0" - "@babel/helper-plugin-utils" "^7.0.0" - resolve "^1.8.1" - semver "^5.5.1" - "@babel/plugin-transform-runtime@^7.17.0": version "7.17.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.17.0.tgz#0a2e08b5e2b2d95c4b1d3b3371a2180617455b70" @@ -1202,14 +1161,14 @@ babel-plugin-polyfill-regenerator "^0.3.0" semver "^6.3.0" -"@babel/plugin-transform-shorthand-properties@^7.12.1", "@babel/plugin-transform-shorthand-properties@^7.16.7", "@babel/plugin-transform-shorthand-properties@^7.2.0": +"@babel/plugin-transform-shorthand-properties@^7.12.1", "@babel/plugin-transform-shorthand-properties@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.7.tgz#e8549ae4afcf8382f711794c0c7b6b934c5fbd2a" integrity sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg== dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-spread@^7.12.1", "@babel/plugin-transform-spread@^7.16.7", "@babel/plugin-transform-spread@^7.2.0": +"@babel/plugin-transform-spread@^7.12.1", "@babel/plugin-transform-spread@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.16.7.tgz#a303e2122f9f12e0105daeedd0f30fb197d8ff44" integrity sha512-+pjJpgAngb53L0iaA5gU/1MLXJIfXcYepLgXB3esVRf4fqmj8f2cxM3/FKaHsZms08hFQJkFccEWuIpm429TXg== @@ -1217,21 +1176,21 @@ "@babel/helper-plugin-utils" "^7.16.7" "@babel/helper-skip-transparent-expression-wrappers" "^7.16.0" -"@babel/plugin-transform-sticky-regex@^7.12.1", "@babel/plugin-transform-sticky-regex@^7.16.7", "@babel/plugin-transform-sticky-regex@^7.2.0": +"@babel/plugin-transform-sticky-regex@^7.12.1", "@babel/plugin-transform-sticky-regex@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.7.tgz#c84741d4f4a38072b9a1e2e3fd56d359552e8660" integrity sha512-NJa0Bd/87QV5NZZzTuZG5BPJjLYadeSZ9fO6oOUoL4iQx+9EEuw/eEM92SrsT19Yc2jgB1u1hsjqDtH02c3Drw== dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-template-literals@^7.12.1", "@babel/plugin-transform-template-literals@^7.16.7", "@babel/plugin-transform-template-literals@^7.4.4": +"@babel/plugin-transform-template-literals@^7.12.1", "@babel/plugin-transform-template-literals@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.16.7.tgz#f3d1c45d28967c8e80f53666fc9c3e50618217ab" integrity sha512-VwbkDDUeenlIjmfNeDX/V0aWrQH2QiVyJtwymVQSzItFDTpxfyJh3EVaQiS0rIN/CqbLGr0VcGmuwyTdZtdIsA== dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-typeof-symbol@^7.12.1", "@babel/plugin-transform-typeof-symbol@^7.16.7", "@babel/plugin-transform-typeof-symbol@^7.2.0": +"@babel/plugin-transform-typeof-symbol@^7.12.1", "@babel/plugin-transform-typeof-symbol@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.16.7.tgz#9cdbe622582c21368bd482b660ba87d5545d4f7e" integrity sha512-p2rOixCKRJzpg9JB4gjnG4gjWkWa89ZoYUnl9snJ1cWIcTH/hvxZqfO+WjG6T8DRBpctEol5jw1O5rA8gkCokQ== @@ -1254,7 +1213,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-unicode-regex@^7.12.1", "@babel/plugin-transform-unicode-regex@^7.16.7", "@babel/plugin-transform-unicode-regex@^7.4.4": +"@babel/plugin-transform-unicode-regex@^7.12.1", "@babel/plugin-transform-unicode-regex@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.7.tgz#0f7aa4a501198976e25e82702574c34cfebe9ef2" integrity sha512-oC5tYYKw56HO75KZVLQ+R/Nl3Hro9kf8iG0hXoaHP7tjAyCpvqBiSNe6vGrZni1Z6MggmUOC6A7VP7AVmw225Q== @@ -1334,60 +1293,6 @@ core-js-compat "^3.6.2" semver "^5.5.0" -"@babel/preset-env@7.4.5": - version "7.4.5" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.4.5.tgz#2fad7f62983d5af563b5f3139242755884998a58" - integrity sha512-f2yNVXM+FsR5V8UwcFeIHzHWgnhXg3NpRmy0ADvALpnhB0SLbCvrCRr4BLOUYbQNLS+Z0Yer46x9dJXpXewI7w== - dependencies: - "@babel/helper-module-imports" "^7.0.0" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-proposal-async-generator-functions" "^7.2.0" - "@babel/plugin-proposal-json-strings" "^7.2.0" - "@babel/plugin-proposal-object-rest-spread" "^7.4.4" - "@babel/plugin-proposal-optional-catch-binding" "^7.2.0" - "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" - "@babel/plugin-syntax-async-generators" "^7.2.0" - "@babel/plugin-syntax-json-strings" "^7.2.0" - "@babel/plugin-syntax-object-rest-spread" "^7.2.0" - "@babel/plugin-syntax-optional-catch-binding" "^7.2.0" - "@babel/plugin-transform-arrow-functions" "^7.2.0" - "@babel/plugin-transform-async-to-generator" "^7.4.4" - "@babel/plugin-transform-block-scoped-functions" "^7.2.0" - "@babel/plugin-transform-block-scoping" "^7.4.4" - "@babel/plugin-transform-classes" "^7.4.4" - "@babel/plugin-transform-computed-properties" "^7.2.0" - "@babel/plugin-transform-destructuring" "^7.4.4" - "@babel/plugin-transform-dotall-regex" "^7.4.4" - "@babel/plugin-transform-duplicate-keys" "^7.2.0" - "@babel/plugin-transform-exponentiation-operator" "^7.2.0" - "@babel/plugin-transform-for-of" "^7.4.4" - "@babel/plugin-transform-function-name" "^7.4.4" - "@babel/plugin-transform-literals" "^7.2.0" - "@babel/plugin-transform-member-expression-literals" "^7.2.0" - "@babel/plugin-transform-modules-amd" "^7.2.0" - "@babel/plugin-transform-modules-commonjs" "^7.4.4" - "@babel/plugin-transform-modules-systemjs" "^7.4.4" - "@babel/plugin-transform-modules-umd" "^7.2.0" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.4.5" - "@babel/plugin-transform-new-target" "^7.4.4" - "@babel/plugin-transform-object-super" "^7.2.0" - "@babel/plugin-transform-parameters" "^7.4.4" - "@babel/plugin-transform-property-literals" "^7.2.0" - "@babel/plugin-transform-regenerator" "^7.4.5" - "@babel/plugin-transform-reserved-words" "^7.2.0" - "@babel/plugin-transform-shorthand-properties" "^7.2.0" - "@babel/plugin-transform-spread" "^7.2.0" - "@babel/plugin-transform-sticky-regex" "^7.2.0" - "@babel/plugin-transform-template-literals" "^7.4.4" - "@babel/plugin-transform-typeof-symbol" "^7.2.0" - "@babel/plugin-transform-unicode-regex" "^7.4.4" - "@babel/types" "^7.4.4" - browserslist "^4.6.0" - core-js-compat "^3.1.1" - invariant "^2.2.2" - js-levenshtein "^1.1.3" - semver "^5.5.0" - "@babel/preset-env@^7.11.0", "@babel/preset-env@^7.12.1", "@babel/preset-env@^7.12.11", "@babel/preset-env@^7.14.7", "@babel/preset-env@^7.15.6", "@babel/preset-env@^7.16.11", "@babel/preset-env@^7.8.4": version "7.16.11" resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.16.11.tgz#5dd88fd885fae36f88fd7c8342475c9f0abe2982" @@ -1487,17 +1392,6 @@ "@babel/types" "^7.4.4" esutils "^2.0.2" -"@babel/preset-react@7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.0.0.tgz#e86b4b3d99433c7b3e9e91747e2653958bc6b3c0" - integrity sha512-oayxyPS4Zj+hF6Et11BwuBkmpgT/zMxyuZgFrMeZID6Hdh3dGlk4sHCAhdBCpuCKW2ppBfl2uCCetlrUIJRY3w== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-transform-react-display-name" "^7.0.0" - "@babel/plugin-transform-react-jsx" "^7.0.0" - "@babel/plugin-transform-react-jsx-self" "^7.0.0" - "@babel/plugin-transform-react-jsx-source" "^7.0.0" - "@babel/preset-react@7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.12.1.tgz#7f022b13f55b6dd82f00f16d1c599ae62985358c" @@ -1566,13 +1460,6 @@ dependencies: regenerator-runtime "^0.13.4" -"@babel/runtime@7.3.1": - version "7.3.1" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.3.1.tgz#574b03e8e8a9898eaf4a872a92ea20b7846f6f2a" - integrity sha512-7jGW8ppV0ant637pIqAcFfQDDH1orEPGJb8aXfUozuCU3QqX7rX4DA8iwrbPrR1hcH0FTTHz47yQnk+bl5xHQA== - dependencies: - regenerator-runtime "^0.12.0" - "@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.10.3", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.0", "@babel/runtime@^7.12.1", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.13.10", "@babel/runtime@^7.13.17", "@babel/runtime@^7.17.2", "@babel/runtime@^7.3.1", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.2", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2": version "7.17.2" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.2.tgz#66f68591605e59da47523c631416b18508779941" @@ -1580,7 +1467,7 @@ dependencies: regenerator-runtime "^0.13.4" -"@babel/template@^7.10.4", "@babel/template@^7.12.7", "@babel/template@^7.16.7", "@babel/template@^7.3.3", "@babel/template@^7.4.4": +"@babel/template@^7.10.4", "@babel/template@^7.12.7", "@babel/template@^7.16.7", "@babel/template@^7.3.3": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.16.7.tgz#8d126c8701fde4d66b264b3eba3d96f07666d155" integrity sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w== @@ -1589,7 +1476,7 @@ "@babel/parser" "^7.16.7" "@babel/types" "^7.16.7" -"@babel/traverse@^7.1.0", "@babel/traverse@^7.1.6", "@babel/traverse@^7.12.1", "@babel/traverse@^7.12.11", "@babel/traverse@^7.12.9", "@babel/traverse@^7.13.0", "@babel/traverse@^7.16.7", "@babel/traverse@^7.16.8", "@babel/traverse@^7.17.0", "@babel/traverse@^7.17.3", "@babel/traverse@^7.4.5", "@babel/traverse@^7.7.0", "@babel/traverse@^7.7.2": +"@babel/traverse@^7.1.0", "@babel/traverse@^7.1.6", "@babel/traverse@^7.12.1", "@babel/traverse@^7.12.11", "@babel/traverse@^7.12.9", "@babel/traverse@^7.13.0", "@babel/traverse@^7.16.7", "@babel/traverse@^7.16.8", "@babel/traverse@^7.17.0", "@babel/traverse@^7.17.3", "@babel/traverse@^7.7.0", "@babel/traverse@^7.7.2": version "7.17.3" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.17.3.tgz#0ae0f15b27d9a92ba1f2263358ea7c4e7db47b57" integrity sha512-5irClVky7TxRWIRtxlh2WPUUOLhcPN06AGgaQSB8AEwuyEBgJVuJ5imdHm5zxk8w0QS5T+tDfnDxAlhWjpb7cw== @@ -1621,6 +1508,49 @@ "@babel/helper-validator-identifier" "^7.16.7" to-fast-properties "^2.0.0" +"@badeball/cypress-configuration@^6.1.0": + version "6.1.1" + resolved "https://registry.yarnpkg.com/@badeball/cypress-configuration/-/cypress-configuration-6.1.1.tgz#9772173061d2c71c0e79823a5312ec43651f98cb" + integrity sha512-0IcJFMiCRo33Ofrvxxojt5QRJWyxApymHuuy981FeXnOGz4UsWKgr/hRupeXkw2cKXvah+j+880kXliygxPOSQ== + dependencies: + "@babel/parser" "^7.18.8" + debug "^4.3.2" + esbuild "^0.19.4" + glob "^7.1.6" + minimatch "^3.0.4" + node-hook "^1.0.0" + +"@badeball/cypress-cucumber-preprocessor@^20.0.2": + version "20.0.2" + resolved "https://registry.yarnpkg.com/@badeball/cypress-cucumber-preprocessor/-/cypress-cucumber-preprocessor-20.0.2.tgz#e8d57b71e950d4e01a40d3562992014125ea7f41" + integrity sha512-Ty5CXJxtB/TVC4jbhYTfR3oUsX8QFcGCQbFhCtk+xlyfL1eI8cgF7BXEQdCa5Qa3lf44EUKeI++xsd3NI5tWTQ== + dependencies: + "@badeball/cypress-configuration" "^6.1.0" + "@cucumber/ci-environment" "^10.0.0" + "@cucumber/cucumber" "^10.0.0" + "@cucumber/cucumber-expressions" "^17.0.0" + "@cucumber/gherkin" "^27.0.0" + "@cucumber/html-formatter" "^20.4.0" + "@cucumber/message-streams" "^4.0.1" + "@cucumber/messages" "^22.0.0" + "@cucumber/pretty-formatter" "^1.0.0" + "@cucumber/tag-expressions" "^6.0.0" + base64-js "^1.5.1" + chalk "^4.1.2" + cli-table "^0.3.11" + common-ancestor-path "^1.0.1" + cosmiconfig "^8.3.6" + debug "^4.3.4" + error-stack-parser "^2.1.4" + esbuild "^0.19.4" + glob "^10.3.10" + is-path-inside "^3.0.3" + mocha "^10.2.0" + seedrandom "^3.0.5" + source-map "^0.7.4" + split "^1.0.1" + uuid "^9.0.1" + "@base2/pretty-print-object@1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@base2/pretty-print-object/-/pretty-print-object-1.0.0.tgz#860ce718b0b73f4009e153541faff2cb6b85d047" @@ -1796,34 +1726,164 @@ resolved "https://registry.yarnpkg.com/@csstools/normalize.css/-/normalize.css-10.1.0.tgz#f0950bba18819512d42f7197e56c518aa491cf18" integrity sha512-ij4wRiunFfaJxjB0BdrYHIH8FxBJpOwNPhhAcunlmPdXudL1WQV1qoP9un6JsEBAgQH+7UXyyjh0g7jTxXK6tg== -"@cypress/browserify-preprocessor@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@cypress/browserify-preprocessor/-/browserify-preprocessor-3.0.1.tgz#ab86335b0c061d11f5ad7df03f06b1877b836f71" - integrity sha512-sErmFSEr5287bLMRl0POGnyFtJCs/lSk5yxrUIJUIHZ8eDvtTEr0V93xRgLjJVG54gJU4MbpHy1mRPA9VZbtQA== - dependencies: - "@babel/core" "7.4.5" - "@babel/plugin-proposal-class-properties" "7.3.0" - "@babel/plugin-proposal-object-rest-spread" "7.3.2" - "@babel/plugin-transform-runtime" "7.2.0" - "@babel/preset-env" "7.4.5" - "@babel/preset-react" "7.0.0" - "@babel/runtime" "7.3.1" - babel-plugin-add-module-exports "1.0.2" - babelify "10.0.0" - bluebird "3.5.3" - browserify "16.2.3" - coffeeify "3.0.1" - coffeescript "1.12.7" - debug "4.1.1" - fs-extra "9.0.0" - lodash.clonedeep "4.5.0" - through2 "^2.0.0" - watchify "3.11.1" +"@cucumber/ci-environment@10.0.0": + version "10.0.0" + resolved "https://registry.yarnpkg.com/@cucumber/ci-environment/-/ci-environment-10.0.0.tgz#1ad66cc20cad9aefcfe92f4db3553680de2dd365" + integrity sha512-lRkiehckosIOdc7p1L44nZsttO5dVHFjpwKKWZ07x8SeoAdV/sPuGe1PISe0AmAowFGza62nMOgG4KaroGzwFQ== + +"@cucumber/ci-environment@^10.0.0": + version "10.0.1" + resolved "https://registry.yarnpkg.com/@cucumber/ci-environment/-/ci-environment-10.0.1.tgz#c8584f1d4a619e4318cf60c01b838db096d72ccd" + integrity sha512-/+ooDMPtKSmvcPMDYnMZt4LuoipfFfHaYspStI4shqw8FyKcfQAmekz6G+QKWjQQrvM+7Hkljwx58MEwPCwwzg== + +"@cucumber/cucumber-expressions@17.0.1": + version "17.0.1" + resolved "https://registry.yarnpkg.com/@cucumber/cucumber-expressions/-/cucumber-expressions-17.0.1.tgz#d41a7fe298740badc22c02d424092223c5b5f6a1" + integrity sha512-reR7/sNRmDWgdz8BtFuHEwpksPnAkHty7gxUC2n0iaUPmckv9G5I5i+Vonc6xwUHDb/hmHPz/DyUL+Iv4Ao96w== + dependencies: + regexp-match-indices "1.0.2" + +"@cucumber/cucumber-expressions@^17.0.0": + version "17.0.2" + resolved "https://registry.yarnpkg.com/@cucumber/cucumber-expressions/-/cucumber-expressions-17.0.2.tgz#72e3e8c80f1e6af15f4904a972f55359f99fd0b3" + integrity sha512-O+T4xKtXJSvraqFX0vOB6OdVGm2lJAWUnwPoEJv6bkX//aRCHG9cOOfgXfIYfdTccE2csHM20+khFUmw+hO71g== + dependencies: + regexp-match-indices "1.0.2" + +"@cucumber/cucumber@^10.0.0": + version "10.3.1" + resolved "https://registry.yarnpkg.com/@cucumber/cucumber/-/cucumber-10.3.1.tgz#5996b0e19886d075b199a255a9d390e569b6ffc8" + integrity sha512-0H0NkOXcYTCG1qCh3o0p1HPSMODGJmlHi1rm5yfoiMx5tJbBjxVNI2VVD2xtPWA+D6ehHQD9asewuzjMXrbPIw== + dependencies: + "@cucumber/ci-environment" "10.0.0" + "@cucumber/cucumber-expressions" "17.0.1" + "@cucumber/gherkin" "27.0.0" + "@cucumber/gherkin-streams" "5.0.1" + "@cucumber/gherkin-utils" "8.0.5" + "@cucumber/html-formatter" "21.2.0" + "@cucumber/message-streams" "4.0.1" + "@cucumber/messages" "24.0.1" + "@cucumber/tag-expressions" "6.1.0" + assertion-error-formatter "^3.0.0" + capital-case "^1.0.4" + chalk "^4.1.2" + cli-table3 "0.6.3" + commander "^10.0.0" + debug "^4.3.4" + error-stack-parser "^2.1.4" + figures "^3.2.0" + glob "^10.3.10" + has-ansi "^4.0.1" + indent-string "^4.0.0" + is-installed-globally "^0.4.0" + is-stream "^2.0.0" + knuth-shuffle-seeded "^1.0.6" + lodash.merge "^4.6.2" + lodash.mergewith "^4.6.2" + luxon "3.2.1" + mkdirp "^2.1.5" + mz "^2.7.0" + progress "^2.0.3" + read-pkg-up "^7.0.1" + resolve-pkg "^2.0.0" + semver "7.5.3" + string-argv "0.3.1" + strip-ansi "6.0.1" + supports-color "^8.1.1" + tmp "^0.2.1" + type-fest "^4.8.3" + util-arity "^1.1.0" + xmlbuilder "^15.1.1" + yaml "^2.2.2" + yup "1.2.0" + +"@cucumber/gherkin-streams@5.0.1": + version "5.0.1" + resolved "https://registry.yarnpkg.com/@cucumber/gherkin-streams/-/gherkin-streams-5.0.1.tgz#8c2142d295cd05644456be7282b4bd756c95c4cd" + integrity sha512-/7VkIE/ASxIP/jd4Crlp4JHXqdNFxPGQokqWqsaCCiqBiu5qHoKMxcWNlp9njVL/n9yN4S08OmY3ZR8uC5x74Q== + dependencies: + commander "9.1.0" + source-map-support "0.5.21" + +"@cucumber/gherkin-utils@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@cucumber/gherkin-utils/-/gherkin-utils-8.0.5.tgz#28042173cf7009cd9607c9104962133b1c927e24" + integrity sha512-kxM1OCDjYddF26VKc892PF0GokW4wUIl1PUz3TIXsPZgS39ExM1pF8oww8mlGFD2B0+4op/cSE3SSIME5H3aNw== + dependencies: + "@cucumber/gherkin" "^26.0.0" + "@cucumber/messages" "^22.0.0" + "@teppeis/multimaps" "3.0.0" + commander "10.0.1" + source-map-support "^0.5.21" + +"@cucumber/gherkin@27.0.0", "@cucumber/gherkin@^27.0.0": + version "27.0.0" + resolved "https://registry.yarnpkg.com/@cucumber/gherkin/-/gherkin-27.0.0.tgz#792b7c1b9eb91dd6fba5aca889ac27a6ceaaf794" + integrity sha512-j5rCsjqzRiC3iVTier3sa0kzyNbkcAmF7xr7jKnyO7qDeK3Z8Ye1P3KSVpeQRMY+KCDJ3WbTDdyxH0FwfA/fIw== + dependencies: + "@cucumber/messages" ">=19.1.4 <=22" + +"@cucumber/gherkin@^26.0.0": + version "26.2.0" + resolved "https://registry.yarnpkg.com/@cucumber/gherkin/-/gherkin-26.2.0.tgz#256129ef5e4d1cba87a673ce78d7296809d1e4c9" + integrity sha512-iRSiK8YAIHAmLrn/mUfpAx7OXZ7LyNlh1zT89RoziSVCbqSVDxJS6ckEzW8loxs+EEXl0dKPQOXiDmbHV+C/fA== + dependencies: + "@cucumber/messages" ">=19.1.4 <=22" + +"@cucumber/html-formatter@21.2.0": + version "21.2.0" + resolved "https://registry.yarnpkg.com/@cucumber/html-formatter/-/html-formatter-21.2.0.tgz#bb66e34a556959b178ffa4de7508a01cb79eb262" + integrity sha512-4OcSa12Y0v5e4ySDl67+QFTxCG/Y9fxGSkFqvm98ggpTvS7b75whwzupu+lM2lMBw+h3H6P8ZURQr0xQIAwE2A== + +"@cucumber/html-formatter@^20.4.0": + version "20.4.0" + resolved "https://registry.yarnpkg.com/@cucumber/html-formatter/-/html-formatter-20.4.0.tgz#ac3d24ed6c6127b07024f5bf869836e6ec7265db" + integrity sha512-TnLSXC5eJd8AXHENo69f5z+SixEVtQIf7Q2dZuTpT/Y8AOkilGpGl1MQR1Vp59JIw+fF3EQSUKdf+DAThCxUNg== + +"@cucumber/message-streams@4.0.1", "@cucumber/message-streams@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@cucumber/message-streams/-/message-streams-4.0.1.tgz#a5339d3504594bb2edb5732aaae94dddb24d0970" + integrity sha512-Kxap9uP5jD8tHUZVjTWgzxemi/0uOsbGjd4LBOSxcJoOCRbESFwemUzilJuzNTB8pcTQUh8D5oudUyxfkJOKmA== + +"@cucumber/messages@24.0.1": + version "24.0.1" + resolved "https://registry.yarnpkg.com/@cucumber/messages/-/messages-24.0.1.tgz#b13646c41d6d64f9af1c1a79acbc0160d796ed9c" + integrity sha512-dKfNkvgc6stSQIyeHk7p/221iqEZe1BP+e/Js8XKtSmc0sS8khKMvbSBwYVeonn/67/vYKiAyo6Eo0SzXd5Plw== + dependencies: + "@types/uuid" "9.0.7" + class-transformer "0.5.1" + reflect-metadata "0.2.1" + uuid "9.0.1" + +"@cucumber/messages@>=19.1.4 <=22", "@cucumber/messages@^22.0.0": + version "22.0.0" + resolved "https://registry.yarnpkg.com/@cucumber/messages/-/messages-22.0.0.tgz#2d86974ebd73046f66d217334c2245365c7990d4" + integrity sha512-EuaUtYte9ilkxcKmfqGF9pJsHRUU0jwie5ukuZ/1NPTuHS1LxHPsGEODK17RPRbZHOFhqybNzG2rHAwThxEymg== + dependencies: + "@types/uuid" "9.0.1" + class-transformer "0.5.1" + reflect-metadata "0.1.13" + uuid "9.0.0" + +"@cucumber/pretty-formatter@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@cucumber/pretty-formatter/-/pretty-formatter-1.0.0.tgz#911014c8fb7472a4c54d00e60e819a7200fd9da3" + integrity sha512-wcnIMN94HyaHGsfq72dgCvr1d8q6VGH4Y6Gl5weJ2TNZw1qn2UY85Iki4c9VdaLUONYnyYH3+178YB+9RFe/Hw== + dependencies: + ansi-styles "^5.0.0" + cli-table3 "^0.6.0" + figures "^3.2.0" + ts-dedent "^2.0.0" + +"@cucumber/tag-expressions@6.1.0", "@cucumber/tag-expressions@^6.0.0": + version "6.1.0" + resolved "https://registry.yarnpkg.com/@cucumber/tag-expressions/-/tag-expressions-6.1.0.tgz#cb7af908bdb43669b7574c606f71fa707196e962" + integrity sha512-+3DwRumrCJG27AtzCIL37A/X+A/gSfxOPLg8pZaruh5SLumsTmpvilwroVWBT2fPzmno/tGXypeK5a7NHU4RzA== -"@cypress/request@^2.88.10", "@cypress/request@^2.88.5": - version "2.88.10" - resolved "https://registry.yarnpkg.com/@cypress/request/-/request-2.88.10.tgz#b66d76b07f860d3a4b8d7a0604d020c662752cce" - integrity sha512-Zp7F+R93N0yZyG34GutyTNr+okam7s/Fzc1+i3kcqOP8vk6OuajuE9qZJ6Rs+10/1JFtXFYMdyarnU1rZuJesg== +"@cypress/request@2.88.12": + version "2.88.12" + resolved "https://registry.yarnpkg.com/@cypress/request/-/request-2.88.12.tgz#ba4911431738494a85e93fb04498cb38bc55d590" + integrity sha512-tOn+0mDZxASFM+cuAP9szGUGPI1HwWVSvdzm7V4cCsPdFTx6qMj29CwaQmRAMIEhORIUBFBsYROYJcveK4uOjA== dependencies: aws-sign2 "~0.7.0" aws4 "^1.8.0" @@ -1838,12 +1898,21 @@ json-stringify-safe "~5.0.1" mime-types "~2.1.19" performance-now "^2.1.0" - qs "~6.5.2" + qs "~6.10.3" safe-buffer "^5.1.2" - tough-cookie "~2.5.0" + tough-cookie "^4.1.3" tunnel-agent "^0.6.0" uuid "^8.3.2" +"@cypress/webpack-preprocessor@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@cypress/webpack-preprocessor/-/webpack-preprocessor-6.0.1.tgz#5369527c063b2f4718a125ddbd163c5775086e06" + integrity sha512-WVNeFVSnFKxE3WZNRIriduTgqJRpevaiJIPlfqYTTzfXRD7X1Pv4woDE+G4caPV9bJqVKmVFiwzrXMRNeJxpxA== + dependencies: + bluebird "3.7.1" + debug "^4.3.4" + lodash "^4.17.20" + "@cypress/xvfb@^1.2.4": version "1.2.4" resolved "https://registry.yarnpkg.com/@cypress/xvfb/-/xvfb-1.2.4.tgz#2daf42e8275b39f4aa53c14214e557bd14e7748a" @@ -2471,21 +2540,6 @@ update-notifier "^3.0.0" yargs "^13.1.0" -"@dhis2/cli-helpers-engine@^2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@dhis2/cli-helpers-engine/-/cli-helpers-engine-2.3.0.tgz#040cb9b2352fa618d9648a06226347f07ad9d15b" - integrity sha512-i46Q5mC+vNPdImut7GcfpNf2VSg3EWlL7CFTYTfJtjGrIj77mvNkR9lTSz51ZKCQgdSgTMhpcraI0TjW7RZvWw== - dependencies: - chalk "^3.0.0" - cross-spawn "^7.0.3" - find-up "^5.0.0" - fs-extra "^8.0.1" - inquirer "^7.3.3" - request "^2.88.0" - tar "^4.4.8" - update-notifier "^3.0.0" - yargs "^13.1.0" - "@dhis2/cli-helpers-engine@^3.0.0": version "3.0.0" resolved "https://registry.yarnpkg.com/@dhis2/cli-helpers-engine/-/cli-helpers-engine-3.0.0.tgz#dacddea16de7e5e60280aefbee2e5661795b78b3" @@ -2535,17 +2589,6 @@ semver "^7.3.5" yargs "^16.2.0" -"@dhis2/cli-utils-cypress@^8.0.3": - version "8.0.3" - resolved "https://registry.yarnpkg.com/@dhis2/cli-utils-cypress/-/cli-utils-cypress-8.0.3.tgz#ca70b4fb6cc54ab715bec8b5b799f84c3188ce34" - integrity sha512-AZ42yCs1kW5+SjjETv6C4u2fXmotafnSfZVPXUQdutWehZVWS9OjAg0BzQ5FcJYvo1c+J36s/J6xnNSBkJn43g== - dependencies: - "@dhis2/cli-helpers-engine" "^2.3.0" - cypress "^7.4.0" - cypress-cucumber-preprocessor "^2.0.1" - fs-extra "^8.1.0" - jscodeshift "^0.11.0" - "@dhis2/cli-utils-docsite@^3.1.2": version "3.1.2" resolved "https://registry.yarnpkg.com/@dhis2/cli-utils-docsite/-/cli-utils-docsite-3.1.2.tgz#ee67683b1611ae684cd6ab2f29a61b5fd1f2d31a" @@ -2566,17 +2609,17 @@ react-docgen "^6.0.0-alpha.0" url-join "^4.0.1" -"@dhis2/cypress-commands@^9.0.2": - version "9.0.2" - resolved "https://registry.yarnpkg.com/@dhis2/cypress-commands/-/cypress-commands-9.0.2.tgz#676870ccb2d5fe3811d5f480c7edf2f0b8507255" - integrity sha512-G6H9bOpjxqa2X+pc5vJqiwZLp+8utuac/BMRehb/8T6CeIWF4r6keCTq9HTof47szC+06JbsB2ZiviInmZGXJA== +"@dhis2/cypress-commands@^10.0.3": + version "10.0.3" + resolved "https://registry.yarnpkg.com/@dhis2/cypress-commands/-/cypress-commands-10.0.3.tgz#dae315cc839ff57965f307c2d2d34277c19592d4" + integrity sha512-K+GJtnzZGg62Qe67d/5Fl662s5VXnvhB55TTDoTcL/7Euawxyo1FC7ZrLXJExM2C1z0ic5WfZ7MH6EUsS6OfqQ== dependencies: jscodeshift "^0.11.0" -"@dhis2/cypress-plugins@^9.0.2": - version "9.0.2" - resolved "https://registry.yarnpkg.com/@dhis2/cypress-plugins/-/cypress-plugins-9.0.2.tgz#6cbd58b2ce26a08e70045b81835504cd9ef6d8c9" - integrity sha512-FhHW5+8HBKIJwAl5fEv6lapTo76LLR9LtoS8iy4crc5RZnHlWgVqXeqG1sBFix93yd8nCFfYvOIP8+Y+x9mi5A== +"@dhis2/cypress-plugins@^10.0.3": + version "10.0.3" + resolved "https://registry.yarnpkg.com/@dhis2/cypress-plugins/-/cypress-plugins-10.0.3.tgz#83403aca333e2b356f7ea92c272d3ca00d00276d" + integrity sha512-MYIkWI/kCR4hoqvD+spmbXcdoNL/EFX3HZuyRCGUErj5ChJmyWX7jQtDq/twd7GFRma0IqwTtOwaiKAxLRv/Nw== "@dhis2/d2-i18n@^1.1.0": version "1.1.0" @@ -3190,6 +3233,121 @@ resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz#8eed982e2ee6f7f4e44c253e12962980791efd46" integrity sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA== +"@esbuild/aix-ppc64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.19.12.tgz#d1bc06aedb6936b3b6d313bf809a5a40387d2b7f" + integrity sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA== + +"@esbuild/android-arm64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.19.12.tgz#7ad65a36cfdb7e0d429c353e00f680d737c2aed4" + integrity sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA== + +"@esbuild/android-arm@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.19.12.tgz#b0c26536f37776162ca8bde25e42040c203f2824" + integrity sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w== + +"@esbuild/android-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.19.12.tgz#cb13e2211282012194d89bf3bfe7721273473b3d" + integrity sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew== + +"@esbuild/darwin-arm64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.19.12.tgz#cbee41e988020d4b516e9d9e44dd29200996275e" + integrity sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g== + +"@esbuild/darwin-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.19.12.tgz#e37d9633246d52aecf491ee916ece709f9d5f4cd" + integrity sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A== + +"@esbuild/freebsd-arm64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.12.tgz#1ee4d8b682ed363b08af74d1ea2b2b4dbba76487" + integrity sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA== + +"@esbuild/freebsd-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.19.12.tgz#37a693553d42ff77cd7126764b535fb6cc28a11c" + integrity sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg== + +"@esbuild/linux-arm64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.19.12.tgz#be9b145985ec6c57470e0e051d887b09dddb2d4b" + integrity sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA== + +"@esbuild/linux-arm@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.19.12.tgz#207ecd982a8db95f7b5279207d0ff2331acf5eef" + integrity sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w== + +"@esbuild/linux-ia32@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.19.12.tgz#d0d86b5ca1562523dc284a6723293a52d5860601" + integrity sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA== + +"@esbuild/linux-loong64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.19.12.tgz#9a37f87fec4b8408e682b528391fa22afd952299" + integrity sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA== + +"@esbuild/linux-mips64el@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.19.12.tgz#4ddebd4e6eeba20b509d8e74c8e30d8ace0b89ec" + integrity sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w== + +"@esbuild/linux-ppc64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.19.12.tgz#adb67dadb73656849f63cd522f5ecb351dd8dee8" + integrity sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg== + +"@esbuild/linux-riscv64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.19.12.tgz#11bc0698bf0a2abf8727f1c7ace2112612c15adf" + integrity sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg== + +"@esbuild/linux-s390x@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.19.12.tgz#e86fb8ffba7c5c92ba91fc3b27ed5a70196c3cc8" + integrity sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg== + +"@esbuild/linux-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.19.12.tgz#5f37cfdc705aea687dfe5dfbec086a05acfe9c78" + integrity sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg== + +"@esbuild/netbsd-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.19.12.tgz#29da566a75324e0d0dd7e47519ba2f7ef168657b" + integrity sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA== + +"@esbuild/openbsd-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.19.12.tgz#306c0acbdb5a99c95be98bdd1d47c916e7dc3ff0" + integrity sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw== + +"@esbuild/sunos-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.19.12.tgz#0933eaab9af8b9b2c930236f62aae3fc593faf30" + integrity sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA== + +"@esbuild/win32-arm64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.19.12.tgz#773bdbaa1971b36db2f6560088639ccd1e6773ae" + integrity sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A== + +"@esbuild/win32-ia32@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.19.12.tgz#000516cad06354cc84a73f0943a4aa690ef6fd67" + integrity sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ== + +"@esbuild/win32-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.19.12.tgz#c57c8afbb4054a3ab8317591a0b7320360b444ae" + integrity sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA== + "@eslint/eslintrc@^0.4.3": version "0.4.3" resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.3.tgz#9e42981ef035beb3dd49add17acb96e8ff6f394c" @@ -3268,6 +3426,18 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== +"@isaacs/cliui@^8.0.2": + version "8.0.2" + resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" + integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== + dependencies: + string-width "^5.1.2" + string-width-cjs "npm:string-width@^4.2.0" + strip-ansi "^7.0.1" + strip-ansi-cjs "npm:strip-ansi@^6.0.1" + wrap-ansi "^8.1.0" + wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" + "@istanbuljs/load-nyc-config@^1.0.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" @@ -3787,6 +3957,11 @@ dependencies: mkdirp "^1.0.4" +"@pkgjs/parseargs@^0.11.0": + version "0.11.0" + resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" + integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== + "@pmmmwh/react-refresh-webpack-plugin@0.4.3", "@pmmmwh/react-refresh-webpack-plugin@^0.4.3": version "0.4.3" resolved "https://registry.yarnpkg.com/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.4.3.tgz#1eec460596d200c0236bf195b078a5d1df89b766" @@ -4979,6 +5154,11 @@ dependencies: defer-to-connect "^1.0.1" +"@teppeis/multimaps@3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@teppeis/multimaps/-/multimaps-3.0.0.tgz#bb9c3f8d569f589e548586fa0bbf423010ddfdc5" + integrity sha512-ID7fosbc50TbT0MK0EG12O+gAP3W3Aa/Pz4DaTtQtEvlc9Odaqi0de+xuZ7Li2GtK4HzEX7IuRWS/JmZLksR3Q== + "@testing-library/dom@^8.0.0": version "8.11.0" resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-8.11.0.tgz#3679dfb4db58e0d2b95e4b0929eaf45237b60d94" @@ -5324,11 +5504,16 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.11.tgz#980832cd56efafff8c18aa148c4085eb02a483f4" integrity sha512-gema+apZ6qLQK7k7F0dGkGCWQYsL0qqKORWOQO6tq46q+x+1C0vbOiOqOwRVlh4RAdbQwV/j/ryr3u5NOG1fPQ== -"@types/node@^14.0.10", "@types/node@^14.14.31": +"@types/node@^14.0.10": version "14.17.2" resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.2.tgz#1e94476db57ec93a372c7f7d29aa5707cfb92339" integrity sha512-sld7b/xmFum66AAKuz/rp/CUO8+98fMpyQ3SBfzzBNGMd/1iHBTAg9oyAvcYlAj46bpc74r91jSw2iFdnx29nw== +"@types/node@^16.18.39": + version "16.18.91" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.91.tgz#3e7b3b3d28f740e3e2d4ceb7ad9d16e6b9277c91" + integrity sha512-h8Q4klc8xzc9kJKr7UYNtJde5TU2qEePVyH3WyzJaUC+3ptyc5kPQbWOIUcn8ZsG5+KSkq+P0py0kC0VqxgAXw== + "@types/normalize-package-data@^2.4.0": version "2.4.0" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" @@ -5508,11 +5693,6 @@ resolved "https://registry.yarnpkg.com/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.1.tgz#b49c2c70150141a15e0fa7e79cf1f92a72934ce3" integrity sha512-0kSuKjAS0TrGLJ0M/+8MaFkGsQhZpB6pxOmvS3K8FYI72K//YmdfoW9X2qPsAKh1mkwxGD5zib9s1FIFed6E8g== -"@types/sinonjs__fake-timers@^6.0.2": - version "6.0.4" - resolved "https://registry.yarnpkg.com/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-6.0.4.tgz#0ecc1b9259b76598ef01942f547904ce61a6a77d" - integrity sha512-IFQTJARgMUBF+xVd2b+hIgXWrZEjND3vJtRCvIelcFB5SIXfjV4bOHbHJ0eXKh+0COrBRc8MqteKAz/j88rE0A== - "@types/sizzle@^2.3.2": version "2.3.2" resolved "https://registry.yarnpkg.com/@types/sizzle/-/sizzle-2.3.2.tgz#a811b8c18e2babab7d542b3365887ae2e4d9de47" @@ -5564,6 +5744,16 @@ resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.3.tgz#9c088679876f374eb5983f150d4787aa6fb32d7e" integrity sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ== +"@types/uuid@9.0.1": + version "9.0.1" + resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-9.0.1.tgz#98586dc36aee8dacc98cc396dbca8d0429647aa6" + integrity sha512-rFT3ak0/2trgvp4yYZo5iKFEPsET7vKydKF+VRCxlQ9bpheehyAJH89dAkaLEq/j/RZXJIqcgsmPJKUP1Z28HA== + +"@types/uuid@9.0.7": + version "9.0.7" + resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-9.0.7.tgz#b14cebc75455eeeb160d5fe23c2fcc0c64f724d8" + integrity sha512-WUtIVRUZ9i5dYXefDEAI7sh9/O7jGvHg7Df/5O/gtH3Yabe5odI3UWopVR1qbPXQtvOxWu3mM4XxlYeZtMWF4g== + "@types/webpack-env@^1.16.0": version "1.16.0" resolved "https://registry.yarnpkg.com/@types/webpack-env/-/webpack-env-1.16.0.tgz#8c0a9435dfa7b3b1be76562f3070efb3f92637b4" @@ -6006,7 +6196,7 @@ resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== -JSONStream@^1.0.3, JSONStream@^1.0.4: +JSONStream@^1.0.4: version "1.3.5" resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ== @@ -6082,15 +6272,6 @@ acorn-logical-assignment@^0.1.0: resolved "https://registry.yarnpkg.com/acorn-logical-assignment/-/acorn-logical-assignment-0.1.4.tgz#1a143a21f022e1707b2bc82f587ae2943f0a570e" integrity sha512-SeqO1iRtc/NeXo4bTkyK0hN0CIoKi/FQMN1NqhTr5UxqEn4p2wKNTZl+xzvU7i2u/k0f66YR7pNPi2ckPwYubg== -acorn-node@^1.2.0, acorn-node@^1.3.0, acorn-node@^1.5.2, acorn-node@^1.6.1: - version "1.8.2" - resolved "https://registry.yarnpkg.com/acorn-node/-/acorn-node-1.8.2.tgz#114c95d64539e53dede23de8b9d96df7c7ae2af8" - integrity sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A== - dependencies: - acorn "^7.0.0" - acorn-walk "^7.0.0" - xtend "^4.0.2" - acorn-numeric-separator@^0.3.0: version "0.3.6" resolved "https://registry.yarnpkg.com/acorn-numeric-separator/-/acorn-numeric-separator-0.3.6.tgz#af7f0abaf8e74bd9ca1117602954d0a3b75804f3" @@ -6135,7 +6316,7 @@ acorn-walk@^6.0.0: resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-6.2.0.tgz#123cb8f3b84c2171f1f7fb252615b1c78a6b1a8c" integrity sha512-7evsyfH1cLOCdAzZAd43Cic04yKydNx0cF+7tiA19p1XnLLPU4dpCQOqpjqwokFe//vS0QqfqqjCS2JkiIs0cA== -acorn-walk@^7.0.0, acorn-walk@^7.1.1, acorn-walk@^7.2.0: +acorn-walk@^7.1.1, acorn-walk@^7.2.0: version "7.2.0" resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== @@ -6150,7 +6331,7 @@ acorn@^6.0.0, acorn@^6.4.1: resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.2.tgz#35866fd710528e92de10cf06016498e47e39e1e6" integrity sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ== -acorn@^7.0.0, acorn@^7.1.0, acorn@^7.1.1, acorn@^7.4.0, acorn@^7.4.1: +acorn@^7.1.0, acorn@^7.1.1, acorn@^7.4.0, acorn@^7.4.1: version "7.4.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== @@ -6309,16 +6490,16 @@ ansi-align@^3.0.0, ansi-align@^3.0.1: dependencies: string-width "^4.1.0" +ansi-colors@4.1.1, ansi-colors@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" + integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA== + ansi-colors@^3.0.0: version "3.2.4" resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf" integrity sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA== -ansi-colors@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" - integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA== - ansi-escape-sequences@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/ansi-escape-sequences/-/ansi-escape-sequences-4.1.0.tgz#2483c8773f50dd9174dd9557e92b1718f1816097" @@ -6407,7 +6588,7 @@ ansi-to-html@^0.6.11: any-promise@^1.0.0: version "1.3.0" resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" - integrity sha1-q8av7tzqUugJzcA3au0845Y10X8= + integrity sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A== anymatch@^2.0.0: version "2.0.0" @@ -6714,7 +6895,7 @@ assert-plus@1.0.0, assert-plus@^1.0.0: resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU= -assert@^1.1.1, assert@^1.4.0: +assert@^1.1.1: version "1.5.0" resolved "https://registry.yarnpkg.com/assert/-/assert-1.5.0.tgz#55c109aaf6e0aefdb3dc4b71240c70bf574b18eb" integrity sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA== @@ -6722,20 +6903,15 @@ assert@^1.1.1, assert@^1.4.0: object-assign "^4.1.1" util "0.10.3" -assertion-error-formatter@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/assertion-error-formatter/-/assertion-error-formatter-2.0.1.tgz#6bbdffaec8e2fa9e2b0eb158bfe353132d7c0a9b" - integrity sha512-cjC3jUCh9spkroKue5PDSKH5RFQ/KNuZJhk3GwHYmB/8qqETxLOmMdLH+ohi/VukNzxDlMvIe7zScvLoOdhb6Q== +assertion-error-formatter@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/assertion-error-formatter/-/assertion-error-formatter-3.0.0.tgz#be9c8825dee6a8a6c72183d915912d9b57d5d265" + integrity sha512-6YyAVLrEze0kQ7CmJfUgrLHb+Y7XghmL2Ie7ijVa2Y9ynP3LV+VDiwFk62Dn0qtqbmY0BT0ss6p1xxpiF2PYbQ== dependencies: - diff "^3.0.0" + diff "^4.0.1" pad-right "^0.2.2" repeat-string "^1.6.1" -assertion-error@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b" - integrity sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw== - assign-symbols@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" @@ -6951,13 +7127,6 @@ babel-loader@^8.2.2, babel-loader@^8.2.3: make-dir "^3.1.0" schema-utils "^2.6.5" -babel-plugin-add-module-exports@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/babel-plugin-add-module-exports/-/babel-plugin-add-module-exports-1.0.2.tgz#96cd610d089af664f016467fc4567c099cce2d9c" - integrity sha512-4paN7RivvU3Rzju1vGSHWPjO8Y0rI6droWvSFKI6dvEQ4mvoV0zGojnlzVRfI6N8zISo6VERXt3coIuVmzuvNg== - optionalDependencies: - chokidar "^2.0.4" - babel-plugin-add-react-displayname@^0.0.5: version "0.0.5" resolved "https://registry.yarnpkg.com/babel-plugin-add-react-displayname/-/babel-plugin-add-react-displayname-0.0.5.tgz#339d4cddb7b65fd62d1df9db9fe04de134122bd5" @@ -7186,7 +7355,7 @@ babel-preset-react-app@^10.0.0: babel-plugin-macros "2.8.0" babel-plugin-transform-react-remove-prop-types "0.4.24" -babel-runtime@^6.11.6, babel-runtime@^6.26.0: +babel-runtime@^6.26.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" integrity sha1-llxwWGaOgrVde/4E/yM3vItWR/4= @@ -7194,11 +7363,6 @@ babel-runtime@^6.11.6, babel-runtime@^6.26.0: core-js "^2.4.0" regenerator-runtime "^0.11.0" -babelify@10.0.0: - version "10.0.0" - resolved "https://registry.yarnpkg.com/babelify/-/babelify-10.0.0.tgz#fe73b1a22583f06680d8d072e25a1e0d1d1d7fb5" - integrity sha512-X40FaxyH7t3X+JFAKvb1H9wooWKLRCi8pg3m8poqtdZaIng+bjzp9RvKQCvRjF9isHiPkXspbbXT/zwXLtwgwg== - babylon@^6.18.0: version "6.18.0" resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" @@ -7219,7 +7383,7 @@ base16@^1.0.0: resolved "https://registry.yarnpkg.com/base16/-/base16-1.0.0.tgz#e297f60d7ec1014a7a971a39ebc8a98c0b681e70" integrity sha1-4pf2DX7BAUp6lxo568ipjAtoHnA= -base64-js@^1.0.2, base64-js@^1.3.1: +base64-js@^1.0.2, base64-js@^1.3.1, base64-js@^1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== @@ -7266,11 +7430,6 @@ bcryptjs@^2.3.0: resolved "https://registry.yarnpkg.com/bcryptjs/-/bcryptjs-2.4.3.tgz#9ab5627b93e60621ff7cdac5da9733027df1d0cb" integrity sha1-mrVie5PmBiH/fNrF2pczAn3x0Ms= -becke-ch--regex--s0-0-v1--base--pl--lib@^1.2.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/becke-ch--regex--s0-0-v1--base--pl--lib/-/becke-ch--regex--s0-0-v1--base--pl--lib-1.4.0.tgz#429ceebbfa5f7e936e78d73fbdc7da7162b20e20" - integrity sha1-Qpzuu/pffpNueNc/vcfacWKyDiA= - better-opn@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/better-opn/-/better-opn-2.1.1.tgz#94a55b4695dc79288f31d7d0e5f658320759f7c6" @@ -7329,12 +7488,12 @@ blob-util@^2.0.2: resolved "https://registry.yarnpkg.com/blob-util/-/blob-util-2.0.2.tgz#3b4e3c281111bb7f11128518006cdc60b403a1eb" integrity sha512-T7JQa+zsXXEa6/8ZhHcQEW1UFfVM49Ts65uBkFL6fz2QmrElqmbajIDJvuA0tEhRe5eIjpV9ZF+0RfZR9voJFQ== -bluebird@3.5.3: - version "3.5.3" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.3.tgz#7d01c6f9616c9a51ab0f8c549a79dfe6ec33efa7" - integrity sha512-/qKPUQlaW1OyR51WeCPBvRnAlnZFUJkCSG5HzGnuIqhgyJtF+T94lFnn33eiazjRm2LAHVy2guNnaq48X9SJuw== +bluebird@3.7.1: + version "3.7.1" + resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.1.tgz#df70e302b471d7473489acf26a93d63b53f874de" + integrity sha512-DdmyoGCleJnkbp3nkbxTLJ18rjDsE4yCggEwKNXkeV123sPNfOCYeDoeuOY+F2FrSjO1YXcTU+dsy96KMy+gcg== -bluebird@^3.3.5, bluebird@^3.4.1, bluebird@^3.5.3, bluebird@^3.5.5, bluebird@^3.7.1, bluebird@^3.7.2: +bluebird@^3.3.5, bluebird@^3.5.3, bluebird@^3.5.5, bluebird@^3.7.1, bluebird@^3.7.2: version "3.7.2" resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== @@ -7446,6 +7605,13 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" +brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== + dependencies: + balanced-match "^1.0.0" + braces@^2.3.1, braces@^2.3.2: version "2.3.2" resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" @@ -7488,36 +7654,15 @@ brorand@^1.0.1: resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" integrity sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8= -browser-pack@^6.0.1: - version "6.1.0" - resolved "https://registry.yarnpkg.com/browser-pack/-/browser-pack-6.1.0.tgz#c34ba10d0b9ce162b5af227c7131c92c2ecd5774" - integrity sha512-erYug8XoqzU3IfcU8fUgyHqyOXqIE4tUTTQ+7mqUjQlvnXkOO6OlT9c/ZoJVHYoAaqGxr09CN53G7XIsO4KtWA== - dependencies: - JSONStream "^1.0.3" - combine-source-map "~0.8.0" - defined "^1.0.0" - safe-buffer "^5.1.1" - through2 "^2.0.0" - umd "^3.0.0" - browser-process-hrtime@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== -browser-resolve@^1.11.0: - version "1.11.3" - resolved "https://registry.yarnpkg.com/browser-resolve/-/browser-resolve-1.11.3.tgz#9b7cbb3d0f510e4cb86bdbd796124d28b5890af6" - integrity sha512-exDi1BYWB/6raKHmDTCicQfTkqwN5fioMFV4j8BsfMU4R2DK/QfZfK7kOVkmWCNANf0snkBzqGqAJBao9gZMdQ== - dependencies: - resolve "1.1.7" - -browser-resolve@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/browser-resolve/-/browser-resolve-2.0.0.tgz#99b7304cb392f8d73dba741bb2d7da28c6d7842b" - integrity sha512-7sWsQlYL2rGLy2IWm8WL8DCTJvYLc/qlOnsakDac87SOoCd16WLsaAMdCiAqsTNHIe+SXfaqyxyo6THoWqs8WQ== - dependencies: - resolve "^1.17.0" +browser-stdout@1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60" + integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw== browserify-aes@^1.0.0, browserify-aes@^1.0.4: version "1.2.0" @@ -7573,121 +7718,13 @@ browserify-sign@^4.0.0: readable-stream "^3.6.0" safe-buffer "^5.2.0" -browserify-zlib@^0.2.0, browserify-zlib@~0.2.0: +browserify-zlib@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.2.0.tgz#2869459d9aa3be245fe8fe2ca1f46e2e7f54d73f" integrity sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA== dependencies: pako "~1.0.5" -browserify@16.2.3: - version "16.2.3" - resolved "https://registry.yarnpkg.com/browserify/-/browserify-16.2.3.tgz#7ee6e654ba4f92bce6ab3599c3485b1cc7a0ad0b" - integrity sha512-zQt/Gd1+W+IY+h/xX2NYMW4orQWhqSwyV+xsblycTtpOuB27h1fZhhNQuipJ4t79ohw4P4mMem0jp/ZkISQtjQ== - dependencies: - JSONStream "^1.0.3" - assert "^1.4.0" - browser-pack "^6.0.1" - browser-resolve "^1.11.0" - browserify-zlib "~0.2.0" - buffer "^5.0.2" - cached-path-relative "^1.0.0" - concat-stream "^1.6.0" - console-browserify "^1.1.0" - constants-browserify "~1.0.0" - crypto-browserify "^3.0.0" - defined "^1.0.0" - deps-sort "^2.0.0" - domain-browser "^1.2.0" - duplexer2 "~0.1.2" - events "^2.0.0" - glob "^7.1.0" - has "^1.0.0" - htmlescape "^1.1.0" - https-browserify "^1.0.0" - inherits "~2.0.1" - insert-module-globals "^7.0.0" - labeled-stream-splicer "^2.0.0" - mkdirp "^0.5.0" - module-deps "^6.0.0" - os-browserify "~0.3.0" - parents "^1.0.1" - path-browserify "~0.0.0" - process "~0.11.0" - punycode "^1.3.2" - querystring-es3 "~0.2.0" - read-only-stream "^2.0.0" - readable-stream "^2.0.2" - resolve "^1.1.4" - shasum "^1.0.0" - shell-quote "^1.6.1" - stream-browserify "^2.0.0" - stream-http "^2.0.0" - string_decoder "^1.1.1" - subarg "^1.0.0" - syntax-error "^1.1.1" - through2 "^2.0.0" - timers-browserify "^1.0.1" - tty-browserify "0.0.1" - url "~0.11.0" - util "~0.10.1" - vm-browserify "^1.0.0" - xtend "^4.0.0" - -browserify@^16.1.0: - version "16.5.2" - resolved "https://registry.yarnpkg.com/browserify/-/browserify-16.5.2.tgz#d926835e9280fa5fd57f5bc301f2ef24a972ddfe" - integrity sha512-TkOR1cQGdmXU9zW4YukWzWVSJwrxmNdADFbqbE3HFgQWe5wqZmOawqZ7J/8MPCwk/W8yY7Y0h+7mOtcZxLP23g== - dependencies: - JSONStream "^1.0.3" - assert "^1.4.0" - browser-pack "^6.0.1" - browser-resolve "^2.0.0" - browserify-zlib "~0.2.0" - buffer "~5.2.1" - cached-path-relative "^1.0.0" - concat-stream "^1.6.0" - console-browserify "^1.1.0" - constants-browserify "~1.0.0" - crypto-browserify "^3.0.0" - defined "^1.0.0" - deps-sort "^2.0.0" - domain-browser "^1.2.0" - duplexer2 "~0.1.2" - events "^2.0.0" - glob "^7.1.0" - has "^1.0.0" - htmlescape "^1.1.0" - https-browserify "^1.0.0" - inherits "~2.0.1" - insert-module-globals "^7.0.0" - labeled-stream-splicer "^2.0.0" - mkdirp-classic "^0.5.2" - module-deps "^6.2.3" - os-browserify "~0.3.0" - parents "^1.0.1" - path-browserify "~0.0.0" - process "~0.11.0" - punycode "^1.3.2" - querystring-es3 "~0.2.0" - read-only-stream "^2.0.0" - readable-stream "^2.0.2" - resolve "^1.1.4" - shasum "^1.0.0" - shell-quote "^1.6.1" - stream-browserify "^2.0.0" - stream-http "^3.0.0" - string_decoder "^1.1.1" - subarg "^1.0.0" - syntax-error "^1.1.1" - through2 "^2.0.0" - timers-browserify "^1.0.1" - tty-browserify "0.0.1" - url "~0.11.0" - util "~0.10.1" - vm-browserify "^1.0.0" - xtend "^4.0.0" - browserslist@4.10.0: version "4.10.0" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.10.0.tgz#f179737913eaf0d2b98e4926ac1ca6a15cbcc6a9" @@ -7708,7 +7745,7 @@ browserslist@4.14.2: escalade "^3.0.2" node-releases "^1.1.61" -browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.14.5, browserslist@^4.16.6, browserslist@^4.17.5, browserslist@^4.18.1, browserslist@^4.19.1, browserslist@^4.6.0, browserslist@^4.6.2, browserslist@^4.6.4: +browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.14.5, browserslist@^4.16.6, browserslist@^4.17.5, browserslist@^4.18.1, browserslist@^4.19.1, browserslist@^4.6.2, browserslist@^4.6.4: version "4.19.1" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.19.1.tgz#4ac0435b35ab655896c31d53018b6dd5e9e4c9a3" integrity sha512-u2tbbG5PdKRTUoctO3NBD8FQ5HdPh1ZXPHzp1rwaa5jTc+RV9/+RlWiAIKmjRPQF+xbGM9Kklj5bZQFa2s/38A== @@ -7765,7 +7802,7 @@ buffer@^4.3.0: ieee754 "^1.1.4" isarray "^1.0.0" -buffer@^5.0.2, buffer@^5.1.0, buffer@^5.5.0, buffer@^5.6.0: +buffer@^5.1.0, buffer@^5.5.0, buffer@^5.6.0: version "5.7.1" resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== @@ -7773,14 +7810,6 @@ buffer@^5.0.2, buffer@^5.1.0, buffer@^5.5.0, buffer@^5.6.0: base64-js "^1.3.1" ieee754 "^1.1.13" -buffer@~5.2.1: - version "5.2.1" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.2.1.tgz#dd57fa0f109ac59c602479044dca7b8b3d0b71d6" - integrity sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg== - dependencies: - base64-js "^1.0.2" - ieee754 "^1.1.4" - bufferhelper@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/bufferhelper/-/bufferhelper-0.2.1.tgz#fa74a385724a58e242f04ad6646c2366f83b913e" @@ -7910,11 +7939,6 @@ cacheable-request@^6.0.0: normalize-url "^4.1.0" responselike "^1.0.2" -cached-path-relative@^1.0.0, cached-path-relative@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/cached-path-relative/-/cached-path-relative-1.0.2.tgz#a13df4196d26776220cc3356eb147a52dba2c6db" - integrity sha512-5r2GqsoEb4qMTTN9J+WzXfjov+hjxT+j3u5K+kIVNIwAd99DLCJE9pBIMP1qVeybV6JiijL385Oz0DcYxfbOIg== - cachedir@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/cachedir/-/cachedir-2.3.0.tgz#0c75892a052198f0b21c7c1804d8331edfcae0e8" @@ -8004,6 +8028,15 @@ caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001035, can resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001300.tgz#11ab6c57d3eb6f964cba950401fd00a146786468" integrity sha512-cVjiJHWGcNlJi8TZVKNMnvMid3Z3TTdDHmLDzlOdIiZq138Exvo0G+G0wTdVYolxKb4AYwC+38pxodiInVtJSA== +capital-case@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/capital-case/-/capital-case-1.0.4.tgz#9d130292353c9249f6b00fa5852bee38a717e669" + integrity sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + upper-case-first "^2.0.2" + capitalize@^2.0.0: version "2.0.4" resolved "https://registry.yarnpkg.com/capitalize/-/capitalize-2.0.4.tgz#eed7f94c6699a318eeef6e68967fe139c764b866" @@ -8043,18 +8076,6 @@ ccount@^1.0.0, ccount@^1.0.3: resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.1.0.tgz#246687debb6014735131be8abab2d93898f8d043" integrity sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg== -chai@^4.1.2: - version "4.2.0" - resolved "https://registry.yarnpkg.com/chai/-/chai-4.2.0.tgz#760aa72cf20e3795e84b12877ce0e83737aa29e5" - integrity sha512-XQU3bhBukrOsQCuwZndwGcCVQHyZi53fQ6Ys1Fym7E4olpIqqZZhhoFJoaKVvV17lWQoXYwgWN2nF5crA8J2jw== - dependencies: - assertion-error "^1.1.0" - check-error "^1.0.2" - deep-eql "^3.0.1" - get-func-name "^2.0.0" - pathval "^1.1.0" - type-detect "^4.0.5" - chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" @@ -8116,11 +8137,6 @@ chardet@^0.7.0: resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== -check-error@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82" - integrity sha1-V00xLt2Iu13YkS6Sht1sCu1KrII= - check-more-types@^2.24.0: version "2.24.0" resolved "https://registry.yarnpkg.com/check-more-types/-/check-more-types-2.24.0.tgz#1420ffb10fd444dcfc79b43891bbfffd32a84600" @@ -8177,7 +8193,22 @@ cheerio@^1.0.0-rc.10, cheerio@^1.0.0-rc.3: parse5-htmlparser2-tree-adapter "^6.0.1" tslib "^2.2.0" -chokidar@^2.0.4, chokidar@^2.1.1, chokidar@^2.1.8: +chokidar@3.5.3, chokidar@^3.3.0, chokidar@^3.3.1, chokidar@^3.4.1, chokidar@^3.4.2, chokidar@^3.5.3: + version "3.5.3" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" + integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== + dependencies: + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" + optionalDependencies: + fsevents "~2.3.2" + +chokidar@^2.0.4, chokidar@^2.1.8: version "2.1.8" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917" integrity sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg== @@ -8196,21 +8227,6 @@ chokidar@^2.0.4, chokidar@^2.1.1, chokidar@^2.1.8: optionalDependencies: fsevents "^1.2.7" -chokidar@^3.3.0, chokidar@^3.3.1, chokidar@^3.4.1, chokidar@^3.4.2, chokidar@^3.5.3: - version "3.5.3" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" - integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== - dependencies: - anymatch "~3.1.2" - braces "~3.0.2" - glob-parent "~5.1.2" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.6.0" - optionalDependencies: - fsevents "~2.3.2" - chownr@^1.1.1: version "1.1.4" resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" @@ -8256,6 +8272,11 @@ cjs-module-lexer@^1.0.0: resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz#9f84ba3244a512f3a54e5277e8eef4c489864e40" integrity sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA== +class-transformer@0.5.1: + version "0.5.1" + resolved "https://registry.yarnpkg.com/class-transformer/-/class-transformer-0.5.1.tgz#24147d5dffd2a6cea930a3250a677addf96ab336" + integrity sha512-SQa1Ws6hUbfC98vKGxZH3KFY0Y1lm5Zm0SY8XX9zbK7FJCyVEac3ATW0RIpwzW+oOfmHE5PMPufDG9hCfoEOMw== + class-utils@^0.3.5: version "0.3.6" resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" @@ -8317,7 +8338,7 @@ cli-table3@0.6.0: optionalDependencies: colors "^1.1.2" -cli-table3@^0.6.1, cli-table3@~0.6.0, cli-table3@~0.6.1: +cli-table3@0.6.3, cli-table3@^0.6.0, cli-table3@^0.6.1, cli-table3@~0.6.1: version "0.6.3" resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.6.3.tgz#61ab765aac156b52f222954ffc607a6f01dbeeb2" integrity sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg== @@ -8326,10 +8347,10 @@ cli-table3@^0.6.1, cli-table3@~0.6.0, cli-table3@~0.6.1: optionalDependencies: "@colors/colors" "1.5.0" -cli-table@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/cli-table/-/cli-table-0.3.1.tgz#f53b05266a8b1a0b934b3d0821e6e2dc5914ae23" - integrity sha1-9TsFJmqLGguTSz0IIebi3FkUriM= +cli-table@^0.3.11: + version "0.3.11" + resolved "https://registry.yarnpkg.com/cli-table/-/cli-table-0.3.11.tgz#ac69cdecbe81dccdba4889b9a18b7da312a9d3ee" + integrity sha512-IqLQi4lO0nIB4tcdTpN4LCB9FI3uqrJZK7RC515EnhZ6qBaglkIgICb1wjeAqpdoOabm1+SuQtkXIPdYC93jhQ== dependencies: colors "1.0.3" @@ -8451,19 +8472,6 @@ code-point-at@^1.0.0: resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= -coffeeify@3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/coffeeify/-/coffeeify-3.0.1.tgz#5e2753000c50bd24c693115f33864248dd11136c" - integrity sha512-Qjnr7UX6ldK1PHV7wCnv7AuCd4q19KTUtwJnu/6JRJB4rfm12zvcXtKdacUoePOKr1I4ka/ydKiwWpNAdsQb0g== - dependencies: - convert-source-map "^1.3.0" - through2 "^2.0.0" - -coffeescript@1.12.7: - version "1.12.7" - resolved "https://registry.yarnpkg.com/coffeescript/-/coffeescript-1.12.7.tgz#e57ee4c4867cf7f606bfc4a0f2d550c0981ddd27" - integrity sha512-pLXHFxQMPklVoEekowk8b3erNynC+DVJzChxS/LCBBgR6/8AJkHivkm//zbowcfc7BTCAjryuhx6gPqPRfsFoA== - collapse-white-space@^1.0.2: version "1.0.6" resolved "https://registry.yarnpkg.com/collapse-white-space/-/collapse-white-space-1.0.6.tgz#e63629c0016665792060dbbeb79c42239d2c5287" @@ -8548,7 +8556,7 @@ colorette@^2.0.10, colorette@^2.0.16: colors@1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b" - integrity sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs= + integrity sha512-pFGrxThWcWQ2MsAz6RtgeWe4NK2kUE1WfsrvvlctdII745EW9I0yflqhe7++M5LEc7bV2c/9/5zc8sFcpL0Drw== colors@^1.1.2, colors@latest: version "1.4.0" @@ -8560,16 +8568,6 @@ combine-promises@^1.1.0: resolved "https://registry.yarnpkg.com/combine-promises/-/combine-promises-1.1.0.tgz#72db90743c0ca7aab7d0d8d2052fd7b0f674de71" integrity sha512-ZI9jvcLDxqwaXEixOhArm3r7ReIivsXkpbyEWyeOhzz1QS0iSgBPnWvEqvIQtYyamGCYA88gFhmUrs9hrrQ0pg== -combine-source-map@^0.8.0, combine-source-map@~0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/combine-source-map/-/combine-source-map-0.8.0.tgz#a58d0df042c186fcf822a8e8015f5450d2d79a8b" - integrity sha1-pY0N8ELBhvz4IqjoAV9UUNLXmos= - dependencies: - convert-source-map "~1.1.0" - inline-source-map "~0.6.0" - lodash.memoize "~3.0.3" - source-map "~0.5.3" - combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: version "1.0.8" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" @@ -8613,7 +8611,17 @@ command-line-usage@^4.1.0: table-layout "^0.4.2" typical "^2.6.1" -commander@^2.19.0, commander@^2.20.0, commander@^2.9.0: +commander@10.0.1, commander@^10.0.0: + version "10.0.1" + resolved "https://registry.yarnpkg.com/commander/-/commander-10.0.1.tgz#881ee46b4f77d1c1dccc5823433aa39b022cbe06" + integrity sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug== + +commander@9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-9.1.0.tgz#a6b263b2327f2e188c6402c42623327909f2dbec" + integrity sha512-i0/MaqBtdbnJ4XQs4Pmyb+oFQl+q0lsAmokVUH92SlSw4fkeAcG3bVon+Qt7hmtF+u3Het6o4VgrcY3qAoEB6w== + +commander@^2.19.0, commander@^2.20.0: version "2.20.3" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== @@ -8648,6 +8656,11 @@ commander@^8.3.0: resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== +common-ancestor-path@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/common-ancestor-path/-/common-ancestor-path-1.0.1.tgz#4f7d2d1394d91b7abdf51871c62f71eadb0182a7" + integrity sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w== + common-sequence@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/common-sequence/-/common-sequence-2.0.0.tgz#a4f01aaf5aebd0ac1ce43653e8c8fe6f0ef3a987" @@ -8723,7 +8736,7 @@ concat-map@0.0.1: resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= -concat-stream@^1.5.0, concat-stream@^1.5.1, concat-stream@^1.6.0, concat-stream@^1.6.1, concat-stream@~1.6.0: +concat-stream@^1.5.0, concat-stream@^1.5.1: version "1.6.2" resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== @@ -8822,7 +8835,7 @@ console-control-strings@^1.0.0, console-control-strings@~1.1.0: resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= -constants-browserify@^1.0.0, constants-browserify@~1.0.0: +constants-browserify@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" integrity sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U= @@ -8879,7 +8892,7 @@ conventional-commits-parser@^3.0.0: through2 "^4.0.0" trim-off-newlines "^1.0.0" -convert-source-map@1.7.0, convert-source-map@^1.1.0, convert-source-map@^1.3.0, convert-source-map@^1.4.0, convert-source-map@^1.5.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: +convert-source-map@1.7.0, convert-source-map@^1.4.0, convert-source-map@^1.5.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442" integrity sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA== @@ -8891,11 +8904,6 @@ convert-source-map@^0.3.3: resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-0.3.5.tgz#f1d802950af7dd2631a1febe0596550c86ab3190" integrity sha1-8dgClQr33SYxof6+BZZVDIarMZA= -convert-source-map@~1.1.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.1.3.tgz#4829c877e9fe49b3161f3bf3673888e204699860" - integrity sha1-SCnId+n+SbMWHzvzZziI4gRpmGA= - cookie-signature@1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" @@ -8947,7 +8955,7 @@ copy-webpack-plugin@^10.2.4: schema-utils "^4.0.0" serialize-javascript "^6.0.0" -core-js-compat@^3.1.1, core-js-compat@^3.20.0, core-js-compat@^3.20.2, core-js-compat@^3.6.2, core-js-compat@^3.8.1: +core-js-compat@^3.20.0, core-js-compat@^3.20.2, core-js-compat@^3.6.2, core-js-compat@^3.8.1: version "3.20.3" resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.20.3.tgz#d71f85f94eb5e4bea3407412e549daa083d23bd6" integrity sha512-c8M5h0IkNZ+I92QhIpuSijOxGAcj3lgpsWdkCqmUTZNwidujF4r3pi6x1DCN+Vcs5qTS2XWWMfWSuCqyupX8gw== @@ -8983,16 +8991,6 @@ cors@latest: object-assign "^4" vary "^1" -cosmiconfig@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-4.0.0.tgz#760391549580bbd2df1e562bc177b13c290972dc" - integrity sha512-6e5vDdrXZD+t5v0L8CrurPeybg4Fmf+FCSYxXKYVAqLUtyCSbuyqE059d0kDthTNRzKVjL7QMgNpEUlsoYH3iQ== - dependencies: - is-directory "^0.3.1" - js-yaml "^3.9.0" - parse-json "^4.0.0" - require-from-string "^2.0.1" - cosmiconfig@^5.0.0: version "5.2.1" resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a" @@ -9025,7 +9023,17 @@ cosmiconfig@^7.0.0, cosmiconfig@^7.0.1: path-type "^4.0.0" yaml "^1.10.0" -cp-file@^7.0.0: +cosmiconfig@^8.3.6: + version "8.3.6" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.3.6.tgz#060a2b871d66dba6c8538ea1118ba1ac16f5fae3" + integrity sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA== + dependencies: + import-fresh "^3.3.0" + js-yaml "^4.1.0" + parse-json "^5.2.0" + path-type "^4.0.0" + +cp-file@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/cp-file/-/cp-file-7.0.0.tgz#b9454cfd07fe3b974ab9ea0e5f29655791a9b8cd" integrity sha512-0Cbj7gyvFVApzpK/uhCtQ/9kE9UnYpxMzaq5nQQC/Dh4iaj5fxp7iEFIullrYwzj8nf0qnsI1Qsx34hAeAebvw== @@ -9149,7 +9157,7 @@ cross-spawn@^6.0.0: shebang-command "^1.2.0" which "^1.2.9" -crypto-browserify@^3.0.0, crypto-browserify@^3.11.0: +crypto-browserify@^3.11.0: version "3.12.0" resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" integrity sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg== @@ -9550,138 +9558,19 @@ csstype@^3.0.2: resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.5.tgz#7fdec6a28a67ae18647c51668a9ff95bb2fa7bb8" integrity sha512-uVDi8LpBUKQj6sdxNaTetL6FpeCqTjOvAQuQUa/qAqq8oOd4ivkbhgnqayl0dnPal8Tb/yB1tF+gOvCBiicaiQ== -cucumber-expressions@^5.0.13: - version "5.0.18" - resolved "https://registry.yarnpkg.com/cucumber-expressions/-/cucumber-expressions-5.0.18.tgz#6c70779efd3aebc5e9e7853938b1110322429596" - integrity sha1-bHB3nv0668Xp54U5OLERAyJClZY= - dependencies: - becke-ch--regex--s0-0-v1--base--pl--lib "^1.2.0" - -cucumber-expressions@^6.0.1: - version "6.6.2" - resolved "https://registry.yarnpkg.com/cucumber-expressions/-/cucumber-expressions-6.6.2.tgz#d89640eccc72a78380b6c210eae36a64e7462b81" - integrity sha512-WcFSVBiWNLJbIcAAC3t/ACU46vaOKfe1UIF5H3qveoq+Y4XQm9j3YwHurQNufRKBBg8nCnpU7Ttsx7egjS3hwA== - dependencies: - becke-ch--regex--s0-0-v1--base--pl--lib "^1.2.0" - -cucumber-tag-expressions@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/cucumber-tag-expressions/-/cucumber-tag-expressions-1.1.1.tgz#7f5c7b70009bc2b666591bfe64854578bedee85a" - integrity sha1-f1x7cACbwrZmWRv+ZIVFeL7e6Fo= - -cucumber@^4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/cucumber/-/cucumber-4.2.1.tgz#64cfff6150bbe6b5e94b173470057353d6206719" - integrity sha512-3gQ0Vv4kSHsvXEFC6b1c+TfLRDzWD1/kU7e5vm8Kh8j35b95k6favan9/4ixcBNqd7UsU1T6FYcawC87+DlNKw== - dependencies: - assertion-error-formatter "^2.0.1" - babel-runtime "^6.11.6" - bluebird "^3.4.1" - cli-table "^0.3.1" - colors "^1.1.2" - commander "^2.9.0" - cucumber-expressions "^5.0.13" - cucumber-tag-expressions "^1.1.1" - duration "^0.2.0" - escape-string-regexp "^1.0.5" - figures "2.0.0" - gherkin "^5.0.0" - glob "^7.0.0" - indent-string "^3.1.0" - is-generator "^1.0.2" - is-stream "^1.1.0" - knuth-shuffle-seeded "^1.0.6" - lodash "^4.17.4" - mz "^2.4.0" - progress "^2.0.0" - resolve "^1.3.3" - serialize-error "^2.1.0" - stack-chain "^2.0.0" - stacktrace-js "^2.0.0" - string-argv "0.0.2" - title-case "^2.1.1" - util-arity "^1.0.2" - verror "^1.9.0" - cyclist@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9" integrity sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk= -cypress-cucumber-preprocessor@^2.0.1: - version "2.5.5" - resolved "https://registry.yarnpkg.com/cypress-cucumber-preprocessor/-/cypress-cucumber-preprocessor-2.5.5.tgz#af20aa40d3dd6dc67b28f6819411831bb0bea925" - integrity sha512-bAiqJbh+sJ2fKOnZ71IMxBX4j+e8qwdevYDzHYF+TjpAuSlivZHCbqCs3WUXcSUfLUL3fHwKOx0/oPyPMibAiw== - dependencies: - "@cypress/browserify-preprocessor" "^3.0.1" - chai "^4.1.2" - chokidar "^2.0.4" - cosmiconfig "^4.0.0" - cucumber "^4.2.1" - cucumber-expressions "^6.0.1" - cucumber-tag-expressions "^1.1.1" - debug "^3.0.1" - gherkin "^5.1.0" - glob "^7.1.2" - js-string-escape "^1.0.1" - minimist "^1.2.0" - through "^2.3.8" - -cypress@^7.4.0: - version "7.7.0" - resolved "https://registry.yarnpkg.com/cypress/-/cypress-7.7.0.tgz#0839ae28e5520536f9667d6c9ae81496b3836e64" - integrity sha512-uYBYXNoI5ym0UxROwhQXWTi8JbUEjpC6l/bzoGZNxoKGsLrC1SDPgIDJMgLX/MeEdPL0UInXLDUWN/rSyZUCjQ== - dependencies: - "@cypress/request" "^2.88.5" - "@cypress/xvfb" "^1.2.4" - "@types/node" "^14.14.31" - "@types/sinonjs__fake-timers" "^6.0.2" - "@types/sizzle" "^2.3.2" - arch "^2.2.0" - blob-util "^2.0.2" - bluebird "^3.7.2" - cachedir "^2.3.0" - chalk "^4.1.0" - check-more-types "^2.24.0" - cli-cursor "^3.1.0" - cli-table3 "~0.6.0" - commander "^5.1.0" - common-tags "^1.8.0" - dayjs "^1.10.4" - debug "^4.3.2" - enquirer "^2.3.6" - eventemitter2 "^6.4.3" - execa "4.1.0" - executable "^4.1.1" - extract-zip "2.0.1" - figures "^3.2.0" - fs-extra "^9.1.0" - getos "^3.2.1" - is-ci "^3.0.0" - is-installed-globally "~0.4.0" - lazy-ass "^1.6.0" - listr2 "^3.8.3" - lodash "^4.17.21" - log-symbols "^4.0.0" - minimist "^1.2.5" - ospath "^1.2.2" - pretty-bytes "^5.6.0" - ramda "~0.27.1" - request-progress "^3.0.0" - supports-color "^8.1.1" - tmp "~0.2.1" - untildify "^4.0.0" - url "^0.11.0" - yauzl "^2.10.0" - -cypress@^9.5.0: - version "9.7.0" - resolved "https://registry.yarnpkg.com/cypress/-/cypress-9.7.0.tgz#bf55b2afd481f7a113ef5604aa8b693564b5e744" - integrity sha512-+1EE1nuuuwIt/N1KXRR2iWHU+OiIt7H28jJDyyI4tiUftId/DrXYEwoDa5+kH2pki1zxnA0r6HrUGHV5eLbF5Q== +cypress@^12: + version "12.17.4" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-12.17.4.tgz#b4dadf41673058493fa0d2362faa3da1f6ae2e6c" + integrity sha512-gAN8Pmns9MA5eCDFSDJXWKUpaL3IDd89N9TtIupjYnzLSmlpVr+ZR+vb4U/qaMp+lB6tBvAmt7504c3Z4RU5KQ== dependencies: - "@cypress/request" "^2.88.10" + "@cypress/request" "2.88.12" "@cypress/xvfb" "^1.2.4" - "@types/node" "^14.14.31" + "@types/node" "^16.18.39" "@types/sinonjs__fake-timers" "8.1.1" "@types/sizzle" "^2.3.2" arch "^2.2.0" @@ -9693,12 +9582,12 @@ cypress@^9.5.0: check-more-types "^2.24.0" cli-cursor "^3.1.0" cli-table3 "~0.6.1" - commander "^5.1.0" + commander "^6.2.1" common-tags "^1.8.0" dayjs "^1.10.4" - debug "^4.3.2" + debug "^4.3.4" enquirer "^2.3.6" - eventemitter2 "^6.4.3" + eventemitter2 "6.4.7" execa "4.1.0" executable "^4.1.1" extract-zip "2.0.1" @@ -9711,12 +9600,13 @@ cypress@^9.5.0: listr2 "^3.8.3" lodash "^4.17.21" log-symbols "^4.0.0" - minimist "^1.2.6" + minimist "^1.2.8" ospath "^1.2.2" pretty-bytes "^5.6.0" + process "^0.11.10" proxy-from-env "1.0.0" request-progress "^3.0.0" - semver "^7.3.2" + semver "^7.5.3" supports-color "^8.1.1" tmp "~0.2.1" untildify "^4.0.0" @@ -9740,11 +9630,6 @@ dargs@^7.0.0: resolved "https://registry.yarnpkg.com/dargs/-/dargs-7.0.0.tgz#04015c41de0bcb69ec84050f3d9be0caf8d6d5cc" integrity sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg== -dash-ast@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/dash-ast/-/dash-ast-1.0.0.tgz#12029ba5fb2f8aa6f0a861795b23c1b4b6c27d37" - integrity sha512-Vy4dx7gquTeMcQR/hDkYLGUnwVil6vk4FOOct+djUnHOUWt+zJPJAaRIXaAFkPXtJjvlY7o3rfRu0/3hpnwoUA== - dashdash@^1.12.0: version "1.14.1" resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" @@ -9783,21 +9668,21 @@ debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.9: dependencies: ms "2.0.0" -debug@4, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.2: +debug@4, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1: version "4.3.3" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664" integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q== dependencies: ms "2.1.2" -debug@4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" - integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw== +debug@4.3.4, debug@^4.3.2, debug@^4.3.4: + version "4.3.4" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== dependencies: - ms "^2.1.1" + ms "2.1.2" -debug@^3.0.0, debug@^3.0.1, debug@^3.1.0, debug@^3.1.1, debug@^3.2.6: +debug@^3.0.0, debug@^3.1.0, debug@^3.1.1, debug@^3.2.6: version "3.2.7" resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== @@ -9817,6 +9702,11 @@ decamelize@^1.1.0, decamelize@^1.2.0: resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= +decamelize@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-4.0.0.tgz#aa472d7bf660eb15f3494efd531cab7f2a709837" + integrity sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ== + decimal.js@^10.2.1: version "10.3.1" resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.3.1.tgz#d8c3a444a9c6774ba60ca6ad7261c3a94fd5e783" @@ -9839,13 +9729,6 @@ dedent@^0.7.0: resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw= -deep-eql@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-3.0.1.tgz#dfc9404400ad1c8fe023e7da1df1c147c4b444df" - integrity sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw== - dependencies: - type-detect "^4.0.0" - deep-equal@^1.0.1: version "1.1.1" resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.1.1.tgz#b5c98c942ceffaf7cb051e24e1434a25a2e6076a" @@ -9933,11 +9816,6 @@ define-property@^2.0.2: is-descriptor "^1.0.2" isobject "^3.0.1" -defined@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/defined/-/defined-1.0.0.tgz#c98d9bcef75674188e110969151199e39b1fa693" - integrity sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM= - del@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/del/-/del-4.1.1.tgz#9e8f117222ea44a31ff3a156c049b99052a9f0b4" @@ -9990,16 +9868,6 @@ depd@~2.0.0: resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== -deps-sort@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/deps-sort/-/deps-sort-2.0.1.tgz#9dfdc876d2bcec3386b6829ac52162cda9fa208d" - integrity sha512-1orqXQr5po+3KI6kQb9A4jnXT1PBwggGl2d7Sq2xsnOeI9GPcE/tGcF9UiSZtZBM7MukY4cAh7MemS6tZYipfw== - dependencies: - JSONStream "^1.0.3" - shasum-object "^1.0.0" - subarg "^1.0.0" - through2 "^2.0.0" - des.js@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843" @@ -10051,15 +9919,6 @@ detect-port@^1.3.0: address "^1.0.1" debug "^2.6.0" -detective@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/detective/-/detective-5.2.0.tgz#feb2a77e85b904ecdea459ad897cc90a99bd2a7b" - integrity sha512-6SsIx+nUUbuK0EthKjv0zrdnajCCXVYGmbYYiYjFVpzcjwEs/JMDZ8tPRG29J/HhN56t3GJp2cGSWDRjjot8Pg== - dependencies: - acorn-node "^1.6.1" - defined "^1.0.0" - minimist "^1.1.1" - diff-sequences@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-26.6.2.tgz#48ba99157de1923412eed41db6b6d4aa9ca7c0b1" @@ -10070,10 +9929,15 @@ diff-sequences@^27.4.0: resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-27.4.0.tgz#d783920ad8d06ec718a060d00196dfef25b132a5" integrity sha512-YqiQzkrsmHMH5uuh8OdQFU9/ZpADnwzml8z0O5HvRNda+5UZsaX/xN+AAxfR2hWq1Y7HZnAzO9J5lJXOuDz2Ww== -diff@^3.0.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" - integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA== +diff@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-5.0.0.tgz#7ed6ad76d859d030787ec35855f5b1daf31d852b" + integrity sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w== + +diff@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" + integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== diffie-hellman@^5.0.0: version "5.0.3" @@ -10213,7 +10077,7 @@ dom-walk@^0.1.0: resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.2.tgz#0c548bef048f4d1f2a97249002236060daa3fd84" integrity sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w== -domain-browser@^1.1.1, domain-browser@^1.2.0: +domain-browser@^1.1.1: version "1.2.0" resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda" integrity sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA== @@ -10335,13 +10199,6 @@ downshift@^6.0.15: prop-types "^15.7.2" react-is "^17.0.2" -duplexer2@^0.1.2, duplexer2@~0.1.0, duplexer2@~0.1.2: - version "0.1.4" - resolved "https://registry.yarnpkg.com/duplexer2/-/duplexer2-0.1.4.tgz#8b12dab878c0d69e3e7891051662a32fc6bddcc1" - integrity sha1-ixLauHjA1p4+eJEFFmKjL8a93ME= - dependencies: - readable-stream "^2.0.2" - duplexer3@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" @@ -10362,14 +10219,6 @@ duplexify@^3.4.2, duplexify@^3.6.0: readable-stream "^2.0.0" stream-shift "^1.0.0" -duration@^0.2.0: - version "0.2.2" - resolved "https://registry.yarnpkg.com/duration/-/duration-0.2.2.tgz#ddf149bc3bc6901150fe9017111d016b3357f529" - integrity sha512-06kgtea+bGreF5eKYgI/36A6pLXggY7oR4p1pq4SmdFBn1ReOL5D8RhG64VrqfTTKNucqqtBAwEj8aB88mcqrg== - dependencies: - d "1" - es5-ext "~0.10.46" - eastasianwidth@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" @@ -10664,6 +10513,13 @@ error-stack-parser@^2.0.6: dependencies: stackframe "^1.1.1" +error-stack-parser@^2.1.4: + version "2.1.4" + resolved "https://registry.yarnpkg.com/error-stack-parser/-/error-stack-parser-2.1.4.tgz#229cb01cdbfa84440bfa91876285b94680188286" + integrity sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ== + dependencies: + stackframe "^1.3.4" + es-abstract@^1.17.0-next.0, es-abstract@^1.17.0-next.1, es-abstract@^1.17.2, es-abstract@^1.17.4, es-abstract@^1.18.0-next.1, es-abstract@^1.19.0, es-abstract@^1.20.4: version "1.21.1" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.21.1.tgz#e6105a099967c08377830a0c9cb589d570dd86c6" @@ -10752,7 +10608,7 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" -es5-ext@^0.10.35, es5-ext@^0.10.50, es5-ext@~0.10.46: +es5-ext@^0.10.35, es5-ext@^0.10.50: version "0.10.53" resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.53.tgz#93c5a3acfdbef275220ad72644ad02ee18368de1" integrity sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q== @@ -10788,6 +10644,35 @@ es6-symbol@^3.1.1, es6-symbol@~3.1.3: d "^1.0.1" ext "^1.1.2" +esbuild@^0.19.4: + version "0.19.12" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.19.12.tgz#dc82ee5dc79e82f5a5c3b4323a2a641827db3e04" + integrity sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg== + optionalDependencies: + "@esbuild/aix-ppc64" "0.19.12" + "@esbuild/android-arm" "0.19.12" + "@esbuild/android-arm64" "0.19.12" + "@esbuild/android-x64" "0.19.12" + "@esbuild/darwin-arm64" "0.19.12" + "@esbuild/darwin-x64" "0.19.12" + "@esbuild/freebsd-arm64" "0.19.12" + "@esbuild/freebsd-x64" "0.19.12" + "@esbuild/linux-arm" "0.19.12" + "@esbuild/linux-arm64" "0.19.12" + "@esbuild/linux-ia32" "0.19.12" + "@esbuild/linux-loong64" "0.19.12" + "@esbuild/linux-mips64el" "0.19.12" + "@esbuild/linux-ppc64" "0.19.12" + "@esbuild/linux-riscv64" "0.19.12" + "@esbuild/linux-s390x" "0.19.12" + "@esbuild/linux-x64" "0.19.12" + "@esbuild/netbsd-x64" "0.19.12" + "@esbuild/openbsd-x64" "0.19.12" + "@esbuild/sunos-x64" "0.19.12" + "@esbuild/win32-arm64" "0.19.12" + "@esbuild/win32-ia32" "0.19.12" + "@esbuild/win32-x64" "0.19.12" + escalade@^3.0.2, escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" @@ -10808,16 +10693,16 @@ escape-string-regexp@2.0.0, escape-string-regexp@^2.0.0: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== +escape-string-regexp@4.0.0, escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= -escape-string-regexp@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" - integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== - escodegen@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-2.0.0.tgz#5e32b12833e8aa8fa35e1bf0befa89380484c7dd" @@ -11125,21 +11010,16 @@ event-stream@3.3.4: stream-combiner "~0.0.4" through "~2.3.1" -eventemitter2@^6.4.3: - version "6.4.4" - resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-6.4.4.tgz#aa96e8275c4dbeb017a5d0e03780c65612a1202b" - integrity sha512-HLU3NDY6wARrLCEwyGKRBvuWYyvW6mHYv72SJJAH3iJN3a6eVUvkjFkcxah1bcTgGVBBrFdIopBJPhCQFMLyXw== +eventemitter2@6.4.7: + version "6.4.7" + resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-6.4.7.tgz#a7f6c4d7abf28a14c1ef3442f21cb306a054271d" + integrity sha512-tYUSVOGeQPKt/eC1ABfhHy5Xd96N3oIijJvN3O9+TsC28T5V9yX9oEfEK5faP0EFSNVOG97qtAS68GBrQB2hDg== eventemitter3@^4.0.0: version "4.0.7" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== -events@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/events/-/events-2.1.0.tgz#2a9a1e18e6106e0e812aa9ebd4a819b3c29c0ba5" - integrity sha512-3Zmiobend8P9DjmKAty0Era4jV8oJ0yGYe2nJJAxgymF9+N8F2m0hhZiMoWtcfepExzNKZumFU3ksdQbInGWCg== - events@^3.0.0, events@^3.2.0: version "3.3.0" resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" @@ -11420,11 +11300,6 @@ fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6: resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= -fast-safe-stringify@^2.0.7: - version "2.0.7" - resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz#124aa885899261f68aedb42a7c080de9da608743" - integrity sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA== - fast-url-parser@1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/fast-url-parser/-/fast-url-parser-1.1.3.tgz#f4af3ea9f34d8a271cf58ad2b3759f431f0b318d" @@ -11504,13 +11379,6 @@ figgy-pudding@^3.5.1: resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.2.tgz#b4eee8148abb01dcf1d1ac34367d59e12fa61d6e" integrity sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw== -figures@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" - integrity sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI= - dependencies: - escape-string-regexp "^1.0.5" - figures@^3.0.0, figures@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" @@ -11668,6 +11536,14 @@ find-up@4.1.0, find-up@^4.0.0, find-up@^4.1.0: locate-path "^5.0.0" path-exists "^4.0.0" +find-up@5.0.0, find-up@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== + dependencies: + locate-path "^6.0.0" + path-exists "^4.0.0" + find-up@^2.0.0, find-up@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" @@ -11682,14 +11558,6 @@ find-up@^3.0.0: dependencies: locate-path "^3.0.0" -find-up@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" - integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== - dependencies: - locate-path "^6.0.0" - path-exists "^4.0.0" - flat-cache@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" @@ -11698,6 +11566,11 @@ flat-cache@^3.0.4: flatted "^3.1.0" rimraf "^3.0.2" +flat@^5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" + integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== + flatted@^3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.1.1.tgz#c4b489e80096d9df1dfc97c79871aea7c617c469" @@ -11754,6 +11627,14 @@ foreground-child@^2.0.0: cross-spawn "^7.0.0" signal-exit "^3.0.2" +foreground-child@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.1.1.tgz#1d173e776d75d2772fed08efe4a0de1ea1b12d0d" + integrity sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg== + dependencies: + cross-spawn "^7.0.0" + signal-exit "^4.0.1" + forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" @@ -11875,16 +11756,6 @@ fs-constants@^1.0.0: resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== -fs-extra@9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.0.0.tgz#b6afc31036e247b2466dc99c29ae797d5d4580a3" - integrity sha512-pmEYSk3vYsG/bF651KPUXZ+hvjpgWYw/Gc7W9NFUe3ZVLczKKWIij3IKpOrQcdw4TILtibFslZ0UmR8Vvzig4g== - dependencies: - at-least-node "^1.0.0" - graceful-fs "^4.2.0" - jsonfile "^6.0.1" - universalify "^1.0.0" - fs-extra@^0.30.0: version "0.30.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-0.30.0.tgz#f233ffcc08d4da7d432daa449776989db1df93f0" @@ -12049,21 +11920,11 @@ gensync@^1.0.0-beta.1, gensync@^1.0.0-beta.2: resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== -get-assigned-identifiers@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/get-assigned-identifiers/-/get-assigned-identifiers-1.2.0.tgz#6dbf411de648cbaf8d9169ebb0d2d576191e2ff1" - integrity sha512-mBBwmeGTrxEMO4pMaaf/uUEFHnYtwr8FTe8Y/mer4rcV/bye0qGm6pw1bGZFGStxC5O76c5ZAVBGnqHmOaJpdQ== - get-caller-file@^2.0.1, get-caller-file@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-func-name@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.0.tgz#ead774abee72e20409433a066366023dd6887a41" - integrity sha1-6td0q+5y4gQJQzoGY2YCPdaIekE= - get-intrinsic@^1.0.1, get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3: version "1.2.0" resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.0.tgz#7ad1dc0535f3a2904bba075772763e5051f6d05f" @@ -12153,11 +12014,6 @@ gettext-parser@^3.1.0: readable-stream "^3.2.0" safe-buffer "^5.1.2" -gherkin@^5.0.0, gherkin@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/gherkin/-/gherkin-5.1.0.tgz#684bbb03add24eaf7bdf544f58033eb28fb3c6d5" - integrity sha1-aEu7A63STq9731RPWAM+so+zxtU= - git-raw-commits@^2.0.0: version "2.0.8" resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-2.0.8.tgz#65cef91ae8307281b6ee31ca481fa1164e166156" @@ -12244,7 +12100,29 @@ glob-to-regexp@^0.4.1: resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== -glob@^7.0.0, glob@^7.0.3, glob@^7.1.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.5, glob@^7.1.6, glob@^7.1.7, glob@~7.1.1: +glob@8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" + integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^5.0.1" + once "^1.3.0" + +glob@^10.3.10: + version "10.3.10" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.10.tgz#0351ebb809fd187fe421ab96af83d3a70715df4b" + integrity sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g== + dependencies: + foreground-child "^3.1.0" + jackspeak "^2.3.5" + minimatch "^9.0.1" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + path-scurry "^1.10.1" + +glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.5, glob@^7.1.6, glob@^7.1.7, glob@~7.1.1: version "7.1.7" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90" integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ== @@ -12521,6 +12399,13 @@ has-ansi@^2.0.0: dependencies: ansi-regex "^2.0.0" +has-ansi@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-4.0.1.tgz#f216a8c8d7b129e490dc15f4a62cc1cdb9603ce8" + integrity sha512-Qr4RtTm30xvEdqUXbSBVWDu+PrTokJOwe/FU+VdfJPk+MXAPoeOzKpRyrDTnZIJwAkQ4oBLTU53nu0HrkF/Z2A== + dependencies: + ansi-regex "^4.1.0" + has-bigints@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa" @@ -12721,7 +12606,7 @@ hastscript@^6.0.0: property-information "^5.0.0" space-separated-tokens "^1.0.0" -he@^1.2.0: +he@1.2.0, he@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== @@ -12912,11 +12797,6 @@ html-webpack-plugin@^5.5.0: pretty-error "^4.0.0" tapable "^2.0.0" -htmlescape@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/htmlescape/-/htmlescape-1.1.1.tgz#3a03edc2214bca3b66424a3e7959349509cb0351" - integrity sha1-OgPtwiFLyjtmQko+eVk0lQnLA1E= - htmlparser2@^3.3.0, htmlparser2@^3.9.1: version "3.10.1" resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.10.1.tgz#bd679dc3f59897b6a34bb10749c855bb53a9392f" @@ -13279,11 +13159,6 @@ imurmurhash@^0.1.4: resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= -indent-string@^3.1.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289" - integrity sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok= - indent-string@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" @@ -13337,13 +13212,6 @@ ini@^1.3.4, ini@^1.3.5, ini@~1.3.0: resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== -inline-source-map@~0.6.0: - version "0.6.2" - resolved "https://registry.yarnpkg.com/inline-source-map/-/inline-source-map-0.6.2.tgz#f9393471c18a79d1724f863fa38b586370ade2a5" - integrity sha1-+Tk0ccGKedFyT4Y/o4tYY3Ct4qU= - dependencies: - source-map "~0.5.3" - inline-style-parser@0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/inline-style-parser/-/inline-style-parser-0.1.1.tgz#ec8a3b429274e9c0a1f1c4ffa9453a7fef72cea1" @@ -13387,22 +13255,6 @@ inquirer@^7.3.3: strip-ansi "^6.0.0" through "^2.3.6" -insert-module-globals@^7.0.0: - version "7.2.1" - resolved "https://registry.yarnpkg.com/insert-module-globals/-/insert-module-globals-7.2.1.tgz#d5e33185181a4e1f33b15f7bf100ee91890d5cb3" - integrity sha512-ufS5Qq9RZN+Bu899eA9QCAYThY+gGW7oRkmb0vC93Vlyu/CFGcH0OYPEjVkDXA5FEbTt1+VWzdoOD3Ny9N+8tg== - dependencies: - JSONStream "^1.0.3" - acorn-node "^1.5.2" - combine-source-map "^0.8.0" - concat-stream "^1.6.1" - is-buffer "^1.1.0" - path-is-absolute "^1.0.1" - process "~0.11.0" - through2 "^2.0.0" - undeclared-identifiers "^1.1.2" - xtend "^4.0.0" - internal-ip@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/internal-ip/-/internal-ip-4.3.0.tgz#845452baad9d2ca3b69c635a137acb9a0dad0907" @@ -13430,7 +13282,7 @@ interpret@^2.2.0: resolved "https://registry.yarnpkg.com/interpret/-/interpret-2.2.0.tgz#1a78a0b5965c40a5416d007ad6f50ad27c417df9" integrity sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw== -invariant@^2.2.2, invariant@^2.2.3, invariant@^2.2.4: +invariant@^2.2.3, invariant@^2.2.4: version "2.2.4" resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== @@ -13552,7 +13404,7 @@ is-boolean-object@^1.0.1, is-boolean-object@^1.1.0: dependencies: call-bind "^1.0.0" -is-buffer@^1.1.0, is-buffer@^1.1.5: +is-buffer@^1.1.5: version "1.1.6" resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== @@ -13709,11 +13561,6 @@ is-generator-fn@^2.0.0: resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== -is-generator@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/is-generator/-/is-generator-1.0.3.tgz#c14c21057ed36e328db80347966c693f886389f3" - integrity sha1-wUwhBX7TbjKNuANHlmxpP4hjifM= - is-glob@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" @@ -13844,7 +13691,7 @@ is-path-inside@^2.1.0: dependencies: path-is-inside "^1.0.2" -is-path-inside@^3.0.2: +is-path-inside@^3.0.2, is-path-inside@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== @@ -13854,7 +13701,7 @@ is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4= -is-plain-obj@^2.0.0: +is-plain-obj@^2.0.0, is-plain-obj@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== @@ -13989,6 +13836,11 @@ is-unc-path@^1.0.0: dependencies: unc-path-regex "^0.1.2" +is-unicode-supported@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" + integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== + is-utf8@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" @@ -14144,6 +13996,15 @@ iterate-value@^1.0.0: es-get-iterator "^1.0.2" iterate-iterator "^1.0.1" +jackspeak@^2.3.5: + version "2.3.6" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-2.3.6.tgz#647ecc472238aee4b06ac0e461acc21a8c505ca8" + integrity sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ== + dependencies: + "@isaacs/cliui" "^8.0.2" + optionalDependencies: + "@pkgjs/parseargs" "^0.11.0" + jake@^10.6.1: version "10.8.2" resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.2.tgz#ebc9de8558160a66d82d0eadc6a2e58fbc500a7b" @@ -14990,11 +14851,6 @@ js-beautify@^1.8.8: mkdirp "^1.0.4" nopt "^5.0.0" -js-levenshtein@^1.1.3: - version "1.1.6" - resolved "https://registry.yarnpkg.com/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d" - integrity sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g== - js-sha3@0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" @@ -15015,7 +14871,14 @@ js-tokens@^3.0.2: resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls= -js-yaml@^3.13.1, js-yaml@^3.6.1, js-yaml@^3.9.0: +js-yaml@4.1.0, js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== + dependencies: + argparse "^2.0.1" + +js-yaml@^3.13.1, js-yaml@^3.6.1: version "3.14.1" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== @@ -15023,13 +14886,6 @@ js-yaml@^3.13.1, js-yaml@^3.6.1, js-yaml@^3.9.0: argparse "^1.0.7" esprima "^4.0.0" -js-yaml@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" - integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== - dependencies: - argparse "^2.0.1" - js2xmlparser@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/js2xmlparser/-/js2xmlparser-4.0.1.tgz#670ef71bc5661f089cc90481b99a05a1227ae3bd" @@ -15220,13 +15076,6 @@ json-stable-stringify-without-jsonify@^1.0.1: resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE= -json-stable-stringify@~0.0.0: - version "0.0.1" - resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-0.0.1.tgz#611c23e814db375527df851193db59dd2af27f45" - integrity sha1-YRwj6BTbN1Un34URk9tZ3Sryf0U= - dependencies: - jsonify "~0.0.0" - json-stringify-safe@~5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" @@ -15244,7 +15093,7 @@ json5@^1.0.1: dependencies: minimist "^1.2.0" -json5@^2.1.0, json5@^2.1.2, json5@^2.1.3: +json5@^2.1.2, json5@^2.1.3: version "2.2.0" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.0.tgz#2dfefe720c6ba525d9ebd909950f0515316c89a3" integrity sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA== @@ -15274,11 +15123,6 @@ jsonfile@^6.0.1: optionalDependencies: graceful-fs "^4.1.6" -jsonify@~0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" - integrity sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM= - jsonparse@^1.2.0: version "1.3.1" resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" @@ -15385,18 +15229,10 @@ klona@^2.0.4, klona@^2.0.5: knuth-shuffle-seeded@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/knuth-shuffle-seeded/-/knuth-shuffle-seeded-1.0.6.tgz#01f1b65733aa7540ee08d8b0174164d22081e4e1" - integrity sha1-AfG2VzOqdUDuCNiwF0Fk0iCB5OE= + integrity sha512-9pFH0SplrfyKyojCLxZfMcvkhf5hH0d+UwR9nTVJ/DDQJGuzcXjTwB7TP7sDfehSudlGGaOLblmEWqv04ERVWg== dependencies: seed-random "~2.2.0" -labeled-stream-splicer@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/labeled-stream-splicer/-/labeled-stream-splicer-2.0.2.tgz#42a41a16abcd46fd046306cf4f2c3576fffb1c21" - integrity sha512-Ca4LSXFFZUjPScRaqOcFxneA0VpKZr4MMYCljyQr4LIewTLb3Y0IUTIsnBBsVubIeEfxeSZpSjSsRM8APEQaAw== - dependencies: - inherits "^2.0.1" - stream-splicer "^2.0.0" - language-subtag-registry@~0.3.2: version "0.3.21" resolved "https://registry.yarnpkg.com/language-subtag-registry/-/language-subtag-registry-0.3.21.tgz#04ac218bea46f04cb039084602c6da9e788dd45a" @@ -15627,11 +15463,6 @@ lodash.camelcase@^4.3.0: resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" integrity sha1-soqmKIorn8ZRA1x3EfZathkDMaY= -lodash.clonedeep@4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" - integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= - lodash.curry@^4.0.1: version "4.1.1" resolved "https://registry.yarnpkg.com/lodash.curry/-/lodash.curry-4.1.1.tgz#248e36072ede906501d75966200a86dab8b23170" @@ -15707,16 +15538,16 @@ lodash.memoize@^4.1.2: resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4= -lodash.memoize@~3.0.3: - version "3.0.4" - resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-3.0.4.tgz#2dcbd2c287cbc0a55cc42328bd0c736150d53e3f" - integrity sha1-LcvSwofLwKVcxCMovQxzYVDVPj8= - lodash.merge@^4.4.0, lodash.merge@^4.6.2: version "4.6.2" resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== +lodash.mergewith@^4.6.2: + version "4.6.2" + resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" + integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== + lodash.omit@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.omit/-/lodash.omit-4.5.0.tgz#6eb19ae5a1ee1dd9df0b969e66ce0b7fa30b5e60" @@ -15787,11 +15618,19 @@ lodash.uniq@4.5.0, lodash.uniq@^4.5.0: resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -"lodash@>=3.5 <5", lodash@^4.0.0, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.7.0, lodash@~4.17.10: +"lodash@>=3.5 <5", lodash@^4.0.0, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.5, lodash@^4.7.0, lodash@~4.17.10: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== +log-symbols@4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" + integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== + dependencies: + chalk "^4.1.0" + is-unicode-supported "^0.1.0" + log-symbols@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.0.0.tgz#69b3cc46d20f448eccdb75ea1fa733d9e821c920" @@ -15821,11 +15660,6 @@ loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.2.0, loose-envify@^1.3 dependencies: js-tokens "^3.0.0 || ^4.0.0" -lower-case@^1.1.1: - version "1.1.4" - resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-1.1.4.tgz#9a2cabd1b9e8e0ae993a4bf7d5875c39c42e8eac" - integrity sha1-miyr0bno4K6ZOkv31YdcOcQujqw= - lower-case@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28" @@ -15873,6 +15707,16 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" +"lru-cache@^9.1.1 || ^10.0.0": + version "10.2.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.0.tgz#0bd445ca57363465900f4d1f9bd8db343a4d95c3" + integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q== + +luxon@3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/luxon/-/luxon-3.2.1.tgz#14f1af209188ad61212578ea7e3d518d18cee45f" + integrity sha512-QrwPArQCNLAKGO/C+ZIilgIuDnEnKx5QYODdDtbFaxzsbZcc/a7WFq7MhsVYgRlwawLtvOUESTlfJ+hc/USqPg== + lz-string@^1.4.4: version "1.4.4" resolved "https://registry.yarnpkg.com/lz-string/-/lz-string-1.4.4.tgz#c0d8eaf36059f705796e1e344811cf4c498d3a26" @@ -16285,6 +16129,13 @@ minimatch@3.0.4, minimatch@~3.0.2: dependencies: brace-expansion "^1.1.7" +minimatch@5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.0.1.tgz#fb9022f7528125187c92bd9e9b6366be1cf3415b" + integrity sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g== + dependencies: + brace-expansion "^2.0.1" + minimatch@^3.0.2, minimatch@^3.0.4, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" @@ -16292,6 +16143,20 @@ minimatch@^3.0.2, minimatch@^3.0.4, minimatch@^3.1.2: dependencies: brace-expansion "^1.1.7" +minimatch@^5.0.1: + version "5.1.6" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" + integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g== + dependencies: + brace-expansion "^2.0.1" + +minimatch@^9.0.1: + version "9.0.3" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825" + integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg== + dependencies: + brace-expansion "^2.0.1" + minimist-options@4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" @@ -16301,11 +16166,16 @@ minimist-options@4.1.0: is-plain-obj "^1.1.0" kind-of "^6.0.3" -minimist@^1.1.0, minimist@^1.1.1, minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: +minimist@^1.1.1, minimist@^1.2.0, minimist@^1.2.5: version "1.2.7" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18" integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g== +minimist@^1.2.8: + version "1.2.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" + integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== + minipass-collect@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-1.0.2.tgz#22b813bf745dc6edba2576b940022ad6edc8c617" @@ -16342,6 +16212,11 @@ minipass@^3.0.0, minipass@^3.1.1: dependencies: yallist "^4.0.0" +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0": + version "7.0.4" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c" + integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== + minizlib@^1.2.1: version "1.3.3" resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" @@ -16381,11 +16256,6 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^1.0.1" -mkdirp-classic@^0.5.2: - version "0.5.3" - resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113" - integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A== - mkdirp2@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/mkdirp2/-/mkdirp2-1.0.4.tgz#56de1f8f5c93cf2199906362eba0f9f262ee4437" @@ -16403,26 +16273,36 @@ mkdirp@^1.0.3, mkdirp@^1.0.4: resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== -module-deps@^6.0.0, module-deps@^6.2.3: - version "6.2.3" - resolved "https://registry.yarnpkg.com/module-deps/-/module-deps-6.2.3.tgz#15490bc02af4b56cf62299c7c17cba32d71a96ee" - integrity sha512-fg7OZaQBcL4/L+AK5f4iVqf9OMbCclXfy/znXRxTVhJSeW5AIlS9AwheYwDaXM3lVW7OBeaeUEY3gbaC6cLlSA== - dependencies: - JSONStream "^1.0.3" - browser-resolve "^2.0.0" - cached-path-relative "^1.0.2" - concat-stream "~1.6.0" - defined "^1.0.0" - detective "^5.2.0" - duplexer2 "^0.1.2" - inherits "^2.0.1" - parents "^1.0.0" - readable-stream "^2.0.2" - resolve "^1.4.0" - stream-combiner2 "^1.1.1" - subarg "^1.0.0" - through2 "^2.0.0" - xtend "^4.0.0" +mkdirp@^2.1.5: + version "2.1.6" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-2.1.6.tgz#964fbcb12b2d8c5d6fbc62a963ac95a273e2cc19" + integrity sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A== + +mocha@^10.2.0: + version "10.3.0" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-10.3.0.tgz#0e185c49e6dccf582035c05fa91084a4ff6e3fe9" + integrity sha512-uF2XJs+7xSLsrmIvn37i/wnc91nw7XjOQB8ccyx5aEgdnohr7n+rEiZP23WkCYHjilR6+EboEnbq/ZQDz4LSbg== + dependencies: + ansi-colors "4.1.1" + browser-stdout "1.3.1" + chokidar "3.5.3" + debug "4.3.4" + diff "5.0.0" + escape-string-regexp "4.0.0" + find-up "5.0.0" + glob "8.1.0" + he "1.2.0" + js-yaml "4.1.0" + log-symbols "4.1.0" + minimatch "5.0.1" + ms "2.1.3" + serialize-javascript "6.0.0" + strip-json-comments "3.1.1" + supports-color "8.1.1" + workerpool "6.2.1" + yargs "16.2.0" + yargs-parser "20.2.4" + yargs-unparser "2.0.0" moment@^2.24.0, moment@^2.29.1: version "2.29.1" @@ -16477,6 +16357,11 @@ ms@2.1.2, ms@^2.1.1: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== +ms@2.1.3: + version "2.1.3" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== + multicast-dns-service-types@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz#899f11d9686e5e05cb91b35d5f0e63b773cfc901" @@ -16495,7 +16380,7 @@ mute-stream@0.0.8: resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== -mz@^2.4.0: +mz@^2.7.0: version "2.7.0" resolved "https://registry.yarnpkg.com/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32" integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q== @@ -16586,13 +16471,6 @@ nice-try@^1.0.4: resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== -no-case@^2.2.0: - version "2.3.2" - resolved "https://registry.yarnpkg.com/no-case/-/no-case-2.3.2.tgz#60b813396be39b3f1288a4c1ed5d1e7d28b464ac" - integrity sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ== - dependencies: - lower-case "^1.1.1" - no-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" @@ -16637,6 +16515,11 @@ node-gettext@^2.0.0: dependencies: lodash.get "^4.4.2" +node-hook@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/node-hook/-/node-hook-1.0.0.tgz#82ca39af991d726d5c7952e59c992378bb296f7e" + integrity sha512-tBTIHwkzXvbesP0fY495VsqSWCOS5Ttt5+mAmeqUC1yglCiSYarNewfi2Q+HOL+M6pZYYqwGU6jIi5+gIHQbpg== + node-http-proxy-json@^0.1.9: version "0.1.9" resolved "https://registry.yarnpkg.com/node-http-proxy-json/-/node-http-proxy-json-0.1.9.tgz#5e744138c189ebd7e0105fe92d035a5486478cd4" @@ -17078,7 +16961,7 @@ original@^1.0.0: dependencies: url-parse "^1.4.3" -os-browserify@^0.3.0, os-browserify@~0.3.0: +os-browserify@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" integrity sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc= @@ -17093,13 +16976,6 @@ ospath@^1.2.2: resolved "https://registry.yarnpkg.com/ospath/-/ospath-1.2.2.tgz#1276639774a3f8ef2572f7fe4280e0ea4550c07b" integrity sha1-EnZjl3Sj+O8lcvf+QoDg6kVQwHs= -outpipe@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/outpipe/-/outpipe-1.1.1.tgz#50cf8616365e87e031e29a5ec9339a3da4725fa2" - integrity sha1-UM+GFjZeh+Ax4ppeyTOaPaRyX6I= - dependencies: - shell-quote "^1.4.2" - overlayscrollbars@^1.13.1: version "1.13.1" resolved "https://registry.yarnpkg.com/overlayscrollbars/-/overlayscrollbars-1.13.1.tgz#0b840a88737f43a946b9d87875a2f9e421d0338a" @@ -17254,7 +17130,7 @@ package-json@^6.3.0, package-json@^6.5.0: pad-right@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/pad-right/-/pad-right-0.2.2.tgz#6fbc924045d244f2a2a244503060d3bfc6009774" - integrity sha1-b7ySQEXSRPKiokRQMGDTv8YAl3Q= + integrity sha512-4cy8M95ioIGolCoMmm2cMntGR1lPLEbOMzOKu8bzjuJP6JpzEMQcDHmh7hHLYGgob+nKe1YHFMaG4V59HQa89g== dependencies: repeat-string "^1.5.2" @@ -17287,13 +17163,6 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" -parents@^1.0.0, parents@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/parents/-/parents-1.0.1.tgz#fedd4d2bf193a77745fe71e371d73c3307d9c751" - integrity sha1-/t1NK/GTp3dF/nHjcdc8MwfZx1E= - dependencies: - path-platform "~0.11.15" - parse-asn1@^5.0.0, parse-asn1@^5.1.5: version "5.1.6" resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.6.tgz#385080a3ec13cb62a62d39409cb3e88844cdaed4" @@ -17359,6 +17228,16 @@ parse-json@^5.0.0: json-parse-even-better-errors "^2.3.0" lines-and-columns "^1.1.6" +parse-json@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + parse-numeric-range@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/parse-numeric-range/-/parse-numeric-range-1.3.0.tgz#7c63b61190d61e4d53a1197f0c83c47bb670ffa3" @@ -17399,7 +17278,7 @@ pascalcase@^0.1.1: resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ= -path-browserify@0.0.1, path-browserify@~0.0.0: +path-browserify@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a" integrity sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ== @@ -17419,7 +17298,7 @@ path-exists@^4.0.0: resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== -path-is-absolute@^1.0.0, path-is-absolute@^1.0.1: +path-is-absolute@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= @@ -17444,10 +17323,13 @@ path-parse@^1.0.6, path-parse@^1.0.7: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== -path-platform@~0.11.15: - version "0.11.15" - resolved "https://registry.yarnpkg.com/path-platform/-/path-platform-0.11.15.tgz#e864217f74c36850f0852b78dc7bf7d4a5721bf2" - integrity sha1-6GQhf3TDaFDwhSt43Hv31KVyG/I= +path-scurry@^1.10.1: + version "1.10.1" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.1.tgz#9ba6bf5aa8500fe9fd67df4f0d9483b2b0bfc698" + integrity sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ== + dependencies: + lru-cache "^9.1.1 || ^10.0.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" path-to-regexp@0.1.7: version "0.1.7" @@ -17485,11 +17367,6 @@ path-type@^4.0.0: resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== -pathval@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.0.tgz#b942e6d4bde653005ef6b71361def8727d0645e0" - integrity sha1-uULm1L3mUwBe9rcTYd74cn0GReA= - pause-stream@0.0.11: version "0.0.11" resolved "https://registry.yarnpkg.com/pause-stream/-/pause-stream-0.0.11.tgz#fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445" @@ -18684,12 +18561,12 @@ process-nextick-args@^2.0.0, process-nextick-args@~2.0.0: resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== -process@^0.11.10, process@~0.11.0: +process@^0.11.10: version "0.11.10" resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI= -progress@^2.0.0: +progress@^2.0.0, progress@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== @@ -18767,6 +18644,11 @@ prop-types@^15, prop-types@^15.0.0, prop-types@^15.6.0, prop-types@^15.6.1, prop object-assign "^4.1.1" react-is "^16.13.1" +property-expr@^2.0.5: + version "2.0.6" + resolved "https://registry.yarnpkg.com/property-expr/-/property-expr-2.0.6.tgz#f77bc00d5928a6c748414ad12882e83f24aec1e8" + integrity sha512-SVtmxhRE/CGkn3eZY1T6pC8Nln6Fr/lu1mKSgRud0eC73whjGfoAogbn78LkD8aFL0zz3bAFerKSnOl7NlErBA== + property-information@^5.0.0, property-information@^5.3.0: version "5.6.0" resolved "https://registry.yarnpkg.com/property-information/-/property-information-5.6.0.tgz#61675545fb23002f245c6540ec46077d4da3ed69" @@ -18893,6 +18775,13 @@ qs@^6.10.0: dependencies: side-channel "^1.0.4" +qs@~6.10.3: + version "6.10.5" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.5.tgz#974715920a80ff6a262264acd2c7e6c2a53282b4" + integrity sha512-O5RlPh0VFtR78y79rgcgKK4wbAI0C5zGVLztOIdpWX6ep368q5Hv6XRxDvXuZ9q3C6v+e3n8UfZZJw7IIG27eQ== + dependencies: + side-channel "^1.0.4" + qs@~6.5.2: version "6.5.2" resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" @@ -18906,7 +18795,7 @@ query-string@^4.1.0: object-assign "^4.1.0" strict-uri-encode "^1.0.0" -querystring-es3@^0.2.0, querystring-es3@~0.2.0: +querystring-es3@^0.2.0: version "0.2.1" resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" integrity sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM= @@ -18960,11 +18849,6 @@ ramda@^0.21.0: resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.21.0.tgz#a001abedb3ff61077d4ff1d577d44de77e8d0a35" integrity sha1-oAGr7bP/YQd9T/HVd9RN536NCjU= -ramda@~0.27.1: - version "0.27.2" - resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.27.2.tgz#84463226f7f36dc33592f6f4ed6374c48306c3f1" - integrity sha512-SbiLPU40JuJniHexQSAgad32hfwd+DRUdwF2PlVuI5RZD0/vahUco7R8vD86J/tcEKKF9vZrUVwgtmGCqlCKyA== - randexp@0.4.6: version "0.4.6" resolved "https://registry.yarnpkg.com/randexp/-/randexp-0.4.6.tgz#e986ad5e5e31dae13ddd6f7b3019aa7c87f60ca3" @@ -19520,13 +19404,6 @@ react@^16.8.6: object-assign "^4.1.1" prop-types "^15.6.2" -read-only-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/read-only-stream/-/read-only-stream-2.0.0.tgz#2724fd6a8113d73764ac288d4386270c1dbf17f0" - integrity sha1-JyT9aoET1zdkrCiNQ4YnDB2/F/A= - dependencies: - readable-stream "^2.0.2" - read-pkg-up@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-2.0.0.tgz#6b72a8048984e0c41e79510fd5e9fa99b3b549be" @@ -19677,6 +19554,16 @@ reduce-without@^1.0.1: dependencies: test-value "^2.0.0" +reflect-metadata@0.1.13: + version "0.1.13" + resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.1.13.tgz#67ae3ca57c972a2aa1642b10fe363fe32d49dc08" + integrity sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg== + +reflect-metadata@0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.2.1.tgz#8d5513c0f5ef2b4b9c3865287f3c0940c1f67f74" + integrity sha512-i5lLI6iw9AU3Uu4szRNPPEkomnkjRTaVt9hy/bn5g/oSzekBSMeLZblcjP74AW0vBabqERLLIrz+gR8QYR54Tw== + reflect.ownkeys@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/reflect.ownkeys/-/reflect.ownkeys-0.2.0.tgz#749aceec7f3fdf8b63f927a04809e90c5c0b3460" @@ -19708,11 +19595,6 @@ regenerator-runtime@^0.11.0: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg== -regenerator-runtime@^0.12.0: - version "0.12.1" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz#fa1a71544764c036f8c49b13a08b2594c9f8a0de" - integrity sha512-odxIc1/vDlo4iZcfXqRYFj0vpXFNoGdKMAUieAlFYO6m/nl5e9KR/beGf41z4a1FI+aQgtjhuaSlDxQ0hmkrHg== - regenerator-runtime@^0.13.4, regenerator-runtime@^0.13.7: version "0.13.7" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz#cac2dacc8a1ea675feaabaeb8ae833898ae46f55" @@ -19738,6 +19620,18 @@ regex-parser@^2.2.11: resolved "https://registry.yarnpkg.com/regex-parser/-/regex-parser-2.2.11.tgz#3b37ec9049e19479806e878cabe7c1ca83ccfe58" integrity sha512-jbD/FT0+9MBU2XAZluI7w2OBs1RBi6p9M83nkoZayQXXU9e8Robt69FcZc7wU4eJD/YFTjn1JdCk3rbMJajz8Q== +regexp-match-indices@1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/regexp-match-indices/-/regexp-match-indices-1.0.2.tgz#cf20054a6f7d5b3e116a701a7b00f82889d10da6" + integrity sha512-DwZuAkt8NF5mKwGGER1EGh2PRqyvhRhhLviH+R8y8dIuaQROlUfXjt4s9ZTXstIsSkptf06BSvwcEmmfheJJWQ== + dependencies: + regexp-tree "^0.1.11" + +regexp-tree@^0.1.11: + version "0.1.27" + resolved "https://registry.yarnpkg.com/regexp-tree/-/regexp-tree-0.1.27.tgz#2198f0ef54518ffa743fe74d983b56ffd631b6cd" + integrity sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA== + regexp.prototype.flags@^1.2.0, regexp.prototype.flags@^1.4.3: version "1.4.3" resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac" @@ -19992,7 +19886,7 @@ require-directory@^2.1.1: resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= -require-from-string@^2.0.1, require-from-string@^2.0.2: +require-from-string@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== @@ -20072,6 +19966,13 @@ resolve-pathname@^3.0.0: resolved "https://registry.yarnpkg.com/resolve-pathname/-/resolve-pathname-3.0.0.tgz#99d02224d3cf263689becbb393bc560313025dcd" integrity sha512-C7rARubxI8bXFNB/hqcp/4iUeIXJhJZvFPFPiSPRnhU5UPxzMFIl+2E6yY6c4k9giDJAhtV+enfA+G89N6Csng== +resolve-pkg@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/resolve-pkg/-/resolve-pkg-2.0.0.tgz#ac06991418a7623edc119084edc98b0e6bf05a41" + integrity sha512-+1lzwXehGCXSeryaISr6WujZzowloigEofRB+dj75y9RRa/obVcYgbHJd53tdYw8pvZj8GojXaaENws8Ktw/hQ== + dependencies: + resolve-from "^5.0.0" + resolve-url-loader@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/resolve-url-loader/-/resolve-url-loader-3.1.2.tgz#235e2c28e22e3e432ba7a5d4e305c59a58edfc08" @@ -20093,11 +19994,6 @@ resolve-url@^0.2.1: resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= -resolve@1.1.7: - version "1.1.7" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" - integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs= - resolve@1.18.1: version "1.18.1" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.18.1.tgz#018fcb2c5b207d2a6424aee361c5a266da8f4130" @@ -20106,7 +20002,7 @@ resolve@1.18.1: is-core-module "^2.0.0" path-parse "^1.0.6" -resolve@^1.1.4, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.14.2, resolve@^1.17.0, resolve@^1.18.1, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.3.2, resolve@^1.3.3, resolve@^1.4.0, resolve@^1.8.1: +resolve@^1.1.6, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.14.2, resolve@^1.17.0, resolve@^1.18.1, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.3.2, resolve@^1.8.1: version "1.21.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.21.0.tgz#b51adc97f3472e6a5cf4444d34bc9d6b9037591f" integrity sha512-3wCbTpk5WJlyE4mSOtDLhqQmGFi0/TD9VPwmiolnk8U0wRgMEktqCXd3vy5buTO3tljvalNvKrjHEfrd2WpEKA== @@ -20471,7 +20367,12 @@ section-matter@^1.0.0: seed-random@~2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/seed-random/-/seed-random-2.2.0.tgz#2a9b19e250a817099231a5b99a4daf80b7fbed54" - integrity sha1-KpsZ4lCoFwmSMaW5mk2vgLf77VQ= + integrity sha512-34EQV6AAHQGhoc0tn/96a9Fsi6v2xdqe/dMUwljGRaFOzR3EgRmECvD0O8vi8X+/uQ50LGHfkNu/Eue5TPKZkQ== + +seedrandom@^3.0.5: + version "3.0.5" + resolved "https://registry.yarnpkg.com/seedrandom/-/seedrandom-3.0.5.tgz#54edc85c95222525b0c7a6f6b3543d8e0b3aa0a7" + integrity sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg== select-hose@^2.0.0: version "2.0.0" @@ -20541,11 +20442,25 @@ semver@7.3.5, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5: dependencies: lru-cache "^6.0.0" +semver@7.5.3: + version "7.5.3" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.3.tgz#161ce8c2c6b4b3bdca6caadc9fa3317a4c4fe88e" + integrity sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ== + dependencies: + lru-cache "^6.0.0" + semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0: version "6.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== +semver@^7.5.3: + version "7.6.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d" + integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg== + dependencies: + lru-cache "^6.0.0" + send@0.17.1, send@latest: version "0.17.1" resolved "https://registry.yarnpkg.com/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8" @@ -20565,10 +20480,12 @@ send@0.17.1, send@latest: range-parser "~1.2.1" statuses "~1.5.0" -serialize-error@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/serialize-error/-/serialize-error-2.1.0.tgz#50b679d5635cdf84667bdc8e59af4e5b81d5f60a" - integrity sha1-ULZ51WNc34Rme9yOWa9OW4HV9go= +serialize-javascript@6.0.0, serialize-javascript@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.0.tgz#efae5d88f45d7924141da8b5c3a7a7e663fefeb8" + integrity sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag== + dependencies: + randombytes "^2.1.0" serialize-javascript@^4.0.0: version "4.0.0" @@ -20584,13 +20501,6 @@ serialize-javascript@^5.0.1: dependencies: randombytes "^2.1.0" -serialize-javascript@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.0.tgz#efae5d88f45d7924141da8b5c3a7a7e663fefeb8" - integrity sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag== - dependencies: - randombytes "^2.1.0" - serve-favicon@^2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/serve-favicon/-/serve-favicon-2.5.0.tgz#935d240cdfe0f5805307fdfe967d88942a2cbcf0" @@ -20669,7 +20579,7 @@ setprototypeof@1.1.1: resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683" integrity sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw== -sha.js@^2.4.0, sha.js@^2.4.8, sha.js@~2.4.4: +sha.js@^2.4.0, sha.js@^2.4.8: version "2.4.11" resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== @@ -20689,21 +20599,6 @@ shallowequal@^1.1.0: resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8" integrity sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ== -shasum-object@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/shasum-object/-/shasum-object-1.0.0.tgz#0b7b74ff5b66ecf9035475522fa05090ac47e29e" - integrity sha512-Iqo5rp/3xVi6M4YheapzZhhGPVs0yZwHj7wvwQ1B9z8H6zk+FEnI7y3Teq7qwnekfEhu8WmG2z0z4iWZaxLWVg== - dependencies: - fast-safe-stringify "^2.0.7" - -shasum@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/shasum/-/shasum-1.0.2.tgz#e7012310d8f417f4deb5712150e5678b87ae565f" - integrity sha1-5wEjENj0F/TetXEhUOVni4euVl8= - dependencies: - json-stable-stringify "~0.0.0" - sha.js "~2.4.4" - shebang-command@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" @@ -20733,7 +20628,7 @@ shell-quote@1.7.2: resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.7.2.tgz#67a7d02c76c9da24f99d20808fcaded0e0e04be2" integrity sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg== -shell-quote@^1.4.2, shell-quote@^1.6.1, shell-quote@^1.7.3: +shell-quote@^1.7.3: version "1.7.3" resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.7.3.tgz#aa40edac170445b9a431e17bb62c0b881b9c4123" integrity sha512-Vpfqwm4EnqGdlsBFNmHhxhElJYrdfcxPThu+ryKS5J8L/fhAwLazFZtq+S+TWZ9ANj2piSQLGj6NQg+lKPmxrw== @@ -20771,10 +20666,10 @@ signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3: resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== -simple-concat@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/simple-concat/-/simple-concat-1.0.1.tgz#f46976082ba35c2263f1c8ab5edfe26c41c9552f" - integrity sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q== +signal-exit@^4.0.1: + version "4.1.0" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" + integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== simple-swizzle@^0.2.2: version "0.2.2" @@ -20971,6 +20866,14 @@ source-map-resolve@^0.6.0: atob "^2.1.2" decode-uri-component "^0.2.0" +source-map-support@0.5.21, source-map-support@^0.5.21: + version "0.5.21" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" + integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + source-map-support@^0.5.16, source-map-support@^0.5.6, source-map-support@~0.5.12, source-map-support@~0.5.20: version "0.5.20" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.20.tgz#12166089f8f5e5e8c56926b377633392dd2cb6c9" @@ -20984,11 +20887,6 @@ source-map-url@^0.4.0: resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" integrity sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM= -source-map@0.5.6: - version "0.5.6" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412" - integrity sha1-dc449SvwczxafwwRjYEzSiu19BI= - source-map@0.6.1, source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" @@ -20999,11 +20897,16 @@ source-map@0.7.3, source-map@^0.7.3, source-map@~0.7.2: resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ== -source-map@^0.5.0, source-map@^0.5.6, source-map@^0.5.7, source-map@~0.5.3: +source-map@^0.5.0, source-map@^0.5.6, source-map@^0.5.7: version "0.5.7" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= +source-map@^0.7.4: + version "0.7.4" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656" + integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA== + source-map@^0.8.0-beta.0: version "0.8.0-beta.0" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.8.0-beta.0.tgz#d4c1bb42c3f7ee925f005927ba10709e0d1d1f11" @@ -21104,6 +21007,13 @@ split@0.3: dependencies: through "2" +split@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9" + integrity sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg== + dependencies: + through "2" + sprintf-js@~1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" @@ -21143,18 +21053,6 @@ stable@^0.1.8: resolved "https://registry.yarnpkg.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf" integrity sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w== -stack-chain@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/stack-chain/-/stack-chain-2.0.0.tgz#d73d1172af89565f07438b5bcc086831b6689b2d" - integrity sha512-GGrHXePi305aW7XQweYZZwiRwR7Js3MWoK/EHzzB9ROdc75nCnjSJVi21rdAGxFl+yCx2L2qdfl5y7NO4lTyqg== - -stack-generator@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/stack-generator/-/stack-generator-2.0.5.tgz#fb00e5b4ee97de603e0773ea78ce944d81596c36" - integrity sha512-/t1ebrbHkrLrDuNMdeAcsvynWgoH/i4o8EGGfX7dEYDoTXOYVAkEpFdtshlvabzc6JlJ8Kf9YdFEoz7JkzGN9Q== - dependencies: - stackframe "^1.1.1" - stack-utils@^2.0.2, stack-utils@^2.0.3: version "2.0.5" resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.5.tgz#d25265fca995154659dbbfba3b49254778d2fdd5" @@ -21167,22 +21065,10 @@ stackframe@^1.1.1: resolved "https://registry.yarnpkg.com/stackframe/-/stackframe-1.2.0.tgz#52429492d63c62eb989804c11552e3d22e779303" integrity sha512-GrdeshiRmS1YLMYgzF16olf2jJ/IzxXY9lhKOskuVziubpTYcYqyOwYeJKzQkwy7uN0fYSsbsC4RQaXf9LCrYA== -stacktrace-gps@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/stacktrace-gps/-/stacktrace-gps-3.0.4.tgz#7688dc2fc09ffb3a13165ebe0dbcaf41bcf0c69a" - integrity sha512-qIr8x41yZVSldqdqe6jciXEaSCKw1U8XTXpjDuy0ki/apyTn/r3w9hDAAQOhZdxvsC93H+WwwEu5cq5VemzYeg== - dependencies: - source-map "0.5.6" - stackframe "^1.1.1" - -stacktrace-js@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/stacktrace-js/-/stacktrace-js-2.0.2.tgz#4ca93ea9f494752d55709a081d400fdaebee897b" - integrity sha512-Je5vBeY4S1r/RnLydLl0TBTi3F2qdfWmYsGvtfZgEI+SCprPppaIhQf5nGcal4gI4cGpCV/duLcAzT1np6sQqg== - dependencies: - error-stack-parser "^2.0.6" - stack-generator "^2.0.5" - stacktrace-gps "^3.0.4" +stackframe@^1.3.4: + version "1.3.4" + resolved "https://registry.yarnpkg.com/stackframe/-/stackframe-1.3.4.tgz#b881a004c8c149a5e8efef37d51b16e412943310" + integrity sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw== state-toggle@^1.0.0: version "1.0.3" @@ -21238,7 +21124,7 @@ storybook-pretty-props@^1.0.3: resolved "https://registry.yarnpkg.com/storybook-pretty-props/-/storybook-pretty-props-1.2.1.tgz#04c6e7c80efc0190a5dd94dceaf50579c159e182" integrity sha512-3dUtu0UbBA6idA3Qo0i+CYGGz8GiqlXzhgCJdT065jnuJ3y9intKxZpv05ZbnQXCPnsPVSDos+hgOZ444hf6xA== -stream-browserify@^2.0.0, stream-browserify@^2.0.1: +stream-browserify@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.2.tgz#87521d38a44aa7ee91ce1cd2a47df0cb49dd660b" integrity sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg== @@ -21246,14 +21132,6 @@ stream-browserify@^2.0.0, stream-browserify@^2.0.1: inherits "~2.0.1" readable-stream "^2.0.2" -stream-combiner2@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/stream-combiner2/-/stream-combiner2-1.1.1.tgz#fb4d8a1420ea362764e21ad4780397bebcb41cbe" - integrity sha1-+02KFCDqNidk4hrUeAOXvry0HL4= - dependencies: - duplexer2 "~0.1.0" - readable-stream "^2.0.2" - stream-combiner@~0.0.4: version "0.0.4" resolved "https://registry.yarnpkg.com/stream-combiner/-/stream-combiner-0.0.4.tgz#4d5e433c185261dde623ca3f44c586bcf5c4ad14" @@ -21276,7 +21154,7 @@ stream-each@^1.1.0: end-of-stream "^1.1.0" stream-shift "^1.0.0" -stream-http@^2.0.0, stream-http@^2.7.2: +stream-http@^2.7.2: version "2.8.3" resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.8.3.tgz#b2d242469288a5a27ec4fe8933acf623de6514fc" integrity sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw== @@ -21287,29 +21165,11 @@ stream-http@^2.0.0, stream-http@^2.7.2: to-arraybuffer "^1.0.0" xtend "^4.0.0" -stream-http@^3.0.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-3.1.1.tgz#0370a8017cf8d050b9a8554afe608f043eaff564" - integrity sha512-S7OqaYu0EkFpgeGFb/NPOoPLxFko7TPqtEeFg5DXPB4v/KETHG0Ln6fRFrNezoelpaDKmycEmmZ81cC9DAwgYg== - dependencies: - builtin-status-codes "^3.0.0" - inherits "^2.0.4" - readable-stream "^3.6.0" - xtend "^4.0.2" - stream-shift@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d" integrity sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ== -stream-splicer@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/stream-splicer/-/stream-splicer-2.0.1.tgz#0b13b7ee2b5ac7e0609a7463d83899589a363fcd" - integrity sha512-Xizh4/NPuYSyAXyT7g8IvdJ9HJpxIGL9PjyhtywCZvvP0OPIdqyrr4dMikeuvY8xahpdKEBlBTySe583totajg== - dependencies: - inherits "^2.0.1" - readable-stream "^2.0.2" - stream-via@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/stream-via/-/stream-via-1.0.4.tgz#8dccbb0ac909328eb8bc8e2a4bd3934afdaf606c" @@ -21320,10 +21180,10 @@ strict-uri-encode@^1.0.0: resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713" integrity sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM= -string-argv@0.0.2: - version "0.0.2" - resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.0.2.tgz#dac30408690c21f3c3630a3ff3a05877bdcbd736" - integrity sha1-2sMECGkMIfPDYwo/86BYd73L1zY= +string-argv@0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da" + integrity sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg== string-hash@1.1.3: version "1.1.3" @@ -21343,6 +21203,15 @@ 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.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, 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@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" @@ -21369,16 +21238,7 @@ 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.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, 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.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" integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== @@ -21469,6 +21329,13 @@ 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.1, 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@6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" @@ -21497,13 +21364,6 @@ 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.0, strip-ansi@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.0.1.tgz#61740a08ce36b61e50e65653f07060d000975fb2" @@ -21556,7 +21416,7 @@ strip-indent@^3.0.0: dependencies: min-indent "^1.0.0" -strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: +strip-json-comments@3.1.1, strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== @@ -21622,12 +21482,12 @@ stylis@3.5.4: resolved "https://registry.yarnpkg.com/stylis/-/stylis-3.5.4.tgz#f665f25f5e299cf3d64654ab949a57c768b73fbe" integrity sha512-8/3pSmthWM7lsPBKv7NXkzn2Uc9W7NotcwGNpJaa3k7WMM1XDCA4MgT5k/8BIexd5ydZdboXtU90XH9Ec4Bv/Q== -subarg@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/subarg/-/subarg-1.0.0.tgz#f62cf17581e996b48fc965699f54c06ae268b8d2" - integrity sha1-9izxdYHplrSPyWVpn1TAauJouNI= +supports-color@8.1.1, supports-color@^8.0.0, supports-color@^8.1.0, supports-color@^8.1.1: + version "8.1.1" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== dependencies: - minimist "^1.1.0" + has-flag "^4.0.0" supports-color@^2.0.0: version "2.0.0" @@ -21655,13 +21515,6 @@ supports-color@^7.0.0, supports-color@^7.1.0: dependencies: has-flag "^4.0.0" -supports-color@^8.0.0, supports-color@^8.1.0, supports-color@^8.1.1: - version "8.1.1" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" - integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== - dependencies: - has-flag "^4.0.0" - supports-hyperlinks@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.1.0.tgz#f663df252af5f37c5d49bbd7eeefa9e0b9e59e47" @@ -21727,13 +21580,6 @@ symbol.prototype.description@^1.0.0: has-symbols "^1.0.1" object.getownpropertydescriptors "^2.1.0" -syntax-error@^1.1.1: - version "1.4.0" - resolved "https://registry.yarnpkg.com/syntax-error/-/syntax-error-1.4.0.tgz#2d9d4ff5c064acb711594a3e3b95054ad51d907c" - integrity sha512-YPPlu67mdnHGTup2A8ff7BC2Pjq0e0Yp/IyTFN03zWO0RcK07uLcbi7C2KpGR2FvWbaB0+bfE27a+sBKebSo7w== - dependencies: - acorn-node "^1.2.0" - table-layout@^0.4.2: version "0.4.5" resolved "https://registry.yarnpkg.com/table-layout/-/table-layout-0.4.5.tgz#d906de6a25fa09c0c90d1d08ecd833ecedcb7378" @@ -21995,7 +21841,7 @@ text-table@0.2.0, text-table@^0.2.0: thenify-all@^1.0.0: version "1.6.0" resolved "https://registry.yarnpkg.com/thenify-all/-/thenify-all-1.6.0.tgz#1a1918d402d8fc3f98fbf234db0bcc8cc10e9726" - integrity sha1-GhkY1ALY/D+Y+/I02wvMjMEOlyY= + integrity sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA== dependencies: thenify ">= 3.1.0 < 4" @@ -22067,13 +21913,6 @@ thunky@^1.0.2: resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d" integrity sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA== -timers-browserify@^1.0.1: - version "1.4.2" - resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-1.4.2.tgz#c9c58b575be8407375cb5e2462dacee74359f41d" - integrity sha1-ycWLV1voQHN1y14kYtrO50NZ9B0= - dependencies: - process "~0.11.0" - timers-browserify@^2.0.4: version "2.0.12" resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.12.tgz#44a45c11fbf407f34f97bccd1577c652361b00ee" @@ -22086,6 +21925,11 @@ timsort@^0.3.0: resolved "https://registry.yarnpkg.com/timsort/-/timsort-0.3.0.tgz#405411a8e7e6339fe64db9a234de11dc31e02bd4" integrity sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q= +tiny-case@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/tiny-case/-/tiny-case-1.0.3.tgz#d980d66bc72b5d5a9ca86fb7c9ffdb9c898ddd03" + integrity sha512-Eet/eeMhkO6TX8mnUteS9zgPbUMQa4I6Kkp5ORiBD5476/m+PIRiumP5tmh5ioJpH7k51Kehawy2UDfsnxxY8Q== + tiny-emitter@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423" @@ -22101,14 +21945,6 @@ tiny-warning@^1.0.0, tiny-warning@^1.0.3: resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754" integrity sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA== -title-case@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/title-case/-/title-case-2.1.1.tgz#3e127216da58d2bc5becf137ab91dae3a7cd8faa" - integrity sha1-PhJyFtpY0rxb7PE3q5Ha46fNj6o= - dependencies: - no-case "^2.2.0" - upper-case "^1.0.3" - tmp@^0.0.33: version "0.0.33" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" @@ -22116,6 +21952,11 @@ tmp@^0.0.33: dependencies: os-tmpdir "~1.0.2" +tmp@^0.2.1: + version "0.2.3" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.3.tgz#eb783cc22bc1e8bebd0671476d46ea4eb32a79ae" + integrity sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w== + tmp@~0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14" @@ -22200,6 +22041,11 @@ toidentifier@1.0.0: resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553" integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw== +toposort@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/toposort/-/toposort-2.0.2.tgz#ae21768175d1559d48bef35420b2f4962f09c330" + integrity sha512-0a5EOkAUp8D4moMi2W8ZF8jcga7BgZd91O/yabJCFY8az+XSzeGyTKs0Aoo897iV1Nj6guFq8orWDS96z91oGg== + totalist@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/totalist/-/totalist-1.1.0.tgz#a4d65a3e546517701e3e5c37a47a70ac97fe56df" @@ -22214,6 +22060,16 @@ tough-cookie@^4.0.0: punycode "^2.1.1" universalify "^0.1.2" +tough-cookie@^4.1.3: + version "4.1.3" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.3.tgz#97b9adb0728b42280aa3d814b6b999b2ff0318bf" + integrity sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw== + dependencies: + psl "^1.1.33" + punycode "^2.1.1" + universalify "^0.2.0" + url-parse "^1.5.3" + tough-cookie@~2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" @@ -22318,11 +22174,6 @@ tty-browserify@0.0.0: resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" integrity sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY= -tty-browserify@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.1.tgz#3f05251ee17904dfd0677546670db9651682b811" - integrity sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw== - tunnel-agent@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" @@ -22349,7 +22200,7 @@ type-check@~0.3.2: dependencies: prelude-ls "~1.1.2" -type-detect@4.0.8, type-detect@^4.0.0, type-detect@^4.0.5: +type-detect@4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== @@ -22389,11 +22240,21 @@ type-fest@^0.8.1: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== +type-fest@^2.19.0: + version "2.19.0" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-2.19.0.tgz#88068015bb33036a598b952e55e9311a60fd3a9b" + integrity sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA== + type-fest@^2.5.0: version "2.12.0" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-2.12.0.tgz#ce342f58cab9114912f54b493d60ab39c3fc82b6" integrity sha512-Qe5GRT+n/4GoqCNGGVp5Snapg1Omq3V7irBJB3EaKsp7HWDo5Gv2d/67gfNyV+d5EXD+x/RF5l1h4yJ7qNkcGA== +type-fest@^4.8.3: + version "4.13.0" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-4.13.0.tgz#b55e877e3d811bb5560a212daded70443c9000c2" + integrity sha512-nKO1N9IFeTec3jnNe/3nZlX+RzwZsvT3c4akWC3IlhYGQbRSPFMBe87vmoaymS3hW2l/rs+4ptDDTxzcbqAcmA== + type-is@~1.6.17, type-is@~1.6.18: version "1.6.18" resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" @@ -22468,11 +22329,6 @@ uglify-js@^3.1.4: resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.12.1.tgz#78307f539f7b9ca5557babb186ea78ad30cc0375" integrity sha512-o8lHP20KjIiQe5b/67Rh68xEGRrc2SRsCuuoYclXXoC74AfSRGblU1HKzJWH3HxPZ+Ort85fWHpSX7KwBUC9CQ== -umd@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/umd/-/umd-3.0.3.tgz#aa9fe653c42b9097678489c01000acb69f0b26cf" - integrity sha512-4IcGSufhFshvLNcMCV80UnQVlZ5pMOC8mvNPForqwA4+lzYQuetTESLDQkeLmihq8bRcnpbQa48Wb8Lh16/xow== - unbox-primitive@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" @@ -22488,17 +22344,6 @@ unc-path-regex@^0.1.2: resolved "https://registry.yarnpkg.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa" integrity sha1-5z3T17DXxe2G+6xrCufYxqadUPo= -undeclared-identifiers@^1.1.2: - version "1.1.3" - resolved "https://registry.yarnpkg.com/undeclared-identifiers/-/undeclared-identifiers-1.1.3.tgz#9254c1d37bdac0ac2b52de4b6722792d2a91e30f" - integrity sha512-pJOW4nxjlmfwKApE4zvxLScM/njmwj/DiUBv7EabwE4O8kRUy+HIwxQtZLBPll/jx1LJyBcqNfB3/cpv9EZwOw== - dependencies: - acorn-node "^1.3.0" - dash-ast "^1.0.0" - get-assigned-identifiers "^1.2.0" - simple-concat "^1.0.0" - xtend "^4.0.1" - underscore@~1.10.2: version "1.10.2" resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.10.2.tgz#73d6aa3668f3188e4adb0f1943bd12cfd7efaaaf" @@ -22682,10 +22527,10 @@ universalify@^0.1.0, universalify@^0.1.2: resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== -universalify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-1.0.0.tgz#b61a1da173e8435b2fe3c67d29b9adf8594bd16d" - integrity sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug== +universalify@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0" + integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg== universalify@^2.0.0: version "2.0.0" @@ -22771,10 +22616,12 @@ update-notifier@^5.1.0: semver-diff "^3.1.1" xdg-basedir "^4.0.0" -upper-case@^1.0.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598" - integrity sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg= +upper-case-first@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/upper-case-first/-/upper-case-first-2.0.2.tgz#992c3273f882abd19d1e02894cc147117f844324" + integrity sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg== + dependencies: + tslib "^2.0.3" uri-js@^4.2.2: version "4.4.0" @@ -22817,7 +22664,7 @@ url-parse@^1.4.3, url-parse@^1.5.3: querystringify "^2.1.1" requires-port "^1.0.0" -url@^0.11.0, url@~0.11.0: +url@^0.11.0: version "0.11.0" resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" integrity sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE= @@ -22849,10 +22696,10 @@ use@^3.1.0: resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" integrity sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ== -util-arity@^1.0.2: +util-arity@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/util-arity/-/util-arity-1.1.0.tgz#59d01af1fdb3fede0ac4e632b0ab5f6ce97c9330" - integrity sha1-WdAa8f2z/t4KxOYysKtfbOl8kzA= + integrity sha512-kkyIsXKwemfSy8ZEoaIz06ApApnWsk5hQO0vLjZS6UkBiGiW++Jsyb8vSBoc0WKlffGoGs5yYy/j5pp8zckrFA== util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: version "1.0.2" @@ -22891,13 +22738,6 @@ util@^0.11.0: dependencies: inherits "2.0.3" -util@~0.10.1: - version "0.10.4" - resolved "https://registry.yarnpkg.com/util/-/util-0.10.4.tgz#3aa0125bfe668a4672de58857d3ace27ecb76901" - integrity sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A== - dependencies: - inherits "2.0.3" - utila@~0.4: version "0.4.0" resolved "https://registry.yarnpkg.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c" @@ -22918,6 +22758,16 @@ uuid-browser@^3.1.0: resolved "https://registry.yarnpkg.com/uuid-browser/-/uuid-browser-3.1.0.tgz#0f05a40aef74f9e5951e20efbf44b11871e56410" integrity sha1-DwWkCu90+eWVHiDvv0SxGHHlZBA= +uuid@9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.0.tgz#592f550650024a38ceb0c562f2f6aa435761efb5" + integrity sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg== + +uuid@9.0.1, uuid@^9.0.1: + version "9.0.1" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30" + integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA== + uuid@^3.0.0, uuid@^3.3.2, uuid@^3.4.0: version "3.4.0" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" @@ -22986,7 +22836,7 @@ vendors@^1.0.0: resolved "https://registry.yarnpkg.com/vendors/-/vendors-1.0.4.tgz#e2b800a53e7a29b93506c3cf41100d16c4c4ad8e" integrity sha512-/juG65kTL4Cy2su4P8HjtkTxk6VmJDiOPBufWniqQ6wknac6jNiXS9vU+hO3wgusiyqWlzTbVHi0dyJqRONg3w== -verror@1.10.0, verror@^1.9.0: +verror@1.10.0: version "1.10.0" resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" integrity sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA= @@ -23066,7 +22916,7 @@ vinyl@^2.0.0, vinyl@^2.2.0: remove-trailing-separator "^1.0.1" replace-ext "^1.0.0" -vm-browserify@^1.0.0, vm-browserify@^1.0.1: +vm-browserify@^1.0.1: version "1.1.2" resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0" integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ== @@ -23125,19 +22975,6 @@ warning@^4.0.2, warning@^4.0.3: dependencies: loose-envify "^1.0.0" -watchify@3.11.1: - version "3.11.1" - resolved "https://registry.yarnpkg.com/watchify/-/watchify-3.11.1.tgz#8e4665871fff1ef64c0430d1a2c9d084d9721881" - integrity sha512-WwnUClyFNRMB2NIiHgJU9RQPQNqVeFk7OmZaWf5dC5EnNa0Mgr7imBydbaJ7tGTuPM2hz1Cb4uiBvK9NVxMfog== - dependencies: - anymatch "^2.0.0" - browserify "^16.1.0" - chokidar "^2.1.1" - defined "^1.0.0" - outpipe "^1.1.0" - through2 "^2.0.0" - xtend "^4.0.0" - watchpack-chokidar2@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/watchpack-chokidar2/-/watchpack-chokidar2-2.0.1.tgz#38500072ee6ece66f3769936950ea1771be1c957" @@ -23938,6 +23775,20 @@ worker-rpc@^0.1.0: dependencies: microevent.ts "~0.1.1" +workerpool@6.2.1: + version "6.2.1" + resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.2.1.tgz#46fc150c17d826b86a008e5a4508656777e9c343" + integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw== + +"wrap-ansi-cjs@npm:wrap-ansi@^7.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@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09" @@ -23956,15 +23807,6 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.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.0.1: version "8.0.1" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.0.1.tgz#2101e861777fec527d0ea90c57c6b03aac56a5b3" @@ -23974,6 +23816,15 @@ wrap-ansi@^8.0.1: string-width "^5.0.1" strip-ansi "^7.0.1" +wrap-ansi@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" + integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== + dependencies: + ansi-styles "^6.1.0" + string-width "^5.0.1" + strip-ansi "^7.0.1" + wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" @@ -24037,6 +23888,11 @@ xml-name-validator@^3.0.0: resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw== +xmlbuilder@^15.1.1: + version "15.1.1" + resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-15.1.1.tgz#9dcdce49eea66d8d10b42cae94a79c3c8d0c2ec5" + integrity sha512-yMqGBqtXyeN1e3TGYvgNgDVZ3j84W4cwkOXQswghol6APgZWaff9lnbvN7MHYJOiXsvGPXtjTYJEiC9J2wv9Eg== + xmlchars@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" @@ -24047,7 +23903,7 @@ xmlcreate@^2.0.3: resolved "https://registry.yarnpkg.com/xmlcreate/-/xmlcreate-2.0.3.tgz#df9ecd518fd3890ab3548e1b811d040614993497" integrity sha512-HgS+X6zAztGa9zIK3Y3LXuJes33Lz9x+YyTxgrkIdabu2vqcGOWwdfCpf1hWLRrd553wd4QCDf6BBO6FfdsRiQ== -xtend@^4.0.0, xtend@^4.0.1, xtend@^4.0.2, xtend@~4.0.0, xtend@~4.0.1: +xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.0, xtend@~4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== @@ -24082,6 +23938,16 @@ yaml@^1.10.0, yaml@^1.10.2, yaml@^1.7.2: resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== +yaml@^2.2.2: + version "2.4.1" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.4.1.tgz#2e57e0b5e995292c25c75d2658f0664765210eed" + integrity sha512-pIXzoImaqmfOrL7teGUBt/T7ZDnyeGBWyXQBvOVhLkWLN37GXv8NMLK406UY6dS51JfcQHsmcW5cJ441bHg6Lg== + +yargs-parser@20.2.4: + version "20.2.4" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" + integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== + yargs-parser@^13.1.2: version "13.1.2" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.2.tgz#130f09702ebaeef2650d54ce6e3e5706f7a4fb38" @@ -24103,6 +23969,29 @@ yargs-parser@^20.2.2, yargs-parser@^20.2.3, yargs-parser@^20.2.7: resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== +yargs-unparser@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/yargs-unparser/-/yargs-unparser-2.0.0.tgz#f131f9226911ae5d9ad38c432fe809366c2325eb" + integrity sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA== + dependencies: + camelcase "^6.0.0" + decamelize "^4.0.0" + flat "^5.0.2" + is-plain-obj "^2.1.0" + +yargs@16.2.0, yargs@^16.0.3, yargs@^16.1.1, yargs@^16.2.0: + version "16.2.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" + integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== + dependencies: + cliui "^7.0.2" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.0" + y18n "^5.0.5" + yargs-parser "^20.2.2" + yargs@^13.1.0, yargs@^13.3.2: version "13.3.2" resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.2.tgz#ad7ffefec1aa59565ac915f82dccb38a9c31a2dd" @@ -24136,19 +24025,6 @@ yargs@^15.4.1: y18n "^4.0.0" yargs-parser "^18.1.2" -yargs@^16.0.3, yargs@^16.1.1, yargs@^16.2.0: - version "16.2.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" - integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== - dependencies: - cliui "^7.0.2" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.0" - y18n "^5.0.5" - yargs-parser "^20.2.2" - yauzl@^2.10.0: version "2.10.0" resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9" @@ -24162,6 +24038,16 @@ yocto-queue@^0.1.0: resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== +yup@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/yup/-/yup-1.2.0.tgz#9e51af0c63bdfc9be0fdc6c10aa0710899d8aff6" + integrity sha512-PPqYKSAXjpRCgLgLKVGPA33v5c/WgEx3wi6NFjIiegz90zSwyMpvTFp/uGcVnnbx6to28pgnzp/q8ih3QRjLMQ== + dependencies: + property-expr "^2.0.5" + tiny-case "^1.0.3" + toposort "^2.0.2" + type-fest "^2.19.0" + zenhand@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/zenhand/-/zenhand-2.0.0.tgz#a82c0b3b14016da1888f6e3f38647fe06ad7aa21" From 1e9057e8a5fc58e3df97e18cac14112773292461 Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Thu, 21 Mar 2024 17:10:57 +0800 Subject: [PATCH 05/57] chore: fix linter issues --- .../split-button/features/accepts_icon/index.js | 10 ++++++---- .../features/allows_selecting/index.js | 8 ++++++-- .../features/duplicate_option_values/index.js | 10 ++++++---- .../src/features/reorder-with-buttons/index.js | 4 ++-- cypress/support/find.js | 14 ++++++++------ cypress/support/get.js | 13 ++++++++----- 6 files changed, 36 insertions(+), 23 deletions(-) diff --git a/components/button/src/split-button/features/accepts_icon/index.js b/components/button/src/split-button/features/accepts_icon/index.js index d72b8ee807..9955d052db 100644 --- a/components/button/src/split-button/features/accepts_icon/index.js +++ b/components/button/src/split-button/features/accepts_icon/index.js @@ -6,9 +6,11 @@ Given('a SplitButton with an icon is rendered', () => { }) Then('the icon is visible on the left button only', () => { - cy.get('[data-test="dhis2-uicore-splitbutton-button"] :contains("Icon")') - .should('be.visible') + cy.get( + '[data-test="dhis2-uicore-splitbutton-button"] :contains("Icon")' + ).should('be.visible') - cy.get('[data-test="dhis2-uicore-splitbutton-toggle"] :contains("Icon")') - .should('not.exist') + cy.get( + '[data-test="dhis2-uicore-splitbutton-toggle"] :contains("Icon")' + ).should('not.exist') }) diff --git a/components/select/src/multi-select/features/allows_selecting/index.js b/components/select/src/multi-select/features/allows_selecting/index.js index 1a3d50a1a2..1459bcfbd4 100644 --- a/components/select/src/multi-select/features/allows_selecting/index.js +++ b/components/select/src/multi-select/features/allows_selecting/index.js @@ -20,7 +20,9 @@ When('an option is clicked', () => { }) When('the selected option is clicked', () => { - cy.get('[data-test="dhis2-uicore-multiselectoption"]:contains("option one")').click() + cy.get( + '[data-test="dhis2-uicore-multiselectoption"]:contains("option one")' + ).click() }) When('another option is clicked', () => { @@ -36,7 +38,9 @@ When('the disabled option is clicked', () => { }) When('the selected option is clicked again', () => { - cy.get('[data-test="dhis2-uicore-multiselectoption"]:contains("option one")').click() + cy.get( + '[data-test="dhis2-uicore-multiselectoption"]:contains("option one")' + ).click() }) Then('the clicked option is selected', () => { diff --git a/components/select/src/single-select/features/duplicate_option_values/index.js b/components/select/src/single-select/features/duplicate_option_values/index.js index 7e95ecfd93..9171195d6b 100644 --- a/components/select/src/single-select/features/duplicate_option_values/index.js +++ b/components/select/src/single-select/features/duplicate_option_values/index.js @@ -17,9 +17,11 @@ Then( } ) Then('both options are highlighted in the dropdown', () => { - cy.get('[data-test="dhis2-uicore-singleselectoption"]:contains("option one")') - .should('have.class', 'active') + cy.get( + '[data-test="dhis2-uicore-singleselectoption"]:contains("option one")' + ).should('have.class', 'active') - cy.get('[data-test="dhis2-uicore-singleselectoption"]:contains("option one a")') - .should('have.class', 'active') + cy.get( + '[data-test="dhis2-uicore-singleselectoption"]:contains("option one a")' + ).should('have.class', 'active') }) diff --git a/components/transfer/src/features/reorder-with-buttons/index.js b/components/transfer/src/features/reorder-with-buttons/index.js index 1f8426e212..b357059b4e 100644 --- a/components/transfer/src/features/reorder-with-buttons/index.js +++ b/components/transfer/src/features/reorder-with-buttons/index.js @@ -21,7 +21,7 @@ Given('the {int}. item is highlighted', (previousPisition) => { .invoke('attr', 'data-value') // For some reason, using `.as()` directly doesn't work. // Wrapping it inside a `.then` works though - .then(previousValue => cy.wrap(previousValue).as('previousValue')) + .then((previousValue) => cy.wrap(previousValue).as('previousValue')) cy.get('{transfer-pickedoptions} {transferoption}') .eq(index) @@ -55,7 +55,7 @@ Then('the highlighted item should be moved to the {int}. place', (next) => { const index = next - 1 cy.get('@previousValue') - .then(previousValue => cy.get(`[data-value="${previousValue}"]`)) + .then((previousValue) => cy.get(`[data-value="${previousValue}"]`)) .invoke('index') .should('equal', index) }) diff --git a/cypress/support/find.js b/cypress/support/find.js index 03eeb2f7b1..cc6b0e8dd9 100644 --- a/cypress/support/find.js +++ b/cypress/support/find.js @@ -16,9 +16,11 @@ import { parseSelectorWithDataTest } from './common/parseSelectorWithDataTest.js * cy.get('.foo').find('{node} input', 'custom-prefix') * cy.get('.foo').find('[data-test="custom-prefix-node"] input') */ -// eslint-disable-next-line max-params -Cypress.Commands.overwriteQuery('find', function (originalFn, selectors, options = {}) { - const { prefix, ...restOptions } = options - const selector = parseSelectorWithDataTest(selectors, prefix) - return originalFn.call(this, selector, restOptions) -}) +Cypress.Commands.overwriteQuery( + 'find', + function (originalFn, selectors, options = {}) { + const { prefix, ...restOptions } = options + const selector = parseSelectorWithDataTest(selectors, prefix) + return originalFn.call(this, selector, restOptions) + } +) diff --git a/cypress/support/get.js b/cypress/support/get.js index 72947b68f4..a67b705183 100644 --- a/cypress/support/get.js +++ b/cypress/support/get.js @@ -15,8 +15,11 @@ import { parseSelectorWithDataTest } from './common/parseSelectorWithDataTest.js * cy.get('{node} {node} input', 'custom-prefix') * cy.get('[data-test="custom-prefix-node"] [data-test="custom-prefix-node"] input') */ -Cypress.Commands.overwriteQuery('get', function (originalFn, selectors, options = {}) { - const { prefix, ...restOptions } = options - const selector = parseSelectorWithDataTest(selectors, prefix) - return originalFn.call(this, selector, restOptions) -}) +Cypress.Commands.overwriteQuery( + 'get', + function (originalFn, selectors, options = {}) { + const { prefix, ...restOptions } = options + const selector = parseSelectorWithDataTest(selectors, prefix) + return originalFn.call(this, selector, restOptions) + } +) From e9822bc11df17600fee9ad614285c824af109f35 Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Thu, 21 Mar 2024 17:20:26 +0800 Subject: [PATCH 06/57] chore(gh workflows): use node version 18.x --- .github/workflows/dhis2-preview-pr.yml | 4 ++-- .github/workflows/dhis2-verify-lib.yml | 18 +++++++++--------- collections/forms/i18n/en.pot | 4 ++-- package.json | 4 +++- 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/dhis2-preview-pr.yml b/.github/workflows/dhis2-preview-pr.yml index b04d2130a3..ac006a0b9c 100644 --- a/.github/workflows/dhis2-preview-pr.yml +++ b/.github/workflows/dhis2-preview-pr.yml @@ -24,12 +24,12 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 14.x + node-version: 18.x - uses: c-hive/gha-yarn-cache@v1 - run: yarn install --frozen-lockfile - - run: yarn build + - run: yarn build:legacy - name: Deploy id: netlify-deploy diff --git a/.github/workflows/dhis2-verify-lib.yml b/.github/workflows/dhis2-verify-lib.yml index 589461a2b5..4127fff4bd 100644 --- a/.github/workflows/dhis2-verify-lib.yml +++ b/.github/workflows/dhis2-verify-lib.yml @@ -21,15 +21,15 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 14.x + node-version: 18.x - uses: c-hive/gha-yarn-cache@v1 - run: | yarn install --frozen-lockfile - yarn setup + NODE_OPTIONS=--openssl-legacy-provider yarn setup - name: Build - run: yarn build + run: NODE_OPTIONS=--openssl-legacy-provider yarn build - run: ./scripts/create-artifact.sh @@ -46,7 +46,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 14.x + node-version: 18.x - uses: actions/download-artifact@v2 with: @@ -67,7 +67,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 14.x + node-version: 18.x - uses: actions/download-artifact@v2 with: @@ -97,7 +97,7 @@ jobs: - uses: actions/setup-node@v1 with: - node-version: 14.x + node-version: 18.x - uses: actions/download-artifact@v2 with: @@ -109,10 +109,10 @@ jobs: run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p - name: End-to-End tests - uses: cypress-io/github-action@v2 + uses: cypress-io/github-action@v6 with: # This should be a command that starts the server to test against. - start: 'yarn cy:start' + start: 'yarn cy:start:legacy' wait-on: 'http://localhost:5000' wait-on-timeout: 300 record: true @@ -136,7 +136,7 @@ jobs: token: ${{env.GH_TOKEN}} - uses: actions/setup-node@v3 with: - node-version: 14.x + node-version: 18.x cache: 'yarn' - uses: actions/download-artifact@v2 diff --git a/collections/forms/i18n/en.pot b/collections/forms/i18n/en.pot index e9e2f44c4f..1c9c9fcc12 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-03-21T01:41:39.370Z\n" -"PO-Revision-Date: 2024-03-21T01:41:39.370Z\n" +"POT-Creation-Date: 2024-03-21T09:13:47.826Z\n" +"PO-Revision-Date: 2024-03-21T09:13:47.826Z\n" msgid "Upload file" msgstr "Upload file" diff --git a/package.json b/package.json index 4a8cf6248f..2743c9e2db 100644 --- a/package.json +++ b/package.json @@ -28,12 +28,14 @@ "scripts": { "setup": "./scripts/setup.js", "build": "./scripts/build-world.sh", + "build:legacy": "NODE_OPTIONS=--openssl-legacy-provider ./scripts/build-world.sh", "build:lib": "./scripts/build.js", "build:docs": "./scripts/build-docs.js", "build:api": "./scripts/generate-api-docs.js", + "cy:start:legacy": "NODE_OPTIONS=--openssl-legacy-provider yarn cy:start", "cy:start": "yarn build:lib && STORYBOOK_TESTING=1 yarn start", "cy:open": "wait-on 'http://localhost:5000' && cypress open", - "cy:run": "wait-on 'http://localhost:5000' && cypress run", + "cy:run": "wait-on 'http://localhost:5000' && cypress run --config-file=cypress.config.js", "cy:test": "./scripts/cypress.js", "format": "d2-style apply", "format:staged": "d2-style apply --staged", From 0ed7c478403e448cb624e3ae4801342cbdbe50d4 Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Mon, 8 Apr 2024 08:19:24 +0800 Subject: [PATCH 07/57] chore(github actions): use node version 20 --- .github/workflows/dhis2-preview-pr.yml | 2 +- .github/workflows/dhis2-verify-lib.yml | 10 +++++----- .nvmrc | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dhis2-preview-pr.yml b/.github/workflows/dhis2-preview-pr.yml index ac006a0b9c..094b3394c7 100644 --- a/.github/workflows/dhis2-preview-pr.yml +++ b/.github/workflows/dhis2-preview-pr.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 18.x + node-version: 20.x - uses: c-hive/gha-yarn-cache@v1 - run: yarn install --frozen-lockfile diff --git a/.github/workflows/dhis2-verify-lib.yml b/.github/workflows/dhis2-verify-lib.yml index 4127fff4bd..1970b4a8c8 100644 --- a/.github/workflows/dhis2-verify-lib.yml +++ b/.github/workflows/dhis2-verify-lib.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 18.x + node-version: 20.x - uses: c-hive/gha-yarn-cache@v1 - run: | @@ -46,7 +46,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 18.x + node-version: 20.x - uses: actions/download-artifact@v2 with: @@ -67,7 +67,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 18.x + node-version: 20.x - uses: actions/download-artifact@v2 with: @@ -97,7 +97,7 @@ jobs: - uses: actions/setup-node@v1 with: - node-version: 18.x + node-version: 20.x - uses: actions/download-artifact@v2 with: @@ -136,7 +136,7 @@ jobs: token: ${{env.GH_TOKEN}} - uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x cache: 'yarn' - uses: actions/download-artifact@v2 diff --git a/.nvmrc b/.nvmrc index 6f7f377bf5..9a2a0e219c 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16 +v20 From bd55ee9a43b9ae6b2864a088c3d304025a68e371 Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Thu, 18 Apr 2024 09:33:07 +0800 Subject: [PATCH 08/57] chore: make cucumber evaluate local common files --- .cypress-cucumber-preprocessorrc.json | 5 ++++- components/alert/src/alert-bar/features/api/index.js | 1 - components/tooltip/src/features/positions/index.js | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.cypress-cucumber-preprocessorrc.json b/.cypress-cucumber-preprocessorrc.json index fc9870fc56..3f586a22ed 100644 --- a/.cypress-cucumber-preprocessorrc.json +++ b/.cypress-cucumber-preprocessorrc.json @@ -1,6 +1,9 @@ { "nonGlobalStepDefinitions": true, "e2e": { - "stepDefinitions": "[filepath]/*.{js,mjs,ts,tsx}" + "stepDefinitions": [ + "[filepath]/*.{js,mjs,ts,tsx}", + "[filepath]/../common/index.{js,mjs,ts,tsx}" + ] } } diff --git a/components/alert/src/alert-bar/features/api/index.js b/components/alert/src/alert-bar/features/api/index.js index b7efc5f425..69478dc80d 100644 --- a/components/alert/src/alert-bar/features/api/index.js +++ b/components/alert/src/alert-bar/features/api/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an AlertBar with onHidden handler is rendered', () => { diff --git a/components/tooltip/src/features/positions/index.js b/components/tooltip/src/features/positions/index.js index 8dc2b4e2dc..718e86436c 100644 --- a/components/tooltip/src/features/positions/index.js +++ b/components/tooltip/src/features/positions/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' const TOOLTIP_OFFSET = 4 From bb0f6c9c4474f2a00cf84aa7bcdc9a3b074c8305 Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Thu, 18 Apr 2024 14:50:37 +0800 Subject: [PATCH 09/57] chore(step definition files): automatically resolve "../common/index.js" files --- collections/forms/i18n/en.pot | 4 ++-- .../features/can_toggle_a_boolean/index.js | 1 - .../CheckboxFieldFF/features/can_toggle_a_value/index.js | 1 - .../src/FileInputFieldFF/features/accepts_file/index.js | 1 - .../src/FileInputFieldFF/features/displays_error/index.js | 1 - .../MultiSelectFieldFF/features/can_set_a_value/index.js | 1 - .../MultiSelectFieldFF/features/displays_error/index.js | 1 - .../src/RadioFieldFF/features/can_set_a_value/index.js | 1 - .../src/RadioFieldFF/features/displays_error/index.js | 1 - .../SingleSelectFieldFF/features/can_set_a_value/index.js | 1 - .../SingleSelectFieldFF/features/displays_error/index.js | 1 - .../SwitchFieldFF/features/can_toggle_a_boolean/index.js | 1 - .../SwitchFieldFF/features/can_toggle_a_value/index.js | 1 - components/alert/src/alert-bar/features/hide/index.js | 1 - .../dropdown-button/features/button_is_clickable/index.js | 1 - .../src/dropdown-button/features/can_be_disabled/index.js | 8 +------- .../dropdown-button/features/opens_a_dropdown/index.js | 1 - .../src/split-button/features/arrow_opens_menu/index.js | 1 - .../split-button/features/button_is_clickable/index.js | 1 - .../features/deduplicates_the_file_list/index.js | 1 - .../features/displays_files_in_a_list/index.js | 1 - .../features/files_can_be_removed/index.js | 1 - .../file-input/features/accepts_multiple_files/index.js | 1 - .../src/file-input/features/can_be_changed/index.js | 1 - .../the_headerbar_displays_online_status.js | 1 - .../the_headerbar_contains_a_menu_to_all_apps/common.js | 1 - ...ows_a_text_icon_if_the_user_does_not_have_an_avatar.js | 1 - .../the_menu_is_closed_by_default.js | 2 -- .../the_menu_opens.js | 1 - ...he_profile_menu_closes_when_the_user_clicks_outside.js | 1 - .../the_user_can_edit_his_profile.js | 1 - .../the_user_can_go_to_his_account.js | 1 - .../the_user_can_go_to_the_about_dhis2_page.js | 1 - .../the_user_can_go_to_the_help_page.js | 1 - .../the_user_can_go_to_the_settings.js | 1 - .../the_user_name_and_email_are_displayed.js | 1 - ...he_headerbar_displays_a_link_to_the_interpretations.js | 1 - .../there_are_no_unread_interpretations.js | 1 - .../there_are_some_unread_interpretations.js | 1 - .../the_headerbar_displays_a_link_to_the_messages.js | 1 - .../there_are_no_unread_messages.js | 1 - .../there_are_some_unread_messages.js | 1 - .../the_search_should_escape_regexp_character/common.js | 1 - .../src/multi-select/features/accepts_blur_cb/index.js | 1 - .../src/multi-select/features/accepts_focus_cb/index.js | 1 - .../multi-select/features/accepts_initial_focus/index.js | 1 - .../src/multi-select/features/accepts_loading/index.js | 1 - .../src/multi-select/features/accepts_max_height/index.js | 1 - .../multi-select/features/accepts_placeholder/index.js | 1 - .../src/multi-select/features/accepts_prefix/index.js | 1 - .../multi-select/features/allows_invalid_options/index.js | 1 - .../src/multi-select/features/allows_selecting/index.js | 1 - .../src/multi-select/features/can_be_cleared/index.js | 1 - .../src/multi-select/features/can_be_disabled/index.js | 1 - .../src/multi-select/features/can_be_empty/index.js | 1 - .../src/multi-select/features/can_be_filtered/index.js | 1 - .../features/can_be_opened_and_closed/index.js | 1 - .../features/duplicate_option_values/index.js | 1 - .../features/menu_width_matches_input/index.js | 1 - .../select/src/multi-select/features/position/index.js | 1 - .../src/multi-select/features/shows_selections/index.js | 1 - .../src/single-select/features/accepts_blur_cb/index.js | 1 - .../src/single-select/features/accepts_focus_cb/index.js | 1 - .../single-select/features/accepts_initial_focus/index.js | 1 - .../src/single-select/features/accepts_loading/index.js | 1 - .../single-select/features/accepts_max_height/index.js | 1 - .../single-select/features/accepts_placeholder/index.js | 1 - .../src/single-select/features/accepts_prefix/index.js | 1 - .../features/allows_invalid_options/index.js | 1 - .../src/single-select/features/allows_selecting/index.js | 1 - .../src/single-select/features/can_be_cleared/index.js | 1 - .../src/single-select/features/can_be_disabled/index.js | 1 - .../src/single-select/features/can_be_empty/index.js | 1 - .../src/single-select/features/can_be_filtered/index.js | 1 - .../features/can_be_opened_and_closed/index.js | 1 - .../features/duplicate_option_values/index.js | 1 - .../features/menu_width_matches_input/index.js | 1 - .../src/single-select/features/shows_selections/index.js | 1 - .../src/text-area/features/can_be_changed/index.js | 1 - .../src/text-area/features/can_be_focused/index.js | 1 - components/tooltip/src/features/layering/index.js | 1 - .../tooltip/src/features/scrolling_containers/index.js | 1 - .../tooltip/src/features/visibility_toggling/index.js | 1 - package.json | 1 + 84 files changed, 4 insertions(+), 91 deletions(-) diff --git a/collections/forms/i18n/en.pot b/collections/forms/i18n/en.pot index 1c9c9fcc12..cb7ef7c954 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-03-21T09:13:47.826Z\n" -"PO-Revision-Date: 2024-03-21T09:13:47.826Z\n" +"POT-Creation-Date: 2024-04-18T04:00:14.144Z\n" +"PO-Revision-Date: 2024-04-18T04:00:14.144Z\n" msgid "Upload file" msgstr "Upload file" diff --git a/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_boolean/index.js b/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_boolean/index.js index 18c11a94fd..a0face74cd 100644 --- a/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_boolean/index.js +++ b/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_boolean/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an unchecked Checkbox without value is rendered', () => { diff --git a/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_value/index.js b/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_value/index.js index 50e18c6286..32240e7464 100644 --- a/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_value/index.js +++ b/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_value/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an unchecked Checkbox with a value is rendered', () => { diff --git a/collections/forms/src/FileInputFieldFF/features/accepts_file/index.js b/collections/forms/src/FileInputFieldFF/features/accepts_file/index.js index f6a41163a5..b0debb60cf 100644 --- a/collections/forms/src/FileInputFieldFF/features/accepts_file/index.js +++ b/collections/forms/src/FileInputFieldFF/features/accepts_file/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a multi-file IputField is rendered', () => { diff --git a/collections/forms/src/FileInputFieldFF/features/displays_error/index.js b/collections/forms/src/FileInputFieldFF/features/displays_error/index.js index 6dc497619f..ebdcd1015a 100644 --- a/collections/forms/src/FileInputFieldFF/features/displays_error/index.js +++ b/collections/forms/src/FileInputFieldFF/features/displays_error/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { When, Then } from '@badeball/cypress-cucumber-preprocessor' When('a file with the wrong file type is provided', () => { diff --git a/collections/forms/src/MultiSelectFieldFF/features/can_set_a_value/index.js b/collections/forms/src/MultiSelectFieldFF/features/can_set_a_value/index.js index 3a63384750..a6d5fe6e12 100644 --- a/collections/forms/src/MultiSelectFieldFF/features/can_set_a_value/index.js +++ b/collections/forms/src/MultiSelectFieldFF/features/can_set_a_value/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('the MultiSelect has two options', () => { diff --git a/collections/forms/src/MultiSelectFieldFF/features/displays_error/index.js b/collections/forms/src/MultiSelectFieldFF/features/displays_error/index.js index 5b4c2ff771..f16ac9c35a 100644 --- a/collections/forms/src/MultiSelectFieldFF/features/displays_error/index.js +++ b/collections/forms/src/MultiSelectFieldFF/features/displays_error/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { When, Then } from '@badeball/cypress-cucumber-preprocessor' import { hasValueMessage } from '../../../validators/hasValue.js' diff --git a/collections/forms/src/RadioFieldFF/features/can_set_a_value/index.js b/collections/forms/src/RadioFieldFF/features/can_set_a_value/index.js index 16a29bf013..5faefd3b8f 100644 --- a/collections/forms/src/RadioFieldFF/features/can_set_a_value/index.js +++ b/collections/forms/src/RadioFieldFF/features/can_set_a_value/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('there are three options', () => { diff --git a/collections/forms/src/RadioFieldFF/features/displays_error/index.js b/collections/forms/src/RadioFieldFF/features/displays_error/index.js index 530c30f9c2..431d8417c8 100644 --- a/collections/forms/src/RadioFieldFF/features/displays_error/index.js +++ b/collections/forms/src/RadioFieldFF/features/displays_error/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { When, Then } from '@badeball/cypress-cucumber-preprocessor' import { hasValueMessage } from '../../../validators/hasValue.js' diff --git a/collections/forms/src/SingleSelectFieldFF/features/can_set_a_value/index.js b/collections/forms/src/SingleSelectFieldFF/features/can_set_a_value/index.js index 67dc1e8c2d..d9730d4e86 100644 --- a/collections/forms/src/SingleSelectFieldFF/features/can_set_a_value/index.js +++ b/collections/forms/src/SingleSelectFieldFF/features/can_set_a_value/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('the SingleSelect has one option', () => { diff --git a/collections/forms/src/SingleSelectFieldFF/features/displays_error/index.js b/collections/forms/src/SingleSelectFieldFF/features/displays_error/index.js index 5b4c2ff771..f16ac9c35a 100644 --- a/collections/forms/src/SingleSelectFieldFF/features/displays_error/index.js +++ b/collections/forms/src/SingleSelectFieldFF/features/displays_error/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { When, Then } from '@badeball/cypress-cucumber-preprocessor' import { hasValueMessage } from '../../../validators/hasValue.js' diff --git a/collections/forms/src/SwitchFieldFF/features/can_toggle_a_boolean/index.js b/collections/forms/src/SwitchFieldFF/features/can_toggle_a_boolean/index.js index d63445b6df..281c4edfa1 100644 --- a/collections/forms/src/SwitchFieldFF/features/can_toggle_a_boolean/index.js +++ b/collections/forms/src/SwitchFieldFF/features/can_toggle_a_boolean/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an unchecked Switch without value is rendered', () => { diff --git a/collections/forms/src/SwitchFieldFF/features/can_toggle_a_value/index.js b/collections/forms/src/SwitchFieldFF/features/can_toggle_a_value/index.js index aab8f6ade2..4d17590e21 100644 --- a/collections/forms/src/SwitchFieldFF/features/can_toggle_a_value/index.js +++ b/collections/forms/src/SwitchFieldFF/features/can_toggle_a_value/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an unchecked Switch with a value is rendered', () => { diff --git a/components/alert/src/alert-bar/features/hide/index.js b/components/alert/src/alert-bar/features/hide/index.js index fe1a3d7837..b8530b1715 100644 --- a/components/alert/src/alert-bar/features/hide/index.js +++ b/components/alert/src/alert-bar/features/hide/index.js @@ -1,5 +1,4 @@ import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' -require('../common/index.js') Given('a permanent AlertBar with hidden and onHidden is rendered', () => { cy.visitStory('AlertBar', 'Hidden prop') diff --git a/components/button/src/dropdown-button/features/button_is_clickable/index.js b/components/button/src/dropdown-button/features/button_is_clickable/index.js index 4c2a22601f..dbcda045c6 100644 --- a/components/button/src/dropdown-button/features/button_is_clickable/index.js +++ b/components/button/src/dropdown-button/features/button_is_clickable/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a DropdownButton with onClick handler is rendered', () => { diff --git a/components/button/src/dropdown-button/features/can_be_disabled/index.js b/components/button/src/dropdown-button/features/can_be_disabled/index.js index d5591bae72..95e0330fb9 100644 --- a/components/button/src/dropdown-button/features/can_be_disabled/index.js +++ b/components/button/src/dropdown-button/features/can_be_disabled/index.js @@ -1,15 +1,9 @@ -import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' +import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a disabled DropdownButton with onClick handler is rendered', () => { cy.visitStory('DropdownButton', 'Disabled with onClick') }) -When('the DropdownButton is clicked', () => { - cy.get('[data-test="dhis2-uicore-dropdownbutton"] button').click({ - force: true, - }) -}) - Then('the onClick handler is not called', () => { cy.window().should((win) => { expect(win.onClick).not.to.be.called diff --git a/components/button/src/dropdown-button/features/opens_a_dropdown/index.js b/components/button/src/dropdown-button/features/opens_a_dropdown/index.js index ce806f7deb..53ea50b06d 100644 --- a/components/button/src/dropdown-button/features/opens_a_dropdown/index.js +++ b/components/button/src/dropdown-button/features/opens_a_dropdown/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a default DropdownButton is rendered', () => { diff --git a/components/button/src/split-button/features/arrow_opens_menu/index.js b/components/button/src/split-button/features/arrow_opens_menu/index.js index 79e21d362f..3ef46450c2 100644 --- a/components/button/src/split-button/features/arrow_opens_menu/index.js +++ b/components/button/src/split-button/features/arrow_opens_menu/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SplitButton is rendered', () => { diff --git a/components/button/src/split-button/features/button_is_clickable/index.js b/components/button/src/split-button/features/button_is_clickable/index.js index 6535fe8df5..132c7ff0fb 100644 --- a/components/button/src/split-button/features/button_is_clickable/index.js +++ b/components/button/src/split-button/features/button_is_clickable/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SplitButton with onClick hander is rendered', () => { diff --git a/components/file-input/src/file-input-field-with-list/features/deduplicates_the_file_list/index.js b/components/file-input/src/file-input-field-with-list/features/deduplicates_the_file_list/index.js index 6d9717dd95..95bee4908e 100644 --- a/components/file-input/src/file-input-field-with-list/features/deduplicates_the_file_list/index.js +++ b/components/file-input/src/file-input-field-with-list/features/deduplicates_the_file_list/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('the list contains the file duplicate.md', () => { diff --git a/components/file-input/src/file-input-field-with-list/features/displays_files_in_a_list/index.js b/components/file-input/src/file-input-field-with-list/features/displays_files_in_a_list/index.js index f4a01cce86..5c45222215 100644 --- a/components/file-input/src/file-input-field-with-list/features/displays_files_in_a_list/index.js +++ b/components/file-input/src/file-input-field-with-list/features/displays_files_in_a_list/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('the files are displayed in a list', () => { diff --git a/components/file-input/src/file-input-field-with-list/features/files_can_be_removed/index.js b/components/file-input/src/file-input-field-with-list/features/files_can_be_removed/index.js index a52e981d73..ab14532745 100644 --- a/components/file-input/src/file-input-field-with-list/features/files_can_be_removed/index.js +++ b/components/file-input/src/file-input-field-with-list/features/files_can_be_removed/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { When, Then } from '@badeball/cypress-cucumber-preprocessor' When('the remove handle behind a file is clicked', () => { diff --git a/components/file-input/src/file-input/features/accepts_multiple_files/index.js b/components/file-input/src/file-input/features/accepts_multiple_files/index.js index fde99e7f03..05a2a7da9f 100644 --- a/components/file-input/src/file-input/features/accepts_multiple_files/index.js +++ b/components/file-input/src/file-input/features/accepts_multiple_files/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a FileInput with multiple and onChange handler is rendered', () => { diff --git a/components/file-input/src/file-input/features/can_be_changed/index.js b/components/file-input/src/file-input/features/can_be_changed/index.js index 7b3a2fc84f..c560726b1d 100644 --- a/components/file-input/src/file-input/features/can_be_changed/index.js +++ b/components/file-input/src/file-input/features/can_be_changed/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a FileInput with onChange handler is rendered', () => { diff --git a/components/header-bar/src/features/the_headerbar_can_display_online_status/the_headerbar_displays_online_status.js b/components/header-bar/src/features/the_headerbar_can_display_online_status/the_headerbar_displays_online_status.js index 780a6aa060..02d50c5aaf 100644 --- a/components/header-bar/src/features/the_headerbar_can_display_online_status/the_headerbar_displays_online_status.js +++ b/components/header-bar/src/features/the_headerbar_can_display_online_status/the_headerbar_displays_online_status.js @@ -5,7 +5,6 @@ import { Then, When, } from '@badeball/cypress-cucumber-preprocessor' -require('../common/index.js') // see https://github.com/cypress-io/cypress/issues/17723#issuecomment-1457064322 const goOffline = () => { diff --git a/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/common.js b/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/common.js index 42275ceacc..0691260013 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/common.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_menu_to_all_apps/common.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('the HeaderBar dos not display the app menu', () => { diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_headerbar_shows_a_text_icon_if_the_user_does_not_have_an_avatar.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_headerbar_shows_a_text_icon_if_the_user_does_not_have_an_avatar.js index 34afb0e389..9d6f4c6a90 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_headerbar_shows_a_text_icon_if_the_user_does_not_have_an_avatar.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_headerbar_shows_a_text_icon_if_the_user_does_not_have_an_avatar.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then, When } from '@badeball/cypress-cucumber-preprocessor' Given( diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_menu_is_closed_by_default.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_menu_is_closed_by_default.js index 0692c6fa03..9b287f92b7 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_menu_is_closed_by_default.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_menu_is_closed_by_default.js @@ -1,3 +1 @@ -require('../common/index.js') - // all step definitions are shared with other scenarios diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_menu_opens.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_menu_opens.js index 1e9454c9f2..d10a130e40 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_menu_opens.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_menu_opens.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { When, Then } from '@badeball/cypress-cucumber-preprocessor' When('the user clicks on the profile icons', () => { diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_profile_menu_closes_when_the_user_clicks_outside.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_profile_menu_closes_when_the_user_clicks_outside.js index e8c7014892..2dde7a84f9 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_profile_menu_closes_when_the_user_clicks_outside.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_profile_menu_closes_when_the_user_clicks_outside.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { When } from '@badeball/cypress-cucumber-preprocessor' When('the user clicks outside of the menu', () => { diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_edit_his_profile.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_edit_his_profile.js index 551ff9ccb9..e3a3a867c9 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_edit_his_profile.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_edit_his_profile.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('contains a link to edit the profile', () => { diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_his_account.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_his_account.js index 1dca44eea8..48816b5e60 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_his_account.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_his_account.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('contains a link to the user account', () => { diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_about_dhis2_page.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_about_dhis2_page.js index 3a185ddcfb..496904bd08 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_about_dhis2_page.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_about_dhis2_page.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('contains a link to the About DHIS2 page', () => { diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_help_page.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_help_page.js index dfb10adddc..26e3d0d87d 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_help_page.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_help_page.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('contains a link to the help page', () => { diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_settings.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_settings.js index 93e81ce69c..fe18d02be2 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_settings.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_can_go_to_the_settings.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('contains a link to the settings', () => { diff --git a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_name_and_email_are_displayed.js b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_name_and_email_are_displayed.js index 508f691be4..e1701d8358 100644 --- a/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_name_and_email_are_displayed.js +++ b/components/header-bar/src/features/the_headerbar_contains_a_profile_menu/the_user_name_and_email_are_displayed.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('contains the user name', () => { diff --git a/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/the_headerbar_displays_a_link_to_the_interpretations.js b/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/the_headerbar_displays_a_link_to_the_interpretations.js index 180eeb214e..f891a659be 100644 --- a/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/the_headerbar_displays_a_link_to_the_interpretations.js +++ b/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/the_headerbar_displays_a_link_to_the_interpretations.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('the HeaderBar contains a link to the interpretations', () => { diff --git a/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/there_are_no_unread_interpretations.js b/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/there_are_no_unread_interpretations.js index f9dde7f7b2..5f22731dbb 100644 --- a/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/there_are_no_unread_interpretations.js +++ b/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/there_are_no_unread_interpretations.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('there are 0 unread interpretations', () => { diff --git a/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/there_are_some_unread_interpretations.js b/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/there_are_some_unread_interpretations.js index b1bd32b61d..27a43d29e8 100644 --- a/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/there_are_some_unread_interpretations.js +++ b/components/header-bar/src/features/the_headerbar_displays_a_link_to_interpretations_and_an_unread_count/there_are_some_unread_interpretations.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Then } from '@badeball/cypress-cucumber-preprocessor' Then( diff --git a/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/the_headerbar_displays_a_link_to_the_messages.js b/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/the_headerbar_displays_a_link_to_the_messages.js index d6bb285b1c..5050322671 100644 --- a/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/the_headerbar_displays_a_link_to_the_messages.js +++ b/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/the_headerbar_displays_a_link_to_the_messages.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('the HeaderBar contains a link to the messages', () => { diff --git a/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/there_are_no_unread_messages.js b/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/there_are_no_unread_messages.js index 99b1f86113..05b6a7c19a 100644 --- a/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/there_are_no_unread_messages.js +++ b/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/there_are_no_unread_messages.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Then, Given } from '@badeball/cypress-cucumber-preprocessor' Given('there are 0 unread messages', () => { diff --git a/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/there_are_some_unread_messages.js b/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/there_are_some_unread_messages.js index 93c3500685..c5ea4725a9 100644 --- a/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/there_are_some_unread_messages.js +++ b/components/header-bar/src/features/the_headerbar_displays_a_link_to_messages_and_an_unread_count/there_are_some_unread_messages.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Then } from '@badeball/cypress-cucumber-preprocessor' Then('the messages link contains an icon with a number greater than 0', () => { diff --git a/components/header-bar/src/features/the_search_should_escape_regexp_character/common.js b/components/header-bar/src/features/the_search_should_escape_regexp_character/common.js index 1026a0a3b2..84aee9c6d9 100644 --- a/components/header-bar/src/features/the_search_should_escape_regexp_character/common.js +++ b/components/header-bar/src/features/the_search_should_escape_regexp_character/common.js @@ -1,5 +1,4 @@ import { Given } from '@badeball/cypress-cucumber-preprocessor' -require('../common/index.js') Given(/the search contains a (.*)/, (character) => { cy.get('[data-test="headerbar-apps-icon"]').click() diff --git a/components/select/src/multi-select/features/accepts_blur_cb/index.js b/components/select/src/multi-select/features/accepts_blur_cb/index.js index f149cf2c8b..de5682d505 100644 --- a/components/select/src/multi-select/features/accepts_blur_cb/index.js +++ b/components/select/src/multi-select/features/accepts_blur_cb/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with onBlur handler is rendered', () => { diff --git a/components/select/src/multi-select/features/accepts_focus_cb/index.js b/components/select/src/multi-select/features/accepts_focus_cb/index.js index a22367928b..9a33cd1e7b 100644 --- a/components/select/src/multi-select/features/accepts_focus_cb/index.js +++ b/components/select/src/multi-select/features/accepts_focus_cb/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with onFocus handler is rendered', () => { diff --git a/components/select/src/multi-select/features/accepts_initial_focus/index.js b/components/select/src/multi-select/features/accepts_initial_focus/index.js index c0e15f5fff..c9c93acabf 100644 --- a/components/select/src/multi-select/features/accepts_initial_focus/index.js +++ b/components/select/src/multi-select/features/accepts_initial_focus/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with initial focus is rendered', () => { diff --git a/components/select/src/multi-select/features/accepts_loading/index.js b/components/select/src/multi-select/features/accepts_loading/index.js index 93092ca8c2..40e1ede6cf 100644 --- a/components/select/src/multi-select/features/accepts_loading/index.js +++ b/components/select/src/multi-select/features/accepts_loading/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with options and a loading flag is rendered', () => { diff --git a/components/select/src/multi-select/features/accepts_max_height/index.js b/components/select/src/multi-select/features/accepts_max_height/index.js index f046ee2aae..f646f7b36a 100644 --- a/components/select/src/multi-select/features/accepts_max_height/index.js +++ b/components/select/src/multi-select/features/accepts_max_height/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with more than ten options is rendered', () => { diff --git a/components/select/src/multi-select/features/accepts_placeholder/index.js b/components/select/src/multi-select/features/accepts_placeholder/index.js index 683504a3f3..cf225a1e17 100644 --- a/components/select/src/multi-select/features/accepts_placeholder/index.js +++ b/components/select/src/multi-select/features/accepts_placeholder/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with a placeholder and no selection is rendered', () => { diff --git a/components/select/src/multi-select/features/accepts_prefix/index.js b/components/select/src/multi-select/features/accepts_prefix/index.js index 98b165cf88..9e7fbebf5e 100644 --- a/components/select/src/multi-select/features/accepts_prefix/index.js +++ b/components/select/src/multi-select/features/accepts_prefix/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with a prefix and no selection is rendered', () => { diff --git a/components/select/src/multi-select/features/allows_invalid_options/index.js b/components/select/src/multi-select/features/allows_invalid_options/index.js index 17f7bc5927..bfa6186747 100644 --- a/components/select/src/multi-select/features/allows_invalid_options/index.js +++ b/components/select/src/multi-select/features/allows_invalid_options/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with invalid options is rendered', () => { diff --git a/components/select/src/multi-select/features/allows_selecting/index.js b/components/select/src/multi-select/features/allows_selecting/index.js index 1459bcfbd4..34dbc0d9d2 100644 --- a/components/select/src/multi-select/features/allows_selecting/index.js +++ b/components/select/src/multi-select/features/allows_selecting/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given( diff --git a/components/select/src/multi-select/features/can_be_cleared/index.js b/components/select/src/multi-select/features/can_be_cleared/index.js index 8f3f11a5f5..4501c5a79b 100644 --- a/components/select/src/multi-select/features/can_be_cleared/index.js +++ b/components/select/src/multi-select/features/can_be_cleared/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given( diff --git a/components/select/src/multi-select/features/can_be_disabled/index.js b/components/select/src/multi-select/features/can_be_disabled/index.js index b3f6d43f50..97f57cc734 100644 --- a/components/select/src/multi-select/features/can_be_disabled/index.js +++ b/components/select/src/multi-select/features/can_be_disabled/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a disabled MultiSelect with options is rendered', () => { diff --git a/components/select/src/multi-select/features/can_be_empty/index.js b/components/select/src/multi-select/features/can_be_empty/index.js index 1585a74aa7..3b80f49045 100644 --- a/components/select/src/multi-select/features/can_be_empty/index.js +++ b/components/select/src/multi-select/features/can_be_empty/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an empty MultiSelect is rendered', () => { diff --git a/components/select/src/multi-select/features/can_be_filtered/index.js b/components/select/src/multi-select/features/can_be_filtered/index.js index a08f6bcb02..e73aecfc7c 100644 --- a/components/select/src/multi-select/features/can_be_filtered/index.js +++ b/components/select/src/multi-select/features/can_be_filtered/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a filterable MultiSelect with options is rendered', () => { diff --git a/components/select/src/multi-select/features/can_be_opened_and_closed/index.js b/components/select/src/multi-select/features/can_be_opened_and_closed/index.js index cf735ac02f..f2e181c4d9 100644 --- a/components/select/src/multi-select/features/can_be_opened_and_closed/index.js +++ b/components/select/src/multi-select/features/can_be_opened_and_closed/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with options is rendered', () => { diff --git a/components/select/src/multi-select/features/duplicate_option_values/index.js b/components/select/src/multi-select/features/duplicate_option_values/index.js index f2f800e0f5..978bd93fed 100644 --- a/components/select/src/multi-select/features/duplicate_option_values/index.js +++ b/components/select/src/multi-select/features/duplicate_option_values/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given( diff --git a/components/select/src/multi-select/features/menu_width_matches_input/index.js b/components/select/src/multi-select/features/menu_width_matches_input/index.js index 7e95bd87be..302623c716 100644 --- a/components/select/src/multi-select/features/menu_width_matches_input/index.js +++ b/components/select/src/multi-select/features/menu_width_matches_input/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with hidden sibling elements', () => { diff --git a/components/select/src/multi-select/features/position/index.js b/components/select/src/multi-select/features/position/index.js index 16f1425527..8554b9090a 100644 --- a/components/select/src/multi-select/features/position/index.js +++ b/components/select/src/multi-select/features/position/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then, When } from '@badeball/cypress-cucumber-preprocessor' Given( diff --git a/components/select/src/multi-select/features/shows_selections/index.js b/components/select/src/multi-select/features/shows_selections/index.js index c97cf0971c..1328dc2da8 100644 --- a/components/select/src/multi-select/features/shows_selections/index.js +++ b/components/select/src/multi-select/features/shows_selections/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a MultiSelect with options and a selection is rendered', () => { diff --git a/components/select/src/single-select/features/accepts_blur_cb/index.js b/components/select/src/single-select/features/accepts_blur_cb/index.js index 7eae77d87f..2ca5893467 100644 --- a/components/select/src/single-select/features/accepts_blur_cb/index.js +++ b/components/select/src/single-select/features/accepts_blur_cb/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with onBlur handler is rendered', () => { diff --git a/components/select/src/single-select/features/accepts_focus_cb/index.js b/components/select/src/single-select/features/accepts_focus_cb/index.js index 1f4aef1717..26bb90081e 100644 --- a/components/select/src/single-select/features/accepts_focus_cb/index.js +++ b/components/select/src/single-select/features/accepts_focus_cb/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with onFocus handler is rendered', () => { diff --git a/components/select/src/single-select/features/accepts_initial_focus/index.js b/components/select/src/single-select/features/accepts_initial_focus/index.js index 991c1e9f98..26dbf28b74 100644 --- a/components/select/src/single-select/features/accepts_initial_focus/index.js +++ b/components/select/src/single-select/features/accepts_initial_focus/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with initial focus is rendered', () => { diff --git a/components/select/src/single-select/features/accepts_loading/index.js b/components/select/src/single-select/features/accepts_loading/index.js index 2bfa90d81b..4824d110e8 100644 --- a/components/select/src/single-select/features/accepts_loading/index.js +++ b/components/select/src/single-select/features/accepts_loading/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with options and a loading flag is rendered', () => { diff --git a/components/select/src/single-select/features/accepts_max_height/index.js b/components/select/src/single-select/features/accepts_max_height/index.js index 2bae1f27e4..6f5f9cbb12 100644 --- a/components/select/src/single-select/features/accepts_max_height/index.js +++ b/components/select/src/single-select/features/accepts_max_height/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with more than ten options is rendered', () => { diff --git a/components/select/src/single-select/features/accepts_placeholder/index.js b/components/select/src/single-select/features/accepts_placeholder/index.js index eb63d4b8d2..698290542c 100644 --- a/components/select/src/single-select/features/accepts_placeholder/index.js +++ b/components/select/src/single-select/features/accepts_placeholder/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with a placeholder and no selection is rendered', () => { diff --git a/components/select/src/single-select/features/accepts_prefix/index.js b/components/select/src/single-select/features/accepts_prefix/index.js index 839a8e04a4..e4e7560a36 100644 --- a/components/select/src/single-select/features/accepts_prefix/index.js +++ b/components/select/src/single-select/features/accepts_prefix/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with a prefix and no selection is rendered', () => { diff --git a/components/select/src/single-select/features/allows_invalid_options/index.js b/components/select/src/single-select/features/allows_invalid_options/index.js index 0520a1c135..862c2c6b00 100644 --- a/components/select/src/single-select/features/allows_invalid_options/index.js +++ b/components/select/src/single-select/features/allows_invalid_options/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with invalid options is rendered', () => { diff --git a/components/select/src/single-select/features/allows_selecting/index.js b/components/select/src/single-select/features/allows_selecting/index.js index 0c84127991..d0f2ec1645 100644 --- a/components/select/src/single-select/features/allows_selecting/index.js +++ b/components/select/src/single-select/features/allows_selecting/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given( diff --git a/components/select/src/single-select/features/can_be_cleared/index.js b/components/select/src/single-select/features/can_be_cleared/index.js index 5e66818af3..d38558e981 100644 --- a/components/select/src/single-select/features/can_be_cleared/index.js +++ b/components/select/src/single-select/features/can_be_cleared/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given( diff --git a/components/select/src/single-select/features/can_be_disabled/index.js b/components/select/src/single-select/features/can_be_disabled/index.js index 486f3ce2b3..485c0ad9dd 100644 --- a/components/select/src/single-select/features/can_be_disabled/index.js +++ b/components/select/src/single-select/features/can_be_disabled/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a disabled SingleSelect with options is rendered', () => { diff --git a/components/select/src/single-select/features/can_be_empty/index.js b/components/select/src/single-select/features/can_be_empty/index.js index b842f9b58f..45a83f6709 100644 --- a/components/select/src/single-select/features/can_be_empty/index.js +++ b/components/select/src/single-select/features/can_be_empty/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('an empty SingleSelect is rendered', () => { diff --git a/components/select/src/single-select/features/can_be_filtered/index.js b/components/select/src/single-select/features/can_be_filtered/index.js index 7e678f5ba8..a804df8c9b 100644 --- a/components/select/src/single-select/features/can_be_filtered/index.js +++ b/components/select/src/single-select/features/can_be_filtered/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a filterable SingleSelect with options is rendered', () => { diff --git a/components/select/src/single-select/features/can_be_opened_and_closed/index.js b/components/select/src/single-select/features/can_be_opened_and_closed/index.js index 319037f297..5405a59f84 100644 --- a/components/select/src/single-select/features/can_be_opened_and_closed/index.js +++ b/components/select/src/single-select/features/can_be_opened_and_closed/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with options is rendered', () => { diff --git a/components/select/src/single-select/features/duplicate_option_values/index.js b/components/select/src/single-select/features/duplicate_option_values/index.js index 9171195d6b..7ec1406090 100644 --- a/components/select/src/single-select/features/duplicate_option_values/index.js +++ b/components/select/src/single-select/features/duplicate_option_values/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given( diff --git a/components/select/src/single-select/features/menu_width_matches_input/index.js b/components/select/src/single-select/features/menu_width_matches_input/index.js index e8ea117667..9fa7b0a2e9 100644 --- a/components/select/src/single-select/features/menu_width_matches_input/index.js +++ b/components/select/src/single-select/features/menu_width_matches_input/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with hidden sibling elements', () => { diff --git a/components/select/src/single-select/features/shows_selections/index.js b/components/select/src/single-select/features/shows_selections/index.js index 33e966f363..d7629b81c2 100644 --- a/components/select/src/single-select/features/shows_selections/index.js +++ b/components/select/src/single-select/features/shows_selections/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a SingleSelect with options and a selection is rendered', () => { diff --git a/components/text-area/src/text-area/features/can_be_changed/index.js b/components/text-area/src/text-area/features/can_be_changed/index.js index ef801cf4e6..812a9deb39 100644 --- a/components/text-area/src/text-area/features/can_be_changed/index.js +++ b/components/text-area/src/text-area/features/can_be_changed/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a TextArea with onChange handler is rendered', () => { diff --git a/components/text-area/src/text-area/features/can_be_focused/index.js b/components/text-area/src/text-area/features/can_be_focused/index.js index 3176fb0aa8..ea2bb88a31 100644 --- a/components/text-area/src/text-area/features/can_be_focused/index.js +++ b/components/text-area/src/text-area/features/can_be_focused/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a TextArea with onFocus handler is rendered', () => { diff --git a/components/tooltip/src/features/layering/index.js b/components/tooltip/src/features/layering/index.js index 3a3f66ce61..9e2b9e6a46 100644 --- a/components/tooltip/src/features/layering/index.js +++ b/components/tooltip/src/features/layering/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' Given('a Modal contains a tooltip', () => { diff --git a/components/tooltip/src/features/scrolling_containers/index.js b/components/tooltip/src/features/scrolling_containers/index.js index 6c8fea1145..01ce11d19a 100644 --- a/components/tooltip/src/features/scrolling_containers/index.js +++ b/components/tooltip/src/features/scrolling_containers/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') require('../positions/index.js') require('../visibility_toggling/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' diff --git a/components/tooltip/src/features/visibility_toggling/index.js b/components/tooltip/src/features/visibility_toggling/index.js index 0a06138303..ce70218cef 100644 --- a/components/tooltip/src/features/visibility_toggling/index.js +++ b/components/tooltip/src/features/visibility_toggling/index.js @@ -1,4 +1,3 @@ -require('../common/index.js') import { When, Then } from '@badeball/cypress-cucumber-preprocessor' When('the mouse cursor leaves the anchor', () => { diff --git a/package.json b/package.json index 2743c9e2db..4f18b3f5cd 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "lint:staged": "d2-style check --staged", "test": "d2-app-scripts test", "start": "yarn workspace ui-storybook start", + "start:legacy": "NODE_OPTIONS=--openssl-legacy-provider yarn workspace ui-storybook start", "start:docs": "yarn workspace ui-docusaurus start" }, "dependencies": { From 30939bbbcaba1a8b5c68cefcc43944298119332b Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Tue, 23 Apr 2024 10:29:27 +0800 Subject: [PATCH 10/57] chore(cypress): update to v13 --- package.json | 2 +- yarn.lock | 58 +++++++++++++++++++++++++++++----------------------- 2 files changed, 33 insertions(+), 27 deletions(-) diff --git a/package.json b/package.json index 4f18b3f5cd..cad422cce7 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "@testing-library/user-event": "^13.5.0", "ast-types": "^0.14.2", "concurrently": "^6.2.1", - "cypress": "^12", + "cypress": "^13.8.0", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.6", "execa": "^5.1.1", diff --git a/yarn.lock b/yarn.lock index 89a154708c..9b0d7657b5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1880,10 +1880,10 @@ resolved "https://registry.yarnpkg.com/@cucumber/tag-expressions/-/tag-expressions-6.1.0.tgz#cb7af908bdb43669b7574c606f71fa707196e962" integrity sha512-+3DwRumrCJG27AtzCIL37A/X+A/gSfxOPLg8pZaruh5SLumsTmpvilwroVWBT2fPzmno/tGXypeK5a7NHU4RzA== -"@cypress/request@2.88.12": - version "2.88.12" - resolved "https://registry.yarnpkg.com/@cypress/request/-/request-2.88.12.tgz#ba4911431738494a85e93fb04498cb38bc55d590" - integrity sha512-tOn+0mDZxASFM+cuAP9szGUGPI1HwWVSvdzm7V4cCsPdFTx6qMj29CwaQmRAMIEhORIUBFBsYROYJcveK4uOjA== +"@cypress/request@^3.0.0": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@cypress/request/-/request-3.0.1.tgz#72d7d5425236a2413bd3d8bb66d02d9dc3168960" + integrity sha512-TWivJlJi8ZDx2wGOw1dbLuHJKUYX7bWySw377nlnGOW3hP9/MUKIsEdXT/YngWxVdgNCHRBmFlBipE+5/2ZZlQ== dependencies: aws-sign2 "~0.7.0" aws4 "^1.8.0" @@ -1898,7 +1898,7 @@ json-stringify-safe "~5.0.1" mime-types "~2.1.19" performance-now "^2.1.0" - qs "~6.10.3" + qs "6.10.4" safe-buffer "^5.1.2" tough-cookie "^4.1.3" tunnel-agent "^0.6.0" @@ -5509,11 +5509,6 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.2.tgz#1e94476db57ec93a372c7f7d29aa5707cfb92339" integrity sha512-sld7b/xmFum66AAKuz/rp/CUO8+98fMpyQ3SBfzzBNGMd/1iHBTAg9oyAvcYlAj46bpc74r91jSw2iFdnx29nw== -"@types/node@^16.18.39": - version "16.18.91" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.91.tgz#3e7b3b3d28f740e3e2d4ceb7ad9d16e6b9277c91" - integrity sha512-h8Q4klc8xzc9kJKr7UYNtJde5TU2qEePVyH3WyzJaUC+3ptyc5kPQbWOIUcn8ZsG5+KSkq+P0py0kC0VqxgAXw== - "@types/normalize-package-data@^2.4.0": version "2.4.0" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" @@ -7802,7 +7797,7 @@ buffer@^4.3.0: ieee754 "^1.1.4" isarray "^1.0.0" -buffer@^5.1.0, buffer@^5.5.0, buffer@^5.6.0: +buffer@^5.1.0, buffer@^5.5.0, buffer@^5.7.1: version "5.7.1" resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== @@ -8254,6 +8249,11 @@ ci-info@^3.1.1: resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.2.0.tgz#2876cb948a498797b5236f0095bc057d0dca38b6" integrity sha512-dVqRX7fLUm8J6FgHJ418XuIgDLZDkYcDFTeL6TA2gt5WlIZUQrrH6EZrNClwT/H0FateUsZkGIOPRrLbP+PR9A== +ci-info@^3.2.0: + version "3.9.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4" + integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== + cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" @@ -9563,20 +9563,19 @@ cyclist@^1.0.1: resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9" integrity sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk= -cypress@^12: - version "12.17.4" - resolved "https://registry.yarnpkg.com/cypress/-/cypress-12.17.4.tgz#b4dadf41673058493fa0d2362faa3da1f6ae2e6c" - integrity sha512-gAN8Pmns9MA5eCDFSDJXWKUpaL3IDd89N9TtIupjYnzLSmlpVr+ZR+vb4U/qaMp+lB6tBvAmt7504c3Z4RU5KQ== +cypress@^13.8.0: + version "13.8.0" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-13.8.0.tgz#118e94161334e03841714c9b9b3600ae853c11f9" + integrity sha512-Qau//mtrwEGOU9cn2YjavECKyDUwBh8J2tit+y9s1wsv6C3BX+rlv6I9afmQnL8PmEEzJ6be7nppMHacFzZkTw== dependencies: - "@cypress/request" "2.88.12" + "@cypress/request" "^3.0.0" "@cypress/xvfb" "^1.2.4" - "@types/node" "^16.18.39" "@types/sinonjs__fake-timers" "8.1.1" "@types/sizzle" "^2.3.2" arch "^2.2.0" blob-util "^2.0.2" bluebird "^3.7.2" - buffer "^5.6.0" + buffer "^5.7.1" cachedir "^2.3.0" chalk "^4.1.0" check-more-types "^2.24.0" @@ -9594,7 +9593,7 @@ cypress@^12: figures "^3.2.0" fs-extra "^9.1.0" getos "^3.2.1" - is-ci "^3.0.0" + is-ci "^3.0.1" is-installed-globally "~0.4.0" lazy-ass "^1.6.0" listr2 "^3.8.3" @@ -13433,6 +13432,13 @@ is-ci@^3.0.0: dependencies: ci-info "^3.1.1" +is-ci@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-3.0.1.tgz#db6ecbed1bd659c43dac0f45661e7674103d1867" + integrity sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ== + dependencies: + ci-info "^3.2.0" + is-color-stop@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-color-stop/-/is-color-stop-1.1.0.tgz#cfff471aee4dd5c9e158598fbe12967b5cdad345" @@ -18763,6 +18769,13 @@ q@^1.1.2, q@^1.5.1: resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" integrity sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc= +qs@6.10.4: + version "6.10.4" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.4.tgz#6a3003755add91c0ec9eacdc5f878b034e73f9e7" + integrity sha512-OQiU+C+Ds5qiH91qh/mg0w+8nwQuLjM4F4M/PbmhDOoYehPh+Fb0bDjtR1sOvy7YKxvj28Y/M0PhP5uVX0kB+g== + dependencies: + side-channel "^1.0.4" + qs@6.7.0: version "6.7.0" resolved "https://registry.yarnpkg.com/qs/-/qs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc" @@ -18775,13 +18788,6 @@ qs@^6.10.0: dependencies: side-channel "^1.0.4" -qs@~6.10.3: - version "6.10.5" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.5.tgz#974715920a80ff6a262264acd2c7e6c2a53282b4" - integrity sha512-O5RlPh0VFtR78y79rgcgKK4wbAI0C5zGVLztOIdpWX6ep368q5Hv6XRxDvXuZ9q3C6v+e3n8UfZZJw7IIG27eQ== - dependencies: - side-channel "^1.0.4" - qs@~6.5.2: version "6.5.2" resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" From bbcdda7162e1fa79bba3686babe6693513e658bf Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Tue, 23 Apr 2024 10:29:58 +0800 Subject: [PATCH 11/57] chore(cypress config): remove commented out config & allow experimental "run all specs" --- cypress.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress.config.js b/cypress.config.js index e8d254b62b..36a0902a04 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -17,6 +17,6 @@ module.exports = defineConfig({ setupNodeEvents, baseUrl: 'http://localhost:5000', specPattern: '**/src/**/*.feature', - // excludeSpecPattern: '**/build/**/*', + experimentalRunAllSpecs: true, }, }) From 2c91a9f6509d94d0639878fbdba592cf5a32e926 Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Tue, 23 Apr 2024 10:31:09 +0800 Subject: [PATCH 12/57] chore(tooltip cypress tests): remove "require" statements --- .../tooltip/src/features/common/constants.js | 2 + .../common/getReferenceAndBodyPositions.js | 6 +++ .../common/getReferenceAndContentPositions.js | 6 +++ .../tooltip/src/features/common/index.js | 23 ++++++++--- .../tooltip/src/features/positions/index.js | 41 ++++++++++--------- .../features/scrolling_containers/index.js | 13 +++++- 6 files changed, 63 insertions(+), 28 deletions(-) create mode 100644 components/tooltip/src/features/common/constants.js create mode 100644 components/tooltip/src/features/common/getReferenceAndBodyPositions.js create mode 100644 components/tooltip/src/features/common/getReferenceAndContentPositions.js diff --git a/components/tooltip/src/features/common/constants.js b/components/tooltip/src/features/common/constants.js new file mode 100644 index 0000000000..8eee2c5b4c --- /dev/null +++ b/components/tooltip/src/features/common/constants.js @@ -0,0 +1,2 @@ +export const TOOLTIP_OFFSET = 4 +export const TOOLTIP_HEIGHT = 25 diff --git a/components/tooltip/src/features/common/getReferenceAndBodyPositions.js b/components/tooltip/src/features/common/getReferenceAndBodyPositions.js new file mode 100644 index 0000000000..6be4bc3708 --- /dev/null +++ b/components/tooltip/src/features/common/getReferenceAndBodyPositions.js @@ -0,0 +1,6 @@ +export function getReferenceAndBodyPositions() { + return cy.getPositionsBySelectors( + '[data-test="dhis2-uicore-tooltip-reference"]', + 'body' + ) +} diff --git a/components/tooltip/src/features/common/getReferenceAndContentPositions.js b/components/tooltip/src/features/common/getReferenceAndContentPositions.js new file mode 100644 index 0000000000..d9f656aaa6 --- /dev/null +++ b/components/tooltip/src/features/common/getReferenceAndContentPositions.js @@ -0,0 +1,6 @@ +export function getReferenceAndContentPositions() { + return cy.getPositionsBySelectors( + '[data-test="dhis2-uicore-tooltip-reference"]', + '[data-test="dhis2-uicore-tooltip-content"]' + ) +} diff --git a/components/tooltip/src/features/common/index.js b/components/tooltip/src/features/common/index.js index cef3bdd3e0..e90a68316d 100644 --- a/components/tooltip/src/features/common/index.js +++ b/components/tooltip/src/features/common/index.js @@ -37,11 +37,22 @@ Then('the Tooltip stays visible', () => { }) Then('the Tooltip is rendered on top of the anchor', () => { - cy.getPositionsBySelectors( - '[data-test="dhis2-uicore-tooltip-reference"]', - '[data-test="dhis2-uicore-tooltip-content"]' - ).should(([refPos, contentPos]) => { - expect(contentPos.bottom).to.be.greaterThan(refPos.top) - expect(refPos.top).to.be.greaterThan(contentPos.top) + cy.get('[data-test="dhis2-uicore-tooltip-reference"]').then(($ref) => { + const refPos = $ref[0].getBoundingClientRect() + + cy.get('[data-test="dhis2-uicore-tooltip-content"]').then( + ($content) => { + const contentPos = $content[0].getBoundingClientRect() + expect(refPos.top).to.be.greaterThan(contentPos.top) + } + ) }) + + // cy.getPositionsBySelectors( + // '[data-test="dhis2-uicore-tooltip-content"]', + // '[data-test="dhis2-uicore-tooltip-reference"]' + // ).should(([refPos, contentPos]) => { + // expect(contentPos.bottom).to.be.greaterThan(refPos.top) + // expect(refPos.top).to.be.greaterThan(contentPos.top) + // }) }) diff --git a/components/tooltip/src/features/positions/index.js b/components/tooltip/src/features/positions/index.js index 718e86436c..39132cee56 100644 --- a/components/tooltip/src/features/positions/index.js +++ b/components/tooltip/src/features/positions/index.js @@ -1,7 +1,10 @@ import { Given, Then } from '@badeball/cypress-cucumber-preprocessor' +import { TOOLTIP_OFFSET, TOOLTIP_HEIGHT } from '../common/constants.js' +import { getReferenceAndBodyPositions } from '../common/getReferenceAndBodyPositions.js' +import { getReferenceAndContentPositions } from '../common/getReferenceAndContentPositions.js' -const TOOLTIP_OFFSET = 4 -const TOOLTIP_HEIGHT = 25 +// On my linux machine a tolerance of 1 wasn't enough :shrug: +const APPROXIMATION_TOLERANCE = 2 // Stories Given( @@ -32,7 +35,10 @@ Then( const refCenterX = refPos.left + refPos.width / 2 const contentCenterX = contentPos.left + contentPos.width / 2 - expect(refCenterX).to.be.approximately(contentCenterX, 1) + expect(refCenterX).to.be.approximately( + contentCenterX, + APPROXIMATION_TOLERANCE + ) }) } ) @@ -53,7 +59,10 @@ Then( 'there is some space between the anchor bottom and the Tooltip top', () => { getReferenceAndContentPositions().should(([refPos, contentPos]) => { - expect(refPos.bottom + TOOLTIP_OFFSET).to.equal(contentPos.top) + expect(refPos.bottom + TOOLTIP_OFFSET).to.be.approximately( + contentPos.top, + APPROXIMATION_TOLERANCE + ) }) } ) @@ -62,27 +71,19 @@ Then( 'there is some space between the anchor top and the Tooltip bottom', () => { getReferenceAndContentPositions().should(([refPos, contentPos]) => { - expect(refPos.top).to.equal(contentPos.bottom + TOOLTIP_OFFSET) + expect(refPos.top).to.be.approximately( + contentPos.bottom + TOOLTIP_OFFSET, + APPROXIMATION_TOLERANCE + ) }) } ) Then('the Tooltip is rendered below the anchor', () => { getReferenceAndContentPositions().should(([refPos, contentPos]) => { - expect(contentPos.top).to.be.greaterThan(refPos.bottom) + expect(contentPos.top).to.be.approximately( + refPos.bottom + TOOLTIP_OFFSET, + APPROXIMATION_TOLERANCE + ) }) }) - -// helper -function getReferenceAndBodyPositions() { - return cy.getPositionsBySelectors( - '[data-test="dhis2-uicore-tooltip-reference"]', - 'body' - ) -} -function getReferenceAndContentPositions() { - return cy.getPositionsBySelectors( - '[data-test="dhis2-uicore-tooltip-reference"]', - '[data-test="dhis2-uicore-tooltip-content"]' - ) -} diff --git a/components/tooltip/src/features/scrolling_containers/index.js b/components/tooltip/src/features/scrolling_containers/index.js index 01ce11d19a..93c70523ba 100644 --- a/components/tooltip/src/features/scrolling_containers/index.js +++ b/components/tooltip/src/features/scrolling_containers/index.js @@ -1,6 +1,5 @@ -require('../positions/index.js') -require('../visibility_toggling/index.js') import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' +import { getReferenceAndContentPositions } from '../common/getReferenceAndContentPositions.js' /** * Note that scrolling behavior is tricky with cypress: @@ -83,3 +82,13 @@ When('enough time passes for the CLOSE_DELAY to complete', () => { cy.clock() cy.tick(500) }) + +Then('the Tooltip is rendered below the anchor', () => { + getReferenceAndContentPositions().should(([refPos, contentPos]) => { + expect(contentPos.top).to.be.greaterThan(refPos.bottom) + }) +}) + +Then('the Tooltip is not rendered', () => { + cy.get('[data-test="dhis2-uicore-tooltip-content"]').should('not.exist') +}) From c62e1ab27bc9c07ab29a6d97b07edb2885bc195a Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Tue, 23 Apr 2024 11:16:54 +0800 Subject: [PATCH 13/57] chore(gitignore): ignore "cypress/downloads" --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index acfdd8d19c..77a99b4fac 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,7 @@ bundle.stats.json # cypress cypress/screenshots +cypress/downloads cypress/videos cypress.env.json From 64ababd7b05aec94378447dd4d493f1c4d8ac1ea Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Tue, 23 Apr 2024 11:25:08 +0800 Subject: [PATCH 14/57] chore(transfer feature step implementation): fix typo --- .../transfer/src/features/reorder-with-buttons/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/transfer/src/features/reorder-with-buttons/index.js b/components/transfer/src/features/reorder-with-buttons/index.js index b357059b4e..4a2a014788 100644 --- a/components/transfer/src/features/reorder-with-buttons/index.js +++ b/components/transfer/src/features/reorder-with-buttons/index.js @@ -12,8 +12,8 @@ Given('the selected list has some items', () => { cy.visitStory('Transfer Reorder Buttons', 'Has Some Selected') }) -Given('the {int}. item is highlighted', (previousPisition) => { - const index = previousPisition - 1 +Given('the {int}. item is highlighted', (previousPosition) => { + const index = previousPosition - 1 console.log('> index', index) cy.get('{transfer-pickedoptions} {transferoption}') From 6e9f1800f0f95d0d511b49130d78f13143a868f4 Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Tue, 23 Apr 2024 11:31:36 +0800 Subject: [PATCH 15/57] chore(transfer reorder feature): use ".as" with static value correctly --- .../transfer/src/features/reorder-with-buttons/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/transfer/src/features/reorder-with-buttons/index.js b/components/transfer/src/features/reorder-with-buttons/index.js index 4a2a014788..b555fd9ced 100644 --- a/components/transfer/src/features/reorder-with-buttons/index.js +++ b/components/transfer/src/features/reorder-with-buttons/index.js @@ -19,9 +19,7 @@ Given('the {int}. item is highlighted', (previousPosition) => { cy.get('{transfer-pickedoptions} {transferoption}') .eq(index) .invoke('attr', 'data-value') - // For some reason, using `.as()` directly doesn't work. - // Wrapping it inside a `.then` works though - .then((previousValue) => cy.wrap(previousValue).as('previousValue')) + .as('previousValue', { type: 'static' }) cy.get('{transfer-pickedoptions} {transferoption}') .eq(index) From 3bb8b98cb98d339856a643fc0bda17d77facb092 Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Tue, 23 Apr 2024 14:59:25 +0800 Subject: [PATCH 16/57] chore(cypress config): remove "video" option and renove config cli option from script --- cypress.config.js | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cypress.config.js b/cypress.config.js index 36a0902a04..17f05f7253 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -11,7 +11,6 @@ async function setupNodeEvents(on, config) { } module.exports = defineConfig({ - video: false, projectId: 'vyavbk', e2e: { setupNodeEvents, diff --git a/package.json b/package.json index cad422cce7..c3d4813f7d 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "cy:start:legacy": "NODE_OPTIONS=--openssl-legacy-provider yarn cy:start", "cy:start": "yarn build:lib && STORYBOOK_TESTING=1 yarn start", "cy:open": "wait-on 'http://localhost:5000' && cypress open", - "cy:run": "wait-on 'http://localhost:5000' && cypress run --config-file=cypress.config.js", + "cy:run": "wait-on 'http://localhost:5000' && cypress run", "cy:test": "./scripts/cypress.js", "format": "d2-style apply", "format:staged": "d2-style apply --staged", From f444c08efc2e7a71784a2ae06135065d806544f5 Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Wed, 24 Apr 2024 07:59:06 +0800 Subject: [PATCH 17/57] chore(package json): move dev dependencies from "dependencies" to "devDependencies" --- package.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index c3d4813f7d..282ebd63e7 100644 --- a/package.json +++ b/package.json @@ -47,14 +47,25 @@ "start:docs": "yarn workspace ui-docusaurus start" }, "dependencies": { + "@dhis2/d2-i18n": "^1.1.0", + "react": "16.13", + "react-dom": "16.13", + "react-scripts": "^4.0.3", + "styled-jsx": "^4.0.1" + }, + "peerDependencies": { + "@types/react": ">=16.14.0" + }, + "devDependencies": { "@babel/parser": "^7.17.0", + "@badeball/cypress-cucumber-preprocessor": "^20.0.2", + "@cypress/webpack-preprocessor": "^6.0.1", "@dhis2/app-runtime": "^3.9.0", "@dhis2/cli-app-scripts": "^8.0.0", "@dhis2/cli-style": "10.4.2", "@dhis2/cli-utils-docsite": "^3.1.2", "@dhis2/cypress-commands": "^10.0.3", "@dhis2/cypress-plugins": "^10.0.3", - "@dhis2/d2-i18n": "^1.1.0", "@manypkg/cli": "^0.18.0", "@svgr/cli": "^5.5.0", "@testing-library/jest-dom": "^5.16.1", @@ -69,20 +80,9 @@ "execa": "^5.1.1", "fast-glob": "^3.2.7", "find-up": "^5.0.0", - "react": "16.13", "react-dev-utils": "^10.2.1", "react-docgen": "^5.4.0", - "react-dom": "16.13", - "react-scripts": "^4.0.3", "rimraf": "^3.0.2", - "styled-jsx": "^4.0.1", "wait-on": "^6.0.0" - }, - "peerDependencies": { - "@types/react": ">=16.14.0" - }, - "devDependencies": { - "@badeball/cypress-cucumber-preprocessor": "^20.0.2", - "@cypress/webpack-preprocessor": "^6.0.1" } } From af2cbb3c2a99111ac4667675eca3fe626acc2f40 Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Wed, 24 Apr 2024 08:02:01 +0800 Subject: [PATCH 18/57] chore(package json): remove superfluous information --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 282ebd63e7..b8f1f51be7 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,7 @@ "contributors": [ { "name": "Jan-Gerke Salomon", - "email": "jan-gerke@dhis2.org", - "url": "http://functionalprogramming.ninja" + "email": "jan-gerke@dhis2.org" } ], "license": "BSD-3-Clause", From 740ff8e382c8992ab74f37546bb5d58c5cd276fb Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Wed, 24 Apr 2024 08:14:02 +0800 Subject: [PATCH 19/57] chore(tooltip cypress steps): remove commented-out code --- components/tooltip/src/features/common/index.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/components/tooltip/src/features/common/index.js b/components/tooltip/src/features/common/index.js index e90a68316d..777b00de03 100644 --- a/components/tooltip/src/features/common/index.js +++ b/components/tooltip/src/features/common/index.js @@ -36,23 +36,16 @@ Then('the Tooltip stays visible', () => { cy.get('[data-test="dhis2-uicore-tooltip-content"]').should('exist') }) -Then('the Tooltip is rendered on top of the anchor', () => { +Then('the Tooltip is rendered on top of the anchor', async () => { cy.get('[data-test="dhis2-uicore-tooltip-reference"]').then(($ref) => { const refPos = $ref[0].getBoundingClientRect() cy.get('[data-test="dhis2-uicore-tooltip-content"]').then( ($content) => { const contentPos = $content[0].getBoundingClientRect() + expect(contentPos.bottom).to.be.greaterThan(refPos.top) expect(refPos.top).to.be.greaterThan(contentPos.top) } ) }) - - // cy.getPositionsBySelectors( - // '[data-test="dhis2-uicore-tooltip-content"]', - // '[data-test="dhis2-uicore-tooltip-reference"]' - // ).should(([refPos, contentPos]) => { - // expect(contentPos.bottom).to.be.greaterThan(refPos.top) - // expect(refPos.top).to.be.greaterThan(contentPos.top) - // }) }) From 022154d6937848582384bc088427a140b7e0ea4a Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Thu, 25 Apr 2024 09:09:07 +0800 Subject: [PATCH 20/57] chore(cucumber step config): remove superfluous "async" --- components/tooltip/src/features/common/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tooltip/src/features/common/index.js b/components/tooltip/src/features/common/index.js index 777b00de03..246261b7fd 100644 --- a/components/tooltip/src/features/common/index.js +++ b/components/tooltip/src/features/common/index.js @@ -36,7 +36,7 @@ Then('the Tooltip stays visible', () => { cy.get('[data-test="dhis2-uicore-tooltip-content"]').should('exist') }) -Then('the Tooltip is rendered on top of the anchor', async () => { +Then('the Tooltip is rendered on top of the anchor', () => { cy.get('[data-test="dhis2-uicore-tooltip-reference"]').then(($ref) => { const refPos = $ref[0].getBoundingClientRect() From 495c8698b24e3649b5d36c2ee3c9626aa2de4ff8 Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Thu, 25 Apr 2024 09:20:52 +0800 Subject: [PATCH 21/57] chore(cypress): fix ResizeObserver loop error handling and make it global --- .cypress-cucumber-preprocessorrc.json | 3 ++- .../auto_hides_scroll_buttons/index.js | 20 ------------------- .../features/notify_at_end_of_list/index.js | 12 ----------- cypress/e2e/common.js | 16 +++++++++++++++ 4 files changed, 18 insertions(+), 33 deletions(-) create mode 100644 cypress/e2e/common.js diff --git a/.cypress-cucumber-preprocessorrc.json b/.cypress-cucumber-preprocessorrc.json index 3f586a22ed..4cd64d22e3 100644 --- a/.cypress-cucumber-preprocessorrc.json +++ b/.cypress-cucumber-preprocessorrc.json @@ -3,7 +3,8 @@ "e2e": { "stepDefinitions": [ "[filepath]/*.{js,mjs,ts,tsx}", - "[filepath]/../common/index.{js,mjs,ts,tsx}" + "[filepath]/../common/index.{js,mjs,ts,tsx}", + "cypress/e2e/common.js" ] } } diff --git a/components/tab/src/tab-bar/features/auto_hides_scroll_buttons/index.js b/components/tab/src/tab-bar/features/auto_hides_scroll_buttons/index.js index 022e5ae9d3..d27e1f26bd 100644 --- a/components/tab/src/tab-bar/features/auto_hides_scroll_buttons/index.js +++ b/components/tab/src/tab-bar/features/auto_hides_scroll_buttons/index.js @@ -1,25 +1,5 @@ -/* global before,after */ import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' -const handler = (err) => { - // > This error means that ResizeObserver was not able to deliver all - // > observations within a single animation frame. It is benign (your site - // > will not break). – Aleksandar Totic Apr 15 at 3:14 - // ----- - // https://stackoverflow.com/a/50387233 - if (err.message.match('ResizeObserver loop limit exceeded')) { - return false - } -} - -before(() => { - Cypress.on('uncaught:exception', handler) -}) - -after(() => { - Cypress.off('uncaught:exception', handler) -}) - Given('a tabbar with enough space for all tabs is rendered', () => { cy.viewport(1024, 768) cy.visitStory('TabBar', 'Scrollable with some tabs') diff --git a/components/transfer/src/features/notify_at_end_of_list/index.js b/components/transfer/src/features/notify_at_end_of_list/index.js index f67307021c..6f877ba3d8 100644 --- a/components/transfer/src/features/notify_at_end_of_list/index.js +++ b/components/transfer/src/features/notify_at_end_of_list/index.js @@ -1,17 +1,5 @@ import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor' -Cypress.on('uncaught:exception', (err) => { - // This prevents a benign error: - // This error means that ResizeObserver was not able to deliver all - // observations within a single animation frame. It is benign (your site - // will not break). - // - // Source: https://stackoverflow.com/a/50387233/1319140 - if (err.match(/ResizeObserver loop limit exceeded/)) { - return false - } -}) - Given( 'the Transfer has enough items to fill the source list completely', () => { diff --git a/cypress/e2e/common.js b/cypress/e2e/common.js new file mode 100644 index 0000000000..3eaeb796a5 --- /dev/null +++ b/cypress/e2e/common.js @@ -0,0 +1,16 @@ +Cypress.on('uncaught:exception', (err) => { + /* This prevents a benign error: + * This error means that ResizeObserver was not able to deliver all + * observations within a single animation frame. It is benign (your site + * will not break). + * + * Source: https://stackoverflow.com/a/50387233/1319140 + */ + const errMsg = err.toString() + if ( + errMsg.match(/ResizeObserver loop limit exceeded/) || + errMsg.match(/ResizeObserver loop completed with undelivered notifications/) + ) { + return false + } +}) From e1d1c1e9ec32735e301f7584ca40046dc66275ef Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Thu, 25 Apr 2024 10:33:44 +0800 Subject: [PATCH 22/57] chore: fix linter issues --- cypress/e2e/common.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/common.js b/cypress/e2e/common.js index 3eaeb796a5..11f22241b0 100644 --- a/cypress/e2e/common.js +++ b/cypress/e2e/common.js @@ -9,7 +9,9 @@ Cypress.on('uncaught:exception', (err) => { const errMsg = err.toString() if ( errMsg.match(/ResizeObserver loop limit exceeded/) || - errMsg.match(/ResizeObserver loop completed with undelivered notifications/) + errMsg.match( + /ResizeObserver loop completed with undelivered notifications/ + ) ) { return false } From 0bf352080cbd58c292325c1adf1c4cb6e840423f Mon Sep 17 00:00:00 2001 From: "@dhis2-bot" Date: Sun, 28 Apr 2024 03:37:52 +0200 Subject: [PATCH 23/57] fix(translations): sync translations from transifex (master) Automatically merged. --- components/sharing-dialog/i18n/sv.po | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/components/sharing-dialog/i18n/sv.po b/components/sharing-dialog/i18n/sv.po index 6cdcad39bf..64d68c00dc 100644 --- a/components/sharing-dialog/i18n/sv.po +++ b/components/sharing-dialog/i18n/sv.po @@ -1,15 +1,16 @@ # # Translators: -# phil_dhis2, 2021 +# Philip Larsen Donnelly, 2021 # Viktor Varland , 2021 +# Martin , 2024 # msgid "" msgstr "" "Project-Id-Version: i18next-conv\n" "POT-Creation-Date: 2021-11-25T09:59:40.995Z\n" "PO-Revision-Date: 2021-10-01 23:39+0000\n" -"Last-Translator: Viktor Varland , 2021\n" -"Language-Team: Swedish (https://www.transifex.com/hisp-uio/teams/100509/sv/)\n" +"Last-Translator: Martin , 2024\n" +"Language-Team: Swedish (https://app.transifex.com/hisp-uio/teams/100509/sv/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -71,7 +72,7 @@ msgid "Apply dashboard sharing settings to visualizations" msgstr "" msgid "Something went wrong" -msgstr "" +msgstr "Något gick fel" msgid "Apply sharing to dashboard visualizations" msgstr "" From bf9927a204d56e688ee64cbff021e249f7f94b5e Mon Sep 17 00:00:00 2001 From: Diana Nanyanzi Date: Mon, 29 Apr 2024 07:46:52 +0300 Subject: [PATCH 24/57] feat: add optional aria-label prop to switch component --- .../switch/src/switch/__tests__/switch.test.js | 13 +++++++++++++ components/switch/src/switch/switch.js | 4 ++-- components/switch/types/index.d.ts | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/components/switch/src/switch/__tests__/switch.test.js b/components/switch/src/switch/__tests__/switch.test.js index 172691e8d4..2d1d6a036c 100644 --- a/components/switch/src/switch/__tests__/switch.test.js +++ b/components/switch/src/switch/__tests__/switch.test.js @@ -28,4 +28,17 @@ describe('', () => { expect(onKeyDown).toHaveBeenCalledTimes(1) }) + + it('renders the switch with aria label', () => { + const ariaLabel = 'test switch' + render( + + ) + expect(screen.getAllByLabelText(ariaLabel)).toHaveLength(1) + }) }) diff --git a/components/switch/src/switch/switch.js b/components/switch/src/switch/switch.js index 31c273a2dc..a53cf7cc35 100644 --- a/components/switch/src/switch/switch.js +++ b/components/switch/src/switch/switch.js @@ -47,7 +47,7 @@ class Switch extends Component { render() { const { - ariaLabel, + 'aria-label': ariaLabel, checked, className, disabled, @@ -172,7 +172,7 @@ Switch.defaultProps = { Switch.propTypes = { /** Sets an aria-label attribute on the input */ - ariaLabel: PropTypes.string, + 'aria-label': PropTypes.string, checked: PropTypes.bool, className: PropTypes.string, dataTest: PropTypes.string, diff --git a/components/switch/types/index.d.ts b/components/switch/types/index.d.ts index fbd94350a4..3a18fba501 100644 --- a/components/switch/types/index.d.ts +++ b/components/switch/types/index.d.ts @@ -23,7 +23,7 @@ export interface SwitchProps { /** * Sets an aria-label attribute on the input */ - ariaLabel?: string + 'aria-label'?: string checked?: boolean className?: string dataTest?: string From c8daca4f6457fd3ce4f028377b69c491abf3980c Mon Sep 17 00:00:00 2001 From: Rene Pot Date: Tue, 30 Apr 2024 08:23:23 -0400 Subject: [PATCH 25/57] docs: change import/notice about import & add codeblocks (#1442) --- collections/forms/API.md | 36 +- collections/ui/API.md | 250 ++--- components/alert/API.md | 16 +- components/alert/src/alert-bar/alert-bar.js | 6 +- components/box/API.md | 4 +- components/button/API.md | 16 +- components/calendar/API.md | 22 +- components/card/API.md | 4 +- components/center/API.md | 4 +- components/checkbox/API.md | 8 +- components/chip/API.md | 4 +- components/cover/API.md | 4 +- components/css/API.md | 8 +- components/divider/API.md | 4 +- components/field/API.md | 12 +- components/file-input/API.md | 24 +- components/header-bar/API.md | 4 +- components/help/API.md | 4 +- components/input/API.md | 8 +- components/intersection-detector/API.md | 4 +- components/label/API.md | 4 +- components/layer/API.md | 4 +- components/legend/API.md | 4 +- components/loader/API.md | 8 +- components/logo/API.md | 16 +- components/menu/API.md | 20 +- components/modal/API.md | 16 +- components/node/API.md | 4 +- components/notice-box/API.md | 4 +- components/organisation-unit-tree/API.md | 12 +- components/pagination/API.md | 4 +- components/popover/API.md | 4 +- components/popper/API.md | 4 +- components/radio/API.md | 4 +- components/required/API.md | 4 +- components/segmented-control/API.md | 4 +- components/select/API.md | 24 +- components/selector-bar/API.md | 8 +- components/sharing-dialog/API.md | 4 +- components/status-icon/API.md | 4 +- components/switch/API.md | 8 +- components/tab/API.md | 8 +- components/table/API.md | 104 +- components/tag/API.md | 4 +- components/text-area/API.md | 8 +- components/tooltip/API.md | 4 +- components/transfer/API.md | 8 +- components/user-avatar/API.md | 4 +- docs/docs/components/alertbar.md | 97 +- docs/docs/components/avatar.md | 17 +- docs/docs/components/button.md | 51 + docs/docs/components/calendar-input.md | 11 + docs/docs/components/calendar.md | 71 +- docs/docs/components/card.md | 4 + docs/docs/components/checkbox.md | 5 + docs/docs/components/chip.md | 17 + docs/docs/components/data-table.md | 46 +- docs/docs/components/elevation.md | 19 +- docs/docs/components/fileinput.md | 25 +- docs/docs/components/inputfield.md | 83 +- docs/docs/components/loading.md | 15 + docs/docs/components/menu.md | 84 +- docs/docs/components/modal.md | 95 +- docs/docs/components/notice-box.md | 38 +- docs/docs/components/org-unit-tree.md | 4 +- docs/docs/components/pagination.md | 35 +- docs/docs/components/popover.md | 4 +- docs/docs/components/radio.md | 7 +- docs/docs/components/segmented-control.md | 33 +- docs/docs/components/select.md | 102 +- docs/docs/components/switch.md | 15 +- docs/docs/components/tab.md | 21 +- docs/docs/components/tag.md | 21 +- docs/docs/components/tooltip.md | 15 +- docs/docs/components/transfer.md | 83 +- docs/sidebars.js | 7 +- icons/API.md | 1036 +++++++++---------- scripts/generate-api-docs.js | 16 +- 78 files changed, 1890 insertions(+), 933 deletions(-) diff --git a/collections/forms/API.md b/collections/forms/API.md index ca1fef2406..fe9090915c 100644 --- a/collections/forms/API.md +++ b/collections/forms/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `CheckboxFieldFF`, you can import the component from the `@dhis2/ui` library ```js -import { CheckboxFieldFF } from '@dhis2/ui-forms' +import { CheckboxFieldFF } from '@dhis2/ui' ``` @@ -27,11 +27,11 @@ import { CheckboxFieldFF } from '@dhis2/ui-forms' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FieldGroupFF`, you can import the component from the `@dhis2/ui` library ```js -import { FieldGroupFF } from '@dhis2/ui-forms' +import { FieldGroupFF } from '@dhis2/ui' ``` @@ -48,11 +48,11 @@ import { FieldGroupFF } from '@dhis2/ui-forms' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FileInputFieldFF`, you can import the component from the `@dhis2/ui` library ```js -import { FileInputFieldFF } from '@dhis2/ui-forms' +import { FileInputFieldFF } from '@dhis2/ui' ``` @@ -75,11 +75,11 @@ import { FileInputFieldFF } from '@dhis2/ui-forms' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `InputFieldFF`, you can import the component from the `@dhis2/ui` library ```js -import { InputFieldFF } from '@dhis2/ui-forms' +import { InputFieldFF } from '@dhis2/ui' ``` @@ -102,11 +102,11 @@ import { InputFieldFF } from '@dhis2/ui-forms' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `MultiSelectFieldFF`, you can import the component from the `@dhis2/ui` library ```js -import { MultiSelectFieldFF } from '@dhis2/ui-forms' +import { MultiSelectFieldFF } from '@dhis2/ui' ``` @@ -130,11 +130,11 @@ import { MultiSelectFieldFF } from '@dhis2/ui-forms' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `RadioFieldFF`, you can import the component from the `@dhis2/ui` library ```js -import { RadioFieldFF } from '@dhis2/ui-forms' +import { RadioFieldFF } from '@dhis2/ui' ``` @@ -155,11 +155,11 @@ import { RadioFieldFF } from '@dhis2/ui-forms' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SingleSelectFieldFF`, you can import the component from the `@dhis2/ui` library ```js -import { SingleSelectFieldFF } from '@dhis2/ui-forms' +import { SingleSelectFieldFF } from '@dhis2/ui' ``` @@ -183,11 +183,11 @@ import { SingleSelectFieldFF } from '@dhis2/ui-forms' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SwitchFieldFF`, you can import the component from the `@dhis2/ui` library ```js -import { SwitchFieldFF } from '@dhis2/ui-forms' +import { SwitchFieldFF } from '@dhis2/ui' ``` @@ -208,11 +208,11 @@ import { SwitchFieldFF } from '@dhis2/ui-forms' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TextAreaFieldFF`, you can import the component from the `@dhis2/ui` library ```js -import { TextAreaFieldFF } from '@dhis2/ui-forms' +import { TextAreaFieldFF } from '@dhis2/ui' ``` diff --git a/collections/ui/API.md b/collections/ui/API.md index 78d82dae94..ceffb17886 100644 --- a/collections/ui/API.md +++ b/collections/ui/API.md @@ -2,7 +2,7 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `AlertBar`, you can import the component from the `@dhis2/ui` library ```js @@ -14,15 +14,15 @@ import { AlertBar } from '@dhis2/ui' |Name|Type|Default|Required|Description| |---|---|---|---|---| -|actions|custom|||An array of 0-2 action objects| +|actions|custom|||An array of 0-2 action objects
`[{label: "Save", onClick: clickHandler}]`| |children|string|||The message string for the alert| |className|string|||| |critical|custom|||Alert bars with `critical` will not autohide| |dataTest|string|`'dhis2-uicore-alertbar'`||| -|duration|number|`8000`||| -|hidden|boolean|||| +|duration|number|`8000`||How long you want the notification to display, in `ms`, when it's not permanent| +|hidden|boolean|||AlertBar will be hidden on creation when this is set| |icon|custom|`true`||A specific icon to override the default icon in the bar.
If `false` is provided, no icon will be shown.| -|permanent|boolean|||| +|permanent|boolean|||When set, AlertBar will not auto-hide| |success|custom|||| |warning|custom|||Alert bars with `warning` will not autohide| |onHidden|function|||| @@ -31,7 +31,7 @@ import { AlertBar } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `AlertStack`, you can import the component from the `@dhis2/ui` library ```js @@ -51,7 +51,7 @@ import { AlertStack } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Box`, you can import the component from the `@dhis2/ui` library ```js @@ -79,7 +79,7 @@ import { Box } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Button`, you can import the component from the `@dhis2/ui` library ```js @@ -117,7 +117,7 @@ import { Button } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `ButtonStrip`, you can import the component from the `@dhis2/ui` library ```js @@ -139,7 +139,7 @@ import { ButtonStrip } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `DropdownButton`, you can import the component from the `@dhis2/ui` library ```js @@ -174,7 +174,7 @@ import { DropdownButton } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SplitButton`, you can import the component from the `@dhis2/ui` library ```js @@ -208,7 +208,7 @@ import { SplitButton } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Calendar`, you can import the component from the `@dhis2/ui` library ```js @@ -231,11 +231,29 @@ import { Calendar } from '@dhis2/ui' |weekDayFormat|'narrow' │ 'short' │ 'long'|`'narrow'`||the format to display for the week day, i.e. Monday (long), Mon (short), M (narrow)| |width|string|`'240px'`||the width of the calendar component| +### CalendarInput + +#### Usage + +To use `CalendarInput`, you can import the component from the `@dhis2/ui` library + + +```js +import { CalendarInput } from '@dhis2/ui' +``` + + +#### Props + +|Name|Type|Default|Required|Description| +|---|---|---|---|---| +|dataTest|undefined|`'dhis2-uiwidgets-calendar-inputfield'`||| + ### Card #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Card`, you can import the component from the `@dhis2/ui` library ```js @@ -255,7 +273,7 @@ import { Card } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Center`, you can import the component from the `@dhis2/ui` library ```js @@ -276,7 +294,7 @@ import { Center } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Checkbox`, you can import the component from the `@dhis2/ui` library ```js @@ -311,7 +329,7 @@ import { Checkbox } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `CheckboxField`, you can import the component from the `@dhis2/ui` library ```js @@ -348,7 +366,7 @@ import { CheckboxField } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Chip`, you can import the component from the `@dhis2/ui` library ```js @@ -382,7 +400,7 @@ import { Chip } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Cover`, you can import the component from the `@dhis2/ui` library ```js @@ -404,7 +422,7 @@ import { Cover } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `CssReset`, you can import the component from the `@dhis2/ui` library ```js @@ -417,7 +435,7 @@ import { CssReset } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `CssVariables`, you can import the component from the `@dhis2/ui` library ```js @@ -439,7 +457,7 @@ import { CssVariables } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Divider`, you can import the component from the `@dhis2/ui` library ```js @@ -460,7 +478,7 @@ import { Divider } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Field`, you can import the component from the `@dhis2/ui` library ```js @@ -489,7 +507,7 @@ import { Field } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FieldGroup`, you can import the component from the `@dhis2/ui` library ```js @@ -518,7 +536,7 @@ import { FieldGroup } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FieldSet`, you can import the component from the `@dhis2/ui` library ```js @@ -538,7 +556,7 @@ import { FieldSet } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FileInput`, you can import the component from the `@dhis2/ui` library ```js @@ -573,7 +591,7 @@ import { FileInput } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FileInputField`, you can import the component from the `@dhis2/ui` library ```js @@ -614,7 +632,7 @@ import { FileInputField } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FileListItem`, you can import the component from the `@dhis2/ui` library ```js @@ -639,7 +657,7 @@ import { FileListItem } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FileListPlaceholder`, you can import the component from the `@dhis2/ui` library ```js @@ -658,7 +676,7 @@ import { FileListPlaceholder } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FileList`, you can import the component from the `@dhis2/ui` library ```js @@ -678,7 +696,7 @@ import { FileList } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `HeaderBar`, you can import the component from the `@dhis2/ui` library ```js @@ -699,7 +717,7 @@ import { HeaderBar } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Logo`, you can import the component from the `@dhis2/ui` library ```js @@ -712,7 +730,7 @@ import { Logo } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Help`, you can import the component from the `@dhis2/ui` library ```js @@ -735,7 +753,7 @@ import { Help } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Input`, you can import the component from the `@dhis2/ui` library ```js @@ -776,7 +794,7 @@ import { Input } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `InputField`, you can import the component from the `@dhis2/ui` library ```js @@ -821,7 +839,7 @@ import { InputField } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IntersectionDetector`, you can import the component from the `@dhis2/ui` library ```js @@ -844,7 +862,7 @@ import { IntersectionDetector } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Label`, you can import the component from the `@dhis2/ui` library ```js @@ -867,7 +885,7 @@ import { Label } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Layer`, you can import the component from the `@dhis2/ui` library ```js @@ -893,7 +911,7 @@ import { Layer } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Legend`, you can import the component from the `@dhis2/ui` library ```js @@ -914,7 +932,7 @@ import { Legend } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `CircularLoader`, you can import the component from the `@dhis2/ui` library ```js @@ -937,7 +955,7 @@ import { CircularLoader } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `LinearLoader`, you can import the component from the `@dhis2/ui` library ```js @@ -960,7 +978,7 @@ import { LinearLoader } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `LogoIcon`, you can import the component from the `@dhis2/ui` library ```js @@ -979,7 +997,7 @@ import { LogoIcon } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `LogoIconWhite`, you can import the component from the `@dhis2/ui` library ```js @@ -998,7 +1016,7 @@ import { LogoIconWhite } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Logo`, you can import the component from the `@dhis2/ui` library ```js @@ -1017,7 +1035,7 @@ import { Logo } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `LogoWhite`, you can import the component from the `@dhis2/ui` library ```js @@ -1036,7 +1054,7 @@ import { LogoWhite } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FlyoutMenu`, you can import the component from the `@dhis2/ui` library ```js @@ -1059,7 +1077,7 @@ import { FlyoutMenu } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Menu`, you can import the component from the `@dhis2/ui` library ```js @@ -1080,7 +1098,7 @@ import { Menu } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `MenuDivider`, you can import the component from the `@dhis2/ui` library ```js @@ -1100,7 +1118,7 @@ import { MenuDivider } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `MenuItem`, you can import the component from the `@dhis2/ui` library ```js @@ -1134,7 +1152,7 @@ import { MenuItem } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `MenuSectionHeader`, you can import the component from the `@dhis2/ui` library ```js @@ -1156,7 +1174,7 @@ import { MenuSectionHeader } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Modal`, you can import the component from the `@dhis2/ui` library ```js @@ -1182,7 +1200,7 @@ import { Modal } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `ModalActions`, you can import the component from the `@dhis2/ui` library ```js @@ -1201,7 +1219,7 @@ import { ModalActions } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `ModalContent`, you can import the component from the `@dhis2/ui` library ```js @@ -1221,7 +1239,7 @@ import { ModalContent } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `ModalTitle`, you can import the component from the `@dhis2/ui` library ```js @@ -1240,7 +1258,7 @@ import { ModalTitle } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Node`, you can import the component from the `@dhis2/ui` library ```js @@ -1265,7 +1283,7 @@ import { Node } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `NoticeBox`, you can import the component from the `@dhis2/ui` library ```js @@ -1289,7 +1307,7 @@ import { NoticeBox } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `OrganisationUnitTreeRootError`, you can import the component from the `@dhis2/ui` library ```js @@ -1308,7 +1326,7 @@ import { OrganisationUnitTreeRootError } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `OrganisationUnitTreeRootLoading`, you can import the component from the `@dhis2/ui` library ```js @@ -1326,7 +1344,7 @@ import { OrganisationUnitTreeRootLoading } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `OrganisationUnitTree`, you can import the component from the `@dhis2/ui` library ```js @@ -1363,7 +1381,7 @@ import { OrganisationUnitTree } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Label`, you can import the component from the `@dhis2/ui` library ```js @@ -1396,7 +1414,7 @@ import { Label } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Pagination`, you can import the component from the `@dhis2/ui` library ```js @@ -1433,7 +1451,7 @@ import { Pagination } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Popover`, you can import the component from the `@dhis2/ui` library ```js @@ -1461,7 +1479,7 @@ import { Popover } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Popper`, you can import the component from the `@dhis2/ui` library ```js @@ -1488,7 +1506,7 @@ import { Popper } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Radio`, you can import the component from the `@dhis2/ui` library ```js @@ -1522,7 +1540,7 @@ import { Radio } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Required`, you can import the component from the `@dhis2/ui` library ```js @@ -1540,7 +1558,7 @@ import { Required } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SegmentedControl`, you can import the component from the `@dhis2/ui` library ```js @@ -1561,7 +1579,7 @@ import { SegmentedControl } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Input`, you can import the component from the `@dhis2/ui` library ```js @@ -1589,7 +1607,7 @@ import { Input } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Menu`, you can import the component from the `@dhis2/ui` library ```js @@ -1611,7 +1629,7 @@ import { Menu } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `MultiSelect`, you can import the component from the `@dhis2/ui` library ```js @@ -1655,7 +1673,7 @@ import { MultiSelect } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `MultiSelectField`, you can import the component from the `@dhis2/ui` library ```js @@ -1704,7 +1722,7 @@ import { MultiSelectField } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `MultiSelectOption`, you can import the component from the `@dhis2/ui` library ```js @@ -1728,7 +1746,7 @@ import { MultiSelectOption } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Input`, you can import the component from the `@dhis2/ui` library ```js @@ -1756,7 +1774,7 @@ import { Input } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Menu`, you can import the component from the `@dhis2/ui` library ```js @@ -1780,7 +1798,7 @@ import { Menu } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SingleSelect`, you can import the component from the `@dhis2/ui` library ```js @@ -1824,7 +1842,7 @@ import { SingleSelect } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SingleSelectField`, you can import the component from the `@dhis2/ui` library ```js @@ -1873,7 +1891,7 @@ import { SingleSelectField } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SingleSelectOption`, you can import the component from the `@dhis2/ui` library ```js @@ -1897,7 +1915,7 @@ import { SingleSelectOption } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SelectorBar`, you can import the component from the `@dhis2/ui` library ```js @@ -1920,7 +1938,7 @@ import { SelectorBar } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SelectorBarItem`, you can import the component from the `@dhis2/ui` library ```js @@ -1948,7 +1966,7 @@ import { SelectorBarItem } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SharingDialog`, you can import the component from the `@dhis2/ui` library ```js @@ -2009,7 +2027,7 @@ import { SharingDialog } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Modal`, you can import the component from the `@dhis2/ui` library ```js @@ -2029,7 +2047,7 @@ import { Modal } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Switch`, you can import the component from the `@dhis2/ui` library ```js @@ -2065,7 +2083,7 @@ import { Switch } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SwitchField`, you can import the component from the `@dhis2/ui` library ```js @@ -2102,7 +2120,7 @@ import { SwitchField } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Tab`, you can import the component from the `@dhis2/ui` library ```js @@ -2126,7 +2144,7 @@ import { Tab } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TabBar`, you can import the component from the `@dhis2/ui` library ```js @@ -2148,7 +2166,7 @@ import { TabBar } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `DataTableCell`, you can import the component from the `@dhis2/ui` library ```js @@ -2186,7 +2204,7 @@ import { DataTableCell } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `DataTable`, you can import the component from the `@dhis2/ui` library ```js @@ -2211,7 +2229,7 @@ import { DataTable } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `StackedTableBody`, you can import the component from the `@dhis2/ui` library ```js @@ -2231,7 +2249,7 @@ import { StackedTableBody } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `StackedTableCellHead`, you can import the component from the `@dhis2/ui` library ```js @@ -2253,7 +2271,7 @@ import { StackedTableCellHead } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `StackedTableCell`, you can import the component from the `@dhis2/ui` library ```js @@ -2279,7 +2297,7 @@ import { StackedTableCell } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `StackedTableFoot`, you can import the component from the `@dhis2/ui` library ```js @@ -2299,7 +2317,7 @@ import { StackedTableFoot } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `StackedTableHead`, you can import the component from the `@dhis2/ui` library ```js @@ -2319,7 +2337,7 @@ import { StackedTableHead } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `StackedTableRowHead`, you can import the component from the `@dhis2/ui` library ```js @@ -2339,7 +2357,7 @@ import { StackedTableRowHead } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `StackedTableRow`, you can import the component from the `@dhis2/ui` library ```js @@ -2359,7 +2377,7 @@ import { StackedTableRow } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `StackedTable`, you can import the component from the `@dhis2/ui` library ```js @@ -2380,7 +2398,7 @@ import { StackedTable } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Table`, you can import the component from the `@dhis2/ui` library ```js @@ -2400,7 +2418,7 @@ import { Table } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableBody`, you can import the component from the `@dhis2/ui` library ```js @@ -2421,7 +2439,7 @@ import { TableBody } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableCellHead`, you can import the component from the `@dhis2/ui` library ```js @@ -2445,7 +2463,7 @@ import { TableCellHead } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableCell`, you can import the component from the `@dhis2/ui` library ```js @@ -2469,7 +2487,7 @@ import { TableCell } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableFoot`, you can import the component from the `@dhis2/ui` library ```js @@ -2490,7 +2508,7 @@ import { TableFoot } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableHead`, you can import the component from the `@dhis2/ui` library ```js @@ -2511,7 +2529,7 @@ import { TableHead } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableRowHead`, you can import the component from the `@dhis2/ui` library ```js @@ -2533,7 +2551,7 @@ import { TableRowHead } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableRow`, you can import the component from the `@dhis2/ui` library ```js @@ -2555,7 +2573,7 @@ import { TableRow } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Table`, you can import the component from the `@dhis2/ui` library ```js @@ -2577,7 +2595,7 @@ import { Table } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `DataTableColumnHeader`, you can import the component from the `@dhis2/ui` library ```js @@ -2614,7 +2632,7 @@ import { DataTableColumnHeader } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `DataTableRow`, you can import the component from the `@dhis2/ui` library ```js @@ -2640,7 +2658,7 @@ import { DataTableRow } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableBody`, you can import the component from the `@dhis2/ui` library ```js @@ -2662,7 +2680,7 @@ import { TableBody } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableFoot`, you can import the component from the `@dhis2/ui` library ```js @@ -2683,7 +2701,7 @@ import { TableFoot } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableHead`, you can import the component from the `@dhis2/ui` library ```js @@ -2704,7 +2722,7 @@ import { TableHead } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableRow`, you can import the component from the `@dhis2/ui` library ```js @@ -2727,7 +2745,7 @@ import { TableRow } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Table`, you can import the component from the `@dhis2/ui` library ```js @@ -2751,7 +2769,7 @@ import { Table } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Tag`, you can import the component from the `@dhis2/ui` library ```js @@ -2777,7 +2795,7 @@ import { Tag } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TextArea`, you can import the component from the `@dhis2/ui` library ```js @@ -2816,7 +2834,7 @@ import { TextArea } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TextAreaField`, you can import the component from the `@dhis2/ui` library ```js @@ -2859,7 +2877,7 @@ import { TextAreaField } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Tooltip`, you can import the component from the `@dhis2/ui` library ```js @@ -2884,7 +2902,7 @@ import { Tooltip } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TransferOption`, you can import the component from the `@dhis2/ui` library ```js @@ -2909,7 +2927,7 @@ import { TransferOption } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Transfer`, you can import the component from the `@dhis2/ui` library ```js @@ -2968,7 +2986,7 @@ import { Transfer } from '@dhis2/ui' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `UserAvatar`, you can import the component from the `@dhis2/ui` library ```js diff --git a/components/alert/API.md b/components/alert/API.md index f51034cf69..6aa9db37b9 100644 --- a/components/alert/API.md +++ b/components/alert/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `AlertBar`, you can import the component from the `@dhis2/ui` library ```js -import { AlertBar } from '@dhis2-ui/alert' +import { AlertBar } from '@dhis2/ui' ``` @@ -14,15 +14,15 @@ import { AlertBar } from '@dhis2-ui/alert' |Name|Type|Default|Required|Description| |---|---|---|---|---| -|actions|custom|||An array of 0-2 action objects| +|actions|custom|||An array of 0-2 action objects
`[{label: "Save", onClick: clickHandler}]`| |children|string|||The message string for the alert| |className|string|||| |critical|custom|||Alert bars with `critical` will not autohide| |dataTest|string|`'dhis2-uicore-alertbar'`||| -|duration|number|`8000`||| -|hidden|boolean|||| +|duration|number|`8000`||How long you want the notification to display, in `ms`, when it's not permanent| +|hidden|boolean|||AlertBar will be hidden on creation when this is set| |icon|custom|`true`||A specific icon to override the default icon in the bar.
If `false` is provided, no icon will be shown.| -|permanent|boolean|||| +|permanent|boolean|||When set, AlertBar will not auto-hide| |success|custom|||| |warning|custom|||Alert bars with `warning` will not autohide| |onHidden|function|||| @@ -31,11 +31,11 @@ import { AlertBar } from '@dhis2-ui/alert' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `AlertStack`, you can import the component from the `@dhis2/ui` library ```js -import { AlertStack } from '@dhis2-ui/alert' +import { AlertStack } from '@dhis2/ui' ``` diff --git a/components/alert/src/alert-bar/alert-bar.js b/components/alert/src/alert-bar/alert-bar.js index f17e74fbba..8e84bd2c23 100644 --- a/components/alert/src/alert-bar/alert-bar.js +++ b/components/alert/src/alert-bar/alert-bar.js @@ -149,7 +149,8 @@ AlertBar.defaultProps = { } AlertBar.propTypes = { - /** An array of 0-2 action objects */ + /** An array of 0-2 action objects +`[{label: "Save", onClick: clickHandler}]`*/ actions: actionsPropType, /** The message string for the alert */ children: PropTypes.string, @@ -157,13 +158,16 @@ AlertBar.propTypes = { /** Alert bars with `critical` will not autohide */ critical: alertTypePropType, dataTest: PropTypes.string, + /** How long you want the notification to display, in `ms`, when it's not permanent */ duration: PropTypes.number, + /** AlertBar will be hidden on creation when this is set to true */ hidden: PropTypes.bool, /** * A specific icon to override the default icon in the bar. * If `false` is provided, no icon will be shown. */ icon: iconPropType, + /** When set, AlertBar will not autohide */ permanent: PropTypes.bool, success: alertTypePropType, /** Alert bars with `warning` will not autohide */ diff --git a/components/box/API.md b/components/box/API.md index c99b54c5e9..bb766c02a0 100644 --- a/components/box/API.md +++ b/components/box/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Box`, you can import the component from the `@dhis2/ui` library ```js -import { Box } from '@dhis2-ui/box' +import { Box } from '@dhis2/ui' ``` diff --git a/components/button/API.md b/components/button/API.md index 128964c70c..d31cd72fe7 100644 --- a/components/button/API.md +++ b/components/button/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Button`, you can import the component from the `@dhis2/ui` library ```js -import { Button } from '@dhis2-ui/button' +import { Button } from '@dhis2/ui' ``` @@ -40,11 +40,11 @@ import { Button } from '@dhis2-ui/button' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `ButtonStrip`, you can import the component from the `@dhis2/ui` library ```js -import { ButtonStrip } from '@dhis2-ui/button' +import { ButtonStrip } from '@dhis2/ui' ``` @@ -62,11 +62,11 @@ import { ButtonStrip } from '@dhis2-ui/button' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `DropdownButton`, you can import the component from the `@dhis2/ui` library ```js -import { DropdownButton } from '@dhis2-ui/button' +import { DropdownButton } from '@dhis2/ui' ``` @@ -97,11 +97,11 @@ import { DropdownButton } from '@dhis2-ui/button' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SplitButton`, you can import the component from the `@dhis2/ui` library ```js -import { SplitButton } from '@dhis2-ui/button' +import { SplitButton } from '@dhis2/ui' ``` diff --git a/components/calendar/API.md b/components/calendar/API.md index 7e559457c7..26f8eaac53 100644 --- a/components/calendar/API.md +++ b/components/calendar/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Calendar`, you can import the component from the `@dhis2/ui` library ```js -import { Calendar } from '@dhis2-ui/calendar' +import { Calendar } from '@dhis2/ui' ``` @@ -24,3 +24,21 @@ import { Calendar } from '@dhis2-ui/calendar' |timeZone|string|||the timeZone to use| |weekDayFormat|'narrow' │ 'short' │ 'long'|`'narrow'`||the format to display for the week day, i.e. Monday (long), Mon (short), M (narrow)| |width|string|`'240px'`||the width of the calendar component| + +### CalendarInput + +#### Usage + +To use `CalendarInput`, you can import the component from the `@dhis2/ui` library + + +```js +import { CalendarInput } from '@dhis2/ui' +``` + + +#### Props + +|Name|Type|Default|Required|Description| +|---|---|---|---|---| +|dataTest|undefined|`'dhis2-uiwidgets-calendar-inputfield'`||| diff --git a/components/card/API.md b/components/card/API.md index 9bb388a1b5..cf166149bc 100644 --- a/components/card/API.md +++ b/components/card/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Card`, you can import the component from the `@dhis2/ui` library ```js -import { Card } from '@dhis2-ui/card' +import { Card } from '@dhis2/ui' ``` diff --git a/components/center/API.md b/components/center/API.md index 8a135eb5fb..9c7e2c25b3 100644 --- a/components/center/API.md +++ b/components/center/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Center`, you can import the component from the `@dhis2/ui` library ```js -import { Center } from '@dhis2-ui/center' +import { Center } from '@dhis2/ui' ``` diff --git a/components/checkbox/API.md b/components/checkbox/API.md index 340d5298b1..ea509bc46f 100644 --- a/components/checkbox/API.md +++ b/components/checkbox/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Checkbox`, you can import the component from the `@dhis2/ui` library ```js -import { Checkbox } from '@dhis2-ui/checkbox' +import { Checkbox } from '@dhis2/ui' ``` @@ -37,11 +37,11 @@ import { Checkbox } from '@dhis2-ui/checkbox' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `CheckboxField`, you can import the component from the `@dhis2/ui` library ```js -import { CheckboxField } from '@dhis2-ui/checkbox' +import { CheckboxField } from '@dhis2/ui' ``` diff --git a/components/chip/API.md b/components/chip/API.md index a0842b9609..5a687e7615 100644 --- a/components/chip/API.md +++ b/components/chip/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Chip`, you can import the component from the `@dhis2/ui` library ```js -import { Chip } from '@dhis2-ui/chip' +import { Chip } from '@dhis2/ui' ``` diff --git a/components/cover/API.md b/components/cover/API.md index cd0aa042b5..a418093d22 100644 --- a/components/cover/API.md +++ b/components/cover/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Cover`, you can import the component from the `@dhis2/ui` library ```js -import { Cover } from '@dhis2-ui/cover' +import { Cover } from '@dhis2/ui' ``` diff --git a/components/css/API.md b/components/css/API.md index 231d0a8160..9980dc0528 100644 --- a/components/css/API.md +++ b/components/css/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `CssReset`, you can import the component from the `@dhis2/ui` library ```js -import { CssReset } from '@dhis2-ui/css' +import { CssReset } from '@dhis2/ui' ``` @@ -15,11 +15,11 @@ import { CssReset } from '@dhis2-ui/css' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `CssVariables`, you can import the component from the `@dhis2/ui` library ```js -import { CssVariables } from '@dhis2-ui/css' +import { CssVariables } from '@dhis2/ui' ``` diff --git a/components/divider/API.md b/components/divider/API.md index 49b9fd8758..8dcf7d8860 100644 --- a/components/divider/API.md +++ b/components/divider/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Divider`, you can import the component from the `@dhis2/ui` library ```js -import { Divider } from '@dhis2-ui/divider' +import { Divider } from '@dhis2/ui' ``` diff --git a/components/field/API.md b/components/field/API.md index c24ac7b974..dc940876dc 100644 --- a/components/field/API.md +++ b/components/field/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Field`, you can import the component from the `@dhis2/ui` library ```js -import { Field } from '@dhis2-ui/field' +import { Field } from '@dhis2/ui' ``` @@ -31,11 +31,11 @@ import { Field } from '@dhis2-ui/field' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FieldGroup`, you can import the component from the `@dhis2/ui` library ```js -import { FieldGroup } from '@dhis2-ui/field' +import { FieldGroup } from '@dhis2/ui' ``` @@ -60,11 +60,11 @@ import { FieldGroup } from '@dhis2-ui/field' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FieldSet`, you can import the component from the `@dhis2/ui` library ```js -import { FieldSet } from '@dhis2-ui/field' +import { FieldSet } from '@dhis2/ui' ``` diff --git a/components/file-input/API.md b/components/file-input/API.md index 039c186bb1..6ba7b0b6a0 100644 --- a/components/file-input/API.md +++ b/components/file-input/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FileInput`, you can import the component from the `@dhis2/ui` library ```js -import { FileInput } from '@dhis2-ui/file-input' +import { FileInput } from '@dhis2/ui' ``` @@ -37,11 +37,11 @@ import { FileInput } from '@dhis2-ui/file-input' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FileInputField`, you can import the component from the `@dhis2/ui` library ```js -import { FileInputField } from '@dhis2-ui/file-input' +import { FileInputField } from '@dhis2/ui' ``` @@ -78,11 +78,11 @@ import { FileInputField } from '@dhis2-ui/file-input' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FileInputFieldWithList`, you can import the component from the `@dhis2/ui` library ```js -import { FileInputFieldWithList } from '@dhis2-ui/file-input' +import { FileInputFieldWithList } from '@dhis2/ui' ``` @@ -120,11 +120,11 @@ import { FileInputFieldWithList } from '@dhis2-ui/file-input' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FileListItem`, you can import the component from the `@dhis2/ui` library ```js -import { FileListItem } from '@dhis2-ui/file-input' +import { FileListItem } from '@dhis2/ui' ``` @@ -145,11 +145,11 @@ import { FileListItem } from '@dhis2-ui/file-input' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FileListPlaceholder`, you can import the component from the `@dhis2/ui` library ```js -import { FileListPlaceholder } from '@dhis2-ui/file-input' +import { FileListPlaceholder } from '@dhis2/ui' ``` @@ -164,11 +164,11 @@ import { FileListPlaceholder } from '@dhis2-ui/file-input' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FileList`, you can import the component from the `@dhis2/ui` library ```js -import { FileList } from '@dhis2-ui/file-input' +import { FileList } from '@dhis2/ui' ``` diff --git a/components/header-bar/API.md b/components/header-bar/API.md index b8e636403c..be449bf68a 100644 --- a/components/header-bar/API.md +++ b/components/header-bar/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `HeaderBar`, you can import the component from the `@dhis2/ui` library ```js -import { HeaderBar } from '@dhis2-ui/header-bar' +import { HeaderBar } from '@dhis2/ui' ``` diff --git a/components/help/API.md b/components/help/API.md index d0ce1b0aa0..975f661984 100644 --- a/components/help/API.md +++ b/components/help/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Help`, you can import the component from the `@dhis2/ui` library ```js -import { Help } from '@dhis2-ui/help' +import { Help } from '@dhis2/ui' ``` diff --git a/components/input/API.md b/components/input/API.md index 57ed9f814e..5dc45b78e0 100644 --- a/components/input/API.md +++ b/components/input/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Input`, you can import the component from the `@dhis2/ui` library ```js -import { Input } from '@dhis2-ui/input' +import { Input } from '@dhis2/ui' ``` @@ -43,11 +43,11 @@ import { Input } from '@dhis2-ui/input' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `InputField`, you can import the component from the `@dhis2/ui` library ```js -import { InputField } from '@dhis2-ui/input' +import { InputField } from '@dhis2/ui' ``` diff --git a/components/intersection-detector/API.md b/components/intersection-detector/API.md index ee966fadbd..88267ab157 100644 --- a/components/intersection-detector/API.md +++ b/components/intersection-detector/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IntersectionDetector`, you can import the component from the `@dhis2/ui` library ```js -import { IntersectionDetector } from '@dhis2-ui/intersection-detector' +import { IntersectionDetector } from '@dhis2/ui' ``` diff --git a/components/label/API.md b/components/label/API.md index decbb66aed..83d6b874a0 100644 --- a/components/label/API.md +++ b/components/label/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Label`, you can import the component from the `@dhis2/ui` library ```js -import { Label } from '@dhis2-ui/label' +import { Label } from '@dhis2/ui' ``` diff --git a/components/layer/API.md b/components/layer/API.md index bbfe8f1b48..1de6c15fd1 100644 --- a/components/layer/API.md +++ b/components/layer/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Layer`, you can import the component from the `@dhis2/ui` library ```js -import { Layer } from '@dhis2-ui/layer' +import { Layer } from '@dhis2/ui' ``` diff --git a/components/legend/API.md b/components/legend/API.md index a6e9af52c9..9e01a0008e 100644 --- a/components/legend/API.md +++ b/components/legend/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Legend`, you can import the component from the `@dhis2/ui` library ```js -import { Legend } from '@dhis2-ui/legend' +import { Legend } from '@dhis2/ui' ``` diff --git a/components/loader/API.md b/components/loader/API.md index 848f4d7cc5..76b9ea6894 100644 --- a/components/loader/API.md +++ b/components/loader/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `CircularLoader`, you can import the component from the `@dhis2/ui` library ```js -import { CircularLoader } from '@dhis2-ui/loader' +import { CircularLoader } from '@dhis2/ui' ``` @@ -25,11 +25,11 @@ import { CircularLoader } from '@dhis2-ui/loader' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `LinearLoader`, you can import the component from the `@dhis2/ui` library ```js -import { LinearLoader } from '@dhis2-ui/loader' +import { LinearLoader } from '@dhis2/ui' ``` diff --git a/components/logo/API.md b/components/logo/API.md index 7c925fc1d8..9e0425e9de 100644 --- a/components/logo/API.md +++ b/components/logo/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `LogoIcon`, you can import the component from the `@dhis2/ui` library ```js -import { LogoIcon } from '@dhis2-ui/logo' +import { LogoIcon } from '@dhis2/ui' ``` @@ -21,11 +21,11 @@ import { LogoIcon } from '@dhis2-ui/logo' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `LogoIconWhite`, you can import the component from the `@dhis2/ui` library ```js -import { LogoIconWhite } from '@dhis2-ui/logo' +import { LogoIconWhite } from '@dhis2/ui' ``` @@ -40,11 +40,11 @@ import { LogoIconWhite } from '@dhis2-ui/logo' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Logo`, you can import the component from the `@dhis2/ui` library ```js -import { Logo } from '@dhis2-ui/logo' +import { Logo } from '@dhis2/ui' ``` @@ -59,11 +59,11 @@ import { Logo } from '@dhis2-ui/logo' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `LogoWhite`, you can import the component from the `@dhis2/ui` library ```js -import { LogoWhite } from '@dhis2-ui/logo' +import { LogoWhite } from '@dhis2/ui' ``` diff --git a/components/menu/API.md b/components/menu/API.md index 0c94d19033..85d5dd25a4 100644 --- a/components/menu/API.md +++ b/components/menu/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `FlyoutMenu`, you can import the component from the `@dhis2/ui` library ```js -import { FlyoutMenu } from '@dhis2-ui/menu' +import { FlyoutMenu } from '@dhis2/ui' ``` @@ -25,11 +25,11 @@ import { FlyoutMenu } from '@dhis2-ui/menu' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Menu`, you can import the component from the `@dhis2/ui` library ```js -import { Menu } from '@dhis2-ui/menu' +import { Menu } from '@dhis2/ui' ``` @@ -46,11 +46,11 @@ import { Menu } from '@dhis2-ui/menu' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `MenuDivider`, you can import the component from the `@dhis2/ui` library ```js -import { MenuDivider } from '@dhis2-ui/menu' +import { MenuDivider } from '@dhis2/ui' ``` @@ -66,11 +66,11 @@ import { MenuDivider } from '@dhis2-ui/menu' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `MenuItem`, you can import the component from the `@dhis2/ui` library ```js -import { MenuItem } from '@dhis2-ui/menu' +import { MenuItem } from '@dhis2/ui' ``` @@ -100,11 +100,11 @@ import { MenuItem } from '@dhis2-ui/menu' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `MenuSectionHeader`, you can import the component from the `@dhis2/ui` library ```js -import { MenuSectionHeader } from '@dhis2-ui/menu' +import { MenuSectionHeader } from '@dhis2/ui' ``` diff --git a/components/modal/API.md b/components/modal/API.md index 399cfd7427..5e67977a19 100644 --- a/components/modal/API.md +++ b/components/modal/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Modal`, you can import the component from the `@dhis2/ui` library ```js -import { Modal } from '@dhis2-ui/modal' +import { Modal } from '@dhis2/ui' ``` @@ -28,11 +28,11 @@ import { Modal } from '@dhis2-ui/modal' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `ModalActions`, you can import the component from the `@dhis2/ui` library ```js -import { ModalActions } from '@dhis2-ui/modal' +import { ModalActions } from '@dhis2/ui' ``` @@ -47,11 +47,11 @@ import { ModalActions } from '@dhis2-ui/modal' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `ModalContent`, you can import the component from the `@dhis2/ui` library ```js -import { ModalContent } from '@dhis2-ui/modal' +import { ModalContent } from '@dhis2/ui' ``` @@ -67,11 +67,11 @@ import { ModalContent } from '@dhis2-ui/modal' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `ModalTitle`, you can import the component from the `@dhis2/ui` library ```js -import { ModalTitle } from '@dhis2-ui/modal' +import { ModalTitle } from '@dhis2/ui' ``` diff --git a/components/node/API.md b/components/node/API.md index b01664d6ab..ccc0dfe902 100644 --- a/components/node/API.md +++ b/components/node/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Node`, you can import the component from the `@dhis2/ui` library ```js -import { Node } from '@dhis2-ui/node' +import { Node } from '@dhis2/ui' ``` diff --git a/components/notice-box/API.md b/components/notice-box/API.md index c6ce21ec84..ff059b6980 100644 --- a/components/notice-box/API.md +++ b/components/notice-box/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `NoticeBox`, you can import the component from the `@dhis2/ui` library ```js -import { NoticeBox } from '@dhis2-ui/notice-box' +import { NoticeBox } from '@dhis2/ui' ``` diff --git a/components/organisation-unit-tree/API.md b/components/organisation-unit-tree/API.md index 31b142c845..6296bb413e 100644 --- a/components/organisation-unit-tree/API.md +++ b/components/organisation-unit-tree/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `OrganisationUnitTreeRootError`, you can import the component from the `@dhis2/ui` library ```js -import { OrganisationUnitTreeRootError } from '@dhis2-ui/organisation-unit-tree' +import { OrganisationUnitTreeRootError } from '@dhis2/ui' ``` @@ -21,11 +21,11 @@ import { OrganisationUnitTreeRootError } from '@dhis2-ui/organisation-unit-tree' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `OrganisationUnitTreeRootLoading`, you can import the component from the `@dhis2/ui` library ```js -import { OrganisationUnitTreeRootLoading } from '@dhis2-ui/organisation-unit-tree' +import { OrganisationUnitTreeRootLoading } from '@dhis2/ui' ``` @@ -39,11 +39,11 @@ import { OrganisationUnitTreeRootLoading } from '@dhis2-ui/organisation-unit-tre #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `OrganisationUnitTree`, you can import the component from the `@dhis2/ui` library ```js -import { OrganisationUnitTree } from '@dhis2-ui/organisation-unit-tree' +import { OrganisationUnitTree } from '@dhis2/ui' ``` diff --git a/components/pagination/API.md b/components/pagination/API.md index c23bbf78d2..f178579a12 100644 --- a/components/pagination/API.md +++ b/components/pagination/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Pagination`, you can import the component from the `@dhis2/ui` library ```js -import { Pagination } from '@dhis2-ui/pagination' +import { Pagination } from '@dhis2/ui' ``` diff --git a/components/popover/API.md b/components/popover/API.md index 6817c17542..357057e483 100644 --- a/components/popover/API.md +++ b/components/popover/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Popover`, you can import the component from the `@dhis2/ui` library ```js -import { Popover } from '@dhis2-ui/popover' +import { Popover } from '@dhis2/ui' ``` diff --git a/components/popper/API.md b/components/popper/API.md index 9ec48b46e5..d824edad4e 100644 --- a/components/popper/API.md +++ b/components/popper/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Popper`, you can import the component from the `@dhis2/ui` library ```js -import { Popper } from '@dhis2-ui/popper' +import { Popper } from '@dhis2/ui' ``` diff --git a/components/radio/API.md b/components/radio/API.md index c3c7682741..75f1947253 100644 --- a/components/radio/API.md +++ b/components/radio/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Radio`, you can import the component from the `@dhis2/ui` library ```js -import { Radio } from '@dhis2-ui/radio' +import { Radio } from '@dhis2/ui' ``` diff --git a/components/required/API.md b/components/required/API.md index 570e13887a..4bda90abd5 100644 --- a/components/required/API.md +++ b/components/required/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Required`, you can import the component from the `@dhis2/ui` library ```js -import { Required } from '@dhis2-ui/required' +import { Required } from '@dhis2/ui' ``` diff --git a/components/segmented-control/API.md b/components/segmented-control/API.md index 88c6b8c34e..757a82faae 100644 --- a/components/segmented-control/API.md +++ b/components/segmented-control/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SegmentedControl`, you can import the component from the `@dhis2/ui` library ```js -import { SegmentedControl } from '@dhis2-ui/segmented-control' +import { SegmentedControl } from '@dhis2/ui' ``` diff --git a/components/select/API.md b/components/select/API.md index 7d6194934b..d2498c24a4 100644 --- a/components/select/API.md +++ b/components/select/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `MultiSelect`, you can import the component from the `@dhis2/ui` library ```js -import { MultiSelect } from '@dhis2-ui/select' +import { MultiSelect } from '@dhis2/ui' ``` @@ -46,11 +46,11 @@ import { MultiSelect } from '@dhis2-ui/select' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `MultiSelectField`, you can import the component from the `@dhis2/ui` library ```js -import { MultiSelectField } from '@dhis2-ui/select' +import { MultiSelectField } from '@dhis2/ui' ``` @@ -95,11 +95,11 @@ import { MultiSelectField } from '@dhis2-ui/select' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `MultiSelectOption`, you can import the component from the `@dhis2/ui` library ```js -import { MultiSelectOption } from '@dhis2-ui/select' +import { MultiSelectOption } from '@dhis2/ui' ``` @@ -119,11 +119,11 @@ import { MultiSelectOption } from '@dhis2-ui/select' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SingleSelect`, you can import the component from the `@dhis2/ui` library ```js -import { SingleSelect } from '@dhis2-ui/select' +import { SingleSelect } from '@dhis2/ui' ``` @@ -163,11 +163,11 @@ import { SingleSelect } from '@dhis2-ui/select' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SingleSelectField`, you can import the component from the `@dhis2/ui` library ```js -import { SingleSelectField } from '@dhis2-ui/select' +import { SingleSelectField } from '@dhis2/ui' ``` @@ -212,11 +212,11 @@ import { SingleSelectField } from '@dhis2-ui/select' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SingleSelectOption`, you can import the component from the `@dhis2/ui` library ```js -import { SingleSelectOption } from '@dhis2-ui/select' +import { SingleSelectOption } from '@dhis2/ui' ``` diff --git a/components/selector-bar/API.md b/components/selector-bar/API.md index e737cc6f72..8a8ba2bc5a 100644 --- a/components/selector-bar/API.md +++ b/components/selector-bar/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SelectorBar`, you can import the component from the `@dhis2/ui` library ```js -import { SelectorBar } from '@dhis2-ui/selector-bar' +import { SelectorBar } from '@dhis2/ui' ``` @@ -25,11 +25,11 @@ import { SelectorBar } from '@dhis2-ui/selector-bar' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SelectorBarItem`, you can import the component from the `@dhis2/ui` library ```js -import { SelectorBarItem } from '@dhis2-ui/selector-bar' +import { SelectorBarItem } from '@dhis2/ui' ``` diff --git a/components/sharing-dialog/API.md b/components/sharing-dialog/API.md index b8a0d281f7..3271b3152f 100644 --- a/components/sharing-dialog/API.md +++ b/components/sharing-dialog/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SharingDialog`, you can import the component from the `@dhis2/ui` library ```js -import { SharingDialog } from '@dhis2-ui/sharing-dialog' +import { SharingDialog } from '@dhis2/ui' ``` diff --git a/components/status-icon/API.md b/components/status-icon/API.md index 9593c3ebfe..49a4b0f487 100644 --- a/components/status-icon/API.md +++ b/components/status-icon/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `StatusIcon`, you can import the component from the `@dhis2/ui` library ```js -import { StatusIcon } from '@dhis2-ui/status-icon' +import { StatusIcon } from '@dhis2/ui' ``` diff --git a/components/switch/API.md b/components/switch/API.md index f92b5c66df..776cd18337 100644 --- a/components/switch/API.md +++ b/components/switch/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Switch`, you can import the component from the `@dhis2/ui` library ```js -import { Switch } from '@dhis2-ui/switch' +import { Switch } from '@dhis2/ui' ``` @@ -38,11 +38,11 @@ import { Switch } from '@dhis2-ui/switch' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `SwitchField`, you can import the component from the `@dhis2/ui` library ```js -import { SwitchField } from '@dhis2-ui/switch' +import { SwitchField } from '@dhis2/ui' ``` diff --git a/components/tab/API.md b/components/tab/API.md index 6a058a04ce..65e6bafeb1 100644 --- a/components/tab/API.md +++ b/components/tab/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Tab`, you can import the component from the `@dhis2/ui` library ```js -import { Tab } from '@dhis2-ui/tab' +import { Tab } from '@dhis2/ui' ``` @@ -26,11 +26,11 @@ import { Tab } from '@dhis2-ui/tab' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TabBar`, you can import the component from the `@dhis2/ui` library ```js -import { TabBar } from '@dhis2-ui/tab' +import { TabBar } from '@dhis2/ui' ``` diff --git a/components/table/API.md b/components/table/API.md index acd6ae9667..e7bddcef12 100644 --- a/components/table/API.md +++ b/components/table/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `DataTableCell`, you can import the component from the `@dhis2/ui` library ```js -import { DataTableCell } from '@dhis2-ui/table' +import { DataTableCell } from '@dhis2/ui' ``` @@ -40,11 +40,11 @@ import { DataTableCell } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `DataTable`, you can import the component from the `@dhis2/ui` library ```js -import { DataTable } from '@dhis2-ui/table' +import { DataTable } from '@dhis2/ui' ``` @@ -65,11 +65,11 @@ import { DataTable } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `StackedTableBody`, you can import the component from the `@dhis2/ui` library ```js -import { StackedTableBody } from '@dhis2-ui/table' +import { StackedTableBody } from '@dhis2/ui' ``` @@ -85,11 +85,11 @@ import { StackedTableBody } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `StackedTableCellHead`, you can import the component from the `@dhis2/ui` library ```js -import { StackedTableCellHead } from '@dhis2-ui/table' +import { StackedTableCellHead } from '@dhis2/ui' ``` @@ -107,11 +107,11 @@ import { StackedTableCellHead } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `StackedTableCell`, you can import the component from the `@dhis2/ui` library ```js -import { StackedTableCell } from '@dhis2-ui/table' +import { StackedTableCell } from '@dhis2/ui' ``` @@ -133,11 +133,11 @@ import { StackedTableCell } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `StackedTableFoot`, you can import the component from the `@dhis2/ui` library ```js -import { StackedTableFoot } from '@dhis2-ui/table' +import { StackedTableFoot } from '@dhis2/ui' ``` @@ -153,11 +153,11 @@ import { StackedTableFoot } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `StackedTableHead`, you can import the component from the `@dhis2/ui` library ```js -import { StackedTableHead } from '@dhis2-ui/table' +import { StackedTableHead } from '@dhis2/ui' ``` @@ -173,11 +173,11 @@ import { StackedTableHead } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `StackedTableRowHead`, you can import the component from the `@dhis2/ui` library ```js -import { StackedTableRowHead } from '@dhis2-ui/table' +import { StackedTableRowHead } from '@dhis2/ui' ``` @@ -193,11 +193,11 @@ import { StackedTableRowHead } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `StackedTableRow`, you can import the component from the `@dhis2/ui` library ```js -import { StackedTableRow } from '@dhis2-ui/table' +import { StackedTableRow } from '@dhis2/ui' ``` @@ -213,11 +213,11 @@ import { StackedTableRow } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `StackedTable`, you can import the component from the `@dhis2/ui` library ```js -import { StackedTable } from '@dhis2-ui/table' +import { StackedTable } from '@dhis2/ui' ``` @@ -234,11 +234,11 @@ import { StackedTable } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Table`, you can import the component from the `@dhis2/ui` library ```js -import { Table } from '@dhis2-ui/table' +import { Table } from '@dhis2/ui' ``` @@ -254,11 +254,11 @@ import { Table } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableBody`, you can import the component from the `@dhis2/ui` library ```js -import { TableBody } from '@dhis2-ui/table' +import { TableBody } from '@dhis2/ui' ``` @@ -275,11 +275,11 @@ import { TableBody } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableCellHead`, you can import the component from the `@dhis2/ui` library ```js -import { TableCellHead } from '@dhis2-ui/table' +import { TableCellHead } from '@dhis2/ui' ``` @@ -299,11 +299,11 @@ import { TableCellHead } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableCell`, you can import the component from the `@dhis2/ui` library ```js -import { TableCell } from '@dhis2-ui/table' +import { TableCell } from '@dhis2/ui' ``` @@ -323,11 +323,11 @@ import { TableCell } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableFoot`, you can import the component from the `@dhis2/ui` library ```js -import { TableFoot } from '@dhis2-ui/table' +import { TableFoot } from '@dhis2/ui' ``` @@ -344,11 +344,11 @@ import { TableFoot } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableHead`, you can import the component from the `@dhis2/ui` library ```js -import { TableHead } from '@dhis2-ui/table' +import { TableHead } from '@dhis2/ui' ``` @@ -365,11 +365,11 @@ import { TableHead } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableRowHead`, you can import the component from the `@dhis2/ui` library ```js -import { TableRowHead } from '@dhis2-ui/table' +import { TableRowHead } from '@dhis2/ui' ``` @@ -387,11 +387,11 @@ import { TableRowHead } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableRow`, you can import the component from the `@dhis2/ui` library ```js -import { TableRow } from '@dhis2-ui/table' +import { TableRow } from '@dhis2/ui' ``` @@ -409,11 +409,11 @@ import { TableRow } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Table`, you can import the component from the `@dhis2/ui` library ```js -import { Table } from '@dhis2-ui/table' +import { Table } from '@dhis2/ui' ``` @@ -431,11 +431,11 @@ import { Table } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `DataTableColumnHeader`, you can import the component from the `@dhis2/ui` library ```js -import { DataTableColumnHeader } from '@dhis2-ui/table' +import { DataTableColumnHeader } from '@dhis2/ui' ``` @@ -468,11 +468,11 @@ import { DataTableColumnHeader } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `DataTableRow`, you can import the component from the `@dhis2/ui` library ```js -import { DataTableRow } from '@dhis2-ui/table' +import { DataTableRow } from '@dhis2/ui' ``` @@ -494,11 +494,11 @@ import { DataTableRow } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableBody`, you can import the component from the `@dhis2/ui` library ```js -import { TableBody } from '@dhis2-ui/table' +import { TableBody } from '@dhis2/ui' ``` @@ -516,11 +516,11 @@ import { TableBody } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableFoot`, you can import the component from the `@dhis2/ui` library ```js -import { TableFoot } from '@dhis2-ui/table' +import { TableFoot } from '@dhis2/ui' ``` @@ -537,11 +537,11 @@ import { TableFoot } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableHead`, you can import the component from the `@dhis2/ui` library ```js -import { TableHead } from '@dhis2-ui/table' +import { TableHead } from '@dhis2/ui' ``` @@ -558,11 +558,11 @@ import { TableHead } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TableRow`, you can import the component from the `@dhis2/ui` library ```js -import { TableRow } from '@dhis2-ui/table' +import { TableRow } from '@dhis2/ui' ``` @@ -581,11 +581,11 @@ import { TableRow } from '@dhis2-ui/table' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Table`, you can import the component from the `@dhis2/ui` library ```js -import { Table } from '@dhis2-ui/table' +import { Table } from '@dhis2/ui' ``` diff --git a/components/tag/API.md b/components/tag/API.md index c523d12500..1b1e530ccd 100644 --- a/components/tag/API.md +++ b/components/tag/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Tag`, you can import the component from the `@dhis2/ui` library ```js -import { Tag } from '@dhis2-ui/tag' +import { Tag } from '@dhis2/ui' ``` diff --git a/components/text-area/API.md b/components/text-area/API.md index 5f7cd9b00a..2f3a8ac249 100644 --- a/components/text-area/API.md +++ b/components/text-area/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TextArea`, you can import the component from the `@dhis2/ui` library ```js -import { TextArea } from '@dhis2-ui/text-area' +import { TextArea } from '@dhis2/ui' ``` @@ -41,11 +41,11 @@ import { TextArea } from '@dhis2-ui/text-area' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TextAreaField`, you can import the component from the `@dhis2/ui` library ```js -import { TextAreaField } from '@dhis2-ui/text-area' +import { TextAreaField } from '@dhis2/ui' ``` diff --git a/components/tooltip/API.md b/components/tooltip/API.md index c5ca67582c..79b08ed076 100644 --- a/components/tooltip/API.md +++ b/components/tooltip/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Tooltip`, you can import the component from the `@dhis2/ui` library ```js -import { Tooltip } from '@dhis2-ui/tooltip' +import { Tooltip } from '@dhis2/ui' ``` diff --git a/components/transfer/API.md b/components/transfer/API.md index 29f4550d6d..e596343874 100644 --- a/components/transfer/API.md +++ b/components/transfer/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `TransferOption`, you can import the component from the `@dhis2/ui` library ```js -import { TransferOption } from '@dhis2-ui/transfer' +import { TransferOption } from '@dhis2/ui' ``` @@ -27,11 +27,11 @@ import { TransferOption } from '@dhis2-ui/transfer' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `Transfer`, you can import the component from the `@dhis2/ui` library ```js -import { Transfer } from '@dhis2-ui/transfer' +import { Transfer } from '@dhis2/ui' ``` diff --git a/components/user-avatar/API.md b/components/user-avatar/API.md index 80ef7b1e8b..1f9a788f70 100644 --- a/components/user-avatar/API.md +++ b/components/user-avatar/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `UserAvatar`, you can import the component from the `@dhis2/ui` library ```js -import { UserAvatar } from '@dhis2-ui/user-avatar' +import { UserAvatar } from '@dhis2/ui' ``` diff --git a/docs/docs/components/alertbar.md b/docs/docs/components/alertbar.md index 1137e2304f..ce9c55d133 100644 --- a/docs/docs/components/alertbar.md +++ b/docs/docs/components/alertbar.md @@ -10,7 +10,7 @@ import API from '../../../components/alert/API.md' # Alert bar -An alert bar communicates something to the user by showing a prominent, floating bar at the bottom of the screen. +An alert bar communicates something to the user by showing a prominent, floating bar at the bottom of the screen, using one of several styles each indicating a different purpose. Hello world @@ -18,6 +18,36 @@ An alert bar communicates something to the user by showing a prominent, floating ## Usage +:::caution Usage Notice +Usage of the AlertBar component is not recommended when using the Application Platform, as integration is already implemented directly. +::: + +In apps using the App Platform, it’s recommended to use the `useAlert()` hook from the `@dhis2/app-runtime` library instead of using the UI components directly, since an Alerts Manager component is already set up to manage showing, hiding, and stacking alerts. + +When passing the options object to the `useAlert(message, options)` hook, the keys and value types of the options are the same as the props of the `AlertBar` component, as documented on this page below, e.g. + +```jsx +import { useAlert } from '@dhis2/app-runtime' + +const MyComponent = () => { + const { show } = useAlert('Hello', { + warning: true, + duration: 15000, + actions: [ + { label: 'Hi!', onClick: () => alert('Hi!') }, + { label: 'Bye!', onClick: () => alert('Bye!') }, + ], + }) + + // ...later: + show() + + // ... +} +``` + +Read more about the `useAlert()` hook at the [App Runtime documentation](https://developers.dhis2.org/docs/app-runtime/hooks/useAlert) + ### When to use - **Tell the user about something important**. Alert bars should only be used for information the user needs to know about. @@ -46,6 +76,12 @@ An alert bar communicates something to the user by showing a prominent, floating Data export complete. +```jsx + + Data export complete. + +``` + - An `info` alert bar is the default. Use it if none of the other variants fit. - Automatically dismiss after 5 seconds, so the message should be a useful but not critical. - Use for minor positive confirmations, like _Sharing settings changed._ @@ -57,6 +93,14 @@ An alert bar communicates something to the user by showing a prominent, floating 1000 objects updated. +```jsx + + + 1000 objects updated. + + +``` + - Only use to confirm successful, major actions. - Don't use for minor confirmations or navigation movements. - Always tell the user what was successful. Use clear labels like _45 units updated_, rather than just _Updated_. @@ -67,6 +111,14 @@ An alert bar communicates something to the user by showing a prominent, floating Some data is taking a long time to sync. +```jsx + + + Some data is taking a long time to sync. + + +``` + - Use to warn of potential problems or things that might happen, like _Some data is taking a long time to sync_. - Show before the problem happens, if possible. - If a problem has already happened, use a `critical` variant instead. @@ -78,6 +130,14 @@ An alert bar communicates something to the user by showing a prominent, floating There was a problem loading this dashboard. +```jsx + + + There was a problem loading this dashboard. + + +``` + - Only use to communicate a serious problem, like broken functionality or a failed process. - Use when a user can still interact with the page. If the entire page broken, use a [`Modal`](modal.md) dialog or error screen instead. - Communicate clearly what happened. Use labels like _There was a problem loading this dashboard_ or _Message failed to send_. @@ -112,6 +172,26 @@ An alert bar communicates something to the user by showing a prominent, floating ]} permanent>Hello world +```jsx + + + Hello world + + +``` + - Alert bars can have up to two optional actions. - Actions offer a shortcut to act on the information in the alert bar. - Actions can do something on the current page, like _Retry_ for a failed action. @@ -123,6 +203,21 @@ An alert bar communicates something to the user by showing a prominent, floating - Each variant shows a default icon to support the content being communicated. - A custom icon can be used. Only use icons that are relevant to the content and that help the user understand the context. Use the default icon unless there's a good reason not to. +## Using AlertStack + +As you can see with all the demo's above, we've used the `AlertStack` component to render the `AlertBar` component. This is because the `AlertStack` component is responsible for positioning the `AlertBar` component in relation to other `AlertBar`s. Especially when there are multiple `AlertBar` components on the page, the `AlertStack` component will make sure that they are stacked on top of each other and that they are not overlapping. It is therefore recommended to always use the `AlertStack` component when using the `AlertBar` component. + +To use the `AlertStack` component, you can simply wrap your `AlertBar` component in the `AlertStack` component. The `AlertStack` component will then take care of the positioning. + +```jsx +import { AlertStack, AlertBar } from '@dhis2/ui' +; + ... + ... + ... + +``` + ## API Reference diff --git a/docs/docs/components/avatar.md b/docs/docs/components/avatar.md index f7a49d18d3..4220168ab0 100644 --- a/docs/docs/components/avatar.md +++ b/docs/docs/components/avatar.md @@ -1,5 +1,6 @@ --- -title: Avatar +title: User Avatar +id: avatar --- import { Demo } from '@site/src/components/DemoComponent.jsx' @@ -8,9 +9,9 @@ import { UserAvatar } from '@dhis2/ui' import API from '../../../components/user-avatar/API.md' -# Avatar +# User Avatar -An avatar is a visual icon that represents a user. +A User Avatar is a visual icon that represents a user. @@ -48,6 +49,16 @@ An avatar is a visual icon that represents a user. Avatars are available in different sizes. Use the size that works best for the space available and the context. +The Demo above lists the different sizes available. The related JSX is: + +```jsx + + + + + +``` + ## API Reference diff --git a/docs/docs/components/button.md b/docs/docs/components/button.md index 4f71631b3f..6fa258091f 100644 --- a/docs/docs/components/button.md +++ b/docs/docs/components/button.md @@ -41,6 +41,10 @@ Buttons are used to trigger actions. There are different button variants that ar +```jsx + +``` + - A `basic` button is the default button to use. It suits the majority of use cases. - Don't use a `basic` button for the most important action on the page. Use `primary` instead. @@ -50,6 +54,10 @@ Buttons are used to trigger actions. There are different button variants that ar +```jsx + +``` + - Only use for the most important action on a page, like _Save data_ in a form. - Only use one `primary` button per page, otherwise it's not clear what the main action is. - A page doesn't need to have a `primary` button if there isn't a clear main action. @@ -60,6 +68,10 @@ Buttons are used to trigger actions. There are different button variants that ar +```jsx + +``` + - Use for actions that are used less often. Using `secondary` buttons reduces amount of elements on a page competing for a user's attention. - Use as a passive alternative to `primary` actions, like _Cancel_ as a passive alternative to _Save_. - Don't use if there's only one action on the page. @@ -73,6 +85,15 @@ Buttons are used to trigger actions. There are different button variants that ar +```jsx +
+ + +
+``` + - Only use for primary-type actions that will destroy data. - Don't use if the action will only remove an item from the current context. - Only use a one `destructive` button per page. @@ -109,6 +130,10 @@ Buttons are available in different sizes. Use the size that matches the usage gu Dropdown button +```jsx +Dropdown button +``` + - A dropdown button offers several actions in a small space. Clicking the button opens a menu with several actions. - Use to replace a group of buttons where space is limited. - A dropdown button label should make it clear there are more options inside, like _Actions_. @@ -119,6 +144,10 @@ Buttons are available in different sizes. Use the size that matches the usage gu Split button +```jsx +Split button +``` + - A split button offers a main action and a dropdown of several other actions. Clicking the main button triggers an action. Clicking the split arrow opens a menu with several actions. - Use when there is a main action and several secondary actions, like a main action of _Save_ and secondary actions of _Save and add another_ and _Save and open_. - Use when space is limited. Otherwise, show buttons for all the actions. @@ -133,6 +162,13 @@ Buttons are available in different sizes. Use the size that matches the usage gu +```jsx +
+ + +
+``` + - Represents an on/off state. - Use a toggle button when an option can be turned on or off, and a checkbox ==link== isn't suitable, like in a toolbar. - Toggle buttons can be used with `basic` and `secondary` variants. @@ -147,6 +183,13 @@ Buttons are available in different sizes. Use the size that matches the usage gu +```jsx +
+ + +
+``` + - Buttons can have an optional icon alongside the text label. - Buttons can show only an icon. - Icons with a text label are useful for providing more information about the action. Users scanning an interface might recognize an icon quicker than text. @@ -159,6 +202,10 @@ Buttons are available in different sizes. Use the size that matches the usage gu +```jsx + +``` + - Use a disabled state when the button action can't be triggered. - Show a tooltip ==link== on hover, or help text, that tells the user why the action can't be triggered. - Don't change the button label between disabled and enabled states. @@ -170,6 +217,10 @@ Buttons are available in different sizes. Use the size that matches the usage gu +```jsx + +``` + - Use a loading state after a user triggers that button. - Change the button label to tell the user what's happening. For example, after clicking a _Start job_ button, the loading state label could be _Starting job…_. - If triggering other actions on the page should be prevented, consider showing a blocking loader ==link== instead. diff --git a/docs/docs/components/calendar-input.md b/docs/docs/components/calendar-input.md index f1000cc5ca..607a3af15d 100644 --- a/docs/docs/components/calendar-input.md +++ b/docs/docs/components/calendar-input.md @@ -115,6 +115,17 @@ Ethiopic calendar (with narrow day names, short day names and localised to Engli +The Gregorian with initial date is then generated with this code. + +```jsx + +``` + ## API Reference The component takes the same props as [the calendar](./calendar) component, as well as the props for [InputField](./inputfield) that are relevant to an input of type `text`. diff --git a/docs/docs/components/calendar.md b/docs/docs/components/calendar.md index 52a86da41c..e579721b6c 100644 --- a/docs/docs/components/calendar.md +++ b/docs/docs/components/calendar.md @@ -18,7 +18,9 @@ Here are some sample calendars built with this UI component. Check [StoryBook](( ## Ethiopic calendar -Ethiopic calendar (with narrow day names, short day names and localised to English) +Ethiopic calendar with narrow day names, short day names and localised to English. + +### Narrow day names
@@ -45,28 +47,59 @@ Ethiopic calendar (with narrow day names, short day names and localised to Engli
+To display the calendar with short day names, use the codeblock below. For the narrow day names remove the `weekDayFormat` prop. For the English locale, use the `en` locale and the short `weekDayFormat`. + +```jsx + +``` + ## Nepali calendar Nepali calendar (with Nepali and English characters) -> Nepali is a custom calendar not natively implemented in Temporal and Nepali locale is not natively supported by browsers' Internationalization standard. We are providing a custom implementation for the calendar, as well as the localised values. The only two locales allowed are: `ne-NP` (nepali) and `en-NP` (nepali transliterated in latin characters). +:::note +Nepali is a custom calendar not natively implemented in Temporal and Nepali locale is not natively supported by browsers' Internationalization standard. We are providing a custom implementation for the calendar, as well as the localised values. The only two locales allowed are: `ne-NP` (nepali) and `en-NP` (nepali transliterated in latin characters). +:::
+```jsx + // Napali + + + // Nepali transliterated in latin characters + +``` + ## Gregorian calendar Gregorian calendar localised in English, Arabic (Tunisia), Arabic (Sudan), Arabic (Iraq) and Amharic. @@ -105,6 +138,12 @@ Gregorian calendar localised in English, Arabic (Tunisia), Arabic (Sudan), Arabi +To display the calendar with a specific locale, use the codeblock below. Adjust the locale to the desired language. + +```jsx + +``` + ## Other calendars Some other calendars: Islamic in Arabic, Indian in English and Persian in Farsi @@ -139,13 +178,21 @@ Some other calendars: Islamic in Arabic, Indian in English and Persian in Farsi +Each of the calendars above can be displayed with the following code. + +```jsx + +``` + +:::note +Additionally the component supports a number of other calendars that are not currently used in DHIS2, since they're implemented in the [Temporal API](https://tc39.es/proposal-temporal/)). These other calendars are: `hebrew`, `islamic`, `islamic-umalqura`, `islamic-tbla`, `islamic-civil`, `islamic-rgsa`, `persian`, `ethioaa`, `coptic`, `chinese`, `dangi`, `roc`, `indian`, `buddhist`, `japanese`. +::: + ## Usage ### When to use -- To display a calendar for the user to pick a day in any supported calendar system, localised to any of the 90+ languages supported by [The Unicode Common Locale Data Repository (CLDR)](https://cldr.unicode.org/index) supported natively in all modern browsers. Supported DHIS2 calendars are: `iso8601` (i.e. the Gregorian calendar common in most of the world),`ethiopic`, `nepali` (custom implementation). - - - Additionally the component supports a number of other calendars that are not currently used in DHIS2, since they're implemented in the [Temporal API](https://tc39.es/proposal-temporal/)). These other calendars are: `hebrew`, `islamic`, `islamic-umalqura`, `islamic-tbla`, `islamic-civil`, `islamic-rgsa`, `persian`, `ethioaa`, `coptic`, `chinese`, `dangi`, `roc`, `indian`, `buddhist`, `japanese`. +To display a calendar for the user to pick a day in any supported calendar system, localised to any of the 90+ languages supported by [The Unicode Common Locale Data Repository (CLDR)](https://cldr.unicode.org/index) supported natively in all modern browsers. Supported DHIS2 calendars are: `iso8601` (i.e. the Gregorian calendar common in most of the world),`ethiopic`, `nepali` (custom implementation). ### When not to use diff --git a/docs/docs/components/card.md b/docs/docs/components/card.md index f12545c50f..0086c505d1 100644 --- a/docs/docs/components/card.md +++ b/docs/docs/components/card.md @@ -17,6 +17,10 @@ A card is a container element used to group together and separate blocks of cont ## Usage +```jsx +This is content that's inside a card. +``` + ### When to use - **Group content**. Use a card as a container for related content. When there's different areas of content on a page, a card helps to establish boundaries between them. diff --git a/docs/docs/components/checkbox.md b/docs/docs/components/checkbox.md index 3f83a1e3d9..06f79e2a7e 100644 --- a/docs/docs/components/checkbox.md +++ b/docs/docs/components/checkbox.md @@ -16,6 +16,11 @@ Checkboxes are used to choose one or more items from a list. A checkbox can also +```jsx + + +``` + ## Usage ### When to use diff --git a/docs/docs/components/chip.md b/docs/docs/components/chip.md index e3ed47b1f1..dad956a78b 100644 --- a/docs/docs/components/chip.md +++ b/docs/docs/components/chip.md @@ -15,6 +15,10 @@ Chips are used to select from a set of defined options. Chips can also represent Hello world +```jsx +Hello world +``` + ## Usage ### When to use @@ -41,6 +45,11 @@ Chips are used to select from a set of defined options. Chips can also represent Hello world +```jsx +Hello world +Hello world +``` + - Chips are available in two sizes, regular and `dense`. - Use regular sized chips where there is space. - Use `dense` sized chips in information-dense pages, or inside other components. @@ -65,6 +74,10 @@ Chips are used to select from a set of defined options. Chips can also represent Hello world +```jsx +Hello world +``` + - Use removable chips if an option can be removed from the group. - Only use removable chips when chips can be added back to the same group through another action, like choosing from a menu. @@ -74,6 +87,10 @@ Chips are used to select from a set of defined options. Chips can also represent } >Hello world +```jsx +}>Hello world +``` + - Chips can show an icon before the text label. - Icons are useful to highlight special chips, like starred items. - Don't use the same icon for all the chips in a group. Use a title or heading for that group of chips instead. diff --git a/docs/docs/components/data-table.md b/docs/docs/components/data-table.md index c4d3408471..29ca1a4961 100644 --- a/docs/docs/components/data-table.md +++ b/docs/docs/components/data-table.md @@ -11,9 +11,31 @@ import API from '../../../components/table/API.md' A data table is used to display and allow interaction with data in a structured way. -

Storybook demo: Date table.

+

Storybook demo: Date table.

+A minimal version of the linked demo looks like this. + +```jsx + + + + First name + + + + + Onyekachukwu + + + + + Footer content + + + +``` + ## Usage ### When to use @@ -29,7 +51,7 @@ A data table is used to display and allow interaction with data in a structured ### Sorting -

Storybook demo: Sorting.

+

Storybook demo: Sorting.

- Data table items can be sorted by different columns by clicking on the sort icon in a column header. @@ -38,7 +60,7 @@ A data table is used to display and allow interaction with data in a structured ### Filtering: Inline -

Storybook demo: Filtering inline.

+

Storybook demo: Filtering inline.

- Use inline filters in complex interfaces to offer filtering functionality without extra controls outside of the table. @@ -47,7 +69,7 @@ A data table is used to display and allow interaction with data in a structured ### Fixed header -

Storybook demo: Fixed header.

+

Storybook demo: Fixed header.

- Use a fixed header in data tables that are used to browse a lot of data. Fixed headers stay in view and make it easier to understand what cells contain. @@ -55,7 +77,7 @@ A data table is used to display and allow interaction with data in a structured ### Fixed columns -

Storybook demo: Fixed column.

+

Storybook demo: Fixed column.

- Use fixed columns in dense interfaces where the table might need to be scrolled horizontally. @@ -64,7 +86,7 @@ A data table is used to display and allow interaction with data in a structured ### Expandable rows -

Storybook demo: Expandable rows.

+

Storybook demo: Expandable rows.

- Use expandable rows if there's more useful information that doesn't fit well into columns, like paragraphs of text, images, or video. @@ -72,7 +94,7 @@ A data table is used to display and allow interaction with data in a structured ### Selectable rows -

Storybook demo: Selectable rows.

+

Storybook demo: Selectable rows.

- Use selectable rows if a user can perform batch actions on rows in the data table, like selecting several rows and exporting or deleting them. @@ -80,7 +102,7 @@ A data table is used to display and allow interaction with data in a structured ### Draggable rows -

Storybook demo: Draggable rows.

+

Storybook demo: Draggable rows.

- Use draggable rows if the order of rows in the data table has a meaningful impact. With draggable rows, a user can drag rows to change the order. @@ -88,7 +110,7 @@ A data table is used to display and allow interaction with data in a structured ### Bordered cells -

Storybook demo: Bordered cells.

+

Storybook demo: Bordered cells.

- Use bordered cells when showing complex data that might have similar values, like long numbers, to help a user visually scan data values. @@ -96,7 +118,7 @@ A data table is used to display and allow interaction with data in a structured ### Built-in styles -

Storybook demo: Built-in styles.

+

Storybook demo: Built-in styles.

- A data table offers several built-in text styles. @@ -105,7 +127,7 @@ A data table is used to display and allow interaction with data in a structured ### Large cells -

Storybook demo: Large cells.

+

Storybook demo: Large cells.

- Use large cells can be used for data tables that will don't show a lot of rows. @@ -172,4 +194,4 @@ Patterns are common ways of achieving some functionality. Patterns aren't offere ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/data-display-datatable--default) +- [Demo](/demo/?path=/story/datatable--default) diff --git a/docs/docs/components/elevation.md b/docs/docs/components/elevation.md index d2e6f23a2a..8d9f2ed4ed 100644 --- a/docs/docs/components/elevation.md +++ b/docs/docs/components/elevation.md @@ -14,12 +14,29 @@ Elevation is used to create and communicate depth in an interface. -
An elevated element
+
An elevated element
## Usage +To use elevation, apply a `box-shadow` to an element. The `box-shadow` property takes the variable available in the UI library, as specified in the variants. + +```jsx +
+ An elevated element +
+``` + +This example usees the `e200` variant. + ### When to use - **Separate elements**. Use elevation to make relationships between interface elements clearer, like showing that a panel is floating above a background. diff --git a/docs/docs/components/fileinput.md b/docs/docs/components/fileinput.md index 3ed21807d0..d1de2e8b4a 100644 --- a/docs/docs/components/fileinput.md +++ b/docs/docs/components/fileinput.md @@ -40,6 +40,10 @@ A file input is used to choose and upload files. /> +```jsx + +``` + - Use a label above the button if the file input is part of a form with other controls. ##### Button @@ -50,6 +54,10 @@ A file input is used to choose and upload files. /> +```jsx + +``` + - When a form label isn't used, the button label should make it clear what kind of file is expected. Use _Upload certificate_ instead of just _Upload_, for example. ##### Help text @@ -61,6 +69,13 @@ A file input is used to choose and upload files. /> +```jsx + +``` + - Use help text to tell the user about any limitations or expectations of the files, like size or format. ## Options @@ -75,6 +90,14 @@ A file input is used to choose and upload files. +```jsx + + + + + +``` + - Allow multiple file upload if that fits the use case. - Don't use several file inputs for the same kind of file, use one with multiple files allowed. @@ -84,4 +107,4 @@ A file input is used to choose and upload files. ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/forms-file-input-file-input--default) +- [Demo](/demo/?path=/story/file-input--default) diff --git a/docs/docs/components/inputfield.md b/docs/docs/components/inputfield.md index 7802ed45d1..236d5af4ac 100644 --- a/docs/docs/components/inputfield.md +++ b/docs/docs/components/inputfield.md @@ -42,6 +42,10 @@ An input is used to enter data, like text or a number. +```jsx + +``` + - Use a label above the input to show what the input is for. ##### Placeholder @@ -50,6 +54,10 @@ An input is used to enter data, like text or a number. +```jsx + +``` + - Only use placeholder text to clarify what kind of content is expected. - Placeholder text shouldn't repeat the label. - Always use placeholder text if a label isn't used. @@ -61,6 +69,14 @@ An input is used to enter data, like text or a number. +```jsx + +``` + - Use help text to tell the user about any limitations or expectations for the content. - Help text can also be used to clarify what the input is for if it's a complex concept. @@ -73,6 +89,11 @@ An input is used to enter data, like text or a number. +```jsx + + +``` + - Inputs are available in two sizes, regular and `dense`. Regular sized inputs are useful when there's space available. Use `dense` sized inputs in compact, information-dense interfaces. #### Width @@ -84,6 +105,11 @@ An input is used to enter data, like text or a number. +```jsx + + +``` + - Inputs width should reflect the expected content. - If a three digit number is expected then the input should be narrow. - If a longer sentence is expected then the input should be wider. @@ -96,6 +122,10 @@ An input is used to enter data, like text or a number. +```jsx + +``` + - Use a `Textarea` if more than a single sentence of content is expected. - [`Textarea`](https://ui.dhis2.nu/demo/?path=/story/forms-text-area-text-area-field--no-placeholder-no-value) is available as a standalone component. @@ -110,6 +140,10 @@ An input is used to enter data, like text or a number. +```jsx + +``` + - Use a read-only input if it makes sense to show the input, but the content can't be changed. - Read-only inputs are useful to show that a value is locked, like a unique ID. - Offer help text for read-only inputs if it's unclear why the content can't be changed. @@ -120,6 +154,15 @@ An input is used to enter data, like text or a number. +```jsx + +``` + - Use an error state if there's a problem with the content of the input, or if it's required but empty. - Don't show an error too early, give the user a chance to finish entering data. - The error text should help the user fix the problem. Refer to the [error writing guidelines](../principles/content-communication.md) for examples. @@ -130,6 +173,12 @@ An input is used to enter data, like text or a number. +```jsx + + + +``` + - Use a disabled state if the input temporarily can't be used. - Show a [`Tooltip`](tooltip.md) on hover or focus to explain why the input is disabled. @@ -139,6 +188,10 @@ An input is used to enter data, like text or a number. +```jsx + +``` + - Text inputs are the default type. - Use a text input for entering any kind of text content, like a mix of letters and numbers. @@ -148,6 +201,15 @@ An input is used to enter data, like text or a number. +```jsx + +``` + - Use a number input for entering numbers. - The `step` value should reflect the expected content. If entering a number that's always a multiple of 10, use 10 as the `step` value. @@ -157,6 +219,15 @@ An input is used to enter data, like text or a number. +```jsx + +``` + - Use a password input whenever a user is entering a password or secret value. ### Data type: Date / time @@ -165,6 +236,14 @@ An input is used to enter data, like text or a number. +```jsx + +``` + - Using date/time inputs offers different interactions depending on the user's browser. ### Other data types @@ -183,5 +262,5 @@ The following data types don't change the interaction with the input, but should ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/forms-input-input-field--default) -- [`TextArea` demo](https://ui.dhis2.nu/demo/?path=/story/forms-text-area-text-area-field--no-placeholder-no-value) +- [Demo](/demo/?path=/story/file-input-field--default) +- [`TextArea` demo](/demo/?path=/story/text-area--placeholder-no-value) diff --git a/docs/docs/components/loading.md b/docs/docs/components/loading.md index 2d6248a0a9..c4be767ddb 100644 --- a/docs/docs/components/loading.md +++ b/docs/docs/components/loading.md @@ -41,6 +41,10 @@ Loaders are used to show that something is in progress. They keep users informed +```jsx + +``` + - Use a circular loader when the loading time is uncertain. #### Linear @@ -49,6 +53,10 @@ Loaders are used to show that something is in progress. They keep users informed +```jsx + +``` + - Use a linear loader when the progress can be shown as a percentage of 100%. ### Format @@ -64,6 +72,13 @@ Loaders are used to show that something is in progress. They keep users informed +```jsx + + + + +``` + - Circular loaders are available in four sizes. - Use the size that matches the size of the component being loaded. diff --git a/docs/docs/components/menu.md b/docs/docs/components/menu.md index 1bcd6ffc90..ec0be1f67b 100644 --- a/docs/docs/components/menu.md +++ b/docs/docs/components/menu.md @@ -51,6 +51,16 @@ A menu gives access to menu items, through a panel that opens from a trigger ele +```jsx + + + + + + + +``` + - Order the menu items in a logical way, grouping together related actions. - Destructive menu items should be shown in their own group, usually last. @@ -69,6 +79,17 @@ A menu gives access to menu items, through a panel that opens from a trigger ele +```jsx + + + + + + + + +``` + - Menu items are available in two sizes, regular and `dense`. - Use `dense` sized menu items in complex, information-dense layouts. Otherwise, the regular size. @@ -76,11 +97,19 @@ A menu gives access to menu items, through a panel that opens from a trigger ele + + + + + + +```jsx + - - + +``` - A menu item can open another menu. - Use nested menus when there's complex options that can be grouped together, like a _Download_ parent item containing different file formats. @@ -101,6 +130,17 @@ A menu gives access to menu items, through a panel that opens from a trigger ele +```jsx + + + + + + + + +``` + - A menu can show dividers between groups of menu items. - Use dividers to split items that logically belong together. This makes the menu easier to scan. - Dividers can also show a section header, a text label for that group of menu items. @@ -116,6 +156,18 @@ A menu gives access to menu items, through a panel that opens from a trigger ele +```jsx + + } label="Filter data" /> + } label="Change time period" /> + } + label="Open in Data Visualizer app" + suffix={} + /> + +``` + - A menu item can show a suffix. - Use a suffix to show extra information about the context or intent of a menu item. - Common use cases include showing a menu item's keyboard shortcut and showing an indicator that a menu item will open a new tab. @@ -131,6 +183,14 @@ A menu gives access to menu items, through a panel that opens from a trigger ele +```jsx + + } label="Save" /> + } label="Rename" /> + } label="Share" /> + +``` + - A menu item can show an icon. - Use icons to support the text label by providing context or a visual reference. - Don't include icons for decoration only, they add complexity to the interface. @@ -147,6 +207,16 @@ A menu gives access to menu items, through a panel that opens from a trigger ele +```jsx + + } label="Save" /> + } label="Rename" /> + } label="Share" /> + + } label="Delete program" /> + +``` + - Use destructive menu items for critical, destructive actions like _Delete_ or _End process_. - Don't use a destructive menu item unless the item is both critical and destructive. Important menu items shouldn't use the destructive type to highlight only their importance. - Most menus should have a maximum of one destructive item. @@ -162,6 +232,14 @@ A menu gives access to menu items, through a panel that opens from a trigger ele +```jsx + + } label="Save" /> + } label="Rename" /> + } label="Share" /> + +``` + - Use disabled menu items when a menu item is temporarily unavailable. - Don't use the disabled state if the menu item will never be available in this context. Remove it instead. @@ -171,4 +249,4 @@ A menu gives access to menu items, through a panel that opens from a trigger ele ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/actions-menu-flyout-menu--default) +- [Demo](/demo/?path=/story/flyout-menu--default) diff --git a/docs/docs/components/modal.md b/docs/docs/components/modal.md index b0716ce761..b6905db6e8 100755 --- a/docs/docs/components/modal.md +++ b/docs/docs/components/modal.md @@ -53,10 +53,46 @@ A modal shows content on a layer on top of page, interrupting a workflow and foc ### Actions +:::info Note +The `hide` variable used in the demo's below are initiated using `useState(true)` and set to `false` with the button you see in the demos. +::: + +```jsx + + Modal title + + + + + + + + + + + + + +``` + - A modal should contain action buttons. - Action buttons should offer clear choices and relate to the modal content. - If it's possible to leave the modal with saving, always offer a _Cancel_ action button. @@ -68,6 +104,29 @@ A modal shows content on a layer on top of page, interrupting a workflow and foc +```jsx + + Modal title + + + + + + + + + + + + + + +``` + - Show a [`Loader`](loading.md) when a modal is loading content. - Don't show a full page loader before showing the modal. Show the modal immediately. @@ -77,6 +136,40 @@ A modal shows content on a layer on top of page, interrupting a workflow and foc +```jsx + + Update profile + + + + + There's a problem with this form. + + + + + + + + + +``` + - If there's a problem with something inside the modal, like a missing input field, show a [`Notice box`](notice-box.md) at the bottom of the modal. - If there's a problem with something outside of the modal, like getting an empty response back from the server, show an [`Alert bar`](alertbar.md) outside of the modal. @@ -86,4 +179,4 @@ A modal shows content on a layer on top of page, interrupting a workflow and foc ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/layout-modal--default-content) +- [Demo](/demo/?path=/story/modal--default-content) diff --git a/docs/docs/components/notice-box.md b/docs/docs/components/notice-box.md index 7abab1bc10..c50f2a65bc 100644 --- a/docs/docs/components/notice-box.md +++ b/docs/docs/components/notice-box.md @@ -49,6 +49,13 @@ A notice box shows important information about a situation. +```jsx + + Dashboard data can take a few hours to update, so the most recent data might + not be shown. + +``` + - The default choice. Use whenever the information isn't a problem or something the user definitely needs to know before moving on. #### Warning @@ -60,6 +67,17 @@ A notice box shows important information about a situation. +```jsx + + No one will be able to find this program because it doesn't have any + assigned organisation units. +
+ +
+``` + - Use to alert the user to a problem that isn't blocking the current workflow. - If possible, offer an [action](#actions) to help the user fix the problem. @@ -72,6 +90,17 @@ A notice box shows important information about a situation. +```jsx + + There isn't any data because there was a problem generating analytics + tables. +
+ +
+``` + - Use to alert the user to a problem or error that's blocking the current workflow. - If possible, offer an [action](#actions) to help the user fix the problem. @@ -83,6 +112,13 @@ A notice box shows important information about a situation. +```jsx + + Your password has been reset. You can log in with your username and + password. + +``` + - Use to inform the user that an important action is complete, or the process was successful. - Only use when the information needs to stay on screen. In most `valid` cases, using an [alert bar](./alertbar.md) is a better choice. @@ -108,4 +144,4 @@ A notice box shows important information about a situation. ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/data-display-notice-box--default) +- [Demo](/demo/?path=/story/notice-box--default) diff --git a/docs/docs/components/org-unit-tree.md b/docs/docs/components/org-unit-tree.md index b266431363..c0c98faaf7 100644 --- a/docs/docs/components/org-unit-tree.md +++ b/docs/docs/components/org-unit-tree.md @@ -14,7 +14,7 @@ import API from '../../../components/organisation-unit-tree/API.md' An organisation unit tree is used to choose organisation units from a hierarchy. -

See storybook for demos.

+

See storybook for demos.

## Usage @@ -41,4 +41,4 @@ An organisation unit tree is used to choose organisation units from a hierarchy. ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/forms-organisation-unit-tree--collapsed) +- [Demo](/demo/?path=/story/organisation-unit-tree--collapsed) diff --git a/docs/docs/components/pagination.md b/docs/docs/components/pagination.md index 31cf126791..4ca8aebef0 100644 --- a/docs/docs/components/pagination.md +++ b/docs/docs/components/pagination.md @@ -43,6 +43,17 @@ Different elements of the pagination component can be included, depending on the +```jsx + +``` + - Offers access to any page without navigating with previous or next buttons. - Use if a user might need to jump between non-sequential pages often. @@ -52,6 +63,17 @@ Different elements of the pagination component can be included, depending on the +```jsx + +``` + - Shows a short summary of the current page in context of the whole set of items. - Use when positional context could be useful. - Showing the total number of items can be problematic for large data sets. Omit the total number of items and pages in situations when there can be many items. @@ -62,6 +84,17 @@ Different elements of the pagination component can be included, depending on the +```jsx + +``` + - Changes the number of items included in a page. - Use when a user might want to customize the view. @@ -71,4 +104,4 @@ Different elements of the pagination component can be included, depending on the ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/navigation-pagination--default) +- [Demo](/demo/?path=/story/pagination--default) diff --git a/docs/docs/components/popover.md b/docs/docs/components/popover.md index e429e86c8b..3bedbd4182 100644 --- a/docs/docs/components/popover.md +++ b/docs/docs/components/popover.md @@ -12,7 +12,7 @@ import API from '../../../components/popover/API.md' A popover is used to show more information when a user interacts with a trigger element. -

Storybook demo: Popover.

+

Storybook demo: Popover.

## Usage @@ -37,4 +37,4 @@ A popover is used to show more information when a user interacts with a trigger ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/data-display-popover--default) +- [Demo](/demo/?path=/story/popover--default) diff --git a/docs/docs/components/radio.md b/docs/docs/components/radio.md index ac195c07d0..2aa0386954 100644 --- a/docs/docs/components/radio.md +++ b/docs/docs/components/radio.md @@ -48,6 +48,11 @@ Radio inputs are used to choose one item from a list. +```jsx + + +``` + - Radio inputs are available in two sizes, regular and `dense`. Regular sized radio inputs are useful when there's space available. Use `dense` sized radio inputs in compact, information dense interfaces. ## API Reference @@ -56,4 +61,4 @@ Radio inputs are used to choose one item from a list. ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/forms-radio-radio--default) +- [Demo](/demo/?path=/story/radio--default) diff --git a/docs/docs/components/segmented-control.md b/docs/docs/components/segmented-control.md index 711334a400..3c6cf47520 100644 --- a/docs/docs/components/segmented-control.md +++ b/docs/docs/components/segmented-control.md @@ -12,8 +12,7 @@ import API from '../../../components/segmented-control/API.md' A segmented control is used to choose between related options that have an effect on a related area. - { + console.log(value) + }} /> ## Usage +```jsx + +``` + +The value of each property can be used to select the option, using the `selected` property. The `onChange` callback function is called when an option is selected with the value of the item that was clicked. If you want to automatically change to the item that is selected visually, you can use this callback in combination with a state variable. + ### When to use - **Choose between related options**. Use a segmented control to choose between closely related options. @@ -59,4 +82,4 @@ A segmented control is used to choose between related options that have an effec ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/actions-segmented-control--default) +- [Demo](/demo/?path=/story/segmented-control--default) diff --git a/docs/docs/components/select.md b/docs/docs/components/select.md index 1292a00edf..1b1730b288 100644 --- a/docs/docs/components/select.md +++ b/docs/docs/components/select.md @@ -53,6 +53,14 @@ Selects are used to choose one or more items from a list of options. +```jsx + + + + + +``` + - Use a single select if the user can only choose one option. #### Multi select @@ -68,6 +76,15 @@ Selects are used to choose one or more items from a list of options. +```jsx + + + + + + +``` + - Use a multi select if the user can choose one or more options. ### Format @@ -95,6 +112,14 @@ Selects are used to choose one or more items from a list of options. +```jsx + + + + + +``` + - Only use placeholder text to clarify what kind of content is expected. - Placeholder text shouldn't repeat the label. - Always use placeholder text if a label isn't used. @@ -117,6 +142,17 @@ Selects are used to choose one or more items from a list of options. +```jsx + + + + + +``` + - Use help text to tell the user about any limitations or expectations for the content. - Help text can also be used to clarify what the input is for if it's a complex concept. @@ -135,6 +171,19 @@ Selects are used to choose one or more items from a list of options. +```jsx + + + + + + + + + + +``` + - Selects are available in two sizes, regular and `dense`. Regular sized selects are useful when there's space available. Use `dense` sized selects in compact, information-dense interfaces. #### Width @@ -161,6 +210,16 @@ Selects are used to choose one or more items from a list of options. +```jsx + + + + + + + +``` + - A select can show a filter control that filters the available options. - Use a filter when there's many options, more than 10, to choose from. @@ -181,6 +240,16 @@ Selects are used to choose one or more items from a list of options. +```jsx + + + + + + + +``` + - A select can show a _Clear_ button that removes the current selection. - Use a clearable select if there isn't a _None_ choice in the options. @@ -201,6 +270,15 @@ Selects are used to choose one or more items from a list of options. +```jsx + + + + + + +``` + - A select can show a label that prefixes the chosen option label. - Use a prefix when there is limited space and a label above the select would take up too much space. - Prefix labels should be short and clear. @@ -222,6 +300,19 @@ Selects are used to choose one or more items from a list of options. +```jsx + + + + + + +``` + - Use an error state if there's a problem with the chosen option, or if it's required but empty. - Don't show an error too early, give the user a chance to make a choice. - The error text should help the user fix the problem. Refer to the [error writing guidelines](../principles/content-communication.md) for examples. @@ -243,6 +334,15 @@ Selects are used to choose one or more items from a list of options. +```jsx + + + + + + +``` + - Use a disabled state if the select temporarily can't be used. - Show a [`Tooltip`](tooltip.md) on hover or focus to explain why the select is disabled. @@ -252,4 +352,4 @@ Selects are used to choose one or more items from a list of options. ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/forms-single-select-single-select-field--default) +- [Demo](/demo/?path=/story/single-select--with-options-and-on-change) diff --git a/docs/docs/components/switch.md b/docs/docs/components/switch.md index cbd1eae0bd..4cb22f1113 100644 --- a/docs/docs/components/switch.md +++ b/docs/docs/components/switch.md @@ -18,6 +18,11 @@ Switches are used to toggle something between an on and off state. ## Usage +```jsx + + +``` + ### When to use - **Toggle a job or process**. Use a switch to toggle a constantly running process. Examples of constantly running processes might be _Automatic updates_, _Logging_, or a background task. @@ -39,7 +44,13 @@ Switches are used to toggle something between an on and off state. -- Switches are available in two sizes, regular and `dense`. Regular sized switches are useful when there's space available. Use `dense` sized switches in compact, information-dense interfaces. + +```jsx + + +``` + +- Switches are available in two sizes, regular and `dense`. Regular sized switches are useful when there's space available. Use `dense` sized switches in compact, information-dense interfaces. ## API Reference @@ -47,4 +58,4 @@ Switches are used to toggle something between an on and off state. ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/forms-switch-switch-field--default) +- [Demo](/demo/?path=/story/switch--default) diff --git a/docs/docs/components/tab.md b/docs/docs/components/tab.md index ea54d656dd..f989e3ce36 100644 --- a/docs/docs/components/tab.md +++ b/docs/docs/components/tab.md @@ -51,6 +51,16 @@ Tabs are used to navigate between different views within the same page or contex +```jsx + + }>Notifications + } selected> + Sharing and access + + }>Downloads + +``` + - A tab can show an icon. - Use icons to support the text label by providing context or a visual reference. - Don't include icons for decoration only, they add complexity to the interface. @@ -66,6 +76,15 @@ Tabs are used to navigate between different views within the same page or contex +```jsx + + Tab label 1 + Tab label 2 + Tab label 3 + Tab label 4 + +``` + - Use a disabled state if a tab can't be used temporarily. - Show a [`Tooltip`](tooltip.md) when hovering a disabled tab to give a short explanation of why the tab can't be used. - If a tab will never be enabled in the current context, remove it instead. @@ -76,4 +95,4 @@ Tabs are used to navigate between different views within the same page or contex ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/data-display-tooltip--default-placement-top) +- [Demo](/demo/?path=/story/tab-bar--default-fluid) diff --git a/docs/docs/components/tag.md b/docs/docs/components/tag.md index 13e38ba878..b8c07d2388 100644 --- a/docs/docs/components/tag.md +++ b/docs/docs/components/tag.md @@ -35,6 +35,13 @@ Tags are used to label items by a set of shared properties, like category or sta | Positive | Use to communicate success or validity. | | Negative | Use to communicate a problem or error. | +```jsx +Default +Neutral +Positive +Negative +``` + ### Format #### Label @@ -52,6 +59,11 @@ Tags are used to label items by a set of shared properties, like category or sta +```jsx +} positive>Passed +} negative>Failed +``` + - A tag can show an icon before the text label. - Use icons to support the text label by providing context or a visual reference. - Don't include icons for decoration only, they add complexity to the interface. @@ -67,6 +79,13 @@ Tags are used to label items by a set of shared properties, like category or sta +```jsx +Tag label +Tag label +Tag label +Tag label +``` + - Use bold tags where it's important the information is noticed by a user. - Don't overuse bold tags, only use them when the information is important. @@ -76,4 +95,4 @@ Tags are used to label items by a set of shared properties, like category or sta ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/data-display-tag--default) +- [Demo](/demo/?path=/story/tag--default) diff --git a/docs/docs/components/tooltip.md b/docs/docs/components/tooltip.md index e1e312fcc1..ab07d7173b 100644 --- a/docs/docs/components/tooltip.md +++ b/docs/docs/components/tooltip.md @@ -48,6 +48,13 @@ A tooltip is used to show contextual information when triggered by clicking, foc Hover to trigger bottom tooltip. +```jsx +Hover to trigger top tooltip. +Hover to trigger left tooltip. +Hover to trigger right tooltip. +Hover to trigger bottom tooltip. +``` + - By default, tooltips are shown above the triggering element. - Other positions, `left`, `right`, and `bottom`, are available. Only use these positions if there's a reason `top` doesn't work, like in an information dense layout. @@ -57,6 +64,12 @@ A tooltip is used to show contextual information when triggered by clicking, foc Hover to trigger a tooltip with a longer open delay and shorter close delay. +```jsx + + Hover to trigger a tooltip with a longer open delay and shorter close delay. + +``` + - Tooltips have two delay durations: `open` and `close`. - Use the default delay durations unless there's a specific use case to change them. - Longer `open` delays and shorter `close` delays can help prevent too many tooltips showing in a complex layout. @@ -67,4 +80,4 @@ A tooltip is used to show contextual information when triggered by clicking, foc ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/data-display-tooltip--default-placement-top) +- [Demo](/demo/?path=/story/tooltip--default-placement-top) diff --git a/docs/docs/components/transfer.md b/docs/docs/components/transfer.md index 26c38bce28..ebc5340ff0 100644 --- a/docs/docs/components/transfer.md +++ b/docs/docs/components/transfer.md @@ -32,21 +32,83 @@ A transfer is made up of two lists. The _source list_ that shows the available o ## Options +For all the demo's below, `transferOptions` is an array of objects with the following shape: + +```js +;[ + { + label: 'ANC 1st visit', + value: 'anc_1st_visit', + }, +] +``` + +The `onChange` and `selected` properties are created like this: + +```js +const [selected, setSelected] = useState() +const onChange = (payload) => setSelected(payload.selected) +``` + ### Header +```jsx +} + rightHeader={
} + onChange={onChange} +/> +``` + +The `header` component is as follows: + +```jsx +

+ {props.label} +

+``` + - Use headers for titles that make it clear what the transfer options are. - _Source list_ headers could also contain group filters. ### Footer - + +```jsx +} + onChange={onChange} +/> +``` + +The footer component is as follows: + +```jsx +
+ +
+``` + - Use footers for actions that apply to a list, like _Reload items_. ### Reordering @@ -55,6 +117,15 @@ A transfer is made up of two lists. The _source list_ that shows the available o +```jsx + +``` + - Allow reordering if the order of the chosen options has meaning or consequences. ### Filtering @@ -63,6 +134,16 @@ A transfer is made up of two lists. The _source list_ that shows the available o +```jsx + +``` + - Use filtering to help a user find options in the _source list_. ### Loading diff --git a/docs/sidebars.js b/docs/sidebars.js index a9034a905b..17b9c320ac 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -42,7 +42,6 @@ const sidebars = { { Components: [ 'components/alertbar', - 'components/avatar', 'components/button', 'components/card', 'components/calendar', @@ -68,6 +67,7 @@ const sidebars = { 'components/tag', 'components/tooltip', 'components/transfer', + 'components/avatar', ], }, { @@ -96,6 +96,11 @@ const sidebars = { ], }, 'package/changelog', + { + type: 'link', + label: 'Developer Portal', + href: 'https://developers.dhis2.org', + }, ], } diff --git a/icons/API.md b/icons/API.md index 43a8f291d7..fc6390ce67 100644 --- a/icons/API.md +++ b/icons/API.md @@ -2,11 +2,11 @@ #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconAdd16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgAdd16 } from '@dhis2/ui-icons' +import { IconAdd16 } from '@dhis2/ui' ``` @@ -21,11 +21,11 @@ import { SvgAdd16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconAdd24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgAdd24 } from '@dhis2/ui-icons' +import { IconAdd24 } from '@dhis2/ui' ``` @@ -40,11 +40,11 @@ import { SvgAdd24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconAddCircle16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgAddCircle16 } from '@dhis2/ui-icons' +import { IconAddCircle16 } from '@dhis2/ui' ``` @@ -59,11 +59,11 @@ import { SvgAddCircle16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconAddCircle24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgAddCircle24 } from '@dhis2/ui-icons' +import { IconAddCircle24 } from '@dhis2/ui' ``` @@ -78,11 +78,11 @@ import { SvgAddCircle24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconApps16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgApps16 } from '@dhis2/ui-icons' +import { IconApps16 } from '@dhis2/ui' ``` @@ -97,11 +97,11 @@ import { SvgApps16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconApps24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgApps24 } from '@dhis2/ui-icons' +import { IconApps24 } from '@dhis2/ui' ``` @@ -116,11 +116,11 @@ import { SvgApps24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconArchive16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgArchive16 } from '@dhis2/ui-icons' +import { IconArchive16 } from '@dhis2/ui' ``` @@ -135,11 +135,11 @@ import { SvgArchive16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconArchive24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgArchive24 } from '@dhis2/ui-icons' +import { IconArchive24 } from '@dhis2/ui' ``` @@ -154,11 +154,11 @@ import { SvgArchive24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconArrowDown16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgArrowDown16 } from '@dhis2/ui-icons' +import { IconArrowDown16 } from '@dhis2/ui' ``` @@ -173,11 +173,11 @@ import { SvgArrowDown16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconArrowDown24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgArrowDown24 } from '@dhis2/ui-icons' +import { IconArrowDown24 } from '@dhis2/ui' ``` @@ -192,11 +192,11 @@ import { SvgArrowDown24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconArrowLeft16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgArrowLeft16 } from '@dhis2/ui-icons' +import { IconArrowLeft16 } from '@dhis2/ui' ``` @@ -211,11 +211,11 @@ import { SvgArrowLeft16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconArrowLeft24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgArrowLeft24 } from '@dhis2/ui-icons' +import { IconArrowLeft24 } from '@dhis2/ui' ``` @@ -230,11 +230,11 @@ import { SvgArrowLeft24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconArrowLeftMulti16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgArrowLeftMulti16 } from '@dhis2/ui-icons' +import { IconArrowLeftMulti16 } from '@dhis2/ui' ``` @@ -249,11 +249,11 @@ import { SvgArrowLeftMulti16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconArrowLeftMulti24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgArrowLeftMulti24 } from '@dhis2/ui-icons' +import { IconArrowLeftMulti24 } from '@dhis2/ui' ``` @@ -268,11 +268,11 @@ import { SvgArrowLeftMulti24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconArrowRight16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgArrowRight16 } from '@dhis2/ui-icons' +import { IconArrowRight16 } from '@dhis2/ui' ``` @@ -287,11 +287,11 @@ import { SvgArrowRight16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconArrowRight24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgArrowRight24 } from '@dhis2/ui-icons' +import { IconArrowRight24 } from '@dhis2/ui' ``` @@ -306,11 +306,11 @@ import { SvgArrowRight24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconArrowRightMulti16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgArrowRightMulti16 } from '@dhis2/ui-icons' +import { IconArrowRightMulti16 } from '@dhis2/ui' ``` @@ -325,11 +325,11 @@ import { SvgArrowRightMulti16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconArrowRightMulti24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgArrowRightMulti24 } from '@dhis2/ui-icons' +import { IconArrowRightMulti24 } from '@dhis2/ui' ``` @@ -344,11 +344,11 @@ import { SvgArrowRightMulti24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconArrowUp16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgArrowUp16 } from '@dhis2/ui-icons' +import { IconArrowUp16 } from '@dhis2/ui' ``` @@ -363,11 +363,11 @@ import { SvgArrowUp16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconArrowUp24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgArrowUp24 } from '@dhis2/ui-icons' +import { IconArrowUp24 } from '@dhis2/ui' ``` @@ -382,11 +382,11 @@ import { SvgArrowUp24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconAt16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgAt16 } from '@dhis2/ui-icons' +import { IconAt16 } from '@dhis2/ui' ``` @@ -401,11 +401,11 @@ import { SvgAt16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconAt24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgAt24 } from '@dhis2/ui-icons' +import { IconAt24 } from '@dhis2/ui' ``` @@ -420,11 +420,11 @@ import { SvgAt24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconAttachment16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgAttachment16 } from '@dhis2/ui-icons' +import { IconAttachment16 } from '@dhis2/ui' ``` @@ -439,11 +439,11 @@ import { SvgAttachment16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconAttachment24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgAttachment24 } from '@dhis2/ui-icons' +import { IconAttachment24 } from '@dhis2/ui' ``` @@ -458,11 +458,11 @@ import { SvgAttachment24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconBlock16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgBlock16 } from '@dhis2/ui-icons' +import { IconBlock16 } from '@dhis2/ui' ``` @@ -477,11 +477,11 @@ import { SvgBlock16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconBlock24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgBlock24 } from '@dhis2/ui-icons' +import { IconBlock24 } from '@dhis2/ui' ``` @@ -496,11 +496,11 @@ import { SvgBlock24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconCalendar16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgCalendar16 } from '@dhis2/ui-icons' +import { IconCalendar16 } from '@dhis2/ui' ``` @@ -515,11 +515,11 @@ import { SvgCalendar16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconCalendar24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgCalendar24 } from '@dhis2/ui-icons' +import { IconCalendar24 } from '@dhis2/ui' ``` @@ -534,11 +534,11 @@ import { SvgCalendar24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconCheckmark12`, you can import the component from the `@dhis2/ui` library ```js -import { SvgCheckmark12 } from '@dhis2/ui-icons' +import { IconCheckmark12 } from '@dhis2/ui' ``` @@ -553,11 +553,11 @@ import { SvgCheckmark12 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconCheckmark16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgCheckmark16 } from '@dhis2/ui-icons' +import { IconCheckmark16 } from '@dhis2/ui' ``` @@ -572,11 +572,11 @@ import { SvgCheckmark16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconCheckmark24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgCheckmark24 } from '@dhis2/ui-icons' +import { IconCheckmark24 } from '@dhis2/ui' ``` @@ -591,11 +591,11 @@ import { SvgCheckmark24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconCheckmarkCircle16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgCheckmarkCircle16 } from '@dhis2/ui-icons' +import { IconCheckmarkCircle16 } from '@dhis2/ui' ``` @@ -610,11 +610,11 @@ import { SvgCheckmarkCircle16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconCheckmarkCircle24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgCheckmarkCircle24 } from '@dhis2/ui-icons' +import { IconCheckmarkCircle24 } from '@dhis2/ui' ``` @@ -629,11 +629,11 @@ import { SvgCheckmarkCircle24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconChevronDown16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgChevronDown16 } from '@dhis2/ui-icons' +import { IconChevronDown16 } from '@dhis2/ui' ``` @@ -648,11 +648,11 @@ import { SvgChevronDown16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconChevronDown24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgChevronDown24 } from '@dhis2/ui-icons' +import { IconChevronDown24 } from '@dhis2/ui' ``` @@ -667,11 +667,11 @@ import { SvgChevronDown24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconChevronLeft16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgChevronLeft16 } from '@dhis2/ui-icons' +import { IconChevronLeft16 } from '@dhis2/ui' ``` @@ -686,11 +686,11 @@ import { SvgChevronLeft16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconChevronLeft24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgChevronLeft24 } from '@dhis2/ui-icons' +import { IconChevronLeft24 } from '@dhis2/ui' ``` @@ -705,11 +705,11 @@ import { SvgChevronLeft24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconChevronRight16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgChevronRight16 } from '@dhis2/ui-icons' +import { IconChevronRight16 } from '@dhis2/ui' ``` @@ -724,11 +724,11 @@ import { SvgChevronRight16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconChevronRight24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgChevronRight24 } from '@dhis2/ui-icons' +import { IconChevronRight24 } from '@dhis2/ui' ``` @@ -743,11 +743,11 @@ import { SvgChevronRight24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconChevronUp16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgChevronUp16 } from '@dhis2/ui-icons' +import { IconChevronUp16 } from '@dhis2/ui' ``` @@ -762,11 +762,11 @@ import { SvgChevronUp16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconChevronUp24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgChevronUp24 } from '@dhis2/ui-icons' +import { IconChevronUp24 } from '@dhis2/ui' ``` @@ -781,11 +781,11 @@ import { SvgChevronUp24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconClock16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgClock16 } from '@dhis2/ui-icons' +import { IconClock16 } from '@dhis2/ui' ``` @@ -800,11 +800,11 @@ import { SvgClock16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconClock24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgClock24 } from '@dhis2/ui-icons' +import { IconClock24 } from '@dhis2/ui' ``` @@ -819,11 +819,11 @@ import { SvgClock24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconClockHistory16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgClockHistory16 } from '@dhis2/ui-icons' +import { IconClockHistory16 } from '@dhis2/ui' ``` @@ -838,11 +838,11 @@ import { SvgClockHistory16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconClockHistory24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgClockHistory24 } from '@dhis2/ui-icons' +import { IconClockHistory24 } from '@dhis2/ui' ``` @@ -857,11 +857,11 @@ import { SvgClockHistory24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconColor16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgColor16 } from '@dhis2/ui-icons' +import { IconColor16 } from '@dhis2/ui' ``` @@ -876,11 +876,11 @@ import { SvgColor16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconColor24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgColor24 } from '@dhis2/ui-icons' +import { IconColor24 } from '@dhis2/ui' ``` @@ -895,11 +895,11 @@ import { SvgColor24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconCopy16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgCopy16 } from '@dhis2/ui-icons' +import { IconCopy16 } from '@dhis2/ui' ``` @@ -914,11 +914,11 @@ import { SvgCopy16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconCopy24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgCopy24 } from '@dhis2/ui-icons' +import { IconCopy24 } from '@dhis2/ui' ``` @@ -933,11 +933,11 @@ import { SvgCopy24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconCross16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgCross16 } from '@dhis2/ui-icons' +import { IconCross16 } from '@dhis2/ui' ``` @@ -952,11 +952,11 @@ import { SvgCross16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconCross24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgCross24 } from '@dhis2/ui-icons' +import { IconCross24 } from '@dhis2/ui' ``` @@ -971,11 +971,11 @@ import { SvgCross24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDashboardWindow16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDashboardWindow16 } from '@dhis2/ui-icons' +import { IconDashboardWindow16 } from '@dhis2/ui' ``` @@ -990,11 +990,11 @@ import { SvgDashboardWindow16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDashboardWindow24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDashboardWindow24 } from '@dhis2/ui-icons' +import { IconDashboardWindow24 } from '@dhis2/ui' ``` @@ -1009,11 +1009,11 @@ import { SvgDashboardWindow24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDataInteger16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDataInteger16 } from '@dhis2/ui-icons' +import { IconDataInteger16 } from '@dhis2/ui' ``` @@ -1028,11 +1028,11 @@ import { SvgDataInteger16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDataInteger24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDataInteger24 } from '@dhis2/ui-icons' +import { IconDataInteger24 } from '@dhis2/ui' ``` @@ -1047,11 +1047,11 @@ import { SvgDataInteger24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDataString16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDataString16 } from '@dhis2/ui-icons' +import { IconDataString16 } from '@dhis2/ui' ``` @@ -1066,11 +1066,11 @@ import { SvgDataString16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDataString24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDataString24 } from '@dhis2/ui-icons' +import { IconDataString24 } from '@dhis2/ui' ``` @@ -1085,11 +1085,11 @@ import { SvgDataString24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDelete16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDelete16 } from '@dhis2/ui-icons' +import { IconDelete16 } from '@dhis2/ui' ``` @@ -1104,11 +1104,11 @@ import { SvgDelete16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDelete24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDelete24 } from '@dhis2/ui-icons' +import { IconDelete24 } from '@dhis2/ui' ``` @@ -1123,11 +1123,11 @@ import { SvgDelete24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDimensionCategoryOptionGroupset16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDimensionCategoryOptionGroupset16 } from '@dhis2/ui-icons' +import { IconDimensionCategoryOptionGroupset16 } from '@dhis2/ui' ``` @@ -1142,11 +1142,11 @@ import { SvgDimensionCategoryOptionGroupset16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDimensionData16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDimensionData16 } from '@dhis2/ui-icons' +import { IconDimensionData16 } from '@dhis2/ui' ``` @@ -1161,11 +1161,11 @@ import { SvgDimensionData16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDimensionDataElementGroupset16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDimensionDataElementGroupset16 } from '@dhis2/ui-icons' +import { IconDimensionDataElementGroupset16 } from '@dhis2/ui' ``` @@ -1180,11 +1180,11 @@ import { SvgDimensionDataElementGroupset16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDimensionDataSet16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDimensionDataSet16 } from '@dhis2/ui-icons' +import { IconDimensionDataSet16 } from '@dhis2/ui' ``` @@ -1199,11 +1199,11 @@ import { SvgDimensionDataSet16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDimensionEventDataItem16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDimensionEventDataItem16 } from '@dhis2/ui-icons' +import { IconDimensionEventDataItem16 } from '@dhis2/ui' ``` @@ -1218,11 +1218,11 @@ import { SvgDimensionEventDataItem16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDimensionIndicator16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDimensionIndicator16 } from '@dhis2/ui-icons' +import { IconDimensionIndicator16 } from '@dhis2/ui' ``` @@ -1237,11 +1237,11 @@ import { SvgDimensionIndicator16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDimensionOrgUnit16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDimensionOrgUnit16 } from '@dhis2/ui-icons' +import { IconDimensionOrgUnit16 } from '@dhis2/ui' ``` @@ -1256,11 +1256,11 @@ import { SvgDimensionOrgUnit16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDimensionOrgUnitGroupset16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDimensionOrgUnitGroupset16 } from '@dhis2/ui-icons' +import { IconDimensionOrgUnitGroupset16 } from '@dhis2/ui' ``` @@ -1275,11 +1275,11 @@ import { SvgDimensionOrgUnitGroupset16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDimensionProgramIndicator16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDimensionProgramIndicator16 } from '@dhis2/ui-icons' +import { IconDimensionProgramIndicator16 } from '@dhis2/ui' ``` @@ -1294,11 +1294,11 @@ import { SvgDimensionProgramIndicator16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDimensionValidationRule16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDimensionValidationRule16 } from '@dhis2/ui-icons' +import { IconDimensionValidationRule16 } from '@dhis2/ui' ``` @@ -1313,11 +1313,11 @@ import { SvgDimensionValidationRule16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDirectionNorth16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDirectionNorth16 } from '@dhis2/ui-icons' +import { IconDirectionNorth16 } from '@dhis2/ui' ``` @@ -1332,11 +1332,11 @@ import { SvgDirectionNorth16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDirectionNorth24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDirectionNorth24 } from '@dhis2/ui-icons' +import { IconDirectionNorth24 } from '@dhis2/ui' ``` @@ -1351,11 +1351,11 @@ import { SvgDirectionNorth24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDownload16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDownload16 } from '@dhis2/ui-icons' +import { IconDownload16 } from '@dhis2/ui' ``` @@ -1370,11 +1370,11 @@ import { SvgDownload16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDownload24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDownload24 } from '@dhis2/ui-icons' +import { IconDownload24 } from '@dhis2/ui' ``` @@ -1389,11 +1389,11 @@ import { SvgDownload24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDragHandle16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDragHandle16 } from '@dhis2/ui-icons' +import { IconDragHandle16 } from '@dhis2/ui' ``` @@ -1408,11 +1408,11 @@ import { SvgDragHandle16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDragHandle24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDragHandle24 } from '@dhis2/ui-icons' +import { IconDragHandle24 } from '@dhis2/ui' ``` @@ -1427,11 +1427,11 @@ import { SvgDragHandle24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDuplicate16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDuplicate16 } from '@dhis2/ui-icons' +import { IconDuplicate16 } from '@dhis2/ui' ``` @@ -1446,11 +1446,11 @@ import { SvgDuplicate16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconDuplicate24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgDuplicate24 } from '@dhis2/ui-icons' +import { IconDuplicate24 } from '@dhis2/ui' ``` @@ -1465,11 +1465,11 @@ import { SvgDuplicate24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconEdit16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgEdit16 } from '@dhis2/ui-icons' +import { IconEdit16 } from '@dhis2/ui' ``` @@ -1484,11 +1484,11 @@ import { SvgEdit16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconEdit24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgEdit24 } from '@dhis2/ui-icons' +import { IconEdit24 } from '@dhis2/ui' ``` @@ -1503,11 +1503,11 @@ import { SvgEdit24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconEditItems16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgEditItems16 } from '@dhis2/ui-icons' +import { IconEditItems16 } from '@dhis2/ui' ``` @@ -1522,11 +1522,11 @@ import { SvgEditItems16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconEditItems24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgEditItems24 } from '@dhis2/ui-icons' +import { IconEditItems24 } from '@dhis2/ui' ``` @@ -1541,11 +1541,11 @@ import { SvgEditItems24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconEmptyFrame16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgEmptyFrame16 } from '@dhis2/ui-icons' +import { IconEmptyFrame16 } from '@dhis2/ui' ``` @@ -1560,11 +1560,11 @@ import { SvgEmptyFrame16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconEmptyFrame24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgEmptyFrame24 } from '@dhis2/ui-icons' +import { IconEmptyFrame24 } from '@dhis2/ui' ``` @@ -1579,11 +1579,11 @@ import { SvgEmptyFrame24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconError16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgError16 } from '@dhis2/ui-icons' +import { IconError16 } from '@dhis2/ui' ``` @@ -1598,11 +1598,11 @@ import { SvgError16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconError24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgError24 } from '@dhis2/ui-icons' +import { IconError24 } from '@dhis2/ui' ``` @@ -1617,11 +1617,11 @@ import { SvgError24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconErrorFilled16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgErrorFilled16 } from '@dhis2/ui-icons' +import { IconErrorFilled16 } from '@dhis2/ui' ``` @@ -1636,11 +1636,11 @@ import { SvgErrorFilled16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconErrorFilled24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgErrorFilled24 } from '@dhis2/ui-icons' +import { IconErrorFilled24 } from '@dhis2/ui' ``` @@ -1655,11 +1655,11 @@ import { SvgErrorFilled24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconExportItems24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgExportItems24 } from '@dhis2/ui-icons' +import { IconExportItems24 } from '@dhis2/ui' ``` @@ -1674,11 +1674,11 @@ import { SvgExportItems24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconFaceAdd16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgFaceAdd16 } from '@dhis2/ui-icons' +import { IconFaceAdd16 } from '@dhis2/ui' ``` @@ -1693,11 +1693,11 @@ import { SvgFaceAdd16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconFaceAdd24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgFaceAdd24 } from '@dhis2/ui-icons' +import { IconFaceAdd24 } from '@dhis2/ui' ``` @@ -1712,11 +1712,11 @@ import { SvgFaceAdd24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconFile16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgFile16 } from '@dhis2/ui-icons' +import { IconFile16 } from '@dhis2/ui' ``` @@ -1731,11 +1731,11 @@ import { SvgFile16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconFile24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgFile24 } from '@dhis2/ui-icons' +import { IconFile24 } from '@dhis2/ui' ``` @@ -1750,11 +1750,11 @@ import { SvgFile24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconFileDocument16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgFileDocument16 } from '@dhis2/ui-icons' +import { IconFileDocument16 } from '@dhis2/ui' ``` @@ -1769,11 +1769,11 @@ import { SvgFileDocument16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconFileDocument24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgFileDocument24 } from '@dhis2/ui-icons' +import { IconFileDocument24 } from '@dhis2/ui' ``` @@ -1788,11 +1788,11 @@ import { SvgFileDocument24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconFilter16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgFilter16 } from '@dhis2/ui-icons' +import { IconFilter16 } from '@dhis2/ui' ``` @@ -1807,11 +1807,11 @@ import { SvgFilter16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconFilter24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgFilter24 } from '@dhis2/ui-icons' +import { IconFilter24 } from '@dhis2/ui' ``` @@ -1826,11 +1826,11 @@ import { SvgFilter24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconFlag16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgFlag16 } from '@dhis2/ui-icons' +import { IconFlag16 } from '@dhis2/ui' ``` @@ -1845,11 +1845,11 @@ import { SvgFlag16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconFlag24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgFlag24 } from '@dhis2/ui-icons' +import { IconFlag24 } from '@dhis2/ui' ``` @@ -1864,11 +1864,11 @@ import { SvgFlag24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconFolder16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgFolder16 } from '@dhis2/ui-icons' +import { IconFolder16 } from '@dhis2/ui' ``` @@ -1883,11 +1883,11 @@ import { SvgFolder16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconFolder24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgFolder24 } from '@dhis2/ui-icons' +import { IconFolder24 } from '@dhis2/ui' ``` @@ -1902,11 +1902,11 @@ import { SvgFolder24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconFolderOpen16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgFolderOpen16 } from '@dhis2/ui-icons' +import { IconFolderOpen16 } from '@dhis2/ui' ``` @@ -1921,11 +1921,11 @@ import { SvgFolderOpen16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconFolderOpen24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgFolderOpen24 } from '@dhis2/ui-icons' +import { IconFolderOpen24 } from '@dhis2/ui' ``` @@ -1940,11 +1940,11 @@ import { SvgFolderOpen24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconFullscreen16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgFullscreen16 } from '@dhis2/ui-icons' +import { IconFullscreen16 } from '@dhis2/ui' ``` @@ -1959,11 +1959,11 @@ import { SvgFullscreen16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconFullscreen24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgFullscreen24 } from '@dhis2/ui-icons' +import { IconFullscreen24 } from '@dhis2/ui' ``` @@ -1978,11 +1978,11 @@ import { SvgFullscreen24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconFullscreenExit16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgFullscreenExit16 } from '@dhis2/ui-icons' +import { IconFullscreenExit16 } from '@dhis2/ui' ``` @@ -1997,11 +1997,11 @@ import { SvgFullscreenExit16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconFullscreenExit24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgFullscreenExit24 } from '@dhis2/ui-icons' +import { IconFullscreenExit24 } from '@dhis2/ui' ``` @@ -2016,11 +2016,11 @@ import { SvgFullscreenExit24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconHome16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgHome16 } from '@dhis2/ui-icons' +import { IconHome16 } from '@dhis2/ui' ``` @@ -2035,11 +2035,11 @@ import { SvgHome16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconHome24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgHome24 } from '@dhis2/ui-icons' +import { IconHome24 } from '@dhis2/ui' ``` @@ -2054,11 +2054,11 @@ import { SvgHome24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconImage16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgImage16 } from '@dhis2/ui-icons' +import { IconImage16 } from '@dhis2/ui' ``` @@ -2073,11 +2073,11 @@ import { SvgImage16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconImage24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgImage24 } from '@dhis2/ui-icons' +import { IconImage24 } from '@dhis2/ui' ``` @@ -2092,11 +2092,11 @@ import { SvgImage24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconImportItems24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgImportItems24 } from '@dhis2/ui-icons' +import { IconImportItems24 } from '@dhis2/ui' ``` @@ -2111,11 +2111,11 @@ import { SvgImportItems24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconInfo16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgInfo16 } from '@dhis2/ui-icons' +import { IconInfo16 } from '@dhis2/ui' ``` @@ -2130,11 +2130,11 @@ import { SvgInfo16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconInfo24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgInfo24 } from '@dhis2/ui-icons' +import { IconInfo24 } from '@dhis2/ui' ``` @@ -2149,11 +2149,11 @@ import { SvgInfo24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconInfoFilled16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgInfoFilled16 } from '@dhis2/ui-icons' +import { IconInfoFilled16 } from '@dhis2/ui' ``` @@ -2168,11 +2168,11 @@ import { SvgInfoFilled16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconInfoFilled24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgInfoFilled24 } from '@dhis2/ui-icons' +import { IconInfoFilled24 } from '@dhis2/ui' ``` @@ -2187,11 +2187,11 @@ import { SvgInfoFilled24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconLaunch16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgLaunch16 } from '@dhis2/ui-icons' +import { IconLaunch16 } from '@dhis2/ui' ``` @@ -2206,11 +2206,11 @@ import { SvgLaunch16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconLaunch24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgLaunch24 } from '@dhis2/ui-icons' +import { IconLaunch24 } from '@dhis2/ui' ``` @@ -2225,11 +2225,11 @@ import { SvgLaunch24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconLayoutColumns16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgLayoutColumns16 } from '@dhis2/ui-icons' +import { IconLayoutColumns16 } from '@dhis2/ui' ``` @@ -2244,11 +2244,11 @@ import { SvgLayoutColumns16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconLayoutColumns24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgLayoutColumns24 } from '@dhis2/ui-icons' +import { IconLayoutColumns24 } from '@dhis2/ui' ``` @@ -2263,11 +2263,11 @@ import { SvgLayoutColumns24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconLayoutRows16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgLayoutRows16 } from '@dhis2/ui-icons' +import { IconLayoutRows16 } from '@dhis2/ui' ``` @@ -2282,11 +2282,11 @@ import { SvgLayoutRows16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconLayoutRows24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgLayoutRows24 } from '@dhis2/ui-icons' +import { IconLayoutRows24 } from '@dhis2/ui' ``` @@ -2301,11 +2301,11 @@ import { SvgLayoutRows24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconLegend16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgLegend16 } from '@dhis2/ui-icons' +import { IconLegend16 } from '@dhis2/ui' ``` @@ -2320,11 +2320,11 @@ import { SvgLegend16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconLegend24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgLegend24 } from '@dhis2/ui-icons' +import { IconLegend24 } from '@dhis2/ui' ``` @@ -2339,11 +2339,11 @@ import { SvgLegend24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconLink16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgLink16 } from '@dhis2/ui-icons' +import { IconLink16 } from '@dhis2/ui' ``` @@ -2358,11 +2358,11 @@ import { SvgLink16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconLink24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgLink24 } from '@dhis2/ui-icons' +import { IconLink24 } from '@dhis2/ui' ``` @@ -2377,11 +2377,11 @@ import { SvgLink24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconList16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgList16 } from '@dhis2/ui-icons' +import { IconList16 } from '@dhis2/ui' ``` @@ -2396,11 +2396,11 @@ import { SvgList16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconList24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgList24 } from '@dhis2/ui-icons' +import { IconList24 } from '@dhis2/ui' ``` @@ -2415,11 +2415,11 @@ import { SvgList24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconLocation16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgLocation16 } from '@dhis2/ui-icons' +import { IconLocation16 } from '@dhis2/ui' ``` @@ -2434,11 +2434,11 @@ import { SvgLocation16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconLocation24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgLocation24 } from '@dhis2/ui-icons' +import { IconLocation24 } from '@dhis2/ui' ``` @@ -2453,11 +2453,11 @@ import { SvgLocation24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconLock16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgLock16 } from '@dhis2/ui-icons' +import { IconLock16 } from '@dhis2/ui' ``` @@ -2472,11 +2472,11 @@ import { SvgLock16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconLock24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgLock24 } from '@dhis2/ui-icons' +import { IconLock24 } from '@dhis2/ui' ``` @@ -2491,11 +2491,11 @@ import { SvgLock24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconLockOpen16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgLockOpen16 } from '@dhis2/ui-icons' +import { IconLockOpen16 } from '@dhis2/ui' ``` @@ -2510,11 +2510,11 @@ import { SvgLockOpen16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconLockOpen24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgLockOpen24 } from '@dhis2/ui-icons' +import { IconLockOpen24 } from '@dhis2/ui' ``` @@ -2529,11 +2529,11 @@ import { SvgLockOpen24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconLogOut16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgLogOut16 } from '@dhis2/ui-icons' +import { IconLogOut16 } from '@dhis2/ui' ``` @@ -2548,11 +2548,11 @@ import { SvgLogOut16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconLogOut24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgLogOut24 } from '@dhis2/ui-icons' +import { IconLogOut24 } from '@dhis2/ui' ``` @@ -2567,11 +2567,11 @@ import { SvgLogOut24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconMail16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgMail16 } from '@dhis2/ui-icons' +import { IconMail16 } from '@dhis2/ui' ``` @@ -2586,11 +2586,11 @@ import { SvgMail16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconMail24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgMail24 } from '@dhis2/ui-icons' +import { IconMail24 } from '@dhis2/ui' ``` @@ -2605,11 +2605,11 @@ import { SvgMail24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconMailOpen16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgMailOpen16 } from '@dhis2/ui-icons' +import { IconMailOpen16 } from '@dhis2/ui' ``` @@ -2624,11 +2624,11 @@ import { SvgMailOpen16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconMailOpen24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgMailOpen24 } from '@dhis2/ui-icons' +import { IconMailOpen24 } from '@dhis2/ui' ``` @@ -2643,11 +2643,11 @@ import { SvgMailOpen24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconMessages16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgMessages16 } from '@dhis2/ui-icons' +import { IconMessages16 } from '@dhis2/ui' ``` @@ -2662,11 +2662,11 @@ import { SvgMessages16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconMessages24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgMessages24 } from '@dhis2/ui-icons' +import { IconMessages24 } from '@dhis2/ui' ``` @@ -2681,11 +2681,11 @@ import { SvgMessages24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconMore16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgMore16 } from '@dhis2/ui-icons' +import { IconMore16 } from '@dhis2/ui' ``` @@ -2700,11 +2700,11 @@ import { SvgMore16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconMore24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgMore24 } from '@dhis2/ui-icons' +import { IconMore24 } from '@dhis2/ui' ``` @@ -2719,11 +2719,11 @@ import { SvgMore24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconMove16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgMove16 } from '@dhis2/ui-icons' +import { IconMove16 } from '@dhis2/ui' ``` @@ -2738,11 +2738,11 @@ import { SvgMove16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconMove24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgMove24 } from '@dhis2/ui-icons' +import { IconMove24 } from '@dhis2/ui' ``` @@ -2757,11 +2757,11 @@ import { SvgMove24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconPushLeft16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgPushLeft16 } from '@dhis2/ui-icons' +import { IconPushLeft16 } from '@dhis2/ui' ``` @@ -2776,11 +2776,11 @@ import { SvgPushLeft16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconPushLeft24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgPushLeft24 } from '@dhis2/ui-icons' +import { IconPushLeft24 } from '@dhis2/ui' ``` @@ -2795,11 +2795,11 @@ import { SvgPushLeft24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconPushRight16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgPushRight16 } from '@dhis2/ui-icons' +import { IconPushRight16 } from '@dhis2/ui' ``` @@ -2814,11 +2814,11 @@ import { SvgPushRight16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconPushRight24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgPushRight24 } from '@dhis2/ui-icons' +import { IconPushRight24 } from '@dhis2/ui' ``` @@ -2833,11 +2833,11 @@ import { SvgPushRight24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconQuestion16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgQuestion16 } from '@dhis2/ui-icons' +import { IconQuestion16 } from '@dhis2/ui' ``` @@ -2852,11 +2852,11 @@ import { SvgQuestion16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconQuestion24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgQuestion24 } from '@dhis2/ui-icons' +import { IconQuestion24 } from '@dhis2/ui' ``` @@ -2871,11 +2871,11 @@ import { SvgQuestion24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconQuestionFilled16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgQuestionFilled16 } from '@dhis2/ui-icons' +import { IconQuestionFilled16 } from '@dhis2/ui' ``` @@ -2890,11 +2890,11 @@ import { SvgQuestionFilled16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconQuestionFilled24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgQuestionFilled24 } from '@dhis2/ui-icons' +import { IconQuestionFilled24 } from '@dhis2/ui' ``` @@ -2909,11 +2909,11 @@ import { SvgQuestionFilled24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconQueue16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgQueue16 } from '@dhis2/ui-icons' +import { IconQueue16 } from '@dhis2/ui' ``` @@ -2928,11 +2928,11 @@ import { SvgQueue16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconQueue24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgQueue24 } from '@dhis2/ui-icons' +import { IconQueue24 } from '@dhis2/ui' ``` @@ -2947,11 +2947,11 @@ import { SvgQueue24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconRedo16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgRedo16 } from '@dhis2/ui-icons' +import { IconRedo16 } from '@dhis2/ui' ``` @@ -2966,11 +2966,11 @@ import { SvgRedo16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconRedo24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgRedo24 } from '@dhis2/ui-icons' +import { IconRedo24 } from '@dhis2/ui' ``` @@ -2985,11 +2985,11 @@ import { SvgRedo24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconReorder16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgReorder16 } from '@dhis2/ui-icons' +import { IconReorder16 } from '@dhis2/ui' ``` @@ -3004,11 +3004,11 @@ import { SvgReorder16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconReorder24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgReorder24 } from '@dhis2/ui-icons' +import { IconReorder24 } from '@dhis2/ui' ``` @@ -3023,11 +3023,11 @@ import { SvgReorder24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconReply16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgReply16 } from '@dhis2/ui-icons' +import { IconReply16 } from '@dhis2/ui' ``` @@ -3042,11 +3042,11 @@ import { SvgReply16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconReply24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgReply24 } from '@dhis2/ui-icons' +import { IconReply24 } from '@dhis2/ui' ``` @@ -3061,11 +3061,11 @@ import { SvgReply24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconRuler16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgRuler16 } from '@dhis2/ui-icons' +import { IconRuler16 } from '@dhis2/ui' ``` @@ -3080,11 +3080,11 @@ import { SvgRuler16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconRuler24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgRuler24 } from '@dhis2/ui-icons' +import { IconRuler24 } from '@dhis2/ui' ``` @@ -3099,11 +3099,11 @@ import { SvgRuler24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconSave16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgSave16 } from '@dhis2/ui-icons' +import { IconSave16 } from '@dhis2/ui' ``` @@ -3118,11 +3118,11 @@ import { SvgSave16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconSave24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgSave24 } from '@dhis2/ui-icons' +import { IconSave24 } from '@dhis2/ui' ``` @@ -3137,11 +3137,11 @@ import { SvgSave24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconSearch16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgSearch16 } from '@dhis2/ui-icons' +import { IconSearch16 } from '@dhis2/ui' ``` @@ -3156,11 +3156,11 @@ import { SvgSearch16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconSearch24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgSearch24 } from '@dhis2/ui-icons' +import { IconSearch24 } from '@dhis2/ui' ``` @@ -3175,11 +3175,11 @@ import { SvgSearch24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconSettings16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgSettings16 } from '@dhis2/ui-icons' +import { IconSettings16 } from '@dhis2/ui' ``` @@ -3194,11 +3194,11 @@ import { SvgSettings16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconSettings24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgSettings24 } from '@dhis2/ui-icons' +import { IconSettings24 } from '@dhis2/ui' ``` @@ -3213,11 +3213,11 @@ import { SvgSettings24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconShare16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgShare16 } from '@dhis2/ui-icons' +import { IconShare16 } from '@dhis2/ui' ``` @@ -3232,11 +3232,11 @@ import { SvgShare16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconShare24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgShare24 } from '@dhis2/ui-icons' +import { IconShare24 } from '@dhis2/ui' ``` @@ -3251,11 +3251,11 @@ import { SvgShare24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconStar16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgStar16 } from '@dhis2/ui-icons' +import { IconStar16 } from '@dhis2/ui' ``` @@ -3270,11 +3270,11 @@ import { SvgStar16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconStar24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgStar24 } from '@dhis2/ui-icons' +import { IconStar24 } from '@dhis2/ui' ``` @@ -3289,11 +3289,11 @@ import { SvgStar24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconStarFilled16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgStarFilled16 } from '@dhis2/ui-icons' +import { IconStarFilled16 } from '@dhis2/ui' ``` @@ -3308,11 +3308,11 @@ import { SvgStarFilled16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconStarFilled24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgStarFilled24 } from '@dhis2/ui-icons' +import { IconStarFilled24 } from '@dhis2/ui' ``` @@ -3327,11 +3327,11 @@ import { SvgStarFilled24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconSubscribe16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgSubscribe16 } from '@dhis2/ui-icons' +import { IconSubscribe16 } from '@dhis2/ui' ``` @@ -3346,11 +3346,11 @@ import { SvgSubscribe16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconSubscribe24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgSubscribe24 } from '@dhis2/ui-icons' +import { IconSubscribe24 } from '@dhis2/ui' ``` @@ -3365,11 +3365,11 @@ import { SvgSubscribe24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconSubscribeOff16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgSubscribeOff16 } from '@dhis2/ui-icons' +import { IconSubscribeOff16 } from '@dhis2/ui' ``` @@ -3384,11 +3384,11 @@ import { SvgSubscribeOff16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconSubscribeOff24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgSubscribeOff24 } from '@dhis2/ui-icons' +import { IconSubscribeOff24 } from '@dhis2/ui' ``` @@ -3403,11 +3403,11 @@ import { SvgSubscribeOff24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconSubtract16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgSubtract16 } from '@dhis2/ui-icons' +import { IconSubtract16 } from '@dhis2/ui' ``` @@ -3422,11 +3422,11 @@ import { SvgSubtract16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconSubtract24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgSubtract24 } from '@dhis2/ui-icons' +import { IconSubtract24 } from '@dhis2/ui' ``` @@ -3441,11 +3441,11 @@ import { SvgSubtract24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconSubtractCircle16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgSubtractCircle16 } from '@dhis2/ui-icons' +import { IconSubtractCircle16 } from '@dhis2/ui' ``` @@ -3460,11 +3460,11 @@ import { SvgSubtractCircle16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconSubtractCircle24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgSubtractCircle24 } from '@dhis2/ui-icons' +import { IconSubtractCircle24 } from '@dhis2/ui' ``` @@ -3479,11 +3479,11 @@ import { SvgSubtractCircle24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconSync16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgSync16 } from '@dhis2/ui-icons' +import { IconSync16 } from '@dhis2/ui' ``` @@ -3498,11 +3498,11 @@ import { SvgSync16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconSync24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgSync24 } from '@dhis2/ui-icons' +import { IconSync24 } from '@dhis2/ui' ``` @@ -3517,11 +3517,11 @@ import { SvgSync24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconTable16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgTable16 } from '@dhis2/ui-icons' +import { IconTable16 } from '@dhis2/ui' ``` @@ -3536,11 +3536,11 @@ import { SvgTable16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconTable24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgTable24 } from '@dhis2/ui-icons' +import { IconTable24 } from '@dhis2/ui' ``` @@ -3555,11 +3555,11 @@ import { SvgTable24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconTerminalWindow16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgTerminalWindow16 } from '@dhis2/ui-icons' +import { IconTerminalWindow16 } from '@dhis2/ui' ``` @@ -3574,11 +3574,11 @@ import { SvgTerminalWindow16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconTerminalWindow24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgTerminalWindow24 } from '@dhis2/ui-icons' +import { IconTerminalWindow24 } from '@dhis2/ui' ``` @@ -3593,11 +3593,11 @@ import { SvgTerminalWindow24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconTextBold16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgTextBold16 } from '@dhis2/ui-icons' +import { IconTextBold16 } from '@dhis2/ui' ``` @@ -3612,11 +3612,11 @@ import { SvgTextBold16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconTextBold24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgTextBold24 } from '@dhis2/ui-icons' +import { IconTextBold24 } from '@dhis2/ui' ``` @@ -3631,11 +3631,11 @@ import { SvgTextBold24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconTextBox16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgTextBox16 } from '@dhis2/ui-icons' +import { IconTextBox16 } from '@dhis2/ui' ``` @@ -3650,11 +3650,11 @@ import { SvgTextBox16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconTextBox24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgTextBox24 } from '@dhis2/ui-icons' +import { IconTextBox24 } from '@dhis2/ui' ``` @@ -3669,11 +3669,11 @@ import { SvgTextBox24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconTextHeading16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgTextHeading16 } from '@dhis2/ui-icons' +import { IconTextHeading16 } from '@dhis2/ui' ``` @@ -3688,11 +3688,11 @@ import { SvgTextHeading16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconTextHeading24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgTextHeading24 } from '@dhis2/ui-icons' +import { IconTextHeading24 } from '@dhis2/ui' ``` @@ -3707,11 +3707,11 @@ import { SvgTextHeading24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconTextItalic16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgTextItalic16 } from '@dhis2/ui-icons' +import { IconTextItalic16 } from '@dhis2/ui' ``` @@ -3726,11 +3726,11 @@ import { SvgTextItalic16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconTextItalic24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgTextItalic24 } from '@dhis2/ui-icons' +import { IconTextItalic24 } from '@dhis2/ui' ``` @@ -3745,11 +3745,11 @@ import { SvgTextItalic24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconTextListOrdered16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgTextListOrdered16 } from '@dhis2/ui-icons' +import { IconTextListOrdered16 } from '@dhis2/ui' ``` @@ -3764,11 +3764,11 @@ import { SvgTextListOrdered16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconTextListOrdered24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgTextListOrdered24 } from '@dhis2/ui-icons' +import { IconTextListOrdered24 } from '@dhis2/ui' ``` @@ -3783,11 +3783,11 @@ import { SvgTextListOrdered24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconTextListUnordered16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgTextListUnordered16 } from '@dhis2/ui-icons' +import { IconTextListUnordered16 } from '@dhis2/ui' ``` @@ -3802,11 +3802,11 @@ import { SvgTextListUnordered16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconTextListUnordered24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgTextListUnordered24 } from '@dhis2/ui-icons' +import { IconTextListUnordered24 } from '@dhis2/ui' ``` @@ -3821,11 +3821,11 @@ import { SvgTextListUnordered24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconThumbDown16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgThumbDown16 } from '@dhis2/ui-icons' +import { IconThumbDown16 } from '@dhis2/ui' ``` @@ -3840,11 +3840,11 @@ import { SvgThumbDown16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconThumbDown24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgThumbDown24 } from '@dhis2/ui-icons' +import { IconThumbDown24 } from '@dhis2/ui' ``` @@ -3859,11 +3859,11 @@ import { SvgThumbDown24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconThumbUp16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgThumbUp16 } from '@dhis2/ui-icons' +import { IconThumbUp16 } from '@dhis2/ui' ``` @@ -3878,11 +3878,11 @@ import { SvgThumbUp16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconThumbUp24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgThumbUp24 } from '@dhis2/ui-icons' +import { IconThumbUp24 } from '@dhis2/ui' ``` @@ -3897,11 +3897,11 @@ import { SvgThumbUp24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconTranslate16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgTranslate16 } from '@dhis2/ui-icons' +import { IconTranslate16 } from '@dhis2/ui' ``` @@ -3916,11 +3916,11 @@ import { SvgTranslate16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconTranslate24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgTranslate24 } from '@dhis2/ui-icons' +import { IconTranslate24 } from '@dhis2/ui' ``` @@ -3935,11 +3935,11 @@ import { SvgTranslate24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconUndo16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgUndo16 } from '@dhis2/ui-icons' +import { IconUndo16 } from '@dhis2/ui' ``` @@ -3954,11 +3954,11 @@ import { SvgUndo16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconUndo24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgUndo24 } from '@dhis2/ui-icons' +import { IconUndo24 } from '@dhis2/ui' ``` @@ -3973,11 +3973,11 @@ import { SvgUndo24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconUpload16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgUpload16 } from '@dhis2/ui-icons' +import { IconUpload16 } from '@dhis2/ui' ``` @@ -3992,11 +3992,11 @@ import { SvgUpload16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconUpload24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgUpload24 } from '@dhis2/ui-icons' +import { IconUpload24 } from '@dhis2/ui' ``` @@ -4011,11 +4011,11 @@ import { SvgUpload24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconUser16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgUser16 } from '@dhis2/ui-icons' +import { IconUser16 } from '@dhis2/ui' ``` @@ -4030,11 +4030,11 @@ import { SvgUser16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconUser24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgUser24 } from '@dhis2/ui-icons' +import { IconUser24 } from '@dhis2/ui' ``` @@ -4049,11 +4049,11 @@ import { SvgUser24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconUserGroup16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgUserGroup16 } from '@dhis2/ui-icons' +import { IconUserGroup16 } from '@dhis2/ui' ``` @@ -4068,11 +4068,11 @@ import { SvgUserGroup16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconUserGroup24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgUserGroup24 } from '@dhis2/ui-icons' +import { IconUserGroup24 } from '@dhis2/ui' ``` @@ -4087,11 +4087,11 @@ import { SvgUserGroup24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconView16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgView16 } from '@dhis2/ui-icons' +import { IconView16 } from '@dhis2/ui' ``` @@ -4106,11 +4106,11 @@ import { SvgView16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconView24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgView24 } from '@dhis2/ui-icons' +import { IconView24 } from '@dhis2/ui' ``` @@ -4125,11 +4125,11 @@ import { SvgView24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconViewOff16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgViewOff16 } from '@dhis2/ui-icons' +import { IconViewOff16 } from '@dhis2/ui' ``` @@ -4144,11 +4144,11 @@ import { SvgViewOff16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconViewOff24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgViewOff24 } from '@dhis2/ui-icons' +import { IconViewOff24 } from '@dhis2/ui' ``` @@ -4163,11 +4163,11 @@ import { SvgViewOff24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationArea16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationArea16 } from '@dhis2/ui-icons' +import { IconVisualizationArea16 } from '@dhis2/ui' ``` @@ -4182,11 +4182,11 @@ import { SvgVisualizationArea16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationArea24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationArea24 } from '@dhis2/ui-icons' +import { IconVisualizationArea24 } from '@dhis2/ui' ``` @@ -4201,11 +4201,11 @@ import { SvgVisualizationArea24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationAreaStacked16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationAreaStacked16 } from '@dhis2/ui-icons' +import { IconVisualizationAreaStacked16 } from '@dhis2/ui' ``` @@ -4220,11 +4220,11 @@ import { SvgVisualizationAreaStacked16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationAreaStacked24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationAreaStacked24 } from '@dhis2/ui-icons' +import { IconVisualizationAreaStacked24 } from '@dhis2/ui' ``` @@ -4239,11 +4239,11 @@ import { SvgVisualizationAreaStacked24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationBar16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationBar16 } from '@dhis2/ui-icons' +import { IconVisualizationBar16 } from '@dhis2/ui' ``` @@ -4258,11 +4258,11 @@ import { SvgVisualizationBar16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationBar24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationBar24 } from '@dhis2/ui-icons' +import { IconVisualizationBar24 } from '@dhis2/ui' ``` @@ -4277,11 +4277,11 @@ import { SvgVisualizationBar24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationBarStacked16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationBarStacked16 } from '@dhis2/ui-icons' +import { IconVisualizationBarStacked16 } from '@dhis2/ui' ``` @@ -4296,11 +4296,11 @@ import { SvgVisualizationBarStacked16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationBarStacked24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationBarStacked24 } from '@dhis2/ui-icons' +import { IconVisualizationBarStacked24 } from '@dhis2/ui' ``` @@ -4315,11 +4315,11 @@ import { SvgVisualizationBarStacked24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationColumn16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationColumn16 } from '@dhis2/ui-icons' +import { IconVisualizationColumn16 } from '@dhis2/ui' ``` @@ -4334,11 +4334,11 @@ import { SvgVisualizationColumn16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationColumn24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationColumn24 } from '@dhis2/ui-icons' +import { IconVisualizationColumn24 } from '@dhis2/ui' ``` @@ -4353,11 +4353,11 @@ import { SvgVisualizationColumn24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationColumnMulti16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationColumnMulti16 } from '@dhis2/ui-icons' +import { IconVisualizationColumnMulti16 } from '@dhis2/ui' ``` @@ -4372,11 +4372,11 @@ import { SvgVisualizationColumnMulti16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationColumnMulti24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationColumnMulti24 } from '@dhis2/ui-icons' +import { IconVisualizationColumnMulti24 } from '@dhis2/ui' ``` @@ -4391,11 +4391,11 @@ import { SvgVisualizationColumnMulti24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationColumnStacked16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationColumnStacked16 } from '@dhis2/ui-icons' +import { IconVisualizationColumnStacked16 } from '@dhis2/ui' ``` @@ -4410,11 +4410,11 @@ import { SvgVisualizationColumnStacked16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationColumnStacked24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationColumnStacked24 } from '@dhis2/ui-icons' +import { IconVisualizationColumnStacked24 } from '@dhis2/ui' ``` @@ -4429,11 +4429,11 @@ import { SvgVisualizationColumnStacked24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationGauge16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationGauge16 } from '@dhis2/ui-icons' +import { IconVisualizationGauge16 } from '@dhis2/ui' ``` @@ -4448,11 +4448,11 @@ import { SvgVisualizationGauge16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationGauge24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationGauge24 } from '@dhis2/ui-icons' +import { IconVisualizationGauge24 } from '@dhis2/ui' ``` @@ -4467,11 +4467,11 @@ import { SvgVisualizationGauge24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationLine16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationLine16 } from '@dhis2/ui-icons' +import { IconVisualizationLine16 } from '@dhis2/ui' ``` @@ -4486,11 +4486,11 @@ import { SvgVisualizationLine16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationLine24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationLine24 } from '@dhis2/ui-icons' +import { IconVisualizationLine24 } from '@dhis2/ui' ``` @@ -4505,11 +4505,11 @@ import { SvgVisualizationLine24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationLineMulti16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationLineMulti16 } from '@dhis2/ui-icons' +import { IconVisualizationLineMulti16 } from '@dhis2/ui' ``` @@ -4524,11 +4524,11 @@ import { SvgVisualizationLineMulti16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationLineMulti24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationLineMulti24 } from '@dhis2/ui-icons' +import { IconVisualizationLineMulti24 } from '@dhis2/ui' ``` @@ -4543,11 +4543,11 @@ import { SvgVisualizationLineMulti24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationLinelist16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationLinelist16 } from '@dhis2/ui-icons' +import { IconVisualizationLinelist16 } from '@dhis2/ui' ``` @@ -4562,11 +4562,11 @@ import { SvgVisualizationLinelist16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationLinelist24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationLinelist24 } from '@dhis2/ui-icons' +import { IconVisualizationLinelist24 } from '@dhis2/ui' ``` @@ -4619,11 +4619,11 @@ import { SvgVisualizationOutlierTable24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationPie16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationPie16 } from '@dhis2/ui-icons' +import { IconVisualizationPie16 } from '@dhis2/ui' ``` @@ -4638,11 +4638,11 @@ import { SvgVisualizationPie16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationPie24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationPie24 } from '@dhis2/ui-icons' +import { IconVisualizationPie24 } from '@dhis2/ui' ``` @@ -4657,11 +4657,11 @@ import { SvgVisualizationPie24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationPivotTable16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationPivotTable16 } from '@dhis2/ui-icons' +import { IconVisualizationPivotTable16 } from '@dhis2/ui' ``` @@ -4676,11 +4676,11 @@ import { SvgVisualizationPivotTable16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationPivotTable24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationPivotTable24 } from '@dhis2/ui-icons' +import { IconVisualizationPivotTable24 } from '@dhis2/ui' ``` @@ -4695,11 +4695,11 @@ import { SvgVisualizationPivotTable24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationRadar16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationRadar16 } from '@dhis2/ui-icons' +import { IconVisualizationRadar16 } from '@dhis2/ui' ``` @@ -4714,11 +4714,11 @@ import { SvgVisualizationRadar16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationRadar24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationRadar24 } from '@dhis2/ui-icons' +import { IconVisualizationRadar24 } from '@dhis2/ui' ``` @@ -4733,11 +4733,11 @@ import { SvgVisualizationRadar24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationScatter16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationScatter16 } from '@dhis2/ui-icons' +import { IconVisualizationScatter16 } from '@dhis2/ui' ``` @@ -4752,11 +4752,11 @@ import { SvgVisualizationScatter16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationScatter24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationScatter24 } from '@dhis2/ui-icons' +import { IconVisualizationScatter24 } from '@dhis2/ui' ``` @@ -4771,11 +4771,11 @@ import { SvgVisualizationScatter24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationSingleValue16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationSingleValue16 } from '@dhis2/ui-icons' +import { IconVisualizationSingleValue16 } from '@dhis2/ui' ``` @@ -4790,11 +4790,11 @@ import { SvgVisualizationSingleValue16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconVisualizationSingleValue24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgVisualizationSingleValue24 } from '@dhis2/ui-icons' +import { IconVisualizationSingleValue24 } from '@dhis2/ui' ``` @@ -4809,11 +4809,11 @@ import { SvgVisualizationSingleValue24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconWarning16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgWarning16 } from '@dhis2/ui-icons' +import { IconWarning16 } from '@dhis2/ui' ``` @@ -4828,11 +4828,11 @@ import { SvgWarning16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconWarning24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgWarning24 } from '@dhis2/ui-icons' +import { IconWarning24 } from '@dhis2/ui' ``` @@ -4847,11 +4847,11 @@ import { SvgWarning24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconWarningFilled16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgWarningFilled16 } from '@dhis2/ui-icons' +import { IconWarningFilled16 } from '@dhis2/ui' ``` @@ -4866,11 +4866,11 @@ import { SvgWarningFilled16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconWarningFilled24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgWarningFilled24 } from '@dhis2/ui-icons' +import { IconWarningFilled24 } from '@dhis2/ui' ``` @@ -4885,11 +4885,11 @@ import { SvgWarningFilled24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconWindow16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgWindow16 } from '@dhis2/ui-icons' +import { IconWindow16 } from '@dhis2/ui' ``` @@ -4904,11 +4904,11 @@ import { SvgWindow16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconWindow24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgWindow24 } from '@dhis2/ui-icons' +import { IconWindow24 } from '@dhis2/ui' ``` @@ -4923,11 +4923,11 @@ import { SvgWindow24 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconWorld16`, you can import the component from the `@dhis2/ui` library ```js -import { SvgWorld16 } from '@dhis2/ui-icons' +import { IconWorld16 } from '@dhis2/ui' ``` @@ -4942,11 +4942,11 @@ import { SvgWorld16 } from '@dhis2/ui-icons' #### Usage -**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package. +To use `IconWorld24`, you can import the component from the `@dhis2/ui` library ```js -import { SvgWorld24 } from '@dhis2/ui-icons' +import { IconWorld24 } from '@dhis2/ui' ``` diff --git a/scripts/generate-api-docs.js b/scripts/generate-api-docs.js index 743c92fb5d..7b340caa4c 100755 --- a/scripts/generate-api-docs.js +++ b/scripts/generate-api-docs.js @@ -11,7 +11,7 @@ const RE_OBJECTOF = /(?:React\.)?(?:PropTypes\.)?objectOf\((?:React\.)?(?:PropTypes\.)?(\w+)\)/ const format_type = (type) => { - switch (type.name.toLowerCase()) { + switch (type?.name.toLowerCase()) { case 'instanceof': { return `instanceOf(${type.value})` } @@ -66,7 +66,7 @@ const format_type = (type) => { return JSON.stringify(rst, null, 2).replace(/\n/g, '
') } default: { - return `${type.name}` + return `${type?.name}` } } } @@ -76,12 +76,16 @@ const format = ({ ast, pkg }) => { table += `### ${ast.displayName}\n\n` if (pkg?.name) { + // alter Svg to Icon as the actually exported value is Icon, not Svg + const toDisplayName = + ast.displayName.indexOf('Svg') !== -1 + ? ast.displayName.replace('Svg', 'Icon') + : ast.displayName table += '#### Usage\n\n' - table += - '**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package.\n\n' + table += `To use \`${toDisplayName}\`, you can import the component from the \`@dhis2/ui\` library \n\n` table += ` \`\`\`js -import { ${ast.displayName} } from '${pkg.name}' +import { ${toDisplayName} } from '@dhis2/ui' \`\`\`\n\n ` } @@ -96,7 +100,7 @@ import { ${ast.displayName} } from '${pkg.name}' defaultValue ? `\`${defaultValue.value}\`` : '' }`, required: `${required ? '*' : ''}`, - description: description.replace(/\n/g, '
'), + description: description?.replace(/\n/g, '
') ?? '', type: `${format_type(type)}`, }) ) From f9b7a9b76109d21172347879d3f912666db595ab Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Wed, 1 May 2024 15:42:39 +0800 Subject: [PATCH 26/57] chore(github action): use node v20 in deploy tasks --- .github/workflows/dhis2-deploy-netlify.yml | 4 ++-- .github/workflows/dhis2-verify-lib.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dhis2-deploy-netlify.yml b/.github/workflows/dhis2-deploy-netlify.yml index e290aa4339..4ca3dc29a5 100644 --- a/.github/workflows/dhis2-deploy-netlify.yml +++ b/.github/workflows/dhis2-deploy-netlify.yml @@ -26,12 +26,12 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 14.x + node-version: 20.x - uses: c-hive/gha-yarn-cache@v1 - run: yarn install --frozen-lockfile - - run: yarn build + - run: yarn build:legacy - uses: nwtgck/actions-netlify@v1.1 with: diff --git a/.github/workflows/dhis2-verify-lib.yml b/.github/workflows/dhis2-verify-lib.yml index 1970b4a8c8..b66dd7c29d 100644 --- a/.github/workflows/dhis2-verify-lib.yml +++ b/.github/workflows/dhis2-verify-lib.yml @@ -29,7 +29,7 @@ jobs: NODE_OPTIONS=--openssl-legacy-provider yarn setup - name: Build - run: NODE_OPTIONS=--openssl-legacy-provider yarn build + run: yarn build:legacy - run: ./scripts/create-artifact.sh From 41438638bceb12d17a6320d5b8b4ec1622e407c6 Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Wed, 1 May 2024 19:30:45 +0800 Subject: [PATCH 27/57] chore: update to latest dhis2 cypress utils --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b8f1f51be7..79bcc3579a 100644 --- a/package.json +++ b/package.json @@ -63,8 +63,8 @@ "@dhis2/cli-app-scripts": "^8.0.0", "@dhis2/cli-style": "10.4.2", "@dhis2/cli-utils-docsite": "^3.1.2", - "@dhis2/cypress-commands": "^10.0.3", - "@dhis2/cypress-plugins": "^10.0.3", + "@dhis2/cypress-commands": "^10.0.4", + "@dhis2/cypress-plugins": "^10.0.4", "@manypkg/cli": "^0.18.0", "@svgr/cli": "^5.5.0", "@testing-library/jest-dom": "^5.16.1", From 25bea456705ceb42c4ba966392a078d7b77e3d0a Mon Sep 17 00:00:00 2001 From: ismay Date: Wed, 1 May 2024 13:37:18 +0200 Subject: [PATCH 28/57] chore: update lockfile --- yarn.lock | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/yarn.lock b/yarn.lock index 9b0d7657b5..54de4ee1f3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2609,17 +2609,17 @@ react-docgen "^6.0.0-alpha.0" url-join "^4.0.1" -"@dhis2/cypress-commands@^10.0.3": - version "10.0.3" - resolved "https://registry.yarnpkg.com/@dhis2/cypress-commands/-/cypress-commands-10.0.3.tgz#dae315cc839ff57965f307c2d2d34277c19592d4" - integrity sha512-K+GJtnzZGg62Qe67d/5Fl662s5VXnvhB55TTDoTcL/7Euawxyo1FC7ZrLXJExM2C1z0ic5WfZ7MH6EUsS6OfqQ== +"@dhis2/cypress-commands@^10.0.4": + version "10.0.4" + resolved "https://registry.yarnpkg.com/@dhis2/cypress-commands/-/cypress-commands-10.0.4.tgz#759e9cd9ebf7f03e61badb88930fcade2ae1781b" + integrity sha512-srR5tWbnCKuG3dldwWcv9GpUsEq46nE1KyABTEk4konT7jLVA7J87AfwhlOdEIv1iHN0fgAT5P3atd2IQmWtzw== dependencies: jscodeshift "^0.11.0" -"@dhis2/cypress-plugins@^10.0.3": - version "10.0.3" - resolved "https://registry.yarnpkg.com/@dhis2/cypress-plugins/-/cypress-plugins-10.0.3.tgz#83403aca333e2b356f7ea92c272d3ca00d00276d" - integrity sha512-MYIkWI/kCR4hoqvD+spmbXcdoNL/EFX3HZuyRCGUErj5ChJmyWX7jQtDq/twd7GFRma0IqwTtOwaiKAxLRv/Nw== +"@dhis2/cypress-plugins@^10.0.4": + version "10.0.4" + resolved "https://registry.yarnpkg.com/@dhis2/cypress-plugins/-/cypress-plugins-10.0.4.tgz#aaef0d1437a5469c0eb72d3cbb8eb6b92cc1048d" + integrity sha512-yOVasxprapavFCW7iGahnCIXxtJN51GPuSjjOFg+PWdvLQFkKhf1e5lPL3ALpOLr8rz9evd5Ex+4CBwnesMT9w== "@dhis2/d2-i18n@^1.1.0": version "1.1.0" @@ -23787,6 +23787,7 @@ workerpool@6.2.1: integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw== "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: + name wrap-ansi-cjs version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== From c7bcc68a5d9496a53f7e8933d1f48699f403a8cb Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Mon, 6 May 2024 17:20:02 +0800 Subject: [PATCH 29/57] fix: upgrade @dhis2/cypress-commands and @dhis2/cypress-plugins to 10.0.5 --- package.json | 4 ++-- yarn.lock | 58 ++++++++++++++++++++++++++++++++++++++++------------ 2 files changed, 47 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 79bcc3579a..d82d82b998 100644 --- a/package.json +++ b/package.json @@ -63,8 +63,8 @@ "@dhis2/cli-app-scripts": "^8.0.0", "@dhis2/cli-style": "10.4.2", "@dhis2/cli-utils-docsite": "^3.1.2", - "@dhis2/cypress-commands": "^10.0.4", - "@dhis2/cypress-plugins": "^10.0.4", + "@dhis2/cypress-commands": "^10.0.5", + "@dhis2/cypress-plugins": "^10.0.5", "@manypkg/cli": "^0.18.0", "@svgr/cli": "^5.5.0", "@testing-library/jest-dom": "^5.16.1", diff --git a/yarn.lock b/yarn.lock index 54de4ee1f3..15c684e11d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2609,17 +2609,17 @@ react-docgen "^6.0.0-alpha.0" url-join "^4.0.1" -"@dhis2/cypress-commands@^10.0.4": - version "10.0.4" - resolved "https://registry.yarnpkg.com/@dhis2/cypress-commands/-/cypress-commands-10.0.4.tgz#759e9cd9ebf7f03e61badb88930fcade2ae1781b" - integrity sha512-srR5tWbnCKuG3dldwWcv9GpUsEq46nE1KyABTEk4konT7jLVA7J87AfwhlOdEIv1iHN0fgAT5P3atd2IQmWtzw== +"@dhis2/cypress-commands@^10.0.5": + version "10.0.5" + resolved "https://registry.yarnpkg.com/@dhis2/cypress-commands/-/cypress-commands-10.0.5.tgz#0fbe4ec12e5575ebea847f2f52d3e115056d4022" + integrity sha512-Jq+7WrJyEYxluSwaZjdIAoEmTwZlrSXbrQSJKSfIdoiJXmiJnDKvF0v5cgqpaF3XRwXL63Mk9c0WHtDYk4CrFw== dependencies: jscodeshift "^0.11.0" -"@dhis2/cypress-plugins@^10.0.4": - version "10.0.4" - resolved "https://registry.yarnpkg.com/@dhis2/cypress-plugins/-/cypress-plugins-10.0.4.tgz#aaef0d1437a5469c0eb72d3cbb8eb6b92cc1048d" - integrity sha512-yOVasxprapavFCW7iGahnCIXxtJN51GPuSjjOFg+PWdvLQFkKhf1e5lPL3ALpOLr8rz9evd5Ex+4CBwnesMT9w== +"@dhis2/cypress-plugins@^10.0.5": + version "10.0.5" + resolved "https://registry.yarnpkg.com/@dhis2/cypress-plugins/-/cypress-plugins-10.0.5.tgz#e841f2659bce9864062b52b398f9009821d35a04" + integrity sha512-Gwbpt8zW0z9iXwdCrIvnUtz1UfiNxkRz5qL7SxBlaRgjag3JC7M2l48zzJ0aGy2L3wGqTbJ9xrs3G1DC4Ydz1A== "@dhis2/d2-i18n@^1.1.0": version "1.1.0" @@ -3004,7 +3004,7 @@ "@docusaurus/theme-common" "2.0.0-beta.17" "@docusaurus/theme-search-algolia" "2.0.0-beta.17" -"@docusaurus/react-loadable@5.5.2", "react-loadable@npm:@docusaurus/react-loadable@5.5.2": +"@docusaurus/react-loadable@5.5.2": version "5.5.2" resolved "https://registry.yarnpkg.com/@docusaurus/react-loadable/-/react-loadable-5.5.2.tgz#81aae0db81ecafbdaee3651f12804580868fa6ce" integrity sha512-A3dYjdBGuy0IGT+wyLIGIKLRE+sAk1iNk0f1HjNDysO7u8lhL4N3VEm+FAubmJbAztn94F7MxBTPmnixbiyFdQ== @@ -19212,6 +19212,14 @@ react-loadable-ssr-addon-v5-slorber@^1.0.1: dependencies: "@babel/runtime" "^7.10.3" +"react-loadable@npm:@docusaurus/react-loadable@5.5.2": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@docusaurus/react-loadable/-/react-loadable-5.5.2.tgz#81aae0db81ecafbdaee3651f12804580868fa6ce" + integrity sha512-A3dYjdBGuy0IGT+wyLIGIKLRE+sAk1iNk0f1HjNDysO7u8lhL4N3VEm+FAubmJbAztn94F7MxBTPmnixbiyFdQ== + dependencies: + "@types/react" "*" + prop-types "^15.6.2" + react-popper-tooltip@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/react-popper-tooltip/-/react-popper-tooltip-3.1.1.tgz#329569eb7b287008f04fcbddb6370452ad3f9eac" @@ -21209,7 +21217,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.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, 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== @@ -21244,6 +21252,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.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, 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" @@ -21335,7 +21352,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.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== @@ -21349,6 +21366,13 @@ strip-ansi@6.0.0: dependencies: ansi-regex "^5.0.0" +strip-ansi@6.0.1, 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@^3.0.0, strip-ansi@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" @@ -23786,8 +23810,7 @@ workerpool@6.2.1: resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.2.1.tgz#46fc150c17d826b86a008e5a4508656777e9c343" integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: - name wrap-ansi-cjs +"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== @@ -23814,6 +23837,15 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.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.0.1: version "8.0.1" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.0.1.tgz#2101e861777fec527d0ea90c57c6b03aac56a5b3" From 38af73d133dd8b81a855876702b9da8c3f7c98c3 Mon Sep 17 00:00:00 2001 From: Rene Pot Date: Tue, 7 May 2024 10:58:23 -0400 Subject: [PATCH 30/57] docs: fix relative demo links to open in new tab (#1498) * docs: fix relative demo links to open in new tab * chore: fix formatting --- docs/docs/components/alertbar.md | 2 +- docs/docs/components/avatar.md | 2 +- docs/docs/components/button.md | 2 +- docs/docs/components/calendar.md | 6 +----- docs/docs/components/card.md | 2 +- docs/docs/components/checkbox.md | 2 +- docs/docs/components/chip.md | 2 +- docs/docs/components/data-table.md | 2 +- docs/docs/components/fileinput.md | 2 +- docs/docs/components/inputfield.md | 4 ++-- docs/docs/components/loading.md | 2 +- docs/docs/components/menu.md | 2 +- docs/docs/components/modal.md | 2 +- docs/docs/components/notice-box.md | 2 +- docs/docs/components/org-unit-tree.md | 2 +- docs/docs/components/pagination.md | 2 +- docs/docs/components/popover.md | 2 +- docs/docs/components/radio.md | 2 +- docs/docs/components/segmented-control.md | 2 +- docs/docs/components/select.md | 2 +- docs/docs/components/switch.md | 2 +- docs/docs/components/tab.md | 2 +- docs/docs/components/tag.md | 2 +- docs/docs/components/tooltip.md | 2 +- docs/docs/components/transfer.md | 2 +- 25 files changed, 26 insertions(+), 30 deletions(-) diff --git a/docs/docs/components/alertbar.md b/docs/docs/components/alertbar.md index ce9c55d133..6ad62ed254 100644 --- a/docs/docs/components/alertbar.md +++ b/docs/docs/components/alertbar.md @@ -224,4 +224,4 @@ import { AlertStack, AlertBar } from '@dhis2/ui' ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/feedback-alerts-alert-bar--default) +- Demo diff --git a/docs/docs/components/avatar.md b/docs/docs/components/avatar.md index 4220168ab0..03fffee556 100644 --- a/docs/docs/components/avatar.md +++ b/docs/docs/components/avatar.md @@ -65,4 +65,4 @@ The Demo above lists the different sizes available. The related JSX is: ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/utils-user-avatar--default) +- Demo diff --git a/docs/docs/components/button.md b/docs/docs/components/button.md index 6fa258091f..70a02cbbbb 100644 --- a/docs/docs/components/button.md +++ b/docs/docs/components/button.md @@ -231,4 +231,4 @@ Buttons are available in different sizes. Use the size that matches the usage gu ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/actions-buttons-button--basic) +- Demo diff --git a/docs/docs/components/calendar.md b/docs/docs/components/calendar.md index e579721b6c..9dde639cce 100644 --- a/docs/docs/components/calendar.md +++ b/docs/docs/components/calendar.md @@ -204,12 +204,8 @@ To display a calendar for the user to pick a day in any supported calendar syste ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/calendar--with-ethiopic) - +- Demo - [Design document](https://docs.google.com/document/d/19zjyB45oBbqC5KeubaU8E7cw9fGhFc3tOXY0GkzZKqc/edit#) - - [ADR for decision to use Temporal API](https://github.com/dhis2/multi-calendar-dates/blob/beta/doc/architecture/decisions/0002-use-temporal-api-as-the-backbone-for-the-engine.md) - - [multi-calendar-dates](https://github.com/dhis2/multi-calendar-dates) is the library that this component is built on top of. - - [Temporal API standard propsal](https://tc39.es/proposal-temporal/): the standard powering the multi-calendar-dates library diff --git a/docs/docs/components/card.md b/docs/docs/components/card.md index 0086c505d1..dde83cfd93 100644 --- a/docs/docs/components/card.md +++ b/docs/docs/components/card.md @@ -35,4 +35,4 @@ A card is a container element used to group together and separate blocks of cont ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/layout-card--default) +- Demo diff --git a/docs/docs/components/checkbox.md b/docs/docs/components/checkbox.md index 06f79e2a7e..46d317d2e9 100644 --- a/docs/docs/components/checkbox.md +++ b/docs/docs/components/checkbox.md @@ -55,4 +55,4 @@ Checkboxes are used to choose one or more items from a list. A checkbox can also ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/forms-checkbox-checkbox--default) +- Demo diff --git a/docs/docs/components/chip.md b/docs/docs/components/chip.md index dad956a78b..bd8c1e3ad6 100644 --- a/docs/docs/components/chip.md +++ b/docs/docs/components/chip.md @@ -101,4 +101,4 @@ Chips are used to select from a set of defined options. Chips can also represent ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/actions-chip--default) +- Demo diff --git a/docs/docs/components/data-table.md b/docs/docs/components/data-table.md index 29ca1a4961..6485e2d14c 100644 --- a/docs/docs/components/data-table.md +++ b/docs/docs/components/data-table.md @@ -194,4 +194,4 @@ Patterns are common ways of achieving some functionality. Patterns aren't offere ## Links -- [Demo](/demo/?path=/story/datatable--default) +- Demo diff --git a/docs/docs/components/fileinput.md b/docs/docs/components/fileinput.md index d1de2e8b4a..cfa9748a1c 100644 --- a/docs/docs/components/fileinput.md +++ b/docs/docs/components/fileinput.md @@ -107,4 +107,4 @@ A file input is used to choose and upload files. ## Links -- [Demo](/demo/?path=/story/file-input--default) +- Demo diff --git a/docs/docs/components/inputfield.md b/docs/docs/components/inputfield.md index 236d5af4ac..f3eec0a902 100644 --- a/docs/docs/components/inputfield.md +++ b/docs/docs/components/inputfield.md @@ -262,5 +262,5 @@ The following data types don't change the interaction with the input, but should ## Links -- [Demo](/demo/?path=/story/file-input-field--default) -- [`TextArea` demo](/demo/?path=/story/text-area--placeholder-no-value) +- Demo +- `TextArea`Demo diff --git a/docs/docs/components/loading.md b/docs/docs/components/loading.md index c4be767ddb..b7dbef9943 100644 --- a/docs/docs/components/loading.md +++ b/docs/docs/components/loading.md @@ -104,4 +104,4 @@ Loaders are used to show that something is in progress. They keep users informed ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/feedback-loading-indicators-circular-loader--default) +- Demo diff --git a/docs/docs/components/menu.md b/docs/docs/components/menu.md index ec0be1f67b..11aef00a17 100644 --- a/docs/docs/components/menu.md +++ b/docs/docs/components/menu.md @@ -249,4 +249,4 @@ A menu gives access to menu items, through a panel that opens from a trigger ele ## Links -- [Demo](/demo/?path=/story/flyout-menu--default) +- Demo diff --git a/docs/docs/components/modal.md b/docs/docs/components/modal.md index b6905db6e8..6f430258b4 100755 --- a/docs/docs/components/modal.md +++ b/docs/docs/components/modal.md @@ -179,4 +179,4 @@ The `hide` variable used in the demo's below are initiated using `useState(true) ## Links -- [Demo](/demo/?path=/story/modal--default-content) +- Demo diff --git a/docs/docs/components/notice-box.md b/docs/docs/components/notice-box.md index c50f2a65bc..99abd0d4e3 100644 --- a/docs/docs/components/notice-box.md +++ b/docs/docs/components/notice-box.md @@ -144,4 +144,4 @@ A notice box shows important information about a situation. ## Links -- [Demo](/demo/?path=/story/notice-box--default) +- Demo diff --git a/docs/docs/components/org-unit-tree.md b/docs/docs/components/org-unit-tree.md index c0c98faaf7..dbcdb1dd6e 100644 --- a/docs/docs/components/org-unit-tree.md +++ b/docs/docs/components/org-unit-tree.md @@ -41,4 +41,4 @@ An organisation unit tree is used to choose organisation units from a hierarchy. ## Links -- [Demo](/demo/?path=/story/organisation-unit-tree--collapsed) +- Demo diff --git a/docs/docs/components/pagination.md b/docs/docs/components/pagination.md index 4ca8aebef0..491f607024 100644 --- a/docs/docs/components/pagination.md +++ b/docs/docs/components/pagination.md @@ -104,4 +104,4 @@ Different elements of the pagination component can be included, depending on the ## Links -- [Demo](/demo/?path=/story/pagination--default) +- Demo diff --git a/docs/docs/components/popover.md b/docs/docs/components/popover.md index 3bedbd4182..23184b9c50 100644 --- a/docs/docs/components/popover.md +++ b/docs/docs/components/popover.md @@ -37,4 +37,4 @@ A popover is used to show more information when a user interacts with a trigger ## Links -- [Demo](/demo/?path=/story/popover--default) +- Demo diff --git a/docs/docs/components/radio.md b/docs/docs/components/radio.md index 2aa0386954..4a6192de55 100644 --- a/docs/docs/components/radio.md +++ b/docs/docs/components/radio.md @@ -61,4 +61,4 @@ Radio inputs are used to choose one item from a list. ## Links -- [Demo](/demo/?path=/story/radio--default) +- Demo diff --git a/docs/docs/components/segmented-control.md b/docs/docs/components/segmented-control.md index 3c6cf47520..1e1da41e50 100644 --- a/docs/docs/components/segmented-control.md +++ b/docs/docs/components/segmented-control.md @@ -82,4 +82,4 @@ The value of each property can be used to select the option, using the `selected ## Links -- [Demo](/demo/?path=/story/segmented-control--default) +- Demo diff --git a/docs/docs/components/select.md b/docs/docs/components/select.md index 1b1730b288..25e1b93f99 100644 --- a/docs/docs/components/select.md +++ b/docs/docs/components/select.md @@ -352,4 +352,4 @@ Selects are used to choose one or more items from a list of options. ## Links -- [Demo](/demo/?path=/story/single-select--with-options-and-on-change) +- Demo diff --git a/docs/docs/components/switch.md b/docs/docs/components/switch.md index 4cb22f1113..42399666f4 100644 --- a/docs/docs/components/switch.md +++ b/docs/docs/components/switch.md @@ -58,4 +58,4 @@ Switches are used to toggle something between an on and off state. ## Links -- [Demo](/demo/?path=/story/switch--default) +- Demo diff --git a/docs/docs/components/tab.md b/docs/docs/components/tab.md index f989e3ce36..ed27492cac 100644 --- a/docs/docs/components/tab.md +++ b/docs/docs/components/tab.md @@ -95,4 +95,4 @@ Tabs are used to navigate between different views within the same page or contex ## Links -- [Demo](/demo/?path=/story/tab-bar--default-fluid) +- Demo diff --git a/docs/docs/components/tag.md b/docs/docs/components/tag.md index b8c07d2388..f93c9aa182 100644 --- a/docs/docs/components/tag.md +++ b/docs/docs/components/tag.md @@ -95,4 +95,4 @@ Tags are used to label items by a set of shared properties, like category or sta ## Links -- [Demo](/demo/?path=/story/tag--default) +- Demo diff --git a/docs/docs/components/tooltip.md b/docs/docs/components/tooltip.md index ab07d7173b..74c387f784 100644 --- a/docs/docs/components/tooltip.md +++ b/docs/docs/components/tooltip.md @@ -80,4 +80,4 @@ A tooltip is used to show contextual information when triggered by clicking, foc ## Links -- [Demo](/demo/?path=/story/tooltip--default-placement-top) +- Demo diff --git a/docs/docs/components/transfer.md b/docs/docs/components/transfer.md index ebc5340ff0..cd7a508eb6 100644 --- a/docs/docs/components/transfer.md +++ b/docs/docs/components/transfer.md @@ -158,4 +158,4 @@ The footer component is as follows: ## Links -- [Demo](https://ui.dhis2.nu/demo/?path=/story/forms-transfer--multiple) +- Demo From 7de6dc5b805abee8f3ff8538ba5f0414e8240802 Mon Sep 17 00:00:00 2001 From: Flaminia Cavallo Date: Wed, 8 May 2024 12:13:12 +0200 Subject: [PATCH 31/57] fix: li key to be unique --- components/segmented-control/src/segmented-control.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/segmented-control/src/segmented-control.js b/components/segmented-control/src/segmented-control.js index 6eee2338a3..45e1921e7a 100644 --- a/components/segmented-control/src/segmented-control.js +++ b/components/segmented-control/src/segmented-control.js @@ -35,7 +35,7 @@ export const SegmentedControl = ({ return (