@rei/cedar 13.5.0 → 13.5.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 (86) hide show
  1. package/dist/cedar-compiled.css +1031 -1031
  2. package/dist/cedar.umd.js +2 -2
  3. package/dist/component-docgen.json +748 -748
  4. package/dist/icon-component-docgen.json +431 -431
  5. package/dist/src/components/accordion/styles/CdrAccordion.module.scss.mjs +29 -29
  6. package/dist/src/components/accordion/styles/CdrAccordionGroup.module.scss.mjs +2 -2
  7. package/dist/src/components/banner/styles/CdrBanner.module.scss.mjs +14 -14
  8. package/dist/src/components/breadcrumb/styles/CdrBreadcrumb.module.scss.mjs +7 -7
  9. package/dist/src/components/button/styles/CdrButton.module.scss.mjs +31 -31
  10. package/dist/src/components/caption/styles/CdrCaption.module.scss.mjs +2 -2
  11. package/dist/src/components/card/styles/CdrCard.module.scss.mjs +1 -1
  12. package/dist/src/components/checkbox/styles/CdrCheckbox.module.scss.mjs +25 -25
  13. package/dist/src/components/chip/styles/CdrChip.module.scss.mjs +4 -4
  14. package/dist/src/components/chip/styles/CdrChipGroup.module.scss.mjs +4 -4
  15. package/dist/src/components/container/styles/CdrContainer.module.scss.mjs +2 -2
  16. package/dist/src/components/formError/styles/CdrFormError.module.scss.mjs +2 -2
  17. package/dist/src/components/formGroup/styles/CdrFormGroup.module.scss.mjs +8 -8
  18. package/dist/src/components/grid/styles/CdrGrid.module.scss.mjs +21 -21
  19. package/dist/src/components/icon/styles/CdrIcon.module.scss.mjs +12 -12
  20. package/dist/src/components/image/styles/CdrImg.module.scss.mjs +8 -8
  21. package/dist/src/components/input/styles/CdrInput.module.scss.mjs +32 -32
  22. package/dist/src/components/labelStandalone/styles/CdrLabelStandalone.module.scss.mjs +12 -12
  23. package/dist/src/components/labelWrapper/styles/CdrLabelWrapper.module.scss.mjs +23 -23
  24. package/dist/src/components/link/styles/CdrLink.module.scss.mjs +3 -3
  25. package/dist/src/components/list/styles/CdrList.module.scss.mjs +5 -5
  26. package/dist/src/components/modal/styles/CdrModal.module.scss.mjs +12 -12
  27. package/dist/src/components/pagination/styles/CdrPagination.module.scss.mjs +53 -53
  28. package/dist/src/components/popover/styles/CdrPopover.module.scss.mjs +63 -63
  29. package/dist/src/components/popup/styles/CdrPopup.module.scss.mjs +14 -14
  30. package/dist/src/components/quote/styles/CdrQuote.module.scss.mjs +4 -4
  31. package/dist/src/components/radio/styles/CdrRadio.module.scss.mjs +25 -25
  32. package/dist/src/components/rating/styles/CdrRating.module.scss.mjs +28 -28
  33. package/dist/src/components/select/styles/CdrSelect.module.scss.mjs +42 -42
  34. package/dist/src/components/skeleton/styles/CdrSkeleton.module.scss.mjs +1 -1
  35. package/dist/src/components/skeleton/styles/CdrSkeletonBone.module.scss.mjs +7 -7
  36. package/dist/src/components/switch/styles/CdrSwitch.module.scss.mjs +8 -8
  37. package/dist/src/components/table/styles/CdrTable.module.scss.mjs +13 -13
  38. package/dist/src/components/tabs/styles/CdrTabPanel.module.scss.mjs +5 -5
  39. package/dist/src/components/tabs/styles/CdrTabs.module.scss.mjs +28 -28
  40. package/dist/src/components/text/styles/CdrText.module.scss.mjs +1 -1
  41. package/dist/src/components/toast/styles/CdrToast.module.scss.mjs +57 -57
  42. package/dist/src/components/toggleButton/styles/CdrToggleButton.module.scss.mjs +2 -2
  43. package/dist/src/components/toggleButton/styles/CdrToggleGroup.module.scss.mjs +5 -5
  44. package/dist/src/components/tooltip/styles/CdrTooltip.module.scss.mjs +16 -16
  45. package/dist/style/cdr-accordion-group.css +1 -1
  46. package/dist/style/cdr-accordion.css +1 -1
  47. package/dist/style/cdr-banner.css +1 -1
  48. package/dist/style/cdr-breadcrumb.css +1 -1
  49. package/dist/style/cdr-button.css +1 -1
  50. package/dist/style/cdr-caption.css +1 -1
  51. package/dist/style/cdr-card.css +1 -1
  52. package/dist/style/cdr-checkbox.css +1 -1
  53. package/dist/style/cdr-chip-group.css +1 -1
  54. package/dist/style/cdr-chip.css +1 -1
  55. package/dist/style/cdr-container.css +1 -1
  56. package/dist/style/cdr-form-error.css +1 -1
  57. package/dist/style/cdr-form-group.css +1 -1
  58. package/dist/style/cdr-grid.css +1 -1
  59. package/dist/style/cdr-icon.css +1 -1
  60. package/dist/style/cdr-img.css +1 -1
  61. package/dist/style/cdr-input.css +1 -1
  62. package/dist/style/cdr-label-standalone.css +1 -1
  63. package/dist/style/cdr-label-wrapper.css +1 -1
  64. package/dist/style/cdr-link.css +1 -1
  65. package/dist/style/cdr-list.css +1 -1
  66. package/dist/style/cdr-modal.css +1 -1
  67. package/dist/style/cdr-pagination.css +1 -1
  68. package/dist/style/cdr-popover.css +1 -1
  69. package/dist/style/cdr-popup.css +1 -1
  70. package/dist/style/cdr-quote.css +1 -1
  71. package/dist/style/cdr-radio.css +1 -1
  72. package/dist/style/cdr-rating.css +1 -1
  73. package/dist/style/cdr-select.css +1 -1
  74. package/dist/style/cdr-skeleton-bone.css +1 -1
  75. package/dist/style/cdr-skeleton.css +1 -1
  76. package/dist/style/cdr-switch.css +1 -1
  77. package/dist/style/cdr-tab-panel.css +1 -1
  78. package/dist/style/cdr-table.css +1 -1
  79. package/dist/style/cdr-tabs.css +1 -1
  80. package/dist/style/cdr-text.css +1 -1
  81. package/dist/style/cdr-toast.css +1 -1
  82. package/dist/style/cdr-toggle-button.css +1 -1
  83. package/dist/style/cdr-toggle-group.css +1 -1
  84. package/dist/style/cdr-tooltip.css +1 -1
  85. package/dist/style.css +1 -1
  86. package/package.json +1 -1
@@ -161,193 +161,6 @@
161
161
  "./src/components/accordion/CdrAccordionGroup.vue"
