You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASENOTES.md
+36-9Lines changed: 36 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -33,19 +33,46 @@ These are changes that have backwards-compatible solutions present and that comp
33
33
34
34
## Release 0.8.21
35
35
36
+
* DataTable's `onChange` replaced with `onRowChange`. `onChange`'s parameters are `(selectedArrayOfItems, event)`. `onRowChange` standardizes the parameters with the rest of the library with `event, { selection:[array] }`.
37
+
38
+
**Minor Features**
39
+
40
+
* Input: Add Field Level Help and Inline Help variants
41
+
* Icon: Add Warning, error, light color options
42
+
* Modal: Add additional warning when `Settings.setAppElement` is not set.
43
+
* AppLauncher: Add to CommonJS and ES6 module library export
44
+
* Add Spinner to doc site
45
+
36
46
**Bugfixes**
37
47
48
+
* Progress Indicator: Improved assistive tech user experience
49
+
* DatePicker: Fixing issue where year picker doesn't show years correctly
50
+
* GlobalHeaderButton: Invalid markup fixed when used within GlobalHeaderTrigger
51
+
* Tree: Allow label to be a React node (more lenient proptypes)
38
52
* Positioning behavior of Dialog components that use nubbins has changed. This applies to `Popover`, `Tooltip`, `Datepicker`, `Dropdown`. Previously the nubbin would be misaligned due to hardcoded margins that would get added onto the dialog component. It will now instead calculate the offsets and include them in the positioning logic and add/subtract from the left and top.
39
-
40
53
* Dialogs that use nubbins would previously have the nubbins point at the location on the reference trigger component (i.e. `Button`). Details:
41
-
* If a Popover had an align of `top left`, that meant the nubbin would point at the top left hand side of the `Button`.
42
-
* The behavior now is that the nubbin will always position the Dialog element as needed to ensure it points at the center of the desired side.
43
-
* In the case of a `top left` align the left will only designate the location of the nubbin on the Dialog.
44
-
* We may decide to bring back the ability to control both the nubbin location on the Dialog, but also the location at which it points to on the reference element. Much of the logic surrounding nubbins has been broken at the seams and edge cases for a long time. This change has been done in order to provide a more robust and dependable solution.
45
-
* Any dialog that uses an `offset` prop will need to be manually readjusted.
46
-
* Deprecate `offset` prop for `Dropdown` and `Popover`. The manual setting of positional offset of dialog components has been deemed unreliable. Position logic has been re-written to deliver better and more reliable positioning. Please create an issue if you have an edge case not covered by the built-in logic.
47
-
* In the future we may change the props on some of these Dialog components to ensure a more consistent positioning API with hopefully some less head-scratching in terms of how to use it. This may include deprecating certain props and introduction of other props.
48
-
54
+
* If a Popover had an align of `top left`, that meant the nubbin would point at the top left hand side of the `Button`.
55
+
* The behavior now is that the nubbin will always position the Dialog element as needed to ensure it points at the center of the desired side.
56
+
* In the case of a `top left` align the left will only designate the location of the nubbin on the Dialog.
57
+
* We may decide to bring back the ability to control both the nubbin location on the Dialog, but also the location at which it points to on the reference element. Much of the logic surrounding nubbins has been broken at the seams and edge cases for a long time. This change has been done in order to provide a more robust and dependable solution.
58
+
* Any dialog that uses an `offset` prop will need to be manually readjusted.
59
+
* Deprecate `offset` prop for `Dropdown` and `Popover`. The manual setting of positional offset of dialog components has been deemed unreliable. Position logic has been re-written to deliver better and more reliable positioning. Please create an issue if you have an edge case not covered by the built-in logic.
60
+
61
+
**Maintenance and documenation**
62
+
63
+
* Move `Navigation` to `VerticalNavigation` to align with SLDS.
64
+
* Dropdown: Document that default menu height is 5
65
+
* Datepicker: Increase default years, 5 to 10 years
66
+
* Add warnings to `bread-crumb`, `forms/input`, `forms/radio`, `forms/textarea`, `navigation`, `popover-tooltip` to show that they have been moved. Warning only occurs when using source code files `import [COMPONENT] from`design-system-react/components/[COMPONENT]`
67
+
* Modal: Deprecate rarely used Trigger Portal found at `/components/modal/trigger`
68
+
* Combobox: Clarify prop docs
69
+
* Update react-doc-gen version
70
+
* Tree: Move to one render function and proptype object per file
71
+
* Add url-slug to package.json components, Makes prompt easier to find
72
+
* Update SLDS site URLs for doc site
73
+
* Add NPM babel preset `package.json`
74
+
* Prefer object spread instead of `object.assign` eslint rule
75
+
* Revert to `npm install` from `npm ci` due to TravisCI issues
* DataTable's `onChange` replaced with `onRowChange`. `onChange`'s parameters are `(selectedArrayOfItems, event)`. `onRowChange` standardizes the parameters with the rest of the library with `event, { selection:[array] }`.
4
+
5
+
**Minor Features**
6
+
7
+
* Input: Add Field Level Help and Inline Help variants
8
+
* Icon: Add Warning, error, light color options
9
+
* Modal: Add additional warning when `Settings.setAppElement` is not set.
10
+
* AppLauncher: Add to CommonJS and ES6 module library export
11
+
* Add Spinner to doc site
12
+
13
+
**Bugfixes**
14
+
15
+
* Progress Indicator: Improved assistive tech user experience
16
+
* DatePicker: Fixing issue where year picker doesn't show years correctly
17
+
* GlobalHeaderButton: Invalid markup fixed when used within GlobalHeaderTrigger
18
+
* Tree: Allow label to be a React node (more lenient proptypes)
19
+
* Positioning behavior of Dialog components that use nubbins has changed. This applies to `Popover`, `Tooltip`, `Datepicker`, `Dropdown`. Previously the nubbin would be misaligned due to hardcoded margins that would get added onto the dialog component. It will now instead calculate the offsets and include them in the positioning logic and add/subtract from the left and top.
20
+
* Dialogs that use nubbins would previously have the nubbins point at the location on the reference trigger component (i.e. `Button`). Details:
21
+
* If a Popover had an align of `top left`, that meant the nubbin would point at the top left hand side of the `Button`.
22
+
* The behavior now is that the nubbin will always position the Dialog element as needed to ensure it points at the center of the desired side.
23
+
* In the case of a `top left` align the left will only designate the location of the nubbin on the Dialog.
24
+
* We may decide to bring back the ability to control both the nubbin location on the Dialog, but also the location at which it points to on the reference element. Much of the logic surrounding nubbins has been broken at the seams and edge cases for a long time. This change has been done in order to provide a more robust and dependable solution.
25
+
* Any dialog that uses an `offset` prop will need to be manually readjusted.
26
+
* Deprecate `offset` prop for `Dropdown` and `Popover`. The manual setting of positional offset of dialog components has been deemed unreliable. Position logic has been re-written to deliver better and more reliable positioning. Please create an issue if you have an edge case not covered by the built-in logic.
27
+
28
+
**Maintenance and documenation**
29
+
30
+
* Move `Navigation` to `VerticalNavigation` to align with SLDS.
31
+
* Dropdown: Document that default menu height is 5
32
+
* Datepicker: Increase default years, 5 to 10 years
33
+
* Add warnings to `bread-crumb`, `forms/input`, `forms/radio`, `forms/textarea`, `navigation`, `popover-tooltip` to show that they have been moved. Warning only occurs when using source code files `import [COMPONENT] from`design-system-react/components/[COMPONENT]`
34
+
* Modal: Deprecate rarely used Trigger Portal found at `/components/modal/trigger`
35
+
* Combobox: Clarify prop docs
36
+
* Update react-doc-gen version
37
+
* Tree: Move to one render function and proptype object per file
38
+
* Add url-slug to package.json components, Makes prompt easier to find
39
+
* Update SLDS site URLs for doc site
40
+
* Add NPM babel preset `package.json`
41
+
* Prefer object spread instead of `object.assign` eslint rule
42
+
* Revert to `npm install` from `npm ci` due to TravisCI issues
0 commit comments