diff --git a/CHANGELOG.md b/CHANGELOG.md index 0885898eb..083216eae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [9.11.5](https://github.com/dhis2/ui/compare/v9.11.4...v9.11.5) (2024-09-26) + + +### Bug Fixes + +* update default props to JS default params ([#1598](https://github.com/dhis2/ui/issues/1598)) ([20e343f](https://github.com/dhis2/ui/commit/20e343fc9e34570dcd8678ddb449d48c5b62a140)) + ## [9.11.4](https://github.com/dhis2/ui/compare/v9.11.3...v9.11.4) (2024-09-10) diff --git a/collections/forms/package.json b/collections/forms/package.json index ebe918ef9..ebc724c8d 100644 --- a/collections/forms/package.json +++ b/collections/forms/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2/ui-forms", - "version": "9.11.4", + "version": "9.11.5", "main": "./build/cjs/index.js", "module": "./build/es/index.js", "sideEffects": [ @@ -35,15 +35,15 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/button": "9.11.4", - "@dhis2-ui/checkbox": "9.11.4", - "@dhis2-ui/field": "9.11.4", - "@dhis2-ui/file-input": "9.11.4", - "@dhis2-ui/input": "9.11.4", - "@dhis2-ui/radio": "9.11.4", - "@dhis2-ui/select": "9.11.4", - "@dhis2-ui/switch": "9.11.4", - "@dhis2-ui/text-area": "9.11.4", + "@dhis2-ui/button": "9.11.5", + "@dhis2-ui/checkbox": "9.11.5", + "@dhis2-ui/field": "9.11.5", + "@dhis2-ui/file-input": "9.11.5", + "@dhis2-ui/input": "9.11.5", + "@dhis2-ui/radio": "9.11.5", + "@dhis2-ui/select": "9.11.5", + "@dhis2-ui/switch": "9.11.5", + "@dhis2-ui/text-area": "9.11.5", "classnames": "^2.3.1", "final-form": "^4.20.2", "prop-types": "^15.7.2", diff --git a/collections/ui/API.md b/collections/ui/API.md index eb27fb75a..e1167a3c0 100644 --- a/collections/ui/API.md +++ b/collections/ui/API.md @@ -243,11 +243,6 @@ import { CalendarInput } from '@dhis2/ui' ``` -#### Props - -|Name|Type|Default|Required|Description| -|---|---|---|---|---| -|dataTest|undefined|`'dhis2-uiwidgets-calendar-inputfield'`||| ### Card @@ -781,7 +776,7 @@ import { Input } from '@dhis2/ui' |role|string|||Sets a role attribute on the input| |step|string|||The [native `step` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-step), for use when `type` is `'number'`| |tabIndex|string|||| -|type|'text' │ 'number' │ 'password' │ 'email' │ 'url' │ 'tel' │ 'date' │ 'datetime' │ 'datetime-local' │ 'month' │ 'week' │ 'time' │ 'search'|`'text'`||The native input `type` attribute| +|type|inputTypes|`'text'`||The native input `type` attribute| |valid|custom|||Applies 'valid' appearance for validation feedback. Mutually exclusive with `error` and `warning` props| |value|string|||Value in the input. Can be used to control the component (recommended). Passed to event handler callbacks in object| |warning|custom|||Applies 'warning' appearance for validation feedback. Mutually exclusive with `valid` and `error` props| @@ -825,7 +820,7 @@ import { InputField } from '@dhis2/ui' |required|boolean|||Indicates this input is required| |step|string|||The [native `step` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-step), for use when `type` is `'number'`| |tabIndex|string|||| -|type|custom|||Type of input| +|type|inputTypes|||Type of input| |valid|custom|||Applies 'valid' appearance for validation feedback. Mutually exclusive with `error` and `warning` props| |validationText|string|||Text below input for validation feedback. Receives styles depending on validation status| |value|string|||Value in the input. Can be used to control the component (recommended). Passed to event handler callbacks in object| @@ -1447,7 +1442,7 @@ import { Pagination } from '@dhis2/ui' |pageSelectText|string │ function|`() => i18n.t('Page')`||| |pageSizeSelectText|string │ function|`() => i18n.t('Items per page')`||| |pageSizes|arrayOf(string)|`['5', '10', '20', '30', '40', '50', '75', '100']`||| -|pageSummaryText|string │ function|`getDefaultPageSummaryText`||| +|pageSummaryText|string │ function|||| |previousPageText|string │ function|`() => i18n.t('Previous')`||| |total|number|||| |onPageChange|function|||| @@ -2692,7 +2687,7 @@ import { TableHead } from '@dhis2/ui' |---|---|---|---|---| |children|node|||Should be `` components| |className|string|||| -|dataTest|string|`'dhis2-uicore-tablehead'`||| +|dataTest|string|||| |role|string|||| ### TableRow diff --git a/collections/ui/package.json b/collections/ui/package.json index 872a6fcdd..6dac27184 100644 --- a/collections/ui/package.json +++ b/collections/ui/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2/ui", - "version": "9.11.4", + "version": "9.11.5", "main": "./build/cjs/index.js", "module": "./build/es/index.js", "exports": { @@ -21,54 +21,54 @@ "build": "d2-app-scripts build" }, "dependencies": { - "@dhis2-ui/alert": "9.11.4", - "@dhis2-ui/box": "9.11.4", - "@dhis2-ui/button": "9.11.4", - "@dhis2-ui/calendar": "9.11.4", - "@dhis2-ui/card": "9.11.4", - "@dhis2-ui/center": "9.11.4", - "@dhis2-ui/checkbox": "9.11.4", - "@dhis2-ui/chip": "9.11.4", - "@dhis2-ui/cover": "9.11.4", - "@dhis2-ui/css": "9.11.4", - "@dhis2-ui/divider": "9.11.4", - "@dhis2-ui/field": "9.11.4", - "@dhis2-ui/file-input": "9.11.4", - "@dhis2-ui/header-bar": "9.11.4", - "@dhis2-ui/help": "9.11.4", - "@dhis2-ui/input": "9.11.4", - "@dhis2-ui/intersection-detector": "9.11.4", - "@dhis2-ui/label": "9.11.4", - "@dhis2-ui/layer": "9.11.4", - "@dhis2-ui/legend": "9.11.4", - "@dhis2-ui/loader": "9.11.4", - "@dhis2-ui/logo": "9.11.4", - "@dhis2-ui/menu": "9.11.4", - "@dhis2-ui/modal": "9.11.4", - "@dhis2-ui/node": "9.11.4", - "@dhis2-ui/notice-box": "9.11.4", - "@dhis2-ui/organisation-unit-tree": "9.11.4", - "@dhis2-ui/pagination": "9.11.4", - "@dhis2-ui/popover": "9.11.4", - "@dhis2-ui/popper": "9.11.4", - "@dhis2-ui/portal": "9.11.4", - "@dhis2-ui/radio": "9.11.4", - "@dhis2-ui/required": "9.11.4", - "@dhis2-ui/segmented-control": "9.11.4", - "@dhis2-ui/select": "9.11.4", - "@dhis2-ui/selector-bar": "9.11.4", - "@dhis2-ui/sharing-dialog": "9.11.4", - "@dhis2-ui/switch": "9.11.4", - "@dhis2-ui/tab": "9.11.4", - "@dhis2-ui/table": "9.11.4", - "@dhis2-ui/tag": "9.11.4", - "@dhis2-ui/text-area": "9.11.4", - "@dhis2-ui/tooltip": "9.11.4", - "@dhis2-ui/transfer": "9.11.4", - "@dhis2-ui/user-avatar": "9.11.4", - "@dhis2/ui-constants": "9.11.4", - "@dhis2/ui-forms": "9.11.4", - "@dhis2/ui-icons": "9.11.4", + "@dhis2-ui/alert": "9.11.5", + "@dhis2-ui/box": "9.11.5", + "@dhis2-ui/button": "9.11.5", + "@dhis2-ui/calendar": "9.11.5", + "@dhis2-ui/card": "9.11.5", + "@dhis2-ui/center": "9.11.5", + "@dhis2-ui/checkbox": "9.11.5", + "@dhis2-ui/chip": "9.11.5", + "@dhis2-ui/cover": "9.11.5", + "@dhis2-ui/css": "9.11.5", + "@dhis2-ui/divider": "9.11.5", + "@dhis2-ui/field": "9.11.5", + "@dhis2-ui/file-input": "9.11.5", + "@dhis2-ui/header-bar": "9.11.5", + "@dhis2-ui/help": "9.11.5", + "@dhis2-ui/input": "9.11.5", + "@dhis2-ui/intersection-detector": "9.11.5", + "@dhis2-ui/label": "9.11.5", + "@dhis2-ui/layer": "9.11.5", + "@dhis2-ui/legend": "9.11.5", + "@dhis2-ui/loader": "9.11.5", + "@dhis2-ui/logo": "9.11.5", + "@dhis2-ui/menu": "9.11.5", + "@dhis2-ui/modal": "9.11.5", + "@dhis2-ui/node": "9.11.5", + "@dhis2-ui/notice-box": "9.11.5", + "@dhis2-ui/organisation-unit-tree": "9.11.5", + "@dhis2-ui/pagination": "9.11.5", + "@dhis2-ui/popover": "9.11.5", + "@dhis2-ui/popper": "9.11.5", + "@dhis2-ui/portal": "9.11.5", + "@dhis2-ui/radio": "9.11.5", + "@dhis2-ui/required": "9.11.5", + "@dhis2-ui/segmented-control": "9.11.5", + "@dhis2-ui/select": "9.11.5", + "@dhis2-ui/selector-bar": "9.11.5", + "@dhis2-ui/sharing-dialog": "9.11.5", + "@dhis2-ui/switch": "9.11.5", + "@dhis2-ui/tab": "9.11.5", + "@dhis2-ui/table": "9.11.5", + "@dhis2-ui/tag": "9.11.5", + "@dhis2-ui/text-area": "9.11.5", + "@dhis2-ui/tooltip": "9.11.5", + "@dhis2-ui/transfer": "9.11.5", + "@dhis2-ui/user-avatar": "9.11.5", + "@dhis2/ui-constants": "9.11.5", + "@dhis2/ui-forms": "9.11.5", + "@dhis2/ui-icons": "9.11.5", "prop-types": "^15.7.2" }, "peerDependencies": { diff --git a/components/alert/package.json b/components/alert/package.json index 308f9c4c4..f7f2cfca0 100644 --- a/components/alert/package.json +++ b/components/alert/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/alert", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Alert", "repository": { "type": "git", @@ -33,9 +33,9 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/portal": "9.11.4", - "@dhis2/ui-constants": "9.11.4", - "@dhis2/ui-icons": "9.11.4", + "@dhis2-ui/portal": "9.11.5", + "@dhis2/ui-constants": "9.11.5", + "@dhis2/ui-icons": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/box/package.json b/components/box/package.json index ab8675213..bbbce87bb 100644 --- a/components/box/package.json +++ b/components/box/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/box", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Box", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/button/package.json b/components/button/package.json index 42bcf2d1a..6ddba91e9 100644 --- a/components/button/package.json +++ b/components/button/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/button", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Button", "repository": { "type": "git", @@ -33,11 +33,11 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/layer": "9.11.4", - "@dhis2-ui/loader": "9.11.4", - "@dhis2-ui/popper": "9.11.4", - "@dhis2/ui-constants": "9.11.4", - "@dhis2/ui-icons": "9.11.4", + "@dhis2-ui/layer": "9.11.5", + "@dhis2-ui/loader": "9.11.5", + "@dhis2-ui/popper": "9.11.5", + "@dhis2/ui-constants": "9.11.5", + "@dhis2/ui-icons": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/calendar/API.md b/components/calendar/API.md index 26f8eaac5..618b1519b 100644 --- a/components/calendar/API.md +++ b/components/calendar/API.md @@ -37,8 +37,3 @@ import { CalendarInput } from '@dhis2/ui' ``` -#### Props - -|Name|Type|Default|Required|Description| -|---|---|---|---|---| -|dataTest|undefined|`'dhis2-uiwidgets-calendar-inputfield'`||| diff --git a/components/calendar/package.json b/components/calendar/package.json index 4255f80d4..c72205f3f 100644 --- a/components/calendar/package.json +++ b/components/calendar/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/calendar", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Calendar", "repository": { "type": "git", @@ -33,15 +33,15 @@ "styled-jsx": "^4" }, "dependencies": { - "@dhis2-ui/button": "9.11.4", - "@dhis2-ui/card": "9.11.4", - "@dhis2-ui/input": "9.11.4", - "@dhis2-ui/layer": "9.11.4", - "@dhis2-ui/popper": "9.11.4", + "@dhis2-ui/button": "9.11.5", + "@dhis2-ui/card": "9.11.5", + "@dhis2-ui/input": "9.11.5", + "@dhis2-ui/layer": "9.11.5", + "@dhis2-ui/popper": "9.11.5", "@dhis2/multi-calendar-dates": "^1.2.3", "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", - "@dhis2/ui-icons": "9.11.4", + "@dhis2/ui-constants": "9.11.5", + "@dhis2/ui-icons": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/card/package.json b/components/card/package.json index 1d605435d..3089acbec 100644 --- a/components/card/package.json +++ b/components/card/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/card", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Card", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/center/package.json b/components/center/package.json index 7781f841f..9c20d8762 100644 --- a/components/center/package.json +++ b/components/center/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/center", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Center", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/checkbox/package.json b/components/checkbox/package.json index 2fe464436..35d1b32aa 100644 --- a/components/checkbox/package.json +++ b/components/checkbox/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/checkbox", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Checkbox", "repository": { "type": "git", @@ -33,9 +33,9 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/field": "9.11.4", - "@dhis2-ui/required": "9.11.4", - "@dhis2/ui-constants": "9.11.4", + "@dhis2-ui/field": "9.11.5", + "@dhis2-ui/required": "9.11.5", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/chip/package.json b/components/chip/package.json index 9375c901c..9988df655 100644 --- a/components/chip/package.json +++ b/components/chip/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/chip", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Chip", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/cover/package.json b/components/cover/package.json index f497e39cf..921355ea5 100644 --- a/components/cover/package.json +++ b/components/cover/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/cover", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Cover", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/css/package.json b/components/css/package.json index a6d01c140..6a7ed606d 100644 --- a/components/css/package.json +++ b/components/css/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/css", - "version": "9.11.4", + "version": "9.11.5", "description": "UI CSS", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/divider/package.json b/components/divider/package.json index 9e619de87..cd69c14a2 100644 --- a/components/divider/package.json +++ b/components/divider/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/divider", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Divider", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/field/package.json b/components/field/package.json index 3e89e064b..93eb917ea 100644 --- a/components/field/package.json +++ b/components/field/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/field", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Field", "repository": { "type": "git", @@ -33,10 +33,10 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/box": "9.11.4", - "@dhis2-ui/help": "9.11.4", - "@dhis2-ui/label": "9.11.4", - "@dhis2/ui-constants": "9.11.4", + "@dhis2-ui/box": "9.11.5", + "@dhis2-ui/help": "9.11.5", + "@dhis2-ui/label": "9.11.5", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/file-input/API.md b/components/file-input/API.md index 6ba7b0b6a..24a7ae02b 100644 --- a/components/file-input/API.md +++ b/components/file-input/API.md @@ -91,13 +91,13 @@ import { FileInputFieldWithList } from '@dhis2/ui' |Name|Type|Default|Required|Description| |---|---|---|---|---| |onChange|function||*|Called with signature `({ name: string, files: [File] }, event)`| -|accept|string|||The `accept` attribute of the [native file input](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept)| +|accept|string|`'*'`||The `accept` attribute of the [native file input](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept)| |buttonLabel|string │ function|`() => i18n.t('Upload a file')`||Text on the button| |className|string|||| -|dataTest|string|`'dhis2-uiwidgets-fileinputfieldwithlist'`||| +|dataTest|string|`'dhis2-uiwidgets-fileinputfield'`||| |disabled|boolean|||Disables the button| |error|custom|||Applies 'error' styling to the button and validation text. Mutually exclusive with `warning` and `valid` props| -|files|arrayOf(instanceOf(File))|`[]`||| +|files|arrayOf(instanceOf(File))|||| |helpText|string|||Useful guiding text for the user| |initialFocus|boolean|||| |label|string|||A descriptive label above the button| diff --git a/components/file-input/package.json b/components/file-input/package.json index 2e233e445..ff851777b 100644 --- a/components/file-input/package.json +++ b/components/file-input/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/file-input", - "version": "9.11.4", + "version": "9.11.5", "description": "UI FileInput", "repository": { "type": "git", @@ -34,13 +34,13 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/button": "9.11.4", - "@dhis2-ui/field": "9.11.4", - "@dhis2-ui/label": "9.11.4", - "@dhis2-ui/loader": "9.11.4", - "@dhis2-ui/status-icon": "9.11.4", - "@dhis2/ui-constants": "9.11.4", - "@dhis2/ui-icons": "9.11.4", + "@dhis2-ui/button": "9.11.5", + "@dhis2-ui/field": "9.11.5", + "@dhis2-ui/label": "9.11.5", + "@dhis2-ui/loader": "9.11.5", + "@dhis2-ui/status-icon": "9.11.5", + "@dhis2/ui-constants": "9.11.5", + "@dhis2/ui-icons": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/header-bar/package.json b/components/header-bar/package.json index 31e1f2b73..cdbbdc4ad 100644 --- a/components/header-bar/package.json +++ b/components/header-bar/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/header-bar", - "version": "9.11.4", + "version": "9.11.5", "description": "UI HeaderBar", "repository": { "type": "git", @@ -34,21 +34,21 @@ "styled-jsx": "^4" }, "dependencies": { - "@dhis2-ui/box": "9.11.4", - "@dhis2-ui/button": "9.11.4", - "@dhis2-ui/card": "9.11.4", - "@dhis2-ui/center": "9.11.4", - "@dhis2-ui/divider": "9.11.4", - "@dhis2-ui/input": "9.11.4", - "@dhis2-ui/layer": "9.11.4", - "@dhis2-ui/loader": "9.11.4", - "@dhis2-ui/logo": "9.11.4", - "@dhis2-ui/menu": "9.11.4", - "@dhis2-ui/modal": "9.11.4", - "@dhis2-ui/user-avatar": "9.11.4", + "@dhis2-ui/box": "9.11.5", + "@dhis2-ui/button": "9.11.5", + "@dhis2-ui/card": "9.11.5", + "@dhis2-ui/center": "9.11.5", + "@dhis2-ui/divider": "9.11.5", + "@dhis2-ui/input": "9.11.5", + "@dhis2-ui/layer": "9.11.5", + "@dhis2-ui/loader": "9.11.5", + "@dhis2-ui/logo": "9.11.5", + "@dhis2-ui/menu": "9.11.5", + "@dhis2-ui/modal": "9.11.5", + "@dhis2-ui/user-avatar": "9.11.5", "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", - "@dhis2/ui-icons": "9.11.4", + "@dhis2/ui-constants": "9.11.5", + "@dhis2/ui-icons": "9.11.5", "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 4978accda..d104b51a7 100644 --- a/components/help/package.json +++ b/components/help/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/help", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Help", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/input/API.md b/components/input/API.md index 5dc45b78e..9eccd3613 100644 --- a/components/input/API.md +++ b/components/input/API.md @@ -30,7 +30,7 @@ import { Input } from '@dhis2/ui' |role|string|||Sets a role attribute on the input| |step|string|||The [native `step` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-step), for use when `type` is `'number'`| |tabIndex|string|||| -|type|'text' │ 'number' │ 'password' │ 'email' │ 'url' │ 'tel' │ 'date' │ 'datetime' │ 'datetime-local' │ 'month' │ 'week' │ 'time' │ 'search'|`'text'`||The native input `type` attribute| +|type|inputTypes|`'text'`||The native input `type` attribute| |valid|custom|||Applies 'valid' appearance for validation feedback. Mutually exclusive with `error` and `warning` props| |value|string|||Value in the input. Can be used to control the component (recommended). Passed to event handler callbacks in object| |warning|custom|||Applies 'warning' appearance for validation feedback. Mutually exclusive with `valid` and `error` props| @@ -74,7 +74,7 @@ import { InputField } from '@dhis2/ui' |required|boolean|||Indicates this input is required| |step|string|||The [native `step` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-step), for use when `type` is `'number'`| |tabIndex|string|||| -|type|custom|||Type of input| +|type|inputTypes|||Type of input| |valid|custom|||Applies 'valid' appearance for validation feedback. Mutually exclusive with `error` and `warning` props| |validationText|string|||Text below input for validation feedback. Receives styles depending on validation status| |value|string|||Value in the input. Can be used to control the component (recommended). Passed to event handler callbacks in object| diff --git a/components/input/package.json b/components/input/package.json index 9a7cd42ff..c1106fb8b 100644 --- a/components/input/package.json +++ b/components/input/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/input", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Input", "repository": { "type": "git", @@ -33,13 +33,13 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/box": "9.11.4", - "@dhis2-ui/field": "9.11.4", - "@dhis2-ui/input": "9.11.4", - "@dhis2-ui/loader": "9.11.4", - "@dhis2-ui/status-icon": "9.11.4", - "@dhis2/ui-constants": "9.11.4", - "@dhis2/ui-icons": "9.11.4", + "@dhis2-ui/box": "9.11.5", + "@dhis2-ui/field": "9.11.5", + "@dhis2-ui/input": "9.11.5", + "@dhis2-ui/loader": "9.11.5", + "@dhis2-ui/status-icon": "9.11.5", + "@dhis2/ui-constants": "9.11.5", + "@dhis2/ui-icons": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/intersection-detector/package.json b/components/intersection-detector/package.json index 2c34d4e0f..7cf3f2522 100644 --- a/components/intersection-detector/package.json +++ b/components/intersection-detector/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/intersection-detector", - "version": "9.11.4", + "version": "9.11.5", "description": "UI IntersectionDetector", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/label/package.json b/components/label/package.json index a9aa973e9..45013a924 100644 --- a/components/label/package.json +++ b/components/label/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/label", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Label", "repository": { "type": "git", @@ -33,8 +33,8 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/required": "9.11.4", - "@dhis2/ui-constants": "9.11.4", + "@dhis2-ui/required": "9.11.5", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/layer/package.json b/components/layer/package.json index eb193ea1c..c6973db61 100644 --- a/components/layer/package.json +++ b/components/layer/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/layer", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Layer", "repository": { "type": "git", @@ -33,8 +33,8 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/portal": "9.11.4", - "@dhis2/ui-constants": "9.11.4", + "@dhis2-ui/portal": "9.11.5", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/legend/package.json b/components/legend/package.json index b14ee9501..2a5cb1ed7 100644 --- a/components/legend/package.json +++ b/components/legend/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/legend", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Legend", "repository": { "type": "git", @@ -33,8 +33,8 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/required": "9.11.4", - "@dhis2/ui-constants": "9.11.4", + "@dhis2-ui/required": "9.11.5", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/loader/package.json b/components/loader/package.json index 5585157a1..fa1000dd7 100644 --- a/components/loader/package.json +++ b/components/loader/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/loader", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Loaders", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/logo/package.json b/components/logo/package.json index 79d39d422..1b0cc16a0 100644 --- a/components/logo/package.json +++ b/components/logo/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/logo", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Logo", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/menu/package.json b/components/menu/package.json index 6465a38ed..bddddf52d 100644 --- a/components/menu/package.json +++ b/components/menu/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/menu", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Menu", "repository": { "type": "git", @@ -33,13 +33,13 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/card": "9.11.4", - "@dhis2-ui/divider": "9.11.4", - "@dhis2-ui/layer": "9.11.4", - "@dhis2-ui/popper": "9.11.4", - "@dhis2-ui/portal": "9.11.4", - "@dhis2/ui-constants": "9.11.4", - "@dhis2/ui-icons": "9.11.4", + "@dhis2-ui/card": "9.11.5", + "@dhis2-ui/divider": "9.11.5", + "@dhis2-ui/layer": "9.11.5", + "@dhis2-ui/popper": "9.11.5", + "@dhis2-ui/portal": "9.11.5", + "@dhis2/ui-constants": "9.11.5", + "@dhis2/ui-icons": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/modal/package.json b/components/modal/package.json index ff363ce4b..4e1683c83 100644 --- a/components/modal/package.json +++ b/components/modal/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/modal", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Modal", "repository": { "type": "git", @@ -33,12 +33,12 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/card": "9.11.4", - "@dhis2-ui/center": "9.11.4", - "@dhis2-ui/layer": "9.11.4", - "@dhis2-ui/portal": "9.11.4", - "@dhis2/ui-constants": "9.11.4", - "@dhis2/ui-icons": "9.11.4", + "@dhis2-ui/card": "9.11.5", + "@dhis2-ui/center": "9.11.5", + "@dhis2-ui/layer": "9.11.5", + "@dhis2-ui/portal": "9.11.5", + "@dhis2/ui-constants": "9.11.5", + "@dhis2/ui-icons": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/node/package.json b/components/node/package.json index b643d41e3..b2ae21ded 100644 --- a/components/node/package.json +++ b/components/node/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/node", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Node", "repository": { "type": "git", @@ -33,8 +33,8 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/loader": "9.11.4", - "@dhis2/ui-constants": "9.11.4", + "@dhis2-ui/loader": "9.11.5", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/notice-box/package.json b/components/notice-box/package.json index 81a2fafa3..cc64dc5d5 100644 --- a/components/notice-box/package.json +++ b/components/notice-box/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/notice-box", - "version": "9.11.4", + "version": "9.11.5", "description": "UI NoticeBox", "repository": { "type": "git", @@ -33,8 +33,8 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", - "@dhis2/ui-icons": "9.11.4", + "@dhis2/ui-constants": "9.11.5", + "@dhis2/ui-icons": "9.11.5", "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 baca312dc..35305ee0c 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.11.4", + "version": "9.11.5", "description": "UI OrganisationUnitTree", "repository": { "type": "git", @@ -35,11 +35,11 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/button": "9.11.4", - "@dhis2-ui/checkbox": "9.11.4", - "@dhis2-ui/loader": "9.11.4", - "@dhis2-ui/node": "9.11.4", - "@dhis2/ui-constants": "9.11.4", + "@dhis2-ui/button": "9.11.5", + "@dhis2-ui/checkbox": "9.11.5", + "@dhis2-ui/loader": "9.11.5", + "@dhis2-ui/node": "9.11.5", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/pagination/API.md b/components/pagination/API.md index f178579a1..5ada147eb 100644 --- a/components/pagination/API.md +++ b/components/pagination/API.md @@ -29,7 +29,7 @@ import { Pagination } from '@dhis2/ui' |pageSelectText|string │ function|`() => i18n.t('Page')`||| |pageSizeSelectText|string │ function|`() => i18n.t('Items per page')`||| |pageSizes|arrayOf(string)|`['5', '10', '20', '30', '40', '50', '75', '100']`||| -|pageSummaryText|string │ function|`getDefaultPageSummaryText`||| +|pageSummaryText|string │ function|||| |previousPageText|string │ function|`() => i18n.t('Previous')`||| |total|number|||| |onPageChange|function|||| diff --git a/components/pagination/package.json b/components/pagination/package.json index a578ac651..77643436f 100644 --- a/components/pagination/package.json +++ b/components/pagination/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/pagination", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Pagination", "repository": { "type": "git", @@ -34,10 +34,10 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/button": "9.11.4", - "@dhis2-ui/select": "9.11.4", - "@dhis2/ui-constants": "9.11.4", - "@dhis2/ui-icons": "9.11.4", + "@dhis2-ui/button": "9.11.5", + "@dhis2-ui/select": "9.11.5", + "@dhis2/ui-constants": "9.11.5", + "@dhis2/ui-icons": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/popover/package.json b/components/popover/package.json index 0e7e1b620..b81a153bd 100644 --- a/components/popover/package.json +++ b/components/popover/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/popover", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Popover", "repository": { "type": "git", @@ -33,9 +33,9 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/layer": "9.11.4", - "@dhis2-ui/popper": "9.11.4", - "@dhis2/ui-constants": "9.11.4", + "@dhis2-ui/layer": "9.11.5", + "@dhis2-ui/popper": "9.11.5", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/popper/package.json b/components/popper/package.json index 5bec9e5c0..be2588c91 100644 --- a/components/popper/package.json +++ b/components/popper/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/popper", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Popper", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", + "@dhis2/ui-constants": "9.11.5", "@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 3f590c352..47479d9cd 100644 --- a/components/portal/package.json +++ b/components/portal/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/portal", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Portal", "repository": { "type": "git", diff --git a/components/radio/package.json b/components/radio/package.json index a5223fbee..9fd044819 100644 --- a/components/radio/package.json +++ b/components/radio/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/radio", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Radio", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/required/package.json b/components/required/package.json index efe03453c..3b81a4f4d 100644 --- a/components/required/package.json +++ b/components/required/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/required", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Required", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/segmented-control/package.json b/components/segmented-control/package.json index 9bc5642e6..de65f2d22 100644 --- a/components/segmented-control/package.json +++ b/components/segmented-control/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/segmented-control", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Segmented Control", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/select/package.json b/components/select/package.json index df36a32d3..eec296d52 100644 --- a/components/select/package.json +++ b/components/select/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/select", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Select", "repository": { "type": "git", @@ -33,21 +33,21 @@ "styled-jsx": "^4" }, "dependencies": { - "@dhis2-ui/box": "9.11.4", - "@dhis2-ui/button": "9.11.4", - "@dhis2-ui/card": "9.11.4", - "@dhis2-ui/checkbox": "9.11.4", - "@dhis2-ui/chip": "9.11.4", - "@dhis2-ui/field": "9.11.4", - "@dhis2-ui/input": "9.11.4", - "@dhis2-ui/layer": "9.11.4", - "@dhis2-ui/loader": "9.11.4", - "@dhis2-ui/popper": "9.11.4", - "@dhis2-ui/status-icon": "9.11.4", - "@dhis2-ui/tooltip": "9.11.4", + "@dhis2-ui/box": "9.11.5", + "@dhis2-ui/button": "9.11.5", + "@dhis2-ui/card": "9.11.5", + "@dhis2-ui/checkbox": "9.11.5", + "@dhis2-ui/chip": "9.11.5", + "@dhis2-ui/field": "9.11.5", + "@dhis2-ui/input": "9.11.5", + "@dhis2-ui/layer": "9.11.5", + "@dhis2-ui/loader": "9.11.5", + "@dhis2-ui/popper": "9.11.5", + "@dhis2-ui/status-icon": "9.11.5", + "@dhis2-ui/tooltip": "9.11.5", "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", - "@dhis2/ui-icons": "9.11.4", + "@dhis2/ui-constants": "9.11.5", + "@dhis2/ui-icons": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/selector-bar/package.json b/components/selector-bar/package.json index dbda1c656..8ed5dea2d 100644 --- a/components/selector-bar/package.json +++ b/components/selector-bar/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/selector-bar", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Select", "repository": { "type": "git", @@ -33,21 +33,21 @@ "styled-jsx": "^4" }, "dependencies": { - "@dhis2-ui/button": "9.11.4", - "@dhis2-ui/card": "9.11.4", - "@dhis2-ui/popper": "9.11.4", - "@dhis2-ui/layer": "9.11.4", - "@dhis2/ui-constants": "9.11.4", - "@dhis2/ui-icons": "9.11.4", + "@dhis2-ui/button": "9.11.5", + "@dhis2-ui/card": "9.11.5", + "@dhis2-ui/popper": "9.11.5", + "@dhis2-ui/layer": "9.11.5", + "@dhis2/ui-constants": "9.11.5", + "@dhis2/ui-icons": "9.11.5", "@testing-library/react": "^12.1.2", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, "devDependencies": { - "@dhis2-ui/css": "9.11.4", - "@dhis2-ui/menu": "9.11.4", - "@dhis2-ui/organisation-unit-tree": "9.11.4", - "@dhis2-ui/select": "9.11.4", + "@dhis2-ui/css": "9.11.5", + "@dhis2-ui/menu": "9.11.5", + "@dhis2-ui/organisation-unit-tree": "9.11.5", + "@dhis2-ui/select": "9.11.5", "@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 79a70384d..10868d5fd 100644 --- a/components/sharing-dialog/package.json +++ b/components/sharing-dialog/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/sharing-dialog", - "version": "9.11.4", + "version": "9.11.5", "description": "UI SharingDialog", "repository": { "type": "git", @@ -35,22 +35,22 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/box": "9.11.4", - "@dhis2-ui/button": "9.11.4", - "@dhis2-ui/card": "9.11.4", - "@dhis2-ui/divider": "9.11.4", - "@dhis2-ui/input": "9.11.4", - "@dhis2-ui/layer": "9.11.4", - "@dhis2-ui/menu": "9.11.4", - "@dhis2-ui/modal": "9.11.4", - "@dhis2-ui/notice-box": "9.11.4", - "@dhis2-ui/popper": "9.11.4", - "@dhis2-ui/select": "9.11.4", - "@dhis2-ui/tab": "9.11.4", - "@dhis2-ui/tooltip": "9.11.4", - "@dhis2-ui/user-avatar": "9.11.4", - "@dhis2/ui-constants": "9.11.4", - "@dhis2/ui-icons": "9.11.4", + "@dhis2-ui/box": "9.11.5", + "@dhis2-ui/button": "9.11.5", + "@dhis2-ui/card": "9.11.5", + "@dhis2-ui/divider": "9.11.5", + "@dhis2-ui/input": "9.11.5", + "@dhis2-ui/layer": "9.11.5", + "@dhis2-ui/menu": "9.11.5", + "@dhis2-ui/modal": "9.11.5", + "@dhis2-ui/notice-box": "9.11.5", + "@dhis2-ui/popper": "9.11.5", + "@dhis2-ui/select": "9.11.5", + "@dhis2-ui/tab": "9.11.5", + "@dhis2-ui/tooltip": "9.11.5", + "@dhis2-ui/user-avatar": "9.11.5", + "@dhis2/ui-constants": "9.11.5", + "@dhis2/ui-icons": "9.11.5", "@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 6d22be91b..18d61e9d5 100644 --- a/components/status-icon/package.json +++ b/components/status-icon/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/status-icon", - "version": "9.11.4", + "version": "9.11.5", "description": "UI StatusIcon", "repository": { "type": "git", @@ -33,9 +33,9 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/loader": "9.11.4", - "@dhis2/ui-constants": "9.11.4", - "@dhis2/ui-icons": "9.11.4", + "@dhis2-ui/loader": "9.11.5", + "@dhis2/ui-constants": "9.11.5", + "@dhis2/ui-icons": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/switch/package.json b/components/switch/package.json index 9080ee750..ffa61efae 100644 --- a/components/switch/package.json +++ b/components/switch/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/switch", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Switch", "repository": { "type": "git", @@ -33,9 +33,9 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/field": "9.11.4", - "@dhis2-ui/required": "9.11.4", - "@dhis2/ui-constants": "9.11.4", + "@dhis2-ui/field": "9.11.5", + "@dhis2-ui/required": "9.11.5", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/tab/package.json b/components/tab/package.json index cf7579966..5c7086e81 100644 --- a/components/tab/package.json +++ b/components/tab/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/tab", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Tabs", "repository": { "type": "git", @@ -32,10 +32,10 @@ "styled-jsx": "^4" }, "dependencies": { - "@dhis2-ui/tooltip": "9.11.4", + "@dhis2-ui/tooltip": "9.11.5", "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", - "@dhis2/ui-icons": "9.11.4", + "@dhis2/ui-constants": "9.11.5", + "@dhis2/ui-icons": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/table/API.md b/components/table/API.md index e7bddcef1..cfc4a7008 100644 --- a/components/table/API.md +++ b/components/table/API.md @@ -551,7 +551,7 @@ import { TableHead } from '@dhis2/ui' |---|---|---|---|---| |children|node|||Should be `` components| |className|string|||| -|dataTest|string|`'dhis2-uicore-tablehead'`||| +|dataTest|string|||| |role|string|||| ### TableRow diff --git a/components/table/package.json b/components/table/package.json index 997501b73..96de53b4e 100644 --- a/components/table/package.json +++ b/components/table/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/table", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Table", "repository": { "type": "git", @@ -34,8 +34,8 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", - "@dhis2/ui-icons": "9.11.4", + "@dhis2/ui-constants": "9.11.5", + "@dhis2/ui-icons": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/tag/package.json b/components/tag/package.json index 293bb948a..5f66d08c7 100644 --- a/components/tag/package.json +++ b/components/tag/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/tag", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Tag", "repository": { "type": "git", @@ -33,7 +33,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/text-area/package.json b/components/text-area/package.json index e88b931a2..2064c20bf 100644 --- a/components/text-area/package.json +++ b/components/text-area/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/text-area", - "version": "9.11.4", + "version": "9.11.5", "description": "UI TextArea", "repository": { "type": "git", @@ -33,12 +33,12 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/box": "9.11.4", - "@dhis2-ui/field": "9.11.4", - "@dhis2-ui/loader": "9.11.4", - "@dhis2-ui/status-icon": "9.11.4", - "@dhis2/ui-constants": "9.11.4", - "@dhis2/ui-icons": "9.11.4", + "@dhis2-ui/box": "9.11.5", + "@dhis2-ui/field": "9.11.5", + "@dhis2-ui/loader": "9.11.5", + "@dhis2-ui/status-icon": "9.11.5", + "@dhis2/ui-constants": "9.11.5", + "@dhis2/ui-icons": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/tooltip/package.json b/components/tooltip/package.json index 8e7a935a7..1b0a03af2 100644 --- a/components/tooltip/package.json +++ b/components/tooltip/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/tooltip", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Tooltip", "repository": { "type": "git", @@ -33,9 +33,9 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/popper": "9.11.4", - "@dhis2-ui/portal": "9.11.4", - "@dhis2/ui-constants": "9.11.4", + "@dhis2-ui/popper": "9.11.5", + "@dhis2-ui/portal": "9.11.5", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/transfer/package.json b/components/transfer/package.json index 242f59a9d..8aa38e773 100644 --- a/components/transfer/package.json +++ b/components/transfer/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/transfer", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Transfer", "repository": { "type": "git", @@ -33,12 +33,12 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2-ui/button": "9.11.4", - "@dhis2-ui/field": "9.11.4", - "@dhis2-ui/input": "9.11.4", - "@dhis2-ui/intersection-detector": "9.11.4", - "@dhis2-ui/loader": "9.11.4", - "@dhis2/ui-constants": "9.11.4", + "@dhis2-ui/button": "9.11.5", + "@dhis2-ui/field": "9.11.5", + "@dhis2-ui/input": "9.11.5", + "@dhis2-ui/intersection-detector": "9.11.5", + "@dhis2-ui/loader": "9.11.5", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/components/user-avatar/package.json b/components/user-avatar/package.json index 016afcc7b..5f9d43b13 100644 --- a/components/user-avatar/package.json +++ b/components/user-avatar/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2-ui/user-avatar", - "version": "9.11.4", + "version": "9.11.5", "description": "UI User Avatar", "repository": { "type": "git", @@ -34,7 +34,7 @@ }, "dependencies": { "@dhis2/prop-types": "^3.1.2", - "@dhis2/ui-constants": "9.11.4", + "@dhis2/ui-constants": "9.11.5", "classnames": "^2.3.1", "prop-types": "^15.7.2" }, diff --git a/constants/package.json b/constants/package.json index 3567c5eba..8df9241eb 100644 --- a/constants/package.json +++ b/constants/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2/ui-constants", - "version": "9.11.4", + "version": "9.11.5", "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 afec5de6b..60d508b87 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "ui-docusaurus", - "version": "9.11.4", + "version": "9.11.5", "private": true, "description": "UI Docusaurus", "repository": { diff --git a/icons/package.json b/icons/package.json index d778d6af0..d03fc9e77 100644 --- a/icons/package.json +++ b/icons/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2/ui-icons", - "version": "9.11.4", + "version": "9.11.5", "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 95666c042..c7ef22203 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2/ui-root", - "version": "9.11.4", + "version": "9.11.5", "repository": { "type": "git", "url": "https://github.com/dhis2/ui.git" diff --git a/storybook/package.json b/storybook/package.json index b4e0ceff6..e99346698 100644 --- a/storybook/package.json +++ b/storybook/package.json @@ -1,6 +1,6 @@ { "name": "ui-storybook", - "version": "9.11.4", + "version": "9.11.5", "description": "UI Storybook", "repository": { "type": "git", @@ -22,8 +22,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.11.4", - "@dhis2/ui-constants": "9.11.4", + "@dhis2-ui/css": "9.11.5", + "@dhis2/ui-constants": "9.11.5", "@fontsource/roboto": "^4.5.0", "@storybook/addon-a11y": "^8.3.3", "@storybook/addon-console": "^3.0.0",