162
162
  ]
163
163
  },
164
- "CdrButton": {
165
- "displayName": "CdrButton",
166
- "description": "Initiates an action, such as completing a task or submitting information",
167
- "tags": {},
168
- "exportName": "default",
169
- "props": [
170
- {
171
- "name": "tag",
172
- "description": "Renders CdrButton as a <button> or <a> element. When using the value of <a>, this element renders as an anchor link.",
173
- "tags": {
174
- "demoIgnore": [
175
- {
176
- "description": "true",
177
- "title": "demoIgnore"
178
- }
179
- ]
180
- },
181
- "values": [
182
- "button",
183
- "a"
184
- ],
185
- "type": {
186
- "name": "string"
187
- },
188
- "defaultValue": {
189
- "func": false,
190
- "value": "'button'"
191
- }
192
- },
193
- {
194
- "name": "type",
195
- "description": "Sets the button type",
196
- "tags": {
197
- "demoIgnore": [
198
- {
199
- "description": "true",
200
- "title": "demoIgnore"
201
- }
202
- ]
203
- },
204
- "values": [
205
- "button",
206
- "submit",
207
- "reset"
208
- ],
209
- "type": {
210
- "name": "string"
211
- },
212
- "defaultValue": {
213
- "func": false,
214
- "value": "'button'"
215
- }
216
- },
217
- {
218
- "name": "modifier",
219
- "description": "Modifies the style variant for this component",
220
- "tags": {
221
- "demoSelectMultiple": [
222
- {
223
- "description": "false",
224
- "title": "demoSelectMultiple"
225
- }
226
- ]
227
- },
228
- "values": [
229
- "primary",
230
- "secondary",
231
- "sale",
232
- "dark",
233
- "link"
234
- ],
235
- "type": {
236
- "name": "string"
237
- },
238
- "defaultValue": {
239
- "func": false,
240
- "value": "'primary'"
241
- }
242
- },
243
- {
244
- "name": "size",
245
- "description": "Sets the button size; values can target responsive breakpoints. Example: `large@sm`.",
246
- "tags": {
247
- "demoSelectMultiple": [
248
- {
249
- "description": "false",
250
- "title": "demoSelectMultiple"
251
- }
252
- ]
253
- },
254
- "values": [
255
- "small",
256
- "medium",
257
- "large"
258
- ],
259
- "type": {
260
- "name": "string"
261
- },
262
- "defaultValue": {
263
- "func": false,
264
- "value": "'medium'"
265
- }
266
- },
267
- {
268
- "name": "fullWidth",
269
- "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.",
270
- "type": {
271
- "name": "string|boolean"
272
- },
273
- "defaultValue": {
274
- "func": false,
275
- "value": false
276
- }
277
- },
278
- {
279
- "name": "iconOnly",
280
- "description": "Renders an 'icon-only' button. When this value is true, it will override the size and 'responsiveSize' props. Can be used in conjunction with 'with-background'",
281
- "type": {
282
- "name": "boolean"
283
- },
284
- "defaultValue": {
285
- "func": false,
286
- "value": false
287
- }
288
- },
289
- {
290
- "name": "withBackground",
291
- "description": "Renders an 'icon-only' button with a background color and border. Must be used in conjunction with the 'iconOnly' prop.",
292
- "type": {
293
- "name": "boolean"
294
- },
295
- "defaultValue": {
296
- "func": false,
297
- "value": false
298
- }
299
- }
300
- ],
301
- "slots": [
302
- {
303
- "name": "icon-left",
304
- "description": "Icon to the left of text content"
305
- },
306
- {
307
- "name": "icon",
308
- "description": "Icon for icon-only button"
309
- },
310
- {
311
- "name": "default",
312
- "description": "Readable text of the button. Leave empty if icon-only"
313
- },
314
- {
315
- "name": "icon-right",
316
- "description": "Icon to the right of text content"
317
- }
318
- ],
319
- "sourceFiles": [
320
- "./src/components/button/CdrButton.vue"
321
- ]
322
- },
323
- "CdrCard": {
324
- "displayName": "CdrCard",
325
- "description": "Related, interactive containers linking to a single subject or destination",
326
- "tags": {},
327
- "exportName": "default",
328
- "props": [
329
- {
330
- "name": "tag",
331
- "description": "Sets valid HTML container element tag.",
332
- "type": {
333
- "name": "string"
334
- },
335
- "defaultValue": {
336
- "func": false,
337
- "value": "'article'"
338
- }
339
- }
340
- ],
341
- "slots": [
342
- {
343
- "name": "default",
344
- "description": "CdrCard content"
345
- }
346
- ],
347
- "sourceFiles": [
348
- "./src/components/card/CdrCard.vue"
349
- ]
350
- },
351
164
  "CdrBreadcrumb": {
352
165
  "displayName": "CdrBreadcrumb",
353
166
  "description": "Navigation used to reveal a page's location within the site hierarchy",
@@ -489,15 +302,15 @@
489
302
  "./src/components/banner/CdrBanner.vue"
490
303
  ]
491
304
  },
