Skip to content

Commit

Permalink
chore(release): cut 10.0.0-alpha.2 [skip release]
Browse files Browse the repository at this point in the history
# [10.0.0-alpha.2](v10.0.0-alpha.1...v10.0.0-alpha.2) (2024-10-07)

### Bug Fixes

* stories for calendar validation ([#1616](#1616)) ([c00a2d6](c00a2d6))
  • Loading branch information
dhis2-bot committed Oct 7, 2024
1 parent c00a2d6 commit d5d4714
Show file tree
Hide file tree
Showing 56 changed files with 291 additions and 284 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [10.0.0-alpha.2](https://github.com/dhis2/ui/compare/v10.0.0-alpha.1...v10.0.0-alpha.2) (2024-10-07)


### Bug Fixes

* stories for calendar validation ([#1616](https://github.com/dhis2/ui/issues/1616)) ([c00a2d6](https://github.com/dhis2/ui/commit/c00a2d62b85c686acb4fc0ad6aea39d839940ee9))

# [10.0.0-alpha.1](https://github.com/dhis2/ui/compare/v9.12.0-alpha.4...v10.0.0-alpha.1) (2024-10-04)


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.1",
"version": "10.0.0-alpha.2",
"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.1",
"@dhis2-ui/checkbox": "10.0.0-alpha.1",
"@dhis2-ui/field": "10.0.0-alpha.1",
"@dhis2-ui/file-input": "10.0.0-alpha.1",
"@dhis2-ui/input": "10.0.0-alpha.1",
"@dhis2-ui/radio": "10.0.0-alpha.1",
"@dhis2-ui/select": "10.0.0-alpha.1",
"@dhis2-ui/switch": "10.0.0-alpha.1",
"@dhis2-ui/text-area": "10.0.0-alpha.1",
"@dhis2-ui/button": "10.0.0-alpha.2",
"@dhis2-ui/checkbox": "10.0.0-alpha.2",
"@dhis2-ui/field": "10.0.0-alpha.2",
"@dhis2-ui/file-input": "10.0.0-alpha.2",
"@dhis2-ui/input": "10.0.0-alpha.2",
"@dhis2-ui/radio": "10.0.0-alpha.2",
"@dhis2-ui/select": "10.0.0-alpha.2",
"@dhis2-ui/switch": "10.0.0-alpha.2",
"@dhis2-ui/text-area": "10.0.0-alpha.2",
"classnames": "^2.3.1",
"final-form": "^4.20.2",
"prop-types": "^15.7.2",
Expand Down
4 changes: 2 additions & 2 deletions collections/ui/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ import { Calendar } from '@dhis2/ui'
|Name|Type|Default|Required|Description|
|---|---|---|---|---|
|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 })` with `dateCalendarString` being the stringified date in the specified calendar in the format `yyyy-MM-dd`|
|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|
|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|
Expand All @@ -248,7 +248,7 @@ import { CalendarInput } from '@dhis2/ui'
|Name|Type|Default|Required|Description|
|---|---|---|---|---|
|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 })` with `dateCalendarString` being the stringified date in the specified calendar in the format `yyyy-MM-dd`|
|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|
|clearable|boolean|||Whether the clear button is displayed|
|dataTest|string|`'dhis2-uiwidgets-calendar-inputfield'`||'data-test' attribute of `InputField` component|
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.1",
"version": "10.0.0-alpha.2",
"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.1",
"@dhis2-ui/box": "10.0.0-alpha.1",
"@dhis2-ui/button": "10.0.0-alpha.1",
"@dhis2-ui/calendar": "10.0.0-alpha.1",
"@dhis2-ui/card": "10.0.0-alpha.1",
"@dhis2-ui/center": "10.0.0-alpha.1",
"@dhis2-ui/checkbox": "10.0.0-alpha.1",
"@dhis2-ui/chip": "10.0.0-alpha.1",
"@dhis2-ui/cover": "10.0.0-alpha.1",
"@dhis2-ui/css": "10.0.0-alpha.1",
"@dhis2-ui/divider": "10.0.0-alpha.1",
"@dhis2-ui/field": "10.0.0-alpha.1",
"@dhis2-ui/file-input": "10.0.0-alpha.1",
"@dhis2-ui/header-bar": "10.0.0-alpha.1",
"@dhis2-ui/help": "10.0.0-alpha.1",
"@dhis2-ui/input": "10.0.0-alpha.1",
"@dhis2-ui/intersection-detector": "10.0.0-alpha.1",
"@dhis2-ui/label": "10.0.0-alpha.1",
"@dhis2-ui/layer": "10.0.0-alpha.1",
"@dhis2-ui/legend": "10.0.0-alpha.1",
"@dhis2-ui/loader": "10.0.0-alpha.1",
"@dhis2-ui/logo": "10.0.0-alpha.1",
"@dhis2-ui/menu": "10.0.0-alpha.1",
"@dhis2-ui/modal": "10.0.0-alpha.1",
"@dhis2-ui/node": "10.0.0-alpha.1",
"@dhis2-ui/notice-box": "10.0.0-alpha.1",
"@dhis2-ui/organisation-unit-tree": "10.0.0-alpha.1",
"@dhis2-ui/pagination": "10.0.0-alpha.1",
"@dhis2-ui/popover": "10.0.0-alpha.1",
"@dhis2-ui/popper": "10.0.0-alpha.1",
"@dhis2-ui/portal": "10.0.0-alpha.1",
"@dhis2-ui/radio": "10.0.0-alpha.1",
"@dhis2-ui/required": "10.0.0-alpha.1",
"@dhis2-ui/segmented-control": "10.0.0-alpha.1",
"@dhis2-ui/select": "10.0.0-alpha.1",
"@dhis2-ui/selector-bar": "10.0.0-alpha.1",
"@dhis2-ui/sharing-dialog": "10.0.0-alpha.1",
"@dhis2-ui/switch": "10.0.0-alpha.1",
"@dhis2-ui/tab": "10.0.0-alpha.1",
"@dhis2-ui/table": "10.0.0-alpha.1",
"@dhis2-ui/tag": "10.0.0-alpha.1",
"@dhis2-ui/text-area": "10.0.0-alpha.1",
"@dhis2-ui/tooltip": "10.0.0-alpha.1",
"@dhis2-ui/transfer": "10.0.0-alpha.1",
"@dhis2-ui/user-avatar": "10.0.0-alpha.1",
"@dhis2/ui-constants": "10.0.0-alpha.1",
"@dhis2/ui-forms": "10.0.0-alpha.1",
"@dhis2/ui-icons": "10.0.0-alpha.1",
"@dhis2-ui/alert": "10.0.0-alpha.2",
"@dhis2-ui/box": "10.0.0-alpha.2",
"@dhis2-ui/button": "10.0.0-alpha.2",
"@dhis2-ui/calendar": "10.0.0-alpha.2",
"@dhis2-ui/card": "10.0.0-alpha.2",
"@dhis2-ui/center": "10.0.0-alpha.2",
"@dhis2-ui/checkbox": "10.0.0-alpha.2",
"@dhis2-ui/chip": "10.0.0-alpha.2",
"@dhis2-ui/cover": "10.0.0-alpha.2",
"@dhis2-ui/css": "10.0.0-alpha.2",
"@dhis2-ui/divider": "10.0.0-alpha.2",
"@dhis2-ui/field": "10.0.0-alpha.2",
"@dhis2-ui/file-input": "10.0.0-alpha.2",
"@dhis2-ui/header-bar": "10.0.0-alpha.2",
"@dhis2-ui/help": "10.0.0-alpha.2",
"@dhis2-ui/input": "10.0.0-alpha.2",
"@dhis2-ui/intersection-detector": "10.0.0-alpha.2",
"@dhis2-ui/label": "10.0.0-alpha.2",
"@dhis2-ui/layer": "10.0.0-alpha.2",
"@dhis2-ui/legend": "10.0.0-alpha.2",
"@dhis2-ui/loader": "10.0.0-alpha.2",
"@dhis2-ui/logo": "10.0.0-alpha.2",
"@dhis2-ui/menu": "10.0.0-alpha.2",
"@dhis2-ui/modal": "10.0.0-alpha.2",
"@dhis2-ui/node": "10.0.0-alpha.2",
"@dhis2-ui/notice-box": "10.0.0-alpha.2",
"@dhis2-ui/organisation-unit-tree": "10.0.0-alpha.2",
"@dhis2-ui/pagination": "10.0.0-alpha.2",
"@dhis2-ui/popover": "10.0.0-alpha.2",
"@dhis2-ui/popper": "10.0.0-alpha.2",
"@dhis2-ui/portal": "10.0.0-alpha.2",
"@dhis2-ui/radio": "10.0.0-alpha.2",
"@dhis2-ui/required": "10.0.0-alpha.2",
"@dhis2-ui/segmented-control": "10.0.0-alpha.2",
"@dhis2-ui/select": "10.0.0-alpha.2",
"@dhis2-ui/selector-bar": "10.0.0-alpha.2",
"@dhis2-ui/sharing-dialog": "10.0.0-alpha.2",
"@dhis2-ui/switch": "10.0.0-alpha.2",
"@dhis2-ui/tab": "10.0.0-alpha.2",
"@dhis2-ui/table": "10.0.0-alpha.2",
"@dhis2-ui/tag": "10.0.0-alpha.2",
"@dhis2-ui/text-area": "10.0.0-alpha.2",
"@dhis2-ui/tooltip": "10.0.0-alpha.2",
"@dhis2-ui/transfer": "10.0.0-alpha.2",
"@dhis2-ui/user-avatar": "10.0.0-alpha.2",
"@dhis2/ui-constants": "10.0.0-alpha.2",
"@dhis2/ui-forms": "10.0.0-alpha.2",
"@dhis2/ui-icons": "10.0.0-alpha.2",
"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.1",
"version": "10.0.0-alpha.2",
"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.1",
"@dhis2/ui-constants": "10.0.0-alpha.1",
"@dhis2/ui-icons": "10.0.0-alpha.1",
"@dhis2-ui/portal": "10.0.0-alpha.2",
"@dhis2/ui-constants": "10.0.0-alpha.2",
"@dhis2/ui-icons": "10.0.0-alpha.2",
"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.1",
"version": "10.0.0-alpha.2",
"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.1",
"@dhis2/ui-constants": "10.0.0-alpha.2",
"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.1",
"version": "10.0.0-alpha.2",
"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.1",
"@dhis2-ui/loader": "10.0.0-alpha.1",
"@dhis2-ui/popper": "10.0.0-alpha.1",
"@dhis2/ui-constants": "10.0.0-alpha.1",
"@dhis2/ui-icons": "10.0.0-alpha.1",
"@dhis2-ui/layer": "10.0.0-alpha.2",
"@dhis2-ui/loader": "10.0.0-alpha.2",
"@dhis2-ui/popper": "10.0.0-alpha.2",
"@dhis2/ui-constants": "10.0.0-alpha.2",
"@dhis2/ui-icons": "10.0.0-alpha.2",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
Expand Down
4 changes: 2 additions & 2 deletions components/calendar/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { Calendar } from '@dhis2/ui'
|Name|Type|Default|Required|Description|
|---|---|---|---|---|
|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 })` with `dateCalendarString` being the stringified date in the specified calendar in the format `yyyy-MM-dd`|
|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|
|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|
Expand All @@ -42,7 +42,7 @@ import { CalendarInput } from '@dhis2/ui'
|Name|Type|Default|Required|Description|
|---|---|---|---|---|
|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 })` with `dateCalendarString` being the stringified date in the specified calendar in the format `yyyy-MM-dd`|
|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|
|clearable|boolean|||Whether the clear button is displayed|
|dataTest|string|`'dhis2-uiwidgets-calendar-inputfield'`||'data-test' attribute of `InputField` component|
Expand Down
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.1",
"version": "10.0.0-alpha.2",
"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.1",
"@dhis2-ui/card": "10.0.0-alpha.1",
"@dhis2-ui/input": "10.0.0-alpha.1",
"@dhis2-ui/layer": "10.0.0-alpha.1",
"@dhis2-ui/popper": "10.0.0-alpha.1",
"@dhis2-ui/button": "10.0.0-alpha.2",
"@dhis2-ui/card": "10.0.0-alpha.2",
"@dhis2-ui/input": "10.0.0-alpha.2",
"@dhis2-ui/layer": "10.0.0-alpha.2",
"@dhis2-ui/popper": "10.0.0-alpha.2",
"@dhis2/multi-calendar-dates": "2.0.0-alpha.2",
"@dhis2/prop-types": "^3.1.2",
"@dhis2/ui-constants": "10.0.0-alpha.1",
"@dhis2/ui-icons": "10.0.0-alpha.1",
"@dhis2/ui-constants": "10.0.0-alpha.2",
"@dhis2/ui-icons": "10.0.0-alpha.2",
"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.1",
"version": "10.0.0-alpha.2",
"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.1",
"@dhis2/ui-constants": "10.0.0-alpha.2",
"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.1",
"version": "10.0.0-alpha.2",
"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.1",
"@dhis2/ui-constants": "10.0.0-alpha.2",
"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.1",
"version": "10.0.0-alpha.2",
"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.1",
"@dhis2-ui/required": "10.0.0-alpha.1",
"@dhis2/ui-constants": "10.0.0-alpha.1",
"@dhis2-ui/field": "10.0.0-alpha.2",
"@dhis2-ui/required": "10.0.0-alpha.2",
"@dhis2/ui-constants": "10.0.0-alpha.2",
"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.1",
"version": "10.0.0-alpha.2",
"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.1",
"@dhis2/ui-constants": "10.0.0-alpha.2",
"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.1",
"version": "10.0.0-alpha.2",
"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.1",
"@dhis2/ui-constants": "10.0.0-alpha.2",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
Expand Down
4 changes: 2 additions & 2 deletions components/css/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/css",
"version": "10.0.0-alpha.1",
"version": "10.0.0-alpha.2",
"description": "UI CSS",
"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.1",
"@dhis2/ui-constants": "10.0.0-alpha.2",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
Expand Down
Loading

0 comments on commit d5d4714

Please sign in to comment.