dap-design-system 0.58.1 → 0.58.3

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.
@@ -6,6 +6,45 @@
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
+ {
10
+ "name": "dap-ds-accordion-group",
11
+ "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.",
12
+ "doc-url": "",
13
+ "attributes": [
14
+ {
15
+ "name": "autoClose",
16
+ "description": "Whether to close other accordions when one is opened.",
17
+ "value": { "type": "string", "default": "'true'" }
18
+ },
19
+ {
20
+ "name": "variant",
21
+ "description": "The variant of the accordion",
22
+ "value": {
23
+ "type": "'default' | 'collapsed' | 'clean' | 'clean-collapsed'",
24
+ "default": "'default'"
25
+ }
26
+ }
27
+ ],
28
+ "slots": [
29
+ { "name": "", "description": "The content of the accordion group." }
30
+ ],
31
+ "events": [],
32
+ "js": {
33
+ "properties": [
34
+ {
35
+ "name": "autoClose",
36
+ "description": "Whether to close other accordions when one is opened.",
37
+ "type": "string"
38
+ },
39
+ {
40
+ "name": "variant",
41
+ "description": "The variant of the accordion",
42
+ "type": "'default' | 'collapsed' | 'clean' | 'clean-collapsed'"
43
+ }
44
+ ],
45
+ "events": []
46
+ }
47
+ },
9
48
  {
10
49
  "name": "dap-ds-avatar",
11
50
  "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.",
@@ -163,105 +202,6 @@
163
202
  ]
164
203
  }
165
204
  },
166
- {
167
- "name": "dap-ds-avatar-group",
168
- "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.",
169
- "doc-url": "",
170
- "attributes": [
171
- {
172
- "name": "layout",
173
- "description": "Layout type for the avatar group",
174
- "value": { "type": "'stack' | 'grid'", "default": "'stack'" }
175
- },
176
- {
177
- "name": "max",
178
- "description": "Maximum number of avatars to show before showing overflow",
179
- "value": { "type": "number", "default": "3" }
180
- },
181
- {
182
- "name": "show-total",
183
- "description": "Whether to show the total count in overflow indicator",
184
- "value": { "type": "boolean", "default": "false" }
185
- },
186
- {
187
- "name": "interactive-overflow",
188
- "description": "Interactive overflow indicator",
189
- "value": { "type": "boolean", "default": "false" }
190
- },
191
- {
192
- "name": "label",
193
- "description": "Accessible label for the avatar group",
194
- "value": { "type": "string" }
195
- },
196
- {
197
- "name": "overflow-label",
198
- "description": "Accessible label for the overflow indicator",
199
- "value": { "type": "string" }
200
- }
201
- ],
202
- "slots": [
203
- {
204
- "name": "",
205
- "description": "The avatars to display in the group."
206
- }
207
- ],
208
- "events": [
209
- {
210
- "name": "dds-overflow-click",
211
- "description": "Fired when the overflow indicator is clicked."
212
- }
213
- ],
214
- "js": {
215
- "properties": [
216
- {
217
- "name": "layout",
218
- "description": "Layout type for the avatar group",
219
- "type": "'stack' | 'grid'"
220
- },
221
- {
222
- "name": "max",
223
- "description": "Maximum number of avatars to show before showing overflow",
224
- "type": "number"
225
- },
226
- {
227
- "name": "showTotal",
228
- "description": "Whether to show the total count in overflow indicator",
229
- "type": "boolean"
230
- },
231
- {
232
- "name": "interactiveOverflow",
233
- "description": "Interactive overflow indicator",
234
- "type": "boolean"
235
- },
236
- {
237
- "name": "label",
238
- "description": "Accessible label for the avatar group",
239
- "type": "string"
240
- },
241
- {
242
- "name": "overflowLabel",
243
- "description": "Accessible label for the overflow indicator",
244
- "type": "string"
245
- },
246
- {
247
- "name": "size",
248
- "description": "The size of avatars in the group. Default is `md`. See SizedMixin.",
249
- "type": "'xxs' | 'xs' | 'sm' | 'md' | 'lg'"
250
- },
251
- {
252
- "name": "sizeMap",
253
- "description": "Responsive size map (e.g. \"md:lg\"); see SizedMixin.",
254
- "type": "string"
255
- }
256
- ],
257
- "events": [
258
- {
259
- "name": "dds-overflow-click",
260
- "description": "Fired when the overflow indicator is clicked."
261
- }
262
- ]
263
- }
264
- },
265
205
  {
266
206
  "name": "dap-ds-accordion",
267
207
  "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.",
@@ -370,63 +310,102 @@
370
310
  }
371
311
  },