492
- "CdrCaption": {
493
- "displayName": "CdrCaption",
494
- "description": "Provides context and credit for an asset such as an image, video, or chart",
305
+ "CdrButton": {
306
+ "displayName": "CdrButton",
307
+ "description": "Initiates an action, such as completing a task or submitting information",
495
308
  "tags": {},
496
309
  "exportName": "default",
497
310
  "props": [
498
311
  {
499
- "name": "summary",
500
- "description": "Sets the string content for the description body of the caption.",
312
+ "name": "tag",
313
+ "description": "Renders CdrButton as a <button> or <a> element. When using the value of <a>, this element renders as an anchor link.",
501
314
  "tags": {
502
315
  "demoIgnore": [
503
316
  {
@@ -506,13 +319,21 @@
506
319
  }
507
320
  ]
508
321
  },
322
+ "values": [
323
+ "button",
324
+ "a"
325
+ ],
509
326
  "type": {
510
327
  "name": "string"
328
+ },
329
+ "defaultValue": {
330
+ "func": false,
331
+ "value": "'button'"
511
332
  }
512
333
  },
513
334
  {
514
- "name": "credit",
515
- "description": "Sets the string content for attribution.",
335
+ "name": "type",
336
+ "description": "Sets the button type",
516
337
  "tags": {
517
338
  "demoIgnore": [
518
339
  {
@@ -521,13 +342,123 @@
521
342
  }
522
343
  ]
523
344
  },
345
+ "values": [
346
+ "button",
347
+ "submit",
348
+ "reset"
349
+ ],
350
+ "type": {
351
+ "name": "string"
352
+ },
353
+ "defaultValue": {
354
+ "func": false,
355
+ "value": "'button'"
356
+ }
357
+ },
358
+ {
359
+ "name": "modifier",
360
+ "description": "Modifies the style variant for this component",
361
+ "tags": {
362
+ "demoSelectMultiple": [
363
+ {
364
+ "description": "false",
365
+ "title": "demoSelectMultiple"
366
+ }
367
+ ]
368
+ },
369
+ "values": [
370
+ "primary",
371
+ "secondary",
372
+ "sale",
373
+ "dark",
374
+ "link"
375
+ ],
376
+ "type": {
377
+ "name": "string"
378
+ },
379
+ "defaultValue": {
380
+ "func": false,
381
+ "value": "'primary'"
382
+ }
383
+ },
384
+ {
385
+ "name": "size",
386
+ "description": "Sets the button size; values can target responsive breakpoints. Example: `large@sm`.",
387
+ "tags": {
388
+ "demoSelectMultiple": [
389
+ {
390
+ "description": "false",
391
+ "title": "demoSelectMultiple"
392
+ }
393
+ ]
394
+ },
395
+ "values": [
396
+ "small",
397
+ "medium",
398
+ "large"
399
+ ],
524
400
  "type": {
525
401
  "name": "string"
402
+ },
403
+ "defaultValue": {
404
+ "func": false,
405
+ "value": "'medium'"
406
+ }
407
+ },
408
+ {
409
+ "name": "fullWidth",
410
+ "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.",
411
+ "type": {
412
+ "name": "string|boolean"
413
+ },
414
+ "defaultValue": {
415
+ "func": false,
416
+ "value": false
417
+ }
418
+ },
419
+ {
420
+ "name": "iconOnly",
421
+ "description": "Renders an 'icon-only' button. When this value is true, it will override the size and 'responsiveSize' props. Can be used in conjunction with 'with-background'",
422
+ "type": {
423
+ "name": "boolean"
424
+ },
425
+ "defaultValue": {
426
+ "func": false,
427
+ "value": false
428
+ }
429
+ },
430
+ {
431
+ "name": "withBackground",
432
+ "description": "Renders an 'icon-only' button with a background color and border. Must be used in conjunction with the 'iconOnly' prop.",
433
+ "type": {
434
+ "name": "boolean"
435
+ },
436
+ "defaultValue": {
437
+ "func": false,
438
+ "value": false
526
439
  }
527
440
  }
528
441
  ],
442
+ "slots": [
443
+ {
444
+ "name": "icon-left",
445
+ "description": "Icon to the left of text content"
446
+ },
447
+ {
448
+ "name": "icon",
449
+ "description": "Icon for icon-only button"
450
+ },
451
+ {
452
+ "name": "default",
453
+ "description": "Readable text of the button. Leave empty if icon-only"
454
+ },
455
+ {
456
+ "name": "icon-right",
457
+ "description": "Icon to the right of text content"
458
+ }
459
+ ],
529
460
  "sourceFiles": [
530
- "./src/components/caption/CdrCaption.vue"
461
+ "./src/components/button/CdrButton.vue"
531
462
  ]
532
463
  },
533
464
  "CdrCheckbox": {
@@ -693,55 +624,73 @@
693
624
  "./src/components/checkbox/CdrCheckbox.vue"
694
625
  ]
695
626
  },
