@rei/cedar 14.0.0 → 14.0.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/dist/cedar-compiled.css +1050 -1050
  2. package/dist/cedar.umd.js +14 -14
  3. package/dist/component-docgen.json +1877 -1877
  4. package/dist/components/image/CdrImg.vue.d.ts +2 -2
  5. package/dist/icon-component-docgen.json +570 -570
  6. package/dist/src/components/accordion/styles/CdrAccordion.module.scss.mjs +29 -29
  7. package/dist/src/components/accordion/styles/CdrAccordionGroup.module.scss.mjs +2 -2
  8. package/dist/src/components/banner/styles/CdrBanner.module.scss.mjs +14 -14
  9. package/dist/src/components/breadcrumb/styles/CdrBreadcrumb.module.scss.mjs +7 -7
  10. package/dist/src/components/button/styles/CdrButton.module.scss.mjs +31 -31
  11. package/dist/src/components/caption/styles/CdrCaption.module.scss.mjs +4 -4
  12. package/dist/src/components/card/styles/CdrCard.module.scss.mjs +3 -3
  13. package/dist/src/components/checkbox/styles/CdrCheckbox.module.scss.mjs +29 -29
  14. package/dist/src/components/chip/styles/CdrChip.module.scss.mjs +4 -4
  15. package/dist/src/components/chip/styles/CdrChipGroup.module.scss.mjs +6 -6
  16. package/dist/src/components/container/styles/CdrContainer.module.scss.mjs +4 -4
  17. package/dist/src/components/formError/styles/CdrFormError.module.scss.mjs +2 -2
  18. package/dist/src/components/formGroup/styles/CdrFormGroup.module.scss.mjs +8 -8
  19. package/dist/src/components/grid/styles/CdrGrid.module.scss.mjs +21 -21
  20. package/dist/src/components/icon/styles/CdrIcon.module.scss.mjs +12 -12
  21. package/dist/src/components/image/CdrImg.vue2.mjs +7 -7
  22. package/dist/src/components/image/styles/CdrImg.module.scss.mjs +10 -10
  23. package/dist/src/components/input/styles/CdrInput.module.scss.mjs +34 -34
  24. package/dist/src/components/labelStandalone/styles/CdrLabelStandalone.module.scss.mjs +14 -14
  25. package/dist/src/components/labelWrapper/styles/CdrLabelWrapper.module.scss.mjs +27 -27
  26. package/dist/src/components/link/styles/CdrLink.module.scss.mjs +5 -5
  27. package/dist/src/components/list/styles/CdrList.module.scss.mjs +5 -5
  28. package/dist/src/components/modal/styles/CdrModal.module.scss.mjs +14 -14
  29. package/dist/src/components/pagination/styles/CdrPagination.module.scss.mjs +55 -55
  30. package/dist/src/components/popover/styles/CdrPopover.module.scss.mjs +63 -63
  31. package/dist/src/components/popup/styles/CdrPopup.module.scss.mjs +14 -14
  32. package/dist/src/components/quote/styles/CdrQuote.module.scss.mjs +4 -4
  33. package/dist/src/components/radio/styles/CdrRadio.module.scss.mjs +29 -29
  34. package/dist/src/components/rating/styles/CdrRating.module.scss.mjs +46 -46
  35. package/dist/src/components/select/styles/CdrSelect.module.scss.mjs +42 -42
  36. package/dist/src/components/skeleton/styles/CdrSkeleton.module.scss.mjs +1 -1
  37. package/dist/src/components/skeleton/styles/CdrSkeletonBone.module.scss.mjs +7 -7
  38. package/dist/src/components/switch/styles/CdrSwitch.module.scss.mjs +8 -8
  39. package/dist/src/components/table/styles/CdrTable.module.scss.mjs +13 -13
  40. package/dist/src/components/tabs/styles/CdrTabPanel.module.scss.mjs +7 -7
  41. package/dist/src/components/tabs/styles/CdrTabs.module.scss.mjs +30 -30
  42. package/dist/src/components/text/styles/CdrText.module.scss.mjs +1 -1
  43. package/dist/src/components/toast/styles/CdrToast.module.scss.mjs +57 -57
  44. package/dist/src/components/toggleButton/styles/CdrToggleButton.module.scss.mjs +2 -2
  45. package/dist/src/components/toggleButton/styles/CdrToggleGroup.module.scss.mjs +5 -5
  46. package/dist/src/components/tooltip/styles/CdrTooltip.module.scss.mjs +16 -16
  47. package/dist/style/cdr-accordion-group.css +1 -1
  48. package/dist/style/cdr-accordion.css +1 -1
  49. package/dist/style/cdr-banner.css +1 -1
  50. package/dist/style/cdr-breadcrumb.css +1 -1
  51. package/dist/style/cdr-button.css +1 -1
  52. package/dist/style/cdr-caption.css +1 -1
  53. package/dist/style/cdr-card.css +1 -1
  54. package/dist/style/cdr-checkbox.css +1 -1
  55. package/dist/style/cdr-chip-group.css +1 -1
  56. package/dist/style/cdr-chip.css +1 -1
  57. package/dist/style/cdr-container.css +1 -1
  58. package/dist/style/cdr-form-error.css +1 -1
  59. package/dist/style/cdr-form-group.css +1 -1
  60. package/dist/style/cdr-grid.css +1 -1
  61. package/dist/style/cdr-icon.css +1 -1
  62. package/dist/style/cdr-img.css +1 -1
  63. package/dist/style/cdr-input.css +1 -1
  64. package/dist/style/cdr-label-standalone.css +1 -1
  65. package/dist/style/cdr-label-wrapper.css +1 -1
  66. package/dist/style/cdr-link.css +1 -1
  67. package/dist/style/cdr-list.css +1 -1
  68. package/dist/style/cdr-modal.css +1 -1
  69. package/dist/style/cdr-pagination.css +1 -1
  70. package/dist/style/cdr-popover.css +1 -1
  71. package/dist/style/cdr-popup.css +1 -1
  72. package/dist/style/cdr-quote.css +1 -1
  73. package/dist/style/cdr-radio.css +1 -1
  74. package/dist/style/cdr-rating.css +1 -1
  75. package/dist/style/cdr-select.css +1 -1
  76. package/dist/style/cdr-skeleton-bone.css +1 -1
  77. package/dist/style/cdr-skeleton.css +1 -1
  78. package/dist/style/cdr-switch.css +1 -1
  79. package/dist/style/cdr-tab-panel.css +1 -1
  80. package/dist/style/cdr-table.css +1 -1
  81. package/dist/style/cdr-tabs.css +1 -1
  82. package/dist/style/cdr-text.css +1 -1
  83. package/dist/style/cdr-toast.css +1 -1
  84. package/dist/style/cdr-toggle-button.css +1 -1
  85. package/dist/style/cdr-toggle-group.css +1 -1
  86. package/dist/style/cdr-tooltip.css +1 -1
  87. package/dist/style.css +1 -1
  88. package/package.json +1 -1
@@ -163,89 +163,53 @@
163
163
  }
164
164
  ]
165
165
  },
