Tag
- Truncated any text that is longer than about 20 characters, and added a tooltip with the full text when truncation occurs
Tag
- Added @tooltipPlacement
argument
MaskedInput
- Added support for externally controlled content masking
Badge
- Updated foreground and background colors to improve contrast for a11y
BadgeCount
- Updated foreground color of neutral variant to improve contrast for a11y
CodeBlock
- Added @copyButtonText
argument to CodeBlock
and @text
argument to the CodeBlock::CopyButton
subcomponent to customize the aria-label
of the Copy Button. The default label is still "Copy".
CodeEditor
- Added @copyButtonText
argument to customize the aria-label
of the Copy Button. The default label is still "Copy".
hds-code-editor
modifier - Added language syntax highlighting support for JavaScript and Rego
CodeEditor
- Added language syntax highlighting support for JavaScript and Rego
Dependencies - added @codemirror/lang-javascript
Time
- Updated visual style to display a dotted underline when the hasTooltip
argument is true
RichTooltip
- Fixed Safari bug causing the dotted underline style not to display
hds-code-editor
modifier - Added hasLineWrapping
named argument that sets line wrapping behavior within the code editor.
CodeEditor
- Added @hasLineWrapping
argument that is passed to the hds-code-editor
modifier
Time
- Fixed type declarations
CodeEditor
- Added missing @lezer/highlight
dependency
#2700 - Thanks @aklkv for the contribution! 🙏
hds-tooltip
- Changed structure of tooltip content to add a wrapper that is always in the DOM and set aria-controls
on trigger elements for a11y improvements with toggled content
Tooltip
- Changed structure of tooltip content to add a wrapper that is always in the DOM and set aria-controls
on button for a11y improvements with toggled content
CopyButton
- Fixed issue preventing copying of empty string and zero number values
CopySnippet
- Fixed issue preventing copying of empty string and zero number values
CodeEditor
- Fixed import path for HdsCodeEditorModifierSignature
Swapped unmaintained ember-composable-helpers
with @nullvoxpopuli/ember-composable-helpers
#2493 - Thanks @aklkv for the contribution! 🙏
Migrated our tooling from yarn to pnpm and updated our JavaScript compiler configuration
Updated decorator-transforms
from 1.2.1
to 2.3.0
#2671 - Thanks @aklkv for the contribution! 🙏
AdvancedTable
- Refactored keyboard navigation to a new modifier hds-advanced-table-cell
for reusability, and disabled default behavior for arrow keys in focused cells.
Table
- Removed unused updateAriaLabel
function and event listener
Tooltip
- Removed style import from Tippy.js, copied arrow positioning styles into component styles
Table
- Updated the visual design of Table
cells by adding borders, making them more distinguishable when spanning rows or columns.
Added global tokens for border radius
CodeEditor
- Added new CodeMirror 6 supported code editor component
hds-code-editor
modifier - Added new code editor modifier which converts the element it is applied to into a CodeMirror 6 code editor
SuperSelect
- Added searchFieldPosition="before-options"
to fix a11y issue in Multiple
component
AdvancedTable
- Added AdvancedTable
component and related sub-components
Add tabbable
as a dependency.
Upgraded the following dependencies:
@ember/render-modifiers
from2.0.5
to2.1.0
@ember/addon-shim
from1.8.7
to1.9.0
clipboard-polyfill
from4.1.0
to4.1.1
decorator-transforms
from1.1.0
to1.2.1
ember-a11y-refocus
from4.1.3
to4.1.4
ember-element-helper
from0.8.5
to0.8.6
ember-focus-trap
from1.1.0
to1.1.1
ember-modifier
from4.1.0
to4.2.0
ember-power-select
from8.2.0
to8.6.2
sass
from1.69.5
to1.83.0
Table
- Fixed the aria-labels
for select row and select all checkboxes so they do not change based on the state of the checkbox.
Breadcrumb
- Implemented aria-controls
in Breadcrumb::Truncation
for a11y improvements with toggled content from PopoverPrimitive
Dropdown
- Implemented aria-controls
in Dropdown::Toggle::Button
for a11y improvements with toggled content from PopoverPrimitive
PopoverPrimitive
- Implemented aria-controls
in toggle element for a11y improvements with toggled content
RichTooltip
- Removed explicitly setting aria-controls
in RichTooltip::Toggle
as it is now set through the PopoverPrimitive
Tabs
- Implement aria-controls
in tab for a11y improvements with toggled content
Shifted our supported version of Node.js from 16* || >= 18
to >=18
Dropdown
- Fixed z-index
bug which caused the focus ring of the toggle icon to not be visible when the component was nested in a container.
🔄 Updated dependencies:
- @hashicorp/design-system-tokens@2.3.0
- @hashicorp/flight-icons@3.9.0
Time
- Added Time component, Time service, and related libraries (luxon
2.x or 3.x and ember-concurrency
)
Table
- Exposed the index of the @each
loop over the @model
as rowIndex
Dropdown
- Fixed an issue with the ToggleIcon
to make the focus ring visible on mouse click
PageHeader
- Fixed issue with extra space below title when no metadata is present
Alert
- Removed default color applied to the hds-alert__text
container (text color is applied via @color
argument)
Dropdown
- Fixed ResizeObserver
-related errors in tests
RichTooltip
- Fixed ResizeObserver
-related errors in tests
Upgraded @floating-ui/dom
to 1.6.12
Fixed deprecated Sass syntax (map-get
replaced with map.get
and @import
with @use
)
IconTile
- Updated visual design of IconTile
to make it distinguishable from secondary IconButton
.
Aligned private properties of the HDS modifiers to follow a standardized notation
hds-anchored-position
hds-register-event
hds-tooltip
Aligned private class properties to follow a standardized notation
Accordion
Alert
AppHeader
AppSideNav
CodeBlock
Copy::Button
Copy::Snippet
DisclosurePrimitive
Dropdown
Flyout
Form::SuperSelect
Form::TextInput
Icon
Modal
Pagination::Compact
Pagination::Numbered
PopoverPrimitive
Reveal
Table
Tabs
🔄 Updated dependencies:
- @hashicorp/design-system-tokens@2.2.2
- @hashicorp/flight-icons@3.8.0
Dropdown
- Added @matchToggleWidth
argument
hds-clipboard
- Added clipboard-polyfill
to support product usage in non-secure environments; this impacts Copy::Button
, Copy::Snippet
, CodeBlock
, and MaskedInput
SideNav
- Made a11y related improvements including:
- Changed
List::Title
to h3 & added visually hidden h2 to AppSideNav - Replaced aria-label for
ToggleButton
with aria-labelledby and aria-expanded
Fixed instances where arguments are passed into tracked properties at declaration:
MaskedInput
TextInput
Pagination::Compact
Pagination::Numbered
SideNav
Table
Table::ThSelectable
Tabs
SideNav
- Fixed bug with hidden panels sometimes causing unnecessary overflow scrolling
Dropdown
- Fixed the height of the chevron in ToggleButton
Hds::Flyout
- Fixed error in
Description
andBody
subcomponents, caused by not passing theargs
argument from the constructor tosuper
Hds::Modal
- Fixed error in
Body
subcomponent, caused by not passing theargs
argument from the constructor tosuper
Export TypeScript signatures for all components and modifiers
#2499 - Thanks @aklkv for the contribution! 🙏
Alert
- Removed role="alert"
and aria-live="polite"
attributes from Alerts with color set to "neutral" or "highlight"
Modal
- Added @returnFocusTo
argument to control where the browser focus is returned once the modal is closed
Flyout
- Added @returnFocusTo
argument to control where the browser focus is returned once the flyout is closed
CodeBlock
- Added @lineNumberStart
option to set custom starting number for line numbering
SuperSelect::Multiple
- Added @resultCountMessage
argument to enable override
Dropdown
- Fixed content being preserved in the DOM when closed
- Removed the
@isOpen
yielded argument - Added
@preserveContentInDom
to optionally control rendering of the content
Modal
- Fixed isDismissDisabled
functionality
Flyout
- Removed isDismissDisabled
from signature (not an actual argument)
SuperSelect
- Update the the default state of selected list items to Foreground
/ Primary
to match other list items and the Dropdown
.
SuperSelect::Multiple
- Fixed placeholder style and layout
Dropdown
- Update the color of the text and icons in the selected state checkmark list item to match the styling of the ListItems (Radio
and Checkbox
).
CodeBlock
- Decoupled the display of line numbers from highlightLines
Dropdown
- Fixed dropdown content not being preserved when interacted with
Upgraded ember-style-modifier
to 4.4.0
🔄 Updated dependencies:
- @hashicorp/flight-icons@3.7.0
Dropdown
- Made the isOpen
state available in the yielded block
IconTile
- Fixed @color
argument type signature
Interactive
- Aligned types with LinkTo
DialogPrimitive
- Fixed issue with box-sizing
inheritance
Modal
/Flyout
- Updated box-sizing
inheritance via DialogPrimitive
fix
Upgraded eslint-plugin-ember
to 12.2.0
AppFooter
, AppFrame
, SideNav
- refactored subcomponents to use TemplateOnlyComponent
instead of empty classes.
RadioCard
- Fixed selected border colors to match Figma and interactive states.
- Updated icon, label, and description colors to use
disabled-foreground
when theRadioCard
is disabled.
MaskedInput
- Changed textarea scrollbar-width
to "thin" to reduce overlap with toggle button.
CodeBlock
- Changed textarea scrollbar-width
to "thin" to reduce overlap with copy button.
Removed ember-keyboard
dependency
Tabs
- Fixed signatures for subcomponents
Table
- Fixed signatures for subcomponents
BadgeCount
- updated the type of the text
argument to allow numbers
TooltipButton
- made the default value for the placement
argument 'top'
and fixed the type definition
TooltipButton
- made the extraTippyOptions
argument optional and allowed to be a partial object
DialogPrimitive
- added a guard so the yielded close function is always defined
Hds::SideNav
- Fixed a couple of bugs where SideNav would remain inert when no longer minimized (or would not be inert when minimized)
#2431 - Thanks @DingoEatingFuzz for the contribution! 🙏
Button
- aligned type names to convention
Fixed issue with icon sprite not initiated
#2433 - Thanks @aklkv for the contribution! 🙏
Hds::Table
- Added
@selectableColumnKey
argument which enables sorting by row selection state and specifies the corresponding selection state key.
Hds::Table::Tr
- Added
@selectableColumnKey
argument which enables sorting by row selection state and specifies the corresponding selection state key. - Added
@sortBySelectedOrder
argument which determines the state of the sort button in the selected item column. - Added
@onClickSortBySelected
argument which is the callback for the sort button in the selected item column.
Hds::Table::ThSelectable
- Added
@onClickSortBySelected
argument which is the callback for the sort button in the selected item column. - Added
@sortBySelectedOrder
argument which determines the state of the sort button in the selected item column.
SideNav
: remove usage of Ember.testing
because it is deprecated.
CopyButton
- Updated icon colors to match interactive states of the component.
CopySnippet
- Prevent the color from adhering to interactive states when
status is success
or error
.
Stepper
- Updated to use semantic token over palette token in
Stepper::Indicator::Step
.
Dropdown
, RadioCard
, SuperSelect
, Stepper
, Table
- Fixed optional arguments in signatures
Dropdown::Toggle::Chevron
- fix subcomponent signature
hds-clipboard
modifier - extend error when copy action fails
Hds::Pagination::Compact
& Hds::Pagination::Numbered
- Added assertion and more strict typing to ensure that a routing argument (
@model
,@models
, or@route
) are present when using@onPageChange
to control routing.
🔄 Updated dependencies:
- @hashicorp/flight-icons@3.6.0
SuperSelect
- Converted components to TypeScript
SideNav
- Added a default value of "#hds-main" for a11yRefocusSkipTo
AppHeader
- Changed default value of a11yRefocusSkipTo
from "#main" to "#hds-main"
AppFrame::Main
- Added id with default value of "hds-main" which a11yRefocusSkipTo
points to
simplify components reexports and add types reexports
- update
HdsCard
reexport to reflect correct component nameHdsCardContainer
#2320 - Thanks @aklkv for the contribution! 🙏
AppHeader
:
- Hide the closed menu content in mobile view using CSS instead of conditionally rendering/not rendering the menu content.
- Add
NavigationNarrator
with associated arguments to provide a "skip link".
Accordion
: Added @titleTag
argument
Alert
: Added @tag
argument to [A].Title
ApplicationState
: Updated the @titleTag
argument to only accept "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6"
CodeBlock
: Added @tag
argument to [CB].Title
DialogPrimitive
: Added @titleTag
argument to DialogPrimitive::Header
Hds::Pagination
- Converted component to Typescript
Hds::SideNav::Header::IconButton
- Deprecate the component. Use the Hds::Button
component with isIconOnly
set to true
as a replacement.
Dropdown::ListItem::Interactive
- Adds a yielded block.
- Yields the
Hds::Badge
component. - Deprecates the
@text
argument.
New codemod: v4/dropdown-list-item-interactive
- Converts
Dropdown::ListItem::Interactive
@text
arguments to content within a yielded block.
Flyout
: Changed the HTML element wrapping the tagline and title from a <div>
to a <h1>
Modal
: Changed the HTML element wrapping the tagline and title from a <div>
to a <h1>
Dropdown
- added @enableCollisionDetection
and @isOpen
arguments
Dropdown
, Breadcrumb::Truncation
- replaced MenuPrimitive
with PopoverPrimitive
MenuPrimitive
- marked as deprecated and will be removed in the next major version
AppFrame
:
- Modified sticky/fixed position to turn off when viewport height is under 480px in height
- Refactored styles to make
AppFrame
responsible for sticky/fixed layout ofSideNav
andAppHeader
AppHeader
:
- Styled inoperable actions as disabled (which occurs when the
SideNav
is expanded in mobile view)
SideNav
:
- Removed the
withAppHeader
option as it is no longer needed.
Table
- Converted component and sub-components to TypeScript
DismissButton
, RadioCard::Group
, RichTooltip::Toggle
- Type safety fixes
SideNav
& AppHeader
- Fixed styling issue to prevent Button
and Dropdown
nested within another Dropdown
from inheriting dark theme.
AppHeader
- Fixed issue with mobile menu to prevent tabbing to hidden content and hiding it from assistive technology when closed.
Breadcrumb
: fix background hover color for Breadcrumb::Truncation
Update ember-a11y-refocus
to 4.1.3
Accordion
: changed the default name of the Accordion
item toggles. Now, they are labelled by the content in the Accordion
title.
BadgeCount
: updated the color tokens to use palette tokens.
Badge
: update the color tokens to use palette tokens.
Stepper::Indicator::Task
: Updated palette tokens to use semantic tokens.
Migrated all internal instances of FlightIcon
to Hds::Icon
🔄 Updated dependencies:
- @hashicorp/design-system-tokens@2.2.1
Icon
- Added component:
Hds::Icon
is meant to replace usage of the FlightIcon
component from ember-flight-icons
.
- Displays
block
by default. (FlightIcon
displaysinline-block
by default) - Exposes a set of predefined "foreground" colors via the
@color
argument
CodeBlock
: Converted component to TypeScript
TooltipButton
: Converted component to TypeScript
AppHeader
- Added new component.
SideNav
- Added new withAppHeader
option.
Dropdown
- Converted component to TypeScript
MenuPrimitive
- Converted component to TypeScript
TooltipModifier
- Converted modifier to TypeScript
Breadcrumb
- Converted component to TypeScript
ApplicationState
:
- Spacing and alignment updates
- New
@align
(left
(default),center
) argument for aligning content - Added new yielded
Media
child component
ApplicationState::Header
:
- The header now supports an optional
@titleTag
argument that can override the default title element (div
)
ApplicationState::Footer
:
- The footer now yields
Button
andDropdown
components as well asLinkStandalone
- The visual separator has been removed to modernize the component’s visual look
SegmentedGroup
- Converted component to TypeScript
Add explicit ember-get-config
dependency for use in the icon sprite initializer
🔄 Updated dependencies:
- @hashicorp/design-system-tokens@2.2.0
FileInput
, MaskedInput
, Select
, TextInput
, Textarea
- Converted to TypeScript
Loads the hds-icon
sprite in the components
package, and ensures it is only loaded once.
Form::TextInput
- added support for "month"
, "week"
, and "tel"
input types
DialogPrimitive
- Added set of utility "dialog" sub-components to act as primitives for Modal
and Flyout
(and to be used as standalone subcomponents if needed)
Modal
- Replaced internal subcomponents to use the DialogPrimitive
components.
Flyout
- Replaced internal subcomponents to use the DialogPrimitive
components.
Modal
: Converted component to TypeScript
Converted form primitives to TypeScript
Checkbox
, Radio
, RadioCard
, Toggle
- Converted components to TypeScript
Flyout
: Converted component to TypeScript
DialogPrimitive
- Converted component to TypeScript
Badge
: updated @text
argument type to include numbers.
🔄 Updated dependencies:
- @hashicorp/flight-icons@3.5.0
- @hashicorp/ember-flight-icons@5.1.3
PopoverPrimitive
- Converted to TypeScript
hds-register-event
(internal modifier) - Converted to TypeScript
hds-anchored-position
(internal modifier) - Converted to TypeScript
RichTooltip
- Converted to TypeScript
Accordion
- added @forceState
, @onClickToggle
arguments
Accordion
- added close
function to <:content>
Accordion
- added @size
, @type
, and @isStatic
arguments. While previously equivalent to large
the default Accordion
size is now medium
; use @size="large"
to maintain the original appearance.
Removed popover-polyfill
dependency and instantiating code
🔄 Updated dependencies:
- @hashicorp/ember-flight-icons@5.1.2
🚨 Caution: This version has been deprecated 🚨
🔄 Updated dependencies:
- @hashicorp/ember-flight-icons@5.1.1
🚨 Caution: This version has been deprecated 🚨
Fixed syncing of <F.Error />
ids to the aria-describedby
attribute
#2177 - Thanks @fivetanley for the contribution! 🙏
🚨 Caution: This version has been deprecated 🚨
SideNav
- Adds option to exclude query params from route transition/focus management
Tabs
- Converted component to TypeScript
ApplicationState
- Converted component to TypeScript
PageHeader
- Converted component to TypeScript
SideNav
- Converted component to TypeScript
Alert
- Fixed typo in HdsAlertTypes
Dropdown::Toggle::Icon
- Fixed inconsistencies with Button
including:
- Added missing text color
- Reduced icon sizes
🔄 Updated dependencies:
- @hashicorp/ember-flight-icons@5.1.0
🔄 Updated dependencies:
- @hashicorp/ember-flight-icons@5.0.3
Added re-export entries for TypeScript components
#2129 - Thanks @aklkv for the contribution! 🙏
CopyButton
- Converted component to TypeScript
CopySnippet
- Converted component to TypeScript
hds-clipboard
- Converted modifier to TypeScript
Template Registry - Removed redundant entries
Fix missing TypeScript declaration
#2122 - Thanks @aklkv for the contribution! 🙏
Hds::BadgeCount
- Fixed typo in template registry declaration
Added hds-register-event
modifier (for internal use)
Published type declarations
#2004 - Thanks @natmegs for the contribution! 🙏
Tag
- Converted component to TypeScript
IconTile
- Converted component to TypeScript
SuperSelect
- added components for single and multiple selection based on PowerSelect
BadgeCount
- Converted component to TypeScript
DisclosurePrimitive
- Converted component to TypeScript
#2025 - Thanks @WenInCode for the contribution! 🙏
Added hds-anchored-position
modifier (for internal use)
AppFooter
- Converted component to TypeScript
Stepper::Step::Indicator
- Converted to TypeScript
Stepper::Task::Indicator
- Converted to TypeScript
Badge
- Converted component to TypeScript
#1991 - Thanks @chris-hut for the contribution! 🙏
Accordion
- Converted component to TypeScript
Dropdown
- Added support for trailing icon in ListItem::Interactive
subcomponent
PopoverPrimitive
- Added low-level (internal) headless component to provide anchoring, collision detection, and popover functionalities.
RichTooltip
- Added component to provide tooltips that can contain more complex and structured content.
AppFrame
- converted component to TypeScript
Toast
- Converted component to TypeScript
#2023 - Thanks @WenInCode for the contribution! 🙏
Reveal
- Converted component to TypeScript
ButtonSet
- Converted component to TypeScript
Separator
- Converted component to TypeScript
Alert::Description
- Fixed typo in template-registry.ts
file declaration
Dropdown::ListItem::Checkmark
- Fixed issue with leading icon spacing
Tooltip
- Fixed max-width applied to the "bubble" (it was 304px
, now is 280px
per design specs)
Alert
, Badge
, BadgeCount
, Button
, Card::Container
, DisclosurePrimitive
, DismissButton
, IconTile
, Interactive
, Link::Inline
, Link::Standalone
, Tag
, Text
- Standardized class names and signatures
CodeBlock
- Re-mapped class-name variable to color-blue
Fixed default export warnings by preventing types.js
files from being reexported
#2030 - Thanks @WenInCode for the contribution! 🙏
Tabs
- Fixed issue with z-index of the active tab "indicator"
🔄 Updated dependencies:
- @hashicorp/ember-flight-icons@5.0.2
Link::Inline
- Converted component to TypeScript
#2013 - Thanks @WenInCode for the contribution! 🙏
Card
- Converted component to TypeScript
#1997 - Thanks @valeriia-ruban for the contribution! 🙏
Link::Standalone
- Converted component to TypeScript
#2010 - Thanks @WenInCode for the contribution! 🙏
Text
- Converted component to TypeScript
#1984 - Thanks @natmegs for the contribution! 🙏
Alert
- Converted component to TypeScript
#1990 - Thanks @WenInCode for the contribution! 🙏
Modal
, Flyout
- Fixed flaky tests by running @ember/test-waiters
in all environments
#2011 - Thanks @fivetanley for the contribution! 🙏
This version is a re-release of @hashicorp/design-system-components@4.1.1
containing the missing pre-compiled CSS
🚨 Caution: This version is missing the pre-compiled CSS 🚨
You can still use this version if you import styles as Sass and don't require design-system-components.css
Flyout
- Fixed issue with Sass operators failing in old versions of Sass
DismissButton
- Converted component to TypeScript
#1980 - Thanks @WenInCode for the contribution! 🙏
Added image error handling to Dropdown::Toggle::Icon
#1906 - Thanks @cbfx for the contribution! 🙏
Enable glint
#1976 - Thanks @natmegs for the contribution! 🙏
Upgraded ember-truth-helpers from 3.1.1 to 4.0.3
#1976 - Thanks @natmegs for the contribution! 🙏
Added missing aria-label support to copy-snippet component.
Removed dialog-polyfill
dependency
🔄 Updated dependencies:
- @hashicorp/design-system-tokens@2.1.0
- @hashicorp/ember-flight-icons@5.0.1
Converted Ember packages to v2 addon format.
To migrate, update Sass configuration in ember-cli-build.js
to include the paths for ember-flight-icons
and design-system-components
:
sassOptions: {
precision: 4,
includePaths: [
'./node_modules/@hashicorp/design-system-tokens/dist/products/css',
'./node_modules/@hashicorp/ember-flight-icons/dist/styles',
'./node_modules/@hashicorp/design-system-components/dist/styles',
],
},
Alternatively, you can import the CSS by adding this configuration in ember-cli-build.js
.
app.import(
"node_modules/@hashicorp/design-system-components/dist/styles/@hashicorp/design-system-components.css"
);
Form::CharacterCount
- refactored the component, removing onInsert
callback and adding use @value
argument
To migrate:
- for standalone
Form::CharacterCount
instances, you must pass in a@value
argument representing the value of the referenced input - when used as a contextual component
F.CharacterCount
inForm::[MaskedInput|TextInput|Textarea]::Field
make sure the form control is updating the associated@value
on input (usually usingon "input" (fn this.updateValue)
function)
#1896 - Thanks @meirish for the contribution! 🙏
Table
- Multiple updates to the main component and its subcomponents:
- Updated table headers to support tooltips
- Updated visual treatment and location of the "sort" button in the table headers
- Refactored CSS code to simplify usage of
hds-table
-related class names
Table::ThSort
:
- Added support for tooltip via the
@tooltip
argument - Updated visual treatment and location of the "sort" button
- Updated DOM structure of the
<th>
content - Remove class
hds-table__th-sort--button-content
- Replaced class
hds-table__th-sort
with classeshds-table__th
+hds-table__th--sort
- Replaced class
hds-table__th-sort--text--[left|center|right]
withhds-table__th--align-[left|center|right]
- Renamed
onClick
callback toonClickSort
Table::Th
:
- Added support for tooltip via the
@tooltip
argument - Updated DOM structure of the
<th>
content - Replaced class
hds-table__th--text-[left|center|right]
withhds-table__th--align-[left|center|right]
Table::Td
:
- Replaced class
hds-table__td--text-[left|center|right]
withhds-table__td--align-[left|center|right]
To migrate run the codemod v4/table
(see readme file)
Pagination
- Removed handling of query parameters from onPageSizeChange
function for Pagination::Numbered
Unfortunately, it's not possible to cover this breaking change with a codemod. Consumers should review their usage of the onPageSizeChange
callback and, if necessary, implement the persistence of the "page number" and "page size" values via query parameters themselves.
Renamed namespaced contextual components as follows:
Alert::Link::Standalone
toAlert::LinkStandalone
ApplicationState::Footer::Link::Standalone
toApplicationState::Footer::LinkStandalone
Form::Checkbox::Group::Checkbox::Field
toCheckbox::Group::CheckboxField
Form::Radio::Group::Radio::Field
toForm::Radio::Group::RadioField
Form::Toggle::Group::Toggle::Field
toForm::Toggle::Group::ToggleField
Toast::Link::Standalone
toToast::LinkStandalone
Table
- Added multi-select functionality
Tabs
- Added @size
argument with new "large" size variant
Dropdown
- Fixed dropdown list missing an accessible name when Checkmark items were passed in
Flyout
- Reduced gap between Flyout and edge of screen from 40px
to half of the minimized SideNav width in medium view
Removed ember-deep-tracked
dependency that was not used
SideNav
- Fixed issue with navigation elements remaining interactive when minimized
🔄 Updated dependencies:
- @hashicorp/ember-flight-icons@5.0.0
- @hashicorp/design-system-tokens@2.0.0
Since this is an update brand colors and product icons, we consider this a minor
version release
🔄 Updated dependencies:
- @hashicorp/design-system-tokens@1.11.0
- @hashicorp/ember-flight-icons@4.1.0
IconTile
- updated component adding support for vault-radar
product
SideNav::List::Title
, SideNav::List::BackLink
, SideNav::List::Link
: fixed issue with long text strings without spaces not wrapping
Added hds-
prefix to Sass variables for component styles (where missing).
Tabs
- removed @cached
decorator and the associated ember-cached-decorator-polyfill
CodeBlock
- Fixed the default token color in the syntax highlighting theme.
🔄 Updated dependencies:
- @hashicorp/design-system-tokens@1.10.0
- @hashicorp/ember-flight-icons@4.0.6
Modal
- Removed close
event listener on destroy
Flyout
- Removed close
event listener on destroy
CodeBlock
- Fixed issues with dynamic content, compile warning, and line number alignment
SegmentedGroup
- Fixed issue with border-radius of single child element being overridden
Button
- Added @isInline
argument
Table
- Added support for baseline
vertical alignment
AppFooter
- Changed visual alignment from right-aligned to centered.
Tooltip
- Fixed issue with text alignment, which was inherited from the parent container (now it's always left aligned).
Tabs
- Fixed subcomponents' backing-class names
AppFooter
- Updated default accessibility URL to https://hashicorp.com/accessibility
Form::Fieldset
as consumed by Form::Checkbox::Group
, Form::Radio::Group
, Form::RadioCard::Group
, and Form::Toggle::Group
- Changed spacing between legend
and content from 4px to 8px
🔄 Updated dependencies:
- @hashicorp/ember-flight-icons@4.0.5
Form::CharacterCount
- Added new component
Form::Field
- Added CharacterCount
contextual component
Form::MaskedInput::Field
- Added CharacterCount
contextual component
Form::TextInput::Field
- Added CharacterCount
contextual component
Form::Textarea::Field
- Added CharacterCount
contextual component
Button
- Updated DOM structure to contain only span
elements
Dropdown
- Updated button elements DOM structure to contain only span
elements
Link::Standalone
- Updated DOM structure to contain only span
elements
CodeBlock
- Added language support for Ruby syntax
Table
- Updated @columns
object to support isVisuallyHidden
argument
Table::Th
- Updated to supportisVisuallyHidden
argument
SideNav
- Reduced the width of SideNav::ToggleButton
🔄 Updated dependencies:
- @hashicorp/ember-flight-icons@4.0.4
AppFooter
– Fixed predefined statuses by replacing critical
with outage
and prevented statusIconColor
from being overridden by status
SideNav
- Fixed visible scrollbar in collapsed SideNav when scroll bar is set to be always visible
CodeBlock
- Fixed @hasLineWrapping
style to make long strings wrap when they overflow the container
Added @ember/string
as a direct dependency
🔄 Updated dependencies:
- @hashicorp/ember-flight-icons@4.0.3
CodeBlock
- Added new component
Upgraded the following dependencies:
@ember/test-waiters
from3.0.2
to3.1.0
ember-cli-htmlbars
from6.2.0
to6.3.0
ember-focus-trap
from1.0.2
to1.1.0
ember-keyboard
from8.2.0
to8.2.1
sass
from1.62.1
to1.69.5
Breadcrumb
- Added support for external links
Upgraded the following dependencies:
ember-cached-decorator-polyfill
from0.1.4
to1.0.2
ember-cli-babel
from7.26.11
to8.2.0
ember-cli-sass
from10.0.1
to11.0.1
ember-composable-helpers
from4.5.0
to5.0.0
Button
- Fixed HdsInteractiveSignature
type import
🔄 Updated dependencies:
- @hashicorp/ember-flight-icons@4.0.2
Explicitly added ember-element-helper
as dependency for the components
package
🔄 Updated dependencies:
- @hashicorp/ember-flight-icons@4.0.1
Dropped support for Node 14
Form::VisibilityToggle
- Added component as a form base element
Form::TextInput::Field
- Added Form::VisibilityToggle
to password inputs (controlled via @hasVisibilityToggle
- Notice that this is set to be visible by default now)
Form::MaskedInput
- Refactored to use Form::VisibilityToggle
Form::MaskedInput
- Renamed @isMasked
to @isContentMasked
To migrate:
- in
Form::MaskedInput
instances replace@isMasked
arguments with@isContentMasked
Dropdown
– Removed @listPosition
left
and right
(use bottom-left
and bottom-right
, respectively).
To migrate:
- in
Dropdown
instances:- replace
@listPosition="left"
with@listPosition="bottom-left"
- replace
@listPosition="right"
with@listPosition="bottom-right"
- replace
SideNav
- Renamed extraBefore/After
generic containers to ExtraBefore/After
(uppercase E
).
To migrate:
- rename all the
extraBefore/After
instances yielded within theSideNav
component toExtraBefore/After
Form::RadioCard
- Remove the @layout
property.
Form::RadioCard::Group
- Repurposed the @layout
property to either horizontal
(default) or vertical
To migrate Form::RadioCard
and Form::RadioCard::Group
instances without encountering visual changes:
- make sure all instances with
@layout="fixed"
have a@maxWidth
defined, then remove the@layout="fixed"
definition - remove all
@layout="fluid"
definitions
Dropdown::ListItem::CopyItem
- Changed defaults for @color
(now secondary
) and @isTruncated
(now true
).
Consumers should review the defaults values for this (sub)component in their codebases, to make sure they match the intended visual designs.
Button
, Interactive
- Converted components to TypeScript.
Copy::Snippet
- Fixed the way in which “width/full-width” is applied to the component + Internal update to the “truncation” implementation.
- the component is not full-width anymore by default (the width now fits the content); use
@isFullWidth={{true}}
to have a full-width layout - the internal class name
hds-copy-snippet__text--truncated
has been changed tohds-copy-snippet--is-truncated
(and moved)
Consumers should review the pages where this component is used to make sure its width matches the intended visual designs (in case, use the @isFullWidth
argument to control its full-width). In case they're using the hds-copy-snippet__text--truncated
class name, they should also update their code to adapt to the new implementation.
Removed ember-cli-clipboard
as dependency and introduced a custom hds-clipboard
modifier (using the web Clipboard API)
Copy::Button
- Multiple updates:
- replaced third-party
clipboard
modifier withhds-clipboard
- removed
@container
argument (not needed anymore, it was used in the third party library as a hack to account for focus trapping and focus shifting) - added
@onSuccess/onError
callbacks
Copy::Snippet
- Multiple updates:
- replaced third-party
clipboard
modifier withhds-clipboard
- added
@onSuccess/onError
callbacks Dropdown::ListItem::CopyItem
- the change to the underlying
Copy::Snippet
has fixed an issue with the focus being lost on copy (causing the dropdown to close on copy)
- the change to the underlying
Consumers should remove the @container
argument from all the instances of Copy::Button
(not needed anymore) and double check that the Copy::Button/Snippet
instances work exactly as before.
Copy::Snippet
- Fixed background colors for different states according to Figma specs (main change is the default/base background is now transparent, not white).
Form::MaskedInput
- Changed copy logic for CopyButton
used inside the component.
Accordion
- Replaced internal text styling (using Text
component).
ApplicationState
- Replaced internal text styling (using Text
component).
Copy::Snippet
- Replaced internal text styling (using Text
component).
Dropdown
- Replaced internal text styling (using Text
component).
Form:**
- Replaced internal text styling (using Text
component).
Flyout
- Replaced internal text styling (using Text
component).
Modal
- Replaced internal text styling (using Text
component).
PageHeader
- Replaced internal text styling (using Text
component).
Pagination
- Replaced internal text styling (using Text
component).
Stepper
- Replaced internal text styling (using Text
component).
Tag
- Replaced internal text styling (using Text
component).
No impact is expected on the consumers' applications.
Button
- Applied explicit text alignment to the text to fix alignment on "link" buttons.
🔄 Updated dependencies:
- @hashicorp/ember-flight-icons@4.0.0
Button
- updated horizontal padding of icon-only variant
Dropdown::ToggleIcon
- updated sizing of the "small" variant to match the height of the "small" variant Button
Pagination
- Removed handling of query parameters from onPageSizeChange
function.
Notice: while technically this is a breaking change, we consider this a fast-follow fix for the previous release.
Pagination
- updated the logic for “Compact” variant to expose @currentPageSize
and handle controlled/uncontrolled changes
Tabs
- replace assert
with warn
in setIndicator
function
Tabs
- Fixed issue with @isSelected
dynamically changed within #each
loops
Pagination::Compact
- Added option to show "SizeSelector" element
Tabs
- Refactored logic for Tabs
component + Tab/Panel
sub-components to support more complex use cases:
- introduced
@selectedTabIndex
argument to control the "selected" tab from the consuming application, e.g. via query params (effort spearheaded by @MiniHeyd) - fixed issue with nested tabs not initializing the "selected" indicator correctly
- fixed issue with dynamic tab content not updating the "selected" indicator correctly
AppFooter
- Added new component
SideNav
- add @isCollapsible
(to control if users can collapse the sidenav on 'desktop' viewports) and @isMinimized
(to control the default state on 'desktop' viewports) arguments
Tag
- Updated padding for dismiss button for WCAG conformance
Link::Standalone
– increase target size
🔄 Updated dependencies:
- @hashicorp/design-system-tokens@1.9.0
PowerSelect
- fix style overrides when the list is positioned above
Text
- Fixed issue with whitespace adding extra underline when used in links (eg. inside a Link::Inline
)
🔄 Updated dependencies:
- @hashicorp/ember-flight-icons@3.1.3
Pagination
- Bugfix aria-label
on the component
Dropdown
- changed @height
property to use max-height
instead of a fixed height.
IconTile
- updated component to include vault-secrets
product option
Text
- Removed leftover console.log
from code
Refactored the layout of the Dropdown
checkbox and radio inputs to make the gap between the inputs and the associated text, as well as the icon and count, clickable.
Hds::Link::Standalone
- Changed font-weight from 500 to 400 to match font-weight of Hds::Button
.
Stepper
- removed some CSS declarations that were not used/applied
🔄 Updated dependencies:
- @hashicorp/design-system-tokens@1.8.0
- @hashicorp/ember-flight-icons@3.1.2
Hds::Text
- Added new Text
component
Hds::Form::MaskedInput
- Add hasCopyButton
argument
Form::Indicator
- Remove aria-hidden from the "optional" <span>
#1577 - Thanks @DingoEatingFuzz for the contribution! 🙏
Removed ember-named-blocks-polyfill
as all consumers of HDS are on Ember 3.25 or later now. This can be installed locally if it is still needed.
Alert
, Toast
: Fixed an issue with anchor tag color styles within Description that had been overriding Hds::Link
color; changed the default color for HTML links within Description to "neutral" to better align with existing guidance for links in the actions and improve accessible contrast.
🔄 Updated dependencies:
- @hashicorp/ember-flight-icons@3.1.1
Added new FileInput
component
Remove unnecessary export of hds/copy/index.js
Hds::Tabs
- Fix missing tab indicator when used in Modal or Flyout
Copy::Snippet
- Added support for container and updated API docs
Hds::Tabs
- Fixed tabs and panels misbehaving on route change
Copy::Button
, Copy::Snippet
- Updated error icon
Hds::SegmentedGroup
- Prevent border-radius
from interfering with underlying elements
Table
- Resolved issue where ThSort
was not supporting right-aligned text properly
🔄 Updated dependencies:
- @hashicorp/ember-flight-icons@3.1.0
Added the Hds::CopyButton
and Hds::CopySnippet
components.
Adjusted closing brace on copywrite headers to avoid terminal noise
Hds::Modal
- reduce test flakiness around closing Modal when using @ember/test-helpers
#1549 - Thanks @fivetanley for the contribution! 🙏
Fix Embroider warnings caused by incorrect export of internal utility functions
Hds::Flyout
- reduce test flakiness around closing Flyout when using @ember/test-helpers
Hds::Form::Field
- Fix error message for unexpected @layout
values
🔄 Updated dependencies:
- @hashicorp/ember-flight-icons@3.0.9
-
#1516
f2192cad7
Thanks @didoo! -Hds::SideNav
- Fixed issue with links still being interactive (even if visually hidden) when the navigation is "minimized" -
#1518
5fd48e31e
Thanks @didoo! -Hds::PageHeader
- Fixed overflow of non-breaking text fortitle
,subtitle
anddescription
elements -
#1494
169a85b63
Thanks @natmegs! -Hds::Form::TextInput
- Add support fordatetime-local
type -
#1500
b6c2867a4
Thanks @didoo! -Hds::SideNav
- updated layout styling for theSideNav::List::Title
element -
#1520
7f7ec22c3
Thanks @alex-ju! - Upgradeember-style-modifier
to3.0.1
-
Updated dependencies [
fd5953633
]:- @hashicorp/design-system-tokens@1.7.0
- @hashicorp/ember-flight-icons@3.0.8
-
#1492
a17e5b2ac
Thanks @KristinLBradley! -Hds::Card
- Updated default value of@overflow
argument to"visible"
to address an area of consumer confusion and better support the most common use cases.Technically, this is a breaking change as it will require consumers relying upon the previous
hidden
default value to now manually set the value. The result of not setting the ahidden
value can cause square edges of some images to "stick out" and overlap the rounded corners of the Card itself. We considered this to be a fairly minor, low-impact issue however which would not affect functionality or usability. -
#1452
c277d0366
Thanks @alex-ju! -Hds::Form::TextInput
- Add loading state on "search" type -
#1468
b0a766ccf
Thanks @alex-ju! - AddHds::Form::MaskedInput
component -
#1423
5ac340c8c
Thanks @KristinLBradley! - AddHds::Accordion
component
-
#1466
cdda7ae8e
Thanks @alex-ju! -Hds::PageHeader
– Set position to 'relative' -
#1470
0ea2ccfd0
Thanks @alex-ju! -Hds::Textarea
– Fix border and text color for readonly state -
#1456
b4237e73b
Thanks @alex-ju! -Hds::Modal
– PreventonClose
callback function invocation whenisDismissDisabled
istrue
-
#1469
ef98ed4ed
Thanks @didoo! - Set thefont-weight
of thebutton
mixin explicitly toregular
instead of relying on inheritance (components using this mixin:Button
,Dropdown::ToggleButton
and soonAccordion
) - No visual difference expected -
Updated dependencies [
b2ec25b39
]:- @hashicorp/design-system-tokens@1.6.0
- @hashicorp/ember-flight-icons@3.0.7
-
#1438
ae852e7f8
Thanks @didoo! -TooltipButton
- addedtext-align: inherit
to the "button" element -
#1444
5a4d036e1
Thanks @MelSumner! - Internal accessibility tweaks for dropdown component -
#1395
e6e0c22c5
Thanks @alex-ju! - Upgraded Ember.js to latest stable release 4.12, including upgrades to:ember-auto-import
from2.6.0
to2.6.3
ember-cli-htmlbars
from6.1.0
to6.2.0
Upgraded the following dependencies:
ember-focus-trap
from1.0.1
to1.0.2
ember-keyboard
from8.1.0
to8.2.0
ember-truth-helpers
from3.0.0
to3.1.1
sass
from1.58.3
to1.62.1
Shifted our supported version of Node.js from
12.* || 14.* || >= 16
to14.* || 16.* || >= 18
-
#1425
921aa03b9
Thanks @didoo! -Table
- Setmin-height
instead ofheight
for the table head cells + Updated the cells' internal padding to align with the design specs in Figma -
#1433
9aa5291d1
Thanks @didoo! - - Updated CSS code of components to use flexgap
- Fixed an issue with
Hds::Sidenav::Link
that was generating an empty node
This will lead to a minimal visual impact on some edge cases of
Alert/Toast
(multiple description items) andSideNav
(text + generic content) - Fixed an issue with
-
#1426
1f8886a2d
Thanks @MelSumner! - Style tweaks to standalone link -
#1434
eadefc4bd
Thanks @alex-ju! - Fix scroll management onHds::Modal
andHds::Flyout
resulting in straystyle
attribute on<body>
element -
Updated dependencies [
e6e0c22c5
]:- @hashicorp/ember-flight-icons@3.0.6
-
#1421
b8a45d6e7
Thanks @didoo! -Table
- Exposed the internal sorting properties and methodssetSortBy
,sortBy
andsortOrder
-
#1377
437c253dd
Thanks @jorytindall! - AddsPageHeader
component
-
#1415
555c86d3f
Thanks @didoo! -Hds::Table
- Changed the way in which the column@width
defined by the user is applied -
Updated dependencies []:
- @hashicorp/ember-flight-icons@3.0.5
- #1381
02cdeacd5
Thanks @KristinLBradley! - Add newReveal
component
- Updated dependencies []:
- @hashicorp/ember-flight-icons@3.0.4
- #1391
0a7c53886
Thanks @alex-ju! - Embed page scroll management into theModal
andFlyout
components
- #1388
56a6b94df
Thanks @didoo! - FixedSideNav
issue with content resizing when transitioning itswidth
- #1380
cd16ccc19
Thanks @MelSumner! - A11y Fix: removesaria-label
from stepper/indicator and from task/indicator, which was causing an accessibility test error.
- Updated dependencies [
2c7d70868
]:- @hashicorp/ember-flight-icons@3.0.3
- #1371
aa2be65cf
Thanks @KristinLBradley! - RefactorHds::Disclosure
internal utility component into two new components:- Rename the original
Hds::Disclosure
component toHds::MenuPrimitive
- Add a new
Hds::DisclosurePrimitive
component stripped of the “click outside/unfocus/esc to close” functionality
- Rename the original
-
#1373
b2949f208
Thanks @MelSumner! - Updates aria-label support for consistency. Consumers can now see in the component API docs where@ariaLabel
is supported for a custom value, and what the fallback value is. -
#1364
3e1543077
Thanks @alex-ju! - PreventTooltip
content from overflowing
-
#1350
be5c5aad8
Thanks @KristinLBradley! -RadioCard
- Update CSS to enable wrapping of long strings in label which were overflowing the container -
#1353
0ed127294
Thanks @didoo! - removedz-index
value fromAppFrame::Footer
- #1344
6d6cf3ea8
Thanks @cbfx! -SideNav::Portal::Target
- Fixed a possible source of flickering when a panel has already been rendered
-
#1338
2bc23fd20
Thanks @didoo! -SideNav
- Fix issue with links being clickable even if not visible -
#1339
ea8edb9bf
Thanks @didoo! -SideNav
- Updated CSS declaration that was causing an horizontal scrollbar to appear in some conditions
-
#1283
d0ae66503
Thanks @KristinLBradley! - - Add newTooltipButton
component andhds-tooltip
modifier- Add design tokens for
Tooltip
- Add design tokens for
-
#1316
5763ffbca
Thanks @alex-ju! - AddSegmentedGroup
component
-
#1329
216ce51a8
Thanks @didoo! -SideNav::Portal::Target
- Removed extra call tocommitStyles
-
#1328
095caf4d4
Thanks @didoo! -SideNav::Portal::Target
- Made the:hover:focus
state (the one the links finds itself once clicked) identical to the:active/.active
state -
#1334
f6fa1e15e
Thanks @didoo! -SideNav
- added missing override ofDropdown::ToggleButton
-
Updated dependencies [
d0ae66503
]:- @hashicorp/design-system-tokens@1.5.0
-
#1321
6cb5f55b1
Thanks @didoo! - ExtractedHds::SideNav::Base
from theHds::SideNav
component -
#1304
038d8306a
Thanks @didoo! - Extended theHds::SideNav
component to support responsiveness (animation/transition) and content portaling by adapting existing implementation for Cloud UI -
#1315
e900dbcca
Thanks @didoo! - Added a@isInline
argument to theHds::Dropdown
component -
#1309
ef7eeff66
Thanks @jorytindall! - AddHds::Flyout::Footer
as generic block toHds::Flyout
-
#1317
fa3a328a1
Thanks @didoo! - Changed order of "modal" container element in the DOM for theAppFrame
component
-
#1312
cd1527ef5
Thanks @alex-ju! - Addmin-height
toHds::Textarea
-
#1313
5a2f5778d
Thanks @didoo! - Added design tokens forSideNav
component -
#1306
e993f6c42
Thanks @alex-ju! - FixPowerSelectMultiple
style overrides when search is enabled -
Updated dependencies [
5a2f5778d
]:- @hashicorp/design-system-tokens@1.4.2
- #1258
3466d2279
Thanks @MelSumner! - Adds Hds::ApplicationState component
- #1291
b2c21a86e
Thanks @didoo! - Fixed missing inset shadow forTextInput
,Textarea
,Checkbox
,Radio
,PowerSelect
overrides
-
#1185
a883e7fd7
Thanks @alex-ju! - AddCheckmark
,Checkbox
andRadio
asHds::Dropdown::ListItem
sRename
Hds::Dropdown::ListItem
internal CSS classes as follows:hds-dropdown-list-item--copy-item
→hds-dropdown-list-item--variant-copy-item
hds-dropdown-list-item--description
→hds-dropdown-list-item--variant-description
hds-dropdown-list-item--generic
→hds-dropdown-list-item--variant-generic
hds-dropdown-list-item--interactive
→hds-dropdown-list-item--variant-interactive
hds-dropdown-list-item--separator
→hds-dropdown-list-item--variant-separator
hds-dropdown-list-item--title
→hds-dropdown-list-item--variant-title
Note: If test assertions are relying on these class names, tests will fail. If extensions/overrides have been applied to these classes, they will suffer visual changes.
-
#1212
6e79216a8
Thanks @alex-ju! - AddHds::Dropdown::Header
andHds::Dropdown::Footer
as generic blocks toHds::Dropdown
Rename
Hds::Dropdown
internal CSS classhds-dropdown-list
→hds-dropdown__list
The
hds-dropdown__list
element is now wrapped in ahds-dropdown__content
element to accommodate the new header and footer elements. As a result, the following modifiers will be applied to the wrapper element.hds-dropdown-list--fixed-width
→hds-dropdown__content--fixed-width
hds-dropdown-list--position-left
→hds-dropdown__content--position-left
hds-dropdown-list--position-right
→hds-dropdown__content--position-right
Note: If test assertions are relying on these class names, tests will fail. If extensions/overrides have been applied to these classes, they will suffer visual changes.
-
#1266
082842b59
Thanks @alex-ju! - Add@icon
,@count
,@badge
and@badgeCount
toDropdown::Toggle::Button
Hds::Dropdown::Toggle::Button
andHds::Dropdown::Toggle::Icon
now share the chevron element. As a result, we renamed internal CSS classes as follows:hds-button__text
→hds-dropdown-toggle-button__text
hds-button__icon
→hds-dropdown-toggle-chevron
The icon element within
Hds::Dropdown::Toggle::Icon
no longer has thehds-dropdown-toggle-icon__chevron
class and it's currently wrapped in thehds-dropdown-toggle-chevron
container, similar toHds::Dropdown::Toggle::Button
.The
Hds::Dropdown::Toggle::Icon
now has a solid border, for consistency withHds::Dropdown::Toggle::Button
and the secondary style ofHds::Button
.Note: If test assertions are relying on these class names, tests will fail. If extensions/overrides have been applied to these classes, they will suffer visual changes.
-
#1276
5ad29412d
Thanks @alex-ju! - Allow small@size
onDropdown::Toggle::Icon
-
#1262
3eb78b8de
Thanks @alex-ju! - Add new@listPositions
forDropdown
as follows:bottom-left
bottom-right
(default)top-left
top-right
Note:
left
andright
are now deprecated and will be removed in a future major release
-
#1260
8eb0d1ff6
Thanks @didoo! - Added@ember/render-modifiers
as explicit dependency -
#1256
451d98842
Thanks @alex-ju! - Make theDisclosure
mechanism more resilient
- #1163
992fde13f
Thanks @KristinLBradley! - Add newSideNav
components
- #1242
f1a947db2
Thanks @Dhaulagiri! - Revert ember-truth-helpers & ember-keyboard dependency updates
-
#1201
5b11fe34c
Thanks @KristinLBradley! - Add @label argument to Pagination::SizeSelector component and associated @sizeSelectorLabel argument to Pagination::Numbered component to make Pagination::SizeSelector label text customizeable. -
#1160
b71c0c07f
Thanks @MelSumner! - Added new custom sort feature support to table component:- Adds
sortingFunction
support in@columns
declaration - Adds
sortedMessageText
support for custom sorting message - Updates the
aria-sort
to fallback to "none" instead of "null" (per spec) - Adds support for the
\{\{each\}\}
loop'skey
to be defined withidentityKey
(optional; falls back to the Ember default if none is provided)
- Adds
-
#1217
c021b0527
Thanks @alex-ju! - Updateember-cli
to4.10.0
alongside other patch and minor dependency updates -
#1208
583f7559d
Thanks @MelSumner! - Updates table styles to include scoped row support -
#1226
2b0a028b8
Thanks @didoo! - Changed inner logic forThSort
arguments -
#1181
2ef00f654
Thanks @KristinLBradley! - Add a style to prevent accidental display of hiddenHds::Tabs::Panel
-
#1204
fcbaff90b
Thanks @KristinLBradley! - * Scope group layout styles to nested child components.- Fix bug with --token-pagination-child-spacing-vertical value so that it adds "px" unit.
-
Updated dependencies [
fcbaff90b
]:- @hashicorp/design-system-tokens@1.4.1
- #1193
0f76e60
Thanks @fivetanley! - FixHds::Table
compile error for Ember 3.28 or lower
-
#661
2c6024a38
Thanks @KristinLBradley! - Add newPagination
component (Numbered
,Compact
)
- Updated dependencies [
2c6024a38
]:- @hashicorp/design-system-tokens@1.4.0
-
#1036
b1756288e
Thanks @Dhaulagiri! - Update design system name to Helios -
#971
fa819fedf
Thanks @alex-ju! - Fix repetitive required field indicator for screen readers -
#1130
34fb0fe18
Thanks @MelSumner! - Moves icon and count inside of tab (button element) for WCAG conformance -
#1157
39b645296
Thanks @MelSumner! - Fixes malformed CSS classes in table component -
#1080
1dde47948
Thanks @didoo! - AddedonSort
callback toHds::Table
component -
#1127
4eaf727e7
Thanks @MelSumner! - Adds missing aria-label to breadcrumb truncation toggle for WCAG conformance. -
Updated dependencies [
b1756288e
]:- @hashicorp/design-system-tokens@1.3.1
- #867
a26f3da41
Thanks @MelSumner! - Bugfix: removed extra space in label that was causing label and legend to be inconsistent. Moved the
to therequired
indicator instead for consistency.
- #827
c775030b0
Thanks @MelSumner! - PR 760 Finalized Hds::Table component; resolved text alignment and column width invocation options. Added support forth
elements with the scope ofrow
.
- #816
325cdaa2a
Thanks @jorytindall! - Updated the modal border radius based on revised design guidelines.
-
#740
cd1a09307
Thanks @alex-ju! - Addindeterminate
style toCheckbox
component -
Updated dependencies [
92c83961f
]:- @hashicorp/design-system-tokens@1.3.0
-
#631
5d4b1811
Thanks @alex-ju! - AddModal
component andDismissButton
utility component (used byAlert
,Toast
andModal
) -
#722
58a52103
Thanks @MelSumner! - AddTable
component
-
#681
6f08ddd2
Thanks @KristinLBradley! - Explicitly setaria-selected
totrue
orfalse
-
#698
db8a1caf
Thanks @alex-ju! - Add@layout
parameter toRadioCard
-
Updated dependencies [
aeff4e02
]:- @hashicorp/ember-flight-icons@3.0.2
- #668
3c3b6706
Thanks @alex-ju! - Fix whitespace issue inLink::Inline
andInteractive
utility component
- #663
1397d52c
Thanks @nfagerlund! - Tabs::Panel: Regress modern helper syntax for 3.24 compatibility
- #548
5d1e2cb4
Thanks @KristinLBradley! - Add new Tabs component
-
#660
4d0826a6
Thanks @alex-ju! - Update theHds::Button
style when rendered as a link -
#638
90182235
Thanks @Dhaulagiri! - explicitly add ember-style-modifiers as a dependency -
#636
27a283a5
Thanks @Dhaulagiri! - Add copyright notice to license file -
Updated dependencies [
a079992f
,11d39410
,27a283a5
,ecbe26df
]:- @hashicorp/design-system-tokens@1.2.0
- @hashicorp/ember-flight-icons@3.0.1
-
#586
55ec4246
Thanks @Dhaulagiri! - make ember-truth-helpers a dependency -
Updated dependencies [
55f38cb3
,258c06d9
]:- @hashicorp/ember-flight-icons@3.0.0
- @hashicorp/design-system-tokens@1.1.0
-
#539
5b548865
Thanks @alex-ju! - Add custom styles forember-power-select
add-on -
#577
2f5a2c21
Thanks @alex-ju! - Add small variant toHds::Dropdown::ToggleButton
-
#545
6d2a6298
Thanks @didoo! - Small cleanup (reformatting, linting) of the Sass files. Should have zero visual impact on the components. -
#565
0f5247f0
Thanks @didoo! - added stylelint to the codebase and re-organized CSS declarations -
Updated dependencies [
0b245333
]:- @hashicorp/design-system-tokens@1.0.1
-
#534
65cde6ad
Thanks @alex-ju! - Fix label indicator for assistive technologies -
Updated dependencies []:
- @hashicorp/ember-flight-icons@2.0.12
- Updated dependencies []:
- @hashicorp/ember-flight-icons@2.0.11
This release signifies the first major release of the HashiCorp Design System. Moving forward we expect to respect SemVer as we make additional changes to the design system.
Note: Even though this is a major version bump, there should not be any breaking changes from the last minor releases.
- #470
96d47264
Thanks @jorytindall! - Added Stepper component structure and step/task components
- #486
3ea2ad55
Thanks @KristinLBradley! - Add new ButtonSet component to standardize button spacing
- #443
7756c855
Thanks @alex-ju & @agendelHC! - Add tag component
-
- Added the form
TextInput
controls (Base
,Field
) - Added the form
Textarea
controls (Base
,Field
) - Added the form
Select
controls (Base
,Field
) - Added the form
Checkbox
controls (Base
,Field
,Group
) - Added the form
Radio
controls (Base
,Field
,Group
) - Added the form
Toggle
controls (Base
,Field
,Group
) - Added the form "base" low-level elements:
Label
,HelperText
,Error
,Legend
,Field
,Fieldset
- Added the form
- Updated dependencies [
0b1e9855
]:- @hashicorp/design-system-tokens@1.0.0
- Updated dependencies []:
- @hashicorp/ember-flight-icons@2.0.10
- Updated dependencies []:
- @hashicorp/ember-flight-icons@2.0.9
- #426
ff236b25
Thanks @didoo! - Updated font-weight to "medium" for "Badge" and "BadgeCount" components
- #428
599dca97
Thanks @didoo! - Fixed issue with "disabled" visual state for "Hds::Button" when is a link
-
#418
981e2bd9
Thanks @alex-ju! - Determine an accessible name foralertdialog
alerts #418 -
#416
824e53d1
Thanks @alex-ju! - Remove stray aria-describedby in alert component -
#415
c6842109
Thanks @didoo! - Added@levelHover
and@levelActive
arguments toCard::Container
component
- #400
d87d622b
Thanks @alex-ju! - Determine alert component's role based on the presence of interactive elements
-
#391
0d8515f0
Thanks @didoo! - Fixed bug inLink::Standalone
andLink::Inline
components that addedtarget="_blank"
andrel="noopener noreferrer”
attributes in any case/condition. -
#354
e7997ee6
Thanks @didoo! - small update to theyield
helper component - this is used inAlert
andToast
but the changes should have no impact
-
#343
a74711c8
Thanks @MelSumner! - Fixes copy-item bug in FireFox -
#328
32b36ab1
Thanks @didoo! - updatedfont-weight
tomedium
forLink::Standalone
component (to be in sync with design specs) -
#319
7c96344f
Thanks @didoo! - updated theHds::Dropdown::ListItem::Interactive
to support theisLoading
state -
Updated dependencies []:
- @hashicorp/ember-flight-icons@2.0.8
- Updated dependencies [
a46fc035
]:- @hashicorp/design-system-tokens@0.8.1
- Updated dependencies []:
- @hashicorp/ember-flight-icons@2.0.7
- Updated dependencies []:
- @hashicorp/ember-flight-icons@2.0.6
- Introduced
<Hds::Interactive>
(a generic, "utility" component used internally by all the interactive elements like buttons and links)
- updated the button API to handle also links as
<a>
/<LinkTo/LinkToExternal>
- it can be used in place of the
<Hds::Link/LinkTo::CTA>
component (see below) - when the button is a link - the text is underlined for differentiation with a normal button -
⚠️ Visual change! - the button responds tospace
key event
- it can be used in place of the
- removed the
@type
argument from the API in favour of thetype
native attribute - 🚨 Breaking change!
- removed the
<Hds::Link/LinkTo::CTA>
component, in favour of<Hds::Button>
component (see above) - 🚨 Breaking change!
- added the
<Hds::Link::Inline>
component (with API very similar to the<Hds::Link::Standalone>
)
- Updated the
Dropdown::ListItem::Interactive
to use the new<Hds::Interactive>
component
- Removed the
<LinkTo::Standalone>
action (now you can use directly<Link::Standalone>
)
- #301
4976379e
Thanks @alex-ju! - Convey the disclosure state to assistive tech for dropdown and truncated breadcrumbs
-
#284
ba409885
Thanks @alex-ju! - Change focus management in disclosure utility component -
#289
bf3a00e5
Thanks @didoo! - "Alert" and "Toast" components - converted "title" and "description" arguments to be contextual components
- #245
c6de1018
Thanks @didoo!- Added
Alert
component - Added
Toast
component
- Added
- #259
478b3069
Thanks @didoo!- removed autofocus on first item for
Disclosure
component (and as a result also forBreadcrumb
andDropdown
components) (🚨 Breaking) - updated focus state treatment for
Dropdown
component (🚨 Breaking)
- removed autofocus on first item for
-
#225
f1f07179
Thanks @Dhaulagiri! - update to ember-keyboard@8.1.0 in packages/components -
#265
79bc3e99
Thanks @Dhaulagiri! - npx ember-cli-update@4.3.0 dependency updates -
#253
21786983
Thanks @MelSumner! - bugfix for icon size in copy-item component
-
#200
a8072537
Thanks @didoo! - Updated Dropdown component:- added chevron animation for
toggle
elements - fixed issue with
list-item/interactive
height - added handling of dynamic
width
for the list - exposed an
onClose
event - removed the default icon for
toggle/icon
(🚨 Breaking) - removed icon requirement from the
critical
list item (🚨 Breaking) - updated the documentation and integration tests
- some code refactorings, reorganizations and cleanups
- added chevron animation for
- Updated dependencies []:
- @hashicorp/ember-flight-icons@2.0.5
- #66
29e2ce55
Thanks @MelSumner! - Adds dropdown component to the design system
- Updated dependencies []:
- @hashicorp/ember-flight-icons@2.0.4
- #184
12056051
Thanks @didoo! - Fixed issue with "click outside" in Safari for "Disclosure/Breadcrumb/Dropdown"
- #150
c236c159
Thanks @didoo! - removed “box-sizing“ declarations from the components (we assume the consumers codebase already have set it to “border-box“ by default (🚨 Breaking)
- #136
bce712a7
Thanks @didoo! - updated font-stack definitions in design tokens, will impact the visual aspect of all the components for certains combinations of OS/browser
- Updated dependencies [
c17f142c
]:- @hashicorp/design-system-tokens@0.8.0
- #133
6ed18c7f
Thanks @didoo! - small change to the “noop“ guard in the “@didInsert“ method of the “Disclosure“ component
- #127
fa13190f
Thanks @didoo! - removed the “isDisabled“ prop from the “Button” component; added instructions for developers to manually add it themselves if needed. (🚨 Breaking)
-
#125
b0ff180c
Thanks @didoo! - updated border radius of “Badge” from 4px to 5px -
#126
7b639915
Thanks @didoo! - updated the internal padding of the “Button” component to match design specifications
- #117
e78f6df8
Thanks @didoo! - added a stacking context for the “Button” component so that the focus z-index is isolated in the button
- #112
2be08081
Thanks @didoo! - added missing helpers for “color” and “typography” in “components” package
-
#98
411cd9b9
Thanks @didoo! - refactored the “focus-ring” mixins to support both “action” (default) and “critical“ colors -
Updated dependencies [
411cd9b9
]:- @hashicorp/design-system-tokens@0.7.0
-
#76
48a82d54
Thanks @didoo! - Added the "tertiary" color variant to the "Button" component -
#77
c08711e4
Thanks @didoo! - Fixed the "elevation" treatment for the "Button" component
- Updated dependencies [
04db4d9e
]:- @hashicorp/design-system-tokens@0.6.0