696
- "CdrContainer": {
697
- "displayName": "CdrContainer",
698
- "description": "Provides base margins and responsive layout logic for pages",
627
+ "CdrCaption": {
628
+ "displayName": "CdrCaption",
629
+ "description": "Provides context and credit for an asset such as an image, video, or chart",
699
630
  "tags": {},
700
631
  "exportName": "default",
701
632
  "props": [
702
633
  {
703
- "name": "tag",
704
- "description": "Sets the HTML tag for the container element",
634
+ "name": "summary",
635
+ "description": "Sets the string content for the description body of the caption.",
636
+ "tags": {
637
+ "demoIgnore": [
638
+ {
639
+ "description": "true",
640
+ "title": "demoIgnore"
641
+ }
642
+ ]
643
+ },
705
644
  "type": {
706
645
  "name": "string"
707
- },
708
- "defaultValue": {
709
- "func": false,
710
- "value": "'div'"
711
646
  }
712
647
  },
713
648
  {
714
- "name": "modifier",
715
- "description": "Controls whether container is static or fluid width.",
649
+ "name": "credit",
650
+ "description": "Sets the string content for attribution.",
716
651
  "tags": {
717
- "demoSelectMultiple": [
652
+ "demoIgnore": [
718
653
  {
719
- "description": "false",
720
- "title": "demoSelectMultiple"
654
+ "description": "true",
655
+ "title": "demoIgnore"
721
656
  }
722
657
  ]
723
658
  },
724
- "values": [
725
- "static",
726
- "fluid"
727
- ],
659
+ "type": {
660
+ "name": "string"
661
+ }
662
+ }
663
+ ],
664
+ "sourceFiles": [
665
+ "./src/components/caption/CdrCaption.vue"
666
+ ]
667
+ },
668
+ "CdrCard": {
669
+ "displayName": "CdrCard",
670
+ "description": "Related, interactive containers linking to a single subject or destination",
671
+ "tags": {},
672
+ "exportName": "default",
673
+ "props": [
674
+ {
675
+ "name": "tag",
676
+ "description": "Sets valid HTML container element tag.",
728
677
  "type": {
729
678
  "name": "string"
730
679
  },
731
680
  "defaultValue": {
732
681
  "func": false,
733
- "value": "'static'"
682
+ "value": "'article'"
734
683
  }
735
684
  }
736
685
  ],
737
686
  "slots": [
738
687
  {
739
688
  "name": "default",
740
- "description": "CdrContainer content"
689
+ "description": "CdrCard content"
741
690
  }
742
691
  ],
743
692
  "sourceFiles": [
744
- "./src/components/container/CdrContainer.vue"
693
+ "./src/components/card/CdrCard.vue"
745
694
  ]
746
695
  },
747
696
  "CdrChip": {
@@ -750,21 +699,112 @@
750
699
  "tags": {},
751
700
  "exportName": "default",
752
701
  "slots": [
753
- {
754
- "name": "icon-left",
755
- "description": "Icon to the left of the content"
756
- },
757
- {
758
- "name": "icon-right",
759
- "description": "Icon to the right of the content"
760
- },
702
+ {
703
+ "name": "icon-left",
704
+ "description": "Icon to the left of the content"
705
+ },
706
+ {
707
+ "name": "icon-right",
708
+ "description": "Icon to the right of the content"
709
+ },
710
+ {
711
+ "name": "default",
712
+ "description": "Primary CdrChip content"
713
+ }
714
+ ],
715
+ "sourceFiles": [
716
+ "./src/components/chip/CdrChip.vue"
717
+ ]
718
+ },
719
+ "CdrChipGroup": {
720
+ "displayName": "CdrChipGroup",
721
+ "exportName": "default",
722
+ "description": "",
723
+ "tags": {},
724
+ "props": [
725
+ {
726
+ "name": "label",
727
+ "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.",
728
+ "type": {
729
+ "name": "string"
730
+ },
731
+ "required": true
732
+ },
733
+ {
734
+ "name": "hideLabel",
735
+ "description": "Visually hides the chip group label but makes it accessible to screen readers.",
736
+ "type": {
737
+ "name": "boolean"
738
+ },
739
+ "defaultValue": {
740
+ "func": false,
741
+ "value": true
742
+ }
743
+ }
744
+ ],
745
+ "slots": [
746
+ {
747
+ "name": "label",
748
+ "description": "Override CdrChip label content with a custom element"
749
+ },
750
+ {
751
+ "name": "default",
752
+ "description": "CdrChipGroup content (CdrChip components)"
753
+ }
754
+ ],
755
+ "sourceFiles": [
756
+ "./src/components/chip/CdrChipGroup.vue"
757
+ ]
758
+ },
759
+ "CdrContainer": {
760
+ "displayName": "CdrContainer",
761
+ "description": "Provides base margins and responsive layout logic for pages",
762
+ "tags": {},
763
+ "exportName": "default",
764
+ "props": [
765
+ {
766
+ "name": "tag",
767
+ "description": "Sets the HTML tag for the container element",
768
+ "type": {
769
+ "name": "string"
770
+ },
771
+ "defaultValue": {
772
+ "func": false,
773
+ "value": "'div'"
774
+ }
775
+ },
776
+ {
777
+ "name": "modifier",
778
+ "description": "Controls whether container is static or fluid width.",
779
+ "tags": {
780
+ "demoSelectMultiple": [
781
+ {
782
+ "description": "false",
783
+ "title": "demoSelectMultiple"
784
+ }
785
+ ]
786
+ },
787
+ "values": [
788
+ "static",
789
+ "fluid"
790
+ ],
791
+ "type": {
792
+ "name": "string"
793
+ },
794
+ "defaultValue": {
795
+ "func": false,
796
+ "value": "'static'"
797
+ }
798
+ }
799
+ ],
800
+ "slots": [
761
801
  {
762
802
  "name": "default",
763
- "description": "Primary CdrChip content"
803
+ "description": "CdrContainer content"
764
804
  }
765
805
  ],
766
806
  "sourceFiles": [
767
- "./src/components/chip/CdrChip.vue"
807
+ "./src/components/container/CdrContainer.vue"
768
808
  ]
769
809
  },
770
810
  "CdrFormError": {
@@ -789,46 +829,6 @@
789
829
  "./src/components/formError/CdrFormError.vue"
790
830
  ]
791
831
  },
792
- "CdrChipGroup": {
793
- "displayName": "CdrChipGroup",
794
- "exportName": "default",
795
- "description": "",
796
- "tags": {},
797
- "props": [
798
- {
799
- "name": "label",
800
- "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.",
801
- "type": {
802
- "name": "string"
803
- },
804
- "required": true
805
- },
806
- {
807
- "name": "hideLabel",
808
- "description": "Visually hides the chip group label but makes it accessible to screen readers.",
809
- "type": {
810
- "name": "boolean"
811
- },
812
- "defaultValue": {
813
- "func": false,
814
- "value": true
815
- }
816
- }
817
- ],
818
- "slots": [
819
- {
820
- "name": "label",
821
- "description": "Override CdrChip label content with a custom element"
822
- },
823
- {
824
- "name": "default",
825
- "description": "CdrChipGroup content (CdrChip components)"
826
- }
827
- ],
828
- "sourceFiles": [
829
- "./src/components/chip/CdrChipGroup.vue"
830
- ]
831
- },
832
832
  "CdrFormGroup": {
833
833
  "displayName": "CdrFormGroup",
834
834
  "description": "Groups related input elements together",
@@ -1109,206 +1109,23 @@
1109
1109
  {
1110
1110
  "description": "false",
1111
1111
  "title": "demoSelectMultiple"
1112
- }
1113
- ]
1114
- },
1115
- "values": [
1116
- "responsive"
1117
- ],
1118
- "type": {
1119
- "name": "string"
1120
- },
1121
- "defaultValue": {
1122
- "func": false,
1123
- "value": "''"
1124
- }
1125
- }
1126
- ],
1127
- "sourceFiles": [
1128
- "./src/components/image/CdrImg.vue"
1129
- ]
1130
- },
1131
- "CdrLabelStandalone": {
1132
- "displayName": "CdrLabelStandalone",
1133
- "exportName": "default",
1134
- "description": "",
1135
- "tags": {},
1136
- "props": [
1137
- {
1138
- "name": "forId",
1139
- "type": {
1140
- "name": "string"
1141
- },
1142
- "required": true
1143
- },
1144
- {
1145
- "name": "label",
1146
- "type": {
1147
- "name": "string"
1148
- }
1149
- },
1150
- {
1151
- "name": "disabled",
1152
- "type": {
1153
- "name": "boolean"
1154
- }
1155
- },
1156
- {
1157
- "name": "required",
1158
- "type": {
1159
- "name": "boolean"
1160
- }
1161
- },
1162
- {
1163
- "name": "optional",
1164
- "type": {
1165
- "name": "boolean"
1166
- }
1167
- },
1168
- {
1169
- "name": "hideLabel",
1170
- "type": {
1171
- "name": "boolean"
1172
- }
1173
- }
1174
- ],
1175
- "slots": [
1176
- {
1177
- "name": "helper"
1178
- },
1179
- {
1180
- "name": "default"
1181
- },
1182
- {
1183
- "name": "info-action"
1184
- },
1185
- {
1186
- "name": "info"
1187
- },
1188
- {
1189
- "name": "helper-text-bottom"
1190
- },
1191
- {
1192
- "name": "error"
1193
- }
1194
- ],
1195
- "sourceFiles": [
1196
- "./src/components/labelStandalone/CdrLabelStandalone.vue"
1197
- ]
1198
- },
1199
- "CdrPagination": {
1200
- "displayName": "CdrPagination",
1201
- "description": "Allows people to navigate to the next or previous page within an experience",
1202
- "tags": {},
1203
- "exportName": "default",
1204
- "props": [
1205
- {
1206
- "name": "id",
1207
- "description": "Define a custom slug for the generated breadcrumb item IDs. Slug is randomly generated if no ID provided.",
1208
- "tags": {
1209
- "demoIgnore": [
1210
- {
1211
- "description": "true",
1212
- "title": "demoIgnore"
1213
- }
1214
- ]
1215
- },
1216
- "type": {
1217
- "name": "string"
1218
- }
1219
- },
1220
- {
1221
- "name": "totalPages",
1222
- "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.",
1223
- "type": {
1224
- "name": "number"
1225
- },
1226
- "defaultValue": {
1227
- "func": false,
1228
- "value": "null"
1229
- }
1230
- },
1231
- {
1232
- "name": "pages",
1233
- "description": "Array of objects containing pagination data.\nObjects must have structure of `{ page: number, url: string }`",
1234
- "type": {
1235
- "name": "array"
1236
- },
1237
- "required": true
1238
- },
1239
- {
1240
- "name": "linkTag",
1241
- "description": "Sets which tag type is used to render pagination elements",
1242
- "tags": {},
1243
- "values": [
1244
- "a",
1245
- "button"
1246
- ],
1247
- "type": {
1248
- "name": "string"
1249
- },
1250
- "defaultValue": {
1251
- "func": false,
1252
- "value": "'a'"
1253
- }
1254
- },
1255
- {
1256
- "name": "forLabel",
1257
- "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`",
1258
- "type": {
1259
- "name": "string"
1260
- },
1261
- "defaultValue": {
1262
- "func": false,
1263
- "value": "''"
1264
- }
1265
- },
1266
- {
1267
- "name": "modelValue",
1268
- "tags": {
1269
- "ignore": [
1270
- {
1271
- "description": "used for binding v-model, represents the current page",
1272
- "title": "ignore"
1273
- }
1274
- ]
1275
- },
1276
- "type": {
1277
- "name": "number"
1278
- }
1279
- }
1280
- ],
1281
- "events": [
1282
- {
1283
- "name": "update:modelValue",
1284
- "description": "Event emitted by v-model on the select <input> element to indicate current page.\nOnly used on small devices",
1285
- "properties": [
1286
- {
1287
- "type": {
1288
- "names": [
1289
- "mixed"
1290
- ]
1291
- },
1292
- "name": "modelValue"
1293
- }
1294
- ],
1295
- "tags": [
1296
- {
1297
- "title": "param",
1298
- "type": {
1299
- "name": "mixed"
1300
- },
1301
- "name": "modelValue"
1302
- }
1303
- ]
1304
- },
1305
- {
1306
- "name": "navigate",
1307
- "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."
1112
+ }
1113
+ ]
1114
+ },
1115
+ "values": [
1116
+ "responsive"
1117
+ ],
1118
+ "type": {
1119
+ "name": "string"
1120
+ },
1121
+ "defaultValue": {
1122
+ "func": false,
1123
+ "value": "''"
1124
+ }
1308
1125
  }
