@rei/cedar 13.5.0-alpha.2 → 13.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/cedar-compiled.css +1031 -1031
  2. package/dist/cedar.umd.js +2 -0
  3. package/dist/component-docgen.json +1226 -1226
  4. package/dist/icon-component-docgen.json +420 -420
  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 +4 -4
  11. package/dist/src/components/card/styles/CdrCard.module.scss.mjs +3 -3
  12. package/dist/src/components/checkbox/CdrCheckbox.vue.mjs +21 -14
  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 +6 -6
  16. package/dist/src/components/container/styles/CdrContainer.module.scss.mjs +4 -4
  17. package/dist/src/components/formError/styles/CdrFormError.module.scss.mjs +2 -2
  18. package/dist/src/components/formGroup/styles/CdrFormGroup.module.scss.mjs +8 -8
  19. package/dist/src/components/grid/styles/CdrGrid.module.scss.mjs +21 -21
  20. package/dist/src/components/icon/styles/CdrIcon.module.scss.mjs +12 -12
  21. package/dist/src/components/image/styles/CdrImg.module.scss.mjs +10 -10
  22. package/dist/src/components/input/styles/CdrInput.module.scss.mjs +34 -34
  23. package/dist/src/components/labelStandalone/styles/CdrLabelStandalone.module.scss.mjs +14 -14
  24. package/dist/src/components/labelWrapper/styles/CdrLabelWrapper.module.scss.mjs +25 -25
  25. package/dist/src/components/link/styles/CdrLink.module.scss.mjs +5 -5
  26. package/dist/src/components/list/styles/CdrList.module.scss.mjs +5 -5
  27. package/dist/src/components/modal/styles/CdrModal.module.scss.mjs +14 -14
  28. package/dist/src/components/pagination/styles/CdrPagination.module.scss.mjs +55 -55
  29. package/dist/src/components/popover/styles/CdrPopover.module.scss.mjs +63 -63
  30. package/dist/src/components/popup/CdrPopup.vue.mjs +14 -14
  31. package/dist/src/components/popup/styles/CdrPopup.module.scss.mjs +14 -14
  32. package/dist/src/components/quote/styles/CdrQuote.module.scss.mjs +4 -4
  33. package/dist/src/components/radio/styles/CdrRadio.module.scss.mjs +27 -27
  34. package/dist/src/components/rating/styles/CdrRating.module.scss.mjs +30 -30
  35. package/dist/src/components/select/styles/CdrSelect.module.scss.mjs +42 -42
  36. package/dist/src/components/skeleton/styles/CdrSkeleton.module.scss.mjs +1 -1
  37. package/dist/src/components/skeleton/styles/CdrSkeletonBone.module.scss.mjs +7 -7
  38. package/dist/src/components/switch/styles/CdrSwitch.module.scss.mjs +8 -8
  39. package/dist/src/components/table/styles/CdrTable.module.scss.mjs +13 -13
  40. package/dist/src/components/tabs/styles/CdrTabPanel.module.scss.mjs +7 -7
  41. package/dist/src/components/tabs/styles/CdrTabs.module.scss.mjs +30 -30
  42. package/dist/src/components/text/styles/CdrText.module.scss.mjs +1 -1
  43. package/dist/src/components/toast/styles/CdrToast.module.scss.mjs +57 -57
  44. package/dist/src/components/toggleButton/styles/CdrToggleButton.module.scss.mjs +2 -2
  45. package/dist/src/components/toggleButton/styles/CdrToggleGroup.module.scss.mjs +5 -5
  46. package/dist/src/components/tooltip/styles/CdrTooltip.module.scss.mjs +16 -16
  47. package/dist/src/lib.mjs +374 -376
  48. package/dist/style/cdr-accordion-group.css +1 -1
  49. package/dist/style/cdr-accordion.css +1 -1
  50. package/dist/style/cdr-banner.css +1 -1
  51. package/dist/style/cdr-breadcrumb.css +1 -1
  52. package/dist/style/cdr-button.css +1 -1
  53. package/dist/style/cdr-caption.css +1 -1
  54. package/dist/style/cdr-card.css +1 -1
  55. package/dist/style/cdr-checkbox.css +1 -1
  56. package/dist/style/cdr-chip-group.css +1 -1
  57. package/dist/style/cdr-chip.css +1 -1
  58. package/dist/style/cdr-container.css +1 -1
  59. package/dist/style/cdr-form-error.css +1 -1
  60. package/dist/style/cdr-form-group.css +1 -1
  61. package/dist/style/cdr-grid.css +1 -1
  62. package/dist/style/cdr-icon.css +1 -1
  63. package/dist/style/cdr-img.css +1 -1
  64. package/dist/style/cdr-input.css +1 -1
  65. package/dist/style/cdr-label-standalone.css +1 -1
  66. package/dist/style/cdr-label-wrapper.css +1 -1
  67. package/dist/style/cdr-link.css +1 -1
  68. package/dist/style/cdr-list.css +1 -1
  69. package/dist/style/cdr-modal.css +1 -1
  70. package/dist/style/cdr-pagination.css +1 -1
  71. package/dist/style/cdr-popover.css +1 -1
  72. package/dist/style/cdr-popup.css +1 -1
  73. package/dist/style/cdr-quote.css +1 -1
  74. package/dist/style/cdr-radio.css +1 -1
  75. package/dist/style/cdr-rating.css +1 -1
  76. package/dist/style/cdr-select.css +1 -1
  77. package/dist/style/cdr-skeleton-bone.css +1 -1
  78. package/dist/style/cdr-skeleton.css +1 -1
  79. package/dist/style/cdr-switch.css +1 -1
  80. package/dist/style/cdr-tab-panel.css +1 -1
  81. package/dist/style/cdr-table.css +1 -1
  82. package/dist/style/cdr-tabs.css +1 -1
  83. package/dist/style/cdr-text.css +1 -1
  84. package/dist/style/cdr-toast.css +1 -1
  85. package/dist/style/cdr-toggle-button.css +1 -1
  86. package/dist/style/cdr-toggle-group.css +1 -1
  87. package/dist/style/cdr-tooltip.css +1 -1
  88. package/dist/style.css +1 -1
  89. package/package.json +4 -3
  90. package/dist/src/component-docgen.json.mjs +0 -2421
@@ -1,40 +1,4 @@
1
1
  {
2
- "CdrAccordionGroup": {
3
- "displayName": "CdrAccordionGroup",
4
- "exportName": "default",
5
- "description": "",
6
- "tags": {},
7
- "props": [
8
- {
9
- "name": "unwrap",
10
- "description": "A prop that will present accordion content as unwrapped. All content is expanded at the provided breakpoints.",
11
- "tags": {},
12
- "values": [
13
- "@xs",
14
- "@sm",
15
- "@md",
16
- "@lg",
17
- "true"
18
- ],
19
- "type": {
20
- "name": "string|boolean"
21
- },
22
- "defaultValue": {
23
- "func": false,
24
- "value": false
25
- }
26
- }
27
- ],
28
- "slots": [
29
- {
30
- "name": "default",
31
- "description": "CdrAccordionGroup content (i.e. CdrAccordion components)"
32
- }
33
- ],
34
- "sourceFiles": [
35
- "./src/components/accordion/CdrAccordionGroup.vue"
36
- ]
37
- },
38
2
  "CdrAccordion": {
39
3
  "displayName": "CdrAccordion",
40
4
  "description": "Vertically-stacked list that allows users to expand and collapse additional content",
@@ -161,186 +125,40 @@
161
125
  "./src/components/accordion/CdrAccordion.vue"
162
126
  ]
163
127
  },
164
- "CdrBreadcrumb": {
165
- "displayName": "CdrBreadcrumb",
166
- "description": "Navigation used to reveal a page's location within the site hierarchy",
167
- "tags": {},
128
+ "CdrAccordionGroup": {
129
+ "displayName": "CdrAccordionGroup",
168
130
  "exportName": "default",
169
- "props": [
170
- {
171
- "name": "items",
172
- "description": "Sets the array of a breadcrumb object containing a 'url' and 'name' property.",
173
- "tags": {
174
- "demoIgnore": [
175
- {
176
- "description": "true",
177
- "title": "demoIgnore"
178
- }
179
- ]
180
- },
181
- "type": {
182
- "name": "array"
183
- },
184
- "defaultValue": {
185
- "func": false,
186
- "value": []
187
- }
188
- },
189
- {
190
- "name": "truncationEnabled",
191
- "description": "Controls the ability to truncate the entire breadcrumb path. If this value is false, truncation will no longer occur.",
192
- "type": {
193
- "name": "boolean"
194
- },
195
- "defaultValue": {
196
- "func": false,
197
- "value": true
198
- }
199
- },
200
- {
201
- "name": "id",
202
- "description": "Define a custom ID for the `<nav>` element. Randomly generated if no ID provided.",
203
- "tags": {
204
- "demoIgnore": [
205
- {
206
- "description": "true",
207
- "title": "demoIgnore"
208
- }
209
- ]
210
- },
211
- "type": {
212
- "name": "string"
213
- }
214
- }
215
- ],
216
- "events": [
217
- {
218
- "name": "navigate",
219
- "description": "Emits when a breadcrumb item is clicked. `e.preventDefault()` may be used to override the default link navigation."
220
- }
221
- ],
222
- "slots": [
223
- {
224
- "name": "link",
225
- "scoped": true,
226
- "bindings": [
227
- {
228
- "name": "class",
229
- "title": "binding"
230
- },
231
- {
232
- "name": "href",
233
- "title": "binding"
234
- },
235
- {
236
- "name": "content",
237
- "title": "binding"
238
- }
239
- ]
240
- }
241
- ],
242
- "sourceFiles": [
243
- "./src/components/breadcrumb/CdrBreadcrumb.vue"
244
- ]
245
- },
246
- "CdrBanner": {
247
- "displayName": "CdrBanner",
248
- "description": "Provides contextual feedback messages for typical user actions",
131
+ "description": "",
249
132
  "tags": {},
250
- "exportName": "default",
251
133
  "props": [
252
134
  {
253
- "name": "type",
254
- "description": "Sets the banner style.",
255
- "tags": {
256
- "demoSelectMultiple": [
257
- {
258
- "description": "false",
259
- "title": "demoSelectMultiple"
260
- }
261
- ]
262
- },
135
+ "name": "unwrap",
136
+ "description": "A prop that will present accordion content as unwrapped. All content is expanded at the provided breakpoints.",
137
+ "tags": {},
263
138
  "values": [
264
- "info",
265
- "warning",
266
- "success",
267
- "error",
268
- "default"
139
+ "@xs",
140
+ "@sm",
141
+ "@md",
142
+ "@lg",
143
+ "true"
269
144
  ],
270
145
  "type": {
271
- "name": "string"
146
+ "name": "string|boolean"
272
147
  },
273
148
  "defaultValue": {
274
149
  "func": false,
275
- "value": "'default'"
150
+ "value": false
276
151
  }
277
152
  }
278
153
  ],
279
154
  "slots": [
280
- {
281
- "name": "icon-left",
282
- "description": "Icon matching banner type"
283
- },
284
155
  {
285
156
  "name": "default",
286
- "description": "Primary message content"
287
- },
288
- {
289
- "name": "icon-right",
290
- "description": "Additional icon"
291
- },
292
- {
293
- "name": "message-body",
294
- "description": "Additional content about the message"
295
- },
296
- {
297
- "name": "info-action",
298
- "description": "Action-wrapped icon"
299
- }
300
- ],
301
- "sourceFiles": [
302
- "./src/components/banner/CdrBanner.vue"
303
- ]
304
- },
305
- "CdrCaption": {
306
- "displayName": "CdrCaption",
307
- "description": "Provides context and credit for an asset such as an image, video, or chart",
308
- "tags": {},
309
- "exportName": "default",
310
- "props": [
311
- {
312
- "name": "summary",
313
- "description": "Sets the string content for the description body of the caption.",
314
- "tags": {
315
- "demoIgnore": [
316
- {
317
- "description": "true",
318
- "title": "demoIgnore"
319
- }
320
- ]
321
- },
322
- "type": {
323
- "name": "string"
324
- }
325
- },
326
- {
327
- "name": "credit",
328
- "description": "Sets the string content for attribution.",
329
- "tags": {
330
- "demoIgnore": [
331
- {
332
- "description": "true",
333
- "title": "demoIgnore"
334
- }
335
- ]
336
- },
337
- "type": {
338
- "name": "string"
339
- }
157
+ "description": "CdrAccordionGroup content (i.e. CdrAccordion components)"
340
158
  }
341
159
  ],
342
160
  "sourceFiles": [
343
- "./src/components/caption/CdrCaption.vue"
161
+ "./src/components/accordion/CdrAccordionGroup.vue"
344
162
  ]
345
163
  },
346
164
  "CdrButton": {
@@ -502,52 +320,262 @@
502
320
  "./src/components/button/CdrButton.vue"
503
321
  ]
504
322
  },
