@hashicorp/design-system-components 6.0.0 → 6.1.0-rc-20260223191722
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/declarations/components/hds/accordion/index.d.ts +3 -22
- package/declarations/components/hds/accordion/item/button.d.ts +2 -6
- package/declarations/components/hds/accordion/item/index.d.ts +1 -29
- package/declarations/components/hds/advanced-table/index.d.ts +1 -1
- package/declarations/components/hds/advanced-table/tr.d.ts +1 -1
- package/declarations/components/hds/advanced-table/types.d.ts +1 -1
- package/declarations/components/hds/app-footer/copyright.d.ts +0 -6
- package/declarations/components/hds/app-footer/index.d.ts +11 -28
- package/declarations/components/hds/app-footer/item.d.ts +2 -1
- package/declarations/components/hds/app-footer/legal-links.d.ts +0 -30
- package/declarations/components/hds/app-footer/link.d.ts +5 -4
- package/declarations/components/hds/app-footer/status-link.d.ts +4 -29
- package/declarations/components/hds/app-frame/index.d.ts +10 -11
- package/declarations/components/hds/app-frame/parts/footer.d.ts +2 -1
- package/declarations/components/hds/app-frame/parts/header.d.ts +2 -1
- package/declarations/components/hds/app-frame/parts/main.d.ts +2 -1
- package/declarations/components/hds/app-frame/parts/modals.d.ts +2 -1
- package/declarations/components/hds/app-frame/parts/sidebar.d.ts +2 -1
- package/declarations/components/hds/app-header/home-link.d.ts +2 -2
- package/declarations/components/hds/app-header/index.d.ts +4 -4
- package/declarations/components/hds/app-header/menu-button.d.ts +2 -2
- package/declarations/components/hds/application-state/body.d.ts +2 -1
- package/declarations/components/hds/application-state/footer.d.ts +8 -8
- package/declarations/components/hds/application-state/header.d.ts +2 -2
- package/declarations/components/hds/application-state/index.d.ts +9 -10
- package/declarations/components/hds/application-state/media.d.ts +2 -1
- package/declarations/components/hds/breadcrumb/index.d.ts +0 -20
- package/declarations/components/hds/breadcrumb/item.d.ts +0 -16
- package/declarations/components/hds/breadcrumb/truncation.d.ts +0 -5
- package/declarations/components/hds/code-block/copy-button.d.ts +1 -1
- package/declarations/components/hds/code-block/index.d.ts +1 -1
- package/declarations/components/hds/code-editor/index.d.ts +1 -1
- package/declarations/components/hds/copy/button/index.d.ts +6 -22
- package/declarations/components/hds/copy/snippet/index.d.ts +4 -37
- package/declarations/components/hds/dialog-primitive/body.d.ts +2 -1
- package/declarations/components/hds/dialog-primitive/description.d.ts +2 -1
- package/declarations/components/hds/dialog-primitive/header.d.ts +2 -7
- package/declarations/components/hds/dialog-primitive/overlay.d.ts +2 -1
- package/declarations/components/hds/dialog-primitive/wrapper.d.ts +2 -1
- package/declarations/components/hds/disclosure-primitive/index.d.ts +3 -3
- package/declarations/components/hds/dropdown/index.d.ts +1 -1
- package/declarations/components/hds/dropdown/list-item/checkbox.d.ts +1 -1
- package/declarations/components/hds/dropdown/list-item/copy-item.d.ts +1 -1
- package/declarations/components/hds/dropdown/list-item/radio.d.ts +1 -1
- package/declarations/components/hds/dropdown/toggle/button.d.ts +1 -1
- package/declarations/components/hds/dropdown/toggle/icon.d.ts +1 -1
- package/declarations/components/hds/flyout/index.d.ts +12 -12
- package/declarations/components/hds/form/character-count/index.d.ts +0 -45
- package/declarations/components/hds/form/checkbox/base.d.ts +2 -1
- package/declarations/components/hds/form/checkbox/field.d.ts +6 -9
- package/declarations/components/hds/form/checkbox/group.d.ts +9 -11
- package/declarations/components/hds/form/error/index.d.ts +2 -23
- package/declarations/components/hds/form/error/message.d.ts +2 -1
- package/declarations/components/hds/form/field/index.d.ts +13 -37
- package/declarations/components/hds/form/fieldset/index.d.ts +11 -36
- package/declarations/components/hds/form/file-input/base.d.ts +2 -1
- package/declarations/components/hds/form/file-input/field.d.ts +6 -9
- package/declarations/components/hds/form/helper-text/index.d.ts +0 -15
- package/declarations/components/hds/form/indicator/index.d.ts +1 -6
- package/declarations/components/hds/form/key-value-inputs/add-row-button.d.ts +1 -1
- package/declarations/components/hds/form/key-value-inputs/delete-row-button.d.ts +1 -1
- package/declarations/components/hds/form/key-value-inputs/field.d.ts +22 -22
- package/declarations/components/hds/form/key-value-inputs/index.d.ts +23 -23
- package/declarations/components/hds/form/label/index.d.ts +1 -11
- package/declarations/components/hds/form/legend/index.d.ts +1 -6
- package/declarations/components/hds/form/masked-input/base.d.ts +2 -2
- package/declarations/components/hds/form/radio/base.d.ts +2 -1
- package/declarations/components/hds/form/radio/field.d.ts +6 -9
- package/declarations/components/hds/form/radio/group.d.ts +9 -11
- package/declarations/components/hds/form/radio-card/description.d.ts +2 -1
- package/declarations/components/hds/form/radio-card/group.d.ts +10 -12
- package/declarations/components/hds/form/radio-card/index.d.ts +12 -33
- package/declarations/components/hds/form/radio-card/label.d.ts +2 -1
- package/declarations/components/hds/form/super-select/multiple/field.d.ts +4 -4
- package/declarations/components/hds/form/super-select/single/field.d.ts +5 -5
- package/declarations/components/hds/form/text-input/base.d.ts +0 -12
- package/declarations/components/hds/form/text-input/field.d.ts +11 -14
- package/declarations/components/hds/form/textarea/base.d.ts +0 -5
- package/declarations/components/hds/form/textarea/field.d.ts +8 -10
- package/declarations/components/hds/form/toggle/base.d.ts +2 -1
- package/declarations/components/hds/form/toggle/field.d.ts +6 -9
- package/declarations/components/hds/form/toggle/group.d.ts +9 -11
- package/declarations/components/hds/form/visibility-toggle/index.d.ts +2 -1
- package/declarations/components/hds/icon/index.d.ts +23 -7
- package/declarations/components/hds/icon/types.d.ts +7 -0
- package/declarations/components/hds/icon-tile/index.d.ts +1 -1
- package/declarations/components/hds/layout/flex/index.d.ts +2 -3
- package/declarations/components/hds/modal/index.d.ts +10 -10
- package/declarations/components/hds/page-header/index.d.ts +1 -1
- package/declarations/components/hds/popover-primitive/index.d.ts +10 -10
- package/declarations/components/hds/reveal/index.d.ts +1 -6
- package/declarations/components/hds/reveal/toggle/button.d.ts +1 -6
- package/declarations/components/hds/segmented-group/index.d.ts +1 -1
- package/declarations/components/hds/stepper/task/indicator.d.ts +1 -1
- package/declarations/components/hds/tag/index.d.ts +2 -34
- package/declarations/components/hds/theme-context/index.d.ts +24 -0
- package/declarations/components/hds/theme-context/types.d.ts +19 -0
- package/declarations/components/hds/theme-switcher/index.d.ts +43 -0
- package/declarations/components/hds/toast/index.d.ts +3 -2
- package/declarations/components.d.ts +81 -79
- package/declarations/instance-initializers/load-sprite-empty.d.ts +10 -0
- package/declarations/services/hds-icon-registry.d.ts +27 -0
- package/declarations/services/hds-theming.d.ts +54 -0
- package/declarations/services.d.ts +1 -0
- package/declarations/template-registry.d.ts +13 -7
- package/declarations/utils/hds-aria-described-by.d.ts +2 -2
- package/dist/_app_/components/hds/theme-context.js +1 -0
- package/dist/_app_/components/hds/theme-switcher.js +1 -0
- package/dist/_app_/instance-initializers/load-sprite-empty.js +1 -0
- package/dist/_app_/services/hds-icon-registry.js +1 -0
- package/dist/_app_/services/hds-theming.js +1 -0
- package/dist/components/hds/accordion/index.js +11 -28
- package/dist/components/hds/accordion/index.js.map +1 -1
- package/dist/components/hds/accordion/item/button.js +16 -18
- package/dist/components/hds/accordion/item/button.js.map +1 -1
- package/dist/components/hds/accordion/item/index.js +23 -43
- package/dist/components/hds/accordion/item/index.js.map +1 -1
- package/dist/components/hds/advanced-table/index.js.map +1 -1
- package/dist/components/hds/advanced-table/tr.js.map +1 -1
- package/dist/components/hds/advanced-table/types.js.map +1 -1
- package/dist/components/hds/alert/description.js +2 -2
- package/dist/components/hds/alert/description.js.map +1 -1
- package/dist/components/hds/app-footer/copyright.js +15 -10
- package/dist/components/hds/app-footer/copyright.js.map +1 -1
- package/dist/components/hds/app-footer/index.js +21 -23
- package/dist/components/hds/app-footer/index.js.map +1 -1
- package/dist/components/hds/app-footer/item.js +5 -7
- package/dist/components/hds/app-footer/item.js.map +1 -1
- package/dist/components/hds/app-footer/legal-links.js +13 -39
- package/dist/components/hds/app-footer/legal-links.js.map +1 -1
- package/dist/components/hds/app-footer/link.js +19 -6
- package/dist/components/hds/app-footer/link.js.map +1 -1
- package/dist/components/hds/app-footer/status-link.js +15 -35
- package/dist/components/hds/app-footer/status-link.js.map +1 -1
- package/dist/components/hds/app-frame/index.js +19 -8
- package/dist/components/hds/app-frame/index.js.map +1 -1
- package/dist/components/hds/app-frame/parts/footer.js +5 -7
- package/dist/components/hds/app-frame/parts/footer.js.map +1 -1
- package/dist/components/hds/app-frame/parts/header.js +5 -7
- package/dist/components/hds/app-frame/parts/header.js.map +1 -1
- package/dist/components/hds/app-frame/parts/main.js +5 -7
- package/dist/components/hds/app-frame/parts/main.js.map +1 -1
- package/dist/components/hds/app-frame/parts/modals.js +5 -7
- package/dist/components/hds/app-frame/parts/modals.js.map +1 -1
- package/dist/components/hds/app-frame/parts/sidebar.js +5 -7
- package/dist/components/hds/app-frame/parts/sidebar.js.map +1 -1
- package/dist/components/hds/app-header/home-link.js +19 -4
- package/dist/components/hds/app-header/home-link.js.map +1 -1
- package/dist/components/hds/app-header/index.js +27 -40
- package/dist/components/hds/app-header/index.js.map +1 -1
- package/dist/components/hds/app-header/menu-button.js +13 -9
- package/dist/components/hds/app-header/menu-button.js.map +1 -1
- package/dist/components/hds/app-side-nav/list/back-link.js +2 -2
- package/dist/components/hds/app-side-nav/list/back-link.js.map +1 -1
- package/dist/components/hds/app-side-nav/list/item.js +2 -2
- package/dist/components/hds/app-side-nav/list/item.js.map +1 -1
- package/dist/components/hds/app-side-nav/list/link.js +2 -2
- package/dist/components/hds/app-side-nav/list/link.js.map +1 -1
- package/dist/components/hds/app-side-nav/portal/index.js +2 -2
- package/dist/components/hds/app-side-nav/portal/index.js.map +1 -1
- package/dist/components/hds/app-side-nav/toggle-button.js +2 -2
- package/dist/components/hds/app-side-nav/toggle-button.js.map +1 -1
- package/dist/components/hds/application-state/body.js +9 -6
- package/dist/components/hds/application-state/body.js.map +1 -1
- package/dist/components/hds/application-state/footer.js +15 -6
- package/dist/components/hds/application-state/footer.js.map +1 -1
- package/dist/components/hds/application-state/header.js +15 -4
- package/dist/components/hds/application-state/header.js.map +1 -1
- package/dist/components/hds/application-state/index.js +17 -5
- package/dist/components/hds/application-state/index.js.map +1 -1
- package/dist/components/hds/application-state/media.js +5 -7
- package/dist/components/hds/application-state/media.js.map +1 -1
- package/dist/components/hds/breadcrumb/index.js +9 -28
- package/dist/components/hds/breadcrumb/index.js.map +1 -1
- package/dist/components/hds/breadcrumb/item.js +11 -22
- package/dist/components/hds/breadcrumb/item.js.map +1 -1
- package/dist/components/hds/breadcrumb/truncation.js +13 -9
- package/dist/components/hds/breadcrumb/truncation.js.map +1 -1
- package/dist/components/hds/button-set/index.js +2 -2
- package/dist/components/hds/button-set/index.js.map +1 -1
- package/dist/components/hds/card/container.js +11 -12
- package/dist/components/hds/card/container.js.map +1 -1
- package/dist/components/hds/code-block/copy-button.js.map +1 -1
- package/dist/components/hds/code-block/index.js.map +1 -1
- package/dist/components/hds/code-editor/generic.js +2 -2
- package/dist/components/hds/code-editor/generic.js.map +1 -1
- package/dist/components/hds/code-editor/index.js.map +1 -1
- package/dist/components/hds/copy/button/index.js +17 -36
- package/dist/components/hds/copy/button/index.js.map +1 -1
- package/dist/components/hds/copy/snippet/index.js +21 -59
- package/dist/components/hds/copy/snippet/index.js.map +1 -1
- package/dist/components/hds/dialog-primitive/body.js +5 -7
- package/dist/components/hds/dialog-primitive/body.js.map +1 -1
- package/dist/components/hds/dialog-primitive/description.js +5 -7
- package/dist/components/hds/dialog-primitive/description.js.map +1 -1
- package/dist/components/hds/dialog-primitive/footer.js +9 -5
- package/dist/components/hds/dialog-primitive/footer.js.map +1 -1
- package/dist/components/hds/dialog-primitive/header.js +21 -11
- package/dist/components/hds/dialog-primitive/header.js.map +1 -1
- package/dist/components/hds/dialog-primitive/overlay.js +5 -7
- package/dist/components/hds/dialog-primitive/overlay.js.map +1 -1
- package/dist/components/hds/dialog-primitive/wrapper.js +5 -7
- package/dist/components/hds/dialog-primitive/wrapper.js.map +1 -1
- package/dist/components/hds/disclosure-primitive/index.js +16 -19
- package/dist/components/hds/disclosure-primitive/index.js.map +1 -1
- package/dist/components/hds/dropdown/footer.js +2 -2
- package/dist/components/hds/dropdown/footer.js.map +1 -1
- package/dist/components/hds/dropdown/header.js +2 -2
- package/dist/components/hds/dropdown/header.js.map +1 -1
- package/dist/components/hds/dropdown/index.js.map +1 -1
- package/dist/components/hds/dropdown/list-item/checkbox.js.map +1 -1
- package/dist/components/hds/dropdown/list-item/copy-item.js.map +1 -1
- package/dist/components/hds/dropdown/list-item/generic.js +2 -2
- package/dist/components/hds/dropdown/list-item/generic.js.map +1 -1
- package/dist/components/hds/dropdown/list-item/radio.js.map +1 -1
- package/dist/components/hds/dropdown/list-item/separator.js +2 -2
- package/dist/components/hds/dropdown/list-item/separator.js.map +1 -1
- package/dist/components/hds/dropdown/toggle/button.js.map +1 -1
- package/dist/components/hds/dropdown/toggle/chevron.js +2 -2
- package/dist/components/hds/dropdown/toggle/chevron.js.map +1 -1
- package/dist/components/hds/dropdown/toggle/icon.js.map +1 -1
- package/dist/components/hds/filter-bar/filter-group/clear-button.js +2 -2
- package/dist/components/hds/filter-bar/filter-group/clear-button.js.map +1 -1
- package/dist/components/hds/flyout/index.js +30 -36
- package/dist/components/hds/flyout/index.js.map +1 -1
- package/dist/components/hds/form/character-count/index.js +13 -58
- package/dist/components/hds/form/character-count/index.js.map +1 -1
- package/dist/components/hds/form/checkbox/base.js +5 -7
- package/dist/components/hds/form/checkbox/base.js.map +1 -1
- package/dist/components/hds/form/checkbox/field.js +13 -6
- package/dist/components/hds/form/checkbox/field.js.map +1 -1
- package/dist/components/hds/form/checkbox/group.js +13 -6
- package/dist/components/hds/form/checkbox/group.js.map +1 -1
- package/dist/components/hds/form/error/index.js +19 -29
- package/dist/components/hds/form/error/index.js.map +1 -1
- package/dist/components/hds/form/error/message.js +9 -6
- package/dist/components/hds/form/error/message.js.map +1 -1
- package/dist/components/hds/form/field/index.js +24 -47
- package/dist/components/hds/form/field/index.js.map +1 -1
- package/dist/components/hds/form/fieldset/index.js +20 -47
- package/dist/components/hds/form/fieldset/index.js.map +1 -1
- package/dist/components/hds/form/file-input/base.js +5 -7
- package/dist/components/hds/form/file-input/base.js.map +1 -1
- package/dist/components/hds/form/file-input/field.js +13 -6
- package/dist/components/hds/form/file-input/field.js.map +1 -1
- package/dist/components/hds/form/header/description.js +2 -2
- package/dist/components/hds/form/header/description.js.map +1 -1
- package/dist/components/hds/form/helper-text/index.js +11 -23
- package/dist/components/hds/form/helper-text/index.js.map +1 -1
- package/dist/components/hds/form/indicator/index.js +13 -9
- package/dist/components/hds/form/indicator/index.js.map +1 -1
- package/dist/components/hds/form/key-value-inputs/add-row-button.js +11 -8
- package/dist/components/hds/form/key-value-inputs/add-row-button.js.map +1 -1
- package/dist/components/hds/form/key-value-inputs/delete-row-button.js +11 -8
- package/dist/components/hds/form/key-value-inputs/delete-row-button.js.map +1 -1
- package/dist/components/hds/form/key-value-inputs/field.js +33 -24
- package/dist/components/hds/form/key-value-inputs/field.js.map +1 -1
- package/dist/components/hds/form/key-value-inputs/generic.js +5 -4
- package/dist/components/hds/form/key-value-inputs/generic.js.map +1 -1
- package/dist/components/hds/form/key-value-inputs/index.js +42 -43
- package/dist/components/hds/form/key-value-inputs/index.js.map +1 -1
- package/dist/components/hds/form/label/index.js +9 -17
- package/dist/components/hds/form/label/index.js.map +1 -1
- package/dist/components/hds/form/legend/index.js +9 -11
- package/dist/components/hds/form/legend/index.js.map +1 -1
- package/dist/components/hds/form/masked-input/base.js.map +1 -1
- package/dist/components/hds/form/masked-input/field.js +2 -2
- package/dist/components/hds/form/masked-input/field.js.map +1 -1
- package/dist/components/hds/form/radio/base.js +5 -7
- package/dist/components/hds/form/radio/base.js.map +1 -1
- package/dist/components/hds/form/radio/field.js +13 -6
- package/dist/components/hds/form/radio/field.js.map +1 -1
- package/dist/components/hds/form/radio/group.js +13 -6
- package/dist/components/hds/form/radio/group.js.map +1 -1
- package/dist/components/hds/form/radio-card/description.js +9 -6
- package/dist/components/hds/form/radio-card/description.js.map +1 -1
- package/dist/components/hds/form/radio-card/group.js +15 -6
- package/dist/components/hds/form/radio-card/group.js.map +1 -1
- package/dist/components/hds/form/radio-card/index.js +23 -29
- package/dist/components/hds/form/radio-card/index.js.map +1 -1
- package/dist/components/hds/form/radio-card/label.js +9 -6
- package/dist/components/hds/form/radio-card/label.js.map +1 -1
- package/dist/components/hds/form/section/header.js +2 -2
- package/dist/components/hds/form/section/header.js.map +1 -1
- package/dist/components/hds/form/section/multi-field-group/index.js +2 -2
- package/dist/components/hds/form/section/multi-field-group/index.js.map +1 -1
- package/dist/components/hds/form/select/field.js +2 -2
- package/dist/components/hds/form/select/field.js.map +1 -1
- package/dist/components/hds/form/super-select/after-options.js +2 -2
- package/dist/components/hds/form/super-select/after-options.js.map +1 -1
- package/dist/components/hds/form/super-select/multiple/field.js.map +1 -1
- package/dist/components/hds/form/super-select/placeholder.js +2 -2
- package/dist/components/hds/form/super-select/placeholder.js.map +1 -1
- package/dist/components/hds/form/super-select/single/field.js.map +1 -1
- package/dist/components/hds/form/text-input/base.js +9 -23
- package/dist/components/hds/form/text-input/base.js.map +1 -1
- package/dist/components/hds/form/text-input/field.js +20 -9
- package/dist/components/hds/form/text-input/field.js.map +1 -1
- package/dist/components/hds/form/textarea/base.js +11 -12
- package/dist/components/hds/form/textarea/base.js.map +1 -1
- package/dist/components/hds/form/textarea/field.js +13 -6
- package/dist/components/hds/form/textarea/field.js.map +1 -1
- package/dist/components/hds/form/toggle/base.js +5 -7
- package/dist/components/hds/form/toggle/base.js.map +1 -1
- package/dist/components/hds/form/toggle/field.js +13 -6
- package/dist/components/hds/form/toggle/field.js.map +1 -1
- package/dist/components/hds/form/toggle/group.js +13 -6
- package/dist/components/hds/form/toggle/group.js.map +1 -1
- package/dist/components/hds/form/visibility-toggle/index.js +9 -6
- package/dist/components/hds/form/visibility-toggle/index.js.map +1 -1
- package/dist/components/hds/icon/index.js +45 -10
- package/dist/components/hds/icon/index.js.map +1 -1
- package/dist/components/hds/icon/types.js +6 -1
- package/dist/components/hds/icon/types.js.map +1 -1
- package/dist/components/hds/icon-tile/index.js +9 -10
- package/dist/components/hds/icon-tile/index.js.map +1 -1
- package/dist/components/hds/layout/flex/index.js +14 -13
- package/dist/components/hds/layout/flex/index.js.map +1 -1
- package/dist/components/hds/layout/flex/item.js +11 -11
- package/dist/components/hds/layout/flex/item.js.map +1 -1
- package/dist/components/hds/modal/index.js +29 -38
- package/dist/components/hds/modal/index.js.map +1 -1
- package/dist/components/hds/page-header/actions.js +2 -2
- package/dist/components/hds/page-header/actions.js.map +1 -1
- package/dist/components/hds/page-header/badges.js +2 -2
- package/dist/components/hds/page-header/badges.js.map +1 -1
- package/dist/components/hds/page-header/description.js +2 -2
- package/dist/components/hds/page-header/description.js.map +1 -1
- package/dist/components/hds/page-header/index.js +2 -2
- package/dist/components/hds/page-header/index.js.map +1 -1
- package/dist/components/hds/page-header/subtitle.js +2 -2
- package/dist/components/hds/page-header/subtitle.js.map +1 -1
- package/dist/components/hds/page-header/title.js +2 -2
- package/dist/components/hds/page-header/title.js.map +1 -1
- package/dist/components/hds/pagination/nav/ellipsis.js +2 -2
- package/dist/components/hds/pagination/nav/ellipsis.js.map +1 -1
- package/dist/components/hds/popover-primitive/index.js +30 -79
- package/dist/components/hds/popover-primitive/index.js.map +1 -1
- package/dist/components/hds/reveal/index.js +13 -9
- package/dist/components/hds/reveal/index.js.map +1 -1
- package/dist/components/hds/reveal/toggle/button.js +9 -10
- package/dist/components/hds/reveal/toggle/button.js.map +1 -1
- package/dist/components/hds/segmented-group/index.js +2 -2
- package/dist/components/hds/segmented-group/index.js.map +1 -1
- package/dist/components/hds/tag/index.js +29 -44
- package/dist/components/hds/tag/index.js.map +1 -1
- package/dist/components/hds/theme-context/index.js +45 -0
- package/dist/components/hds/theme-context/index.js.map +1 -0
- package/dist/components/hds/theme-context/types.js +27 -0
- package/dist/components/hds/theme-context/types.js.map +1 -0
- package/dist/components/hds/theme-switcher/index.js +100 -0
- package/dist/components/hds/theme-switcher/index.js.map +1 -0
- package/dist/components/hds/time/single.js +2 -2
- package/dist/components/hds/time/single.js.map +1 -1
- package/dist/components/hds/toast/index.js +11 -6
- package/dist/components/hds/toast/index.js.map +1 -1
- package/dist/components/hds/yield/index.js +2 -2
- package/dist/components/hds/yield/index.js.map +1 -1
- package/dist/components.js +3 -1
- package/dist/components.js.map +1 -1
- package/dist/instance-initializers/load-sprite-empty.js +45 -0
- package/dist/instance-initializers/load-sprite-empty.js.map +1 -0
- package/dist/public/assets/fonts/LICENSE.txt +93 -0
- package/dist/public/assets/fonts/complete/woff2/IBMPlexMono-Italic.woff2 +0 -0
- package/dist/public/assets/fonts/complete/woff2/IBMPlexMono-Regular.woff2 +0 -0
- package/dist/public/assets/fonts/complete/woff2/IBMPlexMono-SemiBold.woff2 +0 -0
- package/dist/public/assets/fonts/complete/woff2/IBMPlexMono-SemiBoldItalic.woff2 +0 -0
- package/dist/public/assets/fonts/complete/woff2/IBMPlexSans-Italic.woff2 +0 -0
- package/dist/public/assets/fonts/complete/woff2/IBMPlexSans-Regular.woff2 +0 -0
- package/dist/public/assets/fonts/complete/woff2/IBMPlexSans-SemiBold.woff2 +0 -0
- package/dist/public/assets/fonts/complete/woff2/IBMPlexSans-SemiBoldItalic.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-Italic-Cyrillic.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-Italic-Latin1.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-Italic-Latin2.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-Italic-Latin3.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-Italic-Pi.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-Regular-Cyrillic.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-Regular-Latin1.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-Regular-Latin2.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-Regular-Latin3.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-Regular-Pi.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-SemiBold-Cyrillic.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-SemiBold-Latin1.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-SemiBold-Latin2.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-SemiBold-Latin3.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-SemiBold-Pi.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-SemiBoldItalic-Cyrillic.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-SemiBoldItalic-Latin1.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-SemiBoldItalic-Latin2.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-SemiBoldItalic-Latin3.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexMono-SemiBoldItalic-Pi.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-Italic-Cyrillic.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-Italic-Greek.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-Italic-Latin1.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-Italic-Latin2.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-Italic-Latin3.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-Italic-Pi.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-Regular-Cyrillic.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-Regular-Greek.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-Regular-Latin1.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-Regular-Latin2.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-Regular-Latin3.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-Regular-Pi.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-SemiBold-Cyrillic.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-SemiBold-Greek.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-SemiBold-Latin1.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-SemiBold-Latin2.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-SemiBold-Latin3.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-SemiBold-Pi.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-SemiBoldItalic-Cyrillic.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-SemiBoldItalic-Greek.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-SemiBoldItalic-Latin1.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-SemiBoldItalic-Latin2.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-SemiBoldItalic-Latin3.woff2 +0 -0
- package/dist/public/assets/fonts/split/woff2/IBMPlexSans-SemiBoldItalic-Pi.woff2 +0 -0
- package/dist/services/hds-icon-registry.js +440 -0
- package/dist/services/hds-icon-registry.js.map +1 -0
- package/dist/services/hds-theming.js +150 -0
- package/dist/services/hds-theming.js.map +1 -0
- package/dist/services.js +1 -1
- package/dist/styles/@hashicorp/design-system-components-common.css +9330 -0
- package/dist/styles/@hashicorp/design-system-components-common.css.map +1 -0
- package/dist/styles/@hashicorp/design-system-components-common.scss +24 -0
- package/dist/styles/@hashicorp/design-system-components.css +500 -319
- package/dist/styles/@hashicorp/design-system-components.css.map +1 -1
- package/dist/styles/@hashicorp/design-system-components.scss +3 -61
- package/dist/styles/@hashicorp/design-system-plex-fonts.css +362 -0
- package/dist/styles/@hashicorp/design-system-plex-fonts.css.map +1 -0
- package/dist/styles/@hashicorp/design-system-plex-fonts.scss +58 -0
- package/dist/styles/components/badge-count.scss +26 -76
- package/dist/styles/components/badge.scss +26 -131
- package/dist/styles/components/button.scss +5 -0
- package/dist/styles/components/dropdown.scss +3 -5
- package/dist/styles/components/form/file-input.scss +2 -2
- package/dist/styles/components/form/key-value-inputs.scss +2 -4
- package/dist/styles/components/index.scss +52 -0
- package/dist/styles/components/theme-context.scss +12 -0
- package/dist/styles/mixins/_button.scss +82 -129
- package/dist/styles/mixins/_carbonization.scss +33 -0
- package/dist/styles/mixins/_interactive-dark-theme.scss +1 -1
- package/dist/utils/hds-aria-described-by.js.map +1 -1
- package/package.json +68 -4
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
|
-
import type {
|
|
7
|
-
import
|
|
6
|
+
import type { WithBoundArgs } from '@glint/template';
|
|
7
|
+
import HdsAccordionItem from './item/index';
|
|
8
8
|
import type { HdsAccordionForceStates, HdsAccordionSizes, HdsAccordionTypes, HdsAccordionItemTitleTags } from './types.ts';
|
|
9
9
|
export interface HdsAccordionSignature {
|
|
10
10
|
Args: {
|
|
@@ -16,34 +16,15 @@ export interface HdsAccordionSignature {
|
|
|
16
16
|
Blocks: {
|
|
17
17
|
default: [
|
|
18
18
|
{
|
|
19
|
-
Item?:
|
|
19
|
+
Item?: WithBoundArgs<typeof HdsAccordionItem, 'titleTag' | 'size' | 'type' | 'forceState'>;
|
|
20
20
|
}
|
|
21
21
|
];
|
|
22
22
|
};
|
|
23
23
|
Element: HTMLDivElement;
|
|
24
24
|
}
|
|
25
25
|
export default class HdsAccordion extends Component<HdsAccordionSignature> {
|
|
26
|
-
/**
|
|
27
|
-
* Sets the size for the component
|
|
28
|
-
*
|
|
29
|
-
* @param size
|
|
30
|
-
* @type {HdsAccordionSizes}
|
|
31
|
-
* @default 'medium'
|
|
32
|
-
*/
|
|
33
26
|
get size(): HdsAccordionSizes;
|
|
34
27
|
get titleTag(): HdsAccordionItemTitleTags;
|
|
35
|
-
/**
|
|
36
|
-
* Sets the type of the component
|
|
37
|
-
*
|
|
38
|
-
* @param type
|
|
39
|
-
* @type {HdsAccordionTypes}
|
|
40
|
-
* @default 'card'
|
|
41
|
-
*/
|
|
42
28
|
get type(): HdsAccordionTypes;
|
|
43
|
-
/**
|
|
44
|
-
* Get the class names to apply to the component.
|
|
45
|
-
* @method classNames
|
|
46
|
-
* @return {string} The "class" attribute to apply to the component.
|
|
47
|
-
*/
|
|
48
29
|
get classNames(): string;
|
|
49
30
|
}
|
|
@@ -18,11 +18,7 @@ export interface HdsAccordionItemButtonSignature {
|
|
|
18
18
|
Element: HTMLButtonElement;
|
|
19
19
|
}
|
|
20
20
|
export default class HdsAccordionItemButton extends Component<HdsAccordionItemButtonSignature> {
|
|
21
|
-
onClick(event: MouseEvent)
|
|
22
|
-
|
|
23
|
-
* Get the class names to apply to the component.
|
|
24
|
-
* @method ItemButton#classNames
|
|
25
|
-
* @return {string} The "class" attribute to apply to the component.
|
|
26
|
-
*/
|
|
21
|
+
onClick: (event: MouseEvent) => void;
|
|
22
|
+
get iconSize(): "16" | "24";
|
|
27
23
|
get classNames(): string;
|
|
28
24
|
}
|
|
@@ -34,39 +34,11 @@ export interface HdsAccordionItemSignature {
|
|
|
34
34
|
export default class HdsAccordionItem extends Component<HdsAccordionItemSignature> {
|
|
35
35
|
private _titleId;
|
|
36
36
|
get ariaLabelledBy(): string | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* @param containsInteractive
|
|
39
|
-
* @type {boolean}
|
|
40
|
-
* @default false
|
|
41
|
-
*/
|
|
42
37
|
get containsInteractive(): boolean;
|
|
43
|
-
/**
|
|
44
|
-
* @param toggleTextSize
|
|
45
|
-
* @type {HdsTextSizes}
|
|
46
|
-
* @default 'medium'
|
|
47
|
-
*/
|
|
48
38
|
get toggleTextSize(): number;
|
|
49
|
-
/**
|
|
50
|
-
* Sets the size for the component
|
|
51
|
-
*
|
|
52
|
-
* @param size
|
|
53
|
-
* @type {HdsAccordionSizes}
|
|
54
|
-
* @default 'medium'
|
|
55
|
-
*/
|
|
56
39
|
get size(): HdsAccordionSizes;
|
|
57
|
-
|
|
58
|
-
* Sets the type of the component
|
|
59
|
-
*
|
|
60
|
-
* @param type
|
|
61
|
-
* @type {HdsAccordionTypes}
|
|
62
|
-
* @default 'card'
|
|
63
|
-
*/
|
|
40
|
+
get isOpen(): boolean;
|
|
64
41
|
get type(): HdsAccordionTypes;
|
|
65
42
|
get titleTag(): HdsAccordionItemTitleTags;
|
|
66
|
-
/**
|
|
67
|
-
* Get the class names to apply to the component.
|
|
68
|
-
* @method classNames
|
|
69
|
-
* @return {string} The "class" attribute to apply to the component.
|
|
70
|
-
*/
|
|
71
43
|
get classNames(): string;
|
|
72
44
|
}
|
|
@@ -9,7 +9,7 @@ import type { ComponentLike } from '@glint/template';
|
|
|
9
9
|
import { HdsAdvancedTableDensityValues, HdsAdvancedTableVerticalAlignmentValues } from './types.ts';
|
|
10
10
|
import type { HdsAdvancedTableColumn, HdsAdvancedTableDensities, HdsAdvancedTableHorizontalAlignment, HdsAdvancedTableOnSelectionChangeSignature, HdsAdvancedTableThSortOrder, HdsAdvancedTableVerticalAlignment, HdsAdvancedTableModel, HdsAdvancedTableExpandState, HdsAdvancedTableColumnReorderCallback } from './types.ts';
|
|
11
11
|
import type { HdsFilterBarSignature } from '../filter-bar/index.ts';
|
|
12
|
-
import type { HdsFormCheckboxBaseSignature } from '../form/checkbox/base
|
|
12
|
+
import type { HdsFormCheckboxBaseSignature } from '../form/checkbox/base';
|
|
13
13
|
import type HdsAdvancedTableTd from './td.ts';
|
|
14
14
|
import type HdsAdvancedTableTh from './th.ts';
|
|
15
15
|
import type HdsAdvancedTableTr from './tr.ts';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
6
|
import type { HdsAdvancedTableScope, HdsAdvancedTableThSortOrder } from './types.ts';
|
|
7
|
-
import type { HdsFormCheckboxBaseSignature } from '../form/checkbox/base
|
|
7
|
+
import type { HdsFormCheckboxBaseSignature } from '../form/checkbox/base';
|
|
8
8
|
import type { HdsAdvancedTableSignature } from './index.ts';
|
|
9
9
|
import type { HdsAdvancedTableThSelectableSignature } from './th-selectable.ts';
|
|
10
10
|
import type HdsAdvancedTableRow from './models/row.ts';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright IBM Corp. 2021, 2025
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
|
-
import type { HdsFormCheckboxBaseSignature } from '../form/checkbox/base
|
|
5
|
+
import type { HdsFormCheckboxBaseSignature } from '../form/checkbox/base';
|
|
6
6
|
export declare enum HdsAdvancedTableDensityValues {
|
|
7
7
|
Default = "default",
|
|
8
8
|
Medium = "medium",
|
|
@@ -10,11 +10,5 @@ export interface HdsAppFooterCopyrightSignature {
|
|
|
10
10
|
Element: HTMLDivElement;
|
|
11
11
|
}
|
|
12
12
|
export default class HdsAppFooterCopyright extends Component<HdsAppFooterCopyrightSignature> {
|
|
13
|
-
/**
|
|
14
|
-
* @param year
|
|
15
|
-
* @type {string}
|
|
16
|
-
* @description The copyright year
|
|
17
|
-
* @default The current year (calculated via `Date()`)
|
|
18
|
-
*/
|
|
19
13
|
get year(): string | number;
|
|
20
14
|
}
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import type { HdsAppFooterStatusLinkSignature } from './status-link';
|
|
6
|
+
import HdsYield from '../yield/index';
|
|
7
|
+
import HdsAppFooterStatusLink from './status-link';
|
|
8
|
+
import HdsAppFooterLegalLinks from './legal-links';
|
|
9
|
+
import HdsAppFooterLink from './link';
|
|
10
|
+
import HdsAppFooterItem from './item';
|
|
12
11
|
import type { HdsAppFooterThemeTypes } from './types.ts';
|
|
13
12
|
export interface HdsAppFooterSignature {
|
|
14
13
|
Args: {
|
|
@@ -19,35 +18,19 @@ export interface HdsAppFooterSignature {
|
|
|
19
18
|
Blocks: {
|
|
20
19
|
default: [
|
|
21
20
|
{
|
|
22
|
-
ExtraBefore?:
|
|
23
|
-
StatusLink?:
|
|
24
|
-
LegalLinks?:
|
|
25
|
-
Link?:
|
|
26
|
-
Item?:
|
|
27
|
-
ExtraAfter?:
|
|
21
|
+
ExtraBefore?: typeof HdsYield;
|
|
22
|
+
StatusLink?: typeof HdsAppFooterStatusLink;
|
|
23
|
+
LegalLinks?: typeof HdsAppFooterLegalLinks;
|
|
24
|
+
Link?: typeof HdsAppFooterLink;
|
|
25
|
+
Item?: typeof HdsAppFooterItem;
|
|
26
|
+
ExtraAfter?: typeof HdsYield;
|
|
28
27
|
}
|
|
29
28
|
];
|
|
30
29
|
};
|
|
31
30
|
Element: HTMLDivElement;
|
|
32
31
|
}
|
|
33
32
|
export default class HdsAppFooter extends Component<HdsAppFooterSignature> {
|
|
34
|
-
/**
|
|
35
|
-
* @param ariaLabel
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @default 'Footer items'
|
|
38
|
-
*/
|
|
39
33
|
get ariaLabel(): string;
|
|
40
|
-
/**
|
|
41
|
-
* @param theme
|
|
42
|
-
* @type {HdsAppFooterThemeTypes}
|
|
43
|
-
* @description The component theme
|
|
44
|
-
* @default 'light'
|
|
45
|
-
*/
|
|
46
34
|
get theme(): HdsAppFooterThemeTypes;
|
|
47
|
-
/**
|
|
48
|
-
* Get the class names to apply to the component.
|
|
49
|
-
* @method classNames
|
|
50
|
-
* @return {string} The "class" attribute to apply to the component.
|
|
51
|
-
*/
|
|
52
35
|
get classNames(): string;
|
|
53
36
|
}
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
* Copyright IBM Corp. 2021, 2025
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
|
+
import type { TemplateOnlyComponent } from '@ember/component/template-only';
|
|
5
6
|
export interface HdsAppFooterItemSignature {
|
|
6
7
|
Blocks: {
|
|
7
8
|
default: [];
|
|
8
9
|
};
|
|
9
10
|
Element: HTMLLIElement;
|
|
10
11
|
}
|
|
11
|
-
declare const HdsAppFooterItem:
|
|
12
|
+
declare const HdsAppFooterItem: TemplateOnlyComponent<HdsAppFooterItemSignature>;
|
|
12
13
|
export default HdsAppFooterItem;
|
|
@@ -15,40 +15,10 @@ export interface HdsAppFooterLegalLinksSignature {
|
|
|
15
15
|
Element: HTMLUListElement;
|
|
16
16
|
}
|
|
17
17
|
export default class HdsAppFooterLegalLinks extends Component<HdsAppFooterLegalLinksSignature> {
|
|
18
|
-
/**
|
|
19
|
-
* @param ariaLabel
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @default 'Legal links'
|
|
22
|
-
*/
|
|
23
18
|
get ariaLabel(): string;
|
|
24
|
-
/**
|
|
25
|
-
* @param hrefForSupport
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @description The href value of the "Support" link
|
|
28
|
-
*/
|
|
29
19
|
get hrefForSupport(): string;
|
|
30
|
-
/**
|
|
31
|
-
* @param hrefForTerms
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @description The href value of the "Terms" link
|
|
34
|
-
*/
|
|
35
20
|
get hrefForTerms(): string;
|
|
36
|
-
/**
|
|
37
|
-
* @param hrefForPrivacy
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @description The href value of the "Privacy" link
|
|
40
|
-
*/
|
|
41
21
|
get hrefForPrivacy(): string;
|
|
42
|
-
/**
|
|
43
|
-
* @param hrefForSecurity
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @description The href value of the "Security" link
|
|
46
|
-
*/
|
|
47
22
|
get hrefForSecurity(): string;
|
|
48
|
-
/**
|
|
49
|
-
* @param hrefForAccessibility
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @description The href value of the "Accessibility" link
|
|
52
|
-
*/
|
|
53
23
|
get hrefForAccessibility(): string;
|
|
54
24
|
}
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
* Copyright IBM Corp. 2021, 2025
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
|
-
import type {
|
|
5
|
+
import type { TemplateOnlyComponent } from '@ember/component/template-only';
|
|
6
|
+
import type { HdsInteractiveSignature } from '../interactive/index';
|
|
6
7
|
import type { HdsLinkColors, HdsLinkIconPositions } from '../link/types.ts';
|
|
7
|
-
import type { HdsLinkInlineSignature } from '../link/inline
|
|
8
|
-
import type { HdsIconSignature } from '../icon';
|
|
8
|
+
import type { HdsLinkInlineSignature } from '../link/inline';
|
|
9
|
+
import type { HdsIconSignature } from '../icon/index';
|
|
9
10
|
export interface HdsAppFooterLinkSignature {
|
|
10
11
|
Args: HdsInteractiveSignature['Args'] & {
|
|
11
12
|
color?: HdsLinkColors;
|
|
@@ -17,5 +18,5 @@ export interface HdsAppFooterLinkSignature {
|
|
|
17
18
|
};
|
|
18
19
|
Element: HdsLinkInlineSignature['Element'];
|
|
19
20
|
}
|
|
20
|
-
declare const HdsAppFooterLink:
|
|
21
|
+
declare const HdsAppFooterLink: TemplateOnlyComponent<HdsAppFooterLinkSignature>;
|
|
21
22
|
export default HdsAppFooterLink;
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
6
|
import type { SafeString } from '@ember/template';
|
|
7
|
-
import type { HdsInteractiveSignature } from '../interactive/';
|
|
8
|
-
import type { HdsAppFooterStatusTypes } from './types.ts';
|
|
9
|
-
import type { HdsAppFooterLinkSignature } from './link.ts';
|
|
10
|
-
import type { HdsIconSignature } from '../icon';
|
|
11
7
|
import type Owner from '@ember/owner';
|
|
8
|
+
import type { HdsAppFooterStatusTypes } from './types.ts';
|
|
9
|
+
import type { HdsAppFooterLinkSignature } from './link';
|
|
10
|
+
import type { HdsIconSignature } from '../icon/index';
|
|
11
|
+
import type { HdsInteractiveSignature } from '../interactive/index';
|
|
12
12
|
export declare const STATUSES: Record<import("./types.ts").HdsAppFooterStatusValues, {
|
|
13
13
|
text: string;
|
|
14
14
|
iconName: HdsIconSignature["Args"]["name"];
|
|
@@ -25,35 +25,10 @@ export interface HdsAppFooterStatusLinkSignature {
|
|
|
25
25
|
}
|
|
26
26
|
export default class HdsAppFooterStatusLink extends Component<HdsAppFooterStatusLinkSignature> {
|
|
27
27
|
constructor(owner: Owner, args: HdsInteractiveSignature['Args']);
|
|
28
|
-
/**
|
|
29
|
-
* @param status
|
|
30
|
-
* @type {HdsAppFooterStatusTypes}
|
|
31
|
-
* @description The name of the status which the StatusLink is being set to
|
|
32
|
-
*/
|
|
33
28
|
get status(): HdsAppFooterStatusTypes | undefined;
|
|
34
29
|
get statusIcon(): HdsIconSignature['Args']['name'] | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* Get the inline style to apply to the item.
|
|
37
|
-
* @method StatusLink#itemStyle
|
|
38
|
-
* @return {string} The "style" attribute to apply to the item.
|
|
39
|
-
*/
|
|
40
30
|
get itemStyle(): SafeString | undefined;
|
|
41
|
-
/**
|
|
42
|
-
* @param text
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @description The text content of the StatusLink
|
|
45
|
-
*/
|
|
46
31
|
get text(): string | undefined;
|
|
47
|
-
/**
|
|
48
|
-
* @param href
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @description The href value of the StatusLink
|
|
51
|
-
*/
|
|
52
32
|
get href(): string;
|
|
53
|
-
/**
|
|
54
|
-
* Get the class names to apply to the component.
|
|
55
|
-
* @method classNames
|
|
56
|
-
* @return {string} The "class" attribute to apply to the component.
|
|
57
|
-
*/
|
|
58
33
|
get classNames(): string;
|
|
59
34
|
}
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import type { HdsAppFrameSidebarSignature } from './parts/sidebar.ts';
|
|
6
|
+
import HdsAppFrameFooter from './parts/footer';
|
|
7
|
+
import HdsAppFrameHeader from './parts/header';
|
|
8
|
+
import HdsAppFrameMain from './parts/main';
|
|
9
|
+
import HdsAppFrameModals from './parts/modals';
|
|
10
|
+
import HdsAppFrameSidebar from './parts/sidebar';
|
|
12
11
|
export interface HdsAppFrameSignature {
|
|
13
12
|
Args: {
|
|
14
13
|
hasFooter?: boolean;
|
|
@@ -20,11 +19,11 @@ export interface HdsAppFrameSignature {
|
|
|
20
19
|
Blocks: {
|
|
21
20
|
default: [
|
|
22
21
|
{
|
|
23
|
-
Footer?:
|
|
24
|
-
Header?:
|
|
25
|
-
Main?:
|
|
26
|
-
Modals?:
|
|
27
|
-
Sidebar?:
|
|
22
|
+
Footer?: typeof HdsAppFrameFooter;
|
|
23
|
+
Header?: typeof HdsAppFrameHeader;
|
|
24
|
+
Main?: typeof HdsAppFrameMain;
|
|
25
|
+
Modals?: typeof HdsAppFrameModals;
|
|
26
|
+
Sidebar?: typeof HdsAppFrameSidebar;
|
|
28
27
|
}
|
|
29
28
|
];
|
|
30
29
|
};
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
* Copyright IBM Corp. 2021, 2025
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
|
+
import type { TemplateOnlyComponent } from '@ember/component/template-only';
|
|
5
6
|
export interface HdsAppFrameFooterSignature {
|
|
6
7
|
Blocks: {
|
|
7
8
|
default: [];
|
|
8
9
|
};
|
|
9
10
|
Element: HTMLElement;
|
|
10
11
|
}
|
|
11
|
-
declare const HdsAppFrameFooter:
|
|
12
|
+
declare const HdsAppFrameFooter: TemplateOnlyComponent<HdsAppFrameFooterSignature>;
|
|
12
13
|
export default HdsAppFrameFooter;
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
* Copyright IBM Corp. 2021, 2025
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
|
+
import type { TemplateOnlyComponent } from '@ember/component/template-only';
|
|
5
6
|
export interface HdsAppFrameHeaderSignature {
|
|
6
7
|
Blocks: {
|
|
7
8
|
default: [];
|
|
8
9
|
};
|
|
9
10
|
Element: HTMLElement;
|
|
10
11
|
}
|
|
11
|
-
declare const HdsAppFrameHeader:
|
|
12
|
+
declare const HdsAppFrameHeader: TemplateOnlyComponent<HdsAppFrameHeaderSignature>;
|
|
12
13
|
export default HdsAppFrameHeader;
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
* Copyright IBM Corp. 2021, 2025
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
|
+
import type { TemplateOnlyComponent } from '@ember/component/template-only';
|
|
5
6
|
export interface HdsAppFrameMainSignature {
|
|
6
7
|
Blocks: {
|
|
7
8
|
default: [];
|
|
8
9
|
};
|
|
9
10
|
Element: HTMLElement;
|
|
10
11
|
}
|
|
11
|
-
declare const HdsAppFrameMain:
|
|
12
|
+
declare const HdsAppFrameMain: TemplateOnlyComponent<HdsAppFrameMainSignature>;
|
|
12
13
|
export default HdsAppFrameMain;
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
* Copyright IBM Corp. 2021, 2025
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
|
+
import type { TemplateOnlyComponent } from '@ember/component/template-only';
|
|
5
6
|
export interface HdsAppFrameModalsSignature {
|
|
6
7
|
Blocks: {
|
|
7
8
|
default: [];
|
|
8
9
|
};
|
|
9
10
|
Element: HTMLElement;
|
|
10
11
|
}
|
|
11
|
-
declare const HdsAppFrameModals:
|
|
12
|
+
declare const HdsAppFrameModals: TemplateOnlyComponent<HdsAppFrameModalsSignature>;
|
|
12
13
|
export default HdsAppFrameModals;
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
* Copyright IBM Corp. 2021, 2025
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
|
+
import type { TemplateOnlyComponent } from '@ember/component/template-only';
|
|
5
6
|
export interface HdsAppFrameSidebarSignature {
|
|
6
7
|
Blocks: {
|
|
7
8
|
default: [];
|
|
8
9
|
};
|
|
9
10
|
Element: HTMLElement;
|
|
10
11
|
}
|
|
11
|
-
declare const HdsAppFrameSidebar:
|
|
12
|
+
declare const HdsAppFrameSidebar: TemplateOnlyComponent<HdsAppFrameSidebarSignature>;
|
|
12
13
|
export default HdsAppFrameSidebar;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
|
-
import type { HdsIconSignature } from '../icon';
|
|
7
|
-
import type { HdsInteractiveSignature } from '../interactive/';
|
|
6
|
+
import type { HdsIconSignature } from '../icon/index';
|
|
7
|
+
import type { HdsInteractiveSignature } from '../interactive/index';
|
|
8
8
|
export interface HdsAppHeaderHomeLinkSignature {
|
|
9
9
|
Args: HdsInteractiveSignature['Args'] & {
|
|
10
10
|
icon: HdsIconSignature['Args']['name'];
|
|
@@ -48,8 +48,8 @@ export default class HdsAppHeader extends Component<HdsAppHeaderSignature> {
|
|
|
48
48
|
removeEventListeners(): void;
|
|
49
49
|
get shouldTrapFocus(): boolean;
|
|
50
50
|
get classNames(): string;
|
|
51
|
-
escapePress(event: KeyboardEvent)
|
|
52
|
-
onClickToggle()
|
|
53
|
-
close()
|
|
54
|
-
updateDesktopVariable(event: MediaQueryListEvent)
|
|
51
|
+
escapePress: (event: KeyboardEvent) => void;
|
|
52
|
+
onClickToggle: () => void;
|
|
53
|
+
close: () => void;
|
|
54
|
+
updateDesktopVariable: (event: MediaQueryListEvent) => void;
|
|
55
55
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
|
-
import type { HdsButtonSignature } from '../button/';
|
|
6
|
+
import type { HdsButtonSignature } from '../button/index';
|
|
7
7
|
export interface HdsAppHeaderMenuButtonSignature {
|
|
8
8
|
Args: {
|
|
9
9
|
isOpen?: boolean;
|
|
@@ -14,5 +14,5 @@ export interface HdsAppHeaderMenuButtonSignature {
|
|
|
14
14
|
}
|
|
15
15
|
export default class HdsAppHeaderMenuButton extends Component<HdsAppHeaderMenuButtonSignature> {
|
|
16
16
|
get icon(): 'x' | 'menu';
|
|
17
|
-
onClick()
|
|
17
|
+
onClick: () => void;
|
|
18
18
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Copyright IBM Corp. 2021, 2025
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
|
+
import type { TemplateOnlyComponent } from '@ember/component/template-only';
|
|
5
6
|
export interface HdsApplicationStateBodySignature {
|
|
6
7
|
Args: {
|
|
7
8
|
text?: string;
|
|
@@ -11,5 +12,5 @@ export interface HdsApplicationStateBodySignature {
|
|
|
11
12
|
};
|
|
12
13
|
Element: HTMLDivElement;
|
|
13
14
|
}
|
|
14
|
-
declare const HdsApplicationStateBody:
|
|
15
|
+
declare const HdsApplicationStateBody: TemplateOnlyComponent<HdsApplicationStateBodySignature>;
|
|
15
16
|
export default HdsApplicationStateBody;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Copyright IBM Corp. 2021, 2025
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
|
-
import type {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
5
|
+
import type { TemplateOnlyComponent } from '@ember/component/template-only';
|
|
6
|
+
import HdsButton from '../button/index';
|
|
7
|
+
import HdsDropdown from '../dropdown/index.ts';
|
|
8
|
+
import HdsLinkStandalone from '../link/standalone';
|
|
9
9
|
export interface HdsApplicationStateFooterSignature {
|
|
10
10
|
Args: {
|
|
11
11
|
hasDivider?: boolean;
|
|
@@ -13,13 +13,13 @@ export interface HdsApplicationStateFooterSignature {
|
|
|
13
13
|
Blocks: {
|
|
14
14
|
default?: [
|
|
15
15
|
{
|
|
16
|
-
Button?:
|
|
17
|
-
Dropdown?:
|
|
18
|
-
LinkStandalone?:
|
|
16
|
+
Button?: typeof HdsButton;
|
|
17
|
+
Dropdown?: typeof HdsDropdown;
|
|
18
|
+
LinkStandalone?: typeof HdsLinkStandalone;
|
|
19
19
|
}
|
|
20
20
|
];
|
|
21
21
|
};
|
|
22
22
|
Element: HTMLDivElement;
|
|
23
23
|
}
|
|
24
|
-
declare const HdsApplicationStateFooter:
|
|
24
|
+
declare const HdsApplicationStateFooter: TemplateOnlyComponent<HdsApplicationStateFooterSignature>;
|
|
25
25
|
export default HdsApplicationStateFooter;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
|
-
import type { HdsIconSignature } from '../icon';
|
|
7
|
-
import type { HdsApplicationStateTitleTags } from './types';
|
|
6
|
+
import type { HdsIconSignature } from '../icon/index';
|
|
7
|
+
import type { HdsApplicationStateTitleTags } from './types.ts';
|
|
8
8
|
export interface HdsApplicationStateHeaderSignature {
|
|
9
9
|
Args: {
|
|
10
10
|
title?: string;
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import type {
|
|
11
|
-
import type { HdsApplicationStateFooterSignature } from './footer';
|
|
6
|
+
import HdsApplicationStateMedia from './media';
|
|
7
|
+
import HdsApplicationStateHeader from './header';
|
|
8
|
+
import HdsApplicationStateBody from './body';
|
|
9
|
+
import HdsApplicationStateFooter from './footer';
|
|
10
|
+
import type { HdsApplicationStateAligns } from './types.ts';
|
|
12
11
|
export declare const ALIGNS: HdsApplicationStateAligns[];
|
|
13
12
|
export interface HdsApplicationStateSignature {
|
|
14
13
|
Args: {
|
|
@@ -18,10 +17,10 @@ export interface HdsApplicationStateSignature {
|
|
|
18
17
|
Blocks: {
|
|
19
18
|
default: [
|
|
20
19
|
{
|
|
21
|
-
Media?:
|
|
22
|
-
Header?:
|
|
23
|
-
Body?:
|
|
24
|
-
Footer?:
|
|
20
|
+
Media?: typeof HdsApplicationStateMedia;
|
|
21
|
+
Header?: typeof HdsApplicationStateHeader;
|
|
22
|
+
Body?: typeof HdsApplicationStateBody;
|
|
23
|
+
Footer?: typeof HdsApplicationStateFooter;
|
|
25
24
|
}
|
|
26
25
|
];
|
|
27
26
|
};
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
* Copyright IBM Corp. 2021, 2025
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
|
+
import type { TemplateOnlyComponent } from '@ember/component/template-only';
|
|
5
6
|
export interface HdsApplicationStateMediaSignature {
|
|
6
7
|
Blocks: {
|
|
7
8
|
default: [];
|
|
8
9
|
};
|
|
9
10
|
Element: HTMLDivElement;
|
|
10
11
|
}
|
|
11
|
-
declare const HdsApplicationStateMedia:
|
|
12
|
+
declare const HdsApplicationStateMedia: TemplateOnlyComponent<HdsApplicationStateMediaSignature>;
|
|
12
13
|
export default HdsApplicationStateMedia;
|
|
@@ -15,28 +15,8 @@ export interface HdsBreadcrumbSignature {
|
|
|
15
15
|
Element: HTMLElement;
|
|
16
16
|
}
|
|
17
17
|
export default class HdsBreadcrumb extends Component<HdsBreadcrumbSignature> {
|
|
18
|
-
/**
|
|
19
|
-
* @param onDidInsert
|
|
20
|
-
* @type {function}
|
|
21
|
-
* @default () => {}
|
|
22
|
-
*/
|
|
23
18
|
get didInsert(): () => void;
|
|
24
|
-
/**
|
|
25
|
-
* @param itemsCanWrap
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @default true
|
|
28
|
-
*/
|
|
29
19
|
get itemsCanWrap(): boolean;
|
|
30
|
-
/**
|
|
31
|
-
* @param ariaLabel
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @default 'breadcrumbs'
|
|
34
|
-
*/
|
|
35
20
|
get ariaLabel(): string;
|
|
36
|
-
/**
|
|
37
|
-
* Get the class names to apply to the component.
|
|
38
|
-
* @method Breadcrumb#classNames
|
|
39
|
-
* @return {string} The "class" attribute to apply to the component.
|
|
40
|
-
*/
|
|
41
21
|
get classNames(): string;
|
|
42
22
|
}
|