1309
1126
  ],
1310
1127
  "sourceFiles": [
1311
- "./src/components/pagination/CdrPagination.vue"
1128
+ "./src/components/image/CdrImg.vue"
1312
1129
  ]
1313
1130
  },
1314
1131
  "CdrInput": {
@@ -1542,6 +1359,129 @@
1542
1359
  "./src/components/input/CdrInput.vue"
1543
1360
  ]
1544
1361
  },
1362
+ "CdrLabelStandalone": {
1363
+ "displayName": "CdrLabelStandalone",
1364
+ "exportName": "default",
1365
+ "description": "",
1366
+ "tags": {},
1367
+ "props": [
1368
+ {
1369
+ "name": "forId",
1370
+ "type": {
1371
+ "name": "string"
1372
+ },
1373
+ "required": true
1374
+ },
1375
+ {
1376
+ "name": "label",
1377
+ "type": {
1378
+ "name": "string"
1379
+ }
1380
+ },
1381
+ {
1382
+ "name": "disabled",
1383
+ "type": {
1384
+ "name": "boolean"
1385
+ }
1386
+ },
1387
+ {
1388
+ "name": "required",
1389
+ "type": {
1390
+ "name": "boolean"
1391
+ }
1392
+ },
1393
+ {
1394
+ "name": "optional",
1395
+ "type": {
1396
+ "name": "boolean"
1397
+ }
1398
+ },
1399
+ {
1400
+ "name": "hideLabel",
1401
+ "type": {
1402
+ "name": "boolean"
1403
+ }
1404
+ }
1405
+ ],
1406
+ "slots": [
1407
+ {
1408
+ "name": "helper"
1409
+ },
1410
+ {
1411
+ "name": "default"
1412
+ },
1413
+ {
1414
+ "name": "info-action"
1415
+ },
1416
+ {
1417
+ "name": "info"
1418
+ },
1419
+ {
1420
+ "name": "helper-text-bottom"
1421
+ },
1422
+ {
1423
+ "name": "error"
1424
+ }
1425
+ ],
1426
+ "sourceFiles": [
1427
+ "./src/components/labelStandalone/CdrLabelStandalone.vue"
1428
+ ]
1429
+ },
1430
+ "CdrLabelWrapper": {
1431
+ "displayName": "CdrLabelWrapper",
1432
+ "exportName": "default",
1433
+ "description": "",
1434
+ "tags": {},
1435
+ "props": [
1436
+ {
1437
+ "name": "labelClass",
1438
+ "type": {
1439
+ "name": "string"
1440
+ }
1441
+ },
1442
+ {
1443
+ "name": "contentClass",
1444
+ "type": {
1445
+ "name": "string"
1446
+ }
1447
+ },
1448
+ {
1449
+ "name": "background",
1450
+ "type": {
1451
+ "name": "backgroundProps"
1452
+ }
1453
+ },
1454
+ {
1455
+ "name": "disabled",
1456
+ "type": {
1457
+ "name": "boolean"
1458
+ }
1459
+ },
1460
+ {
1461
+ "name": "modifier",
1462
+ "type": {
1463
+ "name": "string"
1464
+ }
1465
+ },
1466
+ {
1467
+ "name": "size",
1468
+ "type": {
1469
+ "name": "string"
1470
+ }
1471
+ }
1472
+ ],
1473
+ "slots": [
1474
+ {
1475
+ "name": "input"
1476
+ },
1477
+ {
1478
+ "name": "default"
1479
+ }
1480
+ ],
1481
+ "sourceFiles": [
1482
+ "./src/components/labelWrapper/CdrLabelWrapper.vue"
1483
+ ]
1484
+ },
1545
1485
  "CdrLink": {
1546
1486
  "displayName": "CdrLink",
1547
1487
  "description": "Clickable text elements used for navigating to other pages or sections",
@@ -1837,6 +1777,121 @@
1837
1777
  "./src/components/modal/CdrModal.vue"
1838
1778
  ]
1839
1779
  },
