@hashicorp/design-system-components 4.5.3 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/declarations/components/hds/accordion/index.d.ts +32 -3
- package/declarations/components/hds/accordion/index.d.ts.map +1 -1
- package/declarations/components/hds/accordion/item/button.d.ts +2 -0
- package/declarations/components/hds/accordion/item/button.d.ts.map +1 -1
- package/declarations/components/hds/accordion/item/index.d.ts +39 -2
- package/declarations/components/hds/accordion/item/index.d.ts.map +1 -1
- package/declarations/components/hds/accordion/types.d.ts +21 -0
- package/declarations/components/hds/accordion/types.d.ts.map +1 -0
- package/declarations/components/hds/alert/index.d.ts +4 -4
- package/declarations/components/hds/alert/index.d.ts.map +1 -1
- package/declarations/components/hds/app-footer/copyright.d.ts.map +1 -1
- package/declarations/components/hds/app-footer/index.d.ts +1 -1
- package/declarations/components/hds/app-footer/index.d.ts.map +1 -1
- package/declarations/components/hds/app-footer/legal-links.d.ts.map +1 -1
- package/declarations/components/hds/app-footer/status-link.d.ts +3 -3
- package/declarations/components/hds/app-footer/status-link.d.ts.map +1 -1
- package/declarations/components/hds/app-frame/index.d.ts.map +1 -1
- package/declarations/components/hds/application-state/footer.d.ts.map +1 -1
- package/declarations/components/hds/badge/index.d.ts +4 -4
- package/declarations/components/hds/badge/index.d.ts.map +1 -1
- package/declarations/components/hds/badge-count/index.d.ts +6 -6
- package/declarations/components/hds/badge-count/index.d.ts.map +1 -1
- package/declarations/components/hds/badge-count/types.d.ts +2 -2
- package/declarations/components/hds/badge-count/types.d.ts.map +1 -1
- package/declarations/components/hds/button/index.d.ts +1 -1
- package/declarations/components/hds/copy/button/index.d.ts +3 -2
- package/declarations/components/hds/copy/button/index.d.ts.map +1 -1
- package/declarations/components/hds/copy/snippet/index.d.ts +6 -5
- package/declarations/components/hds/copy/snippet/index.d.ts.map +1 -1
- package/declarations/components/hds/disclosure-primitive/index.d.ts +6 -1
- package/declarations/components/hds/disclosure-primitive/index.d.ts.map +1 -1
- package/declarations/components/hds/dismiss-button/index.d.ts.map +1 -1
- package/declarations/components/hds/form/super-select/single/base.d.ts.map +1 -1
- package/declarations/components/hds/icon-tile/index.d.ts +4 -4
- package/declarations/components/hds/icon-tile/index.d.ts.map +1 -1
- package/declarations/components/hds/interactive/index.d.ts.map +1 -1
- package/declarations/components/hds/link/inline.d.ts +3 -3
- package/declarations/components/hds/link/inline.d.ts.map +1 -1
- package/declarations/components/hds/link/standalone.d.ts +7 -7
- package/declarations/components/hds/link/standalone.d.ts.map +1 -1
- package/declarations/components/hds/popover-primitive/index.d.ts +66 -20
- package/declarations/components/hds/popover-primitive/index.d.ts.map +1 -1
- package/declarations/components/hds/reveal/toggle/button.d.ts.map +1 -1
- package/declarations/components/hds/rich-tooltip/bubble.d.ts +33 -17
- package/declarations/components/hds/rich-tooltip/bubble.d.ts.map +1 -1
- package/declarations/components/hds/rich-tooltip/index.d.ts +27 -5
- package/declarations/components/hds/rich-tooltip/index.d.ts.map +1 -1
- package/declarations/components/hds/rich-tooltip/toggle.d.ts +32 -8
- package/declarations/components/hds/rich-tooltip/toggle.d.ts.map +1 -1
- package/declarations/components/hds/rich-tooltip/types.d.ts +16 -0
- package/declarations/components/hds/rich-tooltip/types.d.ts.map +1 -0
- package/declarations/components/hds/separator/index.d.ts +3 -3
- package/declarations/components/hds/separator/index.d.ts.map +1 -1
- package/declarations/components/hds/side-nav/header/home-link.d.ts.map +1 -1
- package/declarations/components/hds/side-nav/header/icon-button.d.ts.map +1 -1
- package/declarations/components/hds/side-nav/index.d.ts.map +1 -1
- package/declarations/components/hds/side-nav/portal/target.d.ts.map +1 -1
- package/declarations/components/hds/stepper/step/indicator.d.ts +1 -1
- package/declarations/components/hds/stepper/step/indicator.d.ts.map +1 -1
- package/declarations/components/hds/stepper/task/indicator.d.ts +4 -3
- package/declarations/components/hds/stepper/task/indicator.d.ts.map +1 -1
- package/declarations/components/hds/tabs/index.d.ts.map +1 -1
- package/declarations/components/hds/tabs/panel.d.ts.map +1 -1
- package/declarations/components/hds/tabs/tab.d.ts +1 -1
- package/declarations/components/hds/tabs/tab.d.ts.map +1 -1
- package/declarations/components/hds/tabs/types.d.ts +4 -0
- package/declarations/components/hds/tabs/types.d.ts.map +1 -1
- package/declarations/components/hds/tag/index.d.ts +2 -2
- package/declarations/components/hds/tag/index.d.ts.map +1 -1
- package/declarations/components/hds/text/body.d.ts +6 -6
- package/declarations/components/hds/text/body.d.ts.map +1 -1
- package/declarations/components/hds/text/code.d.ts +3 -3
- package/declarations/components/hds/text/code.d.ts.map +1 -1
- package/declarations/components/hds/text/display.d.ts +3 -3
- package/declarations/components/hds/text/display.d.ts.map +1 -1
- package/declarations/components/hds/text/index.d.ts +7 -8
- package/declarations/components/hds/text/index.d.ts.map +1 -1
- package/declarations/helpers/hds-link-to-query.d.ts +3 -1
- package/declarations/helpers/hds-link-to-query.d.ts.map +1 -1
- package/declarations/modifiers/hds-anchored-position.d.ts +28 -9
- package/declarations/modifiers/hds-anchored-position.d.ts.map +1 -1
- package/declarations/modifiers/hds-clipboard.d.ts.map +1 -1
- package/declarations/modifiers/hds-register-event.d.ts +9 -3
- package/declarations/modifiers/hds-register-event.d.ts.map +1 -1
- package/declarations/template-registry.d.ts +19 -0
- package/declarations/template-registry.d.ts.map +1 -1
- package/dist/components/hds/accordion/index.js +53 -5
- package/dist/components/hds/accordion/index.js.map +1 -1
- package/dist/components/hds/accordion/item/button.js +6 -1
- package/dist/components/hds/accordion/item/button.js.map +1 -1
- package/dist/components/hds/accordion/item/index.js +64 -2
- package/dist/components/hds/accordion/item/index.js.map +1 -1
- package/dist/components/hds/accordion/types.js +24 -0
- package/dist/components/hds/accordion/types.js.map +1 -0
- package/dist/components/hds/alert/index.js +2 -1
- package/dist/components/hds/alert/index.js.map +1 -1
- package/dist/components/hds/app-footer/copyright.js.map +1 -1
- package/dist/components/hds/app-footer/index.js.map +1 -1
- package/dist/components/hds/app-footer/legal-links.js.map +1 -1
- package/dist/components/hds/app-footer/status-link.js.map +1 -1
- package/dist/components/hds/app-frame/index.js.map +1 -1
- package/dist/components/hds/application-state/footer.js.map +1 -1
- package/dist/components/hds/application-state/index.js.map +1 -1
- package/dist/components/hds/badge/index.js.map +1 -1
- package/dist/components/hds/badge-count/index.js.map +1 -1
- package/dist/components/hds/badge-count/types.js.map +1 -1
- package/dist/components/hds/copy/button/index.js.map +1 -1
- package/dist/components/hds/copy/snippet/index.js +3 -3
- package/dist/components/hds/copy/snippet/index.js.map +1 -1
- package/dist/components/hds/disclosure-primitive/index.js +37 -6
- package/dist/components/hds/disclosure-primitive/index.js.map +1 -1
- package/dist/components/hds/dismiss-button/index.js.map +1 -1
- package/dist/components/hds/form/error/index.js +1 -1
- package/dist/components/hds/form/error/index.js.map +1 -1
- package/dist/components/hds/form/field/index.js +1 -1
- package/dist/components/hds/form/field/index.js.map +1 -1
- package/dist/components/hds/form/fieldset/index.js +1 -1
- package/dist/components/hds/form/fieldset/index.js.map +1 -1
- package/dist/components/hds/form/radio-card/index.js +1 -1
- package/dist/components/hds/form/radio-card/index.js.map +1 -1
- package/dist/components/hds/form/super-select/multiple/base.js.map +1 -1
- package/dist/components/hds/form/super-select/single/base.js.map +1 -1
- package/dist/components/hds/icon-tile/index.js.map +1 -1
- package/dist/components/hds/interactive/index.js.map +1 -1
- package/dist/components/hds/link/inline.js +1 -1
- package/dist/components/hds/link/inline.js.map +1 -1
- package/dist/components/hds/link/standalone.js +2 -2
- package/dist/components/hds/link/standalone.js.map +1 -1
- package/dist/components/hds/page-header/index.js.map +1 -1
- package/dist/components/hds/popover-primitive/index.js +53 -51
- package/dist/components/hds/popover-primitive/index.js.map +1 -1
- package/dist/components/hds/reveal/toggle/button.js.map +1 -1
- package/dist/components/hds/rich-tooltip/bubble.js +3 -6
- package/dist/components/hds/rich-tooltip/bubble.js.map +1 -1
- package/dist/components/hds/rich-tooltip/index.js +6 -4
- package/dist/components/hds/rich-tooltip/index.js.map +1 -1
- package/dist/components/hds/rich-tooltip/toggle.js +6 -5
- package/dist/components/hds/rich-tooltip/toggle.js.map +1 -1
- package/dist/components/hds/rich-tooltip/types.js +19 -0
- package/dist/components/hds/rich-tooltip/types.js.map +1 -0
- package/dist/components/hds/separator/index.js +2 -2
- package/dist/components/hds/separator/index.js.map +1 -1
- package/dist/components/hds/side-nav/header/home-link.js.map +1 -1
- package/dist/components/hds/side-nav/header/icon-button.js.map +1 -1
- package/dist/components/hds/side-nav/index.js.map +1 -1
- package/dist/components/hds/side-nav/list/index.js.map +1 -1
- package/dist/components/hds/side-nav/portal/target.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/tabs/index.js.map +1 -1
- package/dist/components/hds/tabs/panel.js.map +1 -1
- package/dist/components/hds/tabs/tab.js +0 -2
- package/dist/components/hds/tabs/tab.js.map +1 -1
- package/dist/components/hds/tabs/types.js +5 -0
- package/dist/components/hds/tabs/types.js.map +1 -1
- package/dist/components/hds/tag/index.js +1 -0
- package/dist/components/hds/tag/index.js.map +1 -1
- package/dist/components/hds/text/body.js +4 -4
- package/dist/components/hds/text/body.js.map +1 -1
- package/dist/components/hds/text/code.js +1 -1
- package/dist/components/hds/text/code.js.map +1 -1
- package/dist/components/hds/text/display.js +2 -2
- package/dist/components/hds/text/display.js.map +1 -1
- package/dist/components/hds/text/index.js +4 -5
- package/dist/components/hds/text/index.js.map +1 -1
- package/dist/helpers/hds-link-to-models.js.map +1 -1
- package/dist/helpers/hds-link-to-query.js.map +1 -1
- package/dist/modifiers/hds-anchored-position.js +8 -6
- package/dist/modifiers/hds-anchored-position.js.map +1 -1
- package/dist/modifiers/hds-clipboard.js.map +1 -1
- package/dist/modifiers/hds-register-event.js +0 -1
- package/dist/modifiers/hds-register-event.js.map +1 -1
- package/dist/styles/@hashicorp/design-system-components.css +109 -45
- package/dist/styles/components/accordion.scss +131 -53
- package/dist/styles/components/rich-tooltip.scss +0 -5
- package/package.json +5 -6
|
@@ -2,10 +2,16 @@
|
|
|
2
2
|
* Copyright (c) HashiCorp, Inc.
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
import Component from '@glimmer/component';
|
|
6
6
|
import type { ComponentLike } from '@glint/template';
|
|
7
7
|
import type { HdsAccordionItemSignature } from './item/index.ts';
|
|
8
|
+
import type { HdsAccordionForceStates, HdsAccordionSizes, HdsAccordionTypes } from './types.ts';
|
|
8
9
|
interface HdsAccordionSignature {
|
|
10
|
+
Args: {
|
|
11
|
+
size?: HdsAccordionSizes;
|
|
12
|
+
type?: HdsAccordionTypes;
|
|
13
|
+
forceState?: HdsAccordionForceStates;
|
|
14
|
+
};
|
|
9
15
|
Blocks: {
|
|
10
16
|
default: [
|
|
11
17
|
{
|
|
@@ -15,6 +21,29 @@ interface HdsAccordionSignature {
|
|
|
15
21
|
};
|
|
16
22
|
Element: HTMLDivElement;
|
|
17
23
|
}
|
|
18
|
-
|
|
19
|
-
|
|
24
|
+
export default class HdsAccordionComponent extends Component<HdsAccordionSignature> {
|
|
25
|
+
/**
|
|
26
|
+
* Sets the size for the component
|
|
27
|
+
*
|
|
28
|
+
* @param size
|
|
29
|
+
* @type {HdsAccordionSizes}
|
|
30
|
+
* @default 'medium'
|
|
31
|
+
*/
|
|
32
|
+
get size(): HdsAccordionSizes;
|
|
33
|
+
/**
|
|
34
|
+
* Sets the type of the component
|
|
35
|
+
*
|
|
36
|
+
* @param type
|
|
37
|
+
* @type {HdsAccordionTypes}
|
|
38
|
+
* @default 'card'
|
|
39
|
+
*/
|
|
40
|
+
get type(): HdsAccordionTypes;
|
|
41
|
+
/**
|
|
42
|
+
* Get the class names to apply to the component.
|
|
43
|
+
* @method classNames
|
|
44
|
+
* @return {string} The "class" attribute to apply to the component.
|
|
45
|
+
*/
|
|
46
|
+
get classNames(): string;
|
|
47
|
+
}
|
|
48
|
+
export {};
|
|
20
49
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/accordion/index.ts"],"names":[],"mappings":"AAAA;;;GAGG
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/accordion/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,KAAK,EACV,uBAAuB,EACvB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,YAAY,CAAC;AAEpB,UAAU,qBAAqB;IAC7B,IAAI,EAAE;QACJ,IAAI,CAAC,EAAE,iBAAiB,CAAC;QACzB,IAAI,CAAC,EAAE,iBAAiB,CAAC;QACzB,UAAU,CAAC,EAAE,uBAAuB,CAAC;KACtC,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE;YACP;gBACE,IAAI,CAAC,EAAE,aAAa,CAAC,yBAAyB,CAAC,CAAC;aACjD;SACF,CAAC;KACH,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,SAAS,CAAC,qBAAqB,CAAC;IACjF;;;;;;OAMG;IACH,IAAI,IAAI,IAAI,iBAAiB,CAW5B;IAED;;;;;;OAMG;IACH,IAAI,IAAI,IAAI,iBAAiB,CAW5B;IAED;;;;OAIG;IACH,IAAI,UAAU,IAAI,MAAM,CAUvB;CAeF"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
|
+
import type { HdsAccordionSizes } from '../types.ts';
|
|
6
7
|
interface HdsAccordionItemButtonSignature {
|
|
7
8
|
Args: {
|
|
8
9
|
ariaLabel?: string;
|
|
@@ -10,6 +11,7 @@ interface HdsAccordionItemButtonSignature {
|
|
|
10
11
|
isOpen?: boolean;
|
|
11
12
|
onClickToggle?: (event: MouseEvent, ...args: any[]) => void;
|
|
12
13
|
parentContainsInteractive?: boolean;
|
|
14
|
+
size?: HdsAccordionSizes;
|
|
13
15
|
};
|
|
14
16
|
Element: HTMLButtonElement;
|
|
15
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../../src/components/hds/accordion/item/button.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAG3C,UAAU,+BAA+B;IACvC,IAAI,EAAE;QACJ,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,CAAC,EAAE,OAAO,CAAC;QAEjB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;QAC5D,yBAAyB,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../../src/components/hds/accordion/item/button.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAG3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,UAAU,+BAA+B;IACvC,IAAI,EAAE;QACJ,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,CAAC,EAAE,OAAO,CAAC;QAEjB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;QAC5D,yBAAyB,CAAC,EAAE,OAAO,CAAC;QACpC,IAAI,CAAC,EAAE,iBAAiB,CAAC;KAC1B,CAAC;IACF,OAAO,EAAE,iBAAiB,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,OAAO,+BAAgC,SAAQ,SAAS,CAAC,+BAA+B,CAAC;IAErG,OAAO,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAMhC;;;;OAIG;IACH,IAAI,UAAU,IAAI,MAAM,CAqBvB;CAqBF"}
|
|
@@ -3,15 +3,30 @@
|
|
|
3
3
|
* SPDX-License-Identifier: MPL-2.0
|
|
4
4
|
*/
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
|
+
import { HdsAccordionSizeValues, HdsAccordionTypeValues } from '../types.ts';
|
|
7
|
+
import type { HdsAccordionForceStates, HdsAccordionSizes, HdsAccordionTypes } from '../types.ts';
|
|
8
|
+
export declare const SIZES: string[];
|
|
9
|
+
export declare const DEFAULT_SIZE = HdsAccordionSizeValues.Medium;
|
|
10
|
+
export declare const TYPES: string[];
|
|
11
|
+
export declare const DEFAULT_TYPE = HdsAccordionTypeValues.Card;
|
|
6
12
|
export interface HdsAccordionItemSignature {
|
|
7
13
|
Args: {
|
|
8
14
|
ariaLabel?: string;
|
|
9
|
-
containsInteractive?: boolean;
|
|
10
15
|
isOpen?: boolean;
|
|
16
|
+
isStatic?: boolean;
|
|
17
|
+
containsInteractive?: boolean;
|
|
18
|
+
size?: HdsAccordionSizes;
|
|
19
|
+
type?: HdsAccordionTypes;
|
|
20
|
+
forceState?: HdsAccordionForceStates;
|
|
21
|
+
onClickToggle?: (event: MouseEvent, ...args: any[]) => void;
|
|
11
22
|
};
|
|
12
23
|
Blocks: {
|
|
13
|
-
content?: [];
|
|
14
24
|
toggle?: [];
|
|
25
|
+
content: [
|
|
26
|
+
{
|
|
27
|
+
close: (...args: any[]) => void;
|
|
28
|
+
}
|
|
29
|
+
];
|
|
15
30
|
};
|
|
16
31
|
Element: HTMLElement;
|
|
17
32
|
}
|
|
@@ -34,6 +49,28 @@ export default class HdsAccordionItemComponent extends Component<HdsAccordionIte
|
|
|
34
49
|
* @default false
|
|
35
50
|
*/
|
|
36
51
|
get containsInteractive(): boolean;
|
|
52
|
+
/**
|
|
53
|
+
* @param toggleTextSize
|
|
54
|
+
* @type {HdsTextSizes}
|
|
55
|
+
* @default 'medium'
|
|
56
|
+
*/
|
|
57
|
+
get toggleTextSize(): number;
|
|
58
|
+
/**
|
|
59
|
+
* Sets the size for the component
|
|
60
|
+
*
|
|
61
|
+
* @param size
|
|
62
|
+
* @type {HdsAccordionSizes}
|
|
63
|
+
* @default 'medium'
|
|
64
|
+
*/
|
|
65
|
+
get size(): HdsAccordionSizes;
|
|
66
|
+
/**
|
|
67
|
+
* Sets the type of the component
|
|
68
|
+
*
|
|
69
|
+
* @param type
|
|
70
|
+
* @type {HdsAccordionTypes}
|
|
71
|
+
* @default 'card'
|
|
72
|
+
*/
|
|
73
|
+
get type(): HdsAccordionTypes;
|
|
37
74
|
/**
|
|
38
75
|
* Get the class names to apply to the component.
|
|
39
76
|
* @method classNames
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/hds/accordion/item/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/hds/accordion/item/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAI3C,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC7E,OAAO,KAAK,EACV,uBAAuB,EACvB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,KAAK,EAAE,MAAM,EAA0C,CAAC;AACrE,eAAO,MAAM,YAAY,gCAAgC,CAAC;AAE1D,eAAO,MAAM,KAAK,EAAE,MAAM,EAA0C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
|
4
|
+
*/
|
|
5
|
+
export declare enum HdsAccordionTypeValues {
|
|
6
|
+
Card = "card",
|
|
7
|
+
Flush = "flush"
|
|
8
|
+
}
|
|
9
|
+
export type HdsAccordionTypes = `${HdsAccordionTypeValues}`;
|
|
10
|
+
export declare enum HdsAccordionSizeValues {
|
|
11
|
+
Small = "small",
|
|
12
|
+
Medium = "medium",
|
|
13
|
+
Large = "large"
|
|
14
|
+
}
|
|
15
|
+
export type HdsAccordionSizes = `${HdsAccordionSizeValues}`;
|
|
16
|
+
export declare enum HdsAccordionForceStateValues {
|
|
17
|
+
Open = "open",
|
|
18
|
+
Close = "close"
|
|
19
|
+
}
|
|
20
|
+
export type HdsAccordionForceStates = `${HdsAccordionForceStateValues}`;
|
|
21
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/accordion/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,oBAAY,sBAAsB;IAChC,IAAI,SAAS;IACb,KAAK,UAAU;CAChB;AACD,MAAM,MAAM,iBAAiB,GAAG,GAAG,sBAAsB,EAAE,CAAC;AAE5D,oBAAY,sBAAsB;IAChC,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AACD,MAAM,MAAM,iBAAiB,GAAG,GAAG,sBAAsB,EAAE,CAAC;AAE5D,oBAAY,4BAA4B;IACtC,IAAI,SAAS;IACb,KAAK,UAAU;CAChB;AACD,MAAM,MAAM,uBAAuB,GAAG,GAAG,4BAA4B,EAAE,CAAC"}
|
|
@@ -52,11 +52,11 @@ export default class HdsAlertComponent extends Component<HdsAlertSignature> {
|
|
|
52
52
|
* @default neutral
|
|
53
53
|
* @description Determines the color scheme for the alert.
|
|
54
54
|
*/
|
|
55
|
-
get color():
|
|
55
|
+
get color(): HdsAlertColors;
|
|
56
56
|
/**
|
|
57
57
|
* @param icon
|
|
58
58
|
* @type {string}
|
|
59
|
-
* @default
|
|
59
|
+
* @default false
|
|
60
60
|
* @description The name of the icon to be used.
|
|
61
61
|
*/
|
|
62
62
|
get icon(): FlightIconSignature['Args']['name'] | false;
|
|
@@ -65,13 +65,13 @@ export default class HdsAlertComponent extends Component<HdsAlertSignature> {
|
|
|
65
65
|
* @type {function}
|
|
66
66
|
* @default () => {}
|
|
67
67
|
*/
|
|
68
|
-
get onDismiss():
|
|
68
|
+
get onDismiss(): ((event: MouseEvent, ...args: any[]) => void) | false;
|
|
69
69
|
/**
|
|
70
70
|
* @param iconSize
|
|
71
71
|
* @type {string}
|
|
72
72
|
* @description ensures that the correct icon size is used. Automatically calculated.
|
|
73
73
|
*/
|
|
74
|
-
get iconSize():
|
|
74
|
+
get iconSize(): '16' | '24';
|
|
75
75
|
/**
|
|
76
76
|
* Get the class names to apply to the component.
|
|
77
77
|
* @method Alert#classNames
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/alert/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,OAAO,EAAE,mBAAmB,EAAsB,MAAM,YAAY,CAAC;AAErE,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,KAAK,kBAAkB,MAAM,WAAW,CAAC;AAChD,OAAO,KAAK,0BAA0B,MAAM,oBAAoB,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAEh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M,CAAC,OAAO,OAAO,8BAA+B,SAAQ,SAAS,CAAC,8BAA8B,CAAC;IACnG;;;;;OAKG;IACH,IAAI,IAAI,
|
|
1
|
+
{"version":3,"file":"copyright.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/app-footer/copyright.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAE3C,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE;QACJ,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,OAAO,8BAA+B,SAAQ,SAAS,CAAC,8BAA8B,CAAC;IACnG;;;;;OAKG;IACH,IAAI,IAAI,IAAI,MAAM,GAAG,MAAM,CAE1B;CAyBF"}
|
|
@@ -43,7 +43,7 @@ export default class HdsAppFooterComponent extends Component<HdsAppFooterSignatu
|
|
|
43
43
|
* @description The component theme
|
|
44
44
|
* @default 'light'
|
|
45
45
|
*/
|
|
46
|
-
get theme():
|
|
46
|
+
get theme(): HdsAppFooterThemeTypes;
|
|
47
47
|
/**
|
|
48
48
|
* Get the class names to apply to the component.
|
|
49
49
|
* @method classNames
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/app-footer/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAE3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,KAAK,yBAAyB,MAAM,eAAe,CAAC;AAC3D,OAAO,KAAK,+BAA+B,MAAM,eAAe,CAAC;AACjE,OAAO,KAAK,yBAAyB,MAAM,QAAQ,CAAC;AACpD,OAAO,KAAK,+BAA+B,MAAM,eAAe,CAAC;AACjE,OAAO,K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sB,EAAE,MAAM,YAAY,CAAC;AAEzD,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE;QACJ,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,KAAK,CAAC,EAAE,sBAAsB,CAAC;KAChC,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE;YACP;gBACE,WAAW,CAAC,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;gBAC/C,UAAU,CAAC,EAAE,aAAa,CAAC,+BAA+B,CAAC,CAAC;gBAC5D,UAAU,CAAC,EAAE,aAAa,CAAC,+BAA+B,CAAC,CAAC;gBAC5D,IAAI,CAAC,EAAE,aAAa,CAAC,yBAAyB,CAAC,CAAC;gBAChD,IAAI,CAAC,EAAE,aAAa,CAAC,yBAAyB,CAAC,CAAC;gBAChD,UAAU,CAAC,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;aAC/C;SACF,CAAC;KACH,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,SAAS,CAAC,qBAAqB,CAAC;IACjF;;;;OAIG;IACH,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED;;;;;OAKG;IACH,IAAI,KAAK,IAAI,sBAAsB,CAElC;IAED;;;;OAIG;IACH,IAAI,UAAU,IAAI,MAAM,CAOvB;CAqCF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legal-links.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/app-footer/legal-links.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAE3C,MAAM,WAAW,+BAA+B;IAC9C,IAAI,EAAE;QACJ,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;KAC/B,CAAC;IACF,OAAO,EAAE,gBAAgB,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,OAAO,+BAAgC,SAAQ,SAAS,CAAC,+BAA+B,CAAC;IACrG;;;;OAIG;IACH,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"legal-links.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/app-footer/legal-links.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAE3C,MAAM,WAAW,+BAA+B;IAC9C,IAAI,EAAE;QACJ,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;KAC/B,CAAC;IACF,OAAO,EAAE,gBAAgB,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,OAAO,+BAAgC,SAAQ,SAAS,CAAC,+BAA+B,CAAC;IACrG;;;;OAIG;IACH,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED;;;;OAIG;IACH,IAAI,cAAc,IAAI,MAAM,CAE3B;IAED;;;;OAIG;IACH,IAAI,YAAY,IAAI,MAAM,CAIzB;IAED;;;;OAIG;IACH,IAAI,cAAc,IAAI,MAAM,CAE3B;IAED;;;;OAIG;IACH,IAAI,eAAe,IAAI,MAAM,CAE5B;IAED;;;;OAIG;IACH,IAAI,oBAAoB,IAAI,MAAM,CAKjC;CA6DF"}
|
|
@@ -10,7 +10,7 @@ import type { HdsAppFooterLinkSignature } from './link.ts';
|
|
|
10
10
|
import type { FlightIconSignature } from '@hashicorp/ember-flight-icons/components/flight-icon';
|
|
11
11
|
export declare const STATUSES: Record<import("./types.ts").HdsAppFooterStatusValues, {
|
|
12
12
|
text: string;
|
|
13
|
-
iconName: "
|
|
13
|
+
iconName: "type" | "map" | "filter" | "code" | "link" | "menu" | "search" | "video" | "circle" | "image" | "path" | "tag" | "repeat" | "hash" | "target" | "change" | "pause" | "play" | "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" | "datadog" | "datadog-color" | "digital-ocean" | "digital-ocean-color" | "docker" | "docker-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" | "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" | "rabbitmq" | "rabbitmq-color" | "saml" | "saml-color" | "service-now" | "service-now-color" | "slack" | "slack-color" | "snyk" | "snyk-color" | "splunk" | "splunk-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" | "arrow-down" | "arrow-down-circle" | "arrow-down-left" | "arrow-down-right" | "arrow-left" | "arrow-left-circle" | "arrow-right" | "arrow-right-circle" | "arrow-up" | "arrow-up-circle" | "arrow-up-left" | "arrow-up-right" | "caret" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "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" | "shuffle" | "swap-horizontal" | "swap-vertical" | "bank-vault" | "briefcase" | "credit-card" | "dollar-sign" | "enterprise" | "globe" | "globe-private" | "org" | "provider" | "shopping-bag" | "shopping-cart" | "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" | "bar-chart" | "bar-chart-alt" | "box" | "collections" | "database" | "hard-drive" | "line-chart" | "line-chart-up" | "logs" | "package" | "pie-chart" | "queue" | "save" | "trend-down" | "trend-up" | "calendar" | "clock" | "clock-filled" | "delay" | "event" | "history" | "hourglass" | "watch" | "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" | "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" | "align-center" | "align-justify" | "align-left" | "align-right" | "battery" | "battery-charging" | "bookmark" | "bookmark-add" | "bookmark-add-fill" | "bookmark-fill" | "bookmark-remove" | "bookmark-remove-fill" | "bottom" | "command" | "crop" | "dashboard" | "delete" | "download" | "edit" | "entry-point" | "exit-point" | "external-link" | "filter-circle" | "filter-fill" | "grid" | "grid-alt" | "home" | "jump-link" | "layout" | "list" | "maximize" | "maximize-alt" | "minimize" | "minimize-alt" | "more-horizontal" | "more-vertical" | "mouse-pointer" | "paperclip" | "pen-tool" | "pencil-tool" | "pin" | "power" | "printer" | "reload" | "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" | "top" | "trash" | "unfold-close" | "unfold-open" | "upload" | "zoom-in" | "zoom-out" | "compass" | "crosshair" | "map-pin" | "navigation" | "navigation-alt" | "redirect" | "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" | "ampersand" | "beaker" | "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" | "outline" | "random" | "rocket" | "sparkle" | "square" | "square-fill" | "sun" | "triangle" | "triangle-fill" | "truck" | "wand" | "zap" | "zap-off" | "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" | "bug" | "certificate" | "eye" | "eye-off" | "fingerprint" | "key" | "keychain" | "lock" | "lock-fill" | "lock-off" | "shield" | "shield-alert" | "shield-check" | "shield-off" | "shield-x" | "token" | "unlock" | "verified" | "wall" | "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" | "x-circle" | "x-circle-fill" | "x-diamond" | "x-diamond-fill" | "x-hexagon" | "x-hexagon-fill" | "x-square" | "x-square-fill" | "docs" | "docs-download" | "docs-link" | "guide" | "guide-link" | "help" | "info" | "info-fill" | "learn" | "learn-link" | "support" | "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" | undefined;
|
|
14
14
|
}>;
|
|
15
15
|
export interface HdsAppFooterStatusLinkSignature {
|
|
16
16
|
Args: HdsInteractiveSignature['Args'] & {
|
|
@@ -29,13 +29,13 @@ export default class HdsAppFooterStatusLinkComponent extends Component<HdsAppFoo
|
|
|
29
29
|
* @type {HdsAppFooterStatusTypes}
|
|
30
30
|
* @description The name of the status which the StatusLink is being set to
|
|
31
31
|
*/
|
|
32
|
-
get status():
|
|
32
|
+
get status(): HdsAppFooterStatusTypes | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* @param statusIcon
|
|
35
35
|
* @type {string}
|
|
36
36
|
* @description The name for the StatusLink icon
|
|
37
37
|
*/
|
|
38
|
-
get statusIcon():
|
|
38
|
+
get statusIcon(): FlightIconSignature['Args']['name'];
|
|
39
39
|
/**
|
|
40
40
|
* Get the inline style to apply to the item.
|
|
41
41
|
* @method StatusLink#itemStyle
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status-link.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/app-footer/status-link.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAE3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAGtE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAE/D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAEhG,eAAO,MAAM,QAAQ;;;EAAqC,CAAC;AAE3D,MAAM,WAAW,+BAA+B;IAC9C,IAAI,EAAE,uBAAuB,CAAC,MAAM,CAAC,GAAG;QACtC,SAAS,CAAC,EAAE,UAAU,CAAC;QACvB,MAAM,CAAC,EAAE,uBAAuB,CAAC;QACjC,UAAU,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;QACjD,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,OAAO,EAAE,yBAAyB,CAAC,SAAS,CAAC,CAAC;CAC/C;AAED,MAAM,CAAC,OAAO,OAAO,+BAAgC,SAAQ,SAAS,CAAC,+BAA+B,CAAC;gBACzF,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,uBAAuB,CAAC,MAAM,CAAC;IASjE;;;;OAIG;IACH,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"status-link.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/app-footer/status-link.ts"],"names":[],"mappings":"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AQ,SAAS,CAAC,oBAAoB,CAAC;IAC/E;;;;;;OAMG;IACH,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED;;;;;;OAMG;IACH,IAAI,UAAU,IAAI,OAAO,CAExB;IAED;;;;;;OAMG;IACH,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED;;;;;;OAMG;IACH,IAAI,SAAS,IAAI,OAAO,CAEvB;CAmCF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/application-state/footer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAC3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAErE,MAAM,WAAW,kCAAkC;IACjD,IAAI,EAAE;QACJ,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,MAAM,EAAE;QACN,OAAO,CAAC,EAAE;YACR;gBACE,cAAc,CAAC,EAAE,aAAa,CAAC,0BAA0B,CAAC,CAAC;aAC5D;SACF,CAAC;KACH,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,OAAO,kCAAmC,SAAQ,SAAS,CAAC,kCAAkC,CAAC;IAC3G;;;;;;OAMG;IACH,IAAI,UAAU,
|
|
1
|
+
{"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/application-state/footer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAC3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAErE,MAAM,WAAW,kCAAkC;IACjD,IAAI,EAAE;QACJ,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,MAAM,EAAE;QACN,OAAO,CAAC,EAAE;YACR;gBACE,cAAc,CAAC,EAAE,aAAa,CAAC,0BAA0B,CAAC,CAAC;aAC5D;SACF,CAAC;KACH,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,OAAO,kCAAmC,SAAQ,SAAS,CAAC,kCAAkC,CAAC;IAC3G;;;;;;OAMG;IACH,IAAI,UAAU,IAAI,OAAO,CAExB;IAED;;;;OAIG;IACH,IAAI,UAAU,IAAI,MAAM,CASvB;CAeF"}
|
|
@@ -32,7 +32,7 @@ export default class HdsBadgeComponent extends Component<HdsBadgeSignature> {
|
|
|
32
32
|
* @type {HdsBadgeSizes}
|
|
33
33
|
* @default 'medium'
|
|
34
34
|
*/
|
|
35
|
-
get size():
|
|
35
|
+
get size(): HdsBadgeSizes;
|
|
36
36
|
/**
|
|
37
37
|
* Sets the type of the component
|
|
38
38
|
* Accepted values: filled, inverted, outlined
|
|
@@ -41,7 +41,7 @@ export default class HdsBadgeComponent extends Component<HdsBadgeSignature> {
|
|
|
41
41
|
* @type {HdsBadgeTypes}
|
|
42
42
|
* @default 'filled'
|
|
43
43
|
*/
|
|
44
|
-
get type():
|
|
44
|
+
get type(): HdsBadgeTypes;
|
|
45
45
|
/**
|
|
46
46
|
* Sets the color scheme for the component
|
|
47
47
|
* Accepted values: neutral, neutral-dark-mode, highlight, success, warning, critical
|
|
@@ -50,7 +50,7 @@ export default class HdsBadgeComponent extends Component<HdsBadgeSignature> {
|
|
|
50
50
|
* @type {HdsBadgeColors}
|
|
51
51
|
* @default 'neutral'
|
|
52
52
|
*/
|
|
53
|
-
get color():
|
|
53
|
+
get color(): HdsBadgeColors;
|
|
54
54
|
/**
|
|
55
55
|
* @param text
|
|
56
56
|
* @type {string}
|
|
@@ -64,7 +64,7 @@ export default class HdsBadgeComponent extends Component<HdsBadgeSignature> {
|
|
|
64
64
|
* @type {string|null}
|
|
65
65
|
* @default null
|
|
66
66
|
*/
|
|
67
|
-
get icon():
|
|
67
|
+
get icon(): FlightIconSignature['Args']['name'] | null;
|
|
68
68
|
/**
|
|
69
69
|
* @param isIconOnly
|
|
70
70
|
* @type {boolean}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/badge/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAG3C,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,YAAY,CAAC;AAEpB,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC/E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAEhG,eAAO,MAAM,KAAK,EAAE,MAAM,EAAsC,CAAC;AACjE,eAAO,MAAM,KAAK,EAAE,MAAM,EAAsC,CAAC;AACjE,eAAO,MAAM,MAAM,EAAE,MAAM,EAAuC,CAAC;AACnE,eAAO,MAAM,YAAY,4BAA4B,CAAC;AACtD,eAAO,MAAM,YAAY,4BAA4B,CAAC;AACtD,eAAO,MAAM,aAAa,8BAA8B,CAAC;AAEzD,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE;QACJ,IAAI,CAAC,EAAE,aAAa,CAAC;QACrB,IAAI,CAAC,EAAE,aAAa,CAAC;QACrB,KAAK,CAAC,EAAE,cAAc,CAAC;QACvB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;QAC3C,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,SAAS,CAAC,iBAAiB,CAAC;IACzE;;;;;;;OAOG;IACH,IAAI,I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AI,IAAI,MAAM,CASjB;IAED;;;;;;OAMG;IACH,IAAI,IAAI,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,GAAG,IAAI,CAErD;IAED;;;;;OAKG;IACH,IAAI,UAAU,IAAI,OAAO,CAKxB;IAED;;;;OAIG;IACH,IAAI,UAAU,IAAI,MAAM,CAavB;CAyCF"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import Component from '@glimmer/component';
|
|
6
6
|
import { HdsBadgeCountColorValues, HdsBadgeCountSizeValues, HdsBadgeCountTypeValues } from './types.ts';
|
|
7
|
-
import type { HdsBadgeCountColors,
|
|
7
|
+
import type { HdsBadgeCountColors, HdsBadgeCountSizes, HdsBadgeCountTypes } from './types.ts';
|
|
8
8
|
export declare const SIZES: string[];
|
|
9
9
|
export declare const TYPES: string[];
|
|
10
10
|
export declare const COLORS: string[];
|
|
@@ -13,8 +13,8 @@ export declare const DEFAULT_TYPE = HdsBadgeCountTypeValues.Filled;
|
|
|
13
13
|
export declare const DEFAULT_COLOR = HdsBadgeCountColorValues.Neutral;
|
|
14
14
|
interface HdsBadgeCountSignature {
|
|
15
15
|
Args: {
|
|
16
|
-
size?:
|
|
17
|
-
type?:
|
|
16
|
+
size?: HdsBadgeCountSizes;
|
|
17
|
+
type?: HdsBadgeCountTypes;
|
|
18
18
|
color?: HdsBadgeCountColors;
|
|
19
19
|
text: string;
|
|
20
20
|
};
|
|
@@ -29,7 +29,7 @@ export default class HdsBadgeCountComponent extends Component<HdsBadgeCountSigna
|
|
|
29
29
|
* @type {string}
|
|
30
30
|
* @default 'medium'
|
|
31
31
|
*/
|
|
32
|
-
get size():
|
|
32
|
+
get size(): HdsBadgeCountSizes;
|
|
33
33
|
/**
|
|
34
34
|
* Sets the type of the component
|
|
35
35
|
* Accepted values: filled, inverted, outlined
|
|
@@ -38,7 +38,7 @@ export default class HdsBadgeCountComponent extends Component<HdsBadgeCountSigna
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @default 'filled'
|
|
40
40
|
*/
|
|
41
|
-
get type():
|
|
41
|
+
get type(): HdsBadgeCountTypes;
|
|
42
42
|
/**
|
|
43
43
|
* Sets the color scheme for the component
|
|
44
44
|
* Accepted colors: neutral, neutral-dark-mode
|
|
@@ -47,7 +47,7 @@ export default class HdsBadgeCountComponent extends Component<HdsBadgeCountSigna
|
|
|
47
47
|
* @type {string}
|
|
48
48
|
* @default 'neutral'
|
|
49
49
|
*/
|
|
50
|
-
get color():
|
|
50
|
+
get color(): HdsBadgeCountColors;
|
|
51
51
|
/**
|
|
52
52
|
* Get the class names to apply to the component.
|
|
53
53
|
* @method BadgeCount#classNames
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/badge-count/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAG3C,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EACV,mBAAmB,EACnB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/badge-count/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAG3C,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,YAAY,CAAC;AAEpB,eAAO,MAAM,KAAK,EAAE,MAAM,EAA2C,CAAC;AACtE,eAAO,MAAM,KAAK,EAAE,MAAM,EAA2C,CAAC;AACtE,eAAO,MAAM,MAAM,EAAE,MAAM,EAA4C,CAAC;AACxE,eAAO,MAAM,YAAY,iCAAiC,CAAC;AAC3D,eAAO,MAAM,YAAY,iCAAiC,CAAC;AAC3D,eAAO,MAAM,aAAa,mCAAmC,CAAC;AAE9D,UAAU,sBAAsB;IAC9B,IAAI,EAAE;QACJ,IAAI,CAAC,EAAE,kBAAkB,CAAC;QAC1B,IAAI,CAAC,EAAE,kBAAkB,CAAC;QAC1B,KAAK,CAAC,EAAE,mBAAmB,CAAC;QAC5B,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,SAAS,CAAC,sBAAsB,CAAC;IACnF;;;;;;;OAOG;IACH,IAAI,IAAI,IAAI,kBAAkB,CAW7B;IAED;;;;;;;OAOG;IACH,IAAI,IAAI,IAAI,kBAAkB,CAW7B;IAED;;;;;;;OAOG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAW/B;IAED;;;;OAIG;IACH,IAAI,UAAU,IAAI,MAAM,CAavB;CAaF"}
|
|
@@ -7,13 +7,13 @@ export declare enum HdsBadgeCountSizeValues {
|
|
|
7
7
|
Medium = "medium",
|
|
8
8
|
Large = "large"
|
|
9
9
|
}
|
|
10
|
-
export type
|
|
10
|
+
export type HdsBadgeCountSizes = `${HdsBadgeCountSizeValues}`;
|
|
11
11
|
export declare enum HdsBadgeCountTypeValues {
|
|
12
12
|
Filled = "filled",
|
|
13
13
|
Inverted = "inverted",
|
|
14
14
|
Outlined = "outlined"
|
|
15
15
|
}
|
|
16
|
-
export type
|
|
16
|
+
export type HdsBadgeCountTypes = `${HdsBadgeCountTypeValues}`;
|
|
17
17
|
export declare enum HdsBadgeCountColorValues {
|
|
18
18
|
Neutral = "neutral",
|
|
19
19
|
NeutralDarkMode = "neutral-dark-mode"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/badge-count/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,oBAAY,uBAAuB;IACjC,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AACD,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/hds/badge-count/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,oBAAY,uBAAuB;IACjC,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AACD,MAAM,MAAM,kBAAkB,GAAG,GAAG,uBAAuB,EAAE,CAAC;AAE9D,oBAAY,uBAAuB;IACjC,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AACD,MAAM,MAAM,kBAAkB,GAAG,GAAG,uBAAuB,EAAE,CAAC;AAE9D,oBAAY,wBAAwB;IAClC,OAAO,YAAY;IACnB,eAAe,sBAAsB;CACtC;AACD,MAAM,MAAM,mBAAmB,GAAG,GAAG,wBAAwB,EAAE,CAAC"}
|