dap-design-system 0.17.0 → 0.18.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/dist/dds.d.ts +413 -323
- package/dist/dds.js +2267 -2262
- package/dist/dds.js.map +1 -1
- package/dist/manifest/types/vue/index.d.ts +730 -802
- package/dist/manifest/vscode.html-custom-data.json +697 -1189
- package/dist/manifest/web-types.json +2038 -1537
- package/dist/react-types.ts +18 -18
- package/dist/react.d.ts +525 -549
- package/dist/react.js +172 -172
- package/dist/react.js.map +1 -1
- package/package.json +6 -5
package/dist/dds.d.ts
CHANGED
|
@@ -593,38 +593,6 @@ declare type CaptionProps = {
|
|
|
593
593
|
size: never;
|
|
594
594
|
};
|
|
595
595
|
|
|
596
|
-
/**
|
|
597
|
-
* `dap-ds-icon-checkbox-blank-circle-fill-check`
|
|
598
|
-
* @summary An icon
|
|
599
|
-
* @element dap-ds-icon-checkbox-blank-circle-fill-check
|
|
600
|
-
* @title - SystemCheckboxBlankCircleFillCheck
|
|
601
|
-
* @group icon
|
|
602
|
-
* @icontype system
|
|
603
|
-
*
|
|
604
|
-
* @attribute {number} size - (optional) The width and height in pixels
|
|
605
|
-
* @attribute {boolean} selected - (optional) Sets the icon color via the `fill` attribute
|
|
606
|
-
* @attribute {boolean} decorative - (optional) If `true` the SVG element will get `aria-hidden="true"`
|
|
607
|
-
* @attribute {string} accessibilityTitle - (optional) When using the icon standalone, make it meaningful for accessibility
|
|
608
|
-
* @attribute {boolean} focusable - (optional) If `true` the icon can receive focus
|
|
609
|
-
*
|
|
610
|
-
* @csspart base - The main icon container.
|
|
611
|
-
*/
|
|
612
|
-
export declare class CheckboxBlankCircleFillCheck extends DdsElement {
|
|
613
|
-
/** (optional) The width and height in pixels */
|
|
614
|
-
size?: number | undefined;
|
|
615
|
-
/** (optional) Sets the icon color via the `fill` attribute */
|
|
616
|
-
selected?: boolean;
|
|
617
|
-
/** (optional) If `true` the SVG element will get `aria-hidden="true"` */
|
|
618
|
-
decorative?: boolean;
|
|
619
|
-
/** (optional) When using the icon standalone, make it meaningful for accessibility */
|
|
620
|
-
accessibilityTitle?: string;
|
|
621
|
-
/** (optional) If `true` the icon can receive focus */
|
|
622
|
-
focusable?: boolean;
|
|
623
|
-
static styles: CSSResult;
|
|
624
|
-
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
625
|
-
render(): TemplateResult_2;
|
|
626
|
-
}
|
|
627
|
-
|
|
628
596
|
declare interface ChoiceElementMixinInterface {
|
|
629
597
|
checked: boolean;
|
|
630
598
|
}
|
|
@@ -797,9 +765,6 @@ export declare class DapDSAnchorHeading extends DdsElement {
|
|
|
797
765
|
* @element dap-ds-badge
|
|
798
766
|
* @title - Badge
|
|
799
767
|
*
|
|
800
|
-
* @attribute {'neutral' | 'brand' | 'info' | 'positive' | 'warning' | 'negative'} type - The type of the badge. Default is `neutral`. Can be `neutral`, `brand`, `info`, `positive`, `warning`, or `negative`.
|
|
801
|
-
* @attribute {'sm' | 'lg'} size - The size of the badge. Default is `sm`. Can be `sm` or `lg`.
|
|
802
|
-
*
|
|
803
768
|
* @slot - The content of the badge.
|
|
804
769
|
* @slot icon - The icon of the badge.
|
|
805
770
|
*
|
|
@@ -809,8 +774,15 @@ export declare class DapDSAnchorHeading extends DdsElement {
|
|
|
809
774
|
* @csspart icon-base - The base of the icon.
|
|
810
775
|
*/
|
|
811
776
|
export declare class DapDSBadge extends DdsElement {
|
|
777
|
+
/** The type of the badge
|
|
778
|
+
* @type { 'neutral' | 'brand' | 'info' | 'positive' | 'warning' | 'negative' }
|
|
779
|
+
*/
|
|
812
780
|
type: BadgeType;
|
|
781
|
+
/** The size of the badge
|
|
782
|
+
* @type { 'lg' | 'sm' }
|
|
783
|
+
*/
|
|
813
784
|
size: CommonSize;
|
|
785
|
+
/** The icon of the badge, this is a name of a built in icon */
|
|
814
786
|
icon: string;
|
|
815
787
|
static styles: CSSResult;
|
|
816
788
|
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
@@ -824,11 +796,6 @@ export declare class DapDSBadge extends DdsElement {
|
|
|
824
796
|
* @summary A banner is a message displayed at the top of the page to provide important information to the user.
|
|
825
797
|
* @title - Banner
|
|
826
798
|
*
|
|
827
|
-
* @attribute {'brand' |'info' | 'positive' | 'warning' | 'negative'} variant - The type of the banner.
|
|
828
|
-
* @attribute {boolean} closeable - Whether the banner is closeable.
|
|
829
|
-
* @attribute {string} opened - State of the banner. If false banner is hidden.
|
|
830
|
-
* @attribute {string} closeButtonAriaLabel - The aria-label for the close button.
|
|
831
|
-
*
|
|
832
799
|
* @event dds-close - Event fired when the banner is closed.
|
|
833
800
|
*
|
|
834
801
|
* @slot - The content of the banner.
|
|
@@ -836,20 +803,32 @@ export declare class DapDSBadge extends DdsElement {
|
|
|
836
803
|
* @slot icon - The icon of the banner.
|
|
837
804
|
*
|
|
838
805
|
* @csspart base - The main banner container.
|
|
806
|
+
* @csspart card-base - The wrapper card container.
|
|
839
807
|
* @csspart icon - The icon of the banner.
|
|
840
808
|
* @csspart icon-element - The icon element of the banner.
|
|
841
809
|
* @csspart icon-base - The base of the icon.
|
|
842
810
|
* @csspart closebutton - The close button of the banner.
|
|
811
|
+
* @csspart close-icon-element - The icon element of the close button.
|
|
812
|
+
* @csspart close-icon-base - The base of the close button icon.
|
|
843
813
|
* @csspart actions - The actions of the banner.
|
|
844
814
|
* @csspart title - The title of the banner.
|
|
845
815
|
*/
|
|
846
816
|
export declare class DapDSBanner extends DdsElement {
|
|
817
|
+
/** @ignore */
|
|
847
818
|
actionSlot: HTMLElement[];
|
|
819
|
+
/** @ignore */
|
|
848
820
|
actionContainer: HTMLElement;
|
|
821
|
+
/** The variant of the banner
|
|
822
|
+
* @type { 'brand' | 'positive' | 'info' | 'warning' | 'negative' }
|
|
823
|
+
*/
|
|
849
824
|
variant: BannerVariant;
|
|
825
|
+
/** Whether the banner is closeable */
|
|
850
826
|
closeable: boolean;
|
|
827
|
+
/** State of the banner. If false banner is hidden */
|
|
851
828
|
opened: string;
|
|
829
|
+
/** The aria-label for the close button */
|
|
852
830
|
closeButtonLabel: string;
|
|
831
|
+
/** The icon of the banner, this is a name of a built icon icon */
|
|
853
832
|
icon: string;
|
|
854
833
|
static styles: CSSResult;
|
|
855
834
|
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
@@ -863,8 +842,6 @@ export declare class DapDSBanner extends DdsElement {
|
|
|
863
842
|
* @element dap-ds-breadcrumb
|
|
864
843
|
* @title - Breadcrumb
|
|
865
844
|
*
|
|
866
|
-
* @attribute {string} label - The label of the breadcrumb.
|
|
867
|
-
*
|
|
868
845
|
* @slot - The content of the breadcrumb.
|
|
869
846
|
*
|
|
870
847
|
* @csspart base - The main breadcrumb container.
|
|
@@ -872,10 +849,15 @@ export declare class DapDSBanner extends DdsElement {
|
|
|
872
849
|
*/
|
|
873
850
|
export declare class DapDSBreadcrumb extends DdsElement {
|
|
874
851
|
static styles: CSSResult;
|
|
852
|
+
/** @ignore */
|
|
875
853
|
defaultSlot: HTMLSlotElement;
|
|
854
|
+
/** @ignore */
|
|
876
855
|
separatorSlot: HTMLSlotElement;
|
|
856
|
+
/** The label of the breadcrumb. */
|
|
877
857
|
label: string;
|
|
858
|
+
/** Inverted color style */
|
|
878
859
|
inverted: boolean;
|
|
860
|
+
/** Mobile version of the breadcrumb */
|
|
879
861
|
mobile: boolean;
|
|
880
862
|
private cloneSeparator;
|
|
881
863
|
private handleSlotChange;
|
|
@@ -889,12 +871,6 @@ export declare class DapDSBreadcrumb extends DdsElement {
|
|
|
889
871
|
* @summary A breadcrumb item is a secondary navigation scheme that reveals the user's location in a website or Web application.
|
|
890
872
|
* @title - Breadcrumb item
|
|
891
873
|
*
|
|
892
|
-
* @attribute {string} href - The URL of the breadcrumb item.
|
|
893
|
-
* @attribute {'_blank' | '_self' | '_parent' | '_top'} target - The target of the breadcrumb item. Default is `_self`. Can be `_blank`, `_self`, `_parent`, or `_top`.
|
|
894
|
-
* @attribute {string} rel - The rel of the breadcrumb item link.
|
|
895
|
-
* @attribute {boolean} disabled - Whether the breadcrumb item is disabled.
|
|
896
|
-
* @attribute {boolean} last - Whether the breadcrumb item is the last one in the list
|
|
897
|
-
*
|
|
898
874
|
* @slot - The content of the breadcrumb item.
|
|
899
875
|
*
|
|
900
876
|
* @csspart base - The main breadcrumb item container. The li element.
|
|
@@ -903,10 +879,17 @@ export declare class DapDSBreadcrumb extends DdsElement {
|
|
|
903
879
|
* @csspart item-nolink - The item of the breadcrumb item without a link. The span element.
|
|
904
880
|
*/
|
|
905
881
|
export declare class DapDSBreadcrumbItem extends DdsElement {
|
|
882
|
+
/** The URL of the breadcrumb item. */
|
|
906
883
|
href?: string;
|
|
884
|
+
/** The target of the breadcrumb item.
|
|
885
|
+
* @type {'_blank' | '_self' | '_parent' | '_top'}
|
|
886
|
+
*/
|
|
907
887
|
target?: LinkTarget;
|
|
888
|
+
/** The rel of the breadcrumb item link. */
|
|
908
889
|
rel: string;
|
|
890
|
+
/** Whether the breadcrumb item is disabled. */
|
|
909
891
|
disabled: boolean;
|
|
892
|
+
/** Whether the breadcrumb item is inverted. */
|
|
910
893
|
inverted: boolean;
|
|
911
894
|
static styles: CSSResult;
|
|
912
895
|
render(): TemplateResult_2<1>;
|
|
@@ -1083,15 +1066,6 @@ declare const DapDSCalendarCell_base: typeof DdsElement & {
|
|
|
1083
1066
|
* @element dap-ds-callout
|
|
1084
1067
|
* @title - Callout
|
|
1085
1068
|
*
|
|
1086
|
-
* @attribute {'brand' | 'info' | 'positive' | 'warning' | 'negative'} variant - The variant of the callout. Can be `brand`, `info`, `positive`, `warning`, or `negative`.
|
|
1087
|
-
* @attribute {'vertical' | 'horizontal'} alignment - The alignment of the callout. Can be `vertical` or `horizontal`.
|
|
1088
|
-
* @attribute {'subtle' | 'base' | 'medium' | 'strong'} shade - The strongness of the callout. Can be `subtle`, `base`, `medium`, or `strong`.
|
|
1089
|
-
* @attribute {boolean} border - The border of the callout.
|
|
1090
|
-
* @attribute {boolean} closeable - If the callout has a close button.
|
|
1091
|
-
* @attribute {string} closeButtonLabel - The label of the close button.
|
|
1092
|
-
* @attribute {string} opened - If the callout is opened.
|
|
1093
|
-
* @attribute {string} title - The header of the callout.
|
|
1094
|
-
*
|
|
1095
1069
|
* @event dds-close - Fired when the close button is clicked.
|
|
1096
1070
|
*
|
|
1097
1071
|
* @slot - The content of the callout.
|
|
@@ -1108,15 +1082,31 @@ declare const DapDSCalendarCell_base: typeof DdsElement & {
|
|
|
1108
1082
|
* @csspart close - The close button of the callout.
|
|
1109
1083
|
*/
|
|
1110
1084
|
export declare class DapDSCallout extends DdsElement {
|
|
1085
|
+
/** @ignore */
|
|
1111
1086
|
actionSlot: HTMLElement[];
|
|
1087
|
+
/** @ignore */
|
|
1112
1088
|
actionContainer: HTMLElement;
|
|
1089
|
+
/** The variant of the callout
|
|
1090
|
+
* @type { 'brand' | 'positive' | 'info' | 'warning' | 'negative' }
|
|
1091
|
+
*/
|
|
1113
1092
|
variant: CalloutVariant;
|
|
1093
|
+
/** The alignment of the callout. Can be `vertical` or `horizontal`.
|
|
1094
|
+
* @type { 'vertical' | 'horizontal' }
|
|
1095
|
+
*/
|
|
1114
1096
|
alignment: Alignment;
|
|
1097
|
+
/** The strongness of the callout. Can be `subtle`, `base`, `medium`, or `strong`.
|
|
1098
|
+
* @type { 'subtle' | 'base' | 'medium' | 'strong' }
|
|
1099
|
+
*/
|
|
1115
1100
|
shade: BackgroundShade;
|
|
1101
|
+
/** The border of the callout */
|
|
1116
1102
|
noBorder: String;
|
|
1103
|
+
/** If the callout has a close button */
|
|
1117
1104
|
closeable: boolean;
|
|
1105
|
+
/** The header of the callout */
|
|
1118
1106
|
title: string;
|
|
1107
|
+
/** The label of the close button */
|
|
1119
1108
|
closeButtonLabel: string;
|
|
1109
|
+
/** If the callout is opened */
|
|
1120
1110
|
opened: string;
|
|
1121
1111
|
static styles: CSSResult;
|
|
1122
1112
|
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
@@ -1131,22 +1121,24 @@ export declare class DapDSCallout extends DdsElement {
|
|
|
1131
1121
|
* @element dap-ds-card
|
|
1132
1122
|
* @title - Card
|
|
1133
1123
|
*
|
|
1134
|
-
* @attribute {boolean} interactive - Whether the card is interactive. Default is false. If true, the card will be rendered as an anchor element.
|
|
1135
|
-
* @attribute {boolean} disabled - Whether the card is disabled.
|
|
1136
|
-
* @attribute {'_blank' | '_self' | '_parent' | '_top'} target - The target of the card. Default is `_self`. Can be `_blank`, `_self`, `_parent`, or `_top`.
|
|
1137
|
-
* @attribute {string} href - The URL of the card.
|
|
1138
|
-
* @attribute {string} rel - The rel of the card link.
|
|
1139
|
-
*
|
|
1140
1124
|
* @slot - The content of the card.
|
|
1141
1125
|
*
|
|
1142
1126
|
* @csspart base - The main card container.
|
|
1143
1127
|
*/
|
|
1144
1128
|
export declare class DapDSCard extends DapDSCard_base {
|
|
1129
|
+
/** Whether the card is interactive. Default is false. If true, the card will be rendered as an anchor element. */
|
|
1145
1130
|
interactive: boolean;
|
|
1131
|
+
/** Whether the card is disabled. */
|
|
1146
1132
|
disabled: boolean;
|
|
1133
|
+
/** Removes the border around the card */
|
|
1147
1134
|
noBorder: boolean;
|
|
1135
|
+
/** The link target of the card
|
|
1136
|
+
* @type { '_blank' | '_self' | '_parent' | '_top' }
|
|
1137
|
+
*/
|
|
1148
1138
|
target: LinkTarget;
|
|
1139
|
+
/** The URL of the card. */
|
|
1149
1140
|
href: string;
|
|
1141
|
+
/** The rel of the card link. */
|
|
1150
1142
|
rel: string;
|
|
1151
1143
|
static styles: CSSResult;
|
|
1152
1144
|
render(): TemplateResult_2<1>;
|
|
@@ -1395,14 +1387,13 @@ export declare class DapDSCombobox extends ComboboxBaseElement {
|
|
|
1395
1387
|
* @slot - The content switcher items.
|
|
1396
1388
|
*
|
|
1397
1389
|
* @event dds-change - Fired when the content switcher is changed.
|
|
1398
|
-
*
|
|
1399
|
-
* @attribute {boolean} multiSelect - Whether the content switcher allows multiple selections.
|
|
1400
|
-
* @attribute {string} value - The value of the content switcher. A comma-separated list if `multiSelect` is `true`.
|
|
1401
|
-
*
|
|
1390
|
+
* *
|
|
1402
1391
|
* @csspart base - The main content switcher container.
|
|
1403
1392
|
*/
|
|
1404
1393
|
export declare class DapDSContentSwitcher extends DdsElement {
|
|
1394
|
+
/** Whether the content switcher allows multiple selections. */
|
|
1405
1395
|
multiSelect: boolean;
|
|
1396
|
+
/** The value of the content switcher. A comma-separated list if `multiSelect` is `true`. */
|
|
1406
1397
|
value: string;
|
|
1407
1398
|
static styles: CSSResult;
|
|
1408
1399
|
private getAllInputs;
|
|
@@ -1417,23 +1408,22 @@ export declare class DapDSContentSwitcher extends DdsElement {
|
|
|
1417
1408
|
* @element dap-ds-content-switcher-item
|
|
1418
1409
|
* @title - Content switcher item
|
|
1419
1410
|
*
|
|
1420
|
-
* @slot - The icon content of the segmented control item.
|
|
1421
|
-
*
|
|
1422
|
-
* @attribute {string} value - The value of the segmented control item.
|
|
1423
|
-
* @attribute {boolean} checked - The checked state of the segmented control item.
|
|
1424
|
-
* @attribute {boolean} selected - The selected state of the segmented control item.
|
|
1425
|
-
* @attribute {string} name - The name of the segmented control item.
|
|
1411
|
+
* @slot iconcontent - The icon content of the segmented control item.
|
|
1426
1412
|
*
|
|
1427
1413
|
* @csspart input - The input of the segmented control item.
|
|
1428
1414
|
*
|
|
1429
1415
|
*/
|
|
1430
1416
|
export declare class DapDSContentSwitcherItem extends DdsElement {
|
|
1417
|
+
/** The value of the segmented control item. */
|
|
1431
1418
|
value: string;
|
|
1419
|
+
/** The checked state of the segmented control item. */
|
|
1432
1420
|
checked: boolean;
|
|
1421
|
+
/** The disabled state of the segmented control item. */
|
|
1433
1422
|
disabled: boolean;
|
|
1423
|
+
/** The name of the segmented control item. */
|
|
1434
1424
|
name: string;
|
|
1435
1425
|
static styles: CSSResult;
|
|
1436
|
-
get multiple()
|
|
1426
|
+
private get multiple();
|
|
1437
1427
|
handleClick: (e: MouseEvent) => void;
|
|
1438
1428
|
render(): TemplateResult_2;
|
|
1439
1429
|
}
|
|
@@ -1444,24 +1434,24 @@ export declare class DapDSContentSwitcherItem extends DdsElement {
|
|
|
1444
1434
|
* @element dap-ds-copybox-input
|
|
1445
1435
|
* @title - CopyBox input
|
|
1446
1436
|
*
|
|
1447
|
-
* @
|
|
1448
|
-
* @
|
|
1449
|
-
* @
|
|
1450
|
-
* @
|
|
1451
|
-
* @
|
|
1452
|
-
* @
|
|
1453
|
-
* @
|
|
1454
|
-
* @
|
|
1455
|
-
* @
|
|
1456
|
-
* @
|
|
1457
|
-
* @
|
|
1458
|
-
* @
|
|
1459
|
-
* @
|
|
1460
|
-
* @
|
|
1461
|
-
* @
|
|
1462
|
-
* @
|
|
1463
|
-
* @
|
|
1464
|
-
* @
|
|
1437
|
+
* @property {string} label - The label of the input.
|
|
1438
|
+
* @property {string} placeholder - The placeholder of the input.
|
|
1439
|
+
* @property {string} description - The description of the input.
|
|
1440
|
+
* @property {string} tooltip - The tooltip of the input.
|
|
1441
|
+
* @property {'success' | 'error'} status - The status of the input. Can be `success` or `error`.
|
|
1442
|
+
* @property {'sm' | 'lg'} size - The size of the input. Default is `sm`. Can be `sm` or `lg`.
|
|
1443
|
+
* @property {string} name - The name of the input.
|
|
1444
|
+
* @property {string} value - The value of the input.
|
|
1445
|
+
* @property {boolean} disabled - The disabled state of the input. Default is false.
|
|
1446
|
+
* @property {boolean} required - The required state of the input. Default is false.
|
|
1447
|
+
* @property {boolean} readonly - The readonly state of the input. Default is false.
|
|
1448
|
+
* @property {boolean} autofocus - The autofocus state of the input. Default is false.
|
|
1449
|
+
* @property {string} feedback - The feedback of the input.
|
|
1450
|
+
* @property {'negative' | 'positive' | 'warning'} feedbackType - The feedback type of the input. Can be `negative`, `positive`, or `warning`.
|
|
1451
|
+
* @property {boolean} loading - The loading state of the input. Default is false.
|
|
1452
|
+
* @property {boolean} optional - The optional state of the input.
|
|
1453
|
+
* @property {string} optionalLabel - The optional label of the input.
|
|
1454
|
+
* @property {boolean} subtle - The weight of the label. Default is `false`
|
|
1465
1455
|
*
|
|
1466
1456
|
* @event dds-copy - Fired when the user clicks on the copy button.
|
|
1467
1457
|
* @event dds-change - Fired when the input value changes.
|
|
@@ -1476,7 +1466,6 @@ export declare class DapDSContentSwitcherItem extends DdsElement {
|
|
|
1476
1466
|
* @csspart button - The button of the component.
|
|
1477
1467
|
*/
|
|
1478
1468
|
export declare class DapDSCopyBoxInput extends InputBaseElement {
|
|
1479
|
-
value: string;
|
|
1480
1469
|
constructor();
|
|
1481
1470
|
render(): TemplateResult_2<1>;
|
|
1482
1471
|
onCopy(): void;
|
|
@@ -1490,14 +1479,13 @@ export declare class DapDSCopyBoxInput extends InputBaseElement {
|
|
|
1490
1479
|
* @title - Dap badge
|
|
1491
1480
|
*
|
|
1492
1481
|
* @slot - Description of badge
|
|
1493
|
-
*
|
|
1494
|
-
* @attribute { boolean } inverted - The type of the DÁP badge. Default is false. Can be false or true.
|
|
1495
|
-
*
|
|
1482
|
+
* *
|
|
1496
1483
|
* @csspart base - Main badge container
|
|
1497
1484
|
* @csspart icon - Badge icon
|
|
1498
1485
|
* @csspart text - Badge text
|
|
1499
1486
|
*/
|
|
1500
1487
|
export declare class DapDSDAPBadge extends DdsElement {
|
|
1488
|
+
/** The color style of the DÁP badge */
|
|
1501
1489
|
inverted: boolean;
|
|
1502
1490
|
static styles: CSSResult;
|
|
1503
1491
|
render(): TemplateResult_2;
|
|
@@ -1608,11 +1596,13 @@ export declare class DapDSDatePicker extends GenericFormElement {
|
|
|
1608
1596
|
* @element dap-ds-divider
|
|
1609
1597
|
* @title - Divider
|
|
1610
1598
|
*
|
|
1611
|
-
* @attribute {boolean} vertical - Whether the divider is vertical. Default is false.
|
|
1612
|
-
* @attribute {Spacing} spacing - The spacing of the divider. Default is 0. It is uses the design system values (100, 200, 300, etc...)
|
|
1613
1599
|
*/
|
|
1614
1600
|
export declare class DapDSDivider extends DdsElement {
|
|
1601
|
+
/** Whether the divider is vertical */
|
|
1615
1602
|
vertical: boolean;
|
|
1603
|
+
/** The spacing of the divider
|
|
1604
|
+
* @type { 0 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 1000 | 1200 | 1400 | 1600 | 1800 | 2000 | 2400 | 3000 | 4000 | 5000 | 6000 }
|
|
1605
|
+
*/
|
|
1616
1606
|
spacing: Spacing;
|
|
1617
1607
|
static styles: CSSResult;
|
|
1618
1608
|
connectedCallback(): void;
|
|
@@ -1624,9 +1614,7 @@ export declare class DapDSDivider extends DdsElement {
|
|
|
1624
1614
|
* @element dap-ds-feedback
|
|
1625
1615
|
* @title - Feedback
|
|
1626
1616
|
*
|
|
1627
|
-
* @attribute {'negative' | 'positive' | 'warning'} type - The type of the feedback. Default is `positive`.
|
|
1628
1617
|
* @attribute {'sm' | 'lg'} size - The size of the feedback. Default is `sm`. Can be `sm` or `lg`.
|
|
1629
|
-
* @attribute {boolean} subtle - The weight of the label. Default is false.
|
|
1630
1618
|
*
|
|
1631
1619
|
* @slot icon - The custom icon of the feedback.
|
|
1632
1620
|
* @slot - The text of the feedback.
|
|
@@ -1637,8 +1625,13 @@ export declare class DapDSDivider extends DdsElement {
|
|
|
1637
1625
|
*/
|
|
1638
1626
|
export declare class DapDSFeedback extends DapDSFeedback_base {
|
|
1639
1627
|
static styles: CSSResult;
|
|
1628
|
+
/** The type of the feedback
|
|
1629
|
+
* @type { 'negative' | 'positive' | 'warning' }
|
|
1630
|
+
*/
|
|
1640
1631
|
type: FeedbackType;
|
|
1632
|
+
/** The weight of the label */
|
|
1641
1633
|
subtle: boolean;
|
|
1634
|
+
/** Removes the margins around the feedback */
|
|
1642
1635
|
noMargin: boolean;
|
|
1643
1636
|
render(): TemplateResult_2<1>;
|
|
1644
1637
|
private _iconType;
|
|
@@ -1916,32 +1909,32 @@ export declare class DapDSIconButton extends DdsElement {
|
|
|
1916
1909
|
* @element dap-ds-input
|
|
1917
1910
|
* @title - Input
|
|
1918
1911
|
*
|
|
1919
|
-
* @
|
|
1920
|
-
* @
|
|
1921
|
-
* @
|
|
1922
|
-
* @
|
|
1923
|
-
* @
|
|
1924
|
-
* @
|
|
1925
|
-
* @
|
|
1926
|
-
* @
|
|
1927
|
-
* @
|
|
1928
|
-
* @
|
|
1929
|
-
* @
|
|
1930
|
-
* @
|
|
1931
|
-
* @
|
|
1932
|
-
* @
|
|
1933
|
-
* @
|
|
1934
|
-
* @
|
|
1935
|
-
* @
|
|
1936
|
-
* @
|
|
1937
|
-
* @
|
|
1938
|
-
* @
|
|
1939
|
-
* @
|
|
1940
|
-
* @
|
|
1941
|
-
* @
|
|
1942
|
-
* @
|
|
1943
|
-
* @
|
|
1944
|
-
* @
|
|
1912
|
+
* @property {string} label - The label of the input.
|
|
1913
|
+
* @property {string} description - The description of the input.
|
|
1914
|
+
* @property {string} optionalLabel - Text of optional label.
|
|
1915
|
+
* @property {boolean} subtle - Text weight of label. If true the label is subtle. Default value is false.
|
|
1916
|
+
* @property {string} value - The value of the input.
|
|
1917
|
+
* @property {string} placeholder - The placeholder of the input.
|
|
1918
|
+
* @property {boolean} loading - The loading state of the input. Default is false.
|
|
1919
|
+
* @property {string} tooltip - The tooltip of the input.
|
|
1920
|
+
* @property {string} feedback - The feedback of the input.
|
|
1921
|
+
* @property {'negative' | 'positive' | 'warning'} feedbackType - The feedback type of the input. Can be `negative`, `positive`, or `warning`.
|
|
1922
|
+
* @property {'succes' | 'error'} status - The status of the input. Can be `success` or `error`.
|
|
1923
|
+
* @property {'sm' | 'lg'} size - The size of the input. Default is `sm`. Can be `sm` or `lg`.
|
|
1924
|
+
* @property {string} name - The name of the input.
|
|
1925
|
+
* @property {'text' | 'number' | 'button' | 'color' | 'email' | 'hidden' | 'reset' | 'submit' | 'url' | 'password'| 'file'} type - The type of the input. Default is 'text'.
|
|
1926
|
+
* @property {boolean} disabled - The disabled state of the input. Default is false.
|
|
1927
|
+
* @property {boolean} required - The required state of the input. Default is false.
|
|
1928
|
+
* @property {boolean} readonly - The readonly state of the input. Default is false.
|
|
1929
|
+
* @property {boolean} autofocus - The autofocus state of the input. Default is false.
|
|
1930
|
+
* @property {boolean} autocapitalize - The autocapitalize state of the input. Default is false.
|
|
1931
|
+
* @property {number} minlength - The minimum length of the input.
|
|
1932
|
+
* @property {number} maxlength - The maximum length of the input.
|
|
1933
|
+
* @property {number} min - The minimum value of the number input.
|
|
1934
|
+
* @property {number} max - The maximum value of the number input.
|
|
1935
|
+
* @property {number} step - The step value of the number input.
|
|
1936
|
+
* @property {string} inputmode - The inputmode of the input.
|
|
1937
|
+
* @property {string} pattern - The regex pattern of the input.
|
|
1945
1938
|
*
|
|
1946
1939
|
* @event dds-change - Fired when the input value changes.
|
|
1947
1940
|
* @event dds-input - Fired when the input value changes.
|
|
@@ -2063,8 +2056,8 @@ export declare class DapDSLink extends DdsElement {
|
|
|
2063
2056
|
*
|
|
2064
2057
|
*/
|
|
2065
2058
|
export declare class DapDSListItem extends DdsElement {
|
|
2066
|
-
actionSlot
|
|
2067
|
-
actionContainer
|
|
2059
|
+
private actionSlot;
|
|
2060
|
+
private actionContainer;
|
|
2068
2061
|
/**
|
|
2069
2062
|
* The variant of the list item.
|
|
2070
2063
|
* @type {'info' | 'pass' | 'fail' | 'notapplicable' | 'empty' | 'number'}
|
|
@@ -2107,7 +2100,7 @@ export declare class DapDSListItem extends DdsElement {
|
|
|
2107
2100
|
noIcon: boolean;
|
|
2108
2101
|
static styles: CSSResult;
|
|
2109
2102
|
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
2110
|
-
getIcon
|
|
2103
|
+
private getIcon;
|
|
2111
2104
|
render(): TemplateResult_2;
|
|
2112
2105
|
}
|
|
2113
2106
|
|
|
@@ -2159,27 +2152,27 @@ export declare class DapDSModal extends ModalBaseElement {
|
|
|
2159
2152
|
* @element dap-ds-number-input
|
|
2160
2153
|
* @title - Number input
|
|
2161
2154
|
*
|
|
2162
|
-
* @
|
|
2163
|
-
* @
|
|
2164
|
-
* @
|
|
2165
|
-
* @
|
|
2166
|
-
* @
|
|
2167
|
-
* @
|
|
2168
|
-
* @
|
|
2169
|
-
* @
|
|
2170
|
-
* @
|
|
2171
|
-
* @
|
|
2172
|
-
* @
|
|
2173
|
-
* @
|
|
2174
|
-
* @
|
|
2175
|
-
* @
|
|
2176
|
-
* @
|
|
2177
|
-
* @
|
|
2178
|
-
* @
|
|
2179
|
-
* @
|
|
2180
|
-
* @
|
|
2181
|
-
* @
|
|
2182
|
-
* @
|
|
2155
|
+
* @property {string} label - The label of the input.
|
|
2156
|
+
* @property {string} placeholder - The placeholder of the input.
|
|
2157
|
+
* @property {string} description - The description of the input.
|
|
2158
|
+
* @property {string} tooltip - The tooltip of the input.
|
|
2159
|
+
* @property {'success' | 'error'} status - The status of the input. Can be `success` or `error`.
|
|
2160
|
+
* @property {'sm' | 'lg'} size - The size of the input. Default is `sm`. Can be `sm` or `lg`.
|
|
2161
|
+
* @property {string} name - The name of the input.
|
|
2162
|
+
* @property {string} value - The value of the input.
|
|
2163
|
+
* @property {boolean} disabled - The disabled state of the input. Default is false.
|
|
2164
|
+
* @property {boolean} required - The required state of the input. Default is false.
|
|
2165
|
+
* @property {boolean} readonly - The readonly state of the input. Default is false.
|
|
2166
|
+
* @property {boolean} autofocus - The autofocus state of the input. Default is false.
|
|
2167
|
+
* @property {number} min - The minimum value of the number input.
|
|
2168
|
+
* @property {number} max - The maximum value of the number input.
|
|
2169
|
+
* @property {number} step - The step value of the number input.
|
|
2170
|
+
* @property {string} feedback - The feedback of the input.
|
|
2171
|
+
* @property {'negative' | 'positive' | 'warning'} feedbackType - The feedback type of the input. Can be `negative`, `positive`, or `warning`.
|
|
2172
|
+
* @property {boolean} loading - The loading state of the input. Default is false.
|
|
2173
|
+
* @property {boolean} optional - The optional state of the input.
|
|
2174
|
+
* @property {string} optionalLabel - The optional label of the input.
|
|
2175
|
+
* @property {boolean} subtle - The weight of the label. Default is `false`
|
|
2183
2176
|
*
|
|
2184
2177
|
* @event dds-change - Fired when the input value changes.
|
|
2185
2178
|
* @event dds-input - Fired when the input value changes.
|
|
@@ -2205,23 +2198,28 @@ export declare class DapDSNumberInput extends InputBaseElement {
|
|
|
2205
2198
|
* @summary An option item is a selectable item in a list of options.
|
|
2206
2199
|
* @element dap-ds-option-item
|
|
2207
2200
|
* @title - Option item
|
|
2208
|
-
*
|
|
2209
|
-
* @attribute {boolean} selected - The selected state of the option item.
|
|
2210
|
-
* @attribute {any} value - The value of the option item.
|
|
2211
|
-
* @attribute {boolean} disabled - The disabled state of the option item.
|
|
2212
|
-
* @attribute {boolean} focused - The focused state of the option item.
|
|
2213
|
-
*
|
|
2201
|
+
* *
|
|
2214
2202
|
* @csspart base - The main option item container.
|
|
2215
2203
|
* @csspart prefix - The prefix of the option item.
|
|
2216
2204
|
* @csspart label - The label of the option item.
|
|
2217
2205
|
* @csspart suffix - The suffix of the option item.
|
|
2206
|
+
*
|
|
2207
|
+
* @slot prefix - The prefix of the option item.
|
|
2208
|
+
* @slot - The label of the option item.
|
|
2209
|
+
* @slot suffix - The suffix of the option item.
|
|
2218
2210
|
*/
|
|
2219
2211
|
export declare class DapDSOptionItem extends DapDSOptionItem_base {
|
|
2212
|
+
/** The selected state of the option item */
|
|
2220
2213
|
selected?: boolean;
|
|
2214
|
+
/** Wheteher the item is selectable, whether it shows the selected icon */
|
|
2221
2215
|
selectable?: boolean;
|
|
2216
|
+
/** The value of the option item */
|
|
2222
2217
|
value?: any;
|
|
2218
|
+
/** The disabled state of the option item */
|
|
2223
2219
|
disabled?: boolean;
|
|
2220
|
+
/** The focused state of the option item */
|
|
2224
2221
|
focused?: boolean;
|
|
2222
|
+
/** The label of the option item, it can be a simplier version of an item */
|
|
2225
2223
|
label?: string;
|
|
2226
2224
|
private _prefixNode;
|
|
2227
2225
|
private _postfixNode;
|
|
@@ -2230,7 +2228,7 @@ export declare class DapDSOptionItem extends DapDSOptionItem_base {
|
|
|
2230
2228
|
static styles: CSSResult;
|
|
2231
2229
|
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
2232
2230
|
protected updated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
2233
|
-
handleClick
|
|
2231
|
+
private handleClick;
|
|
2234
2232
|
get optionText(): string;
|
|
2235
2233
|
render(): TemplateResult_2<1>;
|
|
2236
2234
|
}
|
|
@@ -2246,26 +2244,34 @@ declare const DapDSOptionItem_base: typeof DdsElement & {
|
|
|
2246
2244
|
* @element dap-ds-option-list
|
|
2247
2245
|
* @title - Option list
|
|
2248
2246
|
*
|
|
2249
|
-
* @attribute {string} filterText - The filter text of the option list.
|
|
2250
|
-
* @attribute {string} value - The value of the option list.
|
|
2251
|
-
* @attribute {boolean} focused - The focused state of the option list.
|
|
2252
|
-
* @attribute {'none' | 'typehead' | 'search'} search-mode - The search mode of the option list. Default is `none`. Can be `none`, `typehead`, or `search`.
|
|
2253
|
-
* @attribute {any[]} options - The options of the option list.
|
|
2254
|
-
*
|
|
2255
2247
|
* @event dds-cancel - Fired when the escape key is pressed.
|
|
2256
2248
|
* @event dds-option-change - Fired when the option list value changes.
|
|
2257
2249
|
* @event dds-keydown - Fired when a key is pressed down.
|
|
2258
2250
|
*
|
|
2259
2251
|
* @csspart base - The main option list container.
|
|
2252
|
+
*
|
|
2253
|
+
* @slot - The default slot for the options.
|
|
2260
2254
|
*/
|
|
2261
2255
|
export declare class DapDSOptionList extends DapDSOptionList_base {
|
|
2256
|
+
/** The filter text of the option list */
|
|
2262
2257
|
filterText: string;
|
|
2258
|
+
/** The value of the option list */
|
|
2263
2259
|
value?: string;
|
|
2260
|
+
/** The focused state of the option list. */
|
|
2264
2261
|
focused: boolean;
|
|
2262
|
+
/** Whether the option list is searchable */
|
|
2265
2263
|
search: boolean;
|
|
2264
|
+
/** The search mode of the option list. Default is `none` */
|
|
2266
2265
|
searchMode: 'none' | 'typehead' | 'autocomplete' | 'manual';
|
|
2266
|
+
/**
|
|
2267
|
+
* @ignore
|
|
2268
|
+
*/
|
|
2267
2269
|
searchOnValueSet: string;
|
|
2270
|
+
/** Whether the option list items are selectable, whether it shows the selected icon */
|
|
2268
2271
|
selectable: boolean;
|
|
2272
|
+
/**
|
|
2273
|
+
* @ignore
|
|
2274
|
+
*/
|
|
2269
2275
|
options?: any[];
|
|
2270
2276
|
queryTimeout: number | undefined;
|
|
2271
2277
|
queryString: string;
|
|
@@ -2286,7 +2292,7 @@ export declare class DapDSOptionList extends DapDSOptionList_base {
|
|
|
2286
2292
|
filterAvailableOptions(): void;
|
|
2287
2293
|
attributeChangedCallback(name: string, oldValue: any, newValue: any): void;
|
|
2288
2294
|
setOptionsFromSlottedItems(): void;
|
|
2289
|
-
handleKeydown
|
|
2295
|
+
private handleKeydown;
|
|
2290
2296
|
private scrollToActiveOption;
|
|
2291
2297
|
private handleKeyCodes;
|
|
2292
2298
|
private getEventDetails;
|
|
@@ -2298,7 +2304,7 @@ export declare class DapDSOptionList extends DapDSOptionList_base {
|
|
|
2298
2304
|
private setSelectedOption;
|
|
2299
2305
|
private selectionChanged;
|
|
2300
2306
|
private changeOption;
|
|
2301
|
-
handleOptionClick
|
|
2307
|
+
private handleOptionClick;
|
|
2302
2308
|
getSearchString: (char: string) => string;
|
|
2303
2309
|
buildQueryString: (char: string) => void;
|
|
2304
2310
|
captureFocus(key?: string): void;
|
|
@@ -2318,10 +2324,9 @@ declare const DapDSOptionList_base: typeof DdsElement & {
|
|
|
2318
2324
|
* @element dap-ds-overlay
|
|
2319
2325
|
* @title - Overlay
|
|
2320
2326
|
*
|
|
2321
|
-
* @attribute {boolean} open - The open state of the overlay.
|
|
2322
|
-
*
|
|
2323
2327
|
*/
|
|
2324
2328
|
export declare class DapDSOverlay extends DdsElement {
|
|
2329
|
+
/** The open state of the overlay. */
|
|
2325
2330
|
open?: boolean;
|
|
2326
2331
|
static styles: CSSResult;
|
|
2327
2332
|
render(): TemplateResult_2<1>;
|
|
@@ -2333,24 +2338,24 @@ export declare class DapDSOverlay extends DdsElement {
|
|
|
2333
2338
|
* @element dap-ds-password-input
|
|
2334
2339
|
* @title - Password input
|
|
2335
2340
|
*
|
|
2336
|
-
* @
|
|
2337
|
-
* @
|
|
2338
|
-
* @
|
|
2339
|
-
* @
|
|
2340
|
-
* @
|
|
2341
|
-
* @
|
|
2342
|
-
* @
|
|
2343
|
-
* @
|
|
2344
|
-
* @
|
|
2345
|
-
* @
|
|
2346
|
-
* @
|
|
2347
|
-
* @
|
|
2348
|
-
* @
|
|
2349
|
-
* @
|
|
2350
|
-
* @
|
|
2351
|
-
* @
|
|
2352
|
-
* @
|
|
2353
|
-
* @
|
|
2341
|
+
* @property {string} label - The label of the password input.
|
|
2342
|
+
* @property {string} placeholder - The placeholder of the password input.
|
|
2343
|
+
* @property {string} description - The description of the password input.
|
|
2344
|
+
* @property {string} tooltip - The tooltip of the password input.
|
|
2345
|
+
* @property {string} status - The status of the password input. Can be `success` or `error`.
|
|
2346
|
+
* @property {'sm' | 'lg'} size - The size of the password input. Default is `sm`. Can be `sm` or `lg`.
|
|
2347
|
+
* @property {string} name - The name of the password input.
|
|
2348
|
+
* @property {string} value - The value of the password input.
|
|
2349
|
+
* @property {boolean} disabled - The disabled state of the password input. Default is false.
|
|
2350
|
+
* @property {boolean} required - The required state of the password input. Default is false.
|
|
2351
|
+
* @property {boolean} readonly - The readonly state of the password input. Default is false.
|
|
2352
|
+
* @property {boolean} autofocus - The autofocus state of the password input. Default is false.
|
|
2353
|
+
* @property {string} feedback - The feedback of the input.
|
|
2354
|
+
* @property {'negative' | 'positive' | 'warning'} feedbackType - The feedback type of the input. Can be `negative`, `positive`, or `warning`.
|
|
2355
|
+
* @property {boolean} loading - The loading state of the password input. Default is false.
|
|
2356
|
+
* @property {boolean} optional - The optional state of the password input.
|
|
2357
|
+
* @property {string} optionalLabel - The optional label of the password input.
|
|
2358
|
+
* @property {boolean} subtle - The weight of the label. Default is `false`
|
|
2354
2359
|
*
|
|
2355
2360
|
* @event dds-change - Fired when the input value changes.
|
|
2356
2361
|
* @event dds-input - Fired when the input value changes.
|
|
@@ -2379,14 +2384,6 @@ export declare class DapDSPasswordInput extends InputBaseElement {
|
|
|
2379
2384
|
* @element dap-ds-popup
|
|
2380
2385
|
* @title - Popup
|
|
2381
2386
|
*
|
|
2382
|
-
* @attribute {boolean} disabled - The disabled state of the popup.
|
|
2383
|
-
* @attribute {boolean} opened - The open state of the popup.
|
|
2384
|
-
* @attribute {PopupPlacement} placement - The placement of the popup. Can be 'top', 'right', 'bottom', or 'left'. Default is 'bottom'.
|
|
2385
|
-
* @attribute {'absolute' | 'fixed'} floatingStrategy - The floating strategy of the popup. Default is `absolute`. Can be `absolute` or `fixed`.
|
|
2386
|
-
* @attribute {number} offset - The offset of the popup.
|
|
2387
|
-
* @attribute {boolean} sync - The sync state of the popup.
|
|
2388
|
-
* @attribute {boolean} hasArrow - The arrow state of the popup.
|
|
2389
|
-
*
|
|
2390
2387
|
* @slot trigger - The trigger of the popup.
|
|
2391
2388
|
* @slot - The content of the popup.
|
|
2392
2389
|
*
|
|
@@ -2397,16 +2394,29 @@ export declare class DapDSPopup extends DdsElement {
|
|
|
2397
2394
|
static styles: CSSResult;
|
|
2398
2395
|
private triggerElement;
|
|
2399
2396
|
private cleanup;
|
|
2400
|
-
popup
|
|
2397
|
+
private popup;
|
|
2401
2398
|
private arrowElement?;
|
|
2399
|
+
/** The disabled state of the popup. */
|
|
2402
2400
|
disabled?: boolean | undefined;
|
|
2401
|
+
/** The open state of the popup. */
|
|
2403
2402
|
opened?: boolean | undefined;
|
|
2403
|
+
/** The placement of the popup.
|
|
2404
|
+
* @type {'top' | 'right' | 'bottom' | 'left'}
|
|
2405
|
+
*/
|
|
2404
2406
|
placement: PopupPlacement;
|
|
2407
|
+
/** The floating strategy of the popup.
|
|
2408
|
+
* @type {'absolute' | 'fixed'}
|
|
2409
|
+
*/
|
|
2405
2410
|
floatingStrategy: FloatingStrategy;
|
|
2411
|
+
/** The offset of the popup. */
|
|
2406
2412
|
offset: number;
|
|
2413
|
+
/** Whether the popup should sync its width with the trigger. */
|
|
2407
2414
|
sync?: boolean;
|
|
2415
|
+
/** The maximum height of the popup. */
|
|
2408
2416
|
maxHeight: number | 'auto';
|
|
2417
|
+
/** Whether the popup has an arrow. */
|
|
2409
2418
|
hasArrow: boolean;
|
|
2419
|
+
/** Whether the popup should overflow. */
|
|
2410
2420
|
overflow: boolean;
|
|
2411
2421
|
connectedCallback(): Promise<void>;
|
|
2412
2422
|
updated(changedProps: Map<string, unknown>): Promise<void>;
|
|
@@ -2589,29 +2599,21 @@ export declare class DapDSSearch extends ComboboxBaseElement {
|
|
|
2589
2599
|
* @event dds-blur - Emitted when the select loses focus.
|
|
2590
2600
|
* @event dds-focus - Emitted when the select gains focus.
|
|
2591
2601
|
*
|
|
2592
|
-
* @
|
|
2593
|
-
* @
|
|
2594
|
-
* @
|
|
2595
|
-
* @
|
|
2596
|
-
* @
|
|
2597
|
-
* @
|
|
2598
|
-
* @
|
|
2599
|
-
* @
|
|
2600
|
-
* @
|
|
2601
|
-
* @
|
|
2602
|
-
* @
|
|
2603
|
-
* @
|
|
2604
|
-
* @
|
|
2605
|
-
* @
|
|
2606
|
-
* @
|
|
2607
|
-
* @attribute {string} feedback - The feedback of the select.
|
|
2608
|
-
* @attribute {'negative' | 'positive' | 'warning'} feedbackType - The feedback type of the select. Can be `negative`, `positive`, or `warning`.
|
|
2609
|
-
* @attribute {boolean} isMobile - Whether the select is in mobile mode.
|
|
2610
|
-
* @attribute {string} status - The status of the select. Can be `success` or `error`.
|
|
2611
|
-
* @attribute {boolean} optional - The optional state of the select.
|
|
2612
|
-
* @attribute {string} optionalLabel - The optional label of the select.
|
|
2613
|
-
* @attribute {boolean} subtle - The weight of the label. Default is `false`
|
|
2614
|
-
* @attribute {boolean} noAnimation - The animation state of the select. Default is `false`
|
|
2602
|
+
* @property {string} value - The value of the select.
|
|
2603
|
+
* @property {string} label - The label of the select.
|
|
2604
|
+
* @property {string} description - The description of the select.
|
|
2605
|
+
* @property {string} tooltip - The tooltip of the select.
|
|
2606
|
+
* @property {'sm' | 'lg'} size - The size of the select. Default is `sm`. Can be `sm` or `lg`.
|
|
2607
|
+
* @property {boolean} disabled - Whether the select is disabled.
|
|
2608
|
+
* @property {boolean} required - Whether the select is required.
|
|
2609
|
+
* @property {boolean} readonly - Whether the select is readonly.
|
|
2610
|
+
* @property {boolean} autofocus - Whether the select is autofocus.
|
|
2611
|
+
* @property {string} feedback - The feedback of the select.
|
|
2612
|
+
* @property {negative | positive | warning} feedbackType - The feedback type of the select. Can be `negative`, `positive`, or `warning`.
|
|
2613
|
+
* @property {string} status - The status of the select. Can be `success` or `error`.
|
|
2614
|
+
* @property {boolean} optional - The optional state of the select.
|
|
2615
|
+
* @property {string} optionalLabel - The optional label of the select.
|
|
2616
|
+
* @property {boolean} subtle - The weight of the label. Default is `false`
|
|
2615
2617
|
*
|
|
2616
2618
|
* @csspart base - The main select container.
|
|
2617
2619
|
* @csspart trigger - The trigger button of the select.
|
|
@@ -2620,27 +2622,52 @@ export declare class DapDSSearch extends ComboboxBaseElement {
|
|
|
2620
2622
|
* @csspart feedback - The feedback of the select.
|
|
2621
2623
|
* @csspart tooltip - The tooltip of the select.
|
|
2622
2624
|
* @csspart option-list - The option list of the select.
|
|
2625
|
+
*
|
|
2626
|
+
* @slot - The option list of the select.
|
|
2627
|
+
* @slot indicator-icon - The indicator icon of the select.
|
|
2623
2628
|
*/
|
|
2624
2629
|
export declare class DapDSSelect extends GenericFormElement {
|
|
2630
|
+
/**
|
|
2631
|
+
* @ignore
|
|
2632
|
+
*/
|
|
2625
2633
|
triggerButton: HTMLButtonElement;
|
|
2634
|
+
/**
|
|
2635
|
+
* @ignore
|
|
2636
|
+
*/
|
|
2626
2637
|
optionList: DapDSOptionList;
|
|
2638
|
+
/** The popup placement of the select
|
|
2639
|
+
* @type {'top' | 'top-start' | 'top-end' | 'right' | 'right-start'| 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end'}
|
|
2640
|
+
*/
|
|
2627
2641
|
placement: PopupPlacement;
|
|
2642
|
+
/** Whether the select dropdown is opened.*/
|
|
2628
2643
|
opened?: boolean | undefined;
|
|
2644
|
+
/** The placeholder of the select. */
|
|
2629
2645
|
placeholder: string | null;
|
|
2646
|
+
/** The sync size of the select dropdown */
|
|
2630
2647
|
sync?: boolean;
|
|
2648
|
+
/** Whether the select is in mobile mode. */
|
|
2631
2649
|
isMobile?: boolean;
|
|
2650
|
+
/** The loading state of the select. */
|
|
2632
2651
|
loading?: boolean;
|
|
2652
|
+
/** The max heigth of the select dropdown. */
|
|
2633
2653
|
maxHeight?: number;
|
|
2654
|
+
/** Whether the select dropdown indicator is animated or not */
|
|
2634
2655
|
noAnimation?: boolean;
|
|
2656
|
+
/** The floating strategy of the select dropdown
|
|
2657
|
+
* @type {'absolute' | 'fixed'}
|
|
2658
|
+
*/
|
|
2635
2659
|
floatingStrategy: FloatingStrategy;
|
|
2660
|
+
/**
|
|
2661
|
+
* @ignore
|
|
2662
|
+
*/
|
|
2636
2663
|
selectedItem: any;
|
|
2637
2664
|
static styles: CSSResult;
|
|
2638
|
-
handleClick
|
|
2639
|
-
handleKeyDown
|
|
2640
|
-
handleListKeyDown
|
|
2641
|
-
handleDocumentMouseDown
|
|
2642
|
-
handleFocus
|
|
2643
|
-
handleBlur
|
|
2665
|
+
private handleClick;
|
|
2666
|
+
private handleKeyDown;
|
|
2667
|
+
private handleListKeyDown;
|
|
2668
|
+
private handleDocumentMouseDown;
|
|
2669
|
+
private handleFocus;
|
|
2670
|
+
private handleBlur;
|
|
2644
2671
|
showDropDown(key?: string): Promise<void>;
|
|
2645
2672
|
hideDropDown(): Promise<void>;
|
|
2646
2673
|
get focusElement(): HTMLButtonElement;
|
|
@@ -2650,7 +2677,7 @@ export declare class DapDSSelect extends GenericFormElement {
|
|
|
2650
2677
|
reportValidity(): boolean;
|
|
2651
2678
|
setValidity(): void;
|
|
2652
2679
|
handleInvalid(event: Event): void;
|
|
2653
|
-
handleSelectedChange
|
|
2680
|
+
private handleSelectedChange;
|
|
2654
2681
|
renderTriggerElement(): TemplateResult_2;
|
|
2655
2682
|
renderOptionList(): TemplateResult_2;
|
|
2656
2683
|
render(): TemplateResult_2;
|
|
@@ -2750,21 +2777,31 @@ export declare class DapDSSnackbarMessage extends DdsElement {
|
|
|
2750
2777
|
* @element dap-ds-spinner
|
|
2751
2778
|
* @title - Spinner
|
|
2752
2779
|
*
|
|
2753
|
-
* @attribute {string} text - The loading text. Optional, default is empty.
|
|
2754
|
-
* @attribute {'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs'} size - The size of the spinner. It is based on the icon sizes. Default is `lg`.
|
|
2755
|
-
* @attribute {number} staticSize - The size of the spinner in pixels. This overrides the size attribute.
|
|
2756
|
-
* @attribute {"neutral" | "brand" | "negative" | "positive" | "inverted"} variant - The variant of the spinner. Default is `neutral`. Can be `neutral`, `brand`, `negative`, `positive`, or `inverted`.
|
|
2757
|
-
*
|
|
2758
2780
|
* @csspart base - The main spinner container.
|
|
2759
2781
|
* @csspart icon - The loading icon element.
|
|
2782
|
+
* @csspart icon-base - The base of the loading icon.
|
|
2760
2783
|
* @csspart text - The loading text element.
|
|
2761
2784
|
*
|
|
2785
|
+
* @slot - The loading text content.
|
|
2786
|
+
*
|
|
2762
2787
|
*/
|
|
2763
2788
|
export declare class DapDSSpinner extends DdsElement {
|
|
2789
|
+
/**
|
|
2790
|
+
* The variant of the spinner.
|
|
2791
|
+
* @type {"neutral" | "brand" | "negative" | "positive" | "inverted"}
|
|
2792
|
+
*/
|
|
2764
2793
|
variant: SpinnerVariant;
|
|
2794
|
+
/**
|
|
2795
|
+
* The size of the spinner.
|
|
2796
|
+
* @type {"xxl" | "xl" | "lg" | "md" | "sm" | "xs"}
|
|
2797
|
+
*/
|
|
2765
2798
|
size: IconSize;
|
|
2799
|
+
/** The size of the spinner in pixels. This overrides the size attribute */
|
|
2766
2800
|
staticSize?: number;
|
|
2801
|
+
/** The loading text. */
|
|
2767
2802
|
text: string;
|
|
2803
|
+
/** Removes the text color */
|
|
2804
|
+
noColor: boolean;
|
|
2768
2805
|
static styles: CSSResult;
|
|
2769
2806
|
render(): TemplateResult_2<1>;
|
|
2770
2807
|
}
|
|
@@ -2775,20 +2812,21 @@ export declare class DapDSSpinner extends DdsElement {
|
|
|
2775
2812
|
* @element dap-ds-stack
|
|
2776
2813
|
* @title - Stack
|
|
2777
2814
|
*
|
|
2778
|
-
* @attribute {CSSFlexDirection} direction - The direction of the stack. Default is `column`. Can be `column`, `column-reverse`, `row`, or `row-reverse`.
|
|
2779
|
-
* @attribute {Spacing} spacing - The spacing of the stack. Uses the system spacing scale (100, 200, 300...etc)
|
|
2780
|
-
* @attribute {Boolean} endMargin - Adds margin to the end of the stack.
|
|
2781
|
-
* @attribute {Boolean} startMargin - Adds margin to the start of the stack.
|
|
2782
|
-
*
|
|
2783
2815
|
* @slot - The content of the stack.
|
|
2784
2816
|
*
|
|
2785
2817
|
* @csspart stack - The main stack container.
|
|
2786
2818
|
*/
|
|
2787
2819
|
export declare class DapDSStack extends DdsElement {
|
|
2820
|
+
/** The direction of the stack.
|
|
2821
|
+
* @type {'column' | 'column-reverse' | 'row' | 'row-reverse'}
|
|
2822
|
+
*/
|
|
2788
2823
|
direction: CSSFlexDirection;
|
|
2824
|
+
/** Adds margin to the end of the stack. */
|
|
2789
2825
|
endMargin?: boolean;
|
|
2826
|
+
/** Adds margin to the start of the stack. */
|
|
2790
2827
|
startMargin?: boolean;
|
|
2791
2828
|
private _spacing;
|
|
2829
|
+
/** The spacing of the stack. Uses the system spacing scale (100, 200, 300...etc) */
|
|
2792
2830
|
set spacing(value: Spacing);
|
|
2793
2831
|
get spacing(): Spacing;
|
|
2794
2832
|
static styles: CSSResult;
|
|
@@ -2847,10 +2885,7 @@ export declare class DapDSSwitch extends LabelPositionedFormElement {
|
|
|
2847
2885
|
* @summary A tab item component. It is used in dap-ds-tab-group component slot to create a tab item.
|
|
2848
2886
|
* @element dap-ds-tab
|
|
2849
2887
|
* @title - Tab
|
|
2850
|
-
*
|
|
2851
|
-
* @attribute {string} tabId - The tab id.
|
|
2852
|
-
* @attribute {boolean} disabled - The disabled state of the tab.
|
|
2853
|
-
*
|
|
2888
|
+
* *
|
|
2854
2889
|
* @slot - The tab title template.
|
|
2855
2890
|
* @slot content - The tab content.
|
|
2856
2891
|
*
|
|
@@ -2858,7 +2893,9 @@ export declare class DapDSSwitch extends LabelPositionedFormElement {
|
|
|
2858
2893
|
*/
|
|
2859
2894
|
export declare class DapDSTab extends DdsElement {
|
|
2860
2895
|
static styles: CSSResult;
|
|
2896
|
+
/** The tab id. Required */
|
|
2861
2897
|
tabId: string;
|
|
2898
|
+
/** The disabled state of the tab. */
|
|
2862
2899
|
disabled: boolean;
|
|
2863
2900
|
private _selected;
|
|
2864
2901
|
firstUpdated(): void;
|
|
@@ -2871,10 +2908,6 @@ export declare class DapDSTab extends DdsElement {
|
|
|
2871
2908
|
* @element dap-ds-tab-group
|
|
2872
2909
|
* @title - Tab group
|
|
2873
2910
|
*
|
|
2874
|
-
* @attribute {'sm' | 'lg'} size - Defines the size of the tab buttons. Default is `sm`. Can be `sm` or `lg`.
|
|
2875
|
-
* @attribute {string} selectedTabId - The selected tab id.
|
|
2876
|
-
* @attribute {boolean} mobile - If true, the tab group will be displayed in mobile mode.
|
|
2877
|
-
*
|
|
2878
2911
|
* @event dds-tab-select - Fired when select a new tab.
|
|
2879
2912
|
*
|
|
2880
2913
|
* @slot - The tab items.
|
|
@@ -2884,12 +2917,19 @@ export declare class DapDSTab extends DdsElement {
|
|
|
2884
2917
|
* @csspart tab-content - The tab content container.
|
|
2885
2918
|
*/
|
|
2886
2919
|
export declare class DapDSTabGroup extends DdsElement {
|
|
2920
|
+
/**@ignore */
|
|
2887
2921
|
defaultSlot: HTMLSlotElement;
|
|
2888
|
-
|
|
2922
|
+
/**@ignore */
|
|
2923
|
+
tabNavElements: HTMLElement[];
|
|
2924
|
+
/** The selected tab id. */
|
|
2889
2925
|
selectedTabId: string;
|
|
2926
|
+
/** The size of the tab buttons. Default is `sm`. Can be `sm` or `lg`.
|
|
2927
|
+
* @type {'sm' | 'lg'}
|
|
2928
|
+
*/
|
|
2890
2929
|
size: CommonSize;
|
|
2930
|
+
/** If true, the tab group will be displayed in mobile mode. */
|
|
2891
2931
|
mobile: boolean;
|
|
2892
|
-
|
|
2932
|
+
static styles: CSSResult;
|
|
2893
2933
|
private _tabNavItems;
|
|
2894
2934
|
private _activeTabIds;
|
|
2895
2935
|
private _initialEmit;
|
|
@@ -2906,13 +2946,13 @@ export declare class DapDSTabGroup extends DdsElement {
|
|
|
2906
2946
|
* @element dap-ds-table
|
|
2907
2947
|
* @title - Table
|
|
2908
2948
|
*
|
|
2909
|
-
* @attribute {boolean} mobile - If the table is mobile design.
|
|
2910
|
-
*
|
|
2911
2949
|
* @slot - The default slot. Accepts `dap-ds-table-row` elements.
|
|
2912
2950
|
*/
|
|
2913
2951
|
export declare class DapDSTable extends DdsElement {
|
|
2952
|
+
/**@ignore */
|
|
2914
2953
|
rows: Array<HTMLElement>;
|
|
2915
2954
|
role: string;
|
|
2955
|
+
/**If the table has mobile design */
|
|
2916
2956
|
mobile: boolean;
|
|
2917
2957
|
static styles: CSSResult;
|
|
2918
2958
|
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
@@ -2924,8 +2964,6 @@ export declare class DapDSTable extends DdsElement {
|
|
|
2924
2964
|
* @element dap-ds-table-cell
|
|
2925
2965
|
* @title - Table cell
|
|
2926
2966
|
*
|
|
2927
|
-
* @attribute {boolean} last - If the cell is the last one.
|
|
2928
|
-
*
|
|
2929
2967
|
* @slot - The default slot.
|
|
2930
2968
|
*
|
|
2931
2969
|
* @csspart base - The main cell container.
|
|
@@ -2933,6 +2971,7 @@ export declare class DapDSTable extends DdsElement {
|
|
|
2933
2971
|
*/
|
|
2934
2972
|
export declare class DapDSTableCell extends DdsElement {
|
|
2935
2973
|
static styles: CSSResult;
|
|
2974
|
+
/**If the cell is the last one.*/
|
|
2936
2975
|
last: boolean;
|
|
2937
2976
|
role: string;
|
|
2938
2977
|
render(): TemplateResult_2;
|
|
@@ -2942,9 +2981,7 @@ export declare class DapDSTableCell extends DdsElement {
|
|
|
2942
2981
|
* Table header cell component.
|
|
2943
2982
|
* @element dap-ds-table-header
|
|
2944
2983
|
* @title - Table header
|
|
2945
|
-
*
|
|
2946
|
-
* @attribute {boolean} last - If the header cell is the last one.
|
|
2947
|
-
*
|
|
2984
|
+
* *
|
|
2948
2985
|
* @slot - The default slot.
|
|
2949
2986
|
*
|
|
2950
2987
|
* @csspart base - The main header cell container.
|
|
@@ -2952,6 +2989,7 @@ export declare class DapDSTableCell extends DdsElement {
|
|
|
2952
2989
|
*/
|
|
2953
2990
|
export declare class DapDSTableHeader extends DdsElement {
|
|
2954
2991
|
static styles: CSSResult;
|
|
2992
|
+
/**If the header cell is the last one.*/
|
|
2955
2993
|
last: boolean;
|
|
2956
2994
|
role: string;
|
|
2957
2995
|
render(): TemplateResult_2;
|
|
@@ -2962,13 +3000,12 @@ export declare class DapDSTableHeader extends DdsElement {
|
|
|
2962
3000
|
* @element dap-ds-table-row
|
|
2963
3001
|
* @title - Table row
|
|
2964
3002
|
*
|
|
2965
|
-
* @attribute {boolean} mobile - If the row is mobile design.
|
|
2966
|
-
*
|
|
2967
3003
|
* @slot - The default slot. Accepts `dap-ds-table-cell` and `dap-ds-table-header` elements.
|
|
2968
3004
|
*/
|
|
2969
3005
|
export declare class DapDSTableRow extends DdsElement {
|
|
2970
3006
|
static styles: CSSResult;
|
|
2971
3007
|
role: string;
|
|
3008
|
+
/**If the row is mobile design */
|
|
2972
3009
|
mobile: boolean;
|
|
2973
3010
|
render(): TemplateResult_2;
|
|
2974
3011
|
}
|
|
@@ -2979,26 +3016,21 @@ export declare class DapDSTableRow extends DdsElement {
|
|
|
2979
3016
|
* @element dap-ds-textarea
|
|
2980
3017
|
* @title - Textarea
|
|
2981
3018
|
*
|
|
2982
|
-
* @
|
|
2983
|
-
* @
|
|
2984
|
-
* @
|
|
2985
|
-
* @
|
|
2986
|
-
* @
|
|
2987
|
-
* @
|
|
2988
|
-
* @
|
|
2989
|
-
* @
|
|
2990
|
-
* @
|
|
2991
|
-
* @
|
|
2992
|
-
* @
|
|
2993
|
-
* @
|
|
2994
|
-
* @
|
|
2995
|
-
* @
|
|
2996
|
-
* @
|
|
2997
|
-
* @attribute {string} feedback - The feedback of the textarea.
|
|
2998
|
-
* @attribute {'negative' | 'positive' | 'warning'} feedbackType - The feedback type of the textarea. Can be `negative`, `positive`, or `warning`.
|
|
2999
|
-
* @attribute {boolean} optional - The optional state of the textarea.
|
|
3000
|
-
* @attribute {string} optionalLabel - The optional label of the textarea.
|
|
3001
|
-
* @attribute {boolean} subtle - The weight of the label. Default is `false`
|
|
3019
|
+
* @property {'sm' | 'lg'} size - The size of the textarea. Default is `md`. Can be `sm` or `lg`.
|
|
3020
|
+
* @property {boolean} disabled - The disabled state of the textarea.
|
|
3021
|
+
* @property {number} minlength - The minimum length of the textarea.
|
|
3022
|
+
* @property {string} value - The value of the textarea.
|
|
3023
|
+
* @property {InputStatus} status - The status of the textarea. Can be `success` or `error`.
|
|
3024
|
+
* @property {boolean} readonly - The readonly state of the textarea.
|
|
3025
|
+
* @property {boolean} required - The required state of the textarea.
|
|
3026
|
+
* @property {string} label - The label of the textarea.
|
|
3027
|
+
* @property {string} description - The description of the textarea.
|
|
3028
|
+
* @property {string} feedback - The feedback of the textarea.
|
|
3029
|
+
* @property {'negative' | 'positive' | 'warning'} feedbackType - The feedback type of the textarea. Can be `negative`, `positive`, or `warning`.
|
|
3030
|
+
* @property {boolean} optional - The optional state of the textarea.
|
|
3031
|
+
* @property {string} optionalLabel - The optional label of the textarea.
|
|
3032
|
+
* @property {boolean} subtle - The weight of the label. Default is `false`
|
|
3033
|
+
* @property {boolean} autofocus - The autofocus state of the textarea.
|
|
3002
3034
|
*
|
|
3003
3035
|
* @event dds-count-change - Fires when the count of the textarea changes.
|
|
3004
3036
|
* @event dds-change - Fired when the textarea value changes.
|
|
@@ -3013,17 +3045,27 @@ export declare class DapDSTableRow extends DdsElement {
|
|
|
3013
3045
|
* @csspart base - The main textarea container.
|
|
3014
3046
|
* @csspart input - The native input of the textarea.
|
|
3015
3047
|
* @csspart counter - The counter of the textarea.
|
|
3048
|
+
* @csspart counter-base - The base of the counter.
|
|
3049
|
+
* @csspart feedback - The feedback of the textarea.
|
|
3016
3050
|
*/
|
|
3017
3051
|
export declare class DapDSTextarea extends GenericFormElement {
|
|
3052
|
+
/**@ignore */
|
|
3018
3053
|
input: HTMLTextAreaElement;
|
|
3019
|
-
|
|
3054
|
+
/** Hide character counter. */
|
|
3020
3055
|
hideCounter: boolean;
|
|
3056
|
+
/** The minimum length of the textarea. */
|
|
3021
3057
|
minlength?: number;
|
|
3058
|
+
/** The maximum length of the textarea. */
|
|
3022
3059
|
maxlength?: number;
|
|
3060
|
+
/** The number of rows in the textarea. */
|
|
3023
3061
|
rows?: number;
|
|
3062
|
+
/** The number of columns in the textarea. */
|
|
3024
3063
|
cols?: number;
|
|
3064
|
+
/** The placeholder of the textarea. */
|
|
3025
3065
|
placeholder: string;
|
|
3066
|
+
/** Indicates how the control should wrap the value for form submission. */
|
|
3026
3067
|
wrap: 'hard' | 'soft';
|
|
3068
|
+
/**@ignore */
|
|
3027
3069
|
count: number;
|
|
3028
3070
|
static styles: CSSResult;
|
|
3029
3071
|
get focusElement(): HTMLTextAreaElement;
|
|
@@ -3045,28 +3087,30 @@ export declare class DapDSTextarea extends GenericFormElement {
|
|
|
3045
3087
|
* @element dap-ds-toc
|
|
3046
3088
|
* @title - toc
|
|
3047
3089
|
*
|
|
3048
|
-
* @attribute {string} root - The root element to observe [`IntersectionObserver`](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#root)
|
|
3049
|
-
* @attribute {string} rootMargin - The margin around the root element to observe [`IntersectionObserver`](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#rootmargin)
|
|
3050
|
-
* @attribute {number} threshold - The threshold to trigger [`IntersectionObserver`](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#threshold)
|
|
3051
|
-
* @attribute {number} minHeadingLevel - The minimum heading level to include in the TOC. The default value is `2`.
|
|
3052
|
-
* @attribute {number} maxHeadingLevel - The maximum heading level to include in the TOC. The default value is `3`.
|
|
3053
|
-
* @attribute {boolean} noIndent - Whether to indent the TOC items.
|
|
3054
|
-
* @attribute {string} header - The header of the TOC.
|
|
3055
|
-
*
|
|
3056
3090
|
* @event dds-anchor-change - Event that is triggered when the anchor changes.
|
|
3057
3091
|
*
|
|
3058
3092
|
* @csspart base - The main container of the toc.
|
|
3059
3093
|
*
|
|
3060
3094
|
*/
|
|
3061
3095
|
export declare class DapDSTOC extends DdsElement {
|
|
3096
|
+
/** The root element to observe [`IntersectionObserver`](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#root) */
|
|
3062
3097
|
root: string;
|
|
3098
|
+
/** The margin around the root element to observe [`IntersectionObserver`](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#rootmargin) */
|
|
3063
3099
|
rootMargin: string;
|
|
3100
|
+
/** The margin around the last anchor to observe [`IntersectionObserver`](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#rootmargin) */
|
|
3101
|
+
lastAnchorRootMargin: string;
|
|
3102
|
+
/** The threshold to trigger [`IntersectionObserver`](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#threshold) */
|
|
3064
3103
|
threshold: number;
|
|
3104
|
+
/** The minimum heading level to include in the TOC. The default value is `2`. */
|
|
3065
3105
|
minHeadingLevel: number;
|
|
3106
|
+
/** The maximum heading level to include in the TOC. The default value is `3`. */
|
|
3066
3107
|
maxHeadingLevel: number;
|
|
3108
|
+
/** Whether to indent the TOC items. */
|
|
3067
3109
|
noIndent: boolean;
|
|
3110
|
+
/** The header of the TOC. */
|
|
3068
3111
|
header: string;
|
|
3069
3112
|
private _observer;
|
|
3113
|
+
private _lastAnchorObserver;
|
|
3070
3114
|
private _anchors;
|
|
3071
3115
|
private _activeAnchor;
|
|
3072
3116
|
private _selectors;
|
|
@@ -3080,12 +3124,13 @@ export declare class DapDSTOC extends DdsElement {
|
|
|
3080
3124
|
attributeChangedCallback(name: string, oldValue: any, newValue: any): Promise<void>;
|
|
3081
3125
|
updated(changedProperties: Map<PropertyKey, unknown>): Promise<void>;
|
|
3082
3126
|
disconnectedCallback(): void;
|
|
3127
|
+
private onScroll;
|
|
3083
3128
|
renderTree(): Promise<void>;
|
|
3084
3129
|
getAnchors(minHeadingLevel: number, maxHeadingLevel: number): HTMLElement[];
|
|
3085
|
-
setActiveAnchor(element: HTMLAnchorElement, entry: IntersectionObserverEntry): void;
|
|
3086
|
-
getHeaders
|
|
3130
|
+
setActiveAnchor(element: HTMLAnchorElement, entry: IntersectionObserverEntry | HTMLElement): void;
|
|
3131
|
+
private getHeaders;
|
|
3087
3132
|
buildTree(headers: any[]): string;
|
|
3088
|
-
_handleIntersect
|
|
3133
|
+
private _handleIntersect;
|
|
3089
3134
|
}
|
|
3090
3135
|
|
|
3091
3136
|
/**
|
|
@@ -3094,15 +3139,6 @@ export declare class DapDSTOC extends DdsElement {
|
|
|
3094
3139
|
* @element dap-ds-tooltip
|
|
3095
3140
|
* @title - Tooltip
|
|
3096
3141
|
*
|
|
3097
|
-
* @attribute {string} content - The content of the tooltip, supporting text only.
|
|
3098
|
-
* @attribute {PopupPlacement} placement - The position of the tooltip around the trigger element. Default is `bottom`. Can be `top`, `right`, `bottom`, or `left`.
|
|
3099
|
-
* @attribute {boolean} disabled - Disables the tooltip.
|
|
3100
|
-
* @attribute {boolean} opened - Sets the tooltip to opened by default (will still be closed on closing events).
|
|
3101
|
-
* @attribute {'tooltip' | 'toggle'} mode - Sets the tooltip to toggle mode. Default is `tooltip`. Can be `tooltip` or `toggle`.
|
|
3102
|
-
* @attribute {string} trigger - Sets custom trigger event (hover, focus, click). Default is `hover focus`.
|
|
3103
|
-
* @attribute {boolean} noArrow - Hides the arrow of the tooltip.
|
|
3104
|
-
* @attribute {'absolute' | 'fixed'} floatingStrategy - The floating strategy of the tooltip. Default is `absolute`. Can be `absolute` or `fixed`.
|
|
3105
|
-
*
|
|
3106
3142
|
* @slot - The content of the tooltip.
|
|
3107
3143
|
* @slot trigger - The trigger element of the tooltip.
|
|
3108
3144
|
*
|
|
@@ -3115,29 +3151,40 @@ export declare class DapDSTOC extends DdsElement {
|
|
|
3115
3151
|
*/
|
|
3116
3152
|
export declare class DapDSTooltip extends DdsElement {
|
|
3117
3153
|
static styles: CSSResult;
|
|
3154
|
+
/** The content of the tooltip, supporting text only. */
|
|
3118
3155
|
content: string;
|
|
3156
|
+
/** The position of the tooltip around the trigger element.
|
|
3157
|
+
* @type { 'top' | 'right' | 'bottom' | 'left' }
|
|
3158
|
+
*/
|
|
3119
3159
|
placement: PopupPlacement;
|
|
3160
|
+
/** Sets the tooltip to opened by default (will still be closed on closing events). */
|
|
3120
3161
|
opened?: boolean | undefined;
|
|
3162
|
+
/** Sets the tooltip to toggle mode.
|
|
3163
|
+
* @type { 'tooltip' | 'toggle' }
|
|
3164
|
+
*/
|
|
3121
3165
|
mode?: TooltipMode_2;
|
|
3166
|
+
/** Hides the arrow of the tooltip. */
|
|
3122
3167
|
noArrow?: boolean | undefined;
|
|
3168
|
+
/** The floating strategy of the tooltip. Default is `absolute`. Can be `absolute` or `fixed`.
|
|
3169
|
+
* @type { 'absolute' | 'fixed' }
|
|
3170
|
+
*/
|
|
3123
3171
|
floatingStrategy: 'absolute' | 'fixed';
|
|
3124
3172
|
private _trigger;
|
|
3173
|
+
/** Sets custom trigger event (hover, focus, click). Default is `hover focus`. */
|
|
3125
3174
|
set trigger(value: string);
|
|
3126
3175
|
get trigger(): string;
|
|
3176
|
+
/** @ignore */
|
|
3127
3177
|
mouseOverTooltip: boolean;
|
|
3128
3178
|
connectedCallback(): void;
|
|
3129
3179
|
disconnectedCallback(): void;
|
|
3130
3180
|
showTooltip(): Promise<void>;
|
|
3131
3181
|
hideTooltip(): Promise<void>;
|
|
3132
|
-
handleBlur
|
|
3133
|
-
handleClick
|
|
3134
|
-
handleFocus
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
handleTooltipMouseOver: () => void;
|
|
3139
|
-
handleTooltipBlur: () => void;
|
|
3140
|
-
hasTrigger: (triggerType: string) => boolean;
|
|
3182
|
+
private handleBlur;
|
|
3183
|
+
private handleClick;
|
|
3184
|
+
private handleFocus;
|
|
3185
|
+
private handleMouseOver;
|
|
3186
|
+
private handleMouseOut;
|
|
3187
|
+
private hasTrigger;
|
|
3141
3188
|
render(): TemplateResult_2;
|
|
3142
3189
|
}
|
|
3143
3190
|
|
|
@@ -3147,17 +3194,16 @@ export declare class DapDSTooltip extends DdsElement {
|
|
|
3147
3194
|
* @element dap-ds-tray
|
|
3148
3195
|
* @title - Tray
|
|
3149
3196
|
*
|
|
3150
|
-
* @
|
|
3151
|
-
* @
|
|
3152
|
-
* @
|
|
3153
|
-
* @
|
|
3154
|
-
* @
|
|
3155
|
-
* @
|
|
3156
|
-
* @
|
|
3157
|
-
* @
|
|
3158
|
-
* @
|
|
3159
|
-
* @
|
|
3160
|
-
* @attribute {'left' | 'right' | 'top' | 'bottom'} placement - The placement of the tray. Default is `bottom`. Can be `left`, `right`, `top`, or `bottom`.
|
|
3197
|
+
* @property {boolean} open - The open state of the tray.
|
|
3198
|
+
* @property {boolean} closeOnEsc - Whether the tray should close on pressing the escape key. Default is true.
|
|
3199
|
+
* @property {boolean} closeOnOverlayClick - Whether the tray should close on clicking the overlay. Default is true.
|
|
3200
|
+
* @property {string} closeButton - Whether the tray should have a close button. Default is true.
|
|
3201
|
+
* @property {string} title - The title of the tray.
|
|
3202
|
+
* @property {string} description - The description of the tray.
|
|
3203
|
+
* @property {string} okButtonLabel - The label of the OK button.
|
|
3204
|
+
* @property {string} cancelButtonLabel - The label of the Cancel button.
|
|
3205
|
+
* @property {string} footer - Whether the tray should have a footer. Default is false.
|
|
3206
|
+
* @property {string} header - Whether the tray should have a header. Default is false.
|
|
3161
3207
|
*
|
|
3162
3208
|
* @event dds-before-open - Fires before the tray opens.
|
|
3163
3209
|
* @event dds-opened - Fires after the tray opens.
|
|
@@ -3177,6 +3223,9 @@ export declare class DapDSTooltip extends DdsElement {
|
|
|
3177
3223
|
*
|
|
3178
3224
|
*/
|
|
3179
3225
|
export declare class DapDSTray extends ModalBaseElement {
|
|
3226
|
+
/** The placement of the tray.
|
|
3227
|
+
* @type { 'left' | 'right' | 'top' | 'bottom' }
|
|
3228
|
+
*/
|
|
3180
3229
|
placement: 'left' | 'right' | 'top' | 'bottom';
|
|
3181
3230
|
constructor();
|
|
3182
3231
|
static styles: CSSResult;
|
|
@@ -3188,26 +3237,32 @@ export declare class DapDSTray extends ModalBaseElement {
|
|
|
3188
3237
|
* @summary Typography is used to display text in different styles.
|
|
3189
3238
|
* @title - Typography
|
|
3190
3239
|
*
|
|
3191
|
-
* @attribute {'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body' | 'caption' | 'description'} variant - The variant of the typography. Can be `h1`, `h2`, `h3`, `h4`, `h5`, `h6`, `body`, `caption`, or `description`.
|
|
3192
|
-
* @attribute {'sm' | 'md' | 'lg'} size - The size of the typography. Can be `sm`, `md`, or `lg`.
|
|
3193
|
-
* @attribute {string} bodyAs - The element of the body typography. Default is `p`.
|
|
3194
|
-
* @attribute {string} elementId - The id of the typography.
|
|
3195
|
-
* @attribute {string} customClass - The custom class of the typography.
|
|
3196
|
-
* @attribute {boolean} anchor - Whether the typography is an anchor for the TOC component.
|
|
3197
|
-
*
|
|
3198
3240
|
* @slot default - The content of the typography.
|
|
3199
3241
|
*
|
|
3200
3242
|
* @csspart base - The main typography container.
|
|
3201
3243
|
*/
|
|
3202
3244
|
export declare class DapDSTypography extends DdsElement implements Common<TypographyProps> {
|
|
3245
|
+
/**
|
|
3246
|
+
* The variant of the typography.
|
|
3247
|
+
* @type {'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body' | 'caption' | 'description'}
|
|
3248
|
+
*/
|
|
3203
3249
|
variant: TypographyVariant;
|
|
3250
|
+
/**
|
|
3251
|
+
* The size of the typography.
|
|
3252
|
+
* @type {'sm' | 'md' | 'lg'}
|
|
3253
|
+
*/
|
|
3204
3254
|
size?: TypographySize;
|
|
3255
|
+
/**
|
|
3256
|
+
* The html element of the body typography.
|
|
3257
|
+
*/
|
|
3205
3258
|
bodyAs?: string;
|
|
3259
|
+
/** The custom class of the typography. */
|
|
3206
3260
|
customClass?: string;
|
|
3261
|
+
/** Whether the typography is an anchor for the TOC component. */
|
|
3207
3262
|
anchor: boolean;
|
|
3208
3263
|
static styles: CSSResult;
|
|
3209
3264
|
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
3210
|
-
get elementId()
|
|
3265
|
+
private get elementId();
|
|
3211
3266
|
private _renderHeading;
|
|
3212
3267
|
private _renderBody;
|
|
3213
3268
|
private _renderCaption;
|
|
@@ -3483,7 +3538,7 @@ declare class InputBaseElement extends GenericFormElement {
|
|
|
3483
3538
|
private _hasAddonBefore;
|
|
3484
3539
|
private _hasAddonAfter;
|
|
3485
3540
|
private _hasPrefix;
|
|
3486
|
-
private _hasPostfix;
|
|
3541
|
+
private get _hasPostfix();
|
|
3487
3542
|
static styles: CSSResult;
|
|
3488
3543
|
get nativeControl(): HTMLInputElement;
|
|
3489
3544
|
private _handleSlotChange;
|
|
@@ -3587,6 +3642,7 @@ declare class ModalBaseElement extends DdsElement {
|
|
|
3587
3642
|
private canceled;
|
|
3588
3643
|
static styles: CSSResult;
|
|
3589
3644
|
protected updated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
3645
|
+
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
3590
3646
|
show(): void;
|
|
3591
3647
|
hide(): void;
|
|
3592
3648
|
private handleClose;
|
|
@@ -3784,6 +3840,40 @@ export declare class SystemCheckboxBlankCircleFill extends DdsElement {
|
|
|
3784
3840
|
render(): TemplateResult_2;
|
|
3785
3841
|
}
|
|
3786
3842
|
|
|
3843
|
+
/**
|
|
3844
|
+
* `dap-ds-icon-checkbox-blank-circle-fill-check`
|
|
3845
|
+
* @summary An icon
|
|
3846
|
+
* @element dap-ds-icon-checkbox-blank-circle-fill-check
|
|
3847
|
+
* @title - SystemCheckboxBlankCircleFillCheck
|
|
3848
|
+
* @group icon
|
|
3849
|
+
* @icontype system
|
|
3850
|
+
*
|
|
3851
|
+
* @attribute {number} size - (optional) The width and height in pixels
|
|
3852
|
+
* @attribute {boolean} selected - (optional) Sets the icon color via the `fill` attribute
|
|
3853
|
+
* @attribute {boolean} decorative - (optional) If `true` the SVG element will get `aria-hidden="true"`
|
|
3854
|
+
* @attribute {string} accessibilityTitle - (optional) When using the icon standalone, make it meaningful for accessibility
|
|
3855
|
+
* @attribute {boolean} focusable - (optional) If `true` the icon can receive focus
|
|
3856
|
+
*
|
|
3857
|
+
* @csspart base - The main icon container.
|
|
3858
|
+
*/
|
|
3859
|
+
declare class SystemCheckboxBlankCircleFillCheck extends DdsElement {
|
|
3860
|
+
/** (optional) The width and height in pixels */
|
|
3861
|
+
size?: number | undefined;
|
|
3862
|
+
/** (optional) Sets the icon color via the `fill` attribute */
|
|
3863
|
+
selected?: boolean;
|
|
3864
|
+
/** (optional) If `true` the SVG element will get `aria-hidden="true"` */
|
|
3865
|
+
decorative?: boolean;
|
|
3866
|
+
/** (optional) When using the icon standalone, make it meaningful for accessibility */
|
|
3867
|
+
accessibilityTitle?: string;
|
|
3868
|
+
/** (optional) If `true` the icon can receive focus */
|
|
3869
|
+
focusable?: boolean;
|
|
3870
|
+
static styles: CSSResult;
|
|
3871
|
+
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
3872
|
+
render(): TemplateResult_2;
|
|
3873
|
+
}
|
|
3874
|
+
export { SystemCheckboxBlankCircleFillCheck as CheckboxBlankCircleFillCheck }
|
|
3875
|
+
export { SystemCheckboxBlankCircleFillCheck }
|
|
3876
|
+
|
|
3787
3877
|
/**
|
|
3788
3878
|
* `dap-ds-icon-checkbox-blank-circle-line`
|
|
3789
3879
|
* @summary An icon
|