166
- "CdrButton": {
167
- "name": "CdrButton",
168
- "description": "Initiates an action, such as completing a task or submitting information",
169
- "tags": {},
166
+ "CdrAccordionGroup": {
167
+ "name": "CdrAccordionGroup",
170
168
  "exportName": "default",
171
- "displayName": "CdrButton",
169
+ "displayName": "CdrAccordionGroup",
170
+ "description": "",
171
+ "tags": {},
172
172
  "props": [
173
173
  {
174
- "name": "tag",
175
- "description": "Renders CdrButton as a <button> or <a> element. When using the value of <a>, this element renders as an anchor link.",
176
- "tags": {
177
- "demoIgnore": [
178
- {
179
- "description": "true",
180
- "title": "demoIgnore"
181
- }
182
- ]
183
- },
184
- "values": [
185
- "button",
186
- "a"
187
- ],
188
- "type": {
189
- "name": "string"
190
- },
191
- "defaultValue": {
192
- "func": false,
193
- "value": "'button'"
194
- }
195
- },
196
- {
197
- "name": "type",
198
- "description": "Sets the button type",
199
- "tags": {
200
- "demoIgnore": [
201
- {
202
- "description": "true",
203
- "title": "demoIgnore"
204
- }
205
- ]
206
- },
174
+ "name": "unwrap",
175
+ "description": "A prop that will present accordion content as unwrapped. All content is expanded at the provided breakpoints.",
176
+ "tags": {},
207
177
  "values": [
208
- "button",
209
- "submit",
210
- "reset"
178
+ "@xs",
179
+ "@sm",
180
+ "@md",
181
+ "@lg",
182
+ "true"
211
183
  ],
212
184
  "type": {
213
- "name": "string"
185
+ "name": "string|boolean"
214
186
  },
215
187
  "defaultValue": {
216
188
  "func": false,
217
- "value": "'button'"
189
+ "value": false
218
190
  }
219
- },
191
+ }
192
+ ],
193
+ "slots": [
220
194
  {
221
- "name": "modifier",
222
- "description": "Modifies the style variant for this component",
223
- "tags": {
224
- "demoSelectMultiple": [
225
- {
226
- "description": "false",
227
- "title": "demoSelectMultiple"
228
- }
229
- ]
230
- },
231
- "values": [
232
- "primary",
233
- "secondary",
234
- "sale",
235
- "dark",
236
- "link"
237
- ],
238
- "type": {
239
- "name": "string"
240
- },
241
- "defaultValue": {
242
- "func": false,
243
- "value": "'primary'"
244
- }
245
- },
195
+ "name": "default",
196
+ "description": "CdrAccordionGroup content (i.e. CdrAccordion components)"
197
+ }
198
+ ],
199
+ "sourceFiles": [
200
+ "./src/components/accordion/CdrAccordionGroup.vue"
201
+ ]
202
+ },
203
+ "CdrBanner": {
204
+ "name": "CdrBanner",
205
+ "description": "Provides contextual feedback messages for typical user actions",
206
+ "tags": {},
207
+ "exportName": "default",
208
+ "displayName": "CdrBanner",
209
+ "props": [
246
210
  {
247
- "name": "size",
248
- "description": "Sets the button size; values can target responsive breakpoints. Example: `large@sm`.",
211
+ "name": "type",
212
+ "description": "Sets the banner style.",
249
213
  "tags": {
250
214
  "demoSelectMultiple": [
251
215
  {
@@ -255,148 +219,603 @@
255
219
  ]
256
220
  },
257
221
  "values": [
258
- "small",
259
- "medium",
260
- "large"
222
+ "info",
223
+ "warning",
224
+ "success",
225
+ "error",
226
+ "default"
261
227
  ],
262
228
  "type": {
263
229
  "name": "string"
264
230
  },
265
231
  "defaultValue": {
266
232
  "func": false,
267
- "value": "'medium'"
268
- }
269
- },
270
- {
271
- "name": "fullWidth",
272
- "description": "Sets button width to 100%. Setting this value to true will set the button width to 100% of the parent container. Use the 'fullWidth' prop with the 'size' prop to control top and bottom padding.",
273
- "type": {
274
- "name": "string|boolean"
275
- },
276
- "defaultValue": {
277
- "func": false,
278
- "value": false
279
- }
280
- },
281
- {
282
- "name": "iconOnly",
283
- "description": "Renders an 'icon-only' button. When this value is true, it will override the size and 'responsiveSize' props. Can be used in conjunction with 'with-background'",
284
- "type": {
285
- "name": "boolean"
286
- },
287
- "defaultValue": {
288
- "func": false,
289
- "value": false
290
- }
291
- },
292
- {
293
- "name": "withBackground",
294
- "description": "Renders an 'icon-only' button with a background color and border. Must be used in conjunction with the 'iconOnly' prop.",
295
- "type": {
296
- "name": "boolean"
297
- },
298
- "defaultValue": {
299
- "func": false,
300
- "value": false
233
+ "value": "'default'"
301
234
  }
302
235
  }
303
236
  ],
304
237
  "slots": [
305
238
  {
306
239
  "name": "icon-left",
307
- "description": "Icon to the left of text content"
308
- },
309
- {
310
- "name": "icon",
311
- "description": "Icon for icon-only button"
240
+ "description": "Icon matching banner type"
312
241
  },
313
242
  {
314
243
  "name": "default",
315
- "description": "Readable text of the button. Leave empty if icon-only"
244
+ "description": "Primary message content"
316
245
  },
317
246
  {
318
247
  "name": "icon-right",
319
- "description": "Icon to the right of text content"
248
+ "description": "Additional icon"
249
+ },
250
+ {
251
+ "name": "message-body",
252
+ "description": "Additional content about the message"
253
+ },
254
+ {
255
+ "name": "info-action",
256
+ "description": "Action-wrapped icon"
320
257
  }
321
258
  ],
322
259
  "sourceFiles": [
323
- "./src/components/button/CdrButton.vue"
260
+ "./src/components/banner/CdrBanner.vue"
324
261
  ],
325
262
  "UIProperties": [
326
263
  {
327
- "name": "--cdr-button-primary-background-color-rest",
328
- "defaultValue": "--cdr-color-background-button-primary-rest",
329
- "description": "Primary button's background color"
264
+ "name": "--cdr-banner-message-body-background-color",
265
+ "defaultValue": "--cdr-color-background-primary",
266
+ "description": "Message body background color"
330
267
  },
331
268
  {
332
- "name": "--cdr-button-primary-box-shadow-color-rest",
333
- "defaultValue": "--cdr-color-border-button-primary-rest",
334
- "description": "Primary button's box shadow which serves as a border"
269
+ "name": "--cdr-banner-icon-right-fill",
270
+ "defaultValue": "--cdr-color-text-emphasis",
271
+ "description": "Right icon fill color"
335
272
  },
336
273
  {
337
- "name": "--cdr-button-primary-text-color",
338
- "defaultValue": "--cdr-color-text-button-primary",
339
- "description": "Primary button's text color"
274
+ "name": "--cdr-banner-info-action-fill",
275
+ "defaultValue": "--cdr-color-text-link-rest",
276
+ "description": "Info action icon fill color"
340
277
  },
341
278
  {
342
- "name": "--cdr-button-primary-fill-color",
343
- "defaultValue": "--cdr-color-text-button-primary",
344
- "description": "Primary button's fill color"
279
+ "name": "--cdr-banner-default-icon-left-background-color",
280
+ "defaultValue": "--cdr-color-background-message-default-02",
281
+ "description": "Left icon background color for default banner"
345
282
  },
346
283
  {
347
- "name": "--cdr-button-primary-text-color-interaction",
348
- "defaultValue": "--cdr-color-text-button-primary-hover",
349
- "description": "Primary button's text color when hovered or focused"
284
+ "name": "--cdr-banner-default-icon-left-fill",
285
+ "defaultValue": "--cdr-color-icon-message-default",
286
+ "description": "Left icon fill color for default banner"
350
287
  },
351
288
  {
352
- "name": "--cdr-button-primary-fill-color-interaction",
353
- "defaultValue": "--cdr-color-text-button-primary-hover",
354
- "description": "Primary button's fill color when hovered or focused"
289
+ "name": "--cdr-banner-default-wrapper-border-left-color",
290
+ "defaultValue": "--cdr-color-border-message-default-01",
291
+ "description": "Wrapper border left color for default banner"
355
292
  },
356
293
  {
357
- "name": "--cdr-button-primary-background-color-interaction",
358
- "defaultValue": "--cdr-color-background-button-primary-hover",
359
- "description": "Primary button's background color when hovered or focused"
294
+ "name": "--cdr-banner-info-icon-left-background-color",
295
+ "defaultValue": "--cdr-color-background-message-info-02",
296
+ "description": "Left icon background color for info banner"
360
297
  },
361
298
  {
362
- "name": "--cdr-button-primary-box-shadow-color-interaction",
363
- "defaultValue": "--cdr-color-border-button-primary-hover",
364
- "description": "Primary button's box shadow when hovered or focused"
299
+ "name": "--cdr-banner-info-icon-left-fill",
300
+ "defaultValue": "--cdr-color-icon-message-info",
301
+ "description": "Left icon fill color for info banner"
365
302
  },
366
303
  {
367
- "name": "--cdr-button-primary-text-color-active",
368
- "defaultValue": "--cdr-color-text-button-primary-active",
369
- "description": "Primary button's text color when active"
304
+ "name": "--cdr-banner-info-wrapper-border-left-color",
305
+ "defaultValue": "--cdr-color-border-message-info-01",
306
+ "description": "Wrapper border left color for info banner"
370
307
  },
371
308
  {
372
- "name": "--cdr-button-primary-fill-color-active",
373
- "defaultValue": "--cdr-color-text-button-primary-active",
374
- "description": "Primary button's fill color when active"
309
+ "name": "--cdr-banner-warning-icon-left-background-color",
310
+ "defaultValue": "--cdr-color-background-message-warning-02",
311
+ "description": "Left icon background color for warning banner"
375
312
  },
376
313
  {
377
- "name": "--cdr-button-primary-background-color-active",
378
- "defaultValue": "--cdr-color-background-button-primary-active",
379
- "description": "Primary button's background color when active"
314
+ "name": "--cdr-banner-warning-icon-left-fill",
315
+ "defaultValue": "--cdr-color-icon-message-warning",
316
+ "description": "Left icon fill color for warning banner"
380
317
  },
381
318
  {
382
- "name": "--cdr-button-primary-box-shadow-color-active",
383
- "defaultValue": "--cdr-color-border-button-primary-active",
384
- "description": "Primary button's box shadow when active."
319
+ "name": "--cdr-banner-warning-wrapper-border-left-color",
320
+ "defaultValue": "--cdr-color-border-message-warning-01",
321
+ "description": "Wrapper border left color for warning banner"
385
322
  },
386
323
  {
387
- "name": "--cdr-button-primary-box-shadow-color-active-inset",
388
- "defaultValue": "--cdr-color-border-button-primary-active-inset",
389
- "description": "Primary button's inset box shadow when active"
324
+ "name": "--cdr-banner-success-icon-left-background-color",
325
+ "defaultValue": "--cdr-color-background-message-success-02",
326
+ "description": "Left icon background color for success banner"
390
327
  },
391
328
  {
392
- "name": "--cdr-button-primary-background-color-disabled",
393
- "defaultValue": "--cdr-color-background-button-default-disabled",
394
- "description": "Primary button's background color when disabled"
329
+ "name": "--cdr-banner-success-icon-left-fill",
330
+ "defaultValue": "--cdr-color-icon-message-success",
331
+ "description": "Left icon fill color for success banner"
395
332
  },
396
333
  {
397
- "name": "--cdr-button-primary-box-shadow-color-disabled",
398
- "defaultValue": "--cdr-color-border-button-default-disabled",
399
- "description": "Primary button's border color when disabled"
334
+ "name": "--cdr-banner-success-wrapper-border-left-color",
335
+ "defaultValue": "--cdr-color-border-message-success-01",
336
+ "description": "Wrapper border left color for success banner"
337
+ },
338
+ {
339
+ "name": "--cdr-banner-error-icon-left-background-color",
340
+ "defaultValue": "--cdr-color-background-message-error-02",
341
+ "description": "Left icon background color for error banner"
342
+ },
343
+ {
344
+ "name": "--cdr-banner-error-icon-left-fill",
345
+ "defaultValue": "--cdr-color-icon-message-error",
346
+ "description": "Left icon fill color for error banner"
347
+ },
348
+ {
349
+ "name": "--cdr-banner-error-wrapper-border-left-color",
350
+ "defaultValue": "--cdr-color-border-message-error-01",
351
+ "description": "Wrapper border left color for error banner"
352
+ },
353
+ {
354
+ "name": "--cdr-banner-default-background-color",
355
+ "defaultValue": "--cdr-color-background-message-default-01",
356
+ "description": "Background color for a default cdr-banner"
357
+ },
358
+ {
359
+ "name": "--cdr-banner-default-outline-color",
360
+ "defaultValue": "--cdr-color-border-message-default-02",
361
+ "description": "Outline color for a default cdr-banner"
362
+ },
363
+ {
364
+ "name": "--cdr-banner-info-background-color",
365
+ "defaultValue": "--cdr-color-background-message-info-01",
366
+ "description": "Background color for an info cdr-banner"
367
+ },
368
+ {
369
+ "name": "--cdr-banner-info-outline-color",
370
+ "defaultValue": "--cdr-color-border-message-info-02",
371
+ "description": "Outline color for an info cdr-banner"
372
+ },
373
+ {
374
+ "name": "--cdr-banner-success-background-color",
375
+ "defaultValue": "--cdr-color-background-message-success-01",
376
+ "description": "Background color for a success cdr-banner"
377
+ },
378
+ {
379
+ "name": "--cdr-banner-success-outline-color",
380
+ "defaultValue": "--cdr-color-border-message-success-02",
381
+ "description": "Outline color for a success cdr-banner"
382
+ },
383
+ {
384
+ "name": "--cdr-banner-warning-background-color",
385
+ "defaultValue": "--cdr-color-background-message-warning-01",
386
+ "description": "Background color for a warning cdr-banner"
387
+ },
388
+ {
389
+ "name": "--cdr-banner-warning-outline-color",
390
+ "defaultValue": "--cdr-color-border-message-warning-02",
391
+ "description": "Outline color for a warning cdr-banner"
392
+ },
393
+ {
394
+ "name": "--cdr-banner-error-background-color",
395
+ "defaultValue": "--cdr-color-background-message-error-01",
396
+ "description": "Background color for an error cdr-banner"
397
+ },
398
+ {
399
+ "name": "--cdr-banner-error-outline-color",
400
+ "defaultValue": "--cdr-color-border-message-error-02",
401
+ "description": "Outline color for an error cdr-banner"
402
+ }
403
+ ]
404
+ },
405
+ "CdrBreadcrumb": {
406
+ "name": "CdrBreadcrumb",
407
+ "description": "Navigation used to reveal a page's location within the site hierarchy",
408
+ "tags": {},
409
+ "exportName": "default",
410
+ "displayName": "CdrBreadcrumb",
411
+ "props": [
412
+ {
413
+ "name": "items",
414
+ "description": "Sets the array of a breadcrumb object containing a 'url' and 'name' property.",
415
+ "tags": {
416
+ "demoIgnore": [
417
+ {
418
+ "description": "true",
419
+ "title": "demoIgnore"
420
+ }
421
+ ]
422
+ },
423
+ "type": {
424
+ "name": "breadcrumbItem[]"
425
+ },
426
+ "defaultValue": {
427
+ "func": true,
428
+ "value": "() => []"
429
+ }
430
+ },
431
+ {
432
+ "name": "truncationEnabled",
433
+ "description": "Controls the ability to truncate the entire breadcrumb path. If this value is false, truncation will no longer occur.",
434
+ "type": {
435
+ "name": "boolean"
436
+ },
437
+ "defaultValue": {
438
+ "func": false,
439
+ "value": true
440
+ }
441
+ },
442
+ {
443
+ "name": "id",
444
+ "description": "Define a custom ID for the `<nav>` element. Randomly generated if no ID provided.",
445
+ "tags": {
446
+ "demoIgnore": [
447
+ {
448
+ "description": "true",
449
+ "title": "demoIgnore"
450
+ }
451
+ ]
452
+ },
453
+ "type": {
454
+ "name": "string"
455
+ }
456
+ }
457
+ ],
458
+ "events": [
459
+ {
460
+ "name": "navigate",
461
+ "description": "Emits when a breadcrumb item is clicked. `e.preventDefault()` may be used to override the default link navigation.",
462
+ "properties": [
463
+ {
464
+ "type": {
465
+ "names": [
466
+ "mixed"
467
+ ]
468
+ },
469
+ "name": "breadcrumb",
470
+ "description": "The breadcrumb data object"
471
+ }
472
+ ],
473
+ "tags": [
474
+ {
475
+ "title": "param",
476
+ "type": {
477
+ "name": "mixed"
478
+ },
479
+ "name": "breadcrumb",
480
+ "description": "The breadcrumb data object"
481
+ }
482
+ ]
483
+ }
484
+ ],
485
+ "slots": [
486
+ {
487
+ "name": "link",
488
+ "scoped": true,
489
+ "bindings": [
490
+ {
491
+ "name": "class",
492
+ "title": "binding"
493
+ },
494
+ {
495
+ "name": "href",
496
+ "title": "binding"
497
+ },
498
+ {
499
+ "name": "content",
500
+ "title": "binding"
501
+ }
502
+ ]
503
+ }
504
+ ],
505
+ "sourceFiles": [
506
+ "./src/components/breadcrumb/CdrBreadcrumb.vue"
507
+ ],
508
+ "UIProperties": [
509
+ {
510
+ "name": "--cdr-breadcrumb-ellipses-icon-color",
511
+ "defaultValue": "--cdr-color-text-secondary",
512
+ "description": "Ellipses icon color"
513
+ },
514
+ {
515
+ "name": "--cdr-breadcrumb-ellipses-icon-highlight-color",
516
+ "defaultValue": "--cdr-color-text-link-hover",
517
+ "description": "Ellipses icon hover, active and focus color"
518
+ },
519
+ {
520
+ "name": "--cdr-breadcrumb-item-color",
521
+ "defaultValue": "--cdr-color-text-secondary",
522
+ "description": "Breadcrumb item color"
523
+ },
524
+ {
525
+ "name": "--cdr-breadcrumb-item-linked-highlight-color",
526
+ "defaultValue": "--cdr-color-text-link-hover",
527
+ "description": "Breadcrumb item linked hover, active and focus color"
528
+ }
529
+ ]
530
+ },
531
+ "CdrCaption": {
532
+ "name": "CdrCaption",
533
+ "description": "Provides context and credit for an asset such as an image, video, or chart",
534
+ "tags": {},
535
+ "exportName": "default",
536
+ "displayName": "CdrCaption",
537
+ "props": [
538
+ {
539
+ "name": "summary",
540
+ "description": "Sets the string content for the description body of the caption.",
541
+ "tags": {
542
+ "demoIgnore": [
543
+ {
544
+ "description": "true",
545
+ "title": "demoIgnore"
546
+ }
547
+ ]
548
+ },
549
+ "type": {
550
+ "name": "string"
551
+ }
552
+ },
553
+ {
554
+ "name": "credit",
555
+ "description": "Sets the string content for attribution.",
556
+ "tags": {
557
+ "demoIgnore": [
558
+ {
559
+ "description": "true",
560
+ "title": "demoIgnore"
561
+ }
562
+ ]
563
+ },
564
+ "type": {
565
+ "name": "string"
566
+ }
567
+ }
568
+ ],
569
+ "sourceFiles": [
570
+ "./src/components/caption/CdrCaption.vue"
571
+ ],
572
+ "UIProperties": [
573
+ {
574
+ "name": "--cdr-caption-summary-color",
575
+ "defaultValue": "--cdr-color-text-primary",
576
+ "description": "Text color of a cdr-caption"
577
+ },
578
+ {
579
+ "name": "--cdr-caption-cite-color",
580
+ "defaultValue": "--cdr-color-text-secondary",
581
+ "description": "Text color of a cdr-caption"
582
+ }
583
+ ]
584
+ },
585
+ "CdrButton": {
586
+ "name": "CdrButton",
587
+ "description": "Initiates an action, such as completing a task or submitting information",
588
+ "tags": {},
589
+ "exportName": "default",
590
+ "displayName": "CdrButton",
591
+ "props": [
592
+ {
593
+ "name": "tag",
594
+ "description": "Renders CdrButton as a <button> or <a> element. When using the value of <a>, this element renders as an anchor link.",
595
+ "tags": {
596
+ "demoIgnore": [
597
+ {
598
+ "description": "true",
599
+ "title": "demoIgnore"
600
+ }
601
+ ]
602
+ },
603
+ "values": [
604
+ "button",
605
+ "a"
606
+ ],
607
+ "type": {
608
+ "name": "string"
609
+ },
610
+ "defaultValue": {
611
+ "func": false,
612
+ "value": "'button'"
613
+ }
614
+ },
615
+ {
616
+ "name": "type",
617
+ "description": "Sets the button type",
618
+ "tags": {
619
+ "demoIgnore": [
620
+ {
621
+ "description": "true",
622
+ "title": "demoIgnore"
623
+ }
624
+ ]
625
+ },
626
+ "values": [
627
+ "button",
628
+ "submit",
629
+ "reset"
630
+ ],
631
+ "type": {
632
+ "name": "string"
633
+ },
634
+ "defaultValue": {
635
+ "func": false,
636
+ "value": "'button'"
637
+ }
638
+ },
639
+ {
640
+ "name": "modifier",
641
+ "description": "Modifies the style variant for this component",
642
+ "tags": {
643
+ "demoSelectMultiple": [
644
+ {
645
+ "description": "false",
646
+ "title": "demoSelectMultiple"
647
+ }
648
+ ]
649
+ },
650
+ "values": [
651
+ "primary",
652
+ "secondary",
653
+ "sale",
654
+ "dark",
655
+ "link"
656
+ ],
657
+ "type": {
658
+ "name": "string"
659
+ },
660
+ "defaultValue": {
661
+ "func": false,
662
+ "value": "'primary'"
663
+ }
664
+ },
665
+ {
666
+ "name": "size",
667
+ "description": "Sets the button size; values can target responsive breakpoints. Example: `large@sm`.",
668
+ "tags": {
669
+ "demoSelectMultiple": [
670
+ {
671
+ "description": "false",
672
+ "title": "demoSelectMultiple"
673
+ }
674
+ ]
675
+ },
676
+ "values": [
677
+ "small",
678
+ "medium",
679
+ "large"
680
+ ],
681
+ "type": {
682
+ "name": "string"
683
+ },
684
+ "defaultValue": {
685
+ "func": false,
686
+ "value": "'medium'"
687
+ }
688
+ },
689
+ {
690
+ "name": "fullWidth",
691
+ "description": "Sets button width to 100%. Setting this value to true will set the button width to 100% of the parent container. Use the 'fullWidth' prop with the 'size' prop to control top and bottom padding.",
692
+ "type": {
693
+ "name": "string|boolean"
694
+ },
695
+ "defaultValue": {
696
+ "func": false,
697
+ "value": false
698
+ }
699
+ },
700
+ {
701
+ "name": "iconOnly",
702
+ "description": "Renders an 'icon-only' button. When this value is true, it will override the size and 'responsiveSize' props. Can be used in conjunction with 'with-background'",
703
+ "type": {
704
+ "name": "boolean"
705
+ },
706
+ "defaultValue": {
707
+ "func": false,
708
+ "value": false
709
+ }
710
+ },
711
+ {
712
+ "name": "withBackground",
713
+ "description": "Renders an 'icon-only' button with a background color and border. Must be used in conjunction with the 'iconOnly' prop.",
714
+ "type": {
715
+ "name": "boolean"
716
+ },
717
+ "defaultValue": {
718
+ "func": false,
719
+ "value": false
720
+ }
721
+ }
722
+ ],
723
+ "slots": [
724
+ {
725
+ "name": "icon-left",
726
+ "description": "Icon to the left of text content"
727
+ },
728
+ {
729
+ "name": "icon",
730
+ "description": "Icon for icon-only button"
731
+ },
732
+ {
733
+ "name": "default",
734
+ "description": "Readable text of the button. Leave empty if icon-only"
735
+ },
736
+ {
737
+ "name": "icon-right",
738
+ "description": "Icon to the right of text content"
739
+ }
740
+ ],
741
+ "sourceFiles": [
742
+ "./src/components/button/CdrButton.vue"
743
+ ],
744
+ "UIProperties": [
745
+ {
746
+ "name": "--cdr-button-primary-background-color-rest",
747
+ "defaultValue": "--cdr-color-background-button-primary-rest",
748
+ "description": "Primary button's background color"
749
+ },
750
+ {
751
+ "name": "--cdr-button-primary-box-shadow-color-rest",
752
+ "defaultValue": "--cdr-color-border-button-primary-rest",
753
+ "description": "Primary button's box shadow which serves as a border"
754
+ },
755
+ {
756
+ "name": "--cdr-button-primary-text-color",
757
+ "defaultValue": "--cdr-color-text-button-primary",
758
+ "description": "Primary button's text color"
759
+ },
760
+ {
761
+ "name": "--cdr-button-primary-fill-color",
762
+ "defaultValue": "--cdr-color-text-button-primary",
763
+ "description": "Primary button's fill color"
764
+ },
765
+ {
766
+ "name": "--cdr-button-primary-text-color-interaction",
767
+ "defaultValue": "--cdr-color-text-button-primary-hover",
768
+ "description": "Primary button's text color when hovered or focused"
769
+ },
770
+ {
771
+ "name": "--cdr-button-primary-fill-color-interaction",
772
+ "defaultValue": "--cdr-color-text-button-primary-hover",
773
+ "description": "Primary button's fill color when hovered or focused"
774
+ },
775
+ {
776
+ "name": "--cdr-button-primary-background-color-interaction",
777
+ "defaultValue": "--cdr-color-background-button-primary-hover",
778
+ "description": "Primary button's background color when hovered or focused"
779
+ },
780
+ {
781
+ "name": "--cdr-button-primary-box-shadow-color-interaction",
782
+ "defaultValue": "--cdr-color-border-button-primary-hover",
783
+ "description": "Primary button's box shadow when hovered or focused"
784
+ },
785
+ {
786
+ "name": "--cdr-button-primary-text-color-active",
787
+ "defaultValue": "--cdr-color-text-button-primary-active",
788
+ "description": "Primary button's text color when active"
789
+ },
790
+ {
791
+ "name": "--cdr-button-primary-fill-color-active",
792
+ "defaultValue": "--cdr-color-text-button-primary-active",
793
+ "description": "Primary button's fill color when active"
794
+ },
795
+ {
796
+ "name": "--cdr-button-primary-background-color-active",
797
+ "defaultValue": "--cdr-color-background-button-primary-active",
798
+ "description": "Primary button's background color when active"
799
+ },
800
+ {
801
+ "name": "--cdr-button-primary-box-shadow-color-active",
802
+ "defaultValue": "--cdr-color-border-button-primary-active",
803
+ "description": "Primary button's box shadow when active."
804
+ },
805
+ {
806
+ "name": "--cdr-button-primary-box-shadow-color-active-inset",
807
+ "defaultValue": "--cdr-color-border-button-primary-active-inset",
808
+ "description": "Primary button's inset box shadow when active"
809
+ },
810
+ {
811
+ "name": "--cdr-button-primary-background-color-disabled",
812
+ "defaultValue": "--cdr-color-background-button-default-disabled",
813
+ "description": "Primary button's background color when disabled"
814
+ },
815
+ {
816
+ "name": "--cdr-button-primary-box-shadow-color-disabled",
817
+ "defaultValue": "--cdr-color-border-button-default-disabled",
818
+ "description": "Primary button's border color when disabled"
400
819
  },
401
820
  {
402
821
  "name": "--cdr-button-primary-text-color-disabled",
@@ -865,437 +1284,227 @@
865
1284
  }
866
1285
  ]
867
1286
  },
868
- "CdrCaption": {
869
- "name": "CdrCaption",
870
- "description": "Provides context and credit for an asset such as an image, video, or chart",
871
- "tags": {},
872
- "exportName": "default",
873
- "displayName": "CdrCaption",
874
- "props": [
875
- {
876
- "name": "summary",
877
- "description": "Sets the string content for the description body of the caption.",
878
- "tags": {
879
- "demoIgnore": [
880
- {
881
- "description": "true",
882
- "title": "demoIgnore"
883
- }
884
- ]
885
- },
886
- "type": {
887
- "name": "string"
888
- }
889
- },
890
- {
891
- "name": "credit",
892
- "description": "Sets the string content for attribution.",
893
- "tags": {
894
- "demoIgnore": [
895
- {
896
- "description": "true",
897
- "title": "demoIgnore"
898
- }
899
- ]
900
- },
901
- "type": {
902
- "name": "string"
903
- }
904
- }
905
- ],
906
- "sourceFiles": [
907
- "./src/components/caption/CdrCaption.vue"
908
- ],
909
- "UIProperties": [
910
- {
911
- "name": "--cdr-caption-summary-color",
912
- "defaultValue": "--cdr-color-text-primary",
913
- "description": "Text color of a cdr-caption"
914
- },
915
- {
916
- "name": "--cdr-caption-cite-color",
917
- "defaultValue": "--cdr-color-text-secondary",
918
- "description": "Text color of a cdr-caption"
919
- }
920
- ]
921
- },
922
- "CdrCard": {
923
- "name": "CdrCard",
924
- "description": "Related, interactive containers linking to a single subject or destination",
925
- "tags": {},
926
- "exportName": "default",
927
- "displayName": "CdrCard",
928
- "props": [
929
- {
930
- "name": "tag",
931
- "description": "Sets valid HTML container element tag.",
932
- "type": {
933
- "name": "string"
934
- },
935
- "defaultValue": {
936
- "func": false,
937
- "value": "'article'"
938
- }
939
- }
940
- ],
941
- "slots": [
942
- {
943
- "name": "default",
944
- "description": "CdrCard content"
945
- }
946
- ],
947
- "sourceFiles": [
948
- "./src/components/card/CdrCard.vue"
949
- ],
950
- "UIProperties": [
951
- {
952
- "name": "--cdr-card-base-background-color",
953
- "defaultValue": "--cdr-color-background-primary",
954
- "description": "Background color of a cdr-card"
955
- },
956
- {
957
- "name": "--cdr-card-base-color",
958
- "defaultValue": "--cdr-color-text-primary",
959
- "description": "Text color of a cdr-card"
960
- },
961
- {
962
- "name": "--cdr-card-link-color",
963
- "defaultValue": "--cdr-color-text-primary",
964
- "description": "Link text color of a cdr-card"
965
- },
966
- {
967
- "name": "--cdr-card-link-hover-color",
968
- "defaultValue": "--cdr-color-text-link-hover",
969
- "description": "Link hover text color of a cdr-card"
970
- }
971
- ]
972
- },
973
- "CdrBanner": {
974
- "name": "CdrBanner",
975
- "description": "Provides contextual feedback messages for typical user actions",
1287
+ "CdrChip": {
1288
+ "name": "CdrChip",
1289
+ "description": "Allows people to make selections, filter content, or trigger actions",
976
1290
  "tags": {},
977
1291
  "exportName": "default",
978
- "displayName": "CdrBanner",
979
- "props": [
980
- {
981
- "name": "type",
982
- "description": "Sets the banner style.",
983
- "tags": {
984
- "demoSelectMultiple": [
985
- {
986
- "description": "false",
987
- "title": "demoSelectMultiple"
988
- }
989
- ]
990
- },
991
- "values": [
992
- "info",
993
- "warning",
994
- "success",
995
- "error",
996
- "default"
997
- ],
998
- "type": {
999
- "name": "string"
1000
- },
1001
- "defaultValue": {
1002
- "func": false,
1003
- "value": "'default'"
1004
- }
1005
- }
1006
- ],
1292
+ "displayName": "CdrChip",
1007
1293
  "slots": [
1008
1294
  {
1009
1295
  "name": "icon-left",
1010
- "description": "Icon matching banner type"
1011
- },
1012
- {
1013
- "name": "default",
1014
- "description": "Primary message content"
1296
+ "description": "Icon to the left of the content"
1015
1297
  },
1016
1298
  {
1017
1299
  "name": "icon-right",
1018
- "description": "Additional icon"
1019
- },
1020
- {
1021
- "name": "message-body",
1022
- "description": "Additional content about the message"
1023
- },
1024
- {
1025
- "name": "info-action",
1026
- "description": "Action-wrapped icon"
1027
- }
1028
- ],
1029
- "sourceFiles": [
1030
- "./src/components/banner/CdrBanner.vue"
1031
- ],
1032
- "UIProperties": [
1033
- {
1034
- "name": "--cdr-banner-message-body-background-color",
1035
- "defaultValue": "--cdr-color-background-primary",
1036
- "description": "Message body background color"
1037
- },
1038
- {
1039
- "name": "--cdr-banner-icon-right-fill",
1040
- "defaultValue": "--cdr-color-text-emphasis",
1041
- "description": "Right icon fill color"
1042
- },
1043
- {
1044
- "name": "--cdr-banner-info-action-fill",
1045
- "defaultValue": "--cdr-color-text-link-rest",
1046
- "description": "Info action icon fill color"
1047
- },
1048
- {
1049
- "name": "--cdr-banner-default-icon-left-background-color",
1050
- "defaultValue": "--cdr-color-background-message-default-02",
1051
- "description": "Left icon background color for default banner"
1052
- },
1053
- {
1054
- "name": "--cdr-banner-default-icon-left-fill",
1055
- "defaultValue": "--cdr-color-icon-message-default",
1056
- "description": "Left icon fill color for default banner"
1057
- },
1058
- {
1059
- "name": "--cdr-banner-default-wrapper-border-left-color",
1060
- "defaultValue": "--cdr-color-border-message-default-01",
1061
- "description": "Wrapper border left color for default banner"
1062
- },
1063
- {
1064
- "name": "--cdr-banner-info-icon-left-background-color",
1065
- "defaultValue": "--cdr-color-background-message-info-02",
1066
- "description": "Left icon background color for info banner"
1300
+ "description": "Icon to the right of the content"
1067
1301
  },
1068
1302
  {
1069
- "name": "--cdr-banner-info-icon-left-fill",
1070
- "defaultValue": "--cdr-color-icon-message-info",
1071
- "description": "Left icon fill color for info banner"
1303
+ "name": "default",
1304
+ "description": "Primary CdrChip content"
1305
+ }
1306
+ ],
1307
+ "sourceFiles": [
1308
+ "./src/components/chip/CdrChip.vue"
1309
+ ],
1310
+ "UIProperties": [
1311
+ {
1312
+ "name": "--cdr-chip-text-color",
1313
+ "defaultValue": "--cdr-color-text-chip-default",
1314
+ "description": "Text color of a cdr-chip"
1072
1315
  },
1073
1316
  {
1074
- "name": "--cdr-banner-info-wrapper-border-left-color",
1075
- "defaultValue": "--cdr-color-border-message-info-01",
1076
- "description": "Wrapper border left color for info banner"
1317
+ "name": "--cdr-chip-fill-color",
1318
+ "defaultValue": "--cdr-color-text-chip-default",
1319
+ "description": "Fill color of a cdr-chip"
1077
1320
  },
1078
1321
  {
1079
- "name": "--cdr-banner-warning-icon-left-background-color",
1080
- "defaultValue": "--cdr-color-background-message-warning-02",
1081
- "description": "Left icon background color for warning banner"
1322
+ "name": "--cdr-chip-background-color-rest",
1323
+ "defaultValue": "--cdr-color-background-chip-default-rest",
1324
+ "description": "Background color of a cdr-chip"
1082
1325
  },
1083
1326
  {
1084
- "name": "--cdr-banner-warning-icon-left-fill",
1085
- "defaultValue": "--cdr-color-icon-message-warning",
1086
- "description": "Left icon fill color for warning banner"
1327
+ "name": "--cdr-chip-box-shadow-color-rest",
1328
+ "defaultValue": "--cdr-color-border-chip-default-rest",
1329
+ "description": "Box-shadow color of a cdr-chip"
1087
1330
  },
1088
1331
  {
1089
- "name": "--cdr-banner-warning-wrapper-border-left-color",
1090
- "defaultValue": "--cdr-color-border-message-warning-01",
1091
- "description": "Wrapper border left color for warning banner"
1332
+ "name": "--cdr-chip-background-color-disabled",
1333
+ "defaultValue": "--cdr-color-background-chip-default-disabled",
1334
+ "description": "Background color of a cdr-chip when disabled"
1092
1335
  },
1093
1336
  {
1094
- "name": "--cdr-banner-success-icon-left-background-color",
1095
- "defaultValue": "--cdr-color-background-message-success-02",
1096
- "description": "Left icon background color for success banner"
1337
+ "name": "--cdr-chip-box-shadow-color-disabled",
1338
+ "defaultValue": "--cdr-color-border-chip-default-disabled",
1339
+ "description": "Box-shadow color of a cdr-chip when disabled"
1097
1340
  },
1098
1341
  {
1099
- "name": "--cdr-banner-success-icon-left-fill",
1100
- "defaultValue": "--cdr-color-icon-message-success",
1101
- "description": "Left icon fill color for success banner"
1342
+ "name": "--cdr-chip-text-color-disabled",
1343
+ "defaultValue": "--cdr-color-text-chip-disabled",
1344
+ "description": "Text color of a cdr-chip when disabled"
1102
1345
  },
1103
1346
  {
1104
- "name": "--cdr-banner-success-wrapper-border-left-color",
1105
- "defaultValue": "--cdr-color-border-message-success-01",
1106
- "description": "Wrapper border left color for success banner"
1347
+ "name": "--cdr-chip-background-color-hover",
1348
+ "defaultValue": "--cdr-color-background-chip-default-hover",
1349
+ "description": "Background color of a cdr-chip on hover"
1107
1350
  },
1108
1351
  {
1109
- "name": "--cdr-banner-error-icon-left-background-color",
1110
- "defaultValue": "--cdr-color-background-message-error-02",
1111
- "description": "Left icon background color for error banner"
1352
+ "name": "--cdr-chip-box-shadow-color-hover",
1353
+ "defaultValue": "--cdr-color-border-chip-default-hover",
1354
+ "description": "Box-shadow color of a cdr-chip on hover"
1112
1355
  },
1113
1356
  {
1114
- "name": "--cdr-banner-error-icon-left-fill",
1115
- "defaultValue": "--cdr-color-icon-message-error",
1116
- "description": "Left icon fill color for error banner"
1357
+ "name": "--cdr-chip-background-color-focus",
1358
+ "defaultValue": "--cdr-color-background-chip-default-focus",
1359
+ "description": "Background color of a cdr-chip on focus"
1117
1360
  },
1118
1361
  {
1119
- "name": "--cdr-banner-error-wrapper-border-left-color",
1120
- "defaultValue": "--cdr-color-border-message-error-01",
1121
- "description": "Wrapper border left color for error banner"
1362
+ "name": "--cdr-chip-box-shadow-color-focus",
1363
+ "defaultValue": "--cdr-color-border-chip-default-focus",
1364
+ "description": "Box-shadow color of a cdr-chip on focus"
1122
1365
  },
1123
1366
  {
1124
- "name": "--cdr-banner-default-background-color",
1125
- "defaultValue": "--cdr-color-background-message-default-01",
1126
- "description": "Background color for a default cdr-banner"
1367
+ "name": "--cdr-chip-background-color-active",
1368
+ "defaultValue": "--cdr-color-background-chip-default-active",
1369
+ "description": "Background color of a cdr-chip when active"
1127
1370
  },
1128
1371
  {
1129
- "name": "--cdr-banner-default-outline-color",
1130
- "defaultValue": "--cdr-color-border-message-default-02",
1131
- "description": "Outline color for a default cdr-banner"
1372
+ "name": "--cdr-chip-box-shadow-color-active",
1373
+ "defaultValue": "--cdr-color-border-chip-default-active",
1374
+ "description": "Box-shadow color of a cdr-chip when active"
1132
1375
  },
1133
1376
  {
1134
- "name": "--cdr-banner-info-background-color",
1135
- "defaultValue": "--cdr-color-background-message-info-01",
1136
- "description": "Background color for an info cdr-banner"
1377
+ "name": "--cdr-chip-background-color-selected-rest",
1378
+ "defaultValue": "--cdr-color-background-chip-default-selected",
1379
+ "description": "Background color of a cdr-chip when selected"
1137
1380
  },
1138
1381
  {
1139
- "name": "--cdr-banner-info-outline-color",
1140
- "defaultValue": "--cdr-color-border-message-info-02",
1141
- "description": "Outline color for an info cdr-banner"
1382
+ "name": "--cdr-chip-box-shadow-color-selected-rest",
1383
+ "defaultValue": "--cdr-color-border-chip-default-selected-rest",
1384
+ "description": "Box-shadow color of a cdr-chip when selected"
1142
1385
  },
1143
1386
  {
1144
- "name": "--cdr-banner-success-background-color",
1145
- "defaultValue": "--cdr-color-background-message-success-01",
1146
- "description": "Background color for a success cdr-banner"
1387
+ "name": "--cdr-chip-background-color-selected-hover",
1388
+ "defaultValue": "--cdr-color-background-chip-default-selected-hover",
1389
+ "description": "Background color of a cdr-chip when selected and hovered"
1147
1390
  },
1148
1391
  {
1149
- "name": "--cdr-banner-success-outline-color",
1150
- "defaultValue": "--cdr-color-border-message-success-02",
1151
- "description": "Outline color for a success cdr-banner"
1392
+ "name": "--cdr-chip-box-shadow-color-selected-hover",
1393
+ "defaultValue": "--cdr-color-border-chip-default-selected-hover",
1394
+ "description": "Box-shadow color of a cdr-chip when selected and hovered"
1152
1395
  },
1153
1396
  {
1154
- "name": "--cdr-banner-warning-background-color",
1155
- "defaultValue": "--cdr-color-background-message-warning-01",
1156
- "description": "Background color for a warning cdr-banner"
1397
+ "name": "--cdr-chip-background-color-selected-focus",
1398
+ "defaultValue": "--cdr-color-background-chip-default-selected-focus",
1399
+ "description": "Background color of a cdr-chip when selected and focused"
1157
1400
  },
1158
1401
  {
1159
- "name": "--cdr-banner-warning-outline-color",
1160
- "defaultValue": "--cdr-color-border-message-warning-02",
1161
- "description": "Outline color for a warning cdr-banner"
1402
+ "name": "--cdr-chip-box-shadow-color-selected-focus",
1403
+ "defaultValue": "--cdr-color-border-chip-default-selected-focus",
1404
+ "description": "Box-shadow color of a cdr-chip when selected and focused"
1162
1405
  },
1163
1406
  {
1164
- "name": "--cdr-banner-error-background-color",
1165
- "defaultValue": "--cdr-color-background-message-error-01",
1166
- "description": "Background color for an error cdr-banner"
1407
+ "name": "--cdr-chip-background-color-selected-active",
1408
+ "defaultValue": "--cdr-color-background-chip-default-selected-active",
1409
+ "description": "Background color of a cdr-chip when selected and active"
1167
1410
  },
1168
1411
  {
1169
- "name": "--cdr-banner-error-outline-color",
1170
- "defaultValue": "--cdr-color-border-message-error-02",
1171
- "description": "Outline color for an error cdr-banner"
1412
+ "name": "--cdr-chip-box-shadow-color-selected-focus",
1413
+ "defaultValue": "--cdr-color-border-chip-default-selected-focus",
1414
+ "description": "Box-shadow color of a cdr-chip when selected and active"
1172
1415
  }
1173
1416
  ]
1174
1417
  },
1175
- "CdrBreadcrumb": {
1176
- "name": "CdrBreadcrumb",
1177
- "description": "Navigation used to reveal a page's location within the site hierarchy",
1418
+ "CdrCard": {
1419
+ "name": "CdrCard",
1420
+ "description": "Related, interactive containers linking to a single subject or destination",
1178
1421
  "tags": {},
1179
1422
  "exportName": "default",
1180
- "displayName": "CdrBreadcrumb",
1423
+ "displayName": "CdrCard",
1181
1424
  "props": [
1182
1425
  {
1183
- "name": "items",
1184
- "description": "Sets the array of a breadcrumb object containing a 'url' and 'name' property.",
1185
- "tags": {
1186
- "demoIgnore": [
1187
- {
1188
- "description": "true",
1189
- "title": "demoIgnore"
1190
- }
1191
- ]
1192
- },
1193
- "type": {
1194
- "name": "breadcrumbItem[]"
1195
- },
1196
- "defaultValue": {
1197
- "func": true,
1198
- "value": "() => []"
1199
- }
1200
- },
1201
- {
1202
- "name": "truncationEnabled",
1203
- "description": "Controls the ability to truncate the entire breadcrumb path. If this value is false, truncation will no longer occur.",
1426
+ "name": "tag",
1427
+ "description": "Sets valid HTML container element tag.",
1204
1428
  "type": {
1205
- "name": "boolean"
1429
+ "name": "string"
1206
1430
  },
1207
1431
  "defaultValue": {
1208
1432
  "func": false,
1209
- "value": true
1210
- }
1211
- },
1212
- {
1213
- "name": "id",
1214
- "description": "Define a custom ID for the `<nav>` element. Randomly generated if no ID provided.",
1215
- "tags": {
1216
- "demoIgnore": [
1217
- {
1218
- "description": "true",
1219
- "title": "demoIgnore"
1220
- }
1221
- ]
1222
- },
1223
- "type": {
1224
- "name": "string"
1433
+ "value": "'article'"
1225
1434
  }
1226
1435
  }
1227
1436
  ],
1228
- "events": [
1229
- {
1230
- "name": "navigate",
1231
- "description": "Emits when a breadcrumb item is clicked. `e.preventDefault()` may be used to override the default link navigation.",
1232
- "properties": [
1233
- {
1234
- "type": {
1235
- "names": [
1236
- "mixed"
1237
- ]
1238
- },
1239
- "name": "breadcrumb",
1240
- "description": "The breadcrumb data object"
1241
- }
1242
- ],
1243
- "tags": [
1244
- {
1245
- "title": "param",
1246
- "type": {
1247
- "name": "mixed"
1248
- },
1249
- "name": "breadcrumb",
1250
- "description": "The breadcrumb data object"
1251
- }
1252
- ]
1253
- }
1254
- ],
1255
1437
  "slots": [
1256
1438
  {
1257
- "name": "link",
1258
- "scoped": true,
1259
- "bindings": [
1260
- {
1261
- "name": "class",
1262
- "title": "binding"
1263
- },
1264
- {
1265
- "name": "href",
1266
- "title": "binding"
1267
- },
1268
- {
1269
- "name": "content",
1270
- "title": "binding"
1271
- }
1272
- ]
1439
+ "name": "default",
1440
+ "description": "CdrCard content"
1273
1441
  }
1274
1442
  ],
1275
1443
  "sourceFiles": [
1276
- "./src/components/breadcrumb/CdrBreadcrumb.vue"
1444
+ "./src/components/card/CdrCard.vue"
1277
1445
  ],
1278
1446
  "UIProperties": [
1279
1447
  {
1280
- "name": "--cdr-breadcrumb-ellipses-icon-color",
1281
- "defaultValue": "--cdr-color-text-secondary",
1282
- "description": "Ellipses icon color"
1448
+ "name": "--cdr-card-base-background-color",
1449
+ "defaultValue": "--cdr-color-background-primary",
1450
+ "description": "Background color of a cdr-card"
1451
+ },
1452
+ {
1453
+ "name": "--cdr-card-base-color",
1454
+ "defaultValue": "--cdr-color-text-primary",
1455
+ "description": "Text color of a cdr-card"
1456
+ },
1457
+ {
1458
+ "name": "--cdr-card-link-color",
1459
+ "defaultValue": "--cdr-color-text-primary",
1460
+ "description": "Link text color of a cdr-card"
1461
+ },
1462
+ {
1463
+ "name": "--cdr-card-link-hover-color",
1464
+ "defaultValue": "--cdr-color-text-link-hover",
1465
+ "description": "Link hover text color of a cdr-card"
1466
+ }
1467
+ ]
1468
+ },
1469
+ "CdrChipGroup": {
1470
+ "name": "CdrChipGroup",
1471
+ "exportName": "default",
1472
+ "displayName": "CdrChipGroup",
1473
+ "description": "",
1474
+ "tags": {},
1475
+ "props": [
1476
+ {
1477
+ "name": "label",
1478
+ "description": "Sets a label that describes the chip group and what it is selecting. By default this label is visually hidden and only made available to screen readers.",
1479
+ "type": {
1480
+ "name": "string"
1481
+ },
1482
+ "required": true
1283
1483
  },
1284
1484
  {
1285
- "name": "--cdr-breadcrumb-ellipses-icon-highlight-color",
1286
- "defaultValue": "--cdr-color-text-link-hover",
1287
- "description": "Ellipses icon hover, active and focus color"
1288
- },
1485
+ "name": "hideLabel",
1486
+ "description": "Visually hides the chip group label but makes it accessible to screen readers.",
1487
+ "type": {
1488
+ "name": "boolean"
1489
+ },
1490
+ "defaultValue": {
1491
+ "func": false,
1492
+ "value": true
1493
+ }
1494
+ }
1495
+ ],
1496
+ "slots": [
1289
1497
  {
1290
- "name": "--cdr-breadcrumb-item-color",
1291
- "defaultValue": "--cdr-color-text-secondary",
1292
- "description": "Breadcrumb item color"
1498
+ "name": "label",
1499
+ "description": "Override CdrChip label content with a custom element"
1293
1500
  },
1294
1501
  {
1295
- "name": "--cdr-breadcrumb-item-linked-highlight-color",
1296
- "defaultValue": "--cdr-color-text-link-hover",
1297
- "description": "Breadcrumb item linked hover, active and focus color"
1502
+ "name": "default",
1503
+ "description": "CdrChipGroup content (CdrChip components)"
1298
1504
  }
1505
+ ],
1506
+ "sourceFiles": [
1507
+ "./src/components/chip/CdrChipGroup.vue"
1299
1508
  ]
1300
1509
  },
1301
1510
  "CdrCheckbox": {
@@ -1556,176 +1765,39 @@
1556
1765
  }
1557
1766
  ]
1558
1767
  },
