diff --git a/.changeset/README.md b/.changeset/README.md index e5b6d8d6a6..ce8813d3dc 100644 --- a/.changeset/README.md +++ b/.changeset/README.md @@ -5,4 +5,4 @@ with multi-package repos, or single-package repos to help you version and publis find the full documentation for it [in our repository](https://github.com/changesets/changesets) We have a quick list of common questions to get you started engaging with this project in -[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) +[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) \ No newline at end of file diff --git a/.changeset/manualSync4-7.md b/.changeset/manualSync4-7.md new file mode 100644 index 0000000000..4f3f6dbb8b --- /dev/null +++ b/.changeset/manualSync4-7.md @@ -0,0 +1,5 @@ +--- +'react-magma-docs': patch +--- + +Manually sync main -> dev (v4.7.0) diff --git a/.changeset/pre.json b/.changeset/pre.json new file mode 100644 index 0000000000..692573c487 --- /dev/null +++ b/.changeset/pre.json @@ -0,0 +1,14 @@ +{ + "mode": "pre", + "tag": "next", + "initialVersions": { + "@react-magma/charts": "10.0.0", + "@react-magma/dropzone": "10.0.0", + "react-magma-dom": "4.7.0", + "@react-magma/schema-renderer": "10.0.0", + "@cengage-patterns/header": "12.0.0", + "react-magma-docs": "5.0.9", + "react-magma-landing": "1.1.4" + }, + "changesets": [] +} diff --git a/.changeset/rude-adults-knock.md b/.changeset/rude-adults-knock.md new file mode 100644 index 0000000000..1af0646b8e --- /dev/null +++ b/.changeset/rude-adults-knock.md @@ -0,0 +1,5 @@ +--- +'react-magma-docs': patch +--- + +Fix changelog for dom v4.7.0 diff --git a/packages/react-magma-dom/CHANGELOG.md b/packages/react-magma-dom/CHANGELOG.md index 2cf4959e65..5b8d667683 100644 --- a/packages/react-magma-dom/CHANGELOG.md +++ b/packages/react-magma-dom/CHANGELOG.md @@ -1,120 +1,60 @@ -## 4.7.0 ## 4.7.0 ### Minor Changes -- 02db8e632: feat(Stepper): Add vertical orientation for `Stepper`. -- 02db8e632: feat(Input): Update colors for error message, icon and border in dark mode. -- 02db8e632: feat(Input): Update additional children position based on label position -- 02db8e632: feat(Tabs/NavTabs): Add support for overwriting text transform with `textTransform` prop. -- 02db8e632: feat(ProgressBar): Update colors from danger200/success200 to danger300/success300 in dark mode. -- 02db8e632: feat(Combobox, Select, Date picker, Dropdown): Support viewport detection and positioning -- 02db8e632: feat(Button): Add `success` button color -- 02db8e632: feat(TreeView): Add support for `isDisabled` trees and items -- 02db8e632: feat(TreeView): `onExpandedChange` returns an array of expanded IDs -- 02db8e632: fix(TreeView): Support "show all" button inside TreeView component -- 02db8e632: feat(TreeView): Add ability to update selected items from outside the tree - -### Patch Changes - -- 02db8e632: fix(Breadcrumb): Hide SVGs from screen readers by adding `aria-hidden="true"` to the `span` element that wraps the SVGs. -- 02db8e632: fix(Button): Remove animation presses for `Button`. -- 02db8e632: fix(CheckBox): Fix unreadable labels in `CheckBox` for screen readers. -- 02db8e632: fix(CheckBox): Hide SVGs from screen readers by adding `aria-hidden="true"` to the `span` element that wraps the SVGs. -- 02db8e632: fix(Combobox): Fix focus issue after triggering the clear button -- 02db8e632: fix(DatePicker): Fix navigation and accessibility issues. -- 02db8e632: fix(DatePicker): Remove shortcut to open `HelperInformation`. -- 02db8e632: fix(DatePicker): Add `aria-label` to calendar header columns. -- 02db8e632: fix(Drawer): Fix trapped focus -- 02db8e632: fix(Dropdown): Fix a11y for active index -- 02db8e632: fix(Dropdown): Hide SVGs from screen readers by adding `aria-hidden="true"` to the `svg` elements. -- 02db8e632: fix(List): Hide SVGs from assistive tech by adding `aria-hidden="true"` to the `span` element that wraps the SVGs. -- 02db8e632: fix(ProgressBar): Remove animation if the user has `prefers-reduced-motion` media query set. -- 02db8e632: fix(Search): Fix the disappearing focus on the button when loading -- 02db8e632: fix(Select): Fix accessibility issue for `clearIndicator` inside `SelectTriggerButton`. -- 02db8e632: fix(TreeView): Improve screenreader accessibility -- 02db8e632: fix(useFocusLock): Fix the `useFocusLock` hook if the first or last element is disabled. -- 02db8e632: chore(Dropdown): Deprecate `dropDirection` & `alignment` props. These are no longer necessary with viewport detection support. -- 02db8e632: fix(Dropdown): Fix the dropdown closing on second button click in Safari -- 02db8e632: fix(Heading): Add the `noTopMargin` and `noBottomMargin` props to the `Heading` component. -- 02db8e632: fix(BlockQuote): Fix border color respecting the `Theme` context. -- 02db8e632: fix(TreeView): Fix initialExpanded items expanding all parents -- 02db8e632: fix(Input): Update focus style on inputs. -- 02db8e632: fix(ListItem): Fix icon colors respecting the `Theme` context. -- 02db8e632: fix(Modal): Fix modal losing focus order with dynamic content. -- 02db8e632: fix(Select): Update outline offset on multiselected items -- 02db8e632: fix(Select): Fix placeholder color. -- 02db8e632: chore: Remove `.stories.` files from the production bundle. -- 02db8e632: fix(Tabs): Center preselected `Tab` on the `Scrollable Tabs`. -- 02db8e632: fix(TimePicker): Fix AM/PM width in the `TimePicker`. -- 02db8e632: fix(Toast): Fix loading ring alignment when zooming in Safari -- 02db8e632: fix(Heading): Update margins for `heading2XLarge` -- 02db8e632: fix(Input): Improve descriptions for `inputWrapperStyle` and `containerStyle` props. -- 02db8e632: fix(Input): Remove `flex-shrink` to allow inputs to shrink as needed. -- 02db8e632: fix(Search): Fix overlapping content issue with the clear button -- 02db8e632: fix(Combobox/Select:): Fix focus color for selected items when using `isMulti` + `isInverse` -- 02db8e632: fix(Tag): Update focus state - -### Minor Changes - -- 4bec9c320: fix(TreeView): Support "show all" button inside TreeView component -- 78fc319ba: feat(TreeView): onExpandedChange returns an array of expanded IDs. -- 360cf8d29: feat(Input): Update colors for error message, icon and border in dark mode. -- d8662d6f6: feat(Input): Update Input additional children position based on label position. -- 5a928ea59: feat(ProgressBar): Update colors from danger200/success200 to danger300/success300 in dark mode. -- 40708c7c6: feat(Tabs, NavTabs): Add support for overwriting `TextTransform`: add `textTransform` prop. -- 1caced455: feat(TreeView): Add support for isDisabled. -- 68ff224cc: feat(Stepper): Add vertical orientation for `Stepper`. -- e926d3ddf: feat(button): Add `success` button. -- cdb304158: feat(Combobox, Select, Date picker, Dropdown): Update viewport detection/positioning. -- c815b89ac: feat(TreeView): Add ability to change items selection outside. +- e926d3ddf: feat(Button): Add `success` button. +- cdb304158: feat(Combobox, Select, Date picker, Dropdown): Support viewport detection and positioning +- d8662d6f6: feat(Input): Update additional children position based on label position +- 360cf8d29: feat(Input): Update colors for error message, icon and border in dark mode +- 5a928ea59: feat(ProgressBar): Update colors from danger200/success200 to danger300/success300 in dark mode +- 68ff224cc: feat(Stepper): Add vertical orientation for `Stepper` +- 40708c7c6: feat(Tabs, NavTabs): Add support for overwriting text transform with `textTransform` prop +- 78fc319ba: feat(TreeView): `onExpandedChange` returns an array of expanded IDs +- c815b89ac: feat(TreeView): Add ability to update selected items from outside the tree +- 1caced455: feat(TreeView): Add support for `isDisabled` trees and items +- 4bec9c320: feat(TreeView): Support "show all"/"hide all" button inside TreeView component ### Patch Changes -- e432f97c9: fix(Input): Improve descriptions for `inputWrapperStyle` and `containerStyle` props. -- 4ed9e5c7d: fix(TreeView): Add more unit tests -- b8364bbca: fix(ToggleButtonGroup): Fix `enforced` and `exclusive` props. +- ac6ff21bb: fix(BlockQuote): Fix border color respecting the `Theme` context +- f885d5906: fix(Breadcrumb): Hide SVGs from screen readers by adding `aria-hidden="true"` to the `span` element that wraps the SVGs +- d7423ebe5: fix(Button): Remove animation presses for `Button` +- 2157b4708: fix(CheckBox): Fix unreadable labels in `CheckBox` for screen readers +- a95d26ca7: fix(CheckBox): Hide SVGs from screen readers by adding `aria-hidden="true"` to the `span` element that wraps the SVGs +- b3fcc32b1: fix(Combobox): Fix focus issue after triggering the clear button +- cf959a580: fix(Combobox/Select): Fix focus color for selected items when using `isMulti` + `isInverse` +- f45bdde78: fix(DatePicker): Remove shortcut to open `HelperInformation` +- 8004c9f55: fix(DatePicker): Add `aria-label` to calendar header columns +- eb2b3ab1e: fix(DatePicker): Fix navigation and accessibility issues +- 35d9507ad: fix(Drawer): Fix trapped focus +- 7887c50b9: chore(Dropdown): Deprecate `dropDirection` & `alignment` props. These are no longer necessary with viewport detection support +- d109847d8: fix(Dropdown): Fix the dropdown closing on second button click in `Safari` +- 1d1110dc3: fix(Dropdown): Fix accessibility for active index +- acbec5c8d: fix(Dropdown): Hide SVGs from screen readers by adding `aria-hidden="true"` to the `svg` elements +- a163f4230: fix(Heading): Update margins for `heading2XLarge` +- 3a97fe97f: fix(Heading): Add the `noTopMargin` and `noBottomMargin` props to the `Heading` component +- 3c94afd1a: fix(Input): Update focus style on inputs +- 482268a7e: fix(Input): Remove `flex-shrink` to allow inputs to shrink as needed +- fbae9ce39: fix(Input): Fix help link position on inputs +- e432f97c9: fix(Input): Improve descriptions for `inputWrapperStyle` and `containerStyle` props +- 08deb434d: fix(List): Hide SVGs from assistive tech by adding `aria-hidden="true"` to the `span` element that wraps the SVGs +- ac6ff21bb: fix(ListItem): Fix icon colors respecting the `Theme` context +- fbfd75e8b: fix(Modal): Fix modal losing focus order with dynamic content +- 7d8006fe1: fix(ProgressBar): Remove animation if the user has `prefers-reduced-motion` media query set +- 5c3d7fce3: fix(Search): Fix the disappearing focus on the button when loading +- 1da99002f: fix(Search): Fix overlapping content issue with the clear button +- 5e39ab2b4: fix(Select): Update outline offset on multiselected items +- 270e1f4ff: fix(Select): Fix placeholder color +- a328ebe29: fix(Select): Fix accessibility issue for `clearIndicator` inside `SelectTriggerButton` +- ddf476a38: fix(Tabs): Center preselected `Tab` on the `Scrollable Tabs` - 6a8ed217b: fix(Tag): Update tag focus state. -- cf959a580: fix(Combobox/Select:): Fix focus color for selected items when using `isMulti` + `isInverse`. -- a163f4230: fix(Heading): Update margins for `heading2XLarge`. -- f37d5c4af: fix(TreeView): Fix undefined problem. -- febf617fc: fix(TreeView): Fix undefined problem. -- fbae9ce39: fix(Input): Style update: Fix HelpLink position on inputs. -- 5e39ab2b4: fix(Select): Fix multi Select selected item outline. -- 8004c9f55: fix(DatePicker): Add `aria-label` to calendar header columns. -- 3a97fe97f: patch(Heading): Add the `noTopMargin` and `noBottomMargin` props to the `Heading` component. -- 45be51cfc: fix(TreeView): Fix undefined problem. -- acbec5c8d: fix(Dropdown): Hide SVGs from screen readers by adding `aria-hidden="true"` to the `svg` elements. -- 08deb434d: fix(List): Hide SVGs from assistive tech by adding `aria-hidden="true"` to the `span` element that wraps the SVGs. -- a95d26ca7: fix(CheckBox): Hide SVGs from screen readers by adding `aria-hidden="true"` to the `span` element that wraps the SVGs. -- 044da059c: fix(TimePicker): Fixed AM/PM width in the `TimePicker`. -- f885d5906: fix(Breadcrumb): Hide SVGs from screen readers by adding `aria-hidden="true"` to the `span` element that wraps the SVGs. -- 7887c50b9: chore(dropdown): Deprecate `dropDirection` & `alignment` props. These are no longer necessary with viewport detection support. -- ddf476a38: fix(Tabs): Center preselected `Tab` on the `Scrollable Tabs`. -- e447c8af8: fix(Toast): Fixed loading ring alignment when zooming in Safari. -- d7423ebe5: fix(Button): Remove animation presses for `Button`. -- eb5f11fd8: fix(TreeView): Fix TreeView issues from verification -- 270e1f4ff: fix(Select): Fix placeholder color. -- 3c94afd1a: fix(Input): Style update: Focus style on inputs. -- eb2b3ab1e: fix(DatePicker): Fix navigation and accessibility issues. -- 2157b4708: fix(CheckBox): Fix for unreadable labels in `CheckBox` for screen readers. -- 7adf69a9f: fix(.srories.): Remove `.stories.` files from the production bundle. +- 044da059c: fix(TimePicker): Fix AM/PM width in the `TimePicker` +- e447c8af8: fix(Toast): Fix loading ring alignment when zooming in Safari +- 631d01024: fix(TreeView): Improve screenreader accessibility +- 24680b288: fix(TreeView): Fix initialExpanded items expanding all parents - c0aecada5: fix(useFocusLock): Fix the `useFocusLock` hook if the first or last element is disabled. -- 1da99002f: fix(search): Fix the overlapping content issue around the clear button -- ac6ff21bb: fix(BlockQuote): Fix border color respecting the `Theme` context. -- ac6ff21bb: fix(ListItem): Fix icon colors respecting the `Theme` context. -- b3fcc32b1: fix(combobox): Fix focus issue after triggering the clear button -- 7d8006fe1: fix(ProgressBar): Remove animation if the user has `prefers-reduced-motion` media query set. -- 35d9507ad: fix(drawer): Fix trapped focus in the drawer -- 1d1110dc3: fix(dropdown): Fix active index communication handled programmatically -- fbfd75e8b: fix(Modal): Fix modal losing focus order with dynamic content. -- d109847d8: fix(dropdown): Fix the dropdown closing on the second button click in `Safari` -- 24680b288: fix(TreeView): Fix initial expanded items should expand all parents. -- 631d01024: fix(TreeView): Fix switching to Focus Mode inside `TreeView`. -- 482268a7e: fix(Input): Remove flex-shrink to allow inputs to shrink as needed. -- a328ebe29: fix(Select): Fix the accessibility issue for `clearIndicator` inside `SelectTriggerButton`. -- 5c3d7fce3: fix(search):Fix the disappearing focus on the button when loading. +- 7adf69a9f: fix(.stories.): Remove `.stories.` files from the production bundle ## 4.6.0 @@ -122,17 +62,10 @@ - ca58152cb: feat(TreeView): Add support for `checkChildren`, `checkParents` props - fdf2dc929: feat(Modal): New `headerRef` prop that returns a reference to the header element -- ca58152cb: feat(TreeView): Add support for `checkChildren`, `checkParents` props ### Patch Changes -- f45bdde78: fix(DatePicker): Remove shortcut to open `HelperInformation`. -- dc307446a: fix(Accordion): Fix screen scroll behavior during accordion navigation -- 6b413fb77: fix(List): Updated support for nested items -- d4164cacb: fix(Modal): Fix focus issue when using `isBackgroundClickDisabled` -- 84a8a17d6: fix(DatePicker): Fix error when using both `onChange` and `onDateChange` -- 48b7a5539: fix(Breadcrumbs): Fixed alignment issue between elements. -- 616cbf9a0: fix(BreadCrumb): Improved accessibility by replace span with link to fix focus +- 616cbf9a0: fix(BreadCrumb): Improved accessibility by replacing span with link to fix focus - aced1dd74: fix(DataGrid): Improved accessibility by adding `aria-live="polite"` and fixing labelText for checkboxes when `isSelectable={true}` - 9d840d863: fix(Indeterminate Checkbox): Improved accessibility for `Indeterminate` status - 3fa73c68d: fix(Button): Improved accessibility for `isLoading` state @@ -155,7 +88,7 @@ ### Patch Changes - e43932d45: fix(Modal): Background overlay now displays as expected for nested modals -- e24db7ab4: fix(DatePicker): Remove role="presentation" from calendar +- e24db7ab4: fix(DatePicker): Remove `role="presentation"` from calendar - 65d417254: fix(ProgressBar): Add support for custom colors - 636fa3060: fix(NativeSelect): Update arrow placement, arrow color and border color when disabled - da14eec4f: fix(Modal): Remove unnecessary `aria-describedBy=“modal”`. Add `ariaLabel` prop so that Modals without headers can customize the `aria-label` instead of defaulting to `aria-label="modal"` which is not correct for a11y standards. diff --git a/website/react-magma-docs/src/pages/api-intro/changelog.mdx b/website/react-magma-docs/src/pages/api-intro/changelog.mdx index 66f4ae833f..b49992b1f8 100644 --- a/website/react-magma-docs/src/pages/api-intro/changelog.mdx +++ b/website/react-magma-docs/src/pages/api-intro/changelog.mdx @@ -5,7 +5,62 @@ order: 4 +## 4.7.0 +### Minor Changes + +- e926d3ddf: feat(Button): Add `success` button. +- cdb304158: feat(Combobox, Select, Date picker, Dropdown): Support viewport detection and positioning +- d8662d6f6: feat(Input): Update additional children position based on label position +- 360cf8d29: feat(Input): Update colors for error message, icon and border in dark mode +- 5a928ea59: feat(ProgressBar): Update colors from danger200/success200 to danger300/success300 in dark mode +- 68ff224cc: feat(Stepper): Add vertical orientation for `Stepper` +- 40708c7c6: feat(Tabs, NavTabs): Add support for overwriting text transform with `textTransform` prop +- 78fc319ba: feat(TreeView): `onExpandedChange` returns an array of expanded IDs +- c815b89ac: feat(TreeView): Add ability to update selected items from outside the tree +- 1caced455: feat(TreeView): Add support for `isDisabled` trees and items +- 4bec9c320: feat(TreeView): Support "show all"/"hide all" button inside TreeView component + +### Patch Changes + +- ac6ff21bb: fix(BlockQuote): Fix border color respecting the `Theme` context +- f885d5906: fix(Breadcrumb): Hide SVGs from screen readers by adding `aria-hidden="true"` to the `span` element that wraps the SVGs +- d7423ebe5: fix(Button): Remove animation presses for `Button` +- 2157b4708: fix(CheckBox): Fix unreadable labels in `CheckBox` for screen readers +- a95d26ca7: fix(CheckBox): Hide SVGs from screen readers by adding `aria-hidden="true"` to the `span` element that wraps the SVGs +- b3fcc32b1: fix(Combobox): Fix focus issue after triggering the clear button +- cf959a580: fix(Combobox/Select): Fix focus color for selected items when using `isMulti` + `isInverse` +- f45bdde78: fix(DatePicker): Remove shortcut to open `HelperInformation` +- 8004c9f55: fix(DatePicker): Add `aria-label` to calendar header columns +- eb2b3ab1e: fix(DatePicker): Fix navigation and accessibility issues +- 35d9507ad: fix(Drawer): Fix trapped focus +- 7887c50b9: chore(Dropdown): Deprecate `dropDirection` & `alignment` props. These are no longer necessary with viewport detection support +- d109847d8: fix(Dropdown): Fix the dropdown closing on second button click in `Safari` +- 1d1110dc3: fix(Dropdown): Fix accessibility for active index +- acbec5c8d: fix(Dropdown): Hide SVGs from screen readers by adding `aria-hidden="true"` to the `svg` elements +- a163f4230: fix(Heading): Update margins for `heading2XLarge` +- 3a97fe97f: fix(Heading): Add the `noTopMargin` and `noBottomMargin` props to the `Heading` component +- 3c94afd1a: fix(Input): Update focus style on inputs +- 482268a7e: fix(Input): Remove `flex-shrink` to allow inputs to shrink as needed +- fbae9ce39: fix(Input): Fix help link position on inputs +- e432f97c9: fix(Input): Improve descriptions for `inputWrapperStyle` and `containerStyle` props +- 08deb434d: fix(List): Hide SVGs from assistive tech by adding `aria-hidden="true"` to the `span` element that wraps the SVGs +- ac6ff21bb: fix(ListItem): Fix icon colors respecting the `Theme` context +- fbfd75e8b: fix(Modal): Fix modal losing focus order with dynamic content +- 7d8006fe1: fix(ProgressBar): Remove animation if the user has `prefers-reduced-motion` media query set +- 5c3d7fce3: fix(Search): Fix the disappearing focus on the button when loading +- 1da99002f: fix(Search): Fix overlapping content issue with the clear button +- 5e39ab2b4: fix(Select): Update outline offset on multiselected items +- 270e1f4ff: fix(Select): Fix placeholder color +- a328ebe29: fix(Select): Fix accessibility issue for `clearIndicator` inside `SelectTriggerButton` +- ddf476a38: fix(Tabs): Center preselected `Tab` on the `Scrollable Tabs` +- 6a8ed217b: fix(Tag): Update tag focus state. +- 044da059c: fix(TimePicker): Fix AM/PM width in the `TimePicker` +- e447c8af8: fix(Toast): Fix loading ring alignment when zooming in Safari +- 631d01024: fix(TreeView): Improve screenreader accessibility +- 24680b288: fix(TreeView): Fix initialExpanded items expanding all parents +- c0aecada5: fix(useFocusLock): Fix the `useFocusLock` hook if the first or last element is disabled. +- 7adf69a9f: fix(.stories.): Remove `.stories.` files from the production bundle ## 4.6.0 @@ -587,4 +642,4 @@ This was an accidental release. Please skip this version and upgrade to to 2.5.1 - **typography:** export TypographyContextVariant ([1012171](https://github.com/cengage/react-magma/commit/101217160ba2b5bce1e3931d77f39ee77d6f8b64)) - \ No newline at end of file +