@rei/cedar 14.0.2-alpha.0 → 14.0.2-alpha.1

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 (87) hide show
  1. package/dist/cedar-compiled.css +1050 -1050
  2. package/dist/cedar.umd.js +9 -9
  3. package/dist/component-docgen.json +1972 -1972
  4. package/dist/components/breadcrumb/CdrBreadcrumb.vue.d.ts +1 -1
  5. package/dist/icon-component-docgen.json +526 -526
  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 +2 -2
  12. package/dist/src/components/card/styles/CdrCard.module.scss.mjs +1 -1
  13. package/dist/src/components/checkbox/styles/CdrCheckbox.module.scss.mjs +27 -27
  14. package/dist/src/components/chip/styles/CdrChip.module.scss.mjs +4 -4
  15. package/dist/src/components/chip/styles/CdrChipGroup.module.scss.mjs +4 -4
  16. package/dist/src/components/container/styles/CdrContainer.module.scss.mjs +2 -2
  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/styles/CdrImg.module.scss.mjs +8 -8
  22. package/dist/src/components/input/styles/CdrInput.module.scss.mjs +32 -32
  23. package/dist/src/components/labelStandalone/styles/CdrLabelStandalone.module.scss.mjs +12 -12
  24. package/dist/src/components/labelWrapper/styles/CdrLabelWrapper.module.scss.mjs +25 -25
  25. package/dist/src/components/link/styles/CdrLink.module.scss.mjs +3 -3
  26. package/dist/src/components/list/styles/CdrList.module.scss.mjs +5 -5
  27. package/dist/src/components/modal/styles/CdrModal.module.scss.mjs +12 -12
  28. package/dist/src/components/pagination/styles/CdrPagination.module.scss.mjs +53 -53
  29. package/dist/src/components/popover/styles/CdrPopover.module.scss.mjs +63 -63
  30. package/dist/src/components/popup/styles/CdrPopup.module.scss.mjs +14 -14
  31. package/dist/src/components/quote/styles/CdrQuote.module.scss.mjs +4 -4
  32. package/dist/src/components/radio/styles/CdrRadio.module.scss.mjs +27 -27
  33. package/dist/src/components/rating/styles/CdrRating.module.scss.mjs +44 -44
  34. package/dist/src/components/select/styles/CdrSelect.module.scss.mjs +42 -42
  35. package/dist/src/components/skeleton/styles/CdrSkeleton.module.scss.mjs +1 -1
  36. package/dist/src/components/skeleton/styles/CdrSkeletonBone.module.scss.mjs +7 -7
  37. package/dist/src/components/switch/styles/CdrSwitch.module.scss.mjs +8 -8
  38. package/dist/src/components/table/styles/CdrTable.module.scss.mjs +13 -13
  39. package/dist/src/components/tabs/styles/CdrTabPanel.module.scss.mjs +5 -5
  40. package/dist/src/components/tabs/styles/CdrTabs.module.scss.mjs +28 -28
  41. package/dist/src/components/text/styles/CdrText.module.scss.mjs +1 -1
  42. package/dist/src/components/toast/styles/CdrToast.module.scss.mjs +57 -57
  43. package/dist/src/components/toggleButton/styles/CdrToggleButton.module.scss.mjs +2 -2
  44. package/dist/src/components/toggleButton/styles/CdrToggleGroup.module.scss.mjs +5 -5
  45. package/dist/src/components/tooltip/styles/CdrTooltip.module.scss.mjs +16 -16
  46. package/dist/style/cdr-accordion-group.css +1 -1
  47. package/dist/style/cdr-accordion.css +1 -1
  48. package/dist/style/cdr-banner.css +1 -1
  49. package/dist/style/cdr-breadcrumb.css +1 -1
  50. package/dist/style/cdr-button.css +1 -1
  51. package/dist/style/cdr-caption.css +1 -1
  52. package/dist/style/cdr-card.css +1 -1
  53. package/dist/style/cdr-checkbox.css +1 -1
  54. package/dist/style/cdr-chip-group.css +1 -1
  55. package/dist/style/cdr-chip.css +1 -1
  56. package/dist/style/cdr-container.css +1 -1
  57. package/dist/style/cdr-form-error.css +1 -1
  58. package/dist/style/cdr-form-group.css +1 -1
  59. package/dist/style/cdr-grid.css +1 -1
  60. package/dist/style/cdr-icon.css +1 -1
  61. package/dist/style/cdr-img.css +1 -1
  62. package/dist/style/cdr-input.css +1 -1
  63. package/dist/style/cdr-label-standalone.css +1 -1
  64. package/dist/style/cdr-label-wrapper.css +1 -1
  65. package/dist/style/cdr-link.css +1 -1
  66. package/dist/style/cdr-list.css +1 -1
  67. package/dist/style/cdr-modal.css +1 -1
  68. package/dist/style/cdr-pagination.css +1 -1
  69. package/dist/style/cdr-popover.css +1 -1
  70. package/dist/style/cdr-popup.css +1 -1
  71. package/dist/style/cdr-quote.css +1 -1
  72. package/dist/style/cdr-radio.css +1 -1
  73. package/dist/style/cdr-rating.css +1 -1
  74. package/dist/style/cdr-select.css +1 -1
  75. package/dist/style/cdr-skeleton-bone.css +1 -1
  76. package/dist/style/cdr-skeleton.css +1 -1
  77. package/dist/style/cdr-switch.css +1 -1
  78. package/dist/style/cdr-tab-panel.css +1 -1
  79. package/dist/style/cdr-table.css +1 -1
  80. package/dist/style/cdr-tabs.css +1 -1
  81. package/dist/style/cdr-text.css +1 -1
  82. package/dist/style/cdr-toast.css +1 -1
  83. package/dist/style/cdr-toggle-button.css +1 -1
  84. package/dist/style/cdr-toggle-group.css +1 -1
  85. package/dist/style/cdr-tooltip.css +1 -1
  86. package/dist/style.css +1 -1
  87. package/package.json +1 -1
@@ -163,6 +163,132 @@
163
163
  }
164
164
  ]
165
165
  },
166
+ "CdrBreadcrumb": {
167
+ "name": "CdrBreadcrumb",
168
+ "description": "Navigation used to reveal a page's location within the site hierarchy",
169
+ "tags": {},
170
+ "exportName": "default",
171
+ "displayName": "CdrBreadcrumb",
172
+ "props": [
173
+ {
174
+ "name": "items",
175
+ "description": "Sets the array of a breadcrumb object containing a 'url' and 'name' property.",
176
+ "tags": {
177
+ "demoIgnore": [
178
+ {
179
+ "description": "true",
180
+ "title": "demoIgnore"
181
+ }
182
+ ]
183
+ },
184
+ "type": {
185
+ "name": "breadcrumbItem[]"
186
+ },
187
+ "defaultValue": {
188
+ "func": true,
189
+ "value": "() => []"
190
+ }
191
+ },
192
+ {
193
+ "name": "truncationEnabled",
194
+ "description": "Controls the ability to truncate the entire breadcrumb path. If this value is false, truncation will no longer occur.",
195
+ "type": {
196
+ "name": "boolean"
197
+ },
198
+ "defaultValue": {
199
+ "func": false,
200
+ "value": true
201
+ }
202
+ },
203
+ {
204
+ "name": "id",
205
+ "description": "Define a custom ID for the `<nav>` element. Randomly generated if no ID provided.",
206
+ "tags": {
207
+ "demoIgnore": [
208
+ {
209
+ "description": "true",
210
+ "title": "demoIgnore"
211
+ }
212
+ ]
213
+ },
214
+ "type": {
215
+ "name": "string"
216
+ }
217
+ }
218
+ ],
219
+ "events": [
220
+ {
221
+ "name": "navigate",
222
+ "description": "Emits when a breadcrumb item is clicked. `e.preventDefault()` may be used to override the default link navigation.",
223
+ "properties": [
224
+ {
225
+ "type": {
226
+ "names": [
227
+ "mixed"
228
+ ]
229
+ },
230
+ "name": "breadcrumb",
231
+ "description": "The breadcrumb data object"
232
+ }
233
+ ],
234
+ "tags": [
235
+ {
236
+ "title": "param",
237
+ "type": {
238
+ "name": "mixed"
239
+ },
240
+ "name": "breadcrumb",
241
+ "description": "The breadcrumb data object"
242
+ }
243
+ ]
244
+ }
245
+ ],
246
+ "slots": [
247
+ {
248
+ "name": "link",
249
+ "scoped": true,
250
+ "bindings": [
251
+ {
252
+ "name": "class",
253
+ "title": "binding"
254
+ },
255
+ {
256
+ "name": "href",
257
+ "title": "binding"
258
+ },
259
+ {
260
+ "name": "content",
261
+ "title": "binding"
262
+ }
263
+ ]
264
+ }
265
+ ],
266
+ "sourceFiles": [
267
+ "./src/components/breadcrumb/CdrBreadcrumb.vue"
268
+ ],
269
+ "UIProperties": [
270
+ {
271
+ "name": "--cdr-breadcrumb-ellipses-icon-color",
272
+ "defaultValue": "--cdr-color-text-secondary",
273
+ "description": "Ellipses icon color"
274
+ },
275
+ {
276
+ "name": "--cdr-breadcrumb-ellipses-icon-highlight-color",
277
+ "defaultValue": "--cdr-color-text-link-hover",
278
+ "description": "Ellipses icon hover, active and focus color"
279
+ },
280
+ {
281
+ "name": "--cdr-breadcrumb-item-color",
282
+ "defaultValue": "--cdr-color-text-secondary",
283
+ "description": "Breadcrumb item color"
284
+ },
285
+ {
286
+ "name": "--cdr-breadcrumb-item-linked-highlight-color",
287
+ "defaultValue": "--cdr-color-text-link-hover",
288
+ "description": "Breadcrumb item linked hover, active and focus color"
289
+ }
290
+ ]
291
+ },
166
292
  "CdrAccordionGroup": {
167
293
  "name": "CdrAccordionGroup",
168
294
  "exportName": "default",
@@ -402,16 +528,16 @@
402
528
  }
403
529
  ]
404
530
  },
405
- "CdrBreadcrumb": {
406
- "name": "CdrBreadcrumb",
407
- "description": "Navigation used to reveal a page's location within the site hierarchy",
531
+ "CdrButton": {
532
+ "name": "CdrButton",
533
+ "description": "Initiates an action, such as completing a task or submitting information",
408
534
  "tags": {},
409
535
  "exportName": "default",
410
- "displayName": "CdrBreadcrumb",
536
+ "displayName": "CdrButton",
411
537
  "props": [
412
538
  {
413
- "name": "items",
414
- "description": "Sets the array of a breadcrumb object containing a 'url' and 'name' property.",
539
+ "name": "tag",
540
+ "description": "Renders CdrButton as a <button> or <a> element. When using the value of <a>, this element renders as an anchor link.",
415
541
  "tags": {
416
542
  "demoIgnore": [
417
543
  {
@@ -420,272 +546,92 @@
420
546
  }
421
547
  ]
422
548
  },
549
+ "values": [
550
+ "button",
551
+ "a"
552
+ ],
423
553
  "type": {
424
- "name": "breadcrumbItem[]"
554
+ "name": "string"
425
555
  },
426
556
  "defaultValue": {
427
- "func": true,
428
- "value": "() => []"
557
+ "func": false,
558
+ "value": "'button'"
429
559
  }
430
560
  },
431
561
  {
432
- "name": "truncationEnabled",
433
- "description": "Controls the ability to truncate the entire breadcrumb path. If this value is false, truncation will no longer occur.",
562
+ "name": "type",
563
+ "description": "Sets the button type",
564
+ "tags": {
565
+ "demoIgnore": [
566
+ {
567
+ "description": "true",
568
+ "title": "demoIgnore"
569
+ }
570
+ ]
571
+ },
572
+ "values": [
573
+ "button",
574
+ "submit",
575
+ "reset"
576
+ ],
434
577
  "type": {
435
- "name": "boolean"
578
+ "name": "string"
436
579
  },
437
580
  "defaultValue": {
438
581
  "func": false,
439
- "value": true
582
+ "value": "'button'"
440
583
  }
441
584
  },
442
585
  {
443
- "name": "id",
444
- "description": "Define a custom ID for the `<nav>` element. Randomly generated if no ID provided.",
586
+ "name": "modifier",
587
+ "description": "Modifies the style variant for this component",
445
588
  "tags": {
446
- "demoIgnore": [
589
+ "demoSelectMultiple": [
447
590
  {
448
- "description": "true",
449
- "title": "demoIgnore"
591
+ "description": "false",
592
+ "title": "demoSelectMultiple"
450
593
  }
451
594
  ]
452
595
  },
596
+ "values": [
597
+ "primary",
598
+ "secondary",
599
+ "sale",
600
+ "dark",
601
+ "link"
602
+ ],
453
603
  "type": {
454
604
  "name": "string"
605
+ },
606
+ "defaultValue": {
607
+ "func": false,
608
+ "value": "'primary'"
455
609
  }
456
- }
457
- ],
458
- "events": [
610
+ },
459
611
  {
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
- }
612
+ "name": "size",
613
+ "description": "Sets the button size; values can target responsive breakpoints. Example: `large@sm`.",
614
+ "tags": {
615
+ "demoSelectMultiple": [
616
+ {
617
+ "description": "false",
618
+ "title": "demoSelectMultiple"
619
+ }
620
+ ]
621
+ },
622
+ "values": [
623
+ "small",
624
+ "medium",
625
+ "large"
472
626
  ],
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
- },
627
+ "type": {
628
+ "name": "string"
629
+ },
630
+ "defaultValue": {
631
+ "func": false,
632
+ "value": "'medium'"
633
+ }
634
+ },
689
635
  {
690
636
  "name": "fullWidth",
691
637
  "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.",
@@ -1415,125 +1361,33 @@
1415
1361
  }
1416
1362
  ]
1417
1363
  },
1418
- "CdrCard": {
1419
- "name": "CdrCard",
1420
- "description": "Related, interactive containers linking to a single subject or destination",
1364
+ "CdrCheckbox": {
1365
+ "name": "CdrCheckbox",
1366
+ "description": "Allows selecting one or more items from a list",
1421
1367
  "tags": {},
1422
1368
  "exportName": "default",
1423
- "displayName": "CdrCard",
1369
+ "displayName": "CdrCheckbox",
1424
1370
  "props": [
1425
1371
  {
1426
- "name": "tag",
1427
- "description": "Sets valid HTML container element tag.",
1372
+ "name": "labelClass",
1373
+ "description": "Passes a CSS class to the label for custom styles",
1428
1374
  "type": {
1429
1375
  "name": "string"
1430
- },
1431
- "defaultValue": {
1432
- "func": false,
1433
- "value": "'article'"
1434
1376
  }
1435
- }
1436
- ],
1437
- "slots": [
1438
- {
1439
- "name": "default",
1440
- "description": "CdrCard content"
1441
- }
1442
- ],
1443
- "sourceFiles": [
1444
- "./src/components/card/CdrCard.vue"
1445
- ],
1446
- "UIProperties": [
1447
- {
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
1377
  },
1457
1378
  {
1458
- "name": "--cdr-card-link-color",
1459
- "defaultValue": "--cdr-color-text-primary",
1460
- "description": "Link text color of a cdr-card"
1379
+ "name": "inputClass",
1380
+ "description": "Passes a CSS class to the input for custom styles",
1381
+ "type": {
1382
+ "name": "string"
1383
+ }
1461
1384
  },
1462
1385
  {
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.",
1386
+ "name": "contentClass",
1387
+ "description": "Passes a CSS class to the slot wrapper for custom styles",
1479
1388
  "type": {
1480
1389
  "name": "string"
1481
- },
1482
- "required": true
1483
- },
1484
- {
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": [
1497
- {
1498
- "name": "label",
1499
- "description": "Override CdrChip label content with a custom element"
1500
- },
1501
- {
1502
- "name": "default",
1503
- "description": "CdrChipGroup content (CdrChip components)"
1504
- }
1505
- ],
1506
- "sourceFiles": [
1507
- "./src/components/chip/CdrChipGroup.vue"
1508
- ]
1509
- },
1510
- "CdrCheckbox": {
1511
- "name": "CdrCheckbox",
1512
- "description": "Allows selecting one or more items from a list",
1513
- "tags": {},
1514
- "exportName": "default",
1515
- "displayName": "CdrCheckbox",
1516
- "props": [
1517
- {
1518
- "name": "labelClass",
1519
- "description": "Passes a CSS class to the label for custom styles",
1520
- "type": {
1521
- "name": "string"
1522
- }
1523
- },
1524
- {
1525
- "name": "inputClass",
1526
- "description": "Passes a CSS class to the input for custom styles",
1527
- "type": {
1528
- "name": "string"
1529
- }
1530
- },
1531
- {
1532
- "name": "contentClass",
1533
- "description": "Passes a CSS class to the slot wrapper for custom styles",
1534
- "type": {
1535
- "name": "string"
1536
- }
1390
+ }
1537
1391
  },
1538
1392
  {
1539
1393
  "name": "indeterminate",
@@ -1765,38 +1619,54 @@
1765
1619
  }
1766
1620
  ]
1767
1621
  },
1768
- "CdrFormError": {
1769
- "name": "CdrFormError",
1770
- "exportName": "default",
1771
- "displayName": "CdrFormError",
1772
- "description": "",
1622
+ "CdrCard": {
1623
+ "name": "CdrCard",
1624
+ "description": "Related, interactive containers linking to a single subject or destination",
1773
1625
  "tags": {},
1626
+ "exportName": "default",
1627
+ "displayName": "CdrCard",
1774
1628
  "props": [
1775
1629
  {
1776
- "name": "error",
1630
+ "name": "tag",
1631
+ "description": "Sets valid HTML container element tag.",
1777
1632
  "type": {
1778
- "name": "boolean|string"
1633
+ "name": "string"
1634
+ },
1635
+ "defaultValue": {
1636
+ "func": false,
1637
+ "value": "'article'"
1779
1638
  }
1780
1639
  }
1781
1640
  ],
1782
1641
  "slots": [
1783
1642
  {
1784
- "name": "error"
1643
+ "name": "default",
1644
+ "description": "CdrCard content"
1785
1645
  }
1786
1646
  ],
1787
1647
  "sourceFiles": [
1788
- "./src/components/formError/CdrFormError.vue"
1648
+ "./src/components/card/CdrCard.vue"
1789
1649
  ],
1790
1650
  "UIProperties": [
1791
1651
  {
1792
- "name": "--cdr-form-error-text-color",
1793
- "defaultValue": "--cdr-color-text-input-error",
1794
- "description": "Text color of a cdr-form-error"
1652
+ "name": "--cdr-card-base-background-color",
1653
+ "defaultValue": "--cdr-color-background-primary",
1654
+ "description": "Background color of a cdr-card"
1795
1655
  },
1796
1656
  {
1797
- "name": "--cdr-form-error-fill-color",
1798
- "defaultValue": "--cdr-color-text-input-error",
1799
- "description": "Fill color of a cdr-form-error"
1657
+ "name": "--cdr-card-base-color",
1658
+ "defaultValue": "--cdr-color-text-primary",
1659
+ "description": "Text color of a cdr-card"
1660
+ },
1661
+ {
1662
+ "name": "--cdr-card-link-color",
1663
+ "defaultValue": "--cdr-color-text-primary",
1664
+ "description": "Link text color of a cdr-card"
1665
+ },
1666
+ {
1667
+ "name": "--cdr-card-link-hover-color",
1668
+ "defaultValue": "--cdr-color-text-link-hover",
1669
+ "description": "Link hover text color of a cdr-card"
1800
1670
  }
1801
1671
  ]
1802
1672
  },
@@ -1852,126 +1722,80 @@
1852
1722
  "./src/components/container/CdrContainer.vue"
1853
1723
  ]
1854
1724
  },