1559
- "CdrChip": {
1560
- "name": "CdrChip",
1561
- "description": "Allows people to make selections, filter content, or trigger actions",
1562
- "tags": {},
1563
- "exportName": "default",
1564
- "displayName": "CdrChip",
1565
- "slots": [
1566
- {
1567
- "name": "icon-left",
1568
- "description": "Icon to the left of the content"
1569
- },
1570
- {
1571
- "name": "icon-right",
1572
- "description": "Icon to the right of the content"
1573
- },
1574
- {
1575
- "name": "default",
1576
- "description": "Primary CdrChip content"
1577
- }
1578
- ],
1579
- "sourceFiles": [
1580
- "./src/components/chip/CdrChip.vue"
1581
- ],
1582
- "UIProperties": [
1583
- {
1584
- "name": "--cdr-chip-text-color",
1585
- "defaultValue": "--cdr-color-text-chip-default",
1586
- "description": "Text color of a cdr-chip"
1587
- },
1588
- {
1589
- "name": "--cdr-chip-fill-color",
1590
- "defaultValue": "--cdr-color-text-chip-default",
1591
- "description": "Fill color of a cdr-chip"
1592
- },
1593
- {
1594
- "name": "--cdr-chip-background-color-rest",
1595
- "defaultValue": "--cdr-color-background-chip-default-rest",
1596
- "description": "Background color of a cdr-chip"
1597
- },
1598
- {
1599
- "name": "--cdr-chip-box-shadow-color-rest",
1600
- "defaultValue": "--cdr-color-border-chip-default-rest",
1601
- "description": "Box-shadow color of a cdr-chip"
1602
- },
1603
- {
1604
- "name": "--cdr-chip-background-color-disabled",
1605
- "defaultValue": "--cdr-color-background-chip-default-disabled",
1606
- "description": "Background color of a cdr-chip when disabled"
1607
- },
1608
- {
1609
- "name": "--cdr-chip-box-shadow-color-disabled",
1610
- "defaultValue": "--cdr-color-border-chip-default-disabled",
1611
- "description": "Box-shadow color of a cdr-chip when disabled"
1612
- },
1613
- {
1614
- "name": "--cdr-chip-text-color-disabled",
1615
- "defaultValue": "--cdr-color-text-chip-disabled",
1616
- "description": "Text color of a cdr-chip when disabled"
1617
- },
1618
- {
1619
- "name": "--cdr-chip-background-color-hover",
1620
- "defaultValue": "--cdr-color-background-chip-default-hover",
1621
- "description": "Background color of a cdr-chip on hover"
1622
- },
1623
- {
1624
- "name": "--cdr-chip-box-shadow-color-hover",
1625
- "defaultValue": "--cdr-color-border-chip-default-hover",
1626
- "description": "Box-shadow color of a cdr-chip on hover"
1627
- },
1628
- {
1629
- "name": "--cdr-chip-background-color-focus",
1630
- "defaultValue": "--cdr-color-background-chip-default-focus",
1631
- "description": "Background color of a cdr-chip on focus"
1632
- },
1633
- {
1634
- "name": "--cdr-chip-box-shadow-color-focus",
1635
- "defaultValue": "--cdr-color-border-chip-default-focus",
1636
- "description": "Box-shadow color of a cdr-chip on focus"
1637
- },
1638
- {
1639
- "name": "--cdr-chip-background-color-active",
1640
- "defaultValue": "--cdr-color-background-chip-default-active",
1641
- "description": "Background color of a cdr-chip when active"
1642
- },
1643
- {
1644
- "name": "--cdr-chip-box-shadow-color-active",
1645
- "defaultValue": "--cdr-color-border-chip-default-active",
1646
- "description": "Box-shadow color of a cdr-chip when active"
1647
- },
1648
- {
1649
- "name": "--cdr-chip-background-color-selected-rest",
1650
- "defaultValue": "--cdr-color-background-chip-default-selected",
1651
- "description": "Background color of a cdr-chip when selected"
1652
- },
1653
- {
1654
- "name": "--cdr-chip-box-shadow-color-selected-rest",
1655
- "defaultValue": "--cdr-color-border-chip-default-selected-rest",
1656
- "description": "Box-shadow color of a cdr-chip when selected"
1657
- },
1658
- {
1659
- "name": "--cdr-chip-background-color-selected-hover",
1660
- "defaultValue": "--cdr-color-background-chip-default-selected-hover",
1661
- "description": "Background color of a cdr-chip when selected and hovered"
1662
- },
1663
- {
1664
- "name": "--cdr-chip-box-shadow-color-selected-hover",
1665
- "defaultValue": "--cdr-color-border-chip-default-selected-hover",
1666
- "description": "Box-shadow color of a cdr-chip when selected and hovered"
1667
- },
1668
- {
1669
- "name": "--cdr-chip-background-color-selected-focus",
1670
- "defaultValue": "--cdr-color-background-chip-default-selected-focus",
1671
- "description": "Background color of a cdr-chip when selected and focused"
1672
- },
1673
- {
1674
- "name": "--cdr-chip-box-shadow-color-selected-focus",
1675
- "defaultValue": "--cdr-color-border-chip-default-selected-focus",
1676
- "description": "Box-shadow color of a cdr-chip when selected and focused"
1677
- },
1678
- {
1679
- "name": "--cdr-chip-background-color-selected-active",
1680
- "defaultValue": "--cdr-color-background-chip-default-selected-active",
1681
- "description": "Background color of a cdr-chip when selected and active"
1682
- },
1683
- {
1684
- "name": "--cdr-chip-box-shadow-color-selected-focus",
1685
- "defaultValue": "--cdr-color-border-chip-default-selected-focus",
1686
- "description": "Box-shadow color of a cdr-chip when selected and active"
1687
- }
1688
- ]
1689
- },
1690
- "CdrChipGroup": {
1691
- "name": "CdrChipGroup",
1768
+ "CdrFormError": {
1769
+ "name": "CdrFormError",
1692
1770
  "exportName": "default",
1693
- "displayName": "CdrChipGroup",
1771
+ "displayName": "CdrFormError",
1694
1772
  "description": "",
1695
1773
  "tags": {},
1696
1774
  "props": [
1697
1775
  {
1698
- "name": "label",
1699
- "description": "Sets a label that describes the chip group and what it is selecting. By default this label is visually hidden and only made available to screen readers.",
1700
- "type": {
1701
- "name": "string"
1702
- },
1703
- "required": true
1704
- },
1705
- {
1706
- "name": "hideLabel",
1707
- "description": "Visually hides the chip group label but makes it accessible to screen readers.",
1776
+ "name": "error",
1708
1777
  "type": {
1709
- "name": "boolean"
1710
- },
1711
- "defaultValue": {
1712
- "func": false,
1713
- "value": true
1778
+ "name": "boolean|string"
1714
1779
  }
1715
1780
  }
1716
1781
  ],
1717
1782
  "slots": [
1718
1783
  {
1719
- "name": "label",
1720
- "description": "Override CdrChip label content with a custom element"
1721
- },
1722
- {
1723
- "name": "default",
1724
- "description": "CdrChipGroup content (CdrChip components)"
1784
+ "name": "error"
1725
1785
  }
1726
1786
  ],
1727
1787
  "sourceFiles": [
1728
- "./src/components/chip/CdrChipGroup.vue"
1788
+ "./src/components/formError/CdrFormError.vue"
1789
+ ],
1790
+ "UIProperties": [
1791
+ {
1792
+ "name": "--cdr-form-error-text-color",
1793
+ "defaultValue": "--cdr-color-text-input-error",
1794
+ "description": "Text color of a cdr-form-error"
1795
+ },
1796
+ {
1797
+ "name": "--cdr-form-error-fill-color",
1798
+ "defaultValue": "--cdr-color-text-input-error",
1799
+ "description": "Fill color of a cdr-form-error"
1800
+ }
1729
1801
  ]
1730
1802
  },
1731
1803
  "CdrContainer": {
@@ -1775,44 +1847,9 @@
1775
1847
  "name": "default",
1776
1848
  "description": "CdrContainer content"
1777
1849
  }
1778
- ],
1779
- "sourceFiles": [
1780
- "./src/components/container/CdrContainer.vue"
1781
- ]
1782
- },
1783
- "CdrFormError": {
1784
- "name": "CdrFormError",
1785
- "exportName": "default",
1786
- "displayName": "CdrFormError",
1787
- "description": "",
1788
- "tags": {},
1789
- "props": [
1790
- {
1791
- "name": "error",
1792
- "type": {
1793
- "name": "boolean|string"
1794
- }
1795
- }
1796
- ],
1797
- "slots": [
1798
- {
1799
- "name": "error"
1800
- }
1801
- ],
1802
- "sourceFiles": [
1803
- "./src/components/formError/CdrFormError.vue"
1804
- ],
1805
- "UIProperties": [
1806
- {
1807
- "name": "--cdr-form-error-text-color",
1808
- "defaultValue": "--cdr-color-text-input-error",
1809
- "description": "Text color of a cdr-form-error"
1810
- },
1811
- {
1812
- "name": "--cdr-form-error-fill-color",
1813
- "defaultValue": "--cdr-color-text-input-error",
1814
- "description": "Fill color of a cdr-form-error"
1815
- }
1850
+ ],
1851
+ "sourceFiles": [
1852
+ "./src/components/container/CdrContainer.vue"
1816
1853
  ]
1817
1854
  },