1780
+ "CdrPagination": {
1781
+ "displayName": "CdrPagination",
1782
+ "description": "Allows people to navigate to the next or previous page within an experience",
1783
+ "tags": {},
1784
+ "exportName": "default",
1785
+ "props": [
1786
+ {
1787
+ "name": "id",
1788
+ "description": "Define a custom slug for the generated breadcrumb item IDs. Slug is randomly generated if no ID provided.",
1789
+ "tags": {
1790
+ "demoIgnore": [
1791
+ {
1792
+ "description": "true",
1793
+ "title": "demoIgnore"
1794
+ }
1795
+ ]
1796
+ },
1797
+ "type": {
1798
+ "name": "string"
1799
+ }
1800
+ },
1801
+ {
1802
+ "name": "totalPages",
1803
+ "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.",
1804
+ "type": {
1805
+ "name": "number"
1806
+ },
1807
+ "defaultValue": {
1808
+ "func": false,
1809
+ "value": "null"
1810
+ }
1811
+ },
1812
+ {
1813
+ "name": "pages",
1814
+ "description": "Array of objects containing pagination data.\nObjects must have structure of `{ page: number, url: string }`",
1815
+ "type": {
1816
+ "name": "array"
1817
+ },
1818
+ "required": true
1819
+ },
1820
+ {
1821
+ "name": "linkTag",
1822
+ "description": "Sets which tag type is used to render pagination elements",
1823
+ "tags": {},
1824
+ "values": [
1825
+ "a",
1826
+ "button"
1827
+ ],
1828
+ "type": {
1829
+ "name": "string"
1830
+ },
1831
+ "defaultValue": {
1832
+ "func": false,
1833
+ "value": "'a'"
1834
+ }
1835
+ },
1836
+ {
1837
+ "name": "forLabel",
1838
+ "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`",
1839
+ "type": {
1840
+ "name": "string"
1841
+ },
1842
+ "defaultValue": {
1843
+ "func": false,
1844
+ "value": "''"
1845
+ }
1846
+ },
1847
+ {
1848
+ "name": "modelValue",
1849
+ "tags": {
1850
+ "ignore": [
1851
+ {
1852
+ "description": "used for binding v-model, represents the current page",
1853
+ "title": "ignore"
1854
+ }
1855
+ ]
1856
+ },
1857
+ "type": {
1858
+ "name": "number"
1859
+ }
1860
+ }
1861
+ ],
1862
+ "events": [
1863
+ {
1864
+ "name": "update:modelValue",
1865
+ "description": "Event emitted by v-model on the select <input> element to indicate current page.\nOnly used on small devices",
1866
+ "properties": [
1867
+ {
1868
+ "type": {
1869
+ "names": [
1870
+ "mixed"
1871
+ ]
1872
+ },
1873
+ "name": "modelValue"
1874
+ }
1875
+ ],
1876
+ "tags": [
1877
+ {
1878
+ "title": "param",
1879
+ "type": {
1880
+ "name": "mixed"
1881
+ },
1882
+ "name": "modelValue"
1883
+ }
1884
+ ]
1885
+ },
1886
+ {
1887
+ "name": "navigate",
1888
+ "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."
1889
+ }
1890
+ ],
1891
+ "sourceFiles": [
1892
+ "./src/components/pagination/CdrPagination.vue"
1893
+ ]
1894
+ },
1840
1895
  "CdrPopover": {
1841
1896
  "displayName": "CdrPopover",
1842
1897
  "description": "Small overlay used to display contextual information",
@@ -1955,60 +2010,63 @@
1955
2010
  "sourceFiles": [
1956
2011
  "./src/components/popover/CdrPopover.vue"
1957
2012
  ]
1958
- },
1959
- "CdrLabelWrapper": {
1960
- "displayName": "CdrLabelWrapper",
2013
+ },
2014
+ "CdrPopup": {
2015
+ "displayName": "CdrPopup",
1961
2016
  "exportName": "default",
1962
2017
  "description": "",
1963
2018
  "tags": {},
1964
2019
  "props": [
1965
2020
  {
1966
- "name": "labelClass",
2021
+ "name": "opened",
1967
2022
  "type": {
1968
- "name": "string"
2023
+ "name": "boolean"
2024
+ },
2025
+ "defaultValue": {
2026
+ "func": false,
2027
+ "value": false
1969
2028
  }
1970
2029
  },
1971
2030
  {
1972
- "name": "contentClass",
2031
+ "name": "position",
1973
2032
  "type": {
1974
2033
  "name": "string"
2034
+ },
2035
+ "required": false,
2036
+ "defaultValue": {
2037
+ "func": false,
2038
+ "value": "'top'"
1975
2039
  }
1976
2040
  },
1977
2041
  {
1978
- "name": "background",
1979
- "type": {
1980
- "name": "backgroundProps"
1981
- }
1982
- },
1983
- {
1984
- "name": "disabled",
2042
+ "name": "autoPosition",
1985
2043
  "type": {
1986
2044
  "name": "boolean"
2045
+ },
2046
+ "defaultValue": {
2047
+ "func": false,
2048
+ "value": true
1987
2049
  }
1988
2050
  },
1989
2051
  {
1990
- "name": "modifier",
2052
+ "name": "contentClass",
1991
2053
  "type": {
1992
2054
  "name": "string"
1993
2055
  }
1994
- },
2056
+ }
2057
+ ],
2058
+ "events": [
1995
2059
  {
1996
- "name": "size",
1997
- "type": {
1998
- "name": "string"
1999
- }
2060
+ "name": "closed"
2000
2061
  }
2001
2062
  ],
2002
2063
  "slots": [
2003
- {
2004
- "name": "input"
2005
- },
2006
2064
  {
2007
2065
  "name": "default"
2008
2066
  }
2009
2067
  ],
2010
2068
  "sourceFiles": [
2011
- "./src/components/labelWrapper/CdrLabelWrapper.vue"
2069
+ "./src/components/popup/CdrPopup.vue"
2012
2070
  ]
2013
2071
  },
2014
2072
  "CdrQuote": {
@@ -2081,64 +2139,6 @@
2081
2139
  "./src/components/quote/CdrQuote.vue"
2082
2140
  ]
2083
2141
  },
2084
- "CdrPopup": {
2085
- "displayName": "CdrPopup",
2086
- "exportName": "default",
2087
- "description": "",
2088
- "tags": {},
2089
- "props": [
2090
- {
2091
- "name": "opened",
2092
- "type": {
2093
- "name": "boolean"
2094
- },
2095
- "defaultValue": {
2096
- "func": false,
2097
- "value": false
2098
- }
2099
- },
2100
- {
2101
- "name": "position",
2102
- "type": {
2103
- "name": "string"
2104
- },
2105
- "required": false,
2106
- "defaultValue": {
2107
- "func": false,
2108
- "value": "'top'"
2109
- }
2110
- },
2111
- {
2112
- "name": "autoPosition",
2113
- "type": {
2114
- "name": "boolean"
2115
- },
2116
- "defaultValue": {
2117
- "func": false,
2118
- "value": true
2119
- }
2120
- },
2121
- {
2122
- "name": "contentClass",
2123
- "type": {
2124
- "name": "string"
2125
- }
2126
- }
2127
- ],
2128
- "events": [
2129
- {
2130
- "name": "closed"
2131
- }
2132
- ],
2133
- "slots": [
2134
- {
2135
- "name": "default"
2136
- }
2137
- ],
2138
- "sourceFiles": [
2139
- "./src/components/popup/CdrPopup.vue"
2140
- ]
2141
- },
2142
2142
  "CdrRadio": {
2143
2143
  "displayName": "CdrRadio",
2144
2144
  "description": "Permits the selection of only one option from a list of two or more",
@@ -2284,6 +2284,132 @@
2284
2284
  "./src/components/radio/CdrRadio.vue"
2285
2285
  ]
2286
2286
  },