1855
- "CdrFormGroup": {
1856
- "name": "CdrFormGroup",
1857
- "description": "Groups related input elements together",
1858
- "tags": {},
1725
+ "CdrFormError": {
1726
+ "name": "CdrFormError",
1859
1727
  "exportName": "default",
1860
- "displayName": "CdrFormGroup",
1728
+ "displayName": "CdrFormError",
1729
+ "description": "",
1730
+ "tags": {},
1861
1731
  "props": [
1862
- {
1863
- "name": "id",
1864
- "description": "Custom ID that is mapped to the form error. If this value is not set, it will be randomly generated.",
1865
- "tags": {
1866
- "demoIgnore": [
1867
- {
1868
- "description": "true",
1869
- "title": "demoIgnore"
1870
- }
1871
- ]
1872
- },
1873
- "type": {
1874
- "name": "string"
1875
- }
1876
- },
1877
- {
1878
- "name": "label",
1879
- "description": "Sets the label/legend for the form group. Applies default text styles to this label.\nTo override that default text style or apply other customization, use the `label` slot.",
1880
- "tags": {
1881
- "demoIgnore": [
1882
- {
1883
- "description": "true",
1884
- "title": "demoIgnore"
1885
- }
1886
- ]
1887
- },
1888
- "type": {
1889
- "name": "string"
1890
- },
1891
- "defaultValue": {
1892
- "func": false,
1893
- "value": "''"
1894
- }
1895
- },
1896
1732
  {
1897
1733
  "name": "error",
1898
- "description": "Sets the form group to an error state, displays the `error` slot if one is present.",
1899
1734
  "type": {
1900
1735
  "name": "boolean|string"
1901
- },
1902
- "defaultValue": {
1903
- "func": false,
1904
- "value": false
1905
1736
  }
1906
- },
1737
+ }
1738
+ ],
1739
+ "slots": [
1907
1740
  {
1908
- "name": "required",
1909
- "description": "Adds required label to the form group.",
1910
- "type": {
1911
- "name": "boolean"
1912
- }
1741
+ "name": "error"
1742
+ }
1743
+ ],
1744
+ "sourceFiles": [
1745
+ "./src/components/formError/CdrFormError.vue"
1746
+ ],
1747
+ "UIProperties": [
1748
+ {
1749
+ "name": "--cdr-form-error-text-color",
1750
+ "defaultValue": "--cdr-color-text-input-error",
1751
+ "description": "Text color of a cdr-form-error"
1913
1752
  },
1914
1753
  {
1915
- "name": "optional",
1916
- "description": "Adds optional label to the form group.",
1754
+ "name": "--cdr-form-error-fill-color",
1755
+ "defaultValue": "--cdr-color-text-input-error",
1756
+ "description": "Fill color of a cdr-form-error"
1757
+ }
1758
+ ]
1759
+ },
1760
+ "CdrChipGroup": {
1761
+ "name": "CdrChipGroup",
1762
+ "exportName": "default",
1763
+ "displayName": "CdrChipGroup",
1764
+ "description": "",
1765
+ "tags": {},
1766
+ "props": [
1767
+ {
1768
+ "name": "label",
1769
+ "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.",
1917
1770
  "type": {
1918
- "name": "boolean"
1919
- }
1771
+ "name": "string"
1772
+ },
1773
+ "required": true
1920
1774
  },
1921
1775
  {
1922
- "name": "disabled",
1923
- "description": "Renders form group in a disabled state.",
1776
+ "name": "hideLabel",
1777
+ "description": "Visually hides the chip group label but makes it accessible to screen readers.",
1924
1778
  "type": {
1925
1779
  "name": "boolean"
1926
1780
  },
1927
1781
  "defaultValue": {
1928
1782
  "func": false,
1929
- "value": "undefined"
1783
+ "value": true
1930
1784
  }
1931
1785
  }
1932
1786
  ],
1933
1787
  "slots": [
1934
1788
  {
1935
1789
  "name": "label",
1936
- "description": "Overrides CdrFormGroup label/legend. Should be a text element"
1790
+ "description": "Override CdrChip label content with a custom element"
1937
1791
  },
1938
1792
  {
1939
1793
  "name": "default",
1940
- "description": "CdrFormGroup content (form elements)"
1941
- },
1942
- {
1943
- "name": "error"
1794
+ "description": "CdrChipGroup content (CdrChip components)"
1944
1795
  }
1945
1796
  ],
1946
1797
  "sourceFiles": [
1947
- "./src/components/formGroup/CdrFormGroup.vue"
1948
- ],
1949
- "UIProperties": [
1950
- {
1951
- "name": "--cdr-form-group-error-box-shadow",
1952
- "defaultValue": "--cdr-color-border-input-error",
1953
- "description": "Box-shadow color of a cdr-form-group error"
1954
- },
1955
- {
1956
- "name": "--cdr-form-group-error-background-color",
1957
- "defaultValue": "--cdr-color-background-input-error",
1958
- "description": "Background color of a cdr-form-group error"
1959
- },
1960
- {
1961
- "name": "--cdr-form-group-error-background-hover",
1962
- "defaultValue": "transparent",
1963
- "description": "Background color of a cdr-form-group error on hover"
1964
- },
1965
- {
1966
- "name": "--cdr-form-group-optional-text-color",
1967
- "defaultValue": "--cdr-color-text-input-optional",
1968
- "description": "Text color of an optional cdr-form-group"
1969
- },
1970
- {
1971
- "name": "--cdr-form-group-disabled-text-color",
1972
- "defaultValue": "--cdr-color-text-disabled",
1973
- "description": "Text color of a disabled cdr-form-group"
1974
- }
1798
+ "./src/components/chip/CdrChipGroup.vue"
1975
1799
  ]
1976
1800
  },
1977
1801
  "CdrGrid": {
@@ -2028,23 +1852,258 @@
2028
1852
  "./src/components/grid/CdrGrid.vue"
2029
1853
  ]
2030
1854
  },
2031
- "CdrImg": {
2032
- "name": "CdrImg",
2033
- "description": "Media for capturing attention and communicating messages",
1855
+ "CdrCaption": {
1856
+ "name": "CdrCaption",
1857
+ "description": "Provides context and credit for an asset such as an image, video, or chart",
2034
1858
  "tags": {},
2035
1859
  "exportName": "default",
2036
- "displayName": "CdrImg",
1860
+ "displayName": "CdrCaption",
2037
1861
  "props": [
2038
1862
  {
2039
- "name": "src",
2040
- "description": "Image source url.",
1863
+ "name": "summary",
1864
+ "description": "Sets the string content for the description body of the caption.",
1865
+ "tags": {
1866
+ "demoIgnore": [
1867
+ {
1868
+ "description": "true",
1869
+ "title": "demoIgnore"
1870
+ }
1871
+ ]
1872
+ },
2041
1873
  "type": {
2042
1874
  "name": "string"
2043
- },
2044
- "required": true
1875
+ }
2045
1876
  },
2046
1877
  {
2047
- "name": "alt",
1878
+ "name": "credit",
1879
+ "description": "Sets the string content for attribution.",
1880
+ "tags": {
1881
+ "demoIgnore": [
1882
+ {
1883
+ "description": "true",
1884
+ "title": "demoIgnore"
1885
+ }
1886
+ ]
1887
+ },
1888
+ "type": {
1889
+ "name": "string"
1890
+ }
1891
+ }
1892
+ ],
1893
+ "sourceFiles": [
1894
+ "./src/components/caption/CdrCaption.vue"
1895
+ ],
1896
+ "UIProperties": [
1897
+ {
1898
+ "name": "--cdr-caption-summary-color",
1899
+ "defaultValue": "--cdr-color-text-primary",
1900
+ "description": "Text color of a cdr-caption"
1901
+ },
1902
+ {
1903
+ "name": "--cdr-caption-cite-color",
1904
+ "defaultValue": "--cdr-color-text-secondary",
1905
+ "description": "Text color of a cdr-caption"
1906
+ }
1907
+ ]
1908
+ },
1909
+ "CdrIcon": {
1910
+ "name": "CdrIcon",
1911
+ "description": "Communicates meaning through graphics representing simple and complex ideas",
1912
+ "tags": {
1913
+ "demoComponentNames": [
1914
+ {
1915
+ "description": "icon-account-profile, icon-camera",
1916
+ "title": "demoComponentNames"
1917
+ }
1918
+ ]
1919
+ },
1920
+ "exportName": "default",
1921
+ "displayName": "CdrIcon",
1922
+ "props": [
1923
+ {
1924
+ "name": "use",
1925
+ "description": "Only on CdrIcon. Sets the href attribute for use with SVG symbol sprite (see @rei/cedar-icons).",
1926
+ "type": {
1927
+ "name": "string"
1928
+ }
1929
+ },
1930
+ {
1931
+ "name": "inheritColor",
1932
+ "description": "Sets icon fill to \"inherit\" so as to use parent/ancestor fill color.",
1933
+ "type": {
1934
+ "name": "boolean"
1935
+ },
1936
+ "defaultValue": {
1937
+ "func": false,
1938
+ "value": false
1939
+ }
1940
+ },
1941
+ {
1942
+ "name": "size",
1943
+ "type": {
1944
+ "name": "string"
1945
+ },
1946
+ "defaultValue": {
1947
+ "func": false,
1948
+ "value": "'medium'"
1949
+ }
1950
+ }
1951
+ ],
1952
+ "slots": [
1953
+ {
1954
+ "name": "default"
1955
+ }
1956
+ ],
1957
+ "sourceFiles": [
1958
+ "./src/components/icon/CdrIcon.vue"
1959
+ ],
1960
+ "UIProperties": [
1961
+ {
1962
+ "name": "--cdr-icon-fill-default",
1963
+ "defaultValue": "--cdr-color-icon-default",
1964
+ "description": "Fill color of an icon"
1965
+ }
1966
+ ]
1967
+ },
1968
+ "CdrFormGroup": {
1969
+ "name": "CdrFormGroup",
1970
+ "description": "Groups related input elements together",
1971
+ "tags": {},
1972
+ "exportName": "default",
1973
+ "displayName": "CdrFormGroup",
1974
+ "props": [
1975
+ {
1976
+ "name": "id",
1977
+ "description": "Custom ID that is mapped to the form error. If this value is not set, it will be randomly generated.",
1978
+ "tags": {
1979
+ "demoIgnore": [
1980
+ {
1981
+ "description": "true",
1982
+ "title": "demoIgnore"
1983
+ }
1984
+ ]
1985
+ },
1986
+ "type": {
1987
+ "name": "string"
1988
+ }
1989
+ },
1990
+ {
1991
+ "name": "label",
1992
+ "description": "Sets the label/legend for the form group. Applies default text styles to this label.\nTo override that default text style or apply other customization, use the `label` slot.",
1993
+ "tags": {
1994
+ "demoIgnore": [
1995
+ {
1996
+ "description": "true",
1997
+ "title": "demoIgnore"
1998
+ }
1999
+ ]
2000
+ },
2001
+ "type": {
2002
+ "name": "string"
2003
+ },
2004
+ "defaultValue": {
2005
+ "func": false,
2006
+ "value": "''"
2007
+ }
2008
+ },
2009
+ {
2010
+ "name": "error",
2011
+ "description": "Sets the form group to an error state, displays the `error` slot if one is present.",
2012
+ "type": {
2013
+ "name": "boolean|string"
2014
+ },
2015
+ "defaultValue": {
2016
+ "func": false,
2017
+ "value": false
2018
+ }
2019
+ },
2020
+ {
2021
+ "name": "required",
2022
+ "description": "Adds required label to the form group.",
2023
+ "type": {
2024
+ "name": "boolean"
2025
+ }
2026
+ },
2027
+ {
2028
+ "name": "optional",
2029
+ "description": "Adds optional label to the form group.",
2030
+ "type": {
2031
+ "name": "boolean"
2032
+ }
2033
+ },
2034
+ {
2035
+ "name": "disabled",
2036
+ "description": "Renders form group in a disabled state.",
2037
+ "type": {
2038
+ "name": "boolean"
2039
+ },
2040
+ "defaultValue": {
2041
+ "func": false,
2042
+ "value": "undefined"
2043
+ }
2044
+ }
2045
+ ],
2046
+ "slots": [
2047
+ {
2048
+ "name": "label",
2049
+ "description": "Overrides CdrFormGroup label/legend. Should be a text element"
2050
+ },
2051
+ {
2052
+ "name": "default",
2053
+ "description": "CdrFormGroup content (form elements)"
2054
+ },
2055
+ {
2056
+ "name": "error"
2057
+ }
2058
+ ],
2059
+ "sourceFiles": [
2060
+ "./src/components/formGroup/CdrFormGroup.vue"
2061
+ ],
2062
+ "UIProperties": [
2063
+ {
2064
+ "name": "--cdr-form-group-error-box-shadow",
2065
+ "defaultValue": "--cdr-color-border-input-error",
2066
+ "description": "Box-shadow color of a cdr-form-group error"
2067
+ },
2068
+ {
2069
+ "name": "--cdr-form-group-error-background-color",
2070
+ "defaultValue": "--cdr-color-background-input-error",
2071
+ "description": "Background color of a cdr-form-group error"
2072
+ },
2073
+ {
2074
+ "name": "--cdr-form-group-error-background-hover",
2075
+ "defaultValue": "transparent",
2076
+ "description": "Background color of a cdr-form-group error on hover"
2077
+ },
2078
+ {
2079
+ "name": "--cdr-form-group-optional-text-color",
2080
+ "defaultValue": "--cdr-color-text-input-optional",
2081
+ "description": "Text color of an optional cdr-form-group"
2082
+ },
2083
+ {
2084
+ "name": "--cdr-form-group-disabled-text-color",
2085
+ "defaultValue": "--cdr-color-text-disabled",
2086
+ "description": "Text color of a disabled cdr-form-group"
2087
+ }
2088
+ ]
2089
+ },
2090
+ "CdrImg": {
2091
+ "name": "CdrImg",
2092
+ "description": "Media for capturing attention and communicating messages",
2093
+ "tags": {},
2094
+ "exportName": "default",
2095
+ "displayName": "CdrImg",
2096
+ "props": [
2097
+ {
2098
+ "name": "src",
2099
+ "description": "Image source url.",
2100
+ "type": {
2101
+ "name": "string"
2102
+ },
2103
+ "required": true
2104
+ },
2105
+ {
2106
+ "name": "alt",
2048
2107
  "description": "Image alt text. Defaults to an empty string",
2049
2108
  "type": {
2050
2109
  "name": "string"
@@ -2168,193 +2227,346 @@
2168
2227
  "./src/components/image/CdrImg.vue"
2169
2228
  ]
2170
2229
  },
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
- },
2230
+ "CdrInput": {
2231
+ "name": "CdrInput",
2232
+ "description": "Allows for data entry, editing, and search",
2233
+ "tags": {},
2182
2234
  "exportName": "default",
2183
- "displayName": "CdrIcon",
2235
+ "displayName": "CdrInput",
2184
2236
  "props": [
2185
2237
  {
2186
- "name": "use",
2187
- "description": "Only on CdrIcon. Sets the href attribute for use with SVG symbol sprite (see @rei/cedar-icons).",
2238
+ "name": "id",
2239
+ "description": "Custom ID that is mapped to the label ‘for’ attribute. If this value is not set, it will be randomly generated.",
2188
2240
  "type": {
2189
2241
  "name": "string"
2190
2242
  }
2191
2243
  },
2192
2244
  {
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": {
2245
+ "name": "type",
2246
+ "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.",
2247
+ "tags": {
2248
+ "demoSelectMultiple": [
2249
+ {
2250
+ "description": "false",
2251
+ "title": "demoSelectMultiple"
2252
+ }
2253
+ ]
2254
+ },
2255
+ "values": [
2256
+ "text",
2257
+ "email",
2258
+ "number",
2259
+ "password",
2260
+ "search",
2261
+ "url",
2262
+ "tel",
2263
+ "date"
2264
+ ],
2265
+ "type": {
2266
+ "name": "string"
2267
+ },
2268
+ "defaultValue": {
2199
2269
  "func": false,
2200
- "value": false
2270
+ "value": "'text'"
2201
2271
  }
2202
2272
  },
2203
2273
  {
2204
- "name": "size",
2274
+ "name": "label",
2275
+ "description": "Sets the text value for the input label. Required for a11y compliance. Use ‘hideLabel’ if the label display is not desired. Required.",
2205
2276
  "type": {
2206
2277
  "name": "string"
2207
2278
  },
2279
+ "required": true
2280
+ },
2281
+ {
2282
+ "name": "numeric",
2283
+ "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",
2284
+ "type": {
2285
+ "name": "boolean"
2286
+ },
2208
2287
  "defaultValue": {
2209
2288
  "func": false,
2210
- "value": "'medium'"
2289
+ "value": false
2211
2290
  }
2212
- }
2213
- ],
2214
- "slots": [
2291
+ },
2215
2292
  {
2216
- "name": "default"
2217
- }
2218
- ],
2219
- "sourceFiles": [
2220
- "./src/components/icon/CdrIcon.vue"
2221
- ],
2222
- "UIProperties": [
2293
+ "name": "hideLabel",
2294
+ "description": "Removes the label element but sets the input `aria-label` to `label` text for a11y.",
2295
+ "type": {
2296
+ "name": "boolean"
2297
+ }
2298
+ },
2223
2299
  {
2224
- "name": "--cdr-icon-fill-default",
2225
- "defaultValue": "--cdr-color-icon-default",
2226
- "description": "Fill color of an icon"
2227
- }
2228
- ]
2229
- },
2230
- "CdrLabelWrapper": {
2231
- "name": "CdrLabelWrapper",
2232
- "exportName": "default",
2233
- "displayName": "CdrLabelWrapper",
2234
- "description": "",
2235
- "tags": {},
2236
- "props": [
2300
+ "name": "rows",
2301
+ "description": "Number of rows for input. Converts component to text-area if rows greater than 1.",
2302
+ "type": {
2303
+ "name": "number"
2304
+ },
2305
+ "defaultValue": {
2306
+ "func": false,
2307
+ "value": "1"
2308
+ }
2309
+ },
2237
2310
  {
2238
- "name": "labelClass",
2311
+ "name": "background",
2312
+ "description": "Sets the background color the input is rendered on",
2313
+ "tags": {},
2314
+ "values": [
2315
+ "primary",
2316
+ "secondary"
2317
+ ],
2239
2318
  "type": {
2240
- "name": "string"
2319
+ "name": "backgroundProps"
2241
2320
  }
2242
2321
  },
2243
2322
  {
2244
- "name": "contentClass",
2323
+ "name": "size",
2324
+ "description": "Sets the input field size",
2325
+ "tags": {
2326
+ "demoSelectMultiple": [
2327
+ {
2328
+ "description": "false",
2329
+ "title": "demoSelectMultiple"
2330
+ }
2331
+ ]
2332
+ },
2333
+ "values": [
2334
+ "medium",
2335
+ "large"
2336
+ ],
2337
+ "type": {
2338
+ "name": "sizeProps"
2339
+ }
2340
+ },
2341
+ {
2342
+ "name": "errorRole",
2343
+ "description": "Sets the `role` attribute for the embedded error state messaging.",
2245
2344
  "type": {
2246
2345
  "name": "string"
2346
+ },
2347
+ "required": false,
2348
+ "defaultValue": {
2349
+ "func": false,
2350
+ "value": "'status'"
2247
2351
  }
2248
2352
  },
2249
2353
  {
2250
- "name": "background",
2354
+ "name": "error",
2355
+ "description": "Sets the input to an error state, displays the `error` slot if one is present.",
2251
2356
  "type": {
2252
- "name": "backgroundProps"
2357
+ "name": "boolean|string"
2358
+ },
2359
+ "defaultValue": {
2360
+ "func": false,
2361
+ "value": false
2253
2362
  }
2254
2363
  },
2255
2364
  {
2256
2365
  "name": "disabled",
2366
+ "description": "Sets the disabled state for the input field and label styling. Also, restricts user input.",
2257
2367
  "type": {
2258
2368
  "name": "boolean"
2259
2369
  }
2260
2370
  },
2261
2371
  {
2262
- "name": "modifier",
2372
+ "name": "required",
2373
+ "description": "Sets aria-required on the input field and displays an asterisk next to the input label.",
2263
2374
  "type": {
2264
- "name": "string"
2375
+ "name": "boolean"
2265
2376
  }
2266
2377
  },
2267
2378
  {
2268
- "name": "size",
2379
+ "name": "optional",
2380
+ "description": "Displays '(optional)' text next to the input label.",
2381
+ "type": {
2382
+ "name": "boolean"
2383
+ }
2384
+ },
2385
+ {
2386
+ "name": "modelValue",
2387
+ "tags": {
2388
+ "ignore": [
2389
+ {
2390
+ "description": true,
2391
+ "title": "ignore"
2392
+ }
2393
+ ]
2394
+ },
2395
+ "type": {
2396
+ "name": "string|number"
2397
+ }
2398
+ },
2399
+ {
2400
+ "name": "labelClass",
2401
+ "description": "Adds a custom class to the cdr-label-standalone wrapping div",
2269
2402
  "type": {
2270
2403
  "name": "string"
2271
2404
  }
2272
2405
  }
2273
2406
  ],
