diff --git a/.changeset/breezy-spoons-flash.md b/.changeset/breezy-spoons-flash.md deleted file mode 100644 index b70b58c9a7b..00000000000 --- a/.changeset/breezy-spoons-flash.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@hashicorp/design-system-components": patch ---- - -`AppHeader` - Fixed import path for `hds-breakpoints` - -`AppSideNav` - Fixed import path for `hds-breakpoints` diff --git a/.changeset/eleven-pianos-invent.md b/.changeset/eleven-pianos-invent.md deleted file mode 100644 index e808a080ff4..00000000000 --- a/.changeset/eleven-pianos-invent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@hashicorp/flight-icons": minor ---- - -`start`, `end`, and `text-wrap` icons added. Fixed the vertical alignment of `top` and `bottom`. diff --git a/.changeset/fresh-kangaroos-sing.md b/.changeset/fresh-kangaroos-sing.md deleted file mode 100644 index ad669444c7b..00000000000 --- a/.changeset/fresh-kangaroos-sing.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@hashicorp/design-system-components": minor ---- - -`CodeBlock` - Added height toggle control, which is present when a `maxHeight` is set and code content height exceeds the `maxHeight` value diff --git a/.changeset/honest-experts-battle.md b/.changeset/honest-experts-battle.md deleted file mode 100644 index cda4de711ea..00000000000 --- a/.changeset/honest-experts-battle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@hashicorp/design-system-components": patch ---- - -`AppSideNav` - 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. diff --git a/.changeset/itchy-ravens-shout.md b/.changeset/itchy-ravens-shout.md deleted file mode 100644 index 958b7864729..00000000000 --- a/.changeset/itchy-ravens-shout.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@hashicorp/design-system-components": patch ---- - -`Time` - Fixed type error where the `TooltipButton` text could be undefined. diff --git a/.changeset/kind-ligers-invent.md b/.changeset/kind-ligers-invent.md deleted file mode 100644 index c5ff47afc2c..00000000000 --- a/.changeset/kind-ligers-invent.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@hashicorp/design-system-components": patch ---- - -`AppSideNav` - Fixed component types for `AppSideNav::Portal` and `AppSideNav::Portal::Target` to no longer require `@target` or `@name`. - -`SideNav` - Fixed component types for `SideNav::Portal` and `SideNav::Portal::Target` to no longer require `@target` or `@name`. diff --git a/.changeset/nine-fans-cough.md b/.changeset/nine-fans-cough.md deleted file mode 100644 index ae87ed6241f..00000000000 --- a/.changeset/nine-fans-cough.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@hashicorp/design-system-components": patch ---- - -`Form::Label` - Forced the `for` HTML attribute to be converted to a string diff --git a/.changeset/plenty-kangaroos-worry.md b/.changeset/plenty-kangaroos-worry.md deleted file mode 100644 index fc06307b0f2..00000000000 --- a/.changeset/plenty-kangaroos-worry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@hashicorp/design-system-components": minor ---- - -`breakpoints` - Added responsive breakpoint values and helpers for responsiveness diff --git a/.changeset/red-rice-refuse.md b/.changeset/red-rice-refuse.md deleted file mode 100644 index 0681433a6bb..00000000000 --- a/.changeset/red-rice-refuse.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@hashicorp/design-system-components": minor ---- - -`Pagination` - Replaced custom breakpoint (`1000px`) with standard `lg` (`1088px`) breakpoint - -`Stepper::Nav` - Replaced custom breakpoint (`550px`) with standard `sm` (`480px`) breakpoint - -`AppHeader` - Removed usage of `--hds-app-desktop-breakpoint` CSS variable and relied on the `@breakpoint` argument for override of mobile behavior - -`AppSideNav` - Removed usage of `--hds-app-desktop-breakpoint` CSS variable, added `@breakpoint` argument, and relied on it for override of mobile behavior \ No newline at end of file diff --git a/.changeset/rotten-geese-swim.md b/.changeset/rotten-geese-swim.md deleted file mode 100644 index 3bebcf809b1..00000000000 --- a/.changeset/rotten-geese-swim.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@hashicorp/design-system-components": patch ---- - -`AdvancedTable` - 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. diff --git a/.changeset/selfish-apes-breathe.md b/.changeset/selfish-apes-breathe.md deleted file mode 100644 index 46717e5ad0c..00000000000 --- a/.changeset/selfish-apes-breathe.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@hashicorp/design-system-components": patch ---- - -`CodeBlock` - 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. diff --git a/.changeset/soft-olives-grow.md b/.changeset/soft-olives-grow.md deleted file mode 100644 index 904356a77e8..00000000000 --- a/.changeset/soft-olives-grow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@hashicorp/design-system-components": patch ---- - -`Modal` - Fixed bug with click event listener not properly removed diff --git a/.changeset/spicy-buses-design.md b/.changeset/spicy-buses-design.md deleted file mode 100644 index 0a62898f79e..00000000000 --- a/.changeset/spicy-buses-design.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@hashicorp/design-system-components": patch ---- - -`Stepper::Nav` - Fixed issue in Safari with text alignment on interactive steps diff --git a/.changeset/strong-bananas-drum.md b/.changeset/strong-bananas-drum.md deleted file mode 100644 index 51387f84ad8..00000000000 --- a/.changeset/strong-bananas-drum.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@hashicorp/design-system-components": patch ---- - -`CodeBlock` - Added arguments `@ariaLabel`, `@ariaLabelledBy`, and `@ariaDescribedBy`. Added screen-reader only copy for highlighted lines. - -`hds-clipboard` - Prevent screen-reader only text (text with the `sr-only` class) from being copied to the clipboard. diff --git a/.changeset/tall-rings-act.md b/.changeset/tall-rings-act.md deleted file mode 100644 index 39615d35a9b..00000000000 --- a/.changeset/tall-rings-act.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@hashicorp/design-system-components': patch ---- - -Introduce the `hds-resolve-link-to-component` utility to correctly resolve the LinkTo component when `@isRouteExternal` is set on `HdsBreadcrumbItem` or `HdsInteractive`. Consumers are now required to install `ember-engines` when `@isRouteExternal` is `true`. diff --git a/.changeset/thick-mice-bow.md b/.changeset/thick-mice-bow.md deleted file mode 100644 index 189f19ae5ee..00000000000 --- a/.changeset/thick-mice-bow.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@hashicorp/design-system-components": patch ---- - -`Layout::Flex` - Added missing export of component/subcomponent - -`Layout::Grid` - Added missing export of component/subcomponent diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 4abe679c136..82805d835f3 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -1,5 +1,119 @@ # @hashicorp/design-system-components +## 4.20.0 + +### Minor Changes + +`CodeBlock` - Added height toggle control, which is present when a `maxHeight` is set and code content height exceeds the `maxHeight` value + +[#2826](https://github.com/hashicorp/design-system/pull/2826) + +
+ +`breakpoints` - Added responsive breakpoint values and helpers for responsiveness + +[#2848](https://github.com/hashicorp/design-system/pull/2848) + + + +`Pagination` - Replaced custom breakpoint (`1000px`) with standard `lg` (`1088px`) breakpoint + +`Stepper::Nav` - Replaced custom breakpoint (`550px`) with standard `sm` (`480px`) breakpoint + +`AppHeader` - Removed usage of `--hds-app-desktop-breakpoint` CSS variable and relied on the `@breakpoint` argument for override of mobile behavior + +`AppSideNav` - Removed usage of `--hds-app-desktop-breakpoint` CSS variable, added `@breakpoint` argument, and relied on it for override of mobile behavior + +[#2859](https://github.com/hashicorp/design-system/pull/2859) + + + +### Patch Changes + +`AppHeader` - Fixed import path for `hds-breakpoints` + +`AppSideNav` - Fixed import path for `hds-breakpoints` + +[#2886](https://github.com/hashicorp/design-system/pull/2886) - Thanks [@aklkv](https://github.com/aklkv) for the contribution! 🙏 + + + +`AppSideNav` - 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. + +[#2869](https://github.com/hashicorp/design-system/pull/2869) + + + +`Time` - Fixed type error where the `TooltipButton` text could be undefined. + +[#2877](https://github.com/hashicorp/design-system/pull/2877) + + + +`AppSideNav` - Fixed component types for `AppSideNav::Portal` and `AppSideNav::Portal::Target` to no longer require `@target` or `@name`. + +`SideNav` - Fixed component types for `SideNav::Portal` and `SideNav::Portal::Target` to no longer require `@target` or `@name`. + +[#2908](https://github.com/hashicorp/design-system/pull/2908) + + + +`Form::Label` - Forced the `for` HTML attribute to be converted to a string + +[#2863](https://github.com/hashicorp/design-system/pull/2863) + + + +`AdvancedTable` - 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. + +[#2865](https://github.com/hashicorp/design-system/pull/2865) + + + +`CodeBlock` - 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. + +[#2856](https://github.com/hashicorp/design-system/pull/2856) + + + +`Modal` - Fixed bug with click event listener not properly removed + +[#2902](https://github.com/hashicorp/design-system/pull/2902) + + + +`Stepper::Nav` - Fixed issue in Safari with text alignment on interactive steps + +[#2909](https://github.com/hashicorp/design-system/pull/2909) + + + +`CodeBlock` - Added arguments `@ariaLabel`, `@ariaLabelledBy`, and `@ariaDescribedBy`. Added screen-reader only copy for highlighted lines. + +`hds-clipboard` - Prevent screen-reader only text (text with the `sr-only` class) from being copied to the clipboard. + +[#2879](https://github.com/hashicorp/design-system/pull/2879) + + + +Introduce the `hds-resolve-link-to-component` utility to correctly resolve the LinkTo component when `@isRouteExternal` is set on `HdsBreadcrumbItem` or `HdsInteractive`. Consumers are now required to install `ember-engines` when `@isRouteExternal` is `true`. + +[#2867](https://github.com/hashicorp/design-system/pull/2867) - Thanks [@aklkv](https://github.com/aklkv) for the contribution! 🙏 + + + +`Layout::Flex` - Added missing export of component/subcomponent + +`Layout::Grid` - Added missing export of component/subcomponent + +[#2883](https://github.com/hashicorp/design-system/pull/2883) + + + +**🔄 Updated dependencies:** + +- @hashicorp/flight-icons@3.11.0 + ## 4.19.0 ### Minor Changes diff --git a/packages/components/package.json b/packages/components/package.json index dcc4f92b6f2..9d6d8269361 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@hashicorp/design-system-components", - "version": "4.19.0", + "version": "4.20.0", "description": "Helios Design System Components", "keywords": [ "hashicorp", @@ -53,7 +53,7 @@ "@embroider/util": "^1.13.2", "@floating-ui/dom": "^1.6.12", "@hashicorp/design-system-tokens": "workspace:^2.3.0", - "@hashicorp/flight-icons": "workspace:^3.10.0", + "@hashicorp/flight-icons": "workspace:^3.11.0", "@lezer/highlight": "^1.2.1", "@nullvoxpopuli/ember-composable-helpers": "^5.2.9", "clipboard-polyfill": "^4.1.1", diff --git a/packages/flight-icons/CHANGELOG.md b/packages/flight-icons/CHANGELOG.md index 9386fd75487..a3c4143d3b5 100644 --- a/packages/flight-icons/CHANGELOG.md +++ b/packages/flight-icons/CHANGELOG.md @@ -1,5 +1,15 @@ # @hashicorp/flight-icons +## 3.11.0 + +### Minor Changes + +`start`, `end`, and `text-wrap` icons added. Fixed the vertical alignment of `top` and `bottom`. + +[#2917](https://github.com/hashicorp/design-system/pull/2917) + + + ## 3.10.0 ### Minor Changes diff --git a/packages/flight-icons/package.json b/packages/flight-icons/package.json index 8998fd60395..efb3c8ce0cf 100644 --- a/packages/flight-icons/package.json +++ b/packages/flight-icons/package.json @@ -1,6 +1,6 @@ { "name": "@hashicorp/flight-icons", - "version": "3.10.0", + "version": "3.11.0", "description": "Flight: HashiCorp SVG icon set", "keywords": [ "hashicorp", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 81246051dbc..1e7113fb68b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -133,7 +133,7 @@ importers: specifier: workspace:^2.3.0 version: link:../tokens '@hashicorp/flight-icons': - specifier: workspace:^3.10.0 + specifier: workspace:^3.11.0 version: link:../flight-icons '@lezer/highlight': specifier: ^1.2.1 @@ -9802,6 +9802,7 @@ packages: engines: {node: '>=0.6.0', teleport: '>=0.2.0'} deprecated: |- You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other. + (For a CapTP with native promises, see @endo/eventual-send and @endo/captp) qs@6.13.0: diff --git a/website/docs/whats-new/release-notes/partials/components.md b/website/docs/whats-new/release-notes/partials/components.md index 8ecc128dea8..6ce51ebce42 100644 --- a/website/docs/whats-new/release-notes/partials/components.md +++ b/website/docs/whats-new/release-notes/partials/components.md @@ -12,6 +12,120 @@ +## 4.20.0 + +**Minor changes** + +`CodeBlock` - Added height toggle control, which is present when a `maxHeight` is set and code content height exceeds the `maxHeight` value + +[#2826](https://github.com/hashicorp/design-system/pull/2826) + + + +`breakpoints` - Added responsive breakpoint values and helpers for responsiveness + +[#2848](https://github.com/hashicorp/design-system/pull/2848) + + + +`Pagination` - Replaced custom breakpoint (`1000px`) with standard `lg` (`1088px`) breakpoint + +`Stepper::Nav` - Replaced custom breakpoint (`550px`) with standard `sm` (`480px`) breakpoint + +`AppHeader` - Removed usage of `--hds-app-desktop-breakpoint` CSS variable and relied on the `@breakpoint` argument for override of mobile behavior + +`AppSideNav` - Removed usage of `--hds-app-desktop-breakpoint` CSS variable, added `@breakpoint` argument, and relied on it for override of mobile behavior + +[#2859](https://github.com/hashicorp/design-system/pull/2859) + + + +**Patch changes** + +`AppHeader` - Fixed import path for `hds-breakpoints` + +`AppSideNav` - Fixed import path for `hds-breakpoints` + +[#2886](https://github.com/hashicorp/design-system/pull/2886) - Thanks [@aklkv](https://github.com/aklkv) for the contribution! 🙏 + + + +`AppSideNav` - 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. + +[#2869](https://github.com/hashicorp/design-system/pull/2869) + + + +`Time` - Fixed type error where the `TooltipButton` text could be undefined. + +[#2877](https://github.com/hashicorp/design-system/pull/2877) + + + +`AppSideNav` - Fixed component types for `AppSideNav::Portal` and `AppSideNav::Portal::Target` to no longer require `@target` or `@name`. + +`SideNav` - Fixed component types for `SideNav::Portal` and `SideNav::Portal::Target` to no longer require `@target` or `@name`. + +[#2908](https://github.com/hashicorp/design-system/pull/2908) + + + +`Form::Label` - Forced the `for` HTML attribute to be converted to a string + +[#2863](https://github.com/hashicorp/design-system/pull/2863) + + + +`AdvancedTable` - 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. + +[#2865](https://github.com/hashicorp/design-system/pull/2865) + + + +`CodeBlock` - 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. + +[#2856](https://github.com/hashicorp/design-system/pull/2856) + + + +`Modal` - Fixed bug with click event listener not properly removed + +[#2902](https://github.com/hashicorp/design-system/pull/2902) + + + +`Stepper::Nav` - Fixed issue in Safari with text alignment on interactive steps + +[#2909](https://github.com/hashicorp/design-system/pull/2909) + + + +`CodeBlock` - Added arguments `@ariaLabel`, `@ariaLabelledBy`, and `@ariaDescribedBy`. Added screen-reader only copy for highlighted lines. + +`hds-clipboard` - Prevent screen-reader only text (text with the `sr-only` class) from being copied to the clipboard. + +[#2879](https://github.com/hashicorp/design-system/pull/2879) + + + +Introduce the `hds-resolve-link-to-component` utility to correctly resolve the LinkTo component when `@isRouteExternal` is set on `HdsBreadcrumbItem` or `HdsInteractive`. Consumers are now required to install `ember-engines` when `@isRouteExternal` is `true`. + +[#2867](https://github.com/hashicorp/design-system/pull/2867) - Thanks [@aklkv](https://github.com/aklkv) for the contribution! 🙏 + + + +`Layout::Flex` - Added missing export of component/subcomponent + +`Layout::Grid` - Added missing export of component/subcomponent + +[#2883](https://github.com/hashicorp/design-system/pull/2883) + + + +**🔄 Updated dependencies:** + +- @hashicorp/flight-icons@3.11.0 + ## 4.19.0 **Minor changes** @@ -1391,65 +1505,6 @@ Fixed syncing of `