@rei/cedar 14.0.1 → 14.0.2-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/dist/cedar-compiled.css +1050 -1050
  2. package/dist/cedar.umd.js +14 -14
  3. package/dist/component-docgen.json +1668 -1668
  4. package/dist/components/breadcrumb/CdrBreadcrumb.vue.d.ts +1 -1
  5. package/dist/icon-component-docgen.json +494 -494
  6. package/dist/src/components/accordion/styles/CdrAccordion.module.scss.mjs +29 -29
  7. package/dist/src/components/accordion/styles/CdrAccordionGroup.module.scss.mjs +2 -2
  8. package/dist/src/components/banner/styles/CdrBanner.module.scss.mjs +14 -14
  9. package/dist/src/components/breadcrumb/styles/CdrBreadcrumb.module.scss.mjs +7 -7
  10. package/dist/src/components/button/styles/CdrButton.module.scss.mjs +31 -31
  11. package/dist/src/components/caption/styles/CdrCaption.module.scss.mjs +4 -4
  12. package/dist/src/components/card/styles/CdrCard.module.scss.mjs +3 -3
  13. package/dist/src/components/checkbox/styles/CdrCheckbox.module.scss.mjs +29 -29
  14. package/dist/src/components/chip/styles/CdrChip.module.scss.mjs +4 -4
  15. package/dist/src/components/chip/styles/CdrChipGroup.module.scss.mjs +6 -6
  16. package/dist/src/components/container/styles/CdrContainer.module.scss.mjs +4 -4
  17. package/dist/src/components/formError/styles/CdrFormError.module.scss.mjs +2 -2
  18. package/dist/src/components/formGroup/styles/CdrFormGroup.module.scss.mjs +8 -8
  19. package/dist/src/components/grid/styles/CdrGrid.module.scss.mjs +21 -21
  20. package/dist/src/components/icon/styles/CdrIcon.module.scss.mjs +12 -12
  21. package/dist/src/components/image/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 +27 -27
  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/styles/CdrPopup.module.scss.mjs +14 -14
  31. package/dist/src/components/quote/styles/CdrQuote.module.scss.mjs +4 -4
  32. package/dist/src/components/radio/styles/CdrRadio.module.scss.mjs +29 -29
  33. package/dist/src/components/rating/styles/CdrRating.module.scss.mjs +46 -46
  34. package/dist/src/components/select/styles/CdrSelect.module.scss.mjs +42 -42
  35. package/dist/src/components/skeleton/styles/CdrSkeleton.module.scss.mjs +1 -1
  36. package/dist/src/components/skeleton/styles/CdrSkeletonBone.module.scss.mjs +7 -7
  37. package/dist/src/components/switch/styles/CdrSwitch.module.scss.mjs +8 -8
  38. package/dist/src/components/table/styles/CdrTable.module.scss.mjs +13 -13
  39. package/dist/src/components/tabs/styles/CdrTabPanel.module.scss.mjs +7 -7
  40. package/dist/src/components/tabs/styles/CdrTabs.module.scss.mjs +30 -30
  41. package/dist/src/components/text/styles/CdrText.module.scss.mjs +1 -1
  42. package/dist/src/components/toast/styles/CdrToast.module.scss.mjs +57 -57
  43. package/dist/src/components/toggleButton/styles/CdrToggleButton.module.scss.mjs +2 -2
  44. package/dist/src/components/toggleButton/styles/CdrToggleGroup.module.scss.mjs +5 -5
  45. package/dist/src/components/tooltip/styles/CdrTooltip.module.scss.mjs +16 -16
  46. package/dist/style/cdr-accordion-group.css +1 -1
  47. package/dist/style/cdr-accordion.css +1 -1
  48. package/dist/style/cdr-banner.css +1 -1
  49. package/dist/style/cdr-breadcrumb.css +1 -1
  50. package/dist/style/cdr-button.css +1 -1
  51. package/dist/style/cdr-caption.css +1 -1
  52. package/dist/style/cdr-card.css +1 -1
  53. package/dist/style/cdr-checkbox.css +1 -1
  54. package/dist/style/cdr-chip-group.css +1 -1
  55. package/dist/style/cdr-chip.css +1 -1
  56. package/dist/style/cdr-container.css +1 -1
  57. package/dist/style/cdr-form-error.css +1 -1
  58. package/dist/style/cdr-form-group.css +1 -1
  59. package/dist/style/cdr-grid.css +1 -1
  60. package/dist/style/cdr-icon.css +1 -1
  61. package/dist/style/cdr-img.css +1 -1
  62. package/dist/style/cdr-input.css +1 -1
  63. package/dist/style/cdr-label-standalone.css +1 -1
  64. package/dist/style/cdr-label-wrapper.css +1 -1
  65. package/dist/style/cdr-link.css +1 -1
  66. package/dist/style/cdr-list.css +1 -1
  67. package/dist/style/cdr-modal.css +1 -1
  68. package/dist/style/cdr-pagination.css +1 -1
  69. package/dist/style/cdr-popover.css +1 -1
  70. package/dist/style/cdr-popup.css +1 -1
  71. package/dist/style/cdr-quote.css +1 -1
  72. package/dist/style/cdr-radio.css +1 -1
  73. package/dist/style/cdr-rating.css +1 -1
  74. package/dist/style/cdr-select.css +1 -1
  75. package/dist/style/cdr-skeleton-bone.css +1 -1
  76. package/dist/style/cdr-skeleton.css +1 -1
  77. package/dist/style/cdr-switch.css +1 -1
  78. package/dist/style/cdr-tab-panel.css +1 -1
  79. package/dist/style/cdr-table.css +1 -1
  80. package/dist/style/cdr-tabs.css +1 -1
  81. package/dist/style/cdr-text.css +1 -1
  82. package/dist/style/cdr-toast.css +1 -1
  83. package/dist/style/cdr-toggle-button.css +1 -1
  84. package/dist/style/cdr-toggle-group.css +1 -1
  85. package/dist/style/cdr-tooltip.css +1 -1
  86. package/dist/style.css +1 -1
  87. package/package.json +2 -2
@@ -163,6 +163,169 @@
163
163
  }
164
164
  ]
165
165
  },
166
+ "CdrBreadcrumb": {
167
+ "name": "CdrBreadcrumb",
168
+ "description": "Navigation used to reveal a page's location within the site hierarchy",
169
+ "tags": {},
170
+ "exportName": "default",
171
+ "displayName": "CdrBreadcrumb",
172
+ "props": [
173
+ {
174
+ "name": "items",
175
+ "description": "Sets the array of a breadcrumb object containing a 'url' and 'name' property.",
176
+ "tags": {
177
+ "demoIgnore": [
178
+ {
179
+ "description": "true",
180
+ "title": "demoIgnore"
181
+ }
182
+ ]
183
+ },
184
+ "type": {
185
+ "name": "breadcrumbItem[]"
186
+ },
187
+ "defaultValue": {
188
+ "func": true,
189
+ "value": "() => []"
190
+ }
191
+ },
192
+ {
193
+ "name": "truncationEnabled",
194
+ "description": "Controls the ability to truncate the entire breadcrumb path. If this value is false, truncation will no longer occur.",
195
+ "type": {
196
+ "name": "boolean"
197
+ },
198
+ "defaultValue": {
199
+ "func": false,
200
+ "value": true
201
+ }
202
+ },
203
+ {
204
+ "name": "id",
205
+ "description": "Define a custom ID for the `<nav>` element. Randomly generated if no ID provided.",
206
+ "tags": {
207
+ "demoIgnore": [
208
+ {
209
+ "description": "true",
210
+ "title": "demoIgnore"
211
+ }
212
+ ]
213
+ },
214
+ "type": {
215
+ "name": "string"
216
+ }
217
+ }
218
+ ],
219
+ "events": [
220
+ {
221
+ "name": "navigate",
222
+ "description": "Emits when a breadcrumb item is clicked. `e.preventDefault()` may be used to override the default link navigation.",
223
+ "properties": [
224
+ {
225
+ "type": {
226
+ "names": [
227
+ "mixed"
228
+ ]
229
+ },
230
+ "name": "breadcrumb",
231
+ "description": "The breadcrumb data object"
232
+ }
233
+ ],
234
+ "tags": [
235
+ {
236
+ "title": "param",
237
+ "type": {
238
+ "name": "mixed"
239
+ },
240
+ "name": "breadcrumb",
241
+ "description": "The breadcrumb data object"
242
+ }
243
+ ]
244
+ }
245
+ ],
246
+ "slots": [
247
+ {
248
+ "name": "link",
249
+ "scoped": true,
250
+ "bindings": [
251
+ {
252
+ "name": "class",
253
+ "title": "binding"
254
+ },
255
+ {
256
+ "name": "href",
257
+ "title": "binding"
258
+ },
259
+ {
260
+ "name": "content",
261
+ "title": "binding"
262
+ }
263
+ ]
264
+ }
265
+ ],
266
+ "sourceFiles": [
267
+ "./src/components/breadcrumb/CdrBreadcrumb.vue"
268
+ ],
269
+ "UIProperties": [
270
+ {
271
+ "name": "--cdr-breadcrumb-ellipses-icon-color",
272
+ "defaultValue": "--cdr-color-text-secondary",
273
+ "description": "Ellipses icon color"
274
+ },
275
+ {
276
+ "name": "--cdr-breadcrumb-ellipses-icon-highlight-color",
277
+ "defaultValue": "--cdr-color-text-link-hover",
278
+ "description": "Ellipses icon hover, active and focus color"
279
+ },
280
+ {
281
+ "name": "--cdr-breadcrumb-item-color",
282
+ "defaultValue": "--cdr-color-text-secondary",
283
+ "description": "Breadcrumb item color"
284
+ },
285
+ {
286
+ "name": "--cdr-breadcrumb-item-linked-highlight-color",
287
+ "defaultValue": "--cdr-color-text-link-hover",
288
+ "description": "Breadcrumb item linked hover, active and focus color"
289
+ }
290
+ ]
291
+ },
292
+ "CdrAccordionGroup": {
293
+ "name": "CdrAccordionGroup",
294
+ "exportName": "default",
295
+ "displayName": "CdrAccordionGroup",
296
+ "description": "",
297
+ "tags": {},
298
+ "props": [
299
+ {
300
+ "name": "unwrap",
301
+ "description": "A prop that will present accordion content as unwrapped. All content is expanded at the provided breakpoints.",
302
+ "tags": {},
303
+ "values": [
304
+ "@xs",
305
+ "@sm",
306
+ "@md",
307
+ "@lg",
308
+ "true"
309
+ ],
310
+ "type": {
311
+ "name": "string|boolean"
312
+ },
313
+ "defaultValue": {
314
+ "func": false,
315
+ "value": false
316
+ }
317
+ }
318
+ ],
319
+ "slots": [
320
+ {
321
+ "name": "default",
322
+ "description": "CdrAccordionGroup content (i.e. CdrAccordion components)"
323
+ }
324
+ ],
325
+ "sourceFiles": [
326
+ "./src/components/accordion/CdrAccordionGroup.vue"
327
+ ]
328
+ },
166
329
  "CdrBanner": {
167
330
  "name": "CdrBanner",
168
331
  "description": "Provides contextual feedback messages for typical user actions",
@@ -365,43 +528,6 @@
365
528
  }
366
529
  ]
367
530
  },
368
- "CdrAccordionGroup": {
369
- "name": "CdrAccordionGroup",
370
- "exportName": "default",
371
- "displayName": "CdrAccordionGroup",
372
- "description": "",
373
- "tags": {},
374
- "props": [
375
- {
376
- "name": "unwrap",
377
- "description": "A prop that will present accordion content as unwrapped. All content is expanded at the provided breakpoints.",
378
- "tags": {},
379
- "values": [
380
- "@xs",
381
- "@sm",
382
- "@md",
383
- "@lg",
384
- "true"
385
- ],
386
- "type": {
387
- "name": "string|boolean"
388
- },
389
- "defaultValue": {
390
- "func": false,
391
- "value": false
392
- }
393
- }
394
- ],
395
- "slots": [
396
- {
397
- "name": "default",
398
- "description": "CdrAccordionGroup content (i.e. CdrAccordion components)"
399
- }
400
- ],
401
- "sourceFiles": [
402
- "./src/components/accordion/CdrAccordionGroup.vue"
403
- ]
404
- },
405
531
  "CdrButton": {
406
532
  "name": "CdrButton",
407
533
  "description": "Initiates an action, such as completing a task or submitting information",
@@ -1104,234 +1230,134 @@
1104
1230
  }
1105
1231
  ]
1106
1232
  },
1107
- "CdrBreadcrumb": {
1108
- "name": "CdrBreadcrumb",
1109
- "description": "Navigation used to reveal a page's location within the site hierarchy",
1233
+ "CdrChip": {
1234
+ "name": "CdrChip",
1235
+ "description": "Allows people to make selections, filter content, or trigger actions",
1110
1236
  "tags": {},
1111
1237
  "exportName": "default",
1112
- "displayName": "CdrBreadcrumb",
1113
- "props": [
1238
+ "displayName": "CdrChip",
1239
+ "slots": [
1114
1240
  {
1115
- "name": "items",
1116
- "description": "Sets the array of a breadcrumb object containing a 'url' and 'name' property.",
1117
- "tags": {
1118
- "demoIgnore": [
1119
- {
1120
- "description": "true",
1121
- "title": "demoIgnore"
1122
- }
1123
- ]
1124
- },
1125
- "type": {
1126
- "name": "breadcrumbItem[]"
1127
- },
1128
- "defaultValue": {
1129
- "func": true,
1130
- "value": "() => []"
1131
- }
1241
+ "name": "icon-left",
1242
+ "description": "Icon to the left of the content"
1132
1243
  },
1133
1244
  {
1134
- "name": "truncationEnabled",
1135
- "description": "Controls the ability to truncate the entire breadcrumb path. If this value is false, truncation will no longer occur.",
1136
- "type": {
1137
- "name": "boolean"
1138
- },
1139
- "defaultValue": {
1140
- "func": false,
1141
- "value": true
1142
- }
1245
+ "name": "icon-right",
1246
+ "description": "Icon to the right of the content"
1143
1247
  },
1144
1248
  {
1145
- "name": "id",
1146
- "description": "Define a custom ID for the `<nav>` element. Randomly generated if no ID provided.",
1147
- "tags": {
1148
- "demoIgnore": [
1149
- {
1150
- "description": "true",
1151
- "title": "demoIgnore"
1152
- }
1153
- ]
1154
- },
1155
- "type": {
1156
- "name": "string"
1157
- }
1158
- }
1159
- ],
1160
- "events": [
1161
- {
1162
- "name": "navigate",
1163
- "description": "Emits when a breadcrumb item is clicked. `e.preventDefault()` may be used to override the default link navigation.",
1164
- "properties": [
1165
- {
1166
- "type": {
1167
- "names": [
1168
- "mixed"
1169
- ]
1170
- },
1171
- "name": "breadcrumb",
1172
- "description": "The breadcrumb data object"
1173
- }
1174
- ],
1175
- "tags": [
1176
- {
1177
- "title": "param",
1178
- "type": {
1179
- "name": "mixed"
1180
- },
1181
- "name": "breadcrumb",
1182
- "description": "The breadcrumb data object"
1183
- }
1184
- ]
1185
- }
1186
- ],
1187
- "slots": [
1188
- {
1189
- "name": "link",
1190
- "scoped": true,
1191
- "bindings": [
1192
- {
1193
- "name": "class",
1194
- "title": "binding"
1195
- },
1196
- {
1197
- "name": "href",
1198
- "title": "binding"
1199
- },
1200
- {
1201
- "name": "content",
1202
- "title": "binding"
1203
- }
1204
- ]
1249
+ "name": "default",
1250
+ "description": "Primary CdrChip content"
1205
1251
  }
1206
1252
  ],
1207
1253
  "sourceFiles": [
1208
- "./src/components/breadcrumb/CdrBreadcrumb.vue"
1254
+ "./src/components/chip/CdrChip.vue"
1209
1255
  ],
1210
1256
  "UIProperties": [
1211
1257
  {
1212
- "name": "--cdr-breadcrumb-ellipses-icon-color",
1213
- "defaultValue": "--cdr-color-text-secondary",
1214
- "description": "Ellipses icon color"
1258
+ "name": "--cdr-chip-text-color",
1259
+ "defaultValue": "--cdr-color-text-chip-default",
1260
+ "description": "Text color of a cdr-chip"
1215
1261
  },
1216
1262
  {
1217
- "name": "--cdr-breadcrumb-ellipses-icon-highlight-color",
1218
- "defaultValue": "--cdr-color-text-link-hover",
1219
- "description": "Ellipses icon hover, active and focus color"
1263
+ "name": "--cdr-chip-fill-color",
1264
+ "defaultValue": "--cdr-color-text-chip-default",
1265
+ "description": "Fill color of a cdr-chip"
1220
1266
  },
1221
1267
  {
1222
- "name": "--cdr-breadcrumb-item-color",
1223
- "defaultValue": "--cdr-color-text-secondary",
1224
- "description": "Breadcrumb item color"
1268
+ "name": "--cdr-chip-background-color-rest",
1269
+ "defaultValue": "--cdr-color-background-chip-default-rest",
1270
+ "description": "Background color of a cdr-chip"
1225
1271
  },
1226
1272
  {
1227
- "name": "--cdr-breadcrumb-item-linked-highlight-color",
1228
- "defaultValue": "--cdr-color-text-link-hover",
1229
- "description": "Breadcrumb item linked hover, active and focus color"
1230
- }
1231
- ]
1232
- },
1233
- "CdrCaption": {
1234
- "name": "CdrCaption",
1235
- "description": "Provides context and credit for an asset such as an image, video, or chart",
1236
- "tags": {},
1237
- "exportName": "default",
1238
- "displayName": "CdrCaption",
1239
- "props": [
1273
+ "name": "--cdr-chip-box-shadow-color-rest",
1274
+ "defaultValue": "--cdr-color-border-chip-default-rest",
1275
+ "description": "Box-shadow color of a cdr-chip"
1276
+ },
1240
1277
  {
1241
- "name": "summary",
1242
- "description": "Sets the string content for the description body of the caption.",
1243
- "tags": {
1244
- "demoIgnore": [
1245
- {
1246
- "description": "true",
1247
- "title": "demoIgnore"
1248
- }
1249
- ]
1250
- },
1251
- "type": {
1252
- "name": "string"
1253
- }
1278
+ "name": "--cdr-chip-background-color-disabled",
1279
+ "defaultValue": "--cdr-color-background-chip-default-disabled",
1280
+ "description": "Background color of a cdr-chip when disabled"
1254
1281
  },
1255
1282
  {
1256
- "name": "credit",
1257
- "description": "Sets the string content for attribution.",
1258
- "tags": {
1259
- "demoIgnore": [
1260
- {
1261
- "description": "true",
1262
- "title": "demoIgnore"
1263
- }
1264
- ]
1265
- },
1266
- "type": {
1267
- "name": "string"
1268
- }
1269
- }
1270
- ],
1271
- "sourceFiles": [
1272
- "./src/components/caption/CdrCaption.vue"
1273
- ],
1274
- "UIProperties": [
1283
+ "name": "--cdr-chip-box-shadow-color-disabled",
1284
+ "defaultValue": "--cdr-color-border-chip-default-disabled",
1285
+ "description": "Box-shadow color of a cdr-chip when disabled"
1286
+ },
1275
1287
  {
1276
- "name": "--cdr-caption-summary-color",
1277
- "defaultValue": "--cdr-color-text-primary",
1278
- "description": "Text color of a cdr-caption"
1288
+ "name": "--cdr-chip-text-color-disabled",
1289
+ "defaultValue": "--cdr-color-text-chip-disabled",
1290
+ "description": "Text color of a cdr-chip when disabled"
1279
1291
  },
1280
1292
  {
1281
- "name": "--cdr-caption-cite-color",
1282
- "defaultValue": "--cdr-color-text-secondary",
1283
- "description": "Text color of a cdr-caption"
1284
- }
1285
- ]
1286
- },
1287
- "CdrCard": {
1288
- "name": "CdrCard",
1289
- "description": "Related, interactive containers linking to a single subject or destination",
1290
- "tags": {},
1291
- "exportName": "default",
1292
- "displayName": "CdrCard",
1293
- "props": [
1293
+ "name": "--cdr-chip-background-color-hover",
1294
+ "defaultValue": "--cdr-color-background-chip-default-hover",
1295
+ "description": "Background color of a cdr-chip on hover"
1296
+ },
1294
1297
  {
1295
- "name": "tag",
1296
- "description": "Sets valid HTML container element tag.",
1297
- "type": {
1298
- "name": "string"
1299
- },
1300
- "defaultValue": {
1301
- "func": false,
1302
- "value": "'article'"
1303
- }
1304
- }
1305
- ],
1306
- "slots": [
1298
+ "name": "--cdr-chip-box-shadow-color-hover",
1299
+ "defaultValue": "--cdr-color-border-chip-default-hover",
1300
+ "description": "Box-shadow color of a cdr-chip on hover"
1301
+ },
1307
1302
  {
1308
- "name": "default",
1309
- "description": "CdrCard content"
1310
- }
1311
- ],
1312
- "sourceFiles": [
1313
- "./src/components/card/CdrCard.vue"
1314
- ],
1315
- "UIProperties": [
1303
+ "name": "--cdr-chip-background-color-focus",
1304
+ "defaultValue": "--cdr-color-background-chip-default-focus",
1305
+ "description": "Background color of a cdr-chip on focus"
1306
+ },
1316
1307
  {
1317
- "name": "--cdr-card-base-background-color",
1318
- "defaultValue": "--cdr-color-background-primary",
1319
- "description": "Background color of a cdr-card"
1308
+ "name": "--cdr-chip-box-shadow-color-focus",
1309
+ "defaultValue": "--cdr-color-border-chip-default-focus",
1310
+ "description": "Box-shadow color of a cdr-chip on focus"
1320
1311
  },