2407
+ "events": [
2408
+ {
2409
+ "name": "update:modelValue",
2410
+ "description": "Event emitted by v-model on the <input> element",
2411
+ "properties": [
2412
+ {
2413
+ "type": {
2414
+ "names": [
2415
+ "mixed"
2416
+ ]
2417
+ },
2418
+ "name": "modelValue"
2419
+ }
2420
+ ],
2421
+ "tags": [
2422
+ {
2423
+ "title": "param",
2424
+ "type": {
2425
+ "name": "mixed"
2426
+ },
2427
+ "name": "modelValue"
2428
+ }
2429
+ ]
2430
+ }
2431
+ ],
2274
2432
  "slots": [
2275
2433
  {
2276
- "name": "input"
2434
+ "name": "helper-text-top",
2435
+ "description": "Helper text above the input field"
2277
2436
  },
2278
2437
  {
2279
- "name": "svgs"
2438
+ "name": "info",
2439
+ "description": "Link or icon to the right above the input field."
2280
2440
  },
2281
2441
  {
2282
- "name": "default"
2442
+ "name": "pre-icon",
2443
+ "description": "Icon preceding text within the input field"
2444
+ },
2445
+ {
2446
+ "name": "post-icon",
2447
+ "description": "Icon after text within the input field"
2448
+ },
2449
+ {
2450
+ "name": "info-action",
2451
+ "description": "Action-wrapped icon within the input field (precedes post-icon)"
2452
+ },
2453
+ {
2454
+ "name": "helper-text-bottom",
2455
+ "description": "Helper text below the input field"
2456
+ },
2457
+ {
2458
+ "name": "error",
2459
+ "description": "Error messaging text that is displayed when the `error` prop is true."
2283
2460
  }
2284
2461
  ],
2285
2462
  "sourceFiles": [
2286
- "./src/components/labelWrapper/CdrLabelWrapper.vue"
2463
+ "./src/components/input/CdrInput.vue"
2287
2464
  ],
2288
2465
  "UIProperties": [
2289
2466
  {
2290
- "name": "--cdr-label-wrapper-text-color",
2291
- "defaultValue": "--cdr-color-text-input-label",
2292
- "description": "Text color of a label wrapper"
2467
+ "name": "--cdr-input-label-background-color",
2468
+ "defaultValue": "--cdr-color-border-input-default",
2469
+ "description": "Background color of the cdr-button label"
2293
2470
  },
2294
2471
  {
2295
- "name": "--cdr-label-wrapper-background-color",
2296
- "defaultValue": "--cdr-color-background-input-default",
2297
- "description": "Background color of a label wrapper"
2472
+ "name": "--cdr-input-label-background-interaction",
2473
+ "defaultValue": "--cdr-color-background-input-default-active",
2474
+ "description": "Background color of the cdr-input label in hover, active, focus, and focus-within states"
2298
2475
  },
2299
2476
  {
2300
- "name": "--cdr-label-wrapper-primary-background-color-hover",
2301
- "defaultValue": "--cdr-color-background-label-default-hover",
2302
- "description": "Background color of a primary label wrapper when hovered"
2477
+ "name": "--cdr-input-label-box-shadow-interaction",
2478
+ "defaultValue": "--cdr-color-border-input-default-focus",
2479
+ "description": "Box-shadow color of the cdr-input label in hover, active, focus, and focus-within states"
2303
2480
  },
2304
2481
  {
2305
- "name": "--cdr-label-wrapper-primary-background-color-focus",
2306
- "defaultValue": "--cdr-color-background-label-default-focus",
2307
- "description": "Background color of a primary label wrapper when it has focus within"
2482
+ "name": "--cdr-input-label-fill-interaction",
2483
+ "defaultValue": "--cdr-color-text-primary",
2484
+ "description": "Fill color of the cdr-input label in hover, active, focus, and focus-within states"
2308
2485
  },
2309
2486
  {
2310
- "name": "--cdr-label-wrapper-primary-focus-box-shadow-color",
2311
- "defaultValue": "--cdr-color-border-label-default-focus",
2312
- "description": "Box shadow color of a primary label wrapper when it has focus within"
2487
+ "name": "--cdr-input-svg-fill-focus",
2488
+ "defaultValue": "--cdr-color-text-primary",
2489
+ "description": "Fill color of the cdr-input SVG when the parent is focused"
2313
2490
  },
2314
2491
  {
2315
- "name": "--cdr-label-wrapper-primary-background-color-active",
2316
- "defaultValue": "--cdr-color-background-label-default-active",
2317
- "description": "Background color of a primary label wrapper when active"
2492
+ "name": "--cdr-input-wrap-fill",
2493
+ "defaultValue": "--cdr-color-icon-default",
2494
+ "description": "Fill color of the cdr-input wrapper"
2318
2495
  },
2319
2496
  {
2320
- "name": "--cdr-label-wrapper-secondary-background-color",
2321
- "defaultValue": "--cdr-color-background-input-default",
2322
- "description": "Background color of a secondary label wrapper"
2497
+ "name": "--cdr-input-text-color-default",
2498
+ "defaultValue": "--cdr-color-text-input-default",
2499
+ "description": "Text color of a cdr-input by default"
2323
2500
  },
2324
2501
  {
2325
- "name": "--cdr-label-wrapper-secondary-background-color-hover",
2326
- "defaultValue": "--cdr-color-background-label-secondary-hover",
2327
- "description": "Background color of a secondary label wrapper when hovered"
2502
+ "name": "--cdr-input-background-color-default",
2503
+ "defaultValue": "--cdr-color-background-input-default",
2504
+ "description": "Background color of a cdr-input by default"
2328
2505
  },
2329
2506
  {
2330
- "name": "--cdr-label-wrapper-secondary-background-color-focus",
2331
- "defaultValue": "--cdr-color-background-label-secondary-focus",
2332
- "description": "Background color of a secondary label wrapper when it has focus within"
2507
+ "name": "--cdr-input-box-shadow-default",
2508
+ "defaultValue": "--cdr-color-border-input-default",
2509
+ "description": "Box-shadow color of a cdr-input by default"
2333
2510
  },
2334
2511
  {
2335
- "name": "--cdr-label-wrapper-secondary-background-color-active",
2336
- "defaultValue": "--cdr-color-background-label-secondary-active",
2337
- "description": "Background color of a secondary label wrapper when active"
2512
+ "name": "--cdr-input-icon-fill",
2513
+ "defaultValue": "--cdr-color-icon-default",
2514
+ "description": "Fill color of an icon in a cdr-input"
2338
2515
  },
2339
2516
  {
2340
- "name": "--cdr-label-wrapper-text-color-disabled",
2517
+ "name": "--cdr-input-box-shadow-focus",
2518
+ "defaultValue": "--cdr-color-border-input-default-focus",
2519
+ "description": "Box shadow of a focused or active cdr-input"
2520
+ },
2521
+ {
2522
+ "name": "--cdr-input-background-color-disabled",
2523
+ "defaultValue": "--cdr-color-background-input-default-disabled",
2524
+ "description": "Background color of a disabled cdr-input"
2525
+ },
2526
+ {
2527
+ "name": "--cdr-input-text-color-disabled",
2341
2528
  "defaultValue": "--cdr-color-text-input-disabled",
2342
- "description": "Text color of a disabled label wrapper"
2529
+ "description": "Text color of a disabled cdr-input"
2343
2530
  },
2344
2531
  {
2345
- "name": "--cdr-label-wrapper-background-color-disabled",
2346
- "defaultValue": "--cdr-color-background-input-default",
2347
- "description": "Background color of a disabled label wrapper"
2532
+ "name": "--cdr-input-box-shadow-disabled",
2533
+ "defaultValue": "--cdr-color-border-input-default-disabled",
2534
+ "description": "Box-shadow color of a disabled cdr-input"
2348
2535
  },
2349
2536
  {
2350
- "name": "--cdr-form-figure-background-color",
2537
+ "name": "--cdr-input-background-color-default",
2351
2538
  "defaultValue": "--cdr-color-background-input-default",
2352
- "description": "Background color of a form figure"
2539
+ "description": "Background color of a default cdr-input"
2353
2540
  },
2354
2541
  {
2355
- "name": "--cdr-form-figure-box-shadow-color",
2356
- "defaultValue": "--cdr-color-border-input-default",
2357
- "description": "Box shadow color of a form figure"
2542
+ "name": "--cdr-input-background-color-default-focus",
2543
+ "defaultValue": "--cdr-color-background-input-default-active",
2544
+ "description": "Background color of a default cdr-input in active or focus state"
2545
+ },
2546
+ {
2547
+ "name": "--cdr-input-background-color-secondary",
2548
+ "defaultValue": "--cdr-color-background-input-secondary",
2549
+ "description": "Background color of a secondary cdr-input"
2550
+ },
2551
+ {
2552
+ "name": "--cdr-input-background-color-secondary-active",
2553
+ "defaultValue": "--cdr-color-background-input-secondary-active",
2554
+ "description": "Background color of a secondary cdr-input in active or focus state"
2555
+ },
2556
+ {
2557
+ "name": "--cdr-input-error-background-color",
2558
+ "defaultValue": "--cdr-color-background-input-error",
2559
+ "description": "Background color of a cdr-input in error state"
2560
+ },
2561
+ {
2562
+ "name": "--cdr-input-error-box-shadow",
2563
+ "defaultValue": "--cdr-color-border-input-error",
2564
+ "description": "Box-shadow color of a cdr-input in error state"
2565
+ },
2566
+ {
2567
+ "name": "--cdr-input-helper-text-color",
2568
+ "defaultValue": "--cdr-color-text-input-help",
2569
+ "description": "Text color of a cdr-input's helper text"
2358
2570
  }
2359
2571
  ]
2360
2572
  },
@@ -2449,592 +2661,227 @@
2449
2661
  }
2450
2662
  ]
2451
2663
  },
2452
- "CdrInput": {
2453
- "name": "CdrInput",
2454
- "description": "Allows for data entry, editing, and search",
2455
- "tags": {},
2664
+ "CdrLabelWrapper": {
2665
+ "name": "CdrLabelWrapper",
2456
2666
  "exportName": "default",
2457
- "displayName": "CdrInput",
2667
+ "displayName": "CdrLabelWrapper",
2668
+ "description": "",
2669
+ "tags": {},
2458
2670
  "props": [
2459
2671
  {
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.",
2672
+ "name": "labelClass",
2462
2673
  "type": {
2463
2674
  "name": "string"
2464
2675
  }
2465
2676
  },
2466
2677
  {
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
- ],
2678
+ "name": "contentClass",
2487
2679
  "type": {
2488
2680
  "name": "string"
2489
- },
2490
- "defaultValue": {
2491
- "func": false,
2492
- "value": "'text'"
2493
2681
  }
2494
2682
  },
2495
2683
  {
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.",
2684
+ "name": "background",
2498
2685
  "type": {
2499
- "name": "string"
2500
- },
2501
- "required": true
2686
+ "name": "backgroundProps"
2687
+ }
2502
2688
  },
2503
2689
  {
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",
2690
+ "name": "disabled",
2506
2691
  "type": {
2507
2692
  "name": "boolean"
2508
- },
2509
- "defaultValue": {
2510
- "func": false,
2511
- "value": false
2512
2693
  }
2513
2694
  },
2514
2695
  {
2515
- "name": "hideLabel",
2516
- "description": "Removes the label element but sets the input `aria-label` to `label` text for a11y.",
2696
+ "name": "modifier",
2517
2697
  "type": {
2518
- "name": "boolean"
2698
+ "name": "string"
2519
2699
  }
2520
2700
  },
2521
2701
  {
2522
- "name": "rows",
2523
- "description": "Number of rows for input. Converts component to text-area if rows greater than 1.",
2702
+ "name": "size",
2524
2703
  "type": {
2525
- "name": "number"
2526
- },
2527
- "defaultValue": {
2528
- "func": false,
2529
- "value": "1"
2704
+ "name": "string"
2530
2705
  }
2706
+ }
2707
+ ],
2708
+ "slots": [
2709
+ {
2710
+ "name": "input"
2531
2711
  },
2532
2712
  {
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
- }
2713
+ "name": "svgs"
2543
2714
  },
2544
2715
  {
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
- }
2716
+ "name": "default"
2717
+ }
2718
+ ],
2719
+ "sourceFiles": [
2720
+ "./src/components/labelWrapper/CdrLabelWrapper.vue"
2721
+ ],
2722
+ "UIProperties": [
2723
+ {
2724
+ "name": "--cdr-label-wrapper-text-color",
2725
+ "defaultValue": "--cdr-color-text-input-label",
2726
+ "description": "Text color of a label wrapper"
2562
2727
  },
2563
2728
  {
2564
- "name": "errorRole",
2565
- "description": "Sets the `role` attribute for the embedded error state messaging.",
2566
- "type": {
2567
- "name": "string"
2568
- },
2569
- "required": false,
2570
- "defaultValue": {
2571
- "func": false,
2572
- "value": "'status'"
2573
- }
2729
+ "name": "--cdr-label-wrapper-background-color",
2730
+ "defaultValue": "--cdr-color-background-input-default",
2731
+ "description": "Background color of a label wrapper"
2574
2732
  },
2575
2733
  {
2576
- "name": "error",
2577
- "description": "Sets the input to an error state, displays the `error` slot if one is present.",
2578
- "type": {
2579
- "name": "boolean|string"
2580
- },
2581
- "defaultValue": {
2582
- "func": false,
2583
- "value": false
2584
- }
2734
+ "name": "--cdr-label-wrapper-primary-background-color-hover",
2735
+ "defaultValue": "--cdr-color-background-label-default-hover",
2736
+ "description": "Background color of a primary label wrapper when hovered"
2585
2737
  },
2586
2738
  {
2587
- "name": "disabled",
2588
- "description": "Sets the disabled state for the input field and label styling. Also, restricts user input.",
2589
- "type": {
2590
- "name": "boolean"
2591
- }
2739
+ "name": "--cdr-label-wrapper-primary-background-color-focus",
2740
+ "defaultValue": "--cdr-color-background-label-default-focus",
2741
+ "description": "Background color of a primary label wrapper when it has focus within"
2592
2742
  },
2593
2743
  {
2594
- "name": "required",
2595
- "description": "Sets aria-required on the input field and displays an asterisk next to the input label.",
2596
- "type": {
2597
- "name": "boolean"
2598
- }
2744
+ "name": "--cdr-label-wrapper-primary-focus-box-shadow-color",
2745
+ "defaultValue": "--cdr-color-border-label-default-focus",
2746
+ "description": "Box shadow color of a primary label wrapper when it has focus within"
2599
2747
  },
2600
2748
  {
2601
- "name": "optional",
2602
- "description": "Displays '(optional)' text next to the input label.",
2603
- "type": {
2604
- "name": "boolean"
2605
- }
2749
+ "name": "--cdr-label-wrapper-primary-background-color-active",
2750
+ "defaultValue": "--cdr-color-background-label-default-active",
2751
+ "description": "Background color of a primary label wrapper when active"
2606
2752
  },
2607
2753
  {
2608
- "name": "modelValue",
2609
- "tags": {
2610
- "ignore": [
2611
- {
2612
- "description": true,
2613
- "title": "ignore"
2614
- }
2615
- ]
2616
- },
2617
- "type": {
2618
- "name": "string|number"
2619
- }
2754
+ "name": "--cdr-label-wrapper-secondary-background-color",
2755
+ "defaultValue": "--cdr-color-background-input-default",
2756
+ "description": "Background color of a secondary label wrapper"
2620
2757
  },
2621
2758
  {
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": [
2759
+ "name": "--cdr-label-wrapper-secondary-background-color-hover",
2760
+ "defaultValue": "--cdr-color-background-label-secondary-hover",
2761
+ "description": "Background color of a secondary label wrapper when hovered"
2762
+ },
2630
2763
  {
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
- ]
2652
- }
2653
- ],
2654
- "slots": [
2655
- {
2656
- "name": "helper-text-top",
2657
- "description": "Helper text above the input field"
2658
- },
2659
- {
2660
- "name": "info",
2661
- "description": "Link or icon to the right above the input field."
2662
- },
2663
- {
2664
- "name": "pre-icon",
2665
- "description": "Icon preceding text within the input field"
2666
- },
2667
- {
2668
- "name": "post-icon",
2669
- "description": "Icon after text within the input field"
2670
- },
2671
- {
2672
- "name": "info-action",
2673
- "description": "Action-wrapped icon within the input field (precedes post-icon)"
2674
- },
2675
- {
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."
2682
- }
2683
- ],
2684
- "sourceFiles": [
2685
- "./src/components/input/CdrInput.vue"
2686
- ],
2687
- "UIProperties": [
2688
- {
2689
- "name": "--cdr-input-label-background-color",
2690
- "defaultValue": "--cdr-color-border-input-default",
2691
- "description": "Background color of the cdr-button label"
2692
- },
2693
- {
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"
2697
- },
2698
- {
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"
2702
- },
2703
- {
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"
2707
- },
2708
- {
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
- },
2713
- {
2714
- "name": "--cdr-input-wrap-fill",
2715
- "defaultValue": "--cdr-color-icon-default",
2716
- "description": "Fill color of the cdr-input wrapper"
2717
- },
2718
- {
2719
- "name": "--cdr-input-text-color-default",
2720
- "defaultValue": "--cdr-color-text-input-default",
2721
- "description": "Text color of a cdr-input by default"
2722
- },
2723
- {
2724
- "name": "--cdr-input-background-color-default",
2725
- "defaultValue": "--cdr-color-background-input-default",
2726
- "description": "Background color of a cdr-input by default"
2727
- },
2728
- {
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
- },
2733
- {
2734
- "name": "--cdr-input-icon-fill",
2735
- "defaultValue": "--cdr-color-icon-default",
2736
- "description": "Fill color of an icon in a cdr-input"
2737
- },
2738
- {
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"
2764
+ "name": "--cdr-label-wrapper-secondary-background-color-focus",
2765
+ "defaultValue": "--cdr-color-background-label-secondary-focus",
2766
+ "description": "Background color of a secondary label wrapper when it has focus within"
2742
2767
  },
2743
2768
  {
2744
- "name": "--cdr-input-background-color-disabled",
2745
- "defaultValue": "--cdr-color-background-input-default-disabled",
2746
- "description": "Background color of a disabled cdr-input"
2769
+ "name": "--cdr-label-wrapper-secondary-background-color-active",
2770
+ "defaultValue": "--cdr-color-background-label-secondary-active",
2771
+ "description": "Background color of a secondary label wrapper when active"
2747
2772
  },
2748
2773
  {
2749
- "name": "--cdr-input-text-color-disabled",
2774
+ "name": "--cdr-label-wrapper-text-color-disabled",
2750
2775
  "defaultValue": "--cdr-color-text-input-disabled",
2751
- "description": "Text color of a disabled cdr-input"
2752
- },
2753
- {
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"
2776
+ "description": "Text color of a disabled label wrapper"
2757
2777
  },
2758
2778
  {
2759
- "name": "--cdr-input-background-color-default",
2779
+ "name": "--cdr-label-wrapper-background-color-disabled",
2760
2780
  "defaultValue": "--cdr-color-background-input-default",
2761
- "description": "Background color of a default cdr-input"
2762
- },
2763
- {
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
- },
2768
- {
2769
- "name": "--cdr-input-background-color-secondary",
2770
- "defaultValue": "--cdr-color-background-input-secondary",
2771
- "description": "Background color of a secondary cdr-input"
2772
- },
2773
- {
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"
2777
- },
2778
- {
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"
2781
+ "description": "Background color of a disabled label wrapper"
2782
2782
  },
2783
2783
  {
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"
2784
+ "name": "--cdr-form-figure-background-color",
2785
+ "defaultValue": "--cdr-color-background-input-default",
2786
+ "description": "Background color of a form figure"
2787
2787
  },
2788
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"
2789
+ "name": "--cdr-form-figure-box-shadow-color",
2790
+ "defaultValue": "--cdr-color-border-input-default",
2791
+ "description": "Box shadow color of a form figure"
2792
2792
  }
