@dhis2/ui 8.15.0 → 8.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/API.md +6 -6
  2. package/package.json +49 -49
package/API.md CHANGED
@@ -155,15 +155,15 @@ import { DropdownButton } from '@dhis2/ui'
155
155
  |className|string||||
156
156
  |component|element|||Component to show/hide when button is clicked|
157
157
  |dataTest|string|`'dhis2-uicore-dropdownbutton'`|||
158
- |destructive|custom|||Button variant. Mutually exclusive with `primary` and `secondary` props|
158
+ |destructive|boolean|||Applies 'destructive' button appearance, implying a dangerous action.|
159
159
  |disabled|boolean|||Make the button non-interactive|
160
160
  |icon|element||||
161
161
  |initialFocus|boolean|||Grants button initial focus on the page|
162
162
  |large|custom|||Button size. Mutually exclusive with `small` prop|
163
163
  |name|string||||
164
164
  |open|boolean|||Controls popper visibility. When implementing this prop the component becomes a controlled component|
165
- |primary|custom|||Button variant. Mutually exclusive with `destructive` and `secondary` props|
166
- |secondary|custom|||Button variant. Mutually exclusive with `primary` and `destructive` props|
165
+ |primary|boolean|||Applies 'primary' button appearance, implying the most important action.|
166
+ |secondary|boolean|||Applies 'secondary' button appearance.|
167
167
  |small|custom|||Button size. Mutually exclusive with `large` prop|
168
168
  |tabIndex|string||||
169
169
  |type|'submit' │ 'reset' │ 'button'|||Type of button. Can take advantage of different default behavior|
@@ -190,14 +190,14 @@ import { SplitButton } from '@dhis2/ui'
190
190
  |className|string||||
191
191
  |component|element|||Component to render when the dropdown is opened|
192
192
  |dataTest|string|`'dhis2-uicore-splitbutton'`|||
193
- |destructive|custom|||Applies 'destructive' appearance to indicate purpose. Mutually exclusive with `primary` and `secondary` props|
193
+ |destructive|boolean|||Applies 'destructive' button appearance, implying a dangerous action.|
194
194
  |disabled|boolean|||Disables the button and makes it uninteractive|
195
195
  |icon|element|||An icon to add inside the button|
196
196
  |initialFocus|boolean|||Grants the button the initial focus|
197
197
  |large|custom|||Changes button size. Mutually exclusive with `small` prop|
198
198
  |name|string||||
199
- |primary|custom|||Applies 'primary' appearance to indicate purpose. Mutually exclusive with `destructive` and `secondary` props|
200
- |secondary|custom|||Applies 'secondary' appearance to indicate purpose. Mutually exclusive with `primary` and `destructive` props|
199
+ |primary|boolean|||Applies 'primary' button appearance, implying the most important action.|
200
+ |secondary|boolean|||Applies 'secondary' button appearance.|
201
201
  |small|custom|||Changes button size. Mutually exclusive with `large` prop|
202
202
  |tabIndex|string||||
203
203
  |type|'submit' │ 'reset' │ 'button'|||Type of button. Applied to html `button` element|
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2/ui",
3
- "version": "8.15.0",
3
+ "version": "8.15.1",
4
4
  "main": "./build/cjs/index.js",
5
5
  "module": "./build/es/index.js",
6
6
  "exports": {
@@ -20,54 +20,54 @@
20
20
  "build": "d2-app-scripts build"
21
21
  },
