Skip to content

Commit

Permalink
chore(release): cut 10.0.0-alpha.8 [skip release]
Browse files Browse the repository at this point in the history
# [10.0.0-alpha.8](v10.0.0-alpha.7...v10.0.0-alpha.8) (2024-11-21)

### Bug Fixes

* peer dependency issue with npm publish ([#1628](#1628)) ([1319654](1319654))
* update calendar tests for react 18 ([98831a7](98831a7))
* update testing-library for selector-bar ([893024d](893024d))
* **translations:** sync translations from transifex (master) ([d89ce94](d89ce94))
* **translations:** sync translations from transifex (master) ([7f22330](7f22330))

### Features

* add data sharing to sharing dialog [LIBS-677] ([#1629](#1629)) ([7e15c7f](7e15c7f))
* make input field clearable and add prefix icon ([#1619](#1619)) ([7f87fb4](7f87fb4))
* update react peer dependency to react@18 ([#1624](#1624)) ([5d3c2a4](5d3c2a4))
  • Loading branch information
dhis2-bot committed Nov 21, 2024
1 parent 004d662 commit b502fe7
Show file tree
Hide file tree
Showing 56 changed files with 306 additions and 288 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# [10.0.0-alpha.8](https://github.com/dhis2/ui/compare/v10.0.0-alpha.7...v10.0.0-alpha.8) (2024-11-21)


### Bug Fixes

* peer dependency issue with npm publish ([#1628](https://github.com/dhis2/ui/issues/1628)) ([1319654](https://github.com/dhis2/ui/commit/13196549eb2450d33d3debcbfa68d0321f8c6358))
* update calendar tests for react 18 ([98831a7](https://github.com/dhis2/ui/commit/98831a7ab25b43d3c9424b6e8fbca93b6009cb26))
* update testing-library for selector-bar ([893024d](https://github.com/dhis2/ui/commit/893024db1666610ffc0d6321ae8531f407e7da5e))
* **translations:** sync translations from transifex (master) ([d89ce94](https://github.com/dhis2/ui/commit/d89ce946b7145851a5c39ede8a4cbbaaa60411ca))
* **translations:** sync translations from transifex (master) ([7f22330](https://github.com/dhis2/ui/commit/7f22330ddfd1af2ac6e0199f4df78abf695200a2))


### Features

* add data sharing to sharing dialog [LIBS-677] ([#1629](https://github.com/dhis2/ui/issues/1629)) ([7e15c7f](https://github.com/dhis2/ui/commit/7e15c7f19becf6fc6657270a3f1ef94d8a48f048))
* make input field clearable and add prefix icon ([#1619](https://github.com/dhis2/ui/issues/1619)) ([7f87fb4](https://github.com/dhis2/ui/commit/7f87fb4ece42e1ba63143369dcefa1c33c65040f))
* update react peer dependency to react@18 ([#1624](https://github.com/dhis2/ui/issues/1624)) ([5d3c2a4](https://github.com/dhis2/ui/commit/5d3c2a4f6fc4683354a5af3d8ec2f8bfd88169f5))

# [10.0.0-alpha.7](https://github.com/dhis2/ui/compare/v10.0.0-alpha.6...v10.0.0-alpha.7) (2024-11-14)


Expand Down
20 changes: 10 additions & 10 deletions collections/forms/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2/ui-forms",
"version": "10.0.0-alpha.7",
"version": "10.0.0-alpha.8",
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"sideEffects": [
Expand Down Expand Up @@ -35,15 +35,15 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2-ui/button": "10.0.0-alpha.7",
"@dhis2-ui/checkbox": "10.0.0-alpha.7",
"@dhis2-ui/field": "10.0.0-alpha.7",
"@dhis2-ui/file-input": "10.0.0-alpha.7",
"@dhis2-ui/input": "10.0.0-alpha.7",
"@dhis2-ui/radio": "10.0.0-alpha.7",
"@dhis2-ui/select": "10.0.0-alpha.7",
"@dhis2-ui/switch": "10.0.0-alpha.7",
"@dhis2-ui/text-area": "10.0.0-alpha.7",
"@dhis2-ui/button": "10.0.0-alpha.8",
"@dhis2-ui/checkbox": "10.0.0-alpha.8",
"@dhis2-ui/field": "10.0.0-alpha.8",
"@dhis2-ui/file-input": "10.0.0-alpha.8",
"@dhis2-ui/input": "10.0.0-alpha.8",
"@dhis2-ui/radio": "10.0.0-alpha.8",
"@dhis2-ui/select": "10.0.0-alpha.8",
"@dhis2-ui/switch": "10.0.0-alpha.8",
"@dhis2-ui/text-area": "10.0.0-alpha.8",
"classnames": "^2.3.1",
"final-form": "^4.20.2",
"prop-types": "^15.7.2",
Expand Down
8 changes: 4 additions & 4 deletions collections/ui/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ import { CalendarInput } from '@dhis2/ui'
|---|---|---|---|---|
|calendar|any||*|the calendar to use such gregory, ethiopic, nepali - full supported list here: https://github.com/dhis2/multi-calendar-dates/blob/main/src/constants/calendars.ts|
|onDateSelect|function||*|Called with signature `(null)` \|\| `({ dateCalendarString: string, validation: { error: boolean, warning: boolean, validationText: string} })` with `dateCalendarString` being the stringified date in the specified calendar in the format `yyyy-MM-dd`|
|cellSize|string|`'32px'`||the size of a single cell in the table forming the calendar|
|cellSize|string|||the size of a single cell in the table forming the calendar|
|clearable|boolean|||Whether the clear button is displayed|
|dataTest|string|`'dhis2-uiwidgets-calendar-inputfield'`||'data-test' attribute of `InputField` component|
|dataTest|string|||'data-test' attribute of `InputField` component|
|date|string|||the currently selected date using an iso-like format YYYY-MM-DD, in the calendar system provided (not iso8601)|
|dir|'ltr' │ 'rtl'|||the direction of the library - internally the library will use rtl for rtl-languages but this can be overridden here for more control|
|format|'YYYY-MM-DD' │ 'DD-MM-YYYY'|||The date format to use either `YYYY-MM-DD` or `DD-MM-YYYY`|
Expand All @@ -261,8 +261,8 @@ import { CalendarInput } from '@dhis2/ui'
|minDate|string|||The minimum selectable date|
|numberingSystem|string|||numbering system to use - full list here https://github.com/dhis2/multi-calendar-dates/blob/main/src/constants/numberingSystems.ts|
|strictValidation|boolean|||Whether to use strict validation by showing errors for out-of-range dates when enabled (default), and warnings when disabled|
|weekDayFormat|'narrow' │ 'short' │ 'long'|`'narrow'`||the format to display for the week day, i.e. Monday (long), Mon (short), M (narrow)|
|width|string|`'300px'`||the width of the calendar component|
|weekDayFormat|'narrow' │ 'short' │ 'long'|||the format to display for the week day, i.e. Monday (long), Mon (short), M (narrow)|
|width|string|||the width of the calendar component|

### Card

Expand Down
98 changes: 49 additions & 49 deletions collections/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2/ui",
"version": "10.0.0-alpha.7",
"version": "10.0.0-alpha.8",
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
Expand All @@ -21,54 +21,54 @@
"build": "d2-app-scripts build"
},
"dependencies": {
"@dhis2-ui/alert": "10.0.0-alpha.7",
"@dhis2-ui/box": "10.0.0-alpha.7",
"@dhis2-ui/button": "10.0.0-alpha.7",
"@dhis2-ui/calendar": "10.0.0-alpha.7",
"@dhis2-ui/card": "10.0.0-alpha.7",
"@dhis2-ui/center": "10.0.0-alpha.7",
"@dhis2-ui/checkbox": "10.0.0-alpha.7",
"@dhis2-ui/chip": "10.0.0-alpha.7",
"@dhis2-ui/cover": "10.0.0-alpha.7",
"@dhis2-ui/css": "10.0.0-alpha.7",
"@dhis2-ui/divider": "10.0.0-alpha.7",
"@dhis2-ui/field": "10.0.0-alpha.7",
"@dhis2-ui/file-input": "10.0.0-alpha.7",
"@dhis2-ui/header-bar": "10.0.0-alpha.7",
"@dhis2-ui/help": "10.0.0-alpha.7",
"@dhis2-ui/input": "10.0.0-alpha.7",
"@dhis2-ui/intersection-detector": "10.0.0-alpha.7",
"@dhis2-ui/label": "10.0.0-alpha.7",
"@dhis2-ui/layer": "10.0.0-alpha.7",
"@dhis2-ui/legend": "10.0.0-alpha.7",
"@dhis2-ui/loader": "10.0.0-alpha.7",
"@dhis2-ui/logo": "10.0.0-alpha.7",
"@dhis2-ui/menu": "10.0.0-alpha.7",
"@dhis2-ui/modal": "10.0.0-alpha.7",
"@dhis2-ui/node": "10.0.0-alpha.7",
"@dhis2-ui/notice-box": "10.0.0-alpha.7",
"@dhis2-ui/organisation-unit-tree": "10.0.0-alpha.7",
"@dhis2-ui/pagination": "10.0.0-alpha.7",
"@dhis2-ui/popover": "10.0.0-alpha.7",
"@dhis2-ui/popper": "10.0.0-alpha.7",
"@dhis2-ui/portal": "10.0.0-alpha.7",
"@dhis2-ui/radio": "10.0.0-alpha.7",
"@dhis2-ui/required": "10.0.0-alpha.7",
"@dhis2-ui/segmented-control": "10.0.0-alpha.7",
"@dhis2-ui/select": "10.0.0-alpha.7",
"@dhis2-ui/selector-bar": "10.0.0-alpha.7",
"@dhis2-ui/sharing-dialog": "10.0.0-alpha.7",
"@dhis2-ui/switch": "10.0.0-alpha.7",
"@dhis2-ui/tab": "10.0.0-alpha.7",
"@dhis2-ui/table": "10.0.0-alpha.7",
"@dhis2-ui/tag": "10.0.0-alpha.7",
"@dhis2-ui/text-area": "10.0.0-alpha.7",
"@dhis2-ui/tooltip": "10.0.0-alpha.7",
"@dhis2-ui/transfer": "10.0.0-alpha.7",
"@dhis2-ui/user-avatar": "10.0.0-alpha.7",
"@dhis2/ui-constants": "10.0.0-alpha.7",
"@dhis2/ui-forms": "10.0.0-alpha.7",
"@dhis2/ui-icons": "10.0.0-alpha.7",
"@dhis2-ui/alert": "10.0.0-alpha.8",
"@dhis2-ui/box": "10.0.0-alpha.8",
"@dhis2-ui/button": "10.0.0-alpha.8",
"@dhis2-ui/calendar": "10.0.0-alpha.8",
"@dhis2-ui/card": "10.0.0-alpha.8",
"@dhis2-ui/center": "10.0.0-alpha.8",
"@dhis2-ui/checkbox": "10.0.0-alpha.8",
"@dhis2-ui/chip": "10.0.0-alpha.8",
"@dhis2-ui/cover": "10.0.0-alpha.8",
"@dhis2-ui/css": "10.0.0-alpha.8",
"@dhis2-ui/divider": "10.0.0-alpha.8",
"@dhis2-ui/field": "10.0.0-alpha.8",
"@dhis2-ui/file-input": "10.0.0-alpha.8",
"@dhis2-ui/header-bar": "10.0.0-alpha.8",
"@dhis2-ui/help": "10.0.0-alpha.8",
"@dhis2-ui/input": "10.0.0-alpha.8",
"@dhis2-ui/intersection-detector": "10.0.0-alpha.8",
"@dhis2-ui/label": "10.0.0-alpha.8",
"@dhis2-ui/layer": "10.0.0-alpha.8",
"@dhis2-ui/legend": "10.0.0-alpha.8",
"@dhis2-ui/loader": "10.0.0-alpha.8",
"@dhis2-ui/logo": "10.0.0-alpha.8",
"@dhis2-ui/menu": "10.0.0-alpha.8",
"@dhis2-ui/modal": "10.0.0-alpha.8",
"@dhis2-ui/node": "10.0.0-alpha.8",
"@dhis2-ui/notice-box": "10.0.0-alpha.8",
"@dhis2-ui/organisation-unit-tree": "10.0.0-alpha.8",
"@dhis2-ui/pagination": "10.0.0-alpha.8",
"@dhis2-ui/popover": "10.0.0-alpha.8",
"@dhis2-ui/popper": "10.0.0-alpha.8",
"@dhis2-ui/portal": "10.0.0-alpha.8",
"@dhis2-ui/radio": "10.0.0-alpha.8",
"@dhis2-ui/required": "10.0.0-alpha.8",
"@dhis2-ui/segmented-control": "10.0.0-alpha.8",
"@dhis2-ui/select": "10.0.0-alpha.8",
"@dhis2-ui/selector-bar": "10.0.0-alpha.8",
"@dhis2-ui/sharing-dialog": "10.0.0-alpha.8",
"@dhis2-ui/switch": "10.0.0-alpha.8",
"@dhis2-ui/tab": "10.0.0-alpha.8",
"@dhis2-ui/table": "10.0.0-alpha.8",
"@dhis2-ui/tag": "10.0.0-alpha.8",
"@dhis2-ui/text-area": "10.0.0-alpha.8",
"@dhis2-ui/tooltip": "10.0.0-alpha.8",
"@dhis2-ui/transfer": "10.0.0-alpha.8",
"@dhis2-ui/user-avatar": "10.0.0-alpha.8",
"@dhis2/ui-constants": "10.0.0-alpha.8",
"@dhis2/ui-forms": "10.0.0-alpha.8",
"@dhis2/ui-icons": "10.0.0-alpha.8",
"prop-types": "^15.7.2"
},
"peerDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions components/alert/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/alert",
"version": "10.0.0-alpha.7",
"version": "10.0.0-alpha.8",
"description": "UI Alert",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,9 +33,9 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2-ui/portal": "10.0.0-alpha.7",
"@dhis2/ui-constants": "10.0.0-alpha.7",
"@dhis2/ui-icons": "10.0.0-alpha.7",
"@dhis2-ui/portal": "10.0.0-alpha.8",
"@dhis2/ui-constants": "10.0.0-alpha.8",
"@dhis2/ui-icons": "10.0.0-alpha.8",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
Expand Down
4 changes: 2 additions & 2 deletions components/box/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/box",
"version": "10.0.0-alpha.7",
"version": "10.0.0-alpha.8",
"description": "UI Box",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2/ui-constants": "10.0.0-alpha.7",
"@dhis2/ui-constants": "10.0.0-alpha.8",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
Expand Down
12 changes: 6 additions & 6 deletions components/button/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/button",
"version": "10.0.0-alpha.7",
"version": "10.0.0-alpha.8",
"description": "UI Button",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,11 +33,11 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2-ui/layer": "10.0.0-alpha.7",
"@dhis2-ui/loader": "10.0.0-alpha.7",
"@dhis2-ui/popper": "10.0.0-alpha.7",
"@dhis2/ui-constants": "10.0.0-alpha.7",
"@dhis2/ui-icons": "10.0.0-alpha.7",
"@dhis2-ui/layer": "10.0.0-alpha.8",
"@dhis2-ui/loader": "10.0.0-alpha.8",
"@dhis2-ui/popper": "10.0.0-alpha.8",
"@dhis2/ui-constants": "10.0.0-alpha.8",
"@dhis2/ui-icons": "10.0.0-alpha.8",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
Expand Down
8 changes: 4 additions & 4 deletions components/calendar/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ import { CalendarInput } from '@dhis2/ui'
|---|---|---|---|---|
|calendar|any||*|the calendar to use such gregory, ethiopic, nepali - full supported list here: https://github.com/dhis2/multi-calendar-dates/blob/main/src/constants/calendars.ts|
|onDateSelect|function||*|Called with signature `(null)` \|\| `({ dateCalendarString: string, validation: { error: boolean, warning: boolean, validationText: string} })` with `dateCalendarString` being the stringified date in the specified calendar in the format `yyyy-MM-dd`|
|cellSize|string|`'32px'`||the size of a single cell in the table forming the calendar|
|cellSize|string|||the size of a single cell in the table forming the calendar|
|clearable|boolean|||Whether the clear button is displayed|
|dataTest|string|`'dhis2-uiwidgets-calendar-inputfield'`||'data-test' attribute of `InputField` component|
|dataTest|string|||'data-test' attribute of `InputField` component|
|date|string|||the currently selected date using an iso-like format YYYY-MM-DD, in the calendar system provided (not iso8601)|
|dir|'ltr' │ 'rtl'|||the direction of the library - internally the library will use rtl for rtl-languages but this can be overridden here for more control|
|format|'YYYY-MM-DD' │ 'DD-MM-YYYY'|||The date format to use either `YYYY-MM-DD` or `DD-MM-YYYY`|
Expand All @@ -55,5 +55,5 @@ import { CalendarInput } from '@dhis2/ui'
|minDate|string|||The minimum selectable date|
|numberingSystem|string|||numbering system to use - full list here https://github.com/dhis2/multi-calendar-dates/blob/main/src/constants/numberingSystems.ts|
|strictValidation|boolean|||Whether to use strict validation by showing errors for out-of-range dates when enabled (default), and warnings when disabled|
|weekDayFormat|'narrow' │ 'short' │ 'long'|`'narrow'`||the format to display for the week day, i.e. Monday (long), Mon (short), M (narrow)|
|width|string|`'300px'`||the width of the calendar component|
|weekDayFormat|'narrow' │ 'short' │ 'long'|||the format to display for the week day, i.e. Monday (long), Mon (short), M (narrow)|
|width|string|||the width of the calendar component|
16 changes: 8 additions & 8 deletions components/calendar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/calendar",
"version": "10.0.0-alpha.7",
"version": "10.0.0-alpha.8",
"description": "UI Calendar",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,15 +33,15 @@
"styled-jsx": "^4"
},
"dependencies": {
"@dhis2-ui/button": "10.0.0-alpha.7",
"@dhis2-ui/card": "10.0.0-alpha.7",
"@dhis2-ui/input": "10.0.0-alpha.7",
"@dhis2-ui/layer": "10.0.0-alpha.7",
"@dhis2-ui/popper": "10.0.0-alpha.7",
"@dhis2-ui/button": "10.0.0-alpha.8",
"@dhis2-ui/card": "10.0.0-alpha.8",
"@dhis2-ui/input": "10.0.0-alpha.8",
"@dhis2-ui/layer": "10.0.0-alpha.8",
"@dhis2-ui/popper": "10.0.0-alpha.8",
"@dhis2/multi-calendar-dates": "2.0.0-alpha.5",
"@dhis2/prop-types": "^3.1.2",
"@dhis2/ui-constants": "10.0.0-alpha.7",
"@dhis2/ui-icons": "10.0.0-alpha.7",
"@dhis2/ui-constants": "10.0.0-alpha.8",
"@dhis2/ui-icons": "10.0.0-alpha.8",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
Expand Down
4 changes: 2 additions & 2 deletions components/card/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/card",
"version": "10.0.0-alpha.7",
"version": "10.0.0-alpha.8",
"description": "UI Card",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2/ui-constants": "10.0.0-alpha.7",
"@dhis2/ui-constants": "10.0.0-alpha.8",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
Expand Down
4 changes: 2 additions & 2 deletions components/center/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/center",
"version": "10.0.0-alpha.7",
"version": "10.0.0-alpha.8",
"description": "UI Center",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2/ui-constants": "10.0.0-alpha.7",
"@dhis2/ui-constants": "10.0.0-alpha.8",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
Expand Down
8 changes: 4 additions & 4 deletions components/checkbox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/checkbox",
"version": "10.0.0-alpha.7",
"version": "10.0.0-alpha.8",
"description": "UI Checkbox",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,9 +33,9 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2-ui/field": "10.0.0-alpha.7",
"@dhis2-ui/required": "10.0.0-alpha.7",
"@dhis2/ui-constants": "10.0.0-alpha.7",
"@dhis2-ui/field": "10.0.0-alpha.8",
"@dhis2-ui/required": "10.0.0-alpha.8",
"@dhis2/ui-constants": "10.0.0-alpha.8",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
Expand Down
4 changes: 2 additions & 2 deletions components/chip/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/chip",
"version": "10.0.0-alpha.7",
"version": "10.0.0-alpha.8",
"description": "UI Chip",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2/ui-constants": "10.0.0-alpha.7",
"@dhis2/ui-constants": "10.0.0-alpha.8",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
Expand Down
4 changes: 2 additions & 2 deletions components/cover/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/cover",
"version": "10.0.0-alpha.7",
"version": "10.0.0-alpha.8",
"description": "UI Cover",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2/ui-constants": "10.0.0-alpha.7",
"@dhis2/ui-constants": "10.0.0-alpha.8",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
Expand Down
Loading

0 comments on commit b502fe7

Please sign in to comment.