Skip to content

Commit

Permalink
chore(release): cut 8.15.0 [skip release]
Browse files Browse the repository at this point in the history
# [8.15.0](v8.14.13...v8.15.0) (2023-11-27)

### Features

* **button:** destructive secondary variant ([b72a04a](b72a04a))
  • Loading branch information
dhis2-bot committed Nov 27, 2023
1 parent 838610b commit adb0d0d
Show file tree
Hide file tree
Showing 57 changed files with 290 additions and 285 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [8.15.0](https://github.com/dhis2/ui/compare/v8.14.13...v8.15.0) (2023-11-27)


### Features

* **button:** destructive secondary variant ([b72a04a](https://github.com/dhis2/ui/commit/b72a04a93cfb08180c030a94b8ad6008f3084bcf))

## [8.14.13](https://github.com/dhis2/ui/compare/v8.14.12...v8.14.13) (2023-11-26)


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.14.13",
"version": "8.15.0",
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"sideEffects": [
Expand Down Expand Up @@ -34,15 +34,15 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2-ui/button": "8.14.13",
"@dhis2-ui/checkbox": "8.14.13",
"@dhis2-ui/field": "8.14.13",
"@dhis2-ui/file-input": "8.14.13",
"@dhis2-ui/input": "8.14.13",
"@dhis2-ui/radio": "8.14.13",
"@dhis2-ui/select": "8.14.13",
"@dhis2-ui/switch": "8.14.13",
"@dhis2-ui/text-area": "8.14.13",
"@dhis2-ui/button": "8.15.0",
"@dhis2-ui/checkbox": "8.15.0",
"@dhis2-ui/field": "8.15.0",
"@dhis2-ui/file-input": "8.15.0",
"@dhis2-ui/input": "8.15.0",
"@dhis2-ui/radio": "8.15.0",
"@dhis2-ui/select": "8.15.0",
"@dhis2-ui/switch": "8.15.0",
"@dhis2-ui/text-area": "8.15.0",
"classnames": "^2.3.1",
"final-form": "^4.20.2",
"prop-types": "^15.7.2",
Expand Down
6 changes: 3 additions & 3 deletions collections/ui/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@ import { Button } from '@dhis2/ui'
|children|node|||Component to render inside the button|
|className|string|||A className that will be passed to the `<button>` element|
|dataTest|string|`'dhis2-uicore-button'`||A string that will be applied as a `data-test` attribute on the button element<br/>for identification during testing|
|destructive|custom|||Indicates that the button makes potentially dangerous<br/>deletions or data changes.<br/>Mutually exclusive with `primary` and `secondary` props|
|destructive|boolean|||Applies 'destructive' button appearance, implying a dangerous action.|
|disabled|boolean|||Applies a greyed-out appearance and makes the button non-interactive|
|icon|element|||An icon element to display inside the button|
|initialFocus|boolean|||Use this variant to capture the initial focus on the page.|
|large|custom|||Makes the button large. Mutually exclusive with `small`|
|loading|boolean|||Sets the button into a loading state|
|name|string|||Sets `name` attribute on button element.<br/>Gets passed as part of the first argument to callbacks (see `onClick`).|
|primary|custom|||Applies 'primary' button appearance.<br/>Mutually exclusive with `destructive` and `secondary` props|
|secondary|custom|||Applies 'secondary' button appearance.<br/>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|||Makes the button small. Mutually exclusive with `large` prop|
|tabIndex|string|||Tab index for focusing the button with a keyboard|
|toggled|boolean|||Changes appearance of button to an on/off state|
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.14.13",
"version": "8.15.0",
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
Expand All @@ -20,54 +20,54 @@
"build": "d2-app-scripts build"
},
"dependencies": {
"@dhis2-ui/alert": "8.14.13",
"@dhis2-ui/box": "8.14.13",
"@dhis2-ui/button": "8.14.13",
"@dhis2-ui/calendar": "8.14.13",
"@dhis2-ui/card": "8.14.13",
"@dhis2-ui/center": "8.14.13",
"@dhis2-ui/checkbox": "8.14.13",
"@dhis2-ui/chip": "8.14.13",
"@dhis2-ui/cover": "8.14.13",
"@dhis2-ui/css": "8.14.13",
"@dhis2-ui/divider": "8.14.13",
"@dhis2-ui/field": "8.14.13",
"@dhis2-ui/file-input": "8.14.13",
"@dhis2-ui/header-bar": "8.14.13",
"@dhis2-ui/help": "8.14.13",
"@dhis2-ui/input": "8.14.13",
"@dhis2-ui/intersection-detector": "8.14.13",
"@dhis2-ui/label": "8.14.13",
"@dhis2-ui/layer": "8.14.13",
"@dhis2-ui/legend": "8.14.13",
"@dhis2-ui/loader": "8.14.13",
"@dhis2-ui/logo": "8.14.13",
"@dhis2-ui/menu": "8.14.13",
"@dhis2-ui/modal": "8.14.13",
"@dhis2-ui/node": "8.14.13",
"@dhis2-ui/notice-box": "8.14.13",
"@dhis2-ui/organisation-unit-tree": "8.14.13",
"@dhis2-ui/pagination": "8.14.13",
"@dhis2-ui/popover": "8.14.13",
"@dhis2-ui/popper": "8.14.13",
"@dhis2-ui/portal": "8.14.13",
"@dhis2-ui/radio": "8.14.13",
"@dhis2-ui/required": "8.14.13",
"@dhis2-ui/segmented-control": "8.14.13",
"@dhis2-ui/select": "8.14.13",
"@dhis2-ui/selector-bar": "8.14.13",
"@dhis2-ui/sharing-dialog": "8.14.13",
"@dhis2-ui/switch": "8.14.13",
"@dhis2-ui/tab": "8.14.13",
"@dhis2-ui/table": "8.14.13",
"@dhis2-ui/tag": "8.14.13",
"@dhis2-ui/text-area": "8.14.13",
"@dhis2-ui/tooltip": "8.14.13",
"@dhis2-ui/transfer": "8.14.13",
"@dhis2-ui/user-avatar": "8.14.13",
"@dhis2/ui-constants": "8.14.13",
"@dhis2/ui-forms": "8.14.13",
"@dhis2/ui-icons": "8.14.13",
"@dhis2-ui/alert": "8.15.0",
"@dhis2-ui/box": "8.15.0",
"@dhis2-ui/button": "8.15.0",
"@dhis2-ui/calendar": "8.15.0",
"@dhis2-ui/card": "8.15.0",
"@dhis2-ui/center": "8.15.0",
"@dhis2-ui/checkbox": "8.15.0",
"@dhis2-ui/chip": "8.15.0",
"@dhis2-ui/cover": "8.15.0",
"@dhis2-ui/css": "8.15.0",
"@dhis2-ui/divider": "8.15.0",
"@dhis2-ui/field": "8.15.0",
"@dhis2-ui/file-input": "8.15.0",
"@dhis2-ui/header-bar": "8.15.0",
"@dhis2-ui/help": "8.15.0",
"@dhis2-ui/input": "8.15.0",
"@dhis2-ui/intersection-detector": "8.15.0",
"@dhis2-ui/label": "8.15.0",
"@dhis2-ui/layer": "8.15.0",
"@dhis2-ui/legend": "8.15.0",
"@dhis2-ui/loader": "8.15.0",
"@dhis2-ui/logo": "8.15.0",
"@dhis2-ui/menu": "8.15.0",
"@dhis2-ui/modal": "8.15.0",
"@dhis2-ui/node": "8.15.0",
"@dhis2-ui/notice-box": "8.15.0",
"@dhis2-ui/organisation-unit-tree": "8.15.0",
"@dhis2-ui/pagination": "8.15.0",
"@dhis2-ui/popover": "8.15.0",
"@dhis2-ui/popper": "8.15.0",
"@dhis2-ui/portal": "8.15.0",
"@dhis2-ui/radio": "8.15.0",
"@dhis2-ui/required": "8.15.0",
"@dhis2-ui/segmented-control": "8.15.0",
"@dhis2-ui/select": "8.15.0",
"@dhis2-ui/selector-bar": "8.15.0",
"@dhis2-ui/sharing-dialog": "8.15.0",
"@dhis2-ui/switch": "8.15.0",
"@dhis2-ui/tab": "8.15.0",
"@dhis2-ui/table": "8.15.0",
"@dhis2-ui/tag": "8.15.0",
"@dhis2-ui/text-area": "8.15.0",
"@dhis2-ui/tooltip": "8.15.0",
"@dhis2-ui/transfer": "8.15.0",
"@dhis2-ui/user-avatar": "8.15.0",
"@dhis2/ui-constants": "8.15.0",
"@dhis2/ui-forms": "8.15.0",
"@dhis2/ui-icons": "8.15.0",
"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.14.13",
"version": "8.15.0",
"description": "UI Alert",
"repository": {
"type": "git",
Expand Down Expand Up @@ -32,9 +32,9 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2-ui/portal": "8.14.13",
"@dhis2/ui-constants": "8.14.13",
"@dhis2/ui-icons": "8.14.13",
"@dhis2-ui/portal": "8.15.0",
"@dhis2/ui-constants": "8.15.0",
"@dhis2/ui-icons": "8.15.0",
"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.14.13",
"version": "8.15.0",
"description": "UI Box",
"repository": {
"type": "git",
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2/ui-constants": "8.14.13",
"@dhis2/ui-constants": "8.15.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
Expand Down
6 changes: 3 additions & 3 deletions components/button/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ import { Button } from '@dhis2-ui/button'
|children|node|||Component to render inside the button|
|className|string|||A className that will be passed to the `<button>` element|
|dataTest|string|`'dhis2-uicore-button'`||A string that will be applied as a `data-test` attribute on the button element<br/>for identification during testing|
|destructive|custom|||Indicates that the button makes potentially dangerous<br/>deletions or data changes.<br/>Mutually exclusive with `primary` and `secondary` props|
|destructive|boolean|||Applies 'destructive' button appearance, implying a dangerous action.|
|disabled|boolean|||Applies a greyed-out appearance and makes the button non-interactive|
|icon|element|||An icon element to display inside the button|
|initialFocus|boolean|||Use this variant to capture the initial focus on the page.|
|large|custom|||Makes the button large. Mutually exclusive with `small`|
|loading|boolean|||Sets the button into a loading state|
|name|string|||Sets `name` attribute on button element.<br/>Gets passed as part of the first argument to callbacks (see `onClick`).|
|primary|custom|||Applies 'primary' button appearance.<br/>Mutually exclusive with `destructive` and `secondary` props|
|secondary|custom|||Applies 'secondary' button appearance.<br/>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|||Makes the button small. Mutually exclusive with `large` prop|
|tabIndex|string|||Tab index for focusing the button with a keyboard|
|toggled|boolean|||Changes appearance of button to an on/off state|
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.14.13",
"version": "8.15.0",
"description": "UI Button",
"repository": {
"type": "git",
Expand Down Expand Up @@ -32,11 +32,11 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2-ui/layer": "8.14.13",
"@dhis2-ui/loader": "8.14.13",
"@dhis2-ui/popper": "8.14.13",
"@dhis2/ui-constants": "8.14.13",
"@dhis2/ui-icons": "8.14.13",
"@dhis2-ui/layer": "8.15.0",
"@dhis2-ui/loader": "8.15.0",
"@dhis2-ui/popper": "8.15.0",
"@dhis2/ui-constants": "8.15.0",
"@dhis2/ui-icons": "8.15.0",
"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.14.13",
"version": "8.15.0",
"description": "UI Calendar",
"repository": {
"type": "git",
Expand Down Expand Up @@ -32,15 +32,15 @@
"styled-jsx": "^4"
},
"dependencies": {
"@dhis2-ui/button": "8.14.13",
"@dhis2-ui/card": "8.14.13",
"@dhis2-ui/input": "8.14.13",
"@dhis2-ui/layer": "8.14.13",
"@dhis2-ui/popper": "8.14.13",
"@dhis2-ui/button": "8.15.0",
"@dhis2-ui/card": "8.15.0",
"@dhis2-ui/input": "8.15.0",
"@dhis2-ui/layer": "8.15.0",
"@dhis2-ui/popper": "8.15.0",
"@dhis2/multi-calendar-dates": "1.0.2",
"@dhis2/prop-types": "^3.1.2",
"@dhis2/ui-constants": "8.14.13",
"@dhis2/ui-icons": "8.14.13",
"@dhis2/ui-constants": "8.15.0",
"@dhis2/ui-icons": "8.15.0",
"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.14.13",
"version": "8.15.0",
"description": "UI Card",
"repository": {
"type": "git",
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2/ui-constants": "8.14.13",
"@dhis2/ui-constants": "8.15.0",
"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.14.13",
"version": "8.15.0",
"description": "UI Center",
"repository": {
"type": "git",
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2/ui-constants": "8.14.13",
"@dhis2/ui-constants": "8.15.0",
"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.14.13",
"version": "8.15.0",
"description": "UI Checkbox",
"repository": {
"type": "git",
Expand Down Expand Up @@ -32,9 +32,9 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2-ui/field": "8.14.13",
"@dhis2-ui/required": "8.14.13",
"@dhis2/ui-constants": "8.14.13",
"@dhis2-ui/field": "8.15.0",
"@dhis2-ui/required": "8.15.0",
"@dhis2/ui-constants": "8.15.0",
"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": "8.14.13",
"version": "8.15.0",
"description": "UI Chip",
"repository": {
"type": "git",
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2/ui-constants": "8.14.13",
"@dhis2/ui-constants": "8.15.0",
"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": "8.14.13",
"version": "8.15.0",
"description": "UI Cover",
"repository": {
"type": "git",
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2/ui-constants": "8.14.13",
"@dhis2/ui-constants": "8.15.0",
"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": "8.14.13",
"version": "8.15.0",
"description": "UI CSS",
"repository": {
"type": "git",
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
"@dhis2/ui-constants": "8.14.13",
"@dhis2/ui-constants": "8.15.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
Expand Down
Loading

0 comments on commit adb0d0d

Please sign in to comment.