505
- "CdrCheckbox": {
506
- "displayName": "CdrCheckbox",
507
- "description": "Allows selecting one or more items from a list",
323
+ "CdrCard": {
324
+ "displayName": "CdrCard",
325
+ "description": "Related, interactive containers linking to a single subject or destination",
508
326
  "tags": {},
509
327
  "exportName": "default",
510
328
  "props": [
511
329
  {
512
- "name": "labelClass",
513
- "description": "Passes a CSS class to the label for custom styles",
514
- "type": {
515
- "name": "string"
516
- }
517
- },
518
- {
519
- "name": "inputClass",
520
- "description": "Passes a CSS class to the input for custom styles",
521
- "type": {
522
- "name": "string"
523
- }
524
- },
525
- {
526
- "name": "contentClass",
527
- "description": "Passes a CSS class to the slot wrapper for custom styles",
330
+ "name": "tag",
331
+ "description": "Sets valid HTML container element tag.",
528
332
  "type": {
529
333
  "name": "string"
530
- }
531
- },
532
- {
533
- "name": "indeterminate",
534
- "description": "Show checkbox in indeterminate state. (NOTE: this is a visual-only state and there is no logic for when to show it)",
535
- "type": {
536
- "name": "boolean|string"
537
334
  },
538
335
  "defaultValue": {
539
336
  "func": false,
540
- "value": false
337
+ "value": "'article'"
541
338
  }
542
- },
339
+ }
340
+ ],
341
+ "slots": [
543
342
  {
544
- "name": "trueValue",
545
- "description": "The value when checked.",
546
- "type": {
547
- "name": "string|number|boolean|object|array|symbol|func"
548
- },
549
- "defaultValue": {
550
- "func": false,
343
+ "name": "default",
344
+ "description": "CdrCard content"
345
+ }
346
+ ],
347
+ "sourceFiles": [
348
+ "./src/components/card/CdrCard.vue"
349
+ ]
350
+ },
351
+ "CdrBreadcrumb": {
352
+ "displayName": "CdrBreadcrumb",
353
+ "description": "Navigation used to reveal a page's location within the site hierarchy",
354
+ "tags": {},
355
+ "exportName": "default",
356
+ "props": [
357
+ {
358
+ "name": "items",
359
+ "description": "Sets the array of a breadcrumb object containing a 'url' and 'name' property.",
360
+ "tags": {
361
+ "demoIgnore": [
362
+ {
363
+ "description": "true",
364
+ "title": "demoIgnore"
365
+ }
366
+ ]
367
+ },
368
+ "type": {
369
+ "name": "array"
370
+ },
371
+ "defaultValue": {
372
+ "func": false,
373
+ "value": []
374
+ }
375
+ },
376
+ {
377
+ "name": "truncationEnabled",
378
+ "description": "Controls the ability to truncate the entire breadcrumb path. If this value is false, truncation will no longer occur.",
379
+ "type": {
380
+ "name": "boolean"
381
+ },
382
+ "defaultValue": {
383
+ "func": false,
384
+ "value": true
385
+ }
386
+ },
387
+ {
388
+ "name": "id",
389
+ "description": "Define a custom ID for the `<nav>` element. Randomly generated if no ID provided.",
390
+ "tags": {
391
+ "demoIgnore": [
392
+ {
393
+ "description": "true",
394
+ "title": "demoIgnore"
395
+ }
396
+ ]
397
+ },
398
+ "type": {
399
+ "name": "string"
400
+ }
401
+ }
402
+ ],
403
+ "events": [
404
+ {
405
+ "name": "navigate",
406
+ "description": "Emits when a breadcrumb item is clicked. `e.preventDefault()` may be used to override the default link navigation."
407
+ }
408
+ ],
409
+ "slots": [
410
+ {
411
+ "name": "link",
412
+ "scoped": true,
413
+ "bindings": [
414
+ {
415
+ "name": "class",
416
+ "title": "binding"
417
+ },
418
+ {
419
+ "name": "href",
420
+ "title": "binding"
421
+ },
422
+ {
423
+ "name": "content",
424
+ "title": "binding"
425
+ }
426
+ ]
427
+ }
428
+ ],
429
+ "sourceFiles": [
430
+ "./src/components/breadcrumb/CdrBreadcrumb.vue"
431
+ ]
432
+ },
433
+ "CdrBanner": {
434
+ "displayName": "CdrBanner",
435
+ "description": "Provides contextual feedback messages for typical user actions",
436
+ "tags": {},
437
+ "exportName": "default",
438
+ "props": [
439
+ {
440
+ "name": "type",
441
+ "description": "Sets the banner style.",
442
+ "tags": {
443
+ "demoSelectMultiple": [
444
+ {
445
+ "description": "false",
446
+ "title": "demoSelectMultiple"
447
+ }
448
+ ]
449
+ },
450
+ "values": [
451
+ "info",
452
+ "warning",
453
+ "success",
454
+ "error",
455
+ "default"
456
+ ],
457
+ "type": {
458
+ "name": "string"
459
+ },
460
+ "defaultValue": {
461
+ "func": false,
462
+ "value": "'default'"
463
+ }
464
+ }
465
+ ],
466
+ "slots": [
467
+ {
468
+ "name": "icon-left",
469
+ "description": "Icon matching banner type"
470
+ },
471
+ {
472
+ "name": "default",
473
+ "description": "Primary message content"
474
+ },
475
+ {
476
+ "name": "icon-right",
477
+ "description": "Additional icon"
478
+ },
479
+ {
480
+ "name": "message-body",
481
+ "description": "Additional content about the message"
482
+ },
483
+ {
484
+ "name": "info-action",
485
+ "description": "Action-wrapped icon"
486
+ }
487
+ ],
488
+ "sourceFiles": [
489
+ "./src/components/banner/CdrBanner.vue"
490
+ ]
491
+ },
492
+ "CdrCaption": {
493
+ "displayName": "CdrCaption",
494
+ "description": "Provides context and credit for an asset such as an image, video, or chart",
495
+ "tags": {},
496
+ "exportName": "default",
497
+ "props": [
498
+ {
499
+ "name": "summary",
500
+ "description": "Sets the string content for the description body of the caption.",
501
+ "tags": {
502
+ "demoIgnore": [
503
+ {
504
+ "description": "true",
505
+ "title": "demoIgnore"
506
+ }
507
+ ]
508
+ },
509
+ "type": {
510
+ "name": "string"
511
+ }
512
+ },
513
+ {
514
+ "name": "credit",
515
+ "description": "Sets the string content for attribution.",
516
+ "tags": {
517
+ "demoIgnore": [
518
+ {
519
+ "description": "true",
520
+ "title": "demoIgnore"
521
+ }
522
+ ]
523
+ },
524
+ "type": {
525
+ "name": "string"
526
+ }
527
+ }
528
+ ],
529
+ "sourceFiles": [
530
+ "./src/components/caption/CdrCaption.vue"
531
+ ]
532
+ },
533
+ "CdrCheckbox": {
534
+ "displayName": "CdrCheckbox",
535
+ "description": "Allows selecting one or more items from a list",
536
+ "tags": {},
537
+ "exportName": "default",
538
+ "props": [
539
+ {
540
+ "name": "labelClass",
541
+ "description": "Passes a CSS class to the label for custom styles",
542
+ "type": {
543
+ "name": "string"
544
+ }
545
+ },
546
+ {
547
+ "name": "inputClass",
548
+ "description": "Passes a CSS class to the input for custom styles",
549
+ "type": {
550
+ "name": "string"
551
+ }
552
+ },
553
+ {
554
+ "name": "contentClass",
555
+ "description": "Passes a CSS class to the slot wrapper for custom styles",
556
+ "type": {
557
+ "name": "string"
558
+ }
559
+ },
560
+ {
561
+ "name": "indeterminate",
562
+ "description": "Show checkbox in indeterminate state. (NOTE: this is a visual-only state and there is no logic for when to show it)",
563
+ "type": {
564
+ "name": "boolean|string"
565
+ },
566
+ "defaultValue": {
567
+ "func": false,
568
+ "value": false
569
+ }
570
+ },
571
+ {
572
+ "name": "trueValue",
573
+ "description": "The value when checked.",
574
+ "type": {
575
+ "name": "string|number|boolean|object|array|symbol|func"
576
+ },
577
+ "defaultValue": {
578
+ "func": false,
551
579
  "value": true
552
580
  }
553
581
  },
@@ -665,18 +693,69 @@
665
693
  "./src/components/checkbox/CdrCheckbox.vue"
666
694
  ]
667
695
  },
668
- "CdrChip": {
669
- "displayName": "CdrChip",
670
- "description": "Allows people to make selections, filter content, or trigger actions",
696
+ "CdrContainer": {
697
+ "displayName": "CdrContainer",
698
+ "description": "Provides base margins and responsive layout logic for pages",
671
699
  "tags": {},
672
700
  "exportName": "default",
673
- "slots": [
701
+ "props": [
674
702
  {
675
- "name": "icon-left",
676
- "description": "Icon to the left of the content"
703
+ "name": "tag",
704
+ "description": "Sets the HTML tag for the container element",
705
+ "type": {
706
+ "name": "string"
707
+ },
708
+ "defaultValue": {
709
+ "func": false,
710
+ "value": "'div'"
711
+ }
677
712
  },
678
713
  {
679
- "name": "icon-right",
714
+ "name": "modifier",
715
+ "description": "Controls whether container is static or fluid width.",
716
+ "tags": {
717
+ "demoSelectMultiple": [
718
+ {
719
+ "description": "false",
720
+ "title": "demoSelectMultiple"
721
+ }
722
+ ]
723
+ },
724
+ "values": [
725
+ "static",
726
+ "fluid"
727
+ ],
728
+ "type": {
729
+ "name": "string"
730
+ },
731
+ "defaultValue": {
732
+ "func": false,
733
+ "value": "'static'"
734
+ }
735
+ }
736
+ ],
737
+ "slots": [
738
+ {
739
+ "name": "default",
740
+ "description": "CdrContainer content"
741
+ }
742
+ ],
743
+ "sourceFiles": [
744
+ "./src/components/container/CdrContainer.vue"
745
+ ]
746
+ },
747
+ "CdrChip": {
748
+ "displayName": "CdrChip",
749
+ "description": "Allows people to make selections, filter content, or trigger actions",
750
+ "tags": {},
751
+ "exportName": "default",
752
+ "slots": [
753
+ {
754
+ "name": "icon-left",
755
+ "description": "Icon to the left of the content"
756
+ },
757
+ {
758
+ "name": "icon-right",
680
759
  "description": "Icon to the right of the content"
681
760
  },
682
761
  {
@@ -688,32 +767,26 @@
688
767
  "./src/components/chip/CdrChip.vue"
689
768
  ]
690
769
  },
691
- "CdrCard": {
692
- "displayName": "CdrCard",
693
- "description": "Related, interactive containers linking to a single subject or destination",
694
- "tags": {},
770
+ "CdrFormError": {
771
+ "displayName": "CdrFormError",
695
772
  "exportName": "default",
773
+ "description": "",
774
+ "tags": {},
696
775
  "props": [
697
776
  {
698
- "name": "tag",
699
- "description": "Sets valid HTML container element tag.",
777
+ "name": "error",
700
778
  "type": {
701
- "name": "string"
702
- },
703
- "defaultValue": {
704
- "func": false,
705
- "value": "'article'"
779
+ "name": "boolean|string"
706
780
  }
707
781
  }
708
782
  ],
709
783
  "slots": [
710
784
  {
711
- "name": "default",
712
- "description": "CdrCard content"
785
+ "name": "error"
713
786
  }
714
787
  ],
715
788
  "sourceFiles": [
716
- "./src/components/card/CdrCard.vue"
789
+ "./src/components/formError/CdrFormError.vue"
717
790
  ]
718
791
  },
719
792
  "CdrChipGroup": {
@@ -823,57 +896,6 @@
823
896
  "./src/components/formGroup/CdrFormGroup.vue"
824
897
  ]
825
898
  },
826
- "CdrContainer": {
827
- "displayName": "CdrContainer",
828
- "description": "Provides base margins and responsive layout logic for pages",
829
- "tags": {},
830
- "exportName": "default",
831
- "props": [
832
- {
833
- "name": "tag",
834
- "description": "Sets the HTML tag for the container element",
835
- "type": {
836
- "name": "string"
837
- },
838
- "defaultValue": {
839
- "func": false,
840
- "value": "'div'"
841
- }
842
- },
843
- {
844
- "name": "modifier",
845
- "description": "Controls whether container is static or fluid width.",
846
- "tags": {
847
- "demoSelectMultiple": [
848
- {
849
- "description": "false",
850
- "title": "demoSelectMultiple"
851
- }
852
- ]
853
- },
854
- "values": [
855
- "static",
856
- "fluid"
857
- ],
858
- "type": {
859
- "name": "string"
860
- },
861
- "defaultValue": {
862
- "func": false,
863
- "value": "'static'"
864
- }
865
- }
866
- ],
867
- "slots": [
868
- {
869
- "name": "default",
870
- "description": "CdrContainer content"
871
- }
872
- ],
873
- "sourceFiles": [
874
- "./src/components/container/CdrContainer.vue"
875
- ]
876
- },
877
899
  "CdrGrid": {
878
900
  "displayName": "CdrGrid",
879
901
  "description": "Simple wrapper for working with CSS grid",
@@ -1174,6 +1196,121 @@
1174
1196
  "./src/components/labelStandalone/CdrLabelStandalone.vue"
1175
1197
  ]
1176
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."
1308
+ }
1309
+ ],
1310
+ "sourceFiles": [
1311
+ "./src/components/pagination/CdrPagination.vue"
1312
+ ]
1313
+ },
1177
1314
  "CdrInput": {
1178
1315
  "displayName": "CdrInput",
1179
1316
  "description": "Allows for data entry, editing, and search",
@@ -1405,23 +1542,179 @@
1405
1542
  "./src/components/input/CdrInput.vue"
1406
1543
  ]
1407
1544
  },