372
312
  {
373
- "name": "dap-ds-badge",
374
- "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.",
313
+ "name": "dap-ds-avatar-group",
314
+ "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.",
375
315
  "doc-url": "",
376
316
  "attributes": [
377
317
  {
378
- "name": "type",
379
- "description": "The type of the badge",
380
- "value": {
381
- "type": "'neutral' | 'brand' | 'info' | 'positive' | 'warning' | 'negative'",
382
- "default": "'neutral'"
383
- }
318
+ "name": "layout",
319
+ "description": "Layout type for the avatar group",
320
+ "value": { "type": "'stack' | 'grid'", "default": "'stack'" }
384
321
  },
385
322
  {
386
- "name": "icon",
387
- "description": "The icon of the badge, this is a name of a built in icon",
388
- "value": { "type": "string | undefined" }
323
+ "name": "max",
324
+ "description": "Maximum number of avatars to show before showing overflow",
325
+ "value": { "type": "number", "default": "3" }
389
326
  },
390
327
  {
391
- "name": "live",
392
- "description": "Whether the badge represents dynamic content that should announce changes",
328
+ "name": "show-total",
329
+ "description": "Whether to show the total count in overflow indicator",
330
+ "value": { "type": "boolean", "default": "false" }
331
+ },
332
+ {
333
+ "name": "interactive-overflow",
334
+ "description": "Interactive overflow indicator",
393
335
  "value": { "type": "boolean", "default": "false" }
336
+ },
337
+ {
338
+ "name": "label",
339
+ "description": "Accessible label for the avatar group",
340
+ "value": { "type": "string" }
341
+ },
342
+ {
343
+ "name": "overflow-label",
344
+ "description": "Accessible label for the overflow indicator",
345
+ "value": { "type": "string" }
394
346
  }
395
347
  ],
396
348
  "slots": [
397
- { "name": "", "description": "The content of the badge." },
398
- { "name": "icon", "description": "The icon of the badge." }
349
+ {
350
+ "name": "",
351
+ "description": "The avatars to display in the group."
352
+ }
353
+ ],
354
+ "events": [
355
+ {
356
+ "name": "dds-overflow-click",
357
+ "description": "Fired when the overflow indicator is clicked."
358
+ }
399
359
  ],
400
- "events": [],
401
360
  "js": {
402
361
  "properties": [
403
362
  {
404
- "name": "type",
405
- "description": "The type of the badge",
406
- "type": "'neutral' | 'brand' | 'info' | 'positive' | 'warning' | 'negative'"
363
+ "name": "layout",
364
+ "description": "Layout type for the avatar group",
365
+ "type": "'stack' | 'grid'"
407
366
  },
408
367
  {
409
- "name": "icon",
410
- "description": "The icon of the badge, this is a name of a built in icon",
411
- "type": "string | undefined"
368
+ "name": "max",
369
+ "description": "Maximum number of avatars to show before showing overflow",
370
+ "type": "number"
412
371
  },
413
372
  {
414
- "name": "live",
415
- "description": "Whether the badge represents dynamic content that should announce changes",
373
+ "name": "showTotal",
374
+ "description": "Whether to show the total count in overflow indicator",
416
375
  "type": "boolean"
417
376
  },
377
+ {
378
+ "name": "interactiveOverflow",
379
+ "description": "Interactive overflow indicator",
380
+ "type": "boolean"
381
+ },
382
+ {
383
+ "name": "label",
384
+ "description": "Accessible label for the avatar group",
385
+ "type": "string"
386
+ },
387
+ {
388
+ "name": "overflowLabel",
389
+ "description": "Accessible label for the overflow indicator",
390
+ "type": "string"
391
+ },
418
392
  {
419
393
  "name": "size",
420
- "description": "The size of the badge. Default is `sm`.",
421
- "type": "'sm' | 'lg'"
394
+ "description": "The size of avatars in the group. Default is `md`. See SizedMixin.",
395
+ "type": "'xxs' | 'xs' | 'sm' | 'md' | 'lg'"
422
396
  },
423
397
  {
424
398
  "name": "sizeMap",
425
- "description": "Responsive size map (e.g. \"md:lg\").",
399
+ "description": "Responsive size map (e.g. \"md:lg\"); see SizedMixin.",
426
400
  "type": "string"
427
401
  }
428
402
  ],
429
- "events": []
403
+ "events": [
404
+ {
405
+ "name": "dds-overflow-click",
406
+ "description": "Fired when the overflow indicator is clicked."
407
+ }
408
+ ]
430
409
  }
431
410
  },
432
411
  {
@@ -558,52 +537,13 @@
558
537
  "type": "string"
559
538
  }
560
539
  ],
561
- "events": [
562
- {
563
- "name": "dds-close",
564
- "type": "{ void }",
565
- "description": "Event fired when the banner is closed."
566
- }
567
- ]
568
- }
569
- },
570
- {
571
- "name": "dap-ds-accordion-group",
572
- "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.",
573
- "doc-url": "",
574
- "attributes": [
575
- {
576
- "name": "autoClose",
577
- "description": "Whether to close other accordions when one is opened.",
578
- "value": { "type": "string", "default": "'true'" }
579
- },
580
- {
581
- "name": "variant",
582
- "description": "The variant of the accordion",
583
- "value": {
584
- "type": "'default' | 'collapsed' | 'clean' | 'clean-collapsed'",
585
- "default": "'default'"
586
- }
587
- }
588
- ],
589
- "slots": [
590
- { "name": "", "description": "The content of the accordion group." }
591
- ],
592
- "events": [],
593
- "js": {
594
- "properties": [
595
- {
596
- "name": "autoClose",
597
- "description": "Whether to close other accordions when one is opened.",
598
- "type": "string"
599
- },
600
- {
601
- "name": "variant",
602
- "description": "The variant of the accordion",
603
- "type": "'default' | 'collapsed' | 'clean' | 'clean-collapsed'"
604
- }
605
- ],
606
- "events": []
540
+ "events": [
541
+ {
542
+ "name": "dds-close",
543
+ "type": "{ void }",
544
+ "description": "Event fired when the banner is closed."
545
+ }
546
+ ]
607
547
  }
608
548
  },
609
549
  {
@@ -633,6 +573,66 @@
633
573
  "events": []
634
574
  }