2793
2793
  ]
2794
2794
  },
2795
- "CdrPagination": {
2796
- "name": "CdrPagination",
2797
- "description": "Allows people to navigate to the next or previous page within an experience",
2795
+ "CdrLink": {
2796
+ "name": "CdrLink",
2797
+ "description": "Clickable text elements used for navigating to other pages or sections",
2798
2798
  "tags": {},
2799
2799
  "exportName": "default",
2800
- "displayName": "CdrPagination",
2800
+ "displayName": "CdrLink",
2801
2801
  "props": [
2802
2802
  {
2803
- "name": "id",
2804
- "description": "Define a custom slug for the generated pagination item IDs. Slug is randomly generated if no ID provided.",
2805
- "tags": {
2806
- "demoIgnore": [
2807
- {
2808
- "description": "true",
2809
- "title": "demoIgnore"
2810
- }
2811
- ]
2812
- },
2803
+ "name": "tag",
2804
+ "description": "Sets valid HTML element tag",
2805
+ "tags": {},
2806
+ "values": [
2807
+ "a",
2808
+ "button"
2809
+ ],
2813
2810
  "type": {
2814
2811
  "name": "string"
2812
+ },
2813
+ "defaultValue": {
2814
+ "func": false,
2815
+ "value": "'a'"
2815
2816
  }
2816
2817
  },
2817
2818
  {
2818
- "name": "totalPages",
2819
- "description": "Sets the total number of pages for displaying \"Page x of <totalPages>\".\nSometimes the total number of pages is different than total page data objects in the pages array.\nFor example, if only the next and previous pages are provided.",
2819
+ "name": "href",
2820
+ "description": "Sets value for anchors href property. Requires tag prop value to be `a`.",
2820
2821
  "type": {
2821
- "name": "number"
2822
+ "name": "string"
2822
2823
  },
2823
2824
  "defaultValue": {
2824
2825
  "func": false,
2825
- "value": "null"
2826
+ "value": "'#'"
2826
2827
  }
2827
2828
  },
2828
2829
  {
2829
- "name": "pages",
2830
- "description": "Array of objects containing pagination data.\nObjects must have structure of `{ page: number, url: string }`",
2830
+ "name": "inheritColor",
2831
+ "description": "Sets color and fill",
2831
2832
  "type": {
2832
- "name": "paginationItem[]"
2833
+ "name": "boolean"
2833
2834
  },
2834
- "required": true
2835
+ "defaultValue": {
2836
+ "func": false,
2837
+ "value": false
2838
+ }
2835
2839
  },
2836
2840
  {
2837
- "name": "linkTag",
2838
- "description": "Sets which tag type is used to render pagination elements",
2841
+ "name": "modifier",
2842
+ "description": "Modifies the style variant for this component.",
2839
2843
  "tags": {},
2840
2844
  "values": [
2841
- "a",
2842
- "button"
2845
+ "standalone"
2843
2846
  ],
2844
2847
  "type": {
2845
2848
  "name": "string"
2846
2849
  },
2847
2850
  "defaultValue": {
2848
2851
  "func": false,
2849
- "value": "'a'"
2852
+ "value": "''"
2850
2853
  }
2851
2854
  },
2852
2855
  {
2853
- "name": "forLabel",
2854
- "description": "Used to customize the aria-label for the root pagination element.\nFor page-level pagination (i.e, pagination that updates the entire page content and changes the URL)\nthis property should be omitted.\nFor intra-page navigation this property should describe the element being paginated, for example:\n`Pagination for sub-content`",
2856
+ "name": "target",
2857
+ "tags": {
2858
+ "ignore": [
2859
+ {
2860
+ "description": true,
2861
+ "title": "ignore"
2862
+ }
2863
+ ]
2864
+ },
2855
2865
  "type": {
2856
2866
  "name": "string"
2857
- },
2858
- "defaultValue": {
2859
- "func": false,
2860
- "value": "''"
2861
2867
  }
2862
2868
  },
2863
2869
  {
2864
- "name": "modelValue",
2870
+ "name": "rel",
2865
2871
  "tags": {
2866
2872
  "ignore": [
2867
2873
  {
2868
- "description": "used for binding v-model, represents the current page",
2874
+ "description": true,
2869
2875
  "title": "ignore"
2870
2876
  }
2871
2877
  ]
2872
2878
  },
2873
2879
  "type": {
2874
- "name": "number"
2880
+ "name": "string"
2875
2881
  }
2876
2882
  }
2877
2883
  ],
2878
- "events": [
2879
- {
2880
- "name": "update:modelValue",
2881
- "description": "Event emitted by v-model on the select <input> element to indicate current page.\nOnly used on small devices",
2882
- "properties": [
2883
- {
2884
- "type": {
2885
- "names": [
2886
- "mixed"
2887
- ]
2888
- },
2889
- "name": "modelValue"
2890
- }
2891
- ],
2892
- "tags": [
2893
- {
2894
- "title": "param",
2895
- "type": {
2896
- "name": "mixed"
2897
- },
2898
- "name": "modelValue"
2899
- }
2900
- ]
2901
- },
2902
- {
2903
- "name": "navigate",
2904
- "description": "$emit event fired when page changes based on user interaction by clicking a link\nor selecting an option from the select on mobile.\n`event.preventDefault()` can be used to override the default link navigation behavior."
2905
- }
2906
- ],
2907
- "sourceFiles": [
2908
- "./src/components/pagination/CdrPagination.vue"
2909
- ],
2910
- "UIProperties": [
2911
- {
2912
- "name": "--cdr-pagination-link-text-color",
2913
- "defaultValue": "--cdr-color-text-primary",
2914
- "description": "Text color of a cdr-pagination link"
2915
- },
2916
- {
2917
- "name": "--cdr-pagination-link-fill-color",
2918
- "defaultValue": "--cdr-color-text-primary",
2919
- "description": "Fill color of a cdr-pagination link"
2920
- },
2921
- {
2922
- "name": "--cdr-pagination-link-background-color-interaction",
2923
- "defaultValue": "--cdr-color-background-pagination-hover",
2924
- "description": "Background color of a cdr-pagination link on hover/focus/active"
2925
- },
2926
- {
2927
- "name": "--cdr-pagination-link-current-background-color-keyline",
2928
- "defaultValue": "--cdr-color-background-pagination-keyline",
2929
- "description": "Background color of the keyline for the current cdr-pagination link"
2930
- },
2931
- {
2932
- "name": "--cdr-pagination-link-text-color-disabled",
2933
- "defaultValue": "--cdr-color-text-disabled",
2934
- "description": "Text color of a disabled cdr-pagination link"
2935
- },
2936
- {
2937
- "name": "--cdr-pagination-link-fill-color-disabled",
2938
- "defaultValue": "--cdr-color-text-disabled",
2939
- "description": "Fill color of a disabled cdr-pagination link"
2940
- },
2941
- {
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": [
2884
+ "slots": [
3038
2885
  {
3039
2886
  "name": "default",
3040
2887
  "description": "Readable text of the link"
@@ -3147,136 +2994,168 @@
3147
2994
  }
3148
2995
  ]
3149
2996
  },
3150
- "CdrPopover": {
3151
- "name": "CdrPopover",
3152
- "description": "Small overlay used to display contextual information",
2997
+ "CdrModal": {
2998
+ "name": "CdrModal",
2999
+ "description": "Disruptive, action-blocking overlays used to display important information",
3153
3000
  "tags": {},
3154
3001
  "exportName": "default",
3155
- "displayName": "CdrPopover",
3002
+ "displayName": "CdrModal",
3156
3003
  "props": [
3157
3004
  {
3158
- "name": "position",
3159
- "description": "Sets the position where the popover will render relative to the trigger element.",
3005
+ "name": "opened",
3006
+ "description": "Toggles the state of the modal",
3160
3007
  "tags": {
3161
- "demoSelectMultiple": [
3008
+ "demoIgnore": [
3162
3009
  {
3163
- "description": "false",
3164
- "title": "demoSelectMultiple"
3010
+ "description": "true",
3011
+ "title": "demoIgnore"
3165
3012
  }
3166
3013
  ]
3167
3014
  },
3168
- "values": [
3169
- "top",
3170
- "bottom",
3171
- "left",
3172
- "right"
3173
- ],
3015
+ "type": {
3016
+ "name": "boolean"
3017
+ },
3018
+ "required": true
3019
+ },
3020
+ {
3021
+ "name": "label",
3022
+ "description": "Sets `aria-label` and modal title text. Can also use title slot to set title.",
3174
3023
  "type": {
3175
3024
  "name": "string"
3176
3025
  },
3026
+ "required": true
3027
+ },
3028
+ {
3029
+ "name": "showTitle",
3030
+ "description": "Toggles the modal title text, which comes from `label` prop or `title` slot.",
3031
+ "type": {
3032
+ "name": "boolean"
3033
+ },
3177
3034
  "required": false,
3178
3035
  "defaultValue": {
3179
3036
  "func": false,
3180
- "value": "'top'"
3037
+ "value": true
3181
3038
  }
3182
3039
  },
3183
3040
  {
3184
- "name": "autoPosition",
3185
- "description": "If set to `true`, popover will attempt to dynamically set it's position to\nensure it renders within the visible browser window.\nIf `false` the popover will always render in the provided `position`.",
3041
+ "name": "ariaDescribedby",
3042
+ "description": "Text for aria-describedby attribute. Applied to modal content element",
3186
3043
  "type": {
3187
- "name": "boolean"
3044
+ "name": "string"
3188
3045
  },
3189
3046
  "required": false,
3190
3047
  "defaultValue": {
3191
3048
  "func": false,
3192
- "value": true
3049
+ "value": "null"
3193
3050
  }
3194
3051
  },
3195
3052
  {
3196
- "name": "label",
3197
- "description": "Sets the title for the popover content. Can also be provided via the `title` slot.",
3053
+ "name": "role",
3054
+ "description": "Sets the `role` attribute on the modal content element",
3055
+ "tags": {},
3056
+ "values": [
3057
+ "dialog",
3058
+ "alertDialog"
3059
+ ],
3198
3060
  "type": {
3199
3061
  "name": "string"
3200
3062
  },
3201
- "required": false
3063
+ "required": false,
3064
+ "defaultValue": {
3065
+ "func": false,
3066
+ "value": "'dialog'"
3067
+ }
3202
3068
  },
3203
3069
  {
3204
3070
  "name": "id",
3205
- "description": "ID for the popover element, required for accessibility",
3071
+ "description": "Sets unique `id` for modal",
3206
3072
  "type": {
3207
3073
  "name": "string"
3208
3074
  },
3209
- "required": true
3075
+ "required": false,
3076
+ "defaultValue": {
3077
+ "func": false,
3078
+ "value": "null"
3079
+ }
3080
+ },
3081
+ {
3082
+ "name": "overlayClass",
3083
+ "description": "Adds custom class to the `cdr-modal__overlay` div",
3084
+ "type": {
3085
+ "name": "string"
3086
+ }
3087
+ },
3088
+ {
3089
+ "name": "wrapperClass",
3090
+ "description": "Adds custom class to the `cdr-modal__outerWrap` div",
3091
+ "type": {
3092
+ "name": "string"
3093
+ }
3210
3094
  },
3211
3095
  {
3212
3096
  "name": "contentClass",
3213
- "description": "Add custom class to the popover content wrapper. Allows for overriding size, styling, etc.",
3097
+ "description": "Adds custom class to the `cdr-modal__innerWrap` div",
3214
3098
  "type": {
3215
3099
  "name": "string"
3216
- },
3217
- "required": false
3100
+ }
3218
3101
  },
3219
3102
  {
3220
- "name": "open",
3221
- "description": "Used to programmatically control the popover state. Does not need to be set if you are using the `trigger` slot.",
3222
- "tags": {
3223
- "demoIgnore": [
3224
- {
3225
- "description": "true",
3226
- "title": "demoIgnore"
3227
- }
3228
- ]
3229
- },
3103
+ "name": "animationDuration",
3104
+ "description": "Sets duration for modal's close animation",
3230
3105
  "type": {
3231
- "name": "boolean"
3106
+ "name": "number"
3232
3107
  },
3233
- "required": false,
3234
3108
  "defaultValue": {
3235
3109
  "func": false,
3236
- "value": false
3110
+ "value": "300"
3237
3111
  }
3238
3112
  }
3239
3113
  ],
3240
3114
  "events": [
3241
- {
3242
- "name": "opened",
3243
- "description": "Emits when popover is opened"
3244
- },
3245
3115
  {
3246
3116
  "name": "closed",
3247
- "description": "Emits when popover is closed"
3117
+ "description": "Fires when modal is closed"
3248
3118
  }
3249
3119
  ],
3250
3120
  "slots": [
3251
3121
  {
3252
- "name": "trigger",
3253
- "description": " Slot for the element that triggers the popover."
3122
+ "name": "modal",
3123
+ "description": "Use to override the entire CdrModal content container."
3254
3124
  },
3255
3125
  {
3256
3126
  "name": "title",
3257
- "description": "Sets the title for the popover. Can also be set with `label` prop"
3127
+ "description": "Use to override the default title"
3258
3128
  },
3259
3129
  {
3260
3130
  "name": "default"
3261
- },
3262
- {
3263
- "name": "icon"
3264
3131
  }
3265
3132
  ],
3266
3133
  "sourceFiles": [
3267
- "./src/components/popover/CdrPopover.vue"
3134
+ "./src/components/modal/CdrModal.vue"
3135
+ ],
3136
+ "UIProperties": [
3137
+ {
3138
+ "name": "--cdr-modal-overlay-background-color",
3139
+ "defaultValue": "--cdr-color-background-modal-overlay",
3140
+ "description": "Background color of the modal overlay"
3141
+ },
3142
+ {
3143
+ "name": "--cdr-modal-content-wrap-background-color",
3144
+ "defaultValue": "--cdr-color-background-primary",
3145
+ "description": "Background color of the content wrap"
3146
+ }
3268
3147
  ]
3269
3148
  },
3270
- "CdrModal": {
3271
- "name": "CdrModal",
3272
- "description": "Disruptive, action-blocking overlays used to display important information",
3149
+ "CdrPagination": {
3150
+ "name": "CdrPagination",
3151
+ "description": "Allows people to navigate to the next or previous page within an experience",
3273
3152
  "tags": {},
3274
3153
  "exportName": "default",
3275
- "displayName": "CdrModal",
3154
+ "displayName": "CdrPagination",
3276
3155
  "props": [
3277
3156
  {
3278
- "name": "opened",
3279
- "description": "Toggles the state of the modal",
3157
+ "name": "id",
3158
+ "description": "Define a custom slug for the generated pagination item IDs. Slug is randomly generated if no ID provided.",
3280
3159
  "tags": {
3281
3160
  "demoIgnore": [
3282
3161
  {
@@ -3285,208 +3164,138 @@
3285
3164
  }
3286
3165
  ]
3287
3166
  },
3288
- "type": {
3289
- "name": "boolean"
3290
- },
3291
- "required": true
3292
- },
3293
- {
3294
- "name": "label",
3295
- "description": "Sets `aria-label` and modal title text. Can also use title slot to set title.",
3296
3167
  "type": {
3297
3168
  "name": "string"
3298
- },
3299
- "required": true
3169
+ }
3300
3170
  },
3301
3171
  {
3302
- "name": "showTitle",
3303
- "description": "Toggles the modal title text, which comes from `label` prop or `title` slot.",
3172
+ "name": "totalPages",
3173
+ "description": "Sets the total number of pages for displaying \"Page x of <totalPages>\".\nSometimes the total number of pages is different than total page data objects in the pages array.\nFor example, if only the next and previous pages are provided.",
3304
3174
  "type": {
3305
- "name": "boolean"
3175
+ "name": "number"
3306
3176
  },
3307
- "required": false,
3308
3177
  "defaultValue": {
3309
3178
  "func": false,
3310
- "value": true
3179
+ "value": "null"
3311
3180
  }
3312
3181
  },
3313
3182
  {
3314
- "name": "ariaDescribedby",
3315
- "description": "Text for aria-describedby attribute. Applied to modal content element",
3183
+ "name": "pages",
3184
+ "description": "Array of objects containing pagination data.\nObjects must have structure of `{ page: number, url: string }`",
3316
3185
  "type": {
3317
- "name": "string"
3186
+ "name": "paginationItem[]"
3318
3187
  },
3319
- "required": false,
3320
- "defaultValue": {
3321
- "func": false,
3322
- "value": "null"
3323
- }
3188
+ "required": true
3324
3189
  },
3325
3190
  {
3326
- "name": "role",
3327
- "description": "Sets the `role` attribute on the modal content element",
3191
+ "name": "linkTag",
3192
+ "description": "Sets which tag type is used to render pagination elements",
3328
3193
  "tags": {},
3329
3194
  "values": [
3330
- "dialog",
3331
- "alertDialog"
3195
+ "a",
3196
+ "button"
3332
3197
  ],
3333
3198
  "type": {
3334
3199
  "name": "string"
3335
3200
  },
3336
- "required": false,
3337
3201
  "defaultValue": {
3338
3202
  "func": false,
3339
- "value": "'dialog'"
3203
+ "value": "'a'"
3340
3204
  }
3341
3205
  },
3342
3206
  {
3343
- "name": "id",
3344
- "description": "Sets unique `id` for modal",
3207
+ "name": "forLabel",
3208
+ "description": "Used to customize the aria-label for the root pagination element.\nFor page-level pagination (i.e, pagination that updates the entire page content and changes the URL)\nthis property should be omitted.\nFor intra-page navigation this property should describe the element being paginated, for example:\n`Pagination for sub-content`",
3345
3209
  "type": {
3346
3210
  "name": "string"
3347
3211
  },
3348
- "required": false,
3349
3212
  "defaultValue": {
3350
3213
  "func": false,
3351
- "value": "null"
3352
- }
3353
- },
3354
- {
3355
- "name": "overlayClass",
3356
- "description": "Adds custom class to the `cdr-modal__overlay` div",
3357
- "type": {
3358
- "name": "string"
3359
- }
3360
- },
3361
- {
3362
- "name": "wrapperClass",
3363
- "description": "Adds custom class to the `cdr-modal__outerWrap` div",
3364
- "type": {
3365
- "name": "string"
3366
- }
3367
- },
3368
- {
3369
- "name": "contentClass",
3370
- "description": "Adds custom class to the `cdr-modal__innerWrap` div",
3371
- "type": {
3372
- "name": "string"
3214
+ "value": "''"
3373
3215
  }
3374
3216
  },
3375
3217
  {
3376
- "name": "animationDuration",
3377
- "description": "Sets duration for modal's close animation",
3218
+ "name": "modelValue",
3219
+ "tags": {
3220
+ "ignore": [
3221
+ {
3222
+ "description": "used for binding v-model, represents the current page",
3223
+ "title": "ignore"
3224
+ }
3225
+ ]
3226
+ },
3378
3227
  "type": {
3379
3228
  "name": "number"
3380
- },
3381
- "defaultValue": {
3382
- "func": false,
3383
- "value": "300"
3384
3229
  }
3385
3230
  }
3386
3231
  ],
3387
3232
  "events": [
3388
3233
  {
3389
- "name": "closed",
3390
- "description": "Fires when modal is closed"
3391
- }
3392
- ],
3393
- "slots": [
3394
- {
3395
- "name": "modal",
3396
- "description": "Use to override the entire CdrModal content container."
3397
- },
3398
- {
3399
- "name": "title",
3400
- "description": "Use to override the default title"
3234
+ "name": "update:modelValue",
3235
+ "description": "Event emitted by v-model on the select <input> element to indicate current page.\nOnly used on small devices",
3236
+ "properties": [
3237
+ {
3238
+ "type": {
3239
+ "names": [
3240
+ "mixed"
3241
+ ]
3242
+ },
3243
+ "name": "modelValue"
3244
+ }
3245
+ ],
3246
+ "tags": [
3247
+ {
3248
+ "title": "param",
3249
+ "type": {
3250
+ "name": "mixed"
3251
+ },
3252
+ "name": "modelValue"
3253
+ }
3254
+ ]
3401
3255
  },
3402
3256
  {
3403
- "name": "default"
3257
+ "name": "navigate",
3258
+ "description": "$emit event fired when page changes based on user interaction by clicking a link\nor selecting an option from the select on mobile.\n`event.preventDefault()` can be used to override the default link navigation behavior."
3404
3259
  }
3405
3260
  ],
3406
3261
  "sourceFiles": [
3407
- "./src/components/modal/CdrModal.vue"
3262
+ "./src/components/pagination/CdrPagination.vue"
3408
3263
  ],
3409
3264
  "UIProperties": [
3410
3265
  {
3411
- "name": "--cdr-modal-overlay-background-color",
3412
- "defaultValue": "--cdr-color-background-modal-overlay",
3413
- "description": "Background color of the modal overlay"
3266
+ "name": "--cdr-pagination-link-text-color",
3267
+ "defaultValue": "--cdr-color-text-primary",
3268
+ "description": "Text color of a cdr-pagination link"
3414
3269
  },
3415
3270
  {
3416
- "name": "--cdr-modal-content-wrap-background-color",
3417
- "defaultValue": "--cdr-color-background-primary",
3418
- "description": "Background color of the content wrap"
3419
- }
3420
- ]
3421
- },
3422
- "CdrPopup": {
3423
- "name": "CdrPopup",
3424
- "description": "An internal helper component used by Popover and Tooltip",
3425
- "tags": {},
3426
- "exportName": "default",
3427
- "displayName": "CdrPopup",
3428
- "props": [
3429
- {
3430
- "name": "opened",
3431
- "type": {
3432
- "name": "boolean"
3433
- },
3434
- "defaultValue": {
3435
- "func": false,
3436
- "value": false
3437
- }
3271
+ "name": "--cdr-pagination-link-fill-color",
3272
+ "defaultValue": "--cdr-color-text-primary",
3273
+ "description": "Fill color of a cdr-pagination link"
3438
3274
  },
3439
3275
  {
3440
- "name": "position",
3441
- "type": {
3442
- "name": "string"
3443
- },
3444
- "required": false,
3445
- "defaultValue": {
3446
- "func": false,
3447
- "value": "'top'"
3448
- }
3276
+ "name": "--cdr-pagination-link-background-color-interaction",
3277
+ "defaultValue": "--cdr-color-background-pagination-hover",
3278
+ "description": "Background color of a cdr-pagination link on hover/focus/active"
3449
3279
  },
3450
3280
  {
3451
- "name": "autoPosition",
3452
- "type": {
3453
- "name": "boolean"
3454
- },
3455
- "defaultValue": {
3456
- "func": false,
3457
- "value": true
3458
- }
3281
+ "name": "--cdr-pagination-link-current-background-color-keyline",
3282
+ "defaultValue": "--cdr-color-background-pagination-keyline",
3283
+ "description": "Background color of the keyline for the current cdr-pagination link"
3459
3284
  },
3460
3285
  {
3461
- "name": "contentClass",
3462
- "type": {
3463
- "name": "string"
3464
- }
3465
- }
3466
- ],
3467
- "events": [
3468
- {
3469
- "name": "closed"
3470
- }
3471
- ],
3472
- "slots": [
3473
- {
3474
- "name": "default"
3475
- }
3476
- ],
3477
- "sourceFiles": [
3478
- "./src/components/popup/CdrPopup.vue"
3479
- ],
3480
- "UIProperties": [
3286
+ "name": "--cdr-pagination-link-text-color-disabled",
3287
+ "defaultValue": "--cdr-color-text-disabled",
3288
+ "description": "Text color of a disabled cdr-pagination link"
3289
+ },
3481
3290
  {
3482
- "name": "--cdr-popup-content-background",
3483
- "defaultValue": "--cdr-color-background-primary",
3484
- "description": "Background color of cdr-popup content"
3291
+ "name": "--cdr-pagination-link-fill-color-disabled",
3292
+ "defaultValue": "--cdr-color-text-disabled",
3293
+ "description": "Fill color of a disabled cdr-pagination link"
3485
3294
  },
3486
3295
  {
3487
- "name": "--cdr-popup-content-border-color",
3488
- "defaultValue": "--cdr-color-border-secondary",
3489
- "description": "Border color of cdr-popup content"
3296
+ "name": "--cdr-pagination-link-text-color-interactive-disabled",
3297
+ "defaultValue": "--cdr-color-text-disabled",
3298
+ "description": "Text color of a disabled cdr-pagination link on hover/focus/active"
3490
3299
  }
3491
3300
  ]
3492
3301
  },
@@ -3578,276 +3387,227 @@
3578
3387
  }
3579
3388
  ]
3580
3389
  },
