diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 82805d835f3..24d3a5a7a91 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -2,6 +2,8 @@ ## 4.20.0 +[4.20.0 documentation](https://hds-website-4-20-0.vercel.app/) + ### Minor Changes `CodeBlock` - Added height toggle control, which is present when a `maxHeight` is set and code content height exceeds the `maxHeight` value diff --git a/website/app/components/doc/table-of-contents/index.hbs b/website/app/components/doc/table-of-contents/index.hbs index 5f00d6c6a53..5bf20f39dba 100644 --- a/website/app/components/doc/table-of-contents/index.hbs +++ b/website/app/components/doc/table-of-contents/index.hbs @@ -20,13 +20,13 @@ {{item.pageAttributes.navigation.label}} {{else}} {{item.pageAttributes.title}} - {{#if item.pageAttributes.status.deprecated}} - Deprecated - {{else if item.pageAttributes.status.updated}} - Updated - {{else if item.pageAttributes.status.added}} - Added - {{/if}} + {{/if}} + {{#if item.pageAttributes.status.deprecated}} + Deprecated + {{else if item.pageAttributes.status.updated}} + Updated + {{else if item.pageAttributes.status.added}} + Added {{/if}} {{else}} diff --git a/website/docs/components/app-header/index.md b/website/docs/components/app-header/index.md index c4728881494..f38b18f3021 100644 --- a/website/docs/components/app-header/index.md +++ b/website/docs/components/app-header/index.md @@ -22,7 +22,7 @@ navigation: - menubar - topbar status: - added: 4.19.0 + updated: 4.20.0 ---
diff --git a/website/docs/components/app-header/partials/version-history/version-history.md b/website/docs/components/app-header/partials/version-history/version-history.md index b0bdea397b1..20161864e71 100644 --- a/website/docs/components/app-header/partials/version-history/version-history.md +++ b/website/docs/components/app-header/partials/version-history/version-history.md @@ -1,3 +1,9 @@ +## 4.20.0 + +Removed usage of `--hds-app-desktop-breakpoint` CSS variable and relied on the `@breakpoint` argument for override of mobile behavior + +Fixed import path for `hds-breakpoints` + ## 4.19.0 Formally published the `AppHeader` component. To be used in conjunction with the `AppFrame` and the `AppSideNav` components. diff --git a/website/docs/components/app-side-nav/index.md b/website/docs/components/app-side-nav/index.md index 5c54fb17dd9..f8c658d319e 100644 --- a/website/docs/components/app-side-nav/index.md +++ b/website/docs/components/app-side-nav/index.md @@ -23,7 +23,7 @@ navigation: - sidenav - sidebar status: - added: 4.19.0 + updated: 4.20.0 ---
diff --git a/website/docs/components/app-side-nav/partials/version-history/version-history.md b/website/docs/components/app-side-nav/partials/version-history/version-history.md index 2002ab529bf..a23598148dd 100644 --- a/website/docs/components/app-side-nav/partials/version-history/version-history.md +++ b/website/docs/components/app-side-nav/partials/version-history/version-history.md @@ -1,3 +1,13 @@ +## 4.20.0 + +Removed usage of `--hds-app-desktop-breakpoint` CSS variable, added `@breakpoint` argument, and relied on it for override of mobile behavior + +Fixed import path for `hds-breakpoints` + +Fixed bug where scrolling was blocked when the `AppSideNav` was expanded on desktop views. Also fixed bug which allowed user to focus links that were visually hidden. + +Fixed component types for `AppSideNav::Portal` and `AppSideNav::Portal::Target` to no longer require `@target` or `@name`. + ## 4.19.0 Formally published the `AppSideNav` component. To be used in conjunction with the `AppFrame` and the `AppHeader` components. diff --git a/website/docs/components/code-block/index.md b/website/docs/components/code-block/index.md index 9784ed74f3e..1787611afe7 100644 --- a/website/docs/components/code-block/index.md +++ b/website/docs/components/code-block/index.md @@ -25,7 +25,7 @@ navigation: - syntax - highlight status: - updated: 4.19.0 + updated: 4.20.0 ---
diff --git a/website/docs/components/code-block/partials/version-history/version-history.md b/website/docs/components/code-block/partials/version-history/version-history.md index 9ad9e6af939..143be7ff26b 100644 --- a/website/docs/components/code-block/partials/version-history/version-history.md +++ b/website/docs/components/code-block/partials/version-history/version-history.md @@ -1,3 +1,11 @@ +## 4.20.0 + +Added height toggle control, which is present when a `maxHeight` is set and code content height exceeds the `maxHeight` value + +Fixed issues with line numbers when line wrapping is present and when the number of lines changes dynamically; line highlighting when the Code Block is hidden from view initially such as when used inside a Tabs component; and line highlighting when hasLineNumbers is false. + +Added arguments `@ariaLabel`, `@ariaLabelledBy`, and `@ariaDescribedBy`. Added screen-reader only copy for highlighted lines. + ## 4.19.0 Updated focus ring colors in interactive elements to fix a11y color contrast issues diff --git a/website/docs/components/code-editor/index.md b/website/docs/components/code-editor/index.md index 85af51380d1..0899003480a 100644 --- a/website/docs/components/code-editor/index.md +++ b/website/docs/components/code-editor/index.md @@ -28,8 +28,6 @@ navigation: - syntax - highlight - block -status: - updated: 4.19.0 ---
diff --git a/website/docs/components/dropdown/index.md b/website/docs/components/dropdown/index.md index e05821882d2..4e8bd808a41 100644 --- a/website/docs/components/dropdown/index.md +++ b/website/docs/components/dropdown/index.md @@ -19,8 +19,6 @@ navigation: - menu - action menu - list -status: - updated: 4.19.0 ---
diff --git a/website/docs/components/form/primitives/index.md b/website/docs/components/form/primitives/index.md index 71552e02f14..705b70229f2 100644 --- a/website/docs/components/form/primitives/index.md +++ b/website/docs/components/form/primitives/index.md @@ -19,6 +19,8 @@ navigation: - fieldset - input - character count +status: + updated: 4.20.0 ---
@@ -34,3 +36,7 @@ navigation:
@include "partials/accessibility/accessibility.md"
+ +
+ @include "partials/version-history/version-history.md" +
diff --git a/website/docs/components/form/primitives/partials/version-history/version-history.md b/website/docs/components/form/primitives/partials/version-history/version-history.md new file mode 100644 index 00000000000..f7682c19d3c --- /dev/null +++ b/website/docs/components/form/primitives/partials/version-history/version-history.md @@ -0,0 +1,4 @@ +## 4.20.0 + +`Form::Label` - Forced the `for` HTML attribute to be converted to a string + diff --git a/website/docs/components/form/super-select/index.md b/website/docs/components/form/super-select/index.md index a8f38c4af6d..cd524312695 100644 --- a/website/docs/components/form/super-select/index.md +++ b/website/docs/components/form/super-select/index.md @@ -19,8 +19,6 @@ navigation: keywords: - dropdown - powerselect -status: - updated: 4.19.0 ---
diff --git a/website/docs/components/modal/index.md b/website/docs/components/modal/index.md index c9eeca09e83..526b691f464 100644 --- a/website/docs/components/modal/index.md +++ b/website/docs/components/modal/index.md @@ -25,7 +25,7 @@ navigation: - popup - dialog status: - updated: 4.19.0 + updated: 4.20.0 ---
diff --git a/website/docs/components/modal/partials/version-history/version-history.md b/website/docs/components/modal/partials/version-history/version-history.md index 62dfdfde86d..c9adc29e50f 100644 --- a/website/docs/components/modal/partials/version-history/version-history.md +++ b/website/docs/components/modal/partials/version-history/version-history.md @@ -1,3 +1,7 @@ +## 4.20.0 + +Fixed bug with click event listener not properly removed + ## 4.19.0 Fixed issue where conditionally disabling ability to dismiss the `Modal` breaks click outside to dismiss. diff --git a/website/docs/components/pagination/index.md b/website/docs/components/pagination/index.md index f287a3d0348..a0849446aeb 100644 --- a/website/docs/components/pagination/index.md +++ b/website/docs/components/pagination/index.md @@ -15,6 +15,8 @@ related: - patterns/filter-patterns - patterns/table-multi-select previewImage: assets/illustrations/components/pagination.jpg +status: + updated: 4.20.0 ---
diff --git a/website/docs/components/pagination/partials/version-history/version-history.md b/website/docs/components/pagination/partials/version-history/version-history.md index c4eeb49c028..ee0ae747526 100644 --- a/website/docs/components/pagination/partials/version-history/version-history.md +++ b/website/docs/components/pagination/partials/version-history/version-history.md @@ -1,3 +1,7 @@ +## 4.20.0 + +Replaced custom breakpoint (`1000px`) with standard `lg` (`1088px`) breakpoint + ## 4.15.0 Aligned private class properties to follow a standardized notation diff --git a/website/docs/components/side-nav/partials/version-history/version-history.md b/website/docs/components/side-nav/partials/version-history/version-history.md index d81968789cb..b646d0140e7 100644 --- a/website/docs/components/side-nav/partials/version-history/version-history.md +++ b/website/docs/components/side-nav/partials/version-history/version-history.md @@ -1,3 +1,7 @@ +## 4.20.0 + +Fixed component types for `SideNav::Portal` and `SideNav::Portal::Target` to no longer require `@target` or `@name`. + ## 4.19.0 Deprecated the `SideNav` component. Use the `AppSideNav` component in combination with the `AppHeader` component as a replacement. diff --git a/website/docs/components/stepper/nav/index.md b/website/docs/components/stepper/nav/index.md index d84e25e24ef..9e55eb2e72d 100644 --- a/website/docs/components/stepper/nav/index.md +++ b/website/docs/components/stepper/nav/index.md @@ -22,6 +22,8 @@ navigation: - tracker - list - indicator +status: + updated: 4.20.0 ---
diff --git a/website/docs/components/stepper/nav/partials/version-history/version-history.md b/website/docs/components/stepper/nav/partials/version-history/version-history.md index 341fd688e93..15f6c5b92ef 100644 --- a/website/docs/components/stepper/nav/partials/version-history/version-history.md +++ b/website/docs/components/stepper/nav/partials/version-history/version-history.md @@ -1,3 +1,9 @@ +## 4.20.0 + +Replaced custom breakpoint (`550px`) with standard `sm` (`480px`) breakpoint + +Fixed issue in Safari with text alignment on interactive steps + ## 4.18.1 Added new Stepper Nav component diff --git a/website/docs/components/table/advanced-table/index.md b/website/docs/components/table/advanced-table/index.md index 06bfcf4b1da..9928761e3ce 100644 --- a/website/docs/components/table/advanced-table/index.md +++ b/website/docs/components/table/advanced-table/index.md @@ -21,6 +21,8 @@ navigation: - grid - list order: 101 +status: + updated: 4.20.0 ---
diff --git a/website/docs/components/table/advanced-table/partials/version-history/version-history.md b/website/docs/components/table/advanced-table/partials/version-history/version-history.md index 1fcf73c6578..650a4769d47 100644 --- a/website/docs/components/table/advanced-table/partials/version-history/version-history.md +++ b/website/docs/components/table/advanced-table/partials/version-history/version-history.md @@ -1,3 +1,7 @@ +## 4.20.0 + +Added `@maxHeight` argument, which sets the max height of the Advanced Table and automatically adds a sticky header to it. Also updated the container styles to constrain the Advanced Table width to the parent's width. + ## 4.18.2 Improved accessibility by removing usage of `aria-expanded="mixed"` and moving the caption outside of the element with `role="grid"`. diff --git a/website/docs/components/tag/index.md b/website/docs/components/tag/index.md index 33522b68ad0..6cdb7804a4c 100644 --- a/website/docs/components/tag/index.md +++ b/website/docs/components/tag/index.md @@ -18,8 +18,6 @@ navigation: - pill - label - filter -status: - updated: 4.19.0 ---
diff --git a/website/docs/components/time/index.md b/website/docs/components/time/index.md index 40af668e2cc..19de2994079 100644 --- a/website/docs/components/time/index.md +++ b/website/docs/components/time/index.md @@ -11,6 +11,8 @@ previewImage: assets/illustrations/components/time.jpg navigation: keywords: - time +status: + updated: 4.20.0 ---
diff --git a/website/docs/components/time/partials/version-history/version-history.md b/website/docs/components/time/partials/version-history/version-history.md index 514c7952d66..19e21ef4137 100644 --- a/website/docs/components/time/partials/version-history/version-history.md +++ b/website/docs/components/time/partials/version-history/version-history.md @@ -1,3 +1,7 @@ +## 4.20.0 + +Fixed type error where the `TooltipButton` text could be undefined. + ## 4.18.1 Increase spacing above the dotted text decoration underline, that appears on the interactive variant, to 2px from the default. diff --git a/website/docs/layouts/flex/index.md b/website/docs/layouts/flex/index.md index 011c0a1461a..498e020ddec 100644 --- a/website/docs/layouts/flex/index.md +++ b/website/docs/layouts/flex/index.md @@ -16,6 +16,8 @@ navigation: - spacing - grid label: Flex +status: + updated: 4.20.0 ---
diff --git a/website/docs/layouts/flex/partials/version-history/version-history.md b/website/docs/layouts/flex/partials/version-history/version-history.md index 5c495ac751f..cf5532da1d3 100644 --- a/website/docs/layouts/flex/partials/version-history/version-history.md +++ b/website/docs/layouts/flex/partials/version-history/version-history.md @@ -1,3 +1,7 @@ +## 4.20.0 + +Added missing export of component/subcomponent + ## 4.18.1 Added new Flex component diff --git a/website/docs/layouts/grid/index.md b/website/docs/layouts/grid/index.md index 653c3933787..8aef73d1754 100644 --- a/website/docs/layouts/grid/index.md +++ b/website/docs/layouts/grid/index.md @@ -17,6 +17,8 @@ navigation: - spacing - flex label: Grid +status: + updated: 4.20.0 ---
diff --git a/website/docs/layouts/grid/partials/version-history/version-history.md b/website/docs/layouts/grid/partials/version-history/version-history.md index 3cc897db88c..e8b45af3317 100644 --- a/website/docs/layouts/grid/partials/version-history/version-history.md +++ b/website/docs/layouts/grid/partials/version-history/version-history.md @@ -1,3 +1,7 @@ +## 4.20.0 + +Added missing export of component/subcomponent + ## 4.18.1 Added new Grid component diff --git a/website/docs/whats-new/release-notes/partials/components.md b/website/docs/whats-new/release-notes/partials/components.md index 6ce51ebce42..63b637b8399 100644 --- a/website/docs/whats-new/release-notes/partials/components.md +++ b/website/docs/whats-new/release-notes/partials/components.md @@ -14,6 +14,8 @@ ## 4.20.0 +[4.20.0 documentation](https://hds-website-4-20-0.vercel.app/) + **Minor changes** `CodeBlock` - Added height toggle control, which is present when a `maxHeight` is set and code content height exceeds the `maxHeight` value