1818
1855
  "CdrFormGroup": {
@@ -1991,65 +2028,6 @@
1991
2028
  "./src/components/grid/CdrGrid.vue"
1992
2029
  ]
1993
2030
  },
1994
- "CdrIcon": {
1995
- "name": "CdrIcon",
1996
- "description": "Communicates meaning through graphics representing simple and complex ideas",
1997
- "tags": {
1998
- "demoComponentNames": [
1999
- {
2000
- "description": "icon-account-profile, icon-camera",
2001
- "title": "demoComponentNames"
2002
- }
2003
- ]
2004
- },
2005
- "exportName": "default",
2006
- "displayName": "CdrIcon",
2007
- "props": [
2008
- {
2009
- "name": "use",
2010
- "description": "Only on CdrIcon. Sets the href attribute for use with SVG symbol sprite (see @rei/cedar-icons).",
2011
- "type": {
2012
- "name": "string"
2013
- }
2014
- },
2015
- {
2016
- "name": "inheritColor",
2017
- "description": "Sets icon fill to \"inherit\" so as to use parent/ancestor fill color.",
2018
- "type": {
2019
- "name": "boolean"
2020
- },
2021
- "defaultValue": {
2022
- "func": false,
2023
- "value": false
2024
- }
2025
- },
2026
- {
2027
- "name": "size",
2028
- "type": {
2029
- "name": "string"
2030
- },
2031
- "defaultValue": {
2032
- "func": false,
2033
- "value": "'medium'"
2034
- }
2035
- }
2036
- ],
2037
- "slots": [
2038
- {
2039
- "name": "default"
2040
- }
2041
- ],
2042
- "sourceFiles": [
2043
- "./src/components/icon/CdrIcon.vue"
2044
- ],
2045
- "UIProperties": [
2046
- {
2047
- "name": "--cdr-icon-fill-default",
2048
- "defaultValue": "--cdr-color-icon-default",
2049
- "description": "Fill color of an icon"
2050
- }
2051
- ]
2052
- },
2053
2031
  "CdrImg": {
2054
2032
  "name": "CdrImg",
2055
2033
  "description": "Media for capturing attention and communicating messages",
@@ -2069,222 +2047,16 @@
2069
2047
  "name": "alt",
2070
2048
  "description": "Image alt text. Defaults to an empty string",
2071
2049
  "type": {
2072
- "name": "string"
2073
- },
2074
- "defaultValue": {
2075
- "func": false,
2076
- "value": "''"
2077
- }
2078
- },
2079
- {
2080
- "name": "ratio",
2081
- "description": "Aspect ratio of the media container",
2082
- "tags": {
2083
- "demoSelectMultiple": [
2084
- {
2085
- "description": "false",
2086
- "title": "demoSelectMultiple"
2087
- }
2088
- ]
2089
- },
2090
- "values": [
2091
- "auto",
2092
- "square",
2093
- "1-2",
2094
- "2-3",
2095
- "3-4",
2096
- "9-16",
2097
- "2-1",
2098
- "3-2",
2099
- "4-3",
2100
- "16-9"
2101
- ],
2102
- "type": {
2103
- "name": "string"
2104
- },
2105
- "defaultValue": {
2106
- "func": false,
2107
- "value": "''"
2108
- }
2109
- },
2110
- {
2111
- "name": "crop",
2112
- "description": "Requires a `ratio`. Area to crop the image overflow to. {left, center, right} {top, center, bottom}",
2113
- "tags": {
2114
- "demoSelectMultiple": [
2115
- {
2116
- "description": "false",
2117
- "title": "demoSelectMultiple"
2118
- }
2119
- ]
2120
- },
2121
- "values": [
2122
- "left",
2123
- "x-center",
2124
- "right",
2125
- "top",
2126
- "y-center",
2127
- "bottom"
2128
- ],
2129
- "type": {
2130
- "name": "string"
2131
- }
2132
- },
2133
- {
2134
- "name": "cover",
2135
- "description": "Requires a `ratio`. Scale the image to be as large as possible to fill the area (background-position: cover;)",
2136
- "type": {
2137
- "name": "boolean"
2138
- }
2139
- },
2140
- {
2141
- "name": "containerClass",
2142
- "description": "Adds a custom class to the cdr-img__ratio container div",
2143
- "type": {
2144
- "name": "string"
2145
- }
2146
- },
2147
- {
2148
- "name": "radius",
2149
- "description": "Sets a border radius to an element {square, top, right, bottom, left}",
2150
- "tags": {
2151
- "demoSelectMultiple": [
2152
- {
2153
- "description": "false",
2154
- "title": "demoSelectMultiple"
2155
- }
2156
- ]
2157
- },
2158
- "values": [
2159
- "circle",
2160
- "rounded"
2161
- ],
2162
- "type": {
2163
- "name": "string"
2164
- }
2165
- },
2166
- {
2167
- "name": "modifier",
2168
- "description": "Modifies the style variant for this component.",
2169
- "tags": {
2170
- "demoSelectMultiple": [
2171
- {
2172
- "description": "false",
2173
- "title": "demoSelectMultiple"
2174
- }
2175
- ]
2176
- },
2177
- "values": [
2178
- "responsive"
2179
- ],
2180
- "type": {
2181
- "name": "string"
2182
- },
2183
- "defaultValue": {
2184
- "func": false,
2185
- "value": "''"
2186
- }
2187
- }
2188
- ],
2189
- "sourceFiles": [
2190
- "./src/components/image/CdrImg.vue"
2191
- ]
2192
- },
2193
- "CdrInput": {
2194
- "name": "CdrInput",
2195
- "description": "Allows for data entry, editing, and search",
2196
- "tags": {},
2197
- "exportName": "default",
2198
- "displayName": "CdrInput",
2199
- "props": [
2200
- {
2201
- "name": "id",
2202
- "description": "Custom ID that is mapped to the label ‘for’ attribute. If this value is not set, it will be randomly generated.",
2203
- "type": {
2204
- "name": "string"
2205
- }
2206
- },
2207
- {
2208
- "name": "type",
2209
- "description": "'type' attribute for the input as defined by w3c.\n Only supporting text|email|number|password|search|url|date.\n The increment/decrement webkit psuedo element is hidden for number.",
2210
- "tags": {
2211
- "demoSelectMultiple": [
2212
- {
2213
- "description": "false",
2214
- "title": "demoSelectMultiple"
2215
- }
2216
- ]
2217
- },
2218
- "values": [
2219
- "text",
2220
- "email",
2221
- "number",
2222
- "password",
2223
- "search",
2224
- "url",
2225
- "tel",
2226
- "date"
2227
- ],
2228
- "type": {
2229
- "name": "string"
2230
- },
2231
- "defaultValue": {
2232
- "func": false,
2233
- "value": "'text'"
2234
- }
2235
- },
2236
- {
2237
- "name": "label",
2238
- "description": "Sets the text value for the input label. Required for a11y compliance. Use ‘hideLabel’ if the label display is not desired. Required.",
2239
- "type": {
2240
- "name": "string"
2241
- },
2242
- "required": true
2243
- },
2244
- {
2245
- "name": "numeric",
2246
- "description": "Sets default attributes for an input that should launch a numeric keyboard but is not strictly a 'number' (credit card, security code, postal code, etc.). Should be used in conjunction with the default text type input. An `input` listener can be used to fully restrict input values to numerical characters only",
2247
- "type": {
2248
- "name": "boolean"
2249
- },
2250
- "defaultValue": {
2251
- "func": false,
2252
- "value": false
2253
- }
2254
- },
2255
- {
2256
- "name": "hideLabel",
2257
- "description": "Removes the label element but sets the input `aria-label` to `label` text for a11y.",
2258
- "type": {
2259
- "name": "boolean"
2260
- }
2261
- },
2262
- {
2263
- "name": "rows",
2264
- "description": "Number of rows for input. Converts component to text-area if rows greater than 1.",
2265
- "type": {
2266
- "name": "number"
2050
+ "name": "string"
2267
2051
  },
2268
2052
  "defaultValue": {
2269
2053
  "func": false,
2270
- "value": "1"
2271
- }
2272
- },
2273
- {
2274
- "name": "background",
2275
- "description": "Sets the background color the input is rendered on",
2276
- "tags": {},
2277
- "values": [
2278
- "primary",
2279
- "secondary"
2280
- ],
2281
- "type": {
2282
- "name": "backgroundProps"
2054
+ "value": "''"
2283
2055
  }
2284
2056
  },
2285
2057
  {
2286
- "name": "size",
2287
- "description": "Sets the input field size",
2058
+ "name": "ratio",
2059
+ "description": "Aspect ratio of the media container",
2288
2060
  "tags": {
2289
2061
  "demoSelectMultiple": [
2290
2062
  {
@@ -2294,242 +2066,164 @@
2294
2066
  ]
2295
2067
  },
2296
2068
  "values": [
2297
- "medium",
2298
- "large"
2069
+ "auto",
2070
+ "square",
2071
+ "1-2",
2072
+ "2-3",
2073
+ "3-4",
2074
+ "9-16",
2075
+ "2-1",
2076
+ "3-2",
2077
+ "4-3",
2078
+ "16-9"
2299
2079
  ],
2300
- "type": {
2301
- "name": "sizeProps"
2302
- }
2303
- },
2304
- {
2305
- "name": "errorRole",
2306
- "description": "Sets the `role` attribute for the embedded error state messaging.",
2307
2080
  "type": {
2308
2081
  "name": "string"
2309
2082
  },
2310
- "required": false,
2311
2083
  "defaultValue": {
2312
2084
  "func": false,
2313
- "value": "'status'"
2085
+ "value": "undefined"
2314
2086
  }
2315
2087
  },
2316
2088
  {
2317
- "name": "error",
2318
- "description": "Sets the input to an error state, displays the `error` slot if one is present.",
2319
- "type": {
2320
- "name": "boolean|string"
2089
+ "name": "crop",
2090
+ "description": "Requires a `ratio`. Area to crop the image overflow to. {left, center, right} {top, center, bottom}",
2091
+ "tags": {
2092
+ "demoSelectMultiple": [
2093
+ {
2094
+ "description": "false",
2095
+ "title": "demoSelectMultiple"
2096
+ }
2097
+ ]
2321
2098
  },
2322
- "defaultValue": {
2323
- "func": false,
2324
- "value": false
2325
- }
2326
- },
2327
- {
2328
- "name": "disabled",
2329
- "description": "Sets the disabled state for the input field and label styling. Also, restricts user input.",
2099
+ "values": [
2100
+ "left",
2101
+ "x-center",
2102
+ "right",
2103
+ "top",
2104
+ "y-center",
2105
+ "bottom"
2106
+ ],
2330
2107
  "type": {
2331
- "name": "boolean"
2108
+ "name": "string"
2332
2109
  }
2333
2110
  },
2334
2111
  {
2335
- "name": "required",
2336
- "description": "Sets aria-required on the input field and displays an asterisk next to the input label.",
2112
+ "name": "cover",
2113
+ "description": "Requires a `ratio`. Scale the image to be as large as possible to fill the area (background-position: cover;)",
2337
2114
  "type": {
2338
2115
  "name": "boolean"
2339
2116
  }
2340
2117
  },
2341
2118
  {
2342
- "name": "optional",
2343
- "description": "Displays '(optional)' text next to the input label.",
2119
+ "name": "containerClass",
2120
+ "description": "Adds a custom class to the cdr-img__ratio container div",
2344
2121
  "type": {
2345
- "name": "boolean"
2122
+ "name": "string"
2346
2123
  }
2347
2124
  },
2348
2125
  {
2349
- "name": "modelValue",
2126
+ "name": "radius",
2127
+ "description": "Sets a border radius to an element {square, top, right, bottom, left}",
2350
2128
  "tags": {
2351
- "ignore": [
2129
+ "demoSelectMultiple": [
2352
2130
  {
2353
- "description": true,
2354
- "title": "ignore"
2131
+ "description": "false",
2132
+ "title": "demoSelectMultiple"
2355
2133
  }
2356
2134
  ]
2357
2135
  },
2136
+ "values": [
2137
+ "circle",
2138
+ "rounded"
2139
+ ],
2358
2140
  "type": {
2359
- "name": "string|number"
2141
+ "name": "string"
2360
2142
  }
2361
2143
  },
2362
2144
  {
2363
- "name": "labelClass",
2364
- "description": "Adds a custom class to the cdr-label-standalone wrapping div",
2145
+ "name": "modifier",
2146
+ "description": "Modifies the style variant for this component.",
2147
+ "tags": {
2148
+ "demoSelectMultiple": [
2149
+ {
2150
+ "description": "false",
2151
+ "title": "demoSelectMultiple"
2152
+ }
2153
+ ]
2154
+ },
2155
+ "values": [
2156
+ "responsive"
2157
+ ],
2365
2158
  "type": {
2366
2159
  "name": "string"
2160
+ },
2161
+ "defaultValue": {
2162
+ "func": false,
2163
+ "value": "''"
2367
2164
  }
2368
2165
  }
2369
2166
  ],
2370
- "events": [
2371
- {
2372
- "name": "update:modelValue",
2373
- "description": "Event emitted by v-model on the <input> element",
2374
- "properties": [
2375
- {
2376
- "type": {
2377
- "names": [
2378
- "mixed"
2379
- ]
2380
- },
2381
- "name": "modelValue"
2382
- }
2383
- ],
2384
- "tags": [
2385
- {
2386
- "title": "param",
2387
- "type": {
2388
- "name": "mixed"
2389
- },
2390
- "name": "modelValue"
2391
- }
2392
- ]
2393
- }
2394
- ],
2395
- "slots": [
2396
- {
2397
- "name": "helper-text-top",
2398
- "description": "Helper text above the input field"
2399
- },
2400
- {
2401
- "name": "info",
2402
- "description": "Link or icon to the right above the input field."
2403
- },
2404
- {
2405
- "name": "pre-icon",
2406
- "description": "Icon preceding text within the input field"
2407
- },
2408
- {
2409
- "name": "post-icon",
2410
- "description": "Icon after text within the input field"
2411
- },
2412
- {
2413
- "name": "info-action",
2414
- "description": "Action-wrapped icon within the input field (precedes post-icon)"
2415
- },
2416
- {
2417
- "name": "helper-text-bottom",
2418
- "description": "Helper text below the input field"
2419
- },
2420
- {
2421
- "name": "error",
2422
- "description": "Error messaging text that is displayed when the `error` prop is true."
2423
- }
2424
- ],
2425
2167
  "sourceFiles": [
2426
- "./src/components/input/CdrInput.vue"
2427
- ],
2428
- "UIProperties": [
2429
- {
2430
- "name": "--cdr-input-label-background-color",
2431
- "defaultValue": "--cdr-color-border-input-default",
2432
- "description": "Background color of the cdr-button label"
2433
- },
2434
- {
2435
- "name": "--cdr-input-label-background-interaction",
2436
- "defaultValue": "--cdr-color-background-input-default-active",
2437
- "description": "Background color of the cdr-input label in hover, active, focus, and focus-within states"
2438
- },
2439
- {
2440
- "name": "--cdr-input-label-box-shadow-interaction",
2441
- "defaultValue": "--cdr-color-border-input-default-focus",
2442
- "description": "Box-shadow color of the cdr-input label in hover, active, focus, and focus-within states"
2443
- },
2444
- {
2445
- "name": "--cdr-input-label-fill-interaction",
2446
- "defaultValue": "--cdr-color-text-primary",
2447
- "description": "Fill color of the cdr-input label in hover, active, focus, and focus-within states"
2448
- },
2449
- {
2450
- "name": "--cdr-input-svg-fill-focus",
2451
- "defaultValue": "--cdr-color-text-primary",
2452
- "description": "Fill color of the cdr-input SVG when the parent is focused"
2453
- },
2454
- {
2455
- "name": "--cdr-input-wrap-fill",
2456
- "defaultValue": "--cdr-color-icon-default",
2457
- "description": "Fill color of the cdr-input wrapper"
2458
- },
2459
- {
2460
- "name": "--cdr-input-text-color-default",
2461
- "defaultValue": "--cdr-color-text-input-default",
2462
- "description": "Text color of a cdr-input by default"
2463
- },
2464
- {
2465
- "name": "--cdr-input-background-color-default",
2466
- "defaultValue": "--cdr-color-background-input-default",
2467
- "description": "Background color of a cdr-input by default"
2468
- },
2469
- {
2470
- "name": "--cdr-input-box-shadow-default",
2471
- "defaultValue": "--cdr-color-border-input-default",
2472
- "description": "Box-shadow color of a cdr-input by default"
2473
- },
2474
- {
2475
- "name": "--cdr-input-icon-fill",
2476
- "defaultValue": "--cdr-color-icon-default",
2477
- "description": "Fill color of an icon in a cdr-input"
2478
- },
2479
- {
2480
- "name": "--cdr-input-box-shadow-focus",
2481
- "defaultValue": "--cdr-color-border-input-default-focus",
2482
- "description": "Box shadow of a focused or active cdr-input"
2483
- },
2484
- {
2485
- "name": "--cdr-input-background-color-disabled",
2486
- "defaultValue": "--cdr-color-background-input-default-disabled",
2487
- "description": "Background color of a disabled cdr-input"
2488
- },
2489
- {
2490
- "name": "--cdr-input-text-color-disabled",
2491
- "defaultValue": "--cdr-color-text-input-disabled",
2492
- "description": "Text color of a disabled cdr-input"
2493
- },
2494
- {
2495
- "name": "--cdr-input-box-shadow-disabled",
2496
- "defaultValue": "--cdr-color-border-input-default-disabled",
2497
- "description": "Box-shadow color of a disabled cdr-input"
2498
- },
2499
- {
2500
- "name": "--cdr-input-background-color-default",
2501
- "defaultValue": "--cdr-color-background-input-default",
2502
- "description": "Background color of a default cdr-input"
2503
- },
2504
- {
2505
- "name": "--cdr-input-background-color-default-focus",
2506
- "defaultValue": "--cdr-color-background-input-default-active",
2507
- "description": "Background color of a default cdr-input in active or focus state"
2508
- },
2168
+ "./src/components/image/CdrImg.vue"
2169
+ ]
2170
+ },
2171
+ "CdrIcon": {
2172
+ "name": "CdrIcon",
2173
+ "description": "Communicates meaning through graphics representing simple and complex ideas",
2174
+ "tags": {
2175
+ "demoComponentNames": [
2176
+ {
2177
+ "description": "icon-account-profile, icon-camera",
2178
+ "title": "demoComponentNames"
2179
+ }
2180
+ ]
2181
+ },
2182
+ "exportName": "default",
2183
+ "displayName": "CdrIcon",
2184
+ "props": [
2509
2185
  {
2510
- "name": "--cdr-input-background-color-secondary",
2511
- "defaultValue": "--cdr-color-background-input-secondary",
2512
- "description": "Background color of a secondary cdr-input"
2186
+ "name": "use",
2187
+ "description": "Only on CdrIcon. Sets the href attribute for use with SVG symbol sprite (see @rei/cedar-icons).",
2188
+ "type": {
2189
+ "name": "string"
2190
+ }
2513
2191
  },
2514
2192
  {
2515
- "name": "--cdr-input-background-color-secondary-active",
2516
- "defaultValue": "--cdr-color-background-input-secondary-active",
2517
- "description": "Background color of a secondary cdr-input in active or focus state"
2193
+ "name": "inheritColor",
2194
+ "description": "Sets icon fill to \"inherit\" so as to use parent/ancestor fill color.",
2195
+ "type": {
2196
+ "name": "boolean"
2197
+ },
2198
+ "defaultValue": {
2199
+ "func": false,
2200
+ "value": false
2201
+ }
2518
2202
  },
2519
2203
  {
2520
- "name": "--cdr-input-error-background-color",
2521
- "defaultValue": "--cdr-color-background-input-error",
2522
- "description": "Background color of a cdr-input in error state"
2523
- },
2204
+ "name": "size",
2205
+ "type": {
2206
+ "name": "string"
2207
+ },
2208
+ "defaultValue": {
2209
+ "func": false,
2210
+ "value": "'medium'"
2211
+ }
2212
+ }
2213
+ ],
2214
+ "slots": [
2524
2215
  {
2525
- "name": "--cdr-input-error-box-shadow",
2526
- "defaultValue": "--cdr-color-border-input-error",
2527
- "description": "Box-shadow color of a cdr-input in error state"
2528
- },
2216
+ "name": "default"
2217
+ }
2218
+ ],
2219
+ "sourceFiles": [
2220
+ "./src/components/icon/CdrIcon.vue"
2221
+ ],
2222
+ "UIProperties": [
2529
2223
  {
2530
- "name": "--cdr-input-helper-text-color",
2531
- "defaultValue": "--cdr-color-text-input-help",
2532
- "description": "Text color of a cdr-input's helper text"
2224
+ "name": "--cdr-icon-fill-default",
2225
+ "defaultValue": "--cdr-color-icon-default",
2226
+ "description": "Fill color of an icon"
2533
2227
  }
2534
2228
  ]
2535
2229
  },
@@ -2648,312 +2342,453 @@
2648
2342
  "description": "Text color of a disabled label wrapper"
2649
2343
  },
