@hashicorp/design-system-components 4.21.0 → 4.21.1
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/item/index.d.ts +2 -2
- package/declarations/components/hds/advanced-table/models/column.d.ts +7 -0
- package/declarations/components/hds/advanced-table/th-context-menu.d.ts +2 -4
- package/declarations/components/hds/advanced-table/th-resize-handle.d.ts +0 -1
- package/declarations/components/hds/advanced-table/th-sort.d.ts +1 -5
- package/declarations/components/hds/advanced-table/th.d.ts +0 -3
- package/declarations/components/hds/alert/index.d.ts +3 -4
- package/declarations/components/hds/app-header/index.d.ts +11 -2
- package/declarations/components/hds/badge/index.d.ts +3 -3
- package/declarations/components/hds/copy/button/index.d.ts +1 -1
- package/declarations/components/hds/copy/snippet/index.d.ts +1 -1
- package/declarations/components/hds/dropdown/index.d.ts +9 -9
- package/declarations/components/hds/dropdown/list-item/interactive.d.ts +1 -1
- package/declarations/components/hds/dropdown/toggle/button.d.ts +2 -2
- package/declarations/components/hds/dropdown/types.d.ts +2 -2
- package/declarations/components/hds/form/fieldset/index.d.ts +1 -0
- package/declarations/components/hds/form/header/title.d.ts +1 -1
- package/declarations/components/hds/form/super-select/multiple/base.d.ts +4 -3
- package/declarations/components/hds/form/super-select/single/base.d.ts +4 -3
- package/declarations/components/hds/form/text-input/base.d.ts +1 -1
- package/declarations/components/hds/layout/flex/index.d.ts +6 -5
- package/declarations/components/hds/layout/flex/types.d.ts +1 -0
- package/declarations/components/hds/layout/grid/index.d.ts +4 -2
- package/declarations/components/hds/layout/grid/types.d.ts +1 -0
- package/declarations/components/hds/link/inline.d.ts +3 -3
- package/declarations/components/hds/link/standalone.d.ts +4 -4
- package/declarations/components/hds/popover-primitive/index.d.ts +3 -3
- package/declarations/components/hds/rich-tooltip/bubble.d.ts +10 -10
- package/declarations/components/hds/stepper/step/indicator.d.ts +1 -1
- package/declarations/components/hds/stepper/task/indicator.d.ts +2 -2
- package/declarations/components/hds/tag/index.d.ts +4 -5
- package/declarations/components/hds/text/body.d.ts +2 -18
- package/declarations/components/hds/text/code.d.ts +2 -18
- package/declarations/components/hds/text/display.d.ts +2 -18
- package/declarations/components/hds/text/index.d.ts +2 -40
- package/declarations/components/hds/tooltip-button/index.d.ts +1 -1
- package/declarations/modifiers/hds-anchored-position.d.ts +5 -6
- package/declarations/template-registry.d.ts +2 -0
- package/dist/components/hds/accordion/item/index.js.map +1 -1
- package/dist/components/hds/advanced-table/index.js +1 -1
- package/dist/components/hds/advanced-table/models/column.js +31 -0
- package/dist/components/hds/advanced-table/models/column.js.map +1 -1
- package/dist/components/hds/advanced-table/th-context-menu.js +15 -7
- package/dist/components/hds/advanced-table/th-context-menu.js.map +1 -1
- package/dist/components/hds/advanced-table/th-resize-handle.js +16 -8
- package/dist/components/hds/advanced-table/th-resize-handle.js.map +1 -1
- package/dist/components/hds/advanced-table/th-sort.js +1 -2
- package/dist/components/hds/advanced-table/th-sort.js.map +1 -1
- package/dist/components/hds/advanced-table/th.js +1 -1
- package/dist/components/hds/advanced-table/th.js.map +1 -1
- package/dist/components/hds/alert/index.js.map +1 -1
- package/dist/components/hds/app-header/index.js +9 -1
- package/dist/components/hds/app-header/index.js.map +1 -1
- package/dist/components/hds/app-side-nav/list/index.js +1 -1
- package/dist/components/hds/badge/index.js.map +1 -1
- package/dist/components/hds/copy/button/index.js.map +1 -1
- package/dist/components/hds/copy/snippet/index.js.map +1 -1
- package/dist/components/hds/dropdown/index.js.map +1 -1
- package/dist/components/hds/dropdown/list-item/interactive.js.map +1 -1
- package/dist/components/hds/dropdown/toggle/button.js.map +1 -1
- package/dist/components/hds/dropdown/types.js.map +1 -1
- package/dist/components/hds/form/fieldset/index.js +2 -1
- package/dist/components/hds/form/fieldset/index.js.map +1 -1
- package/dist/components/hds/form/header/title.js +3 -3
- package/dist/components/hds/form/header/title.js.map +1 -1
- package/dist/components/hds/form/key-value-inputs/generic.js +1 -1
- package/dist/components/hds/form/super-select/multiple/base.js +12 -3
- package/dist/components/hds/form/super-select/multiple/base.js.map +1 -1
- package/dist/components/hds/form/super-select/single/base.js +11 -2
- package/dist/components/hds/form/super-select/single/base.js.map +1 -1
- package/dist/components/hds/form/text-input/base.js.map +1 -1
- package/dist/components/hds/layout/flex/index.js +4 -3
- package/dist/components/hds/layout/flex/index.js.map +1 -1
- package/dist/components/hds/layout/flex/types.js +1 -0
- package/dist/components/hds/layout/flex/types.js.map +1 -1
- package/dist/components/hds/layout/grid/index.js +4 -3
- package/dist/components/hds/layout/grid/index.js.map +1 -1
- package/dist/components/hds/layout/grid/types.js +1 -0
- package/dist/components/hds/layout/grid/types.js.map +1 -1
- package/dist/components/hds/link/inline.js +5 -5
- package/dist/components/hds/link/inline.js.map +1 -1
- package/dist/components/hds/link/standalone.js +5 -5
- package/dist/components/hds/link/standalone.js.map +1 -1
- package/dist/components/hds/popover-primitive/index.js.map +1 -1
- package/dist/components/hds/rich-tooltip/bubble.js.map +1 -1
- package/dist/components/hds/stepper/step/indicator.js.map +1 -1
- package/dist/components/hds/stepper/task/indicator.js.map +1 -1
- package/dist/components/hds/tag/index.js +26 -14
- package/dist/components/hds/tag/index.js.map +1 -1
- package/dist/components/hds/text/body.js +8 -22
- package/dist/components/hds/text/body.js.map +1 -1
- package/dist/components/hds/text/code.js +8 -22
- package/dist/components/hds/text/code.js.map +1 -1
- package/dist/components/hds/text/display.js +8 -22
- package/dist/components/hds/text/display.js.map +1 -1
- package/dist/components/hds/text/index.js +11 -45
- package/dist/components/hds/text/index.js.map +1 -1
- package/dist/components/hds/tooltip-button/index.js.map +1 -1
- package/dist/modifiers/hds-anchored-position.js.map +1 -1
- package/dist/styles/@hashicorp/design-system-components.css +35 -11
- package/dist/styles/components/app-side-nav/content.scss +9 -3
- package/dist/styles/components/form/radio-card.scss +8 -4
- package/dist/styles/components/layout/flex.scss +11 -1
- package/dist/styles/components/layout/grid.scss +18 -5
- package/dist/styles/components/side-nav/content.scss +1 -0
- package/package.json +4 -3
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
6
|
import { HdsAccordionSizeValues, HdsAccordionTypeValues } from '../types.ts';
|
|
7
7
|
import type { HdsAccordionForceStates, HdsAccordionSizes, HdsAccordionTypes, HdsAccordionItemTitleTags } from '../types.ts';
|
|
8
|
-
export declare const SIZES:
|
|
8
|
+
export declare const SIZES: HdsAccordionSizes[];
|
|
9
9
|
export declare const DEFAULT_SIZE = HdsAccordionSizeValues.Medium;
|
|
10
|
-
export declare const TYPES:
|
|
10
|
+
export declare const TYPES: HdsAccordionTypes[];
|
|
11
11
|
export declare const DEFAULT_TYPE = HdsAccordionTypeValues.Card;
|
|
12
12
|
export interface HdsAccordionItemSignature {
|
|
13
13
|
Args: {
|
|
@@ -26,6 +26,13 @@ export default class HdsAdvancedTableColumn {
|
|
|
26
26
|
set pxWidth(value: number);
|
|
27
27
|
get pxMinWidth(): number | undefined;
|
|
28
28
|
get pxMaxWidth(): number | undefined;
|
|
29
|
+
get index(): number;
|
|
30
|
+
get isFirst(): boolean;
|
|
31
|
+
get isLast(): boolean;
|
|
32
|
+
get siblings(): {
|
|
33
|
+
previous?: HdsAdvancedTableColumn;
|
|
34
|
+
next?: HdsAdvancedTableColumn;
|
|
35
|
+
};
|
|
29
36
|
constructor(args: {
|
|
30
37
|
column: HdsAdvancedTableColumnType;
|
|
31
38
|
table: HdsAdvancedTableModel;
|
|
@@ -12,13 +12,11 @@ interface HdsAdvancedTableThContextMenuOption {
|
|
|
12
12
|
key: string;
|
|
13
13
|
label: string;
|
|
14
14
|
icon: HdsDropdownToggleIconSignature['Args']['icon'];
|
|
15
|
-
action: (column: HdsAdvancedTableColumn,
|
|
15
|
+
action: (column: HdsAdvancedTableColumn, dropdownCloseCallback?: () => void) => void;
|
|
16
16
|
}
|
|
17
17
|
export interface HdsAdvancedTableThContextMenuSignature {
|
|
18
18
|
Args: {
|
|
19
19
|
column: HdsAdvancedTableColumn;
|
|
20
|
-
previousColumn?: HdsAdvancedTableColumn;
|
|
21
|
-
nextColumn?: HdsAdvancedTableColumn;
|
|
22
20
|
hasResizableColumns?: boolean;
|
|
23
21
|
resizeHandleElement?: HdsAdvancedTableThResizeHandleSignature['Element'];
|
|
24
22
|
onColumnResize?: HdsAdvancedTableSignature['Args']['onColumnResize'];
|
|
@@ -29,6 +27,6 @@ export default class HdsAdvancedTableThContextMenu extends Component<HdsAdvanced
|
|
|
29
27
|
private _element;
|
|
30
28
|
get _options(): HdsAdvancedTableThContextMenuOption[];
|
|
31
29
|
resizeColumn(): void;
|
|
32
|
-
resetColumnWidth(column: HdsAdvancedTableColumn,
|
|
30
|
+
resetColumnWidth(column: HdsAdvancedTableColumn, dropdownCloseCallback?: () => void): void;
|
|
33
31
|
}
|
|
34
32
|
export {};
|
|
@@ -8,7 +8,6 @@ import type { HdsAdvancedTableSignature } from './index.ts';
|
|
|
8
8
|
export interface HdsAdvancedTableThResizeHandleSignature {
|
|
9
9
|
Args: {
|
|
10
10
|
column: HdsAdvancedTableColumn;
|
|
11
|
-
nextColumn?: HdsAdvancedTableColumn;
|
|
12
11
|
hasResizableColumns: HdsAdvancedTableSignature['Args']['hasResizableColumns'];
|
|
13
12
|
tableHeight?: number;
|
|
14
13
|
onColumnResize?: HdsAdvancedTableSignature['Args']['onColumnResize'];
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
6
|
import { type FocusableElement } from 'tabbable';
|
|
7
|
-
import HdsAdvancedTableColumn from './models/column.ts';
|
|
8
7
|
import type Owner from '@ember/owner';
|
|
9
8
|
import { HdsAdvancedTableHorizontalAlignmentValues } from './types.ts';
|
|
10
9
|
import type { HdsAdvancedTableHorizontalAlignment, HdsAdvancedTableThSortOrder, HdsAdvancedTableThSortOrderLabels } from './types.ts';
|
|
@@ -17,16 +16,13 @@ export interface HdsAdvancedTableThSortSignature {
|
|
|
17
16
|
Args: {
|
|
18
17
|
column?: HdsAdvancedTableThSignature['Args']['column'];
|
|
19
18
|
align?: HdsAdvancedTableHorizontalAlignment;
|
|
20
|
-
hasResizableColumns
|
|
19
|
+
hasResizableColumns?: HdsAdvancedTableSignature['Args']['hasResizableColumns'];
|
|
21
20
|
onClickSort?: HdsAdvancedTableThButtonSortSignature['Args']['onClick'];
|
|
22
21
|
sortOrder?: HdsAdvancedTableThSortOrder;
|
|
23
22
|
tooltip?: string;
|
|
24
23
|
rowspan?: number;
|
|
25
24
|
colspan?: number;
|
|
26
|
-
previousColumn?: HdsAdvancedTableColumn;
|
|
27
|
-
nextColumn?: HdsAdvancedTableColumn;
|
|
28
25
|
tableHeight?: number;
|
|
29
|
-
isLastColumn?: boolean;
|
|
30
26
|
isStickyColumn?: boolean;
|
|
31
27
|
isStickyColumnPinned?: boolean;
|
|
32
28
|
onColumnResize?: HdsAdvancedTableSignature['Args']['onColumnResize'];
|
|
@@ -21,13 +21,10 @@ export interface HdsAdvancedTableThSignature {
|
|
|
21
21
|
hasResizableColumns?: boolean;
|
|
22
22
|
isExpanded?: HdsAdvancedTableExpandState;
|
|
23
23
|
isExpandable?: boolean;
|
|
24
|
-
isLastColumn?: boolean;
|
|
25
24
|
isStickyColumn?: boolean;
|
|
26
25
|
isStickyColumnPinned?: boolean;
|
|
27
26
|
isVisuallyHidden?: boolean;
|
|
28
27
|
newLabel?: string;
|
|
29
|
-
previousColumn?: HdsAdvancedTableColumn;
|
|
30
|
-
nextColumn?: HdsAdvancedTableColumn;
|
|
31
28
|
parentId?: string;
|
|
32
29
|
rowspan?: number;
|
|
33
30
|
scope?: HdsAdvancedTableScope;
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
|
-
import { HdsAlertColorValues } from './types.ts';
|
|
7
6
|
import type { ComponentLike, WithBoundArgs } from '@glint/template';
|
|
8
7
|
import type HdsButtonComponent from '../button';
|
|
9
8
|
import type HdsLinkStandaloneComponent from '../link/standalone';
|
|
@@ -13,9 +12,9 @@ import type { HdsAlertTitleSignature } from './title.ts';
|
|
|
13
12
|
import type { HdsAlertDescriptionSignature } from './description.ts';
|
|
14
13
|
import type { HdsIconSignature } from '../icon';
|
|
15
14
|
import type Owner from '@ember/owner';
|
|
16
|
-
export declare const TYPES:
|
|
17
|
-
export declare const DEFAULT_COLOR
|
|
18
|
-
export declare const COLORS:
|
|
15
|
+
export declare const TYPES: HdsAlertTypes[];
|
|
16
|
+
export declare const DEFAULT_COLOR: HdsAlertColors;
|
|
17
|
+
export declare const COLORS: HdsAlertColors[];
|
|
19
18
|
export declare const MAPPING_COLORS_TO_ICONS: {
|
|
20
19
|
readonly neutral: "info";
|
|
21
20
|
readonly highlight: "info";
|
|
@@ -16,8 +16,16 @@ export interface HdsAppHeaderSignature {
|
|
|
16
16
|
};
|
|
17
17
|
Blocks: {
|
|
18
18
|
logo?: [];
|
|
19
|
-
globalActions?: [
|
|
20
|
-
|
|
19
|
+
globalActions?: [
|
|
20
|
+
{
|
|
21
|
+
close: () => void;
|
|
22
|
+
}
|
|
23
|
+
];
|
|
24
|
+
utilityActions?: [
|
|
25
|
+
{
|
|
26
|
+
close: () => void;
|
|
27
|
+
}
|
|
28
|
+
];
|
|
21
29
|
};
|
|
22
30
|
Element: HTMLDivElement;
|
|
23
31
|
}
|
|
@@ -37,5 +45,6 @@ export default class HdsAppHeader extends Component<HdsAppHeaderSignature> {
|
|
|
37
45
|
get classNames(): string;
|
|
38
46
|
escapePress(event: KeyboardEvent): void;
|
|
39
47
|
onClickToggle(): void;
|
|
48
|
+
close(): void;
|
|
40
49
|
updateDesktopVariable(event: MediaQueryListEvent): void;
|
|
41
50
|
}
|
|
@@ -6,9 +6,9 @@ import Component from '@glimmer/component';
|
|
|
6
6
|
import { HdsBadgeColorValues, HdsBadgeSizeValues, HdsBadgeTypeValues } from './types.ts';
|
|
7
7
|
import type { HdsBadgeColors, HdsBadgeSizes, HdsBadgeTypes } from './types.ts';
|
|
8
8
|
import type { HdsIconSignature } from '../icon';
|
|
9
|
-
export declare const SIZES:
|
|
10
|
-
export declare const TYPES:
|
|
11
|
-
export declare const COLORS:
|
|
9
|
+
export declare const SIZES: HdsBadgeSizes[];
|
|
10
|
+
export declare const TYPES: HdsBadgeTypes[];
|
|
11
|
+
export declare const COLORS: HdsBadgeColors[];
|
|
12
12
|
export declare const DEFAULT_SIZE = HdsBadgeSizeValues.Medium;
|
|
13
13
|
export declare const DEFAULT_TYPE = HdsBadgeTypeValues.Filled;
|
|
14
14
|
export declare const DEFAULT_COLOR = HdsBadgeColorValues.Neutral;
|
|
@@ -9,7 +9,7 @@ import type { HdsButtonSignature } from '../../button/';
|
|
|
9
9
|
import type { HdsClipboardModifierSignature } from '../../../../modifiers/hds-clipboard.ts';
|
|
10
10
|
import type { HdsIconSignature } from '../../icon';
|
|
11
11
|
export declare const DEFAULT_SIZE = HdsCopyButtonSizeValues.Medium;
|
|
12
|
-
export declare const SIZES:
|
|
12
|
+
export declare const SIZES: HdsCopyButtonSizes[];
|
|
13
13
|
export declare const DEFAULT_ICON = "clipboard-copy";
|
|
14
14
|
export declare const SUCCESS_ICON = "clipboard-checked";
|
|
15
15
|
export declare const ERROR_ICON = "clipboard-x";
|
|
@@ -8,7 +8,7 @@ import type { HdsCopySnippetColors } from './types.ts';
|
|
|
8
8
|
import type { HdsClipboardModifierSignature } from '../../../../modifiers/hds-clipboard.ts';
|
|
9
9
|
import type { HdsIconSignature } from '../../icon';
|
|
10
10
|
export declare const DEFAULT_COLOR = HdsCopySnippetColorValues.Primary;
|
|
11
|
-
export declare const COLORS:
|
|
11
|
+
export declare const COLORS: HdsCopySnippetColors[];
|
|
12
12
|
export declare const DEFAULT_ICON = "clipboard-copy";
|
|
13
13
|
export declare const SUCCESS_ICON = "clipboard-checked";
|
|
14
14
|
export declare const ERROR_ICON = "clipboard-x";
|
|
@@ -20,9 +20,9 @@ import type { HdsDropdownListItemTitleSignature } from './list-item/title';
|
|
|
20
20
|
import type { HdsDropdownToggleButtonSignature } from './toggle/button';
|
|
21
21
|
import type { HdsDropdownToggleIconSignature } from './toggle/icon';
|
|
22
22
|
import type { HdsDropdownPositions } from './types';
|
|
23
|
-
import type {
|
|
23
|
+
import type { HdsAnchoredPositionOptions } from '../../../modifiers/hds-anchored-position.ts';
|
|
24
24
|
export declare const DEFAULT_POSITION = HdsDropdownPositionValues.BottomRight;
|
|
25
|
-
export declare const POSITIONS:
|
|
25
|
+
export declare const POSITIONS: HdsDropdownPositions[];
|
|
26
26
|
export interface HdsDropdownSignature {
|
|
27
27
|
Args: MenuPrimitiveSignature['Args'] & {
|
|
28
28
|
height?: string;
|
|
@@ -30,7 +30,7 @@ export interface HdsDropdownSignature {
|
|
|
30
30
|
isOpen?: boolean;
|
|
31
31
|
listPosition?: HdsDropdownPositions;
|
|
32
32
|
width?: string;
|
|
33
|
-
enableCollisionDetection?:
|
|
33
|
+
enableCollisionDetection?: HdsAnchoredPositionOptions['enableCollisionDetection'];
|
|
34
34
|
preserveContentInDom?: boolean;
|
|
35
35
|
matchToggleWidth?: boolean;
|
|
36
36
|
};
|
|
@@ -64,13 +64,13 @@ export default class HdsDropdown extends Component<HdsDropdownSignature> {
|
|
|
64
64
|
* @description Determines the position of the "list"
|
|
65
65
|
*/
|
|
66
66
|
get listPosition(): HdsDropdownPositions;
|
|
67
|
-
get enableCollisionDetection():
|
|
68
|
-
get matchToggleWidth():
|
|
67
|
+
get enableCollisionDetection(): HdsAnchoredPositionOptions['enableCollisionDetection'];
|
|
68
|
+
get matchToggleWidth(): HdsAnchoredPositionOptions['matchToggleWidth'];
|
|
69
69
|
get anchoredPositionOptions(): {
|
|
70
|
-
placement:
|
|
71
|
-
offsetOptions:
|
|
72
|
-
enableCollisionDetection:
|
|
73
|
-
matchToggleWidth:
|
|
70
|
+
placement: HdsAnchoredPositionOptions['placement'];
|
|
71
|
+
offsetOptions: HdsAnchoredPositionOptions['offsetOptions'];
|
|
72
|
+
enableCollisionDetection: HdsAnchoredPositionOptions['enableCollisionDetection'];
|
|
73
|
+
matchToggleWidth: HdsAnchoredPositionOptions['matchToggleWidth'];
|
|
74
74
|
};
|
|
75
75
|
/**
|
|
76
76
|
* Get the class names to apply to the element
|
|
@@ -11,7 +11,7 @@ import type { ComponentLike } from '@glint/template';
|
|
|
11
11
|
import type { HdsBadgeSignature } from '../../badge/index.ts';
|
|
12
12
|
import type Owner from '@ember/owner';
|
|
13
13
|
export declare const DEFAULT_COLOR = HdsDropdownListItemInteractiveColorValues.Action;
|
|
14
|
-
export declare const COLORS:
|
|
14
|
+
export declare const COLORS: HdsDropdownListItemInteractiveColors[];
|
|
15
15
|
export interface HdsDropdownListItemInteractiveSignature {
|
|
16
16
|
Args: HdsInteractiveSignature['Args'] & {
|
|
17
17
|
color?: HdsDropdownListItemInteractiveColors;
|
|
@@ -12,8 +12,8 @@ import type { ModifierLike } from '@glint/template';
|
|
|
12
12
|
import type { SetupPrimitiveToggleModifier } from '../../popover-primitive/index.ts';
|
|
13
13
|
export declare const DEFAULT_SIZE = HdsDropdownToggleButtonSizeValues.Medium;
|
|
14
14
|
export declare const DEFAULT_COLOR = HdsDropdownToggleButtonColorValues.Primary;
|
|
15
|
-
export declare const SIZES:
|
|
16
|
-
export declare const COLORS:
|
|
15
|
+
export declare const SIZES: HdsDropdownToggleButtonSizes[];
|
|
16
|
+
export declare const COLORS: HdsDropdownToggleButtonColors[];
|
|
17
17
|
export interface HdsDropdownToggleButtonSignature {
|
|
18
18
|
Args: {
|
|
19
19
|
badge?: HdsBadgeSignature['Args']['text'];
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) HashiCorp, Inc.
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
|
-
import type {
|
|
5
|
+
import type { HdsAnchoredPositionOptions } from '../../../modifiers/hds-anchored-position.ts';
|
|
6
6
|
export declare enum HdsDropdownPositionValues {
|
|
7
7
|
BottomLeft = "bottom-left",
|
|
8
8
|
BottomRight = "bottom-right",
|
|
@@ -10,4 +10,4 @@ export declare enum HdsDropdownPositionValues {
|
|
|
10
10
|
TopRight = "top-right"
|
|
11
11
|
}
|
|
12
12
|
export type HdsDropdownPositions = `${HdsDropdownPositionValues}`;
|
|
13
|
-
export declare const HdsDropdownPositionToPlacementValues: Record<HdsDropdownPositionValues,
|
|
13
|
+
export declare const HdsDropdownPositionToPlacementValues: Record<HdsDropdownPositionValues, HdsAnchoredPositionOptions['placement']>;
|
|
@@ -9,6 +9,7 @@ import HdsFormErrorComponent from '../error/index.ts';
|
|
|
9
9
|
import type { ComponentLike, WithBoundArgs } from '@glint/template';
|
|
10
10
|
import type { HdsFormFieldsetLayouts } from './types.ts';
|
|
11
11
|
import type { HdsYieldSignature } from '../../yield/index.ts';
|
|
12
|
+
export declare const LAYOUT_TYPES: HdsFormFieldsetLayouts[];
|
|
12
13
|
export interface HdsFormFieldsetSignature {
|
|
13
14
|
Args: {
|
|
14
15
|
extraAriaDescribedBy?: string;
|
|
@@ -9,7 +9,7 @@ import { HdsTextSizeValues } from '../../text/types.ts';
|
|
|
9
9
|
import type { HdsTextDisplaySignature } from '../../text/display.ts';
|
|
10
10
|
export declare const DEFAULT_SIZE = HdsTextSizeValues.FourHundred;
|
|
11
11
|
export declare const DEFAULT_TAG = HdsFormHeaderTitleTagValues.Div;
|
|
12
|
-
export declare const
|
|
12
|
+
export declare const TAGS: HdsFormHeaderTitleTags[];
|
|
13
13
|
export interface HdsFormHeaderTitleSignature {
|
|
14
14
|
Args: {
|
|
15
15
|
tag?: HdsFormHeaderTitleTags;
|
|
@@ -11,10 +11,10 @@ import type { HdsFormSuperSelectHorizontalPositions } from '../types.ts';
|
|
|
11
11
|
export declare const DEFAULT_HORIZONTAL_POSITION: string;
|
|
12
12
|
export declare const HORIZONTAL_POSITION_MAPPING: Record<HdsFormSuperSelectHorizontalPositionValues, import("@floating-ui/dom").Placement | undefined>;
|
|
13
13
|
export interface HdsFormSuperSelectMultipleBaseSignature {
|
|
14
|
-
Args: PowerSelectSignature['Args'] & {
|
|
14
|
+
Args: Omit<PowerSelectSignature['Args'], 'resultCountMessage'> & {
|
|
15
15
|
showAfterOptions?: boolean;
|
|
16
16
|
afterOptionsContent?: string;
|
|
17
|
-
resultCountMessage?: string;
|
|
17
|
+
resultCountMessage?: string | PowerSelectSignature['Args']['resultCountMessage'];
|
|
18
18
|
dropdownMaxWidth?: string;
|
|
19
19
|
matchTriggerWidth?: boolean;
|
|
20
20
|
isInvalid?: boolean;
|
|
@@ -29,7 +29,8 @@ export default class HdsFormSuperSelectMultipleBase extends Component<HdsFormSup
|
|
|
29
29
|
get horizontalPosition(): HdsFormSuperSelectHorizontalPositions;
|
|
30
30
|
get selectedCount(): string;
|
|
31
31
|
get optionsCount(): string;
|
|
32
|
-
get
|
|
32
|
+
get resultCountMessageText(): string;
|
|
33
|
+
get resultCountMessageFunction(): PowerSelectSignature['Args']['resultCountMessage'];
|
|
33
34
|
calculatePosition(trigger: Element, content: HTMLElement): CalculatePositionResult;
|
|
34
35
|
/**
|
|
35
36
|
* This action sets the powerSelectAPI property and optionally calls a registerAPI function.
|
|
@@ -11,10 +11,10 @@ import type { HdsFormSuperSelectHorizontalPositions } from '../types.ts';
|
|
|
11
11
|
export declare const DEFAULT_HORIZONTAL_POSITION: string;
|
|
12
12
|
export declare const HORIZONTAL_POSITION_MAPPING: Record<HdsFormSuperSelectHorizontalPositionValues, import("@floating-ui/dom").Placement | undefined>;
|
|
13
13
|
export interface HdsFormSuperSelectSingleBaseSignature {
|
|
14
|
-
Args: PowerSelectSignature['Args'] & {
|
|
14
|
+
Args: Omit<PowerSelectSignature['Args'], 'resultCountMessage'> & {
|
|
15
15
|
showAfterOptions?: boolean;
|
|
16
16
|
afterOptionsContent?: string;
|
|
17
|
-
resultCountMessage?: string;
|
|
17
|
+
resultCountMessage?: string | PowerSelectSignature['Args']['resultCountMessage'];
|
|
18
18
|
dropdownMaxWidth?: string;
|
|
19
19
|
matchTriggerWidth?: boolean;
|
|
20
20
|
isInvalid?: boolean;
|
|
@@ -25,7 +25,8 @@ export interface HdsFormSuperSelectSingleBaseSignature {
|
|
|
25
25
|
export default class HdsFormSuperSelectSingleBase extends Component<HdsFormSuperSelectSingleBaseSignature> {
|
|
26
26
|
powerSelectAPI?: PowerSelect;
|
|
27
27
|
get horizontalPosition(): HdsFormSuperSelectHorizontalPositions;
|
|
28
|
-
get
|
|
28
|
+
get resultCountMessageText(): string;
|
|
29
|
+
get resultCountMessageFunction(): PowerSelectSignature['Args']['resultCountMessage'];
|
|
29
30
|
/**
|
|
30
31
|
* This action sets the powerSelectAPI property and optionally calls a registerAPI function.
|
|
31
32
|
*
|
|
@@ -6,7 +6,7 @@ import Component from '@glimmer/component';
|
|
|
6
6
|
import { HdsFormTextInputTypeValues } from './types.ts';
|
|
7
7
|
import type { HdsFormTextInputTypes } from './types.ts';
|
|
8
8
|
export declare const DEFAULT_TYPE = HdsFormTextInputTypeValues.Text;
|
|
9
|
-
export declare const TYPES:
|
|
9
|
+
export declare const TYPES: HdsFormTextInputTypes[];
|
|
10
10
|
export interface HdsFormTextInputBaseSignature {
|
|
11
11
|
Args: {
|
|
12
12
|
hasVisibilityToggle?: boolean;
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
6
|
import type { ComponentLike } from '@glint/template';
|
|
7
7
|
import type { HdsLayoutFlexItemSignature } from './item.ts';
|
|
8
|
-
import { HdsLayoutFlexDirectionValues } from './types.ts';
|
|
8
|
+
import { HdsLayoutFlexDirectionValues, HdsLayoutFlexGapValues } from './types.ts';
|
|
9
9
|
import type { HdsLayoutFlexDirections, HdsLayoutFlexJustifys, HdsLayoutFlexAligns, HdsLayoutFlexGaps, AvailableTagNames, AvailableElements } from './types.ts';
|
|
10
10
|
export declare const DEFAULT_DIRECTION = HdsLayoutFlexDirectionValues.Row;
|
|
11
|
-
export declare const DIRECTIONS:
|
|
12
|
-
export declare const JUSTIFYS:
|
|
13
|
-
export declare const ALIGNS:
|
|
14
|
-
export declare const
|
|
11
|
+
export declare const DIRECTIONS: HdsLayoutFlexDirections[];
|
|
12
|
+
export declare const JUSTIFYS: HdsLayoutFlexJustifys[];
|
|
13
|
+
export declare const ALIGNS: HdsLayoutFlexAligns[];
|
|
14
|
+
export declare const DEFAULT_GAP = HdsLayoutFlexGapValues['Zero'];
|
|
15
|
+
export declare const GAPS: HdsLayoutFlexGaps[];
|
|
15
16
|
export interface HdsLayoutFlexSignature {
|
|
16
17
|
Args: {
|
|
17
18
|
tag?: AvailableTagNames;
|
|
@@ -5,9 +5,11 @@
|
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
6
|
import type { ComponentLike } from '@glint/template';
|
|
7
7
|
import type { HdsLayoutGridItemSignature } from '../grid/item.ts';
|
|
8
|
+
import { HdsLayoutGridGapValues } from './types.ts';
|
|
8
9
|
import type { HdsLayoutGridAligns, HdsLayoutGridGaps, AvailableTagNames, AvailableElements } from './types.ts';
|
|
9
|
-
export declare const ALIGNS:
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const ALIGNS: HdsLayoutGridAligns[];
|
|
11
|
+
export declare const DEFAULT_GAP = HdsLayoutGridGapValues['Zero'];
|
|
12
|
+
export declare const GAPS: HdsLayoutGridGaps[];
|
|
11
13
|
export interface HdsLayoutGridSignature {
|
|
12
14
|
Args: {
|
|
13
15
|
tag?: AvailableTagNames;
|
|
@@ -8,10 +8,10 @@ import type { HdsInteractiveSignature } from '../interactive/';
|
|
|
8
8
|
import type { HdsLinkColors, HdsLinkIconPositions } from './types.ts';
|
|
9
9
|
import type { HdsIconSignature } from '../icon';
|
|
10
10
|
import type Owner from '@ember/owner';
|
|
11
|
-
export declare const
|
|
11
|
+
export declare const DEFAULT_ICON_POSITION = HdsLinkIconPositionValues.Trailing;
|
|
12
12
|
export declare const DEFAULT_COLOR = HdsLinkColorValues.Primary;
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const COLORS:
|
|
13
|
+
export declare const ICON_POSITIONS: HdsLinkIconPositions[];
|
|
14
|
+
export declare const COLORS: HdsLinkColors[];
|
|
15
15
|
export interface HdsLinkInlineSignature {
|
|
16
16
|
Args: HdsInteractiveSignature['Args'] & {
|
|
17
17
|
color?: HdsLinkColors;
|
|
@@ -18,12 +18,12 @@ export interface HdsLinkStandaloneSignature {
|
|
|
18
18
|
};
|
|
19
19
|
Element: HdsInteractiveSignature['Element'];
|
|
20
20
|
}
|
|
21
|
-
export declare const
|
|
21
|
+
export declare const DEFAULT_ICON_POSITION = HdsLinkIconPositionValues.Leading;
|
|
22
22
|
export declare const DEFAULT_COLOR = HdsLinkColorValues.Primary;
|
|
23
23
|
export declare const DEFAULT_SIZE = HdsLinkStandaloneSizeValues.Medium;
|
|
24
|
-
export declare const
|
|
25
|
-
export declare const COLORS:
|
|
26
|
-
export declare const SIZES:
|
|
24
|
+
export declare const ICON_POSITIONS: HdsLinkIconPositions[];
|
|
25
|
+
export declare const COLORS: HdsLinkColors[];
|
|
26
|
+
export declare const SIZES: HdsLinkStandaloneSizes[];
|
|
27
27
|
export default class HdsLinkStandalone extends Component<HdsLinkStandaloneSignature> {
|
|
28
28
|
constructor(owner: Owner, args: HdsLinkStandaloneSignature['Args']);
|
|
29
29
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
|
-
import type {
|
|
6
|
+
import type { HdsAnchoredPositionOptions } from '../../../modifiers/hds-anchored-position.ts';
|
|
7
7
|
import type { ModifierLike } from '@glint/template';
|
|
8
8
|
import type Owner from '@ember/owner';
|
|
9
9
|
export interface HdsPopoverPrimitiveSignature {
|
|
@@ -41,7 +41,7 @@ export interface SetupPrimitivePopoverModifier {
|
|
|
41
41
|
Args: {
|
|
42
42
|
Positional: [];
|
|
43
43
|
Named: {
|
|
44
|
-
anchoredPositionOptions:
|
|
44
|
+
anchoredPositionOptions: HdsAnchoredPositionOptions;
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
}
|
|
@@ -73,7 +73,7 @@ export default class HdsPopoverPrimitive extends Component<HdsPopoverPrimitiveSi
|
|
|
73
73
|
Args: {
|
|
74
74
|
Positional: unknown[];
|
|
75
75
|
Named: {
|
|
76
|
-
anchoredPositionOptions:
|
|
76
|
+
anchoredPositionOptions: HdsAnchoredPositionOptions;
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
79
|
Element: HTMLElement;
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
6
|
import type { ModifierLike } from '@glint/template';
|
|
7
7
|
import type { SetupPrimitivePopoverModifier } from '../popover-primitive';
|
|
8
|
-
import type {
|
|
8
|
+
import type { HdsAnchoredPositionOptions } from '../../../modifiers/hds-anchored-position.ts';
|
|
9
9
|
export interface HdsRichTooltipBubbleSignature {
|
|
10
10
|
Args: {
|
|
11
|
-
placement?:
|
|
12
|
-
offset?:
|
|
13
|
-
enableCollisionDetection?:
|
|
11
|
+
placement?: HdsAnchoredPositionOptions['placement'];
|
|
12
|
+
offset?: HdsAnchoredPositionOptions['offsetOptions'];
|
|
13
|
+
enableCollisionDetection?: HdsAnchoredPositionOptions['enableCollisionDetection'];
|
|
14
14
|
width?: string;
|
|
15
15
|
height?: string;
|
|
16
16
|
isOpen?: boolean;
|
|
@@ -29,14 +29,14 @@ export default class HdsRichTooltipBubble extends Component<HdsRichTooltipBubble
|
|
|
29
29
|
* @type {string}
|
|
30
30
|
* @description Determines the position of the "popover"
|
|
31
31
|
*/
|
|
32
|
-
get placement():
|
|
33
|
-
get enableCollisionDetection():
|
|
32
|
+
get placement(): HdsAnchoredPositionOptions['placement'];
|
|
33
|
+
get enableCollisionDetection(): HdsAnchoredPositionOptions['enableCollisionDetection'];
|
|
34
34
|
get sizingStyles(): Record<string, string>;
|
|
35
35
|
get anchoredPositionOptions(): {
|
|
36
|
-
placement:
|
|
37
|
-
offsetOptions:
|
|
38
|
-
enableCollisionDetection:
|
|
36
|
+
placement: HdsAnchoredPositionOptions['placement'];
|
|
37
|
+
offsetOptions: HdsAnchoredPositionOptions['offsetOptions'];
|
|
38
|
+
enableCollisionDetection: HdsAnchoredPositionOptions['enableCollisionDetection'];
|
|
39
39
|
arrowSelector: string;
|
|
40
|
-
arrowPadding:
|
|
40
|
+
arrowPadding: HdsAnchoredPositionOptions['arrowPadding'];
|
|
41
41
|
};
|
|
42
42
|
}
|
|
@@ -6,7 +6,7 @@ import Component from '@glimmer/component';
|
|
|
6
6
|
import { HdsStepperStatusesValues } from '../types.ts';
|
|
7
7
|
import type { HdsStepperStatuses } from '../types.ts';
|
|
8
8
|
export declare const DEFAULT_STATUS = HdsStepperStatusesValues.Incomplete;
|
|
9
|
-
export declare const STATUSES:
|
|
9
|
+
export declare const STATUSES: HdsStepperStatuses[];
|
|
10
10
|
export interface HdsStepperStepIndicatorSignature {
|
|
11
11
|
Args: {
|
|
12
12
|
status?: HdsStepperStatuses;
|
|
@@ -7,8 +7,8 @@ import { HdsStepperStatusesValues } from '../types.ts';
|
|
|
7
7
|
import type { HdsIconSignature } from '../../icon';
|
|
8
8
|
import type { HdsStepperStatuses } from '../types.ts';
|
|
9
9
|
export declare const DEFAULT_STATUS = HdsStepperStatusesValues.Incomplete;
|
|
10
|
-
export declare const STATUSES:
|
|
11
|
-
export declare const MAPPING_STATUS_TO_ICONS: Record<HdsStepperStatusesValues, "type" | "map" | "filter" | "code" | "link" | "menu" | "search" | "video" | "circle" | "image" | "path" | "tag" | "repeat" | "hash" | "random" | "queue" | "shuffle" | "chevron-up" | "chevron-down" | "unfold-open" | "unfold-close" | "arrow-down" | "arrow-up" | "swap-vertical" | "top" | "key" | "end" | "start" | "change" | "pause" | "play" | "x" | "bottom" | "caret" | "grid" | "outline" | "text-wrap" | "loading" | "loading-static" | "running" | "running-static" | "apple" | "apple-color" | "alibaba" | "alibaba-color" | "amazon-ecs" | "amazon-ecs-color" | "amazon-eks" | "amazon-eks-color" | "auth0" | "auth0-color" | "aws" | "aws-color" | "aws-cdk" | "aws-cdk-color" | "aws-cloudwatch" | "aws-cloudwatch-color" | "aws-ec2" | "aws-ec2-color" | "aws-lambda" | "aws-lambda-color" | "aws-s3" | "aws-s3-color" | "azure" | "azure-color" | "azure-aks" | "azure-aks-color" | "azure-blob-storage" | "azure-blob-storage-color" | "azure-devops" | "azure-devops-color" | "azure-vms" | "azure-vms-color" | "bitbucket" | "bitbucket-color" | "bridgecrew" | "bridgecrew-color" | "cisco" | "cisco-color" | "codepen" | "codepen-color" | "confluence" | "confluence-color" | "confluent" | "confluent-color" | "datadog" | "datadog-color" | "digital-ocean" | "digital-ocean-color" | "docker" | "docker-color" | "duo" | "duo-color" | "elastic-observability" | "elastic-observability-color" | "f5" | "f5-color" | "facebook" | "facebook-color" | "figma" | "figma-color" | "gcp" | "gcp-color" | "git" | "git-color" | "gitlab" | "gitlab-color" | "github" | "github-color" | "google" | "google-color" | "google-docs" | "google-docs-color" | "google-drive" | "google-drive-color" | "google-forms" | "google-forms-color" | "google-sheets" | "google-sheets-color" | "google-slides" | "google-slides-color" | "grafana" | "grafana-color" | "helm" | "helm-color" | "infracost" | "infracost-color" | "jfrog" | "jfrog-color" | "jira" | "jira-color" | "jwt" | "jwt-color" | "kubernetes" | "kubernetes-color" | "lightlytics" | "lightlytics-color" | "linkedin" | "linkedin-color" | "linode" | "linode-color" | "linux" | "linux-color" | "loom" | "loom-color" | "meetup" | "meetup-color" | "microsoft" | "microsoft-color" | "microsoft-teams" | "microsoft-teams-color" | "minio" | "minio-color" | "mongodb" | "mongodb-color" | "new-relic" | "new-relic-color" | "okta" | "okta-color" | "oracle" | "oracle-color" | "opa" | "opa-color" | "openid" | "openid-color" | "pack" | "pack-color" | "pager-duty" | "pager-duty-color" | "ping-identity " | "ping-identity-color" | "postgres" | "postgres-color" | "rabbitmq" | "rabbitmq-color" | "saml" | "saml-color" | "service-now" | "service-now-color" | "slack" | "slack-color" | "snyk" | "snyk-color" | "splunk" | "splunk-color" | "twilio" | "twilio-color" | "twitch" | "twitch-color" | "twitter" | "twitter-color" | "twitter-x" | "twitter-x-color" | "vantage" | "vantage-color" | "venafi" | "venafi-color" | "vercel" | "vercel-color" | "vmware" | "vmware-color" | "youtube" | "youtube-color" | "boundary" | "boundary-color" | "boundary-fill" | "boundary-fill-color" | "boundary-square" | "boundary-square-color" | "consul" | "consul-color" | "consul-fill" | "consul-fill-color" | "consul-square" | "consul-square-color" | "nomad" | "nomad-color" | "nomad-fill" | "nomad-fill-color" | "nomad-square" | "nomad-square-color" | "packer" | "packer-color" | "packer-fill" | "packer-fill-color" | "packer-square" | "packer-square-color" | "terraform" | "terraform-color" | "terraform-fill" | "terraform-fill-color" | "terraform-square" | "terraform-square-color" | "vagrant" | "vagrant-color" | "vagrant-fill" | "vagrant-fill-color" | "vagrant-square" | "vagrant-square-color" | "vault" | "vault-color" | "vault-fill" | "vault-fill-color" | "vault-square" | "vault-square-color" | "vault-radar" | "vault-radar-color" | "vault-radar-fill" | "vault-radar-fill-color" | "vault-radar-square" | "vault-radar-square-color" | "vault-secrets" | "vault-secrets-color" | "vault-secrets-fill" | "vault-secrets-fill-color" | "vault-secrets-square" | "vault-secrets-square-color" | "waypoint" | "waypoint-color" | "waypoint-fill" | "waypoint-fill-color" | "waypoint-square" | "waypoint-square-color" | "hashicorp" | "hashicorp-color" | "hashicorp-fill" | "hashicorp-fill-color" | "hashicorp-square" | "hashicorp-square-color" | "hcp" | "hcp-color" | "hcp-fill" | "hcp-fill-color" | "hcp-square" | "hcp-square-color" | "accessibility" | "folder-users" | "frown" | "identity-service" | "identity-user" | "meh" | "robot" | "smile" | "user" | "user-check" | "user-circle" | "user-circle-fill" | "user-minus" | "user-plus" | "user-x" | "users" | "ampersand" | "beaker" | "bucket" | "bulb" | "circle-dot" | "circle-fill" | "circle-half" | "diamond" | "diamond-fill" | "disc" | "dot" | "dot-half" | "droplet" | "flag" | "gift" | "government" | "handshake" | "hexagon" | "hexagon-fill" | "labyrinth" | "layers" | "moon" | "octagon" | "rocket" | "sparkle" | "square" | "square-fill" | "sun" | "triangle" | "triangle-fill" | "truck" | "wand" | "zap" | "zap-off" | "docs" | "docs-download" | "docs-link" | "guide" | "guide-link" | "help" | "info" | "info-fill" | "learn" | "learn-link" | "support" | "alert-circle" | "alert-circle-fill" | "alert-diamond" | "alert-diamond-fill" | "alert-octagon" | "alert-octagon-fill" | "alert-triangle" | "alert-triangle-fill" | "check" | "check-circle" | "check-circle-fill" | "check-diamond" | "check-diamond-fill" | "check-hexagon" | "check-hexagon-fill" | "check-square" | "check-square-fill" | "skip" | "x-circle" | "x-circle-fill" | "x-diamond" | "x-diamond-fill" | "x-hexagon" | "x-hexagon-fill" | "x-square" | "x-square-fill" | "bug" | "certificate" | "eye" | "eye-off" | "fingerprint" | "keychain" | "lock" | "lock-fill" | "lock-off" | "shield" | "shield-alert" | "shield-check" | "shield-off" | "shield-x" | "token" | "unlock" | "verified" | "wall" | "minus" | "minus-circle" | "minus-circle-fill" | "minus-plus" | "minus-plus-circle" | "minus-plus-square" | "minus-square" | "minus-square-fill" | "plus" | "plus-circle" | "plus-circle-fill" | "plus-square" | "camera" | "camera-off" | "cast" | "closed-caption" | "fast-forward" | "film" | "headphones" | "music" | "pause-circle" | "play-circle" | "radio" | "rewind" | "rss" | "skip-back" | "skip-forward" | "speaker" | "stop-circle" | "volume" | "volume-down" | "volume-2" | "volume-x" | "wifi" | "wifi-off" | "compass" | "crosshair" | "map-pin" | "navigation" | "navigation-alt" | "redirect" | "target" | "align-center" | "align-justify" | "align-left" | "align-right" | "battery" | "battery-charging" | "bookmark" | "bookmark-add" | "bookmark-add-fill" | "bookmark-fill" | "bookmark-remove" | "bookmark-remove-fill" | "command" | "crop" | "dashboard" | "delete" | "download" | "edit" | "entry-point" | "exit-point" | "external-link" | "filter-circle" | "filter-fill" | "grid-alt" | "home" | "jump-link" | "layout" | "list" | "maximize" | "maximize-alt" | "minimize" | "minimize-alt" | "more-horizontal" | "more-vertical" | "mouse-pointer" | "move-horizontal" | "paperclip" | "pen-tool" | "pencil-tool" | "pin" | "power" | "printer" | "reload" | "resize-column" | "rotate-cw" | "rotate-ccw" | "share" | "sidebar" | "sidebar-hide" | "sidebar-show" | "sign-in" | "sign-out" | "slash" | "slash-square" | "sort-asc" | "sort-desc" | "switcher" | "sync" | "sync-alert" | "sync-reverse" | "toggle-left" | "toggle-right" | "trash" | "upload" | "zoom-in" | "zoom-out" | "archive" | "clipboard" | "clipboard-checked" | "clipboard-copy" | "clipboard-x" | "file" | "file-change" | "file-check" | "file-diff" | "file-minus" | "file-plus" | "file-source" | "file-text" | "file-x" | "files" | "folder" | "folder-fill" | "folder-minus" | "folder-minus-fill" | "folder-plus" | "folder-plus-fill" | "folder-star" | "inbox" | "api" | "auto-apply" | "build" | "change-circle" | "change-square" | "channel" | "cloud" | "cloud-check" | "cloud-download" | "cloud-lightning" | "cloud-lock" | "cloud-off" | "cloud-upload" | "cloud-x" | "connection" | "connection-gateway" | "cpu" | "duplicate" | "gateway" | "git-branch" | "git-commit" | "git-merge" | "git-pull-request" | "git-repo" | "hammer" | "key-values" | "mainframe" | "mesh" | "module" | "monitor" | "network" | "network-alt" | "node" | "pipeline" | "plug" | "replication-direct" | "replication-perf" | "scissors" | "server" | "server-cluster" | "serverless" | "service" | "settings" | "sliders" | "smartphone" | "socket" | "step" | "tablet" | "terminal" | "terminal-screen" | "test" | "tools" | "transform-data" | "tv" | "webhook" | "wrench" | "calendar" | "clock" | "clock-filled" | "delay" | "event" | "history" | "hourglass" | "watch" | "bar-chart" | "bar-chart-alt" | "box" | "collections" | "database" | "hard-drive" | "line-chart" | "line-chart-up" | "logs" | "package" | "pie-chart" | "save" | "trend-down" | "trend-up" | "activity" | "at-sign" | "award" | "bell" | "bell-active" | "bell-active-fill" | "bell-off" | "discussion-circle" | "discussion-square" | "heart" | "heart-fill" | "heart-off" | "mail" | "mail-open" | "message-circle" | "message-circle-fill" | "message-square" | "message-square-fill" | "mic" | "mic-off" | "newspaper" | "phone" | "phone-call" | "phone-off" | "send" | "star" | "star-circle" | "star-fill" | "star-off" | "thumbs-down" | "thumbs-up" | "video-off" | "bank-vault" | "briefcase" | "credit-card" | "dollar-sign" | "enterprise" | "globe" | "globe-private" | "org" | "provider" | "shopping-bag" | "shopping-cart" | "arrow-down-circle" | "arrow-down-left" | "arrow-down-right" | "arrow-left" | "arrow-left-circle" | "arrow-right" | "arrow-right-circle" | "arrow-up-circle" | "arrow-up-left" | "arrow-up-right" | "chevron-left" | "chevron-right" | "chevrons-down" | "chevrons-left" | "chevrons-right" | "chevrons-up" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "load-balancer" | "migrate" | "move" | "swap-horizontal">;
|
|
10
|
+
export declare const STATUSES: HdsStepperStatuses[];
|
|
11
|
+
export declare const MAPPING_STATUS_TO_ICONS: Record<HdsStepperStatusesValues, "type" | "map" | "filter" | "code" | "link" | "menu" | "search" | "video" | "circle" | "image" | "path" | "tag" | "repeat" | "hash" | "queue" | "shuffle" | "chevron-up" | "chevron-down" | "unfold-open" | "unfold-close" | "arrow-down" | "arrow-up" | "swap-vertical" | "top" | "key" | "end" | "start" | "change" | "pause" | "play" | "x" | "bottom" | "caret" | "grid" | "outline" | "text-wrap" | "loading" | "loading-static" | "running" | "running-static" | "apple" | "apple-color" | "alibaba" | "alibaba-color" | "amazon-ecs" | "amazon-ecs-color" | "amazon-eks" | "amazon-eks-color" | "auth0" | "auth0-color" | "aws" | "aws-color" | "aws-cdk" | "aws-cdk-color" | "aws-cloudwatch" | "aws-cloudwatch-color" | "aws-ec2" | "aws-ec2-color" | "aws-lambda" | "aws-lambda-color" | "aws-s3" | "aws-s3-color" | "azure" | "azure-color" | "azure-aks" | "azure-aks-color" | "azure-blob-storage" | "azure-blob-storage-color" | "azure-devops" | "azure-devops-color" | "azure-vms" | "azure-vms-color" | "bitbucket" | "bitbucket-color" | "bridgecrew" | "bridgecrew-color" | "cisco" | "cisco-color" | "codepen" | "codepen-color" | "confluence" | "confluence-color" | "confluent" | "confluent-color" | "datadog" | "datadog-color" | "digital-ocean" | "digital-ocean-color" | "docker" | "docker-color" | "duo" | "duo-color" | "elastic-observability" | "elastic-observability-color" | "f5" | "f5-color" | "facebook" | "facebook-color" | "figma" | "figma-color" | "gcp" | "gcp-color" | "git" | "git-color" | "gitlab" | "gitlab-color" | "github" | "github-color" | "google" | "google-color" | "google-docs" | "google-docs-color" | "google-drive" | "google-drive-color" | "google-forms" | "google-forms-color" | "google-sheets" | "google-sheets-color" | "google-slides" | "google-slides-color" | "grafana" | "grafana-color" | "helm" | "helm-color" | "infracost" | "infracost-color" | "jfrog" | "jfrog-color" | "jira" | "jira-color" | "jwt" | "jwt-color" | "kubernetes" | "kubernetes-color" | "lightlytics" | "lightlytics-color" | "linkedin" | "linkedin-color" | "linode" | "linode-color" | "linux" | "linux-color" | "loom" | "loom-color" | "meetup" | "meetup-color" | "microsoft" | "microsoft-color" | "microsoft-teams" | "microsoft-teams-color" | "minio" | "minio-color" | "mongodb" | "mongodb-color" | "new-relic" | "new-relic-color" | "okta" | "okta-color" | "oracle" | "oracle-color" | "opa" | "opa-color" | "openid" | "openid-color" | "pack" | "pack-color" | "pager-duty" | "pager-duty-color" | "ping-identity " | "ping-identity-color" | "postgres" | "postgres-color" | "rabbitmq" | "rabbitmq-color" | "saml" | "saml-color" | "service-now" | "service-now-color" | "slack" | "slack-color" | "snyk" | "snyk-color" | "splunk" | "splunk-color" | "twilio" | "twilio-color" | "twitch" | "twitch-color" | "twitter" | "twitter-color" | "twitter-x" | "twitter-x-color" | "vantage" | "vantage-color" | "venafi" | "venafi-color" | "vercel" | "vercel-color" | "vmware" | "vmware-color" | "youtube" | "youtube-color" | "boundary" | "boundary-color" | "boundary-fill" | "boundary-fill-color" | "boundary-square" | "boundary-square-color" | "consul" | "consul-color" | "consul-fill" | "consul-fill-color" | "consul-square" | "consul-square-color" | "nomad" | "nomad-color" | "nomad-fill" | "nomad-fill-color" | "nomad-square" | "nomad-square-color" | "packer" | "packer-color" | "packer-fill" | "packer-fill-color" | "packer-square" | "packer-square-color" | "terraform" | "terraform-color" | "terraform-fill" | "terraform-fill-color" | "terraform-square" | "terraform-square-color" | "vagrant" | "vagrant-color" | "vagrant-fill" | "vagrant-fill-color" | "vagrant-square" | "vagrant-square-color" | "vault" | "vault-color" | "vault-fill" | "vault-fill-color" | "vault-square" | "vault-square-color" | "vault-radar" | "vault-radar-color" | "vault-radar-fill" | "vault-radar-fill-color" | "vault-radar-square" | "vault-radar-square-color" | "vault-secrets" | "vault-secrets-color" | "vault-secrets-fill" | "vault-secrets-fill-color" | "vault-secrets-square" | "vault-secrets-square-color" | "waypoint" | "waypoint-color" | "waypoint-fill" | "waypoint-fill-color" | "waypoint-square" | "waypoint-square-color" | "hashicorp" | "hashicorp-color" | "hashicorp-fill" | "hashicorp-fill-color" | "hashicorp-square" | "hashicorp-square-color" | "hcp" | "hcp-color" | "hcp-fill" | "hcp-fill-color" | "hcp-square" | "hcp-square-color" | "accessibility" | "folder-users" | "frown" | "identity-service" | "identity-user" | "meh" | "robot" | "smile" | "user" | "user-check" | "user-circle" | "user-circle-fill" | "user-minus" | "user-plus" | "user-x" | "users" | "ampersand" | "beaker" | "bucket" | "bulb" | "circle-dot" | "circle-fill" | "circle-half" | "diamond" | "diamond-fill" | "disc" | "dot" | "dot-half" | "droplet" | "flag" | "gift" | "government" | "handshake" | "hexagon" | "hexagon-fill" | "labyrinth" | "layers" | "moon" | "octagon" | "random" | "rocket" | "sparkle" | "square" | "square-fill" | "sun" | "triangle" | "triangle-fill" | "truck" | "wand" | "zap" | "zap-off" | "docs" | "docs-download" | "docs-link" | "guide" | "guide-link" | "help" | "info" | "info-fill" | "learn" | "learn-link" | "support" | "alert-circle" | "alert-circle-fill" | "alert-diamond" | "alert-diamond-fill" | "alert-octagon" | "alert-octagon-fill" | "alert-triangle" | "alert-triangle-fill" | "check" | "check-circle" | "check-circle-fill" | "check-diamond" | "check-diamond-fill" | "check-hexagon" | "check-hexagon-fill" | "check-square" | "check-square-fill" | "skip" | "x-circle" | "x-circle-fill" | "x-diamond" | "x-diamond-fill" | "x-hexagon" | "x-hexagon-fill" | "x-square" | "x-square-fill" | "bug" | "certificate" | "eye" | "eye-off" | "fingerprint" | "keychain" | "lock" | "lock-fill" | "lock-off" | "shield" | "shield-alert" | "shield-check" | "shield-off" | "shield-x" | "token" | "unlock" | "verified" | "wall" | "minus" | "minus-circle" | "minus-circle-fill" | "minus-plus" | "minus-plus-circle" | "minus-plus-square" | "minus-square" | "minus-square-fill" | "plus" | "plus-circle" | "plus-circle-fill" | "plus-square" | "camera" | "camera-off" | "cast" | "closed-caption" | "fast-forward" | "film" | "headphones" | "music" | "pause-circle" | "play-circle" | "radio" | "rewind" | "rss" | "skip-back" | "skip-forward" | "speaker" | "stop-circle" | "volume" | "volume-down" | "volume-2" | "volume-x" | "wifi" | "wifi-off" | "compass" | "crosshair" | "map-pin" | "navigation" | "navigation-alt" | "redirect" | "target" | "align-center" | "align-justify" | "align-left" | "align-right" | "battery" | "battery-charging" | "bookmark" | "bookmark-add" | "bookmark-add-fill" | "bookmark-fill" | "bookmark-remove" | "bookmark-remove-fill" | "command" | "crop" | "dashboard" | "delete" | "download" | "edit" | "entry-point" | "exit-point" | "external-link" | "filter-circle" | "filter-fill" | "grid-alt" | "home" | "jump-link" | "layout" | "list" | "maximize" | "maximize-alt" | "minimize" | "minimize-alt" | "more-horizontal" | "more-vertical" | "mouse-pointer" | "move-horizontal" | "paperclip" | "pen-tool" | "pencil-tool" | "pin" | "power" | "printer" | "reload" | "resize-column" | "rotate-cw" | "rotate-ccw" | "share" | "sidebar" | "sidebar-hide" | "sidebar-show" | "sign-in" | "sign-out" | "slash" | "slash-square" | "sort-asc" | "sort-desc" | "switcher" | "sync" | "sync-alert" | "sync-reverse" | "toggle-left" | "toggle-right" | "trash" | "upload" | "zoom-in" | "zoom-out" | "archive" | "clipboard" | "clipboard-checked" | "clipboard-copy" | "clipboard-x" | "file" | "file-change" | "file-check" | "file-diff" | "file-minus" | "file-plus" | "file-source" | "file-text" | "file-x" | "files" | "folder" | "folder-fill" | "folder-minus" | "folder-minus-fill" | "folder-plus" | "folder-plus-fill" | "folder-star" | "inbox" | "api" | "auto-apply" | "build" | "change-circle" | "change-square" | "channel" | "cloud" | "cloud-check" | "cloud-download" | "cloud-lightning" | "cloud-lock" | "cloud-off" | "cloud-upload" | "cloud-x" | "connection" | "connection-gateway" | "cpu" | "duplicate" | "gateway" | "git-branch" | "git-commit" | "git-merge" | "git-pull-request" | "git-repo" | "hammer" | "key-values" | "mainframe" | "mesh" | "module" | "monitor" | "network" | "network-alt" | "node" | "pipeline" | "plug" | "replication-direct" | "replication-perf" | "scissors" | "server" | "server-cluster" | "serverless" | "service" | "settings" | "sliders" | "smartphone" | "socket" | "step" | "tablet" | "terminal" | "terminal-screen" | "test" | "tools" | "transform-data" | "tv" | "webhook" | "wrench" | "calendar" | "clock" | "clock-filled" | "delay" | "event" | "history" | "hourglass" | "watch" | "bar-chart" | "bar-chart-alt" | "box" | "collections" | "database" | "hard-drive" | "line-chart" | "line-chart-up" | "logs" | "package" | "pie-chart" | "save" | "trend-down" | "trend-up" | "activity" | "at-sign" | "award" | "bell" | "bell-active" | "bell-active-fill" | "bell-off" | "discussion-circle" | "discussion-square" | "heart" | "heart-fill" | "heart-off" | "mail" | "mail-open" | "message-circle" | "message-circle-fill" | "message-square" | "message-square-fill" | "mic" | "mic-off" | "newspaper" | "phone" | "phone-call" | "phone-off" | "send" | "star" | "star-circle" | "star-fill" | "star-off" | "thumbs-down" | "thumbs-up" | "video-off" | "bank-vault" | "briefcase" | "credit-card" | "dollar-sign" | "enterprise" | "globe" | "globe-private" | "org" | "provider" | "shopping-bag" | "shopping-cart" | "arrow-down-circle" | "arrow-down-left" | "arrow-down-right" | "arrow-left" | "arrow-left-circle" | "arrow-right" | "arrow-right-circle" | "arrow-up-circle" | "arrow-up-left" | "arrow-up-right" | "chevron-left" | "chevron-right" | "chevrons-down" | "chevrons-left" | "chevrons-right" | "chevrons-up" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "load-balancer" | "migrate" | "move" | "swap-horizontal">;
|
|
12
12
|
export interface HdsStepperTaskIndicatorSignature {
|
|
13
13
|
Args: {
|
|
14
14
|
status?: HdsStepperStatuses;
|
|
@@ -8,9 +8,9 @@ import type { HdsTagColors } from './types.ts';
|
|
|
8
8
|
import { HdsTagTooltipPlacementValues } from './types.ts';
|
|
9
9
|
import type { HdsTagTooltipPlacements } from './types.ts';
|
|
10
10
|
import type { HdsInteractiveSignature } from '../interactive/';
|
|
11
|
-
export declare const COLORS:
|
|
11
|
+
export declare const COLORS: HdsTagColors[];
|
|
12
12
|
export declare const DEFAULT_COLOR = HdsTagColorValues.Primary;
|
|
13
|
-
export declare const TOOLTIP_PLACEMENTS:
|
|
13
|
+
export declare const TOOLTIP_PLACEMENTS: HdsTagTooltipPlacements[];
|
|
14
14
|
export declare const DEFAULT_TOOLTIP_PLACEMENT = HdsTagTooltipPlacementValues.Top;
|
|
15
15
|
export interface HdsTagSignature {
|
|
16
16
|
Args: HdsInteractiveSignature['Args'] & {
|
|
@@ -23,8 +23,8 @@ export interface HdsTagSignature {
|
|
|
23
23
|
Element: HTMLSpanElement;
|
|
24
24
|
}
|
|
25
25
|
export default class HdsTag extends Component<HdsTagSignature> {
|
|
26
|
-
private
|
|
27
|
-
private
|
|
26
|
+
private _element?;
|
|
27
|
+
private get _isTextOverflow();
|
|
28
28
|
private _setUpObserver;
|
|
29
29
|
/**
|
|
30
30
|
* @param tooltioPlacement
|
|
@@ -64,5 +64,4 @@ export default class HdsTag extends Component<HdsTagSignature> {
|
|
|
64
64
|
* @return {string} The "class" attribute to apply to the component.
|
|
65
65
|
*/
|
|
66
66
|
get classNames(): string;
|
|
67
|
-
private _isOverflow;
|
|
68
67
|
}
|