635
575
  },
576
+ {
577
+ "name": "dap-ds-badge",
578
+ "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.",
579
+ "doc-url": "",
580
+ "attributes": [
581
+ {
582
+ "name": "type",
583
+ "description": "The type of the badge",
584
+ "value": {
585
+ "type": "'neutral' | 'brand' | 'info' | 'positive' | 'warning' | 'negative'",
586
+ "default": "'neutral'"
587
+ }
588
+ },
589
+ {
590
+ "name": "icon",
591
+ "description": "The icon of the badge, this is a name of a built in icon",
592
+ "value": { "type": "string | undefined" }
593
+ },
594
+ {
595
+ "name": "live",
596
+ "description": "Whether the badge represents dynamic content that should announce changes",
597
+ "value": { "type": "boolean", "default": "false" }
598
+ }
599
+ ],
600
+ "slots": [
601
+ { "name": "", "description": "The content of the badge." },
602
+ { "name": "icon", "description": "The icon of the badge." }
603
+ ],
604
+ "events": [],
605
+ "js": {
606
+ "properties": [
607
+ {
608
+ "name": "type",
609
+ "description": "The type of the badge",
610
+ "type": "'neutral' | 'brand' | 'info' | 'positive' | 'warning' | 'negative'"
611
+ },
612
+ {
613
+ "name": "icon",
614
+ "description": "The icon of the badge, this is a name of a built in icon",
615
+ "type": "string | undefined"
616
+ },
617
+ {
618
+ "name": "live",
619
+ "description": "Whether the badge represents dynamic content that should announce changes",
620
+ "type": "boolean"
621
+ },
622
+ {
623
+ "name": "size",
624
+ "description": "The size of the badge. Default is `sm`.",
625
+ "type": "'sm' | 'lg'"
626
+ },
627
+ {
628
+ "name": "sizeMap",
629
+ "description": "Responsive size map (e.g. \"md:lg\").",
630
+ "type": "string"
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.",
@@ -1233,36 +1233,241 @@
1233
1233
  "type": "string"
1234
1234
  },
1235
1235
  {
1236
- "name": "closeable",
1237
- "description": "If the callout has a close button",
1238
- "type": "boolean"
1236
+ "name": "closeable",
1237
+ "description": "If the callout has a close button",
1238
+ "type": "boolean"
1239
+ },
1240
+ {
1241
+ "name": "title",
1242
+ "description": "The header of the callout",
1243
+ "type": "string"
1244
+ },
1245
+ {
1246
+ "name": "closeButtonLabel",
1247
+ "description": "The label of the close button",
1248
+ "type": "string"
1249
+ },
1250
+ {
1251
+ "name": "closeButtonTestId",
1252
+ "description": "`data-testid` for the default close button.",
1253
+ "type": "string"
1254
+ },
1255
+ {
1256
+ "name": "opened",
1257
+ "description": "If the callout is opened",
1258
+ "type": "string"
1259
+ }
1260
+ ],
1261
+ "events": [
1262
+ {
1263
+ "name": "dds-close",
1264
+ "type": "{ void }",
1265
+ "description": "Fired when the close button is clicked."
1266
+ }
1267
+ ]
1268
+ }
1269
+ },
1270
+ {
1271
+ "name": "dap-ds-checkbox",
1272
+ "description": "A checkbox is a form element that allows the user to select one or more options from a set.\n---\n\n\n### **Events:**\n - **dds-change** - Fired when the checkbox is checked or unchecked.\n- **dds-blur** - Emitted when the checkbox loses focus.\n- **dds-focus** - Emitted when the checkbox gains focus.\n- **dds-input** - Emitted when the checkbox receives input.\n\n### **Methods:**\n - **focus(): _void_** - Programmatically focuses the checkbox input element.\n- **blur(): _void_** - Programmatically blurs the checkbox input element.\n\n### **CSS Properties:**\n - **--dds-checkbox-size** - The size of the checkbox. (default: var(--dds-spacing-500)) _(default: undefined)_\n- **--dds-checkbox-border-width** - The border width of the checkbox. (default: var(--dds-border-width-large)) _(default: undefined)_\n- **--dds-checkbox-border-radius** - The border radius of the checkbox. (default: var(--dds-radius-small)) _(default: undefined)_\n- **--dds-checkbox-border-color** - The border color of the checkbox. (default: var(--dds-border-neutral-base)) _(default: undefined)_\n- **--dds-checkbox-background-color** - The background color of the checkbox. (default: transparent) _(default: undefined)_\n- **--dds-checkbox-icon-color** - The color of the checkbox icon. (default: var(--dds-button-primary-icon-enabled)) _(default: undefined)_\n- **--dds-checkbox-hover-border-color** - The border color when hovering over the checkbox. (default: var(--dds-border-neutral-medium)) _(default: undefined)_\n- **--dds-checkbox-hover-background-color** - The background color when hovering over the checkbox. (default: var(--dds-background-neutral-medium)) _(default: undefined)_\n- **--dds-checkbox-active-border-color** - The border color when the checkbox is active. (default: var(--dds-border-neutral-strong)) _(default: undefined)_\n- **--dds-checkbox-active-background-color** - The background color when the checkbox is active. (default: var(--dds-background-neutral-strong)) _(default: undefined)_\n- **--dds-checkbox-checked-border-color** - The border color when the checkbox is checked. (default: var(--dds-background-brand-base-inverted)) _(default: undefined)_\n- **--dds-checkbox-checked-background-color** - The background color when the checkbox is checked. (default: var(--dds-background-brand-base-inverted)) _(default: undefined)_\n- **--dds-checkbox-checked-hover-border-color** - The border color when hovering over a checked checkbox. (default: var(--dds-background-brand-medium-inverted)) _(default: undefined)_\n- **--dds-checkbox-checked-hover-background-color** - The background color when hovering over a checked checkbox. (default: var(--dds-background-brand-medium-inverted)) _(default: undefined)_\n- **--dds-checkbox-checked-active-border-color** - The border color when a checked checkbox is active. (default: var(--dds-background-brand-strong-inverted)) _(default: undefined)_\n- **--dds-checkbox-checked-active-background-color** - The background color when a checked checkbox is active. (default: var(--dds-background-brand-strong-inverted)) _(default: undefined)_\n- **--dds-checkbox-invalid-border-color** - The border color when the checkbox is invalid. (default: var(--dds-border-negative-base)) _(default: undefined)_\n- **--dds-checkbox-invalid-background-color** - The background color when the checkbox is invalid. (default: var(--dds-background-negative-base)) _(default: undefined)_\n- **--dds-checkbox-invalid-hover-border-color** - The border color when hovering over an invalid checkbox. (default: var(--dds-border-negative-medium)) _(default: undefined)_\n- **--dds-checkbox-invalid-hover-background-color** - The background color when hovering over an invalid checkbox. (default: var(--dds-background-negative-medium)) _(default: undefined)_\n- **--dds-checkbox-invalid-active-border-color** - The border color when an invalid checkbox is active. (default: var(--dds-border-negative-strong)) _(default: undefined)_\n- **--dds-checkbox-invalid-active-background-color** - The background color when an invalid checkbox is active. (default: var(--dds-background-negative-strong)) _(default: undefined)_\n- **--dds-checkbox-disabled-border-color** - The border color when the checkbox is disabled. (default: var(--dds-button-primary-background-disabled)) _(default: undefined)_\n- **--dds-checkbox-disabled-background-color** - The background color when the checkbox is disabled. (default: var(--dds-button-primary-background-disabled)) _(default: undefined)_\n- **--dds-checkbox-disabled-icon-color** - The color of the checkbox icon when disabled. (default: var(--dds-button-primary-icon-disabled)) _(default: undefined)_\n- **--dds-checkbox-readonly-border-color** - The border color when the checkbox is readonly. (default: var(--dds-border-neutral-subtle)) _(default: undefined)_\n- **--dds-checkbox-readonly-background-color** - The background color when the checkbox is readonly. (default: var(--dds-background-neutral-subtle)) _(default: undefined)_\n- **--dds-checkbox-readonly-icon-color** - The color of the checkbox icon when readonly. (default: var(--dds-text-neutral-base)) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main checkbox container.\n- **label** - The label of the checkbox.\n- **input** - The input of the checkbox.\n- **control** - The control of the checkbox.\n- **icon** - The icon of the checkbox.\n- **icon-base** - The base icon container.\n- **label-container** - The label container of the checkbox.\n- **description** - The description of the checkbox.\n- **readonly** - The readonly state of the checkbox.",
1273
+ "doc-url": "",
1274
+ "attributes": [
1275
+ {
1276
+ "name": "indeterminate",
1277
+ "description": "Whether the checkbox is indeterminate",
1278
+ "value": { "type": "boolean", "default": "false" }
1279
+ },
1280
+ {
1281
+ "name": "preventDefault",
1282
+ "description": "Whether the checkbox should prevent the default action",
1283
+ "value": { "type": "boolean", "default": "false" }
1284
+ },
1285
+ {
1286
+ "name": "border",
1287
+ "description": "This sets up border around the checkbox, when true.",
1288
+ "value": { "type": "boolean", "default": "false" }
1289
+ },
1290
+ {
1291
+ "name": "readonly",
1292
+ "description": "Whether the checkbox is readonly (cannot be changed but value is submitted with form).",
1293
+ "value": { "type": "boolean", "default": "false" }
1294
+ },
1295
+ {
1296
+ "name": "type",
1297
+ "description": "The type of the checkbox",
1298
+ "value": {
1299
+ "type": "'normal' | 'background'",
1300
+ "default": "'normal'"
1301
+ }
1302
+ }
1303
+ ],
1304
+ "events": [
1305
+ {
1306
+ "name": "dds-change",
1307
+ "type": "{ checked: boolean, indeterminate: boolean, value: string, disabled: boolean, readonly: boolean, type: 'checkbox' }",
1308
+ "description": "Fired when the checkbox is checked or unchecked."
1309
+ },
1310
+ {
1311
+ "name": "dds-blur",
1312
+ "type": "{ void }",
1313
+ "description": "Emitted when the checkbox loses focus."
1314
+ },
1315
+ {
1316
+ "name": "dds-focus",
1317
+ "type": "{ void }",
1318
+ "description": "Emitted when the checkbox gains focus."
1319
+ },
1320
+ {
1321
+ "name": "dds-input",
1322
+ "type": "{ checked: boolean, indeterminate: boolean, value: string, disabled: boolean, readonly: boolean }",
1323
+ "description": "Emitted when the checkbox receives input."
1324
+ }
1325
+ ],
1326
+ "js": {
1327
+ "properties": [
1328
+ {
1329
+ "name": "indeterminate",
1330
+ "description": "Whether the checkbox is indeterminate",
1331
+ "type": "boolean"
1332
+ },
1333
+ {
1334
+ "name": "preventDefault",
1335
+ "description": "Whether the checkbox should prevent the default action",
1336
+ "type": "boolean"
1337
+ },
1338
+ {
1339
+ "name": "border",
1340
+ "description": "This sets up border around the checkbox, when true.",
1341
+ "type": "boolean"
1342
+ },
1343
+ {
1344
+ "name": "readonly",
1345
+ "description": "Whether the checkbox is readonly (cannot be changed but value is submitted with form).",
1346
+ "type": "boolean"
1347
+ },
1348
+ {
1349
+ "name": "type",
1350
+ "description": "The type of the checkbox",
1351
+ "type": "'normal' | 'background'"
1352
+ },
1353
+ { "name": "focusElement", "type": "HTMLInputElement" },
1354
+ { "name": "feedbackId" },
1355
+ {
1356
+ "name": "name",
1357
+ "description": "The name of the checkbox.",
1358
+ "type": "string"
1359
+ },
1360
+ {
1361
+ "name": "value",
1362
+ "description": "The value of the checkbox.",
1363
+ "type": "string"
1364
+ },
1365
+ {
1366
+ "name": "checked",
1367
+ "description": "Whether the checkbox is checked.",
1368
+ "type": "boolean"
1369
+ },
1370
+ {
1371
+ "name": "label",
1372
+ "description": "The label of the checkbox.",
1373
+ "type": "string"
1374
+ },
1375
+ {
1376
+ "name": "hideLabel",
1377
+ "description": "Visually hides the label while keeping it available to assistive technology. (default: false)",
1378
+ "type": "boolean"
1379
+ },
1380
+ {
1381
+ "name": "description",
1382
+ "description": "The description of the checkbox.",
1383
+ "type": "string"
1384
+ },
1385
+ {
1386
+ "name": "disabled",
1387
+ "description": "Whether the checkbox is disabled.",
1388
+ "type": "boolean"
1389
+ },
1390
+ {
1391
+ "name": "required",
1392
+ "description": "Whether the checkbox is required.",
1393
+ "type": "boolean"
1394
+ },
1395
+ {
1396
+ "name": "size",
1397
+ "description": "The size of the checkbox. Default is 'sm'.",
1398
+ "type": "'xs' | 'sm' | 'lg'"
1399
+ },
1400
+ {
1401
+ "name": "sizeMap",
1402
+ "description": "Responsive size map (e.g. \"md:lg\").",
1403
+ "type": "string"
1404
+ },
1405
+ {
1406
+ "name": "labelPlacement",
1407
+ "description": "The placement of the label.",
1408
+ "type": "'left' | 'right'"
1409
+ },
1410
+ {
1411
+ "name": "descriptionPlacement",
1412
+ "description": "The placement of the description.",
1413
+ "type": "'top' | 'bottom'"
1414
+ },
1415
+ {
1416
+ "name": "subtle",
1417
+ "description": "The weight of the label.",
1418
+ "type": "boolean"
1419
+ },
1420
+ {
1421
+ "name": "feedback",
1422
+ "description": "The feedback of the checkbox.",
1423
+ "type": "string"
1424
+ },
1425
+ {
1426
+ "name": "feedbackType",
1427
+ "description": "The feedback type of the checkbox.",
1428
+ "type": "'negative' | 'positive' | 'warning'"
1239
1429
  },
1240
1430
  {
1241
- "name": "title",
1242
- "description": "The header of the callout",
1243
- "type": "string"
1431
+ "name": "invalid",
1432
+ "description": "The invalid state of the checkbox.",
1433
+ "type": "boolean"
1244
1434
  },
1245
1435
  {
1246
- "name": "closeButtonLabel",
1247
- "description": "The label of the close button",
1248
- "type": "string"
1436
+ "name": "optional",
1437
+ "description": "The optional state of the checkbox.",
1438
+ "type": "boolean"
1249
1439
  },
1250
1440
  {
1251
- "name": "closeButtonTestId",
1252
- "description": "`data-testid` for the default close button.",
1441
+ "name": "optionalLabel",
1442
+ "description": "The optional label of the checkbox.",
1253
1443
  "type": "string"
1254
1444
  },
1255
1445
  {
1256
- "name": "opened",
1257
- "description": "If the callout is opened",
1446
+ "name": "requiredLabel",
1447
+ "description": "The required indicator of the checkbox. (default: '*')",
1258
1448
  "type": "string"
1259
1449
  }
1260
1450
  ],
1261
1451
  "events": [
1262
1452
  {
1263
- "name": "dds-close",
1453
+ "name": "dds-change",
1454
+ "type": "{ checked: boolean, indeterminate: boolean, value: string, disabled: boolean, readonly: boolean, type: 'checkbox' }",
1455
+ "description": "Fired when the checkbox is checked or unchecked."
1456
+ },
1457
+ {
1458
+ "name": "dds-blur",
1264
1459
  "type": "{ void }",
1265
- "description": "Fired when the close button is clicked."
1460
+ "description": "Emitted when the checkbox loses focus."
1461
+ },
1462
+ {
1463
+ "name": "dds-focus",
1464
+ "type": "{ void }",
1465
+ "description": "Emitted when the checkbox gains focus."
1466
+ },
1467
+ {
1468
+ "name": "dds-input",
1469
+ "type": "{ checked: boolean, indeterminate: boolean, value: string, disabled: boolean, readonly: boolean }",
1470
+ "description": "Emitted when the checkbox receives input."
1266
1471
  }
1267
1472
  ]
1268
1473
  }
@@ -1603,211 +1808,6 @@
1603
1808
  "events": []
1604
1809
  }