3581
- "CdrRadio": {
3582
- "name": "CdrRadio",
3583
- "description": "Permits the selection of only one option from a list of two or more",
3390
+ "CdrPopup": {
3391
+ "name": "CdrPopup",
3392
+ "description": "An internal helper component used by Popover and Tooltip",
3584
3393
  "tags": {},
3585
3394
  "exportName": "default",
3586
- "displayName": "CdrRadio",
3395
+ "displayName": "CdrPopup",
3587
3396
  "props": [
3588
3397
  {
3589
- "name": "labelClass",
3590
- "description": "Adds CSS class to the label for custom styles.",
3591
- "type": {
3592
- "name": "string"
3593
- }
3594
- },
3595
- {
3596
- "name": "inputClass",
3597
- "description": "Adds CSS class to the input for custom styles.",
3398
+ "name": "opened",
3598
3399
  "type": {
3599
- "name": "string"
3400
+ "name": "boolean"
3401
+ },
3402
+ "defaultValue": {
3403
+ "func": false,
3404
+ "value": false
3600
3405
  }
3601
3406
  },
3602
3407
  {
3603
- "name": "contentClass",
3604
- "description": "Adds CSS class to the slot wrapper for custom styles.",
3408
+ "name": "position",
3605
3409
  "type": {
3606
3410
  "name": "string"
3411
+ },
3412
+ "required": false,
3413
+ "defaultValue": {
3414
+ "func": false,
3415
+ "value": "'top'"
3607
3416
  }
3608
3417
  },
3609
3418
  {
3610
- "name": "disabled",
3611
- "description": "Disables the radio",
3419
+ "name": "autoPosition",
3612
3420
  "type": {
3613
3421
  "name": "boolean"
3422
+ },
3423
+ "defaultValue": {
3424
+ "func": false,
3425
+ "value": true
3614
3426
  }
3615
3427
  },
3616
3428
  {
3617
- "name": "name",
3618
- "description": "Sets the name of the radio button.",
3429
+ "name": "contentClass",
3619
3430
  "type": {
3620
3431
  "name": "string"
3621
- },
3622
- "required": true
3432
+ }
3433
+ }
3434
+ ],
3435
+ "events": [
3436
+ {
3437
+ "name": "closed"
3438
+ }
3439
+ ],
3440
+ "slots": [
3441
+ {
3442
+ "name": "default"
3443
+ }
3444
+ ],
3445
+ "sourceFiles": [
3446
+ "./src/components/popup/CdrPopup.vue"
3447
+ ],
3448
+ "UIProperties": [
3449
+ {
3450
+ "name": "--cdr-popup-content-background",
3451
+ "defaultValue": "--cdr-color-background-primary",
3452
+ "description": "Background color of cdr-popup content"
3623
3453
  },
3624
3454
  {
3625
- "name": "modifier",
3626
- "description": "Modifies the style variants for this component",
3455
+ "name": "--cdr-popup-content-border-color",
3456
+ "defaultValue": "--cdr-color-border-secondary",
3457
+ "description": "Border color of cdr-popup content"
3458
+ }
3459
+ ]
3460
+ },
3461
+ "CdrPopover": {
3462
+ "name": "CdrPopover",
3463
+ "description": "Small overlay used to display contextual information",
3464
+ "tags": {},
3465
+ "exportName": "default",
3466
+ "displayName": "CdrPopover",
3467
+ "props": [
3468
+ {
3469
+ "name": "position",
3470
+ "description": "Sets the position where the popover will render relative to the trigger element.",
3627
3471
  "tags": {
3628
3472
  "demoSelectMultiple": [
3629
3473
  {
3630
- "description": "true",
3474
+ "description": "false",
3631
3475
  "title": "demoSelectMultiple"
3632
3476
  }
3633
3477
  ]
3634
3478
  },
3635
3479
  "values": [
3636
- "hide-figure"
3480
+ "top",
3481
+ "bottom",
3482
+ "left",
3483
+ "right"
3637
3484
  ],
3638
3485
  "type": {
3639
3486
  "name": "string"
3640
3487
  },
3488
+ "required": false,
3641
3489
  "defaultValue": {
3642
3490
  "func": false,
3643
- "value": "''"
3491
+ "value": "'top'"
3644
3492
  }
3645
3493
  },
3646
3494
  {
3647
- "name": "size",
3648
- "description": "Sets the radio size; values can target responsive breakpoints. Example `small@lg`",
3649
- "tags": {
3650
- "demoSelectMultiple": [
3651
- {
3652
- "description": "false",
3653
- "title": "demoSelectMultiple"
3654
- }
3655
- ]
3656
- },
3657
- "values": [
3658
- "small",
3659
- "medium",
3660
- "large"
3661
- ],
3495
+ "name": "autoPosition",
3496
+ "description": "If set to `true`, popover will attempt to dynamically set it's position to\nensure it renders within the visible browser window.\nIf `false` the popover will always render in the provided `position`.",
3662
3497
  "type": {
3663
- "name": "sizeProps"
3498
+ "name": "boolean"
3499
+ },
3500
+ "required": false,
3501
+ "defaultValue": {
3502
+ "func": false,
3503
+ "value": true
3664
3504
  }
3665
3505
  },
3666
3506
  {
3667
- "name": "background",
3668
- "description": "Sets the background color the radio button is rendered on",
3669
- "tags": {},
3670
- "values": [
3671
- "primary",
3672
- "secondary"
3673
- ],
3507
+ "name": "label",
3508
+ "description": "Sets the title for the popover content. Can also be provided via the `title` slot.",
3674
3509
  "type": {
3675
- "name": "backgroundProps"
3676
- }
3510
+ "name": "string"
3511
+ },
3512
+ "required": false
3677
3513
  },
3678
3514
  {
3679
- "name": "customValue",
3680
- "description": "Sets the value of the radio.",
3515
+ "name": "id",
3516
+ "description": "ID for the popover element, required for accessibility",
3681
3517
  "type": {
3682
- "name": "string|number|boolean|object|array|symbol|func"
3683
- }
3518
+ "name": "string"
3519
+ },
3520
+ "required": true
3684
3521
  },
3685
3522
  {
3686
- "name": "modelValue",
3523
+ "name": "contentClass",
3524
+ "description": "Add custom class to the popover content wrapper. Allows for overriding size, styling, etc.",
3525
+ "type": {
3526
+ "name": "string"
3527
+ },
3528
+ "required": false
3529
+ },
3530
+ {
3531
+ "name": "open",
3532
+ "description": "Used to programmatically control the popover state. Does not need to be set if you are using the `trigger` slot.",
3687
3533
  "tags": {
3688
- "ignore": [
3534
+ "demoIgnore": [
3689
3535
  {
3690
- "description": "v-model binding",
3691
- "title": "ignore"
3536
+ "description": "true",
3537
+ "title": "demoIgnore"
3692
3538
  }
3693
3539
  ]
3694
3540
  },
3695
3541
  "type": {
3696
- "name": "string|number|boolean|object|array|symbol|func"
3542
+ "name": "boolean"
3543
+ },
3544
+ "required": false,
3545
+ "defaultValue": {
3546
+ "func": false,
3547
+ "value": false
3697
3548
  }
3698
3549
  }
3699
3550
  ],
3700
3551
  "events": [
3701
3552
  {
3702
- "name": "update:modelValue",
3703
- "description": "Event emitted by v-model on the radio's <input> element",
3704
- "properties": [
3705
- {
3706
- "type": {
3707
- "names": [
3708
- "mixed"
3709
- ]
3710
- },
3711
- "name": "modelValue"
3712
- }
3713
- ],
3714
- "tags": [
3715
- {
3716
- "title": "param",
3717
- "type": {
3718
- "name": "mixed"
3719
- },
3720
- "name": "modelValue"
3721
- }
3722
- ]
3723
- }
3724
- ],
3725
- "slots": [
3553
+ "name": "opened",
3554
+ "description": "Emits when popover is opened"
3555
+ },
3726
3556
  {
3727
- "name": "default"
3557
+ "name": "closed",
3558
+ "description": "Emits when popover is closed"
3728
3559
  }
3729
3560
  ],
3730
- "sourceFiles": [
3731
- "./src/components/radio/CdrRadio.vue"
3732
- ],
3733
- "UIProperties": [
3561
+ "slots": [
3734
3562
  {
3735
- "name": "--cdr-radio-box-shadow-color-selected",
3736
- "defaultValue": "--cdr-color-border-input-default-selected",
3737
- "description": "Box-shadow color of cdr-radio when selected"
3563
+ "name": "trigger",
3564
+ "description": " Slot for the element that triggers the popover."
3738
3565
  },
3739
3566
  {
3740
- "name": "--cdr-radio-background-color-selected",
3741
- "defaultValue": "--cdr-color-background-input-default-selected",
3742
- "description": "Background color of cdr-radio when selected"
3567
+ "name": "title",
3568
+ "description": "Sets the title for the popover. Can also be set with `label` prop"
3743
3569
  },
3744
3570
  {
3745
- "name": "--cdr-radio-inner-circle-background-color-selected",
3746
- "defaultValue": "--cdr-color-icon-checkbox-default-selected",
3747
- "description": "Background color of the inner circle of cdr-radio when selected"
3571
+ "name": "default"
3748
3572
  },
3749
3573
  {
3750
- "name": "--cdr-radio-box-shadow-color-hover",
3751
- "defaultValue": "--cdr-color-border-input-default-hover",
3752
- "description": "Box-shadow color of cdr-radio on hover"
3753
- },
3574
+ "name": "icon"
3575
+ }
3576
+ ],
3577
+ "sourceFiles": [
3578
+ "./src/components/popover/CdrPopover.vue"
3579
+ ]
3580
+ },
3581
+ "CdrRating": {
3582
+ "name": "CdrRating",
3583
+ "description": "Provides insight into user opinions for products, experiences, and more",
3584
+ "tags": {},
3585
+ "exportName": "default",
3586
+ "displayName": "CdrRating",
3587
+ "props": [
3754
3588
  {
3755
- "name": "--cdr-radio-background-color-hover",
3756
- "defaultValue": "--cdr-color-background-input-default-hover",
3757
- "description": "Background color of cdr-radio on hover"
3589
+ "name": "rating",
3590
+ "description": "Sets the rating values between 0 and 5.",
3591
+ "type": {
3592
+ "name": "string|number"
3593
+ },
3594
+ "required": true,
3595
+ "defaultValue": {
3596
+ "func": false,
3597
+ "value": "0"
3598
+ }
3758
3599
  },
3759
3600
  {
3760
- "name": "--cdr-radio-box-shadow-color-selected-hover",
3761
- "defaultValue": "--cdr-color-border-input-default-selected-hover",
3762
- "description": "Box-shadow color of cdr-radio when selected on hover"
3763
- },
3764
- {
3765
- "name": "--cdr-radio-background-color-selected-hover",
3766
- "defaultValue": "--cdr-color-background-input-default-selected-hover",
3767
- "description": "Background color of cdr-radio when selected on hover"
3768
- },
3769
- {
3770
- "name": "--cdr-radio-box-shadow-color-disabled",
3771
- "defaultValue": "--cdr-color-border-input-default-disabled",
3772
- "description": "Box-shadow color of cdr-radio when disabled"
3773
- },
3774
- {
3775
- "name": "--cdr-radio-background-color-disabled",
3776
- "defaultValue": "--cdr-color-background-input-default-disabled",
3777
- "description": "Background color of cdr-radio when disabled"
3778
- },
3779
- {
3780
- "name": "--cdr-radio-inner-circle-background-color-disabled",
3781
- "defaultValue": "--cdr-color-background-input-default-disabled",
3782
- "description": "Background color of the inner circle of cdr-radio when disabled"
3783
- },
3784
- {
3785
- "name": "--cdr-radio-inner-circle-background-color-selected-disabled",
3786
- "defaultValue": "--cdr-color-background-input-default-disabled",
3787
- "description": "Background color of the inner circle of cdr-radio when selected and disabled"
3788
- },
3789
- {
3790
- "name": "--cdr-radio-box-shadow-color-focus",
3791
- "defaultValue": "--cdr-color-border-input-default-active",
3792
- "description": "Box-shadow color of cdr-radio on focus"
3793
- },
3794
- {
3795
- "name": "--cdr-radio-background-color-focus",
3796
- "defaultValue": "--cdr-color-background-input-default-focus",
3797
- "description": "Background color of cdr-radio on focus"
3798
- },
3799
- {
3800
- "name": "--cdr-radio-background-color-selected-focus",
3801
- "defaultValue": "--cdr-color-background-input-default-selected-focus",
3802
- "description": "Background color of cdr-radio when selected on focus"
3803
- },
3804
- {
3805
- "name": "--cdr-radio-box-shadow-color-active",
3806
- "defaultValue": "--cdr-color-border-input-default-active",
3807
- "description": "Box-shadow color of cdr-radio when active"
3808
- },
3809
- {
3810
- "name": "--cdr-radio-background-color-active",
3811
- "defaultValue": "--cdr-color-background-input-default-active",
3812
- "description": "Background color of cdr-radio when active"
3813
- },
3814
- {
3815
- "name": "--cdr-radio-inner-circle-background-color-selected-active",
3816
- "defaultValue": "--cdr-color-icon-checkbox-default-selected-active",
3817
- "description": "Background color of the inner circle of cdr-radio when selected and active"
3818
- }
3819
- ]
3820
- },
3821
- "CdrRating": {
3822
- "name": "CdrRating",
3823
- "description": "Provides insight into user opinions for products, experiences, and more",
3824
- "tags": {},
3825
- "exportName": "default",
3826
- "displayName": "CdrRating",
3827
- "props": [
3828
- {
3829
- "name": "rating",
3830
- "description": "Sets the rating values between 0 and 5.",
3831
- "type": {
3832
- "name": "string|number"
3833
- },
3834
- "required": true,
3835
- "defaultValue": {
3836
- "func": false,
3837
- "value": "0"
3838
- }
3839
- },
3840
- {
3841
- "name": "count",
3842
- "description": "Sets the total number of ratings",
3843
- "type": {
3844
- "name": "string|number"
3845
- },
3846
- "required": false,
3847
- "defaultValue": {
3848
- "func": false,
3849
- "value": "null"
3850
- }
3601
+ "name": "count",
3602
+ "description": "Sets the total number of ratings",
3603
+ "type": {
3604
+ "name": "string|number"
3605
+ },
3606
+ "required": false,
3607
+ "defaultValue": {
3608
+ "func": false,
3609
+ "value": "null"
3610
+ }
3851
3611
  },
3852
3612
  {
3853
3613
  "name": "compact",
@@ -4241,112 +4001,74 @@
4241
4001
  }
4242
4002
  ]
4243
4003
  },