1321
1312
  {
1322
- "name": "--cdr-card-base-color",
1323
- "defaultValue": "--cdr-color-text-primary",
1324
- "description": "Text color of a cdr-card"
1313
+ "name": "--cdr-chip-background-color-active",
1314
+ "defaultValue": "--cdr-color-background-chip-default-active",
1315
+ "description": "Background color of a cdr-chip when active"
1325
1316
  },
1326
1317
  {
1327
- "name": "--cdr-card-link-color",
1328
- "defaultValue": "--cdr-color-text-primary",
1329
- "description": "Link text color of a cdr-card"
1318
+ "name": "--cdr-chip-box-shadow-color-active",
1319
+ "defaultValue": "--cdr-color-border-chip-default-active",
1320
+ "description": "Box-shadow color of a cdr-chip when active"
1330
1321
  },
1331
1322
  {
1332
- "name": "--cdr-card-link-hover-color",
1333
- "defaultValue": "--cdr-color-text-link-hover",
1334
- "description": "Link hover text color of a cdr-card"
1323
+ "name": "--cdr-chip-background-color-selected-rest",
1324
+ "defaultValue": "--cdr-color-background-chip-default-selected",
1325
+ "description": "Background color of a cdr-chip when selected"
1326
+ },
1327
+ {
1328
+ "name": "--cdr-chip-box-shadow-color-selected-rest",
1329
+ "defaultValue": "--cdr-color-border-chip-default-selected-rest",
1330
+ "description": "Box-shadow color of a cdr-chip when selected"
1331
+ },
1332
+ {
1333
+ "name": "--cdr-chip-background-color-selected-hover",
1334
+ "defaultValue": "--cdr-color-background-chip-default-selected-hover",
1335
+ "description": "Background color of a cdr-chip when selected and hovered"
1336
+ },
1337
+ {
1338
+ "name": "--cdr-chip-box-shadow-color-selected-hover",
1339
+ "defaultValue": "--cdr-color-border-chip-default-selected-hover",
1340
+ "description": "Box-shadow color of a cdr-chip when selected and hovered"
1341
+ },
1342
+ {
1343
+ "name": "--cdr-chip-background-color-selected-focus",
1344
+ "defaultValue": "--cdr-color-background-chip-default-selected-focus",
1345
+ "description": "Background color of a cdr-chip when selected and focused"
1346
+ },
1347
+ {
1348
+ "name": "--cdr-chip-box-shadow-color-selected-focus",
1349
+ "defaultValue": "--cdr-color-border-chip-default-selected-focus",
1350
+ "description": "Box-shadow color of a cdr-chip when selected and focused"
1351
+ },
1352
+ {
1353
+ "name": "--cdr-chip-background-color-selected-active",
1354
+ "defaultValue": "--cdr-color-background-chip-default-selected-active",
1355
+ "description": "Background color of a cdr-chip when selected and active"
1356
+ },
1357
+ {
1358
+ "name": "--cdr-chip-box-shadow-color-selected-focus",
1359
+ "defaultValue": "--cdr-color-border-chip-default-selected-focus",
1360
+ "description": "Box-shadow color of a cdr-chip when selected and active"
1335
1361
  }
1336
1362
  ]
1337
1363
  },
@@ -1593,176 +1619,107 @@
1593
1619
  }
1594
1620
  ]
1595
1621
  },
1596
- "CdrChip": {
1597
- "name": "CdrChip",
1598
- "description": "Allows people to make selections, filter content, or trigger actions",
1622
+ "CdrCard": {
1623
+ "name": "CdrCard",
1624
+ "description": "Related, interactive containers linking to a single subject or destination",
1599
1625
  "tags": {},
1600
1626
  "exportName": "default",
1601
- "displayName": "CdrChip",
1627
+ "displayName": "CdrCard",
1628
+ "props": [
1629
+ {
1630
+ "name": "tag",
1631
+ "description": "Sets valid HTML container element tag.",
1632
+ "type": {
1633
+ "name": "string"
1634
+ },
1635
+ "defaultValue": {
1636
+ "func": false,
1637
+ "value": "'article'"
1638
+ }
1639
+ }
1640
+ ],
1602
1641
  "slots": [
1603
- {
1604
- "name": "icon-left",
1605
- "description": "Icon to the left of the content"
1606
- },
1607
- {
1608
- "name": "icon-right",
1609
- "description": "Icon to the right of the content"
1610
- },
1611
1642
  {
1612
1643
  "name": "default",
1613
- "description": "Primary CdrChip content"
1644
+ "description": "CdrCard content"
1614
1645
  }
1615
1646
  ],
1616
1647
  "sourceFiles": [
1617
- "./src/components/chip/CdrChip.vue"
1648
+ "./src/components/card/CdrCard.vue"
1618
1649
  ],
1619
1650
  "UIProperties": [
1620
1651
  {
1621
- "name": "--cdr-chip-text-color",
1622
- "defaultValue": "--cdr-color-text-chip-default",
1623
- "description": "Text color of a cdr-chip"
1624
- },
1625
- {
1626
- "name": "--cdr-chip-fill-color",
1627
- "defaultValue": "--cdr-color-text-chip-default",
1628
- "description": "Fill color of a cdr-chip"
1629
- },
1630
- {
1631
- "name": "--cdr-chip-background-color-rest",
1632
- "defaultValue": "--cdr-color-background-chip-default-rest",
1633
- "description": "Background color of a cdr-chip"
1634
- },
1635
- {
1636
- "name": "--cdr-chip-box-shadow-color-rest",
1637
- "defaultValue": "--cdr-color-border-chip-default-rest",
1638
- "description": "Box-shadow color of a cdr-chip"
1639
- },
1640
- {
1641
- "name": "--cdr-chip-background-color-disabled",
1642
- "defaultValue": "--cdr-color-background-chip-default-disabled",
1643
- "description": "Background color of a cdr-chip when disabled"
1644
- },
1645
- {
1646
- "name": "--cdr-chip-box-shadow-color-disabled",
1647
- "defaultValue": "--cdr-color-border-chip-default-disabled",
1648
- "description": "Box-shadow color of a cdr-chip when disabled"
1649
- },
1650
- {
1651
- "name": "--cdr-chip-text-color-disabled",
1652
- "defaultValue": "--cdr-color-text-chip-disabled",
1653
- "description": "Text color of a cdr-chip when disabled"
1654
- },
1655
- {
1656
- "name": "--cdr-chip-background-color-hover",
1657
- "defaultValue": "--cdr-color-background-chip-default-hover",
1658
- "description": "Background color of a cdr-chip on hover"
1659
- },
1660
- {
1661
- "name": "--cdr-chip-box-shadow-color-hover",
1662
- "defaultValue": "--cdr-color-border-chip-default-hover",
1663
- "description": "Box-shadow color of a cdr-chip on hover"
1664
- },
1665
- {
1666
- "name": "--cdr-chip-background-color-focus",
1667
- "defaultValue": "--cdr-color-background-chip-default-focus",
1668
- "description": "Background color of a cdr-chip on focus"
1669
- },
1670
- {
1671
- "name": "--cdr-chip-box-shadow-color-focus",
1672
- "defaultValue": "--cdr-color-border-chip-default-focus",
1673
- "description": "Box-shadow color of a cdr-chip on focus"
1674
- },
1675
- {
1676
- "name": "--cdr-chip-background-color-active",
1677
- "defaultValue": "--cdr-color-background-chip-default-active",
1678
- "description": "Background color of a cdr-chip when active"
1679
- },
1680
- {
1681
- "name": "--cdr-chip-box-shadow-color-active",
1682
- "defaultValue": "--cdr-color-border-chip-default-active",
1683
- "description": "Box-shadow color of a cdr-chip when active"
1684
- },
1685
- {
1686
- "name": "--cdr-chip-background-color-selected-rest",
1687
- "defaultValue": "--cdr-color-background-chip-default-selected",
1688
- "description": "Background color of a cdr-chip when selected"
1689
- },
1690
- {
1691
- "name": "--cdr-chip-box-shadow-color-selected-rest",
1692
- "defaultValue": "--cdr-color-border-chip-default-selected-rest",
1693
- "description": "Box-shadow color of a cdr-chip when selected"
1694
- },
1695
- {
1696
- "name": "--cdr-chip-background-color-selected-hover",
1697
- "defaultValue": "--cdr-color-background-chip-default-selected-hover",
1698
- "description": "Background color of a cdr-chip when selected and hovered"
1699
- },
1700
- {
1701
- "name": "--cdr-chip-box-shadow-color-selected-hover",
1702
- "defaultValue": "--cdr-color-border-chip-default-selected-hover",
1703
- "description": "Box-shadow color of a cdr-chip when selected and hovered"
1704
- },
1705
- {
1706
- "name": "--cdr-chip-background-color-selected-focus",
1707
- "defaultValue": "--cdr-color-background-chip-default-selected-focus",
1708
- "description": "Background color of a cdr-chip when selected and focused"
1652
+ "name": "--cdr-card-base-background-color",
1653
+ "defaultValue": "--cdr-color-background-primary",
1654
+ "description": "Background color of a cdr-card"
1709
1655
  },
1710
1656
  {
1711
- "name": "--cdr-chip-box-shadow-color-selected-focus",
1712
- "defaultValue": "--cdr-color-border-chip-default-selected-focus",
1713
- "description": "Box-shadow color of a cdr-chip when selected and focused"
1657
+ "name": "--cdr-card-base-color",
1658
+ "defaultValue": "--cdr-color-text-primary",
1659
+ "description": "Text color of a cdr-card"
1714
1660
  },
1715
1661
  {
1716
- "name": "--cdr-chip-background-color-selected-active",
1717
- "defaultValue": "--cdr-color-background-chip-default-selected-active",
1718
- "description": "Background color of a cdr-chip when selected and active"
1662
+ "name": "--cdr-card-link-color",
1663
+ "defaultValue": "--cdr-color-text-primary",
1664
+ "description": "Link text color of a cdr-card"
1719
1665
  },
1720
1666
  {
1721
- "name": "--cdr-chip-box-shadow-color-selected-focus",
1722
- "defaultValue": "--cdr-color-border-chip-default-selected-focus",
1723
- "description": "Box-shadow color of a cdr-chip when selected and active"
1667
+ "name": "--cdr-card-link-hover-color",
1668
+ "defaultValue": "--cdr-color-text-link-hover",
1669
+ "description": "Link hover text color of a cdr-card"
1724
1670
  }
1725
1671
  ]
1726
1672
  },
1727
- "CdrChipGroup": {
1728
- "name": "CdrChipGroup",
1729
- "exportName": "default",
1730
- "displayName": "CdrChipGroup",
1731
- "description": "",
1673
+ "CdrContainer": {
1674
+ "name": "CdrContainer",
1675
+ "description": "Provides base margins and responsive layout logic for pages",
1732
1676
  "tags": {},
1677
+ "exportName": "default",
1678
+ "displayName": "CdrContainer",
1733
1679
  "props": [
1734
1680
  {
1735
- "name": "label",
1736
- "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.",
1681
+ "name": "tag",
1682
+ "description": "Sets the HTML tag for the container element",
1737
1683
  "type": {
1738
1684
  "name": "string"
1739
1685
  },
1740
- "required": true
1686
+ "defaultValue": {
1687
+ "func": false,
1688
+ "value": "'div'"
1689
+ }
1741
1690
  },
1742
1691
  {
1743
- "name": "hideLabel",
1744
- "description": "Visually hides the chip group label but makes it accessible to screen readers.",
1692
+ "name": "modifier",
1693
+ "description": "Controls whether container is static or fluid width.",
1694
+ "tags": {
1695
+ "demoSelectMultiple": [
1696
+ {
1697
+ "description": "false",
1698
+ "title": "demoSelectMultiple"
1699
+ }
1700
+ ]
1701
+ },
1702
+ "values": [
1703
+ "static",
1704
+ "fluid"
1705
+ ],
1745
1706
  "type": {
1746
- "name": "boolean"
1707
+ "name": "string"
1747
1708
  },
1748
1709
  "defaultValue": {
1749
1710
  "func": false,
1750
- "value": true
1711
+ "value": "'static'"
1751
1712
  }
1752
1713
  }
1753
1714
  ],
1754
1715
  "slots": [
1755
- {
1756
- "name": "label",
1757
- "description": "Override CdrChip label content with a custom element"
1758
- },
1759
1716
  {
1760
1717
  "name": "default",
1761
- "description": "CdrChipGroup content (CdrChip components)"
1718
+ "description": "CdrContainer content"
1762
1719
  }
1763
1720
  ],
1764
1721
  "sourceFiles": [
1765
- "./src/components/chip/CdrChipGroup.vue"
1722
+ "./src/components/container/CdrContainer.vue"
1766
1723
  ]
1767
1724
  },
1768
1725
  "CdrFormError": {
@@ -1800,27 +1757,57 @@
1800
1757
  }
1801
1758
  ]
1802
1759
  },