2287
+ "CdrSkeleton": {
2288
+ "displayName": "CdrSkeleton",
2289
+ "description": "Visually communicates content is in the process of loading",
2290
+ "tags": {},
2291
+ "exportName": "default",
2292
+ "props": [
2293
+ {
2294
+ "name": "motion",
2295
+ "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.",
2296
+ "type": {
2297
+ "name": "boolean"
2298
+ },
2299
+ "defaultValue": {
2300
+ "func": false,
2301
+ "value": true
2302
+ }
2303
+ }
2304
+ ],
2305
+ "slots": [
2306
+ {
2307
+ "name": "default",
2308
+ "description": "CdrSkeleton content (CdrSkeletonBone components)"
2309
+ }
2310
+ ],
2311
+ "sourceFiles": [
2312
+ "./src/components/skeleton/CdrSkeleton.vue"
2313
+ ]
2314
+ },
2315
+ "CdrSwitch": {
2316
+ "displayName": "CdrSwitch",
2317
+ "description": "Permits selection from two opposing options",
2318
+ "tags": {},
2319
+ "exportName": "default",
2320
+ "props": [
2321
+ {
2322
+ "name": "id",
2323
+ "description": "Sets a custom ID for the switch. If this value is not set, it will be auto-generated.",
2324
+ "type": {
2325
+ "name": "string"
2326
+ }
2327
+ },
2328
+ {
2329
+ "name": "size",
2330
+ "description": "Sets the size of the switch",
2331
+ "tags": {
2332
+ "demoSelectMultiple": [
2333
+ {
2334
+ "description": "false",
2335
+ "title": "demoSelectMultiple"
2336
+ }
2337
+ ]
2338
+ },
2339
+ "values": [
2340
+ "medium",
2341
+ "large"
2342
+ ],
2343
+ "type": {
2344
+ "name": "string"
2345
+ },
2346
+ "defaultValue": {
2347
+ "func": false,
2348
+ "value": "'medium'"
2349
+ }
2350
+ },
2351
+ {
2352
+ "name": "fullWidth",
2353
+ "description": "Sets the label and switch to expand to the full width of its container with `space-between`",
2354
+ "type": {
2355
+ "name": "boolean"
2356
+ },
2357
+ "defaultValue": {
2358
+ "func": false,
2359
+ "value": false
2360
+ }
2361
+ },
2362
+ {
2363
+ "name": "modelValue",
2364
+ "tags": {
2365
+ "demoIgnore": [
2366
+ {
2367
+ "description": "true",
2368
+ "title": "demoIgnore"
2369
+ }
2370
+ ]
2371
+ },
2372
+ "type": {
2373
+ "name": "boolean"
2374
+ },
2375
+ "required": true
2376
+ }
2377
+ ],
2378
+ "events": [
2379
+ {
2380
+ "name": "update:modelValue",
2381
+ "description": "Event emitted by v-model on switch",
2382
+ "properties": [
2383
+ {
2384
+ "type": {
2385
+ "names": [
2386
+ "mixed"
2387
+ ]
2388
+ },
2389
+ "name": "modelValue"
2390
+ }
2391
+ ],
2392
+ "tags": [
2393
+ {
2394
+ "title": "param",
2395
+ "type": {
2396
+ "name": "mixed"
2397
+ },
2398
+ "name": "modelValue"
2399
+ }
2400
+ ]
2401
+ }
2402
+ ],
2403
+ "slots": [
2404
+ {
2405
+ "name": "default",
2406
+ "description": "The label for the switch"
2407
+ }
2408
+ ],
2409
+ "sourceFiles": [
2410
+ "./src/components/switch/CdrSwitch.vue"
2411
+ ]
2412
+ },
2287
2413
  "CdrRating": {
2288
2414
  "displayName": "CdrRating",
2289
2415
  "description": "Provides insight into user opinions for products, experiences, and more",
@@ -2361,32 +2487,42 @@
2361
2487
  "./src/components/rating/CdrRating.vue"
2362
2488
  ]
2363
2489
  },
2364
- "CdrSkeleton": {
2365
- "displayName": "CdrSkeleton",
2366
- "description": "Visually communicates content is in the process of loading",
2367
- "tags": {},
2490
+ "CdrSkeletonBone": {
2491
+ "displayName": "CdrSkeletonBone",
2368
2492
  "exportName": "default",
2493
+ "description": "",
2494
+ "tags": {},
2369
2495
  "props": [
2370
2496
  {
2371
- "name": "motion",
2372
- "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.",
2497
+ "name": "type",
2498
+ "description": "Sets the type of content placeholder",
2499
+ "tags": {
2500
+ "demoSelectMultiple": [
2501
+ {
2502
+ "description": "false",
2503
+ "title": "demoSelectMultiple"
2504
+ }
2505
+ ]
2506
+ },
2507
+ "values": [
2508
+ "default",
2509
+ "heading",
2510
+ "line",
2511
+ "rectangle",
2512
+ "square"
2513
+ ],
2373
2514
  "type": {
2374
- "name": "boolean"
2515
+ "name": "string"
2375
2516
  },
2517
+ "required": false,
2376
2518
  "defaultValue": {
2377
2519
  "func": false,
2378
- "value": true
2520
+ "value": "'default'"
2379
2521
  }
2380
2522
  }
2381
2523
  ],
2382
- "slots": [
2383
- {
2384
- "name": "default",
2385
- "description": "CdrSkeleton content (CdrSkeletonBone components)"
2386
- }
2387
- ],
2388
2524
  "sourceFiles": [
2389
- "./src/components/skeleton/CdrSkeleton.vue"
2525
+ "./src/components/skeleton/CdrSkeletonBone.vue"
2390
2526
  ]
2391
2527
  },
2392
2528
  "CdrSelect": {
@@ -2594,142 +2730,6 @@
2594
2730
  "./src/components/select/CdrSelect.vue"
2595
2731
  ]
2596
2732
  },