4244
- "CdrSkeletonBone": {
4245
- "name": "CdrSkeletonBone",
4246
- "exportName": "default",
4247
- "displayName": "CdrSkeletonBone",
4248
- "description": "",
4004
+ "CdrRadio": {
4005
+ "name": "CdrRadio",
4006
+ "description": "Permits the selection of only one option from a list of two or more",
4249
4007
  "tags": {},
4008
+ "exportName": "default",
4009
+ "displayName": "CdrRadio",
4250
4010
  "props": [
4251
4011
  {
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
- ],
4012
+ "name": "labelClass",
4013
+ "description": "Adds CSS class to the label for custom styles.",
4269
4014
  "type": {
4270
4015
  "name": "string"
4271
- },
4272
- "defaultValue": {
4273
- "func": false,
4274
- "value": "'default'"
4275
4016
  }
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": [
4017
+ },
4289
4018
  {
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.",
4019
+ "name": "inputClass",
4020
+ "description": "Adds CSS class to the input for custom styles.",
4292
4021
  "type": {
4293
- "name": "boolean"
4294
- },
4295
- "defaultValue": {
4296
- "func": false,
4297
- "value": true
4022
+ "name": "string"
4298
4023
  }
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"
4315
4024
  },
4316
4025
  {
4317
- "name": "--cdr-skeleton-gradient-1",
4318
- "defaultValue": "rgba(237,234,227,1)",
4319
- "description": "Skeleton shimmer gradient part 1"
4026
+ "name": "contentClass",
4027
+ "description": "Adds CSS class to the slot wrapper for custom styles.",
4028
+ "type": {
4029
+ "name": "string"
4030
+ }
4320
4031
  },
4321
4032
  {
4322
- "name": "--cdr-skeleton-gradient-2",
4323
- "defaultValue": "rgba(249,248,240,1)",
4324
- "description": "Skeleton shimmer gradient part 2"
4033
+ "name": "disabled",
4034
+ "description": "Disables the radio",
4035
+ "type": {
4036
+ "name": "boolean"
4037
+ }
4325
4038
  },
4326
4039
  {
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": [
4040
+ "name": "name",
4041
+ "description": "Sets the name of the radio button.",
4042
+ "type": {
4043
+ "name": "string"
4044
+ },
4045
+ "required": true
4046
+ },
4340
4047
  {
4341
- "name": "id",
4342
- "description": "Sets a custom ID for the switch. If this value is not set, it will be auto-generated.",
4048
+ "name": "modifier",
4049
+ "description": "Modifies the style variants for this component",
4050
+ "tags": {
4051
+ "demoSelectMultiple": [
4052
+ {
4053
+ "description": "true",
4054
+ "title": "demoSelectMultiple"
4055
+ }
4056
+ ]
4057
+ },
4058
+ "values": [
4059
+ "hide-figure"
4060
+ ],
4343
4061
  "type": {
4344
4062
  "name": "string"
4063
+ },
4064
+ "defaultValue": {
4065
+ "func": false,
4066
+ "value": "''"
4345
4067
  }
4346
4068
  },
4347
4069
  {
4348
4070
  "name": "size",
4349
- "description": "Sets the size of the switch",
4071
+ "description": "Sets the radio size; values can target responsive breakpoints. Example `small@lg`",
4350
4072
  "tags": {
4351
4073
  "demoSelectMultiple": [
4352
4074
  {
@@ -4356,48 +4078,52 @@
4356
4078
  ]
4357
4079
  },
4358
4080
  "values": [
4081
+ "small",
4359
4082
  "medium",
4360
4083
  "large"
4361
4084
  ],
4362
4085
  "type": {
4363
- "name": "string"
4364
- },
4365
- "defaultValue": {
4366
- "func": false,
4367
- "value": "'medium'"
4086
+ "name": "sizeProps"
4368
4087
  }
4369
4088
  },
4370
4089
  {
4371
- "name": "fullWidth",
4372
- "description": "Sets the label and switch to expand to the full width of its container with `space-between`",
4090
+ "name": "background",
4091
+ "description": "Sets the background color the radio button is rendered on",
4092
+ "tags": {},
4093
+ "values": [
4094
+ "primary",
4095
+ "secondary"
4096
+ ],
4373
4097
  "type": {
4374
- "name": "boolean"
4375
- },
4376
- "defaultValue": {
4377
- "func": false,
4378
- "value": false
4098
+ "name": "backgroundProps"
4099
+ }
4100
+ },
4101
+ {
4102
+ "name": "customValue",
4103
+ "description": "Sets the value of the radio.",
4104
+ "type": {
4105
+ "name": "string|number|boolean|object|array|symbol|func"
4379
4106
  }
4380
4107
  },
4381
4108
  {
4382
4109
  "name": "modelValue",
4383
4110
  "tags": {
4384
- "demoIgnore": [
4111
+ "ignore": [
4385
4112
  {
4386
- "description": "true",
4387
- "title": "demoIgnore"
4113
+ "description": "v-model binding",
4114
+ "title": "ignore"
4388
4115
  }
4389
4116
  ]
4390
4117
  },
4391
4118
  "type": {
4392
- "name": "boolean"
4393
- },
4394
- "required": true
4119
+ "name": "string|number|boolean|object|array|symbol|func"
4120
+ }
4395
4121
  }
4396
4122
  ],
4397
4123
  "events": [
4398
4124
  {
4399
4125
  "name": "update:modelValue",
4400
- "description": "Event emitted by v-model on switch",
4126
+ "description": "Event emitted by v-model on the radio's <input> element",
4401
4127
  "properties": [
4402
4128
  {
4403
4129
  "type": {
@@ -4421,139 +4147,136 @@
4421
4147
  ],
4422
4148
  "slots": [
4423
4149
  {
4424
- "name": "default",
4425
- "description": "The label for the switch"
4150
+ "name": "default"
4426
4151
  }
4427
4152
  ],
4428
4153
  "sourceFiles": [
4429
- "./src/components/switch/CdrSwitch.vue"
4154
+ "./src/components/radio/CdrRadio.vue"
4430
4155
  ],
4431
4156
  "UIProperties": [
4432
4157
  {
4433
- "name": "--cdr-switch-border-color",
4434
- "defaultValue": "--cdr-color-border-secondary",
4435
- "description": "Border of the cdr-switch button"
4436
- },
4437
- {
4438
- "name": "--cdr-switch-background-color",
4439
- "defaultValue": "--cdr-color-background-switch-default-rest",
4440
- "description": "Background color of the cdr-switch button"
4441
- },
4442
- {
4443
- "name": "--cdr-switch-icon-fill",
4444
- "defaultValue": "--cdr-color-icon-default",
4445
- "description": "Fill of the cdr-switch x and check icons"
4446
- },
4447
- {
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"
4451
- },
4452
- {
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"
4456
- },
4457
- {
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"
4461
- },
4462
- {
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"
4466
- },
4467
- {
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"
4158
+ "name": "--cdr-radio-box-shadow-color-selected",
4159
+ "defaultValue": "--cdr-color-border-input-default-selected",
4160
+ "description": "Box-shadow color of cdr-radio when selected"
4471
4161
  },
4472
4162
  {
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"
4163
+ "name": "--cdr-radio-background-color-selected",
4164
+ "defaultValue": "--cdr-color-background-input-default-selected",
4165
+ "description": "Background color of cdr-radio when selected"
4476
4166
  },
4477
4167
  {
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"
4168
+ "name": "--cdr-radio-inner-circle-background-color-selected",
4169
+ "defaultValue": "--cdr-color-icon-checkbox-default-selected",
4170
+ "description": "Background color of the inner circle of cdr-radio when selected"
4481
4171
  },
4482
4172
  {
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"
4173
+ "name": "--cdr-radio-box-shadow-color-hover",
4174
+ "defaultValue": "--cdr-color-border-input-default-hover",
4175
+ "description": "Box-shadow color of cdr-radio on hover"
4486
4176
  },
4487
4177
  {
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"
4178
+ "name": "--cdr-radio-background-color-hover",
4179
+ "defaultValue": "--cdr-color-background-input-default-hover",
4180
+ "description": "Background color of cdr-radio on hover"
4491
4181
  },
4492
4182
  {
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"
4183
+ "name": "--cdr-radio-box-shadow-color-selected-hover",
4184
+ "defaultValue": "--cdr-color-border-input-default-selected-hover",
4185
+ "description": "Box-shadow color of cdr-radio when selected on hover"
4496
4186
  },
4497
4187
  {
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"
4188
+ "name": "--cdr-radio-background-color-selected-hover",
4189
+ "defaultValue": "--cdr-color-background-input-default-selected-hover",
4190
+ "description": "Background color of cdr-radio when selected on hover"
4501
4191
  },
4502
4192
  {
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"
4193
+ "name": "--cdr-radio-box-shadow-color-disabled",
4194
+ "defaultValue": "--cdr-color-border-input-default-disabled",
4195
+ "description": "Box-shadow color of cdr-radio when disabled"
4506
4196
  },
4507
4197
  {
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"
4198
+ "name": "--cdr-radio-background-color-disabled",
4199
+ "defaultValue": "--cdr-color-background-input-default-disabled",
4200
+ "description": "Background color of cdr-radio when disabled"
4511
4201
  },
4512
4202
  {
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"
4203
+ "name": "--cdr-radio-inner-circle-background-color-disabled",
4204
+ "defaultValue": "--cdr-color-background-input-default-disabled",
4205
+ "description": "Background color of the inner circle of cdr-radio when disabled"
4516
4206
  },
4517
4207
  {
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"
4208
+ "name": "--cdr-radio-inner-circle-background-color-selected-disabled",
4209
+ "defaultValue": "--cdr-color-background-input-default-disabled",
4210
+ "description": "Background color of the inner circle of cdr-radio when selected and disabled"
4521
4211
  },
4522
4212
  {
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"
4213
+ "name": "--cdr-radio-box-shadow-color-focus",
4214
+ "defaultValue": "--cdr-color-border-input-default-active",
4215
+ "description": "Box-shadow color of cdr-radio on focus"
4526
4216
  },
4527
4217
  {
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"
4218
+ "name": "--cdr-radio-background-color-focus",
4219
+ "defaultValue": "--cdr-color-background-input-default-focus",
4220
+ "description": "Background color of cdr-radio on focus"
4531
4221
  },
4532
4222
  {
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"
4223
+ "name": "--cdr-radio-background-color-selected-focus",
4224
+ "defaultValue": "--cdr-color-background-input-default-selected-focus",
4225
+ "description": "Background color of cdr-radio when selected on focus"
4536
4226
  },
4537
4227
  {
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"
4228
+ "name": "--cdr-radio-box-shadow-color-active",
4229
+ "defaultValue": "--cdr-color-border-input-default-active",
4230
+ "description": "Box-shadow color of cdr-radio when active"
4541
4231
  },
4542
4232
  {
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"
4233
+ "name": "--cdr-radio-background-color-active",
4234
+ "defaultValue": "--cdr-color-background-input-default-active",
4235
+ "description": "Background color of cdr-radio when active"
4546
4236
  },
4547
4237
  {
4548
- "name": "--cdr-switch-handle-border",
4549
- "defaultValue": "--cdr-color-border-secondary",
4550
- "description": "Border color of the cdr-switch handle"
4551
- },
4238
+ "name": "--cdr-radio-inner-circle-background-color-selected-active",
4239
+ "defaultValue": "--cdr-color-icon-checkbox-default-selected-active",
4240
+ "description": "Background color of the inner circle of cdr-radio when selected and active"
4241
+ }
4242
+ ]
4243
+ },
4244
+ "CdrSkeletonBone": {
4245
+ "name": "CdrSkeletonBone",
4246
+ "exportName": "default",
4247
+ "displayName": "CdrSkeletonBone",
4248
+ "description": "",
4249
+ "tags": {},
4250
+ "props": [
4552
4251
  {
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"
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
+ ],
4269
+ "type": {
4270
+ "name": "string"
4271
+ },
4272
+ "defaultValue": {
4273
+ "func": false,
4274
+ "value": "'default'"
4275
+ }
4556
4276
  }
4277
+ ],
4278
+ "sourceFiles": [
4279
+ "./src/components/skeleton/CdrSkeletonBone.vue"
4557
4280
  ]
4558
4281
  },
4559
4282
  "CdrTable": {
@@ -4710,6 +4433,57 @@
4710
4433
  }
4711
4434
  ]
4712
4435
  },
4436
+ "CdrSkeleton": {
4437
+ "name": "CdrSkeleton",
4438
+ "description": "Visually communicates content is in the process of loading",
4439
+ "tags": {},
4440
+ "exportName": "default",
4441
+ "displayName": "CdrSkeleton",
4442
+ "props": [
4443
+ {
4444
+ "name": "motion",
4445
+ "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.",
4446
+ "type": {
4447
+ "name": "boolean"
4448
+ },
4449
+ "defaultValue": {
4450
+ "func": false,
4451
+ "value": true
4452
+ }
4453
+ }
4454
+ ],
4455
+ "slots": [
4456
+ {
4457
+ "name": "default",
4458
+ "description": "CdrSkeleton content (CdrSkeletonBone components)"
4459
+ }
4460
+ ],
4461
+ "sourceFiles": [
4462
+ "./src/components/skeleton/CdrSkeleton.vue"
4463
+ ],
4464
+ "UIProperties": [
4465
+ {
4466
+ "name": "--cdr-skeleton-bone-background-color",
4467
+ "defaultValue": "#edeae3",
4468
+ "description": "Skeleton bone background color"
4469
+ },
4470
+ {
4471
+ "name": "--cdr-skeleton-gradient-1",
4472
+ "defaultValue": "rgba(237,234,227,1)",
4473
+ "description": "Skeleton shimmer gradient part 1"
4474
+ },
4475
+ {
4476
+ "name": "--cdr-skeleton-gradient-2",
4477
+ "defaultValue": "rgba(249,248,240,1)",
4478
+ "description": "Skeleton shimmer gradient part 2"
4479
+ },
4480
+ {
4481
+ "name": "--cdr-skeleton-gradient-3",
4482
+ "defaultValue": "rgba(237,234,227,1)",
4483
+ "description": "Skeleton shimmer gradient part 3"
4484
+ }
4485
+ ]
4486
+ },
4713
4487
  "CdrTabPanel": {
4714
4488
  "name": "CdrTabPanel",
4715
4489
  "exportName": "default",
@@ -4761,29 +4535,149 @@
4761
4535
  "./src/components/tabs/CdrTabPanel.vue"
4762
4536
  ]
4763
4537
  },
