dap-design-system 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/80x80.png +0 -0
- package/dist/apples.webp +0 -0
- package/dist/dds.d.ts +130 -76
- package/dist/dds.js +2236 -2174
- package/dist/dds.js.map +1 -1
- package/dist/manifest/types/vue/index.d.ts +385 -353
- package/dist/manifest/vscode.html-custom-data.json +234 -369
- package/dist/manifest/web-types.json +883 -708
- package/dist/react-types.ts +13 -12
- package/dist/react.d.ts +210 -149
- package/dist/react.js +468 -461
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
package/dist/80x80.png
ADDED
|
Binary file
|
package/dist/apples.webp
ADDED
|
Binary file
|
package/dist/dds.d.ts
CHANGED
|
@@ -717,9 +717,8 @@ export declare class DapDSAccordion extends DdsElement {
|
|
|
717
717
|
* @element dap-ds-accordion-group
|
|
718
718
|
* @summary An accordion group is a collection of accordion components.
|
|
719
719
|
* @title - Accordion group
|
|
720
|
-
*
|
|
721
|
-
*
|
|
722
|
-
*
|
|
720
|
+
* @group accordion
|
|
721
|
+
* *
|
|
723
722
|
* @event dds-change - Event fired when an accordion is opened or closed.
|
|
724
723
|
*
|
|
725
724
|
* @slot - The content of the accordion group.
|
|
@@ -727,7 +726,8 @@ export declare class DapDSAccordion extends DdsElement {
|
|
|
727
726
|
* @csspart base - The main accordion group container.
|
|
728
727
|
*/
|
|
729
728
|
export declare class DapDSAccordionGroup extends DdsElement {
|
|
730
|
-
accordions
|
|
729
|
+
private accordions;
|
|
730
|
+
/** Whether to close other accordions when one is opened. */
|
|
731
731
|
autoClose: string;
|
|
732
732
|
static styles: CSSResult;
|
|
733
733
|
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
@@ -760,6 +760,32 @@ export declare class DapDSAnchorHeading extends DdsElement {
|
|
|
760
760
|
render(): TemplateResult_2;
|
|
761
761
|
}
|
|
762
762
|
|
|
763
|
+
/**
|
|
764
|
+
* `dap-ds-avatar`
|
|
765
|
+
* @summary Avatar component can be used to display user profile images or icons, or illustrations.
|
|
766
|
+
* @element dap-ds-avatar
|
|
767
|
+
* @title - Avatar
|
|
768
|
+
*
|
|
769
|
+
* @csspart base - The main avatar image container.
|
|
770
|
+
* @csspart img - The avatar image.
|
|
771
|
+
*/
|
|
772
|
+
export declare class DapDSAvatar extends DdsElement {
|
|
773
|
+
/** The size of the avatar
|
|
774
|
+
* @type { 'lg' | 'md' | 'sm' | 'xs' | 'xxs' }
|
|
775
|
+
*/
|
|
776
|
+
size: Size;
|
|
777
|
+
/** The source of the avatar. */
|
|
778
|
+
src: string;
|
|
779
|
+
/** The alt text of the avatar. */
|
|
780
|
+
alt: string;
|
|
781
|
+
/** The width of the avatar. This will override the size. */
|
|
782
|
+
width: number;
|
|
783
|
+
/** The height of the avatar. This will override the size. */
|
|
784
|
+
height: number;
|
|
785
|
+
static styles: CSSResult;
|
|
786
|
+
render(): TemplateResult_2;
|
|
787
|
+
}
|
|
788
|
+
|
|
763
789
|
/**
|
|
764
790
|
* `dap-ds-badge`
|
|
765
791
|
* @summary A badge is a small status descriptor for UI elements.
|
|
@@ -871,6 +897,7 @@ export declare class DapDSBreadcrumb extends DdsElement {
|
|
|
871
897
|
* @element dap-ds-breadcrumb-item
|
|
872
898
|
* @summary A breadcrumb item is a secondary navigation scheme that reveals the user's location in a website or Web application.
|
|
873
899
|
* @title - Breadcrumb item
|
|
900
|
+
* @group breadcrumb
|
|
874
901
|
*
|
|
875
902
|
* @slot - The content of the breadcrumb item.
|
|
876
903
|
*
|
|
@@ -890,7 +917,7 @@ export declare class DapDSBreadcrumbItem extends DdsElement {
|
|
|
890
917
|
rel: string;
|
|
891
918
|
/** Whether the breadcrumb item is disabled. */
|
|
892
919
|
disabled: boolean;
|
|
893
|
-
/** Whether the breadcrumb item
|
|
920
|
+
/** Whether the breadcrumb item has inverted style. */
|
|
894
921
|
inverted: boolean;
|
|
895
922
|
static styles: CSSResult;
|
|
896
923
|
render(): TemplateResult_2<1>;
|
|
@@ -1052,26 +1079,28 @@ export declare class DapDSCalendar extends DdsElement {
|
|
|
1052
1079
|
* @summary Calendar cell represents a single cell in the calendar.
|
|
1053
1080
|
* @element dap-ds-calendar-cell
|
|
1054
1081
|
* @title - Calendar cell
|
|
1082
|
+
* @group calendar
|
|
1055
1083
|
*
|
|
1056
|
-
* @
|
|
1057
|
-
* @property {boolean} selected - Whether the calendar cell is selected.
|
|
1058
|
-
* @property {boolean} disabledDay - Whether the calendar cell is disabled.
|
|
1059
|
-
* @property {boolean} today - Whether the calendar cell is today.
|
|
1060
|
-
* @property {boolean} outOfRange - Whether the calendar cell is out of range.
|
|
1061
|
-
* @property {boolean} header - Whether the calendar cell is header.
|
|
1062
|
-
* @property {boolean} focused - Whether the calendar cell is focused.
|
|
1084
|
+
* @slot - The content of the calendar cell.
|
|
1063
1085
|
*
|
|
1064
1086
|
* @csspart base - The main calendar cell container.
|
|
1065
1087
|
* @csspart today-mark - The today mark of the calendar cell.
|
|
1066
1088
|
*
|
|
1067
1089
|
*/
|
|
1068
1090
|
export declare class DapDSCalendarCell extends DapDSCalendarCell_base {
|
|
1091
|
+
/** The value of the calendar cell. */
|
|
1069
1092
|
value: Dayjs;
|
|
1093
|
+
/** Whether the calendar cell is selected. */
|
|
1070
1094
|
selected: boolean;
|
|
1095
|
+
/** Whether the calendar cell is disabled. */
|
|
1071
1096
|
disabledDay: boolean;
|
|
1097
|
+
/** Whether the calendar cell is today. */
|
|
1072
1098
|
today: boolean;
|
|
1099
|
+
/** Whether the calendar cell is out of range. */
|
|
1073
1100
|
outOfRange: boolean;
|
|
1101
|
+
/** Whether the calendar cell is a date header. */
|
|
1074
1102
|
header: boolean;
|
|
1103
|
+
/** Whether the calendar cell is focused. */
|
|
1075
1104
|
focused: boolean;
|
|
1076
1105
|
static styles: CSSResult;
|
|
1077
1106
|
get label(): string;
|
|
@@ -1147,6 +1176,8 @@ export declare class DapDSCallout extends DdsElement {
|
|
|
1147
1176
|
* @element dap-ds-card
|
|
1148
1177
|
* @title - Card
|
|
1149
1178
|
*
|
|
1179
|
+
* @property {'sm' | 'lg'} size - The size of the card title. Default is `sm`.
|
|
1180
|
+
*
|
|
1150
1181
|
* @slot - The content of the card.
|
|
1151
1182
|
*
|
|
1152
1183
|
* @csspart base - The main card container.
|
|
@@ -1182,13 +1213,14 @@ declare const DapDSCard_base: typeof DdsElement & {
|
|
|
1182
1213
|
* @title - Card actions
|
|
1183
1214
|
* @group card
|
|
1184
1215
|
*
|
|
1185
|
-
* @
|
|
1216
|
+
* @property {'sm' | 'lg'} size - The size of the card actions. Default is `sm`.
|
|
1186
1217
|
*
|
|
1187
1218
|
* @slot - The content of the card actions.
|
|
1188
1219
|
*
|
|
1189
1220
|
* @csspart base - The main card actions container.
|
|
1190
1221
|
*/
|
|
1191
1222
|
export declare class DapDSCardActions extends DapDSCardActions_base {
|
|
1223
|
+
/** Whether the card actions should be sized from the parent. */
|
|
1192
1224
|
parentSized: string;
|
|
1193
1225
|
static styles: CSSResult;
|
|
1194
1226
|
render(): TemplateResult_2;
|
|
@@ -1206,15 +1238,16 @@ declare const DapDSCardActions_base: typeof DdsElement & {
|
|
|
1206
1238
|
* @title - Card content
|
|
1207
1239
|
* @group card
|
|
1208
1240
|
*
|
|
1209
|
-
* @
|
|
1210
|
-
* @attribute {string} parentSized - Whether the card content should be sized from the parent. Default is true.
|
|
1241
|
+
* @property {'sm' | 'lg'} size - The size of the card subtitle. Default is `sm`.
|
|
1211
1242
|
*
|
|
1212
1243
|
* @slot - The content of the card-content.
|
|
1213
1244
|
*
|
|
1214
1245
|
* @csspart base - The main card content container.
|
|
1215
1246
|
*/
|
|
1216
1247
|
export declare class DapDSCardContent extends DapDSCardContent_base {
|
|
1248
|
+
/** The base rendered root tag of the card content. */
|
|
1217
1249
|
renderAs: string;
|
|
1250
|
+
/** Whether the card content should be sized from the parent. */
|
|
1218
1251
|
parentSized: string;
|
|
1219
1252
|
static styles: CSSResult;
|
|
1220
1253
|
render(): TemplateResult_2;
|
|
@@ -1256,15 +1289,16 @@ export declare class DapDSCardImage extends DdsElement {
|
|
|
1256
1289
|
* @title - Card subtitle
|
|
1257
1290
|
* @group card
|
|
1258
1291
|
*
|
|
1259
|
-
* @
|
|
1260
|
-
* @attribute {string} parentSized - Whether the card content should be sized from the parent. Default is true.
|
|
1292
|
+
* @property {'sm' | 'lg'} size - The size of the card subtitle. Default is `sm`.
|
|
1261
1293
|
*
|
|
1262
1294
|
* @slot - The content of the subtitle.
|
|
1263
1295
|
*
|
|
1264
1296
|
* @csspart base - The subtitle container.
|
|
1265
1297
|
*/
|
|
1266
1298
|
export declare class DapDSCardSubtitle extends DapDSCardSubtitle_base {
|
|
1299
|
+
/** The base rendered root tag of the card subtitle. */
|
|
1267
1300
|
renderAs: string;
|
|
1301
|
+
/** Whether the card subtitle should be sized from the parent. */
|
|
1268
1302
|
parentSized: string;
|
|
1269
1303
|
static styles: CSSResult;
|
|
1270
1304
|
render(): TemplateResult_2;
|
|
@@ -1282,17 +1316,19 @@ declare const DapDSCardSubtitle_base: typeof DdsElement & {
|
|
|
1282
1316
|
* @title - Card title
|
|
1283
1317
|
* @group card
|
|
1284
1318
|
*
|
|
1285
|
-
* @
|
|
1286
|
-
* @attribute {string} parentSized - Whether the card content should be sized from the parent. Default is true.
|
|
1287
|
-
* @attribute {string} component - The rendered component of the card title. Default is 'div'.
|
|
1319
|
+
* @property {'sm' | 'lg'} size - The size of the card title. Default is `sm`.
|
|
1288
1320
|
*
|
|
1289
1321
|
* @slot - The content of the title.
|
|
1290
1322
|
*
|
|
1291
1323
|
* @csspart base - The main card title container.
|
|
1292
1324
|
*/
|
|
1293
1325
|
export declare class DapDSCardTitle extends DapDSCardTitle_base {
|
|
1326
|
+
/** The base rendered root tag of the card title. */
|
|
1294
1327
|
renderAs: string;
|
|
1328
|
+
/** Whether the card title should be sized from the parent. */
|
|
1295
1329
|
parentSized: string;
|
|
1330
|
+
/** Whether the card title should have no padding. */
|
|
1331
|
+
noPadding: boolean;
|
|
1296
1332
|
static styles: CSSResult;
|
|
1297
1333
|
render(): TemplateResult_2;
|
|
1298
1334
|
}
|
|
@@ -1433,6 +1469,7 @@ export declare class DapDSContentSwitcher extends DdsElement {
|
|
|
1433
1469
|
* @summary Segmented control item component for the segmented control.
|
|
1434
1470
|
* @element dap-ds-content-switcher-item
|
|
1435
1471
|
* @title - Content switcher item
|
|
1472
|
+
* @group content-switcher
|
|
1436
1473
|
*
|
|
1437
1474
|
* @slot iconcontent - The icon content of the segmented control item.
|
|
1438
1475
|
*
|
|
@@ -1450,7 +1487,7 @@ export declare class DapDSContentSwitcherItem extends DdsElement {
|
|
|
1450
1487
|
name: string;
|
|
1451
1488
|
static styles: CSSResult;
|
|
1452
1489
|
private get multiple();
|
|
1453
|
-
handleClick
|
|
1490
|
+
private handleClick;
|
|
1454
1491
|
render(): TemplateResult_2;
|
|
1455
1492
|
}
|
|
1456
1493
|
|
|
@@ -1773,9 +1810,7 @@ export declare class DapDSFileInput extends GenericFormElement {
|
|
|
1773
1810
|
* @summary A file input list is a container for file input items.
|
|
1774
1811
|
* @element dap-ds-file-input-list
|
|
1775
1812
|
* @title - File input list
|
|
1776
|
-
* @group
|
|
1777
|
-
*
|
|
1778
|
-
* @event dds-file-remove - Dispatched when a file is removed from the list.
|
|
1813
|
+
* @group file-input
|
|
1779
1814
|
*
|
|
1780
1815
|
* @csspart base - The main file input list container.
|
|
1781
1816
|
*
|
|
@@ -1806,7 +1841,9 @@ declare const DapDSFileInputList_base: typeof DdsElement & {
|
|
|
1806
1841
|
* @summary A file input list item is a container for file input list items.
|
|
1807
1842
|
* @element dap-ds-file-input-list-item
|
|
1808
1843
|
* @title - File input list item
|
|
1809
|
-
* @group
|
|
1844
|
+
* @group file-input
|
|
1845
|
+
*
|
|
1846
|
+
* @event dds-file-remove - Dispatched when a file is removed from the list.
|
|
1810
1847
|
*
|
|
1811
1848
|
* @csspart base - The main file input list item container.
|
|
1812
1849
|
* @csspart feedback - The feedback container.
|
|
@@ -1838,6 +1875,7 @@ export declare class DapDSFileInputListItem extends DapDSFileInputListItem_base
|
|
|
1838
1875
|
rel: string;
|
|
1839
1876
|
/** The target of the item link. Only used if href is present. */
|
|
1840
1877
|
target: LinkTarget;
|
|
1878
|
+
/** Whether the file should be downloaded when clicked. */
|
|
1841
1879
|
download: string;
|
|
1842
1880
|
static styles: CSSResult;
|
|
1843
1881
|
delete(): void;
|
|
@@ -1857,11 +1895,11 @@ declare const DapDSFileInputListItem_base: typeof DdsElement & {
|
|
|
1857
1895
|
* @title - Form label
|
|
1858
1896
|
* @group form
|
|
1859
1897
|
*
|
|
1860
|
-
* @
|
|
1861
|
-
* @
|
|
1862
|
-
* @
|
|
1863
|
-
* @
|
|
1864
|
-
* @
|
|
1898
|
+
* @property {string} for - The id of the form element that the label is associated with.
|
|
1899
|
+
* @property {boolean} renderAsText - Whether the label should be rendered as text or a <label> tag. Default is false.
|
|
1900
|
+
* @property {string} optionalLabel - Label of optional text
|
|
1901
|
+
* @property {boolean} subtle - Text weight of the label.
|
|
1902
|
+
* @property {boolean} optional - If the label is optional.
|
|
1865
1903
|
*
|
|
1866
1904
|
* @csspart base - The main form label container.
|
|
1867
1905
|
* @csspart required - The required indicator of the form label.
|
|
@@ -2029,16 +2067,16 @@ export declare class DapDSInput extends InputBaseElement {
|
|
|
2029
2067
|
* @title - Input group
|
|
2030
2068
|
* @group form
|
|
2031
2069
|
*
|
|
2032
|
-
* @
|
|
2033
|
-
* @
|
|
2034
|
-
* @
|
|
2035
|
-
* @
|
|
2036
|
-
* @
|
|
2037
|
-
* @
|
|
2038
|
-
* @
|
|
2039
|
-
* @
|
|
2040
|
-
* @
|
|
2041
|
-
* @
|
|
2070
|
+
* @property {string} label - The label of the input group.
|
|
2071
|
+
* @property {string} description - The description of the input group.
|
|
2072
|
+
* @property {string} tooltip - The tooltip of the input group.
|
|
2073
|
+
* @property {boolean} disabled - Whether the input group is disabled.
|
|
2074
|
+
* @property {'xs' | 'sm' | 'lg'} size - The size of the input group. Default is `sm`. Can be `sm` or `lg`.
|
|
2075
|
+
* @property {boolean} required - Whether the input group is required.
|
|
2076
|
+
* @property {boolean} optional - Whether the input group is optional.
|
|
2077
|
+
* @property {string} feedback - The feedback of the input.
|
|
2078
|
+
* @property {string} feedbackType - The type of the feedback.
|
|
2079
|
+
* @property {boolean} subtle - Whether the input group label is subtle.
|
|
2042
2080
|
*
|
|
2043
2081
|
* @slot - The content of the input group items.
|
|
2044
2082
|
* @slot feedback-icon - The custom icon of the feedback.
|
|
@@ -2174,16 +2212,19 @@ export declare class DapDSListItem extends DdsElement {
|
|
|
2174
2212
|
* @element dap-ds-modal
|
|
2175
2213
|
* @title - Modal
|
|
2176
2214
|
*
|
|
2177
|
-
* @
|
|
2178
|
-
* @
|
|
2179
|
-
* @
|
|
2180
|
-
* @
|
|
2181
|
-
* @
|
|
2182
|
-
* @
|
|
2183
|
-
* @
|
|
2184
|
-
* @
|
|
2185
|
-
* @
|
|
2186
|
-
* @
|
|
2215
|
+
* @property {boolean} open - The open state of the modal.
|
|
2216
|
+
* @property {boolean} fullScreen - The full screen version of the modal.
|
|
2217
|
+
* @property {boolean} wideFooter - Wide layout mode for footer.
|
|
2218
|
+
* @property {boolean} bottomFooter - Pushes the footer to bottom.
|
|
2219
|
+
* @property {boolean} closeOnEsc - Whether the modal should close on pressing the escape key. Default is true.
|
|
2220
|
+
* @property {boolean} closeOnOverlayClick - Whether the modal should close on clicking the overlay. Default is true.
|
|
2221
|
+
* @property {string} closeButton - Whether the modal should have a close button. Default is true.
|
|
2222
|
+
* @property {string} title - The title of the modal.
|
|
2223
|
+
* @property {string} description - The description of the modal.
|
|
2224
|
+
* @property {string} okButtonLabel - The label of the OK button.
|
|
2225
|
+
* @property {string} cancelButtonLabel - The label of the Cancel button.
|
|
2226
|
+
* @property {string} footer - Whether the modal should have a footer. Default is true.
|
|
2227
|
+
* @property {string} header - Whether the modal should have a header. Default is true.
|
|
2187
2228
|
*
|
|
2188
2229
|
* @event dds-before-open - Fires before the modal opens.
|
|
2189
2230
|
* @event dds-opened - Fires after the modal opens.
|
|
@@ -2547,26 +2588,26 @@ export declare class DapDSRadioButton extends LabelPositionedFormElement {
|
|
|
2547
2588
|
* @summary A radio group is a form element that allows the user to select one option from a set.
|
|
2548
2589
|
* @element dap-ds-radio-group
|
|
2549
2590
|
* @title - Radio group
|
|
2550
|
-
* @group
|
|
2591
|
+
* @group radio-button
|
|
2551
2592
|
*
|
|
2552
2593
|
* @event dds-change - Fired when the radio group is checked.
|
|
2553
2594
|
* @event dds-blur - Emitted when the radio group loses focus.
|
|
2554
2595
|
* @event dds-focus - Emitted when the radio group gains focus.
|
|
2555
2596
|
*
|
|
2556
|
-
* @
|
|
2557
|
-
* @
|
|
2558
|
-
* @
|
|
2559
|
-
* @
|
|
2560
|
-
* @
|
|
2561
|
-
* @
|
|
2562
|
-
* @
|
|
2563
|
-
* @
|
|
2564
|
-
* @
|
|
2565
|
-
* @
|
|
2566
|
-
* @
|
|
2567
|
-
* @
|
|
2568
|
-
* @
|
|
2569
|
-
* @
|
|
2597
|
+
* @property {string} name - The name of the radio group.
|
|
2598
|
+
* @property {string} value - The value of the radio group.
|
|
2599
|
+
* @property {boolean} disabled - Whether the radio group is disabled.
|
|
2600
|
+
* @property {boolean} required - Whether the radio group is required.
|
|
2601
|
+
* @property {string} label - The label of the radio group.
|
|
2602
|
+
* @property {string} description - The description of the radio group.
|
|
2603
|
+
* @property {string} tooltip - The tooltip of the radio group.
|
|
2604
|
+
* @property {string} feedback - The feedback of the radio group.
|
|
2605
|
+
* @property {'negative' | 'positive' | 'warning'} feedbackType - The feedback type of the radio group. Can be `negative`, `positive`, or `warning`.
|
|
2606
|
+
* @property {boolean} optional - The optional state of the radio group.
|
|
2607
|
+
* @property {string} optionalLabel - Text of optional label.
|
|
2608
|
+
* @property {boolean} subtle - The weight of the label. Default is `false`
|
|
2609
|
+
* @property {'xs' | 'sm' | 'lg'} size - The size of the radio group. Default is `sm`.
|
|
2610
|
+
* @property {boolean} subtle - Font weight of the feedback label. Default is `false` which is bold.
|
|
2570
2611
|
*
|
|
2571
2612
|
* @slot - The content of the radio group.
|
|
2572
2613
|
* @slot feedback-icon - The custom icon of the feedback.
|
|
@@ -2577,8 +2618,6 @@ export declare class DapDSRadioButton extends LabelPositionedFormElement {
|
|
|
2577
2618
|
* @csspart container - The container of the radio group items.
|
|
2578
2619
|
*/
|
|
2579
2620
|
export declare class DapDSRadioGroup extends GenericFormElement {
|
|
2580
|
-
hiddenInput: HTMLInputElement;
|
|
2581
|
-
optionalLabel: string;
|
|
2582
2621
|
static styles: CSSResult;
|
|
2583
2622
|
attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
|
|
2584
2623
|
private _handleSlotChange;
|
|
@@ -2821,12 +2860,7 @@ export declare class DapDSSnackbar extends DdsElement {
|
|
|
2821
2860
|
* @summary The Snackbar component shows a sliding message to the user.
|
|
2822
2861
|
* @element dap-ds-snackbar-message
|
|
2823
2862
|
* @title - Snackbar message
|
|
2824
|
-
*
|
|
2825
|
-
* @attribute { string } message - The message to show in snackbar.
|
|
2826
|
-
* @attribute { string } closeButton - The snackbar has a close button when 'true'.
|
|
2827
|
-
* @attribute { string } alertType - The message type of the snackbar item.
|
|
2828
|
-
* @attribute { string } id - The id of the snackbar item.
|
|
2829
|
-
* @attribute { ActionType[] } actions - The actions of the snackbar item.
|
|
2863
|
+
* @group snackbar
|
|
2830
2864
|
*
|
|
2831
2865
|
* @event dds-close - Fires when the snackbar closes.
|
|
2832
2866
|
*
|
|
@@ -2838,11 +2872,14 @@ export declare class DapDSSnackbar extends DdsElement {
|
|
|
2838
2872
|
* @csspart icon - The icon part of the close button.
|
|
2839
2873
|
*/
|
|
2840
2874
|
export declare class DapDSSnackbarMessage extends DdsElement {
|
|
2875
|
+
/** The actions of the snackbar item. */
|
|
2841
2876
|
actions?: ActionType[];
|
|
2877
|
+
/** The message of the snackbar item. */
|
|
2842
2878
|
message: string;
|
|
2879
|
+
/** Whether the snackbar has a close button. */
|
|
2843
2880
|
closeButton: string;
|
|
2881
|
+
/** The message type of the snackbar item. */
|
|
2844
2882
|
alertType: AlertType;
|
|
2845
|
-
id: string;
|
|
2846
2883
|
static styles: CSSResult;
|
|
2847
2884
|
private getActions;
|
|
2848
2885
|
private getAlertTypeIcon;
|
|
@@ -2983,6 +3020,7 @@ export declare class DapDSTab extends DdsElement {
|
|
|
2983
3020
|
* @summary A tab group component. It is used with dap-ds-tab component to create a tab group.
|
|
2984
3021
|
* @element dap-ds-tab-group
|
|
2985
3022
|
* @title - Tab group
|
|
3023
|
+
* @group tab
|
|
2986
3024
|
*
|
|
2987
3025
|
* @event dds-tab-select - Fired when select a new tab.
|
|
2988
3026
|
*
|
|
@@ -3039,6 +3077,7 @@ export declare class DapDSTable extends DdsElement {
|
|
|
3039
3077
|
* Table cell component.
|
|
3040
3078
|
* @element dap-ds-table-cell
|
|
3041
3079
|
* @title - Table cell
|
|
3080
|
+
* @group table
|
|
3042
3081
|
*
|
|
3043
3082
|
* @slot - The default slot.
|
|
3044
3083
|
*
|
|
@@ -3049,6 +3088,7 @@ export declare class DapDSTableCell extends DdsElement {
|
|
|
3049
3088
|
static styles: CSSResult;
|
|
3050
3089
|
/**If the cell is the last one.*/
|
|
3051
3090
|
last: boolean;
|
|
3091
|
+
/** The html role of the cell */
|
|
3052
3092
|
role: string;
|
|
3053
3093
|
render(): TemplateResult_2;
|
|
3054
3094
|
}
|
|
@@ -3057,7 +3097,8 @@ export declare class DapDSTableCell extends DdsElement {
|
|
|
3057
3097
|
* Table header cell component.
|
|
3058
3098
|
* @element dap-ds-table-header
|
|
3059
3099
|
* @title - Table header
|
|
3060
|
-
*
|
|
3100
|
+
* @group table
|
|
3101
|
+
*
|
|
3061
3102
|
* @slot - The default slot.
|
|
3062
3103
|
*
|
|
3063
3104
|
* @csspart base - The main header cell container.
|
|
@@ -3067,6 +3108,7 @@ export declare class DapDSTableHeader extends DdsElement {
|
|
|
3067
3108
|
static styles: CSSResult;
|
|
3068
3109
|
/**If the header cell is the last one.*/
|
|
3069
3110
|
last: boolean;
|
|
3111
|
+
/** The html role of the header cell */
|
|
3070
3112
|
role: string;
|
|
3071
3113
|
render(): TemplateResult_2;
|
|
3072
3114
|
}
|
|
@@ -3075,11 +3117,13 @@ export declare class DapDSTableHeader extends DdsElement {
|
|
|
3075
3117
|
* Table row component.
|
|
3076
3118
|
* @element dap-ds-table-row
|
|
3077
3119
|
* @title - Table row
|
|
3120
|
+
* @group table
|
|
3078
3121
|
*
|
|
3079
3122
|
* @slot - The default slot. Accepts `dap-ds-table-cell` and `dap-ds-table-header` elements.
|
|
3080
3123
|
*/
|
|
3081
3124
|
export declare class DapDSTableRow extends DdsElement {
|
|
3082
3125
|
static styles: CSSResult;
|
|
3126
|
+
/** The html role of the row */
|
|
3083
3127
|
role: string;
|
|
3084
3128
|
/**If the row is mobile design */
|
|
3085
3129
|
mobile: boolean;
|
|
@@ -3702,6 +3746,7 @@ export declare type MessageOptionsType = {
|
|
|
3702
3746
|
declare class ModalBaseElement extends DdsElement {
|
|
3703
3747
|
dialog: HTMLDialogElement;
|
|
3704
3748
|
open?: boolean;
|
|
3749
|
+
fullScreen?: boolean;
|
|
3705
3750
|
closeOnEsc: string;
|
|
3706
3751
|
closeOnOverlayClick: string;
|
|
3707
3752
|
closeButton: string;
|
|
@@ -3715,6 +3760,8 @@ declare class ModalBaseElement extends DdsElement {
|
|
|
3715
3760
|
okButtonDanger: boolean;
|
|
3716
3761
|
footer: string;
|
|
3717
3762
|
header: string;
|
|
3763
|
+
wideFooter: boolean;
|
|
3764
|
+
bottomFooter: boolean;
|
|
3718
3765
|
private canceled;
|
|
3719
3766
|
static styles: CSSResult;
|
|
3720
3767
|
protected updated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
@@ -3769,7 +3816,7 @@ export declare type PopupPlacement = 'top' | 'top-start' | 'top-end' | 'right' |
|
|
|
3769
3816
|
|
|
3770
3817
|
export declare type PopupTrigger = 'click' | 'hover' | 'focus' | 'manual' | 'hover focus';
|
|
3771
3818
|
|
|
3772
|
-
export declare type Size = 'lg' | 'md' | 'sm' | 'xs';
|
|
3819
|
+
export declare type Size = 'lg' | 'md' | 'sm' | 'xs' | 'xxs';
|
|
3773
3820
|
|
|
3774
3821
|
declare interface SizedElementInterface {
|
|
3775
3822
|
size: Size;
|
|
@@ -5047,6 +5094,13 @@ declare global {
|
|
|
5047
5094
|
}
|
|
5048
5095
|
|
|
5049
5096
|
|
|
5097
|
+
declare global {
|
|
5098
|
+
interface HTMLElementTagNameMap {
|
|
5099
|
+
'dap-ds-avatar': DapDSAvatar;
|
|
5100
|
+
}
|
|
5101
|
+
}
|
|
5102
|
+
|
|
5103
|
+
|
|
5050
5104
|
declare global {
|
|
5051
5105
|
interface HTMLElementTagNameMap {
|
|
5052
5106
|
'dap-ds-badge': DapDSBadge;
|