Releases: hashicorp/design-system
@hashicorp/flight-icons@4.2.1
@hashicorp/design-system-tokens@4.0.1
Patch Changes
Updated CSS helpers for font-weight property to use aliases to HDS tokens instead of direct values
@hashicorp/design-system-components@6.1.0
Minor Changes
FilterBar - Added support for an array of values for the generic filter type data
FilterBar - Added @onClear argument to FilterGroup contextual component
PopoverPrimitive - Added @onFocusOut argument to manage focus for dynamic popover content and prevent the popover from closing when content changes
Dropdown - Added @onFocusOut argument to manage focus for dynamic dropdown content and prevent the dropdown from closing when content changes
FilterBar - Added @onFocusOut argument to the FiltersDropdown to help manage focus for dynamic dropdown content and prevent the dropdown from closing when content changes
RichTooltip - Added @onFocusOut argument to manage focus for dynamic tooltip content and prevent the tooltip from closing when content changes
Patch Changes
AppHeader - Converted component to gts format.
Checkbox - Converted component to gts format.
ApplicationState - Converted component to gts format.
RadioCard - Converted component to gts format.
FormLayout - Converted components to gts format.
CodeEditor - Converted component to gts format.
AppFooter - Removed usage of hdsLinkToModels and hdsLinkToQuery helpers, instead forward the arguments to HdsLinkInline.
AppHeader - Removed usage of hdsLinkToModels and hdsLinkToQuery helpers, instead forward the arguments to HdsInteractive.
Button - Removed usage of hdsLinkToModels and hdsLinkToQuery helpers, instead forward the arguments to HdsInteractive.
LinkInline - Removed usage of hdsLinkToModels and hdsLinkToQuery helpers, instead forward the arguments to HdsInteractive.
LinkStandalone - Removed usage of hdsLinkToModels and hdsLinkToQuery helpers, instead forward the arguments to HdsInteractive.
Tag - Removed usage of hdsLinkToModels and hdsLinkToQuery helpers, instead forward the arguments to HdsInteractive.
Flex - Converted component to gts format.
AppFrame - Converted component to gts format.
KeyValueInputs - Converted component to gts format.
PopoverPrimitive - Converted component to gts format.
Tabs - Converted component to gts format.
FormCharacterCount - Converted component to gts format.
FormError - Converted component to gts format.
FormField - Converted component to gts format.
FormFieldset - Converted component to gts format.
FormHelperText - Converted component to gts format.
FormIndicator - Converted component to gts format.
FormLabel - Converted component to gts format.
FormLegend - Converted component to gts format.
FormVisibilityToggle - Converted component to gts format.
Accordion - Converted component to gts format.
Toggle - Converted component to gts format.
Stepper::List - Converted component to gts format.
Stepper::Nav - Converted component to gts format.
Stepper::Indicator - Converted component to gts format.
Modal - Converted the component to gts format.
CodeBlock - Converted component to gts format.
CopyButton - Converted component to gts format.
CopySnippet - Converted component to gts format.
Flyout - Converted component to gts format.
FileInput - Converted component to gts format.
AppSideNav - Converted component to gts format.
DisclosurePrimitive - Converted component to gts format.
Reveal - Converted component to gts format.
Pagination - Converted component to gts format.
PageHeader - Converted component to gts format.
Radio - Converted component to gts format.
IconTile - Converted component to gts format.
Breadcrumb - Converted component to gts format.
Tooltip - Fixed issue where showing the Tooltip caused page layout shift by reducing the width of the Tooltip container from 100% to the Tooltip max width of 280px.
Dropdown - Converted component to gts format.
MaskedInput - Converted component to gts format.
SuperSelect - Converted component to gts format.
@hashicorp/flight-icons@4.2.0
@hashicorp/design-system-tokens@4.0.0
Major Changes
Removed tokens previously used by the HdsSideNav component. Component was removed in the 6.0.0 release of the components package.
@hashicorp/design-system-components@6.0.0
Major Changes
Removed ember-engines as a peer dependency, and added the hds-link-to-external utility. If your application uses Ember engines, it is now necessary to add a configuration to the app.js file.
import LinkToExternal from "ember-engines/components/link-to-external";
import { setLinkToExternal } from "@hashicorp/design-system-components/utils/hds-link-to-external";
setLinkToExternal(LinkToExternalComponent);#3429 - Thanks @meirish for the contribution! 🙏
SideNav - removed the component.
Minor Changes
Breadcrumb - Added @href argument to Breadcrumb::Item.
Interactive - Refactored the component to use the hds-link-to-external utility. If your application uses Ember engines, it is now necessary to add a configuration to the app.js file.
import LinkToExternal from "ember-engines/components/link-to-external";
import { setLinkToExternal } from "@hashicorp/design-system-components/utils/hds-link-to-external";
setLinkToExternal(LinkToExternalComponent);#3429 - Thanks @meirish for the contribution! 🙏
LayoutGridItem - Added responsive options to the @colspan and @rowspan arguments. Supported views include: "sm", "md", "lg", "xl", and "xxl".`
FilterBar - Added FilterBar component and related sub-components
AdvancedTable - Added support for filtering within the table with new actions named block and FilterBar contextual component
AdvancedTable - Added a named block emptyState and support for displaying content in the table when the model length is 0
LayoutGrid - Added responsive column width options to the @columnWidth argument. Supported views include: "sm", "md", "lg", "xl", and "xxl".
Text - Converted component and all sub-components to gts
Added the @codemirror/autocomplete to the re-exported CodeMirror packages.
Badge - Converted component to .gts format
Updated ember-intl to version 8.0.0 and changed the peer dependency requirement from ^7.3.0 to ^8.0.0 || ^7.3.0"
SuperSelect - Updated ember-power-select library to 8.12.0 and replaced usage of PowerSelectMultiple to PowerSelect with @multiple set to true
#3345 - Thanks @RobbieTheWagner for the contribution! 🙏
Patch Changes
TooltipButton - Converted component to gts format
ButtonSet - Converted ButtonSet to gts
Alert - converted component and subcomponents to gts format.
AdvancedTable - Updated HdsIntlService service declarations to align how services are declared
AppSideNav - Updated router service declaration to align how services are declared
CodeEditor - Updated HdsIntlService service declaration in CodeEditor modifier to align how services are declared
CopyButton - Updated HdsIntlService service declaration to align how services are declared
DismissButton - Updated HdsIntlService service declaration to align how services are declared
MaskedInput - Updated HdsIntlService service declaration to align how services are declared
Pagination - Updated HdsIntlService service declaration for PaginationInfo to align how services are declared
Table - Updated HdsIntlService service declarations to align how services are declared
Table - Fixed a bug in the cleanup logic of selectable rows where data updates caused the internal selection state to be incorrectly reset.
BadgeCount - Converted component to gts format
LinkInline - converted component to gts format.
LinkStandalone - converted component to gts format.
DismissButton - Converted component to gts format
Separator - Converted component to gts
Button - converted component to gts format.
Interactive - Converted component to gts format.
AppHeader - Fixed issue with disabled styles for nested elements in AppHeader not applying to non-HDS components when AppSideNav is open in mobile view
AppSideNav - Fixed an a11y issue by preventing a screenreader from reading content outside the menu when expanded on narrow devices.
Yield - Converted component to gts format
SegmentedGroup - Converted component to gts format
CodeEditor - Normalized error messages into readable strings
🔄 Updated dependencies:
- @hashicorp/flight-icons@4.2.0
- @hashicorp/design-system-tokens@4.0.0
@hashicorp/flight-icons@4.1.1
@hashicorp/design-system-components@5.2.0
Minor Changes
Icon - Converted component to .gts format
Added Floating UI boundary option to hds-anchored-position modifier
PopoverPrimitive - Added Floating UI boundary option
Dropdown - Added Floating UI boundary option
RichTooltip - Added Floating UI boundary option
Patch Changes
SuperSelect - Removed styling incorrectly adding a checkbox next to the "Loading options..." message for search results
AdvancedTable - Added a guard against accessing hdsIntl service after component destruction
CodeBlock - Fixed issue with font-family and font-size targeting so styles will correctly apply to nested element containing code content
CodeEditor - Fixed issue with font-family and font-size targeting so styles will correctly apply to nested element containing code content
Flyout - Updated variable controlling the Flyout max-width to align with the AppSideNav minimized width
🔄 Updated dependencies:
- @hashicorp/flight-icons@4.1.1
@hashicorp/flight-icons@4.1.0
Minor Changes
ansible-community, ansible-community-color, ansible-automation-platform, and ansible-automation-platform-color icons added.
@hashicorp/design-system-components@5.1.0
Minor Changes
CodeEditor - Added a new @customExtensions argument which allows consumers to provide their own custom CodeMirror extensions.
Patch Changes
Dropdown - Updated component signature for ListItemCheckbox and ListItemRadio to have an optional @id argument.
Fix mixed sass declaration syntax to silence warnings
AdvancedTable - Fixed a bug in the cleanup logic of selectable rows where data updates caused the internal selection state to be incorrectly reset.
Button - Optimized CSS used to apply dark theme styles within AppHeader and SideNav
Dropdown - Optimized CSS used to apply dark theme styles within AppHeader and SideNav
SideNav: - Made CSS updates including:
- Optimized CSS used to apply dark theme styles to Buttons & Dropdowns
- Removed deprecated ".hds-side-nav__dropdown" class name which is redundant to the HDS Dropdown class name referenced in styles
AppHeader - Optimized CSS used to apply dark theme styles to Buttons & Dropdowns
🔄 Updated dependencies:
- @hashicorp/flight-icons@4.1.0