2650
2344
  {
2651
- "name": "--cdr-label-wrapper-background-color-disabled",
2652
- "defaultValue": "--cdr-color-background-input-default",
2653
- "description": "Background color of a disabled label wrapper"
2345
+ "name": "--cdr-label-wrapper-background-color-disabled",
2346
+ "defaultValue": "--cdr-color-background-input-default",
2347
+ "description": "Background color of a disabled label wrapper"
2348
+ },
2349
+ {
2350
+ "name": "--cdr-form-figure-background-color",
2351
+ "defaultValue": "--cdr-color-background-input-default",
2352
+ "description": "Background color of a form figure"
2353
+ },
2354
+ {
2355
+ "name": "--cdr-form-figure-box-shadow-color",
2356
+ "defaultValue": "--cdr-color-border-input-default",
2357
+ "description": "Box shadow color of a form figure"
2358
+ }
2359
+ ]
2360
+ },
2361
+ "CdrLabelStandalone": {
2362
+ "name": "CdrLabelStandalone",
2363
+ "exportName": "default",
2364
+ "displayName": "CdrLabelStandalone",
2365
+ "description": "",
2366
+ "tags": {},
2367
+ "props": [
2368
+ {
2369
+ "name": "forId",
2370
+ "type": {
2371
+ "name": "string"
2372
+ },
2373
+ "required": true
2374
+ },
2375
+ {
2376
+ "name": "label",
2377
+ "type": {
2378
+ "name": "string"
2379
+ }
2380
+ },
2381
+ {
2382
+ "name": "disabled",
2383
+ "type": {
2384
+ "name": "boolean"
2385
+ }
2386
+ },
2387
+ {
2388
+ "name": "required",
2389
+ "type": {
2390
+ "name": "boolean"
2391
+ }
2392
+ },
2393
+ {
2394
+ "name": "optional",
2395
+ "type": {
2396
+ "name": "boolean"
2397
+ }
2398
+ },
2399
+ {
2400
+ "name": "hideLabel",
2401
+ "type": {
2402
+ "name": "boolean"
2403
+ }
2404
+ }
2405
+ ],
2406
+ "slots": [
2407
+ {
2408
+ "name": "helper"
2409
+ },
2410
+ {
2411
+ "name": "default"
2412
+ },
2413
+ {
2414
+ "name": "info-action"
2415
+ },
2416
+ {
2417
+ "name": "info"
2418
+ },
2419
+ {
2420
+ "name": "helper-text-bottom"
2421
+ },
2422
+ {
2423
+ "name": "error"
2424
+ }
2425
+ ],
2426
+ "sourceFiles": [
2427
+ "./src/components/labelStandalone/CdrLabelStandalone.vue"
2428
+ ],
2429
+ "UIProperties": [
2430
+ {
2431
+ "name": "--cdr-label-standalone-text-color",
2432
+ "defaultValue": "--cdr-color-text-input-label",
2433
+ "description": "Text color of a standalone label"
2434
+ },
2435
+ {
2436
+ "name": "--cdr-label-standalone-disabled-text-color",
2437
+ "defaultValue": "--cdr-color-text-input-disabled",
2438
+ "description": "Text color of a standalone label when disabled"
2439
+ },
2440
+ {
2441
+ "name": "--cdr-label-standalone-optional-text-color",
2442
+ "defaultValue": "--cdr-color-text-input-optional",
2443
+ "description": "Text color of a standalone label when optional"
2444
+ },
2445
+ {
2446
+ "name": "--cdr-label-standalone-helper-text-color",
2447
+ "defaultValue": "--cdr-color-text-input-help",
2448
+ "description": "Text color of a standalone helper label"
2449
+ }
2450
+ ]
2451
+ },
2452
+ "CdrInput": {
2453
+ "name": "CdrInput",
2454
+ "description": "Allows for data entry, editing, and search",
2455
+ "tags": {},
2456
+ "exportName": "default",
2457
+ "displayName": "CdrInput",
2458
+ "props": [
2459
+ {
2460
+ "name": "id",
2461
+ "description": "Custom ID that is mapped to the label ‘for’ attribute. If this value is not set, it will be randomly generated.",
2462
+ "type": {
2463
+ "name": "string"
2464
+ }
2465
+ },
2466
+ {
2467
+ "name": "type",
2468
+ "description": "'type' attribute for the input as defined by w3c.\n Only supporting text|email|number|password|search|url|date.\n The increment/decrement webkit psuedo element is hidden for number.",
2469
+ "tags": {
2470
+ "demoSelectMultiple": [
2471
+ {
2472
+ "description": "false",
2473
+ "title": "demoSelectMultiple"
2474
+ }
2475
+ ]
2476
+ },
2477
+ "values": [
2478
+ "text",
2479
+ "email",
2480
+ "number",
2481
+ "password",
2482
+ "search",
2483
+ "url",
2484
+ "tel",
2485
+ "date"
2486
+ ],
2487
+ "type": {
2488
+ "name": "string"
2489
+ },
2490
+ "defaultValue": {
2491
+ "func": false,
2492
+ "value": "'text'"
2493
+ }
2494
+ },
2495
+ {
2496
+ "name": "label",
2497
+ "description": "Sets the text value for the input label. Required for a11y compliance. Use ‘hideLabel’ if the label display is not desired. Required.",
2498
+ "type": {
2499
+ "name": "string"
2500
+ },
2501
+ "required": true
2502
+ },
2503
+ {
2504
+ "name": "numeric",
2505
+ "description": "Sets default attributes for an input that should launch a numeric keyboard but is not strictly a 'number' (credit card, security code, postal code, etc.). Should be used in conjunction with the default text type input. An `input` listener can be used to fully restrict input values to numerical characters only",
2506
+ "type": {
2507
+ "name": "boolean"
2508
+ },
2509
+ "defaultValue": {
2510
+ "func": false,
2511
+ "value": false
2512
+ }
2513
+ },
2514
+ {
2515
+ "name": "hideLabel",
2516
+ "description": "Removes the label element but sets the input `aria-label` to `label` text for a11y.",
2517
+ "type": {
2518
+ "name": "boolean"
2519
+ }
2520
+ },
2521
+ {
2522
+ "name": "rows",
2523
+ "description": "Number of rows for input. Converts component to text-area if rows greater than 1.",
2524
+ "type": {
2525
+ "name": "number"
2526
+ },
2527
+ "defaultValue": {
2528
+ "func": false,
2529
+ "value": "1"
2530
+ }
2531
+ },
2532
+ {
2533
+ "name": "background",
2534
+ "description": "Sets the background color the input is rendered on",
2535
+ "tags": {},
2536
+ "values": [
2537
+ "primary",
2538
+ "secondary"
2539
+ ],
2540
+ "type": {
2541
+ "name": "backgroundProps"
2542
+ }
2654
2543
  },
2655
2544
  {
2656
- "name": "--cdr-form-figure-background-color",
2657
- "defaultValue": "--cdr-color-background-input-default",
2658
- "description": "Background color of a form figure"
2545
+ "name": "size",
2546
+ "description": "Sets the input field size",
2547
+ "tags": {
2548
+ "demoSelectMultiple": [
2549
+ {
2550
+ "description": "false",
2551
+ "title": "demoSelectMultiple"
2552
+ }
2553
+ ]
2554
+ },
2555
+ "values": [
2556
+ "medium",
2557
+ "large"
2558
+ ],
2559
+ "type": {
2560
+ "name": "sizeProps"
2561
+ }
2659
2562
  },
2660
2563
  {
2661
- "name": "--cdr-form-figure-box-shadow-color",
2662
- "defaultValue": "--cdr-color-border-input-default",
2663
- "description": "Box shadow color of a form figure"
2664
- }
2665
- ]
2666
- },
2667
- "CdrLabelStandalone": {
2668
- "name": "CdrLabelStandalone",
2669
- "exportName": "default",
2670
- "displayName": "CdrLabelStandalone",
2671
- "description": "",
2672
- "tags": {},
2673
- "props": [
2674
- {
2675
- "name": "forId",
2564
+ "name": "errorRole",
2565
+ "description": "Sets the `role` attribute for the embedded error state messaging.",
2676
2566
  "type": {
2677
2567
  "name": "string"
2678
2568
  },
2679
- "required": true
2569
+ "required": false,
2570
+ "defaultValue": {
2571
+ "func": false,
2572
+ "value": "'status'"
2573
+ }
2680
2574
  },
2681
2575
  {
2682
- "name": "label",
2576
+ "name": "error",
2577
+ "description": "Sets the input to an error state, displays the `error` slot if one is present.",
2683
2578
  "type": {
2684
- "name": "string"
2579
+ "name": "boolean|string"
2580
+ },
2581
+ "defaultValue": {
2582
+ "func": false,
2583
+ "value": false
2685
2584
  }
2686
2585
  },
2687
2586
  {
2688
2587
  "name": "disabled",
2588
+ "description": "Sets the disabled state for the input field and label styling. Also, restricts user input.",
2689
2589
  "type": {
2690
2590
  "name": "boolean"
2691
2591
  }
2692
2592
  },
2693
2593
  {
2694
2594
  "name": "required",
2595
+ "description": "Sets aria-required on the input field and displays an asterisk next to the input label.",
2695
2596
  "type": {
2696
2597
  "name": "boolean"
2697
2598
  }
2698
2599
  },
2699
2600
  {
2700
2601
  "name": "optional",
2602
+ "description": "Displays '(optional)' text next to the input label.",
2701
2603
  "type": {
2702
2604
  "name": "boolean"
2703
2605
  }
2704
2606
  },
2705
2607
  {
2706
- "name": "hideLabel",
2608
+ "name": "modelValue",
2609
+ "tags": {
2610
+ "ignore": [
2611
+ {
2612
+ "description": true,
2613
+ "title": "ignore"
2614
+ }
2615
+ ]
2616
+ },
2707
2617
  "type": {
2708
- "name": "boolean"
2618
+ "name": "string|number"
2709
2619
  }
2620
+ },
2621
+ {
2622
+ "name": "labelClass",
2623
+ "description": "Adds a custom class to the cdr-label-standalone wrapping div",
2624
+ "type": {
2625
+ "name": "string"
2626
+ }
2627
+ }
2628
+ ],
2629
+ "events": [
2630
+ {
2631
+ "name": "update:modelValue",
2632
+ "description": "Event emitted by v-model on the <input> element",
2633
+ "properties": [
2634
+ {
2635
+ "type": {
2636
+ "names": [
2637
+ "mixed"
2638
+ ]
2639
+ },
2640
+ "name": "modelValue"
2641
+ }
2642
+ ],
2643
+ "tags": [
2644
+ {
2645
+ "title": "param",
2646
+ "type": {
2647
+ "name": "mixed"
2648
+ },
2649
+ "name": "modelValue"
2650
+ }
2651
+ ]
2710
2652
  }
2711
2653
  ],
2712
2654
  "slots": [
2713
2655
  {
2714
- "name": "helper"
2656
+ "name": "helper-text-top",
2657
+ "description": "Helper text above the input field"
2715
2658
  },
2716
2659
  {
2717
- "name": "default"
2660
+ "name": "info",
2661
+ "description": "Link or icon to the right above the input field."
2718
2662
  },
2719
2663
  {
2720
- "name": "info-action"
2664
+ "name": "pre-icon",
2665
+ "description": "Icon preceding text within the input field"
2721
2666
  },
2722
2667
  {
2723
- "name": "info"
2668
+ "name": "post-icon",
2669
+ "description": "Icon after text within the input field"
2724
2670
  },
2725
2671
  {
2726
- "name": "helper-text-bottom"
2672
+ "name": "info-action",
2673
+ "description": "Action-wrapped icon within the input field (precedes post-icon)"
2727
2674
  },
2728
2675
  {
2729
- "name": "error"
2676
+ "name": "helper-text-bottom",
2677
+ "description": "Helper text below the input field"
2678
+ },
2679
+ {
2680
+ "name": "error",
2681
+ "description": "Error messaging text that is displayed when the `error` prop is true."
2730
2682
  }
2731
2683
  ],
2732
2684
  "sourceFiles": [
2733
- "./src/components/labelStandalone/CdrLabelStandalone.vue"
2685
+ "./src/components/input/CdrInput.vue"
2734
2686
  ],
2735
2687
  "UIProperties": [
2736
2688
  {
2737
- "name": "--cdr-label-standalone-text-color",
2738
- "defaultValue": "--cdr-color-text-input-label",
2739
- "description": "Text color of a standalone label"
2689
+ "name": "--cdr-input-label-background-color",
2690
+ "defaultValue": "--cdr-color-border-input-default",
2691
+ "description": "Background color of the cdr-button label"
2740
2692
  },
2741
2693
  {
2742
- "name": "--cdr-label-standalone-disabled-text-color",
2743
- "defaultValue": "--cdr-color-text-input-disabled",
2744
- "description": "Text color of a standalone label when disabled"
2694
+ "name": "--cdr-input-label-background-interaction",
2695
+ "defaultValue": "--cdr-color-background-input-default-active",
2696
+ "description": "Background color of the cdr-input label in hover, active, focus, and focus-within states"
2745
2697
  },
2746
2698
  {
2747
- "name": "--cdr-label-standalone-optional-text-color",
2748
- "defaultValue": "--cdr-color-text-input-optional",
2749
- "description": "Text color of a standalone label when optional"
2699
+ "name": "--cdr-input-label-box-shadow-interaction",
2700
+ "defaultValue": "--cdr-color-border-input-default-focus",
2701
+ "description": "Box-shadow color of the cdr-input label in hover, active, focus, and focus-within states"
2750
2702
  },
2751
2703
  {
2752
- "name": "--cdr-label-standalone-helper-text-color",
2753
- "defaultValue": "--cdr-color-text-input-help",
2754
- "description": "Text color of a standalone helper label"
2755
- }
2756
- ]
2757
- },
2758
- "CdrList": {
2759
- "name": "CdrList",
2760
- "description": "Groups related content items together either vertically or horizontally",
2761
- "tags": {},
2762
- "exportName": "default",
2763
- "displayName": "CdrList",
2764
- "props": [
2765
- {
2766
- "name": "tag",
2767
- "description": "Sets list type and HTML element as \"unordered\" or \"ordered\"",
2768
- "tags": {},
2769
- "values": [
2770
- "ul",
2771
- "ol"
2772
- ],
2773
- "type": {
2774
- "name": "string"
2775
- },
2776
- "defaultValue": {
2777
- "func": false,
2778
- "value": "'ul'"
2779
- }
2704
+ "name": "--cdr-input-label-fill-interaction",
2705
+ "defaultValue": "--cdr-color-text-primary",
2706
+ "description": "Fill color of the cdr-input label in hover, active, focus, and focus-within states"
2780
2707
  },
2781
2708
  {
2782
- "name": "modifier",
2783
- "description": "Modifies the style variant for this component",
2784
- "tags": {
2785
- "demoSelectMultiple": [
2786
- {
2787
- "description": "true",
2788
- "title": "demoSelectMultiple"
2789
- }
2790
- ]
2791
- },
2792
- "values": [
2793
- "ordered",
2794
- "unordered",
2795
- "compact",
2796
- "inline"
2797
- ],
2798
- "type": {
2799
- "name": "string"
2800
- },
2801
- "defaultValue": {
2802
- "func": false,
2803
- "value": "''"
2804
- }
2805
- }
2806
- ],
2807
- "slots": [
2808
- {
2809
- "name": "default",
2810
- "description": "CdrList content (list-items)"
2811
- }
2812
- ],
2813
- "sourceFiles": [
2814
- "./src/components/list/CdrList.vue"
2815
- ],
2816
- "UIProperties": [
2709
+ "name": "--cdr-input-svg-fill-focus",
2710
+ "defaultValue": "--cdr-color-text-primary",
2711
+ "description": "Fill color of the cdr-input SVG when the parent is focused"
2712
+ },
2817
2713
  {
2818
- "name": "--cdr-list-inline-text-color",
2819
- "defaultValue": "--cdr-color-text-secondary",
2820
- "description": "Color of the unordered inline list item prefix"
2714
+ "name": "--cdr-input-wrap-fill",
2715
+ "defaultValue": "--cdr-color-icon-default",
2716
+ "description": "Fill color of the cdr-input wrapper"
2821
2717
  },
2822
2718
  {
2823
- "name": "--cdr-list-ordered-nested-prefix-color",
2824
- "defaultValue": "--cdr-color-text-secondary",
2825
- "description": "Color of the nested ordered cdr-list item prefix"
2719
+ "name": "--cdr-input-text-color-default",
2720
+ "defaultValue": "--cdr-color-text-input-default",
2721
+ "description": "Text color of a cdr-input by default"
2826
2722
  },
2827
2723
  {
2828
- "name": "--cdr-list-unordered-prefix-color",
2829
- "defaultValue": "--cdr-color-text-secondary",
2830
- "description": "Color of the unordered cdr-list item prefix"
2724
+ "name": "--cdr-input-background-color-default",
2725
+ "defaultValue": "--cdr-color-background-input-default",
2726
+ "description": "Background color of a cdr-input by default"
2831
2727
  },
2832
2728
  {
2833
- "name": "--cdr-list-unordered-nested-prefix-color",
2834
- "defaultValue": "--cdr-color-text-secondary",
2835
- "description": "Color of the nested unordered cdr-list item prefix"
2836
- }
2837
- ]
2838
- },
2839
- "CdrLink": {
2840
- "name": "CdrLink",
2841
- "description": "Clickable text elements used for navigating to other pages or sections",
2842
- "tags": {},
2843
- "exportName": "default",
2844
- "displayName": "CdrLink",
2845
- "props": [
2729
+ "name": "--cdr-input-box-shadow-default",
2730
+ "defaultValue": "--cdr-color-border-input-default",
2731
+ "description": "Box-shadow color of a cdr-input by default"
2732
+ },
2846
2733
  {
2847
- "name": "tag",
2848
- "description": "Sets valid HTML element tag",
2849
- "tags": {},
2850
- "values": [
2851
- "a",
2852
- "button"
2853
- ],
2854
- "type": {
2855
- "name": "string"
2856
- },
2857
- "defaultValue": {
2858
- "func": false,
2859
- "value": "'a'"
2860
- }
2734
+ "name": "--cdr-input-icon-fill",
2735
+ "defaultValue": "--cdr-color-icon-default",
2736
+ "description": "Fill color of an icon in a cdr-input"
2861
2737
  },
2862
2738
  {
2863
- "name": "href",
2864
- "description": "Sets value for anchors href property. Requires tag prop value to be `a`.",
2865
- "type": {
2866
- "name": "string"
2867
- },
2868
- "defaultValue": {
2869
- "func": false,
2870
- "value": "'#'"
2871
- }
2739
+ "name": "--cdr-input-box-shadow-focus",
2740
+ "defaultValue": "--cdr-color-border-input-default-focus",
2741
+ "description": "Box shadow of a focused or active cdr-input"
2872
2742
  },
2873
2743
  {
2874
- "name": "inheritColor",
2875
- "description": "Sets color and fill",
2876
- "type": {
2877
- "name": "boolean"
2878
- },
2879
- "defaultValue": {
2880
- "func": false,
2881
- "value": false
2882
- }
2744
+ "name": "--cdr-input-background-color-disabled",
2745
+ "defaultValue": "--cdr-color-background-input-default-disabled",
2746
+ "description": "Background color of a disabled cdr-input"
2883
2747
  },
2884
2748
  {
2885
- "name": "modifier",
2886
- "description": "Modifies the style variant for this component.",
2887
- "tags": {},
2888
- "values": [
2889
- "standalone"
2890
- ],
2891
- "type": {
2892
- "name": "string"
2893
- },
2894
- "defaultValue": {
2895
- "func": false,
2896
- "value": "''"
2897
- }
2749
+ "name": "--cdr-input-text-color-disabled",
2750
+ "defaultValue": "--cdr-color-text-input-disabled",
2751
+ "description": "Text color of a disabled cdr-input"
2898
2752
  },
2899
2753
  {
2900
- "name": "target",
2901
- "tags": {
2902
- "ignore": [
2903
- {
2904
- "description": true,
2905
- "title": "ignore"
2906
- }
2907
- ]
2908
- },
2909
- "type": {
2910
- "name": "string"
2911
- }
2754
+ "name": "--cdr-input-box-shadow-disabled",
2755
+ "defaultValue": "--cdr-color-border-input-default-disabled",
2756
+ "description": "Box-shadow color of a disabled cdr-input"
2912
2757
  },
2913
2758
  {
2914
- "name": "rel",
2915
- "tags": {
2916
- "ignore": [
2917
- {
2918
- "description": true,
2919
- "title": "ignore"
2920
- }
2921
- ]
2922
- },
2923
- "type": {
2924
- "name": "string"
2925
- }
2926
- }
2927
- ],
2928
- "slots": [
2759
+ "name": "--cdr-input-background-color-default",
2760
+ "defaultValue": "--cdr-color-background-input-default",
2761
+ "description": "Background color of a default cdr-input"
2762
+ },
2929
2763
  {
2930
- "name": "default",
2931
- "description": "Readable text of the link"
2932
- }
2933
- ],
2934
- "sourceFiles": [
2935
- "./src/components/link/CdrLink.vue"
2936
- ],
2937
- "UIProperties": [
2764
+ "name": "--cdr-input-background-color-default-focus",
2765
+ "defaultValue": "--cdr-color-background-input-default-active",
2766
+ "description": "Background color of a default cdr-input in active or focus state"
2767
+ },
2938
2768
  {
2939
- "name": "--cdr-link-text-color",
2940
- "defaultValue": "--cdr-color-text-link-rest",
2941
- "description": "Color of the link text"
2769
+ "name": "--cdr-input-background-color-secondary",
2770
+ "defaultValue": "--cdr-color-background-input-secondary",
2771
+ "description": "Background color of a secondary cdr-input"
2942
2772
  },
