dap-design-system 0.63.0 → 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.d.ts +3 -0
- package/dist/components/datepicker/datepicker.component.js +29 -17
- 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/components/timepicker/timepicker.component.d.ts +2 -0
- package/dist/components/timepicker/timepicker.component.js +20 -17
- package/dist/components/timepicker/timepicker.component.js.map +1 -1
- package/dist/internal/mixin/formElementMixin.d.ts +1 -0
- package/dist/internal/mixin/formElementMixin.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 +569 -567
- package/dist/manifest/vscode.html-custom-data.json +382 -377
- package/dist/manifest/web-types.json +1302 -1292
- 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 +15 -15
- package/dist/react-types.ts +15 -15
- package/dist/react.js +68 -68
- 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,93 +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
|
-
{
|
|
144
|
-
"name": "dap-ds-badge",
|
|
145
|
-
"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.",
|
|
146
|
-
"doc-url": "",
|
|
147
|
-
"attributes": [
|
|
148
|
-
{
|
|
149
|
-
"name": "type",
|
|
150
|
-
"description": "The type of the badge",
|
|
151
|
-
"value": {
|
|
152
|
-
"type": "'neutral' | 'brand' | 'info' | 'positive' | 'warning' | 'negative'",
|
|
153
|
-
"default": "'neutral'"
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"name": "icon",
|
|
158
|
-
"description": "The icon of the badge, this is a name of a built in icon",
|
|
159
|
-
"value": { "type": "string | undefined" }
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"name": "live",
|
|
163
|
-
"description": "Whether the badge represents dynamic content that should announce changes",
|
|
164
|
-
"value": { "type": "boolean", "default": "false" }
|
|
165
|
-
}
|
|
166
|
-
],
|
|
167
|
-
"slots": [
|
|
168
|
-
{ "name": "", "description": "The content of the badge." },
|
|
169
|
-
{ "name": "icon", "description": "The icon of the badge." }
|
|
170
|
-
],
|
|
171
|
-
"events": [],
|
|
172
|
-
"js": {
|
|
173
|
-
"properties": [
|
|
174
|
-
{
|
|
175
|
-
"name": "type",
|
|
176
|
-
"description": "The type of the badge",
|
|
177
|
-
"type": "'neutral' | 'brand' | 'info' | 'positive' | 'warning' | 'negative'"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"name": "icon",
|
|
181
|
-
"description": "The icon of the badge, this is a name of a built in icon",
|
|
182
|
-
"type": "string | undefined"
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"name": "live",
|
|
186
|
-
"description": "Whether the badge represents dynamic content that should announce changes",
|
|
187
|
-
"type": "boolean"
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
"name": "size",
|
|
191
|
-
"description": "The size of the badge. Default is `sm`.",
|
|
192
|
-
"type": "'sm' | 'lg'"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"name": "sizeMap",
|
|
196
|
-
"description": "Responsive size map (e.g. \"md:lg\").",
|
|
197
|
-
"type": "string"
|
|
198
|
-
}
|
|
199
|
-
],
|
|
200
|
-
"events": []
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
143
|
{
|
|
204
144
|
"name": "dap-ds-avatar",
|
|
205
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.",
|
|
@@ -358,281 +298,341 @@
|
|
|
358
298
|
}
|
|
359
299
|
},
|
|
360
300
|
{
|
|
361
|
-
"name": "dap-ds-
|
|
362
|
-
"description": "
|
|
363
|
-
"doc-url": "",
|
|
364
|
-
"attributes": [
|
|
365
|
-
{
|
|
366
|
-
"name": "autoClose",
|
|
367
|
-
"description": "Whether to close other accordions when one is opened.",
|
|
368
|
-
"value": { "type": "string", "default": "'true'" }
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
"name": "variant",
|
|
372
|
-
"description": "The variant of the accordion",
|
|
373
|
-
"value": {
|
|
374
|
-
"type": "'default' | 'collapsed' | 'clean' | 'clean-collapsed'",
|
|
375
|
-
"default": "'default'"
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
],
|
|
379
|
-
"slots": [
|
|
380
|
-
{ "name": "", "description": "The content of the accordion group." }
|
|
381
|
-
],
|
|
382
|
-
"events": [],
|
|
383
|
-
"js": {
|
|
384
|
-
"properties": [
|
|
385
|
-
{
|
|
386
|
-
"name": "autoClose",
|
|
387
|
-
"description": "Whether to close other accordions when one is opened.",
|
|
388
|
-
"type": "string"
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
"name": "variant",
|
|
392
|
-
"description": "The variant of the accordion",
|
|
393
|
-
"type": "'default' | 'collapsed' | 'clean' | 'clean-collapsed'"
|
|
394
|
-
}
|
|
395
|
-
],
|
|
396
|
-
"events": []
|
|
397
|
-
}
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
"name": "dap-ds-banner",
|
|
401
|
-
"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.",
|
|
301
|
+
"name": "dap-ds-avatar-group",
|
|
302
|
+
"description": "Avatar group component displays multiple avatars in an organized layout with overflow management.\n---\n\n\n### **Events:**\n - **dds-overflow-click** - Fired when the overflow indicator is clicked.\n\n### **Slots:**\n - _default_ - The avatars to display in the group.\n\n### **CSS Properties:**\n - **--dds-avatar-group-gap** - Gap between avatars in grid layout (default: 0) _(default: undefined)_\n- **--dds-avatar-group-overlap** - Overlap amount for stacked layout (default: -8px) _(default: undefined)_\n- **--dds-avatar-group-border-width** - Border width for avatars (default: var(--dds-border-width-base)) _(default: undefined)_\n- **--dds-avatar-group-border-color** - Border color for avatars (default: var(--dds-border-neutral-divider)) _(default: undefined)_\n- **--dds-avatar-group-overflow-bg** - Background color for overflow indicator (default: var(--dds-neutral-300)) _(default: undefined)_\n- **--dds-avatar-group-overflow-color** - Text color for overflow indicator (default: var(--dds-neutral-700)) _(default: undefined)_\n- **--dds-avatar-group-overflow-border** - Border for overflow indicator (default: var(--dds-avatar-group-border-width) solid var(--dds-avatar-group-border-color)) _(default: undefined)_\n- **--dds-avatar-group-size-lg** - Size for large avatars (default: var(--dds-spacing-2000)) _(default: undefined)_\n- **--dds-avatar-group-size-md** - Size for medium avatars (default: var(--dds-spacing-1600)) _(default: undefined)_\n- **--dds-avatar-group-size-sm** - Size for small avatars (default: var(--dds-spacing-1200)) _(default: undefined)_\n- **--dds-avatar-group-size-xs** - Size for extra small avatars (default: var(--dds-spacing-800)) _(default: undefined)_\n- **--dds-avatar-group-size-xxs** - Size for extra extra small avatars (default: var(--dds-spacing-400)) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main container of the avatar group.\n- **avatars** - The container for the visible avatars.\n- **overflow** - The overflow indicator element.",
|
|
402
303
|
"doc-url": "",
|
|
403
304
|
"attributes": [
|
|
404
305
|
{
|
|
405
|
-
"name": "
|
|
406
|
-
"description": "
|
|
407
|
-
"value": {
|
|
408
|
-
"type": "'brand' | 'positive' | 'info' | 'warning' | 'negative'",
|
|
409
|
-
"default": "'brand'"
|
|
410
|
-
}
|
|
306
|
+
"name": "layout",
|
|
307
|
+
"description": "Layout type for the avatar group",
|
|
308
|
+
"value": { "type": "'stack' | 'grid'", "default": "'stack'" }
|
|
411
309
|
},
|
|
412
310
|
{
|
|
413
|
-
"name": "
|
|
414
|
-
"description": "
|
|
415
|
-
"value": { "type": "
|
|
311
|
+
"name": "max",
|
|
312
|
+
"description": "Maximum number of avatars to show before showing overflow",
|
|
313
|
+
"value": { "type": "number", "default": "3" }
|
|
416
314
|
},
|
|
417
315
|
{
|
|
418
|
-
"name": "
|
|
419
|
-
"description": "
|
|
420
|
-
"value": { "type": "
|
|
316
|
+
"name": "show-total",
|
|
317
|
+
"description": "Whether to show the total count in overflow indicator",
|
|
318
|
+
"value": { "type": "boolean", "default": "false" }
|
|
421
319
|
},
|
|
422
320
|
{
|
|
423
|
-
"name": "
|
|
424
|
-
"description": "
|
|
425
|
-
"value": { "type": "
|
|
321
|
+
"name": "interactive-overflow",
|
|
322
|
+
"description": "Interactive overflow indicator",
|
|
323
|
+
"value": { "type": "boolean", "default": "false" }
|
|
426
324
|
},
|
|
427
325
|
{
|
|
428
|
-
"name": "
|
|
429
|
-
"description": "
|
|
430
|
-
"value": { "type": "string"
|
|
326
|
+
"name": "label",
|
|
327
|
+
"description": "Accessible label for the avatar group",
|
|
328
|
+
"value": { "type": "string" }
|
|
431
329
|
},
|
|
432
330
|
{
|
|
433
|
-
"name": "
|
|
434
|
-
"description": "
|
|
331
|
+
"name": "overflow-label",
|
|
332
|
+
"description": "Accessible label for the overflow indicator",
|
|
435
333
|
"value": { "type": "string" }
|
|
436
334
|
}
|
|
437
335
|
],
|
|
438
336
|
"slots": [
|
|
439
|
-
{
|
|
440
|
-
|
|
441
|
-
|
|
337
|
+
{
|
|
338
|
+
"name": "",
|
|
339
|
+
"description": "The avatars to display in the group."
|
|
340
|
+
}
|
|
442
341
|
],
|
|
443
342
|
"events": [
|
|
444
343
|
{
|
|
445
|
-
"name": "dds-
|
|
446
|
-
"
|
|
447
|
-
"description": "Event fired when the banner is closed."
|
|
344
|
+
"name": "dds-overflow-click",
|
|
345
|
+
"description": "Fired when the overflow indicator is clicked."
|
|
448
346
|
}
|
|
449
347
|
],
|
|
450
348
|
"js": {
|
|
451
349
|
"properties": [
|
|
452
350
|
{
|
|
453
|
-
"name": "
|
|
454
|
-
"description": "
|
|
455
|
-
"type": "'
|
|
351
|
+
"name": "layout",
|
|
352
|
+
"description": "Layout type for the avatar group",
|
|
353
|
+
"type": "'stack' | 'grid'"
|
|
456
354
|
},
|
|
457
355
|
{
|
|
458
|
-
"name": "
|
|
459
|
-
"description": "
|
|
356
|
+
"name": "max",
|
|
357
|
+
"description": "Maximum number of avatars to show before showing overflow",
|
|
358
|
+
"type": "number"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"name": "showTotal",
|
|
362
|
+
"description": "Whether to show the total count in overflow indicator",
|
|
460
363
|
"type": "boolean"
|
|
461
364
|
},
|
|
462
365
|
{
|
|
463
|
-
"name": "
|
|
464
|
-
"description": "
|
|
465
|
-
"type": "
|
|
366
|
+
"name": "interactiveOverflow",
|
|
367
|
+
"description": "Interactive overflow indicator",
|
|
368
|
+
"type": "boolean"
|
|
466
369
|
},
|
|
467
370
|
{
|
|
468
|
-
"name": "
|
|
469
|
-
"description": "
|
|
371
|
+
"name": "label",
|
|
372
|
+
"description": "Accessible label for the avatar group",
|
|
470
373
|
"type": "string"
|
|
471
374
|
},
|
|
472
375
|
{
|
|
473
|
-
"name": "
|
|
474
|
-
"description": "
|
|
376
|
+
"name": "overflowLabel",
|
|
377
|
+
"description": "Accessible label for the overflow indicator",
|
|
475
378
|
"type": "string"
|
|
476
379
|
},
|
|
477
380
|
{
|
|
478
|
-
"name": "
|
|
479
|
-
"description": "The
|
|
381
|
+
"name": "size",
|
|
382
|
+
"description": "The size of avatars in the group. Default is `md`. See SizedMixin.",
|
|
383
|
+
"type": "'xxs' | 'xs' | 'sm' | 'md' | 'lg'"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"name": "sizeMap",
|
|
387
|
+
"description": "Responsive size map (e.g. \"md:lg\"); see SizedMixin.",
|
|
480
388
|
"type": "string"
|
|
481
389
|
}
|
|
482
390
|
],
|
|
483
391
|
"events": [
|
|
484
392
|
{
|
|
485
|
-
"name": "dds-
|
|
486
|
-
"
|
|
487
|
-
"description": "Event fired when the banner is closed."
|
|
393
|
+
"name": "dds-overflow-click",
|
|
394
|
+
"description": "Fired when the overflow indicator is clicked."
|
|
488
395
|
}
|
|
489
396
|
]
|
|
490
397
|
}
|
|
491
398
|
},
|
|
492
399
|
{
|
|
493
|
-
"name": "dap-ds-
|
|
494
|
-
"description": "A
|
|
400
|
+
"name": "dap-ds-badge",
|
|
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
402
|
"doc-url": "",
|
|
496
403
|
"attributes": [
|
|
497
404
|
{
|
|
498
|
-
"name": "
|
|
499
|
-
"
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
"value": { "type": "boolean", "default": "false" }
|
|
405
|
+
"name": "type",
|
|
406
|
+
"description": "The type of the badge",
|
|
407
|
+
"value": {
|
|
408
|
+
"type": "'neutral' | 'brand' | 'info' | 'positive' | 'warning' | 'negative'",
|
|
409
|
+
"default": "'neutral'"
|
|
410
|
+
}
|
|
505
411
|
},
|
|
506
412
|
{
|
|
507
|
-
"name": "
|
|
508
|
-
"description": "The
|
|
413
|
+
"name": "icon",
|
|
414
|
+
"description": "The icon of the badge, this is a name of a built in icon",
|
|
509
415
|
"value": { "type": "string | undefined" }
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"name": "live",
|
|
419
|
+
"description": "Whether the badge represents dynamic content that should announce changes",
|
|
420
|
+
"value": { "type": "boolean", "default": "false" }
|
|
510
421
|
}
|
|
511
422
|
],
|
|
512
423
|
"slots": [
|
|
513
|
-
{ "name": "", "description": "The content of the
|
|
514
|
-
{
|
|
515
|
-
"name": "separator",
|
|
516
|
-
"description": "The separator between breadcrumb items. Default is '/'."
|
|
517
|
-
}
|
|
424
|
+
{ "name": "", "description": "The content of the badge." },
|
|
425
|
+
{ "name": "icon", "description": "The icon of the badge." }
|
|
518
426
|
],
|
|
519
427
|
"events": [],
|
|
520
428
|
"js": {
|
|
521
429
|
"properties": [
|
|
522
|
-
{ "name": "variant", "type": "string" },
|
|
523
430
|
{
|
|
524
|
-
"name": "
|
|
525
|
-
"description": "
|
|
526
|
-
"type": "
|
|
431
|
+
"name": "type",
|
|
432
|
+
"description": "The type of the badge",
|
|
433
|
+
"type": "'neutral' | 'brand' | 'info' | 'positive' | 'warning' | 'negative'"
|
|
527
434
|
},
|
|
528
435
|
{
|
|
529
|
-
"name": "
|
|
530
|
-
"description": "The
|
|
436
|
+
"name": "icon",
|
|
437
|
+
"description": "The icon of the badge, this is a name of a built in icon",
|
|
531
438
|
"type": "string | undefined"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"name": "live",
|
|
442
|
+
"description": "Whether the badge represents dynamic content that should announce changes",
|
|
443
|
+
"type": "boolean"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"name": "size",
|
|
447
|
+
"description": "The size of the badge. Default is `sm`.",
|
|
448
|
+
"type": "'sm' | 'lg'"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"name": "sizeMap",
|
|
452
|
+
"description": "Responsive size map (e.g. \"md:lg\").",
|
|
453
|
+
"type": "string"
|
|
532
454
|
}
|
|
533
455
|
],
|
|
534
456
|
"events": []
|
|
535
457
|
}
|
|
536
458
|
},
|
|
537
459
|
{
|
|
538
|
-
"name": "dap-ds-
|
|
539
|
-
"description": "
|
|
460
|
+
"name": "dap-ds-banner",
|
|
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.",
|
|
540
462
|
"doc-url": "",
|
|
541
463
|
"attributes": [
|
|
542
464
|
{
|
|
543
|
-
"name": "
|
|
544
|
-
"description": "
|
|
545
|
-
"value": {
|
|
465
|
+
"name": "variant",
|
|
466
|
+
"description": "The variant of the banner",
|
|
467
|
+
"value": {
|
|
468
|
+
"type": "'brand' | 'positive' | 'info' | 'warning' | 'negative'",
|
|
469
|
+
"default": "'brand'"
|
|
470
|
+
}
|
|
546
471
|
},
|
|
547
472
|
{
|
|
548
|
-
"name": "
|
|
549
|
-
"description": "
|
|
550
|
-
"value": { "type": "
|
|
473
|
+
"name": "closeable",
|
|
474
|
+
"description": "Whether the banner is closeable",
|
|
475
|
+
"value": { "type": "boolean" }
|
|
551
476
|
},
|
|
552
477
|
{
|
|
553
|
-
"name": "
|
|
554
|
-
"description": "
|
|
555
|
-
"value": { "type": "
|
|
478
|
+
"name": "opened",
|
|
479
|
+
"description": "State of the banner. If false banner is hidden",
|
|
480
|
+
"value": { "type": "string", "default": "'true'" }
|
|
556
481
|
},
|
|
557
482
|
{
|
|
558
|
-
"name": "
|
|
559
|
-
"description": "
|
|
560
|
-
"value": { "type": "
|
|
483
|
+
"name": "closeButtonLabel",
|
|
484
|
+
"description": "The aria-label for the close button",
|
|
485
|
+
"value": { "type": "string", "default": "'close'" }
|
|
561
486
|
},
|
|
562
487
|
{
|
|
563
|
-
"name": "
|
|
564
|
-
"description": "
|
|
565
|
-
"value": { "type": "string" }
|
|
488
|
+
"name": "closeButtonTestId",
|
|
489
|
+
"description": "`data-testid` for the close button.",
|
|
490
|
+
"value": { "type": "string", "default": "'banner-close-button'" }
|
|
566
491
|
},
|
|
567
492
|
{
|
|
568
|
-
"name": "
|
|
569
|
-
"description": "
|
|
493
|
+
"name": "icon",
|
|
494
|
+
"description": "The icon of the banner, this is a name of a built icon icon",
|
|
570
495
|
"value": { "type": "string" }
|
|
571
496
|
}
|
|
572
497
|
],
|
|
573
498
|
"slots": [
|
|
574
|
-
{
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
}
|
|
499
|
+
{ "name": "", "description": "The content of the banner." },
|
|
500
|
+
{ "name": "actions", "description": "Actions of banner" },
|
|
501
|
+
{ "name": "icon", "description": "The icon of the banner." }
|
|
578
502
|
],
|
|
579
503
|
"events": [
|
|
580
504
|
{
|
|
581
|
-
"name": "dds-
|
|
582
|
-
"
|
|
505
|
+
"name": "dds-close",
|
|
506
|
+
"type": "{ void }",
|
|
507
|
+
"description": "Event fired when the banner is closed."
|
|
583
508
|
}
|
|
584
509
|
],
|
|
585
510
|
"js": {
|
|
586
511
|
"properties": [
|
|
587
512
|
{
|
|
588
|
-
"name": "
|
|
589
|
-
"description": "
|
|
590
|
-
"type": "'
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
"name": "max",
|
|
594
|
-
"description": "Maximum number of avatars to show before showing overflow",
|
|
595
|
-
"type": "number"
|
|
596
|
-
},
|
|
597
|
-
{
|
|
598
|
-
"name": "showTotal",
|
|
599
|
-
"description": "Whether to show the total count in overflow indicator",
|
|
600
|
-
"type": "boolean"
|
|
513
|
+
"name": "variant",
|
|
514
|
+
"description": "The variant of the banner",
|
|
515
|
+
"type": "'brand' | 'positive' | 'info' | 'warning' | 'negative'"
|
|
601
516
|
},
|
|
602
517
|
{
|
|
603
|
-
"name": "
|
|
604
|
-
"description": "
|
|
518
|
+
"name": "closeable",
|
|
519
|
+
"description": "Whether the banner is closeable",
|
|
605
520
|
"type": "boolean"
|
|
606
521
|
},
|
|
607
522
|
{
|
|
608
|
-
"name": "
|
|
609
|
-
"description": "
|
|
523
|
+
"name": "opened",
|
|
524
|
+
"description": "State of the banner. If false banner is hidden",
|
|
610
525
|
"type": "string"
|
|
611
526
|
},
|
|
612
527
|
{
|
|
613
|
-
"name": "
|
|
614
|
-
"description": "
|
|
528
|
+
"name": "closeButtonLabel",
|
|
529
|
+
"description": "The aria-label for the close button",
|
|
615
530
|
"type": "string"
|
|
616
531
|
},
|
|
617
532
|
{
|
|
618
|
-
"name": "
|
|
619
|
-
"description": "
|
|
620
|
-
"type": "
|
|
533
|
+
"name": "closeButtonTestId",
|
|
534
|
+
"description": "`data-testid` for the close button.",
|
|
535
|
+
"type": "string"
|
|
621
536
|
},
|
|
622
537
|
{
|
|
623
|
-
"name": "
|
|
624
|
-
"description": "
|
|
538
|
+
"name": "icon",
|
|
539
|
+
"description": "The icon of the banner, this is a name of a built icon icon",
|
|
625
540
|
"type": "string"
|
|
626
541
|
}
|
|
627
542
|
],
|
|
628
543
|
"events": [
|
|
629
544
|
{
|
|
630
|
-
"name": "dds-
|
|
631
|
-
"
|
|
545
|
+
"name": "dds-close",
|
|
546
|
+
"type": "{ void }",
|
|
547
|
+
"description": "Event fired when the banner is closed."
|
|
632
548
|
}
|
|
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.",
|
|
@@ -889,20 +889,74 @@
|
|
|
889
889
|
}
|
|
890
890
|
},
|
|
891
891
|
{
|
|
892
|
-
"name": "dap-ds-
|
|
893
|
-
"description": "
|
|
892
|
+
"name": "dap-ds-button-group-separator",
|
|
893
|
+
"description": "A visual divider between items in a button group.\n---\n\n\n### **CSS Properties:**\n - **--dds-button-group-separator-color** - Color of the separator line (default: var(--dds-border-neutral-divider)) _(default: undefined)_\n- **--dds-button-group-separator-size** - Thickness of the separator line (default: var(--dds-border-width-base)) _(default: undefined)_",
|
|
894
894
|
"doc-url": "",
|
|
895
|
-
"attributes": [
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
895
|
+
"attributes": [],
|
|
896
|
+
"events": [],
|
|
897
|
+
"js": { "properties": [], "events": [] }
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
"name": "dap-ds-button-group-text",
|
|
901
|
+
"description": "Non-interactive text displayed inside a button group.\n---\n\n\n### **Slots:**\n - _default_ - The text content. Can also hold an icon or a `<label>` for a grouped input.\n\n### **CSS Properties:**\n - **--dds-button-group-text-background** - Background color (default: var(--dds-background-neutral-subtle)) _(default: undefined)_\n- **--dds-button-group-text-border-color** - Border color (default: var(--dds-border-neutral-subtle)) _(default: undefined)_\n- **--dds-button-group-text-color** - Text color (default: var(--dds-text-neutral-strong)) _(default: undefined)_\n- **--dds-button-group-text-padding-x** - Horizontal padding (default: var(--dds-spacing-300)) _(default: undefined)_\n- **--dds-button-group-text-border-radius** - Corner radius outside a group (default: var(--dds-radius-rounded)) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The text container.",
|
|
902
|
+
"doc-url": "",
|
|
903
|
+
"attributes": [],
|
|
904
|
+
"slots": [
|
|
901
905
|
{
|
|
902
|
-
"name": "
|
|
903
|
-
"description": "
|
|
904
|
-
|
|
905
|
-
|
|
906
|
+
"name": "",
|
|
907
|
+
"description": "The text content. Can also hold an icon or a `<label>` for a grouped input."
|
|
908
|
+
}
|
|
909
|
+
],
|
|
910
|
+
"events": [],
|
|
911
|
+
"js": { "properties": [], "events": [] }
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"name": "dap-ds-button-group",
|
|
915
|
+
"description": "A container that groups related buttons with consistent, connected styling.\n---\n\n\n### **Slots:**\n - _default_ - The grouped items: `dap-ds-button`, `dap-ds-icon-button`, `dap-ds-button-group-text`, `dap-ds-button-group-separator` or nested `dap-ds-button-group` elements.\n\n### **CSS Properties:**\n - **--dds-button-group-gap** - Spacing between nested button groups (default: var(--dds-spacing-200)) _(default: undefined)_\n- **--dds-button-group-overlap** - How much adjacent items overlap so their borders collapse into one (default: var(--dds-border-width-large)) _(default: undefined)_\n- **--dds-button-group-start-start-radius** - Set on grouped items to square off their start-start corner. Read by `dap-ds-button`, `dap-ds-icon-button` and `dap-ds-button-group-text`. _(default: undefined)_\n- **--dds-button-group-start-end-radius** - Set on grouped items to square off their start-end corner. _(default: undefined)_\n- **--dds-button-group-end-start-radius** - Set on grouped items to square off their end-start corner. _(default: undefined)_\n- **--dds-button-group-end-end-radius** - Set on grouped items to square off their end-end corner. _(default: undefined)_",
|
|
916
|
+
"doc-url": "",
|
|
917
|
+
"attributes": [
|
|
918
|
+
{
|
|
919
|
+
"name": "orientation",
|
|
920
|
+
"description": "The layout direction of the group",
|
|
921
|
+
"value": {
|
|
922
|
+
"type": "ButtonGroupOrientation",
|
|
923
|
+
"default": "'horizontal'"
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
],
|
|
927
|
+
"slots": [
|
|
928
|
+
{
|
|
929
|
+
"name": "",
|
|
930
|
+
"description": "The grouped items: `dap-ds-button`, `dap-ds-icon-button`, `dap-ds-button-group-text`, `dap-ds-button-group-separator` or nested `dap-ds-button-group` elements."
|
|
931
|
+
}
|
|
932
|
+
],
|
|
933
|
+
"events": [],
|
|
934
|
+
"js": {
|
|
935
|
+
"properties": [
|
|
936
|
+
{
|
|
937
|
+
"name": "orientation",
|
|
938
|
+
"description": "The layout direction of the group",
|
|
939
|
+
"type": "ButtonGroupOrientation"
|
|
940
|
+
}
|
|
941
|
+
],
|
|
942
|
+
"events": []
|
|
943
|
+
}
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"name": "dap-ds-calendar-cell",
|
|
947
|
+
"description": "Calendar cell represents a single cell in the calendar.\n---\n\n\n### **Slots:**\n - _default_ - The content of the calendar cell.\n\n### **CSS Properties:**\n - **--dds-calendar-cell-display** - The display property of the calendar cell host (default: flex) _(default: undefined)_\n- **--dds-calendar-cell-position** - The position property of the calendar cell host (default: relative) _(default: undefined)_\n- **--dds-calendar-cell-border-radius** - The border radius of the calendar cell (default: var(--dds-radius-rounded)) _(default: undefined)_\n- **--dds-calendar-cell-min-width** - The minimum width of the calendar cell (default: var(--dds-spacing-1000)) _(default: undefined)_\n- **--dds-calendar-cell-height** - The height of the calendar cell (default: var(--dds-spacing-1000)) _(default: undefined)_\n- **--dds-calendar-cell-min-height** - The minimum height of the calendar cell (default: var(--dds-spacing-1000)) _(default: undefined)_\n- **--dds-calendar-cell-color** - The text color of the calendar cell (default: var(--dds-button-subtle-text-neutral-enabled)) _(default: undefined)_\n- **--dds-calendar-cell-font-size** - The font size of the calendar cell (default: var(--dds-font-sm)) _(default: undefined)_\n- **--dds-calendar-cell-font-weight** - The font weight of the calendar cell (default: var(--dds-font-weight-medium)) _(default: undefined)_\n- **--dds-calendar-cell-text-align** - The text alignment of the calendar cell (default: center) _(default: undefined)_\n- **--dds-calendar-cell-cursor** - The cursor style of the calendar cell (default: pointer) _(default: undefined)_\n- **--dds-calendar-cell-background-hover** - The background color of the calendar cell on hover (default: var(--dds-background-neutral-medium)) _(default: undefined)_\n- **--dds-calendar-cell-background-active** - The background color of the calendar cell when active (default: var(--dds-background-neutral-strong)) _(default: undefined)_\n- **--dds-calendar-cell-selected-background** - The background color of the selected calendar cell (default: var(--dds-button-primary-background-enabled)) _(default: undefined)_\n- **--dds-calendar-cell-selected-color** - The text color of the selected calendar cell (default: var(--dds-button-primary-text-enabled)) _(default: undefined)_\n- **--dds-calendar-cell-selected-background-hover** - The background color of the selected calendar cell on hover (default: var(--dds-button-primary-background-hover)) _(default: undefined)_\n- **--dds-calendar-cell-selected-background-pressed** - The background color of the selected calendar cell when pressed (default: var(--dds-button-primary-background-pressed)) _(default: undefined)_\n- **--dds-calendar-cell-selected-today-mark-background** - The background color of the today mark in selected calendar cell (default: var(--dds-text-neutral-on-inverted)) _(default: undefined)_\n- **--dds-calendar-cell-disabled-color** - The text color of the disabled calendar cell (default: var(--dds-text-neutral-disabled)) _(default: undefined)_\n- **--dds-calendar-cell-disabled-cursor** - The cursor style of the disabled calendar cell (default: not-allowed) _(default: undefined)_\n- **--dds-calendar-cell-out-of-range-color** - The text color of the out-of-range calendar cell (default: var(--dds-text-neutral-placeholder)) _(default: undefined)_\n- **--dds-calendar-cell-today-font-weight** - The font weight of the today calendar cell (default: var(--dds-font-weight-bold)) _(default: undefined)_\n- **--dds-calendar-cell-header-background** - The background color of the header calendar cell (default: transparent) _(default: undefined)_\n- **--dds-calendar-cell-header-color** - The text color of the header calendar cell (default: var(--dds-text-neutral-base)) _(default: undefined)_\n- **--dds-calendar-cell-header-text-transform** - The text transform of the header calendar cell (default: capitalize) _(default: undefined)_\n- **--dds-calendar-cell-header-cursor** - The cursor style of the header calendar cell (default: default) _(default: undefined)_\n- **--dds-calendar-cell-in-range-color** - The text color of the in-range calendar cell (default: var(--dds-button-primary-text-enabled)) _(default: undefined)_\n- **--dds-calendar-cell-in-range-background-hover** - The background color of the in-range calendar cell on hover (default: var(--dds-button-primary-background-hover)) _(default: undefined)_\n- **--dds-calendar-cell-in-range-background-pressed** - The background color of the in-range calendar cell when pressed (default: var(--dds-button-primary-background-pressed)) _(default: undefined)_\n- **--dds-calendar-cell-range-background** - The background color of the range start/end calendar cell (default: var(--dds-button-primary-background-enabled)) _(default: undefined)_\n- **--dds-calendar-cell-range-color** - The text color of the range start/end calendar cell (default: var(--dds-button-primary-text-enabled)) _(default: undefined)_\n- **--dds-calendar-cell-range-today-mark-background** - The background color of the today mark in range start/end calendar cell (default: var(--dds-text-neutral-on-inverted)) _(default: undefined)_\n- **--dds-calendar-cell-today-mark-bottom** - The bottom position of the today mark (default: var(--dds-spacing-100)) _(default: undefined)_\n- **--dds-calendar-cell-today-mark-width** - The width of the today mark (default: 5px) _(default: undefined)_\n- **--dds-calendar-cell-today-mark-height** - The height of the today mark (default: 5px) _(default: undefined)_\n- **--dds-calendar-cell-today-mark-stroke** - The stroke color of the today mark (default: var(--dds-border-neutral-transparent)) _(default: undefined)_\n- **--dds-calendar-cell-today-mark-background** - The background color of the today mark (default: var(--dds-background-neutral-medium-inverted)) _(default: undefined)_\n- **--dds-calendar-cell-today-mark-fill** - The fill color of the today mark (default: var(--dds-background-neutral-medium-inverted)) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main calendar cell container.\n- **today-mark** - The today mark of the calendar cell.",
|
|
948
|
+
"doc-url": "",
|
|
949
|
+
"attributes": [
|
|
950
|
+
{
|
|
951
|
+
"name": "selected",
|
|
952
|
+
"description": "Whether the calendar cell is selected.",
|
|
953
|
+
"value": { "type": "boolean", "default": "false" }
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"name": "disabledDay",
|
|
957
|
+
"description": "Whether the calendar cell is disabled.",
|
|
958
|
+
"value": { "type": "boolean", "default": "false" }
|
|
959
|
+
},
|
|
906
960
|
{
|
|
907
961
|
"name": "today",
|
|
908
962
|
"description": "Whether the calendar cell is today.",
|
|
@@ -1133,60 +1187,6 @@
|
|
|
1133
1187
|
]
|
|
1134
1188
|
}
|
|
1135
1189
|
},
|
|
1136
|
-
{
|
|
1137
|
-
"name": "dap-ds-button-group-separator",
|
|
1138
|
-
"description": "A visual divider between items in a button group.\n---\n\n\n### **CSS Properties:**\n - **--dds-button-group-separator-color** - Color of the separator line (default: var(--dds-border-neutral-divider)) _(default: undefined)_\n- **--dds-button-group-separator-size** - Thickness of the separator line (default: var(--dds-border-width-base)) _(default: undefined)_",
|
|
1139
|
-
"doc-url": "",
|
|
1140
|
-
"attributes": [],
|
|
1141
|
-
"events": [],
|
|
1142
|
-
"js": { "properties": [], "events": [] }
|
|
1143
|
-
},
|
|
1144
|
-
{
|
|
1145
|
-
"name": "dap-ds-button-group-text",
|
|
1146
|
-
"description": "Non-interactive text displayed inside a button group.\n---\n\n\n### **Slots:**\n - _default_ - The text content. Can also hold an icon or a `<label>` for a grouped input.\n\n### **CSS Properties:**\n - **--dds-button-group-text-background** - Background color (default: var(--dds-background-neutral-subtle)) _(default: undefined)_\n- **--dds-button-group-text-border-color** - Border color (default: var(--dds-border-neutral-subtle)) _(default: undefined)_\n- **--dds-button-group-text-color** - Text color (default: var(--dds-text-neutral-strong)) _(default: undefined)_\n- **--dds-button-group-text-padding-x** - Horizontal padding (default: var(--dds-spacing-300)) _(default: undefined)_\n- **--dds-button-group-text-border-radius** - Corner radius outside a group (default: var(--dds-radius-rounded)) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The text container.",
|
|
1147
|
-
"doc-url": "",
|
|
1148
|
-
"attributes": [],
|
|
1149
|
-
"slots": [
|
|
1150
|
-
{
|
|
1151
|
-
"name": "",
|
|
1152
|
-
"description": "The text content. Can also hold an icon or a `<label>` for a grouped input."
|
|
1153
|
-
}
|
|
1154
|
-
],
|
|
1155
|
-
"events": [],
|
|
1156
|
-
"js": { "properties": [], "events": [] }
|
|
1157
|
-
},
|
|
1158
|
-
{
|
|
1159
|
-
"name": "dap-ds-button-group",
|
|
1160
|
-
"description": "A container that groups related buttons with consistent, connected styling.\n---\n\n\n### **Slots:**\n - _default_ - The grouped items: `dap-ds-button`, `dap-ds-icon-button`, `dap-ds-button-group-text`, `dap-ds-button-group-separator` or nested `dap-ds-button-group` elements.\n\n### **CSS Properties:**\n - **--dds-button-group-gap** - Spacing between nested button groups (default: var(--dds-spacing-200)) _(default: undefined)_\n- **--dds-button-group-overlap** - How much adjacent items overlap so their borders collapse into one (default: var(--dds-border-width-large)) _(default: undefined)_\n- **--dds-button-group-start-start-radius** - Set on grouped items to square off their start-start corner. Read by `dap-ds-button`, `dap-ds-icon-button` and `dap-ds-button-group-text`. _(default: undefined)_\n- **--dds-button-group-start-end-radius** - Set on grouped items to square off their start-end corner. _(default: undefined)_\n- **--dds-button-group-end-start-radius** - Set on grouped items to square off their end-start corner. _(default: undefined)_\n- **--dds-button-group-end-end-radius** - Set on grouped items to square off their end-end corner. _(default: undefined)_",
|
|
1161
|
-
"doc-url": "",
|
|
1162
|
-
"attributes": [
|
|
1163
|
-
{
|
|
1164
|
-
"name": "orientation",
|
|
1165
|
-
"description": "The layout direction of the group",
|
|
1166
|
-
"value": {
|
|
1167
|
-
"type": "ButtonGroupOrientation",
|
|
1168
|
-
"default": "'horizontal'"
|
|
1169
|
-
}
|
|
1170
|
-
}
|
|
1171
|
-
],
|
|
1172
|
-
"slots": [
|
|
1173
|
-
{
|
|
1174
|
-
"name": "",
|
|
1175
|
-
"description": "The grouped items: `dap-ds-button`, `dap-ds-icon-button`, `dap-ds-button-group-text`, `dap-ds-button-group-separator` or nested `dap-ds-button-group` elements."
|
|
1176
|
-
}
|
|
1177
|
-
],
|
|
1178
|
-
"events": [],
|
|
1179
|
-
"js": {
|
|
1180
|
-
"properties": [
|
|
1181
|
-
{
|
|
1182
|
-
"name": "orientation",
|
|
1183
|
-
"description": "The layout direction of the group",
|
|
1184
|
-
"type": "ButtonGroupOrientation"
|
|
1185
|
-
}
|
|
1186
|
-
],
|
|
1187
|
-
"events": []
|
|
1188
|
-
}
|
|
1189
|
-
},
|
|
1190
1190
|
{
|
|
1191
1191
|
"name": "dap-ds-callout",
|
|
1192
1192
|
"description": "`dap-ds-callout` is a custom callout component.\n---\n\n\n### **Events:**\n - **dds-close** - Fired when the close button is clicked.\n\n### **Slots:**\n - _default_ - The content of the callout.\n- **title** - The title of the callout.\n- **icon** - The icon of the callout.\n- **actions** - The actions of the callout.\n- **close** - The close button of the callout.\n\n### **CSS Properties:**\n - **--dds-callout-padding** - Padding of the callout content. (default: var(--dds-spacing-300)) _(default: undefined)_\n- **--dds-callout-gap** - Gap between elements in horizontal layout. (default: var(--dds-spacing-300)) _(default: undefined)_\n- **--dds-callout-icon-size** - Size of the icon. (default: var(--dds-spacing-600)) _(default: undefined)_\n- **--dds-callout-title-color** - Color of the title text. (default: var(--dds-text-neutral-strong)) _(default: undefined)_\n- **--dds-callout-description-color** - Color of the description text. (default: var(--dds-text-neutral-base)) _(default: undefined)_\n- **--dds-callout-title-font-size** - Font size of the title. (default: var(--dds-font-base)) _(default: undefined)_\n- **--dds-callout-description-font-size** - Font size of the description. (default: var(--dds-font-base)) _(default: undefined)_\n- **--dds-callout-title-font-weight** - Font weight of the title. (default: var(--dds-font-weight-bold)) _(default: undefined)_\n- **--dds-callout-description-font-weight** - Font weight of the description. (default: var(--dds-font-weight-medium)) _(default: undefined)_\n- **--dds-callout-actions-font-weight** - Font weight of the actions. (default: var(--dds-font-weight-bold)) _(default: undefined)_\n- **--dds-callout-actions-gap** - Gap between action items. (default: var(--dds-spacing-400)) _(default: undefined)_\n- **--dds-callout-content-gap** - Gap between content elements. (default: var(--dds-spacing-100)) _(default: undefined)_\n- **--dds-callout-border-radius** - Border radius of the callout. (default: var(--dds-radius-base)) _(default: undefined)_\n- **--dds-callout-brand-background** - Brand variant background color. (default: var(--dds-background-brand-base)) _(default: undefined)_\n- **--dds-callout-brand-background-subtle** - Brand variant subtle background color. (default: var(--dds-background-brand-subtle)) _(default: undefined)_\n- **--dds-callout-brand-background-medium** - Brand variant medium background color. (default: var(--dds-background-brand-medium)) _(default: undefined)_\n- **--dds-callout-brand-background-strong** - Brand variant strong background color. (default: var(--dds-background-brand-strong)) _(default: undefined)_\n- **--dds-callout-brand-icon** - Brand variant icon color. (default: var(--dds-icon-brand-subtle)) _(default: undefined)_\n- **--dds-callout-brand-border** - Brand variant border color. (default: var(--dds-border-brand-subtle)) _(default: undefined)_\n- **--dds-callout-info-background** - Info variant background color. (default: var(--dds-background-informative-base)) _(default: undefined)_\n- **--dds-callout-info-background-subtle** - Info variant subtle background color. (default: var(--dds-background-informative-subtle)) _(default: undefined)_\n- **--dds-callout-info-background-medium** - Info variant medium background color. (default: var(--dds-background-informative-medium)) _(default: undefined)_\n- **--dds-callout-info-background-strong** - Info variant strong background color. (default: var(--dds-background-informative-strong)) _(default: undefined)_\n- **--dds-callout-info-icon** - Info variant icon color. (default: var(--dds-icon-informative-subtle)) _(default: undefined)_\n- **--dds-callout-info-border** - Info variant border color. (default: var(--dds-border-informative-subtle)) _(default: undefined)_\n- **--dds-callout-positive-background** - Positive variant background color. (default: var(--dds-background-positive-base)) _(default: undefined)_\n- **--dds-callout-positive-background-subtle** - Positive variant subtle background color. (default: var(--dds-background-positive-subtle)) _(default: undefined)_\n- **--dds-callout-positive-background-medium** - Positive variant medium background color. (default: var(--dds-background-positive-medium)) _(default: undefined)_\n- **--dds-callout-positive-background-strong** - Positive variant strong background color. (default: var(--dds-background-positive-strong)) _(default: undefined)_\n- **--dds-callout-positive-icon** - Positive variant icon color. (default: var(--dds-icon-positive-subtle)) _(default: undefined)_\n- **--dds-callout-positive-border** - Positive variant border color. (default: var(--dds-border-positive-subtle)) _(default: undefined)_\n- **--dds-callout-warning-background** - Warning variant background color. (default: var(--dds-background-warning-base)) _(default: undefined)_\n- **--dds-callout-warning-background-subtle** - Warning variant subtle background color. (default: var(--dds-background-warning-subtle)) _(default: undefined)_\n- **--dds-callout-warning-background-medium** - Warning variant medium background color. (default: var(--dds-background-warning-medium)) _(default: undefined)_\n- **--dds-callout-warning-background-strong** - Warning variant strong background color. (default: var(--dds-background-warning-strong)) _(default: undefined)_\n- **--dds-callout-warning-icon** - Warning variant icon color. (default: var(--dds-icon-neutral-strong)) _(default: undefined)_\n- **--dds-callout-warning-border** - Warning variant border color. (default: var(--dds-border-warning-subtle)) _(default: undefined)_\n- **--dds-callout-negative-background** - Negative variant background color. (default: var(--dds-background-negative-base)) _(default: undefined)_\n- **--dds-callout-negative-background-subtle** - Negative variant subtle background color. (default: var(--dds-background-negative-subtle)) _(default: undefined)_\n- **--dds-callout-negative-background-medium** - Negative variant medium background color. (default: var(--dds-background-negative-medium)) _(default: undefined)_\n- **--dds-callout-negative-background-strong** - Negative variant strong background color. (default: var(--dds-background-negative-strong)) _(default: undefined)_\n- **--dds-callout-negative-icon** - Negative variant icon color. (default: var(--dds-icon-negative-subtle)) _(default: undefined)_\n- **--dds-callout-negative-border** - Negative variant border color. (default: var(--dds-border-negative-subtle)) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main callout container.\n- **content** - The content of the callout.\n- **card-content** - The content of the card.\n- **icon** - The icon of the callout.\n- **title** - The title of the callout.\n- **description** - The description of the callout.\n- **actions** - The actions of the callout.\n- **close** - The close button of the callout.\n- **icon-base** - The base of the icon.",
|
|
@@ -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).",
|
|
@@ -5379,6 +5389,73 @@
|
|
|
5379
5389
|
]
|
|
5380
5390
|
}
|
|
5381
5391
|
},
|
|
5392
|
+
{
|
|
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.",
|
|
5395
|
+
"doc-url": "",
|
|
5396
|
+
"attributes": [],
|
|
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
|
+
},
|
|
5382
5459
|
{
|
|
5383
5460
|
"name": "dap-ds-input",
|
|
5384
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.",
|
|
@@ -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": "
|
|
6261
|
-
},
|
|
6262
|
-
{
|
|
6263
|
-
"name": "opened",
|
|
6264
|
-
"description": "The open state of the popup. Default is false.",
|
|
6265
|
-
"value": { "type": "boolean", "default": "false" }
|
|
6266
|
-
},
|
|
6267
|
-
{
|
|
6268
|
-
"name": "placement",
|
|
6269
|
-
"description": "The placement of the popup (automatically adjusted based on nesting level). Default is 'bottom-start'.",
|
|
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
|
-
}
|
|
6274
|
-
},
|
|
6275
|
-
{
|
|
6276
|
-
"name": "floatingStrategy",
|
|
6277
|
-
"description": "The floating strategy of the popup. Default is 'fixed'.",
|
|
6278
|
-
"value": { "type": "'absolute' | 'fixed'", "default": "'fixed'" }
|
|
6279
|
-
},
|
|
6280
|
-
{
|
|
6281
|
-
"name": "offset",
|
|
6282
|
-
"description": "The offset of the popup. Default is 0.",
|
|
6283
|
-
"value": { "type": "number", "default": "0" }
|
|
6284
|
-
},
|
|
6285
|
-
{
|
|
6286
|
-
"name": "sync",
|
|
6287
|
-
"description": "Whether the popup should sync its width with the trigger. Default is false.",
|
|
6288
|
-
"value": { "type": "boolean", "default": "false" }
|
|
6289
|
-
},
|
|
6290
|
-
{
|
|
6291
|
-
"name": "maxHeight",
|
|
6292
|
-
"description": "The maximum height of the popup. Default is 250.",
|
|
6293
|
-
"value": { "type": "number | 'auto'", "default": "250" }
|
|
6294
|
-
},
|
|
6295
|
-
{
|
|
6296
|
-
"name": "maxWidth",
|
|
6297
|
-
"description": "The maximum width of the popup. Default is 'auto'.",
|
|
6298
|
-
"value": { "type": "number | 'auto'", "default": "'auto'" }
|
|
6299
|
-
},
|
|
6300
|
-
{
|
|
6301
|
-
"name": "hasArrow",
|
|
6302
|
-
"description": "Whether the popup has an arrow. Default is false.",
|
|
6303
|
-
"value": { "type": "boolean", "default": "false" }
|
|
6304
|
-
},
|
|
6305
|
-
{
|
|
6306
|
-
"name": "overflow",
|
|
6307
|
-
"description": "Whether the popup should overflow. Default is true.",
|
|
6308
|
-
"value": { "type": "boolean", "default": "true" }
|
|
6309
|
-
},
|
|
6310
|
-
{
|
|
6311
|
-
"name": "fullWidth",
|
|
6312
|
-
"description": "Whether the popup should take full width of the screen. Default is false.",
|
|
6313
|
-
"value": { "type": "boolean", "default": "false" }
|
|
6268
|
+
"name": "thousandSeparator",
|
|
6269
|
+
"description": "The thousand separator of the input.",
|
|
6270
|
+
"value": { "type": "string", "default": "''" }
|
|
6314
6271
|
},
|
|
6315
6272
|
{
|
|
6316
|
-
"name": "
|
|
6317
|
-
"description": "The
|
|
6318
|
-
"value": { "type": "string" }
|
|
6273
|
+
"name": "decimalSeparator",
|
|
6274
|
+
"description": "The decimal separator of the input.",
|
|
6275
|
+
"value": { "type": "string", "default": "','" }
|
|
6319
6276
|
},
|
|
6320
6277
|
{
|
|
6321
|
-
"name": "
|
|
6322
|
-
"description": "The
|
|
6323
|
-
"value": { "type": "
|
|
6278
|
+
"name": "decimalScale",
|
|
6279
|
+
"description": "The decimal scale of the input.",
|
|
6280
|
+
"value": { "type": "number" }
|
|
6324
6281
|
},
|
|
6325
6282
|
{
|
|
6326
|
-
"name": "
|
|
6327
|
-
"description": "The
|
|
6328
|
-
"value": { "type": "string" }
|
|
6283
|
+
"name": "allowNegative",
|
|
6284
|
+
"description": "The allow negative state of the input.",
|
|
6285
|
+
"value": { "type": "string", "default": "'true'" }
|
|
6329
6286
|
},
|
|
6330
6287
|
{
|
|
6331
|
-
"name": "
|
|
6332
|
-
"description": "The
|
|
6333
|
-
"value": { "type": "string" }
|
|
6288
|
+
"name": "allowDecimal",
|
|
6289
|
+
"description": "The allow decimal state of the input.",
|
|
6290
|
+
"value": { "type": "string", "default": "'true'" }
|
|
6334
6291
|
},
|
|
6335
6292
|
{
|
|
6336
|
-
"name": "
|
|
6337
|
-
"description": "
|
|
6293
|
+
"name": "hideControls",
|
|
6294
|
+
"description": "Hides the increment and decrement buttons.",
|
|
6338
6295
|
"value": { "type": "boolean", "default": "false" }
|
|
6339
6296
|
},
|
|
6340
6297
|
{
|
|
6341
|
-
"name": "
|
|
6342
|
-
"description": "The
|
|
6343
|
-
"value": { "type": "
|
|
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" }
|
|
6298
|
+
"name": "padStart",
|
|
6299
|
+
"description": "The number of leading zeros to add to the input.",
|
|
6300
|
+
"value": { "type": "number" }
|
|
6364
6301
|
},
|
|
6365
6302
|
{
|
|
6366
|
-
"name": "
|
|
6367
|
-
"description": "
|
|
6303
|
+
"name": "decrementButtonTestId",
|
|
6304
|
+
"description": "`data-testid` for the decrement stepper button.",
|
|
6368
6305
|
"value": {
|
|
6369
|
-
"type": "
|
|
6370
|
-
"default": "'
|
|
6306
|
+
"type": "string",
|
|
6307
|
+
"default": "'number-input-decrement-button'"
|
|
6371
6308
|
}
|
|
6372
6309
|
},
|
|
6373
6310
|
{
|
|
6374
|
-
"name": "
|
|
6375
|
-
"description": "
|
|
6376
|
-
"value": { "type": "'group' | 'items'", "default": "'group'" }
|
|
6377
|
-
},
|
|
6378
|
-
{
|
|
6379
|
-
"name": "triggerButtonTestId",
|
|
6380
|
-
"description": "`data-testid` for the default menu trigger button.",
|
|
6311
|
+
"name": "incrementButtonTestId",
|
|
6312
|
+
"description": "`data-testid` for the increment stepper button.",
|
|
6381
6313
|
"value": {
|
|
6382
6314
|
"type": "string",
|
|
6383
|
-
"default": "'
|
|
6315
|
+
"default": "'number-input-increment-button'"
|
|
6384
6316
|
}
|
|
6385
6317
|
}
|
|
6386
6318
|
],
|
|
6387
6319
|
"slots": [
|
|
6388
6320
|
{
|
|
6389
|
-
"name": "
|
|
6390
|
-
"description": "The
|
|
6391
|
-
}
|
|
6321
|
+
"name": "feedback-icon",
|
|
6322
|
+
"description": "The custom icon of the feedback."
|
|
6323
|
+
}
|
|
6324
|
+
],
|
|
6325
|
+
"events": [
|
|
6392
6326
|
{
|
|
6393
|
-
"name": "
|
|
6394
|
-
"
|
|
6327
|
+
"name": "dds-change",
|
|
6328
|
+
"type": "{ value: string }",
|
|
6329
|
+
"description": "Fired when the input value changes."
|
|
6395
6330
|
},
|
|
6396
6331
|
{
|
|
6397
|
-
"name": "
|
|
6398
|
-
"
|
|
6332
|
+
"name": "dds-input",
|
|
6333
|
+
"type": "{ value: string }",
|
|
6334
|
+
"description": "Fired when the input value changes."
|
|
6399
6335
|
},
|
|
6400
6336
|
{
|
|
6401
|
-
"name": "
|
|
6402
|
-
"
|
|
6337
|
+
"name": "dds-keydown",
|
|
6338
|
+
"type": "{ value: string, originalEvent: Event }",
|
|
6339
|
+
"description": "Fired when a key is pressed down."
|
|
6403
6340
|
},
|
|
6404
6341
|
{
|
|
6405
|
-
"name": "",
|
|
6406
|
-
"
|
|
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
|
|
6428
|
+
"name": "tooltipPlacement",
|
|
6429
|
+
"description": "The tooltip placement of the input.",
|
|
6430
|
+
"type": "'top' | 'right' | 'bottom' | 'left'"
|
|
6431
|
+
},
|
|
6432
|
+
{
|
|
6433
|
+
"name": "status",
|
|
6434
|
+
"description": "The status of the input. Can be `success` or `error`.",
|
|
6435
|
+
"type": "'success' | 'error'"
|
|
6436
|
+
},
|
|
6437
|
+
{
|
|
6438
|
+
"name": "size",
|
|
6439
|
+
"description": "The size of the input. Default is `sm`. Can be `sm` or `lg`.",
|
|
6440
|
+
"type": "'xs' | 'sm' | 'sm'"
|
|
6441
|
+
},
|
|
6442
|
+
{
|
|
6443
|
+
"name": "name",
|
|
6444
|
+
"description": "The name of the input.",
|
|
6497
6445
|
"type": "string"
|
|
6498
6446
|
},
|
|
6499
6447
|
{
|
|
6500
|
-
"name": "
|
|
6501
|
-
"description": "
|
|
6448
|
+
"name": "value",
|
|
6449
|
+
"description": "The value of the input.",
|
|
6450
|
+
"type": "string"
|
|
6451
|
+
},
|
|
6452
|
+
{
|
|
6453
|
+
"name": "disabled",
|
|
6454
|
+
"description": "The disabled state of the input. Default is false.",
|
|
6455
|
+
"type": "boolean"
|
|
6456
|
+
},
|
|
6457
|
+
{
|
|
6458
|
+
"name": "required",
|
|
6459
|
+
"description": "The required state of the input. Default is false.",
|
|
6460
|
+
"type": "boolean"
|
|
6461
|
+
},
|
|
6462
|
+
{
|
|
6463
|
+
"name": "readonly",
|
|
6464
|
+
"description": "The readonly state of the input. Default is false.",
|
|
6465
|
+
"type": "boolean"
|
|
6466
|
+
},
|
|
6467
|
+
{
|
|
6468
|
+
"name": "autofocus",
|
|
6469
|
+
"description": "The autofocus state of the input. Default is false.",
|
|
6502
6470
|
"type": "boolean"
|
|
6503
6471
|
},
|
|
6504
6472
|
{
|
|
6505
|
-
"name": "
|
|
6506
|
-
"description": "The
|
|
6507
|
-
"type": "
|
|
6473
|
+
"name": "min",
|
|
6474
|
+
"description": "The minimum value of the number input.",
|
|
6475
|
+
"type": "number"
|
|
6508
6476
|
},
|
|
6509
6477
|
{
|
|
6510
|
-
"name": "
|
|
6511
|
-
"description": "The
|
|
6512
|
-
"type": "
|
|
6478
|
+
"name": "max",
|
|
6479
|
+
"description": "The maximum value of the number input.",
|
|
6480
|
+
"type": "number"
|
|
6513
6481
|
},
|
|
6514
6482
|
{
|
|
6515
|
-
"name": "
|
|
6516
|
-
"description": "The
|
|
6517
|
-
"type": "
|
|
6483
|
+
"name": "step",
|
|
6484
|
+
"description": "The step value of the number input.",
|
|
6485
|
+
"type": "number"
|
|
6518
6486
|
},
|
|
6519
6487
|
{
|
|
6520
|
-
"name": "
|
|
6521
|
-
"description": "The
|
|
6488
|
+
"name": "feedback",
|
|
6489
|
+
"description": "The feedback of the input.",
|
|
6522
6490
|
"type": "string"
|
|
6523
6491
|
},
|
|
6524
6492
|
{
|
|
6525
|
-
"name": "
|
|
6526
|
-
"description": "The
|
|
6527
|
-
"type": "
|
|
6493
|
+
"name": "feedbackType",
|
|
6494
|
+
"description": "The feedback type of the input. Can be `negative`, `positive`, or `warning`.",
|
|
6495
|
+
"type": "'negative' | 'positive' | 'warning'"
|
|
6528
6496
|
},
|
|
6529
6497
|
{
|
|
6530
|
-
"name": "
|
|
6531
|
-
"description": "The
|
|
6532
|
-
"type": "
|
|
6498
|
+
"name": "loading",
|
|
6499
|
+
"description": "The loading state of the input. Default is false.",
|
|
6500
|
+
"type": "boolean"
|
|
6533
6501
|
},
|
|
6534
6502
|
{
|
|
6535
|
-
"name": "
|
|
6536
|
-
"description": "
|
|
6537
|
-
"type": "
|
|
6503
|
+
"name": "optional",
|
|
6504
|
+
"description": "The optional state of the input.",
|
|
6505
|
+
"type": "boolean"
|
|
6538
6506
|
},
|
|
6539
6507
|
{
|
|
6540
|
-
"name": "
|
|
6541
|
-
"description": "
|
|
6508
|
+
"name": "optionalLabel",
|
|
6509
|
+
"description": "The optional label of the input.",
|
|
6542
6510
|
"type": "string"
|
|
6543
6511
|
},
|
|
6544
|
-
{ "name": "hasContent", "type": "boolean" },
|
|
6545
6512
|
{
|
|
6546
|
-
"name": "
|
|
6547
|
-
"description": "
|
|
6548
|
-
"type": "
|
|
6513
|
+
"name": "requiredLabel",
|
|
6514
|
+
"description": "The required indicator of the input. (default: '*')",
|
|
6515
|
+
"type": "string"
|
|
6549
6516
|
},
|
|
6550
6517
|
{
|
|
6551
|
-
"name": "
|
|
6552
|
-
"description": "The
|
|
6553
|
-
"type": "
|
|
6518
|
+
"name": "subtle",
|
|
6519
|
+
"description": "The weight of the label. Default is `false`",
|
|
6520
|
+
"type": "boolean"
|
|
6554
6521
|
},
|
|
6555
6522
|
{
|
|
6556
|
-
"name": "
|
|
6557
|
-
"description": "
|
|
6558
|
-
"type": "
|
|
6523
|
+
"name": "disableEnter",
|
|
6524
|
+
"description": "Disables the enter key from being used to submit the form.",
|
|
6525
|
+
"type": "boolean"
|
|
6559
6526
|
}
|
|
6560
6527
|
],
|
|
6561
6528
|
"events": [
|
|
6562
6529
|
{
|
|
6563
|
-
"name": "dds-
|
|
6564
|
-
"type": "{
|
|
6565
|
-
"description": "Fired when
|
|
6566
|
-
},
|
|
6567
|
-
{
|
|
6568
|
-
"name": "dds-navigation-dropdown-open",
|
|
6569
|
-
"type": "{ item: DapDSNavigationMenuItem }",
|
|
6570
|
-
"description": "Fired when a navigation dropdown is opened."
|
|
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": [
|
|
6621
|
-
{
|
|
6622
|
-
"name": "activeHref",
|
|
6623
|
-
"description": "The currently active href for highlighting active navigation items with aria-current=\"page\". Defaults to window.location.pathname if not provided.",
|
|
6624
|
-
"type": "string"
|
|
6530
|
+
"name": "dds-change",
|
|
6531
|
+
"type": "{ value: string }",
|
|
6532
|
+
"description": "Fired when the input value changes."
|
|
6625
6533
|
},
|
|
6626
6534
|
{
|
|
6627
|
-
"name": "
|
|
6628
|
-
"
|
|
6629
|
-
"
|
|
6535
|
+
"name": "dds-input",
|
|
6536
|
+
"type": "{ value: string }",
|
|
6537
|
+
"description": "Fired when the input value changes."
|
|
6630
6538
|
},
|
|
6631
6539
|
{
|
|
6632
|
-
"name": "
|
|
6633
|
-
"
|
|
6634
|
-
"
|
|
6540
|
+
"name": "dds-keydown",
|
|
6541
|
+
"type": "{ value: string, originalEvent: Event }",
|
|
6542
|
+
"description": "Fired when a key is pressed down."
|
|
6635
6543
|
},
|
|
6636
6544
|
{
|
|
6637
|
-
"name": "
|
|
6638
|
-
"
|
|
6639
|
-
"
|
|
6545
|
+
"name": "dds-blur",
|
|
6546
|
+
"type": "{ void }",
|
|
6547
|
+
"description": "Fired when the input loses focus."
|
|
6640
6548
|
},
|
|
6641
6549
|
{
|
|
6642
|
-
"name": "
|
|
6643
|
-
"
|
|
6644
|
-
"
|
|
6645
|
-
}
|
|
6646
|
-
],
|
|
6647
|
-
"events": [
|
|
6648
|
-
{
|
|
6649
|
-
"name": "dds-navigation-item-click",
|
|
6650
|
-
"type": "{ href: string, event: Event }",
|
|
6651
|
-
"description": "Fired when a navigation item is clicked."
|
|
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
|
+
}
|
|
6694
|
+
},
|
|
6695
|
+
{
|
|
6696
|
+
"name": "floatingStrategy",
|
|
6697
|
+
"description": "The floating strategy of the popup. Default is 'fixed'.",
|
|
6698
|
+
"value": { "type": "'absolute' | 'fixed'", "default": "'fixed'" }
|
|
6699
|
+
},
|
|
6700
|
+
{
|
|
6701
|
+
"name": "offset",
|
|
6702
|
+
"description": "The offset of the popup. Default is 0.",
|
|
6703
|
+
"value": { "type": "number", "default": "0" }
|
|
6704
|
+
},
|
|
6705
|
+
{
|
|
6706
|
+
"name": "sync",
|
|
6707
|
+
"description": "Whether the popup should sync its width with the trigger. Default is false.",
|
|
6708
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6709
|
+
},
|
|
6710
|
+
{
|
|
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" }
|
|
6790
6764
|
},
|
|
6791
6765
|
{
|
|
6792
|
-
"name": "
|
|
6793
|
-
"description": "The
|
|
6794
|
-
"value": { "type": "
|
|
6766
|
+
"name": "target",
|
|
6767
|
+
"description": "The target attribute for link navigation.",
|
|
6768
|
+
"value": { "type": "'_blank' | '_self' | '_parent' | '_top'" }
|
|
6795
6769
|
},
|
|
6796
6770
|
{
|
|
6797
|
-
"name": "
|
|
6798
|
-
"description": "The
|
|
6799
|
-
"value": { "type": "string"
|
|
6771
|
+
"name": "rel",
|
|
6772
|
+
"description": "The rel attribute for link security and behavior.",
|
|
6773
|
+
"value": { "type": "string" }
|
|
6800
6774
|
},
|
|
6801
6775
|
{
|
|
6802
|
-
"name": "
|
|
6803
|
-
"description": "
|
|
6804
|
-
"value": { "type": "
|
|
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" }
|
|
6805
6779
|
},
|
|
6806
6780
|
{
|
|
6807
|
-
"name": "
|
|
6808
|
-
"description": "The
|
|
6809
|
-
"value": { "type": "number" }
|
|
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"
|
|
6897
|
-
},
|
|
6898
|
-
{
|
|
6899
|
-
"name": "decrementButtonTestId",
|
|
6900
|
-
"description": "`data-testid` for the decrement stepper button.",
|
|
6901
|
-
"type": "string"
|
|
6875
|
+
"name": "maxHeight",
|
|
6876
|
+
"description": "The maximum height of the popup. Default is 250.",
|
|
6877
|
+
"type": "number | 'auto'"
|
|
6902
6878
|
},
|
|
6903
6879
|
{
|
|
6904
|
-
"name": "
|
|
6905
|
-
"description": "
|
|
6906
|
-
"type": "
|
|
6880
|
+
"name": "maxWidth",
|
|
6881
|
+
"description": "The maximum width of the popup. Default is 'auto'.",
|
|
6882
|
+
"type": "number | 'auto'"
|
|
6907
6883
|
},
|
|
6908
|
-
{ "name": "_thousandSeparator" },
|
|
6909
|
-
{ "name": "manualValueSet", "type": "boolean" },
|
|
6910
|
-
{ "name": "type", "type": "string" },
|
|
6911
6884
|
{
|
|
6912
|
-
"name": "
|
|
6913
|
-
"description": "
|
|
6914
|
-
"type": "
|
|
6885
|
+
"name": "hasArrow",
|
|
6886
|
+
"description": "Whether the popup has an arrow. Default is false.",
|
|
6887
|
+
"type": "boolean"
|
|
6915
6888
|
},
|
|
6916
6889
|
{
|
|
6917
|
-
"name": "
|
|
6918
|
-
"description": "
|
|
6890
|
+
"name": "overflow",
|
|
6891
|
+
"description": "Whether the popup should overflow. Default is true.",
|
|
6919
6892
|
"type": "boolean"
|
|
6920
6893
|
},
|
|
6921
6894
|
{
|
|
6922
|
-
"name": "
|
|
6923
|
-
"description": "
|
|
6924
|
-
"type": "
|
|
6895
|
+
"name": "fullWidth",
|
|
6896
|
+
"description": "Whether the popup should take full width of the screen. Default is false.",
|
|
6897
|
+
"type": "boolean"
|
|
6925
6898
|
},
|
|
6926
6899
|
{
|
|
6927
|
-
"name": "
|
|
6928
|
-
"description": "The
|
|
6900
|
+
"name": "icon",
|
|
6901
|
+
"description": "The name of the icon to display in the trigger.",
|
|
6929
6902
|
"type": "string"
|
|
6930
6903
|
},
|
|
6931
6904
|
{
|
|
6932
|
-
"name": "
|
|
6933
|
-
"description": "The
|
|
6905
|
+
"name": "ariaLabelledBy",
|
|
6906
|
+
"description": "The name of the element that labels the navigation dropdown.",
|
|
6934
6907
|
"type": "string"
|
|
6935
6908
|
},
|
|
6936
6909
|
{
|
|
6937
|
-
"name": "
|
|
6938
|
-
"description": "The
|
|
6939
|
-
"type": "'top' | 'right' | 'bottom' | 'left'"
|
|
6940
|
-
},
|
|
6941
|
-
{
|
|
6942
|
-
"name": "status",
|
|
6943
|
-
"description": "The status of the input. Can be `success` or `error`.",
|
|
6944
|
-
"type": "'success' | 'error'"
|
|
6945
|
-
},
|
|
6946
|
-
{
|
|
6947
|
-
"name": "size",
|
|
6948
|
-
"description": "The size of the input. Default is `sm`. Can be `sm` or `lg`.",
|
|
6949
|
-
"type": "'xs' | 'sm' | 'sm'"
|
|
6950
|
-
},
|
|
6951
|
-
{
|
|
6952
|
-
"name": "name",
|
|
6953
|
-
"description": "The name of the input.",
|
|
6910
|
+
"name": "activeHref",
|
|
6911
|
+
"description": "The href of the navigation item that is active (receives aria-current=\"page\").",
|
|
6954
6912
|
"type": "string"
|
|
6955
6913
|
},
|
|
6956
6914
|
{
|
|
6957
|
-
"name": "
|
|
6958
|
-
"description": "The
|
|
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.",
|
|
6959
6917
|
"type": "string"
|
|
6960
6918
|
},
|
|
6961
6919
|
{
|
|
6962
|
-
"name": "
|
|
6963
|
-
"description": "
|
|
6964
|
-
"type": "boolean"
|
|
6965
|
-
},
|
|
6966
|
-
{
|
|
6967
|
-
"name": "required",
|
|
6968
|
-
"description": "The required state of the input. Default is false.",
|
|
6969
|
-
"type": "boolean"
|
|
6970
|
-
},
|
|
6971
|
-
{
|
|
6972
|
-
"name": "readonly",
|
|
6973
|
-
"description": "The readonly state of the input. Default is false.",
|
|
6974
|
-
"type": "boolean"
|
|
6975
|
-
},
|
|
6976
|
-
{
|
|
6977
|
-
"name": "autofocus",
|
|
6978
|
-
"description": "The autofocus state of the input. Default is false.",
|
|
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.",
|
|
6979
6922
|
"type": "boolean"
|
|
6980
6923
|
},
|
|
6981
6924
|
{
|
|
6982
|
-
"name": "
|
|
6983
|
-
"description": "The
|
|
6984
|
-
"type": "
|
|
6985
|
-
},
|
|
6986
|
-
{
|
|
6987
|
-
"name": "max",
|
|
6988
|
-
"description": "The maximum value of the number input.",
|
|
6989
|
-
"type": "number"
|
|
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"
|
|
6990
6928
|
},
|
|
6991
6929
|
{
|
|
6992
|
-
"name": "
|
|
6993
|
-
"description": "The
|
|
6994
|
-
"type": "
|
|
6930
|
+
"name": "target",
|
|
6931
|
+
"description": "The target attribute for link navigation.",
|
|
6932
|
+
"type": "'_blank' | '_self' | '_parent' | '_top'"
|
|
6995
6933
|
},
|
|
6996
6934
|
{
|
|
6997
|
-
"name": "
|
|
6998
|
-
"description": "The
|
|
6935
|
+
"name": "rel",
|
|
6936
|
+
"description": "The rel attribute for link security and behavior.",
|
|
6999
6937
|
"type": "string"
|
|
7000
6938
|
},
|
|
7001
6939
|
{
|
|
7002
|
-
"name": "
|
|
7003
|
-
"description": "The
|
|
7004
|
-
"type": "
|
|
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.",
|
|
6942
|
+
"type": "string"
|
|
7005
6943
|
},
|
|
7006
6944
|
{
|
|
7007
|
-
"name": "
|
|
7008
|
-
"description": "The
|
|
7009
|
-
"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"
|
|
7010
6948
|
},
|
|
7011
6949
|
{
|
|
7012
|
-
"name": "
|
|
7013
|
-
"description": "The
|
|
7014
|
-
"type": "
|
|
6950
|
+
"name": "orientation",
|
|
6951
|
+
"description": "The orientation of the parent navigation menu (automatically inherited). Default is 'horizontal'.",
|
|
6952
|
+
"type": "'horizontal' | 'vertical'"
|
|
7015
6953
|
},
|
|
7016
6954
|
{
|
|
7017
|
-
"name": "
|
|
7018
|
-
"description": "
|
|
7019
|
-
"type": "
|
|
6955
|
+
"name": "tabMode",
|
|
6956
|
+
"description": "Controls how Tab key navigates through top-level items. Default is 'group'.",
|
|
6957
|
+
"type": "'group' | 'items'"
|
|
7020
6958
|
},
|
|
7021
6959
|
{
|
|
7022
|
-
"name": "
|
|
7023
|
-
"description": "
|
|
6960
|
+
"name": "triggerButtonTestId",
|
|
6961
|
+
"description": "`data-testid` for the default menu trigger button.",
|
|
7024
6962
|
"type": "string"
|
|
7025
6963
|
},
|
|
6964
|
+
{ "name": "hasContent", "type": "boolean" },
|
|
7026
6965
|
{
|
|
7027
|
-
"name": "
|
|
7028
|
-
"description": "
|
|
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`.",
|
|
7029
6968
|
"type": "boolean"
|
|
7030
6969
|
},
|
|
7031
6970
|
{
|
|
7032
|
-
"name": "
|
|
7033
|
-
"description": "
|
|
7034
|
-
"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"
|
|
6974
|
+
},
|
|
6975
|
+
{
|
|
6976
|
+
"name": "size",
|
|
6977
|
+
"description": "The size of the popup. Default is 'sm'.",
|
|
6978
|
+
"type": "'xs' | 'sm' | 'lg'"
|
|
7035
6979
|
}
|
|
7036
6980
|
],
|
|
7037
6981
|
"events": [
|
|
7038
6982
|
{
|
|
7039
|
-
"name": "dds-
|
|
7040
|
-
"type": "{
|
|
7041
|
-
"description": "Fired when
|
|
6983
|
+
"name": "dds-navigation-item-click",
|
|
6984
|
+
"type": "{ href: string, event: Event }",
|
|
6985
|
+
"description": "Fired when a navigation item is clicked."
|
|
7042
6986
|
},
|
|
7043
6987
|
{
|
|
7044
|
-
"name": "dds-
|
|
7045
|
-
"type": "{
|
|
7046
|
-
"description": "Fired when
|
|
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.",
|
|
7044
|
+
"type": "string"
|
|
7047
7045
|
},
|
|
7048
7046
|
{
|
|
7049
|
-
"name": "
|
|
7050
|
-
"
|
|
7051
|
-
"
|
|
7047
|
+
"name": "orientation",
|
|
7048
|
+
"description": "The orientation of the navigation menu. Default is 'horizontal'.",
|
|
7049
|
+
"type": "'horizontal' | 'vertical'"
|
|
7052
7050
|
},
|
|
7053
7051
|
{
|
|
7054
|
-
"name": "
|
|
7055
|
-
"
|
|
7056
|
-
"
|
|
7052
|
+
"name": "fullWidth",
|
|
7053
|
+
"description": "Whether the navigation menu should take full width of the screen. Default is false.",
|
|
7054
|
+
"type": "boolean"
|
|
7057
7055
|
},
|
|
7058
7056
|
{
|
|
7059
|
-
"name": "
|
|
7060
|
-
"
|
|
7061
|
-
"
|
|
7057
|
+
"name": "allowMultipleOpen",
|
|
7058
|
+
"description": "Whether multiple dropdown branches can stay open simultaneously (accordion mode). Default is true.",
|
|
7059
|
+
"type": "boolean"
|
|
7060
|
+
},
|
|
7061
|
+
{
|
|
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'"
|
|
7065
|
+
}
|
|
7066
|
+
],
|
|
7067
|
+
"events": [
|
|
7068
|
+
{
|
|
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
|
}
|
|
@@ -7928,101 +7938,219 @@
|
|
|
7928
7938
|
"description": "Fired when the popup is opened."
|
|
7929
7939
|
},
|
|
7930
7940
|
{
|
|
7931
|
-
"name": "dds-closed",
|
|
7932
|
-
"type": "{ void }",
|
|
7933
|
-
"description": "Fired when the popup is closed."
|
|
7934
|
-
},
|
|
7941
|
+
"name": "dds-closed",
|
|
7942
|
+
"type": "{ void }",
|
|
7943
|
+
"description": "Fired when the popup is closed."
|
|
7944
|
+
},
|
|
7945
|
+
{
|
|
7946
|
+
"name": "dds-close",
|
|
7947
|
+
"type": "{ void }",
|
|
7948
|
+
"description": "Fired when the popup should be closed."
|
|
7949
|
+
}
|
|
7950
|
+
],
|
|
7951
|
+
"js": {
|
|
7952
|
+
"properties": [
|
|
7953
|
+
{
|
|
7954
|
+
"name": "size",
|
|
7955
|
+
"description": "The size of the popup.",
|
|
7956
|
+
"type": "'xs' | 'sm' | 'lg'"
|
|
7957
|
+
},
|
|
7958
|
+
{
|
|
7959
|
+
"name": "disabled",
|
|
7960
|
+
"description": "The disabled state of the popup.",
|
|
7961
|
+
"type": "boolean"
|
|
7962
|
+
},
|
|
7963
|
+
{
|
|
7964
|
+
"name": "opened",
|
|
7965
|
+
"description": "The open state of the popup.",
|
|
7966
|
+
"type": "boolean"
|
|
7967
|
+
},
|
|
7968
|
+
{
|
|
7969
|
+
"name": "placement",
|
|
7970
|
+
"description": "The placement of the popup.",
|
|
7971
|
+
"type": "'top' | 'right' | 'bottom' | 'left' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end'"
|
|
7972
|
+
},
|
|
7973
|
+
{
|
|
7974
|
+
"name": "floatingStrategy",
|
|
7975
|
+
"description": "The floating strategy of the popup.",
|
|
7976
|
+
"type": "'absolute' | 'fixed'"
|
|
7977
|
+
},
|
|
7978
|
+
{
|
|
7979
|
+
"name": "offset",
|
|
7980
|
+
"description": "The offset of the popup.",
|
|
7981
|
+
"type": "number"
|
|
7982
|
+
},
|
|
7983
|
+
{
|
|
7984
|
+
"name": "sync",
|
|
7985
|
+
"description": "Whether the popup should sync its width with the trigger.",
|
|
7986
|
+
"type": "boolean"
|
|
7987
|
+
},
|
|
7988
|
+
{
|
|
7989
|
+
"name": "maxHeight",
|
|
7990
|
+
"description": "The maximum height of the popup.",
|
|
7991
|
+
"type": "number | 'auto'"
|
|
7992
|
+
},
|
|
7993
|
+
{
|
|
7994
|
+
"name": "maxWidth",
|
|
7995
|
+
"description": "The maximum width of the popup.",
|
|
7996
|
+
"type": "number | 'auto'"
|
|
7997
|
+
},
|
|
7998
|
+
{
|
|
7999
|
+
"name": "hasArrow",
|
|
8000
|
+
"description": "Whether the popup has an arrow.",
|
|
8001
|
+
"type": "boolean"
|
|
8002
|
+
},
|
|
8003
|
+
{
|
|
8004
|
+
"name": "overflow",
|
|
8005
|
+
"description": "Whether the popup should overflow.",
|
|
8006
|
+
"type": "boolean"
|
|
8007
|
+
},
|
|
8008
|
+
{
|
|
8009
|
+
"name": "fullWidth",
|
|
8010
|
+
"description": "Whether the popup should take full width of the screen.",
|
|
8011
|
+
"type": "boolean"
|
|
8012
|
+
},
|
|
8013
|
+
{
|
|
8014
|
+
"name": "disableViewportAutoClose",
|
|
8015
|
+
"description": "Keep popup open when trigger leaves viewport.",
|
|
8016
|
+
"type": "boolean"
|
|
8017
|
+
}
|
|
8018
|
+
],
|
|
8019
|
+
"events": [
|
|
8020
|
+
{
|
|
8021
|
+
"name": "dds-opened",
|
|
8022
|
+
"type": "{ void }",
|
|
8023
|
+
"description": "Fired when the popup is opened."
|
|
8024
|
+
},
|
|
8025
|
+
{
|
|
8026
|
+
"name": "dds-closed",
|
|
8027
|
+
"type": "{ void }",
|
|
8028
|
+
"description": "Fired when the popup is closed."
|
|
8029
|
+
},
|
|
8030
|
+
{
|
|
8031
|
+
"name": "dds-close",
|
|
8032
|
+
"type": "{ void }",
|
|
8033
|
+
"description": "Fired when the popup should be closed."
|
|
8034
|
+
}
|
|
8035
|
+
]
|
|
8036
|
+
}
|
|
8037
|
+
},
|
|
8038
|
+
{
|
|
8039
|
+
"name": "dap-ds-progress",
|
|
8040
|
+
"description": "Progress indicator component with linear and circular variants.\n---\n\n\n### **Slots:**\n - **label** - Custom label content for the progress indicator.\n\n### **CSS Properties:**\n - **--dds-progress-track-color** - Background color of the progress track (default: var(--dds-neutral-200)) _(default: undefined)_\n- **--dds-progress-fill-color-neutral** - Fill color for neutral variant (default: var(--dds-icon-neutral-base)) _(default: undefined)_\n- **--dds-progress-fill-color-brand** - Fill color for brand variant (default: var(--dds-icon-brand-subtle)) _(default: undefined)_\n- **--dds-progress-fill-color-negative** - Fill color for negative variant (default: var(--dds-icon-negative-subtle)) _(default: undefined)_\n- **--dds-progress-fill-color-positive** - Fill color for positive variant (default: var(--dds-icon-positive-subtle)) _(default: undefined)_\n- **--dds-progress-fill-color-inverted** - Fill color for inverted variant (default: var(--dds-icon-neutral-inverted)) _(default: undefined)_\n- **--dds-progress-height-xs** - Height for extra small linear progress (default: var(--dds-spacing-50)) _(default: undefined)_\n- **--dds-progress-height-sm** - Height for small linear progress (default: var(--dds-spacing-100)) _(default: undefined)_\n- **--dds-progress-height-md** - Height for medium linear progress (default: var(--dds-spacing-150)) _(default: undefined)_\n- **--dds-progress-height-lg** - Height for large linear progress (default: var(--dds-spacing-200)) _(default: undefined)_\n- **--dds-progress-height-xl** - Height for extra large linear progress (default: var(--dds-spacing-300)) _(default: undefined)_\n- **--dds-progress-height-xxl** - Height for extra extra large linear progress (default: var(--dds-spacing-400)) _(default: undefined)_\n- **--dds-progress-diameter-xs** - Diameter for extra small circular progress (default: var(--dds-spacing-600)) _(default: undefined)_\n- **--dds-progress-diameter-sm** - Diameter for small circular progress (default: var(--dds-spacing-800)) _(default: undefined)_\n- **--dds-progress-diameter-md** - Diameter for medium circular progress (default: var(--dds-spacing-1200)) _(default: undefined)_\n- **--dds-progress-diameter-lg** - Diameter for large circular progress (default: var(--dds-spacing-1600)) _(default: undefined)_\n- **--dds-progress-diameter-xl** - Diameter for extra large circular progress (default: var(--dds-spacing-2000)) _(default: undefined)_\n- **--dds-progress-diameter-xxl** - Diameter for extra extra large circular progress (default: var(--dds-spacing-2400)) _(default: undefined)_\n- **--dds-progress-stroke-width** - Stroke width for circular progress (default: var(--dds-spacing-200)) _(default: undefined)_\n- **--dds-progress-animation-duration** - Duration of indeterminate animation (default: 1.5s) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main progress container.\n- **track** - The progress track (background).\n- **fill** - The progress fill (bar for linear, circle for circular).\n- **label** - The progress label text.\n- **percentage** - The percentage text (circular variant only).\n- **background** - The background circle (circular variant only).",
|
|
8041
|
+
"doc-url": "",
|
|
8042
|
+
"attributes": [
|
|
8043
|
+
{
|
|
8044
|
+
"name": "variant",
|
|
8045
|
+
"description": "The variant of the progress indicator.",
|
|
8046
|
+
"value": {
|
|
8047
|
+
"type": "\"linear\" | \"circular\"",
|
|
8048
|
+
"default": "'linear'"
|
|
8049
|
+
}
|
|
8050
|
+
},
|
|
8051
|
+
{
|
|
8052
|
+
"name": "color",
|
|
8053
|
+
"description": "The color variant of the progress indicator.",
|
|
8054
|
+
"value": {
|
|
8055
|
+
"type": "\"neutral\" | \"brand\" | \"negative\" | \"positive\" | \"inverted\"",
|
|
8056
|
+
"default": "'brand'"
|
|
8057
|
+
}
|
|
8058
|
+
},
|
|
8059
|
+
{
|
|
8060
|
+
"name": "value",
|
|
8061
|
+
"description": "Current progress value (0-100 for percentage, or 0-max).",
|
|
8062
|
+
"value": { "type": "number | undefined" }
|
|
8063
|
+
},
|
|
8064
|
+
{
|
|
8065
|
+
"name": "max",
|
|
8066
|
+
"description": "Maximum value for the progress indicator.",
|
|
8067
|
+
"value": { "type": "number", "default": "100" }
|
|
8068
|
+
},
|
|
8069
|
+
{
|
|
8070
|
+
"name": "indeterminate",
|
|
8071
|
+
"description": "Whether to show the progress as indeterminate (loading animation).",
|
|
8072
|
+
"value": { "type": "boolean", "default": "false" }
|
|
8073
|
+
},
|
|
8074
|
+
{
|
|
8075
|
+
"name": "showPercentage",
|
|
8076
|
+
"description": "Whether to show percentage text in the center (circular variant only).",
|
|
8077
|
+
"value": { "type": "boolean", "default": "false" }
|
|
8078
|
+
},
|
|
8079
|
+
{
|
|
8080
|
+
"name": "label",
|
|
8081
|
+
"description": "Label text for the progress indicator.",
|
|
8082
|
+
"value": { "type": "string | undefined" }
|
|
8083
|
+
},
|
|
8084
|
+
{
|
|
8085
|
+
"name": "aria-live",
|
|
8086
|
+
"description": "The aria-live politeness level for screen readers.",
|
|
8087
|
+
"value": {
|
|
8088
|
+
"type": "\"polite\" | \"assertive\" | \"off\"",
|
|
8089
|
+
"default": "'polite'"
|
|
8090
|
+
}
|
|
8091
|
+
}
|
|
8092
|
+
],
|
|
8093
|
+
"slots": [
|
|
7935
8094
|
{
|
|
7936
|
-
"name": "
|
|
7937
|
-
"
|
|
7938
|
-
"description": "Fired when the popup should be closed."
|
|
8095
|
+
"name": "label",
|
|
8096
|
+
"description": "Custom label content for the progress indicator."
|
|
7939
8097
|
}
|
|
7940
8098
|
],
|
|
8099
|
+
"events": [],
|
|
7941
8100
|
"js": {
|
|
7942
8101
|
"properties": [
|
|
7943
8102
|
{
|
|
7944
|
-
"name": "
|
|
7945
|
-
"description": "The
|
|
7946
|
-
"type": "
|
|
7947
|
-
},
|
|
7948
|
-
{
|
|
7949
|
-
"name": "disabled",
|
|
7950
|
-
"description": "The disabled state of the popup.",
|
|
7951
|
-
"type": "boolean"
|
|
7952
|
-
},
|
|
7953
|
-
{
|
|
7954
|
-
"name": "opened",
|
|
7955
|
-
"description": "The open state of the popup.",
|
|
7956
|
-
"type": "boolean"
|
|
8103
|
+
"name": "variant",
|
|
8104
|
+
"description": "The variant of the progress indicator.",
|
|
8105
|
+
"type": "\"linear\" | \"circular\""
|
|
7957
8106
|
},
|
|
7958
8107
|
{
|
|
7959
|
-
"name": "
|
|
7960
|
-
"description": "The
|
|
7961
|
-
"type": "
|
|
8108
|
+
"name": "color",
|
|
8109
|
+
"description": "The color variant of the progress indicator.",
|
|
8110
|
+
"type": "\"neutral\" | \"brand\" | \"negative\" | \"positive\" | \"inverted\""
|
|
7962
8111
|
},
|
|
7963
8112
|
{
|
|
7964
|
-
"name": "
|
|
7965
|
-
"description": "
|
|
7966
|
-
"type": "
|
|
8113
|
+
"name": "value",
|
|
8114
|
+
"description": "Current progress value (0-100 for percentage, or 0-max).",
|
|
8115
|
+
"type": "number | undefined"
|
|
7967
8116
|
},
|
|
7968
8117
|
{
|
|
7969
|
-
"name": "
|
|
7970
|
-
"description": "
|
|
8118
|
+
"name": "max",
|
|
8119
|
+
"description": "Maximum value for the progress indicator.",
|
|
7971
8120
|
"type": "number"
|
|
7972
8121
|
},
|
|
7973
8122
|
{
|
|
7974
|
-
"name": "
|
|
7975
|
-
"description": "Whether
|
|
7976
|
-
"type": "boolean"
|
|
7977
|
-
},
|
|
7978
|
-
{
|
|
7979
|
-
"name": "maxHeight",
|
|
7980
|
-
"description": "The maximum height of the popup.",
|
|
7981
|
-
"type": "number | 'auto'"
|
|
7982
|
-
},
|
|
7983
|
-
{
|
|
7984
|
-
"name": "maxWidth",
|
|
7985
|
-
"description": "The maximum width of the popup.",
|
|
7986
|
-
"type": "number | 'auto'"
|
|
7987
|
-
},
|
|
7988
|
-
{
|
|
7989
|
-
"name": "hasArrow",
|
|
7990
|
-
"description": "Whether the popup has an arrow.",
|
|
8123
|
+
"name": "indeterminate",
|
|
8124
|
+
"description": "Whether to show the progress as indeterminate (loading animation).",
|
|
7991
8125
|
"type": "boolean"
|
|
7992
8126
|
},
|
|
7993
8127
|
{
|
|
7994
|
-
"name": "
|
|
7995
|
-
"description": "Whether the
|
|
8128
|
+
"name": "showPercentage",
|
|
8129
|
+
"description": "Whether to show percentage text in the center (circular variant only).",
|
|
7996
8130
|
"type": "boolean"
|
|
7997
8131
|
},
|
|
7998
8132
|
{
|
|
7999
|
-
"name": "
|
|
8000
|
-
"description": "
|
|
8001
|
-
"type": "
|
|
8133
|
+
"name": "label",
|
|
8134
|
+
"description": "Label text for the progress indicator.",
|
|
8135
|
+
"type": "string | undefined"
|
|
8002
8136
|
},
|
|
8003
8137
|
{
|
|
8004
|
-
"name": "
|
|
8005
|
-
"description": "
|
|
8006
|
-
"type": "
|
|
8007
|
-
}
|
|
8008
|
-
],
|
|
8009
|
-
"events": [
|
|
8010
|
-
{
|
|
8011
|
-
"name": "dds-opened",
|
|
8012
|
-
"type": "{ void }",
|
|
8013
|
-
"description": "Fired when the popup is opened."
|
|
8138
|
+
"name": "ariaLive",
|
|
8139
|
+
"description": "The aria-live politeness level for screen readers.",
|
|
8140
|
+
"type": "\"polite\" | \"assertive\" | \"off\""
|
|
8014
8141
|
},
|
|
8015
8142
|
{
|
|
8016
|
-
"name": "
|
|
8017
|
-
"
|
|
8018
|
-
"
|
|
8143
|
+
"name": "size",
|
|
8144
|
+
"description": "The size of the progress indicator. Default is `sm`. See SizedMixin.",
|
|
8145
|
+
"type": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'"
|
|
8019
8146
|
},
|
|
8020
8147
|
{
|
|
8021
|
-
"name": "
|
|
8022
|
-
"
|
|
8023
|
-
"
|
|
8148
|
+
"name": "sizeMap",
|
|
8149
|
+
"description": "Responsive size map (e.g. \"md:lg\"); see SizedMixin.",
|
|
8150
|
+
"type": "string"
|
|
8024
8151
|
}
|
|
8025
|
-
]
|
|
8152
|
+
],
|
|
8153
|
+
"events": []
|
|
8026
8154
|
}
|
|
8027
8155
|
},
|
|
8028
8156
|
{
|
|
@@ -8162,206 +8290,88 @@
|
|
|
8162
8290
|
"type": "string"
|
|
8163
8291
|
},
|
|
8164
8292
|
{
|
|
8165
|
-
"name": "disabled",
|
|
8166
|
-
"description": "Whether the radio button is disabled.",
|
|
8167
|
-
"type": "boolean"
|
|
8168
|
-
},
|
|
8169
|
-
{
|
|
8170
|
-
"name": "required",
|
|
8171
|
-
"description": "Whether the radio button is required.",
|
|
8172
|
-
"type": "boolean"
|
|
8173
|
-
},
|
|
8174
|
-
{
|
|
8175
|
-
"name": "size",
|
|
8176
|
-
"description": "The size of the radio button. Default is 'sm'.",
|
|
8177
|
-
"type": "'xs' | 'sm' | 'lg'"
|
|
8178
|
-
},
|
|
8179
|
-
{
|
|
8180
|
-
"name": "labelPlacement",
|
|
8181
|
-
"description": "The placement of the label.",
|
|
8182
|
-
"type": "'left' | 'right'"
|
|
8183
|
-
},
|
|
8184
|
-
{
|
|
8185
|
-
"name": "descriptionPlacement",
|
|
8186
|
-
"description": "The placement of the description.",
|
|
8187
|
-
"type": "'top' | 'bottom'"
|
|
8188
|
-
},
|
|
8189
|
-
{
|
|
8190
|
-
"name": "subtle",
|
|
8191
|
-
"description": "The weight of the label.",
|
|
8192
|
-
"type": "boolean"
|
|
8193
|
-
},
|
|
8194
|
-
{
|
|
8195
|
-
"name": "feedback",
|
|
8196
|
-
"description": "The feedback of the radio button.",
|
|
8197
|
-
"type": "string"
|
|
8198
|
-
},
|
|
8199
|
-
{
|
|
8200
|
-
"name": "feedbackType",
|
|
8201
|
-
"description": "The feedback type of the radio button.",
|
|
8202
|
-
"type": "'negative' | 'positive' | 'warning'"
|
|
8203
|
-
},
|
|
8204
|
-
{
|
|
8205
|
-
"name": "invalid",
|
|
8206
|
-
"description": "The invalid state of the radio button.",
|
|
8207
|
-
"type": "boolean"
|
|
8208
|
-
},
|
|
8209
|
-
{
|
|
8210
|
-
"name": "optional",
|
|
8211
|
-
"description": "The optional state of the radio button.",
|
|
8212
|
-
"type": "boolean"
|
|
8213
|
-
},
|
|
8214
|
-
{
|
|
8215
|
-
"name": "optionalLabel",
|
|
8216
|
-
"description": "The optional label of the radio button.",
|
|
8217
|
-
"type": "string"
|
|
8218
|
-
},
|
|
8219
|
-
{
|
|
8220
|
-
"name": "requiredLabel",
|
|
8221
|
-
"description": "The required indicator of the radio button. (default: '*')",
|
|
8222
|
-
"type": "string"
|
|
8223
|
-
}
|
|
8224
|
-
],
|
|
8225
|
-
"events": [
|
|
8226
|
-
{
|
|
8227
|
-
"name": "dds-change",
|
|
8228
|
-
"type": "{ checked: boolean, value: string, disabled: boolean, readonly: boolean, type: 'radio' }",
|
|
8229
|
-
"description": "Fired when the radio button is checked."
|
|
8230
|
-
},
|
|
8231
|
-
{
|
|
8232
|
-
"name": "dds-blur",
|
|
8233
|
-
"type": "{ void }",
|
|
8234
|
-
"description": "Emitted when the radio button loses focus."
|
|
8235
|
-
},
|
|
8236
|
-
{
|
|
8237
|
-
"name": "dds-focus",
|
|
8238
|
-
"type": "{ void }",
|
|
8239
|
-
"description": "Emitted when the radio button gains focus."
|
|
8240
|
-
},
|
|
8241
|
-
{
|
|
8242
|
-
"name": "dds-input",
|
|
8243
|
-
"type": "{ checked: boolean, value: string, disabled: boolean, readonly: boolean }",
|
|
8244
|
-
"description": "Emitted when the radio button receives input."
|
|
8245
|
-
}
|
|
8246
|
-
]
|
|
8247
|
-
}
|
|
8248
|
-
},
|
|
8249
|
-
{
|
|
8250
|
-
"name": "dap-ds-progress",
|
|
8251
|
-
"description": "Progress indicator component with linear and circular variants.\n---\n\n\n### **Slots:**\n - **label** - Custom label content for the progress indicator.\n\n### **CSS Properties:**\n - **--dds-progress-track-color** - Background color of the progress track (default: var(--dds-neutral-200)) _(default: undefined)_\n- **--dds-progress-fill-color-neutral** - Fill color for neutral variant (default: var(--dds-icon-neutral-base)) _(default: undefined)_\n- **--dds-progress-fill-color-brand** - Fill color for brand variant (default: var(--dds-icon-brand-subtle)) _(default: undefined)_\n- **--dds-progress-fill-color-negative** - Fill color for negative variant (default: var(--dds-icon-negative-subtle)) _(default: undefined)_\n- **--dds-progress-fill-color-positive** - Fill color for positive variant (default: var(--dds-icon-positive-subtle)) _(default: undefined)_\n- **--dds-progress-fill-color-inverted** - Fill color for inverted variant (default: var(--dds-icon-neutral-inverted)) _(default: undefined)_\n- **--dds-progress-height-xs** - Height for extra small linear progress (default: var(--dds-spacing-50)) _(default: undefined)_\n- **--dds-progress-height-sm** - Height for small linear progress (default: var(--dds-spacing-100)) _(default: undefined)_\n- **--dds-progress-height-md** - Height for medium linear progress (default: var(--dds-spacing-150)) _(default: undefined)_\n- **--dds-progress-height-lg** - Height for large linear progress (default: var(--dds-spacing-200)) _(default: undefined)_\n- **--dds-progress-height-xl** - Height for extra large linear progress (default: var(--dds-spacing-300)) _(default: undefined)_\n- **--dds-progress-height-xxl** - Height for extra extra large linear progress (default: var(--dds-spacing-400)) _(default: undefined)_\n- **--dds-progress-diameter-xs** - Diameter for extra small circular progress (default: var(--dds-spacing-600)) _(default: undefined)_\n- **--dds-progress-diameter-sm** - Diameter for small circular progress (default: var(--dds-spacing-800)) _(default: undefined)_\n- **--dds-progress-diameter-md** - Diameter for medium circular progress (default: var(--dds-spacing-1200)) _(default: undefined)_\n- **--dds-progress-diameter-lg** - Diameter for large circular progress (default: var(--dds-spacing-1600)) _(default: undefined)_\n- **--dds-progress-diameter-xl** - Diameter for extra large circular progress (default: var(--dds-spacing-2000)) _(default: undefined)_\n- **--dds-progress-diameter-xxl** - Diameter for extra extra large circular progress (default: var(--dds-spacing-2400)) _(default: undefined)_\n- **--dds-progress-stroke-width** - Stroke width for circular progress (default: var(--dds-spacing-200)) _(default: undefined)_\n- **--dds-progress-animation-duration** - Duration of indeterminate animation (default: 1.5s) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main progress container.\n- **track** - The progress track (background).\n- **fill** - The progress fill (bar for linear, circle for circular).\n- **label** - The progress label text.\n- **percentage** - The percentage text (circular variant only).\n- **background** - The background circle (circular variant only).",
|
|
8252
|
-
"doc-url": "",
|
|
8253
|
-
"attributes": [
|
|
8254
|
-
{
|
|
8255
|
-
"name": "variant",
|
|
8256
|
-
"description": "The variant of the progress indicator.",
|
|
8257
|
-
"value": {
|
|
8258
|
-
"type": "\"linear\" | \"circular\"",
|
|
8259
|
-
"default": "'linear'"
|
|
8260
|
-
}
|
|
8261
|
-
},
|
|
8262
|
-
{
|
|
8263
|
-
"name": "color",
|
|
8264
|
-
"description": "The color variant of the progress indicator.",
|
|
8265
|
-
"value": {
|
|
8266
|
-
"type": "\"neutral\" | \"brand\" | \"negative\" | \"positive\" | \"inverted\"",
|
|
8267
|
-
"default": "'brand'"
|
|
8268
|
-
}
|
|
8269
|
-
},
|
|
8270
|
-
{
|
|
8271
|
-
"name": "value",
|
|
8272
|
-
"description": "Current progress value (0-100 for percentage, or 0-max).",
|
|
8273
|
-
"value": { "type": "number | undefined" }
|
|
8274
|
-
},
|
|
8275
|
-
{
|
|
8276
|
-
"name": "max",
|
|
8277
|
-
"description": "Maximum value for the progress indicator.",
|
|
8278
|
-
"value": { "type": "number", "default": "100" }
|
|
8279
|
-
},
|
|
8280
|
-
{
|
|
8281
|
-
"name": "indeterminate",
|
|
8282
|
-
"description": "Whether to show the progress as indeterminate (loading animation).",
|
|
8283
|
-
"value": { "type": "boolean", "default": "false" }
|
|
8284
|
-
},
|
|
8285
|
-
{
|
|
8286
|
-
"name": "showPercentage",
|
|
8287
|
-
"description": "Whether to show percentage text in the center (circular variant only).",
|
|
8288
|
-
"value": { "type": "boolean", "default": "false" }
|
|
8289
|
-
},
|
|
8290
|
-
{
|
|
8291
|
-
"name": "label",
|
|
8292
|
-
"description": "Label text for the progress indicator.",
|
|
8293
|
-
"value": { "type": "string | undefined" }
|
|
8294
|
-
},
|
|
8295
|
-
{
|
|
8296
|
-
"name": "aria-live",
|
|
8297
|
-
"description": "The aria-live politeness level for screen readers.",
|
|
8298
|
-
"value": {
|
|
8299
|
-
"type": "\"polite\" | \"assertive\" | \"off\"",
|
|
8300
|
-
"default": "'polite'"
|
|
8301
|
-
}
|
|
8302
|
-
}
|
|
8303
|
-
],
|
|
8304
|
-
"slots": [
|
|
8305
|
-
{
|
|
8306
|
-
"name": "label",
|
|
8307
|
-
"description": "Custom label content for the progress indicator."
|
|
8308
|
-
}
|
|
8309
|
-
],
|
|
8310
|
-
"events": [],
|
|
8311
|
-
"js": {
|
|
8312
|
-
"properties": [
|
|
8293
|
+
"name": "disabled",
|
|
8294
|
+
"description": "Whether the radio button is disabled.",
|
|
8295
|
+
"type": "boolean"
|
|
8296
|
+
},
|
|
8313
8297
|
{
|
|
8314
|
-
"name": "
|
|
8315
|
-
"description": "
|
|
8316
|
-
"type": "
|
|
8298
|
+
"name": "required",
|
|
8299
|
+
"description": "Whether the radio button is required.",
|
|
8300
|
+
"type": "boolean"
|
|
8317
8301
|
},
|
|
8318
8302
|
{
|
|
8319
|
-
"name": "
|
|
8320
|
-
"description": "The
|
|
8321
|
-
"type": "
|
|
8303
|
+
"name": "size",
|
|
8304
|
+
"description": "The size of the radio button. Default is 'sm'.",
|
|
8305
|
+
"type": "'xs' | 'sm' | 'lg'"
|
|
8322
8306
|
},
|
|
8323
8307
|
{
|
|
8324
|
-
"name": "
|
|
8325
|
-
"description": "
|
|
8326
|
-
"type": "
|
|
8308
|
+
"name": "labelPlacement",
|
|
8309
|
+
"description": "The placement of the label.",
|
|
8310
|
+
"type": "'left' | 'right'"
|
|
8327
8311
|
},
|
|
8328
8312
|
{
|
|
8329
|
-
"name": "
|
|
8330
|
-
"description": "
|
|
8331
|
-
"type": "
|
|
8313
|
+
"name": "descriptionPlacement",
|
|
8314
|
+
"description": "The placement of the description.",
|
|
8315
|
+
"type": "'top' | 'bottom'"
|
|
8332
8316
|
},
|
|
8333
8317
|
{
|
|
8334
|
-
"name": "
|
|
8335
|
-
"description": "
|
|
8318
|
+
"name": "subtle",
|
|
8319
|
+
"description": "The weight of the label.",
|
|
8336
8320
|
"type": "boolean"
|
|
8337
8321
|
},
|
|
8338
8322
|
{
|
|
8339
|
-
"name": "
|
|
8340
|
-
"description": "
|
|
8341
|
-
"type": "
|
|
8323
|
+
"name": "feedback",
|
|
8324
|
+
"description": "The feedback of the radio button.",
|
|
8325
|
+
"type": "string"
|
|
8342
8326
|
},
|
|
8343
8327
|
{
|
|
8344
|
-
"name": "
|
|
8345
|
-
"description": "
|
|
8346
|
-
"type": "
|
|
8328
|
+
"name": "feedbackType",
|
|
8329
|
+
"description": "The feedback type of the radio button.",
|
|
8330
|
+
"type": "'negative' | 'positive' | 'warning'"
|
|
8347
8331
|
},
|
|
8348
8332
|
{
|
|
8349
|
-
"name": "
|
|
8350
|
-
"description": "The
|
|
8351
|
-
"type": "
|
|
8333
|
+
"name": "invalid",
|
|
8334
|
+
"description": "The invalid state of the radio button.",
|
|
8335
|
+
"type": "boolean"
|
|
8352
8336
|
},
|
|
8353
8337
|
{
|
|
8354
|
-
"name": "
|
|
8355
|
-
"description": "The
|
|
8356
|
-
"type": "
|
|
8338
|
+
"name": "optional",
|
|
8339
|
+
"description": "The optional state of the radio button.",
|
|
8340
|
+
"type": "boolean"
|
|
8357
8341
|
},
|
|
8358
8342
|
{
|
|
8359
|
-
"name": "
|
|
8360
|
-
"description": "
|
|
8343
|
+
"name": "optionalLabel",
|
|
8344
|
+
"description": "The optional label of the radio button.",
|
|
8345
|
+
"type": "string"
|
|
8346
|
+
},
|
|
8347
|
+
{
|
|
8348
|
+
"name": "requiredLabel",
|
|
8349
|
+
"description": "The required indicator of the radio button. (default: '*')",
|
|
8361
8350
|
"type": "string"
|
|
8362
8351
|
}
|
|
8363
8352
|
],
|
|
8364
|
-
"events": [
|
|
8353
|
+
"events": [
|
|
8354
|
+
{
|
|
8355
|
+
"name": "dds-change",
|
|
8356
|
+
"type": "{ checked: boolean, value: string, disabled: boolean, readonly: boolean, type: 'radio' }",
|
|
8357
|
+
"description": "Fired when the radio button is checked."
|
|
8358
|
+
},
|
|
8359
|
+
{
|
|
8360
|
+
"name": "dds-blur",
|
|
8361
|
+
"type": "{ void }",
|
|
8362
|
+
"description": "Emitted when the radio button loses focus."
|
|
8363
|
+
},
|
|
8364
|
+
{
|
|
8365
|
+
"name": "dds-focus",
|
|
8366
|
+
"type": "{ void }",
|
|
8367
|
+
"description": "Emitted when the radio button gains focus."
|
|
8368
|
+
},
|
|
8369
|
+
{
|
|
8370
|
+
"name": "dds-input",
|
|
8371
|
+
"type": "{ checked: boolean, value: string, disabled: boolean, readonly: boolean }",
|
|
8372
|
+
"description": "Emitted when the radio button receives input."
|
|
8373
|
+
}
|
|
8374
|
+
]
|
|
8365
8375
|
}
|
|
8366
8376
|
},
|
|
8367
8377
|
{
|
|
@@ -9907,248 +9917,82 @@
|
|
|
9907
9917
|
"description": "The selected tab id.",
|
|
9908
9918
|
"value": { "type": "string" }
|
|
9909
9919
|
},
|
|
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": []
|
|
10067
|
-
}
|
|
10068
|
-
},
|
|
10069
|
-
{
|
|
10070
|
-
"name": "dap-ds-table-row",
|
|
10071
|
-
"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)_",
|
|
10072
|
-
"doc-url": "",
|
|
10073
|
-
"attributes": [
|
|
10074
|
-
{
|
|
10075
|
-
"name": "role",
|
|
10076
|
-
"description": "The html role of the row",
|
|
10077
|
-
"value": { "type": "string", "default": "'row'" }
|
|
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.",
|
|
@@ -12851,7 +12861,7 @@
|
|
|
12851
12861
|
}
|
|
12852
12862
|
},
|
|
12853
12863
|
{
|
|
12854
|
-
"name": "dap-ds-icon-
|
|
12864
|
+
"name": "dap-ds-icon-home-6-line",
|
|
12855
12865
|
"description": "An icon\n---\n\n\n### **CSS Parts:**\n - **base** - The main icon container.",
|
|
12856
12866
|
"doc-url": "",
|
|
12857
12867
|
"attributes": [
|
|
@@ -12904,7 +12914,7 @@
|
|
|
12904
12914
|
}
|
|
12905
12915
|
},
|
|
12906
12916
|
{
|
|
12907
|
-
"name": "dap-ds-icon-
|
|
12917
|
+
"name": "dap-ds-icon-calendar-line",
|
|
12908
12918
|
"description": "An icon\n---\n\n\n### **CSS Parts:**\n - **base** - The main icon container.",
|
|
12909
12919
|
"doc-url": "",
|
|
12910
12920
|
"attributes": [
|
|
@@ -12957,7 +12967,7 @@
|
|
|
12957
12967
|
}
|
|
12958
12968
|
},
|
|
12959
12969
|
{
|
|
12960
|
-
"name": "dap-ds-icon-
|
|
12970
|
+
"name": "dap-ds-icon-edit-line",
|
|
12961
12971
|
"description": "An icon\n---\n\n\n### **CSS Parts:**\n - **base** - The main icon container.",
|
|
12962
12972
|
"doc-url": "",
|
|
12963
12973
|
"attributes": [
|
|
@@ -13010,7 +13020,7 @@
|
|
|
13010
13020
|
}
|
|
13011
13021
|
},
|
|
13012
13022
|
{
|
|
13013
|
-
"name": "dap-ds-icon-
|
|
13023
|
+
"name": "dap-ds-icon-tools-line",
|
|
13014
13024
|
"description": "An icon\n---\n\n\n### **CSS Parts:**\n - **base** - The main icon container.",
|
|
13015
13025
|
"doc-url": "",
|
|
13016
13026
|
"attributes": [
|
|
@@ -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": [
|
|
@@ -15448,7 +15458,7 @@
|
|
|
15448
15458
|
}
|
|
15449
15459
|
},
|
|
15450
15460
|
{
|
|
15451
|
-
"name": "dap-ds-icon-lock-
|
|
15461
|
+
"name": "dap-ds-icon-lock-fill",
|
|
15452
15462
|
"description": "An icon\n---\n\n\n### **CSS Parts:**\n - **base** - The main icon container.",
|
|
15453
15463
|
"doc-url": "",
|
|
15454
15464
|
"attributes": [
|
|
@@ -15501,7 +15511,7 @@
|
|
|
15501
15511
|
}
|
|
15502
15512
|
},
|
|
15503
15513
|
{
|
|
15504
|
-
"name": "dap-ds-icon-lock-
|
|
15514
|
+
"name": "dap-ds-icon-lock-line",
|
|
15505
15515
|
"description": "An icon\n---\n\n\n### **CSS Parts:**\n - **base** - The main icon container.",
|
|
15506
15516
|
"doc-url": "",
|
|
15507
15517
|
"attributes": [
|