22
22
  "dependencies": {
23
- "@dhis2-ui/alert": "8.15.0",
24
- "@dhis2-ui/box": "8.15.0",
25
- "@dhis2-ui/button": "8.15.0",
26
- "@dhis2-ui/calendar": "8.15.0",
27
- "@dhis2-ui/card": "8.15.0",
28
- "@dhis2-ui/center": "8.15.0",
29
- "@dhis2-ui/checkbox": "8.15.0",
30
- "@dhis2-ui/chip": "8.15.0",
31
- "@dhis2-ui/cover": "8.15.0",
32
- "@dhis2-ui/css": "8.15.0",
33
- "@dhis2-ui/divider": "8.15.0",
34
- "@dhis2-ui/field": "8.15.0",
35
- "@dhis2-ui/file-input": "8.15.0",
36
- "@dhis2-ui/header-bar": "8.15.0",
37
- "@dhis2-ui/help": "8.15.0",
38
- "@dhis2-ui/input": "8.15.0",
39
- "@dhis2-ui/intersection-detector": "8.15.0",
40
- "@dhis2-ui/label": "8.15.0",
41
- "@dhis2-ui/layer": "8.15.0",
42
- "@dhis2-ui/legend": "8.15.0",
43
- "@dhis2-ui/loader": "8.15.0",
44
- "@dhis2-ui/logo": "8.15.0",
45
- "@dhis2-ui/menu": "8.15.0",
46
- "@dhis2-ui/modal": "8.15.0",
47
- "@dhis2-ui/node": "8.15.0",
48
- "@dhis2-ui/notice-box": "8.15.0",
49
- "@dhis2-ui/organisation-unit-tree": "8.15.0",
50
- "@dhis2-ui/pagination": "8.15.0",
51
- "@dhis2-ui/popover": "8.15.0",
52
- "@dhis2-ui/popper": "8.15.0",
53
- "@dhis2-ui/portal": "8.15.0",
54
- "@dhis2-ui/radio": "8.15.0",
55
- "@dhis2-ui/required": "8.15.0",
56
- "@dhis2-ui/segmented-control": "8.15.0",
57
- "@dhis2-ui/select": "8.15.0",
58
- "@dhis2-ui/selector-bar": "8.15.0",
59
- "@dhis2-ui/sharing-dialog": "8.15.0",
60
- "@dhis2-ui/switch": "8.15.0",
61
- "@dhis2-ui/tab": "8.15.0",
62
- "@dhis2-ui/table": "8.15.0",
63
- "@dhis2-ui/tag": "8.15.0",
64
- "@dhis2-ui/text-area": "8.15.0",
65
- "@dhis2-ui/tooltip": "8.15.0",
66
- "@dhis2-ui/transfer": "8.15.0",
67
- "@dhis2-ui/user-avatar": "8.15.0",
68
- "@dhis2/ui-constants": "8.15.0",
69
- "@dhis2/ui-forms": "8.15.0",
70
- "@dhis2/ui-icons": "8.15.0",
23
+ "@dhis2-ui/alert": "8.15.1",
24
+ "@dhis2-ui/box": "8.15.1",
25
+ "@dhis2-ui/button": "8.15.1",
26
+ "@dhis2-ui/calendar": "8.15.1",
27
+ "@dhis2-ui/card": "8.15.1",
28
+ "@dhis2-ui/center": "8.15.1",
29
+ "@dhis2-ui/checkbox": "8.15.1",
30
+ "@dhis2-ui/chip": "8.15.1",
31
+ "@dhis2-ui/cover": "8.15.1",
32
+ "@dhis2-ui/css": "8.15.1",
33
+ "@dhis2-ui/divider": "8.15.1",
34
+ "@dhis2-ui/field": "8.15.1",
35
+ "@dhis2-ui/file-input": "8.15.1",
36
+ "@dhis2-ui/header-bar": "8.15.1",
37
+ "@dhis2-ui/help": "8.15.1",
38
+ "@dhis2-ui/input": "8.15.1",
39
+ "@dhis2-ui/intersection-detector": "8.15.1",
40
+ "@dhis2-ui/label": "8.15.1",
41
+ "@dhis2-ui/layer": "8.15.1",
42
+ "@dhis2-ui/legend": "8.15.1",
43
+ "@dhis2-ui/loader": "8.15.1",
44
+ "@dhis2-ui/logo": "8.15.1",
45
+ "@dhis2-ui/menu": "8.15.1",
46
+ "@dhis2-ui/modal": "8.15.1",
47
+ "@dhis2-ui/node": "8.15.1",
48
+ "@dhis2-ui/notice-box": "8.15.1",
49
+ "@dhis2-ui/organisation-unit-tree": "8.15.1",
50
+ "@dhis2-ui/pagination": "8.15.1",
51
+ "@dhis2-ui/popover": "8.15.1",
52
+ "@dhis2-ui/popper": "8.15.1",
53
+ "@dhis2-ui/portal": "8.15.1",
54
+ "@dhis2-ui/radio": "8.15.1",
55
+ "@dhis2-ui/required": "8.15.1",
56
+ "@dhis2-ui/segmented-control": "8.15.1",
57
+ "@dhis2-ui/select": "8.15.1",
58
+ "@dhis2-ui/selector-bar": "8.15.1",
59
+ "@dhis2-ui/sharing-dialog": "8.15.1",
60
+ "@dhis2-ui/switch": "8.15.1",
61
+ "@dhis2-ui/tab": "8.15.1",
62
+ "@dhis2-ui/table": "8.15.1",
63
+ "@dhis2-ui/tag": "8.15.1",
64
+ "@dhis2-ui/text-area": "8.15.1",
65
+ "@dhis2-ui/tooltip": "8.15.1",
66
+ "@dhis2-ui/transfer": "8.15.1",
67
+ "@dhis2-ui/user-avatar": "8.15.1",
68
+ "@dhis2/ui-constants": "8.15.1",
69
+ "@dhis2/ui-forms": "8.15.1",
70
+ "@dhis2/ui-icons": "8.15.1",
71
71
  "prop-types": "^15.7.2"
72
72
  },
73
73
  "peerDependencies": {