1803
- "CdrContainer": {
1804
- "name": "CdrContainer",
1805
- "description": "Provides base margins and responsive layout logic for pages",
1806
- "tags": {},
1760
+ "CdrChipGroup": {
1761
+ "name": "CdrChipGroup",
1807
1762
  "exportName": "default",
1808
- "displayName": "CdrContainer",
1763
+ "displayName": "CdrChipGroup",
1764
+ "description": "",
1765
+ "tags": {},
1809
1766
  "props": [
1810
1767
  {
1811
- "name": "tag",
1812
- "description": "Sets the HTML tag for the container element",
1768
+ "name": "label",
1769
+ "description": "Sets a label that describes the chip group and what it is selecting. By default this label is visually hidden and only made available to screen readers.",
1813
1770
  "type": {
1814
1771
  "name": "string"
1815
1772
  },
1773
+ "required": true
1774
+ },
1775
+ {
1776
+ "name": "hideLabel",
1777
+ "description": "Visually hides the chip group label but makes it accessible to screen readers.",
1778
+ "type": {
1779
+ "name": "boolean"
1780
+ },
1816
1781
  "defaultValue": {
1817
1782
  "func": false,
1818
- "value": "'div'"
1783
+ "value": true
1819
1784
  }
1785
+ }
1786
+ ],
1787
+ "slots": [
1788
+ {
1789
+ "name": "label",
1790
+ "description": "Override CdrChip label content with a custom element"
1820
1791
  },
1821
1792
  {
1822
- "name": "modifier",
1823
- "description": "Controls whether container is static or fluid width.",
1793
+ "name": "default",
1794
+ "description": "CdrChipGroup content (CdrChip components)"
1795
+ }
1796
+ ],
1797
+ "sourceFiles": [
1798
+ "./src/components/chip/CdrChipGroup.vue"
1799
+ ]
1800
+ },
1801
+ "CdrGrid": {
1802
+ "name": "CdrGrid",
1803
+ "description": "Simple wrapper for working with CSS grid",
1804
+ "tags": {},
1805
+ "exportName": "default",
1806
+ "displayName": "CdrGrid",
1807
+ "props": [
1808
+ {
1809
+ "name": "gutter",
1810
+ "description": "Defines gutter size. Also accepts responsive values with `@breakpoint`: \"none@md\"",
1824
1811
  "tags": {
1825
1812
  "demoSelectMultiple": [
1826
1813
  {
@@ -1830,38 +1817,51 @@
1830
1817
  ]
1831
1818
  },
1832
1819
  "values": [
1833
- "static",
1834
- "fluid"
1820
+ "none",
1821
+ "small",
1822
+ "medium",
1823
+ "large"
1835
1824
  ],
1836
1825
  "type": {
1837
1826
  "name": "string"
1838
1827
  },
1839
1828
  "defaultValue": {
1840
1829
  "func": false,
1841
- "value": "'static'"
1830
+ "value": "'medium@xs medium@sm large@md large@lg'"
1831
+ }
1832
+ },
1833
+ {
1834
+ "name": "tag",
1835
+ "description": "Sets the HTML tag for the grid element",
1836
+ "type": {
1837
+ "name": "string"
1838
+ },
1839
+ "defaultValue": {
1840
+ "func": false,
1841
+ "value": "'div'"
1842
1842
  }
1843
1843
  }
1844
1844
  ],
1845
1845
  "slots": [
1846
1846
  {
1847
1847
  "name": "default",
1848
- "description": "CdrContainer content"
1848
+ "description": "CdrGrid content (grid child elements)"
1849
1849
  }
1850
1850
  ],
1851
1851
  "sourceFiles": [
1852
- "./src/components/container/CdrContainer.vue"
1852
+ "./src/components/grid/CdrGrid.vue"
1853
1853
  ]
1854
1854
  },
1855
- "CdrFormGroup": {
1856
- "name": "CdrFormGroup",
1857
- "description": "Groups related input elements together",
1855
+ "CdrCaption": {
1856
+ "name": "CdrCaption",
1857
+ "description": "Provides context and credit for an asset such as an image, video, or chart",
1858
1858
  "tags": {},
1859
1859
  "exportName": "default",
1860
- "displayName": "CdrFormGroup",
1860
+ "displayName": "CdrCaption",
1861
1861
  "props": [
1862
1862
  {
1863
- "name": "id",
1864
- "description": "Custom ID that is mapped to the form error. If this value is not set, it will be randomly generated.",
1863
+ "name": "summary",
1864
+ "description": "Sets the string content for the description body of the caption.",
1865
1865
  "tags": {
1866
1866
  "demoIgnore": [
1867
1867
  {
@@ -1875,8 +1875,8 @@
1875
1875
  }
1876
1876
  },
1877
1877
  {
1878
- "name": "label",
1879
- "description": "Sets the label/legend for the form group. Applies default text styles to this label.\nTo override that default text style or apply other customization, use the `label` slot.",
1878
+ "name": "credit",
1879
+ "description": "Sets the string content for attribution.",
1880
1880
  "tags": {
1881
1881
  "demoIgnore": [
1882
1882
  {
@@ -1887,8 +1887,121 @@
1887
1887
  },
1888
1888
  "type": {
1889
1889
  "name": "string"
1890
- },
1891
- "defaultValue": {
1890
+ }
1891
+ }
1892
+ ],
1893
+ "sourceFiles": [
1894
+ "./src/components/caption/CdrCaption.vue"
1895
+ ],
1896
+ "UIProperties": [
1897
+ {
1898
+ "name": "--cdr-caption-summary-color",
1899
+ "defaultValue": "--cdr-color-text-primary",
1900
+ "description": "Text color of a cdr-caption"
1901
+ },
1902
+ {
1903
+ "name": "--cdr-caption-cite-color",
1904
+ "defaultValue": "--cdr-color-text-secondary",
1905
+ "description": "Text color of a cdr-caption"
1906
+ }
1907
+ ]
1908
+ },
1909
+ "CdrIcon": {
1910
+ "name": "CdrIcon",
1911
+ "description": "Communicates meaning through graphics representing simple and complex ideas",
1912
+ "tags": {
1913
+ "demoComponentNames": [
1914
+ {
1915
+ "description": "icon-account-profile, icon-camera",
1916
+ "title": "demoComponentNames"
1917
+ }
1918
+ ]
1919
+ },
1920
+ "exportName": "default",
1921
+ "displayName": "CdrIcon",
1922
+ "props": [
1923
+ {
1924
+ "name": "use",
1925
+ "description": "Only on CdrIcon. Sets the href attribute for use with SVG symbol sprite (see @rei/cedar-icons).",
1926
+ "type": {
1927
+ "name": "string"
1928
+ }
1929
+ },
1930
+ {
1931
+ "name": "inheritColor",
1932
+ "description": "Sets icon fill to \"inherit\" so as to use parent/ancestor fill color.",
1933
+ "type": {
1934
+ "name": "boolean"
1935
+ },
1936
+ "defaultValue": {
1937
+ "func": false,
1938
+ "value": false
1939
+ }
1940
+ },
1941
+ {
1942
+ "name": "size",
1943
+ "type": {
1944
+ "name": "string"
1945
+ },
1946
+ "defaultValue": {
1947
+ "func": false,
1948
+ "value": "'medium'"
1949
+ }
1950
+ }
1951
+ ],
1952
+ "slots": [
1953
+ {
1954
+ "name": "default"
1955
+ }
1956
+ ],
1957
+ "sourceFiles": [
1958
+ "./src/components/icon/CdrIcon.vue"
1959
+ ],
1960
+ "UIProperties": [
1961
+ {
1962
+ "name": "--cdr-icon-fill-default",
1963
+ "defaultValue": "--cdr-color-icon-default",
1964
+ "description": "Fill color of an icon"
1965
+ }
1966
+ ]
1967
+ },
1968
+ "CdrFormGroup": {
1969
+ "name": "CdrFormGroup",
1970
+ "description": "Groups related input elements together",
1971
+ "tags": {},
1972
+ "exportName": "default",
1973
+ "displayName": "CdrFormGroup",
1974
+ "props": [
1975
+ {
1976
+ "name": "id",
1977
+ "description": "Custom ID that is mapped to the form error. If this value is not set, it will be randomly generated.",
1978
+ "tags": {
1979
+ "demoIgnore": [
1980
+ {
1981
+ "description": "true",
1982
+ "title": "demoIgnore"
1983
+ }
1984
+ ]
1985
+ },
1986
+ "type": {
1987
+ "name": "string"
1988
+ }
1989
+ },
1990
+ {
1991
+ "name": "label",
1992
+ "description": "Sets the label/legend for the form group. Applies default text styles to this label.\nTo override that default text style or apply other customization, use the `label` slot.",
1993
+ "tags": {
1994
+ "demoIgnore": [
1995
+ {
1996
+ "description": "true",
1997
+ "title": "demoIgnore"
1998
+ }
1999
+ ]
2000
+ },
2001
+ "type": {
2002
+ "name": "string"
2003
+ },
2004
+ "defaultValue": {
1892
2005
  "func": false,
1893
2006
  "value": "''"
1894
2007
  }
@@ -1974,119 +2087,6 @@
1974
2087
  }
1975
2088
  ]
1976
2089
  },
1977
- "CdrGrid": {
1978
- "name": "CdrGrid",
1979
- "description": "Simple wrapper for working with CSS grid",
1980
- "tags": {},
1981
- "exportName": "default",
1982
- "displayName": "CdrGrid",
1983
- "props": [
1984
- {
1985
- "name": "gutter",
1986
- "description": "Defines gutter size. Also accepts responsive values with `@breakpoint`: \"none@md\"",
1987
- "tags": {
1988
- "demoSelectMultiple": [
1989
- {
1990
- "description": "false",
1991
- "title": "demoSelectMultiple"
1992
- }
1993
- ]
1994
- },
1995
- "values": [
1996
- "none",
1997
- "small",
1998
- "medium",
1999
- "large"
2000
- ],
2001
- "type": {
2002
- "name": "string"
2003
- },
2004
- "defaultValue": {
2005
- "func": false,
2006
- "value": "'medium@xs medium@sm large@md large@lg'"
2007
- }
2008
- },
2009
- {
2010
- "name": "tag",
2011
- "description": "Sets the HTML tag for the grid element",
2012
- "type": {
2013
- "name": "string"
2014
- },
2015
- "defaultValue": {
2016
- "func": false,
2017
- "value": "'div'"
2018
- }
2019
- }
2020
- ],
2021
- "slots": [
2022
- {
2023
- "name": "default",
2024
- "description": "CdrGrid content (grid child elements)"
2025
- }
2026
- ],
2027
- "sourceFiles": [
2028
- "./src/components/grid/CdrGrid.vue"
2029
- ]
2030
- },
2031
- "CdrIcon": {
2032
- "name": "CdrIcon",
2033
- "description": "Communicates meaning through graphics representing simple and complex ideas",
2034
- "tags": {
2035
- "demoComponentNames": [
2036
- {
2037
- "description": "icon-account-profile, icon-camera",
2038
- "title": "demoComponentNames"
2039
- }
2040
- ]
2041
- },
2042
- "exportName": "default",
2043
- "displayName": "CdrIcon",
2044
- "props": [
2045
- {
2046
- "name": "use",
2047
- "description": "Only on CdrIcon. Sets the href attribute for use with SVG symbol sprite (see @rei/cedar-icons).",
2048
- "type": {
2049
- "name": "string"
2050
- }
2051
- },
2052
- {
2053
- "name": "inheritColor",
2054
- "description": "Sets icon fill to \"inherit\" so as to use parent/ancestor fill color.",
2055
- "type": {
2056
- "name": "boolean"
2057
- },
2058
- "defaultValue": {
2059
- "func": false,
2060
- "value": false
2061
- }
2062
- },
2063
- {
2064
- "name": "size",
2065
- "type": {
2066
- "name": "string"
2067
- },
2068
- "defaultValue": {
2069
- "func": false,
2070
- "value": "'medium'"
2071
- }
2072
- }
2073
- ],
2074
- "slots": [
2075
- {
2076
- "name": "default"
2077
- }
2078
- ],
2079
- "sourceFiles": [
2080
- "./src/components/icon/CdrIcon.vue"
2081
- ],
2082
- "UIProperties": [
2083
- {
2084
- "name": "--cdr-icon-fill-default",
2085
- "defaultValue": "--cdr-color-icon-default",
2086
- "description": "Fill color of an icon"
2087
- }
2088
- ]
2089
- },
2090
2090
  "CdrImg": {
2091
2091
  "name": "CdrImg",
2092
2092
  "description": "Media for capturing attention and communicating messages",
@@ -2227,107 +2227,16 @@
2227
2227
  "./src/components/image/CdrImg.vue"
2228
2228
  ]
2229
2229
  },
2230
- "CdrLabelStandalone": {
2231
- "name": "CdrLabelStandalone",
2232
- "exportName": "default",
2233
- "displayName": "CdrLabelStandalone",
2234
- "description": "",
2230
+ "CdrInput": {
2231
+ "name": "CdrInput",
2232
+ "description": "Allows for data entry, editing, and search",
2235
2233
  "tags": {},
2234
+ "exportName": "default",
2235
+ "displayName": "CdrInput",
2236
2236
  "props": [
2237
2237
  {
2238
- "name": "forId",
2239
- "type": {
2240
- "name": "string"
2241
- },
2242
- "required": true
2243
- },
2244
- {
2245
- "name": "label",
2246
- "type": {
2247
- "name": "string"
2248
- }
2249
- },
2250
- {
2251
- "name": "disabled",
2252
- "type": {
2253
- "name": "boolean"
2254
- }
2255
- },
2256
- {
2257
- "name": "required",
2258
- "type": {
2259
- "name": "boolean"
2260
- }
2261
- },
2262
- {
2263
- "name": "optional",
2264
- "type": {
2265
- "name": "boolean"
2266
- }
2267
- },
2268
- {
2269
- "name": "hideLabel",
2270
- "type": {
2271
- "name": "boolean"
2272
- }
2273
- }
2274
- ],
2275
- "slots": [
2276
- {
2277
- "name": "helper"
2278
- },
2279
- {
2280
- "name": "default"
2281
- },
2282
- {
2283
- "name": "info-action"
2284
- },
2285
- {
2286
- "name": "info"
2287
- },
2288
- {
2289
- "name": "helper-text-bottom"
2290
- },
2291
- {
2292
- "name": "error"
2293
- }
2294
- ],
2295
- "sourceFiles": [
2296
- "./src/components/labelStandalone/CdrLabelStandalone.vue"
2297
- ],
2298
- "UIProperties": [
2299
- {
2300
- "name": "--cdr-label-standalone-text-color",
2301
- "defaultValue": "--cdr-color-text-input-label",
2302
- "description": "Text color of a standalone label"
2303
- },
2304
- {
2305
- "name": "--cdr-label-standalone-disabled-text-color",
2306
- "defaultValue": "--cdr-color-text-input-disabled",
2307
- "description": "Text color of a standalone label when disabled"
2308
- },
2309
- {
2310
- "name": "--cdr-label-standalone-optional-text-color",
2311
- "defaultValue": "--cdr-color-text-input-optional",
2312
- "description": "Text color of a standalone label when optional"
2313
- },
2314
- {
2315
- "name": "--cdr-label-standalone-helper-text-color",
2316
- "defaultValue": "--cdr-color-text-input-help",
2317
- "description": "Text color of a standalone helper label"
2318
- }
2319
- ]
2320
- },
2321
- "CdrInput": {
2322
- "name": "CdrInput",
2323
- "description": "Allows for data entry, editing, and search",
2324
- "tags": {},
2325
- "exportName": "default",
2326
- "displayName": "CdrInput",
2327
- "props": [
2328
- {
2329
- "name": "id",
2330
- "description": "Custom ID that is mapped to the label ‘for’ attribute. If this value is not set, it will be randomly generated.",
2238
+ "name": "id",
2239
+ "description": "Custom ID that is mapped to the label ‘for’ attribute. If this value is not set, it will be randomly generated.",
2331
2240
  "type": {
2332
2241
  "name": "string"
2333
2242
  }
@@ -2661,6 +2570,97 @@
2661
2570
  }
2662
2571
  ]
2663
2572
  },
2573
+ "CdrLabelStandalone": {
2574
+ "name": "CdrLabelStandalone",
2575
+ "exportName": "default",
2576
+ "displayName": "CdrLabelStandalone",
2577
+ "description": "",
2578
+ "tags": {},
2579
+ "props": [
2580
+ {
2581
+ "name": "forId",
2582
+ "type": {
2583
+ "name": "string"
2584
+ },
2585
+ "required": true
2586
+ },
2587
+ {
2588
+ "name": "label",
2589
+ "type": {
2590
+ "name": "string"
2591
+ }
2592
+ },
2593
+ {
2594
+ "name": "disabled",
2595
+ "type": {
2596
+ "name": "boolean"
2597
+ }
2598
+ },
2599
+ {
2600
+ "name": "required",
2601
+ "type": {
2602
+ "name": "boolean"
2603
+ }
2604
+ },
2605
+ {
2606
+ "name": "optional",
2607
+ "type": {
2608
+ "name": "boolean"
2609
+ }
2610
+ },
2611
+ {
2612
+ "name": "hideLabel",
2613
+ "type": {
2614
+ "name": "boolean"
2615
+ }
2616
+ }
2617
+ ],
2618
+ "slots": [
2619
+ {
2620
+ "name": "helper"
2621
+ },
2622
+ {
2623
+ "name": "default"
2624
+ },
2625
+ {
2626
+ "name": "info-action"
2627
+ },
2628
+ {
2629
+ "name": "info"
2630
+ },
2631
+ {
2632
+ "name": "helper-text-bottom"
2633
+ },
2634
+ {
2635
+ "name": "error"
2636
+ }
2637
+ ],
2638
+ "sourceFiles": [
2639
+ "./src/components/labelStandalone/CdrLabelStandalone.vue"
2640
+ ],
2641
+ "UIProperties": [
2642
+ {
2643
+ "name": "--cdr-label-standalone-text-color",
2644
+ "defaultValue": "--cdr-color-text-input-label",
2645
+ "description": "Text color of a standalone label"
2646
+ },
2647
+ {
2648
+ "name": "--cdr-label-standalone-disabled-text-color",
2649
+ "defaultValue": "--cdr-color-text-input-disabled",
2650
+ "description": "Text color of a standalone label when disabled"
2651
+ },
2652
+ {
2653
+ "name": "--cdr-label-standalone-optional-text-color",
2654
+ "defaultValue": "--cdr-color-text-input-optional",
2655
+ "description": "Text color of a standalone label when optional"
2656
+ },
2657
+ {
2658
+ "name": "--cdr-label-standalone-helper-text-color",
2659
+ "defaultValue": "--cdr-color-text-input-help",
2660
+ "description": "Text color of a standalone helper label"
2661
+ }
2662
+ ]
2663
+ },
2664
2664
  "CdrLabelWrapper": {
2665
2665
  "name": "CdrLabelWrapper",
2666
2666
  "exportName": "default",
@@ -3299,124 +3299,92 @@
3299
3299
  }
3300
3300
  ]
3301
3301
  },
3302
- "CdrPopover": {
3303
- "name": "CdrPopover",
3304
- "description": "Small overlay used to display contextual information",
3302
+ "CdrQuote": {
3303
+ "name": "CdrQuote",
3304
+ "description": "Short excerpt used to emphasize content or break up a large body of text",
3305
3305
  "tags": {},
3306
3306
  "exportName": "default",
3307
- "displayName": "CdrPopover",
3307
+ "displayName": "CdrQuote",
3308
3308
  "props": [
3309
3309
  {
3310
- "name": "position",
3311
- "description": "Sets the position where the popover will render relative to the trigger element.",
3310
+ "name": "tag",
3311
+ "description": "Sets the semantic HTML element for the quote.",
3312
+ "tags": {},
3313
+ "values": [
3314
+ "blockquote",
3315
+ "aside",
3316
+ "q",
3317
+ "div"
3318
+ ],
3319
+ "type": {
3320
+ "name": "string"
3321
+ },
3322
+ "defaultValue": {
3323
+ "func": false,
3324
+ "value": "'blockquote'"
3325
+ }
3326
+ },
3327
+ {
3328
+ "name": "modifier",
3329
+ "description": "Modifies the style variant for the quote",
3312
3330
  "tags": {
3313
3331
  "demoSelectMultiple": [
3314
3332
  {
3315
- "description": "false",
3333
+ "description": "true",
3316
3334
  "title": "demoSelectMultiple"
3317
3335
  }
3318
3336
  ]
3319
3337
  },
3320
3338
  "values": [
3321
- "top",
3322
- "bottom",
3323
- "left",
3324
- "right"
3339
+ "pull"
3325
3340
  ],
3326
3341
  "type": {
3327
3342
  "name": "string"
3328
3343
  },
3329
- "required": false,
3330
3344
  "defaultValue": {
3331
3345
  "func": false,
3332
- "value": "'top'"
3346
+ "value": "''"
3333
3347
  }
3334
3348
  },
3335
3349
  {
3336
- "name": "autoPosition",
3337
- "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`.",
3350
+ "name": "summary",
3351
+ "description": "Sets the quote body text.",
3338
3352
  "type": {
3339
- "name": "boolean"
3340
- },
3341
- "required": false,
3342
- "defaultValue": {
3343
- "func": false,
3344
- "value": true
3353
+ "name": "string"
3345
3354
  }
3346
3355
  },
3347
3356
  {
3348
- "name": "label",
3349
- "description": "Sets the title for the popover content. Can also be provided via the `title` slot.",
3357
+ "name": "citation",
3358
+ "description": "Sets the quote attribution text.",
3350
3359
  "type": {
3351
3360
  "name": "string"
3352
- },
3353
- "required": false
3354
- },
3361
+ }
3362
+ }
3363
+ ],
3364
+ "slots": [
3355
3365
  {
3356
- "name": "id",
3357
- "description": "ID for the popover element, required for accessibility",
3358
- "type": {
3359
- "name": "string"
3360
- },
3361
- "required": true
3366
+ "name": "default"
3367
+ }
3368
+ ],
3369
+ "sourceFiles": [
3370
+ "./src/components/quote/CdrQuote.vue"
3371
+ ],
3372
+ "UIProperties": [
3373
+ {
3374
+ "name": "--cdr-quote-cite-text-color",
3375
+ "defaultValue": "--cdr-color-text-secondary",
3376
+ "description": "Text color of a cdr-quote citation"
3362
3377
  },
3363
3378
  {
3364
- "name": "contentClass",
3365
- "description": "Add custom class to the popover content wrapper. Allows for overriding size, styling, etc.",
3366
- "type": {
3367
- "name": "string"
3368
- },
3369
- "required": false
3379
+ "name": "--cdr-quote-content-text-color",
3380
+ "defaultValue": "--cdr-color-text-primary",
3381
+ "description": "Text color of cdr-quote content"
3370
3382
  },
3371
3383
  {
3372
- "name": "open",
3373
- "description": "Used to programmatically control the popover state. Does not need to be set if you are using the `trigger` slot.",
3374
- "tags": {
3375
- "demoIgnore": [
3376
- {
3377
- "description": "true",
3378
- "title": "demoIgnore"
3379
- }
3380
- ]
3381
- },
3382
- "type": {
3383
- "name": "boolean"
3384
- },
3385
- "required": false,
3386
- "defaultValue": {
3387
- "func": false,
3388
- "value": false
3389
- }
3390
- }
3391
- ],
3392
- "events": [
3393
- {
3394
- "name": "opened",
3395
- "description": "Emits when popover is opened"
3396
- },
3397
- {
3398
- "name": "closed",
3399
- "description": "Emits when popover is closed"
3400
- }
3401
- ],
3402
- "slots": [
3403
- {
3404
- "name": "trigger",
3405
- "description": " Slot for the element that triggers the popover."
3406
- },
3407
- {
3408
- "name": "title",
3409
- "description": "Sets the title for the popover. Can also be set with `label` prop"
3410
- },
3411
- {
3412
- "name": "default"
3413
- },
3414
- {
3415
- "name": "icon"
3384
+ "name": "--cdr-quote-pull-container-border-color",
3385
+ "defaultValue": "--cdr-color-border-primary",
3386
+ "description": "Border color of a cdr-quote pull container"
3416
3387
  }
3417
- ],
3418
- "sourceFiles": [
3419
- "./src/components/popover/CdrPopover.vue"
3420
3388
  ]
3421
3389
  },
3422
3390
  "CdrPopup": {
@@ -3490,92 +3458,124 @@
3490
3458
  }
3491
3459
  ]
3492
3460
  },
3493
- "CdrQuote": {
3494
- "name": "CdrQuote",
3495
- "description": "Short excerpt used to emphasize content or break up a large body of text",
3461
+ "CdrPopover": {
3462
+ "name": "CdrPopover",
3463
+ "description": "Small overlay used to display contextual information",
3496
3464
  "tags": {},
3497
3465
  "exportName": "default",
3498
- "displayName": "CdrQuote",
3466
+ "displayName": "CdrPopover",
3499
3467
  "props": [
3500
3468
  {
3501
- "name": "tag",
3502
- "description": "Sets the semantic HTML element for the quote.",
3503
- "tags": {},
3504
- "values": [
3505
- "blockquote",
3506
- "aside",
3507
- "q",
3508
- "div"
3509
- ],
3510
- "type": {
3511
- "name": "string"
3512
- },
3513
- "defaultValue": {
3514
- "func": false,
3515
- "value": "'blockquote'"
3516
- }
3517
- },
3518
- {
3519
- "name": "modifier",
3520
- "description": "Modifies the style variant for the quote",
3469
+ "name": "position",
3470
+ "description": "Sets the position where the popover will render relative to the trigger element.",
3521
3471
  "tags": {
3522
3472
  "demoSelectMultiple": [
3523
3473
  {
3524
- "description": "true",
3474
+ "description": "false",
3525
3475
  "title": "demoSelectMultiple"
3526
3476
  }
3527
3477
  ]
3528
3478
  },
3529
3479
  "values": [
3530
- "pull"
3480
+ "top",
3481
+ "bottom",
3482
+ "left",
3483
+ "right"
3531
3484
  ],
3532
3485
  "type": {
3533
3486
  "name": "string"
3534
3487
  },
3488
+ "required": false,
3535
3489
  "defaultValue": {
3536
3490
  "func": false,
3537
- "value": "''"
3491
+ "value": "'top'"
3538
3492
  }
3539
3493
  },
3540
3494
  {
3541
- "name": "summary",
3542
- "description": "Sets the quote body text.",
3495
+ "name": "autoPosition",
3496
+ "description": "If set to `true`, popover will attempt to dynamically set it's position to\nensure it renders within the visible browser window.\nIf `false` the popover will always render in the provided `position`.",
3543
3497
  "type": {
3544
- "name": "string"
3498
+ "name": "boolean"
3499
+ },
3500
+ "required": false,
3501
+ "defaultValue": {
3502
+ "func": false,
3503
+ "value": true
3545
3504
  }
3546
3505
  },
3547
3506
  {
3548
- "name": "citation",
3549
- "description": "Sets the quote attribution text.",
3507
+ "name": "label",
3508
+ "description": "Sets the title for the popover content. Can also be provided via the `title` slot.",
3509
+ "type": {
3510
+ "name": "string"
3511
+ },
3512
+ "required": false
3513
+ },
3514
+ {
3515
+ "name": "id",
3516
+ "description": "ID for the popover element, required for accessibility",
3517
+ "type": {
3518
+ "name": "string"
3519
+ },
3520
+ "required": true
3521
+ },
3522
+ {
3523
+ "name": "contentClass",
3524
+ "description": "Add custom class to the popover content wrapper. Allows for overriding size, styling, etc.",
3550
3525
  "type": {
3551
3526
  "name": "string"
3527
+ },
3528
+ "required": false
3529
+ },
3530
+ {
3531
+ "name": "open",
3532
+ "description": "Used to programmatically control the popover state. Does not need to be set if you are using the `trigger` slot.",
3533
+ "tags": {
3534
+ "demoIgnore": [
3535
+ {
3536
+ "description": "true",
3537
+ "title": "demoIgnore"
3538
+ }
3539
+ ]
3540
+ },
3541
+ "type": {
3542
+ "name": "boolean"
3543
+ },
3544
+ "required": false,
3545
+ "defaultValue": {
3546
+ "func": false,
3547
+ "value": false
3552
3548
  }
3553
3549
  }
3554
3550
  ],
3555
- "slots": [
3551
+ "events": [
3556
3552
  {
3557
- "name": "default"
3553
+ "name": "opened",
3554
+ "description": "Emits when popover is opened"
3555
+ },
3556
+ {
3557
+ "name": "closed",
3558
+ "description": "Emits when popover is closed"
3558
3559
  }
3559
3560
  ],
3560
- "sourceFiles": [
3561
- "./src/components/quote/CdrQuote.vue"
3562
- ],
3563
- "UIProperties": [
3561
+ "slots": [
3564
3562
  {
3565
- "name": "--cdr-quote-cite-text-color",
3566
- "defaultValue": "--cdr-color-text-secondary",
3567
- "description": "Text color of a cdr-quote citation"
3563
+ "name": "trigger",
3564
+ "description": " Slot for the element that triggers the popover."
3568
3565
  },
3569
3566
  {
3570
- "name": "--cdr-quote-content-text-color",
3571
- "defaultValue": "--cdr-color-text-primary",
3572
- "description": "Text color of cdr-quote content"
3567
+ "name": "title",
3568
+ "description": "Sets the title for the popover. Can also be set with `label` prop"
3573
3569
  },
3574
3570
  {
3575
- "name": "--cdr-quote-pull-container-border-color",
3576
- "defaultValue": "--cdr-color-border-primary",
3577
- "description": "Border color of a cdr-quote pull container"
3571
+ "name": "default"
3572
+ },
3573
+ {
3574
+ "name": "icon"
3578
3575
  }
3576
+ ],
3577
+ "sourceFiles": [
3578
+ "./src/components/popover/CdrPopover.vue"
3579
3579
  ]
3580
3580
  },
3581
3581
  "CdrRating": {
@@ -3708,74 +3708,68 @@
3708
3708
  }
3709
3709
  ]
3710
3710
  },
3711
- "CdrRadio": {
3712
- "name": "CdrRadio",
3713
- "description": "Permits the selection of only one option from a list of two or more",
3711
+ "CdrSelect": {
3712
+ "name": "CdrSelect",
3713
+ "description": "Allows the selection of one or more options from a dropdown list",
3714
3714
  "tags": {},
3715
3715
  "exportName": "default",
3716
- "displayName": "CdrRadio",
3716
+ "displayName": "CdrSelect",
3717
3717
  "props": [
3718
3718
  {
3719
- "name": "labelClass",
3720
- "description": "Adds CSS class to the label for custom styles.",
3719
+ "name": "id",
3720
+ "description": "Custom ID that is mapped to the label for attribute. If this value is not set, it will be auto-generated.",
3721
3721
  "type": {
3722
3722
  "name": "string"
3723
3723
  }
3724
3724
  },
3725
3725
  {
3726
- "name": "inputClass",
3727
- "description": "Adds CSS class to the input for custom styles.",
3726
+ "name": "label",
3727
+ "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.",
3728
3728
  "type": {
3729
3729
  "name": "string"
3730
- }
3730
+ },
3731
+ "required": true
3731
3732
  },
3732
3733
  {
3733
- "name": "contentClass",
3734
- "description": "Adds CSS class to the slot wrapper for custom styles.",
3734
+ "name": "hideLabel",
3735
+ "description": "Visually hides the label element, but leaves it available to screen readers for accessibility compliance.",
3735
3736
  "type": {
3736
- "name": "string"
3737
+ "name": "boolean"
3738
+ },
3739
+ "defaultValue": {
3740
+ "func": false,
3741
+ "value": false
3737
3742
  }
3738
3743
  },
3739
3744
  {
3740
- "name": "disabled",
3741
- "description": "Disables the radio",
3745
+ "name": "prompt",
3746
+ "description": "Adds an option that is disabled and selected by default to serve as a `placeholder` for the select.",
3742
3747
  "type": {
3743
- "name": "boolean"
3748
+ "name": "string"
3744
3749
  }
3745
3750
  },
3746
3751
  {
3747
- "name": "name",
3748
- "description": "Sets the name of the radio button.",
3752
+ "name": "options",
3753
+ "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).",
3749
3754
  "type": {
3750
- "name": "string"
3751
- },
3752
- "required": true
3755
+ "name": "selectOption[] | string[]"
3756
+ }
3753
3757
  },
3754
3758
  {
3755
- "name": "modifier",
3756
- "description": "Modifies the style variants for this component",
3757
- "tags": {
3758
- "demoSelectMultiple": [
3759
- {
3760
- "description": "true",
3761
- "title": "demoSelectMultiple"
3762
- }
3763
- ]
3764
- },
3759
+ "name": "background",
3760
+ "description": "Sets the background color the radio button is rendered on",
3761
+ "tags": {},
3765
3762
  "values": [
3766
- "hide-figure"
3763
+ "primary",
3764
+ "secondary"
3767
3765
  ],
3768
3766
  "type": {
3769
- "name": "string"
3770
- },
3771
- "defaultValue": {
3772
- "func": false,
3773
- "value": "''"
3767
+ "name": "backgroundProps"
3774
3768
  }
3775
3769
  },
3776
3770
  {
3777
3771
  "name": "size",
3778
- "description": "Sets the radio size; values can target responsive breakpoints. Example `small@lg`",
3772
+ "description": "Sets the component's size; values can target responsive breakpoints. Example `small@lg`",
3779
3773
  "tags": {
3780
3774
  "demoSelectMultiple": [
3781
3775
  {
@@ -3794,242 +3788,8 @@
3794
3788
  }
3795
3789
  },
3796
3790
  {
3797
- "name": "background",
3798
- "description": "Sets the background color the radio button is rendered on",
3799
- "tags": {},
3800
- "values": [
3801
- "primary",
3802
- "secondary"
3803
- ],
3804
- "type": {
3805
- "name": "backgroundProps"
3806
- }
3807
- },
3808
- {
3809
- "name": "customValue",
3810
- "description": "Sets the value of the radio.",
3811
- "type": {
3812
- "name": "string|number|boolean|object|array|symbol|func"
3813
- }
3814
- },
3815
- {
3816
- "name": "modelValue",
3817
- "tags": {
3818
- "ignore": [
3819
- {
3820
- "description": "v-model binding",
3821
- "title": "ignore"
3822
- }
3823
- ]
3824
- },
3825
- "type": {
3826
- "name": "string|number|boolean|object|array|symbol|func"
3827
- }
3828
- }
3829
- ],
3830
- "events": [
3831
- {
3832
- "name": "update:modelValue",
3833
- "description": "Event emitted by v-model on the radio's <input> element",
3834
- "properties": [
3835
- {
3836
- "type": {
3837
- "names": [
3838
- "mixed"
3839
- ]
3840
- },
3841
- "name": "modelValue"
3842
- }
3843
- ],
3844
- "tags": [
3845
- {
3846
- "title": "param",
3847
- "type": {
3848
- "name": "mixed"
3849
- },
3850
- "name": "modelValue"
3851
- }
3852
- ]
3853
- }
3854
- ],
3855
- "slots": [
3856
- {
3857
- "name": "default"
3858
- }
3859
- ],
3860
- "sourceFiles": [
3861
- "./src/components/radio/CdrRadio.vue"
3862
- ],
3863
- "UIProperties": [
3864
- {
3865
- "name": "--cdr-radio-box-shadow-color-selected",
3866
- "defaultValue": "--cdr-color-border-input-default-selected",
3867
- "description": "Box-shadow color of cdr-radio when selected"
3868
- },
3869
- {
3870
- "name": "--cdr-radio-background-color-selected",
3871
- "defaultValue": "--cdr-color-background-input-default-selected",
3872
- "description": "Background color of cdr-radio when selected"
3873
- },
3874
- {
3875
- "name": "--cdr-radio-inner-circle-background-color-selected",
3876
- "defaultValue": "--cdr-color-icon-checkbox-default-selected",
3877
- "description": "Background color of the inner circle of cdr-radio when selected"
3878
- },
3879
- {
3880
- "name": "--cdr-radio-box-shadow-color-hover",
3881
- "defaultValue": "--cdr-color-border-input-default-hover",
3882
- "description": "Box-shadow color of cdr-radio on hover"
3883
- },
3884
- {
3885
- "name": "--cdr-radio-background-color-hover",
3886
- "defaultValue": "--cdr-color-background-input-default-hover",
3887
- "description": "Background color of cdr-radio on hover"
3888
- },
3889
- {
3890
- "name": "--cdr-radio-box-shadow-color-selected-hover",
3891
- "defaultValue": "--cdr-color-border-input-default-selected-hover",
3892
- "description": "Box-shadow color of cdr-radio when selected on hover"
3893
- },
3894
- {
3895
- "name": "--cdr-radio-background-color-selected-hover",
3896
- "defaultValue": "--cdr-color-background-input-default-selected-hover",
3897
- "description": "Background color of cdr-radio when selected on hover"
3898
- },
3899
- {
3900
- "name": "--cdr-radio-box-shadow-color-disabled",
3901
- "defaultValue": "--cdr-color-border-input-default-disabled",
3902
- "description": "Box-shadow color of cdr-radio when disabled"
3903
- },
3904
- {
3905
- "name": "--cdr-radio-background-color-disabled",
3906
- "defaultValue": "--cdr-color-background-input-default-disabled",
3907
- "description": "Background color of cdr-radio when disabled"
3908
- },
3909
- {
3910
- "name": "--cdr-radio-inner-circle-background-color-disabled",
3911
- "defaultValue": "--cdr-color-background-input-default-disabled",
3912
- "description": "Background color of the inner circle of cdr-radio when disabled"
3913
- },
3914
- {
3915
- "name": "--cdr-radio-inner-circle-background-color-selected-disabled",
3916
- "defaultValue": "--cdr-color-background-input-default-disabled",
3917
- "description": "Background color of the inner circle of cdr-radio when selected and disabled"
3918
- },
3919
- {
3920
- "name": "--cdr-radio-box-shadow-color-focus",
3921
- "defaultValue": "--cdr-color-border-input-default-active",
3922
- "description": "Box-shadow color of cdr-radio on focus"
3923
- },
3924
- {
3925
- "name": "--cdr-radio-background-color-focus",
3926
- "defaultValue": "--cdr-color-background-input-default-focus",
3927
- "description": "Background color of cdr-radio on focus"
3928
- },
3929
- {
3930
- "name": "--cdr-radio-background-color-selected-focus",
3931
- "defaultValue": "--cdr-color-background-input-default-selected-focus",
3932
- "description": "Background color of cdr-radio when selected on focus"
3933
- },
3934
- {
3935
- "name": "--cdr-radio-box-shadow-color-active",
3936
- "defaultValue": "--cdr-color-border-input-default-active",
3937
- "description": "Box-shadow color of cdr-radio when active"
3938
- },
3939
- {
3940
- "name": "--cdr-radio-background-color-active",
3941
- "defaultValue": "--cdr-color-background-input-default-active",
3942
- "description": "Background color of cdr-radio when active"
3943
- },
3944
- {
3945
- "name": "--cdr-radio-inner-circle-background-color-selected-active",
3946
- "defaultValue": "--cdr-color-icon-checkbox-default-selected-active",
3947
- "description": "Background color of the inner circle of cdr-radio when selected and active"
3948
- }
3949
- ]
3950
- },
3951
- "CdrSelect": {
3952
- "name": "CdrSelect",
3953
- "description": "Allows the selection of one or more options from a dropdown list",
3954
- "tags": {},
3955
- "exportName": "default",
3956
- "displayName": "CdrSelect",
3957
- "props": [
3958
- {
3959
- "name": "id",
3960
- "description": "Custom ID that is mapped to the label ‘for’ attribute. If this value is not set, it will be auto-generated.",
3961
- "type": {
3962
- "name": "string"
3963
- }
3964
- },
3965
- {
3966
- "name": "label",
3967
- "description": "Sets the text value for the select label.\nRequired for accessibility compliance. Use ‘hideLabel’ to\nvisually hide the label but keep it available to screenreaders.",
3968
- "type": {
3969
- "name": "string"
3970
- },
3971
- "required": true
3972
- },
3973
- {
3974
- "name": "hideLabel",
3975
- "description": "Visually hides the label element, but leaves it available to screen readers for accessibility compliance.",
3976
- "type": {
3977
- "name": "boolean"
3978
- },
3979
- "defaultValue": {
3980
- "func": false,
3981
- "value": false
3982
- }
3983
- },
3984
- {
3985
- "name": "prompt",
3986
- "description": "Adds an option that is disabled and selected by default to serve as a `placeholder` for the select.",
3987
- "type": {
3988
- "name": "string"
3989
- }
3990
- },
3991
- {
3992
- "name": "options",
3993
- "description": "Build options programmatically with data.\nProvide an array of objects [{ text: String, value: String}] for greater control\nor provide an array of strings ['String'] for simpler setup (value and text will be the same).",
3994
- "type": {
3995
- "name": "selectOption[] | string[]"
3996
- }
3997
- },
3998
- {
3999
- "name": "background",
4000
- "description": "Sets the background color the radio button is rendered on",
4001
- "tags": {},
4002
- "values": [
4003
- "primary",
4004
- "secondary"
4005
- ],
4006
- "type": {
4007
- "name": "backgroundProps"
4008
- }
4009
- },
4010
- {
4011
- "name": "size",
4012
- "description": "Sets the component's size; values can target responsive breakpoints. Example `small@lg`",
4013
- "tags": {
4014
- "demoSelectMultiple": [
4015
- {
4016
- "description": "false",
4017
- "title": "demoSelectMultiple"
4018
- }
4019
- ]
4020
- },
4021
- "values": [
4022
- "small",
4023
- "medium",
4024
- "large"
4025
- ],
4026
- "type": {
4027
- "name": "sizeProps"
4028
- }
4029
- },
4030
- {
4031
- "name": "error",
4032
- "description": "Sets the select to an error state, displays the `error` slot if one is present.",
3791
+ "name": "error",
3792
+ "description": "Sets the select to an error state, displays the `error` slot if one is present.",
4033
3793
  "type": {
4034
3794
  "name": "boolean|string"
4035
3795
  },
@@ -4241,160 +4001,74 @@
4241
4001
  }
4242
4002
  ]
4243
4003
  },
4244
- "CdrSkeletonBone": {
4245
- "name": "CdrSkeletonBone",
4246
- "exportName": "default",
4247
- "displayName": "CdrSkeletonBone",
4248
- "description": "",
4004
+ "CdrRadio": {
4005
+ "name": "CdrRadio",
4006
+ "description": "Permits the selection of only one option from a list of two or more",
4249
4007
  "tags": {},
4008
+ "exportName": "default",
4009
+ "displayName": "CdrRadio",
4250
4010
  "props": [
4251
4011
  {
4252
- "name": "type",
4253
- "description": "Sets the type of content placeholder",
4254
- "tags": {
4255
- "demoSelectMultiple": [
4256
- {
4257
- "description": "false",
4258
- "title": "demoSelectMultiple"
4259
- }
4260
- ]
4261
- },
4262
- "values": [
4263
- "default",
4264
- "heading",
4265
- "line",
4266
- "rectangle",
4267
- "square"
4268
- ],
4269
- "type": {
4270
- "name": "string"
4271
- },
4272
- "defaultValue": {
4273
- "func": false,
4274
- "value": "'default'"
4275
- }
4276
- }
4277
- ],
4278
- "sourceFiles": [
4279
- "./src/components/skeleton/CdrSkeletonBone.vue"
4280
- ]
4281
- },
4282
- "CdrTabPanel": {
4283
- "name": "CdrTabPanel",
4284
- "exportName": "default",
4285
- "displayName": "CdrTabPanel",
4286
- "description": "",
4287
- "tags": {},
4288
- "props": [
4289
- {
4290
- "name": "id",
4291
- "description": "Sets reference identifier for tab content. This property is required and is necessary for accessibility. Must be unique for each tabPanel, and cannot be the same as the `aria-labelledby` property.",
4012
+ "name": "labelClass",
4013
+ "description": "Adds CSS class to the label for custom styles.",
4292
4014
  "type": {
4293
4015
  "name": "string"
4294
4016
  }
4295
4017
  },
4296
4018
  {
4297
- "name": "name",
4298
- "description": "Sets tab display name. Required and must be unique for each tab. If `id` is not provided, this value will be used as the reference identifier.",
4019
+ "name": "inputClass",
4020
+ "description": "Adds CSS class to the input for custom styles.",
4299
4021
  "type": {
4300
4022
  "name": "string"
4301
4023
  }
4302
4024
  },
4303
4025
  {
4304
- "name": "ariaLabelledby",
4305
- "description": "Sets reference identifier for tab header. This property is required and is necessary for accessibility. Must be unique for each tabPanel, and cannot be the same as the `id` property.",
4026
+ "name": "contentClass",
4027
+ "description": "Adds CSS class to the slot wrapper for custom styles.",
4306
4028
  "type": {
4307
4029
  "name": "string"
4308
4030
  }
4309
- }
4310
- ],
4311
- "events": [
4312
- {
4313
- "name": "tab-change",
4314
- "description": "Emits when active tab is changed",
4315
- "tags": [
4316
- {
4317
- "title": "params",
4318
- "content": "state, panelId"
4319
- }
4320
- ]
4321
- }
4322
- ],
4323
- "slots": [
4324
- {
4325
- "name": "default",
4326
- "description": "CdrTabPanel content"
4327
- }
4328
- ],
4329
- "sourceFiles": [
4330
- "./src/components/tabs/CdrTabPanel.vue"
4331
- ]
4332
- },
4333
- "CdrTable": {
4334
- "name": "CdrTable",
4335
- "description": "Organizes structured data for users to easily scan, compare, and analyze",
4336
- "tags": {},
4337
- "exportName": "default",
4338
- "displayName": "CdrTable",
4339
- "props": [
4340
- {
4341
- "name": "striped",
4342
- "description": "Sets row colors to alternate between darker and lighter backgrounds.\nStriping will not apply when `border` is true",
4343
- "type": {
4344
- "name": "boolean"
4345
- },
4346
- "defaultValue": {
4347
- "func": false,
4348
- "value": false
4349
- }
4350
4031
  },
4351
4032
  {
4352
- "name": "border",
4353
- "description": "Adds borders between rows. Will disable `striped` if both are true",
4033
+ "name": "disabled",
4034
+ "description": "Disables the radio",
4354
4035
  "type": {
4355
4036
  "name": "boolean"
4356
- },
4357
- "defaultValue": {
4358
- "func": false,
4359
- "value": true
4360
4037
  }
4361
4038
  },
4362
4039
  {
4363
- "name": "fullWidth",
4364
- "description": "Sets the width to 100%. Also accepts space separated strings for breakpoints that it should be full width: { '@xs' | '@sm' | '@md' | '@lg' }",
4040
+ "name": "name",
4041
+ "description": "Sets the name of the radio button.",
4365
4042
  "type": {
4366
- "name": "boolean|string"
4043
+ "name": "string"
4367
4044
  },
4368
- "defaultValue": {
4369
- "func": false,
4370
- "value": true
4371
- }
4045
+ "required": true
4372
4046
  },
4373
4047
  {
4374
- "name": "responsive",
4375
- "description": "Makes the table scroll horizontally when it would overflow its container",
4376
- "type": {
4377
- "name": "boolean"
4048
+ "name": "modifier",
4049
+ "description": "Modifies the style variants for this component",
4050
+ "tags": {
4051
+ "demoSelectMultiple": [
4052
+ {
4053
+ "description": "true",
4054
+ "title": "demoSelectMultiple"
4055
+ }
4056
+ ]
4378
4057
  },
4379
- "defaultValue": {
4380
- "func": false,
4381
- "value": true
4382
- }
4383
- },
4384
- {
4385
- "name": "hover",
4386
- "description": "Adds a darker background on row hover",
4058
+ "values": [
4059
+ "hide-figure"
4060
+ ],
4387
4061
  "type": {
4388
- "name": "boolean"
4062
+ "name": "string"
4389
4063
  },
4390
4064
  "defaultValue": {
4391
4065
  "func": false,
4392
- "value": false
4066
+ "value": "''"
4393
4067
  }
4394
4068
  },
4395
4069
  {
4396
4070
  "name": "size",
4397
- "description": "Sets the table size (cell padding); values can target responsive breakpoints. Example `small@lg`.",
4071
+ "description": "Sets the radio size; values can target responsive breakpoints. Example `small@lg`",
4398
4072
  "tags": {
4399
4073
  "demoSelectMultiple": [
4400
4074
  {
@@ -4409,198 +4083,353 @@
4409
4083
  "large"
4410
4084
  ],
4411
4085
  "type": {
4412
- "name": "string"
4086
+ "name": "sizeProps"
4087
+ }
4088
+ },
4089
+ {
4090
+ "name": "background",
4091
+ "description": "Sets the background color the radio button is rendered on",
4092
+ "tags": {},
4093
+ "values": [
4094
+ "primary",
4095
+ "secondary"
4096
+ ],
4097
+ "type": {
4098
+ "name": "backgroundProps"
4099
+ }
4100
+ },
4101
+ {
4102
+ "name": "customValue",
4103
+ "description": "Sets the value of the radio.",
4104
+ "type": {
4105
+ "name": "string|number|boolean|object|array|symbol|func"
4106
+ }
4107
+ },
4108
+ {
4109
+ "name": "modelValue",
4110
+ "tags": {
4111
+ "ignore": [
4112
+ {
4113
+ "description": "v-model binding",
4114
+ "title": "ignore"
4115
+ }
4116
+ ]
4413
4117
  },
4414
- "defaultValue": {
4415
- "func": false,
4416
- "value": "'medium'"
4118
+ "type": {
4119
+ "name": "string|number|boolean|object|array|symbol|func"
4417
4120
  }
4418
4121
  }
4419
4122
  ],
4123
+ "events": [
4124
+ {
4125
+ "name": "update:modelValue",
4126
+ "description": "Event emitted by v-model on the radio's <input> element",
4127
+ "properties": [
4128
+ {
4129
+ "type": {
4130
+ "names": [
4131
+ "mixed"
4132
+ ]
4133
+ },
4134
+ "name": "modelValue"
4135
+ }
4136
+ ],
4137
+ "tags": [
4138
+ {
4139
+ "title": "param",
4140
+ "type": {
4141
+ "name": "mixed"
4142
+ },
4143
+ "name": "modelValue"
4144
+ }
4145
+ ]
4146
+ }
4147
+ ],
4420
4148
  "slots": [
4421
4149
  {
4422
- "name": "default",
4423
- "description": "CdrTable content (Valid table elements <th>, <tbody>, <tr>, <td>, etc.)"
4150
+ "name": "default"
4424
4151
  }
4425
4152
  ],
4426
4153
  "sourceFiles": [
4427
- "./src/components/table/CdrTable.vue"
4154
+ "./src/components/radio/CdrRadio.vue"
4428
4155
  ],
4429
4156
  "UIProperties": [
4430
4157
  {
4431
- "name": "--cdr-table-base-text-color",
4432
- "defaultValue": "--cdr-color-text-primary",
4433
- "description": "Color of the cdr-table base text"
4158
+ "name": "--cdr-radio-box-shadow-color-selected",
4159
+ "defaultValue": "--cdr-color-border-input-default-selected",
4160
+ "description": "Box-shadow color of cdr-radio when selected"
4434
4161
  },
4435
4162
  {
4436
- "name": "--cdr-table-row-background-color",
4437
- "defaultValue": "--cdr-color-background-table-row",
4438
- "description": "Background color of the table rows"
4163
+ "name": "--cdr-radio-background-color-selected",
4164
+ "defaultValue": "--cdr-color-background-input-default-selected",
4165
+ "description": "Background color of cdr-radio when selected"
4439
4166
  },
4440
4167
  {
4441
- "name": "--cdr-table-header-background-color",
4442
- "defaultValue": "--cdr-color-background-table-header",
4443
- "description": "Background color of the table header"
4168
+ "name": "--cdr-radio-inner-circle-background-color-selected",
4169
+ "defaultValue": "--cdr-color-icon-checkbox-default-selected",
4170
+ "description": "Background color of the inner circle of cdr-radio when selected"
4444
4171
  },
4445
4172
  {
4446
- "name": "--cdr-table-text-cell-color",
4447
- "defaultValue": "--cdr-color-text-primary",
4448
- "description": "Text color of the table cells"
4173
+ "name": "--cdr-radio-box-shadow-color-hover",
4174
+ "defaultValue": "--cdr-color-border-input-default-hover",
4175
+ "description": "Box-shadow color of cdr-radio on hover"
4449
4176
  },
4450
4177
  {
4451
- "name": "--cdr-table-border-color-default",
4452
- "defaultValue": "--cdr-color-border-table-default",
4453
- "description": "Default border color of the table"
4178
+ "name": "--cdr-radio-background-color-hover",
4179
+ "defaultValue": "--cdr-color-background-input-default-hover",
4180
+ "description": "Background color of cdr-radio on hover"
4454
4181
  },
4455
4182
  {
4456
- "name": "--cdr-table-head-border-default",
4457
- "defaultValue": "--cdr-color-border-table-head",
4458
- "description": "Head border color of the table"
4183
+ "name": "--cdr-radio-box-shadow-color-selected-hover",
4184
+ "defaultValue": "--cdr-color-border-input-default-selected-hover",
4185
+ "description": "Box-shadow color of cdr-radio when selected on hover"
4459
4186
  },
4460
4187
  {
4461
- "name": "--cdr-table-odd-row-background-color",
4462
- "defaultValue": "--cdr-color-background-table-row-alt",
4463
- "description": "Background color of all odd rows in the table"
4188
+ "name": "--cdr-radio-background-color-selected-hover",
4189
+ "defaultValue": "--cdr-color-background-input-default-selected-hover",
4190
+ "description": "Background color of cdr-radio when selected on hover"
4464
4191
  },
4465
4192
  {
4466
- "name": "--cdr-table-header-odd-row-background-color",
4467
- "defaultValue": "--cdr-color-background-table-row",
4468
- "description": "Background color of odd rows in the table header"
4193
+ "name": "--cdr-radio-box-shadow-color-disabled",
4194
+ "defaultValue": "--cdr-color-border-input-default-disabled",
4195
+ "description": "Box-shadow color of cdr-radio when disabled"
4469
4196
  },
4470
4197
  {
4471
- "name": "--cdr-table-striped-odd-row-background-color",
4472
- "defaultValue": "--cdr-color-background-table-row",
4473
- "description": "Background color of the odd rows in striped tables"
4198
+ "name": "--cdr-radio-background-color-disabled",
4199
+ "defaultValue": "--cdr-color-background-input-default-disabled",
4200
+ "description": "Background color of cdr-radio when disabled"
4474
4201
  },
4475
4202
  {
4476
- "name": "--cdr-table-body-footer-odd-row-background-color",
4477
- "defaultValue": "--cdr-color-background-table-row-alt",
4478
- "description": "Background color of odd rows in the table body and footer"
4203
+ "name": "--cdr-radio-inner-circle-background-color-disabled",
4204
+ "defaultValue": "--cdr-color-background-input-default-disabled",
4205
+ "description": "Background color of the inner circle of cdr-radio when disabled"
4479
4206
  },
4480
4207
  {
4481
- "name": "--cdr-table-cell-background-color-hover",
4482
- "defaultValue": "--cdr-color-background-table-header",
4483
- "description": "Background color of table cells on hover"
4484
- }
4485
- ]
4486
- },
4487
- "CdrTabs": {
4488
- "name": "CdrTabs",
4489
- "description": "Organizes related content into groups for people to navigate between",
4490
- "tags": {},
4208
+ "name": "--cdr-radio-inner-circle-background-color-selected-disabled",
4209
+ "defaultValue": "--cdr-color-background-input-default-disabled",
4210
+ "description": "Background color of the inner circle of cdr-radio when selected and disabled"
4211
+ },
4212
+ {
4213
+ "name": "--cdr-radio-box-shadow-color-focus",
4214
+ "defaultValue": "--cdr-color-border-input-default-active",
4215
+ "description": "Box-shadow color of cdr-radio on focus"
4216
+ },
4217
+ {
4218
+ "name": "--cdr-radio-background-color-focus",
4219
+ "defaultValue": "--cdr-color-background-input-default-focus",
4220
+ "description": "Background color of cdr-radio on focus"
4221
+ },
4222
+ {
4223
+ "name": "--cdr-radio-background-color-selected-focus",
4224
+ "defaultValue": "--cdr-color-background-input-default-selected-focus",
4225
+ "description": "Background color of cdr-radio when selected on focus"
4226
+ },
4227
+ {
4228
+ "name": "--cdr-radio-box-shadow-color-active",
4229
+ "defaultValue": "--cdr-color-border-input-default-active",
4230
+ "description": "Box-shadow color of cdr-radio when active"
4231
+ },
4232
+ {
4233
+ "name": "--cdr-radio-background-color-active",
4234
+ "defaultValue": "--cdr-color-background-input-default-active",
4235
+ "description": "Background color of cdr-radio when active"
4236
+ },
4237
+ {
4238
+ "name": "--cdr-radio-inner-circle-background-color-selected-active",
4239
+ "defaultValue": "--cdr-color-icon-checkbox-default-selected-active",
4240
+ "description": "Background color of the inner circle of cdr-radio when selected and active"
4241
+ }
4242
+ ]
4243
+ },
4244
+ "CdrSkeletonBone": {
4245
+ "name": "CdrSkeletonBone",
4491
4246
  "exportName": "default",
4492
- "displayName": "CdrTabs",
4247
+ "displayName": "CdrSkeletonBone",
4248
+ "description": "",
4249
+ "tags": {},
4493
4250
  "props": [
4494
4251
  {
4495
- "name": "height",
4496
- "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.",
4252
+ "name": "type",
4253
+ "description": "Sets the type of content placeholder",
4254
+ "tags": {
4255
+ "demoSelectMultiple": [
4256
+ {
4257
+ "description": "false",
4258
+ "title": "demoSelectMultiple"
4259
+ }
4260
+ ]
4261
+ },
4262
+ "values": [
4263
+ "default",
4264
+ "heading",
4265
+ "line",
4266
+ "rectangle",
4267
+ "square"
4268
+ ],
4497
4269
  "type": {
4498
4270
  "name": "string"
4499
4271
  },
4500
4272
  "defaultValue": {
4501
4273
  "func": false,
4502
- "value": "'240px'"
4274
+ "value": "'default'"
4275
+ }
4276
+ }
4277
+ ],
4278
+ "sourceFiles": [
4279
+ "./src/components/skeleton/CdrSkeletonBone.vue"
4280
+ ]
4281
+ },
4282
+ "CdrTable": {
4283
+ "name": "CdrTable",
4284
+ "description": "Organizes structured data for users to easily scan, compare, and analyze",
4285
+ "tags": {},
4286
+ "exportName": "default",
4287
+ "displayName": "CdrTable",
4288
+ "props": [
4289
+ {
4290
+ "name": "striped",
4291
+ "description": "Sets row colors to alternate between darker and lighter backgrounds.\nStriping will not apply when `border` is true",
4292
+ "type": {
4293
+ "name": "boolean"
4294
+ },
4295
+ "defaultValue": {
4296
+ "func": false,
4297
+ "value": false
4503
4298
  }
4504
4299
  },
4505
4300
  {
4506
- "name": "activeTab",
4507
- "description": "Sets the index of the tab that should be active on initial page load. Note that this property is zero-indexed.",
4301
+ "name": "border",
4302
+ "description": "Adds borders between rows. Will disable `striped` if both are true",
4508
4303
  "type": {
4509
- "name": "number"
4304
+ "name": "boolean"
4510
4305
  },
4511
4306
  "defaultValue": {
4512
4307
  "func": false,
4513
- "value": "0"
4308
+ "value": true
4514
4309
  }
4515
4310
  },
4516
4311
  {
4517
- "name": "modifier",
4518
- "description": "Modifies the style variants for this component",
4519
- "tags": {},
4520
- "values": [
4521
- "centered",
4522
- "compact",
4523
- "full-width",
4524
- "no-border"
4525
- ],
4312
+ "name": "fullWidth",
4313
+ "description": "Sets the width to 100%. Also accepts space separated strings for breakpoints that it should be full width: { '@xs' | '@sm' | '@md' | '@lg' }",
4526
4314
  "type": {
4527
- "name": "string"
4315
+ "name": "boolean|string"
4316
+ },
4317
+ "defaultValue": {
4318
+ "func": false,
4319
+ "value": true
4320
+ }
4321
+ },
4322
+ {
4323
+ "name": "responsive",
4324
+ "description": "Makes the table scroll horizontally when it would overflow its container",
4325
+ "type": {
4326
+ "name": "boolean"
4327
+ },
4328
+ "defaultValue": {
4329
+ "func": false,
4330
+ "value": true
4331
+ }
4332
+ },
4333
+ {
4334
+ "name": "hover",
4335
+ "description": "Adds a darker background on row hover",
4336
+ "type": {
4337
+ "name": "boolean"
4338
+ },
4339
+ "defaultValue": {
4340
+ "func": false,
4341
+ "value": false
4528
4342
  }
4529
4343
  },
4530
4344
  {
4531
4345
  "name": "size",
4532
- "description": "Use `small` to reduce spacing around the tabs for a denser visual design",
4346
+ "description": "Sets the table size (cell padding); values can target responsive breakpoints. Example `small@lg`.",
4533
4347
  "tags": {
4534
4348
  "demoSelectMultiple": [
4535
4349
  {
4536
- "description": "true",
4350
+ "description": "false",
4537
4351
  "title": "demoSelectMultiple"
4538
4352
  }
4539
4353
  ]
4540
4354
  },
4541
4355
  "values": [
4542
- "small"
4356
+ "small",
4357
+ "medium",
4358
+ "large"
4543
4359
  ],
4544
- "type": {
4545
- "name": "string"
4546
- }
4547
- },
4548
- {
4549
- "name": "backgroundColor",
4550
- "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.",
4551
4360
  "type": {
4552
4361
  "name": "string"
4553
4362
  },
4554
4363
  "defaultValue": {
4555
4364
  "func": false,
4556
- "value": "CdrColorBackgroundPrimary"
4365
+ "value": "'medium'"
4557
4366
  }
4558
4367
  }
4559
4368
  ],
4560
4369
  "slots": [
4561
4370
  {
4562
4371
  "name": "default",
4563
- "description": "CdrTabs content (CdrTabPanel components)"
4372
+ "description": "CdrTable content (Valid table elements <th>, <tbody>, <tr>, <td>, etc.)"
4564
4373
  }
4565
4374
  ],
4566
4375
  "sourceFiles": [
4567
- "./src/components/tabs/CdrTabs.vue"
4376
+ "./src/components/table/CdrTable.vue"
4568
4377
  ],
4569
4378
  "UIProperties": [
4570
4379
  {
4571
- "name": "--cdr-tabs-header-container-keyline-color",
4572
- "defaultValue": "--cdr-color-border-tab-keyline-rest",
4573
- "description": "Keyline color of the cdr-tabs header container"
4380
+ "name": "--cdr-table-base-text-color",
4381
+ "defaultValue": "--cdr-color-text-primary",
4382
+ "description": "Color of the cdr-table base text"
4574
4383
  },
4575
4384
  {
4576
- "name": "--cdr-tabs-tab-text-color",
4577
- "defaultValue": "--cdr-color-text-tab-rest",
4578
- "description": "Text color in a tab"
4385
+ "name": "--cdr-table-row-background-color",
4386
+ "defaultValue": "--cdr-color-background-table-row",
4387
+ "description": "Background color of the table rows"
4579
4388
  },
4580
4389
  {
4581
- "name": "--cdr-tabs-tab-text-color-active",
4582
- "defaultValue": "--cdr-color-text-tab-active",
4583
- "description": "Text color of an active tab"
4390
+ "name": "--cdr-table-header-background-color",
4391
+ "defaultValue": "--cdr-color-background-table-header",
4392
+ "description": "Background color of the table header"
4584
4393
  },
4585
4394
  {
4586
- "name": "--cdr-tabs-tab-text-color-interaction",
4587
- "defaultValue": "--cdr-color-text-tab-hover",
4588
- "description": "Text color of a tab on active, focus, or hover"
4395
+ "name": "--cdr-table-text-cell-color",
4396
+ "defaultValue": "--cdr-color-text-primary",
4397
+ "description": "Text color of the table cells"
4589
4398
  },
4590
4399
  {
4591
- "name": "--cdr-tabs-tab-text-color-disabled",
4592
- "defaultValue": "--cdr-color-text-tab-disabled",
4593
- "description": "Text color of a disabled tab"
4400
+ "name": "--cdr-table-border-color-default",
4401
+ "defaultValue": "--cdr-color-border-table-default",
4402
+ "description": "Default border color of the table"
4594
4403
  },
4595
4404
  {
4596
- "name": "--cdr-tabs-keyline-background-color",
4597
- "defaultValue": "--cdr-color-border-tab-keyline-active",
4598
- "description": "Background color of the cdr-tabs keyline"
4405
+ "name": "--cdr-table-head-border-default",
4406
+ "defaultValue": "--cdr-color-border-table-head",
4407
+ "description": "Head border color of the table"
4599
4408
  },
4600
4409
  {
4601
- "name": "--cdr-tabs-no-border-border-color",
4602
- "defaultValue": "transparent",
4603
- "description": "Border color of the cdr-tabs with no-border modifier"
4410
+ "name": "--cdr-table-odd-row-background-color",
4411
+ "defaultValue": "--cdr-color-background-table-row-alt",
4412
+ "description": "Background color of all odd rows in the table"
4413
+ },
4414
+ {
4415
+ "name": "--cdr-table-header-odd-row-background-color",
4416
+ "defaultValue": "--cdr-color-background-table-row",
4417
+ "description": "Background color of odd rows in the table header"
4418
+ },
4419
+ {
4420
+ "name": "--cdr-table-striped-odd-row-background-color",
4421
+ "defaultValue": "--cdr-color-background-table-row",
4422
+ "description": "Background color of the odd rows in striped tables"
4423
+ },
4424
+ {
4425
+ "name": "--cdr-table-body-footer-odd-row-background-color",
4426
+ "defaultValue": "--cdr-color-background-table-row-alt",
4427
+ "description": "Background color of odd rows in the table body and footer"
4428
+ },
4429
+ {
4430
+ "name": "--cdr-table-cell-background-color-hover",
4431
+ "defaultValue": "--cdr-color-background-table-header",
4432
+ "description": "Background color of table cells on hover"
4604
4433
  }
4605
4434
  ]
4606
4435
  },
@@ -4655,34 +4484,205 @@
4655
4484
  }
4656
4485
  ]
4657
4486
  },
4658
- "CdrText": {
4659
- "name": "CdrText",
4660
- "description": "Text container used for any text element such as paragraphs, headings, and lists",
4661
- "tags": {},
4487
+ "CdrTabPanel": {
4488
+ "name": "CdrTabPanel",
4662
4489
  "exportName": "default",
4663
- "displayName": "CdrText",
4490
+ "displayName": "CdrTabPanel",
4491
+ "description": "",
4492
+ "tags": {},
4664
4493
  "props": [
4665
4494
  {
4666
- "name": "tag",
4667
- "description": "Sets the HTML tag (p, span, h1, h2, etc)",
4495
+ "name": "id",
4496
+ "description": "Sets reference identifier for tab content. This property is required and is necessary for accessibility. Must be unique for each tabPanel, and cannot be the same as the `aria-labelledby` property.",
4668
4497
  "type": {
4669
4498
  "name": "string"
4670
- },
4671
- "defaultValue": {
4672
- "func": false,
4673
- "value": "'p'"
4674
4499
  }
4675
- }
4676
- ],
4677
- "slots": [
4500
+ },
4678
4501
  {
4679
- "name": "default",
4680
- "description": "CdrText content"
4502
+ "name": "name",
4503
+ "description": "Sets tab display name. Required and must be unique for each tab. If `id` is not provided, this value will be used as the reference identifier.",
4504
+ "type": {
4505
+ "name": "string"
4506
+ }
4507
+ },
4508
+ {
4509
+ "name": "ariaLabelledby",
4510
+ "description": "Sets reference identifier for tab header. This property is required and is necessary for accessibility. Must be unique for each tabPanel, and cannot be the same as the `id` property.",
4511
+ "type": {
4512
+ "name": "string"
4513
+ }
4681
4514
  }
4682
4515
  ],
4683
- "sourceFiles": [
4684
- "./src/components/text/CdrText.vue"
4685
- ],
4516
+ "events": [
4517
+ {
4518
+ "name": "tab-change",
4519
+ "description": "Emits when active tab is changed",
4520
+ "tags": [
4521
+ {
4522
+ "title": "params",
4523
+ "content": "state, panelId"
4524
+ }
4525
+ ]
4526
+ }
4527
+ ],
4528
+ "slots": [
4529
+ {
4530
+ "name": "default",
4531
+ "description": "CdrTabPanel content"
4532
+ }
4533
+ ],
4534
+ "sourceFiles": [
4535
+ "./src/components/tabs/CdrTabPanel.vue"
4536
+ ]
4537
+ },
4538
+ "CdrTabs": {
4539
+ "name": "CdrTabs",
4540
+ "description": "Organizes related content into groups for people to navigate between",
4541
+ "tags": {},
4542
+ "exportName": "default",
4543
+ "displayName": "CdrTabs",
4544
+ "props": [
4545
+ {
4546
+ "name": "height",
4547
+ "description": "Sets height of the tabs container element.\nPassing a `px` value will render tabs with a static height,\npassing `auto` will render tabs with variable height based on content size.",
4548
+ "type": {
4549
+ "name": "string"
4550
+ },
4551
+ "defaultValue": {
4552
+ "func": false,
4553
+ "value": "'240px'"
4554
+ }
4555
+ },
4556
+ {
4557
+ "name": "activeTab",
4558
+ "description": "Sets the index of the tab that should be active on initial page load. Note that this property is zero-indexed.",
4559
+ "type": {
4560
+ "name": "number"
4561
+ },
4562
+ "defaultValue": {
4563
+ "func": false,
4564
+ "value": "0"
4565
+ }
4566
+ },
4567
+ {
4568
+ "name": "modifier",
4569
+ "description": "Modifies the style variants for this component",
4570
+ "tags": {},
4571
+ "values": [
4572
+ "centered",
4573
+ "compact",
4574
+ "full-width",
4575
+ "no-border"
4576
+ ],
4577
+ "type": {
4578
+ "name": "string"
4579
+ }
4580
+ },
4581
+ {
4582
+ "name": "size",
4583
+ "description": "Use `small` to reduce spacing around the tabs for a denser visual design",
4584
+ "tags": {
4585
+ "demoSelectMultiple": [
4586
+ {
4587
+ "description": "true",
4588
+ "title": "demoSelectMultiple"
4589
+ }
4590
+ ]
4591
+ },
4592
+ "values": [
4593
+ "small"
4594
+ ],
4595
+ "type": {
4596
+ "name": "string"
4597
+ }
4598
+ },
4599
+ {
4600
+ "name": "backgroundColor",
4601
+ "description": "Sets the background color of the tab.\nFor CdrTabs that are rendered on non-primary backgrounds.\nPass the background-color into the component to ensure that the scrolling gradients render correctly.",
4602
+ "type": {
4603
+ "name": "string"
4604
+ },
4605
+ "defaultValue": {
4606
+ "func": false,
4607
+ "value": "CdrColorBackgroundPrimary"
4608
+ }
4609
+ }
4610
+ ],
4611
+ "slots": [
4612
+ {
4613
+ "name": "default",
4614
+ "description": "CdrTabs content (CdrTabPanel components)"
4615
+ }
4616
+ ],
4617
+ "sourceFiles": [
4618
+ "./src/components/tabs/CdrTabs.vue"
4619
+ ],
4620
+ "UIProperties": [
4621
+ {
4622
+ "name": "--cdr-tabs-header-container-keyline-color",
4623
+ "defaultValue": "--cdr-color-border-tab-keyline-rest",
4624
+ "description": "Keyline color of the cdr-tabs header container"
4625
+ },
4626
+ {
4627
+ "name": "--cdr-tabs-tab-text-color",
4628
+ "defaultValue": "--cdr-color-text-tab-rest",
4629
+ "description": "Text color in a tab"
4630
+ },
4631
+ {
4632
+ "name": "--cdr-tabs-tab-text-color-active",
4633
+ "defaultValue": "--cdr-color-text-tab-active",
4634
+ "description": "Text color of an active tab"
4635
+ },
4636
+ {
4637
+ "name": "--cdr-tabs-tab-text-color-interaction",
4638
+ "defaultValue": "--cdr-color-text-tab-hover",
4639
+ "description": "Text color of a tab on active, focus, or hover"
4640
+ },
4641
+ {
4642
+ "name": "--cdr-tabs-tab-text-color-disabled",
4643
+ "defaultValue": "--cdr-color-text-tab-disabled",
4644
+ "description": "Text color of a disabled tab"
4645
+ },
4646
+ {
4647
+ "name": "--cdr-tabs-keyline-background-color",
4648
+ "defaultValue": "--cdr-color-border-tab-keyline-active",
4649
+ "description": "Background color of the cdr-tabs keyline"
4650
+ },
4651
+ {
4652
+ "name": "--cdr-tabs-no-border-border-color",
4653
+ "defaultValue": "transparent",
4654
+ "description": "Border color of the cdr-tabs with no-border modifier"
4655
+ }
4656
+ ]
4657
+ },
4658
+ "CdrText": {
4659
+ "name": "CdrText",
4660
+ "description": "Text container used for any text element such as paragraphs, headings, and lists",
4661
+ "tags": {},
4662
+ "exportName": "default",
4663
+ "displayName": "CdrText",
4664
+ "props": [
4665
+ {
4666
+ "name": "tag",
4667
+ "description": "Sets the HTML tag (p, span, h1, h2, etc)",
4668
+ "type": {
4669
+ "name": "string"
4670
+ },
4671
+ "defaultValue": {
4672
+ "func": false,
4673
+ "value": "'p'"
4674
+ }
4675
+ }
4676
+ ],
4677
+ "slots": [
4678
+ {
4679
+ "name": "default",
4680
+ "description": "CdrText content"
4681
+ }
4682
+ ],
4683
+ "sourceFiles": [
4684
+ "./src/components/text/CdrText.vue"
4685
+ ],
4686
4686
  "UIProperties": [
4687
4687
  {
4688
4688
  "name": "--cdr-text-color",
@@ -4691,6 +4691,361 @@
4691
4691
  }
4692
4692
  ]
4693
4693
  },
4694
+ "CdrToast": {
4695
+ "name": "CdrToast",
4696
+ "description": "Non-modal dialog used to communicate the status of a task or process",
4697
+ "tags": {},
4698
+ "exportName": "default",
4699
+ "displayName": "CdrToast",
4700
+ "props": [
4701
+ {
4702
+ "name": "type",
4703
+ "description": "Sets the toast type.",
4704
+ "tags": {
4705
+ "demoSelectMultiple": [
4706
+ {
4707
+ "description": "false",
4708
+ "title": "demoSelectMultiple"
4709
+ }
4710
+ ]
4711
+ },
4712
+ "values": [
4713
+ "info",
4714
+ "success",
4715
+ "warning",
4716
+ "error",
4717
+ "default"
4718
+ ],
4719
+ "type": {
4720
+ "name": "string"
4721
+ },
4722
+ "defaultValue": {
4723
+ "func": false,
4724
+ "value": "'default'"
4725
+ }
4726
+ },
4727
+ {
4728
+ "name": "open",
4729
+ "description": "Used to programmatically control the toast open/close state.",
4730
+ "tags": {
4731
+ "demoIgnore": [
4732
+ {
4733
+ "description": "true",
4734
+ "title": "demoIgnore"
4735
+ }
4736
+ ]
4737
+ },
4738
+ "type": {
4739
+ "name": "boolean"
4740
+ },
4741
+ "defaultValue": {
4742
+ "func": false,
4743
+ "value": false
4744
+ }
4745
+ },
4746
+ {
4747
+ "name": "autoDismiss",
4748
+ "description": "Set to `false` to disable automatic closing after the `dismissDelay`.",
4749
+ "type": {
4750
+ "name": "boolean"
4751
+ },
4752
+ "defaultValue": {
4753
+ "func": false,
4754
+ "value": true
4755
+ }
4756
+ },
4757
+ {
4758
+ "name": "dismissDelay",
4759
+ "description": "Sets the interval (in milliseconds) before the toast automatically closes.",
4760
+ "type": {
4761
+ "name": "number"
4762
+ },
4763
+ "defaultValue": {
4764
+ "func": false,
4765
+ "value": "5000"
4766
+ }
4767
+ }
4768
+ ],
4769
+ "events": [
4770
+ {
4771
+ "name": "open",
4772
+ "description": "Emits when toast opens"
4773
+ },
4774
+ {
4775
+ "name": "closed",
4776
+ "description": "Emits when toast closes"
4777
+ }
4778
+ ],
4779
+ "slots": [
4780
+ {
4781
+ "name": "icon-left",
4782
+ "description": "Icon matching toast messaging type"
4783
+ },
4784
+ {
4785
+ "name": "default",
4786
+ "description": "CdrToast content"
4787
+ },
4788
+ {
4789
+ "name": "icon"
4790
+ }
4791
+ ],
4792
+ "sourceFiles": [
4793
+ "./src/components/toast/CdrToast.vue"
4794
+ ],
4795
+ "UIProperties": [
4796
+ {
4797
+ "name": "--cdr-toast-close-button-fill",
4798
+ "defaultValue": "--cdr-color-text-emphasis",
4799
+ "description": "Fill color of the cdr-toast close button icon"
4800
+ },
4801
+ {
4802
+ "name": "--cdr-toast-icon-left-background-color-default",
4803
+ "defaultValue": "--cdr-color-background-message-default-02",
4804
+ "description": "Default background color of the cdr-toast icon-left"
4805
+ },
4806
+ {
4807
+ "name": "--cdr-toast-icon-left-fill-default",
4808
+ "defaultValue": "--cdr-color-icon-message-default",
4809
+ "description": "Default fill color of the cdr-toast icon-left"
4810
+ },
4811
+ {
4812
+ "name": "--cdr-toast-icon-left-background-color-info",
4813
+ "defaultValue": "--cdr-color-background-message-info-02",
4814
+ "description": "Info background color of the cdr-toast icon-left"
4815
+ },
4816
+ {
4817
+ "name": "--cdr-toast-icon-left-fill-info",
4818
+ "defaultValue": "--cdr-color-icon-message-info",
4819
+ "description": "Info fill color of the cdr-toast icon-left"
4820
+ },
4821
+ {
4822
+ "name": "--cdr-toast-border-left-color-info",
4823
+ "defaultValue": "--cdr-color-border-message-info-01",
4824
+ "description": "Info border-left color of the cdr-toast"
4825
+ },
4826
+ {
4827
+ "name": "--cdr-toast-icon-left-background-color-warning",
4828
+ "defaultValue": "--cdr-color-background-message-warning-02",
4829
+ "description": "Warning background color of the cdr-toast icon-left"
4830
+ },
4831
+ {
4832
+ "name": "--cdr-toast-icon-left-fill-warning",
4833
+ "defaultValue": "--cdr-color-icon-message-warning",
4834
+ "description": "Warning fill color of the cdr-toast icon-left"
4835
+ },
4836
+ {
4837
+ "name": "--cdr-toast-border-left-color-warning",
4838
+ "defaultValue": "--cdr-color-border-message-warning-01",
4839
+ "description": "Warning border-left color of the cdr-toast"
4840
+ },
4841
+ {
4842
+ "name": "--cdr-toast-icon-left-background-color-success",
4843
+ "defaultValue": "--cdr-color-background-message-success-02",
4844
+ "description": "Success background color of the cdr-toast icon-left"
4845
+ },
4846
+ {
4847
+ "name": "--cdr-toast-icon-left-fill-success",
4848
+ "defaultValue": "--cdr-color-icon-message-success",
4849
+ "description": "Success fill color of the cdr-toast icon-left"
4850
+ },
4851
+ {
4852
+ "name": "--cdr-toast-border-left-color-success",
4853
+ "defaultValue": "--cdr-color-border-message-success-01",
4854
+ "description": "Success border-left color of the cdr-toast"
4855
+ },
4856
+ {
4857
+ "name": "--cdr-toast-icon-left-background-color-error",
4858
+ "defaultValue": "--cdr-color-background-message-error-02",
4859
+ "description": "Error background color of the cdr-toast icon-left"
4860
+ },
4861
+ {
4862
+ "name": "--cdr-toast-icon-left-fill-error",
4863
+ "defaultValue": "--cdr-color-icon-message-error",
4864
+ "description": "Error fill color of the cdr-toast icon-left"
4865
+ },
4866
+ {
4867
+ "name": "--cdr-toast-border-left-color-error",
4868
+ "defaultValue": "--cdr-color-border-message-error-01",
4869
+ "description": "Error border-left color of the cdr-toast"
4870
+ },
4871
+ {
4872
+ "name": "--cdr-toast-background-color-default",
4873
+ "defaultValue": "--cdr-color-background-message-default-01",
4874
+ "description": "Default background color of cdr-toast"
4875
+ },
4876
+ {
4877
+ "name": "--cdr-toast-outline-color-default",
4878
+ "defaultValue": "--cdr-color-border-message-default-02",
4879
+ "description": "Default outline color of cdr-toast"
4880
+ },
4881
+ {
4882
+ "name": "--cdr-toast-background-color-info",
4883
+ "defaultValue": "--cdr-color-background-message-info-01",
4884
+ "description": "Info background color of cdr-toast"
4885
+ },
4886
+ {
4887
+ "name": "--cdr-toast-background-color-success",
4888
+ "defaultValue": "--cdr-color-background-message-success-01",
4889
+ "description": "Success background color of cdr-toast"
4890
+ },
4891
+ {
4892
+ "name": "--cdr-toast-outline-color-success",
4893
+ "defaultValue": "--cdr-color-border-message-success-02",
4894
+ "description": "Success outline color of cdr-toast"
4895
+ },
4896
+ {
4897
+ "name": "--cdr-toast-background-color-warning",
4898
+ "defaultValue": "--cdr-color-background-message-warning-01",
4899
+ "description": "Warning background color of cdr-toast"
4900
+ },
4901
+ {
4902
+ "name": "--cdr-toast-outline-color-warning",
4903
+ "defaultValue": "--cdr-color-border-message-warning-02",
4904
+ "description": "Warning outline color of cdr-toast"
4905
+ },
4906
+ {
4907
+ "name": "--cdr-toast-background-color-error",
4908
+ "defaultValue": "--cdr-color-background-message-error-01",
4909
+ "description": "Error background color of cdr-toast"
4910
+ },
4911
+ {
4912
+ "name": "--cdr-toast-outline-color-error",
4913
+ "defaultValue": "--cdr-color-border-message-error-02",
4914
+ "description": "Error outline color of cdr-toast"
4915
+ }
4916
+ ]
4917
+ },
4918
+ "CdrTooltip": {
4919
+ "name": "CdrTooltip",
4920
+ "description": "Floating label used to clarify interface actions",
4921
+ "tags": {},
4922
+ "exportName": "default",
4923
+ "displayName": "CdrTooltip",
4924
+ "props": [
4925
+ {
4926
+ "name": "position",
4927
+ "description": "Sets the position where the tooltip will render relative to the trigger element.",
4928
+ "tags": {
4929
+ "demoSelectMultiple": [
4930
+ {
4931
+ "description": "false",
4932
+ "title": "demoSelectMultiple"
4933
+ }
4934
+ ]
4935
+ },
4936
+ "values": [
4937
+ "top",
4938
+ "bottom",
4939
+ "left",
4940
+ "right"
4941
+ ],
4942
+ "type": {
4943
+ "name": "string"
4944
+ },
4945
+ "required": false,
4946
+ "defaultValue": {
4947
+ "func": false,
4948
+ "value": "'top'"
4949
+ }
4950
+ },
4951
+ {
4952
+ "name": "autoPosition",
4953
+ "description": "If set to `true`, tooltip will attempt to dynamically set it's position to\nensure it renders within the visible browser window.\nIf `false` the tooltip will always render in the provided `position`.",
4954
+ "type": {
4955
+ "name": "boolean"
4956
+ },
4957
+ "defaultValue": {
4958
+ "func": false,
4959
+ "value": true
4960
+ }
4961
+ },
4962
+ {
4963
+ "name": "id",
4964
+ "description": "ID for the tooltip element, required for accessibility",
4965
+ "type": {
4966
+ "name": "string"
4967
+ },
4968
+ "required": true
4969
+ },
4970
+ {
4971
+ "name": "contentClass",
4972
+ "description": "Add custom class to the tooltip content wrapper. Allows for overriding size, styling, etc.",
4973
+ "type": {
4974
+ "name": "string"
4975
+ },
4976
+ "required": false
4977
+ },
4978
+ {
4979
+ "name": "open",
4980
+ "description": "Used to programmatically control the tooltip state. Does not need to be set if you are using the `trigger` slot.",
4981
+ "tags": {
4982
+ "demoIgnore": [
4983
+ {
4984
+ "description": "true",
4985
+ "title": "demoIgnore"
4986
+ }
4987
+ ]
4988
+ },
4989
+ "type": {
4990
+ "name": "boolean"
4991
+ },
4992
+ "defaultValue": {
4993
+ "func": false,
4994
+ "value": false
4995
+ }
4996
+ }
4997
+ ],
4998
+ "events": [
4999
+ {
5000
+ "name": "opened",
5001
+ "description": "Emits when tooltip is opened"
5002
+ },
5003
+ {
5004
+ "name": "closed",
5005
+ "description": "Emits when tooltip is closed"
5006
+ }
5007
+ ],
5008
+ "slots": [
5009
+ {
5010
+ "name": "trigger",
5011
+ "description": " Slot for the element that triggers the tooltip."
5012
+ },
5013
+ {
5014
+ "name": "default",
5015
+ "description": "CdrTooltip content"
5016
+ }
5017
+ ],
5018
+ "sourceFiles": [
5019
+ "./src/components/tooltip/CdrTooltip.vue"
5020
+ ],
5021
+ "UIProperties": [
5022
+ {
5023
+ "name": "--cdr-popup-background-color-default",
5024
+ "defaultValue": "--cdr-color-background-tooltip-default",
5025
+ "description": "Background color of the cdr-popup"
5026
+ },
5027
+ {
5028
+ "name": "--cdr-popup-text-color-default",
5029
+ "defaultValue": "--cdr-color-text-tooltip-default",
5030
+ "description": "Text color of the cdr-popup"
5031
+ },
5032
+ {
5033
+ "name": "--cdr-popup-border-color-default",
5034
+ "defaultValue": "--cdr-color-border-tooltip-default",
5035
+ "description": "Border color of the cdr-popup"
5036
+ },
5037
+ {
5038
+ "name": "--cdr-popup-arrow-border-bottom-color",
5039
+ "defaultValue": "--cdr-color-border-tooltip-default",
5040
+ "description": "Border color of the cdr-popup arrow"
5041
+ },
5042
+ {
5043
+ "name": "--cdr-popup-arrow-background-color",
5044
+ "defaultValue": "--cdr-color-background-tooltip-default",
5045
+ "description": "Background color of the cdr-popup arrow"
5046
+ }
5047
+ ]
5048
+ },
4694
5049
  "CdrSwitch": {
4695
5050
  "name": "CdrSwitch",
4696
5051
  "description": "Permits selection from two opposing options",
@@ -4877,360 +5232,43 @@
4877
5232
  },
4878
5233
  {
4879
5234
  "name": "--cdr-switch-icon-fill-checked-focus",
4880
- "defaultValue": "--cdr-color-icon-switch-selected-default-focus",
4881
- "description": "Fill of the cdr-switch x and check icons when it is checked and in focus"
4882
- },
4883
- {
4884
- "name": "--cdr-switch-handle-background-color-checked",
4885
- "defaultValue": "--cdr-color-background-switch-handle-selected-default-rest",
4886
- "description": "Background color of the cdr-switch handle when it is checked"
4887
- },
4888
- {
4889
- "name": "--cdr-switch-border-color-checked-hover",
4890
- "defaultValue": "--cdr-color-border-secondary",
4891
- "description": "Border of the cdr-switch button when it is checked and on hover but not in focus"
4892
- },
4893
- {
4894
- "name": "--cdr-switch-background-color-checked-hover",
4895
- "defaultValue": "--cdr-color-background-switch-selected-default-hover",
4896
- "description": "Background color of the cdr-switch button when it is checked and on hover but not in focus"
4897
- },
4898
- {
4899
- "name": "--cdr-switch-icon-fill-checked-hover",
4900
- "defaultValue": "--cdr-color-icon-switch-selected-default-hover",
4901
- "description": "Fill of the cdr-switch x and check icons when it is checked and on hover but not in focus"
4902
- },
4903
- {
4904
- "name": "--cdr-switch-handle-border-color-checked-hover",
4905
- "defaultValue": "--cdr-color-border-switch-handle-default-hover",
4906
- "description": "Border of the cdr-switch handle when it is checked and on hover but not in focus"
4907
- },
4908
- {
4909
- "name": "--cdr-switch-handle-border",
4910
- "defaultValue": "--cdr-color-border-secondary",
4911
- "description": "Border color of the cdr-switch handle"
4912
- },
4913
- {
4914
- "name": "--cdr-switch-handle-background-color-rest",
4915
- "defaultValue": "--cdr-color-background-switch-handle-default-rest",
4916
- "description": "Background color of the cdr-switch handle"
4917
- }
4918
- ]
4919
- },
4920
- "CdrToast": {
4921
- "name": "CdrToast",
4922
- "description": "Non-modal dialog used to communicate the status of a task or process",
4923
- "tags": {},
4924
- "exportName": "default",
4925
- "displayName": "CdrToast",
4926
- "props": [
4927
- {
4928
- "name": "type",
4929
- "description": "Sets the toast type.",
4930
- "tags": {
4931
- "demoSelectMultiple": [
4932
- {
4933
- "description": "false",
4934
- "title": "demoSelectMultiple"
4935
- }
4936
- ]
4937
- },
4938
- "values": [
4939
- "info",
4940
- "success",
4941
- "warning",
4942
- "error",
4943
- "default"
4944
- ],
4945
- "type": {
4946
- "name": "string"
4947
- },
4948
- "defaultValue": {
4949
- "func": false,
4950
- "value": "'default'"
4951
- }
4952
- },
4953
- {
4954
- "name": "open",
4955
- "description": "Used to programmatically control the toast open/close state.",
4956
- "tags": {
4957
- "demoIgnore": [
4958
- {
4959
- "description": "true",
4960
- "title": "demoIgnore"
4961
- }
4962
- ]
4963
- },
4964
- "type": {
4965
- "name": "boolean"
4966
- },
4967
- "defaultValue": {
4968
- "func": false,
4969
- "value": false
4970
- }
4971
- },
4972
- {
4973
- "name": "autoDismiss",
4974
- "description": "Set to `false` to disable automatic closing after the `dismissDelay`.",
4975
- "type": {
4976
- "name": "boolean"
4977
- },
4978
- "defaultValue": {
4979
- "func": false,
4980
- "value": true
4981
- }
4982
- },
4983
- {
4984
- "name": "dismissDelay",
4985
- "description": "Sets the interval (in milliseconds) before the toast automatically closes.",
4986
- "type": {
4987
- "name": "number"
4988
- },
4989
- "defaultValue": {
4990
- "func": false,
4991
- "value": "5000"
4992
- }
4993
- }
4994
- ],
4995
- "events": [
4996
- {
4997
- "name": "open",
4998
- "description": "Emits when toast opens"
4999
- },
5000
- {
5001
- "name": "closed",
5002
- "description": "Emits when toast closes"
5003
- }
5004
- ],
5005
- "slots": [
5006
- {
5007
- "name": "icon-left",
5008
- "description": "Icon matching toast messaging type"
5009
- },
5010
- {
5011
- "name": "default",
5012
- "description": "CdrToast content"
5013
- },
5014
- {
5015
- "name": "icon"
5016
- }
5017
- ],
5018
- "sourceFiles": [
5019
- "./src/components/toast/CdrToast.vue"
5020
- ],
5021
- "UIProperties": [
5022
- {
5023
- "name": "--cdr-toast-close-button-fill",
5024
- "defaultValue": "--cdr-color-text-emphasis",
5025
- "description": "Fill color of the cdr-toast close button icon"
5026
- },
5027
- {
5028
- "name": "--cdr-toast-icon-left-background-color-default",
5029
- "defaultValue": "--cdr-color-background-message-default-02",
5030
- "description": "Default background color of the cdr-toast icon-left"
5031
- },
5032
- {
5033
- "name": "--cdr-toast-icon-left-fill-default",
5034
- "defaultValue": "--cdr-color-icon-message-default",
5035
- "description": "Default fill color of the cdr-toast icon-left"
5036
- },
5037
- {
5038
- "name": "--cdr-toast-icon-left-background-color-info",
5039
- "defaultValue": "--cdr-color-background-message-info-02",
5040
- "description": "Info background color of the cdr-toast icon-left"
5041
- },
5042
- {
5043
- "name": "--cdr-toast-icon-left-fill-info",
5044
- "defaultValue": "--cdr-color-icon-message-info",
5045
- "description": "Info fill color of the cdr-toast icon-left"
5046
- },
5047
- {
5048
- "name": "--cdr-toast-border-left-color-info",
5049
- "defaultValue": "--cdr-color-border-message-info-01",
5050
- "description": "Info border-left color of the cdr-toast"
5051
- },
5052
- {
5053
- "name": "--cdr-toast-icon-left-background-color-warning",
5054
- "defaultValue": "--cdr-color-background-message-warning-02",
5055
- "description": "Warning background color of the cdr-toast icon-left"
5056
- },
5057
- {
5058
- "name": "--cdr-toast-icon-left-fill-warning",
5059
- "defaultValue": "--cdr-color-icon-message-warning",
5060
- "description": "Warning fill color of the cdr-toast icon-left"
5061
- },
5062
- {
5063
- "name": "--cdr-toast-border-left-color-warning",
5064
- "defaultValue": "--cdr-color-border-message-warning-01",
5065
- "description": "Warning border-left color of the cdr-toast"
5066
- },
5067
- {
5068
- "name": "--cdr-toast-icon-left-background-color-success",
5069
- "defaultValue": "--cdr-color-background-message-success-02",
5070
- "description": "Success background color of the cdr-toast icon-left"
5071
- },
5072
- {
5073
- "name": "--cdr-toast-icon-left-fill-success",
5074
- "defaultValue": "--cdr-color-icon-message-success",
5075
- "description": "Success fill color of the cdr-toast icon-left"
5076
- },
5077
- {
5078
- "name": "--cdr-toast-border-left-color-success",
5079
- "defaultValue": "--cdr-color-border-message-success-01",
5080
- "description": "Success border-left color of the cdr-toast"
5081
- },
5082
- {
5083
- "name": "--cdr-toast-icon-left-background-color-error",
5084
- "defaultValue": "--cdr-color-background-message-error-02",
5085
- "description": "Error background color of the cdr-toast icon-left"
5086
- },
5087
- {
5088
- "name": "--cdr-toast-icon-left-fill-error",
5089
- "defaultValue": "--cdr-color-icon-message-error",
5090
- "description": "Error fill color of the cdr-toast icon-left"
5091
- },
5092
- {
5093
- "name": "--cdr-toast-border-left-color-error",
5094
- "defaultValue": "--cdr-color-border-message-error-01",
5095
- "description": "Error border-left color of the cdr-toast"
5096
- },
5097
- {
5098
- "name": "--cdr-toast-background-color-default",
5099
- "defaultValue": "--cdr-color-background-message-default-01",
5100
- "description": "Default background color of cdr-toast"
5101
- },
5102
- {
5103
- "name": "--cdr-toast-outline-color-default",
5104
- "defaultValue": "--cdr-color-border-message-default-02",
5105
- "description": "Default outline color of cdr-toast"
5106
- },
5107
- {
5108
- "name": "--cdr-toast-background-color-info",
5109
- "defaultValue": "--cdr-color-background-message-info-01",
5110
- "description": "Info background color of cdr-toast"
5111
- },
5112
- {
5113
- "name": "--cdr-toast-background-color-success",
5114
- "defaultValue": "--cdr-color-background-message-success-01",
5115
- "description": "Success background color of cdr-toast"
5116
- },
5117
- {
5118
- "name": "--cdr-toast-outline-color-success",
5119
- "defaultValue": "--cdr-color-border-message-success-02",
5120
- "description": "Success outline color of cdr-toast"
5121
- },
5122
- {
5123
- "name": "--cdr-toast-background-color-warning",
5124
- "defaultValue": "--cdr-color-background-message-warning-01",
5125
- "description": "Warning background color of cdr-toast"
5126
- },
5127
- {
5128
- "name": "--cdr-toast-outline-color-warning",
5129
- "defaultValue": "--cdr-color-border-message-warning-02",
5130
- "description": "Warning outline color of cdr-toast"
5235
+ "defaultValue": "--cdr-color-icon-switch-selected-default-focus",
5236
+ "description": "Fill of the cdr-switch x and check icons when it is checked and in focus"
5131
5237
  },
5132
5238
  {
5133
- "name": "--cdr-toast-background-color-error",
5134
- "defaultValue": "--cdr-color-background-message-error-01",
5135
- "description": "Error background color of cdr-toast"
5239
+ "name": "--cdr-switch-handle-background-color-checked",
5240
+ "defaultValue": "--cdr-color-background-switch-handle-selected-default-rest",
5241
+ "description": "Background color of the cdr-switch handle when it is checked"
5136
5242
  },
5137
5243
  {
5138
- "name": "--cdr-toast-outline-color-error",
5139
- "defaultValue": "--cdr-color-border-message-error-02",
5140
- "description": "Error outline color of cdr-toast"
5141
- }
5142
- ]
5143
- },
5144
- "CdrToggleGroup": {
5145
- "name": "CdrToggleGroup",
5146
- "exportName": "default",
5147
- "displayName": "CdrToggleGroup",
5148
- "description": "",
5149
- "tags": {},
5150
- "props": [
5151
- {
5152
- "name": "modelValue",
5153
- "tags": {
5154
- "ignore": [
5155
- {
5156
- "description": true,
5157
- "title": "ignore"
5158
- }
5159
- ]
5160
- },
5161
- "type": {
5162
- "name": "string|number|boolean|object|array"
5163
- },
5164
- "required": true
5244
+ "name": "--cdr-switch-border-color-checked-hover",
5245
+ "defaultValue": "--cdr-color-border-secondary",
5246
+ "description": "Border of the cdr-switch button when it is checked and on hover but not in focus"
5165
5247
  },
5166
5248
  {
5167
- "name": "size",
5168
- "description": "Sets toggle button size",
5169
- "tags": {
5170
- "demoSelectMultiple": [
5171
- {
5172
- "description": "false",
5173
- "title": "demoSelectMultiple"
5174
- }
5175
- ]
5176
- },
5177
- "values": [
5178
- "medium",
5179
- "large"
5180
- ],
5181
- "type": {
5182
- "name": "string"
5183
- },
5184
- "defaultValue": {
5185
- "func": false,
5186
- "value": "'medium'"
5187
- }
5188
- }
5189
- ],
5190
- "events": [
5249
+ "name": "--cdr-switch-background-color-checked-hover",
5250
+ "defaultValue": "--cdr-color-background-switch-selected-default-hover",
5251
+ "description": "Background color of the cdr-switch button when it is checked and on hover but not in focus"
5252
+ },
5191
5253
  {
5192
- "name": "update:modelValue",
5193
- "description": "Event emitted by v-model",
5194
- "properties": [
5195
- {
5196
- "type": {
5197
- "names": [
5198
- "mixed"
5199
- ]
5200
- },
5201
- "name": "modelValue"
5202
- }
5203
- ],
5204
- "tags": [
5205
- {
5206
- "title": "param",
5207
- "type": {
5208
- "name": "mixed"
5209
- },
5210
- "name": "modelValue"
5211
- }
5212
- ]
5213
- }
5214
- ],
5215
- "slots": [
5254
+ "name": "--cdr-switch-icon-fill-checked-hover",
5255
+ "defaultValue": "--cdr-color-icon-switch-selected-default-hover",
5256
+ "description": "Fill of the cdr-switch x and check icons when it is checked and on hover but not in focus"
5257
+ },
5216
5258
  {
5217
- "name": "default",
5218
- "description": "CdrToggleGroup content (CdrToggleButton components)"
5219
- }
5220
- ],
5221
- "sourceFiles": [
5222
- "./src/components/toggleButton/CdrToggleGroup.vue"
5223
- ],
5224
- "UIProperties": [
5259
+ "name": "--cdr-switch-handle-border-color-checked-hover",
5260
+ "defaultValue": "--cdr-color-border-switch-handle-default-hover",
5261
+ "description": "Border of the cdr-switch handle when it is checked and on hover but not in focus"
5262
+ },
5225
5263
  {
5226
- "name": "--cdr-toggle-group-border-color",
5227
- "defaultValue": "--cdr-color-border-primary",
5228
- "description": "Border color of the cdr-toggle-group"
5264
+ "name": "--cdr-switch-handle-border",
5265
+ "defaultValue": "--cdr-color-border-secondary",
5266
+ "description": "Border color of the cdr-switch handle"
5229
5267
  },
5230
5268
  {
5231
- "name": "--cdr-toggle-group-background-color-default-rest",
5232
- "defaultValue": "--cdr-color-background-toggle-group-default-rest",
5233
- "description": "Default background color of the cdr-toggle-group"
5269
+ "name": "--cdr-switch-handle-background-color-rest",
5270
+ "defaultValue": "--cdr-color-background-switch-handle-default-rest",
5271
+ "description": "Background color of the cdr-switch handle"
5234
5272
  }
5235
5273
  ]
