@hashicorp/design-system-components 6.0.0 → 6.0.1-rc-20260216165126
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/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/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/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/field.d.ts +5 -5
- package/declarations/components/hds/form/key-value-inputs/index.d.ts +3 -3
- 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/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/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/field.d.ts +6 -6
- 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-tile/index.d.ts +1 -1
- 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/table/index.d.ts +23 -23
- package/declarations/components/hds/table/td.d.ts +0 -11
- package/declarations/components/hds/table/th-selectable.d.ts +4 -4
- package/declarations/components/hds/table/th-sort.d.ts +0 -23
- package/declarations/components/hds/table/th.d.ts +1 -17
- package/declarations/components/hds/table/tr.d.ts +2 -2
- package/declarations/components/hds/tag/index.d.ts +2 -34
- package/declarations/components/hds/toast/index.d.ts +3 -2
- package/declarations/components.d.ts +62 -62
- package/declarations/template-registry.d.ts +2 -2
- package/declarations/utils/hds-aria-described-by.d.ts +2 -2
- 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 +2 -2
- package/dist/components/hds/application-state/body.js.map +1 -1
- package/dist/components/hds/application-state/footer.js +2 -2
- package/dist/components/hds/application-state/footer.js.map +1 -1
- package/dist/components/hds/application-state/media.js +2 -2
- package/dist/components/hds/application-state/media.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-editor/generic.js +2 -2
- package/dist/components/hds/code-editor/generic.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/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/field.js.map +1 -1
- 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/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 +2 -2
- package/dist/components/hds/form/radio-card/description.js.map +1 -1
- package/dist/components/hds/form/radio-card/group.js +2 -2
- package/dist/components/hds/form/radio-card/group.js.map +1 -1
- package/dist/components/hds/form/radio-card/index.js.map +1 -1
- package/dist/components/hds/form/radio-card/label.js +2 -2
- 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/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-tile/index.js +9 -10
- package/dist/components/hds/icon-tile/index.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/table/index.js +39 -50
- package/dist/components/hds/table/index.js.map +1 -1
- package/dist/components/hds/table/td.js +5 -17
- package/dist/components/hds/table/td.js.map +1 -1
- package/dist/components/hds/table/th-button-sort.js +14 -7
- package/dist/components/hds/table/th-button-sort.js.map +1 -1
- package/dist/components/hds/table/th-button-tooltip.js +13 -4
- package/dist/components/hds/table/th-button-tooltip.js.map +1 -1
- package/dist/components/hds/table/th-selectable.js +24 -19
- package/dist/components/hds/table/th-selectable.js.map +1 -1
- package/dist/components/hds/table/th-sort.js +13 -31
- package/dist/components/hds/table/th-sort.js.map +1 -1
- package/dist/components/hds/table/th.js +13 -23
- package/dist/components/hds/table/th.js.map +1 -1
- package/dist/components/hds/table/tr.js +10 -4
- package/dist/components/hds/table/tr.js.map +1 -1
- package/dist/components/hds/table/types.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/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/styles/@hashicorp/design-system-components-common.scss +24 -0
- package/dist/styles/@hashicorp/design-system-components.css +12 -4
- package/dist/styles/@hashicorp/design-system-components.css.map +1 -1
- package/dist/styles/@hashicorp/design-system-components.scss +3 -61
- package/dist/styles/components/index.scss +51 -0
- package/dist/utils/hds-aria-described-by.js.map +1 -1
- package/package.json +4 -3
|
@@ -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 HdsDialogPrimitiveBodySignature {
|
|
6
7
|
Args: {
|
|
7
8
|
contextualClass?: string;
|
|
@@ -11,5 +12,5 @@ export interface HdsDialogPrimitiveBodySignature {
|
|
|
11
12
|
};
|
|
12
13
|
Element: HTMLDivElement;
|
|
13
14
|
}
|
|
14
|
-
declare const HdsDialogPrimitiveBody:
|
|
15
|
+
declare const HdsDialogPrimitiveBody: TemplateOnlyComponent<HdsDialogPrimitiveBodySignature>;
|
|
15
16
|
export default HdsDialogPrimitiveBody;
|
|
@@ -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 HdsDialogPrimitiveDescriptionSignature {
|
|
6
7
|
Args: {
|
|
7
8
|
contextualClass?: string;
|
|
@@ -11,5 +12,5 @@ export interface HdsDialogPrimitiveDescriptionSignature {
|
|
|
11
12
|
};
|
|
12
13
|
Element: HTMLDivElement;
|
|
13
14
|
}
|
|
14
|
-
declare const HdsDialogPrimitiveDescription:
|
|
15
|
+
declare const HdsDialogPrimitiveDescription: TemplateOnlyComponent<HdsDialogPrimitiveDescriptionSignature>;
|
|
15
16
|
export default HdsDialogPrimitiveDescription;
|
|
@@ -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 { HdsDialogPrimitiveHeaderTitleTags } from './types';
|
|
6
|
+
import type { HdsIconSignature } from '../icon/index';
|
|
7
|
+
import type { HdsDialogPrimitiveHeaderTitleTags } from './types.ts';
|
|
8
8
|
export interface HdsDialogPrimitiveHeaderSignature {
|
|
9
9
|
Args: {
|
|
10
10
|
contextualClassPrefix?: string;
|
|
@@ -21,10 +21,5 @@ export interface HdsDialogPrimitiveHeaderSignature {
|
|
|
21
21
|
}
|
|
22
22
|
export default class HdsDialogPrimitiveHeader extends Component<HdsDialogPrimitiveHeaderSignature> {
|
|
23
23
|
get titleTag(): HdsDialogPrimitiveHeaderTitleTags;
|
|
24
|
-
/**
|
|
25
|
-
* @param onDismiss
|
|
26
|
-
* @type {function}
|
|
27
|
-
* @default () => {}
|
|
28
|
-
*/
|
|
29
24
|
get onDismiss(): (event: MouseEvent, ...args: any[]) => void;
|
|
30
25
|
}
|
|
@@ -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 HdsDialogPrimitiveOverlaySignature {
|
|
6
7
|
Args: {
|
|
7
8
|
contextualClass?: string;
|
|
8
9
|
};
|
|
9
10
|
Element: HTMLDivElement;
|
|
10
11
|
}
|
|
11
|
-
declare const HdsDialogPrimitiveOverlay:
|
|
12
|
+
declare const HdsDialogPrimitiveOverlay: TemplateOnlyComponent<HdsDialogPrimitiveOverlaySignature>;
|
|
12
13
|
export default HdsDialogPrimitiveOverlay;
|
|
@@ -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 HdsDialogPrimitiveWrapperSignature {
|
|
6
7
|
Blocks: {
|
|
7
8
|
header?: [];
|
|
@@ -10,5 +11,5 @@ export interface HdsDialogPrimitiveWrapperSignature {
|
|
|
10
11
|
};
|
|
11
12
|
Element: HTMLDialogElement;
|
|
12
13
|
}
|
|
13
|
-
declare const HdsDialogPrimitiveWrapper:
|
|
14
|
+
declare const HdsDialogPrimitiveWrapper: TemplateOnlyComponent<HdsDialogPrimitiveWrapperSignature>;
|
|
14
15
|
export default HdsDialogPrimitiveWrapper;
|
|
@@ -31,7 +31,7 @@ export default class HdsDisclosurePrimitive extends Component<HdsDisclosurePrimi
|
|
|
31
31
|
private _contentId;
|
|
32
32
|
get isOpen(): boolean;
|
|
33
33
|
set isOpen(value: boolean);
|
|
34
|
-
onClickToggle()
|
|
35
|
-
onStateChange()
|
|
36
|
-
close()
|
|
34
|
+
onClickToggle: () => void;
|
|
35
|
+
onStateChange: () => void;
|
|
36
|
+
close: () => void;
|
|
37
37
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
6
|
import { HdsDropdownPositionValues } from './types.ts';
|
|
7
7
|
import type { ComponentLike } from '@glint/template';
|
|
8
|
-
import type { HdsPopoverPrimitiveSignature } from '../popover-primitive/index
|
|
8
|
+
import type { HdsPopoverPrimitiveSignature } from '../popover-primitive/index';
|
|
9
9
|
import type { HdsDropdownFooterSignature } from './footer';
|
|
10
10
|
import type { HdsDropdownHeaderSignature } from './header';
|
|
11
11
|
import type { HdsDropdownListItemCheckboxSignature } from './list-item/checkbox';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
6
|
import type { HdsIconSignature } from '../../icon';
|
|
7
|
-
import type { HdsFormCheckboxBaseSignature } from '../../form/checkbox/base
|
|
7
|
+
import type { HdsFormCheckboxBaseSignature } from '../../form/checkbox/base';
|
|
8
8
|
export interface HdsDropdownListItemCheckboxSignature {
|
|
9
9
|
Args: HdsFormCheckboxBaseSignature['Args'] & {
|
|
10
10
|
count?: string | number;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
6
|
import type { HdsIconSignature } from '../../icon';
|
|
7
|
-
import type { HdsFormRadioBaseSignature } from '../../form/radio/base
|
|
7
|
+
import type { HdsFormRadioBaseSignature } from '../../form/radio/base';
|
|
8
8
|
export interface HdsDropdownListItemRadioSignature {
|
|
9
9
|
Args: HdsFormRadioBaseSignature['Args'] & {
|
|
10
10
|
count?: string | number;
|
|
@@ -9,7 +9,7 @@ import type { HdsBadgeSignature } from '../../badge';
|
|
|
9
9
|
import type { HdsBadgeCountSignature } from '../../badge-count';
|
|
10
10
|
import type { HdsDropdownToggleButtonSizes, HdsDropdownToggleButtonColors } from './types';
|
|
11
11
|
import type { ModifierLike } from '@glint/template';
|
|
12
|
-
import type { SetupPrimitiveToggleModifier } from '../../popover-primitive/index
|
|
12
|
+
import type { SetupPrimitiveToggleModifier } from '../../popover-primitive/index';
|
|
13
13
|
export declare const DEFAULT_SIZE = HdsDropdownToggleButtonSizeValues.Medium;
|
|
14
14
|
export declare const DEFAULT_COLOR = HdsDropdownToggleButtonColorValues.Primary;
|
|
15
15
|
export declare const SIZES: HdsDropdownToggleButtonSizes[];
|
|
@@ -7,7 +7,7 @@ import { HdsDropdownToggleIconSizeValues } from './types.ts';
|
|
|
7
7
|
import type { HdsIconSignature } from '../../icon';
|
|
8
8
|
import type { HdsDropdownToggleIconSizes } from './types';
|
|
9
9
|
import type { ModifierLike } from '@glint/template';
|
|
10
|
-
import type { SetupPrimitiveToggleModifier } from '../../popover-primitive/index
|
|
10
|
+
import type { SetupPrimitiveToggleModifier } from '../../popover-primitive/index';
|
|
11
11
|
import type Owner from '@ember/owner';
|
|
12
12
|
export declare const DEFAULT_SIZE = HdsDropdownToggleIconSizeValues.Medium;
|
|
13
13
|
export declare const SIZES: HdsDropdownToggleIconSizes[];
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
6
|
import type { WithBoundArgs } from '@glint/template';
|
|
7
|
-
import type { HdsFlyoutSizes } from './types.ts';
|
|
8
7
|
import { HdsFlyoutSizesValues } from './types.ts';
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
8
|
+
import HdsDialogPrimitiveBody from '../dialog-primitive/body';
|
|
9
|
+
import HdsDialogPrimitiveDescription from '../dialog-primitive/description';
|
|
10
|
+
import HdsDialogPrimitiveFooter from '../dialog-primitive/footer';
|
|
11
|
+
import HdsDialogPrimitiveHeader from '../dialog-primitive/header';
|
|
12
|
+
import type { HdsFlyoutSizes } from './types.ts';
|
|
13
13
|
export declare const DEFAULT_SIZE = HdsFlyoutSizesValues.Medium;
|
|
14
14
|
export declare const DEFAULT_HAS_OVERLAY = true;
|
|
15
15
|
export declare const SIZES: HdsFlyoutSizes[];
|
|
@@ -23,10 +23,10 @@ export interface HdsFlyoutSignature {
|
|
|
23
23
|
Blocks: {
|
|
24
24
|
default: [
|
|
25
25
|
{
|
|
26
|
-
Header?: WithBoundArgs<typeof
|
|
27
|
-
Description?: WithBoundArgs<typeof
|
|
28
|
-
Body?: WithBoundArgs<typeof
|
|
29
|
-
Footer?: WithBoundArgs<typeof
|
|
26
|
+
Header?: WithBoundArgs<typeof HdsDialogPrimitiveHeader, 'id' | 'onDismiss' | 'contextualClassPrefix'>;
|
|
27
|
+
Description?: WithBoundArgs<typeof HdsDialogPrimitiveDescription, 'contextualClass'>;
|
|
28
|
+
Body?: WithBoundArgs<typeof HdsDialogPrimitiveBody, 'contextualClass'>;
|
|
29
|
+
Footer?: WithBoundArgs<typeof HdsDialogPrimitiveFooter, 'onDismiss' | 'contextualClass'>;
|
|
30
30
|
}
|
|
31
31
|
];
|
|
32
32
|
};
|
|
@@ -42,7 +42,7 @@ export default class HdsFlyout extends Component<HdsFlyoutSignature> {
|
|
|
42
42
|
get classNames(): string;
|
|
43
43
|
private _performCloseCleanup;
|
|
44
44
|
private _registerDialog;
|
|
45
|
-
registerOnCloseCallback(event: Event)
|
|
46
|
-
open()
|
|
47
|
-
onDismiss()
|
|
45
|
+
registerOnCloseCallback: (event: Event) => void;
|
|
46
|
+
open: () => void;
|
|
47
|
+
onDismiss: () => void;
|
|
48
48
|
}
|
|
@@ -29,57 +29,12 @@ export interface HdsFormCharacterCountSignature {
|
|
|
29
29
|
export default class HdsFormCharacterCount extends Component<HdsFormCharacterCountSignature> {
|
|
30
30
|
get currentLength(): number;
|
|
31
31
|
private _pluralize;
|
|
32
|
-
/**
|
|
33
|
-
* @param maxLength
|
|
34
|
-
* @type {number}
|
|
35
|
-
* @default null
|
|
36
|
-
* @description The maximum number of characters allowed.
|
|
37
|
-
*/
|
|
38
32
|
get maxLength(): number | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* @param minLength
|
|
41
|
-
* @type {number}
|
|
42
|
-
* @default null
|
|
43
|
-
* @description The minimum number of characters allowed.
|
|
44
|
-
*/
|
|
45
33
|
get minLength(): number | undefined;
|
|
46
|
-
/**
|
|
47
|
-
* @param remaining
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @default null
|
|
50
|
-
* @description The remaining number of characters.
|
|
51
|
-
*/
|
|
52
34
|
get remaining(): number | undefined;
|
|
53
|
-
/**
|
|
54
|
-
* @param shortfall
|
|
55
|
-
* @type {number}
|
|
56
|
-
* @default null
|
|
57
|
-
* @description The number of characters the content is falling short of.
|
|
58
|
-
*/
|
|
59
35
|
get shortfall(): number | undefined;
|
|
60
|
-
/**
|
|
61
|
-
* @param message
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @default null
|
|
64
|
-
* @description The character count message presented to users
|
|
65
|
-
*/
|
|
66
36
|
get message(): string;
|
|
67
|
-
/**
|
|
68
|
-
* Determines the unique ID to assign to the element
|
|
69
|
-
* @method id
|
|
70
|
-
* @return {(string|null)} The "id" attribute to apply to the element or null, if no controlId is provided
|
|
71
|
-
*/
|
|
72
37
|
get id(): string | null;
|
|
73
|
-
/**
|
|
74
|
-
* @param onInsert
|
|
75
|
-
* @type {function}
|
|
76
|
-
* @default () => {}
|
|
77
|
-
*/
|
|
78
38
|
get onInsert(): (element: HTMLElement, ...args: any[]) => void;
|
|
79
|
-
/**
|
|
80
|
-
* Get the class names to apply to the component.
|
|
81
|
-
* @method classNames
|
|
82
|
-
* @return {string} The "class" attribute to apply to the component.
|
|
83
|
-
*/
|
|
84
39
|
get classNames(): string;
|
|
85
40
|
}
|