1408
- "CdrModal": {
1409
- "displayName": "CdrModal",
1410
- "description": "Disruptive, action-blocking overlays used to display important information",
1545
+ "CdrLink": {
1546
+ "displayName": "CdrLink",
1547
+ "description": "Clickable text elements used for navigating to other pages or sections",
1411
1548
  "tags": {},
1412
1549
  "exportName": "default",
1413
1550
  "props": [
1414
1551
  {
1415
- "name": "opened",
1416
- "description": "Toggles the state of the modal",
1417
- "tags": {
1418
- "demoIgnore": [
1419
- {
1420
- "description": "true",
1421
- "title": "demoIgnore"
1422
- }
1423
- ]
1424
- },
1552
+ "name": "tag",
1553
+ "description": "Sets valid HTML element tag",
1554
+ "tags": {},
1555
+ "values": [
1556
+ "a",
1557
+ "button"
1558
+ ],
1559
+ "type": {
1560
+ "name": "string"
1561
+ },
1562
+ "defaultValue": {
1563
+ "func": false,
1564
+ "value": "'a'"
1565
+ }
1566
+ },
1567
+ {
1568
+ "name": "href",
1569
+ "description": "Sets value for anchors href property. Requires tag prop value to be `a`.",
1570
+ "type": {
1571
+ "name": "string"
1572
+ },
1573
+ "defaultValue": {
1574
+ "func": false,
1575
+ "value": "'#'"
1576
+ }
1577
+ },
1578
+ {
1579
+ "name": "inheritColor",
1580
+ "description": "Sets color and fill",
1581
+ "type": {
1582
+ "name": "boolean"
1583
+ },
1584
+ "defaultValue": {
1585
+ "func": false,
1586
+ "value": false
1587
+ }
1588
+ },
1589
+ {
1590
+ "name": "modifier",
1591
+ "description": "Modifies the style variant for this component.",
1592
+ "tags": {},
1593
+ "values": [
1594
+ "standalone"
1595
+ ],
1596
+ "type": {
1597
+ "name": "string"
1598
+ },
1599
+ "defaultValue": {
1600
+ "func": false,
1601
+ "value": "''"
1602
+ }
1603
+ },
1604
+ {
1605
+ "name": "target",
1606
+ "tags": {
1607
+ "ignore": [
1608
+ {
1609
+ "description": true,
1610
+ "title": "ignore"
1611
+ }
1612
+ ]
1613
+ },
1614
+ "type": {
1615
+ "name": "string"
1616
+ }
1617
+ },
1618
+ {
1619
+ "name": "rel",
1620
+ "tags": {
1621
+ "ignore": [
1622
+ {
1623
+ "description": true,
1624
+ "title": "ignore"
1625
+ }
1626
+ ]
1627
+ },
1628
+ "type": {
1629
+ "name": "string"
1630
+ }
1631
+ }
1632
+ ],
1633
+ "slots": [
1634
+ {
1635
+ "name": "default",
1636
+ "description": "Readable text of the link"
1637
+ }
1638
+ ],
1639
+ "sourceFiles": [
1640
+ "./src/components/link/CdrLink.vue"
1641
+ ]
1642
+ },
1643
+ "CdrList": {
1644
+ "displayName": "CdrList",
1645
+ "description": "Groups related content items together either vertically or horizontally",
1646
+ "tags": {},
1647
+ "exportName": "default",
1648
+ "props": [
1649
+ {
1650
+ "name": "tag",
1651
+ "description": "Sets list type and HTML element as \"unordered\" or \"ordered\"",
1652
+ "tags": {},
1653
+ "values": [
1654
+ "ul",
1655
+ "ol"
1656
+ ],
1657
+ "type": {
1658
+ "name": "string"
1659
+ },
1660
+ "defaultValue": {
1661
+ "func": false,
1662
+ "value": "'ul'"
1663
+ }
1664
+ },
1665
+ {
1666
+ "name": "modifier",
1667
+ "description": "Modifies the style variant for this component",
1668
+ "tags": {
1669
+ "demoSelectMultiple": [
1670
+ {
1671
+ "description": "true",
1672
+ "title": "demoSelectMultiple"
1673
+ }
1674
+ ]
1675
+ },
1676
+ "values": [
1677
+ "ordered",
1678
+ "unordered",
1679
+ "compact",
1680
+ "inline"
1681
+ ],
1682
+ "type": {
1683
+ "name": "string"
1684
+ },
1685
+ "defaultValue": {
1686
+ "func": false,
1687
+ "value": "''"
1688
+ }
1689
+ }
1690
+ ],
1691
+ "slots": [
1692
+ {
1693
+ "name": "default",
1694
+ "description": "CdrList content (list-items)"
1695
+ }
1696
+ ],
1697
+ "sourceFiles": [
1698
+ "./src/components/list/CdrList.vue"
1699
+ ]
1700
+ },
1701
+ "CdrModal": {
1702
+ "displayName": "CdrModal",
1703
+ "description": "Disruptive, action-blocking overlays used to display important information",
1704
+ "tags": {},
1705
+ "exportName": "default",
1706
+ "props": [
1707
+ {
1708
+ "name": "opened",
1709
+ "description": "Toggles the state of the modal",
1710
+ "tags": {
1711
+ "demoIgnore": [
1712
+ {
1713
+ "description": "true",
1714
+ "title": "demoIgnore"
1715
+ }
1716
+ ]
1717
+ },
1425
1718
  "type": {
1426
1719
  "name": "boolean"
1427
1720
  },
@@ -1544,334 +1837,178 @@
1544
1837
  "./src/components/modal/CdrModal.vue"
1545
1838
  ]
1546
1839
  },
1547
- "CdrLabelWrapper": {
1548
- "displayName": "CdrLabelWrapper",
1549
- "exportName": "default",
1550
- "description": "",
1840
+ "CdrPopover": {
1841
+ "displayName": "CdrPopover",
1842
+ "description": "Small overlay used to display contextual information",
1551
1843
  "tags": {},
1844
+ "exportName": "default",
1552
1845
  "props": [
1553
1846
  {
1554
- "name": "labelClass",
1847
+ "name": "position",
1848
+ "description": "Sets the position where the popover will render relative to the trigger element.",
1849
+ "tags": {
1850
+ "demoSelectMultiple": [
1851
+ {
1852
+ "description": "false",
1853
+ "title": "demoSelectMultiple"
1854
+ }
1855
+ ]
1856
+ },
1857
+ "values": [
1858
+ "top",
1859
+ "bottom",
1860
+ "left",
1861
+ "right"
1862
+ ],
1555
1863
  "type": {
1556
1864
  "name": "string"
1865
+ },
1866
+ "required": false,
1867
+ "defaultValue": {
1868
+ "func": false,
1869
+ "value": "'top'"
1557
1870
  }
1558
1871
  },
1559
1872
  {
1560
- "name": "contentClass",
1873
+ "name": "autoPosition",
1874
+ "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`.",
1561
1875
  "type": {
1562
- "name": "string"
1876
+ "name": "boolean"
1877
+ },
1878
+ "required": false,
1879
+ "defaultValue": {
1880
+ "func": false,
1881
+ "value": true
1563
1882
  }
1564
1883
  },
1565
1884
  {
1566
- "name": "background",
1885
+ "name": "label",
1886
+ "description": "Sets the title for the popover content. Can also be provided via the `title` slot.",
1567
1887
  "type": {
1568
- "name": "backgroundProps"
1569
- }
1888
+ "name": "string"
1889
+ },
1890
+ "required": false
1570
1891
  },
1571
1892
  {
1572
- "name": "disabled",
1893
+ "name": "id",
1894
+ "description": "ID for the popover element, required for accessibility",
1573
1895
  "type": {
1574
- "name": "boolean"
1575
- }
1896
+ "name": "string"
1897
+ },
1898
+ "required": true
1576
1899
  },
1577
1900
  {
1578
- "name": "modifier",
1901
+ "name": "contentClass",
1902
+ "description": "Add custom class to the popover content wrapper. Allows for overriding size, styling, etc.",
1579
1903
  "type": {
1580
1904
  "name": "string"
1581
- }
1905
+ },
1906
+ "required": false
1582
1907
  },
1583
1908
  {
1584
- "name": "size",
1909
+ "name": "open",
1910
+ "description": "Used to programmatically control the popover state. Does not need to be set if you are using the `trigger` slot.",
1911
+ "tags": {
1912
+ "demoIgnore": [
1913
+ {
1914
+ "description": "true",
1915
+ "title": "demoIgnore"
1916
+ }
1917
+ ]
1918
+ },
1585
1919
  "type": {
1586
- "name": "string"
1920
+ "name": "boolean"
1921
+ },
1922
+ "required": false,
1923
+ "defaultValue": {
1924
+ "func": false,
1925
+ "value": false
1587
1926
  }
1588
1927
  }
1589
1928
  ],
1590
- "slots": [
1929
+ "events": [
1591
1930
  {
1592
- "name": "input"
1931
+ "name": "opened",
1932
+ "description": "Emits when popover is opened"
1593
1933
  },
1594
1934
  {
1595
- "name": "default"
1935
+ "name": "closed",
1936
+ "description": "Emits when popover is closed"
1596
1937
  }
1597
1938
  ],
1598
- "sourceFiles": [
1599
- "./src/components/labelWrapper/CdrLabelWrapper.vue"
1600
- ]
1601
- },
1602
- "CdrLink": {
1603
- "displayName": "CdrLink",
1604
- "description": "Clickable text elements used for navigating to other pages or sections",
1605
- "tags": {},
1606
- "exportName": "default",
1607
- "props": [
1608
- {
1609
- "name": "tag",
1610
- "description": "Sets valid HTML element tag",
1611
- "tags": {},
1612
- "values": [
1613
- "a",
1614
- "button"
1615
- ],
1616
- "type": {
1617
- "name": "string"
1618
- },
1619
- "defaultValue": {
1620
- "func": false,
1621
- "value": "'a'"
1622
- }
1623
- },
1624
- {
1625
- "name": "href",
1626
- "description": "Sets value for anchors href property. Requires tag prop value to be `a`.",
1627
- "type": {
1628
- "name": "string"
1629
- },
1630
- "defaultValue": {
1631
- "func": false,
1632
- "value": "'#'"
1633
- }
1634
- },
1939
+ "slots": [
1635
1940
  {
1636
- "name": "inheritColor",
1637
- "description": "Sets color and fill",
1638
- "type": {
1639
- "name": "boolean"
1640
- },
1641
- "defaultValue": {
1642
- "func": false,
1643
- "value": false
1644
- }
1941
+ "name": "trigger",
1942
+ "description": " Slot for the element that triggers the popover."
1645
1943
  },
1646
1944
  {
1647
- "name": "modifier",
1648
- "description": "Modifies the style variant for this component.",
1649
- "tags": {},
1650
- "values": [
1651
- "standalone"
1652
- ],
1653
- "type": {
1654
- "name": "string"
1655
- },
1656
- "defaultValue": {
1657
- "func": false,
1658
- "value": "''"
1659
- }
1945
+ "name": "title",
1946
+ "description": "Sets the title for the popover. Can also be set with `label` prop"
1660
1947
  },
1661
1948
  {
1662
- "name": "target",
1663
- "tags": {
1664
- "ignore": [
1665
- {
1666
- "description": true,
1667
- "title": "ignore"
1668
- }
1669
- ]
1670
- },
1671
- "type": {
1672
- "name": "string"
1673
- }
1949
+ "name": "default"
1674
1950
  },
1675
1951
  {
1676
- "name": "rel",
1677
- "tags": {
1678
- "ignore": [
1679
- {
1680
- "description": true,
1681
- "title": "ignore"
1682
- }
1683
- ]
1684
- },
1685
- "type": {
1686
- "name": "string"
1687
- }
1688
- }
1689
- ],
1690
- "slots": [
1691
- {
1692
- "name": "default",
1693
- "description": "Readable text of the link"
1952
+ "name": "icon"
1694
1953
  }
1695
1954
  ],
1696
1955
  "sourceFiles": [
1697
- "./src/components/link/CdrLink.vue"
1956
+ "./src/components/popover/CdrPopover.vue"
1698
1957
  ]
1699
1958
  },
1700
- "CdrPopover": {
1701
- "displayName": "CdrPopover",
1702
- "description": "Small overlay used to display contextual information",
1703
- "tags": {},
1959
+ "CdrLabelWrapper": {
1960
+ "displayName": "CdrLabelWrapper",
1704
1961
  "exportName": "default",
1962
+ "description": "",
1963
+ "tags": {},
1705
1964
  "props": [
1706
1965
  {
1707
- "name": "position",
1708
- "description": "Sets the position where the popover will render relative to the trigger element.",
1709
- "tags": {
1710
- "demoSelectMultiple": [
1711
- {
1712
- "description": "false",
1713
- "title": "demoSelectMultiple"
1714
- }
1715
- ]
1716
- },
1717
- "values": [
1718
- "top",
1719
- "bottom",
1720
- "left",
1721
- "right"
1722
- ],
1966
+ "name": "labelClass",
1723
1967
  "type": {
1724
1968
  "name": "string"
1725
- },
1726
- "required": false,
1727
- "defaultValue": {
1728
- "func": false,
1729
- "value": "'top'"
1730
- }
1731
- },
1732
- {
1733
- "name": "autoPosition",
1734
- "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`.",
1735
- "type": {
1736
- "name": "boolean"
1737
- },
1738
- "required": false,
1739
- "defaultValue": {
1740
- "func": false,
1741
- "value": true
1742
1969
  }
1743
1970
  },
1744
1971
  {
1745
- "name": "label",
1746
- "description": "Sets the title for the popover content. Can also be provided via the `title` slot.",
1747
- "type": {
1748
- "name": "string"
1749
- },
1750
- "required": false
1751
- },
1752
- {
1753
- "name": "id",
1754
- "description": "ID for the popover element, required for accessibility",
1972
+ "name": "contentClass",
1755
1973
  "type": {
1756
1974
  "name": "string"
1757
- },
1758
- "required": true
1975
+ }
1759
1976
  },
1760
1977
  {
1761
- "name": "contentClass",
1762
- "description": "Add custom class to the popover content wrapper. Allows for overriding size, styling, etc.",
1978
+ "name": "background",
1763
1979
  "type": {
1764
- "name": "string"
1765
- },
1766
- "required": false
1980
+ "name": "backgroundProps"
1981
+ }
1767
1982
  },
1768
1983
  {
1769
- "name": "open",
1770
- "description": "Used to programmatically control the popover state. Does not need to be set if you are using the `trigger` slot.",
1771
- "tags": {
1772
- "demoIgnore": [
1773
- {
1774
- "description": "true",
1775
- "title": "demoIgnore"
1776
- }
1777
- ]
1778
- },
1984
+ "name": "disabled",
1779
1985
  "type": {
1780
1986
  "name": "boolean"
1781
- },
1782
- "required": false,
1783
- "defaultValue": {
1784
- "func": false,
1785
- "value": false
1786
1987
  }
1787
- }
1788
- ],
1789
- "events": [
1790
- {
1791
- "name": "opened",
1792
- "description": "Emits when popover is opened"
1793
- },
1794
- {
1795
- "name": "closed",
1796
- "description": "Emits when popover is closed"
1797
- }
1798
- ],
1799
- "slots": [
1800
- {
1801
- "name": "trigger",
1802
- "description": " Slot for the element that triggers the popover."
1803
- },
1804
- {
1805
- "name": "title",
1806
- "description": "Sets the title for the popover. Can also be set with `label` prop"
1807
- },
1808
- {
1809
- "name": "default"
1810
1988
  },
1811
1989
  {
1812
- "name": "icon"
1813
- }
1814
- ],
1815
- "sourceFiles": [
1816
- "./src/components/popover/CdrPopover.vue"
1817
- ]
1818
- },
1819
- "CdrList": {
1820
- "displayName": "CdrList",
1821
- "description": "Groups related content items together either vertically or horizontally",
1822
- "tags": {},
1823
- "exportName": "default",
1824
- "props": [
1825
- {
1826
- "name": "tag",
1827
- "description": "Sets list type and HTML element as \"unordered\" or \"ordered\"",
1828
- "tags": {},
1829
- "values": [
1830
- "ul",
1831
- "ol"
1832
- ],
1990
+ "name": "modifier",
1833
1991
  "type": {
1834
1992
  "name": "string"
1835
- },
1836
- "defaultValue": {
1837
- "func": false,
1838
- "value": "'ul'"
1839
1993
  }
1840
1994
  },
1841
1995
  {
1842
- "name": "modifier",
1843
- "description": "Modifies the style variant for this component",
1844
- "tags": {
1845
- "demoSelectMultiple": [
1846
- {
1847
- "description": "true",
1848
- "title": "demoSelectMultiple"
1849
- }
1850
- ]
1851
- },
1852
- "values": [
1853
- "ordered",
1854
- "unordered",
1855
- "compact",
1856
- "inline"
1857
- ],
1996
+ "name": "size",
1858
1997
  "type": {
1859
1998
  "name": "string"
1860
- },
1861
- "defaultValue": {
1862
- "func": false,
1863
- "value": "''"
1864
1999
  }
1865
2000
  }
1866
2001
  ],
1867
2002
  "slots": [
1868
2003
  {
1869
- "name": "default",
1870
- "description": "CdrList content (list-items)"
2004
+ "name": "input"
2005
+ },
2006
+ {
2007
+ "name": "default"
1871
2008
  }
1872
2009
  ],
1873
2010
  "sourceFiles": [
1874
- "./src/components/list/CdrList.vue"
2011
+ "./src/components/labelWrapper/CdrLabelWrapper.vue"
1875
2012
  ]
1876
2013
  },
1877
2014
  "CdrQuote": {
@@ -1944,126 +2081,11 @@
1944
2081
  "./src/components/quote/CdrQuote.vue"
1945
2082
  ]
1946
2083
  },