2597
- "CdrSkeletonBone": {
2598
- "displayName": "CdrSkeletonBone",
2599
- "exportName": "default",
2600
- "description": "",
2601
- "tags": {},
2602
- "props": [
2603
- {
2604
- "name": "type",
2605
- "description": "Sets the type of content placeholder",
2606
- "tags": {
2607
- "demoSelectMultiple": [
2608
- {
2609
- "description": "false",
2610
- "title": "demoSelectMultiple"
2611
- }
2612
- ]
2613
- },
2614
- "values": [
2615
- "default",
2616
- "heading",
2617
- "line",
2618
- "rectangle",
2619
- "square"
2620
- ],
2621
- "type": {
2622
- "name": "string"
2623
- },
2624
- "required": false,
2625
- "defaultValue": {
2626
- "func": false,
2627
- "value": "'default'"
2628
- }
2629
- }
2630
- ],
2631
- "sourceFiles": [
2632
- "./src/components/skeleton/CdrSkeletonBone.vue"
2633
- ]
2634
- },
2635
- "CdrSwitch": {
2636
- "displayName": "CdrSwitch",
2637
- "description": "Permits selection from two opposing options",
2638
- "tags": {},
2639
- "exportName": "default",
2640
- "props": [
2641
- {
2642
- "name": "id",
2643
- "description": "Sets a custom ID for the switch. If this value is not set, it will be auto-generated.",
2644
- "type": {
2645
- "name": "string"
2646
- }
2647
- },
2648
- {
2649
- "name": "size",
2650
- "description": "Sets the size of the switch",
2651
- "tags": {
2652
- "demoSelectMultiple": [
2653
- {
2654
- "description": "false",
2655
- "title": "demoSelectMultiple"
2656
- }
2657
- ]
2658
- },
2659
- "values": [
2660
- "medium",
2661
- "large"
2662
- ],
2663
- "type": {
2664
- "name": "string"
2665
- },
2666
- "defaultValue": {
2667
- "func": false,
2668
- "value": "'medium'"
2669
- }
2670
- },
2671
- {
2672
- "name": "fullWidth",
2673
- "description": "Sets the label and switch to expand to the full width of its container with `space-between`",
2674
- "type": {
2675
- "name": "boolean"
2676
- },
2677
- "defaultValue": {
2678
- "func": false,
2679
- "value": false
2680
- }
2681
- },
2682
- {
2683
- "name": "modelValue",
2684
- "tags": {
2685
- "demoIgnore": [
2686
- {
2687
- "description": "true",
2688
- "title": "demoIgnore"
2689
- }
2690
- ]
2691
- },
2692
- "type": {
2693
- "name": "boolean"
2694
- },
2695
- "required": true
2696
- }
2697
- ],
2698
- "events": [
2699
- {
2700
- "name": "update:modelValue",
2701
- "description": "Event emitted by v-model on switch",
2702
- "properties": [
2703
- {
2704
- "type": {
2705
- "names": [
2706
- "mixed"
2707
- ]
2708
- },
2709
- "name": "modelValue"
2710
- }
2711
- ],
2712
- "tags": [
2713
- {
2714
- "title": "param",
2715
- "type": {
2716
- "name": "mixed"
2717
- },
2718
- "name": "modelValue"
2719
- }
2720
- ]
2721
- }
2722
- ],
2723
- "slots": [
2724
- {
2725
- "name": "default",
2726
- "description": "The label for the switch"
2727
- }
2728
- ],
2729
- "sourceFiles": [
2730
- "./src/components/switch/CdrSwitch.vue"
2731
- ]
2732
- },
2733
2733
  "CdrTable": {
2734
2734
  "displayName": "CdrTable",
2735
2735
  "description": "Organizes structured data for users to easily scan, compare, and analyze",
@@ -2876,6 +2876,34 @@
2876
2876
  "./src/components/tabs/CdrTabPanel.vue"
2877
2877
  ]
2878
2878
  },
2879
+ "CdrText": {
2880
+ "displayName": "CdrText",
2881
+ "description": "Text container used for any text element such as paragraphs, headings, and lists",
2882
+ "tags": {},
2883
+ "exportName": "default",
2884
+ "props": [
2885
+ {
2886
+ "name": "tag",
2887
+ "description": "Sets the HTML tag (p, span, h1, h2, etc)",
2888
+ "type": {
2889
+ "name": "string"
2890
+ },
2891
+ "defaultValue": {
2892
+ "func": false,
2893
+ "value": "'p'"
2894
+ }
2895
+ }
2896
+ ],
2897
+ "slots": [
2898
+ {
2899
+ "name": "default",
2900
+ "description": "CdrText content"
2901
+ }
2902
+ ],
2903
+ "sourceFiles": [
2904
+ "./src/components/text/CdrText.vue"
2905
+ ]
2906
+ },
2879
2907
  "CdrTabs": {
2880
2908
  "displayName": "CdrTabs",
2881
2909
  "description": "Organizes related content into groups for people to navigate between",
@@ -2958,59 +2986,6 @@
2958
2986
  "./src/components/tabs/CdrTabs.vue"
2959
2987
  ]
2960
2988
  },
2961
- "CdrText": {
2962
- "displayName": "CdrText",
2963
- "description": "Text container used for any text element such as paragraphs, headings, and lists",
2964
- "tags": {},
2965
- "exportName": "default",
2966
- "props": [
2967
- {
2968
- "name": "tag",
2969
- "description": "Sets the HTML tag (p, span, h1, h2, etc)",
2970
- "type": {
2971
- "name": "string"
2972
- },
2973
- "defaultValue": {
2974
- "func": false,
2975
- "value": "'p'"
2976
- }
2977
- }
2978
- ],
2979
- "slots": [
2980
- {
2981
- "name": "default",
2982
- "description": "CdrText content"
2983
- }
2984
- ],
2985
- "sourceFiles": [
2986
- "./src/components/text/CdrText.vue"
2987
- ]
2988
- },
2989
- "CdrToggleButton": {
2990
- "displayName": "CdrToggleButton",
2991
- "description": "Permits switching two or more options on and off",
2992
- "tags": {},
2993
- "exportName": "default",
2994
- "props": [
2995
- {
2996
- "name": "toggleValue",
2997
- "description": "Sets the value and aria-label for the toggle button. Display can be overridden using default slot",
2998
- "type": {
2999
- "name": "string"
3000
- },
3001
- "required": true
3002
- }
3003
- ],
3004
- "slots": [
3005
- {
3006
- "name": "default",
3007
- "description": "CdrToggleButton label content"
3008
- }
3009
- ],
3010
- "sourceFiles": [
3011
- "./src/components/toggleButton/CdrToggleButton.vue"
3012
- ]
3013
- },
3014
2989
  "CdrToast": {
3015
2990
  "displayName": "CdrToast",
3016
2991
  "description": "Non-modal dialog used to communicate the status of a task or process",
@@ -3112,6 +3087,31 @@
3112
3087
  "./src/components/toast/CdrToast.vue"
3113
3088
  ]
3114
3089
  },
3090
+ "CdrToggleButton": {
3091
+ "displayName": "CdrToggleButton",
3092
+ "description": "Permits switching two or more options on and off",
3093
+ "tags": {},
3094
+ "exportName": "default",
3095
+ "props": [
3096
+ {
3097
+ "name": "toggleValue",
3098
+ "description": "Sets the value and aria-label for the toggle button. Display can be overridden using default slot",
3099
+ "type": {
3100
+ "name": "string"
3101
+ },
3102
+ "required": true
3103
+ }
3104
+ ],
3105
+ "slots": [
3106
+ {
3107
+ "name": "default",
3108
+ "description": "CdrToggleButton label content"
3109
+ }
3110
+ ],
3111
+ "sourceFiles": [
3112
+ "./src/components/toggleButton/CdrToggleButton.vue"
3113
+ ]
3114
+ },
3115
3115
  "CdrToggleGroup": {
3116
3116
  "displayName": "CdrToggleGroup",
3117
3117
  "exportName": "default",