4764
- "CdrText": {
4765
- "name": "CdrText",
4766
- "description": "Text container used for any text element such as paragraphs, headings, and lists",
4538
+ "CdrTabs": {
4539
+ "name": "CdrTabs",
4540
+ "description": "Organizes related content into groups for people to navigate between",
4767
4541
  "tags": {},
4768
4542
  "exportName": "default",
4769
- "displayName": "CdrText",
4543
+ "displayName": "CdrTabs",
4770
4544
  "props": [
4771
4545
  {
4772
- "name": "tag",
4773
- "description": "Sets the HTML tag (p, span, h1, h2, etc)",
4546
+ "name": "height",
4547
+ "description": "Sets height of the tabs container element.\nPassing a `px` value will render tabs with a static height,\npassing `auto` will render tabs with variable height based on content size.",
4774
4548
  "type": {
4775
4549
  "name": "string"
4776
4550
  },
4777
4551
  "defaultValue": {
4778
4552
  "func": false,
4779
- "value": "'p'"
4553
+ "value": "'240px'"
4780
4554
  }
4781
- }
4782
- ],
4783
- "slots": [
4555
+ },
4784
4556
  {
4785
- "name": "default",
4786
- "description": "CdrText content"
4557
+ "name": "activeTab",
4558
+ "description": "Sets the index of the tab that should be active on initial page load. Note that this property is zero-indexed.",
4559
+ "type": {
4560
+ "name": "number"
4561
+ },
4562
+ "defaultValue": {
4563
+ "func": false,
4564
+ "value": "0"
4565
+ }
4566
+ },
4567
+ {
4568
+ "name": "modifier",
4569
+ "description": "Modifies the style variants for this component",
4570
+ "tags": {},
4571
+ "values": [
4572
+ "centered",
4573
+ "compact",
4574
+ "full-width",
4575
+ "no-border"
4576
+ ],
4577
+ "type": {
4578
+ "name": "string"
4579
+ }
4580
+ },
4581
+ {
4582
+ "name": "size",
4583
+ "description": "Use `small` to reduce spacing around the tabs for a denser visual design",
4584
+ "tags": {
4585
+ "demoSelectMultiple": [
4586
+ {
4587
+ "description": "true",
4588
+ "title": "demoSelectMultiple"
4589
+ }
4590
+ ]
4591
+ },
4592
+ "values": [
4593
+ "small"
4594
+ ],
4595
+ "type": {
4596
+ "name": "string"
4597
+ }
4598
+ },
4599
+ {
4600
+ "name": "backgroundColor",
4601
+ "description": "Sets the background color of the tab.\nFor CdrTabs that are rendered on non-primary backgrounds.\nPass the background-color into the component to ensure that the scrolling gradients render correctly.",
4602
+ "type": {
4603
+ "name": "string"
4604
+ },
4605
+ "defaultValue": {
4606
+ "func": false,
4607
+ "value": "CdrColorBackgroundPrimary"
4608
+ }
4609
+ }
4610
+ ],
4611
+ "slots": [
4612
+ {
4613
+ "name": "default",
4614
+ "description": "CdrTabs content (CdrTabPanel components)"
4615
+ }
4616
+ ],
4617
+ "sourceFiles": [
4618
+ "./src/components/tabs/CdrTabs.vue"
4619
+ ],
4620
+ "UIProperties": [
4621
+ {
4622
+ "name": "--cdr-tabs-header-container-keyline-color",
4623
+ "defaultValue": "--cdr-color-border-tab-keyline-rest",
4624
+ "description": "Keyline color of the cdr-tabs header container"
4625
+ },
4626
+ {
4627
+ "name": "--cdr-tabs-tab-text-color",
4628
+ "defaultValue": "--cdr-color-text-tab-rest",
4629
+ "description": "Text color in a tab"
4630
+ },
4631
+ {
4632
+ "name": "--cdr-tabs-tab-text-color-active",
4633
+ "defaultValue": "--cdr-color-text-tab-active",
4634
+ "description": "Text color of an active tab"
4635
+ },
4636
+ {
4637
+ "name": "--cdr-tabs-tab-text-color-interaction",
4638
+ "defaultValue": "--cdr-color-text-tab-hover",
4639
+ "description": "Text color of a tab on active, focus, or hover"
4640
+ },
4641
+ {
4642
+ "name": "--cdr-tabs-tab-text-color-disabled",
4643
+ "defaultValue": "--cdr-color-text-tab-disabled",
4644
+ "description": "Text color of a disabled tab"
4645
+ },
4646
+ {
4647
+ "name": "--cdr-tabs-keyline-background-color",
4648
+ "defaultValue": "--cdr-color-border-tab-keyline-active",
4649
+ "description": "Background color of the cdr-tabs keyline"
4650
+ },
4651
+ {
4652
+ "name": "--cdr-tabs-no-border-border-color",
4653
+ "defaultValue": "transparent",
4654
+ "description": "Border color of the cdr-tabs with no-border modifier"
4655
+ }
4656
+ ]
4657
+ },
4658
+ "CdrText": {
4659
+ "name": "CdrText",
4660
+ "description": "Text container used for any text element such as paragraphs, headings, and lists",
4661
+ "tags": {},
4662
+ "exportName": "default",
4663
+ "displayName": "CdrText",
4664
+ "props": [
4665
+ {
4666
+ "name": "tag",
4667
+ "description": "Sets the HTML tag (p, span, h1, h2, etc)",
4668
+ "type": {
4669
+ "name": "string"
4670
+ },
4671
+ "defaultValue": {
4672
+ "func": false,
4673
+ "value": "'p'"
4674
+ }
4675
+ }
4676
+ ],
4677
+ "slots": [
4678
+ {
4679
+ "name": "default",
4680
+ "description": "CdrText content"
4787
4681
  }
4788
4682
  ],
4789
4683
  "sourceFiles": [
@@ -4797,136 +4691,378 @@
4797
4691
  }
4798
4692
  ]
4799
4693
  },
