dap-design-system 0.63.1 → 0.63.2
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/datepicker/datepicker.component.js +2 -2
- package/dist/components/datepicker/datepicker.component.js.map +1 -1
- package/dist/components/file-input/file-input.component.d.ts +3 -0
- package/dist/components/file-input/file-input.component.js +89 -87
- package/dist/components/file-input/file-input.component.js.map +1 -1
- package/dist/localization/locales/de.json.js +11 -11
- package/dist/localization/locales/en.json.js +10 -10
- package/dist/localization/locales/hu.json.js +11 -11
- package/dist/manifest/types/vue/index.d.ts +410 -408
- package/dist/manifest/vscode.html-custom-data.json +253 -248
- package/dist/manifest/web-types.json +889 -879
- package/dist/react/dap-ds-file-input/index.d.ts +1 -0
- package/dist/react/dap-ds-file-input/index.js.map +1 -1
- package/dist/react/index.d.ts +9 -9
- package/dist/react-types.ts +9 -9
- package/dist/react.js +40 -40
- package/package.json +1 -1
|
@@ -6,6 +6,33 @@
|
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
|
+
{
|
|
10
|
+
"name": "dap-ds-anchor-heading",
|
|
11
|
+
"description": "Anchor heading is a heading with an anchor link.\n---\n\n\n### **CSS Properties:**\n - **--dds-anchor-link-color** - The color of the anchor link (default: var(--dds-color-primary)) _(default: undefined)_\n- **--dds-anchor-link-opacity** - The opacity of the anchor link when not hovered (default: 0) _(default: undefined)_\n- **--dds-anchor-link-hover-opacity** - The opacity of the anchor link when hovered (default: 1) _(default: undefined)_\n- **--dds-anchor-link-transition** - The transition property for the anchor link opacity (default: opacity 0.2s ease-in-out) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main anchor heading container.\n- **link** - The link of the anchor heading. dap-ds-link element.\n- **link-base** - The base of the link part.\n- **text** - The text of the anchor heading.\n- **link-text** - Alias of the text part.",
|
|
12
|
+
"doc-url": "",
|
|
13
|
+
"attributes": [
|
|
14
|
+
{
|
|
15
|
+
"name": "variant",
|
|
16
|
+
"description": "The variant of the heading. Default is `h2`. Can be `h1`, `h2`, `h3`, `h4`, `h5`, or `h6`.",
|
|
17
|
+
"value": { "type": "HeadingVariant" }
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "label",
|
|
21
|
+
"description": "The label of the heading.",
|
|
22
|
+
"value": { "type": "string" }
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"events": [],
|
|
26
|
+
"js": {
|
|
27
|
+
"properties": [
|
|
28
|
+
{ "name": "variant", "type": "HeadingVariant" },
|
|
29
|
+
{ "name": "label", "type": "string" },
|
|
30
|
+
{ "name": "elementId" },
|
|
31
|
+
{ "name": "anchorTitle" }
|
|
32
|
+
],
|
|
33
|
+
"events": []
|
|
34
|
+
}
|
|
35
|
+
},
|
|
9
36
|
{
|
|
10
37
|
"name": "dap-ds-accordion",
|
|
11
38
|
"description": "An accordion is a vertically stacked list of interactive items that can be expanded or collapsed to reveal or hide content.\n---\n\n\n### **Events:**\n - **dds-opened** - Event fired when the accordion is opened.\n- **dds-closed** - Event fired when the accordion is closed.\n\n### **Slots:**\n - **default** - The content of the accordion.\n- **heading** - The heading of the accordion.\n- **icon-opened** - The icon when the accordion is opened.\n- **icon-closed** - The icon when the accordion is closed.\n\n### **CSS Properties:**\n - **--dds-accordion-border-width** - The width of the accordion border (default: var(--dds-border-width-base)) _(default: undefined)_\n- **--dds-accordion-border-style** - The style of the accordion border (default: solid) _(default: undefined)_\n- **--dds-accordion-border-radius** - The border radius of the accordion (default: var(--dds-radius-base)) _(default: undefined)_\n- **--dds-accordion-border-color** - The color of the accordion border (default: var(--dds-border-neutral-divider)) _(default: undefined)_\n- **--dds-accordion-background-color** - The background color of the accordion (default: var(--dds-background-neutral-subtle)) _(default: undefined)_\n- **--dds-accordion-text-color** - The text color of the accordion (default: var(--dds-text-neutral-strong)) _(default: undefined)_\n- **--dds-accordion-hover-background** - The background color when hovering over the accordion (default: var(--dds-background-neutral-base)) _(default: undefined)_\n- **--dds-accordion-active-background** - The background color when the accordion is active (default: var(--dds-background-neutral-medium)) _(default: undefined)_\n- **--dds-accordion-icon-background** - The background color of the accordion icon (default: var(--dds-transparent-black-subtle)) _(default: undefined)_\n- **--dds-accordion-icon-color** - The color of the accordion icon (default: var(--dds-icon-neutral-base)) _(default: undefined)_\n- **--dds-accordion-icon-hover-background** - The background color of the accordion icon when hovered (default: var(--dds-transparent-black-base)) _(default: undefined)_\n- **--dds-accordion-icon-active-background** - The background color of the accordion icon when active (default: var(--dds-transparent-black-strong)) _(default: undefined)_\n- **--dds-accordion-icon-hover-color** - The color of the accordion icon when hovered (default: var(--dds-icon-neutral-strong)) _(default: undefined)_\n- **--dds-accordion-icon-active-color** - The color of the accordion icon when active (default: var(--dds-icon-neutral-strong)) _(default: undefined)_\n- **--dds-accordion-content-color** - The color of the accordion content (default: var(--dds-text-text-neutral)) _(default: undefined)_\n- **--dds-accordion-transition-duration** - The duration of the accordion transitions (default: var(--dds-transition-fast)) _(default: undefined)_\n- **--dds-accordion-transition-timing** - The timing function of the accordion transitions (default: var(--dds-easing-ease-in-out)) _(default: undefined)_\n- **--dds-accordion-divider-color** - The color of the divider between accordion items (default: var(--dds-border-neutral-divider)) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main accordion container.\n- **heading** - The heading of the accordion.\n- **button** - The button of the accordion.\n- **content** - The content of the accordion.\n- **content-container** - The container of the accordion content.\n- **icon-wrapper** - The icon wrapper of the accordion.\n- **open-icon** - The icon when the accordion is opened.\n- **open-icon-base** - The base of the icon when the accordion is opened.\n- **close-icon** - The icon when the accordion is closed.\n- **close-icon-base** - The base of the icon when the accordion is closed.\n- **heading-text** - The text of the heading.",
|
|
@@ -113,33 +140,6 @@
|
|
|
113
140
|
]
|
|
114
141
|
}
|
|
115
142
|
},
|
|
116
|
-
{
|
|
117
|
-
"name": "dap-ds-anchor-heading",
|
|
118
|
-
"description": "Anchor heading is a heading with an anchor link.\n---\n\n\n### **CSS Properties:**\n - **--dds-anchor-link-color** - The color of the anchor link (default: var(--dds-color-primary)) _(default: undefined)_\n- **--dds-anchor-link-opacity** - The opacity of the anchor link when not hovered (default: 0) _(default: undefined)_\n- **--dds-anchor-link-hover-opacity** - The opacity of the anchor link when hovered (default: 1) _(default: undefined)_\n- **--dds-anchor-link-transition** - The transition property for the anchor link opacity (default: opacity 0.2s ease-in-out) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main anchor heading container.\n- **link** - The link of the anchor heading. dap-ds-link element.\n- **link-base** - The base of the link part.\n- **text** - The text of the anchor heading.\n- **link-text** - Alias of the text part.",
|
|
119
|
-
"doc-url": "",
|
|
120
|
-
"attributes": [
|
|
121
|
-
{
|
|
122
|
-
"name": "variant",
|
|
123
|
-
"description": "The variant of the heading. Default is `h2`. Can be `h1`, `h2`, `h3`, `h4`, `h5`, or `h6`.",
|
|
124
|
-
"value": { "type": "HeadingVariant" }
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"name": "label",
|
|
128
|
-
"description": "The label of the heading.",
|
|
129
|
-
"value": { "type": "string" }
|
|
130
|
-
}
|
|
131
|
-
],
|
|
132
|
-
"events": [],
|
|
133
|
-
"js": {
|
|
134
|
-
"properties": [
|
|
135
|
-
{ "name": "variant", "type": "HeadingVariant" },
|
|
136
|
-
{ "name": "label", "type": "string" },
|
|
137
|
-
{ "name": "elementId" },
|
|
138
|
-
{ "name": "anchorTitle" }
|
|
139
|
-
],
|
|
140
|
-
"events": []
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
143
|
{
|
|
144
144
|
"name": "dap-ds-avatar",
|
|
145
145
|
"description": "Avatar component can be used to display user profile images, initials, or icons.\n---\n\n\n### **Events:**\n - **dds-load** - Fired when the image loads successfully.\n- **dds-error** - Fired when the image fails to load.\n\n### **Slots:**\n - **icon** - The icon to display when variant is 'icon'.\n- **fallback** - Custom fallback content when image fails to load.\n\n### **CSS Properties:**\n - **--dds-avatar-border-radius** - The border radius of the avatar (default: 50%) _(default: undefined)_\n- **--dds-avatar-background-color** - The background color of the avatar (default: var(--dds-neutral-200)) _(default: undefined)_\n- **--dds-avatar-border-width** - The border width of the avatar (default: 0) _(default: undefined)_\n- **--dds-avatar-border-color** - The color of the avatar's border (default: transparent) _(default: undefined)_\n- **--dds-avatar-border-style** - The style of the avatar's border (default: solid) _(default: undefined)_\n- **--dds-avatar-transition** - The transition property for the avatar (default: all 0.2s ease-in-out) _(default: undefined)_\n- **--dds-avatar-text-color** - The text color for initials (default: var(--dds-text-neutral-strong)) _(default: undefined)_\n- **--dds-avatar-font-weight** - The font weight for initials (default: var(--dds-font-weight-bold)) _(default: undefined)_\n- **--dds-avatar-lg-size** - Size for large avatars (default: var(--dds-avatar-size-lg)) _(default: undefined)_\n- **--dds-avatar-md-size** - Size for medium avatars (default: var(--dds-avatar-size-md)) _(default: undefined)_\n- **--dds-avatar-sm-size** - Size for small avatars (default: var(--dds-avatar-size-sm)) _(default: undefined)_\n- **--dds-avatar-xs-size** - Size for extra small avatars (default: var(--dds-avatar-size-xs)) _(default: undefined)_\n- **--dds-avatar-xxs-size** - Size for extra extra small avatars (default: var(--dds-avatar-size-xxs)) _(default: undefined)_\n- **--dds-avatar-font-size-lg** - Font size for large avatars (default: var(--dds-font-2xl)) _(default: undefined)_\n- **--dds-avatar-font-size-md** - Font size for medium avatars (default: var(--dds-font-lg)) _(default: undefined)_\n- **--dds-avatar-font-size-sm** - Font size for small avatars (default: var(--dds-font-base)) _(default: undefined)_\n- **--dds-avatar-font-size-xs** - Font size for extra small avatars (default: var(--dds-font-sm)) _(default: undefined)_\n- **--dds-avatar-font-size-xxs** - Font size for extra extra small avatars (default: var(--dds-font-xs)) _(default: undefined)_\n- **--dds-avatar-hover-transform** - Transform applied on hover for interactive avatars (default: scale(1.05)) _(default: undefined)_\n- **--dds-avatar-active-transform** - Transform applied when active for interactive avatars (default: scale(0.95)) _(default: undefined)_\n- **--dds-avatar-focus-ring** - Focus ring style for interactive avatars (default: 0 0 0 2px var(--dds-focus-outer-ring)) _(default: undefined)_\n- **--dds-avatar-loading-background** - Background color when loading (default: var(--dds-neutral-100)) _(default: undefined)_\n- **--dds-avatar-error-background** - Background color when image fails to load (default: var(--dds-negative-100)) _(default: undefined)_\n- **--dds-avatar-error-color** - Text color when image fails to load (default: var(--dds-negative-600)) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main avatar container.\n- **img** - The avatar image.\n- **initials** - The initials container.\n- **icon** - The icon container.\n- **fallback** - The fallback content container.\n- **loading** - The loading indicator.",
|
|
@@ -396,45 +396,6 @@
|
|
|
396
396
|
]
|
|
397
397
|
}
|
|
398
398
|
},
|
|
399
|
-
{
|
|
400
|
-
"name": "dap-ds-accordion-group",
|
|
401
|
-
"description": "An accordion group is a collection of accordion components.\n---\n\n\n### **Slots:**\n - _default_ - The content of the accordion group.\n\n### **CSS Properties:**\n - **--dds-accordion-group-spacing** - Controls the gap between accordion items (default: var(--dds-spacing-300)) _(default: undefined)_\n- **--dds-accordion-group-border-color** - Controls the border color (default: var(--dds-border-neutral-subtle)) _(default: undefined)_\n- **--dds-accordion-group-border-width** - Controls the border width (default: var(--dds-border-width-base)) _(default: undefined)_\n- **--dds-accordion-group-border-radius** - Controls the border radius (default: var(--dds-radius-base)) _(default: undefined)_\n- **--dds-accordion-group-background** - Controls the background color (default: transparent) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main accordion group container.",
|
|
402
|
-
"doc-url": "",
|
|
403
|
-
"attributes": [
|
|
404
|
-
{
|
|
405
|
-
"name": "autoClose",
|
|
406
|
-
"description": "Whether to close other accordions when one is opened.",
|
|
407
|
-
"value": { "type": "string", "default": "'true'" }
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
"name": "variant",
|
|
411
|
-
"description": "The variant of the accordion",
|
|
412
|
-
"value": {
|
|
413
|
-
"type": "'default' | 'collapsed' | 'clean' | 'clean-collapsed'",
|
|
414
|
-
"default": "'default'"
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
],
|
|
418
|
-
"slots": [
|
|
419
|
-
{ "name": "", "description": "The content of the accordion group." }
|
|
420
|
-
],
|
|
421
|
-
"events": [],
|
|
422
|
-
"js": {
|
|
423
|
-
"properties": [
|
|
424
|
-
{
|
|
425
|
-
"name": "autoClose",
|
|
426
|
-
"description": "Whether to close other accordions when one is opened.",
|
|
427
|
-
"type": "string"
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
"name": "variant",
|
|
431
|
-
"description": "The variant of the accordion",
|
|
432
|
-
"type": "'default' | 'collapsed' | 'clean' | 'clean-collapsed'"
|
|
433
|
-
}
|
|
434
|
-
],
|
|
435
|
-
"events": []
|
|
436
|
-
}
|
|
437
|
-
},
|
|
438
399
|
{
|
|
439
400
|
"name": "dap-ds-badge",
|
|
440
401
|
"description": "A badge is a small status descriptor for UI elements.\n---\n\n\n### **Slots:**\n - _default_ - The content of the badge.\n- **icon** - The icon of the badge.\n\n### **CSS Properties:**\n - **--dds-badge-border-width** - The width of the badge's border (default: var(--dds-border-width-base)) _(default: undefined)_\n- **--dds-badge-border-style** - The style of the badge's border (default: solid) _(default: undefined)_\n- **--dds-badge-border-radius** - The border radius of the badge (default: var(--dds-radius-base)) _(default: undefined)_\n- **--dds-badge-font-weight** - The font weight of the badge text (default: var(--dds-font-weight-bold)) _(default: undefined)_\n- **--dds-badge-line-height** - The line height of the badge text (default: 1.2) _(default: undefined)_\n- **--dds-badge-transition** - The transition property for the badge (default: all 0.2s ease-in-out) _(default: undefined)_\n- **--dds-badge-padding-sm** - The padding of the small badge (default: var(--dds-spacing-100) var(--dds-spacing-200)) _(default: undefined)_\n- **--dds-badge-padding-lg** - The padding of the large badge (default: var(--dds-spacing-100) var(--dds-spacing-300)) _(default: undefined)_\n- **--dds-badge-font-size-sm** - The font size of the small badge (default: var(--dds-font-xs)) _(default: undefined)_\n- **--dds-badge-font-size-lg** - The font size of the large badge (default: var(--dds-font-sm)) _(default: undefined)_\n- **--dds-badge-neutral-border-color** - The border color of the neutral badge (default: var(--dds-border-neutral-base)) _(default: undefined)_\n- **--dds-badge-neutral-background** - The background color of the neutral badge (default: var(--dds-background-neutral-medium)) _(default: undefined)_\n- **--dds-badge-neutral-color** - The text color of the neutral badge (default: var(--dds-text-neutral-subtle)) _(default: undefined)_\n- **--dds-badge-brand-border-color** - The border color of the brand badge (default: var(--dds-border-brand-base)) _(default: undefined)_\n- **--dds-badge-brand-background** - The background color of the brand badge (default: var(--dds-background-brand-medium)) _(default: undefined)_\n- **--dds-badge-brand-color** - The text color of the brand badge (default: var(--dds-text-brand-subtle)) _(default: undefined)_\n- **--dds-badge-info-border-color** - The border color of the info badge (default: var(--dds-border-informative-base)) _(default: undefined)_\n- **--dds-badge-info-background** - The background color of the info badge (default: var(--dds-background-informative-medium)) _(default: undefined)_\n- **--dds-badge-info-color** - The text color of the info badge (default: var(--dds-text-informative-subtle)) _(default: undefined)_\n- **--dds-badge-positive-border-color** - The border color of the positive badge (default: var(--dds-border-positive-base)) _(default: undefined)_\n- **--dds-badge-positive-background** - The background color of the positive badge (default: var(--dds-background-positive-medium)) _(default: undefined)_\n- **--dds-badge-positive-color** - The text color of the positive badge (default: var(--dds-text-positive-subtle)) _(default: undefined)_\n- **--dds-badge-warning-border-color** - The border color of the warning badge (default: var(--dds-border-warning-subtle)) _(default: undefined)_\n- **--dds-badge-warning-background** - The background color of the warning badge (default: var(--dds-background-warning-medium)) _(default: undefined)_\n- **--dds-badge-warning-color** - The text color of the warning badge (default: var(--dds-text-warning-subtle)) _(default: undefined)_\n- **--dds-badge-negative-border-color** - The border color of the negative badge (default: var(--dds-border-negative-base)) _(default: undefined)_\n- **--dds-badge-negative-background** - The background color of the negative badge (default: var(--dds-background-negative-medium)) _(default: undefined)_\n- **--dds-badge-negative-color** - The text color of the negative badge (default: var(--dds-text-negative-subtle)) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main container of the badge.\n- **icon** - The icon of the badge.\n- **content** - The content of the badge.\n- **icon-base** - The base of the icon.",
|
|
@@ -495,51 +456,6 @@
|
|
|
495
456
|
"events": []
|
|
496
457
|
}
|
|
497
458
|
},
|
|
498
|
-
{
|
|
499
|
-
"name": "dap-ds-breadcrumb",
|
|
500
|
-
"description": "A breadcrumb is a secondary navigation scheme that reveals the user's location in a website or Web application.\n---\n\n\n### **Slots:**\n - _default_ - The content of the breadcrumb.\n- **separator** - The separator between breadcrumb items. Default is '/'.\n\n### **CSS Properties:**\n - **--dds-breadcrumb-width** - The width of the breadcrumb container (default: 100%) _(default: undefined)_\n- **--dds-breadcrumb-overflow-x** - The horizontal overflow behavior of the breadcrumb (default: auto) _(default: undefined)_\n- **--dds-breadcrumb-transition** - The transition property for the breadcrumb (default: all 0.2s ease-in-out) _(default: undefined)_\n- **--dds-breadcrumb-list-display** - The display property of the breadcrumb list (default: flex) _(default: undefined)_\n- **--dds-breadcrumb-list-flex-wrap** - The flex-wrap property of the breadcrumb list (default: nowrap) _(default: undefined)_\n- **--dds-breadcrumb-list-align-items** - The align-items property of the breadcrumb list (default: center) _(default: undefined)_\n- **--dds-breadcrumb-list-min-width** - The minimum width of the breadcrumb list (default: max-content) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main breadcrumb container.\n- **list** - The ordered list holding the breadcrumb items.",
|
|
501
|
-
"doc-url": "",
|
|
502
|
-
"attributes": [
|
|
503
|
-
{
|
|
504
|
-
"name": "variant",
|
|
505
|
-
"value": { "type": "string", "default": "'normal'" }
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
"name": "mobile",
|
|
509
|
-
"description": "Mobile version of the breadcrumb",
|
|
510
|
-
"value": { "type": "boolean", "default": "false" }
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
"name": "aria-labelledby",
|
|
514
|
-
"description": "The aria-labelledby of the breadcrumb",
|
|
515
|
-
"value": { "type": "string | undefined" }
|
|
516
|
-
}
|
|
517
|
-
],
|
|
518
|
-
"slots": [
|
|
519
|
-
{ "name": "", "description": "The content of the breadcrumb." },
|
|
520
|
-
{
|
|
521
|
-
"name": "separator",
|
|
522
|
-
"description": "The separator between breadcrumb items. Default is '/'."
|
|
523
|
-
}
|
|
524
|
-
],
|
|
525
|
-
"events": [],
|
|
526
|
-
"js": {
|
|
527
|
-
"properties": [
|
|
528
|
-
{ "name": "variant", "type": "string" },
|
|
529
|
-
{
|
|
530
|
-
"name": "mobile",
|
|
531
|
-
"description": "Mobile version of the breadcrumb",
|
|
532
|
-
"type": "boolean"
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
"name": "ariaLabelledBy",
|
|
536
|
-
"description": "The aria-labelledby of the breadcrumb",
|
|
537
|
-
"type": "string | undefined"
|
|
538
|
-
}
|
|
539
|
-
],
|
|
540
|
-
"events": []
|
|
541
|
-
}
|
|
542
|
-
},
|
|
543
459
|
{
|
|
544
460
|
"name": "dap-ds-banner",
|
|
545
461
|
"description": "A banner is a message displayed at the top of the page to provide important information to the user.\n---\n\n\n### **Events:**\n - **dds-close** - Event fired when the banner is closed.\n\n### **Slots:**\n - _default_ - The content of the banner.\n- **actions** - Actions of banner\n- **icon** - The icon of the banner.\n\n### **CSS Properties:**\n - **--dds-banner-gap** - The gap between banner elements (default: var(--dds-spacing-200)) _(default: undefined)_\n- **--dds-banner-line-height** - The line height of the banner text (default: var(--dds-font-line-height-xlarge)) _(default: undefined)_\n- **--dds-banner-transition** - The transition property for the banner (default: all 0.2s ease-in-out) _(default: undefined)_\n- **--dds-banner-brand-background** - The background color of the brand banner (default: var(--dds-banner-background-brand)) _(default: undefined)_\n- **--dds-banner-brand-icon-color** - The color of the brand banner icon (default: var(--dds-banner-icon-brand)) _(default: undefined)_\n- **--dds-banner-brand-text-color** - The text color of the brand banner (default: var(--dds-banner-text-brand)) _(default: undefined)_\n- **--dds-banner-brand-action-color** - The color of the brand banner actions (default: var(--dds-banner-action-enabled)) _(default: undefined)_\n- **--dds-banner-info-background** - The background color of the info banner (default: var(--dds-banner-background-informative)) _(default: undefined)_\n- **--dds-banner-info-icon-color** - The color of the info banner icon (default: var(--dds-banner-icon-informative)) _(default: undefined)_\n- **--dds-banner-info-text-color** - The text color of the info banner (default: var(--dds-banner-text-informative)) _(default: undefined)_\n- **--dds-banner-info-action-color** - The color of the info banner actions (default: var(--dds-banner-action-enabled)) _(default: undefined)_\n- **--dds-banner-positive-background** - The background color of the positive banner (default: var(--dds-banner-background-positive)) _(default: undefined)_\n- **--dds-banner-positive-icon-color** - The color of the positive banner icon (default: var(--dds-banner-icon-positive)) _(default: undefined)_\n- **--dds-banner-positive-text-color** - The text color of the positive banner (default: var(--dds-banner-text-positive)) _(default: undefined)_\n- **--dds-banner-positive-action-color** - The color of the positive banner actions (default: var(--dds-banner-action-enabled)) _(default: undefined)_\n- **--dds-banner-warning-background** - The background color of the warning banner (default: var(--dds-banner-background-warning)) _(default: undefined)_\n- **--dds-banner-warning-icon-color** - The color of the warning banner icon (default: var(--dds-banner-icon-warning)) _(default: undefined)_\n- **--dds-banner-warning-text-color** - The text color of the warning banner (default: var(--dds-banner-text-warning)) _(default: undefined)_\n- **--dds-banner-warning-action-color** - The color of the warning banner actions (default: var(--dds-banner-action-inverted-enabled)) _(default: undefined)_\n- **--dds-banner-negative-background** - The background color of the negative banner (default: var(--dds-banner-background-negative)) _(default: undefined)_\n- **--dds-banner-negative-icon-color** - The color of the negative banner icon (default: var(--dds-banner-icon-negative)) _(default: undefined)_\n- **--dds-banner-negative-text-color** - The text color of the negative banner (default: var(--dds-banner-text-negative)) _(default: undefined)_\n- **--dds-banner-negative-action-color** - The color of the negative banner actions (default: var(--dds-banner-action-inverted-enabled)) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main banner container.\n- **card-base** - The wrapper card container.\n- **icon** - The icon of the banner.\n- **icon-element** - The icon element of the banner.\n- **icon-base** - The base of the icon.\n- **closebutton** - The close button of the banner.\n- **close-icon-element** - The icon element of the close button.\n- **close-icon-base** - The base of the close button icon.\n- **actions** - The actions of the banner.\n- **close-button** - The close button wrapper of the banner.",
|
|
@@ -633,6 +549,90 @@
|
|
|
633
549
|
]
|
|
634
550
|
}
|
|
635
551
|
},
|
|
552
|
+
{
|
|
553
|
+
"name": "dap-ds-breadcrumb",
|
|
554
|
+
"description": "A breadcrumb is a secondary navigation scheme that reveals the user's location in a website or Web application.\n---\n\n\n### **Slots:**\n - _default_ - The content of the breadcrumb.\n- **separator** - The separator between breadcrumb items. Default is '/'.\n\n### **CSS Properties:**\n - **--dds-breadcrumb-width** - The width of the breadcrumb container (default: 100%) _(default: undefined)_\n- **--dds-breadcrumb-overflow-x** - The horizontal overflow behavior of the breadcrumb (default: auto) _(default: undefined)_\n- **--dds-breadcrumb-transition** - The transition property for the breadcrumb (default: all 0.2s ease-in-out) _(default: undefined)_\n- **--dds-breadcrumb-list-display** - The display property of the breadcrumb list (default: flex) _(default: undefined)_\n- **--dds-breadcrumb-list-flex-wrap** - The flex-wrap property of the breadcrumb list (default: nowrap) _(default: undefined)_\n- **--dds-breadcrumb-list-align-items** - The align-items property of the breadcrumb list (default: center) _(default: undefined)_\n- **--dds-breadcrumb-list-min-width** - The minimum width of the breadcrumb list (default: max-content) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main breadcrumb container.\n- **list** - The ordered list holding the breadcrumb items.",
|
|
555
|
+
"doc-url": "",
|
|
556
|
+
"attributes": [
|
|
557
|
+
{
|
|
558
|
+
"name": "variant",
|
|
559
|
+
"value": { "type": "string", "default": "'normal'" }
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"name": "mobile",
|
|
563
|
+
"description": "Mobile version of the breadcrumb",
|
|
564
|
+
"value": { "type": "boolean", "default": "false" }
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"name": "aria-labelledby",
|
|
568
|
+
"description": "The aria-labelledby of the breadcrumb",
|
|
569
|
+
"value": { "type": "string | undefined" }
|
|
570
|
+
}
|
|
571
|
+
],
|
|
572
|
+
"slots": [
|
|
573
|
+
{ "name": "", "description": "The content of the breadcrumb." },
|
|
574
|
+
{
|
|
575
|
+
"name": "separator",
|
|
576
|
+
"description": "The separator between breadcrumb items. Default is '/'."
|
|
577
|
+
}
|
|
578
|
+
],
|
|
579
|
+
"events": [],
|
|
580
|
+
"js": {
|
|
581
|
+
"properties": [
|
|
582
|
+
{ "name": "variant", "type": "string" },
|
|
583
|
+
{
|
|
584
|
+
"name": "mobile",
|
|
585
|
+
"description": "Mobile version of the breadcrumb",
|
|
586
|
+
"type": "boolean"
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"name": "ariaLabelledBy",
|
|
590
|
+
"description": "The aria-labelledby of the breadcrumb",
|
|
591
|
+
"type": "string | undefined"
|
|
592
|
+
}
|
|
593
|
+
],
|
|
594
|
+
"events": []
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"name": "dap-ds-accordion-group",
|
|
599
|
+
"description": "An accordion group is a collection of accordion components.\n---\n\n\n### **Slots:**\n - _default_ - The content of the accordion group.\n\n### **CSS Properties:**\n - **--dds-accordion-group-spacing** - Controls the gap between accordion items (default: var(--dds-spacing-300)) _(default: undefined)_\n- **--dds-accordion-group-border-color** - Controls the border color (default: var(--dds-border-neutral-subtle)) _(default: undefined)_\n- **--dds-accordion-group-border-width** - Controls the border width (default: var(--dds-border-width-base)) _(default: undefined)_\n- **--dds-accordion-group-border-radius** - Controls the border radius (default: var(--dds-radius-base)) _(default: undefined)_\n- **--dds-accordion-group-background** - Controls the background color (default: transparent) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main accordion group container.",
|
|
600
|
+
"doc-url": "",
|
|
601
|
+
"attributes": [
|
|
602
|
+
{
|
|
603
|
+
"name": "autoClose",
|
|
604
|
+
"description": "Whether to close other accordions when one is opened.",
|
|
605
|
+
"value": { "type": "string", "default": "'true'" }
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"name": "variant",
|
|
609
|
+
"description": "The variant of the accordion",
|
|
610
|
+
"value": {
|
|
611
|
+
"type": "'default' | 'collapsed' | 'clean' | 'clean-collapsed'",
|
|
612
|
+
"default": "'default'"
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
],
|
|
616
|
+
"slots": [
|
|
617
|
+
{ "name": "", "description": "The content of the accordion group." }
|
|
618
|
+
],
|
|
619
|
+
"events": [],
|
|
620
|
+
"js": {
|
|
621
|
+
"properties": [
|
|
622
|
+
{
|
|
623
|
+
"name": "autoClose",
|
|
624
|
+
"description": "Whether to close other accordions when one is opened.",
|
|
625
|
+
"type": "string"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"name": "variant",
|
|
629
|
+
"description": "The variant of the accordion",
|
|
630
|
+
"type": "'default' | 'collapsed' | 'clean' | 'clean-collapsed'"
|
|
631
|
+
}
|
|
632
|
+
],
|
|
633
|
+
"events": []
|
|
634
|
+
}
|
|
635
|
+
},
|
|
636
636
|
{
|
|
637
637
|
"name": "dap-ds-breadcrumb-item",
|
|
638
638
|
"description": "A breadcrumb item is a secondary navigation scheme that reveals the user's location in a website or Web application.\n---\n\n\n### **Slots:**\n - _default_ - The content of the breadcrumb item.\n- **separator** - The separator between breadcrumb items. Default is an arrow-right-s-line icon.\n\n### **CSS Properties:**\n - **--dds-breadcrumb-item-display** - The display property of the breadcrumb item (default: inline-flex) _(default: undefined)_\n- **--dds-breadcrumb-item-flex-wrap** - The flex-wrap property of the breadcrumb item (default: nowrap) _(default: undefined)_\n- **--dds-breadcrumb-item-align-items** - The align-items property of the breadcrumb item (default: center) _(default: undefined)_\n- **--dds-breadcrumb-item-color** - The text color of the breadcrumb item (default: var(--dds-text-neutral-base)) _(default: undefined)_\n- **--dds-breadcrumb-item-transition** - The transition property for the breadcrumb item (default: all 0.2s ease-in-out) _(default: undefined)_\n- **--dds-breadcrumb-item-gap** - The gap between the breadcrumb item and the separator (default: var(--dds-spacing-200)) _(default: undefined)_\n- **--dds-breadcrumb-item-padding** - The padding of the breadcrumb item (default: var(--dds-spacing-200)) _(default: undefined)_\n- **--dds-breadcrumb-item-font-size** - The font size of the breadcrumb item (default: var(--dds-font-sm)) _(default: undefined)_\n- **--dds-breadcrumb-item-font-weight** - The font weight of the breadcrumb item (default: var(--dds-font-weight-medium)) _(default: undefined)_\n- **--dds-breadcrumb-item-font-weight-bold** - The bold font weight of the breadcrumb item (default: var(--dds-font-weight-bold)) _(default: undefined)_\n- **--dds-breadcrumb-item-separator-color** - The color of the separator (default: var(--dds-text-neutral-disabled)) _(default: undefined)_\n- **--dds-breadcrumb-item-link-color** - The color of the link (default: var(--dds-link-neutral-enabled)) _(default: undefined)_\n- **--dds-breadcrumb-item-inverted-color** - The text color when inverted (default: var(--dds-text-neutral-inverted)) _(default: undefined)_\n- **--dds-breadcrumb-item-inverted-link-color** - The link color when inverted (default: var(--dds-text-neutral-inverted)) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main breadcrumb item container. The li element.\n- **link** - The link of the breadcrumb item. The dds-link component.\n- **link-base** - The base part of the link part. The dds-link components base part.\n- **item-nolink** - The item of the breadcrumb item without a link. The span element.\n- **separator** - The separator of the breadcrumb item.",
|
|
@@ -4658,6 +4658,11 @@
|
|
|
4658
4658
|
"description": "Aria label for the dropzone.",
|
|
4659
4659
|
"value": { "type": "string" }
|
|
4660
4660
|
},
|
|
4661
|
+
{
|
|
4662
|
+
"name": "regionAriaLabel",
|
|
4663
|
+
"description": "Accessible name of the file upload region landmark. Defaults to the localized \"File upload area\" text.",
|
|
4664
|
+
"value": { "type": "string" }
|
|
4665
|
+
},
|
|
4661
4666
|
{
|
|
4662
4667
|
"name": "dropzoneFocusable",
|
|
4663
4668
|
"description": "Whether the dropzone is in the tab order and exposes button keyboard behavior (default: true).",
|
|
@@ -4902,6 +4907,11 @@
|
|
|
4902
4907
|
"description": "Aria label for the dropzone.",
|
|
4903
4908
|
"type": "string"
|
|
4904
4909
|
},
|
|
4910
|
+
{
|
|
4911
|
+
"name": "regionAriaLabel",
|
|
4912
|
+
"description": "Accessible name of the file upload region landmark. Defaults to the localized \"File upload area\" text.",
|
|
4913
|
+
"type": "string"
|
|
4914
|
+
},
|
|
4905
4915
|
{
|
|
4906
4916
|
"name": "dropzoneFocusable",
|
|
4907
4917
|
"description": "Whether the dropzone is in the tab order and exposes button keyboard behavior (default: true).",
|
|
@@ -5380,34 +5390,101 @@
|
|
|
5380
5390
|
}
|
|
5381
5391
|
},
|
|
5382
5392
|
{
|
|
5383
|
-
"name": "dap-ds-
|
|
5384
|
-
"description": "
|
|
5393
|
+
"name": "dap-ds-label",
|
|
5394
|
+
"description": "A label is a container for labels intended for general use. It contains a label text, description, and tooltip.\n---\n\n\n### **CSS Properties:**\n - **--dds-label-background** - The background color of the label container. (default: var(--dds-background-neutral-subtle)). _(default: undefined)_\n- **--dds-label-border-color** - The border color of the label container. (default: var(--dds-border-neutral-subtle)). _(default: undefined)_\n- **--dds-label-border-width** - The border width of the label container. (default: var(--dds-border-width-base)). _(default: undefined)_\n- **--dds-label-border-radius** - The border radius of the label container. (default: var(--dds-radius-base)). _(default: undefined)_\n- **--dds-label-padding** - The padding of the label container. (default: var(--dds-spacing-400)). _(default: undefined)_\n- **--dds-label-disabled-background** - The background color of the label container when disabled. (default: var(--dds-background-neutral-disabled-inverted)). _(default: undefined)_\n- **--dds-label-checked-border-color** - The border color of the label container when checked. (default: var(--dds-background-brand-base-inverted)). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main label container.\n- **label** - Tha main label container. dap-ds-form-label element.\n- **label-base** - The label text.\n- **label-required** - The required indicator of the label.\n- **label-optional** - The optional indicator of the label.\n- **tooltip** - The tooltip of the label. dap-ds-tooltip element.\n- **description** - The description of the label.",
|
|
5385
5395
|
"doc-url": "",
|
|
5386
5396
|
"attributes": [],
|
|
5387
|
-
"
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5397
|
+
"events": [],
|
|
5398
|
+
"js": {
|
|
5399
|
+
"properties": [
|
|
5400
|
+
{
|
|
5401
|
+
"name": "label",
|
|
5402
|
+
"description": "The label text",
|
|
5403
|
+
"type": "string"
|
|
5404
|
+
},
|
|
5405
|
+
{
|
|
5406
|
+
"name": "description",
|
|
5407
|
+
"description": "The description of the label",
|
|
5408
|
+
"type": "string"
|
|
5409
|
+
},
|
|
5410
|
+
{
|
|
5411
|
+
"name": "tooltip",
|
|
5412
|
+
"description": "The tooltip text",
|
|
5413
|
+
"type": "string"
|
|
5414
|
+
},
|
|
5415
|
+
{
|
|
5416
|
+
"name": "size",
|
|
5417
|
+
"description": "The size of the input. Default is `sm`.",
|
|
5418
|
+
"type": "'xs' | 'sm' | 'lg'"
|
|
5419
|
+
},
|
|
5420
|
+
{
|
|
5421
|
+
"name": "tooltipPlacement",
|
|
5422
|
+
"description": "The tooltip placement of the label.",
|
|
5423
|
+
"type": "'top' | 'right' | 'bottom' | 'left'"
|
|
5424
|
+
},
|
|
5425
|
+
{
|
|
5426
|
+
"name": "optional",
|
|
5427
|
+
"description": "If the label is optional. Default value is `false`.",
|
|
5428
|
+
"type": "boolean"
|
|
5429
|
+
},
|
|
5430
|
+
{
|
|
5431
|
+
"name": "optionalLabel",
|
|
5432
|
+
"description": "Label of optional text",
|
|
5433
|
+
"type": "string"
|
|
5434
|
+
},
|
|
5435
|
+
{
|
|
5436
|
+
"name": "requiredLabel",
|
|
5437
|
+
"description": "Indicator of required text (default: '*')",
|
|
5438
|
+
"type": "string"
|
|
5439
|
+
},
|
|
5440
|
+
{
|
|
5441
|
+
"name": "subtle",
|
|
5442
|
+
"description": "Text weight of label. If true the label is subtle. Default value is `false`.",
|
|
5443
|
+
"type": "boolean"
|
|
5444
|
+
},
|
|
5445
|
+
{
|
|
5446
|
+
"name": "disabled",
|
|
5447
|
+
"description": "The disabled state of the label. Default is `false`.",
|
|
5448
|
+
"type": "boolean"
|
|
5449
|
+
},
|
|
5450
|
+
{
|
|
5451
|
+
"name": "required",
|
|
5452
|
+
"description": "The required state of the label. Default is `false`.",
|
|
5453
|
+
"type": "boolean"
|
|
5454
|
+
}
|
|
5455
|
+
],
|
|
5456
|
+
"events": []
|
|
5457
|
+
}
|
|
5458
|
+
},
|
|
5459
|
+
{
|
|
5460
|
+
"name": "dap-ds-input",
|
|
5461
|
+
"description": "An input is a field used to collect user input.\n---\n\n\n### **Events:**\n - **dds-change** - Fired when the input value changes.\n- **dds-input** - Fired when the input value changes.\n- **dds-keydown** - Fired when a key is pressed down.\n- **dds-blur** - Fired when the input loses focus.\n- **dds-focus** - Emitted when the input gains focus.\n\n### **Slots:**\n - **postfix** - The postfix of the input.\n- **prefix** - The prefix of the input.\n- **addon-before** - The addon before the input.\n- **addon-after** - The addon after the input.\n- **feedback-icon** - The custom icon of the feedback.\n\n### **CSS Properties:**\n - **--dds-input-height-xs** - The height of the extra small input. (default: var(--dds-spacing-800)). _(default: undefined)_\n- **--dds-input-height-sm** - The height of the small input. (default: var(--dds-spacing-1000)). _(default: undefined)_\n- **--dds-input-height-lg** - The height of the large input. (default: var(--dds-spacing-1200)). _(default: undefined)_\n- **--dds-input-padding-xs** - The padding of the extra small input. (default: 0 var(--dds-spacing-200)). _(default: undefined)_\n- **--dds-input-padding-sm** - The padding of the small input. (default: 0 var(--dds-spacing-300)). _(default: undefined)_\n- **--dds-input-padding-lg** - The padding of the large input. (default: 0 var(--dds-spacing-400)). _(default: undefined)_\n- **--dds-input-font-size-xs** - The font size of the extra small input. (default: var(--dds-font-sm)). _(default: undefined)_\n- **--dds-input-font-size-sm** - The font size of the small input. (default: var(--dds-font-base)). _(default: undefined)_\n- **--dds-input-font-size-lg** - The font size of the large input. (default: var(--dds-font-lg)). _(default: undefined)_\n- **--dds-input-border** - The border of the input. (default: var(--dds-border-width-base) solid var(--dds-border-neutral-base)). _(default: undefined)_\n- **--dds-input-background** - The background color of the input. (default: var(--dds-fields-background-default)). _(default: undefined)_\n- **--dds-input-text-color** - The text color of the input. (default: var(--dds-text-neutral-base)). _(default: undefined)_\n- **--dds-input-border-radius** - The border radius of the input. (default: var(--dds-radius-base)). _(default: undefined)_\n- **--dds-input-disabled-border** - The border of the disabled input. (default: 0 solid var(--dds-border-neutral-disabled)). _(default: undefined)_\n- **--dds-input-disabled-background** - The background color of the disabled input. (default: var(--dds-fields-background-disabled)). _(default: undefined)_\n- **--dds-input-disabled-text** - The text color of the disabled input. (default: var(--dds-text-neutral-disabled)). _(default: undefined)_\n- **--dds-input-readonly-border** - The border of the readonly input. (default: 0 solid var(--dds-border-neutral-subtle)). _(default: undefined)_\n- **--dds-input-readonly-background** - The background color of the readonly input. (default: var(--dds-fields-background-read-only)). _(default: undefined)_\n- **--dds-input-readonly-text** - The text color of the readonly input. (default: var(--dds-text-neutral-subtle)). _(default: undefined)_\n- **--dds-input-success-border** - The border of the success input. (default: var(--dds-border-width-base) solid var(--dds-border-positive-base)). _(default: undefined)_\n- **--dds-input-error-border** - The border of the error input. (default: var(--dds-border-width-base) solid var(--dds-border-negative-base)). _(default: undefined)_\n- **--dds-input-addon-background** - The background color of the input addon. (default: var(--dds-fields-background-default)). _(default: undefined)_\n- **--dds-input-addon-success-background** - The background color of the success input addon. (default: var(--dds-fields-background-default)). _(default: undefined)_\n- **--dds-input-addon-error-background** - The background color of the error input addon. (default: var(--dds-fields-background-default)). _(default: undefined)_\n- **--dds-input-addon-border-before** - The border of the addon before the input. (default: var(--dds-border-width-base) solid var(--dds-border-neutral-base)). _(default: undefined)_\n- **--dds-input-addon-border-after** - The border of the addon after the input. (default: var(--dds-border-width-base) solid var(--dds-border-neutral-base)). _(default: undefined)_\n- **--dds-input-addon-border-width-before** - The border width of the addon before the input. (default: var(--dds-border-width-base) 0 var(--dds-border-width-base) var(--dds-border-width-base)). _(default: undefined)_\n- **--dds-input-addon-border-width-after** - The border width of the addon after the input. (default: var(--dds-border-width-base) var(--dds-border-width-base) var(--dds-border-width-base) 0). _(default: undefined)_\n- **--dds-input-addon-success-border** - The border of the success addon. (default: var(--dds-border-width-base) solid var(--dds-border-positive-base)). _(default: undefined)_\n- **--dds-input-addon-success-border-before** - The border of the success addon before the input. (default: var(--dds-border-width-base) solid var(--dds-border-positive-base)). _(default: undefined)_\n- **--dds-input-addon-success-border-after** - The border of the success addon after the input. (default: var(--dds-border-width-base) solid var(--dds-border-positive-base)). _(default: undefined)_\n- **--dds-input-addon-success-border-width-before** - The border width of the success addon before the input. (default: var(--dds-border-width-base) 0 var(--dds-border-width-base) var(--dds-border-width-base)). _(default: undefined)_\n- **--dds-input-addon-success-border-width-after** - The border width of the success addon after the input. (default: var(--dds-border-width-base) var(--dds-border-width-base) var(--dds-border-width-base) 0). _(default: undefined)_\n- **--dds-input-addon-error-border-before** - The border of the error addon before the input. (default: var(--dds-border-width-base) solid var(--dds-border-negative-base)). _(default: undefined)_\n- **--dds-input-addon-error-border-after** - The border of the error addon after the input. (default: var(--dds-border-width-base) solid var(--dds-border-negative-base)). _(default: undefined)_\n- **--dds-input-addon-error-border-width-before** - The border width of the error addon before the input. (default: var(--dds-border-width-base) 0 var(--dds-border-width-base) var(--dds-border-width-base)). _(default: undefined)_\n- **--dds-input-addon-error-border-width-after** - The border width of the error addon after the input. (default: var(--dds-border-width-base) var(--dds-border-width-base) var(--dds-border-width-base) 0). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main input container.\n- **input** - The input element.\n- **label** - The label of the input.\n- **description** - The description of the input.\n- **feedback** - The feedback of the input.\n- **tooltip** - The tooltip of the input.\n- **addon-before** - The addon before the input.\n- **addon-after** - The addon after the input.\n- **prefix** - The prefix of the input.\n- **postfix** - The postfix of the input.",
|
|
5462
|
+
"doc-url": "",
|
|
5463
|
+
"attributes": [],
|
|
5464
|
+
"slots": [
|
|
5465
|
+
{ "name": "postfix", "description": "The postfix of the input." },
|
|
5466
|
+
{ "name": "prefix", "description": "The prefix of the input." },
|
|
5467
|
+
{
|
|
5468
|
+
"name": "addon-before",
|
|
5469
|
+
"description": "The addon before the input."
|
|
5470
|
+
},
|
|
5471
|
+
{
|
|
5472
|
+
"name": "addon-after",
|
|
5473
|
+
"description": "The addon after the input."
|
|
5474
|
+
},
|
|
5475
|
+
{
|
|
5476
|
+
"name": "feedback-icon",
|
|
5477
|
+
"description": "The custom icon of the feedback."
|
|
5478
|
+
}
|
|
5479
|
+
],
|
|
5480
|
+
"events": [
|
|
5481
|
+
{
|
|
5482
|
+
"name": "dds-change",
|
|
5483
|
+
"type": "{ value: string }",
|
|
5484
|
+
"description": "Fired when the input value changes."
|
|
5485
|
+
},
|
|
5486
|
+
{
|
|
5487
|
+
"name": "dds-input",
|
|
5411
5488
|
"type": "{ value: string }",
|
|
5412
5489
|
"description": "Fired when the input value changes."
|
|
5413
5490
|
},
|
|
@@ -5619,73 +5696,6 @@
|
|
|
5619
5696
|
]
|
|
5620
5697
|
}
|
|
5621
5698
|
},
|
|
5622
|
-
{
|
|
5623
|
-
"name": "dap-ds-label",
|
|
5624
|
-
"description": "A label is a container for labels intended for general use. It contains a label text, description, and tooltip.\n---\n\n\n### **CSS Properties:**\n - **--dds-label-background** - The background color of the label container. (default: var(--dds-background-neutral-subtle)). _(default: undefined)_\n- **--dds-label-border-color** - The border color of the label container. (default: var(--dds-border-neutral-subtle)). _(default: undefined)_\n- **--dds-label-border-width** - The border width of the label container. (default: var(--dds-border-width-base)). _(default: undefined)_\n- **--dds-label-border-radius** - The border radius of the label container. (default: var(--dds-radius-base)). _(default: undefined)_\n- **--dds-label-padding** - The padding of the label container. (default: var(--dds-spacing-400)). _(default: undefined)_\n- **--dds-label-disabled-background** - The background color of the label container when disabled. (default: var(--dds-background-neutral-disabled-inverted)). _(default: undefined)_\n- **--dds-label-checked-border-color** - The border color of the label container when checked. (default: var(--dds-background-brand-base-inverted)). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main label container.\n- **label** - Tha main label container. dap-ds-form-label element.\n- **label-base** - The label text.\n- **label-required** - The required indicator of the label.\n- **label-optional** - The optional indicator of the label.\n- **tooltip** - The tooltip of the label. dap-ds-tooltip element.\n- **description** - The description of the label.",
|
|
5625
|
-
"doc-url": "",
|
|
5626
|
-
"attributes": [],
|
|
5627
|
-
"events": [],
|
|
5628
|
-
"js": {
|
|
5629
|
-
"properties": [
|
|
5630
|
-
{
|
|
5631
|
-
"name": "label",
|
|
5632
|
-
"description": "The label text",
|
|
5633
|
-
"type": "string"
|
|
5634
|
-
},
|
|
5635
|
-
{
|
|
5636
|
-
"name": "description",
|
|
5637
|
-
"description": "The description of the label",
|
|
5638
|
-
"type": "string"
|
|
5639
|
-
},
|
|
5640
|
-
{
|
|
5641
|
-
"name": "tooltip",
|
|
5642
|
-
"description": "The tooltip text",
|
|
5643
|
-
"type": "string"
|
|
5644
|
-
},
|
|
5645
|
-
{
|
|
5646
|
-
"name": "size",
|
|
5647
|
-
"description": "The size of the input. Default is `sm`.",
|
|
5648
|
-
"type": "'xs' | 'sm' | 'lg'"
|
|
5649
|
-
},
|
|
5650
|
-
{
|
|
5651
|
-
"name": "tooltipPlacement",
|
|
5652
|
-
"description": "The tooltip placement of the label.",
|
|
5653
|
-
"type": "'top' | 'right' | 'bottom' | 'left'"
|
|
5654
|
-
},
|
|
5655
|
-
{
|
|
5656
|
-
"name": "optional",
|
|
5657
|
-
"description": "If the label is optional. Default value is `false`.",
|
|
5658
|
-
"type": "boolean"
|
|
5659
|
-
},
|
|
5660
|
-
{
|
|
5661
|
-
"name": "optionalLabel",
|
|
5662
|
-
"description": "Label of optional text",
|
|
5663
|
-
"type": "string"
|
|
5664
|
-
},
|
|
5665
|
-
{
|
|
5666
|
-
"name": "requiredLabel",
|
|
5667
|
-
"description": "Indicator of required text (default: '*')",
|
|
5668
|
-
"type": "string"
|
|
5669
|
-
},
|
|
5670
|
-
{
|
|
5671
|
-
"name": "subtle",
|
|
5672
|
-
"description": "Text weight of label. If true the label is subtle. Default value is `false`.",
|
|
5673
|
-
"type": "boolean"
|
|
5674
|
-
},
|
|
5675
|
-
{
|
|
5676
|
-
"name": "disabled",
|
|
5677
|
-
"description": "The disabled state of the label. Default is `false`.",
|
|
5678
|
-
"type": "boolean"
|
|
5679
|
-
},
|
|
5680
|
-
{
|
|
5681
|
-
"name": "required",
|
|
5682
|
-
"description": "The required state of the label. Default is `false`.",
|
|
5683
|
-
"type": "boolean"
|
|
5684
|
-
}
|
|
5685
|
-
],
|
|
5686
|
-
"events": []
|
|
5687
|
-
}
|
|
5688
|
-
},
|
|
5689
5699
|
{
|
|
5690
5700
|
"name": "dap-ds-link",
|
|
5691
5701
|
"description": "A link is a reference to a web resource.\n---\n\n\n### **Events:**\n - **dds-click** - Emitted when the link is clicked.\n\n### **Slots:**\n - _default_ - The text of the link.\n- **link** - A router link element (e.g. Next.js Link) used for SPA navigation. Rendered outside the visible link so it is always accessible to programmatic clicks.\n\n### **CSS Properties:**\n - **--dds-link-neutral-color** - The color of the neutral variant link (default: var(--dds-link-neutral-enabled)). _(default: undefined)_\n- **--dds-link-neutral-hover-color** - The hover color of the neutral variant link (default: var(--dds-link-neutral-hover)). _(default: undefined)_\n- **--dds-link-neutral-active-color** - The active color of the neutral variant link (default: var(--dds-link-neutral-pressed)). _(default: undefined)_\n- **--dds-link-neutral-visited-color** - The visited color of the neutral variant link (default: var(--dds-link-neutral-pressed)). _(default: undefined)_\n- **--dds-link-brand-color** - The color of the brand variant link (default: var(--dds-link-enabled)). _(default: undefined)_\n- **--dds-link-brand-hover-color** - The hover color of the brand variant link (default: var(--dds-link-hover)). _(default: undefined)_\n- **--dds-link-brand-active-color** - The active color of the brand variant link (default: var(--dds-link-pressed)). _(default: undefined)_\n- **--dds-link-brand-visited-color** - The visited color of the brand variant link (default: var(--dds-link-pressed)). _(default: undefined)_\n- **--dds-link-inverted-color** - The color of the inverted variant link (default: var(--dds-link-inverted-enabled)). _(default: undefined)_\n- **--dds-link-inverted-hover-color** - The hover color of the inverted variant link (default: var(--dds-link-inverted-hover)). _(default: undefined)_\n- **--dds-link-inverted-active-color** - The active color of the inverted variant link (default: var(--dds-link-inverted-pressed)). _(default: undefined)_\n- **--dds-link-inverted-visited-color** - The visited color of the inverted variant link (default: var(--dds-link-inverted-pressed)). _(default: undefined)_\n- **--dds-link-warning-color** - The color of the warning variant link (default: var(--dds-banner-action-inverted-enabled)). _(default: undefined)_\n- **--dds-link-warning-hover-color** - The hover color of the warning variant link (default: var(--dds-banner-action-inverted-hover)). _(default: undefined)_\n- **--dds-link-warning-active-color** - The active color of the warning variant link (default: var(--dds-banner-action-inverted-pressed)). _(default: undefined)_\n- **--dds-link-warning-visited-color** - The visited color of the warning variant link (default: var(--dds-banner-action-inverted-pressed)). _(default: undefined)_\n- **--dds-link-disabled-color** - The color of the disabled link (default: var(--dds-text-neutral-disabled)). _(default: undefined)_\n- **--dds-link-disabled-hover-color** - The hover color of the disabled link (default: var(--dds-text-neutral-disabled)). _(default: undefined)_\n- **--dds-link-disabled-active-color** - The active color of the disabled link (default: var(--dds-text-neutral-disabled)). _(default: undefined)_\n- **--dds-link-disabled-visited-color** - The visited color of the disabled link (default: var(--dds-text-neutral-disabled)). _(default: undefined)_\n- **--dds-link-lg-font-size** - The font size of the large link (default: var(--dds-font-lg)). _(default: undefined)_\n- **--dds-link-lg-line-height** - The line height of the large link (default: var(--dds-font-line-height-xlarge)). _(default: undefined)_\n- **--dds-link-md-font-size** - The font size of the medium link (default: var(--dds-font-base)). _(default: undefined)_\n- **--dds-link-md-line-height** - The line height of the medium link (default: var(--dds-font-line-height-xlarge)). _(default: undefined)_\n- **--dds-link-sm-font-size** - The font size of the small link (default: var(--dds-font-sm)). _(default: undefined)_\n- **--dds-link-sm-line-height** - The line height of the small link (default: var(--dds-font-line-height-xlarge)). _(default: undefined)_\n- **--dds-link-xs-font-size** - The font size of the extra small link (default: var(--dds-font-xs)). _(default: undefined)_\n- **--dds-link-xs-line-height** - The line height of the extra small link (default: var(--dds-font-line-height-xlarge)). _(default: undefined)_\n- **--dds-link-normal-font-weight** - The font weight of the normal link (default: var(--dds-font-weight-medium)). _(default: undefined)_\n- **--dds-link-bold-font-weight** - The font weight of the bold link (default: var(--dds-font-weight-bold)). _(default: undefined)_\n- **--dds-link-no-underline-text-decoration** - The text decoration when underline is removed (default: none). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main link container.\n- **text** - The text of the link.",
|
|
@@ -6250,405 +6260,296 @@
|
|
|
6250
6260
|
}
|
|
6251
6261
|
},
|
|
6252
6262
|
{
|
|
6253
|
-
"name": "dap-ds-
|
|
6254
|
-
"description": "A
|
|
6263
|
+
"name": "dap-ds-number-input",
|
|
6264
|
+
"description": "A number input component.\n---\n\n\n### **Events:**\n - **dds-change** - Fired when the input value changes.\n- **dds-input** - Fired when the input value changes.\n- **dds-keydown** - Fired when a key is pressed down.\n- **dds-blur** - Fired when the input loses focus.\n- **dds-focus** - Emitted when the input gains focus.\n\n### **Slots:**\n - **feedback-icon** - The custom icon of the feedback.\n\n### **CSS Properties:**\n - **--dds-input-height-xs** - The height of the extra small input. (default: var(--dds-spacing-800) ). _(default: undefined)_\n- **--dds-input-height-sm** - The height of the small input. (default: var(--dds-spacing-1000)). _(default: undefined)_\n- **--dds-input-height-lg** - The height of the large input. (default: var(--dds-spacing-1200)). _(default: undefined)_\n- **--dds-input-padding-xs** - The padding of the extra small input. (default: 0 var(--dds-spacing-200)). _(default: undefined)_\n- **--dds-input-padding-sm** - The padding of the small input. (default: 0 var(--dds-spacing-300)). _(default: undefined)_\n- **--dds-input-padding-lg** - The padding of the large input. (default: 0 var(--dds-spacing-400)). _(default: undefined)_\n- **--dds-input-font-size-xs** - The font size of the extra small input. (default: var(--dds-font-sm)). _(default: undefined)_\n- **--dds-input-font-size-sm** - The font size of the small input. (default: var(--dds-font-base)). _(default: undefined)_\n- **--dds-input-font-size-lg** - The font size of the large input. (default: var(--dds-font-lg)). _(default: undefined)_\n- **--dds-input-border** - The border of the input. (default: var(--dds-border-width-base) solid var(--dds-border-neutral-base)). _(default: undefined)_\n- **--dds-input-background** - The background color of the input. (default: var(--dds-fields-background-default)). _(default: undefined)_\n- **--dds-input-text-color** - The text color of the input. (default: var(--dds-text-neutral-base)). _(default: undefined)_\n- **--dds-input-border-radius** - The border radius of the input. (default: var(--dds-radius-base)). _(default: undefined)_\n- **--dds-input-disabled-border** - The border of the disabled input. (default: 0 solid var(--dds-border-neutral-disabled)). _(default: undefined)_\n- **--dds-input-disabled-background** - The background color of the disabled input. (default: var(--dds-fields-background-disabled)). _(default: undefined)_\n- **--dds-input-disabled-text** - The text color of the disabled input. (default: var(--dds-text-neutral-disabled)). _(default: undefined)_\n- **--dds-input-readonly-border** - The border of the readonly input. (default: 0 solid var(--dds-border-neutral-subtle)). _(default: undefined)_\n- **--dds-input-readonly-background** - The background color of the readonly input. (default: var(--dds-fields-background-read-only)). _(default: undefined)_\n- **--dds-input-readonly-text** - The text color of the readonly input. (default: var(--dds-text-neutral-subtle)). _(default: undefined)_\n- **--dds-input-success-border** - The border of the success input. (default: var(--dds-border-width-base) solid var(--dds-border-positive-base)). _(default: undefined)_\n- **--dds-input-error-border** - The border of the error input. (default: var(--dds-border-width-base) solid var(--dds-border-negative-base)). _(default: undefined)_\n- **--dds-input-addon-background** - The background color of the input addon. (default: var(--dds-fields-background-default)). _(default: undefined)_\n- **--dds-input-addon-success-background** - The background color of the success input addon. (default: var(--dds-fields-background-default)). _(default: undefined)_\n- **--dds-input-addon-error-background** - The background color of the error input addon. (default: var(--dds-fields-background-default)). _(default: undefined)_\n- **--dds-input-addon-border-before** - The border of the addon before the input. (default: var(--dds-border-width-base) solid var(--dds-border-neutral-base)). _(default: undefined)_\n- **--dds-input-addon-border-after** - The border of the addon after the input. (default: var(--dds-border-width-base) solid var(--dds-border-neutral-base)). _(default: undefined)_\n- **--dds-input-addon-border-width-before** - The border width of the addon before the input. (default: var(--dds-border-width-base) 0 var(--dds-border-width-base) var(--dds-border-width-base)). _(default: undefined)_\n- **--dds-input-addon-border-width-after** - The border width of the addon after the input. (default: var(--dds-border-width-base) var(--dds-border-width-base) var(--dds-border-width-base) 0). _(default: undefined)_\n- **--dds-input-addon-success-border** - The border of the success addon. (default: var(--dds-border-width-base) solid var(--dds-border-positive-base)). _(default: undefined)_\n- **--dds-input-addon-success-border-before** - The border of the success addon before the input. (default: var(--dds-border-width-base) solid var(--dds-border-positive-base)). _(default: undefined)_\n- **--dds-input-addon-success-border-after** - The border of the success addon after the input. (default: var(--dds-border-width-base) solid var(--dds-border-positive-base)). _(default: undefined)_\n- **--dds-input-addon-success-border-width-before** - The border width of the success addon before the input. (default: var(--dds-border-width-base) 0 var(--dds-border-width-base) var(--dds-border-width-base)). _(default: undefined)_\n- **--dds-input-addon-success-border-width-after** - The border width of the success addon after the input. (default: var(--dds-border-width-base) var(--dds-border-width-base) var(--dds-border-width-base) 0). _(default: undefined)_\n- **--dds-input-addon-error-border-before** - The border of the error addon before the input. (default: var(--dds-border-width-base) solid var(--dds-border-negative-base)). _(default: undefined)_\n- **--dds-input-addon-error-border-after** - The border of the error addon after the input. (default: var(--dds-border-width-base) solid var(--dds-border-negative-base)). _(default: undefined)_\n- **--dds-input-addon-error-border-width-before** - The border width of the error addon before the input. (default: var(--dds-border-width-base) 0 var(--dds-border-width-base) var(--dds-border-width-base)). _(default: undefined)_\n- **--dds-input-addon-error-border-width-after** - The border width of the error addon after the input. (default: var(--dds-border-width-base) var(--dds-border-width-base) var(--dds-border-width-base) 0). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main number input container.\n- **input** - The input element.\n- **label** - The label of the input.\n- **description** - The description of the input.\n- **feedback** - The feedback of the input.\n- **tooltip** - The tooltip of the input.\n- **addon-before** - The addon before the input.\n- **addon-after** - The addon after the input.\n- **prefix** - The prefix of the input.\n- **postfix** - The postfix of the input.\n- **decrement-button** - The decrement button of the input.\n- **increment-button** - The increment button of the input.\n- **decrement-button-base** - The base of the decrement button.\n- **increment-button-base** - The base of the increment button.\n- **decrement-button-content** - The content of the decrement button.\n- **increment-button-content** - The content of the increment button.\n- **decrement-icon** - The icon of the decrement button.\n- **decrement-icon-base** - The base of the decrement icon.\n- **increment-icon** - The icon of the increment button.\n- **increment-icon-base** - The base of the increment icon.\n- **label-base** - The base of the label.\n- **label-required** - The required indicator of the label.\n- **label-optional** - The optional indicator of the label.",
|
|
6255
6265
|
"doc-url": "",
|
|
6256
6266
|
"attributes": [
|
|
6257
6267
|
{
|
|
6258
|
-
"name": "
|
|
6259
|
-
"description": "The
|
|
6260
|
-
"value": { "type": "
|
|
6268
|
+
"name": "thousandSeparator",
|
|
6269
|
+
"description": "The thousand separator of the input.",
|
|
6270
|
+
"value": { "type": "string", "default": "''" }
|
|
6261
6271
|
},
|
|
6262
6272
|
{
|
|
6263
|
-
"name": "
|
|
6264
|
-
"description": "The
|
|
6265
|
-
"value": { "type": "
|
|
6273
|
+
"name": "decimalSeparator",
|
|
6274
|
+
"description": "The decimal separator of the input.",
|
|
6275
|
+
"value": { "type": "string", "default": "','" }
|
|
6266
6276
|
},
|
|
6267
6277
|
{
|
|
6268
|
-
"name": "
|
|
6269
|
-
"description": "The
|
|
6270
|
-
"value": {
|
|
6271
|
-
"type": "'top' | 'right' | 'bottom' | 'left' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end'",
|
|
6272
|
-
"default": "'bottom-start'"
|
|
6273
|
-
}
|
|
6278
|
+
"name": "decimalScale",
|
|
6279
|
+
"description": "The decimal scale of the input.",
|
|
6280
|
+
"value": { "type": "number" }
|
|
6274
6281
|
},
|
|
6275
6282
|
{
|
|
6276
|
-
"name": "
|
|
6277
|
-
"description": "The
|
|
6278
|
-
"value": { "type": "
|
|
6283
|
+
"name": "allowNegative",
|
|
6284
|
+
"description": "The allow negative state of the input.",
|
|
6285
|
+
"value": { "type": "string", "default": "'true'" }
|
|
6279
6286
|
},
|
|
6280
6287
|
{
|
|
6281
|
-
"name": "
|
|
6282
|
-
"description": "The
|
|
6283
|
-
"value": { "type": "
|
|
6288
|
+
"name": "allowDecimal",
|
|
6289
|
+
"description": "The allow decimal state of the input.",
|
|
6290
|
+
"value": { "type": "string", "default": "'true'" }
|
|
6284
6291
|
},
|
|
6285
6292
|
{
|
|
6286
|
-
"name": "
|
|
6287
|
-
"description": "
|
|
6293
|
+
"name": "hideControls",
|
|
6294
|
+
"description": "Hides the increment and decrement buttons.",
|
|
6288
6295
|
"value": { "type": "boolean", "default": "false" }
|
|
6289
6296
|
},
|
|
6290
6297
|
{
|
|
6291
|
-
"name": "
|
|
6292
|
-
"description": "The
|
|
6293
|
-
"value": { "type": "number
|
|
6298
|
+
"name": "padStart",
|
|
6299
|
+
"description": "The number of leading zeros to add to the input.",
|
|
6300
|
+
"value": { "type": "number" }
|
|
6294
6301
|
},
|
|
6295
6302
|
{
|
|
6296
|
-
"name": "
|
|
6297
|
-
"description": "
|
|
6298
|
-
"value": {
|
|
6303
|
+
"name": "decrementButtonTestId",
|
|
6304
|
+
"description": "`data-testid` for the decrement stepper button.",
|
|
6305
|
+
"value": {
|
|
6306
|
+
"type": "string",
|
|
6307
|
+
"default": "'number-input-decrement-button'"
|
|
6308
|
+
}
|
|
6299
6309
|
},
|
|
6300
6310
|
{
|
|
6301
|
-
"name": "
|
|
6302
|
-
"description": "
|
|
6303
|
-
"value": {
|
|
6304
|
-
|
|
6311
|
+
"name": "incrementButtonTestId",
|
|
6312
|
+
"description": "`data-testid` for the increment stepper button.",
|
|
6313
|
+
"value": {
|
|
6314
|
+
"type": "string",
|
|
6315
|
+
"default": "'number-input-increment-button'"
|
|
6316
|
+
}
|
|
6317
|
+
}
|
|
6318
|
+
],
|
|
6319
|
+
"slots": [
|
|
6305
6320
|
{
|
|
6306
|
-
"name": "
|
|
6307
|
-
"description": "
|
|
6308
|
-
|
|
6309
|
-
|
|
6321
|
+
"name": "feedback-icon",
|
|
6322
|
+
"description": "The custom icon of the feedback."
|
|
6323
|
+
}
|
|
6324
|
+
],
|
|
6325
|
+
"events": [
|
|
6310
6326
|
{
|
|
6311
|
-
"name": "
|
|
6312
|
-
"
|
|
6313
|
-
"
|
|
6327
|
+
"name": "dds-change",
|
|
6328
|
+
"type": "{ value: string }",
|
|
6329
|
+
"description": "Fired when the input value changes."
|
|
6314
6330
|
},
|
|
6315
6331
|
{
|
|
6316
|
-
"name": "
|
|
6317
|
-
"
|
|
6318
|
-
"
|
|
6332
|
+
"name": "dds-input",
|
|
6333
|
+
"type": "{ value: string }",
|
|
6334
|
+
"description": "Fired when the input value changes."
|
|
6319
6335
|
},
|
|
6320
6336
|
{
|
|
6321
|
-
"name": "
|
|
6322
|
-
"
|
|
6323
|
-
"
|
|
6337
|
+
"name": "dds-keydown",
|
|
6338
|
+
"type": "{ value: string, originalEvent: Event }",
|
|
6339
|
+
"description": "Fired when a key is pressed down."
|
|
6324
6340
|
},
|
|
6325
6341
|
{
|
|
6326
|
-
"name": "
|
|
6327
|
-
"
|
|
6328
|
-
"
|
|
6329
|
-
},
|
|
6330
|
-
{
|
|
6331
|
-
"name": "baseHref",
|
|
6332
|
-
"description": "The href of the navigation item. If provided, the navigation item will be active if the href is a substring of the activeHref.",
|
|
6333
|
-
"value": { "type": "string" }
|
|
6334
|
-
},
|
|
6335
|
-
{
|
|
6336
|
-
"name": "exactHref",
|
|
6337
|
-
"description": "Whether the navigation item should be active if the href is exactly the same as the activeHref. Default is false.",
|
|
6338
|
-
"value": { "type": "boolean", "default": "false" }
|
|
6339
|
-
},
|
|
6340
|
-
{
|
|
6341
|
-
"name": "href",
|
|
6342
|
-
"description": "The href URL for the navigation item link. When provided, the default trigger renders as a link.",
|
|
6343
|
-
"value": { "type": "string" }
|
|
6344
|
-
},
|
|
6345
|
-
{
|
|
6346
|
-
"name": "target",
|
|
6347
|
-
"description": "The target attribute for link navigation.",
|
|
6348
|
-
"value": { "type": "'_blank' | '_self' | '_parent' | '_top'" }
|
|
6349
|
-
},
|
|
6350
|
-
{
|
|
6351
|
-
"name": "rel",
|
|
6352
|
-
"description": "The rel attribute for link security and behavior.",
|
|
6353
|
-
"value": { "type": "string" }
|
|
6354
|
-
},
|
|
6355
|
-
{
|
|
6356
|
-
"name": "label",
|
|
6357
|
-
"description": "The label text for the navigation item. This will be displayed in the title slot if no custom title slot content is provided.",
|
|
6358
|
-
"value": { "type": "string" }
|
|
6359
|
-
},
|
|
6360
|
-
{
|
|
6361
|
-
"name": "level",
|
|
6362
|
-
"description": "The nesting level of this navigation item (0 = top-level, automatically set for nested items). Default is 0.",
|
|
6363
|
-
"value": { "type": "number", "default": "0" }
|
|
6364
|
-
},
|
|
6365
|
-
{
|
|
6366
|
-
"name": "orientation",
|
|
6367
|
-
"description": "The orientation of the parent navigation menu (automatically inherited). Default is 'horizontal'.",
|
|
6368
|
-
"value": {
|
|
6369
|
-
"type": "'horizontal' | 'vertical'",
|
|
6370
|
-
"default": "'horizontal'"
|
|
6371
|
-
}
|
|
6372
|
-
},
|
|
6373
|
-
{
|
|
6374
|
-
"name": "tabMode",
|
|
6375
|
-
"description": "Controls how Tab key navigates through top-level items. Default is 'group'.",
|
|
6376
|
-
"value": { "type": "'group' | 'items'", "default": "'group'" }
|
|
6377
|
-
},
|
|
6378
|
-
{
|
|
6379
|
-
"name": "triggerButtonTestId",
|
|
6380
|
-
"description": "`data-testid` for the default menu trigger button.",
|
|
6381
|
-
"value": {
|
|
6382
|
-
"type": "string",
|
|
6383
|
-
"default": "'navigation-menu-item-trigger-button'"
|
|
6384
|
-
}
|
|
6385
|
-
}
|
|
6386
|
-
],
|
|
6387
|
-
"slots": [
|
|
6388
|
-
{
|
|
6389
|
-
"name": "trigger",
|
|
6390
|
-
"description": "The trigger element (link, button, etc.) for this navigation item."
|
|
6391
|
-
},
|
|
6392
|
-
{
|
|
6393
|
-
"name": "title",
|
|
6394
|
-
"description": "The title of the navigation item."
|
|
6395
|
-
},
|
|
6396
|
-
{
|
|
6397
|
-
"name": "indicator",
|
|
6398
|
-
"description": "The expand indicator icon (defaults to arrow icon based on orientation and level)."
|
|
6399
|
-
},
|
|
6400
|
-
{
|
|
6401
|
-
"name": "link",
|
|
6402
|
-
"description": "A router link element (e.g. Next.js Link) used for SPA navigation. Rendered outside the popup so it is always accessible to programmatic clicks."
|
|
6403
|
-
},
|
|
6404
|
-
{
|
|
6405
|
-
"name": "",
|
|
6406
|
-
"description": "The dropdown content (can contain nested dap-ds-navigation-menu-item elements)."
|
|
6407
|
-
}
|
|
6408
|
-
],
|
|
6409
|
-
"events": [
|
|
6410
|
-
{
|
|
6411
|
-
"name": "dds-navigation-item-click",
|
|
6412
|
-
"type": "{ href: string, event: Event }",
|
|
6413
|
-
"description": "Fired when a navigation item is clicked."
|
|
6342
|
+
"name": "dds-blur",
|
|
6343
|
+
"type": "{ void }",
|
|
6344
|
+
"description": "Fired when the input loses focus."
|
|
6414
6345
|
},
|
|
6415
6346
|
{
|
|
6416
|
-
"name": "dds-
|
|
6417
|
-
"type": "{
|
|
6418
|
-
"description": "
|
|
6347
|
+
"name": "dds-focus",
|
|
6348
|
+
"type": "{ void }",
|
|
6349
|
+
"description": "Emitted when the input gains focus."
|
|
6419
6350
|
}
|
|
6420
6351
|
],
|
|
6421
6352
|
"js": {
|
|
6422
6353
|
"properties": [
|
|
6423
|
-
{ "name": "submenuController", "type": "SubmenuController" },
|
|
6424
6354
|
{
|
|
6425
|
-
"name": "
|
|
6426
|
-
"description": "The
|
|
6427
|
-
"type": "
|
|
6355
|
+
"name": "thousandSeparator",
|
|
6356
|
+
"description": "The thousand separator of the input.",
|
|
6357
|
+
"type": "string"
|
|
6428
6358
|
},
|
|
6429
6359
|
{
|
|
6430
|
-
"name": "
|
|
6431
|
-
"description": "The
|
|
6432
|
-
"type": "
|
|
6360
|
+
"name": "decimalSeparator",
|
|
6361
|
+
"description": "The decimal separator of the input.",
|
|
6362
|
+
"type": "string"
|
|
6433
6363
|
},
|
|
6434
6364
|
{
|
|
6435
|
-
"name": "
|
|
6436
|
-
"description": "The
|
|
6437
|
-
"type": "
|
|
6365
|
+
"name": "decimalScale",
|
|
6366
|
+
"description": "The decimal scale of the input.",
|
|
6367
|
+
"type": "number"
|
|
6438
6368
|
},
|
|
6439
6369
|
{
|
|
6440
|
-
"name": "
|
|
6441
|
-
"description": "The
|
|
6442
|
-
"type": "
|
|
6370
|
+
"name": "allowNegative",
|
|
6371
|
+
"description": "The allow negative state of the input.",
|
|
6372
|
+
"type": "string"
|
|
6443
6373
|
},
|
|
6444
6374
|
{
|
|
6445
|
-
"name": "
|
|
6446
|
-
"description": "The
|
|
6447
|
-
"type": "
|
|
6375
|
+
"name": "allowDecimal",
|
|
6376
|
+
"description": "The allow decimal state of the input.",
|
|
6377
|
+
"type": "string"
|
|
6448
6378
|
},
|
|
6449
6379
|
{
|
|
6450
|
-
"name": "
|
|
6451
|
-
"description": "
|
|
6380
|
+
"name": "hideControls",
|
|
6381
|
+
"description": "Hides the increment and decrement buttons.",
|
|
6452
6382
|
"type": "boolean"
|
|
6453
6383
|
},
|
|
6454
6384
|
{
|
|
6455
|
-
"name": "
|
|
6456
|
-
"description": "The
|
|
6457
|
-
"type": "number
|
|
6385
|
+
"name": "padStart",
|
|
6386
|
+
"description": "The number of leading zeros to add to the input.",
|
|
6387
|
+
"type": "number"
|
|
6458
6388
|
},
|
|
6459
6389
|
{
|
|
6460
|
-
"name": "
|
|
6461
|
-
"description": "
|
|
6462
|
-
"type": "
|
|
6390
|
+
"name": "decrementButtonTestId",
|
|
6391
|
+
"description": "`data-testid` for the decrement stepper button.",
|
|
6392
|
+
"type": "string"
|
|
6463
6393
|
},
|
|
6464
6394
|
{
|
|
6465
|
-
"name": "
|
|
6466
|
-
"description": "
|
|
6467
|
-
"type": "
|
|
6395
|
+
"name": "incrementButtonTestId",
|
|
6396
|
+
"description": "`data-testid` for the increment stepper button.",
|
|
6397
|
+
"type": "string"
|
|
6468
6398
|
},
|
|
6399
|
+
{ "name": "_thousandSeparator" },
|
|
6400
|
+
{ "name": "manualValueSet", "type": "boolean" },
|
|
6401
|
+
{ "name": "type", "type": "string" },
|
|
6469
6402
|
{
|
|
6470
|
-
"name": "
|
|
6471
|
-
"description": "
|
|
6472
|
-
"type": "
|
|
6403
|
+
"name": "label",
|
|
6404
|
+
"description": "The label of the input.",
|
|
6405
|
+
"type": "string"
|
|
6473
6406
|
},
|
|
6474
6407
|
{
|
|
6475
|
-
"name": "
|
|
6476
|
-
"description": "
|
|
6408
|
+
"name": "hideLabel",
|
|
6409
|
+
"description": "Visually hides the label while keeping it available to assistive technology. (default: false)",
|
|
6477
6410
|
"type": "boolean"
|
|
6478
6411
|
},
|
|
6479
6412
|
{
|
|
6480
|
-
"name": "
|
|
6481
|
-
"description": "The
|
|
6413
|
+
"name": "placeholder",
|
|
6414
|
+
"description": "The placeholder of the input.",
|
|
6482
6415
|
"type": "string"
|
|
6483
6416
|
},
|
|
6484
6417
|
{
|
|
6485
|
-
"name": "
|
|
6486
|
-
"description": "The
|
|
6418
|
+
"name": "description",
|
|
6419
|
+
"description": "The description of the input.",
|
|
6487
6420
|
"type": "string"
|
|
6488
6421
|
},
|
|
6489
6422
|
{
|
|
6490
|
-
"name": "
|
|
6491
|
-
"description": "The
|
|
6423
|
+
"name": "tooltip",
|
|
6424
|
+
"description": "The tooltip of the input.",
|
|
6492
6425
|
"type": "string"
|
|
6493
6426
|
},
|
|
6494
6427
|
{
|
|
6495
|
-
"name": "
|
|
6496
|
-
"description": "The
|
|
6497
|
-
"type": "
|
|
6428
|
+
"name": "tooltipPlacement",
|
|
6429
|
+
"description": "The tooltip placement of the input.",
|
|
6430
|
+
"type": "'top' | 'right' | 'bottom' | 'left'"
|
|
6498
6431
|
},
|
|
6499
6432
|
{
|
|
6500
|
-
"name": "
|
|
6501
|
-
"description": "
|
|
6502
|
-
"type": "
|
|
6433
|
+
"name": "status",
|
|
6434
|
+
"description": "The status of the input. Can be `success` or `error`.",
|
|
6435
|
+
"type": "'success' | 'error'"
|
|
6503
6436
|
},
|
|
6504
6437
|
{
|
|
6505
|
-
"name": "
|
|
6506
|
-
"description": "The
|
|
6507
|
-
"type": "
|
|
6438
|
+
"name": "size",
|
|
6439
|
+
"description": "The size of the input. Default is `sm`. Can be `sm` or `lg`.",
|
|
6440
|
+
"type": "'xs' | 'sm' | 'sm'"
|
|
6508
6441
|
},
|
|
6509
6442
|
{
|
|
6510
|
-
"name": "
|
|
6511
|
-
"description": "The
|
|
6512
|
-
"type": "
|
|
6443
|
+
"name": "name",
|
|
6444
|
+
"description": "The name of the input.",
|
|
6445
|
+
"type": "string"
|
|
6513
6446
|
},
|
|
6514
6447
|
{
|
|
6515
|
-
"name": "
|
|
6516
|
-
"description": "The
|
|
6448
|
+
"name": "value",
|
|
6449
|
+
"description": "The value of the input.",
|
|
6517
6450
|
"type": "string"
|
|
6518
6451
|
},
|
|
6519
6452
|
{
|
|
6520
|
-
"name": "
|
|
6521
|
-
"description": "The
|
|
6522
|
-
"type": "
|
|
6453
|
+
"name": "disabled",
|
|
6454
|
+
"description": "The disabled state of the input. Default is false.",
|
|
6455
|
+
"type": "boolean"
|
|
6523
6456
|
},
|
|
6524
6457
|
{
|
|
6525
|
-
"name": "
|
|
6526
|
-
"description": "The
|
|
6527
|
-
"type": "
|
|
6458
|
+
"name": "required",
|
|
6459
|
+
"description": "The required state of the input. Default is false.",
|
|
6460
|
+
"type": "boolean"
|
|
6528
6461
|
},
|
|
6529
6462
|
{
|
|
6530
|
-
"name": "
|
|
6531
|
-
"description": "The
|
|
6532
|
-
"type": "
|
|
6463
|
+
"name": "readonly",
|
|
6464
|
+
"description": "The readonly state of the input. Default is false.",
|
|
6465
|
+
"type": "boolean"
|
|
6533
6466
|
},
|
|
6534
6467
|
{
|
|
6535
|
-
"name": "
|
|
6536
|
-
"description": "
|
|
6537
|
-
"type": "
|
|
6468
|
+
"name": "autofocus",
|
|
6469
|
+
"description": "The autofocus state of the input. Default is false.",
|
|
6470
|
+
"type": "boolean"
|
|
6538
6471
|
},
|
|
6539
6472
|
{
|
|
6540
|
-
"name": "
|
|
6541
|
-
"description": "
|
|
6542
|
-
"type": "
|
|
6473
|
+
"name": "min",
|
|
6474
|
+
"description": "The minimum value of the number input.",
|
|
6475
|
+
"type": "number"
|
|
6543
6476
|
},
|
|
6544
|
-
{ "name": "hasContent", "type": "boolean" },
|
|
6545
6477
|
{
|
|
6546
|
-
"name": "
|
|
6547
|
-
"description": "
|
|
6548
|
-
"type": "
|
|
6478
|
+
"name": "max",
|
|
6479
|
+
"description": "The maximum value of the number input.",
|
|
6480
|
+
"type": "number"
|
|
6549
6481
|
},
|
|
6550
6482
|
{
|
|
6551
|
-
"name": "
|
|
6552
|
-
"description": "The
|
|
6553
|
-
"type": "
|
|
6483
|
+
"name": "step",
|
|
6484
|
+
"description": "The step value of the number input.",
|
|
6485
|
+
"type": "number"
|
|
6554
6486
|
},
|
|
6555
6487
|
{
|
|
6556
|
-
"name": "
|
|
6557
|
-
"description": "The
|
|
6558
|
-
"type": "
|
|
6559
|
-
}
|
|
6560
|
-
],
|
|
6561
|
-
"events": [
|
|
6488
|
+
"name": "feedback",
|
|
6489
|
+
"description": "The feedback of the input.",
|
|
6490
|
+
"type": "string"
|
|
6491
|
+
},
|
|
6562
6492
|
{
|
|
6563
|
-
"name": "
|
|
6564
|
-
"
|
|
6565
|
-
"
|
|
6493
|
+
"name": "feedbackType",
|
|
6494
|
+
"description": "The feedback type of the input. Can be `negative`, `positive`, or `warning`.",
|
|
6495
|
+
"type": "'negative' | 'positive' | 'warning'"
|
|
6566
6496
|
},
|
|
6567
6497
|
{
|
|
6568
|
-
"name": "
|
|
6569
|
-
"
|
|
6570
|
-
"
|
|
6571
|
-
}
|
|
6572
|
-
]
|
|
6573
|
-
}
|
|
6574
|
-
},
|
|
6575
|
-
{
|
|
6576
|
-
"name": "dap-ds-navigation-menu",
|
|
6577
|
-
"description": "A navigation menu for website/application navigation. Supports nested dropdowns with unlimited depth.\nThis is a NAVIGATION component, not an application menu (like dropdowns or context menus).\nUses semantic HTML (`<nav>`) and proper navigation ARIA attributes.\n---\n\n\n### **Events:**\n - **dds-navigation-item-click** - Fired when a navigation item is clicked.\n\n### **Methods:**\n - **getAllItems()** - Gets all slotted menu items, ignoring disabled elements\n- **getCurrentItem()** - Gets the current menu item (the one marked with `data-nav-current`).\nThe menu item may or may not have focus, but for keyboard interaction purposes it's considered the \"active\" item.\n- **setCurrentItem(item: _DapDSNavigationMenuItem_)** - Sets the current menu item. In 'group' mode (default), applies roving tabindex so only the\nactive item's trigger is in the sequential tab order (tabindex=\"0\"). In 'items' mode, all\ntop-level items remain in the tab order — only the data-nav-current marker is updated.\n\n### **Slots:**\n - _default_ - The navigation menu list and items.\n\n### **CSS Properties:**\n - **--dds-navigation-menu-item-gap** - The gap between navigation menu items. (default: var(--dds-spacing-100)). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main navigation menu container (nav element).",
|
|
6578
|
-
"doc-url": "",
|
|
6579
|
-
"attributes": [
|
|
6580
|
-
{
|
|
6581
|
-
"name": "activeHref",
|
|
6582
|
-
"description": "The currently active href for highlighting active navigation items with aria-current=\"page\". Defaults to window.location.pathname if not provided.",
|
|
6583
|
-
"value": { "type": "string" }
|
|
6584
|
-
},
|
|
6585
|
-
{
|
|
6586
|
-
"name": "orientation",
|
|
6587
|
-
"description": "The orientation of the navigation menu. Default is 'horizontal'.",
|
|
6588
|
-
"value": {
|
|
6589
|
-
"type": "'horizontal' | 'vertical'",
|
|
6590
|
-
"default": "'horizontal'"
|
|
6591
|
-
}
|
|
6592
|
-
},
|
|
6593
|
-
{
|
|
6594
|
-
"name": "fullWidth",
|
|
6595
|
-
"description": "Whether the navigation menu should take full width of the screen. Default is false.",
|
|
6596
|
-
"value": { "type": "boolean", "default": "false" }
|
|
6597
|
-
},
|
|
6598
|
-
{
|
|
6599
|
-
"name": "allowMultipleOpen",
|
|
6600
|
-
"description": "Whether multiple dropdown branches can stay open simultaneously (accordion mode). Default is true.",
|
|
6601
|
-
"value": { "type": "boolean", "default": "true" }
|
|
6602
|
-
},
|
|
6603
|
-
{
|
|
6604
|
-
"name": "tabMode",
|
|
6605
|
-
"description": "Controls how Tab key navigates through top-level items. Default is 'group'. Group mode will have the first item in the tab order, and items mode will have all items in the tab order.",
|
|
6606
|
-
"value": { "type": "'group' | 'items'", "default": "'group'" }
|
|
6607
|
-
}
|
|
6608
|
-
],
|
|
6609
|
-
"slots": [
|
|
6610
|
-
{ "name": "", "description": "The navigation menu list and items." }
|
|
6611
|
-
],
|
|
6612
|
-
"events": [
|
|
6613
|
-
{
|
|
6614
|
-
"name": "dds-navigation-item-click",
|
|
6615
|
-
"type": "{ href: string, event: Event }",
|
|
6616
|
-
"description": "Fired when a navigation item is clicked."
|
|
6617
|
-
}
|
|
6618
|
-
],
|
|
6619
|
-
"js": {
|
|
6620
|
-
"properties": [
|
|
6498
|
+
"name": "loading",
|
|
6499
|
+
"description": "The loading state of the input. Default is false.",
|
|
6500
|
+
"type": "boolean"
|
|
6501
|
+
},
|
|
6621
6502
|
{
|
|
6622
|
-
"name": "
|
|
6623
|
-
"description": "The
|
|
6624
|
-
"type": "
|
|
6503
|
+
"name": "optional",
|
|
6504
|
+
"description": "The optional state of the input.",
|
|
6505
|
+
"type": "boolean"
|
|
6625
6506
|
},
|
|
6626
6507
|
{
|
|
6627
|
-
"name": "
|
|
6628
|
-
"description": "The
|
|
6629
|
-
"type": "
|
|
6508
|
+
"name": "optionalLabel",
|
|
6509
|
+
"description": "The optional label of the input.",
|
|
6510
|
+
"type": "string"
|
|
6630
6511
|
},
|
|
6631
6512
|
{
|
|
6632
|
-
"name": "
|
|
6633
|
-
"description": "
|
|
6634
|
-
"type": "
|
|
6513
|
+
"name": "requiredLabel",
|
|
6514
|
+
"description": "The required indicator of the input. (default: '*')",
|
|
6515
|
+
"type": "string"
|
|
6635
6516
|
},
|
|
6636
6517
|
{
|
|
6637
|
-
"name": "
|
|
6638
|
-
"description": "
|
|
6518
|
+
"name": "subtle",
|
|
6519
|
+
"description": "The weight of the label. Default is `false`",
|
|
6639
6520
|
"type": "boolean"
|
|
6640
6521
|
},
|
|
6641
6522
|
{
|
|
6642
|
-
"name": "
|
|
6643
|
-
"description": "
|
|
6644
|
-
"type": "
|
|
6523
|
+
"name": "disableEnter",
|
|
6524
|
+
"description": "Disables the enter key from being used to submit the form.",
|
|
6525
|
+
"type": "boolean"
|
|
6645
6526
|
}
|
|
6646
6527
|
],
|
|
6647
6528
|
"events": [
|
|
6648
6529
|
{
|
|
6649
|
-
"name": "dds-
|
|
6650
|
-
"type": "{
|
|
6651
|
-
"description": "Fired when
|
|
6530
|
+
"name": "dds-change",
|
|
6531
|
+
"type": "{ value: string }",
|
|
6532
|
+
"description": "Fired when the input value changes."
|
|
6533
|
+
},
|
|
6534
|
+
{
|
|
6535
|
+
"name": "dds-input",
|
|
6536
|
+
"type": "{ value: string }",
|
|
6537
|
+
"description": "Fired when the input value changes."
|
|
6538
|
+
},
|
|
6539
|
+
{
|
|
6540
|
+
"name": "dds-keydown",
|
|
6541
|
+
"type": "{ value: string, originalEvent: Event }",
|
|
6542
|
+
"description": "Fired when a key is pressed down."
|
|
6543
|
+
},
|
|
6544
|
+
{
|
|
6545
|
+
"name": "dds-blur",
|
|
6546
|
+
"type": "{ void }",
|
|
6547
|
+
"description": "Fired when the input loses focus."
|
|
6548
|
+
},
|
|
6549
|
+
{
|
|
6550
|
+
"name": "dds-focus",
|
|
6551
|
+
"type": "{ void }",
|
|
6552
|
+
"description": "Emitted when the input gains focus."
|
|
6652
6553
|
}
|
|
6653
6554
|
]
|
|
6654
6555
|
}
|
|
@@ -6769,296 +6670,405 @@
|
|
|
6769
6670
|
}
|
|
6770
6671
|
},
|
|
6771
6672
|
{
|
|
6772
|
-
"name": "dap-ds-
|
|
6773
|
-
"description": "A
|
|
6673
|
+
"name": "dap-ds-navigation-menu-item",
|
|
6674
|
+
"description": "A navigation menu item that can contain either a simple link or dropdown content.\nSupports nested items with cascading flyout behavior. Part of the navigation menu system.\nThis is for NAVIGATION (website menus), not application menus.\n---\n\n\n### **Events:**\n - **dds-navigation-item-click** - Fired when a navigation item is clicked.\n- **dds-navigation-dropdown-open** - Fired when a navigation dropdown is opened.\n\n### **Methods:**\n - **activateTrigger()** - Activate the trigger the way a mouse click would. Custom element triggers\n-- including the default `dap-ds-button` -- keep the real interactive\nelement inside their shadow root, so clicking the host alone does nothing.\n- **updatePosition()** - Update popup position using Floating UI.\n- **setRovingTabIndex(active: _boolean_)** - Sets this item as the active (or inactive) roving tabindex target.\nOnly the active item's trigger is in the sequential tab order (tabindex=\"0\").\nAll others are removed (tabindex=\"-1\") so Tab exits the whole nav in one step.\n- **focusFirstDropdownChild()** - Focus the first focusable element in the dropdown (supports both nested nav items and mega menu content).\n- **focusLastDropdownChild()** - Focus the last focusable element in the dropdown (supports both nested nav items and mega menu content).\n- **_handleTriggerSlotChangeCallback()** - Update trigger element attributes and properties.\n\n### **Slots:**\n - **trigger** - The trigger element (link, button, etc.) for this navigation item.\n- **title** - The title of the navigation item.\n- **indicator** - The expand indicator icon (defaults to arrow icon based on orientation and level).\n- **link** - A router link element (e.g. Next.js Link) used for SPA navigation. Rendered outside the popup so it is always accessible to programmatic clicks.\n- _default_ - The dropdown content (can contain nested dap-ds-navigation-menu-item elements).\n\n### **CSS Properties:**\n - **--dds-navigation-menu-item-spacing** - The padding/spacing of the navigation menu item content. (default: var(--dds-spacing-200)). _(default: undefined)_\n- **--dds-navigation-menu-item-border-width** - The border width of the navigation menu item content. (default: var(--dds-border-width-base)). _(default: undefined)_\n- **--dds-navigation-menu-item-border-color** - The border color of the navigation menu item content. (default: var(--dds-border-neutral-subtle)). _(default: undefined)_\n- **--dds-navigation-menu-item-border-radius** - The border radius of the navigation menu item content. (default: var(--dds-radius-base)). _(default: undefined)_\n- **--dds-navigation-menu-item-background** - The background color of the navigation menu item content. (default: var(--dds-background-neutral-base)). _(default: undefined)_\n- **--dds-navigation-menu-item-shadow** - The box shadow of the navigation menu item content. (default: var(--dds-shadow-base)). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The base part of the navigation item.\n- **trigger** - The trigger element part.\n- **trigger-base** - The base part of the trigger button (from dap-ds-button).\n- **trigger-content** - The content part of the trigger button (from dap-ds-button).\n- **trigger-high-contrast** - The high contrast part of the trigger button (from dap-ds-button).\n- **trigger-stack-base** - The base part of the trigger stack (from dap-ds-stack).\n- **title** - The title slot wrapper.\n- **indicator** - The expand indicator container.\n- **indicator-icon** - The expand indicator icon part.\n- **indicator-icon-base** - The base part of the indicator icon (from dap-ds-icon).\n- **indicator-icon-icon** - The icon part of the indicator icon (from dap-ds-icon).\n- **popup** - The dropdown popup container.\n- **content** - The dropdown content wrapper (default slot).\n- **arrow** - The dropdown arrow part.",
|
|
6774
6675
|
"doc-url": "",
|
|
6775
6676
|
"attributes": [
|
|
6776
6677
|
{
|
|
6777
|
-
"name": "
|
|
6778
|
-
"description": "The
|
|
6779
|
-
"value": { "type": "
|
|
6678
|
+
"name": "disabled",
|
|
6679
|
+
"description": "The disabled state of the popup. Default is false.",
|
|
6680
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6780
6681
|
},
|
|
6781
6682
|
{
|
|
6782
|
-
"name": "
|
|
6783
|
-
"description": "The
|
|
6784
|
-
"value": { "type": "
|
|
6683
|
+
"name": "opened",
|
|
6684
|
+
"description": "The open state of the popup. Default is false.",
|
|
6685
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6785
6686
|
},
|
|
6786
6687
|
{
|
|
6787
|
-
"name": "
|
|
6788
|
-
"description": "The
|
|
6789
|
-
"value": {
|
|
6688
|
+
"name": "placement",
|
|
6689
|
+
"description": "The placement of the popup (automatically adjusted based on nesting level). Default is 'bottom-start'.",
|
|
6690
|
+
"value": {
|
|
6691
|
+
"type": "'top' | 'right' | 'bottom' | 'left' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end'",
|
|
6692
|
+
"default": "'bottom-start'"
|
|
6693
|
+
}
|
|
6790
6694
|
},
|
|
6791
6695
|
{
|
|
6792
|
-
"name": "
|
|
6793
|
-
"description": "The
|
|
6794
|
-
"value": { "type": "
|
|
6696
|
+
"name": "floatingStrategy",
|
|
6697
|
+
"description": "The floating strategy of the popup. Default is 'fixed'.",
|
|
6698
|
+
"value": { "type": "'absolute' | 'fixed'", "default": "'fixed'" }
|
|
6795
6699
|
},
|
|
6796
6700
|
{
|
|
6797
|
-
"name": "
|
|
6798
|
-
"description": "The
|
|
6799
|
-
"value": { "type": "
|
|
6701
|
+
"name": "offset",
|
|
6702
|
+
"description": "The offset of the popup. Default is 0.",
|
|
6703
|
+
"value": { "type": "number", "default": "0" }
|
|
6800
6704
|
},
|
|
6801
6705
|
{
|
|
6802
|
-
"name": "
|
|
6803
|
-
"description": "
|
|
6706
|
+
"name": "sync",
|
|
6707
|
+
"description": "Whether the popup should sync its width with the trigger. Default is false.",
|
|
6804
6708
|
"value": { "type": "boolean", "default": "false" }
|
|
6805
6709
|
},
|
|
6806
6710
|
{
|
|
6807
|
-
"name": "
|
|
6808
|
-
"description": "The
|
|
6809
|
-
"value": { "type": "number" }
|
|
6711
|
+
"name": "maxHeight",
|
|
6712
|
+
"description": "The maximum height of the popup. Default is 250.",
|
|
6713
|
+
"value": { "type": "number | 'auto'", "default": "250" }
|
|
6714
|
+
},
|
|
6715
|
+
{
|
|
6716
|
+
"name": "maxWidth",
|
|
6717
|
+
"description": "The maximum width of the popup. Default is 'auto'.",
|
|
6718
|
+
"value": { "type": "number | 'auto'", "default": "'auto'" }
|
|
6719
|
+
},
|
|
6720
|
+
{
|
|
6721
|
+
"name": "hasArrow",
|
|
6722
|
+
"description": "Whether the popup has an arrow. Default is false.",
|
|
6723
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6724
|
+
},
|
|
6725
|
+
{
|
|
6726
|
+
"name": "overflow",
|
|
6727
|
+
"description": "Whether the popup should overflow. Default is true.",
|
|
6728
|
+
"value": { "type": "boolean", "default": "true" }
|
|
6729
|
+
},
|
|
6730
|
+
{
|
|
6731
|
+
"name": "fullWidth",
|
|
6732
|
+
"description": "Whether the popup should take full width of the screen. Default is false.",
|
|
6733
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6734
|
+
},
|
|
6735
|
+
{
|
|
6736
|
+
"name": "icon",
|
|
6737
|
+
"description": "The name of the icon to display in the trigger.",
|
|
6738
|
+
"value": { "type": "string" }
|
|
6739
|
+
},
|
|
6740
|
+
{
|
|
6741
|
+
"name": "aria-labelledby",
|
|
6742
|
+
"description": "The name of the element that labels the navigation dropdown.",
|
|
6743
|
+
"value": { "type": "string" }
|
|
6744
|
+
},
|
|
6745
|
+
{
|
|
6746
|
+
"name": "activeHref",
|
|
6747
|
+
"description": "The href of the navigation item that is active (receives aria-current=\"page\").",
|
|
6748
|
+
"value": { "type": "string" }
|
|
6749
|
+
},
|
|
6750
|
+
{
|
|
6751
|
+
"name": "baseHref",
|
|
6752
|
+
"description": "The href of the navigation item. If provided, the navigation item will be active if the href is a substring of the activeHref.",
|
|
6753
|
+
"value": { "type": "string" }
|
|
6754
|
+
},
|
|
6755
|
+
{
|
|
6756
|
+
"name": "exactHref",
|
|
6757
|
+
"description": "Whether the navigation item should be active if the href is exactly the same as the activeHref. Default is false.",
|
|
6758
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6759
|
+
},
|
|
6760
|
+
{
|
|
6761
|
+
"name": "href",
|
|
6762
|
+
"description": "The href URL for the navigation item link. When provided, the default trigger renders as a link.",
|
|
6763
|
+
"value": { "type": "string" }
|
|
6764
|
+
},
|
|
6765
|
+
{
|
|
6766
|
+
"name": "target",
|
|
6767
|
+
"description": "The target attribute for link navigation.",
|
|
6768
|
+
"value": { "type": "'_blank' | '_self' | '_parent' | '_top'" }
|
|
6769
|
+
},
|
|
6770
|
+
{
|
|
6771
|
+
"name": "rel",
|
|
6772
|
+
"description": "The rel attribute for link security and behavior.",
|
|
6773
|
+
"value": { "type": "string" }
|
|
6774
|
+
},
|
|
6775
|
+
{
|
|
6776
|
+
"name": "label",
|
|
6777
|
+
"description": "The label text for the navigation item. This will be displayed in the title slot if no custom title slot content is provided.",
|
|
6778
|
+
"value": { "type": "string" }
|
|
6779
|
+
},
|
|
6780
|
+
{
|
|
6781
|
+
"name": "level",
|
|
6782
|
+
"description": "The nesting level of this navigation item (0 = top-level, automatically set for nested items). Default is 0.",
|
|
6783
|
+
"value": { "type": "number", "default": "0" }
|
|
6810
6784
|
},
|
|
6811
6785
|
{
|
|
6812
|
-
"name": "
|
|
6813
|
-
"description": "
|
|
6786
|
+
"name": "orientation",
|
|
6787
|
+
"description": "The orientation of the parent navigation menu (automatically inherited). Default is 'horizontal'.",
|
|
6814
6788
|
"value": {
|
|
6815
|
-
"type": "
|
|
6816
|
-
"default": "'
|
|
6789
|
+
"type": "'horizontal' | 'vertical'",
|
|
6790
|
+
"default": "'horizontal'"
|
|
6817
6791
|
}
|
|
6818
6792
|
},
|
|
6819
6793
|
{
|
|
6820
|
-
"name": "
|
|
6821
|
-
"description": "
|
|
6794
|
+
"name": "tabMode",
|
|
6795
|
+
"description": "Controls how Tab key navigates through top-level items. Default is 'group'.",
|
|
6796
|
+
"value": { "type": "'group' | 'items'", "default": "'group'" }
|
|
6797
|
+
},
|
|
6798
|
+
{
|
|
6799
|
+
"name": "triggerButtonTestId",
|
|
6800
|
+
"description": "`data-testid` for the default menu trigger button.",
|
|
6822
6801
|
"value": {
|
|
6823
6802
|
"type": "string",
|
|
6824
|
-
"default": "'
|
|
6803
|
+
"default": "'navigation-menu-item-trigger-button'"
|
|
6825
6804
|
}
|
|
6826
6805
|
}
|
|
6827
6806
|
],
|
|
6828
6807
|
"slots": [
|
|
6829
6808
|
{
|
|
6830
|
-
"name": "
|
|
6831
|
-
"description": "The
|
|
6832
|
-
}
|
|
6833
|
-
],
|
|
6834
|
-
"events": [
|
|
6809
|
+
"name": "trigger",
|
|
6810
|
+
"description": "The trigger element (link, button, etc.) for this navigation item."
|
|
6811
|
+
},
|
|
6835
6812
|
{
|
|
6836
|
-
"name": "
|
|
6837
|
-
"
|
|
6838
|
-
"description": "Fired when the input value changes."
|
|
6813
|
+
"name": "title",
|
|
6814
|
+
"description": "The title of the navigation item."
|
|
6839
6815
|
},
|
|
6840
6816
|
{
|
|
6841
|
-
"name": "
|
|
6842
|
-
"
|
|
6843
|
-
"description": "Fired when the input value changes."
|
|
6817
|
+
"name": "indicator",
|
|
6818
|
+
"description": "The expand indicator icon (defaults to arrow icon based on orientation and level)."
|
|
6844
6819
|
},
|
|
6845
6820
|
{
|
|
6846
|
-
"name": "
|
|
6847
|
-
"
|
|
6848
|
-
"description": "Fired when a key is pressed down."
|
|
6821
|
+
"name": "link",
|
|
6822
|
+
"description": "A router link element (e.g. Next.js Link) used for SPA navigation. Rendered outside the popup so it is always accessible to programmatic clicks."
|
|
6849
6823
|
},
|
|
6850
6824
|
{
|
|
6851
|
-
"name": "
|
|
6852
|
-
"
|
|
6853
|
-
|
|
6825
|
+
"name": "",
|
|
6826
|
+
"description": "The dropdown content (can contain nested dap-ds-navigation-menu-item elements)."
|
|
6827
|
+
}
|
|
6828
|
+
],
|
|
6829
|
+
"events": [
|
|
6830
|
+
{
|
|
6831
|
+
"name": "dds-navigation-item-click",
|
|
6832
|
+
"type": "{ href: string, event: Event }",
|
|
6833
|
+
"description": "Fired when a navigation item is clicked."
|
|
6854
6834
|
},
|
|
6855
6835
|
{
|
|
6856
|
-
"name": "dds-
|
|
6857
|
-
"type": "{
|
|
6858
|
-
"description": "
|
|
6836
|
+
"name": "dds-navigation-dropdown-open",
|
|
6837
|
+
"type": "{ item: DapDSNavigationMenuItem }",
|
|
6838
|
+
"description": "Fired when a navigation dropdown is opened."
|
|
6859
6839
|
}
|
|
6860
6840
|
],
|
|
6861
6841
|
"js": {
|
|
6862
6842
|
"properties": [
|
|
6843
|
+
{ "name": "submenuController", "type": "SubmenuController" },
|
|
6863
6844
|
{
|
|
6864
|
-
"name": "
|
|
6865
|
-
"description": "The
|
|
6866
|
-
"type": "
|
|
6845
|
+
"name": "disabled",
|
|
6846
|
+
"description": "The disabled state of the popup. Default is false.",
|
|
6847
|
+
"type": "boolean"
|
|
6867
6848
|
},
|
|
6868
6849
|
{
|
|
6869
|
-
"name": "
|
|
6870
|
-
"description": "The
|
|
6871
|
-
"type": "
|
|
6850
|
+
"name": "opened",
|
|
6851
|
+
"description": "The open state of the popup. Default is false.",
|
|
6852
|
+
"type": "boolean"
|
|
6872
6853
|
},
|
|
6873
6854
|
{
|
|
6874
|
-
"name": "
|
|
6875
|
-
"description": "The
|
|
6876
|
-
"type": "
|
|
6855
|
+
"name": "placement",
|
|
6856
|
+
"description": "The placement of the popup (automatically adjusted based on nesting level). Default is 'bottom-start'.",
|
|
6857
|
+
"type": "'top' | 'right' | 'bottom' | 'left' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end'"
|
|
6877
6858
|
},
|
|
6878
6859
|
{
|
|
6879
|
-
"name": "
|
|
6880
|
-
"description": "The
|
|
6881
|
-
"type": "
|
|
6860
|
+
"name": "floatingStrategy",
|
|
6861
|
+
"description": "The floating strategy of the popup. Default is 'fixed'.",
|
|
6862
|
+
"type": "'absolute' | 'fixed'"
|
|
6882
6863
|
},
|
|
6883
6864
|
{
|
|
6884
|
-
"name": "
|
|
6885
|
-
"description": "The
|
|
6886
|
-
"type": "
|
|
6865
|
+
"name": "offset",
|
|
6866
|
+
"description": "The offset of the popup. Default is 0.",
|
|
6867
|
+
"type": "number"
|
|
6887
6868
|
},
|
|
6888
6869
|
{
|
|
6889
|
-
"name": "
|
|
6890
|
-
"description": "
|
|
6870
|
+
"name": "sync",
|
|
6871
|
+
"description": "Whether the popup should sync its width with the trigger. Default is false.",
|
|
6891
6872
|
"type": "boolean"
|
|
6892
6873
|
},
|
|
6893
6874
|
{
|
|
6894
|
-
"name": "
|
|
6895
|
-
"description": "The
|
|
6896
|
-
"type": "number"
|
|
6875
|
+
"name": "maxHeight",
|
|
6876
|
+
"description": "The maximum height of the popup. Default is 250.",
|
|
6877
|
+
"type": "number | 'auto'"
|
|
6897
6878
|
},
|
|
6898
6879
|
{
|
|
6899
|
-
"name": "
|
|
6900
|
-
"description": "
|
|
6901
|
-
"type": "
|
|
6880
|
+
"name": "maxWidth",
|
|
6881
|
+
"description": "The maximum width of the popup. Default is 'auto'.",
|
|
6882
|
+
"type": "number | 'auto'"
|
|
6902
6883
|
},
|
|
6903
6884
|
{
|
|
6904
|
-
"name": "
|
|
6905
|
-
"description": "
|
|
6906
|
-
"type": "
|
|
6885
|
+
"name": "hasArrow",
|
|
6886
|
+
"description": "Whether the popup has an arrow. Default is false.",
|
|
6887
|
+
"type": "boolean"
|
|
6907
6888
|
},
|
|
6908
|
-
{ "name": "_thousandSeparator" },
|
|
6909
|
-
{ "name": "manualValueSet", "type": "boolean" },
|
|
6910
|
-
{ "name": "type", "type": "string" },
|
|
6911
6889
|
{
|
|
6912
|
-
"name": "
|
|
6913
|
-
"description": "
|
|
6914
|
-
"type": "
|
|
6890
|
+
"name": "overflow",
|
|
6891
|
+
"description": "Whether the popup should overflow. Default is true.",
|
|
6892
|
+
"type": "boolean"
|
|
6915
6893
|
},
|
|
6916
6894
|
{
|
|
6917
|
-
"name": "
|
|
6918
|
-
"description": "
|
|
6895
|
+
"name": "fullWidth",
|
|
6896
|
+
"description": "Whether the popup should take full width of the screen. Default is false.",
|
|
6919
6897
|
"type": "boolean"
|
|
6920
6898
|
},
|
|
6921
6899
|
{
|
|
6922
|
-
"name": "
|
|
6923
|
-
"description": "The
|
|
6900
|
+
"name": "icon",
|
|
6901
|
+
"description": "The name of the icon to display in the trigger.",
|
|
6924
6902
|
"type": "string"
|
|
6925
6903
|
},
|
|
6926
6904
|
{
|
|
6927
|
-
"name": "
|
|
6928
|
-
"description": "The
|
|
6905
|
+
"name": "ariaLabelledBy",
|
|
6906
|
+
"description": "The name of the element that labels the navigation dropdown.",
|
|
6929
6907
|
"type": "string"
|
|
6930
6908
|
},
|
|
6931
6909
|
{
|
|
6932
|
-
"name": "
|
|
6933
|
-
"description": "The
|
|
6910
|
+
"name": "activeHref",
|
|
6911
|
+
"description": "The href of the navigation item that is active (receives aria-current=\"page\").",
|
|
6934
6912
|
"type": "string"
|
|
6935
6913
|
},
|
|
6936
6914
|
{
|
|
6937
|
-
"name": "
|
|
6938
|
-
"description": "The
|
|
6939
|
-
"type": "
|
|
6915
|
+
"name": "baseHref",
|
|
6916
|
+
"description": "The href of the navigation item. If provided, the navigation item will be active if the href is a substring of the activeHref.",
|
|
6917
|
+
"type": "string"
|
|
6940
6918
|
},
|
|
6941
6919
|
{
|
|
6942
|
-
"name": "
|
|
6943
|
-
"description": "
|
|
6944
|
-
"type": "
|
|
6920
|
+
"name": "exactHref",
|
|
6921
|
+
"description": "Whether the navigation item should be active if the href is exactly the same as the activeHref. Default is false.",
|
|
6922
|
+
"type": "boolean"
|
|
6945
6923
|
},
|
|
6946
6924
|
{
|
|
6947
|
-
"name": "
|
|
6948
|
-
"description": "The
|
|
6949
|
-
"type": "
|
|
6925
|
+
"name": "href",
|
|
6926
|
+
"description": "The href URL for the navigation item link. When provided, the default trigger renders as a link.",
|
|
6927
|
+
"type": "string"
|
|
6950
6928
|
},
|
|
6951
6929
|
{
|
|
6952
|
-
"name": "
|
|
6953
|
-
"description": "The
|
|
6930
|
+
"name": "target",
|
|
6931
|
+
"description": "The target attribute for link navigation.",
|
|
6932
|
+
"type": "'_blank' | '_self' | '_parent' | '_top'"
|
|
6933
|
+
},
|
|
6934
|
+
{
|
|
6935
|
+
"name": "rel",
|
|
6936
|
+
"description": "The rel attribute for link security and behavior.",
|
|
6954
6937
|
"type": "string"
|
|
6955
6938
|
},
|
|
6956
6939
|
{
|
|
6957
|
-
"name": "
|
|
6958
|
-
"description": "The
|
|
6940
|
+
"name": "label",
|
|
6941
|
+
"description": "The label text for the navigation item. This will be displayed in the title slot if no custom title slot content is provided.",
|
|
6959
6942
|
"type": "string"
|
|
6960
6943
|
},
|
|
6961
6944
|
{
|
|
6962
|
-
"name": "
|
|
6963
|
-
"description": "The
|
|
6964
|
-
"type": "
|
|
6945
|
+
"name": "level",
|
|
6946
|
+
"description": "The nesting level of this navigation item (0 = top-level, automatically set for nested items). Default is 0.",
|
|
6947
|
+
"type": "number"
|
|
6965
6948
|
},
|
|
6966
6949
|
{
|
|
6967
|
-
"name": "
|
|
6968
|
-
"description": "The
|
|
6969
|
-
"type": "
|
|
6950
|
+
"name": "orientation",
|
|
6951
|
+
"description": "The orientation of the parent navigation menu (automatically inherited). Default is 'horizontal'.",
|
|
6952
|
+
"type": "'horizontal' | 'vertical'"
|
|
6970
6953
|
},
|
|
6971
6954
|
{
|
|
6972
|
-
"name": "
|
|
6973
|
-
"description": "
|
|
6974
|
-
"type": "
|
|
6955
|
+
"name": "tabMode",
|
|
6956
|
+
"description": "Controls how Tab key navigates through top-level items. Default is 'group'.",
|
|
6957
|
+
"type": "'group' | 'items'"
|
|
6975
6958
|
},
|
|
6976
6959
|
{
|
|
6977
|
-
"name": "
|
|
6978
|
-
"description": "
|
|
6979
|
-
"type": "
|
|
6960
|
+
"name": "triggerButtonTestId",
|
|
6961
|
+
"description": "`data-testid` for the default menu trigger button.",
|
|
6962
|
+
"type": "string"
|
|
6980
6963
|
},
|
|
6964
|
+
{ "name": "hasContent", "type": "boolean" },
|
|
6981
6965
|
{
|
|
6982
|
-
"name": "
|
|
6983
|
-
"description": "
|
|
6984
|
-
"type": "
|
|
6966
|
+
"name": "hasNestedItems",
|
|
6967
|
+
"description": "Computed property to detect if this item contains nested navigation menu items.\n\nBacked by state (populated in `_updateNestedItems`) rather than a live\n`querySelectorAll` so it is SSR-safe: the `@lit-labs/ssr` element shim has no\n`querySelectorAll`, and reading it from `render()` would both throw on the\nserver and structurally diverge from the client hydration render (the expand\nindicator span). Starts `false` (matching `hasContent`) so server and client\nhydration renders agree; the real value is resolved in `firstUpdated`.",
|
|
6968
|
+
"type": "boolean"
|
|
6985
6969
|
},
|
|
6986
6970
|
{
|
|
6987
|
-
"name": "
|
|
6988
|
-
"description": "The
|
|
6989
|
-
"type": "
|
|
6971
|
+
"name": "activationTrigger",
|
|
6972
|
+
"description": "The element keyboard activation should act on: the element slotted into\n`trigger` when one is provided, otherwise the default trigger button\nrendered in the shadow root.",
|
|
6973
|
+
"type": "HTMLElement | null"
|
|
6990
6974
|
},
|
|
6991
6975
|
{
|
|
6992
|
-
"name": "
|
|
6993
|
-
"description": "The
|
|
6994
|
-
"type": "
|
|
6976
|
+
"name": "size",
|
|
6977
|
+
"description": "The size of the popup. Default is 'sm'.",
|
|
6978
|
+
"type": "'xs' | 'sm' | 'lg'"
|
|
6979
|
+
}
|
|
6980
|
+
],
|
|
6981
|
+
"events": [
|
|
6982
|
+
{
|
|
6983
|
+
"name": "dds-navigation-item-click",
|
|
6984
|
+
"type": "{ href: string, event: Event }",
|
|
6985
|
+
"description": "Fired when a navigation item is clicked."
|
|
6995
6986
|
},
|
|
6996
6987
|
{
|
|
6997
|
-
"name": "
|
|
6998
|
-
"
|
|
6988
|
+
"name": "dds-navigation-dropdown-open",
|
|
6989
|
+
"type": "{ item: DapDSNavigationMenuItem }",
|
|
6990
|
+
"description": "Fired when a navigation dropdown is opened."
|
|
6991
|
+
}
|
|
6992
|
+
]
|
|
6993
|
+
}
|
|
6994
|
+
},
|
|
6995
|
+
{
|
|
6996
|
+
"name": "dap-ds-navigation-menu",
|
|
6997
|
+
"description": "A navigation menu for website/application navigation. Supports nested dropdowns with unlimited depth.\nThis is a NAVIGATION component, not an application menu (like dropdowns or context menus).\nUses semantic HTML (`<nav>`) and proper navigation ARIA attributes.\n---\n\n\n### **Events:**\n - **dds-navigation-item-click** - Fired when a navigation item is clicked.\n\n### **Methods:**\n - **getAllItems()** - Gets all slotted menu items, ignoring disabled elements\n- **getCurrentItem()** - Gets the current menu item (the one marked with `data-nav-current`).\nThe menu item may or may not have focus, but for keyboard interaction purposes it's considered the \"active\" item.\n- **setCurrentItem(item: _DapDSNavigationMenuItem_)** - Sets the current menu item. In 'group' mode (default), applies roving tabindex so only the\nactive item's trigger is in the sequential tab order (tabindex=\"0\"). In 'items' mode, all\ntop-level items remain in the tab order — only the data-nav-current marker is updated.\n\n### **Slots:**\n - _default_ - The navigation menu list and items.\n\n### **CSS Properties:**\n - **--dds-navigation-menu-item-gap** - The gap between navigation menu items. (default: var(--dds-spacing-100)). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main navigation menu container (nav element).",
|
|
6998
|
+
"doc-url": "",
|
|
6999
|
+
"attributes": [
|
|
7000
|
+
{
|
|
7001
|
+
"name": "activeHref",
|
|
7002
|
+
"description": "The currently active href for highlighting active navigation items with aria-current=\"page\". Defaults to window.location.pathname if not provided.",
|
|
7003
|
+
"value": { "type": "string" }
|
|
7004
|
+
},
|
|
7005
|
+
{
|
|
7006
|
+
"name": "orientation",
|
|
7007
|
+
"description": "The orientation of the navigation menu. Default is 'horizontal'.",
|
|
7008
|
+
"value": {
|
|
7009
|
+
"type": "'horizontal' | 'vertical'",
|
|
7010
|
+
"default": "'horizontal'"
|
|
7011
|
+
}
|
|
7012
|
+
},
|
|
7013
|
+
{
|
|
7014
|
+
"name": "fullWidth",
|
|
7015
|
+
"description": "Whether the navigation menu should take full width of the screen. Default is false.",
|
|
7016
|
+
"value": { "type": "boolean", "default": "false" }
|
|
7017
|
+
},
|
|
7018
|
+
{
|
|
7019
|
+
"name": "allowMultipleOpen",
|
|
7020
|
+
"description": "Whether multiple dropdown branches can stay open simultaneously (accordion mode). Default is true.",
|
|
7021
|
+
"value": { "type": "boolean", "default": "true" }
|
|
7022
|
+
},
|
|
7023
|
+
{
|
|
7024
|
+
"name": "tabMode",
|
|
7025
|
+
"description": "Controls how Tab key navigates through top-level items. Default is 'group'. Group mode will have the first item in the tab order, and items mode will have all items in the tab order.",
|
|
7026
|
+
"value": { "type": "'group' | 'items'", "default": "'group'" }
|
|
7027
|
+
}
|
|
7028
|
+
],
|
|
7029
|
+
"slots": [
|
|
7030
|
+
{ "name": "", "description": "The navigation menu list and items." }
|
|
7031
|
+
],
|
|
7032
|
+
"events": [
|
|
7033
|
+
{
|
|
7034
|
+
"name": "dds-navigation-item-click",
|
|
7035
|
+
"type": "{ href: string, event: Event }",
|
|
7036
|
+
"description": "Fired when a navigation item is clicked."
|
|
7037
|
+
}
|
|
7038
|
+
],
|
|
7039
|
+
"js": {
|
|
7040
|
+
"properties": [
|
|
7041
|
+
{
|
|
7042
|
+
"name": "activeHref",
|
|
7043
|
+
"description": "The currently active href for highlighting active navigation items with aria-current=\"page\". Defaults to window.location.pathname if not provided.",
|
|
6999
7044
|
"type": "string"
|
|
7000
7045
|
},
|
|
7001
7046
|
{
|
|
7002
|
-
"name": "
|
|
7003
|
-
"description": "The
|
|
7004
|
-
"type": "'
|
|
7005
|
-
},
|
|
7006
|
-
{
|
|
7007
|
-
"name": "loading",
|
|
7008
|
-
"description": "The loading state of the input. Default is false.",
|
|
7009
|
-
"type": "boolean"
|
|
7047
|
+
"name": "orientation",
|
|
7048
|
+
"description": "The orientation of the navigation menu. Default is 'horizontal'.",
|
|
7049
|
+
"type": "'horizontal' | 'vertical'"
|
|
7010
7050
|
},
|
|
7011
7051
|
{
|
|
7012
|
-
"name": "
|
|
7013
|
-
"description": "
|
|
7052
|
+
"name": "fullWidth",
|
|
7053
|
+
"description": "Whether the navigation menu should take full width of the screen. Default is false.",
|
|
7014
7054
|
"type": "boolean"
|
|
7015
7055
|
},
|
|
7016
7056
|
{
|
|
7017
|
-
"name": "
|
|
7018
|
-
"description": "
|
|
7019
|
-
"type": "string"
|
|
7020
|
-
},
|
|
7021
|
-
{
|
|
7022
|
-
"name": "requiredLabel",
|
|
7023
|
-
"description": "The required indicator of the input. (default: '*')",
|
|
7024
|
-
"type": "string"
|
|
7025
|
-
},
|
|
7026
|
-
{
|
|
7027
|
-
"name": "subtle",
|
|
7028
|
-
"description": "The weight of the label. Default is `false`",
|
|
7057
|
+
"name": "allowMultipleOpen",
|
|
7058
|
+
"description": "Whether multiple dropdown branches can stay open simultaneously (accordion mode). Default is true.",
|
|
7029
7059
|
"type": "boolean"
|
|
7030
7060
|
},
|
|
7031
7061
|
{
|
|
7032
|
-
"name": "
|
|
7033
|
-
"description": "
|
|
7034
|
-
"type": "
|
|
7062
|
+
"name": "tabMode",
|
|
7063
|
+
"description": "Controls how Tab key navigates through top-level items. Default is 'group'. Group mode will have the first item in the tab order, and items mode will have all items in the tab order.",
|
|
7064
|
+
"type": "'group' | 'items'"
|
|
7035
7065
|
}
|
|
7036
7066
|
],
|
|
7037
7067
|
"events": [
|
|
7038
7068
|
{
|
|
7039
|
-
"name": "dds-
|
|
7040
|
-
"type": "{
|
|
7041
|
-
"description": "Fired when
|
|
7042
|
-
},
|
|
7043
|
-
{
|
|
7044
|
-
"name": "dds-input",
|
|
7045
|
-
"type": "{ value: string }",
|
|
7046
|
-
"description": "Fired when the input value changes."
|
|
7047
|
-
},
|
|
7048
|
-
{
|
|
7049
|
-
"name": "dds-keydown",
|
|
7050
|
-
"type": "{ value: string, originalEvent: Event }",
|
|
7051
|
-
"description": "Fired when a key is pressed down."
|
|
7052
|
-
},
|
|
7053
|
-
{
|
|
7054
|
-
"name": "dds-blur",
|
|
7055
|
-
"type": "{ void }",
|
|
7056
|
-
"description": "Fired when the input loses focus."
|
|
7057
|
-
},
|
|
7058
|
-
{
|
|
7059
|
-
"name": "dds-focus",
|
|
7060
|
-
"type": "{ void }",
|
|
7061
|
-
"description": "Emitted when the input gains focus."
|
|
7069
|
+
"name": "dds-navigation-item-click",
|
|
7070
|
+
"type": "{ href: string, event: Event }",
|
|
7071
|
+
"description": "Fired when a navigation item is clicked."
|
|
7062
7072
|
}
|
|
7063
7073
|
]
|
|
7064
7074
|
}
|
|
@@ -9894,261 +9904,95 @@
|
|
|
9894
9904
|
"type": "{ value: string }",
|
|
9895
9905
|
"description": "Emitted when the input receives input."
|
|
9896
9906
|
}
|
|
9897
|
-
]
|
|
9898
|
-
}
|
|
9899
|
-
},
|
|
9900
|
-
{
|
|
9901
|
-
"name": "dap-ds-tab-group",
|
|
9902
|
-
"description": "A tab group component. It is used with dap-ds-tab component to create a tab group.\n---\n\n\n### **Events:**\n - **dds-tab-select** - Fired when select a new tab.\n\n### **Slots:**\n - _default_ - The tab items.\n\n### **CSS Properties:**\n - **--dds-tab-group-border-radius** - Border radius of the tab group container (default: var(--dds-radius-base)) _(default: undefined)_\n- **--dds-tab-border-radius** - Border radius for tab items (default: var(--dds-radius-base) var(--dds-radius-base) 0 0) _(default: undefined)_\n- **--dds-tab-group-border-width** - Border width of the tab navigation (default: var(--dds-border-width-base)) _(default: undefined)_\n- **--dds-tab-group-border-color** - Border color of the tab navigation (default: var(--dds-border-neutral-subtle)) _(default: undefined)_\n- **--dds-tab-height-sm** - Height of small tabs (default: 40px) _(default: undefined)_\n- **--dds-tab-height-lg** - Height of large tabs (default: 50px) _(default: undefined)_\n- **--dds-tab-font-size-sm** - Font size of small tabs (default: var(--dds-font-base)) _(default: undefined)_\n- **--dds-tab-font-size-lg** - Font size of large tabs (default: var(--dds-font-lg)) _(default: undefined)_\n- **--dds-tab-padding** - Padding of the tab buttons (default: 0 var(--dds-spacing-400)) _(default: undefined)_\n- **--dds-tab-border-width** - Border width for tabs (default: var(--dds-border-width-large)) _(default: undefined)_\n- **--dds-tab-selected-border-color** - Border color for selected tabs (default: var(--dds-border-brand-base)) _(default: undefined)_\n- **--dds-tab-text-color** - Text color for tabs (default: var(--dds-button-subtle-text-neutral-enabled)) _(default: undefined)_\n- **--dds-tab-hover-text-color** - Text color for tabs on hover (default: var(--dds-text-brand-subtle)) _(default: undefined)_\n- **--dds-tab-disabled-text-color** - Text color for disabled tabs (default: var(--dds-text-neutral-disabled)) _(default: undefined)_\n- **--dds-tab-hover-background** - Background color for tabs on hover (default: var(--dds-transparent-black-subtle)) _(default: undefined)_\n- **--dds-tab-active-background** - Background color for active tabs (default: var(--dds-transparent-black-base)) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main container.\n- **tab-list** - The tab list container (role=\"tablist\") holding the tab buttons.\n- **tab-nav** - The individual tab buttons.\n- **high-contrast** - The high contrast indicator inside the tab buttons.\n- **tab-group-content** - The tab content container.",
|
|
9903
|
-
"doc-url": "",
|
|
9904
|
-
"attributes": [
|
|
9905
|
-
{
|
|
9906
|
-
"name": "selectedTabId",
|
|
9907
|
-
"description": "The selected tab id.",
|
|
9908
|
-
"value": { "type": "string" }
|
|
9909
|
-
},
|
|
9910
|
-
{
|
|
9911
|
-
"name": "size",
|
|
9912
|
-
"description": "The size of the tab buttons. Default is `sm`. Can be `sm` or `lg`.",
|
|
9913
|
-
"value": { "type": "'sm' | 'lg'", "default": "'sm'" }
|
|
9914
|
-
},
|
|
9915
|
-
{
|
|
9916
|
-
"name": "mobile",
|
|
9917
|
-
"description": "If true, the tab group will be displayed in mobile mode.",
|
|
9918
|
-
"value": { "type": "boolean", "default": "false" }
|
|
9919
|
-
}
|
|
9920
|
-
],
|
|
9921
|
-
"slots": [{ "name": "", "description": "The tab items." }],
|
|
9922
|
-
"events": [
|
|
9923
|
-
{
|
|
9924
|
-
"name": "dds-tab-select",
|
|
9925
|
-
"description": "Fired when select a new tab."
|
|
9926
|
-
}
|
|
9927
|
-
],
|
|
9928
|
-
"js": {
|
|
9929
|
-
"properties": [
|
|
9930
|
-
{
|
|
9931
|
-
"name": "selectedTabId",
|
|
9932
|
-
"description": "The selected tab id.",
|
|
9933
|
-
"type": "string"
|
|
9934
|
-
},
|
|
9935
|
-
{
|
|
9936
|
-
"name": "size",
|
|
9937
|
-
"description": "The size of the tab buttons. Default is `sm`. Can be `sm` or `lg`.",
|
|
9938
|
-
"type": "'sm' | 'lg'"
|
|
9939
|
-
},
|
|
9940
|
-
{
|
|
9941
|
-
"name": "mobile",
|
|
9942
|
-
"description": "If true, the tab group will be displayed in mobile mode.",
|
|
9943
|
-
"type": "boolean"
|
|
9944
|
-
}
|
|
9945
|
-
],
|
|
9946
|
-
"events": [
|
|
9947
|
-
{
|
|
9948
|
-
"name": "dds-tab-select",
|
|
9949
|
-
"description": "Fired when select a new tab."
|
|
9950
|
-
}
|
|
9951
|
-
]
|
|
9952
|
-
}
|
|
9953
|
-
},
|
|
9954
|
-
{
|
|
9955
|
-
"name": "dap-ds-tab",
|
|
9956
|
-
"description": "A tab item component. It is used in dap-ds-tab-group component slot to create a tab item.\n---\n\n\n### **Slots:**\n - _default_ - The tab title template.\n- **content** - The tab content.\n\n### **CSS Parts:**\n - **base** - The main tab content container.",
|
|
9957
|
-
"doc-url": "",
|
|
9958
|
-
"attributes": [
|
|
9959
|
-
{
|
|
9960
|
-
"name": "tabId",
|
|
9961
|
-
"description": "The tab id. Required",
|
|
9962
|
-
"value": { "type": "string" }
|
|
9963
|
-
},
|
|
9964
|
-
{
|
|
9965
|
-
"name": "disabled",
|
|
9966
|
-
"description": "The disabled state of the tab.",
|
|
9967
|
-
"value": { "type": "boolean", "default": "false" }
|
|
9968
|
-
}
|
|
9969
|
-
],
|
|
9970
|
-
"slots": [
|
|
9971
|
-
{ "name": "", "description": "The tab title template." },
|
|
9972
|
-
{ "name": "content", "description": "The tab content." }
|
|
9973
|
-
],
|
|
9974
|
-
"events": [],
|
|
9975
|
-
"js": {
|
|
9976
|
-
"properties": [
|
|
9977
|
-
{
|
|
9978
|
-
"name": "tabId",
|
|
9979
|
-
"description": "The tab id. Required",
|
|
9980
|
-
"type": "string"
|
|
9981
|
-
},
|
|
9982
|
-
{
|
|
9983
|
-
"name": "disabled",
|
|
9984
|
-
"description": "The disabled state of the tab.",
|
|
9985
|
-
"type": "boolean"
|
|
9986
|
-
}
|
|
9987
|
-
],
|
|
9988
|
-
"events": []
|
|
9989
|
-
}
|
|
9990
|
-
},
|
|
9991
|
-
{
|
|
9992
|
-
"name": "dap-ds-table-cell",
|
|
9993
|
-
"description": "Table cell component.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.\n\n### **CSS Properties:**\n - **--dds-table-cell-padding-block** - Padding for the top and bottom of the cell. (default: var(--dds-spacing-200)) _(default: undefined)_\n- **--dds-table-cell-padding-inline-start** - Padding for the start (left in LTR) of the cell. (default: var(--dds-spacing-500)) _(default: undefined)_\n- **--dds-table-cell-padding-inline-end** - Padding for the end (right in LTR) of the cell. (default: var(--dds-spacing-500)) _(default: undefined)_\n- **--dds-table-cell-border-width** - Width of the cell's bottom border. (default: var(--dds-border-width-base)) _(default: undefined)_\n- **--dds-table-cell-border-color** - Color of the cell's bottom border. (default: var(--dds-border-neutral-subtle)) _(default: undefined)_\n- **--dds-table-cell-text-color** - Text color of the cell. (default: var(--dds-text-neutral-base)) _(default: undefined)_\n- **--dds-table-cell-line-height** - Line height of the cell text. (default: 1.5) _(default: undefined)_\n- **--dds-table-cell-text-align** - Text alignment in the cell. (default: left) _(default: undefined)_",
|
|
9994
|
-
"doc-url": "",
|
|
9995
|
-
"attributes": [
|
|
9996
|
-
{
|
|
9997
|
-
"name": "last",
|
|
9998
|
-
"description": "If the cell is the last one.",
|
|
9999
|
-
"value": { "type": "boolean" }
|
|
10000
|
-
},
|
|
10001
|
-
{
|
|
10002
|
-
"name": "role",
|
|
10003
|
-
"description": "The html role of the cell",
|
|
10004
|
-
"value": { "type": "string", "default": "'cell'" }
|
|
10005
|
-
}
|
|
10006
|
-
],
|
|
10007
|
-
"slots": [{ "name": "", "description": "The default slot." }],
|
|
10008
|
-
"events": [],
|
|
10009
|
-
"js": {
|
|
10010
|
-
"properties": [
|
|
10011
|
-
{
|
|
10012
|
-
"name": "last",
|
|
10013
|
-
"description": "If the cell is the last one.",
|
|
10014
|
-
"type": "boolean"
|
|
10015
|
-
},
|
|
10016
|
-
{
|
|
10017
|
-
"name": "role",
|
|
10018
|
-
"description": "The html role of the cell",
|
|
10019
|
-
"type": "string"
|
|
10020
|
-
}
|
|
10021
|
-
],
|
|
10022
|
-
"events": []
|
|
10023
|
-
}
|
|
10024
|
-
},
|
|
10025
|
-
{
|
|
10026
|
-
"name": "dap-ds-table-header",
|
|
10027
|
-
"description": "Table header cell component.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.\n\n### **CSS Properties:**\n - **--dds-table-header-padding-block** - Padding for the top and bottom of the header cell. (default: var(--dds-spacing-200)) _(default: undefined)_\n- **--dds-table-header-padding-inline-start** - Padding for the start (left in LTR) of the header cell. (default: var(--dds-spacing-500)) _(default: undefined)_\n- **--dds-table-header-padding-inline-end** - Padding for the end (right in LTR) of the header cell. (default: var(--dds-spacing-200)) _(default: undefined)_\n- **--dds-table-header-border-width** - Width of the header cell's bottom border. (default: var(--dds-border-width-base)) _(default: undefined)_\n- **--dds-table-header-border-color** - Color of the header cell's bottom border. (default: var(--dds-border-neutral-subtle)) _(default: undefined)_\n- **--dds-table-header-text-color** - Text color of the header cell. (default: var(--dds-text-neutral-strong)) _(default: undefined)_\n- **--dds-table-header-font-weight** - Font weight of the header cell text. (default: var(--dds-font-weight-bold)) _(default: undefined)_\n- **--dds-table-header-line-height** - Line height of the header cell text. (default: var(--dds-font-line-height-xlarge)) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main header cell container.",
|
|
10028
|
-
"doc-url": "",
|
|
10029
|
-
"attributes": [
|
|
10030
|
-
{
|
|
10031
|
-
"name": "last",
|
|
10032
|
-
"description": "If the header cell is the last one.",
|
|
10033
|
-
"value": { "type": "boolean" }
|
|
10034
|
-
},
|
|
10035
|
-
{
|
|
10036
|
-
"name": "role",
|
|
10037
|
-
"description": "The html role of the header cell. Derived from `scope` unless set explicitly.",
|
|
10038
|
-
"value": { "type": "string", "default": "'columnheader'" }
|
|
10039
|
-
},
|
|
10040
|
-
{
|
|
10041
|
-
"name": "scope",
|
|
10042
|
-
"description": "Which cells the header labels, like the native `<th scope>`: `col` (cells below) or `row` (cells beside).",
|
|
10043
|
-
"value": { "type": "'col' | 'row'", "default": "'col'" }
|
|
10044
|
-
}
|
|
10045
|
-
],
|
|
10046
|
-
"slots": [{ "name": "", "description": "The default slot." }],
|
|
10047
|
-
"events": [],
|
|
10048
|
-
"js": {
|
|
10049
|
-
"properties": [
|
|
10050
|
-
{
|
|
10051
|
-
"name": "last",
|
|
10052
|
-
"description": "If the header cell is the last one.",
|
|
10053
|
-
"type": "boolean"
|
|
10054
|
-
},
|
|
10055
|
-
{
|
|
10056
|
-
"name": "role",
|
|
10057
|
-
"description": "The html role of the header cell. Derived from `scope` unless set explicitly.",
|
|
10058
|
-
"type": "string"
|
|
10059
|
-
},
|
|
10060
|
-
{
|
|
10061
|
-
"name": "scope",
|
|
10062
|
-
"description": "Which cells the header labels, like the native `<th scope>`: `col` (cells below) or `row` (cells beside).",
|
|
10063
|
-
"type": "'col' | 'row'"
|
|
10064
|
-
}
|
|
10065
|
-
],
|
|
10066
|
-
"events": []
|
|
9907
|
+
]
|
|
10067
9908
|
}
|
|
10068
9909
|
},
|
|
10069
9910
|
{
|
|
10070
|
-
"name": "dap-ds-
|
|
10071
|
-
"description": "
|
|
9911
|
+
"name": "dap-ds-tab-group",
|
|
9912
|
+
"description": "A tab group component. It is used with dap-ds-tab component to create a tab group.\n---\n\n\n### **Events:**\n - **dds-tab-select** - Fired when select a new tab.\n\n### **Slots:**\n - _default_ - The tab items.\n\n### **CSS Properties:**\n - **--dds-tab-group-border-radius** - Border radius of the tab group container (default: var(--dds-radius-base)) _(default: undefined)_\n- **--dds-tab-border-radius** - Border radius for tab items (default: var(--dds-radius-base) var(--dds-radius-base) 0 0) _(default: undefined)_\n- **--dds-tab-group-border-width** - Border width of the tab navigation (default: var(--dds-border-width-base)) _(default: undefined)_\n- **--dds-tab-group-border-color** - Border color of the tab navigation (default: var(--dds-border-neutral-subtle)) _(default: undefined)_\n- **--dds-tab-height-sm** - Height of small tabs (default: 40px) _(default: undefined)_\n- **--dds-tab-height-lg** - Height of large tabs (default: 50px) _(default: undefined)_\n- **--dds-tab-font-size-sm** - Font size of small tabs (default: var(--dds-font-base)) _(default: undefined)_\n- **--dds-tab-font-size-lg** - Font size of large tabs (default: var(--dds-font-lg)) _(default: undefined)_\n- **--dds-tab-padding** - Padding of the tab buttons (default: 0 var(--dds-spacing-400)) _(default: undefined)_\n- **--dds-tab-border-width** - Border width for tabs (default: var(--dds-border-width-large)) _(default: undefined)_\n- **--dds-tab-selected-border-color** - Border color for selected tabs (default: var(--dds-border-brand-base)) _(default: undefined)_\n- **--dds-tab-text-color** - Text color for tabs (default: var(--dds-button-subtle-text-neutral-enabled)) _(default: undefined)_\n- **--dds-tab-hover-text-color** - Text color for tabs on hover (default: var(--dds-text-brand-subtle)) _(default: undefined)_\n- **--dds-tab-disabled-text-color** - Text color for disabled tabs (default: var(--dds-text-neutral-disabled)) _(default: undefined)_\n- **--dds-tab-hover-background** - Background color for tabs on hover (default: var(--dds-transparent-black-subtle)) _(default: undefined)_\n- **--dds-tab-active-background** - Background color for active tabs (default: var(--dds-transparent-black-base)) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main container.\n- **tab-list** - The tab list container (role=\"tablist\") holding the tab buttons.\n- **tab-nav** - The individual tab buttons.\n- **high-contrast** - The high contrast indicator inside the tab buttons.\n- **tab-group-content** - The tab content container.",
|
|
10072
9913
|
"doc-url": "",
|
|
10073
9914
|
"attributes": [
|
|
10074
9915
|
{
|
|
10075
|
-
"name": "
|
|
10076
|
-
"description": "The
|
|
10077
|
-
"value": { "type": "string"
|
|
9916
|
+
"name": "selectedTabId",
|
|
9917
|
+
"description": "The selected tab id.",
|
|
9918
|
+
"value": { "type": "string" }
|
|
9919
|
+
},
|
|
9920
|
+
{
|
|
9921
|
+
"name": "size",
|
|
9922
|
+
"description": "The size of the tab buttons. Default is `sm`. Can be `sm` or `lg`.",
|
|
9923
|
+
"value": { "type": "'sm' | 'lg'", "default": "'sm'" }
|
|
10078
9924
|
},
|
|
10079
9925
|
{
|
|
10080
9926
|
"name": "mobile",
|
|
10081
|
-
"description": "If the
|
|
9927
|
+
"description": "If true, the tab group will be displayed in mobile mode.",
|
|
10082
9928
|
"value": { "type": "boolean", "default": "false" }
|
|
10083
9929
|
}
|
|
10084
9930
|
],
|
|
10085
|
-
"slots": [
|
|
9931
|
+
"slots": [{ "name": "", "description": "The tab items." }],
|
|
9932
|
+
"events": [
|
|
10086
9933
|
{
|
|
10087
|
-
"name": "",
|
|
10088
|
-
"description": "
|
|
9934
|
+
"name": "dds-tab-select",
|
|
9935
|
+
"description": "Fired when select a new tab."
|
|
10089
9936
|
}
|
|
10090
9937
|
],
|
|
10091
|
-
"events": [],
|
|
10092
9938
|
"js": {
|
|
10093
9939
|
"properties": [
|
|
10094
9940
|
{
|
|
10095
|
-
"name": "
|
|
10096
|
-
"description": "The
|
|
9941
|
+
"name": "selectedTabId",
|
|
9942
|
+
"description": "The selected tab id.",
|
|
10097
9943
|
"type": "string"
|
|
10098
9944
|
},
|
|
9945
|
+
{
|
|
9946
|
+
"name": "size",
|
|
9947
|
+
"description": "The size of the tab buttons. Default is `sm`. Can be `sm` or `lg`.",
|
|
9948
|
+
"type": "'sm' | 'lg'"
|
|
9949
|
+
},
|
|
10099
9950
|
{
|
|
10100
9951
|
"name": "mobile",
|
|
10101
|
-
"description": "If the
|
|
9952
|
+
"description": "If true, the tab group will be displayed in mobile mode.",
|
|
10102
9953
|
"type": "boolean"
|
|
10103
9954
|
}
|
|
10104
9955
|
],
|
|
10105
|
-
"events": [
|
|
9956
|
+
"events": [
|
|
9957
|
+
{
|
|
9958
|
+
"name": "dds-tab-select",
|
|
9959
|
+
"description": "Fired when select a new tab."
|
|
9960
|
+
}
|
|
9961
|
+
]
|
|
10106
9962
|
}
|
|
10107
9963
|
},
|
|
10108
9964
|
{
|
|
10109
|
-
"name": "dap-ds-
|
|
10110
|
-
"description": "
|
|
9965
|
+
"name": "dap-ds-tab",
|
|
9966
|
+
"description": "A tab item component. It is used in dap-ds-tab-group component slot to create a tab item.\n---\n\n\n### **Slots:**\n - _default_ - The tab title template.\n- **content** - The tab content.\n\n### **CSS Parts:**\n - **base** - The main tab content container.",
|
|
10111
9967
|
"doc-url": "",
|
|
10112
9968
|
"attributes": [
|
|
10113
9969
|
{
|
|
10114
|
-
"name": "
|
|
10115
|
-
"description": "The
|
|
10116
|
-
"value": { "type": "string"
|
|
9970
|
+
"name": "tabId",
|
|
9971
|
+
"description": "The tab id. Required",
|
|
9972
|
+
"value": { "type": "string" }
|
|
10117
9973
|
},
|
|
10118
9974
|
{
|
|
10119
|
-
"name": "
|
|
10120
|
-
"description": "
|
|
9975
|
+
"name": "disabled",
|
|
9976
|
+
"description": "The disabled state of the tab.",
|
|
10121
9977
|
"value": { "type": "boolean", "default": "false" }
|
|
10122
|
-
},
|
|
10123
|
-
{
|
|
10124
|
-
"name": "caption",
|
|
10125
|
-
"description": "The caption of the table",
|
|
10126
|
-
"value": { "type": "string", "default": "''" }
|
|
10127
9978
|
}
|
|
10128
9979
|
],
|
|
10129
9980
|
"slots": [
|
|
10130
|
-
{
|
|
10131
|
-
|
|
10132
|
-
"description": "The default slot. Accepts `dap-ds-table-row` elements."
|
|
10133
|
-
}
|
|
9981
|
+
{ "name": "", "description": "The tab title template." },
|
|
9982
|
+
{ "name": "content", "description": "The tab content." }
|
|
10134
9983
|
],
|
|
10135
9984
|
"events": [],
|
|
10136
9985
|
"js": {
|
|
10137
9986
|
"properties": [
|
|
10138
9987
|
{
|
|
10139
|
-
"name": "
|
|
10140
|
-
"description": "The
|
|
9988
|
+
"name": "tabId",
|
|
9989
|
+
"description": "The tab id. Required",
|
|
10141
9990
|
"type": "string"
|
|
10142
9991
|
},
|
|
10143
9992
|
{
|
|
10144
|
-
"name": "
|
|
10145
|
-
"description": "
|
|
9993
|
+
"name": "disabled",
|
|
9994
|
+
"description": "The disabled state of the tab.",
|
|
10146
9995
|
"type": "boolean"
|
|
10147
|
-
},
|
|
10148
|
-
{
|
|
10149
|
-
"name": "caption",
|
|
10150
|
-
"description": "The caption of the table",
|
|
10151
|
-
"type": "string"
|
|
10152
9996
|
}
|
|
10153
9997
|
],
|
|
10154
9998
|
"events": []
|
|
@@ -10407,6 +10251,172 @@
|
|
|
10407
10251
|
]
|
|
10408
10252
|
}
|
|
10409
10253
|
},
|
|
10254
|
+
{
|
|
10255
|
+
"name": "dap-ds-table-cell",
|
|
10256
|
+
"description": "Table cell component.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.\n\n### **CSS Properties:**\n - **--dds-table-cell-padding-block** - Padding for the top and bottom of the cell. (default: var(--dds-spacing-200)) _(default: undefined)_\n- **--dds-table-cell-padding-inline-start** - Padding for the start (left in LTR) of the cell. (default: var(--dds-spacing-500)) _(default: undefined)_\n- **--dds-table-cell-padding-inline-end** - Padding for the end (right in LTR) of the cell. (default: var(--dds-spacing-500)) _(default: undefined)_\n- **--dds-table-cell-border-width** - Width of the cell's bottom border. (default: var(--dds-border-width-base)) _(default: undefined)_\n- **--dds-table-cell-border-color** - Color of the cell's bottom border. (default: var(--dds-border-neutral-subtle)) _(default: undefined)_\n- **--dds-table-cell-text-color** - Text color of the cell. (default: var(--dds-text-neutral-base)) _(default: undefined)_\n- **--dds-table-cell-line-height** - Line height of the cell text. (default: 1.5) _(default: undefined)_\n- **--dds-table-cell-text-align** - Text alignment in the cell. (default: left) _(default: undefined)_",
|
|
10257
|
+
"doc-url": "",
|
|
10258
|
+
"attributes": [
|
|
10259
|
+
{
|
|
10260
|
+
"name": "last",
|
|
10261
|
+
"description": "If the cell is the last one.",
|
|
10262
|
+
"value": { "type": "boolean" }
|
|
10263
|
+
},
|
|
10264
|
+
{
|
|
10265
|
+
"name": "role",
|
|
10266
|
+
"description": "The html role of the cell",
|
|
10267
|
+
"value": { "type": "string", "default": "'cell'" }
|
|
10268
|
+
}
|
|
10269
|
+
],
|
|
10270
|
+
"slots": [{ "name": "", "description": "The default slot." }],
|
|
10271
|
+
"events": [],
|
|
10272
|
+
"js": {
|
|
10273
|
+
"properties": [
|
|
10274
|
+
{
|
|
10275
|
+
"name": "last",
|
|
10276
|
+
"description": "If the cell is the last one.",
|
|
10277
|
+
"type": "boolean"
|
|
10278
|
+
},
|
|
10279
|
+
{
|
|
10280
|
+
"name": "role",
|
|
10281
|
+
"description": "The html role of the cell",
|
|
10282
|
+
"type": "string"
|
|
10283
|
+
}
|
|
10284
|
+
],
|
|
10285
|
+
"events": []
|
|
10286
|
+
}
|
|
10287
|
+
},
|
|
10288
|
+
{
|
|
10289
|
+
"name": "dap-ds-table-header",
|
|
10290
|
+
"description": "Table header cell component.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.\n\n### **CSS Properties:**\n - **--dds-table-header-padding-block** - Padding for the top and bottom of the header cell. (default: var(--dds-spacing-200)) _(default: undefined)_\n- **--dds-table-header-padding-inline-start** - Padding for the start (left in LTR) of the header cell. (default: var(--dds-spacing-500)) _(default: undefined)_\n- **--dds-table-header-padding-inline-end** - Padding for the end (right in LTR) of the header cell. (default: var(--dds-spacing-200)) _(default: undefined)_\n- **--dds-table-header-border-width** - Width of the header cell's bottom border. (default: var(--dds-border-width-base)) _(default: undefined)_\n- **--dds-table-header-border-color** - Color of the header cell's bottom border. (default: var(--dds-border-neutral-subtle)) _(default: undefined)_\n- **--dds-table-header-text-color** - Text color of the header cell. (default: var(--dds-text-neutral-strong)) _(default: undefined)_\n- **--dds-table-header-font-weight** - Font weight of the header cell text. (default: var(--dds-font-weight-bold)) _(default: undefined)_\n- **--dds-table-header-line-height** - Line height of the header cell text. (default: var(--dds-font-line-height-xlarge)) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main header cell container.",
|
|
10291
|
+
"doc-url": "",
|
|
10292
|
+
"attributes": [
|
|
10293
|
+
{
|
|
10294
|
+
"name": "last",
|
|
10295
|
+
"description": "If the header cell is the last one.",
|
|
10296
|
+
"value": { "type": "boolean" }
|
|
10297
|
+
},
|
|
10298
|
+
{
|
|
10299
|
+
"name": "role",
|
|
10300
|
+
"description": "The html role of the header cell. Derived from `scope` unless set explicitly.",
|
|
10301
|
+
"value": { "type": "string", "default": "'columnheader'" }
|
|
10302
|
+
},
|
|
10303
|
+
{
|
|
10304
|
+
"name": "scope",
|
|
10305
|
+
"description": "Which cells the header labels, like the native `<th scope>`: `col` (cells below) or `row` (cells beside).",
|
|
10306
|
+
"value": { "type": "'col' | 'row'", "default": "'col'" }
|
|
10307
|
+
}
|
|
10308
|
+
],
|
|
10309
|
+
"slots": [{ "name": "", "description": "The default slot." }],
|
|
10310
|
+
"events": [],
|
|
10311
|
+
"js": {
|
|
10312
|
+
"properties": [
|
|
10313
|
+
{
|
|
10314
|
+
"name": "last",
|
|
10315
|
+
"description": "If the header cell is the last one.",
|
|
10316
|
+
"type": "boolean"
|
|
10317
|
+
},
|
|
10318
|
+
{
|
|
10319
|
+
"name": "role",
|
|
10320
|
+
"description": "The html role of the header cell. Derived from `scope` unless set explicitly.",
|
|
10321
|
+
"type": "string"
|
|
10322
|
+
},
|
|
10323
|
+
{
|
|
10324
|
+
"name": "scope",
|
|
10325
|
+
"description": "Which cells the header labels, like the native `<th scope>`: `col` (cells below) or `row` (cells beside).",
|
|
10326
|
+
"type": "'col' | 'row'"
|
|
10327
|
+
}
|
|
10328
|
+
],
|
|
10329
|
+
"events": []
|
|
10330
|
+
}
|
|
10331
|
+
},
|
|
10332
|
+
{
|
|
10333
|
+
"name": "dap-ds-table-row",
|
|
10334
|
+
"description": "Table row component.\n---\n\n\n### **Slots:**\n - _default_ - The default slot. Accepts `dap-ds-table-cell` and `dap-ds-table-header` elements.\n\n### **CSS Properties:**\n - **--dds-table-row-padding-right** - Padding right for the last table header, (default: var(--dds-spacing-500)) _(default: undefined)_\n- **--dds-table-row-padding-top** - Padding top for table headers in mobile view, (default: var(--dds-spacing-400)) _(default: undefined)_\n- **--dds-table-row-padding-bottom** - Padding bottom for the last table cell in mobile view, (default: var(--dds-spacing-400)) _(default: undefined)_\n- **--dds-table-row-border-color** - Border color for table cells and headers, (default: transparent) _(default: undefined)_",
|
|
10335
|
+
"doc-url": "",
|
|
10336
|
+
"attributes": [
|
|
10337
|
+
{
|
|
10338
|
+
"name": "role",
|
|
10339
|
+
"description": "The html role of the row",
|
|
10340
|
+
"value": { "type": "string", "default": "'row'" }
|
|
10341
|
+
},
|
|
10342
|
+
{
|
|
10343
|
+
"name": "mobile",
|
|
10344
|
+
"description": "If the row is mobile design",
|
|
10345
|
+
"value": { "type": "boolean", "default": "false" }
|
|
10346
|
+
}
|
|
10347
|
+
],
|
|
10348
|
+
"slots": [
|
|
10349
|
+
{
|
|
10350
|
+
"name": "",
|
|
10351
|
+
"description": "The default slot. Accepts `dap-ds-table-cell` and `dap-ds-table-header` elements."
|
|
10352
|
+
}
|
|
10353
|
+
],
|
|
10354
|
+
"events": [],
|
|
10355
|
+
"js": {
|
|
10356
|
+
"properties": [
|
|
10357
|
+
{
|
|
10358
|
+
"name": "role",
|
|
10359
|
+
"description": "The html role of the row",
|
|
10360
|
+
"type": "string"
|
|
10361
|
+
},
|
|
10362
|
+
{
|
|
10363
|
+
"name": "mobile",
|
|
10364
|
+
"description": "If the row is mobile design",
|
|
10365
|
+
"type": "boolean"
|
|
10366
|
+
}
|
|
10367
|
+
],
|
|
10368
|
+
"events": []
|
|
10369
|
+
}
|
|
10370
|
+
},
|
|
10371
|
+
{
|
|
10372
|
+
"name": "dap-ds-table",
|
|
10373
|
+
"description": "Data table component.\n---\n\n\n### **Slots:**\n - _default_ - The default slot. Accepts `dap-ds-table-row` elements.\n\n### **CSS Properties:**\n - **--dds-table-border-width** - Width of the table border. (default: var(--dds-border-width-base, 1px)) _(default: undefined)_\n- **--dds-table-border-color** - Color of the table border. (default: var(--dds-border-neutral-subtle)) _(default: undefined)_\n- **--dds-table-border-radius** - Border radius of the table. (default: var(--dds-radius-small, 4px)) _(default: undefined)_\n- **--dds-table-row-divider-color** - Color of the divider between rows in mobile view. (default: var(--dds-border-neutral-subtle)) _(default: undefined)_\n\n### **CSS Parts:**\n - **caption** - The caption of the table.",
|
|
10374
|
+
"doc-url": "",
|
|
10375
|
+
"attributes": [
|
|
10376
|
+
{
|
|
10377
|
+
"name": "role",
|
|
10378
|
+
"description": "The html role of the table. Defaults to `table`; use `grid` only for an interactive table.",
|
|
10379
|
+
"value": { "type": "string", "default": "'table'" }
|
|
10380
|
+
},
|
|
10381
|
+
{
|
|
10382
|
+
"name": "mobile",
|
|
10383
|
+
"description": "If the table has mobile design",
|
|
10384
|
+
"value": { "type": "boolean", "default": "false" }
|
|
10385
|
+
},
|
|
10386
|
+
{
|
|
10387
|
+
"name": "caption",
|
|
10388
|
+
"description": "The caption of the table",
|
|
10389
|
+
"value": { "type": "string", "default": "''" }
|
|
10390
|
+
}
|
|
10391
|
+
],
|
|
10392
|
+
"slots": [
|
|
10393
|
+
{
|
|
10394
|
+
"name": "",
|
|
10395
|
+
"description": "The default slot. Accepts `dap-ds-table-row` elements."
|
|
10396
|
+
}
|
|
10397
|
+
],
|
|
10398
|
+
"events": [],
|
|
10399
|
+
"js": {
|
|
10400
|
+
"properties": [
|
|
10401
|
+
{
|
|
10402
|
+
"name": "role",
|
|
10403
|
+
"description": "The html role of the table. Defaults to `table`; use `grid` only for an interactive table.",
|
|
10404
|
+
"type": "string"
|
|
10405
|
+
},
|
|
10406
|
+
{
|
|
10407
|
+
"name": "mobile",
|
|
10408
|
+
"description": "If the table has mobile design",
|
|
10409
|
+
"type": "boolean"
|
|
10410
|
+
},
|
|
10411
|
+
{
|
|
10412
|
+
"name": "caption",
|
|
10413
|
+
"description": "The caption of the table",
|
|
10414
|
+
"type": "string"
|
|
10415
|
+
}
|
|
10416
|
+
],
|
|
10417
|
+
"events": []
|
|
10418
|
+
}
|
|
10419
|
+
},
|
|
10410
10420
|
{
|
|
10411
10421
|
"name": "dap-ds-timeline-item",
|
|
10412
10422
|
"description": "A timeline is a graphical representation of a series of events.\n---\n\n\n### **Slots:**\n - _default_ - The default slot for the item content.\n\n### **CSS Properties:**\n - **--dds-timeline-position** - Position of the timeline dot (default: 28px) _(default: undefined)_\n- **--dds-timeline-connector-width** - Width of the timeline connector line (default: 1px) _(default: undefined)_\n- **--dds-timeline-connector-left-position** - Left position of the timeline connector (default: 5.5px) _(default: undefined)_\n- **--dds-timeline-dot-size** - Size of the timeline dot (default: var(--dds-spacing-300)) _(default: undefined)_\n- **--dds-timeline-item-margin-bottom** - Bottom margin of timeline items (default: var(--dds-spacing-200)) _(default: undefined)_\n- **--dds-timeline-item-padding-left** - Left padding of timeline items (default: var(--dds-spacing-400)) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main timeline item container.\n- **connector** - The connector element between two timeline items.\n- **content** - The content of the timeline item.",
|
|
@@ -14229,7 +14239,7 @@
|
|
|
14229
14239
|
}
|
|
14230
14240
|
},
|
|
14231
14241
|
{
|
|
14232
|
-
"name": "dap-ds-icon-checkbox-blank-circle-fill",
|
|
14242
|
+
"name": "dap-ds-icon-checkbox-blank-circle-fill-check",
|
|
14233
14243
|
"description": "An icon\n---\n\n\n### **CSS Parts:**\n - **base** - The main icon container.",
|
|
14234
14244
|
"doc-url": "",
|
|
14235
14245
|
"attributes": [
|
|
@@ -14282,7 +14292,7 @@
|
|
|
14282
14292
|
}
|
|
14283
14293
|
},
|
|
14284
14294
|
{
|
|
14285
|
-
"name": "dap-ds-icon-checkbox-blank-circle-fill
|
|
14295
|
+
"name": "dap-ds-icon-checkbox-blank-circle-fill",
|
|
14286
14296
|
"description": "An icon\n---\n\n\n### **CSS Parts:**\n - **base** - The main icon container.",
|
|
14287
14297
|
"doc-url": "",
|
|
14288
14298
|
"attributes": [
|
|
@@ -14388,7 +14398,7 @@
|
|
|
14388
14398
|
}
|
|
14389
14399
|
},
|
|
14390
14400
|
{
|
|
14391
|
-
"name": "dap-ds-icon-checkbox-circle-
|
|
14401
|
+
"name": "dap-ds-icon-checkbox-circle-line",
|
|
14392
14402
|
"description": "An icon\n---\n\n\n### **CSS Parts:**\n - **base** - The main icon container.",
|
|
14393
14403
|
"doc-url": "",
|
|
14394
14404
|
"attributes": [
|
|
@@ -14441,7 +14451,7 @@
|
|
|
14441
14451
|
}
|
|
14442
14452
|
},
|
|
14443
14453
|
{
|
|
14444
|
-
"name": "dap-ds-icon-checkbox-circle-
|
|
14454
|
+
"name": "dap-ds-icon-checkbox-circle-fill",
|
|
14445
14455
|
"description": "An icon\n---\n\n\n### **CSS Parts:**\n - **base** - The main icon container.",
|
|
14446
14456
|
"doc-url": "",
|
|
14447
14457
|
"attributes": [
|