dap-design-system 0.35.21 → 0.35.23
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/components.native.css +10 -24
- package/dist/components.native.css.map +1 -1
- package/dist/dds.d.ts +109 -1270
- package/dist/dds.js +2851 -2844
- package/dist/dds.js.map +1 -1
- package/dist/manifest/types/vue/index.d.ts +224 -220
- package/dist/manifest/vscode.html-custom-data.json +96 -96
- package/dist/manifest/web-types.json +371 -169
- package/dist/react-types.ts +3 -3
- package/dist/react.d.ts +215 -1380
- package/dist/react.js +27 -29
- package/dist/react.js.map +1 -1
- package/package.json +5 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { DefineComponent } from "vue";
|
|
2
2
|
|
|
3
3
|
import type { DapDSAccordion } from "../../components/accordion/accordion.component.js";
|
|
4
|
+
import type { DapDSAvatar } from "../../components/avatar/avatar.component.js";
|
|
4
5
|
import type { DapDSAccordionGroup } from "../../components/accordion-group/accordion-group.component.js";
|
|
6
|
+
import type { DapDSAnchorHeading } from "../../components/anchor-heading/anchor-heading.component.js";
|
|
5
7
|
import type { DapDSBadge } from "../../components/badge/badge.component.js";
|
|
6
8
|
import type { DapDSBanner } from "../../components/banner/banner.component.js";
|
|
7
|
-
import type { DapDSAnchorHeading } from "../../components/anchor-heading/anchor-heading.component.js";
|
|
8
|
-
import type { DapDSBreadcrumb } from "../../components/breadcrumb/breadcrumb.component.js";
|
|
9
|
-
import type { DapDSAvatar } from "../../components/avatar/avatar.component.js";
|
|
10
9
|
import type { DapDSBreadcrumbItem } from "../../components/breadcrumb-item/breadcrumb-item.component.js";
|
|
10
|
+
import type { DapDSBreadcrumb } from "../../components/breadcrumb/breadcrumb.component.js";
|
|
11
11
|
import type { DapDSButton } from "../../components/button/button.component.js";
|
|
12
12
|
import type { DapDSCalendarCell } from "../../components/calendar-cell/calendar-cell.component.js";
|
|
13
13
|
import type { DapDSCalendar } from "../../components/calendar/calendar.component.js";
|
|
@@ -156,9 +156,22 @@ type DapDSAccordionProps = {
|
|
|
156
156
|
/** Whether the accordion is the last item. */
|
|
157
157
|
lastItem?: DapDSAccordion["lastItem"];
|
|
158
158
|
/** Event fired when the accordion is opened. */
|
|
159
|
-
"ondds-opened"?: (e: CustomEvent<
|
|
159
|
+
"ondds-opened"?: (e: CustomEvent<{ open: boolean; item: AccordionBaseElement }>) => void;
|
|
160
160
|
/** Event fired when the accordion is closed. */
|
|
161
|
-
"ondds-closed"?: (e: CustomEvent<
|
|
161
|
+
"ondds-closed"?: (e: CustomEvent<{ open: boolean; item: AccordionBaseElement }>) => void;
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
type DapDSAvatarProps = {
|
|
165
|
+
/** The size of the avatar */
|
|
166
|
+
size?: DapDSAvatar["size"];
|
|
167
|
+
/** The source of the avatar. */
|
|
168
|
+
src?: DapDSAvatar["src"];
|
|
169
|
+
/** The alt text of the avatar. */
|
|
170
|
+
alt?: DapDSAvatar["alt"];
|
|
171
|
+
/** The width of the avatar. This will override the size. */
|
|
172
|
+
width?: DapDSAvatar["width"];
|
|
173
|
+
/** The height of the avatar. This will override the size. */
|
|
174
|
+
height?: DapDSAvatar["height"];
|
|
162
175
|
};
|
|
163
176
|
|
|
164
177
|
type DapDSAccordionGroupProps = {
|
|
@@ -166,9 +179,17 @@ type DapDSAccordionGroupProps = {
|
|
|
166
179
|
autoClose?: DapDSAccordionGroup["autoClose"];
|
|
167
180
|
/** The variant of the accordion */
|
|
168
181
|
variant?: DapDSAccordionGroup["variant"];
|
|
182
|
+
};
|
|
169
183
|
|
|
170
|
-
|
|
171
|
-
|
|
184
|
+
type DapDSAnchorHeadingProps = {
|
|
185
|
+
/** The variant of the heading. Default is `h2`. Can be `h1`, `h2`, `h3`, `h4`, `h5`, or `h6`. */
|
|
186
|
+
variant?: DapDSAnchorHeading["variant"];
|
|
187
|
+
/** The label of the heading. */
|
|
188
|
+
label?: DapDSAnchorHeading["label"];
|
|
189
|
+
/** */
|
|
190
|
+
elementId?: DapDSAnchorHeading["elementId"];
|
|
191
|
+
/** */
|
|
192
|
+
anchorTitle?: DapDSAnchorHeading["anchorTitle"];
|
|
172
193
|
};
|
|
173
194
|
|
|
174
195
|
type DapDSBadgeProps = {
|
|
@@ -193,42 +214,7 @@ type DapDSBannerProps = {
|
|
|
193
214
|
icon?: DapDSBanner["icon"];
|
|
194
215
|
|
|
195
216
|
/** Event fired when the banner is closed. */
|
|
196
|
-
"ondds-close"?: (e: CustomEvent<
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
type DapDSAnchorHeadingProps = {
|
|
200
|
-
/** The variant of the heading. Default is `h2`. Can be `h1`, `h2`, `h3`, `h4`, `h5`, or `h6`. */
|
|
201
|
-
variant?: DapDSAnchorHeading["variant"];
|
|
202
|
-
/** The label of the heading. */
|
|
203
|
-
label?: DapDSAnchorHeading["label"];
|
|
204
|
-
/** */
|
|
205
|
-
elementId?: DapDSAnchorHeading["elementId"];
|
|
206
|
-
/** */
|
|
207
|
-
anchorTitle?: DapDSAnchorHeading["anchorTitle"];
|
|
208
|
-
};
|
|
209
|
-
|
|
210
|
-
type DapDSBreadcrumbProps = {
|
|
211
|
-
/** @deprecated true - Inverted color style */
|
|
212
|
-
inverted?: DapDSBreadcrumb["inverted"];
|
|
213
|
-
/** */
|
|
214
|
-
variant?: DapDSBreadcrumb["variant"];
|
|
215
|
-
/** Mobile version of the breadcrumb */
|
|
216
|
-
mobile?: DapDSBreadcrumb["mobile"];
|
|
217
|
-
/** The aria-labelledby of the breadcrumb */
|
|
218
|
-
"aria-labelledby"?: DapDSBreadcrumb["ariaLabelledBy"];
|
|
219
|
-
};
|
|
220
|
-
|
|
221
|
-
type DapDSAvatarProps = {
|
|
222
|
-
/** The size of the avatar */
|
|
223
|
-
size?: DapDSAvatar["size"];
|
|
224
|
-
/** The source of the avatar. */
|
|
225
|
-
src?: DapDSAvatar["src"];
|
|
226
|
-
/** The alt text of the avatar. */
|
|
227
|
-
alt?: DapDSAvatar["alt"];
|
|
228
|
-
/** The width of the avatar. This will override the size. */
|
|
229
|
-
width?: DapDSAvatar["width"];
|
|
230
|
-
/** The height of the avatar. This will override the size. */
|
|
231
|
-
height?: DapDSAvatar["height"];
|
|
217
|
+
"ondds-close"?: (e: CustomEvent<{ void }>) => void;
|
|
232
218
|
};
|
|
233
219
|
|
|
234
220
|
type DapDSBreadcrumbItemProps = {
|
|
@@ -246,6 +232,17 @@ type DapDSBreadcrumbItemProps = {
|
|
|
246
232
|
variant?: DapDSBreadcrumbItem["variant"];
|
|
247
233
|
};
|
|
248
234
|
|
|
235
|
+
type DapDSBreadcrumbProps = {
|
|
236
|
+
/** @deprecated true - Inverted color style */
|
|
237
|
+
inverted?: DapDSBreadcrumb["inverted"];
|
|
238
|
+
/** */
|
|
239
|
+
variant?: DapDSBreadcrumb["variant"];
|
|
240
|
+
/** Mobile version of the breadcrumb */
|
|
241
|
+
mobile?: DapDSBreadcrumb["mobile"];
|
|
242
|
+
/** The aria-labelledby of the breadcrumb */
|
|
243
|
+
"aria-labelledby"?: DapDSBreadcrumb["ariaLabelledBy"];
|
|
244
|
+
};
|
|
245
|
+
|
|
249
246
|
type DapDSButtonProps = {
|
|
250
247
|
/** The variant of the button */
|
|
251
248
|
variant?: DapDSButton["variant"];
|
|
@@ -314,7 +311,7 @@ type DapDSCalendarProps = {
|
|
|
314
311
|
/** */
|
|
315
312
|
endDate?: DapDSCalendar["endDate"];
|
|
316
313
|
/** Fired when the calendar value changes. */
|
|
317
|
-
"ondds-change"?: (e: CustomEvent<
|
|
314
|
+
"ondds-change"?: (e: CustomEvent<{ value: Dayjs }>) => void;
|
|
318
315
|
};
|
|
319
316
|
|
|
320
317
|
type DapDSCalloutProps = {
|
|
@@ -336,7 +333,7 @@ type DapDSCalloutProps = {
|
|
|
336
333
|
opened?: DapDSCallout["opened"];
|
|
337
334
|
|
|
338
335
|
/** Fired when the close button is clicked. */
|
|
339
|
-
"ondds-close"?: (e: CustomEvent<
|
|
336
|
+
"ondds-close"?: (e: CustomEvent<{ void }>) => void;
|
|
340
337
|
};
|
|
341
338
|
|
|
342
339
|
type DapDSCardActionsProps = {
|
|
@@ -459,13 +456,17 @@ type DapDSCheckboxProps = {
|
|
|
459
456
|
/** The optional label of the checkbox. */
|
|
460
457
|
optionalLabel?: DapDSCheckbox["optionalLabel"];
|
|
461
458
|
/** Fired when the checkbox is checked or unchecked. */
|
|
462
|
-
"ondds-change"?: (
|
|
459
|
+
"ondds-change"?: (
|
|
460
|
+
e: CustomEvent<{ checked: boolean; indeterminate: boolean; value: string; disabled: boolean; type: "checkbox" }>,
|
|
461
|
+
) => void;
|
|
463
462
|
/** Emitted when the checkbox loses focus. */
|
|
464
|
-
"ondds-blur"?: (e: CustomEvent<
|
|
463
|
+
"ondds-blur"?: (e: CustomEvent<{ void }>) => void;
|
|
465
464
|
/** Emitted when the checkbox gains focus. */
|
|
466
|
-
"ondds-focus"?: (e: CustomEvent<
|
|
465
|
+
"ondds-focus"?: (e: CustomEvent<{ void }>) => void;
|
|
467
466
|
/** Emitted when the checkbox receives input. */
|
|
468
|
-
"ondds-input"?: (
|
|
467
|
+
"ondds-input"?: (
|
|
468
|
+
e: CustomEvent<{ checked: boolean; indeterminate: boolean; value: string; disabled: boolean }>,
|
|
469
|
+
) => void;
|
|
469
470
|
};
|
|
470
471
|
|
|
471
472
|
type DapDSComboboxProps = {
|
|
@@ -518,17 +519,17 @@ type DapDSComboboxProps = {
|
|
|
518
519
|
/** Whether the combobox open indicator should be animated. */
|
|
519
520
|
noAnimation?: DapDSCombobox["noAnimation"];
|
|
520
521
|
/** Fired when the select value changes. */
|
|
521
|
-
"ondds-change"?: (e: CustomEvent<
|
|
522
|
+
"ondds-change"?: (e: CustomEvent<{ value }>) => void;
|
|
522
523
|
/** Emitted when the select loses focus. */
|
|
523
|
-
"ondds-blur"?: (e: CustomEvent<
|
|
524
|
+
"ondds-blur"?: (e: CustomEvent<{ void }>) => void;
|
|
524
525
|
/** Emitted when the select gains focus. */
|
|
525
|
-
"ondds-focus"?: (e: CustomEvent<
|
|
526
|
+
"ondds-focus"?: (e: CustomEvent<{ void }>) => void;
|
|
526
527
|
/** Emitted when the select is cleared. */
|
|
527
|
-
"ondds-clear"?: (e: CustomEvent<
|
|
528
|
+
"ondds-clear"?: (e: CustomEvent<{ void }>) => void;
|
|
528
529
|
/** Emitted when the manual input value changes. */
|
|
529
|
-
"ondds-search"?: (e: CustomEvent<
|
|
530
|
+
"ondds-search"?: (e: CustomEvent<{ search: string }>) => void;
|
|
530
531
|
/** Emitted when typing happens in the input. */
|
|
531
|
-
"ondds-input"?: (e: CustomEvent<
|
|
532
|
+
"ondds-input"?: (e: CustomEvent<{ input: string; originalEvent: Event }>) => void;
|
|
532
533
|
};
|
|
533
534
|
|
|
534
535
|
type DapDSCommandGroupProps = {
|
|
@@ -559,7 +560,7 @@ type DapDSCommandItemProps = {
|
|
|
559
560
|
closeOnSelect?: DapDSCommandItem["closeOnSelect"];
|
|
560
561
|
|
|
561
562
|
/** Fired when the command item is clicked. */
|
|
562
|
-
"ondds-command-item-click"?: (e: CustomEvent<
|
|
563
|
+
"ondds-command-item-click"?: (e: CustomEvent<{ value: string; closeOnSelect: boolean }>) => void;
|
|
563
564
|
};
|
|
564
565
|
|
|
565
566
|
type DapDSCommandProps = {
|
|
@@ -586,9 +587,9 @@ type DapDSCommandProps = {
|
|
|
586
587
|
/** The size of the popup. */
|
|
587
588
|
size?: DapDSCommand["size"];
|
|
588
589
|
/** Fired when the popup is opened. */
|
|
589
|
-
"ondds-opened"?: (e: CustomEvent<
|
|
590
|
+
"ondds-opened"?: (e: CustomEvent<{ void }>) => void;
|
|
590
591
|
/** Fired when the popup is closed. */
|
|
591
|
-
"ondds-closed"?: (e: CustomEvent<
|
|
592
|
+
"ondds-closed"?: (e: CustomEvent<{ void }>) => void;
|
|
592
593
|
};
|
|
593
594
|
|
|
594
595
|
type DapDSContentSwitcherItemProps = {
|
|
@@ -608,8 +609,8 @@ type DapDSContentSwitcherProps = {
|
|
|
608
609
|
/** The value of the content switcher. A comma-separated list if `multiSelect` is `true`. */
|
|
609
610
|
value?: DapDSContentSwitcher["value"];
|
|
610
611
|
|
|
611
|
-
/** Fired when the content switcher is changed.
|
|
612
|
-
"ondds-change"?: (e: CustomEvent<
|
|
612
|
+
/** Fired when the content switcher is changed. */
|
|
613
|
+
"ondds-change"?: (e: CustomEvent<{ value: string; selected: boolean }>) => void;
|
|
613
614
|
};
|
|
614
615
|
|
|
615
616
|
type DapDSCopyBoxInputProps = {
|
|
@@ -656,19 +657,19 @@ type DapDSCopyBoxInputProps = {
|
|
|
656
657
|
/** The weight of the label. Default is `false` */
|
|
657
658
|
subtle?: DapDSCopyBoxInput["subtle"];
|
|
658
659
|
/** Fired when the user clicks on the copy button. */
|
|
659
|
-
"ondds-copy"?: (e: CustomEvent<
|
|
660
|
+
"ondds-copy"?: (e: CustomEvent<{ value: string }>) => void;
|
|
660
661
|
/** Fired when the input value changes. */
|
|
661
|
-
"ondds-change"?: (e: CustomEvent<
|
|
662
|
+
"ondds-change"?: (e: CustomEvent<{ value: string }>) => void;
|
|
662
663
|
/** Fired when the input value changes. */
|
|
663
|
-
"ondds-input"?: (e: CustomEvent<
|
|
664
|
+
"ondds-input"?: (e: CustomEvent<{ value: string }>) => void;
|
|
664
665
|
/** Fired when a key is pressed down. */
|
|
665
|
-
"ondds-keydown"?: (e: CustomEvent<
|
|
666
|
+
"ondds-keydown"?: (e: CustomEvent<{ value: string; originalEvent: Event }>) => void;
|
|
666
667
|
/** Fired when the input loses focus. */
|
|
667
|
-
"ondds-blur"?: (e: CustomEvent<
|
|
668
|
+
"ondds-blur"?: (e: CustomEvent<{ void }>) => void;
|
|
668
669
|
/** Emitted when the input gains focus. */
|
|
669
|
-
"ondds-focus"?: (e: CustomEvent<
|
|
670
|
+
"ondds-focus"?: (e: CustomEvent<{ void }>) => void;
|
|
670
671
|
/** Emitted when the value cannot be copied. */
|
|
671
|
-
"ondds-not-allowed"?: (e: CustomEvent<
|
|
672
|
+
"ondds-not-allowed"?: (e: CustomEvent<{ void }>) => void;
|
|
672
673
|
};
|
|
673
674
|
|
|
674
675
|
type DapDSDAPBadgeProps = {
|
|
@@ -738,13 +739,13 @@ type DapDSDataTableProps = {
|
|
|
738
739
|
/** The function to determine the pager text */
|
|
739
740
|
pageStateText?: DapDSDataTable["pageStateText"];
|
|
740
741
|
/** Fired when the sorting of the table changes. */
|
|
741
|
-
"ondds-sorting-change"?: (e: CustomEvent<
|
|
742
|
+
"ondds-sorting-change"?: (e: CustomEvent<{ sorting: SortingState }>) => void;
|
|
742
743
|
/** Fired when the selection of the table changes. */
|
|
743
|
-
"ondds-selection-change"?: (e: CustomEvent<
|
|
744
|
+
"ondds-selection-change"?: (e: CustomEvent<{ selection: RowSelectionState }>) => void;
|
|
744
745
|
/** Fired when the pagination of the table changes. */
|
|
745
|
-
"ondds-pagination-change"?: (e: CustomEvent<
|
|
746
|
+
"ondds-pagination-change"?: (e: CustomEvent<{ pagination: PaginationState }>) => void;
|
|
746
747
|
/** Fired when a row is clicked. */
|
|
747
|
-
"ondds-row-click"?: (e: CustomEvent<
|
|
748
|
+
"ondds-row-click"?: (e: CustomEvent<{ row: Row<T> }>) => void;
|
|
748
749
|
};
|
|
749
750
|
|
|
750
751
|
type DapDSDatePickerProps = {
|
|
@@ -815,19 +816,19 @@ type DapDSDatePickerProps = {
|
|
|
815
816
|
/** The autocomplete of the datepicker. */
|
|
816
817
|
autocomplete?: DapDSDatePicker["autocomplete"];
|
|
817
818
|
/** Fired when the datepicker value changes. */
|
|
818
|
-
"ondds-change"?: (e: CustomEvent<
|
|
819
|
+
"ondds-change"?: (e: CustomEvent<{ value: string }>) => void;
|
|
819
820
|
/** Fired when the datepicker input value changes. */
|
|
820
|
-
"ondds-input"?: (e: CustomEvent<
|
|
821
|
+
"ondds-input"?: (e: CustomEvent<{ value: string }>) => void;
|
|
821
822
|
/** Fired when the datepicker input value is valid. Happens on manual input typing. */
|
|
822
|
-
"ondds-valid-date"?: (e: CustomEvent<
|
|
823
|
-
/** Fired when the datepicker input value is invalid.
|
|
824
|
-
"ondds-invalid-date"?: (e: CustomEvent<
|
|
823
|
+
"ondds-valid-date"?: (e: CustomEvent<{ value: string }>) => void;
|
|
824
|
+
/** Fired when the datepicker input value is invalid. Happens on manual input typing. */
|
|
825
|
+
"ondds-invalid-date"?: (e: CustomEvent<{ value: string; type: "invalid" | "out-of-range" }>) => void;
|
|
825
826
|
/** Fired when the datepicker is cleared. */
|
|
826
|
-
"ondds-clear"?: (e: CustomEvent<
|
|
827
|
+
"ondds-clear"?: (e: CustomEvent<{ void }>) => void;
|
|
827
828
|
/** Emitted when the datepicker gains focus. */
|
|
828
|
-
"ondds-focus"?: (e: CustomEvent<
|
|
829
|
+
"ondds-focus"?: (e: CustomEvent<{ void }>) => void;
|
|
829
830
|
/** Emitted when the datepicker loses focus. */
|
|
830
|
-
"ondds-blur"?: (e: CustomEvent<
|
|
831
|
+
"ondds-blur"?: (e: CustomEvent<{ void }>) => void;
|
|
831
832
|
};
|
|
832
833
|
|
|
833
834
|
type DapDSDividerProps = {
|
|
@@ -886,7 +887,7 @@ type DapDSFileInputListItemProps = {
|
|
|
886
887
|
/** */
|
|
887
888
|
formattedSize?: DapDSFileInputListItem["formattedSize"];
|
|
888
889
|
/** Dispatched when a file is removed from the list. */
|
|
889
|
-
"ondds-file-remove"?: (e: CustomEvent<
|
|
890
|
+
"ondds-file-remove"?: (e: CustomEvent<{ file: FileListElement }>) => void;
|
|
890
891
|
};
|
|
891
892
|
|
|
892
893
|
type DapDSFileInputListProps = {
|
|
@@ -954,19 +955,19 @@ type DapDSFileInputProps = {
|
|
|
954
955
|
/** Font weight of the feedback label. Default is `false` which is bold. */
|
|
955
956
|
subtle?: DapDSFileInput["subtle"];
|
|
956
957
|
/** Fired when a file upload starts. */
|
|
957
|
-
"ondds-upload-start"?: (e: CustomEvent<
|
|
958
|
+
"ondds-upload-start"?: (e: CustomEvent<{ file: File }>) => void;
|
|
958
959
|
/** Fired during file upload progress. */
|
|
959
|
-
"ondds-upload-progress"?: (e: CustomEvent<
|
|
960
|
+
"ondds-upload-progress"?: (e: CustomEvent<{ file: File; progress: number }>) => void;
|
|
960
961
|
/** Fired when a file upload completes successfully. */
|
|
961
|
-
"ondds-upload-complete"?: (e: CustomEvent<
|
|
962
|
+
"ondds-upload-complete"?: (e: CustomEvent<{ file: File; item: DapDSFileInputListItem; result: any }>) => void;
|
|
962
963
|
/** Fired when a file upload encounters an error. */
|
|
963
|
-
"ondds-upload-error"?: (e: CustomEvent<
|
|
964
|
+
"ondds-upload-error"?: (e: CustomEvent<{ file: File; item: DapDSFileInputListItem; error: Error }>) => void;
|
|
964
965
|
/** Fired when all file uploads are complete. */
|
|
965
|
-
"ondds-all-uploads-complete"?: (e: CustomEvent<
|
|
966
|
+
"ondds-all-uploads-complete"?: (e: CustomEvent<{ void }>) => void;
|
|
966
967
|
/** Fired when a file is removed from the file input. */
|
|
967
|
-
"ondds-file-removed"?: (e: CustomEvent<
|
|
968
|
+
"ondds-file-removed"?: (e: CustomEvent<{ file: FileListElement }>) => void;
|
|
968
969
|
/** Fired when the file input value changes. */
|
|
969
|
-
"ondds-file-change"?: (e: CustomEvent<
|
|
970
|
+
"ondds-file-change"?: (e: CustomEvent<{ files: File[] }>) => void;
|
|
970
971
|
};
|
|
971
972
|
|
|
972
973
|
type DapDSIconProps = {
|
|
@@ -1065,15 +1066,15 @@ type DapDSInputProps = {
|
|
|
1065
1066
|
/** The regex pattern of the input. */
|
|
1066
1067
|
pattern?: DapDSInput["pattern"];
|
|
1067
1068
|
/** Fired when the input value changes. */
|
|
1068
|
-
"ondds-change"?: (e: CustomEvent<
|
|
1069
|
+
"ondds-change"?: (e: CustomEvent<{ value: string }>) => void;
|
|
1069
1070
|
/** Fired when the input value changes. */
|
|
1070
|
-
"ondds-input"?: (e: CustomEvent<
|
|
1071
|
+
"ondds-input"?: (e: CustomEvent<{ value: string }>) => void;
|
|
1071
1072
|
/** Fired when a key is pressed down. */
|
|
1072
|
-
"ondds-keydown"?: (e: CustomEvent<
|
|
1073
|
+
"ondds-keydown"?: (e: CustomEvent<{ value: string; originalEvent: Event }>) => void;
|
|
1073
1074
|
/** Fired when the input loses focus. */
|
|
1074
|
-
"ondds-blur"?: (e: CustomEvent<
|
|
1075
|
+
"ondds-blur"?: (e: CustomEvent<{ void }>) => void;
|
|
1075
1076
|
/** Emitted when the input gains focus. */
|
|
1076
|
-
"ondds-focus"?: (e: CustomEvent<
|
|
1077
|
+
"ondds-focus"?: (e: CustomEvent<{ void }>) => void;
|
|
1077
1078
|
};
|
|
1078
1079
|
|
|
1079
1080
|
type DapDSLabelProps = {
|
|
@@ -1120,7 +1121,7 @@ type DapDSLinkProps = {
|
|
|
1120
1121
|
download?: DapDSLink["download"];
|
|
1121
1122
|
|
|
1122
1123
|
/** Emitted when the link is clicked. */
|
|
1123
|
-
"ondds-click"?: (e: CustomEvent<
|
|
1124
|
+
"ondds-click"?: (e: CustomEvent<{ event: Event }>) => void;
|
|
1124
1125
|
};
|
|
1125
1126
|
|
|
1126
1127
|
type DapDSListItemProps = {
|
|
@@ -1196,19 +1197,19 @@ type DapDSModalProps = {
|
|
|
1196
1197
|
/** Whether the modal should use native focus. Default is false. */
|
|
1197
1198
|
useNativeFocus?: DapDSModal["useNativeFocus"];
|
|
1198
1199
|
/** Fires before the modal opens. */
|
|
1199
|
-
"ondds-before-open"?: (e: CustomEvent<
|
|
1200
|
+
"ondds-before-open"?: (e: CustomEvent<{ void }>) => void;
|
|
1200
1201
|
/** Fires after the modal opens. */
|
|
1201
|
-
"ondds-opened"?: (e: CustomEvent<
|
|
1202
|
+
"ondds-opened"?: (e: CustomEvent<{ void }>) => void;
|
|
1202
1203
|
/** Fires before the modal closes. */
|
|
1203
|
-
"ondds-before-close"?: (e: CustomEvent<
|
|
1204
|
+
"ondds-before-close"?: (e: CustomEvent<{ void }>) => void;
|
|
1204
1205
|
/** Fires after the modal closed. */
|
|
1205
|
-
"ondds-closed"?: (e: CustomEvent<
|
|
1206
|
+
"ondds-closed"?: (e: CustomEvent<{ void }>) => void;
|
|
1206
1207
|
/** Fires when the modal is closes. You can prevent the modal from closing by calling `event.preventDefault()`. */
|
|
1207
|
-
"ondds-close"?: (e: CustomEvent<
|
|
1208
|
+
"ondds-close"?: (e: CustomEvent<{ void }>) => void;
|
|
1208
1209
|
/** Fires when the OK button is clicked. You can prevent the modal from closing by calling `event.preventDefault()`. */
|
|
1209
|
-
"ondds-ok"?: (e: CustomEvent<
|
|
1210
|
+
"ondds-ok"?: (e: CustomEvent<{ void }>) => void;
|
|
1210
1211
|
/** Fires when the Cancel button is clicked. You can prevent the modal from closing by calling `event.preventDefault()`. */
|
|
1211
|
-
"ondds-cancel"?: (e: CustomEvent<
|
|
1212
|
+
"ondds-cancel"?: (e: CustomEvent<{ void }>) => void;
|
|
1212
1213
|
};
|
|
1213
1214
|
|
|
1214
1215
|
type DapDSNotificationBadgeProps = {
|
|
@@ -1290,15 +1291,15 @@ type DapDSNumberInputProps = {
|
|
|
1290
1291
|
/** Disables the enter key from being used to submit the form. */
|
|
1291
1292
|
disableEnter?: DapDSNumberInput["disableEnter"];
|
|
1292
1293
|
/** Fired when the input value changes. */
|
|
1293
|
-
"ondds-change"?: (e: CustomEvent<
|
|
1294
|
+
"ondds-change"?: (e: CustomEvent<{ value: string }>) => void;
|
|
1294
1295
|
/** Fired when the input value changes. */
|
|
1295
|
-
"ondds-input"?: (e: CustomEvent<
|
|
1296
|
+
"ondds-input"?: (e: CustomEvent<{ value: string }>) => void;
|
|
1296
1297
|
/** Fired when a key is pressed down. */
|
|
1297
|
-
"ondds-keydown"?: (e: CustomEvent<
|
|
1298
|
+
"ondds-keydown"?: (e: CustomEvent<{ value: string; originalEvent: Event }>) => void;
|
|
1298
1299
|
/** Fired when the input loses focus. */
|
|
1299
|
-
"ondds-blur"?: (e: CustomEvent<
|
|
1300
|
+
"ondds-blur"?: (e: CustomEvent<{ void }>) => void;
|
|
1300
1301
|
/** Emitted when the input gains focus. */
|
|
1301
|
-
"ondds-focus"?: (e: CustomEvent<
|
|
1302
|
+
"ondds-focus"?: (e: CustomEvent<{ void }>) => void;
|
|
1302
1303
|
};
|
|
1303
1304
|
|
|
1304
1305
|
type DapDSOfficialWebsiteBannerProps = {
|
|
@@ -1315,9 +1316,9 @@ type DapDSOfficialWebsiteBannerProps = {
|
|
|
1315
1316
|
/** Whether the accordion is the last item. */
|
|
1316
1317
|
lastItem?: DapDSOfficialWebsiteBanner["lastItem"];
|
|
1317
1318
|
/** Event fired when the accordion is opened. */
|
|
1318
|
-
"ondds-opened"?: (e: CustomEvent<
|
|
1319
|
+
"ondds-opened"?: (e: CustomEvent<{ void }>) => void;
|
|
1319
1320
|
/** Event fired when the accordion is closed. */
|
|
1320
|
-
"ondds-closed"?: (e: CustomEvent<
|
|
1321
|
+
"ondds-closed"?: (e: CustomEvent<{ void }>) => void;
|
|
1321
1322
|
};
|
|
1322
1323
|
|
|
1323
1324
|
type DapDSOptionItemProps = {
|
|
@@ -1365,11 +1366,13 @@ type DapDSOptionListProps = {
|
|
|
1365
1366
|
/** */
|
|
1366
1367
|
buildQueryString?: DapDSOptionList["buildQueryString"];
|
|
1367
1368
|
/** Fired when the escape key is pressed. */
|
|
1368
|
-
"ondds-cancel"?: (e: CustomEvent<
|
|
1369
|
+
"ondds-cancel"?: (e: CustomEvent<{ void }>) => void;
|
|
1369
1370
|
/** Fired when the option list value changes. */
|
|
1370
|
-
"ondds-option-change"?: (
|
|
1371
|
+
"ondds-option-change"?: (
|
|
1372
|
+
e: CustomEvent<{ option: DapDSOptionItem; value: string; index: number; text: string }>,
|
|
1373
|
+
) => void;
|
|
1371
1374
|
/** Fired when a key is pressed down. */
|
|
1372
|
-
"ondds-keydown"?: (e: CustomEvent<
|
|
1375
|
+
"ondds-keydown"?: (e: CustomEvent<{ void }>) => void;
|
|
1373
1376
|
};
|
|
1374
1377
|
|
|
1375
1378
|
type DapDSOverlayProps = {
|
|
@@ -1413,7 +1416,9 @@ type DapDSPagerProps = {
|
|
|
1413
1416
|
/** The function to determine the pager text */
|
|
1414
1417
|
pageStateText?: DapDSPager["pageStateText"];
|
|
1415
1418
|
/** Event fired when the pagination changes */
|
|
1416
|
-
"ondds-pagination-change"?: (
|
|
1419
|
+
"ondds-pagination-change"?: (
|
|
1420
|
+
e: CustomEvent<{ action: string; pagination: { pageIndex: number; pageSize: number } }>,
|
|
1421
|
+
) => void;
|
|
1417
1422
|
};
|
|
1418
1423
|
|
|
1419
1424
|
type DapDSPasswordInputProps = {
|
|
@@ -1460,15 +1465,15 @@ type DapDSPasswordInputProps = {
|
|
|
1460
1465
|
/** The weight of the label. Default is `false` */
|
|
1461
1466
|
subtle?: DapDSPasswordInput["subtle"];
|
|
1462
1467
|
/** Fired when the input value changes. */
|
|
1463
|
-
"ondds-change"?: (e: CustomEvent<
|
|
1468
|
+
"ondds-change"?: (e: CustomEvent<{ value: string }>) => void;
|
|
1464
1469
|
/** Fired when the input value changes. */
|
|
1465
|
-
"ondds-input"?: (e: CustomEvent<
|
|
1470
|
+
"ondds-input"?: (e: CustomEvent<{ value: string }>) => void;
|
|
1466
1471
|
/** Fired when a key is pressed down. */
|
|
1467
|
-
"ondds-keydown"?: (e: CustomEvent<
|
|
1472
|
+
"ondds-keydown"?: (e: CustomEvent<{ value: string; originalEvent: Event }>) => void;
|
|
1468
1473
|
/** Fired when the input loses focus. */
|
|
1469
|
-
"ondds-blur"?: (e: CustomEvent<
|
|
1474
|
+
"ondds-blur"?: (e: CustomEvent<{ void }>) => void;
|
|
1470
1475
|
/** Emitted when the input gains focus. */
|
|
1471
|
-
"ondds-focus"?: (e: CustomEvent<
|
|
1476
|
+
"ondds-focus"?: (e: CustomEvent<{ void }>) => void;
|
|
1472
1477
|
};
|
|
1473
1478
|
|
|
1474
1479
|
type DapDSPopupProps = {
|
|
@@ -1493,9 +1498,9 @@ type DapDSPopupProps = {
|
|
|
1493
1498
|
/** The size of the popup. */
|
|
1494
1499
|
size?: DapDSPopup["size"];
|
|
1495
1500
|
/** Fired when the popup is opened. */
|
|
1496
|
-
"ondds-opened"?: (e: CustomEvent<
|
|
1501
|
+
"ondds-opened"?: (e: CustomEvent<{ void }>) => void;
|
|
1497
1502
|
/** Fired when the popup is closed. */
|
|
1498
|
-
"ondds-closed"?: (e: CustomEvent<
|
|
1503
|
+
"ondds-closed"?: (e: CustomEvent<{ void }>) => void;
|
|
1499
1504
|
};
|
|
1500
1505
|
|
|
1501
1506
|
type DapDSRadioButtonProps = {
|
|
@@ -1528,13 +1533,13 @@ type DapDSRadioButtonProps = {
|
|
|
1528
1533
|
/** The placement of the description. */
|
|
1529
1534
|
descriptionPlacement?: DapDSRadioButton["descriptionPlacement"];
|
|
1530
1535
|
/** Fired when the radio button is checked. */
|
|
1531
|
-
"ondds-change"?: (e: CustomEvent<
|
|
1536
|
+
"ondds-change"?: (e: CustomEvent<{ value: string }>) => void;
|
|
1532
1537
|
/** Emitted when the radio button loses focus. */
|
|
1533
|
-
"ondds-blur"?: (e: CustomEvent<
|
|
1538
|
+
"ondds-blur"?: (e: CustomEvent<{ void }>) => void;
|
|
1534
1539
|
/** Emitted when the radio button gains focus. */
|
|
1535
|
-
"ondds-focus"?: (e: CustomEvent<
|
|
1540
|
+
"ondds-focus"?: (e: CustomEvent<{ void }>) => void;
|
|
1536
1541
|
/** Emitted when the radio button receives input. */
|
|
1537
|
-
"ondds-input"?: (e: CustomEvent<
|
|
1542
|
+
"ondds-input"?: (e: CustomEvent<{ value: string }>) => void;
|
|
1538
1543
|
};
|
|
1539
1544
|
|
|
1540
1545
|
type DapDSRatingProps = {
|
|
@@ -1554,7 +1559,7 @@ This is a backup to catch keyboard events if they bubble up */
|
|
|
1554
1559
|
/** */
|
|
1555
1560
|
value?: DapDSRating["value"];
|
|
1556
1561
|
/** Event fired when the rating value changes. */
|
|
1557
|
-
"ondds-change"?: (e: CustomEvent<
|
|
1562
|
+
"ondds-change"?: (e: CustomEvent<{ value: number }>) => void;
|
|
1558
1563
|
};
|
|
1559
1564
|
|
|
1560
1565
|
type DapDSScrollAreaProps = {
|
|
@@ -1689,11 +1694,11 @@ type DapDSSelectProps = {
|
|
|
1689
1694
|
/** The weight of the label. Default is `false` */
|
|
1690
1695
|
subtle?: DapDSSelect["subtle"];
|
|
1691
1696
|
/** Fired when the select value changes. */
|
|
1692
|
-
"ondds-change"?: (e: CustomEvent<
|
|
1697
|
+
"ondds-change"?: (e: CustomEvent<{ value: string }>) => void;
|
|
1693
1698
|
/** Emitted when the select loses focus. */
|
|
1694
|
-
"ondds-blur"?: (e: CustomEvent<
|
|
1699
|
+
"ondds-blur"?: (e: CustomEvent<{ void }>) => void;
|
|
1695
1700
|
/** Emitted when the select gains focus. */
|
|
1696
|
-
"ondds-focus"?: (e: CustomEvent<
|
|
1701
|
+
"ondds-focus"?: (e: CustomEvent<{ void }>) => void;
|
|
1697
1702
|
};
|
|
1698
1703
|
|
|
1699
1704
|
type DapDSSideNavGroupProps = {
|
|
@@ -1707,7 +1712,7 @@ type DapDSSideNavGroupProps = {
|
|
|
1707
1712
|
open?: DapDSSideNavGroup["open"];
|
|
1708
1713
|
|
|
1709
1714
|
/** Event fired when the side navigation item is clicked. */
|
|
1710
|
-
"ondds-item-click"?: (e: CustomEvent<
|
|
1715
|
+
"ondds-item-click"?: (e: CustomEvent<{ href: string; event: Event }>) => void;
|
|
1711
1716
|
};
|
|
1712
1717
|
|
|
1713
1718
|
type DapDSSideNavItemProps = {
|
|
@@ -1719,7 +1724,7 @@ type DapDSSideNavItemProps = {
|
|
|
1719
1724
|
spacing?: DapDSSideNavItem["spacing"];
|
|
1720
1725
|
|
|
1721
1726
|
/** Event fired when the side navigation item is clicked. */
|
|
1722
|
-
"ondds-item-click"?: (e: CustomEvent<
|
|
1727
|
+
"ondds-item-click"?: (e: CustomEvent<{ href: string; event: Event }>) => void;
|
|
1723
1728
|
};
|
|
1724
1729
|
|
|
1725
1730
|
type DapDSSideNavProps = {
|
|
@@ -1729,7 +1734,7 @@ type DapDSSideNavProps = {
|
|
|
1729
1734
|
activeHref?: DapDSSideNav["activeHref"];
|
|
1730
1735
|
|
|
1731
1736
|
/** Event fired when the side navigation item is clicked. */
|
|
1732
|
-
"ondds-item-click"?: (e: CustomEvent<
|
|
1737
|
+
"ondds-item-click"?: (e: CustomEvent<{ href: string; event: Event }>) => void;
|
|
1733
1738
|
};
|
|
1734
1739
|
|
|
1735
1740
|
type DapDSSkipLinkProps = {
|
|
@@ -1754,7 +1759,7 @@ type DapDSSnackbarMessageProps = {
|
|
|
1754
1759
|
alertType?: DapDSSnackbarMessage["alertType"];
|
|
1755
1760
|
|
|
1756
1761
|
/** Fires when the snackbar closes. */
|
|
1757
|
-
"ondds-close"?: (e: CustomEvent<
|
|
1762
|
+
"ondds-close"?: (e: CustomEvent<{ id: string }>) => void;
|
|
1758
1763
|
};
|
|
1759
1764
|
|
|
1760
1765
|
type DapDSSnackbarProps = {
|
|
@@ -1828,13 +1833,13 @@ type DapDSSwitchProps = {
|
|
|
1828
1833
|
/** The optional label of the switch. */
|
|
1829
1834
|
optionalLabel?: DapDSSwitch["optionalLabel"];
|
|
1830
1835
|
/** Fired when the input value changes. */
|
|
1831
|
-
"ondds-change"?: (e: CustomEvent<
|
|
1836
|
+
"ondds-change"?: (e: CustomEvent<{ value: string }>) => void;
|
|
1832
1837
|
/** Emitted when the input loses focus. */
|
|
1833
|
-
"ondds-blur"?: (e: CustomEvent<
|
|
1838
|
+
"ondds-blur"?: (e: CustomEvent<{ void }>) => void;
|
|
1834
1839
|
/** Emitted when the input gains focus. */
|
|
1835
|
-
"ondds-focus"?: (e: CustomEvent<
|
|
1840
|
+
"ondds-focus"?: (e: CustomEvent<{ void }>) => void;
|
|
1836
1841
|
/** Emitted when the input receives input. */
|
|
1837
|
-
"ondds-input"?: (e: CustomEvent<
|
|
1842
|
+
"ondds-input"?: (e: CustomEvent<{ value: string }>) => void;
|
|
1838
1843
|
};
|
|
1839
1844
|
|
|
1840
1845
|
type DapDSTabGroupProps = {
|
|
@@ -1846,7 +1851,7 @@ type DapDSTabGroupProps = {
|
|
|
1846
1851
|
mobile?: DapDSTabGroup["mobile"];
|
|
1847
1852
|
|
|
1848
1853
|
/** Fired when select a new tab. */
|
|
1849
|
-
"ondds-tab-select"?: (e: CustomEvent<
|
|
1854
|
+
"ondds-tab-select"?: (e: CustomEvent<{ tabId: string }>) => void;
|
|
1850
1855
|
};
|
|
1851
1856
|
|
|
1852
1857
|
type DapDSTabProps = {
|
|
@@ -1936,19 +1941,19 @@ type DapDSTextareaProps = {
|
|
|
1936
1941
|
/** The autofocus state of the textarea. */
|
|
1937
1942
|
autofocus?: DapDSTextarea["autofocus"];
|
|
1938
1943
|
/** Fires when the count of the textarea changes. */
|
|
1939
|
-
"ondds-count-change"?: (e: CustomEvent<
|
|
1944
|
+
"ondds-count-change"?: (e: CustomEvent<{ value: number }>) => void;
|
|
1940
1945
|
/** Fired when the textarea value changes. */
|
|
1941
|
-
"ondds-change"?: (e: CustomEvent<
|
|
1946
|
+
"ondds-change"?: (e: CustomEvent<{ value: string }>) => void;
|
|
1942
1947
|
/** Fired when the textarea value changes. */
|
|
1943
|
-
"ondds-input"?: (e: CustomEvent<
|
|
1948
|
+
"ondds-input"?: (e: CustomEvent<{ value: string }>) => void;
|
|
1944
1949
|
/** Fired when a key is pressed down. */
|
|
1945
|
-
"ondds-keydown"?: (e: CustomEvent<
|
|
1950
|
+
"ondds-keydown"?: (e: CustomEvent<{ value: string; originalEvent: Event }>) => void;
|
|
1946
1951
|
/** Fired when the textarea loses focus. */
|
|
1947
|
-
"ondds-blur"?: (e: CustomEvent<
|
|
1952
|
+
"ondds-blur"?: (e: CustomEvent<{ void }>) => void;
|
|
1948
1953
|
/** Emitted when the textarea gains focus. */
|
|
1949
|
-
"ondds-focus"?: (e: CustomEvent<
|
|
1954
|
+
"ondds-focus"?: (e: CustomEvent<{ void }>) => void;
|
|
1950
1955
|
/** Emitted when select text in textarea. */
|
|
1951
|
-
"ondds-select"?: (e: CustomEvent<
|
|
1956
|
+
"ondds-select"?: (e: CustomEvent<{ value: string }>) => void;
|
|
1952
1957
|
};
|
|
1953
1958
|
|
|
1954
1959
|
type DapDSTimelineItemProps = {};
|
|
@@ -1981,7 +1986,9 @@ type DapDSTOCProps = {
|
|
|
1981
1986
|
/** The size of the toc. Default is `lg`. */
|
|
1982
1987
|
size?: DapDSTOC["size"];
|
|
1983
1988
|
/** Event that is triggered when the anchor changes. */
|
|
1984
|
-
"ondds-anchor-change"?: (
|
|
1989
|
+
"ondds-anchor-change"?: (
|
|
1990
|
+
e: CustomEvent<{ selectedItem: HTMLAnchorElement; anchorElement: IntersectionObserverEntry | HTMLElement }>,
|
|
1991
|
+
) => void;
|
|
1985
1992
|
};
|
|
1986
1993
|
|
|
1987
1994
|
type DapDSToggleButtonProps = {
|
|
@@ -2036,15 +2043,15 @@ type DapDSTrayProps = {
|
|
|
2036
2043
|
/** The label of the Cancel button. */
|
|
2037
2044
|
cancelButtonLabel?: DapDSTray["cancelButtonLabel"];
|
|
2038
2045
|
/** Fires before the tray opens. */
|
|
2039
|
-
"ondds-before-open"?: (e: CustomEvent<
|
|
2046
|
+
"ondds-before-open"?: (e: CustomEvent<{ void }>) => void;
|
|
2040
2047
|
/** Fires after the tray opens. */
|
|
2041
|
-
"ondds-opened"?: (e: CustomEvent<
|
|
2048
|
+
"ondds-opened"?: (e: CustomEvent<{ void }>) => void;
|
|
2042
2049
|
/** Fires before the tray closes. */
|
|
2043
|
-
"ondds-before-close"?: (e: CustomEvent<
|
|
2050
|
+
"ondds-before-close"?: (e: CustomEvent<{ void }>) => void;
|
|
2044
2051
|
/** Fires after the tray closed. */
|
|
2045
|
-
"ondds-closed"?: (e: CustomEvent<
|
|
2052
|
+
"ondds-closed"?: (e: CustomEvent<{ void }>) => void;
|
|
2046
2053
|
/** Fires when the tray is closes. You can prevent the tray from closing by calling `event.preventDefault()`. */
|
|
2047
|
-
"ondds-close"?: (e: CustomEvent<
|
|
2054
|
+
"ondds-close"?: (e: CustomEvent<{ void }>) => void;
|
|
2048
2055
|
};
|
|
2049
2056
|
|
|
2050
2057
|
type DapDSTypographyProps = {
|
|
@@ -2862,12 +2869,33 @@ export type CustomElements = {
|
|
|
2862
2869
|
"dap-ds-accordion": DefineComponent<DapDSAccordionProps>;
|
|
2863
2870
|
|
|
2864
2871
|
/**
|
|
2865
|
-
*
|
|
2872
|
+
* Avatar component can be used to display user profile images or icons, or illustrations.
|
|
2866
2873
|
* ---
|
|
2867
2874
|
*
|
|
2868
2875
|
*
|
|
2869
|
-
* ### **
|
|
2870
|
-
* -
|
|
2876
|
+
* ### **CSS Properties:**
|
|
2877
|
+
* - **--dds-avatar-border-radius** - The border radius of the avatar. Default is the design system's rounded radius. _(default: undefined)_
|
|
2878
|
+
* - **--dds-avatar-background-color** - The background color of the avatar. Default is transparent. _(default: undefined)_
|
|
2879
|
+
* - **--dds-avatar-border-width** - The width of the avatar's border. Default is 0. _(default: undefined)_
|
|
2880
|
+
* - **--dds-avatar-border-color** - The color of the avatar's border. Default is transparent. _(default: undefined)_
|
|
2881
|
+
* - **--dds-avatar-border-style** - The style of the avatar's border. Default is solid. _(default: undefined)_
|
|
2882
|
+
* - **--dds-avatar-transition** - The transition property for the avatar. Default is 'all 0.2s ease-in-out'. _(default: undefined)_
|
|
2883
|
+
* - **--dds-avatar-size-lg** - The size of the large avatar. Default is the design system's spacing-2000. _(default: undefined)_
|
|
2884
|
+
* - **--dds-avatar-size-md** - The size of the medium avatar. Default is the design system's spacing-1600. _(default: undefined)_
|
|
2885
|
+
* - **--dds-avatar-size-sm** - The size of the small avatar. Default is the design system's spacing-1200. _(default: undefined)_
|
|
2886
|
+
* - **--dds-avatar-size-xs** - The size of the extra small avatar. Default is the design system's spacing-800. _(default: undefined)_
|
|
2887
|
+
* - **--dds-avatar-size-xxs** - The size of the extra extra small avatar. Default is the design system's spacing-600. _(default: undefined)_
|
|
2888
|
+
*
|
|
2889
|
+
* ### **CSS Parts:**
|
|
2890
|
+
* - **base** - The main avatar image container.
|
|
2891
|
+
* - **img** - The avatar image.
|
|
2892
|
+
*/
|
|
2893
|
+
"dap-ds-avatar": DefineComponent<DapDSAvatarProps>;
|
|
2894
|
+
|
|
2895
|
+
/**
|
|
2896
|
+
* An accordion group is a collection of accordion components.
|
|
2897
|
+
* ---
|
|
2898
|
+
*
|
|
2871
2899
|
*
|
|
2872
2900
|
* ### **Slots:**
|
|
2873
2901
|
* - _default_ - The content of the accordion group.
|
|
@@ -2884,6 +2912,25 @@ export type CustomElements = {
|
|
|
2884
2912
|
*/
|
|
2885
2913
|
"dap-ds-accordion-group": DefineComponent<DapDSAccordionGroupProps>;
|
|
2886
2914
|
|
|
2915
|
+
/**
|
|
2916
|
+
* Anchor heading is a heading with an anchor link.
|
|
2917
|
+
* ---
|
|
2918
|
+
*
|
|
2919
|
+
*
|
|
2920
|
+
* ### **CSS Properties:**
|
|
2921
|
+
* - **--dds-anchor-link-color** - The color of the anchor link. Default is the primary color. _(default: undefined)_
|
|
2922
|
+
* - **--dds-anchor-link-opacity** - The opacity of the anchor link when not hovered. Default is 0. _(default: undefined)_
|
|
2923
|
+
* - **--dds-anchor-link-hover-opacity** - The opacity of the anchor link when hovered. Default is 1. _(default: undefined)_
|
|
2924
|
+
* - **--dds-anchor-link-transition** - The transition property for the anchor link opacity. Default is 'opacity 0.2s ease-in-out'. _(default: undefined)_
|
|
2925
|
+
*
|
|
2926
|
+
* ### **CSS Parts:**
|
|
2927
|
+
* - **base** - The main anchor heading container.
|
|
2928
|
+
* - **link** - The link of the anchor heading. dap-ds-link element.
|
|
2929
|
+
* - **link-base** - The base of the link part.
|
|
2930
|
+
* - **text** - The text of the anchor heading.
|
|
2931
|
+
*/
|
|
2932
|
+
"dap-ds-anchor-heading": DefineComponent<DapDSAnchorHeadingProps>;
|
|
2933
|
+
|
|
2887
2934
|
/**
|
|
2888
2935
|
* A badge is a small status descriptor for UI elements.
|
|
2889
2936
|
* ---
|
|
@@ -2983,73 +3030,6 @@ export type CustomElements = {
|
|
|
2983
3030
|
*/
|
|
2984
3031
|
"dap-ds-banner": DefineComponent<DapDSBannerProps>;
|
|
2985
3032
|
|
|
2986
|
-
/**
|
|
2987
|
-
* Anchor heading is a heading with an anchor link.
|
|
2988
|
-
* ---
|
|
2989
|
-
*
|
|
2990
|
-
*
|
|
2991
|
-
* ### **CSS Properties:**
|
|
2992
|
-
* - **--dds-anchor-link-color** - The color of the anchor link. Default is the primary color. _(default: undefined)_
|
|
2993
|
-
* - **--dds-anchor-link-opacity** - The opacity of the anchor link when not hovered. Default is 0. _(default: undefined)_
|
|
2994
|
-
* - **--dds-anchor-link-hover-opacity** - The opacity of the anchor link when hovered. Default is 1. _(default: undefined)_
|
|
2995
|
-
* - **--dds-anchor-link-transition** - The transition property for the anchor link opacity. Default is 'opacity 0.2s ease-in-out'. _(default: undefined)_
|
|
2996
|
-
*
|
|
2997
|
-
* ### **CSS Parts:**
|
|
2998
|
-
* - **base** - The main anchor heading container.
|
|
2999
|
-
* - **link** - The link of the anchor heading. dap-ds-link element.
|
|
3000
|
-
* - **link-base** - The base of the link part.
|
|
3001
|
-
* - **text** - The text of the anchor heading.
|
|
3002
|
-
*/
|
|
3003
|
-
"dap-ds-anchor-heading": DefineComponent<DapDSAnchorHeadingProps>;
|
|
3004
|
-
|
|
3005
|
-
/**
|
|
3006
|
-
* A breadcrumb is a secondary navigation scheme that reveals the user's location in a website or Web application.
|
|
3007
|
-
* ---
|
|
3008
|
-
*
|
|
3009
|
-
*
|
|
3010
|
-
* ### **Slots:**
|
|
3011
|
-
* - _default_ - The content of the breadcrumb.
|
|
3012
|
-
* - **separator** - The separator between breadcrumb items. Default is '/'.
|
|
3013
|
-
*
|
|
3014
|
-
* ### **CSS Properties:**
|
|
3015
|
-
* - **--dds-breadcrumb-width** - The width of the breadcrumb container. Default is 100%. _(default: undefined)_
|
|
3016
|
-
* - **--dds-breadcrumb-overflow-x** - The horizontal overflow behavior of the breadcrumb. Default is auto. _(default: undefined)_
|
|
3017
|
-
* - **--dds-breadcrumb-transition** - The transition property for the breadcrumb. Default is 'all 0.2s ease-in-out'. _(default: undefined)_
|
|
3018
|
-
* - **--dds-breadcrumb-list-display** - The display property of the breadcrumb list. Default is flex. _(default: undefined)_
|
|
3019
|
-
* - **--dds-breadcrumb-list-flex-wrap** - The flex-wrap property of the breadcrumb list. Default is nowrap. _(default: undefined)_
|
|
3020
|
-
* - **--dds-breadcrumb-list-align-items** - The align-items property of the breadcrumb list. Default is center. _(default: undefined)_
|
|
3021
|
-
* - **--dds-breadcrumb-list-min-width** - The minimum width of the breadcrumb list. Default is max-content. _(default: undefined)_
|
|
3022
|
-
*
|
|
3023
|
-
* ### **CSS Parts:**
|
|
3024
|
-
* - **base** - The main breadcrumb container.
|
|
3025
|
-
* - **separator** - The separator of the breadcrumb.
|
|
3026
|
-
*/
|
|
3027
|
-
"dap-ds-breadcrumb": DefineComponent<DapDSBreadcrumbProps>;
|
|
3028
|
-
|
|
3029
|
-
/**
|
|
3030
|
-
* Avatar component can be used to display user profile images or icons, or illustrations.
|
|
3031
|
-
* ---
|
|
3032
|
-
*
|
|
3033
|
-
*
|
|
3034
|
-
* ### **CSS Properties:**
|
|
3035
|
-
* - **--dds-avatar-border-radius** - The border radius of the avatar. Default is the design system's rounded radius. _(default: undefined)_
|
|
3036
|
-
* - **--dds-avatar-background-color** - The background color of the avatar. Default is transparent. _(default: undefined)_
|
|
3037
|
-
* - **--dds-avatar-border-width** - The width of the avatar's border. Default is 0. _(default: undefined)_
|
|
3038
|
-
* - **--dds-avatar-border-color** - The color of the avatar's border. Default is transparent. _(default: undefined)_
|
|
3039
|
-
* - **--dds-avatar-border-style** - The style of the avatar's border. Default is solid. _(default: undefined)_
|
|
3040
|
-
* - **--dds-avatar-transition** - The transition property for the avatar. Default is 'all 0.2s ease-in-out'. _(default: undefined)_
|
|
3041
|
-
* - **--dds-avatar-size-lg** - The size of the large avatar. Default is the design system's spacing-2000. _(default: undefined)_
|
|
3042
|
-
* - **--dds-avatar-size-md** - The size of the medium avatar. Default is the design system's spacing-1600. _(default: undefined)_
|
|
3043
|
-
* - **--dds-avatar-size-sm** - The size of the small avatar. Default is the design system's spacing-1200. _(default: undefined)_
|
|
3044
|
-
* - **--dds-avatar-size-xs** - The size of the extra small avatar. Default is the design system's spacing-800. _(default: undefined)_
|
|
3045
|
-
* - **--dds-avatar-size-xxs** - The size of the extra extra small avatar. Default is the design system's spacing-600. _(default: undefined)_
|
|
3046
|
-
*
|
|
3047
|
-
* ### **CSS Parts:**
|
|
3048
|
-
* - **base** - The main avatar image container.
|
|
3049
|
-
* - **img** - The avatar image.
|
|
3050
|
-
*/
|
|
3051
|
-
"dap-ds-avatar": DefineComponent<DapDSAvatarProps>;
|
|
3052
|
-
|
|
3053
3033
|
/**
|
|
3054
3034
|
* A breadcrumb item is a secondary navigation scheme that reveals the user's location in a website or Web application.
|
|
3055
3035
|
* ---
|
|
@@ -3083,6 +3063,30 @@ export type CustomElements = {
|
|
|
3083
3063
|
*/
|
|
3084
3064
|
"dap-ds-breadcrumb-item": DefineComponent<DapDSBreadcrumbItemProps>;
|
|
3085
3065
|
|
|
3066
|
+
/**
|
|
3067
|
+
* A breadcrumb is a secondary navigation scheme that reveals the user's location in a website or Web application.
|
|
3068
|
+
* ---
|
|
3069
|
+
*
|
|
3070
|
+
*
|
|
3071
|
+
* ### **Slots:**
|
|
3072
|
+
* - _default_ - The content of the breadcrumb.
|
|
3073
|
+
* - **separator** - The separator between breadcrumb items. Default is '/'.
|
|
3074
|
+
*
|
|
3075
|
+
* ### **CSS Properties:**
|
|
3076
|
+
* - **--dds-breadcrumb-width** - The width of the breadcrumb container. Default is 100%. _(default: undefined)_
|
|
3077
|
+
* - **--dds-breadcrumb-overflow-x** - The horizontal overflow behavior of the breadcrumb. Default is auto. _(default: undefined)_
|
|
3078
|
+
* - **--dds-breadcrumb-transition** - The transition property for the breadcrumb. Default is 'all 0.2s ease-in-out'. _(default: undefined)_
|
|
3079
|
+
* - **--dds-breadcrumb-list-display** - The display property of the breadcrumb list. Default is flex. _(default: undefined)_
|
|
3080
|
+
* - **--dds-breadcrumb-list-flex-wrap** - The flex-wrap property of the breadcrumb list. Default is nowrap. _(default: undefined)_
|
|
3081
|
+
* - **--dds-breadcrumb-list-align-items** - The align-items property of the breadcrumb list. Default is center. _(default: undefined)_
|
|
3082
|
+
* - **--dds-breadcrumb-list-min-width** - The minimum width of the breadcrumb list. Default is max-content. _(default: undefined)_
|
|
3083
|
+
*
|
|
3084
|
+
* ### **CSS Parts:**
|
|
3085
|
+
* - **base** - The main breadcrumb container.
|
|
3086
|
+
* - **separator** - The separator of the breadcrumb.
|
|
3087
|
+
*/
|
|
3088
|
+
"dap-ds-breadcrumb": DefineComponent<DapDSBreadcrumbProps>;
|
|
3089
|
+
|
|
3086
3090
|
/**
|
|
3087
3091
|
* A button is a clickable element that can be used to trigger an action.
|
|
3088
3092
|
* ---
|
|
@@ -3643,7 +3647,7 @@ export type CustomElements = {
|
|
|
3643
3647
|
*
|
|
3644
3648
|
*
|
|
3645
3649
|
* ### **Events:**
|
|
3646
|
-
* - **dds-change** - Fired when the content switcher is changed.
|
|
3650
|
+
* - **dds-change** - Fired when the content switcher is changed.
|
|
3647
3651
|
*
|
|
3648
3652
|
* ### **Slots:**
|
|
3649
3653
|
* - _default_ - The content switcher items.
|
|
@@ -3784,7 +3788,7 @@ export type CustomElements = {
|
|
|
3784
3788
|
* - **dds-change** - Fired when the datepicker value changes.
|
|
3785
3789
|
* - **dds-input** - Fired when the datepicker input value changes.
|
|
3786
3790
|
* - **dds-valid-date** - Fired when the datepicker input value is valid. Happens on manual input typing.
|
|
3787
|
-
* - **dds-invalid-date** - Fired when the datepicker input value is invalid.
|
|
3791
|
+
* - **dds-invalid-date** - Fired when the datepicker input value is invalid. Happens on manual input typing.
|
|
3788
3792
|
* - **dds-clear** - Fired when the datepicker is cleared.
|
|
3789
3793
|
* - **dds-focus** - Emitted when the datepicker gains focus.
|
|
3790
3794
|
* - **dds-blur** - Emitted when the datepicker loses focus.
|