1947
- "CdrPagination": {
1948
- "displayName": "CdrPagination",
1949
- "description": "Allows people to navigate to the next or previous page within an experience",
1950
- "tags": {},
2084
+ "CdrPopup": {
2085
+ "displayName": "CdrPopup",
1951
2086
  "exportName": "default",
1952
- "props": [
1953
- {
1954
- "name": "id",
1955
- "description": "Define a custom slug for the generated breadcrumb item IDs. Slug is randomly generated if no ID provided.",
1956
- "tags": {
1957
- "demoIgnore": [
1958
- {
1959
- "description": "true",
1960
- "title": "demoIgnore"
1961
- }
1962
- ]
1963
- },
1964
- "type": {
1965
- "name": "string"
1966
- }
1967
- },
1968
- {
1969
- "name": "totalPages",
1970
- "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.",
1971
- "type": {
1972
- "name": "number"
1973
- },
1974
- "defaultValue": {
1975
- "func": false,
1976
- "value": "null"
1977
- }
1978
- },
1979
- {
1980
- "name": "pages",
1981
- "description": "Array of objects containing pagination data.\nObjects must have structure of `{ page: number, url: string }`",
1982
- "type": {
1983
- "name": "array"
1984
- },
1985
- "required": true
1986
- },
1987
- {
1988
- "name": "linkTag",
1989
- "description": "Sets which tag type is used to render pagination elements",
1990
- "tags": {},
1991
- "values": [
1992
- "a",
1993
- "button"
1994
- ],
1995
- "type": {
1996
- "name": "string"
1997
- },
1998
- "defaultValue": {
1999
- "func": false,
2000
- "value": "'a'"
2001
- }
2002
- },
2003
- {
2004
- "name": "forLabel",
2005
- "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`",
2006
- "type": {
2007
- "name": "string"
2008
- },
2009
- "defaultValue": {
2010
- "func": false,
2011
- "value": "''"
2012
- }
2013
- },
2014
- {
2015
- "name": "modelValue",
2016
- "tags": {
2017
- "ignore": [
2018
- {
2019
- "description": "used for binding v-model, represents the current page",
2020
- "title": "ignore"
2021
- }
2022
- ]
2023
- },
2024
- "type": {
2025
- "name": "number"
2026
- }
2027
- }
2028
- ],
2029
- "events": [
2030
- {
2031
- "name": "update:modelValue",
2032
- "description": "Event emitted by v-model on the select <input> element to indicate current page.\nOnly used on small devices",
2033
- "properties": [
2034
- {
2035
- "type": {
2036
- "names": [
2037
- "mixed"
2038
- ]
2039
- },
2040
- "name": "modelValue"
2041
- }
2042
- ],
2043
- "tags": [
2044
- {
2045
- "title": "param",
2046
- "type": {
2047
- "name": "mixed"
2048
- },
2049
- "name": "modelValue"
2050
- }
2051
- ]
2052
- },
2053
- {
2054
- "name": "navigate",
2055
- "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."
2056
- }
2057
- ],
2058
- "sourceFiles": [
2059
- "./src/components/pagination/CdrPagination.vue"
2060
- ]
2061
- },
2062
- "CdrPopup": {
2063
- "displayName": "CdrPopup",
2064
- "exportName": "default",
2065
- "description": "",
2066
- "tags": {},
2087
+ "description": "",
2088
+ "tags": {},
2067
2089
  "props": [
2068
2090
  {
2069
2091
  "name": "opened",
@@ -2103,300 +2125,18 @@
2103
2125
  }
2104
2126
  }
2105
2127
  ],
2106
- "events": [
2107
- {
2108
- "name": "closed"
2109
- }
2110
- ],
2111
- "slots": [
2112
- {
2113
- "name": "default"
2114
- }
2115
- ],
2116
- "sourceFiles": [
2117
- "./src/components/popup/CdrPopup.vue"
2118
- ]
2119
- },
2120
- "CdrSelect": {
2121
- "displayName": "CdrSelect",
2122
- "description": "Allows the selection of one or more options from a dropdown list",
2123
- "tags": {},
2124
- "exportName": "default",
2125
- "props": [
2126
- {
2127
- "name": "id",
2128
- "description": "Custom ID that is mapped to the label ‘for’ attribute. If this value is not set, it will be auto-generated.",
2129
- "type": {
2130
- "name": "string"
2131
- }
2132
- },
2133
- {
2134
- "name": "label",
2135
- "description": "Sets the text value for the select label.\nRequired for accessibility compliance. Use ‘hideLabel’ to\nvisually hide the label but keep it available to screenreaders.",
2136
- "type": {
2137
- "name": "string"
2138
- },
2139
- "required": true
2140
- },
2141
- {
2142
- "name": "hideLabel",
2143
- "description": "Visually hides the label element, but leaves it available to screen readers for accessibility compliance.",
2144
- "type": {
2145
- "name": "boolean"
2146
- },
2147
- "defaultValue": {
2148
- "func": false,
2149
- "value": false
2150
- }
2151
- },
2152
- {
2153
- "name": "prompt",
2154
- "description": "Adds an option that is disabled and selected by default to serve as a `placeholder` for the select.",
2155
- "type": {
2156
- "name": "string"
2157
- }
2158
- },
2159
- {
2160
- "name": "options",
2161
- "description": "Build options programmatically with data.\nProvide an array of objects [{ text: String, value: String}] for greater control\nor provide an array of strings ['String'] for simpler setup (value and text will be the same).",
2162
- "type": {
2163
- "name": "array"
2164
- }
2165
- },
2166
- {
2167
- "name": "background",
2168
- "description": "Sets the background color the radio button is rendered on",
2169
- "tags": {},
2170
- "values": [
2171
- "primary",
2172
- "secondary"
2173
- ],
2174
- "type": {
2175
- "name": "backgroundProps"
2176
- }
2177
- },
2178
- {
2179
- "name": "size",
2180
- "description": "Sets the component's size; values can target responsive breakpoints. Example `small@lg`",
2181
- "tags": {
2182
- "demoSelectMultiple": [
2183
- {
2184
- "description": "false",
2185
- "title": "demoSelectMultiple"
2186
- }
2187
- ]
2188
- },
2189
- "values": [
2190
- "small",
2191
- "medium",
2192
- "large"
2193
- ],
2194
- "type": {
2195
- "name": "sizeProps"
2196
- }
2197
- },
2198
- {
2199
- "name": "error",
2200
- "description": "Sets the select to an error state, displays the `error` slot if one is present.",
2201
- "type": {
2202
- "name": "boolean|string"
2203
- },
2204
- "defaultValue": {
2205
- "func": false,
2206
- "value": false
2207
- }
2208
- },
2209
- {
2210
- "name": "errorRole",
2211
- "description": "Sets the `role` attribute for the embedded error state messaging.",
2212
- "type": {
2213
- "name": "string"
2214
- },
2215
- "defaultValue": {
2216
- "func": false,
2217
- "value": "'status'"
2218
- }
2219
- },
2220
- {
2221
- "name": "modelValue",
2222
- "tags": {
2223
- "ignore": [
2224
- {
2225
- "description": true,
2226
- "title": "ignore"
2227
- }
2228
- ]
2229
- },
2230
- "type": {
2231
- "name": "string|number|boolean|object|array|symbol|func"
2232
- }
2233
- },
2234
- {
2235
- "name": "disabled",
2236
- "description": "Disables the input and sets appropriate styling",
2237
- "type": {
2238
- "name": "boolean"
2239
- }
2240
- },
2241
- {
2242
- "name": "required",
2243
- "description": "Sets aria-required on the input field and displays an asterisk next to the select label",
2244
- "type": {
2245
- "name": "boolean"
2246
- }
2247
- },
2248
- {
2249
- "name": "optional",
2250
- "description": "Displays '(optional)' text next to the select label.",
2251
- "type": {
2252
- "name": "boolean"
2253
- }
2254
- },
2255
- {
2256
- "name": "multiple",
2257
- "description": "Turns CdrSelect into a multi-select element.",
2258
- "type": {
2259
- "name": "boolean"
2260
- }
2261
- },
2262
- {
2263
- "name": "multipleSize",
2264
- "description": "Sets the height of the CdrSelect when using the multiple option.\nThis number corresponds to the number of select options that will be visible without scrolling.",
2265
- "type": {
2266
- "name": "number"
2267
- }
2268
- }
2269
- ],
2270
- "events": [
2271
- {
2272
- "name": "update:modelValue",
2273
- "description": "Event emitted by v-model on the radio's <input> element",
2274
- "properties": [
2275
- {
2276
- "type": {
2277
- "names": [
2278
- "mixed"
2279
- ]
2280
- },
2281
- "name": "modelValue"
2282
- }
2283
- ],
2284
- "tags": [
2285
- {
2286
- "title": "param",
2287
- "type": {
2288
- "name": "mixed"
2289
- },
2290
- "name": "modelValue"
2291
- }
2292
- ]
2293
- }
2294
- ],
2295
- "slots": [
2296
- {
2297
- "name": "helper-text",
2298
- "description": "Helper text above the select field"
2299
- },
2300
- {
2301
- "name": "info",
2302
- "description": "Link or icon to the right above the select field."
2303
- },
2304
- {
2305
- "name": "pre-icon",
2306
- "description": "Icon preceding text within the select field"
2307
- },
2308
- {
2309
- "name": "default",
2310
- "description": "CdrSelect content (<option> tags). Leave empty if using the `options` prop."
2311
- },
2312
- {
2313
- "name": "info-action",
2314
- "description": "Action-wrapped icon to the right of the select field"
2315
- },
2316
- {
2317
- "name": "error",
2318
- "description": "Error messaging text that is displayed when the `error` prop is true."
2319
- }
2320
- ],
2321
- "sourceFiles": [
2322
- "./src/components/select/CdrSelect.vue"
2323
- ]
2324
- },
2325
- "CdrRating": {
2326
- "displayName": "CdrRating",
2327
- "description": "Provides insight into user opinions for products, experiences, and more",
2328
- "tags": {},
2329
- "exportName": "default",
2330
- "props": [
2331
- {
2332
- "name": "rating",
2333
- "description": "Sets the rating values between 0 and 5.",
2334
- "type": {
2335
- "name": "string|number"
2336
- },
2337
- "required": true,
2338
- "defaultValue": {
2339
- "func": false,
2340
- "value": "0"
2341
- }
2342
- },
2343
- {
2344
- "name": "count",
2345
- "description": "Sets the total number of ratings",
2346
- "type": {
2347
- "name": "string|number"
2348
- },
2349
- "required": false,
2350
- "defaultValue": {
2351
- "func": false,
2352
- "value": "null"
2353
- }
2354
- },
2355
- {
2356
- "name": "compact",
2357
- "description": "Hides the word 'reviews' if true",
2358
- "type": {
2359
- "name": "boolean"
2360
- },
2361
- "defaultValue": {
2362
- "func": false,
2363
- "value": false
2364
- }
2365
- },
2366
- {
2367
- "name": "href",
2368
- "description": "Sets the rating component (icons and text) to display inline and wraps them in an anchor tag so they can act as link.",
2369
- "type": {
2370
- "name": "string"
2371
- }
2372
- },
2373
- {
2374
- "name": "size",
2375
- "description": "Sets the rating size.",
2376
- "tags": {
2377
- "demoSelectMultiple": [
2378
- {
2379
- "description": "false",
2380
- "title": "demoSelectMultiple"
2381
- }
2382
- ]
2383
- },
2384
- "values": [
2385
- "small",
2386
- "medium",
2387
- "large"
2388
- ],
2389
- "type": {
2390
- "name": "string"
2391
- },
2392
- "defaultValue": {
2393
- "func": false,
2394
- "value": "'medium'"
2395
- }
2128
+ "events": [
2129
+ {
2130
+ "name": "closed"
2131
+ }
2132
+ ],
2133
+ "slots": [
2134
+ {
2135
+ "name": "default"
2396
2136
  }
2397
2137
  ],
2398
2138
  "sourceFiles": [
2399
- "./src/components/rating/CdrRating.vue"
2139
+ "./src/components/popup/CdrPopup.vue"
2400
2140
  ]
2401
2141
  },
2402
2142
  "CdrRadio": {
@@ -2544,43 +2284,57 @@
2544
2284
  "./src/components/radio/CdrRadio.vue"
2545
2285
  ]
2546
2286
  },
2547
- "CdrSkeleton": {
2548
- "displayName": "CdrSkeleton",
2549
- "description": "Visually communicates content is in the process of loading",
2287
+ "CdrRating": {
2288
+ "displayName": "CdrRating",
2289
+ "description": "Provides insight into user opinions for products, experiences, and more",
2550
2290
  "tags": {},
2551
2291
  "exportName": "default",
2552
2292
  "props": [
2553
2293
  {
2554
- "name": "motion",
2555
- "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.",
2294
+ "name": "rating",
2295
+ "description": "Sets the rating values between 0 and 5.",
2296
+ "type": {
2297
+ "name": "string|number"
2298
+ },
2299
+ "required": true,
2300
+ "defaultValue": {
2301
+ "func": false,
2302
+ "value": "0"
2303
+ }
2304
+ },
2305
+ {
2306
+ "name": "count",
2307
+ "description": "Sets the total number of ratings",
2308
+ "type": {
2309
+ "name": "string|number"
2310
+ },
2311
+ "required": false,
2312
+ "defaultValue": {
2313
+ "func": false,
2314
+ "value": "null"
2315
+ }
2316
+ },
2317
+ {
2318
+ "name": "compact",
2319
+ "description": "Hides the word 'reviews' if true",
2556
2320
  "type": {
2557
2321
  "name": "boolean"
2558
2322
  },
2559
2323
  "defaultValue": {
2560
2324
  "func": false,
2561
- "value": true
2325
+ "value": false
2562
2326
  }
2563
- }
2564
- ],
2565
- "slots": [
2327
+ },
2566
2328
  {
2567
- "name": "default",
2568
- "description": "CdrSkeleton content (CdrSkeletonBone components)"
2569
- }
2570
- ],
2571
- "sourceFiles": [
2572
- "./src/components/skeleton/CdrSkeleton.vue"
2573
- ]
2574
- },
2575
- "CdrSkeletonBone": {
2576
- "displayName": "CdrSkeletonBone",
2577
- "exportName": "default",
2578
- "description": "",
2579
- "tags": {},
2580
- "props": [
2329
+ "name": "href",
2330
+ "description": "Sets the rating component (icons and text) to display inline and wraps them in an anchor tag so they can act as link.",
2331
+ "type": {
2332
+ "name": "string"
2333
+ }
2334
+ },
2581
2335
  {
2582
- "name": "type",
2583
- "description": "Sets the type of content placeholder",
2336
+ "name": "size",
2337
+ "description": "Sets the rating size.",
2584
2338
  "tags": {
2585
2339
  "demoSelectMultiple": [
2586
2340
  {
@@ -2590,134 +2344,292 @@
2590
2344
  ]
2591
2345
  },
2592
2346
  "values": [
2593
- "default",
2594
- "heading",
2595
- "line",
2596
- "rectangle",
2597
- "square"
2347
+ "small",
2348
+ "medium",
2349
+ "large"
2598
2350
  ],
2599
2351
  "type": {
2600
2352
  "name": "string"
2601
2353
  },
2602
- "required": false,
2603
2354
  "defaultValue": {
2604
2355
  "func": false,
2605
- "value": "'default'"
2356
+ "value": "'medium'"
2606
2357
  }
2607
2358
  }
2608
2359
  ],
2609
2360
  "sourceFiles": [
2610
- "./src/components/skeleton/CdrSkeletonBone.vue"
2361
+ "./src/components/rating/CdrRating.vue"
2611
2362
  ]
2612
2363
  },
2613
- "CdrTabs": {
2614
- "displayName": "CdrTabs",
2615
- "description": "Organizes related content into groups for people to navigate between",
2364
+ "CdrSkeleton": {
2365
+ "displayName": "CdrSkeleton",
2366
+ "description": "Visually communicates content is in the process of loading",
2616
2367
  "tags": {},
2617
2368
  "exportName": "default",
2618
2369
  "props": [
2619
2370
  {
2620
- "name": "height",
2621
- "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.",
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.",
2622
2373
  "type": {
2623
- "name": "string"
2374
+ "name": "boolean"
2624
2375
  },
2625
2376
  "defaultValue": {
2626
2377
  "func": false,
2627
- "value": "'240px'"
2378
+ "value": true
2379
+ }
2380
+ }
2381
+ ],
2382
+ "slots": [
2383
+ {
2384
+ "name": "default",
2385
+ "description": "CdrSkeleton content (CdrSkeletonBone components)"
2386
+ }
2387
+ ],
2388
+ "sourceFiles": [
2389
+ "./src/components/skeleton/CdrSkeleton.vue"
2390
+ ]
2391
+ },
2392
+ "CdrSelect": {
2393
+ "displayName": "CdrSelect",
2394
+ "description": "Allows the selection of one or more options from a dropdown list",
2395
+ "tags": {},
2396
+ "exportName": "default",
2397
+ "props": [
2398
+ {
2399
+ "name": "id",
2400
+ "description": "Custom ID that is mapped to the label ‘for’ attribute. If this value is not set, it will be auto-generated.",
2401
+ "type": {
2402
+ "name": "string"
2628
2403
  }
2629
2404
  },
2630
2405
  {
2631
- "name": "activeTab",
2632
- "description": "Sets the index of the tab that should be active on initial page load. Note that this property is zero-indexed.",
2406
+ "name": "label",
2407
+ "description": "Sets the text value for the select label.\nRequired for accessibility compliance. Use ‘hideLabel’ to\nvisually hide the label but keep it available to screenreaders.",
2633
2408
  "type": {
2634
- "name": "number"
2409
+ "name": "string"
2410
+ },
2411
+ "required": true
2412
+ },
2413
+ {
2414
+ "name": "hideLabel",
2415
+ "description": "Visually hides the label element, but leaves it available to screen readers for accessibility compliance.",
2416
+ "type": {
2417
+ "name": "boolean"
2635
2418
  },
2636
2419
  "defaultValue": {
2637
2420
  "func": false,
2638
- "value": "0"
2421
+ "value": false
2639
2422
  }
2640
2423
  },
2641
2424
  {
2642
- "name": "modifier",
2643
- "description": "Modifies the style variants for this component",
2425
+ "name": "prompt",
2426
+ "description": "Adds an option that is disabled and selected by default to serve as a `placeholder` for the select.",
2427
+ "type": {
2428
+ "name": "string"
2429
+ }
2430
+ },
2431
+ {
2432
+ "name": "options",
2433
+ "description": "Build options programmatically with data.\nProvide an array of objects [{ text: String, value: String}] for greater control\nor provide an array of strings ['String'] for simpler setup (value and text will be the same).",
2434
+ "type": {
2435
+ "name": "array"
2436
+ }
2437
+ },
2438
+ {
2439
+ "name": "background",
2440
+ "description": "Sets the background color the radio button is rendered on",
2644
2441
  "tags": {},
2645
2442
  "values": [
2646
- "centered",
2647
- "compact",
2648
- "full-width",
2649
- "no-border"
2443
+ "primary",
2444
+ "secondary"
2650
2445
  ],
2651
2446
  "type": {
2652
- "name": "string"
2447
+ "name": "backgroundProps"
2653
2448
  }
2654
2449
  },
2655
2450
  {
2656
2451
  "name": "size",
2657
- "description": "Use `small` to reduce spacing around the tabs for a denser visual design",
2452
+ "description": "Sets the component's size; values can target responsive breakpoints. Example `small@lg`",
2658
2453
  "tags": {
2659
2454
  "demoSelectMultiple": [
2660
2455
  {
2661
- "description": "true",
2456
+ "description": "false",
2662
2457
  "title": "demoSelectMultiple"
2663
2458
  }
2664
2459
  ]
2665
2460
  },
2666
2461
  "values": [
2667
- "small"
2462
+ "small",
2463
+ "medium",
2464
+ "large"
2668
2465
  ],
2669
2466
  "type": {
2670
- "name": "string"
2467
+ "name": "sizeProps"
2671
2468
  }
2672
2469
  },
2673
2470
  {
2674
- "name": "backgroundColor",
2675
- "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.",
2471
+ "name": "error",
2472
+ "description": "Sets the select to an error state, displays the `error` slot if one is present.",
2473
+ "type": {
2474
+ "name": "boolean|string"
2475
+ },
2476
+ "defaultValue": {
2477
+ "func": false,
2478
+ "value": false
2479
+ }
2480
+ },
2481
+ {
2482
+ "name": "errorRole",
2483
+ "description": "Sets the `role` attribute for the embedded error state messaging.",
2676
2484
  "type": {
2677
2485
  "name": "string"
2678
2486
  },
2679
2487
  "defaultValue": {
2680
2488
  "func": false,
2681
- "value": "CdrColorBackgroundPrimary"
2489
+ "value": "'status'"
2490
+ }
2491
+ },
2492
+ {
2493
+ "name": "modelValue",
2494
+ "tags": {
2495
+ "ignore": [
2496
+ {
2497
+ "description": true,
2498
+ "title": "ignore"
2499
+ }
2500
+ ]
2501
+ },
2502
+ "type": {
2503
+ "name": "string|number|boolean|object|array|symbol|func"
2504
+ }
2505
+ },
2506
+ {
2507
+ "name": "disabled",
2508
+ "description": "Disables the input and sets appropriate styling",
2509
+ "type": {
2510
+ "name": "boolean"
2511
+ }
2512
+ },
2513
+ {
2514
+ "name": "required",
2515
+ "description": "Sets aria-required on the input field and displays an asterisk next to the select label",
2516
+ "type": {
2517
+ "name": "boolean"
2518
+ }
2519
+ },
2520
+ {
2521
+ "name": "optional",
2522
+ "description": "Displays '(optional)' text next to the select label.",
2523
+ "type": {
2524
+ "name": "boolean"
2525
+ }
2526
+ },
2527
+ {
2528
+ "name": "multiple",
2529
+ "description": "Turns CdrSelect into a multi-select element.",
2530
+ "type": {
2531
+ "name": "boolean"
2532
+ }
2533
+ },
2534
+ {
2535
+ "name": "multipleSize",
2536
+ "description": "Sets the height of the CdrSelect when using the multiple option.\nThis number corresponds to the number of select options that will be visible without scrolling.",
2537
+ "type": {
2538
+ "name": "number"
2682
2539
  }
2683
2540
  }
2684
2541
  ],
2542
+ "events": [
2543
+ {
2544
+ "name": "update:modelValue",
2545
+ "description": "Event emitted by v-model on the radio's <input> element",
2546
+ "properties": [
2547
+ {
2548
+ "type": {
2549
+ "names": [
2550
+ "mixed"
2551
+ ]
2552
+ },
2553
+ "name": "modelValue"
2554
+ }
2555
+ ],
2556
+ "tags": [
2557
+ {
2558
+ "title": "param",
2559
+ "type": {
2560
+ "name": "mixed"
2561
+ },
2562
+ "name": "modelValue"
2563
+ }
2564
+ ]
2565
+ }
2566
+ ],
2685
2567
  "slots": [
2568
+ {
2569
+ "name": "helper-text",
2570
+ "description": "Helper text above the select field"
2571
+ },
2572
+ {
2573
+ "name": "info",
2574
+ "description": "Link or icon to the right above the select field."
2575
+ },
2576
+ {
2577
+ "name": "pre-icon",
2578
+ "description": "Icon preceding text within the select field"
2579
+ },
2686
2580
  {
2687
2581
  "name": "default",
2688
- "description": "CdrTabs content (CdrTabPanel components)"
2582
+ "description": "CdrSelect content (<option> tags). Leave empty if using the `options` prop."
2583
+ },
2584
+ {
2585
+ "name": "info-action",
2586
+ "description": "Action-wrapped icon to the right of the select field"
2587
+ },
2588
+ {
2589
+ "name": "error",
2590
+ "description": "Error messaging text that is displayed when the `error` prop is true."
2689
2591
  }
2690
2592
  ],
2691
2593
  "sourceFiles": [
2692
- "./src/components/tabs/CdrTabs.vue"
2594
+ "./src/components/select/CdrSelect.vue"
2693
2595
  ]
2694
2596
  },
2695
- "CdrText": {
2696
- "displayName": "CdrText",
2697
- "description": "Text container used for any text element such as paragraphs, headings, and lists",
2698
- "tags": {},
2597
+ "CdrSkeletonBone": {
2598
+ "displayName": "CdrSkeletonBone",
2699
2599
  "exportName": "default",
2600
+ "description": "",
2601
+ "tags": {},
2700
2602
  "props": [
2701
2603
  {
2702
- "name": "tag",
2703
- "description": "Sets the HTML tag (p, span, h1, h2, etc)",
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
+ ],
2704
2621
  "type": {
2705
2622
  "name": "string"
2706
2623
  },
2624
+ "required": false,
2707
2625
  "defaultValue": {
2708
2626
  "func": false,
2709
- "value": "'p'"
2627
+ "value": "'default'"
2710
2628
  }
2711
2629
  }
2712
2630
  ],
2713
- "slots": [
2714
- {
2715
- "name": "default",
2716
- "description": "CdrText content"
2717
- }
2718
- ],
2719
2631
  "sourceFiles": [
2720
- "./src/components/text/CdrText.vue"
2632
+ "./src/components/skeleton/CdrSkeletonBone.vue"
2721
2633
  ]
2722
2634
  },
2723
2635
  "CdrSwitch": {
@@ -2818,6 +2730,102 @@
2818
2730
  "./src/components/switch/CdrSwitch.vue"
2819
2731
  ]
2820
2732
  },
2733
+ "CdrTable": {
2734
+ "displayName": "CdrTable",
2735
+ "description": "Organizes structured data for users to easily scan, compare, and analyze",
2736
+ "tags": {},
2737
+ "exportName": "default",
2738
+ "props": [
2739
+ {
2740
+ "name": "striped",
2741
+ "description": "Sets row colors to alternate between darker and lighter backgrounds.\nStriping will not apply when `border` is true",
2742
+ "type": {
2743
+ "name": "boolean"
2744
+ },
2745
+ "defaultValue": {
2746
+ "func": false,
2747
+ "value": false
2748
+ }
2749
+ },
2750
+ {
2751
+ "name": "border",
2752
+ "description": "Adds borders between rows. Will disable `striped` if both are true",
2753
+ "type": {
2754
+ "name": "boolean"
2755
+ },
2756
+ "defaultValue": {
2757
+ "func": false,
2758
+ "value": true
2759
+ }
2760
+ },
2761
+ {
2762
+ "name": "fullWidth",
2763
+ "description": "Sets the width to 100%. Also accepts space separated strings for breakpoints that it should be full width: { '@xs' | '@sm' | '@md' | '@lg' }",
2764
+ "type": {
2765
+ "name": "boolean|string"
2766
+ },
2767
+ "defaultValue": {
2768
+ "func": false,
2769
+ "value": true
2770
+ }
2771
+ },
2772
+ {
2773
+ "name": "responsive",
2774
+ "description": "Makes the table scroll horizontally when it would overflow its container",
2775
+ "type": {
2776
+ "name": "boolean"
2777
+ },
2778
+ "defaultValue": {
2779
+ "func": false,
2780
+ "value": true
2781
+ }
2782
+ },
2783
+ {
2784
+ "name": "hover",
2785
+ "description": "Adds a darker background on row hover",
2786
+ "type": {
2787
+ "name": "boolean"
2788
+ },
2789
+ "defaultValue": {
2790
+ "func": false,
2791
+ "value": false
2792
+ }
2793
+ },
2794
+ {
2795
+ "name": "size",
2796
+ "description": "Sets the table size (cell padding); values can target responsive breakpoints. Example `small@lg`.",
2797
+ "tags": {
2798
+ "demoSelectMultiple": [
2799
+ {
2800
+ "description": "false",
2801
+ "title": "demoSelectMultiple"
2802
+ }
2803
+ ]
2804
+ },
2805
+ "values": [
2806
+ "small",
2807
+ "medium",
2808
+ "large"
2809
+ ],
2810
+ "type": {
2811
+ "name": "string"
2812
+ },
2813
+ "defaultValue": {
2814
+ "func": false,
2815
+ "value": "'medium'"
2816
+ }
2817
+ }
2818
+ ],
2819
+ "slots": [
2820
+ {
2821
+ "name": "default",
2822
+ "description": "CdrTable content (Valid table elements <th>, <tbody>, <tr>, <td>, etc.)"
2823
+ }
2824
+ ],
2825
+ "sourceFiles": [
2826
+ "./src/components/table/CdrTable.vue"
2827
+ ]
2828
+ },
2821
2829
  "CdrTabPanel": {
2822
2830
  "displayName": "CdrTabPanel",
2823
2831
  "exportName": "default",
@@ -2868,100 +2876,139 @@
2868
2876
  "./src/components/tabs/CdrTabPanel.vue"
2869
2877
  ]
2870
2878
  },