4800
- "CdrTabs": {
4801
- "name": "CdrTabs",
4802
- "description": "Organizes related content into groups for people to navigate between",
4694
+ "CdrToast": {
4695
+ "name": "CdrToast",
4696
+ "description": "Non-modal dialog used to communicate the status of a task or process",
4803
4697
  "tags": {},
4804
4698
  "exportName": "default",
4805
- "displayName": "CdrTabs",
4699
+ "displayName": "CdrToast",
4806
4700
  "props": [
4807
4701
  {
4808
- "name": "height",
4809
- "description": "Sets height of the tabs container element.\nPassing a `px` value will render tabs with a static height,\npassing `auto` will render tabs with variable height based on content size.",
4702
+ "name": "type",
4703
+ "description": "Sets the toast type.",
4704
+ "tags": {
4705
+ "demoSelectMultiple": [
4706
+ {
4707
+ "description": "false",
4708
+ "title": "demoSelectMultiple"
4709
+ }
4710
+ ]
4711
+ },
4712
+ "values": [
4713
+ "info",
4714
+ "success",
4715
+ "warning",
4716
+ "error",
4717
+ "default"
4718
+ ],
4719
+ "type": {
4720
+ "name": "string"
4721
+ },
4722
+ "defaultValue": {
4723
+ "func": false,
4724
+ "value": "'default'"
4725
+ }
4726
+ },
4727
+ {
4728
+ "name": "open",
4729
+ "description": "Used to programmatically control the toast open/close state.",
4730
+ "tags": {
4731
+ "demoIgnore": [
4732
+ {
4733
+ "description": "true",
4734
+ "title": "demoIgnore"
4735
+ }
4736
+ ]
4737
+ },
4738
+ "type": {
4739
+ "name": "boolean"
4740
+ },
4741
+ "defaultValue": {
4742
+ "func": false,
4743
+ "value": false
4744
+ }
4745
+ },
4746
+ {
4747
+ "name": "autoDismiss",
4748
+ "description": "Set to `false` to disable automatic closing after the `dismissDelay`.",
4749
+ "type": {
4750
+ "name": "boolean"
4751
+ },
4752
+ "defaultValue": {
4753
+ "func": false,
4754
+ "value": true
4755
+ }
4756
+ },
4757
+ {
4758
+ "name": "dismissDelay",
4759
+ "description": "Sets the interval (in milliseconds) before the toast automatically closes.",
4760
+ "type": {
4761
+ "name": "number"
4762
+ },
4763
+ "defaultValue": {
4764
+ "func": false,
4765
+ "value": "5000"
4766
+ }
4767
+ }
4768
+ ],
4769
+ "events": [
4770
+ {
4771
+ "name": "open",
4772
+ "description": "Emits when toast opens"
4773
+ },
4774
+ {
4775
+ "name": "closed",
4776
+ "description": "Emits when toast closes"
4777
+ }
4778
+ ],
4779
+ "slots": [
4780
+ {
4781
+ "name": "icon-left",
4782
+ "description": "Icon matching toast messaging type"
4783
+ },
4784
+ {
4785
+ "name": "default",
4786
+ "description": "CdrToast content"
4787
+ },
4788
+ {
4789
+ "name": "icon"
4790
+ }
4791
+ ],
4792
+ "sourceFiles": [
4793
+ "./src/components/toast/CdrToast.vue"
4794
+ ],
4795
+ "UIProperties": [
4796
+ {
4797
+ "name": "--cdr-toast-close-button-fill",
4798
+ "defaultValue": "--cdr-color-text-emphasis",
4799
+ "description": "Fill color of the cdr-toast close button icon"
4800
+ },
4801
+ {
4802
+ "name": "--cdr-toast-icon-left-background-color-default",
4803
+ "defaultValue": "--cdr-color-background-message-default-02",
4804
+ "description": "Default background color of the cdr-toast icon-left"
4805
+ },
4806
+ {
4807
+ "name": "--cdr-toast-icon-left-fill-default",
4808
+ "defaultValue": "--cdr-color-icon-message-default",
4809
+ "description": "Default fill color of the cdr-toast icon-left"
4810
+ },
4811
+ {
4812
+ "name": "--cdr-toast-icon-left-background-color-info",
4813
+ "defaultValue": "--cdr-color-background-message-info-02",
4814
+ "description": "Info background color of the cdr-toast icon-left"
4815
+ },
4816
+ {
4817
+ "name": "--cdr-toast-icon-left-fill-info",
4818
+ "defaultValue": "--cdr-color-icon-message-info",
4819
+ "description": "Info fill color of the cdr-toast icon-left"
4820
+ },
4821
+ {
4822
+ "name": "--cdr-toast-border-left-color-info",
4823
+ "defaultValue": "--cdr-color-border-message-info-01",
4824
+ "description": "Info border-left color of the cdr-toast"
4825
+ },
4826
+ {
4827
+ "name": "--cdr-toast-icon-left-background-color-warning",
4828
+ "defaultValue": "--cdr-color-background-message-warning-02",
4829
+ "description": "Warning background color of the cdr-toast icon-left"
4830
+ },
4831
+ {
4832
+ "name": "--cdr-toast-icon-left-fill-warning",
4833
+ "defaultValue": "--cdr-color-icon-message-warning",
4834
+ "description": "Warning fill color of the cdr-toast icon-left"
4835
+ },
4836
+ {
4837
+ "name": "--cdr-toast-border-left-color-warning",
4838
+ "defaultValue": "--cdr-color-border-message-warning-01",
4839
+ "description": "Warning border-left color of the cdr-toast"
4840
+ },
4841
+ {
4842
+ "name": "--cdr-toast-icon-left-background-color-success",
4843
+ "defaultValue": "--cdr-color-background-message-success-02",
4844
+ "description": "Success background color of the cdr-toast icon-left"
4845
+ },
4846
+ {
4847
+ "name": "--cdr-toast-icon-left-fill-success",
4848
+ "defaultValue": "--cdr-color-icon-message-success",
4849
+ "description": "Success fill color of the cdr-toast icon-left"
4850
+ },
4851
+ {
4852
+ "name": "--cdr-toast-border-left-color-success",
4853
+ "defaultValue": "--cdr-color-border-message-success-01",
4854
+ "description": "Success border-left color of the cdr-toast"
4855
+ },
4856
+ {
4857
+ "name": "--cdr-toast-icon-left-background-color-error",
4858
+ "defaultValue": "--cdr-color-background-message-error-02",
4859
+ "description": "Error background color of the cdr-toast icon-left"
4860
+ },
4861
+ {
4862
+ "name": "--cdr-toast-icon-left-fill-error",
4863
+ "defaultValue": "--cdr-color-icon-message-error",
4864
+ "description": "Error fill color of the cdr-toast icon-left"
4865
+ },
4866
+ {
4867
+ "name": "--cdr-toast-border-left-color-error",
4868
+ "defaultValue": "--cdr-color-border-message-error-01",
4869
+ "description": "Error border-left color of the cdr-toast"
4870
+ },
4871
+ {
4872
+ "name": "--cdr-toast-background-color-default",
4873
+ "defaultValue": "--cdr-color-background-message-default-01",
4874
+ "description": "Default background color of cdr-toast"
4875
+ },
4876
+ {
4877
+ "name": "--cdr-toast-outline-color-default",
4878
+ "defaultValue": "--cdr-color-border-message-default-02",
4879
+ "description": "Default outline color of cdr-toast"
4880
+ },
4881
+ {
4882
+ "name": "--cdr-toast-background-color-info",
4883
+ "defaultValue": "--cdr-color-background-message-info-01",
4884
+ "description": "Info background color of cdr-toast"
4885
+ },
4886
+ {
4887
+ "name": "--cdr-toast-background-color-success",
4888
+ "defaultValue": "--cdr-color-background-message-success-01",
4889
+ "description": "Success background color of cdr-toast"
4890
+ },
4891
+ {
4892
+ "name": "--cdr-toast-outline-color-success",
4893
+ "defaultValue": "--cdr-color-border-message-success-02",
4894
+ "description": "Success outline color of cdr-toast"
4895
+ },
4896
+ {
4897
+ "name": "--cdr-toast-background-color-warning",
4898
+ "defaultValue": "--cdr-color-background-message-warning-01",
4899
+ "description": "Warning background color of cdr-toast"
4900
+ },
4901
+ {
4902
+ "name": "--cdr-toast-outline-color-warning",
4903
+ "defaultValue": "--cdr-color-border-message-warning-02",
4904
+ "description": "Warning outline color of cdr-toast"
4905
+ },
4906
+ {
4907
+ "name": "--cdr-toast-background-color-error",
4908
+ "defaultValue": "--cdr-color-background-message-error-01",
4909
+ "description": "Error background color of cdr-toast"
4910
+ },
4911
+ {
4912
+ "name": "--cdr-toast-outline-color-error",
4913
+ "defaultValue": "--cdr-color-border-message-error-02",
4914
+ "description": "Error outline color of cdr-toast"
4915
+ }
4916
+ ]
4917
+ },
4918
+ "CdrTooltip": {
4919
+ "name": "CdrTooltip",
4920
+ "description": "Floating label used to clarify interface actions",
4921
+ "tags": {},
4922
+ "exportName": "default",
4923
+ "displayName": "CdrTooltip",
4924
+ "props": [
4925
+ {
4926
+ "name": "position",
4927
+ "description": "Sets the position where the tooltip will render relative to the trigger element.",
4928
+ "tags": {
4929
+ "demoSelectMultiple": [
4930
+ {
4931
+ "description": "false",
4932
+ "title": "demoSelectMultiple"
4933
+ }
4934
+ ]
4935
+ },
4936
+ "values": [
4937
+ "top",
4938
+ "bottom",
4939
+ "left",
4940
+ "right"
4941
+ ],
4810
4942
  "type": {
4811
4943
  "name": "string"
4812
4944
  },
4945
+ "required": false,
4813
4946
  "defaultValue": {
4814
4947
  "func": false,
4815
- "value": "'240px'"
4948
+ "value": "'top'"
4816
4949
  }
4817
4950
  },
4818
4951
  {
4819
- "name": "activeTab",
4820
- "description": "Sets the index of the tab that should be active on initial page load. Note that this property is zero-indexed.",
4952
+ "name": "autoPosition",
4953
+ "description": "If set to `true`, tooltip will attempt to dynamically set it's position to\nensure it renders within the visible browser window.\nIf `false` the tooltip will always render in the provided `position`.",
4821
4954
  "type": {
4822
- "name": "number"
4955
+ "name": "boolean"
4823
4956
  },
4824
4957
  "defaultValue": {
4825
4958
  "func": false,
4826
- "value": "0"
4959
+ "value": true
4827
4960
  }
4828
4961
  },
4829
4962
  {
4830
- "name": "modifier",
4831
- "description": "Modifies the style variants for this component",
4832
- "tags": {},
4833
- "values": [
4834
- "centered",
4835
- "compact",
4836
- "full-width",
4837
- "no-border"
4838
- ],
4963
+ "name": "id",
4964
+ "description": "ID for the tooltip element, required for accessibility",
4839
4965
  "type": {
4840
4966
  "name": "string"
4841
- }
4967
+ },
4968
+ "required": true
4842
4969
  },
4843
4970
  {
4844
- "name": "size",
4845
- "description": "Use `small` to reduce spacing around the tabs for a denser visual design",
4971
+ "name": "contentClass",
4972
+ "description": "Add custom class to the tooltip content wrapper. Allows for overriding size, styling, etc.",
4973
+ "type": {
4974
+ "name": "string"
4975
+ },
4976
+ "required": false
4977
+ },
4978
+ {
4979
+ "name": "open",
4980
+ "description": "Used to programmatically control the tooltip state. Does not need to be set if you are using the `trigger` slot.",
4846
4981
  "tags": {
4847
- "demoSelectMultiple": [
4982
+ "demoIgnore": [
4848
4983
  {
4849
4984
  "description": "true",
4850
- "title": "demoSelectMultiple"
4985
+ "title": "demoIgnore"
4851
4986
  }
4852
4987
  ]
4853
4988
  },
4854
- "values": [
4855
- "small"
4856
- ],
4857
- "type": {
4858
- "name": "string"
4859
- }
4860
- },
4861
- {
4862
- "name": "backgroundColor",
4863
- "description": "Sets the background color of the tab.\nFor CdrTabs that are rendered on non-primary backgrounds.\nPass the background-color into the component to ensure that the scrolling gradients render correctly.",
4864
4989
  "type": {
4865
- "name": "string"
4990
+ "name": "boolean"
4866
4991
  },
4867
4992
  "defaultValue": {
4868
4993
  "func": false,
4869
- "value": "CdrColorBackgroundPrimary"
4994
+ "value": false
4870
4995
  }
4871
4996
  }
4872
4997
  ],
4998
+ "events": [
4999
+ {
5000
+ "name": "opened",
5001
+ "description": "Emits when tooltip is opened"
5002
+ },
5003
+ {
5004
+ "name": "closed",
5005
+ "description": "Emits when tooltip is closed"
5006
+ }
5007
+ ],
4873
5008
  "slots": [
5009
+ {
5010
+ "name": "trigger",
5011
+ "description": " Slot for the element that triggers the tooltip."
5012
+ },
4874
5013
  {
4875
5014
  "name": "default",
4876
- "description": "CdrTabs content (CdrTabPanel components)"
5015
+ "description": "CdrTooltip content"
4877
5016
  }
4878
5017
  ],
4879
5018
  "sourceFiles": [
4880
- "./src/components/tabs/CdrTabs.vue"
5019
+ "./src/components/tooltip/CdrTooltip.vue"
4881
5020
  ],
4882
5021
  "UIProperties": [
4883
5022
  {
4884
- "name": "--cdr-tabs-header-container-keyline-color",
4885
- "defaultValue": "--cdr-color-border-tab-keyline-rest",
4886
- "description": "Keyline color of the cdr-tabs header container"
4887
- },
4888
- {
4889
- "name": "--cdr-tabs-tab-text-color",
4890
- "defaultValue": "--cdr-color-text-tab-rest",
4891
- "description": "Text color in a tab"
4892
- },
4893
- {
4894
- "name": "--cdr-tabs-tab-text-color-active",
4895
- "defaultValue": "--cdr-color-text-tab-active",
4896
- "description": "Text color of an active tab"
5023
+ "name": "--cdr-popup-background-color-default",
5024
+ "defaultValue": "--cdr-color-background-tooltip-default",
5025
+ "description": "Background color of the cdr-popup"
4897
5026
  },
4898
5027
  {
4899
- "name": "--cdr-tabs-tab-text-color-interaction",
4900
- "defaultValue": "--cdr-color-text-tab-hover",
4901
- "description": "Text color of a tab on active, focus, or hover"
5028
+ "name": "--cdr-popup-text-color-default",
5029
+ "defaultValue": "--cdr-color-text-tooltip-default",
5030
+ "description": "Text color of the cdr-popup"
4902
5031
  },
4903
5032
  {
4904
- "name": "--cdr-tabs-tab-text-color-disabled",
4905
- "defaultValue": "--cdr-color-text-tab-disabled",
4906
- "description": "Text color of a disabled tab"
5033
+ "name": "--cdr-popup-border-color-default",
5034
+ "defaultValue": "--cdr-color-border-tooltip-default",
5035
+ "description": "Border color of the cdr-popup"
4907
5036
  },
4908
5037
  {
4909
- "name": "--cdr-tabs-keyline-background-color",
4910
- "defaultValue": "--cdr-color-border-tab-keyline-active",
4911
- "description": "Background color of the cdr-tabs keyline"
5038
+ "name": "--cdr-popup-arrow-border-bottom-color",
5039
+ "defaultValue": "--cdr-color-border-tooltip-default",
5040
+ "description": "Border color of the cdr-popup arrow"
4912
5041
  },
4913
5042
  {
4914
- "name": "--cdr-tabs-no-border-border-color",
4915
- "defaultValue": "transparent",
4916
- "description": "Border color of the cdr-tabs with no-border modifier"
5043
+ "name": "--cdr-popup-arrow-background-color",
5044
+ "defaultValue": "--cdr-color-background-tooltip-default",
5045
+ "description": "Background color of the cdr-popup arrow"
4917
5046
  }
4918
5047
  ]
4919
5048
  },
4920
- "CdrToast": {
4921
- "name": "CdrToast",
4922
- "description": "Non-modal dialog used to communicate the status of a task or process",
5049
+ "CdrSwitch": {
5050
+ "name": "CdrSwitch",
5051
+ "description": "Permits selection from two opposing options",
4923
5052
  "tags": {},
4924
5053
  "exportName": "default",
4925
- "displayName": "CdrToast",
5054
+ "displayName": "CdrSwitch",
4926
5055
  "props": [
4927
5056
  {
4928
- "name": "type",
4929
- "description": "Sets the toast type.",
5057
+ "name": "id",
5058
+ "description": "Sets a custom ID for the switch. If this value is not set, it will be auto-generated.",
5059
+ "type": {
5060
+ "name": "string"
5061
+ }
5062
+ },
5063
+ {
5064
+ "name": "size",
5065
+ "description": "Sets the size of the switch",
4930
5066
  "tags": {
4931
5067
  "demoSelectMultiple": [
4932
5068
  {
@@ -4936,31 +5072,20 @@
4936
5072
  ]
4937
5073
  },
4938
5074
  "values": [
4939
- "info",
4940
- "success",
4941
- "warning",
4942
- "error",
4943
- "default"
5075
+ "medium",
5076
+ "large"
4944
5077
  ],
4945
5078
  "type": {
4946
5079
  "name": "string"
4947
5080
  },
4948
5081
  "defaultValue": {
4949
5082
  "func": false,
4950
- "value": "'default'"
5083
+ "value": "'medium'"
4951
5084
  }
4952
5085
  },
4953
5086
  {
4954
- "name": "open",
4955
- "description": "Used to programmatically control the toast open/close state.",
4956
- "tags": {
4957
- "demoIgnore": [
4958
- {
4959
- "description": "true",
4960
- "title": "demoIgnore"
4961
- }
4962
- ]
4963
- },
5087
+ "name": "fullWidth",
5088
+ "description": "Sets the label and switch to expand to the full width of its container with `space-between`",
4964
5089
  "type": {
4965
5090
  "name": "boolean"
4966
5091
  },
@@ -4970,174 +5095,180 @@
4970
5095
  }
4971
5096
  },
4972
5097
  {
4973
- "name": "autoDismiss",
4974
- "description": "Set to `false` to disable automatic closing after the `dismissDelay`.",
4975
- "type": {
4976
- "name": "boolean"
5098
+ "name": "modelValue",
5099
+ "tags": {
5100
+ "demoIgnore": [
5101
+ {
5102
+ "description": "true",
5103
+ "title": "demoIgnore"
5104
+ }
5105
+ ]
4977
5106
  },
4978
- "defaultValue": {
4979
- "func": false,
4980
- "value": true
4981
- }
4982
- },
4983
- {
4984
- "name": "dismissDelay",
4985
- "description": "Sets the interval (in milliseconds) before the toast automatically closes.",
4986
5107
  "type": {
4987
- "name": "number"
5108
+ "name": "boolean"
4988
5109
  },
4989
- "defaultValue": {
4990
- "func": false,
4991
- "value": "5000"
4992
- }
5110
+ "required": true
4993
5111
  }
4994
5112
  ],
4995
5113
  "events": [
4996
5114
  {
4997
- "name": "open",
4998
- "description": "Emits when toast opens"
4999
- },
5000
- {
5001
- "name": "closed",
5002
- "description": "Emits when toast closes"
5115
+ "name": "update:modelValue",
5116
+ "description": "Event emitted by v-model on switch",
5117
+ "properties": [
5118
+ {
5119
+ "type": {
5120
+ "names": [
5121
+ "mixed"
5122
+ ]
5123
+ },
5124
+ "name": "modelValue"
5125
+ }
5126
+ ],
5127
+ "tags": [
5128
+ {
5129
+ "title": "param",
5130
+ "type": {
5131
+ "name": "mixed"
5132
+ },
5133
+ "name": "modelValue"
5134
+ }
5135
+ ]
5003
5136
  }
5004
5137
  ],
5005
5138
  "slots": [
5006
- {
5007
- "name": "icon-left",
5008
- "description": "Icon matching toast messaging type"
5009
- },
5010
5139
  {
5011
5140
  "name": "default",
5012
- "description": "CdrToast content"
5013
- },
5014
- {
5015
- "name": "icon"
5141
+ "description": "The label for the switch"
5016
5142
  }
5017
5143
  ],
5018
5144
  "sourceFiles": [
5019
- "./src/components/toast/CdrToast.vue"
5145
+ "./src/components/switch/CdrSwitch.vue"
5020
5146
  ],
5021
5147
  "UIProperties": [
5022
5148
  {
5023
- "name": "--cdr-toast-close-button-fill",
5024
- "defaultValue": "--cdr-color-text-emphasis",
5025
- "description": "Fill color of the cdr-toast close button icon"
5149
+ "name": "--cdr-switch-border-color",
5150
+ "defaultValue": "--cdr-color-border-secondary",
5151
+ "description": "Border of the cdr-switch button"
5026
5152
  },
5027
5153
  {
5028
- "name": "--cdr-toast-icon-left-background-color-default",
5029
- "defaultValue": "--cdr-color-background-message-default-02",
5030
- "description": "Default background color of the cdr-toast icon-left"
5154
+ "name": "--cdr-switch-background-color",
5155
+ "defaultValue": "--cdr-color-background-switch-default-rest",
5156
+ "description": "Background color of the cdr-switch button"
5031
5157
  },
5032
5158
  {
5033
- "name": "--cdr-toast-icon-left-fill-default",
5034
- "defaultValue": "--cdr-color-icon-message-default",
5035
- "description": "Default fill color of the cdr-toast icon-left"
5159
+ "name": "--cdr-switch-icon-fill",
5160
+ "defaultValue": "--cdr-color-icon-default",
5161
+ "description": "Fill of the cdr-switch x and check icons"
5036
5162
  },
5037
5163
  {
5038
- "name": "--cdr-toast-icon-left-background-color-info",
5039
- "defaultValue": "--cdr-color-background-message-info-02",
5040
- "description": "Info background color of the cdr-toast icon-left"
5164
+ "name": "--cdr-switch-box-shadow-color-focus",
5165
+ "defaultValue": "--cdr-color-border-secondary",
5166
+ "description": "Box-shadow of the cdr-switch button on focus"
5041
5167
  },
5042
5168
  {
5043
- "name": "--cdr-toast-icon-left-fill-info",
5044
- "defaultValue": "--cdr-color-icon-message-info",
5045
- "description": "Info fill color of the cdr-toast icon-left"
5169
+ "name": "--cdr-switch-background-color-focus",
5170
+ "defaultValue": "--cdr-color-background-switch-default-focus",
5171
+ "description": "Background color of the cdr-switch button on focus"
5046
5172
  },
5047
5173
  {
5048
- "name": "--cdr-toast-border-left-color-info",
5049
- "defaultValue": "--cdr-color-border-message-info-01",
5050
- "description": "Info border-left color of the cdr-toast"
5174
+ "name": "--cdr-switch-icon-fill-focus",
5175
+ "defaultValue": "--cdr-color-icon-default",
5176
+ "description": "Fill of the cdr-switch x and check icons on focus"
5051
5177
  },
5052
5178
  {
5053
- "name": "--cdr-toast-icon-left-background-color-warning",
5054
- "defaultValue": "--cdr-color-background-message-warning-02",
5055
- "description": "Warning background color of the cdr-toast icon-left"
5179
+ "name": "--cdr-switch-handle-background-color-focus",
5180
+ "defaultValue": "--cdr-color-background-switch-handle-default-focus",
5181
+ "description": "Background color of the cdr-switch handle before on focus"
5056
5182
  },
5057
5183
  {
5058
- "name": "--cdr-toast-icon-left-fill-warning",
5059
- "defaultValue": "--cdr-color-icon-message-warning",
5060
- "description": "Warning fill color of the cdr-toast icon-left"
5184
+ "name": "--cdr-switch-hover-border-color",
5185
+ "defaultValue": "--cdr-color-border-switch-default-hover",
5186
+ "description": "Border of the cdr-switch button on hover when not in focus"
5061
5187
  },
5062
5188
  {
5063
- "name": "--cdr-toast-border-left-color-warning",
5064
- "defaultValue": "--cdr-color-border-message-warning-01",
5065
- "description": "Warning border-left color of the cdr-toast"
5189
+ "name": "--cdr-switch-background-color-hover",
5190
+ "defaultValue": "--cdr-color-background-switch-default-hover",
5191
+ "description": "Background color of the cdr-switch button on hover when not in focus"
5066
5192
  },
5067
5193
  {
5068
- "name": "--cdr-toast-icon-left-background-color-success",
5069
- "defaultValue": "--cdr-color-background-message-success-02",
5070
- "description": "Success background color of the cdr-toast icon-left"
5194
+ "name": "--cdr-switch-icon-fill-hover",
5195
+ "defaultValue": "--cdr-color-icon-emphasis",
5196
+ "description": "Fill of the cdr-switch x and check icons on hover when not in focus"
5071
5197
  },
5072
5198
  {
5073
- "name": "--cdr-toast-icon-left-fill-success",
5074
- "defaultValue": "--cdr-color-icon-message-success",
5075
- "description": "Success fill color of the cdr-toast icon-left"
5199
+ "name": "--cdr-switch-handle-border-color-hover",
5200
+ "defaultValue": "--cdr-color-border-switch-default-hover",
5201
+ "description": "Border of the cdr-switch handle on hover when not in focus"
5076
5202
  },
5077
5203
  {
5078
- "name": "--cdr-toast-border-left-color-success",
5079
- "defaultValue": "--cdr-color-border-message-success-01",
5080
- "description": "Success border-left color of the cdr-toast"
5204
+ "name": "--cdr-switch-background-color-checked",
5205
+ "defaultValue": "--cdr-color-background-switch-selected-default-rest",
5206
+ "description": "Background color of the cdr-switch button when it is checked"
5081
5207
  },
5082
5208
  {
5083
- "name": "--cdr-toast-icon-left-background-color-error",
5084
- "defaultValue": "--cdr-color-background-message-error-02",
5085
- "description": "Error background color of the cdr-toast icon-left"
5209
+ "name": "--cdr-switch-icon-fill-checked",
5210
+ "defaultValue": "--cdr-color-icon-switch-selected-default-rest",
5211
+ "description": "Fill of the cdr-switch x and check icons when it is checked"
5086
5212
  },
5087
5213
  {
5088
- "name": "--cdr-toast-icon-left-fill-error",
5089
- "defaultValue": "--cdr-color-icon-message-error",
5090
- "description": "Error fill color of the cdr-toast icon-left"
5214
+ "name": "--cdr-switch-box-shadow-color-checked-focus",
5215
+ "defaultValue": "--cdr-color-border-secondary",
5216
+ "description": "Box-shadow of the cdr-switch button when it is checked and in focus"
5091
5217
  },
5092
5218
  {
5093
- "name": "--cdr-toast-border-left-color-error",
5094
- "defaultValue": "--cdr-color-border-message-error-01",
5095
- "description": "Error border-left color of the cdr-toast"
5219
+ "name": "--cdr-switch-background-color-checked-focus",
5220
+ "defaultValue": "--cdr-color-background-switch-selected-default-focus",
5221
+ "description": "Background color of the cdr-switch button when it is checked and in focus"
5096
5222
  },
5097
5223
  {
5098
- "name": "--cdr-toast-background-color-default",
5099
- "defaultValue": "--cdr-color-background-message-default-01",
5100
- "description": "Default background color of cdr-toast"
5224
+ "name": "--cdr-switch-handle-border-color-checked-focus",
5225
+ "defaultValue": "--cdr-color-border-switch-handle-default-focus",
5226
+ "description": "Border of the cdr-switch handle when it is checked and in focus"
5101
5227
  },
5102
5228
  {
5103
- "name": "--cdr-toast-outline-color-default",
5104
- "defaultValue": "--cdr-color-border-message-default-02",
5105
- "description": "Default outline color of cdr-toast"
5229
+ "name": "--cdr-switch-handle-background-color-checked-focus",
5230
+ "defaultValue": "--cdr-color-background-switch-handle-selected-default-focus",
5231
+ "description": "Background color of the cdr-switch handle when it is checked and in focus"
5106
5232
  },
5107
5233
  {
5108
- "name": "--cdr-toast-background-color-info",
5109
- "defaultValue": "--cdr-color-background-message-info-01",
5110
- "description": "Info background color of cdr-toast"
5234
+ "name": "--cdr-switch-icon-fill-checked-focus",
5235
+ "defaultValue": "--cdr-color-icon-switch-selected-default-focus",
5236
+ "description": "Fill of the cdr-switch x and check icons when it is checked and in focus"
5111
5237
  },
5112
5238
  {
5113
- "name": "--cdr-toast-background-color-success",
5114
- "defaultValue": "--cdr-color-background-message-success-01",
5115
- "description": "Success background color of cdr-toast"
5239
+ "name": "--cdr-switch-handle-background-color-checked",
5240
+ "defaultValue": "--cdr-color-background-switch-handle-selected-default-rest",
5241
+ "description": "Background color of the cdr-switch handle when it is checked"
5116
5242
  },
5117
5243
  {
5118
- "name": "--cdr-toast-outline-color-success",
5119
- "defaultValue": "--cdr-color-border-message-success-02",
5120
- "description": "Success outline color of cdr-toast"
5244
+ "name": "--cdr-switch-border-color-checked-hover",
5245
+ "defaultValue": "--cdr-color-border-secondary",
5246
+ "description": "Border of the cdr-switch button when it is checked and on hover but not in focus"
5121
5247
  },
5122
5248
  {
5123
- "name": "--cdr-toast-background-color-warning",
5124
- "defaultValue": "--cdr-color-background-message-warning-01",
5125
- "description": "Warning background color of cdr-toast"
5249
+ "name": "--cdr-switch-background-color-checked-hover",
5250
+ "defaultValue": "--cdr-color-background-switch-selected-default-hover",
5251
+ "description": "Background color of the cdr-switch button when it is checked and on hover but not in focus"
5126
5252
  },
5127
5253
  {
5128
- "name": "--cdr-toast-outline-color-warning",
5129
- "defaultValue": "--cdr-color-border-message-warning-02",
5130
- "description": "Warning outline color of cdr-toast"
5254
+ "name": "--cdr-switch-icon-fill-checked-hover",
5255
+ "defaultValue": "--cdr-color-icon-switch-selected-default-hover",
5256
+ "description": "Fill of the cdr-switch x and check icons when it is checked and on hover but not in focus"
5131
5257
  },
5132
5258
  {
5133
- "name": "--cdr-toast-background-color-error",
5134
- "defaultValue": "--cdr-color-background-message-error-01",
5135
- "description": "Error background color of cdr-toast"
5259
+ "name": "--cdr-switch-handle-border-color-checked-hover",
5260
+ "defaultValue": "--cdr-color-border-switch-handle-default-hover",
5261
+ "description": "Border of the cdr-switch handle when it is checked and on hover but not in focus"
5136
5262
  },
5137
5263
  {
5138
- "name": "--cdr-toast-outline-color-error",
5139
- "defaultValue": "--cdr-color-border-message-error-02",
5140
- "description": "Error outline color of cdr-toast"
5264
+ "name": "--cdr-switch-handle-border",
5265
+ "defaultValue": "--cdr-color-border-secondary",
5266
+ "description": "Border color of the cdr-switch handle"
5267
+ },
5268
+ {
5269
+ "name": "--cdr-switch-handle-background-color-rest",
5270
+ "defaultValue": "--cdr-color-background-switch-handle-default-rest",
5271
+ "description": "Background color of the cdr-switch handle"
5141
5272
  }
5142
5273
  ]
5143
5274
  },
@@ -5321,136 +5452,5 @@
5321
5452
  "description": "Default background color of the cdr-toggle-group"
5322
5453
  }
5323
5454
  ]
5324
- },
5325
- "CdrTooltip": {
5326
- "name": "CdrTooltip",
5327
- "description": "Floating label used to clarify interface actions",
5328
- "tags": {},
5329
- "exportName": "default",
5330
- "displayName": "CdrTooltip",
5331
- "props": [
5332
- {
5333
- "name": "position",
5334
- "description": "Sets the position where the tooltip will render relative to the trigger element.",
5335
- "tags": {
5336
- "demoSelectMultiple": [
5337
- {
5338
- "description": "false",
5339
- "title": "demoSelectMultiple"
5340
- }
5341
- ]
5342
- },
5343
- "values": [
5344
- "top",
5345
- "bottom",
5346
- "left",
5347
- "right"
5348
- ],
5349
- "type": {
5350
- "name": "string"
5351
- },
5352
- "required": false,
5353
- "defaultValue": {
5354
- "func": false,
5355
- "value": "'top'"
5356
- }
5357
- },
5358
- {
5359
- "name": "autoPosition",
5360
- "description": "If set to `true`, tooltip will attempt to dynamically set it's position to\nensure it renders within the visible browser window.\nIf `false` the tooltip will always render in the provided `position`.",
5361
- "type": {
5362
- "name": "boolean"
5363
- },
5364
- "defaultValue": {
5365
- "func": false,
5366
- "value": true
5367
- }
5368
- },
5369
- {
5370
- "name": "id",
5371
- "description": "ID for the tooltip element, required for accessibility",
5372
- "type": {
5373
- "name": "string"
5374
- },
5375
- "required": true
5376
- },
5377
- {
5378
- "name": "contentClass",
5379
- "description": "Add custom class to the tooltip content wrapper. Allows for overriding size, styling, etc.",
5380
- "type": {
5381
- "name": "string"
5382
- },
5383
- "required": false
5384
- },
5385
- {
5386
- "name": "open",
5387
- "description": "Used to programmatically control the tooltip state. Does not need to be set if you are using the `trigger` slot.",
5388
- "tags": {
5389
- "demoIgnore": [
5390
- {
5391
- "description": "true",
5392
- "title": "demoIgnore"
5393
- }
5394
- ]
5395
- },
5396
- "type": {
5397
- "name": "boolean"
5398
- },
5399
- "defaultValue": {
5400
- "func": false,
5401
- "value": false
5402
- }
5403
- }
5404
- ],
5405
- "events": [
5406
- {
5407
- "name": "opened",
5408
- "description": "Emits when tooltip is opened"
5409
- },
5410
- {
5411
- "name": "closed",
5412
- "description": "Emits when tooltip is closed"
5413
- }
5414
- ],
5415
- "slots": [
5416
- {
5417
- "name": "trigger",
5418
- "description": " Slot for the element that triggers the tooltip."
5419
- },
5420
- {
5421
- "name": "default",
5422
- "description": "CdrTooltip content"
5423
- }
5424
- ],
5425
- "sourceFiles": [
5426
- "./src/components/tooltip/CdrTooltip.vue"
5427
- ],
5428
- "UIProperties": [
5429
- {
5430
- "name": "--cdr-popup-background-color-default",
5431
- "defaultValue": "--cdr-color-background-tooltip-default",
5432
- "description": "Background color of the cdr-popup"
5433
- },
5434
- {
5435
- "name": "--cdr-popup-text-color-default",
5436
- "defaultValue": "--cdr-color-text-tooltip-default",
5437
- "description": "Text color of the cdr-popup"
5438
- },
5439
- {
5440
- "name": "--cdr-popup-border-color-default",
5441
- "defaultValue": "--cdr-color-border-tooltip-default",
5442
- "description": "Border color of the cdr-popup"
5443
- },
5444
- {
5445
- "name": "--cdr-popup-arrow-border-bottom-color",
5446
- "defaultValue": "--cdr-color-border-tooltip-default",
5447
- "description": "Border color of the cdr-popup arrow"
5448
- },
5449
- {
5450
- "name": "--cdr-popup-arrow-background-color",
5451
- "defaultValue": "--cdr-color-background-tooltip-default",
5452
- "description": "Background color of the cdr-popup arrow"
5453
- }
5454
- ]
5455
5455
  }
5456
5456
  }