2943
2773
  {
2944
- "name": "--cdr-link-fill-color",
2945
- "defaultValue": "--cdr-color-text-link-rest",
2946
- "description": "Color of the link fill"
2774
+ "name": "--cdr-input-background-color-secondary-active",
2775
+ "defaultValue": "--cdr-color-background-input-secondary-active",
2776
+ "description": "Background color of a secondary cdr-input in active or focus state"
2947
2777
  },
2948
2778
  {
2949
- "name": "--cdr-link-active-text-color-active",
2950
- "defaultValue": "--cdr-color-text-link-active",
2951
- "description": "Color of the link text when active or focused"
2779
+ "name": "--cdr-input-error-background-color",
2780
+ "defaultValue": "--cdr-color-background-input-error",
2781
+ "description": "Background color of a cdr-input in error state"
2952
2782
  },
2953
2783
  {
2954
- "name": "--cdr-link-text-color-hover",
2955
- "defaultValue": "--cdr-color-text-link-hover",
2956
- "description": "Color of the link text when hovered"
2784
+ "name": "--cdr-input-error-box-shadow",
2785
+ "defaultValue": "--cdr-color-border-input-error",
2786
+ "description": "Box-shadow color of a cdr-input in error state"
2787
+ },
2788
+ {
2789
+ "name": "--cdr-input-helper-text-color",
2790
+ "defaultValue": "--cdr-color-text-input-help",
2791
+ "description": "Text color of a cdr-input's helper text"
2957
2792
  }
2958
2793
  ]
2959
2794
  },
@@ -3104,80 +2939,211 @@
3104
2939
  "description": "Fill color of a disabled cdr-pagination link"
3105
2940
  },
3106
2941
  {
3107
- "name": "--cdr-pagination-link-text-color-interactive-disabled",
3108
- "defaultValue": "--cdr-color-text-disabled",
3109
- "description": "Text color of a disabled cdr-pagination link on hover/focus/active"
2942
+ "name": "--cdr-pagination-link-text-color-interactive-disabled",
2943
+ "defaultValue": "--cdr-color-text-disabled",
2944
+ "description": "Text color of a disabled cdr-pagination link on hover/focus/active"
2945
+ }
2946
+ ]
2947
+ },
2948
+ "CdrLink": {
2949
+ "name": "CdrLink",
2950
+ "description": "Clickable text elements used for navigating to other pages or sections",
2951
+ "tags": {},
2952
+ "exportName": "default",
2953
+ "displayName": "CdrLink",
2954
+ "props": [
2955
+ {
2956
+ "name": "tag",
2957
+ "description": "Sets valid HTML element tag",
2958
+ "tags": {},
2959
+ "values": [
2960
+ "a",
2961
+ "button"
2962
+ ],
2963
+ "type": {
2964
+ "name": "string"
2965
+ },
2966
+ "defaultValue": {
2967
+ "func": false,
2968
+ "value": "'a'"
2969
+ }
2970
+ },
2971
+ {
2972
+ "name": "href",
2973
+ "description": "Sets value for anchors href property. Requires tag prop value to be `a`.",
2974
+ "type": {
2975
+ "name": "string"
2976
+ },
2977
+ "defaultValue": {
2978
+ "func": false,
2979
+ "value": "'#'"
2980
+ }
2981
+ },
2982
+ {
2983
+ "name": "inheritColor",
2984
+ "description": "Sets color and fill",
2985
+ "type": {
2986
+ "name": "boolean"
2987
+ },
2988
+ "defaultValue": {
2989
+ "func": false,
2990
+ "value": false
2991
+ }
2992
+ },
2993
+ {
2994
+ "name": "modifier",
2995
+ "description": "Modifies the style variant for this component.",
2996
+ "tags": {},
2997
+ "values": [
2998
+ "standalone"
2999
+ ],
3000
+ "type": {
3001
+ "name": "string"
3002
+ },
3003
+ "defaultValue": {
3004
+ "func": false,
3005
+ "value": "''"
3006
+ }
3007
+ },
3008
+ {
3009
+ "name": "target",
3010
+ "tags": {
3011
+ "ignore": [
3012
+ {
3013
+ "description": true,
3014
+ "title": "ignore"
3015
+ }
3016
+ ]
3017
+ },
3018
+ "type": {
3019
+ "name": "string"
3020
+ }
3021
+ },
3022
+ {
3023
+ "name": "rel",
3024
+ "tags": {
3025
+ "ignore": [
3026
+ {
3027
+ "description": true,
3028
+ "title": "ignore"
3029
+ }
3030
+ ]
3031
+ },
3032
+ "type": {
3033
+ "name": "string"
3034
+ }
3035
+ }
3036
+ ],
3037
+ "slots": [
3038
+ {
3039
+ "name": "default",
3040
+ "description": "Readable text of the link"
3041
+ }
3042
+ ],
3043
+ "sourceFiles": [
3044
+ "./src/components/link/CdrLink.vue"
3045
+ ],
3046
+ "UIProperties": [
3047
+ {
3048
+ "name": "--cdr-link-text-color",
3049
+ "defaultValue": "--cdr-color-text-link-rest",
3050
+ "description": "Color of the link text"
3051
+ },
3052
+ {
3053
+ "name": "--cdr-link-fill-color",
3054
+ "defaultValue": "--cdr-color-text-link-rest",
3055
+ "description": "Color of the link fill"
3056
+ },
3057
+ {
3058
+ "name": "--cdr-link-active-text-color-active",
3059
+ "defaultValue": "--cdr-color-text-link-active",
3060
+ "description": "Color of the link text when active or focused"
3061
+ },
3062
+ {
3063
+ "name": "--cdr-link-text-color-hover",
3064
+ "defaultValue": "--cdr-color-text-link-hover",
3065
+ "description": "Color of the link text when hovered"
3110
3066
  }
3111
3067
  ]
3112
3068
  },
3113
- "CdrPopup": {
3114
- "name": "CdrPopup",
3115
- "description": "An internal helper component used by Popover and Tooltip",
3069
+ "CdrList": {
3070
+ "name": "CdrList",
3071
+ "description": "Groups related content items together either vertically or horizontally",
3116
3072
  "tags": {},
3117
3073
  "exportName": "default",
3118
- "displayName": "CdrPopup",
3074
+ "displayName": "CdrList",
3119
3075
  "props": [
3120
3076
  {
3121
- "name": "opened",
3122
- "type": {
3123
- "name": "boolean"
3124
- },
3125
- "defaultValue": {
3126
- "func": false,
3127
- "value": false
3128
- }
3129
- },
3130
- {
3131
- "name": "position",
3077
+ "name": "tag",
3078
+ "description": "Sets list type and HTML element as \"unordered\" or \"ordered\"",
3079
+ "tags": {},
3080
+ "values": [
3081
+ "ul",
3082
+ "ol"
3083
+ ],
3132
3084
  "type": {
3133
3085
  "name": "string"
3134
3086
  },
3135
- "required": false,
3136
3087
  "defaultValue": {
3137
3088
  "func": false,
3138
- "value": "'top'"
3089
+ "value": "'ul'"
3139
3090
  }
3140
3091
  },
3141
3092
  {
3142
- "name": "autoPosition",
3093
+ "name": "modifier",
3094
+ "description": "Modifies the style variant for this component",
3095
+ "tags": {
3096
+ "demoSelectMultiple": [
3097
+ {
3098
+ "description": "true",
3099
+ "title": "demoSelectMultiple"
3100
+ }
3101
+ ]
3102
+ },
3103
+ "values": [
3104
+ "ordered",
3105
+ "unordered",
3106
+ "compact",
3107
+ "inline"
3108
+ ],
3143
3109
  "type": {
3144
- "name": "boolean"
3110
+ "name": "string"
3145
3111
  },
3146
3112
  "defaultValue": {
3147
3113
  "func": false,
3148
- "value": true
3149
- }
3150
- },
3151
- {
3152
- "name": "contentClass",
3153
- "type": {
3154
- "name": "string"
3114
+ "value": "''"
3155
3115
  }
3156
3116
  }
3157
3117
  ],
3158
- "events": [
3159
- {
3160
- "name": "closed"
3161
- }
3162
- ],
3163
3118
  "slots": [
3164
3119
  {
3165
- "name": "default"
3120
+ "name": "default",
3121
+ "description": "CdrList content (list-items)"
3166
3122
  }
3167
3123
  ],
3168
3124
  "sourceFiles": [
3169
- "./src/components/popup/CdrPopup.vue"
3125
+ "./src/components/list/CdrList.vue"
3170
3126
  ],
3171
3127
  "UIProperties": [
3172
3128
  {
3173
- "name": "--cdr-popup-content-background",
3174
- "defaultValue": "--cdr-color-background-primary",
3175
- "description": "Background color of cdr-popup content"
3129
+ "name": "--cdr-list-inline-text-color",
3130
+ "defaultValue": "--cdr-color-text-secondary",
3131
+ "description": "Color of the unordered inline list item prefix"
3176
3132
  },
3177
3133
  {
3178
- "name": "--cdr-popup-content-border-color",
3179
- "defaultValue": "--cdr-color-border-secondary",
3180
- "description": "Border color of cdr-popup content"
3134
+ "name": "--cdr-list-ordered-nested-prefix-color",
3135
+ "defaultValue": "--cdr-color-text-secondary",
3136
+ "description": "Color of the nested ordered cdr-list item prefix"
3137
+ },
3138
+ {
3139
+ "name": "--cdr-list-unordered-prefix-color",
3140
+ "defaultValue": "--cdr-color-text-secondary",
3141
+ "description": "Color of the unordered cdr-list item prefix"
3142
+ },
3143
+ {
3144
+ "name": "--cdr-list-unordered-nested-prefix-color",
3145
+ "defaultValue": "--cdr-color-text-secondary",
3146
+ "description": "Color of the nested unordered cdr-list item prefix"
3181
3147
  }
3182
3148
  ]
3183
3149
  },
@@ -3453,41 +3419,75 @@
3453
3419
  }
3454
3420
  ]
3455
3421
  },
3456
- "CdrAccordionGroup": {
3457
- "name": "CdrAccordionGroup",
3458
- "exportName": "default",
3459
- "displayName": "CdrAccordionGroup",
3460
- "description": "",
3422
+ "CdrPopup": {
3423
+ "name": "CdrPopup",
3424
+ "description": "An internal helper component used by Popover and Tooltip",
3461
3425
  "tags": {},
3426
+ "exportName": "default",
3427
+ "displayName": "CdrPopup",
3462
3428
  "props": [
3463
3429
  {
3464
- "name": "unwrap",
3465
- "description": "A prop that will present accordion content as unwrapped. All content is expanded at the provided breakpoints.",
3466
- "tags": {},
3467
- "values": [
3468
- "@xs",
3469
- "@sm",
3470
- "@md",
3471
- "@lg",
3472
- "true"
3473
- ],
3430
+ "name": "opened",
3474
3431
  "type": {
3475
- "name": "string|boolean"
3432
+ "name": "boolean"
3476
3433
  },
3477
3434
  "defaultValue": {
3478
3435
  "func": false,
3479
3436
  "value": false
3480
3437
  }
3438
+ },
3439
+ {
3440
+ "name": "position",
3441
+ "type": {
3442
+ "name": "string"
3443
+ },
3444
+ "required": false,
3445
+ "defaultValue": {
3446
+ "func": false,
3447
+ "value": "'top'"
3448
+ }
3449
+ },
3450
+ {
3451
+ "name": "autoPosition",
3452
+ "type": {
3453
+ "name": "boolean"
3454
+ },
3455
+ "defaultValue": {
3456
+ "func": false,
3457
+ "value": true
3458
+ }
3459
+ },
3460
+ {
3461
+ "name": "contentClass",
3462
+ "type": {
3463
+ "name": "string"
3464
+ }
3465
+ }
3466
+ ],
3467
+ "events": [
3468
+ {
3469
+ "name": "closed"
3481
3470
  }
3482
3471
  ],
3483
3472
  "slots": [
3484
3473
  {
3485
- "name": "default",
3486
- "description": "CdrAccordionGroup content (i.e. CdrAccordion components)"
3474
+ "name": "default"
3487
3475
  }
3488
3476
  ],
3489
3477
  "sourceFiles": [
3490
- "./src/components/accordion/CdrAccordionGroup.vue"
3478
+ "./src/components/popup/CdrPopup.vue"
3479
+ ],
3480
+ "UIProperties": [
3481
+ {
3482
+ "name": "--cdr-popup-content-background",
3483
+ "defaultValue": "--cdr-color-background-primary",
3484
+ "description": "Background color of cdr-popup content"
3485
+ },
3486
+ {
3487
+ "name": "--cdr-popup-content-border-color",
3488
+ "defaultValue": "--cdr-color-border-secondary",
3489
+ "description": "Border color of cdr-popup content"
3490
+ }
3491
3491
  ]
3492
3492
  },
3493
3493
  "CdrQuote": {
@@ -3948,112 +3948,68 @@
3948
3948
  }
3949
3949
  ]
3950
3950
  },