2871
- "CdrTable": {
2872
- "displayName": "CdrTable",
2873
- "description": "Organizes structured data for users to easily scan, compare, and analyze",
2879
+ "CdrTabs": {
2880
+ "displayName": "CdrTabs",
2881
+ "description": "Organizes related content into groups for people to navigate between",
2874
2882
  "tags": {},
2875
2883
  "exportName": "default",
2876
2884
  "props": [
2877
2885
  {
2878
- "name": "striped",
2879
- "description": "Sets row colors to alternate between darker and lighter backgrounds.\nStriping will not apply when `border` is true",
2886
+ "name": "height",
2887
+ "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.",
2880
2888
  "type": {
2881
- "name": "boolean"
2889
+ "name": "string"
2882
2890
  },
2883
2891
  "defaultValue": {
2884
2892
  "func": false,
2885
- "value": false
2893
+ "value": "'240px'"
2886
2894
  }
2887
2895
  },
2888
2896
  {
2889
- "name": "border",
2890
- "description": "Adds borders between rows. Will disable `striped` if both are true",
2897
+ "name": "activeTab",
2898
+ "description": "Sets the index of the tab that should be active on initial page load. Note that this property is zero-indexed.",
2891
2899
  "type": {
2892
- "name": "boolean"
2900
+ "name": "number"
2893
2901
  },
2894
2902
  "defaultValue": {
2895
2903
  "func": false,
2896
- "value": true
2904
+ "value": "0"
2897
2905
  }
2898
2906
  },
2899
2907
  {
2900
- "name": "fullWidth",
2901
- "description": "Sets the width to 100%. Also accepts space separated strings for breakpoints that it should be full width: { '@xs' | '@sm' | '@md' | '@lg' }",
2908
+ "name": "modifier",
2909
+ "description": "Modifies the style variants for this component",
2910
+ "tags": {},
2911
+ "values": [
2912
+ "centered",
2913
+ "compact",
2914
+ "full-width",
2915
+ "no-border"
2916
+ ],
2902
2917
  "type": {
2903
- "name": "boolean|string"
2918
+ "name": "string"
2919
+ }
2920
+ },
2921
+ {
2922
+ "name": "size",
2923
+ "description": "Use `small` to reduce spacing around the tabs for a denser visual design",
2924
+ "tags": {
2925
+ "demoSelectMultiple": [
2926
+ {
2927
+ "description": "true",
2928
+ "title": "demoSelectMultiple"
2929
+ }
2930
+ ]
2904
2931
  },
2905
- "defaultValue": {
2906
- "func": false,
2907
- "value": true
2932
+ "values": [
2933
+ "small"
2934
+ ],
2935
+ "type": {
2936
+ "name": "string"
2908
2937
  }
2909
2938
  },
2910
2939
  {
2911
- "name": "responsive",
2912
- "description": "Makes the table scroll horizontally when it would overflow its container",
2940
+ "name": "backgroundColor",
2941
+ "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.",
2913
2942
  "type": {
2914
- "name": "boolean"
2943
+ "name": "string"
2915
2944
  },
2916
2945
  "defaultValue": {
2917
2946
  "func": false,
2918
- "value": true
2947
+ "value": "CdrColorBackgroundPrimary"
2919
2948
  }
2920
- },
2949
+ }
2950
+ ],
2951
+ "slots": [
2921
2952
  {
2922
- "name": "hover",
2923
- "description": "Adds a darker background on row hover",
2953
+ "name": "default",
2954
+ "description": "CdrTabs content (CdrTabPanel components)"
2955
+ }
2956
+ ],
2957
+ "sourceFiles": [
2958
+ "./src/components/tabs/CdrTabs.vue"
2959
+ ]
2960
+ },
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)",
2924
2970
  "type": {
2925
- "name": "boolean"
2971
+ "name": "string"
2926
2972
  },
