Skip to content

Commit

Permalink
chore(release): cut 9.0.0-alpha.1 [skip release]
Browse files Browse the repository at this point in the history
# [9.0.0-alpha.1](v8.16.0-alpha.2...v9.0.0-alpha.1) (2023-12-06)

### Bug Fixes

* **constants:** remove buttonVariantProptype from constants ([#1436](#1436)) ([d4dc535](d4dc535))

### BREAKING CHANGES

* **constants:** `buttonVariantPropType` has been removed from constants.
This is mostly intended for internal use, but was part of the public API.
  • Loading branch information
dhis2-bot committed Dec 6, 2023
1 parent d4dc535 commit 9c83313
Show file tree
Hide file tree
Showing 57 changed files with 303 additions and 289 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# [9.0.0-alpha.1](https://github.com/dhis2/ui/compare/v8.16.0-alpha.2...v9.0.0-alpha.1) (2023-12-06)


### Bug Fixes

* **constants:** remove buttonVariantProptype from constants ([#1436](https://github.com/dhis2/ui/issues/1436)) ([d4dc535](https://github.com/dhis2/ui/commit/d4dc5350ac4254feb7a4e0c1aa4a55113845e247))


### BREAKING CHANGES

* **constants:** `buttonVariantPropType` has been removed from constants.
This is mostly intended for internal use, but was part of the public API.

# [8.16.0-alpha.2](https://github.com/dhis2/ui/compare/v8.16.0-alpha.1...v8.16.0-alpha.2) (2023-11-29)


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": "8.16.0-alpha.2",
"version": "9.0.0-alpha.1",
"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": "8.16.0-alpha.2",
"@dhis2-ui/checkbox": "8.16.0-alpha.2",
"@dhis2-ui/field": "8.16.0-alpha.2",
"@dhis2-ui/file-input": "8.16.0-alpha.2",
"@dhis2-ui/input": "8.16.0-alpha.2",
"@dhis2-ui/radio": "8.16.0-alpha.2",
"@dhis2-ui/select": "8.16.0-alpha.2",
"@dhis2-ui/switch": "8.16.0-alpha.2",
"@dhis2-ui/text-area": "8.16.0-alpha.2",
"@dhis2-ui/button": "9.0.0-alpha.1",
"@dhis2-ui/checkbox": "9.0.0-alpha.1",
"@dhis2-ui/field": "9.0.0-alpha.1",
"@dhis2-ui/file-input": "9.0.0-alpha.1",
"@dhis2-ui/input": "9.0.0-alpha.1",
"@dhis2-ui/radio": "9.0.0-alpha.1",
"@dhis2-ui/select": "9.0.0-alpha.1",
"@dhis2-ui/switch": "9.0.0-alpha.1",
"@dhis2-ui/text-area": "9.0.0-alpha.1",
"classnames": "^2.3.1",
"final-form": "^4.20.2",
"prop-types": "^15.7.2",
Expand Down
12 changes: 6 additions & 6 deletions collections/ui/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,15 @@ import { DropdownButton } from '@dhis2/ui'
|className|string||||
|component|element|||Component to show/hide when button is clicked|
|dataTest|string|`'dhis2-uicore-dropdownbutton'`|||
|destructive|custom|||Button variant. Mutually exclusive with `primary` and `secondary` props|
|destructive|boolean|||Applies 'destructive' button appearance, implying a dangerous action.|
|disabled|boolean|||Make the button non-interactive|
|icon|element||||
|initialFocus|boolean|||Grants button initial focus on the page|
|large|custom|||Button size. Mutually exclusive with `small` prop|
|name|string||||
|open|boolean|||Controls popper visibility. When implementing this prop the component becomes a controlled component|
|primary|custom|||Button variant. Mutually exclusive with `destructive` and `secondary` props|
|secondary|custom|||Button variant. Mutually exclusive with `primary` and `destructive` props|
|primary|boolean|||Applies 'primary' button appearance, implying the most important action.|
|secondary|boolean|||Applies 'secondary' button appearance.|
|small|custom|||Button size. Mutually exclusive with `large` prop|
|tabIndex|string||||
|type|'submit' │ 'reset' │ 'button'|||Type of button. Can take advantage of different default behavior|
Expand All @@ -190,14 +190,14 @@ import { SplitButton } from '@dhis2/ui'
|className|string||||
|component|element|||Component to render when the dropdown is opened|
|dataTest|string|`'dhis2-uicore-splitbutton'`|||
|destructive|custom|||Applies 'destructive' appearance to indicate purpose. Mutually exclusive with `primary` and `secondary` props|
|destructive|boolean|||Applies 'destructive' button appearance, implying a dangerous action.|
|disabled|boolean|||Disables the button and makes it uninteractive|
|icon|element|||An icon to add inside the button|
|initialFocus|boolean|||Grants the button the initial focus|
|large|custom|||Changes button size. Mutually exclusive with `small` prop|
|name|string||||
|primary|custom|||Applies 'primary' appearance to indicate purpose. Mutually exclusive with `destructive` and `secondary` props|
|secondary|custom|||Applies 'secondary' appearance to indicate purpose. Mutually exclusive with `primary` and `destructive` props|
|primary|boolean|||Applies 'primary' button appearance, implying the most important action.|
|secondary|boolean|||Applies 'secondary' button appearance.|
|small|custom|||Changes button size. Mutually exclusive with `large` prop|
|tabIndex|string||||
|type|'submit' │ 'reset' │ 'button'|||Type of button. Applied to html `button` element|
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": "8.16.0-alpha.2",
"version": "9.0.0-alpha.1",
"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": "8.16.0-alpha.2",
"@dhis2-ui/box": "8.16.0-alpha.2",
"@dhis2-ui/button": "8.16.0-alpha.2",
"@dhis2-ui/calendar": "8.16.0-alpha.2",
"@dhis2-ui/card": "8.16.0-alpha.2",
"@dhis2-ui/center": "8.16.0-alpha.2",
"@dhis2-ui/checkbox": "8.16.0-alpha.2",
"@dhis2-ui/chip": "8.16.0-alpha.2",
"@dhis2-ui/cover": "8.16.0-alpha.2",
"@dhis2-ui/css": "8.16.0-alpha.2",
"@dhis2-ui/divider": "8.16.0-alpha.2",
"@dhis2-ui/field": "8.16.0-alpha.2",
"@dhis2-ui/file-input": "8.16.0-alpha.2",
"@dhis2-ui/header-bar": "8.16.0-alpha.2",
"@dhis2-ui/help": "8.16.0-alpha.2",
"@dhis2-ui/input": "8.16.0-alpha.2",
"@dhis2-ui/intersection-detector": "8.16.0-alpha.2",
"@dhis2-ui/label": "8.16.0-alpha.2",
"@dhis2-ui/layer": "8.16.0-alpha.2",
"@dhis2-ui/legend": "8.16.0-alpha.2",
"@dhis2-ui/loader": "8.16.0-alpha.2",
"@dhis2-ui/logo": "8.16.0-alpha.2",
"@dhis2-ui/menu": "8.16.0-alpha.2",
"@dhis2-ui/modal": "8.16.0-alpha.2",
"@dhis2-ui/node": "8.16.0-alpha.2",
"@dhis2-ui/notice-box": "8.16.0-alpha.2",
"@dhis2-ui/organisation-unit-tree": "8.16.0-alpha.2",
"@dhis2-ui/pagination": "8.16.0-alpha.2",
"@dhis2-ui/popover": "8.16.0-alpha.2",
"@dhis2-ui/popper": "8.16.0-alpha.2",
"@dhis2-ui/portal": "8.16.0-alpha.2",
"@dhis2-ui/radio": "8.16.0-alpha.2",
"@dhis2-ui/required": "8.16.0-alpha.2",
"@dhis2-ui/segmented-control": "8.16.0-alpha.2",
"@dhis2-ui/select": "8.16.0-alpha.2",
"@dhis2-ui/selector-bar": "8.16.0-alpha.2",
"@dhis2-ui/sharing-dialog": "8.16.0-alpha.2",
"@dhis2-ui/switch": "8.16.0-alpha.2",
"@dhis2-ui/tab": "8.16.0-alpha.2",
"@dhis2-ui/table": "8.16.0-alpha.2",
"@dhis2-ui/tag": "8.16.0-alpha.2",
"@dhis2-ui/text-area": "8.16.0-alpha.2",
"@dhis2-ui/tooltip": "8.16.0-alpha.2",
"@dhis2-ui/transfer": "8.16.0-alpha.2",
"@dhis2-ui/user-avatar": "8.16.0-alpha.2",
"@dhis2/ui-constants": "8.16.0-alpha.2",
"@dhis2/ui-forms": "8.16.0-alpha.2",
"@dhis2/ui-icons": "8.16.0-alpha.2",
"@dhis2-ui/alert": "9.0.0-alpha.1",
"@dhis2-ui/box": "9.0.0-alpha.1",
"@dhis2-ui/button": "9.0.0-alpha.1",
"@dhis2-ui/calendar": "9.0.0-alpha.1",
"@dhis2-ui/card": "9.0.0-alpha.1",
"@dhis2-ui/center": "9.0.0-alpha.1",
"@dhis2-ui/checkbox": "9.0.0-alpha.1",
"@dhis2-ui/chip": "9.0.0-alpha.1",
"@dhis2-ui/cover": "9.0.0-alpha.1",
"@dhis2-ui/css": "9.0.0-alpha.1",
"@dhis2-ui/divider": "9.0.0-alpha.1",
"@dhis2-ui/field": "9.0.0-alpha.1",
"@dhis2-ui/file-input": "9.0.0-alpha.1",
"@dhis2-ui/header-bar": "9.0.0-alpha.1",
"@dhis2-ui/help": "9.0.0-alpha.1",
"@dhis2-ui/input": "9.0.0-alpha.1",
"@dhis2-ui/intersection-detector": "9.0.0-alpha.1",
"@dhis2-ui/label": "9.0.0-alpha.1",
"@dhis2-ui/layer": "9.0.0-alpha.1",
"@dhis2-ui/legend": "9.0.0-alpha.1",
"@dhis2-ui/loader": "9.0.0-alpha.1",
"@dhis2-ui/logo": "9.0.0-alpha.1",
"@dhis2-ui/menu": "9.0.0-alpha.1",
"@dhis2-ui/modal": "9.0.0-alpha.1",
"@dhis2-ui/node": "9.0.0-alpha.1",
"@dhis2-ui/notice-box": "9.0.0-alpha.1",
"@dhis2-ui/organisation-unit-tree": "9.0.0-alpha.1",
"@dhis2-ui/pagination": "9.0.0-alpha.1",
"@dhis2-ui/popover": "9.0.0-alpha.1",
"@dhis2-ui/popper": "9.0.0-alpha.1",
"@dhis2-ui/portal": "9.0.0-alpha.1",
"@dhis2-ui/radio": "9.0.0-alpha.1",
"@dhis2-ui/required": "9.0.0-alpha.1",
"@dhis2-ui/segmented-control": "9.0.0-alpha.1",
"@dhis2-ui/select": "9.0.0-alpha.1",
"@dhis2-ui/selector-bar": "9.0.0-alpha.1",
"@dhis2-ui/sharing-dialog": "9.0.0-alpha.1",
"@dhis2-ui/switch": "9.0.0-alpha.1",
"@dhis2-ui/tab": "9.0.0-alpha.1",
"@dhis2-ui/table": "9.0.0-alpha.1",
"@dhis2-ui/tag": "9.0.0-alpha.1",
"@dhis2-ui/text-area": "9.0.0-alpha.1",
"@dhis2-ui/tooltip": "9.0.0-alpha.1",
"@dhis2-ui/transfer": "9.0.0-alpha.1",
"@dhis2-ui/user-avatar": "9.0.0-alpha.1",
"@dhis2/ui-constants": "9.0.0-alpha.1",
"@dhis2/ui-forms": "9.0.0-alpha.1",
"@dhis2/ui-icons": "9.0.0-alpha.1",
"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": "8.16.0-alpha.2",
"version": "9.0.0-alpha.1",
"description": "UI Alert",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,9 +33,9 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2-ui/portal": "8.16.0-alpha.2",
"@dhis2/ui-constants": "8.16.0-alpha.2",
"@dhis2/ui-icons": "8.16.0-alpha.2",
"@dhis2-ui/portal": "9.0.0-alpha.1",
"@dhis2/ui-constants": "9.0.0-alpha.1",
"@dhis2/ui-icons": "9.0.0-alpha.1",
"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": "8.16.0-alpha.2",
"version": "9.0.0-alpha.1",
"description": "UI Box",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2/ui-constants": "8.16.0-alpha.2",
"@dhis2/ui-constants": "9.0.0-alpha.1",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
Expand Down
12 changes: 6 additions & 6 deletions components/button/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ import { DropdownButton } from '@dhis2-ui/button'
|className|string||||
|component|element|||Component to show/hide when button is clicked|
|dataTest|string|`'dhis2-uicore-dropdownbutton'`|||
|destructive|custom|||Button variant. Mutually exclusive with `primary` and `secondary` props|
|destructive|boolean|||Applies 'destructive' button appearance, implying a dangerous action.|
|disabled|boolean|||Make the button non-interactive|
|icon|element||||
|initialFocus|boolean|||Grants button initial focus on the page|
|large|custom|||Button size. Mutually exclusive with `small` prop|
|name|string||||
|open|boolean|||Controls popper visibility. When implementing this prop the component becomes a controlled component|
|primary|custom|||Button variant. Mutually exclusive with `destructive` and `secondary` props|
|secondary|custom|||Button variant. Mutually exclusive with `primary` and `destructive` props|
|primary|boolean|||Applies 'primary' button appearance, implying the most important action.|
|secondary|boolean|||Applies 'secondary' button appearance.|
|small|custom|||Button size. Mutually exclusive with `large` prop|
|tabIndex|string||||
|type|'submit' │ 'reset' │ 'button'|||Type of button. Can take advantage of different default behavior|
Expand All @@ -113,14 +113,14 @@ import { SplitButton } from '@dhis2-ui/button'
|className|string||||
|component|element|||Component to render when the dropdown is opened|
|dataTest|string|`'dhis2-uicore-splitbutton'`|||
|destructive|custom|||Applies 'destructive' appearance to indicate purpose. Mutually exclusive with `primary` and `secondary` props|
|destructive|boolean|||Applies 'destructive' button appearance, implying a dangerous action.|
|disabled|boolean|||Disables the button and makes it uninteractive|
|icon|element|||An icon to add inside the button|
|initialFocus|boolean|||Grants the button the initial focus|
|large|custom|||Changes button size. Mutually exclusive with `small` prop|
|name|string||||
|primary|custom|||Applies 'primary' appearance to indicate purpose. Mutually exclusive with `destructive` and `secondary` props|
|secondary|custom|||Applies 'secondary' appearance to indicate purpose. Mutually exclusive with `primary` and `destructive` props|
|primary|boolean|||Applies 'primary' button appearance, implying the most important action.|
|secondary|boolean|||Applies 'secondary' button appearance.|
|small|custom|||Changes button size. Mutually exclusive with `large` prop|
|tabIndex|string||||
|type|'submit' │ 'reset' │ 'button'|||Type of button. Applied to html `button` element|
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": "8.16.0-alpha.2",
"version": "9.0.0-alpha.1",
"description": "UI Button",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,11 +33,11 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2-ui/layer": "8.16.0-alpha.2",
"@dhis2-ui/loader": "8.16.0-alpha.2",
"@dhis2-ui/popper": "8.16.0-alpha.2",
"@dhis2/ui-constants": "8.16.0-alpha.2",
"@dhis2/ui-icons": "8.16.0-alpha.2",
"@dhis2-ui/layer": "9.0.0-alpha.1",
"@dhis2-ui/loader": "9.0.0-alpha.1",
"@dhis2-ui/popper": "9.0.0-alpha.1",
"@dhis2/ui-constants": "9.0.0-alpha.1",
"@dhis2/ui-icons": "9.0.0-alpha.1",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
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": "8.16.0-alpha.2",
"version": "9.0.0-alpha.1",
"description": "UI Calendar",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,15 +33,15 @@
"styled-jsx": "^4"
},
"dependencies": {
"@dhis2-ui/button": "8.16.0-alpha.2",
"@dhis2-ui/card": "8.16.0-alpha.2",
"@dhis2-ui/input": "8.16.0-alpha.2",
"@dhis2-ui/layer": "8.16.0-alpha.2",
"@dhis2-ui/popper": "8.16.0-alpha.2",
"@dhis2-ui/button": "9.0.0-alpha.1",
"@dhis2-ui/card": "9.0.0-alpha.1",
"@dhis2-ui/input": "9.0.0-alpha.1",
"@dhis2-ui/layer": "9.0.0-alpha.1",
"@dhis2-ui/popper": "9.0.0-alpha.1",
"@dhis2/multi-calendar-dates": "1.0.2",
"@dhis2/prop-types": "^3.1.2",
"@dhis2/ui-constants": "8.16.0-alpha.2",
"@dhis2/ui-icons": "8.16.0-alpha.2",
"@dhis2/ui-constants": "9.0.0-alpha.1",
"@dhis2/ui-icons": "9.0.0-alpha.1",
"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": "8.16.0-alpha.2",
"version": "9.0.0-alpha.1",
"description": "UI Card",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2/ui-constants": "8.16.0-alpha.2",
"@dhis2/ui-constants": "9.0.0-alpha.1",
"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": "8.16.0-alpha.2",
"version": "9.0.0-alpha.1",
"description": "UI Center",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2/ui-constants": "8.16.0-alpha.2",
"@dhis2/ui-constants": "9.0.0-alpha.1",
"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": "8.16.0-alpha.2",
"version": "9.0.0-alpha.1",
"description": "UI Checkbox",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,9 +33,9 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2-ui/field": "8.16.0-alpha.2",
"@dhis2-ui/required": "8.16.0-alpha.2",
"@dhis2/ui-constants": "8.16.0-alpha.2",
"@dhis2-ui/field": "9.0.0-alpha.1",
"@dhis2-ui/required": "9.0.0-alpha.1",
"@dhis2/ui-constants": "9.0.0-alpha.1",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
Expand Down
Loading

0 comments on commit 9c83313

Please sign in to comment.