3951
- "CdrSkeleton": {
3952
- "name": "CdrSkeleton",
3953
- "description": "Visually communicates content is in the process of loading",
3951
+ "CdrSelect": {
3952
+ "name": "CdrSelect",
3953
+ "description": "Allows the selection of one or more options from a dropdown list",
3954
3954
  "tags": {},
3955
3955
  "exportName": "default",
3956
- "displayName": "CdrSkeleton",
3956
+ "displayName": "CdrSelect",
3957
3957
  "props": [
3958
3958
  {
3959
- "name": "motion",
3960
- "description": "Toggle animation on/off.\nWhen `true`, animated gradient will be used while loading.\nWhen `false` a static background color will be used.\nAutomatically disabled if `prefers-reduced-motion` is set by user.",
3959
+ "name": "id",
3960
+ "description": "Custom ID that is mapped to the label ‘for’ attribute. If this value is not set, it will be auto-generated.",
3961
+ "type": {
3962
+ "name": "string"
3963
+ }
3964
+ },
3965
+ {
3966
+ "name": "label",
3967
+ "description": "Sets the text value for the select label.\nRequired for accessibility compliance. Use ‘hideLabel’ to\nvisually hide the label but keep it available to screenreaders.",
3968
+ "type": {
3969
+ "name": "string"
3970
+ },
3971
+ "required": true
3972
+ },
3973
+ {
3974
+ "name": "hideLabel",
3975
+ "description": "Visually hides the label element, but leaves it available to screen readers for accessibility compliance.",
3961
3976
  "type": {
3962
3977
  "name": "boolean"
3963
3978
  },
3964
3979
  "defaultValue": {
3965
3980
  "func": false,
3966
- "value": true
3981
+ "value": false
3967
3982
  }
3968
- }
3969
- ],
3970
- "slots": [
3971
- {
3972
- "name": "default",
3973
- "description": "CdrSkeleton content (CdrSkeletonBone components)"
3974
- }
3975
- ],
3976
- "sourceFiles": [
3977
- "./src/components/skeleton/CdrSkeleton.vue"
3978
- ],
3979
- "UIProperties": [
3980
- {
3981
- "name": "--cdr-skeleton-bone-background-color",
3982
- "defaultValue": "#edeae3",
3983
- "description": "Skeleton bone background color"
3984
- },
3985
- {
3986
- "name": "--cdr-skeleton-gradient-1",
3987
- "defaultValue": "rgba(237,234,227,1)",
3988
- "description": "Skeleton shimmer gradient part 1"
3989
3983
  },
3990
3984
  {
3991
- "name": "--cdr-skeleton-gradient-2",
3992
- "defaultValue": "rgba(249,248,240,1)",
3993
- "description": "Skeleton shimmer gradient part 2"
3985
+ "name": "prompt",
3986
+ "description": "Adds an option that is disabled and selected by default to serve as a `placeholder` for the select.",
3987
+ "type": {
3988
+ "name": "string"
3989
+ }
3994
3990
  },
3995
3991
  {
3996
- "name": "--cdr-skeleton-gradient-3",
3997
- "defaultValue": "rgba(237,234,227,1)",
3998
- "description": "Skeleton shimmer gradient part 3"
3999
- }
4000
- ]
4001
- },
4002
- "CdrSkeletonBone": {
4003
- "name": "CdrSkeletonBone",
4004
- "exportName": "default",
4005
- "displayName": "CdrSkeletonBone",
4006
- "description": "",
4007
- "tags": {},
4008
- "props": [
4009
- {
4010
- "name": "type",
4011
- "description": "Sets the type of content placeholder",
4012
- "tags": {
4013
- "demoSelectMultiple": [
4014
- {
4015
- "description": "false",
4016
- "title": "demoSelectMultiple"
4017
- }
4018
- ]
4019
- },
4020
- "values": [
4021
- "default",
4022
- "heading",
4023
- "line",
4024
- "rectangle",
4025
- "square"
4026
- ],
3992
+ "name": "options",
3993
+ "description": "Build options programmatically with data.\nProvide an array of objects [{ text: String, value: String}] for greater control\nor provide an array of strings ['String'] for simpler setup (value and text will be the same).",
4027
3994
  "type": {
4028
- "name": "string"
4029
- },
4030
- "defaultValue": {
4031
- "func": false,
4032
- "value": "'default'"
3995
+ "name": "selectOption[] | string[]"
4033
3996
  }
4034
- }
4035
- ],
4036
- "sourceFiles": [
4037
- "./src/components/skeleton/CdrSkeletonBone.vue"
4038
- ]
4039
- },
4040
- "CdrSwitch": {
4041
- "name": "CdrSwitch",
4042
- "description": "Permits selection from two opposing options",
4043
- "tags": {},
4044
- "exportName": "default",
4045
- "displayName": "CdrSwitch",
4046
- "props": [
3997
+ },
4047
3998
  {
4048
- "name": "id",
4049
- "description": "Sets a custom ID for the switch. If this value is not set, it will be auto-generated.",
3999
+ "name": "background",
4000
+ "description": "Sets the background color the radio button is rendered on",
4001
+ "tags": {},
4002
+ "values": [
4003
+ "primary",
4004
+ "secondary"
4005
+ ],
4050
4006
  "type": {
4051
- "name": "string"
4007
+ "name": "backgroundProps"
4052
4008
  }
4053
4009
  },
4054
4010
  {
4055
4011
  "name": "size",
4056
- "description": "Sets the size of the switch",
4012
+ "description": "Sets the component's size; values can target responsive breakpoints. Example `small@lg`",
4057
4013
  "tags": {
4058
4014
  "demoSelectMultiple": [
4059
4015
  {
@@ -4063,48 +4019,90 @@
4063
4019
  ]
4064
4020
  },
4065
4021
  "values": [
4022
+ "small",
4066
4023
  "medium",
4067
4024
  "large"
4068
4025
  ],
4069
4026
  "type": {
4070
- "name": "string"
4027
+ "name": "sizeProps"
4028
+ }
4029
+ },
4030
+ {
4031
+ "name": "error",
4032
+ "description": "Sets the select to an error state, displays the `error` slot if one is present.",
4033
+ "type": {
4034
+ "name": "boolean|string"
4071
4035
  },
4072
4036
  "defaultValue": {
4073
4037
  "func": false,
4074
- "value": "'medium'"
4038
+ "value": false
4075
4039
  }
4076
4040
  },
4077
4041
  {
4078
- "name": "fullWidth",
4079
- "description": "Sets the label and switch to expand to the full width of its container with `space-between`",
4042
+ "name": "errorRole",
4043
+ "description": "Sets the `role` attribute for the embedded error state messaging.",
4080
4044
  "type": {
4081
- "name": "boolean"
4045
+ "name": "string"
4082
4046
  },
4083
4047
  "defaultValue": {
4084
4048
  "func": false,
4085
- "value": false
4049
+ "value": "'status'"
4086
4050
  }
4087
4051
  },
4088
4052
  {
4089
4053
  "name": "modelValue",
4090
4054
  "tags": {
4091
- "demoIgnore": [
4055
+ "ignore": [
4092
4056
  {
4093
- "description": "true",
4094
- "title": "demoIgnore"
4057
+ "description": true,
4058
+ "title": "ignore"
4095
4059
  }
4096
4060
  ]
4097
4061
  },
4062
+ "type": {
4063
+ "name": "string|number|boolean|object|array|symbol|func"
4064
+ }
4065
+ },
4066
+ {
4067
+ "name": "disabled",
4068
+ "description": "Disables the input and sets appropriate styling",
4098
4069
  "type": {
4099
4070
  "name": "boolean"
4100
- },
4101
- "required": true
4071
+ }
4072
+ },
4073
+ {
4074
+ "name": "required",
4075
+ "description": "Sets aria-required on the input field and displays an asterisk next to the select label",
4076
+ "type": {
4077
+ "name": "boolean"
4078
+ }
4079
+ },
4080
+ {
4081
+ "name": "optional",
4082
+ "description": "Displays '(optional)' text next to the select label.",
4083
+ "type": {
4084
+ "name": "boolean"
4085
+ }
4086
+ },
4087
+ {
4088
+ "name": "multiple",
4089
+ "description": "Turns CdrSelect into a multi-select element.",
4090
+ "type": {
4091
+ "name": "boolean"
4092
+ }
4093
+ },
4094
+ {
4095
+ "name": "multipleSize",
4096
+ "description": "Sets the height of the CdrSelect when using the multiple option.\nThis number corresponds to the number of select options that will be visible without scrolling.",
4097
+ "type": {
4098
+ "name": "number"
4099
+ }
4102
4100
  }
4103
4101
  ],
4104
4102
  "events": [
4105
4103
  {
4106
4104
  "name": "update:modelValue",
4107
- "description": "Event emitted by v-model on switch",
4105
+ "description": "Event emitted by v-model on the radio's <input> element",
4108
4106
  "properties": [
4109
4107
  {
4110
4108
  "type": {
@@ -4128,203 +4126,227 @@
4128
4126
  ],
4129
4127
  "slots": [
4130
4128
  {
4131
- "name": "default",
4132
- "description": "The label for the switch"
4133
- }
4134
- ],
4135
- "sourceFiles": [
4136
- "./src/components/switch/CdrSwitch.vue"
4137
- ],
4138
- "UIProperties": [
4139
- {
4140
- "name": "--cdr-switch-border-color",
4141
- "defaultValue": "--cdr-color-border-secondary",
4142
- "description": "Border of the cdr-switch button"
4143
- },
4144
- {
4145
- "name": "--cdr-switch-background-color",
4146
- "defaultValue": "--cdr-color-background-switch-default-rest",
4147
- "description": "Background color of the cdr-switch button"
4148
- },
4149
- {
4150
- "name": "--cdr-switch-icon-fill",
4151
- "defaultValue": "--cdr-color-icon-default",
4152
- "description": "Fill of the cdr-switch x and check icons"
4129
+ "name": "helper-text",
4130
+ "description": "Helper text above the select field"
4153
4131
  },
4154
4132
  {
4155
- "name": "--cdr-switch-box-shadow-color-focus",
4156
- "defaultValue": "--cdr-color-border-secondary",
4157
- "description": "Box-shadow of the cdr-switch button on focus"
4133
+ "name": "info",
4134
+ "description": "Link or icon to the right above the select field."
4158
4135
  },
4159
4136
  {
4160
- "name": "--cdr-switch-background-color-focus",
4161
- "defaultValue": "--cdr-color-background-switch-default-focus",
4162
- "description": "Background color of the cdr-switch button on focus"
4137
+ "name": "pre-icon",
4138
+ "description": "Icon preceding text within the select field"
4163
4139
  },
4164
4140
  {
4165
- "name": "--cdr-switch-icon-fill-focus",
4166
- "defaultValue": "--cdr-color-icon-default",
4167
- "description": "Fill of the cdr-switch x and check icons on focus"
4141
+ "name": "default",
4142
+ "description": "CdrSelect content (<option> tags). Leave empty if using the `options` prop."
4168
4143
  },
4169
4144
  {
4170
- "name": "--cdr-switch-handle-background-color-focus",
4171
- "defaultValue": "--cdr-color-background-switch-handle-default-focus",
4172
- "description": "Background color of the cdr-switch handle before on focus"
4145
+ "name": "info-action",
4146
+ "description": "Action-wrapped icon to the right of the select field"
4173
4147
  },
4174
4148
  {
4175
- "name": "--cdr-switch-hover-border-color",
4176
- "defaultValue": "--cdr-color-border-switch-default-hover",
4177
- "description": "Border of the cdr-switch button on hover when not in focus"
4178
- },
4149
+ "name": "error",
4150
+ "description": "Error messaging text that is displayed when the `error` prop is true."
4151
+ }
4152
+ ],
4153
+ "sourceFiles": [
4154
+ "./src/components/select/CdrSelect.vue"
4155
+ ],
4156
+ "UIProperties": [
4179
4157
  {
4180
- "name": "--cdr-switch-background-color-hover",
4181
- "defaultValue": "--cdr-color-background-switch-default-hover",
4182
- "description": "Background color of the cdr-switch button on hover when not in focus"
4158
+ "name": "--cdr-select-caret-fill",
4159
+ "defaultValue": "--cdr-color-text-primary",
4160
+ "description": "Color of the cdr-select caret"
4183
4161
  },
4184
4162
  {
4185
- "name": "--cdr-switch-icon-fill-hover",
4186
- "defaultValue": "--cdr-color-icon-emphasis",
4187
- "description": "Fill of the cdr-switch x and check icons on hover when not in focus"
4163
+ "name": "--cdr-select-caret-fill-disabled",
4164
+ "defaultValue": "--cdr-color-icon-disabled",
4165
+ "description": "Color of a disabled cdr-select caret"
4188
4166
  },
4189
4167
  {
4190
- "name": "--cdr-switch-handle-border-color-hover",
4191
- "defaultValue": "--cdr-color-border-switch-default-hover",
4192
- "description": "Border of the cdr-switch handle on hover when not in focus"
4168
+ "name": "--cdr-select-background-color",
4169
+ "defaultValue": "--cdr-color-background-input-default",
4170
+ "description": "Background color of cdr-select"
4193
4171
  },
4194
4172
  {
4195
- "name": "--cdr-switch-background-color-checked",
4196
- "defaultValue": "--cdr-color-background-switch-selected-default-rest",
4197
- "description": "Background color of the cdr-switch button when it is checked"
4173
+ "name": "--cdr-select-text-color",
4174
+ "defaultValue": "--cdr-color-text-input-default",
4175
+ "description": "Text color of cdr-select"
4198
4176
  },
4199
4177
  {
4200
- "name": "--cdr-switch-icon-fill-checked",
4201
- "defaultValue": "--cdr-color-icon-switch-selected-default-rest",
4202
- "description": "Fill of the cdr-switch x and check icons when it is checked"
4178
+ "name": "--cdr-select-box-shadow-color",
4179
+ "defaultValue": "--cdr-color-border-input-default",
4180
+ "description": "Box-shadow color of cdr-select"
4203
4181
  },
4204
4182
  {
4205
- "name": "--cdr-switch-box-shadow-color-checked-focus",
4206
- "defaultValue": "--cdr-color-border-secondary",
4207
- "description": "Box-shadow of the cdr-switch button when it is checked and in focus"
4183
+ "name": "--cdr-select-background-color-disabled",
4184
+ "defaultValue": "--cdr-color-background-input-default-disabled",
4185
+ "description": "Background color of a disabled cdr-select"
4208
4186
  },
4209
4187
  {
4210
- "name": "--cdr-switch-background-color-checked-focus",
4211
- "defaultValue": "--cdr-color-background-switch-selected-default-focus",
4212
- "description": "Background color of the cdr-switch button when it is checked and in focus"
4188
+ "name": "--cdr-select-text-color-disabled",
4189
+ "defaultValue": "--cdr-color-text-input-disabled",
4190
+ "description": "Text color of a disabled cdr-select"
4213
4191
  },
4214
4192
  {
4215
- "name": "--cdr-switch-handle-border-color-checked-focus",
4216
- "defaultValue": "--cdr-color-border-switch-handle-default-focus",
4217
- "description": "Border of the cdr-switch handle when it is checked and in focus"
4193
+ "name": "--cdr-select-box-shadow-color-disabled",
4194
+ "defaultValue": "--cdr-color-border-input-default-disabled",
4195
+ "description": "Box-shadow color of a disabled cdr-select"
4218
4196
  },
4219
4197
  {
4220
- "name": "--cdr-switch-handle-background-color-checked-focus",
4221
- "defaultValue": "--cdr-color-background-switch-handle-selected-default-focus",
4222
- "description": "Background color of the cdr-switch handle when it is checked and in focus"
4198
+ "name": "--cdr-select-box-shadow-color-focus",
4199
+ "defaultValue": "--cdr-color-border-input-default-focus",
4200
+ "description": "Box-shadow color of a cdr-select when active or focused"
4223
4201
  },
4224
4202
  {
4225
- "name": "--cdr-switch-icon-fill-checked-focus",
4226
- "defaultValue": "--cdr-color-icon-switch-selected-default-focus",
4227
- "description": "Fill of the cdr-switch x and check icons when it is checked and in focus"
4203
+ "name": "--cdr-select-prompt-text-color",
4204
+ "defaultValue": "--cdr-color-text-primary",
4205
+ "description": "Text color of cdr-select prompt"
4228
4206
  },
4229
4207
  {
4230
- "name": "--cdr-switch-handle-background-color-checked",
4231
- "defaultValue": "--cdr-color-background-switch-handle-selected-default-rest",
4232
- "description": "Background color of the cdr-switch handle when it is checked"
4208
+ "name": "--cdr-select-prompt-text-color-disabled",
4209
+ "defaultValue": "--cdr-color-text-input-disabled",
4210
+ "description": "Text color of a disabled cdr-select prompt"
4233
4211
  },
4234
4212
  {
4235
- "name": "--cdr-switch-border-color-checked-hover",
4236
- "defaultValue": "--cdr-color-border-secondary",
4237
- "description": "Border of the cdr-switch button when it is checked and on hover but not in focus"
4213
+ "name": "--cdr-select-primary-background-color",
4214
+ "defaultValue": "--cdr-color-background-input-default",
4215
+ "description": "Background color of a primary cdr-select"
4238
4216
  },
4239
4217
  {
4240
- "name": "--cdr-switch-background-color-checked-hover",
4241
- "defaultValue": "--cdr-color-background-switch-selected-default-hover",
4242
- "description": "Background color of the cdr-switch button when it is checked and on hover but not in focus"
4218
+ "name": "--cdr-select-primary-background-color-active",
4219
+ "defaultValue": "--cdr-color-background-input-default-active",
4220
+ "description": "Background color of a primary cdr-select when active or focused"
4243
4221
  },
4244
4222
  {
4245
- "name": "--cdr-switch-icon-fill-checked-hover",
4246
- "defaultValue": "--cdr-color-icon-switch-selected-default-hover",
4247
- "description": "Fill of the cdr-switch x and check icons when it is checked and on hover but not in focus"
4223
+ "name": "--cdr-select-secondary-background-color",
4224
+ "defaultValue": "--cdr-color-background-input-secondary",
4225
+ "description": "Background color of a secondary cdr-select"
4248
4226
  },
4249
4227
  {
4250
- "name": "--cdr-switch-handle-border-color-checked-hover",
4251
- "defaultValue": "--cdr-color-border-switch-handle-default-hover",
4252
- "description": "Border of the cdr-switch handle when it is checked and on hover but not in focus"
4228
+ "name": "--cdr-select-secondary-background-color-active",
4229
+ "defaultValue": "--cdr-color-background-input-secondary-active",
4230
+ "description": "Background color of a secondary cdr-select when active or focused"
4253
4231
  },
4254
4232
  {
4255
- "name": "--cdr-switch-handle-border",
4256
- "defaultValue": "--cdr-color-border-secondary",
4257
- "description": "Border color of the cdr-switch handle"
4233
+ "name": "--cdr-select-background-color-error",
4234
+ "defaultValue": "--cdr-color-background-input-error",
4235
+ "description": "Background color of a cdr-select error"
4258
4236
  },
4259
4237
  {
4260
- "name": "--cdr-switch-handle-background-color-rest",
4261
- "defaultValue": "--cdr-color-background-switch-handle-default-rest",
4262
- "description": "Background color of the cdr-switch handle"
4238
+ "name": "--cdr-select-box-shadow-color-error",
4239
+ "defaultValue": "--cdr-color-border-input-error",
4240
+ "description": "Box-shadow color of a cdr-select error"
4263
4241
  }
4264
4242
  ]
4265
4243
  },
4266
- "CdrSelect": {
4267
- "name": "CdrSelect",
4268
- "description": "Allows the selection of one or more options from a dropdown list",
4269
- "tags": {},
4244
+ "CdrSkeletonBone": {
4245
+ "name": "CdrSkeletonBone",
4270
4246
  "exportName": "default",
4271
- "displayName": "CdrSelect",
4247
+ "displayName": "CdrSkeletonBone",
4248
+ "description": "",
4249
+ "tags": {},
4272
4250
  "props": [
4273
4251
  {
4274
- "name": "id",
4275
- "description": "Custom ID that is mapped to the label ‘for’ attribute. If this value is not set, it will be auto-generated.",
4276
- "type": {
4277
- "name": "string"
4278
- }
4279
- },
4280
- {
4281
- "name": "label",
4282
- "description": "Sets the text value for the select label.\nRequired for accessibility compliance. Use ‘hideLabel’ to\nvisually hide the label but keep it available to screenreaders.",
4252
+ "name": "type",
4253
+ "description": "Sets the type of content placeholder",
4254
+ "tags": {
4255
+ "demoSelectMultiple": [
4256
+ {
4257
+ "description": "false",
4258
+ "title": "demoSelectMultiple"
4259
+ }
4260
+ ]
4261
+ },
4262
+ "values": [
4263
+ "default",
4264
+ "heading",
4265
+ "line",
4266
+ "rectangle",
4267
+ "square"
4268
+ ],
4283
4269
  "type": {
4284
4270
  "name": "string"
4285
4271
  },
4286
- "required": true
4287
- },
4272
+ "defaultValue": {
4273
+ "func": false,
4274
+ "value": "'default'"
4275
+ }
4276
+ }
4277
+ ],
4278
+ "sourceFiles": [
4279
+ "./src/components/skeleton/CdrSkeletonBone.vue"
4280
+ ]
4281
+ },
4282
+ "CdrSkeleton": {
4283
+ "name": "CdrSkeleton",
4284
+ "description": "Visually communicates content is in the process of loading",
4285
+ "tags": {},
4286
+ "exportName": "default",
4287
+ "displayName": "CdrSkeleton",
4288
+ "props": [
4288
4289
  {
4289
- "name": "hideLabel",
4290
- "description": "Visually hides the label element, but leaves it available to screen readers for accessibility compliance.",
4290
+ "name": "motion",
4291
+ "description": "Toggle animation on/off.\nWhen `true`, animated gradient will be used while loading.\nWhen `false` a static background color will be used.\nAutomatically disabled if `prefers-reduced-motion` is set by user.",
4291
4292
  "type": {
4292
4293
  "name": "boolean"
4293
4294
  },
4294
4295
  "defaultValue": {
4295
4296
  "func": false,
4296
- "value": false
4297
+ "value": true
4297
4298
  }
4299
+ }
4300
+ ],
4301
+ "slots": [
4302
+ {
4303
+ "name": "default",
4304
+ "description": "CdrSkeleton content (CdrSkeletonBone components)"
4305
+ }
4306
+ ],
4307
+ "sourceFiles": [
4308
+ "./src/components/skeleton/CdrSkeleton.vue"
4309
+ ],
4310
+ "UIProperties": [
4311
+ {
4312
+ "name": "--cdr-skeleton-bone-background-color",
4313
+ "defaultValue": "#edeae3",
4314
+ "description": "Skeleton bone background color"
4298
4315
  },
4299
4316
  {
4300
- "name": "prompt",
4301
- "description": "Adds an option that is disabled and selected by default to serve as a `placeholder` for the select.",
4302
- "type": {
4303
- "name": "string"
4304
- }
4317
+ "name": "--cdr-skeleton-gradient-1",
4318
+ "defaultValue": "rgba(237,234,227,1)",
4319
+ "description": "Skeleton shimmer gradient part 1"
4305
4320
  },
4306
4321
  {
4307
- "name": "options",
4308
- "description": "Build options programmatically with data.\nProvide an array of objects [{ text: String, value: String}] for greater control\nor provide an array of strings ['String'] for simpler setup (value and text will be the same).",
4309
- "type": {
4310
- "name": "selectOption[] | string[]"
4311
- }
4322
+ "name": "--cdr-skeleton-gradient-2",
4323
+ "defaultValue": "rgba(249,248,240,1)",
4324
+ "description": "Skeleton shimmer gradient part 2"
4312
4325
  },
4313
4326
  {
4314
- "name": "background",
4315
- "description": "Sets the background color the radio button is rendered on",
4316
- "tags": {},
4317
- "values": [
4318
- "primary",
4319
- "secondary"
4320
- ],
4327
+ "name": "--cdr-skeleton-gradient-3",
4328
+ "defaultValue": "rgba(237,234,227,1)",
4329
+ "description": "Skeleton shimmer gradient part 3"
4330
+ }
4331
+ ]
4332
+ },
4333
+ "CdrSwitch": {
4334
+ "name": "CdrSwitch",
4335
+ "description": "Permits selection from two opposing options",
4336
+ "tags": {},
4337
+ "exportName": "default",
4338
+ "displayName": "CdrSwitch",
4339
+ "props": [
4340
+ {
4341
+ "name": "id",
4342
+ "description": "Sets a custom ID for the switch. If this value is not set, it will be auto-generated.",
4321
4343
  "type": {
4322
- "name": "backgroundProps"
4344
+ "name": "string"
4323
4345
  }
4324
4346
  },
4325
4347
  {
4326
4348
  "name": "size",
4327
- "description": "Sets the component's size; values can target responsive breakpoints. Example `small@lg`",
4349
+ "description": "Sets the size of the switch",
4328
4350
  "tags": {
4329
4351
  "demoSelectMultiple": [
4330
4352
  {
@@ -4334,90 +4356,48 @@
4334
4356
  ]
4335
4357
  },
4336
4358
  "values": [
4337
- "small",
4338
4359
  "medium",
4339
4360
  "large"
4340
4361
  ],
4341
4362
  "type": {
4342
- "name": "sizeProps"
4343
- }
4344
- },
4345
- {
4346
- "name": "error",
4347
- "description": "Sets the select to an error state, displays the `error` slot if one is present.",
4348
- "type": {
4349
- "name": "boolean|string"
4363
+ "name": "string"
4350
4364
  },
4351
4365
  "defaultValue": {
4352
4366
  "func": false,
4353
- "value": false
4367
+ "value": "'medium'"
4354
4368
  }
4355
4369
  },
4356
4370
  {
4357
- "name": "errorRole",
4358
- "description": "Sets the `role` attribute for the embedded error state messaging.",
4371
+ "name": "fullWidth",
4372
+ "description": "Sets the label and switch to expand to the full width of its container with `space-between`",
4359
4373
  "type": {
4360
- "name": "string"
4374
+ "name": "boolean"
4361
4375
  },
4362
4376
  "defaultValue": {
4363
4377
  "func": false,
4364
- "value": "'status'"
4378
+ "value": false
4365
4379
  }
4366
4380
  },
4367
4381
  {
4368
4382
  "name": "modelValue",
4369
4383
  "tags": {
4370
- "ignore": [
4384
+ "demoIgnore": [
4371
4385
  {
4372
- "description": true,
4373
- "title": "ignore"
4386
+ "description": "true",
4387
+ "title": "demoIgnore"
4374
4388
  }
4375
4389
  ]
4376
4390
  },
4377
- "type": {
4378
- "name": "string|number|boolean|object|array|symbol|func"
4379
- }
4380
- },
4381
- {
4382
- "name": "disabled",
4383
- "description": "Disables the input and sets appropriate styling",
4384
- "type": {
4385
- "name": "boolean"
4386
- }
4387
- },
4388
- {
4389
- "name": "required",
4390
- "description": "Sets aria-required on the input field and displays an asterisk next to the select label",
4391
- "type": {
4392
- "name": "boolean"
4393
- }
4394
- },
4395
- {
4396
- "name": "optional",
4397
- "description": "Displays '(optional)' text next to the select label.",
4398
- "type": {
4399
- "name": "boolean"
4400
- }
4401
- },
4402
- {
4403
- "name": "multiple",
4404
- "description": "Turns CdrSelect into a multi-select element.",
4405
4391
  "type": {
4406
4392
  "name": "boolean"
4407
- }
4408
- },
4409
- {
4410
- "name": "multipleSize",
4411
- "description": "Sets the height of the CdrSelect when using the multiple option.\nThis number corresponds to the number of select options that will be visible without scrolling.",
4412
- "type": {
4413
- "name": "number"
4414
- }
4393
+ },
4394
+ "required": true
4415
4395
  }
4416
4396
  ],
4417
4397
  "events": [
4418
4398
  {
4419
4399
  "name": "update:modelValue",
4420
- "description": "Event emitted by v-model on the radio's <input> element",
4400
+ "description": "Event emitted by v-model on switch",
4421
4401
  "properties": [
4422
4402
  {
4423
4403
  "type": {
@@ -4441,170 +4421,139 @@
4441
4421
  ],
4442
4422
  "slots": [
4443
4423
  {
4444
- "name": "helper-text",
4445
- "description": "Helper text above the select field"
4446
- },
4424
+ "name": "default",
4425
+ "description": "The label for the switch"
4426
+ }
4427
+ ],
4428
+ "sourceFiles": [
4429
+ "./src/components/switch/CdrSwitch.vue"
4430
+ ],
4431
+ "UIProperties": [
4447
4432
  {
4448
- "name": "info",
4449
- "description": "Link or icon to the right above the select field."
4433
+ "name": "--cdr-switch-border-color",
4434
+ "defaultValue": "--cdr-color-border-secondary",
4435
+ "description": "Border of the cdr-switch button"
4450
4436
  },
4451
4437
  {
4452
- "name": "pre-icon",
4453
- "description": "Icon preceding text within the select field"
4438
+ "name": "--cdr-switch-background-color",
4439
+ "defaultValue": "--cdr-color-background-switch-default-rest",
4440
+ "description": "Background color of the cdr-switch button"
4454
4441
  },
4455
4442
  {
4456
- "name": "default",
4457
- "description": "CdrSelect content (<option> tags). Leave empty if using the `options` prop."
4443
+ "name": "--cdr-switch-icon-fill",
4444
+ "defaultValue": "--cdr-color-icon-default",
4445
+ "description": "Fill of the cdr-switch x and check icons"
4458
4446
  },
4459
4447
  {
4460
- "name": "info-action",
4461
- "description": "Action-wrapped icon to the right of the select field"
4448
+ "name": "--cdr-switch-box-shadow-color-focus",
4449
+ "defaultValue": "--cdr-color-border-secondary",
4450
+ "description": "Box-shadow of the cdr-switch button on focus"
4462
4451
  },
4463
4452
  {
4464
- "name": "error",
4465
- "description": "Error messaging text that is displayed when the `error` prop is true."
4466
- }
4467
- ],
4468
- "sourceFiles": [
4469
- "./src/components/select/CdrSelect.vue"
4470
- ],
4471
- "UIProperties": [
4472
- {
4473
- "name": "--cdr-select-caret-fill",
4474
- "defaultValue": "--cdr-color-text-primary",
4475
- "description": "Color of the cdr-select caret"
4453
+ "name": "--cdr-switch-background-color-focus",
4454
+ "defaultValue": "--cdr-color-background-switch-default-focus",
4455
+ "description": "Background color of the cdr-switch button on focus"
4476
4456
  },
4477
4457
  {
4478
- "name": "--cdr-select-caret-fill-disabled",
4479
- "defaultValue": "--cdr-color-icon-disabled",
4480
- "description": "Color of a disabled cdr-select caret"
4458
+ "name": "--cdr-switch-icon-fill-focus",
4459
+ "defaultValue": "--cdr-color-icon-default",
4460
+ "description": "Fill of the cdr-switch x and check icons on focus"
4481
4461
  },
4482
4462
  {
4483
- "name": "--cdr-select-background-color",
4484
- "defaultValue": "--cdr-color-background-input-default",
4485
- "description": "Background color of cdr-select"
4463
+ "name": "--cdr-switch-handle-background-color-focus",
4464
+ "defaultValue": "--cdr-color-background-switch-handle-default-focus",
4465
+ "description": "Background color of the cdr-switch handle before on focus"
4486
4466
  },
4487
4467
  {
4488
- "name": "--cdr-select-text-color",
4489
- "defaultValue": "--cdr-color-text-input-default",
4490
- "description": "Text color of cdr-select"
4468
+ "name": "--cdr-switch-hover-border-color",
4469
+ "defaultValue": "--cdr-color-border-switch-default-hover",
4470
+ "description": "Border of the cdr-switch button on hover when not in focus"
4491
4471
  },
4492
4472
  {
4493
- "name": "--cdr-select-box-shadow-color",
4494
- "defaultValue": "--cdr-color-border-input-default",
4495
- "description": "Box-shadow color of cdr-select"
4473
+ "name": "--cdr-switch-background-color-hover",
4474
+ "defaultValue": "--cdr-color-background-switch-default-hover",
4475
+ "description": "Background color of the cdr-switch button on hover when not in focus"
4496
4476
  },
4497
4477
  {
4498
- "name": "--cdr-select-background-color-disabled",
4499
- "defaultValue": "--cdr-color-background-input-default-disabled",
4500
- "description": "Background color of a disabled cdr-select"
4478
+ "name": "--cdr-switch-icon-fill-hover",
4479
+ "defaultValue": "--cdr-color-icon-emphasis",
4480
+ "description": "Fill of the cdr-switch x and check icons on hover when not in focus"
4501
4481
  },
4502
4482
  {
4503
- "name": "--cdr-select-text-color-disabled",
4504
- "defaultValue": "--cdr-color-text-input-disabled",
4505
- "description": "Text color of a disabled cdr-select"
4483
+ "name": "--cdr-switch-handle-border-color-hover",
4484
+ "defaultValue": "--cdr-color-border-switch-default-hover",
4485
+ "description": "Border of the cdr-switch handle on hover when not in focus"
4506
4486
  },
4507
4487
  {
4508
- "name": "--cdr-select-box-shadow-color-disabled",
4509
- "defaultValue": "--cdr-color-border-input-default-disabled",
4510
- "description": "Box-shadow color of a disabled cdr-select"
4488
+ "name": "--cdr-switch-background-color-checked",
4489
+ "defaultValue": "--cdr-color-background-switch-selected-default-rest",
4490
+ "description": "Background color of the cdr-switch button when it is checked"
4511
4491
  },
4512
4492
  {
4513
- "name": "--cdr-select-box-shadow-color-focus",
4514
- "defaultValue": "--cdr-color-border-input-default-focus",
4515
- "description": "Box-shadow color of a cdr-select when active or focused"
4493
+ "name": "--cdr-switch-icon-fill-checked",
4494
+ "defaultValue": "--cdr-color-icon-switch-selected-default-rest",
4495
+ "description": "Fill of the cdr-switch x and check icons when it is checked"
4516
4496
  },
4517
4497
  {
4518
- "name": "--cdr-select-prompt-text-color",
4519
- "defaultValue": "--cdr-color-text-primary",
4520
- "description": "Text color of cdr-select prompt"
4498
+ "name": "--cdr-switch-box-shadow-color-checked-focus",
4499
+ "defaultValue": "--cdr-color-border-secondary",
4500
+ "description": "Box-shadow of the cdr-switch button when it is checked and in focus"
4521
4501
  },
4522
4502
  {
4523
- "name": "--cdr-select-prompt-text-color-disabled",
4524
- "defaultValue": "--cdr-color-text-input-disabled",
4525
- "description": "Text color of a disabled cdr-select prompt"
4503
+ "name": "--cdr-switch-background-color-checked-focus",
4504
+ "defaultValue": "--cdr-color-background-switch-selected-default-focus",
4505
+ "description": "Background color of the cdr-switch button when it is checked and in focus"
4526
4506
  },
4527
4507
  {
4528
- "name": "--cdr-select-primary-background-color",
4529
- "defaultValue": "--cdr-color-background-input-default",
4530
- "description": "Background color of a primary cdr-select"
4508
+ "name": "--cdr-switch-handle-border-color-checked-focus",
4509
+ "defaultValue": "--cdr-color-border-switch-handle-default-focus",
4510
+ "description": "Border of the cdr-switch handle when it is checked and in focus"
4531
4511
  },
4532
4512
  {
4533
- "name": "--cdr-select-primary-background-color-active",
4534
- "defaultValue": "--cdr-color-background-input-default-active",
4535
- "description": "Background color of a primary cdr-select when active or focused"
4513
+ "name": "--cdr-switch-handle-background-color-checked-focus",
4514
+ "defaultValue": "--cdr-color-background-switch-handle-selected-default-focus",
4515
+ "description": "Background color of the cdr-switch handle when it is checked and in focus"
4536
4516
  },
4537
4517
  {
4538
- "name": "--cdr-select-secondary-background-color",
4539
- "defaultValue": "--cdr-color-background-input-secondary",
4540
- "description": "Background color of a secondary cdr-select"
4518
+ "name": "--cdr-switch-icon-fill-checked-focus",
4519
+ "defaultValue": "--cdr-color-icon-switch-selected-default-focus",
4520
+ "description": "Fill of the cdr-switch x and check icons when it is checked and in focus"
4541
4521
  },
4542
4522
  {
4543
- "name": "--cdr-select-secondary-background-color-active",
4544
- "defaultValue": "--cdr-color-background-input-secondary-active",
4545
- "description": "Background color of a secondary cdr-select when active or focused"
4523
+ "name": "--cdr-switch-handle-background-color-checked",
4524
+ "defaultValue": "--cdr-color-background-switch-handle-selected-default-rest",
4525
+ "description": "Background color of the cdr-switch handle when it is checked"
4546
4526
  },
4547
4527
  {
4548
- "name": "--cdr-select-background-color-error",
4549
- "defaultValue": "--cdr-color-background-input-error",
4550
- "description": "Background color of a cdr-select error"
4528
+ "name": "--cdr-switch-border-color-checked-hover",
4529
+ "defaultValue": "--cdr-color-border-secondary",
4530
+ "description": "Border of the cdr-switch button when it is checked and on hover but not in focus"
4551
4531
  },
4552
4532
  {
4553
- "name": "--cdr-select-box-shadow-color-error",
4554
- "defaultValue": "--cdr-color-border-input-error",
4555
- "description": "Box-shadow color of a cdr-select error"
4556
- }
4557
- ]
4558
- },
4559
- "CdrTabPanel": {
4560
- "name": "CdrTabPanel",
4561
- "exportName": "default",
4562
- "displayName": "CdrTabPanel",
4563
- "description": "",
4564
- "tags": {},
4565
- "props": [
4566
- {
4567
- "name": "id",
4568
- "description": "Sets reference identifier for tab content. This property is required and is necessary for accessibility. Must be unique for each tabPanel, and cannot be the same as the `aria-labelledby` property.",
4569
- "type": {
4570
- "name": "string"
4571
- }
4533
+ "name": "--cdr-switch-background-color-checked-hover",
4534
+ "defaultValue": "--cdr-color-background-switch-selected-default-hover",
4535
+ "description": "Background color of the cdr-switch button when it is checked and on hover but not in focus"
4572
4536
  },
4573
4537
  {
4574
- "name": "name",
4575
- "description": "Sets tab display name. Required and must be unique for each tab. If `id` is not provided, this value will be used as the reference identifier.",
4576
- "type": {
4577
- "name": "string"
4578
- }
4538
+ "name": "--cdr-switch-icon-fill-checked-hover",
4539
+ "defaultValue": "--cdr-color-icon-switch-selected-default-hover",
4540
+ "description": "Fill of the cdr-switch x and check icons when it is checked and on hover but not in focus"
4579
4541
  },
4580
4542
  {
4581
- "name": "ariaLabelledby",
4582
- "description": "Sets reference identifier for tab header. This property is required and is necessary for accessibility. Must be unique for each tabPanel, and cannot be the same as the `id` property.",
4583
- "type": {
4584
- "name": "string"
4585
- }
4586
- }
4587
- ],
4588
- "events": [
4543
+ "name": "--cdr-switch-handle-border-color-checked-hover",
4544
+ "defaultValue": "--cdr-color-border-switch-handle-default-hover",
4545
+ "description": "Border of the cdr-switch handle when it is checked and on hover but not in focus"
4546
+ },
4589
4547
  {
4590
- "name": "tab-change",
4591
- "description": "Emits when active tab is changed",
4592
- "tags": [
4593
- {
4594
- "title": "params",
4595
- "content": "state, panelId"
4596
- }
4597
- ]
4598
- }
4599
- ],
4600
- "slots": [
4548
+ "name": "--cdr-switch-handle-border",
4549
+ "defaultValue": "--cdr-color-border-secondary",
4550
+ "description": "Border color of the cdr-switch handle"
4551
+ },
4601
4552
  {
4602
- "name": "default",
4603
- "description": "CdrTabPanel content"
4553
+ "name": "--cdr-switch-handle-background-color-rest",
4554
+ "defaultValue": "--cdr-color-background-switch-handle-default-rest",
4555
+ "description": "Background color of the cdr-switch handle"
4604
4556
  }
4605
- ],
4606
- "sourceFiles": [
4607
- "./src/components/tabs/CdrTabPanel.vue"
4608
4557
  ]
4609
4558
  },
4610
4559
  "CdrTable": {
@@ -4761,6 +4710,93 @@
4761
4710
  }
4762
4711
  ]
4763
4712
  },
4713
+ "CdrTabPanel": {
4714
+ "name": "CdrTabPanel",
4715
+ "exportName": "default",
4716
+ "displayName": "CdrTabPanel",
4717
+ "description": "",
4718
+ "tags": {},
4719
+ "props": [
4720
+ {
4721
+ "name": "id",
4722
+ "description": "Sets reference identifier for tab content. This property is required and is necessary for accessibility. Must be unique for each tabPanel, and cannot be the same as the `aria-labelledby` property.",
4723
+ "type": {
4724
+ "name": "string"
4725
+ }
4726
+ },
4727
+ {
4728
+ "name": "name",
4729
+ "description": "Sets tab display name. Required and must be unique for each tab. If `id` is not provided, this value will be used as the reference identifier.",
4730
+ "type": {
4731
+ "name": "string"
4732
+ }
4733
+ },
4734
+ {
4735
+ "name": "ariaLabelledby",
4736
+ "description": "Sets reference identifier for tab header. This property is required and is necessary for accessibility. Must be unique for each tabPanel, and cannot be the same as the `id` property.",
4737
+ "type": {
4738
+ "name": "string"
4739
+ }
4740
+ }
4741
+ ],
4742
+ "events": [
4743
+ {
4744
+ "name": "tab-change",
4745
+ "description": "Emits when active tab is changed",
4746
+ "tags": [
4747
+ {
4748
+ "title": "params",
4749
+ "content": "state, panelId"
4750
+ }
4751
+ ]
4752
+ }
4753
+ ],
4754
+ "slots": [
4755
+ {
4756
+ "name": "default",
4757
+ "description": "CdrTabPanel content"
4758
+ }
4759
+ ],
4760
+ "sourceFiles": [
4761
+ "./src/components/tabs/CdrTabPanel.vue"
4762
+ ]
4763
+ },
4764
+ "CdrText": {
4765
+ "name": "CdrText",
4766
+ "description": "Text container used for any text element such as paragraphs, headings, and lists",
4767
+ "tags": {},
4768
+ "exportName": "default",
4769
+ "displayName": "CdrText",
4770
+ "props": [
4771
+ {
4772
+ "name": "tag",
4773
+ "description": "Sets the HTML tag (p, span, h1, h2, etc)",
4774
+ "type": {
4775
+ "name": "string"
4776
+ },
4777
+ "defaultValue": {
4778
+ "func": false,
4779
+ "value": "'p'"
4780
+ }
4781
+ }
4782
+ ],
4783
+ "slots": [
4784
+ {
4785
+ "name": "default",
4786
+ "description": "CdrText content"
4787
+ }
4788
+ ],
4789
+ "sourceFiles": [
4790
+ "./src/components/text/CdrText.vue"
4791
+ ],
4792
+ "UIProperties": [
4793
+ {
4794
+ "name": "--cdr-text-color",
4795
+ "defaultValue": "--cdr-color-text-primary",
4796
+ "description": "Text color"
4797
+ }
4798
+ ]
4799
+ },
4764
4800
  "CdrTabs": {
4765
4801
  "name": "CdrTabs",
4766
4802
  "description": "Organizes related content into groups for people to navigate between",
@@ -4881,42 +4917,6 @@
4881
4917
  }
4882
4918
  ]
4883
4919
  },
4884
- "CdrText": {
4885
- "name": "CdrText",
4886
- "description": "Text container used for any text element such as paragraphs, headings, and lists",
4887
- "tags": {},
4888
- "exportName": "default",
4889
- "displayName": "CdrText",
4890
- "props": [
4891
- {
4892
- "name": "tag",
4893
- "description": "Sets the HTML tag (p, span, h1, h2, etc)",
4894
- "type": {
4895
- "name": "string"
4896
- },
4897
- "defaultValue": {
4898
- "func": false,
4899
- "value": "'p'"
4900
- }
4901
- }
4902
- ],
4903
- "slots": [
4904
- {
4905
- "name": "default",
4906
- "description": "CdrText content"
4907
- }
4908
- ],
4909
- "sourceFiles": [
4910
- "./src/components/text/CdrText.vue"
4911
- ],
4912
- "UIProperties": [
4913
- {
4914
- "name": "--cdr-text-color",
4915
- "defaultValue": "--cdr-color-text-primary",
4916
- "description": "Text color"
4917
- }
4918
- ]
4919
- },
4920
4920
  "CdrToast": {
4921
4921
  "name": "CdrToast",
4922
4922
  "description": "Non-modal dialog used to communicate the status of a task or process",