2927
2973
  "defaultValue": {
2928
2974
  "func": false,
2929
- "value": false
2975
+ "value": "'p'"
2930
2976
  }
2931
- },
2977
+ }
2978
+ ],
2979
+ "slots": [
2932
2980
  {
2933
- "name": "size",
2934
- "description": "Sets the table size (cell padding); values can target responsive breakpoints. Example `small@lg`.",
2935
- "tags": {
2936
- "demoSelectMultiple": [
2937
- {
2938
- "description": "false",
2939
- "title": "demoSelectMultiple"
2940
- }
2941
- ]
2942
- },
2943
- "values": [
2944
- "small",
2945
- "medium",
2946
- "large"
2947
- ],
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",
2948
2998
  "type": {
2949
2999
  "name": "string"
2950
3000
  },
2951
- "defaultValue": {
2952
- "func": false,
2953
- "value": "'medium'"
2954
- }
3001
+ "required": true
2955
3002
  }
2956
3003
  ],
2957
3004
  "slots": [
2958
3005
  {
2959
3006
  "name": "default",
2960
- "description": "CdrTable content (Valid table elements <th>, <tbody>, <tr>, <td>, etc.)"
3007
+ "description": "CdrToggleButton label content"
2961
3008
  }
2962
3009
  ],
2963
3010
  "sourceFiles": [
2964
- "./src/components/table/CdrTable.vue"
3011
+ "./src/components/toggleButton/CdrToggleButton.vue"
2965
3012
  ]