1605
1810
  },
1606
- {
1607
- "name": "dap-ds-checkbox",
1608
- "description": "A checkbox is a form element that allows the user to select one or more options from a set.\n---\n\n\n### **Events:**\n - **dds-change** - Fired when the checkbox is checked or unchecked.\n- **dds-blur** - Emitted when the checkbox loses focus.\n- **dds-focus** - Emitted when the checkbox gains focus.\n- **dds-input** - Emitted when the checkbox receives input.\n\n### **Methods:**\n - **focus(): _void_** - Programmatically focuses the checkbox input element.\n- **blur(): _void_** - Programmatically blurs the checkbox input element.\n\n### **CSS Properties:**\n - **--dds-checkbox-size** - The size of the checkbox. (default: var(--dds-spacing-500)) _(default: undefined)_\n- **--dds-checkbox-border-width** - The border width of the checkbox. (default: var(--dds-border-width-large)) _(default: undefined)_\n- **--dds-checkbox-border-radius** - The border radius of the checkbox. (default: var(--dds-radius-small)) _(default: undefined)_\n- **--dds-checkbox-border-color** - The border color of the checkbox. (default: var(--dds-border-neutral-base)) _(default: undefined)_\n- **--dds-checkbox-background-color** - The background color of the checkbox. (default: transparent) _(default: undefined)_\n- **--dds-checkbox-icon-color** - The color of the checkbox icon. (default: var(--dds-button-primary-icon-enabled)) _(default: undefined)_\n- **--dds-checkbox-hover-border-color** - The border color when hovering over the checkbox. (default: var(--dds-border-neutral-medium)) _(default: undefined)_\n- **--dds-checkbox-hover-background-color** - The background color when hovering over the checkbox. (default: var(--dds-background-neutral-medium)) _(default: undefined)_\n- **--dds-checkbox-active-border-color** - The border color when the checkbox is active. (default: var(--dds-border-neutral-strong)) _(default: undefined)_\n- **--dds-checkbox-active-background-color** - The background color when the checkbox is active. (default: var(--dds-background-neutral-strong)) _(default: undefined)_\n- **--dds-checkbox-checked-border-color** - The border color when the checkbox is checked. (default: var(--dds-background-brand-base-inverted)) _(default: undefined)_\n- **--dds-checkbox-checked-background-color** - The background color when the checkbox is checked. (default: var(--dds-background-brand-base-inverted)) _(default: undefined)_\n- **--dds-checkbox-checked-hover-border-color** - The border color when hovering over a checked checkbox. (default: var(--dds-background-brand-medium-inverted)) _(default: undefined)_\n- **--dds-checkbox-checked-hover-background-color** - The background color when hovering over a checked checkbox. (default: var(--dds-background-brand-medium-inverted)) _(default: undefined)_\n- **--dds-checkbox-checked-active-border-color** - The border color when a checked checkbox is active. (default: var(--dds-background-brand-strong-inverted)) _(default: undefined)_\n- **--dds-checkbox-checked-active-background-color** - The background color when a checked checkbox is active. (default: var(--dds-background-brand-strong-inverted)) _(default: undefined)_\n- **--dds-checkbox-invalid-border-color** - The border color when the checkbox is invalid. (default: var(--dds-border-negative-base)) _(default: undefined)_\n- **--dds-checkbox-invalid-background-color** - The background color when the checkbox is invalid. (default: var(--dds-background-negative-base)) _(default: undefined)_\n- **--dds-checkbox-invalid-hover-border-color** - The border color when hovering over an invalid checkbox. (default: var(--dds-border-negative-medium)) _(default: undefined)_\n- **--dds-checkbox-invalid-hover-background-color** - The background color when hovering over an invalid checkbox. (default: var(--dds-background-negative-medium)) _(default: undefined)_\n- **--dds-checkbox-invalid-active-border-color** - The border color when an invalid checkbox is active. (default: var(--dds-border-negative-strong)) _(default: undefined)_\n- **--dds-checkbox-invalid-active-background-color** - The background color when an invalid checkbox is active. (default: var(--dds-background-negative-strong)) _(default: undefined)_\n- **--dds-checkbox-disabled-border-color** - The border color when the checkbox is disabled. (default: var(--dds-button-primary-background-disabled)) _(default: undefined)_\n- **--dds-checkbox-disabled-background-color** - The background color when the checkbox is disabled. (default: var(--dds-button-primary-background-disabled)) _(default: undefined)_\n- **--dds-checkbox-disabled-icon-color** - The color of the checkbox icon when disabled. (default: var(--dds-button-primary-icon-disabled)) _(default: undefined)_\n- **--dds-checkbox-readonly-border-color** - The border color when the checkbox is readonly. (default: var(--dds-border-neutral-subtle)) _(default: undefined)_\n- **--dds-checkbox-readonly-background-color** - The background color when the checkbox is readonly. (default: var(--dds-background-neutral-subtle)) _(default: undefined)_\n- **--dds-checkbox-readonly-icon-color** - The color of the checkbox icon when readonly. (default: var(--dds-text-neutral-base)) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The main checkbox container.\n- **label** - The label of the checkbox.\n- **input** - The input of the checkbox.\n- **control** - The control of the checkbox.\n- **icon** - The icon of the checkbox.\n- **icon-base** - The base icon container.\n- **label-container** - The label container of the checkbox.\n- **description** - The description of the checkbox.\n- **readonly** - The readonly state of the checkbox.",
1609
- "doc-url": "",
1610
- "attributes": [
1611
- {
1612
- "name": "indeterminate",
1613
- "description": "Whether the checkbox is indeterminate",
1614
- "value": { "type": "boolean", "default": "false" }
1615
- },
1616
- {
1617
- "name": "preventDefault",
1618
- "description": "Whether the checkbox should prevent the default action",
1619
- "value": { "type": "boolean", "default": "false" }
1620
- },
1621
- {
1622
- "name": "border",
1623
- "description": "This sets up border around the checkbox, when true.",
1624
- "value": { "type": "boolean", "default": "false" }
1625
- },
1626
- {
1627
- "name": "readonly",
1628
- "description": "Whether the checkbox is readonly (cannot be changed but value is submitted with form).",
1629
- "value": { "type": "boolean", "default": "false" }
1630
- },
1631
- {
1632
- "name": "type",
1633
- "description": "The type of the checkbox",
1634
- "value": {
1635
- "type": "'normal' | 'background'",
1636
- "default": "'normal'"
1637
- }
1638
- }
1639
- ],
1640
- "events": [
1641
- {
1642
- "name": "dds-change",
1643
- "type": "{ checked: boolean, indeterminate: boolean, value: string, disabled: boolean, readonly: boolean, type: 'checkbox' }",
1644
- "description": "Fired when the checkbox is checked or unchecked."
1645
- },
1646
- {
1647
- "name": "dds-blur",
1648
- "type": "{ void }",
1649
- "description": "Emitted when the checkbox loses focus."
1650
- },
1651
- {
1652
- "name": "dds-focus",
1653
- "type": "{ void }",
1654
- "description": "Emitted when the checkbox gains focus."
1655
- },
1656
- {
1657
- "name": "dds-input",
1658
- "type": "{ checked: boolean, indeterminate: boolean, value: string, disabled: boolean, readonly: boolean }",
1659
- "description": "Emitted when the checkbox receives input."
1660
- }
1661
- ],
1662
- "js": {
1663
- "properties": [
1664
- {
1665
- "name": "indeterminate",
1666
- "description": "Whether the checkbox is indeterminate",
1667
- "type": "boolean"
1668
- },
1669
- {
1670
- "name": "preventDefault",
1671
- "description": "Whether the checkbox should prevent the default action",
1672
- "type": "boolean"
1673
- },
1674
- {
1675
- "name": "border",
1676
- "description": "This sets up border around the checkbox, when true.",
1677
- "type": "boolean"
1678
- },
1679
- {
1680
- "name": "readonly",
1681
- "description": "Whether the checkbox is readonly (cannot be changed but value is submitted with form).",
1682
- "type": "boolean"
1683
- },
1684
- {
1685
- "name": "type",
1686
- "description": "The type of the checkbox",
1687
- "type": "'normal' | 'background'"
1688
- },
1689
- { "name": "focusElement", "type": "HTMLInputElement" },
1690
- { "name": "feedbackId" },
1691
- {
1692
- "name": "name",
1693
- "description": "The name of the checkbox.",
1694
- "type": "string"
1695
- },
1696
- {
1697
- "name": "value",
1698
- "description": "The value of the checkbox.",
1699
- "type": "string"
1700
- },
1701
- {
1702
- "name": "checked",
1703
- "description": "Whether the checkbox is checked.",
1704
- "type": "boolean"
1705
- },
1706
- {
1707
- "name": "label",
1708
- "description": "The label of the checkbox.",
1709
- "type": "string"
1710
- },
1711
- {
1712
- "name": "hideLabel",
1713
- "description": "Visually hides the label while keeping it available to assistive technology. (default: false)",
1714
- "type": "boolean"
1715
- },
1716
- {
1717
- "name": "description",
1718
- "description": "The description of the checkbox.",
1719
- "type": "string"
1720
- },
1721
- {
1722
- "name": "disabled",
1723
- "description": "Whether the checkbox is disabled.",
1724
- "type": "boolean"
1725
- },
1726
- {
1727
- "name": "required",
1728
- "description": "Whether the checkbox is required.",
1729
- "type": "boolean"
1730
- },
1731
- {
1732
- "name": "size",
1733
- "description": "The size of the checkbox. Default is 'sm'.",
1734
- "type": "'xs' | 'sm' | 'lg'"
1735
- },
1736
- {
1737
- "name": "sizeMap",
1738
- "description": "Responsive size map (e.g. \"md:lg\").",
1739
- "type": "string"
1740
- },
1741
- {
1742
- "name": "labelPlacement",
1743
- "description": "The placement of the label.",
1744
- "type": "'left' | 'right'"
1745
- },
1746
- {
1747
- "name": "descriptionPlacement",
1748
- "description": "The placement of the description.",
1749
- "type": "'top' | 'bottom'"
1750
- },
1751
- {
1752
- "name": "subtle",
1753
- "description": "The weight of the label.",
1754
- "type": "boolean"
1755
- },
1756
- {
1757
- "name": "feedback",
1758
- "description": "The feedback of the checkbox.",
1759
- "type": "string"
1760
- },
1761
- {
1762
- "name": "feedbackType",
1763
- "description": "The feedback type of the checkbox.",
1764
- "type": "'negative' | 'positive' | 'warning'"
1765
- },
1766
- {
1767
- "name": "invalid",
1768
- "description": "The invalid state of the checkbox.",
1769
- "type": "boolean"
1770
- },
1771
- {
1772
- "name": "optional",
1773
- "description": "The optional state of the checkbox.",
1774
- "type": "boolean"
1775
- },
1776
- {
1777
- "name": "optionalLabel",
1778
- "description": "The optional label of the checkbox.",
1779
- "type": "string"
1780
- },
1781
- {
1782
- "name": "requiredLabel",
1783
- "description": "The required indicator of the checkbox. (default: '*')",
1784
- "type": "string"
1785
- }
1786
- ],
1787
- "events": [
1788
- {
1789
- "name": "dds-change",
1790
- "type": "{ checked: boolean, indeterminate: boolean, value: string, disabled: boolean, readonly: boolean, type: 'checkbox' }",
1791
- "description": "Fired when the checkbox is checked or unchecked."
1792
- },
1793
- {
1794
- "name": "dds-blur",
1795
- "type": "{ void }",
1796
- "description": "Emitted when the checkbox loses focus."
1797
- },
1798
- {
1799
- "name": "dds-focus",
1800
- "type": "{ void }",
1801
- "description": "Emitted when the checkbox gains focus."
1802
- },
1803
- {
1804
- "name": "dds-input",
1805
- "type": "{ checked: boolean, indeterminate: boolean, value: string, disabled: boolean, readonly: boolean }",
1806
- "description": "Emitted when the checkbox receives input."
1807
- }
1808
- ]
1809
- }
1810
- },
1811
1811
  {
1812
1812
  "name": "dap-ds-chip",
1813
1813
  "description": "A chip is a small status descriptor for UI elements.\n---\n\n\n### **Events:**\n - **dds-remove** - Fired when the chip is removed\n- **dds-select** - Fired when the chip is selected\n\n### **CSS Properties:**\n - **--dds-chip-border** - Border of the chip (default: var(--dds-border-width-base) solid var(--dds-transparent-black-base)) _(default: undefined)_\n- **--dds-chip-border-radius** - Border radius of the chip (default: var(--dds-radius-small)) _(default: undefined)_\n- **--dds-chip-font-weight** - Font weight of the chip (default: var(--dds-font-weight-bold)) _(default: undefined)_\n- **--dds-chip-line-height** - Line height of the chip (default: 1.5) _(default: undefined)_\n- **--dds-chip-transition** - Transition timing for chip interactions (default: all 0.2s ease-in-out) _(default: undefined)_\n- **--dds-chip-padding-sm** - Padding for small chip size (default: var(--dds-spacing-100) var(--dds-spacing-200)) _(default: undefined)_\n- **--dds-chip-padding-lg** - Padding for large chip size (default: var(--dds-spacing-200) var(--dds-spacing-300)) _(default: undefined)_\n- **--dds-chip-font-size-sm** - Font size for small chip size (default: var(--dds-font-xs)) _(default: undefined)_\n- **--dds-chip-font-size-lg** - Font size for large chip size (default: var(--dds-font-xs)) _(default: undefined)_\n- **--dds-chip-background-color** - Background color of the chip (default: var(--dds-background-neutral-base)) _(default: undefined)_\n- **--dds-chip-text-color** - Text color of the chip (default: var(--dds-text-neutral-base)) _(default: undefined)_\n- **--dds-chip-hover-background-color** - Background color of the chip on hover (default: var(--dds-background-neutral-medium)) _(default: undefined)_\n- **--dds-chip-active-background-color** - Background color of the chip when active (default: var(--dds-background-neutral-strong)) _(default: undefined)_\n- **--dds-chip-selected-background-color** - Background color of the selected chip (default: var(--dds-background-brand-medium)) _(default: undefined)_\n- **--dds-chip-selected-text-color** - Text color of the selected chip (default: var(--dds-text-brand-subtle)) _(default: undefined)_\n- **--dds-chip-selected-border-color** - Border color of the selected chip (default: var(--dds-border-brand-base)) _(default: undefined)_\n- **--dds-chip-disabled-background-color** - Background color of the disabled chip (default: var(--dds-background-neutral-medium)) _(default: undefined)_\n- **--dds-chip-disabled-text-color** - Text color of the disabled chip (default: var(--dds-text-neutral-subtle)) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The base part\n- **content-container** - The container for the content\n- **remove-button** - The remove button\n- **remove-icon** - The icon of the remove icon\n- **remove-icon-base** - The base of the remove icon\n- **remove-icon-base-base** - The base of the remove icon base",
@@ -12594,7 +12594,7 @@
12594
12594
  }
12595
12595
  },
12596
12596
  {
12597
- "name": "dap-ds-icon-calendar-line",
12597
+ "name": "dap-ds-icon-home-6-line",
12598
12598
  "description": "An icon\n---\n\n\n### **CSS Parts:**\n - **base** - The main icon container.",
12599
12599
  "doc-url": "",
12600
12600
  "attributes": [
@@ -12647,7 +12647,7 @@
12647
12647
  }
12648
12648
  },
12649
12649
  {
12650
- "name": "dap-ds-icon-home-6-line",
12650
+ "name": "dap-ds-icon-calendar-line",
12651
12651
  "description": "An icon\n---\n\n\n### **CSS Parts:**\n - **base** - The main icon container.",
12652
12652
  "doc-url": "",
12653
12653
  "attributes": [