5236
5274
  },
@@ -5322,134 +5360,96 @@
5322
5360
  }
5323
5361
  ]
5324
5362
  },
5325
- "CdrTooltip": {
5326
- "name": "CdrTooltip",
5327
- "description": "Floating label used to clarify interface actions",
5328
- "tags": {},
5363
+ "CdrToggleGroup": {
5364
+ "name": "CdrToggleGroup",
5329
5365
  "exportName": "default",
5330
- "displayName": "CdrTooltip",
5366
+ "displayName": "CdrToggleGroup",
5367
+ "description": "",
5368
+ "tags": {},
5331
5369
  "props": [
5332
5370
  {
5333
- "name": "position",
5334
- "description": "Sets the position where the tooltip will render relative to the trigger element.",
5371
+ "name": "modelValue",
5335
5372
  "tags": {
5336
- "demoSelectMultiple": [
5373
+ "ignore": [
5337
5374
  {
5338
- "description": "false",
5339
- "title": "demoSelectMultiple"
5375
+ "description": true,
5376
+ "title": "ignore"
5340
5377
  }
5341
5378
  ]
5342
5379
  },
5343
- "values": [
5344
- "top",
5345
- "bottom",
5346
- "left",
5347
- "right"
5348
- ],
5349
- "type": {
5350
- "name": "string"
5351
- },
5352
- "required": false,
5353
- "defaultValue": {
5354
- "func": false,
5355
- "value": "'top'"
5356
- }
5357
- },
5358
- {
5359
- "name": "autoPosition",
5360
- "description": "If set to `true`, tooltip will attempt to dynamically set it's position to\nensure it renders within the visible browser window.\nIf `false` the tooltip will always render in the provided `position`.",
5361
- "type": {
5362
- "name": "boolean"
5363
- },
5364
- "defaultValue": {
5365
- "func": false,
5366
- "value": true
5367
- }
5368
- },
5369
- {
5370
- "name": "id",
5371
- "description": "ID for the tooltip element, required for accessibility",
5372
5380
  "type": {
5373
- "name": "string"
5381
+ "name": "string|number|boolean|object|array"
5374
5382
  },
5375
5383
  "required": true
5376
5384
  },
5377
5385
  {
5378
- "name": "contentClass",
5379
- "description": "Add custom class to the tooltip content wrapper. Allows for overriding size, styling, etc.",
5380
- "type": {
5381
- "name": "string"
5382
- },
5383
- "required": false
5384
- },
5385
- {
5386
- "name": "open",
5387
- "description": "Used to programmatically control the tooltip state. Does not need to be set if you are using the `trigger` slot.",
5386
+ "name": "size",
5387
+ "description": "Sets toggle button size",
5388
5388
  "tags": {
5389
- "demoIgnore": [
5389
+ "demoSelectMultiple": [
5390
5390
  {
5391
- "description": "true",
5392
- "title": "demoIgnore"
5391
+ "description": "false",
5392
+ "title": "demoSelectMultiple"
5393
5393
  }
5394
5394
  ]
5395
5395
  },
5396
+ "values": [
5397
+ "medium",
5398
+ "large"
5399
+ ],
5396
5400
  "type": {
5397
- "name": "boolean"
5401
+ "name": "string"
5398
5402
  },
5399
5403
  "defaultValue": {
5400
5404
  "func": false,
5401
- "value": false
5405
+ "value": "'medium'"
5402
5406
  }
5403
5407
  }
5404
5408
  ],
5405
5409
  "events": [
5406
5410
  {
5407
- "name": "opened",
5408
- "description": "Emits when tooltip is opened"
5409
- },
5410
- {
5411
- "name": "closed",
5412
- "description": "Emits when tooltip is closed"
5411
+ "name": "update:modelValue",
5412
+ "description": "Event emitted by v-model",
5413
+ "properties": [
5414
+ {
5415
+ "type": {
5416
+ "names": [
5417
+ "mixed"
5418
+ ]
5419
+ },
5420
+ "name": "modelValue"
5421
+ }
5422
+ ],
5423
+ "tags": [
5424
+ {
5425
+ "title": "param",
5426
+ "type": {
5427
+ "name": "mixed"
5428
+ },
5429
+ "name": "modelValue"
5430
+ }
5431
+ ]
5413
5432
  }
5414
5433
  ],
5415
5434
  "slots": [
5416
- {
5417
- "name": "trigger",
5418
- "description": " Slot for the element that triggers the tooltip."
5419
- },
5420
5435
  {
5421
5436
  "name": "default",
5422
- "description": "CdrTooltip content"
5437
+ "description": "CdrToggleGroup content (CdrToggleButton components)"
5423
5438
  }
5424
5439
  ],
5425
5440
  "sourceFiles": [
5426
- "./src/components/tooltip/CdrTooltip.vue"
5441
+ "./src/components/toggleButton/CdrToggleGroup.vue"
5427
5442
  ],
5428
5443
  "UIProperties": [
5429
5444
  {
5430
- "name": "--cdr-popup-background-color-default",
5431
- "defaultValue": "--cdr-color-background-tooltip-default",
5432
- "description": "Background color of the cdr-popup"
5433
- },
5434
- {
5435
- "name": "--cdr-popup-text-color-default",
5436
- "defaultValue": "--cdr-color-text-tooltip-default",
5437
- "description": "Text color of the cdr-popup"
5438
- },
5439
- {
5440
- "name": "--cdr-popup-border-color-default",
5441
- "defaultValue": "--cdr-color-border-tooltip-default",
5442
- "description": "Border color of the cdr-popup"
5443
- },
5444
- {
5445
- "name": "--cdr-popup-arrow-border-bottom-color",
5446
- "defaultValue": "--cdr-color-border-tooltip-default",
5447
- "description": "Border color of the cdr-popup arrow"
5445
+ "name": "--cdr-toggle-group-border-color",
5446
+ "defaultValue": "--cdr-color-border-primary",
5447
+ "description": "Border color of the cdr-toggle-group"
5448
5448
  },
5449
5449
  {
5450
- "name": "--cdr-popup-arrow-background-color",
5451
- "defaultValue": "--cdr-color-background-tooltip-default",
5452
- "description": "Background color of the cdr-popup arrow"
5450
+ "name": "--cdr-toggle-group-background-color-default-rest",
5451
+ "defaultValue": "--cdr-color-background-toggle-group-default-rest",
5452
+ "description": "Default background color of the cdr-toggle-group"
5453
5453
  }
5454
5454
  ]
5455
5455
  }