2966
3013
  },
2967
3014
  "CdrToast": {
@@ -3065,6 +3112,86 @@
3065
3112
  "./src/components/toast/CdrToast.vue"
3066
3113
  ]
3067
3114
  },
3115
+ "CdrToggleGroup": {
3116
+ "displayName": "CdrToggleGroup",
3117
+ "exportName": "default",
3118
+ "description": "",
3119
+ "tags": {},
3120
+ "props": [
3121
+ {
3122
+ "name": "modelValue",
3123
+ "tags": {
3124
+ "ignore": [
3125
+ {
3126
+ "description": true,
3127
+ "title": "ignore"
3128
+ }
3129
+ ]
3130
+ },
3131
+ "type": {
3132
+ "name": "string|number|boolean|object|array"
3133
+ },
3134
+ "required": true
3135
+ },
3136
+ {
3137
+ "name": "size",
3138
+ "description": "Sets toggle button size",
3139
+ "tags": {
3140
+ "demoSelectMultiple": [
3141
+ {
3142
+ "description": "false",
3143
+ "title": "demoSelectMultiple"
3144
+ }
3145
+ ]
3146
+ },
3147
+ "values": [
3148
+ "medium",
3149
+ "large"
3150
+ ],
3151
+ "type": {
3152
+ "name": "string"
3153
+ },
3154
+ "defaultValue": {
3155
+ "func": false,
3156
+ "value": "'medium'"
3157
+ }
3158
+ }
3159
+ ],
3160
+ "events": [
3161
+ {
3162
+ "name": "update:modelValue",
3163
+ "description": "Event emitted by v-model",
3164
+ "properties": [
3165
+ {
3166
+ "type": {
3167
+ "names": [
3168
+ "mixed"
3169
+ ]
3170
+ },
3171
+ "name": "modelValue"
3172
+ }
3173
+ ],
3174
+ "tags": [
3175
+ {
3176
+ "title": "param",
3177
+ "type": {
3178
+ "name": "mixed"
3179
+ },
3180
+ "name": "modelValue"
3181
+ }
3182
+ ]
3183
+ }
3184
+ ],
3185
+ "slots": [
3186
+ {
3187
+ "name": "default",
3188
+ "description": "CdrToggleGroup content (CdrToggleButton components)"
3189
+ }
3190
+ ],
3191
+ "sourceFiles": [
3192
+ "./src/components/toggleButton/CdrToggleGroup.vue"
3193
+ ]
3194
+ },
3068
3195
  "CdrTooltip": {
3069
3196
  "displayName": "CdrTooltip",
3070
3197
  "description": "Floating label used to clarify interface actions",
@@ -3167,132 +3294,5 @@
3167
3294
  "sourceFiles": [
3168
3295
  "./src/components/tooltip/CdrTooltip.vue"
3169
3296
  ]
3170
- },
3171
- "CdrToggleButton": {
3172
- "displayName": "CdrToggleButton",
3173
- "description": "Permits switching two or more options on and off",
3174
- "tags": {},
3175
- "exportName": "default",
3176
- "props": [
3177
- {
3178
- "name": "toggleValue",
3179
- "description": "Sets the value and aria-label for the toggle button. Display can be overridden using default slot",
3180
- "type": {
3181
- "name": "string"
3182
- },
3183
- "required": true
3184
- }
3185
- ],
3186
- "slots": [
3187
- {
3188
- "name": "default",
3189
- "description": "CdrToggleButton label content"
3190
- }
3191
- ],
3192
- "sourceFiles": [
3193
- "./src/components/toggleButton/CdrToggleButton.vue"
3194
- ]
3195
- },
3196
- "CdrToggleGroup": {
3197
- "displayName": "CdrToggleGroup",
3198
- "exportName": "default",
3199
- "description": "",
3200
- "tags": {},
3201
- "props": [
3202
- {
3203
- "name": "modelValue",
3204
- "tags": {
3205
- "ignore": [
3206
- {
3207
- "description": true,
3208
- "title": "ignore"
3209
- }
3210
- ]
3211
- },
3212
- "type": {
3213
- "name": "string|number|boolean|object|array"
3214
- },
3215
- "required": true
3216
- },
3217
- {
3218
- "name": "size",
3219
- "description": "Sets toggle button size",
3220
- "tags": {
3221
- "demoSelectMultiple": [
3222
- {
3223
- "description": "false",
3224
- "title": "demoSelectMultiple"
3225
- }
3226
- ]
3227
- },
3228
- "values": [
3229
- "medium",
3230
- "large"
3231
- ],
3232
- "type": {
3233
- "name": "string"
3234
- },
3235
- "defaultValue": {
3236
- "func": false,
3237
- "value": "'medium'"
3238
- }
3239
- }
3240
- ],
3241
- "events": [
3242
- {
3243
- "name": "update:modelValue",
3244
- "description": "Event emitted by v-model",
3245
- "properties": [
3246
- {
3247
- "type": {
3248
- "names": [
3249
- "mixed"
3250
- ]
3251
- },
3252
- "name": "modelValue"
3253
- }
3254
- ],
3255
- "tags": [
3256
- {
3257
- "title": "param",
3258
- "type": {
3259
- "name": "mixed"
3260
- },
3261
- "name": "modelValue"
3262
- }
3263
- ]
3264
- }
3265
- ],
3266
- "slots": [
3267
- {
3268
- "name": "default",
3269
- "description": "CdrToggleGroup content (CdrToggleButton components)"
3270
- }
3271
- ],
3272
- "sourceFiles": [
3273
- "./src/components/toggleButton/CdrToggleGroup.vue"
3274
- ]
3275
- },
3276
- "CdrFormError": {
3277
- "displayName": "CdrFormError",
3278
- "exportName": "default",
3279
- "description": "",
3280
- "tags": {},
3281
- "props": [
3282
- {
3283
- "name": "error",
3284
- "type": {
3285
- "name": "boolean|string"
3286
- }
3287
- }
3288
- ],
3289
- "slots": [
3290
- {
3291
- "name": "error"
3292
- }
3293
- ],
3294
- "sourceFiles": [
3295
- "./src/components/formError/CdrFormError.vue"
3296
- ]
3297
3297
  }
3298
3298
  }