@rei/cedar 13.3.0-alpha.1 → 13.4.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cedar-compiled.css +1145 -1033
- package/dist/cedar.mjs +3321 -4029
- package/dist/cedar.umd.js +3 -3
- package/dist/component-docgen.json +978 -534
- package/dist/icon-component-docgen.json +273 -273
- package/dist/style/cdr-accordion-group.css +1 -1
- package/dist/style/cdr-accordion.css +1 -1
- package/dist/style/cdr-banner.css +1 -1
- package/dist/style/cdr-breadcrumb.css +1 -1
- package/dist/style/cdr-button.css +1 -1
- package/dist/style/cdr-caption.css +1 -1
- package/dist/style/cdr-card.css +1 -1
- package/dist/style/cdr-checkbox.css +1 -1
- package/dist/style/cdr-chip-group.css +1 -1
- package/dist/style/cdr-chip.css +1 -1
- package/dist/style/cdr-container.css +1 -1
- package/dist/style/cdr-form-error.css +1 -1
- package/dist/style/cdr-form-group.css +1 -1
- package/dist/style/cdr-grid.css +1 -1
- package/dist/style/cdr-icon.css +1 -1
- package/dist/style/cdr-img.css +1 -1
- package/dist/style/cdr-input.css +1 -1
- package/dist/style/cdr-label-standalone.css +1 -1
- package/dist/style/cdr-label-wrapper.css +1 -1
- package/dist/style/cdr-link.css +1 -1
- package/dist/style/cdr-list.css +1 -1
- package/dist/style/cdr-modal.css +1 -1
- package/dist/style/cdr-pagination.css +1 -1
- package/dist/style/cdr-popover.css +1 -1
- package/dist/style/cdr-popup.css +1 -1
- package/dist/style/cdr-quote.css +1 -1
- package/dist/style/cdr-radio.css +1 -1
- package/dist/style/cdr-rating.css +1 -1
- package/dist/style/cdr-select.css +1 -1
- package/dist/style/cdr-skeleton-bone.css +1 -1
- package/dist/style/cdr-skeleton.css +1 -1
- package/dist/style/cdr-switch.css +1 -1
- package/dist/style/cdr-tab-panel.css +1 -1
- package/dist/style/cdr-table.css +1 -1
- package/dist/style/cdr-tabs.css +1 -1
- package/dist/style/cdr-text.css +1 -1
- package/dist/style/cdr-toast.css +1 -1
- package/dist/style/cdr-toggle-button.css +1 -1
- package/dist/style/cdr-toggle-group.css +1 -1
- package/dist/style/cdr-tooltip.css +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -91,6 +91,7 @@
|
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
"name": "label",
|
|
94
|
+
"description": "Sets the readable text on CdrAccordion button (also can be slotted)",
|
|
94
95
|
"tags": {
|
|
95
96
|
"demoIgnore": [
|
|
96
97
|
{
|
|
@@ -106,39 +107,18 @@
|
|
|
106
107
|
],
|
|
107
108
|
"events": [
|
|
108
109
|
{
|
|
109
|
-
"name": "accordion-toggle"
|
|
110
|
+
"name": "accordion-toggle",
|
|
111
|
+
"description": "Emits on accordion open/close"
|
|
110
112
|
}
|
|
111
113
|
],
|
|
112
114
|
"slots": [
|
|
113
115
|
{
|
|
114
|
-
"name": "label"
|
|
116
|
+
"name": "label",
|
|
117
|
+
"description": " Sets the readable text on the CdrAccordion button"
|
|
115
118
|
},
|
|
116
119
|
{
|
|
117
|
-
"name": "default"
|
|
118
|
-
|
|
119
|
-
]
|
|
120
|
-
},
|
|
121
|
-
"CdrAccordionGroup": {
|
|
122
|
-
"displayName": "CdrAccordionGroup",
|
|
123
|
-
"exportName": "default",
|
|
124
|
-
"description": "",
|
|
125
|
-
"tags": {},
|
|
126
|
-
"props": [
|
|
127
|
-
{
|
|
128
|
-
"name": "unwrap",
|
|
129
|
-
"description": "A prop that will present accordion content as unwrapped. All content is expanded at the provided breakpoints.",
|
|
130
|
-
"type": {
|
|
131
|
-
"name": "string|boolean"
|
|
132
|
-
},
|
|
133
|
-
"defaultValue": {
|
|
134
|
-
"func": false,
|
|
135
|
-
"value": false
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
],
|
|
139
|
-
"slots": [
|
|
140
|
-
{
|
|
141
|
-
"name": "default"
|
|
120
|
+
"name": "default",
|
|
121
|
+
"description": "CdrAccordion content"
|
|
142
122
|
}
|
|
143
123
|
]
|
|
144
124
|
},
|
|
@@ -177,95 +157,57 @@
|
|
|
177
157
|
],
|
|
178
158
|
"slots": [
|
|
179
159
|
{
|
|
180
|
-
"name": "icon-left"
|
|
160
|
+
"name": "icon-left",
|
|
161
|
+
"description": "Icon matching banner type"
|
|
181
162
|
},
|
|
182
163
|
{
|
|
183
|
-
"name": "default"
|
|
164
|
+
"name": "default",
|
|
165
|
+
"description": "Primary message content"
|
|
184
166
|
},
|
|
185
167
|
{
|
|
186
|
-
"name": "icon-right"
|
|
168
|
+
"name": "icon-right",
|
|
169
|
+
"description": "Additional icon"
|
|
187
170
|
},
|
|
188
171
|
{
|
|
189
|
-
"name": "message-body"
|
|
172
|
+
"name": "message-body",
|
|
173
|
+
"description": "Additional content about the message"
|
|
190
174
|
},
|
|
191
175
|
{
|
|
192
|
-
"name": "info-action"
|
|
176
|
+
"name": "info-action",
|
|
177
|
+
"description": "Action-wrapped icon"
|
|
193
178
|
}
|
|
194
179
|
]
|
|
195
180
|
},
|
|
196
|
-
"
|
|
197
|
-
"displayName": "
|
|
181
|
+
"CdrAccordionGroup": {
|
|
182
|
+
"displayName": "CdrAccordionGroup",
|
|
198
183
|
"exportName": "default",
|
|
199
184
|
"description": "",
|
|
200
185
|
"tags": {},
|
|
201
186
|
"props": [
|
|
202
187
|
{
|
|
203
|
-
"name": "
|
|
204
|
-
"
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
"name": "array"
|
|
214
|
-
},
|
|
215
|
-
"defaultValue": {
|
|
216
|
-
"func": false,
|
|
217
|
-
"value": []
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"name": "truncationEnabled",
|
|
222
|
-
"description": "Flag to track container width threshold exceeded",
|
|
188
|
+
"name": "unwrap",
|
|
189
|
+
"description": "A prop that will present accordion content as unwrapped. All content is expanded at the provided breakpoints.",
|
|
190
|
+
"tags": {},
|
|
191
|
+
"values": [
|
|
192
|
+
"@xs",
|
|
193
|
+
"@sm",
|
|
194
|
+
"@md",
|
|
195
|
+
"@lg",
|
|
196
|
+
"true"
|
|
197
|
+
],
|
|
223
198
|
"type": {
|
|
224
|
-
"name": "boolean"
|
|
199
|
+
"name": "string|boolean"
|
|
225
200
|
},
|
|
226
201
|
"defaultValue": {
|
|
227
202
|
"func": false,
|
|
228
|
-
"value":
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"name": "id",
|
|
233
|
-
"tags": {
|
|
234
|
-
"demoIgnore": [
|
|
235
|
-
{
|
|
236
|
-
"description": "true",
|
|
237
|
-
"title": "demoIgnore"
|
|
238
|
-
}
|
|
239
|
-
]
|
|
240
|
-
},
|
|
241
|
-
"type": {
|
|
242
|
-
"name": "string"
|
|
203
|
+
"value": false
|
|
243
204
|
}
|
|
244
205
|
}
|
|
245
206
|
],
|
|
246
|
-
"events": [
|
|
247
|
-
{
|
|
248
|
-
"name": "navigate"
|
|
249
|
-
}
|
|
250
|
-
],
|
|
251
207
|
"slots": [
|
|
252
208
|
{
|
|
253
|
-
"name": "
|
|
254
|
-
"
|
|
255
|
-
"bindings": [
|
|
256
|
-
{
|
|
257
|
-
"name": "class",
|
|
258
|
-
"title": "binding"
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
"name": "href",
|
|
262
|
-
"title": "binding"
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"name": "content",
|
|
266
|
-
"title": "binding"
|
|
267
|
-
}
|
|
268
|
-
]
|
|
209
|
+
"name": "default",
|
|
210
|
+
"description": "CdrAccordionGroup content (i.e. CdrAccordion components)"
|
|
269
211
|
}
|
|
270
212
|
]
|
|
271
213
|
},
|
|
@@ -277,6 +219,7 @@
|
|
|
277
219
|
"props": [
|
|
278
220
|
{
|
|
279
221
|
"name": "tag",
|
|
222
|
+
"description": "Renders CdrButton as a <button> or <a> element. When using the value of <a>, this element renders as an anchor link.",
|
|
280
223
|
"tags": {
|
|
281
224
|
"demoIgnore": [
|
|
282
225
|
{
|
|
@@ -285,6 +228,10 @@
|
|
|
285
228
|
}
|
|
286
229
|
]
|
|
287
230
|
},
|
|
231
|
+
"values": [
|
|
232
|
+
"button",
|
|
233
|
+
"a"
|
|
234
|
+
],
|
|
288
235
|
"type": {
|
|
289
236
|
"name": "string"
|
|
290
237
|
},
|
|
@@ -295,6 +242,7 @@
|
|
|
295
242
|
},
|
|
296
243
|
{
|
|
297
244
|
"name": "type",
|
|
245
|
+
"description": "Sets the button type",
|
|
298
246
|
"tags": {
|
|
299
247
|
"demoIgnore": [
|
|
300
248
|
{
|
|
@@ -303,6 +251,11 @@
|
|
|
303
251
|
}
|
|
304
252
|
]
|
|
305
253
|
},
|
|
254
|
+
"values": [
|
|
255
|
+
"button",
|
|
256
|
+
"submit",
|
|
257
|
+
"reset"
|
|
258
|
+
],
|
|
306
259
|
"type": {
|
|
307
260
|
"name": "string"
|
|
308
261
|
},
|
|
@@ -339,7 +292,7 @@
|
|
|
339
292
|
},
|
|
340
293
|
{
|
|
341
294
|
"name": "size",
|
|
342
|
-
"description": "Sets the button size",
|
|
295
|
+
"description": "Sets the button size; values can target responsive breakpoints. Example: `large@sm`.",
|
|
343
296
|
"tags": {
|
|
344
297
|
"demoSelectMultiple": [
|
|
345
298
|
{
|
|
@@ -363,7 +316,7 @@
|
|
|
363
316
|
},
|
|
364
317
|
{
|
|
365
318
|
"name": "fullWidth",
|
|
366
|
-
"description": "Sets button width to 100%",
|
|
319
|
+
"description": "Sets button width to 100%. Setting this value to true will set the button width to 100% of the parent container. Use the 'fullWidth' prop with the 'size' prop to control top and bottom padding.",
|
|
367
320
|
"type": {
|
|
368
321
|
"name": "string|boolean"
|
|
369
322
|
},
|
|
@@ -374,6 +327,7 @@
|
|
|
374
327
|
},
|
|
375
328
|
{
|
|
376
329
|
"name": "iconOnly",
|
|
330
|
+
"description": "Renders an 'icon-only' button. When this value is true, it will override the size and 'responsiveSize' props. Can be used in conjunction with 'with-background'",
|
|
377
331
|
"type": {
|
|
378
332
|
"name": "boolean"
|
|
379
333
|
},
|
|
@@ -384,6 +338,7 @@
|
|
|
384
338
|
},
|
|
385
339
|
{
|
|
386
340
|
"name": "withBackground",
|
|
341
|
+
"description": "Renders an 'icon-only' button with a background color and border. Must be used in conjunction with the 'iconOnly' prop.",
|
|
387
342
|
"type": {
|
|
388
343
|
"name": "boolean"
|
|
389
344
|
},
|
|
@@ -395,16 +350,20 @@
|
|
|
395
350
|
],
|
|
396
351
|
"slots": [
|
|
397
352
|
{
|
|
398
|
-
"name": "icon-left"
|
|
353
|
+
"name": "icon-left",
|
|
354
|
+
"description": "Icon to the left of text content"
|
|
399
355
|
},
|
|
400
356
|
{
|
|
401
|
-
"name": "icon"
|
|
357
|
+
"name": "icon",
|
|
358
|
+
"description": "Icon for icon-only button"
|
|
402
359
|
},
|
|
403
360
|
{
|
|
404
|
-
"name": "default"
|
|
361
|
+
"name": "default",
|
|
362
|
+
"description": "Readable text of the button. Leave empty if icon-only"
|
|
405
363
|
},
|
|
406
364
|
{
|
|
407
|
-
"name": "icon-right"
|
|
365
|
+
"name": "icon-right",
|
|
366
|
+
"description": "Icon to the right of text content"
|
|
408
367
|
}
|
|
409
368
|
]
|
|
410
369
|
},
|
|
@@ -446,6 +405,105 @@
|
|
|
446
405
|
}
|
|
447
406
|
]
|
|
448
407
|
},
|
|
408
|
+
"CdrBreadcrumb": {
|
|
409
|
+
"displayName": "CdrBreadcrumb",
|
|
410
|
+
"exportName": "default",
|
|
411
|
+
"description": "",
|
|
412
|
+
"tags": {},
|
|
413
|
+
"props": [
|
|
414
|
+
{
|
|
415
|
+
"name": "items",
|
|
416
|
+
"description": "Sets the array of a breadcrumb object containing a 'url' and 'name' property.",
|
|
417
|
+
"tags": {
|
|
418
|
+
"demoIgnore": [
|
|
419
|
+
{
|
|
420
|
+
"description": "true",
|
|
421
|
+
"title": "demoIgnore"
|
|
422
|
+
}
|
|
423
|
+
]
|
|
424
|
+
},
|
|
425
|
+
"type": {
|
|
426
|
+
"name": "array"
|
|
427
|
+
},
|
|
428
|
+
"defaultValue": {
|
|
429
|
+
"func": false,
|
|
430
|
+
"value": []
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"name": "truncationEnabled",
|
|
435
|
+
"description": "Controls the ability to truncate the entire breadcrumb path. If this value is false, truncation will no longer occur.",
|
|
436
|
+
"type": {
|
|
437
|
+
"name": "boolean"
|
|
438
|
+
},
|
|
439
|
+
"defaultValue": {
|
|
440
|
+
"func": false,
|
|
441
|
+
"value": true
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"name": "id",
|
|
446
|
+
"description": "Define a custom ID for the `<nav>` element. Randomly generated if no ID provided.",
|
|
447
|
+
"tags": {
|
|
448
|
+
"demoIgnore": [
|
|
449
|
+
{
|
|
450
|
+
"description": "true",
|
|
451
|
+
"title": "demoIgnore"
|
|
452
|
+
}
|
|
453
|
+
]
|
|
454
|
+
},
|
|
455
|
+
"type": {
|
|
456
|
+
"name": "string"
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
],
|
|
460
|
+
"events": [
|
|
461
|
+
{
|
|
462
|
+
"name": "navigate",
|
|
463
|
+
"description": "Emits when a breadcrumb item is clicked. `e.preventDefault()` may be used to override the default link navigation."
|
|
464
|
+
}
|
|
465
|
+
],
|
|
466
|
+
"slots": [
|
|
467
|
+
{
|
|
468
|
+
"name": "link",
|
|
469
|
+
"scoped": true,
|
|
470
|
+
"bindings": [
|
|
471
|
+
{
|
|
472
|
+
"name": "class",
|
|
473
|
+
"title": "binding"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"name": "href",
|
|
477
|
+
"title": "binding"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"name": "content",
|
|
481
|
+
"title": "binding"
|
|
482
|
+
}
|
|
483
|
+
]
|
|
484
|
+
}
|
|
485
|
+
]
|
|
486
|
+
},
|
|
487
|
+
"CdrChip": {
|
|
488
|
+
"displayName": "CdrChip",
|
|
489
|
+
"exportName": "default",
|
|
490
|
+
"description": "",
|
|
491
|
+
"tags": {},
|
|
492
|
+
"slots": [
|
|
493
|
+
{
|
|
494
|
+
"name": "icon-left",
|
|
495
|
+
"description": "Icon to the left of the content"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "icon-right",
|
|
499
|
+
"description": "Icon to the right of the content"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"name": "default",
|
|
503
|
+
"description": "Primary CdrChip content"
|
|
504
|
+
}
|
|
505
|
+
]
|
|
506
|
+
},
|
|
449
507
|
"CdrCard": {
|
|
450
508
|
"displayName": "CdrCard",
|
|
451
509
|
"exportName": "default",
|
|
@@ -454,6 +512,7 @@
|
|
|
454
512
|
"props": [
|
|
455
513
|
{
|
|
456
514
|
"name": "tag",
|
|
515
|
+
"description": "Sets valid HTML container element tag.",
|
|
457
516
|
"type": {
|
|
458
517
|
"name": "string"
|
|
459
518
|
},
|
|
@@ -465,7 +524,8 @@
|
|
|
465
524
|
],
|
|
466
525
|
"slots": [
|
|
467
526
|
{
|
|
468
|
-
"name": "default"
|
|
527
|
+
"name": "default",
|
|
528
|
+
"description": "CdrCard content"
|
|
469
529
|
}
|
|
470
530
|
]
|
|
471
531
|
},
|
|
@@ -477,21 +537,21 @@
|
|
|
477
537
|
"props": [
|
|
478
538
|
{
|
|
479
539
|
"name": "labelClass",
|
|
480
|
-
"description": "
|
|
540
|
+
"description": "Passes a CSS class to the label for custom styles",
|
|
481
541
|
"type": {
|
|
482
542
|
"name": "string"
|
|
483
543
|
}
|
|
484
544
|
},
|
|
485
545
|
{
|
|
486
546
|
"name": "inputClass",
|
|
487
|
-
"description": "
|
|
547
|
+
"description": "Passes a CSS class to the input for custom styles",
|
|
488
548
|
"type": {
|
|
489
549
|
"name": "string"
|
|
490
550
|
}
|
|
491
551
|
},
|
|
492
552
|
{
|
|
493
553
|
"name": "contentClass",
|
|
494
|
-
"description": "
|
|
554
|
+
"description": "Passes a CSS class to the slot wrapper for custom styles",
|
|
495
555
|
"type": {
|
|
496
556
|
"name": "string"
|
|
497
557
|
}
|
|
@@ -538,6 +598,12 @@
|
|
|
538
598
|
},
|
|
539
599
|
{
|
|
540
600
|
"name": "background",
|
|
601
|
+
"description": "Sets the background color the input is rendered on",
|
|
602
|
+
"tags": {},
|
|
603
|
+
"values": [
|
|
604
|
+
"primary",
|
|
605
|
+
"secondary"
|
|
606
|
+
],
|
|
541
607
|
"type": {
|
|
542
608
|
"name": "backgroundProps"
|
|
543
609
|
}
|
|
@@ -563,6 +629,11 @@
|
|
|
563
629
|
},
|
|
564
630
|
{
|
|
565
631
|
"name": "modifier",
|
|
632
|
+
"description": "Use `hide-figure` to hide the checkbox, which leaves the text label as the clickable element.\nAdd appropriate custom styles to convey selected and unselected states.",
|
|
633
|
+
"tags": {},
|
|
634
|
+
"values": [
|
|
635
|
+
"hide-figure"
|
|
636
|
+
],
|
|
566
637
|
"type": {
|
|
567
638
|
"name": "string"
|
|
568
639
|
},
|
|
@@ -588,62 +659,33 @@
|
|
|
588
659
|
],
|
|
589
660
|
"events": [
|
|
590
661
|
{
|
|
591
|
-
"name": "update:modelValue"
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
{
|
|
613
|
-
"name": "default"
|
|
614
|
-
}
|
|
615
|
-
]
|
|
616
|
-
},
|
|
617
|
-
"CdrChipGroup": {
|
|
618
|
-
"displayName": "CdrChipGroup",
|
|
619
|
-
"exportName": "default",
|
|
620
|
-
"description": "",
|
|
621
|
-
"tags": {},
|
|
622
|
-
"props": [
|
|
623
|
-
{
|
|
624
|
-
"name": "label",
|
|
625
|
-
"type": {
|
|
626
|
-
"name": "string"
|
|
627
|
-
},
|
|
628
|
-
"required": true
|
|
629
|
-
},
|
|
630
|
-
{
|
|
631
|
-
"name": "hideLabel",
|
|
632
|
-
"type": {
|
|
633
|
-
"name": "boolean"
|
|
634
|
-
},
|
|
635
|
-
"defaultValue": {
|
|
636
|
-
"func": false,
|
|
637
|
-
"value": true
|
|
638
|
-
}
|
|
662
|
+
"name": "update:modelValue",
|
|
663
|
+
"description": "Event emitted by v-model on the <input> element",
|
|
664
|
+
"properties": [
|
|
665
|
+
{
|
|
666
|
+
"type": {
|
|
667
|
+
"names": [
|
|
668
|
+
"mixed"
|
|
669
|
+
]
|
|
670
|
+
},
|
|
671
|
+
"name": "modelValue"
|
|
672
|
+
}
|
|
673
|
+
],
|
|
674
|
+
"tags": [
|
|
675
|
+
{
|
|
676
|
+
"title": "param",
|
|
677
|
+
"type": {
|
|
678
|
+
"name": "mixed"
|
|
679
|
+
},
|
|
680
|
+
"name": "modelValue"
|
|
681
|
+
}
|
|
682
|
+
]
|
|
639
683
|
}
|
|
640
684
|
],
|
|
641
685
|
"slots": [
|
|
642
686
|
{
|
|
643
|
-
"name": "
|
|
644
|
-
|
|
645
|
-
{
|
|
646
|
-
"name": "default"
|
|
687
|
+
"name": "default",
|
|
688
|
+
"description": "Readable text for the label element"
|
|
647
689
|
}
|
|
648
690
|
]
|
|
649
691
|
},
|
|
@@ -655,7 +697,7 @@
|
|
|
655
697
|
"props": [
|
|
656
698
|
{
|
|
657
699
|
"name": "tag",
|
|
658
|
-
"description": "
|
|
700
|
+
"description": "Sets the HTML tag for the container element",
|
|
659
701
|
"type": {
|
|
660
702
|
"name": "string"
|
|
661
703
|
},
|
|
@@ -690,7 +732,8 @@
|
|
|
690
732
|
],
|
|
691
733
|
"slots": [
|
|
692
734
|
{
|
|
693
|
-
"name": "default"
|
|
735
|
+
"name": "default",
|
|
736
|
+
"description": "CdrContainer content"
|
|
694
737
|
}
|
|
695
738
|
]
|
|
696
739
|
},
|
|
@@ -713,14 +756,51 @@
|
|
|
713
756
|
}
|
|
714
757
|
]
|
|
715
758
|
},
|
|
716
|
-
"
|
|
717
|
-
"displayName": "
|
|
759
|
+
"CdrChipGroup": {
|
|
760
|
+
"displayName": "CdrChipGroup",
|
|
718
761
|
"exportName": "default",
|
|
719
762
|
"description": "",
|
|
720
763
|
"tags": {},
|
|
721
764
|
"props": [
|
|
722
765
|
{
|
|
723
|
-
"name": "
|
|
766
|
+
"name": "label",
|
|
767
|
+
"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.",
|
|
768
|
+
"type": {
|
|
769
|
+
"name": "string"
|
|
770
|
+
},
|
|
771
|
+
"required": true
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"name": "hideLabel",
|
|
775
|
+
"description": "Visually hides the chip group label but makes it accessible to screen readers.",
|
|
776
|
+
"type": {
|
|
777
|
+
"name": "boolean"
|
|
778
|
+
},
|
|
779
|
+
"defaultValue": {
|
|
780
|
+
"func": false,
|
|
781
|
+
"value": true
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
],
|
|
785
|
+
"slots": [
|
|
786
|
+
{
|
|
787
|
+
"name": "label",
|
|
788
|
+
"description": "Override CdrChip label content with a custom element"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"name": "default",
|
|
792
|
+
"description": "CdrChipGroup content (CdrChip components)"
|
|
793
|
+
}
|
|
794
|
+
]
|
|
795
|
+
},
|
|
796
|
+
"CdrFormGroup": {
|
|
797
|
+
"displayName": "CdrFormGroup",
|
|
798
|
+
"exportName": "default",
|
|
799
|
+
"description": "",
|
|
800
|
+
"tags": {},
|
|
801
|
+
"props": [
|
|
802
|
+
{
|
|
803
|
+
"name": "id",
|
|
724
804
|
"type": {
|
|
725
805
|
"name": "string"
|
|
726
806
|
}
|
|
@@ -810,6 +890,7 @@
|
|
|
810
890
|
},
|
|
811
891
|
{
|
|
812
892
|
"name": "tag",
|
|
893
|
+
"description": "Sets the HTML tag for the grid element",
|
|
813
894
|
"type": {
|
|
814
895
|
"name": "string"
|
|
815
896
|
},
|
|
@@ -821,44 +902,8 @@
|
|
|
821
902
|
],
|
|
822
903
|
"slots": [
|
|
823
904
|
{
|
|
824
|
-
"name": "default"
|
|
825
|
-
|
|
826
|
-
]
|
|
827
|
-
},
|
|
828
|
-
"CdrIcon": {
|
|
829
|
-
"displayName": "CdrIcon",
|
|
830
|
-
"exportName": "default",
|
|
831
|
-
"description": "",
|
|
832
|
-
"tags": {},
|
|
833
|
-
"props": [
|
|
834
|
-
{
|
|
835
|
-
"name": "use",
|
|
836
|
-
"description": "The href attribute passed to the use element. Will be prefixed with # automatically",
|
|
837
|
-
"type": {
|
|
838
|
-
"name": "string"
|
|
839
|
-
}
|
|
840
|
-
},
|
|
841
|
-
{
|
|
842
|
-
"name": "inheritColor",
|
|
843
|
-
"description": "Sets icon fill to \"inherit\" so as to use parent/ancestor fill color.",
|
|
844
|
-
"type": {
|
|
845
|
-
"name": "boolean"
|
|
846
|
-
}
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
"name": "size",
|
|
850
|
-
"type": {
|
|
851
|
-
"name": "string"
|
|
852
|
-
},
|
|
853
|
-
"defaultValue": {
|
|
854
|
-
"func": false,
|
|
855
|
-
"value": "'medium'"
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
],
|
|
859
|
-
"slots": [
|
|
860
|
-
{
|
|
861
|
-
"name": "default"
|
|
905
|
+
"name": "default",
|
|
906
|
+
"description": "CdrGrid content (grid child elements)"
|
|
862
907
|
}
|
|
863
908
|
]
|
|
864
909
|
},
|
|
@@ -870,7 +915,7 @@
|
|
|
870
915
|
"props": [
|
|
871
916
|
{
|
|
872
917
|
"name": "src",
|
|
873
|
-
"description": "
|
|
918
|
+
"description": "Image source url.",
|
|
874
919
|
"type": {
|
|
875
920
|
"name": "string"
|
|
876
921
|
},
|
|
@@ -878,7 +923,7 @@
|
|
|
878
923
|
},
|
|
879
924
|
{
|
|
880
925
|
"name": "alt",
|
|
881
|
-
"description": "
|
|
926
|
+
"description": "Image alt text. Defaults to an empty string",
|
|
882
927
|
"type": {
|
|
883
928
|
"name": "string"
|
|
884
929
|
},
|
|
@@ -1002,14 +1047,14 @@
|
|
|
1002
1047
|
"props": [
|
|
1003
1048
|
{
|
|
1004
1049
|
"name": "id",
|
|
1005
|
-
"description": "
|
|
1050
|
+
"description": "Custom ID that is mapped to the label ‘for’ attribute. If this value is not set, it will be randomly generated.",
|
|
1006
1051
|
"type": {
|
|
1007
1052
|
"name": "string"
|
|
1008
1053
|
}
|
|
1009
1054
|
},
|
|
1010
1055
|
{
|
|
1011
1056
|
"name": "type",
|
|
1012
|
-
"description": "'type' attribute for the input as defined by w3c.\n Only supporting text|email|number|password|search|url.\n The increment/decrement webkit psuedo element is hidden for number.",
|
|
1057
|
+
"description": "'type' attribute for the input as defined by w3c.\n Only supporting text|email|number|password|search|url|date.\n The increment/decrement webkit psuedo element is hidden for number.",
|
|
1013
1058
|
"tags": {
|
|
1014
1059
|
"demoSelectMultiple": [
|
|
1015
1060
|
{
|
|
@@ -1025,7 +1070,8 @@
|
|
|
1025
1070
|
"password",
|
|
1026
1071
|
"search",
|
|
1027
1072
|
"url",
|
|
1028
|
-
"tel"
|
|
1073
|
+
"tel",
|
|
1074
|
+
"date"
|
|
1029
1075
|
],
|
|
1030
1076
|
"type": {
|
|
1031
1077
|
"name": "string"
|
|
@@ -1037,7 +1083,7 @@
|
|
|
1037
1083
|
},
|
|
1038
1084
|
{
|
|
1039
1085
|
"name": "label",
|
|
1040
|
-
"description": "
|
|
1086
|
+
"description": "Sets the text value for the input label. Required for a11y compliance. Use ‘hideLabel’ if the label display is not desired. Required.",
|
|
1041
1087
|
"type": {
|
|
1042
1088
|
"name": "string"
|
|
1043
1089
|
},
|
|
@@ -1045,6 +1091,7 @@
|
|
|
1045
1091
|
},
|
|
1046
1092
|
{
|
|
1047
1093
|
"name": "numeric",
|
|
1094
|
+
"description": "Sets default attributes for an input that should launch a numeric keyboard but is not strictly a 'number' (credit card, security code, postal code, etc.). Should be used in conjunction with the default text type input. An `input` listener can be used to fully restrict input values to numerical characters only",
|
|
1048
1095
|
"type": {
|
|
1049
1096
|
"name": "boolean"
|
|
1050
1097
|
},
|
|
@@ -1062,13 +1109,19 @@
|
|
|
1062
1109
|
},
|
|
1063
1110
|
{
|
|
1064
1111
|
"name": "rows",
|
|
1065
|
-
"description": "Number of rows for input.
|
|
1112
|
+
"description": "Number of rows for input. Converts component to text-area if rows greater than 1.",
|
|
1066
1113
|
"type": {
|
|
1067
1114
|
"name": "number"
|
|
1068
1115
|
}
|
|
1069
1116
|
},
|
|
1070
1117
|
{
|
|
1071
1118
|
"name": "background",
|
|
1119
|
+
"description": "Sets the background color the input is rendered on",
|
|
1120
|
+
"tags": {},
|
|
1121
|
+
"values": [
|
|
1122
|
+
"primary",
|
|
1123
|
+
"secondary"
|
|
1124
|
+
],
|
|
1072
1125
|
"type": {
|
|
1073
1126
|
"name": "backgroundProps"
|
|
1074
1127
|
}
|
|
@@ -1094,7 +1147,7 @@
|
|
|
1094
1147
|
},
|
|
1095
1148
|
{
|
|
1096
1149
|
"name": "errorRole",
|
|
1097
|
-
"description": "
|
|
1150
|
+
"description": "Sets the `role` attribute for the embedded error state messaging.",
|
|
1098
1151
|
"type": {
|
|
1099
1152
|
"name": "string"
|
|
1100
1153
|
},
|
|
@@ -1106,6 +1159,7 @@
|
|
|
1106
1159
|
},
|
|
1107
1160
|
{
|
|
1108
1161
|
"name": "error",
|
|
1162
|
+
"description": "Sets the input to an error state, displays the `error` slot if one is present.",
|
|
1109
1163
|
"type": {
|
|
1110
1164
|
"name": "boolean|string"
|
|
1111
1165
|
},
|
|
@@ -1116,30 +1170,42 @@
|
|
|
1116
1170
|
},
|
|
1117
1171
|
{
|
|
1118
1172
|
"name": "disabled",
|
|
1173
|
+
"description": "Sets the disabled state for the input field and label styling. Also, restricts user input.",
|
|
1119
1174
|
"type": {
|
|
1120
1175
|
"name": "boolean"
|
|
1121
1176
|
}
|
|
1122
1177
|
},
|
|
1123
1178
|
{
|
|
1124
1179
|
"name": "required",
|
|
1180
|
+
"description": "Sets aria-required on the input field and displays an asterisk next to the input label.",
|
|
1125
1181
|
"type": {
|
|
1126
1182
|
"name": "boolean"
|
|
1127
1183
|
}
|
|
1128
1184
|
},
|
|
1129
1185
|
{
|
|
1130
1186
|
"name": "optional",
|
|
1187
|
+
"description": "Displays '(optional)' text next to the input label.",
|
|
1131
1188
|
"type": {
|
|
1132
1189
|
"name": "boolean"
|
|
1133
1190
|
}
|
|
1134
1191
|
},
|
|
1135
1192
|
{
|
|
1136
1193
|
"name": "modelValue",
|
|
1194
|
+
"tags": {
|
|
1195
|
+
"ignore": [
|
|
1196
|
+
{
|
|
1197
|
+
"description": true,
|
|
1198
|
+
"title": "ignore"
|
|
1199
|
+
}
|
|
1200
|
+
]
|
|
1201
|
+
},
|
|
1137
1202
|
"type": {
|
|
1138
1203
|
"name": "string|number|func"
|
|
1139
1204
|
}
|
|
1140
1205
|
},
|
|
1141
1206
|
{
|
|
1142
1207
|
"name": "labelClass",
|
|
1208
|
+
"description": "Adds a custom class to the cdr-label-standalone wrapping div",
|
|
1143
1209
|
"type": {
|
|
1144
1210
|
"name": "string"
|
|
1145
1211
|
}
|
|
@@ -1147,30 +1213,57 @@
|
|
|
1147
1213
|
],
|
|
1148
1214
|
"events": [
|
|
1149
1215
|
{
|
|
1150
|
-
"name": "update:modelValue"
|
|
1216
|
+
"name": "update:modelValue",
|
|
1217
|
+
"description": "Event emitted by v-model on the <input> element",
|
|
1218
|
+
"properties": [
|
|
1219
|
+
{
|
|
1220
|
+
"type": {
|
|
1221
|
+
"names": [
|
|
1222
|
+
"mixed"
|
|
1223
|
+
]
|
|
1224
|
+
},
|
|
1225
|
+
"name": "modelValue"
|
|
1226
|
+
}
|
|
1227
|
+
],
|
|
1228
|
+
"tags": [
|
|
1229
|
+
{
|
|
1230
|
+
"title": "param",
|
|
1231
|
+
"type": {
|
|
1232
|
+
"name": "mixed"
|
|
1233
|
+
},
|
|
1234
|
+
"name": "modelValue"
|
|
1235
|
+
}
|
|
1236
|
+
]
|
|
1151
1237
|
}
|
|
1152
1238
|
],
|
|
1153
1239
|
"slots": [
|
|
1154
1240
|
{
|
|
1155
|
-
"name": "helper-text-top"
|
|
1241
|
+
"name": "helper-text-top",
|
|
1242
|
+
"description": "Helper text above the input field"
|
|
1156
1243
|
},
|
|
1157
1244
|
{
|
|
1158
|
-
"name": "info"
|
|
1245
|
+
"name": "info",
|
|
1246
|
+
"description": "Link or icon to the right above the input field."
|
|
1159
1247
|
},
|
|
1160
1248
|
{
|
|
1161
|
-
"name": "pre-icon"
|
|
1249
|
+
"name": "pre-icon",
|
|
1250
|
+
"description": "Icon preceding text within the input field"
|
|
1162
1251
|
},
|
|
1163
1252
|
{
|
|
1164
|
-
"name": "post-icon"
|
|
1253
|
+
"name": "post-icon",
|
|
1254
|
+
"description": "Icon after text within the input field"
|
|
1165
1255
|
},
|
|
1166
1256
|
{
|
|
1167
|
-
"name": "info-action"
|
|
1257
|
+
"name": "info-action",
|
|
1258
|
+
"description": "Action-wrapped icon within the input field (precedes post-icon)"
|
|
1168
1259
|
},
|
|
1169
1260
|
{
|
|
1170
|
-
"name": "helper-text-bottom"
|
|
1261
|
+
"name": "helper-text-bottom",
|
|
1262
|
+
"description": "Helper text below the input field"
|
|
1171
1263
|
},
|
|
1172
1264
|
{
|
|
1173
|
-
"name": "error"
|
|
1265
|
+
"name": "error",
|
|
1266
|
+
"description": "Error messaging text that is displayed when the `error` prop is true."
|
|
1174
1267
|
}
|
|
1175
1268
|
]
|
|
1176
1269
|
},
|
|
@@ -1239,53 +1332,42 @@
|
|
|
1239
1332
|
}
|
|
1240
1333
|
]
|
|
1241
1334
|
},
|
|
1242
|
-
"
|
|
1243
|
-
"displayName": "
|
|
1335
|
+
"CdrIcon": {
|
|
1336
|
+
"displayName": "CdrIcon",
|
|
1244
1337
|
"exportName": "default",
|
|
1245
1338
|
"description": "",
|
|
1246
1339
|
"tags": {},
|
|
1247
1340
|
"props": [
|
|
1248
1341
|
{
|
|
1249
|
-
"name": "
|
|
1250
|
-
"
|
|
1251
|
-
"name": "string"
|
|
1252
|
-
}
|
|
1253
|
-
},
|
|
1254
|
-
{
|
|
1255
|
-
"name": "contentClass",
|
|
1342
|
+
"name": "use",
|
|
1343
|
+
"description": "Only on CdrIcon. Sets the href attribute for use with SVG symbol sprite (see @rei/cedar-icons).",
|
|
1256
1344
|
"type": {
|
|
1257
1345
|
"name": "string"
|
|
1258
1346
|
}
|
|
1259
1347
|
},
|
|
1260
1348
|
{
|
|
1261
|
-
"name": "
|
|
1262
|
-
"
|
|
1263
|
-
"name": "backgroundProps"
|
|
1264
|
-
}
|
|
1265
|
-
},
|
|
1266
|
-
{
|
|
1267
|
-
"name": "disabled",
|
|
1349
|
+
"name": "inheritColor",
|
|
1350
|
+
"description": "Sets icon fill to \"inherit\" so as to use parent/ancestor fill color.",
|
|
1268
1351
|
"type": {
|
|
1269
1352
|
"name": "boolean"
|
|
1270
|
-
}
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
"type": {
|
|
1275
|
-
"name": "string"
|
|
1353
|
+
},
|
|
1354
|
+
"defaultValue": {
|
|
1355
|
+
"func": false,
|
|
1356
|
+
"value": false
|
|
1276
1357
|
}
|
|
1277
1358
|
},
|
|
1278
1359
|
{
|
|
1279
1360
|
"name": "size",
|
|
1280
1361
|
"type": {
|
|
1281
1362
|
"name": "string"
|
|
1363
|
+
},
|
|
1364
|
+
"defaultValue": {
|
|
1365
|
+
"func": false,
|
|
1366
|
+
"value": "'medium'"
|
|
1282
1367
|
}
|
|
1283
1368
|
}
|
|
1284
1369
|
],
|
|
1285
1370
|
"slots": [
|
|
1286
|
-
{
|
|
1287
|
-
"name": "input"
|
|
1288
|
-
},
|
|
1289
1371
|
{
|
|
1290
1372
|
"name": "default"
|
|
1291
1373
|
}
|
|
@@ -1299,6 +1381,12 @@
|
|
|
1299
1381
|
"props": [
|
|
1300
1382
|
{
|
|
1301
1383
|
"name": "tag",
|
|
1384
|
+
"description": "Sets valid HTML element tag",
|
|
1385
|
+
"tags": {},
|
|
1386
|
+
"values": [
|
|
1387
|
+
"a",
|
|
1388
|
+
"button"
|
|
1389
|
+
],
|
|
1302
1390
|
"type": {
|
|
1303
1391
|
"name": "string"
|
|
1304
1392
|
},
|
|
@@ -1309,6 +1397,7 @@
|
|
|
1309
1397
|
},
|
|
1310
1398
|
{
|
|
1311
1399
|
"name": "href",
|
|
1400
|
+
"description": "Sets value for anchors href property. Requires tag prop value to be `a`.",
|
|
1312
1401
|
"type": {
|
|
1313
1402
|
"name": "string"
|
|
1314
1403
|
},
|
|
@@ -1319,6 +1408,7 @@
|
|
|
1319
1408
|
},
|
|
1320
1409
|
{
|
|
1321
1410
|
"name": "inheritColor",
|
|
1411
|
+
"description": "Sets color and fill",
|
|
1322
1412
|
"type": {
|
|
1323
1413
|
"name": "boolean"
|
|
1324
1414
|
},
|
|
@@ -1329,6 +1419,11 @@
|
|
|
1329
1419
|
},
|
|
1330
1420
|
{
|
|
1331
1421
|
"name": "modifier",
|
|
1422
|
+
"description": "Modifies the style variant for this component.",
|
|
1423
|
+
"tags": {},
|
|
1424
|
+
"values": [
|
|
1425
|
+
"standalone"
|
|
1426
|
+
],
|
|
1332
1427
|
"type": {
|
|
1333
1428
|
"name": "string"
|
|
1334
1429
|
},
|
|
@@ -1368,7 +1463,8 @@
|
|
|
1368
1463
|
],
|
|
1369
1464
|
"slots": [
|
|
1370
1465
|
{
|
|
1371
|
-
"name": "default"
|
|
1466
|
+
"name": "default",
|
|
1467
|
+
"description": "Readable text of the link"
|
|
1372
1468
|
}
|
|
1373
1469
|
]
|
|
1374
1470
|
},
|
|
@@ -1380,7 +1476,12 @@
|
|
|
1380
1476
|
"props": [
|
|
1381
1477
|
{
|
|
1382
1478
|
"name": "tag",
|
|
1383
|
-
"description": "
|
|
1479
|
+
"description": "Sets list type and HTML element as \"unordered\" or \"ordered\"",
|
|
1480
|
+
"tags": {},
|
|
1481
|
+
"values": [
|
|
1482
|
+
"ul",
|
|
1483
|
+
"ol"
|
|
1484
|
+
],
|
|
1384
1485
|
"type": {
|
|
1385
1486
|
"name": "string"
|
|
1386
1487
|
},
|
|
@@ -1417,122 +1518,57 @@
|
|
|
1417
1518
|
],
|
|
1418
1519
|
"slots": [
|
|
1419
1520
|
{
|
|
1420
|
-
"name": "default"
|
|
1521
|
+
"name": "default",
|
|
1522
|
+
"description": "CdrList content (list-items)"
|
|
1421
1523
|
}
|
|
1422
1524
|
]
|
|
1423
1525
|
},
|
|
1424
|
-
"
|
|
1425
|
-
"displayName": "
|
|
1526
|
+
"CdrLabelWrapper": {
|
|
1527
|
+
"displayName": "CdrLabelWrapper",
|
|
1426
1528
|
"exportName": "default",
|
|
1427
1529
|
"description": "",
|
|
1428
1530
|
"tags": {},
|
|
1429
1531
|
"props": [
|
|
1430
1532
|
{
|
|
1431
|
-
"name": "
|
|
1432
|
-
"tags": {
|
|
1433
|
-
"demoIgnore": [
|
|
1434
|
-
{
|
|
1435
|
-
"description": "true",
|
|
1436
|
-
"title": "demoIgnore"
|
|
1437
|
-
}
|
|
1438
|
-
]
|
|
1439
|
-
},
|
|
1440
|
-
"type": {
|
|
1441
|
-
"name": "boolean"
|
|
1442
|
-
},
|
|
1443
|
-
"required": true
|
|
1444
|
-
},
|
|
1445
|
-
{
|
|
1446
|
-
"name": "label",
|
|
1447
|
-
"type": {
|
|
1448
|
-
"name": "string"
|
|
1449
|
-
},
|
|
1450
|
-
"required": true
|
|
1451
|
-
},
|
|
1452
|
-
{
|
|
1453
|
-
"name": "showTitle",
|
|
1454
|
-
"type": {
|
|
1455
|
-
"name": "boolean"
|
|
1456
|
-
},
|
|
1457
|
-
"required": false,
|
|
1458
|
-
"defaultValue": {
|
|
1459
|
-
"func": false,
|
|
1460
|
-
"value": true
|
|
1461
|
-
}
|
|
1462
|
-
},
|
|
1463
|
-
{
|
|
1464
|
-
"name": "ariaDescribedby",
|
|
1533
|
+
"name": "labelClass",
|
|
1465
1534
|
"type": {
|
|
1466
1535
|
"name": "string"
|
|
1467
|
-
},
|
|
1468
|
-
"required": false,
|
|
1469
|
-
"defaultValue": {
|
|
1470
|
-
"func": false,
|
|
1471
|
-
"value": "null"
|
|
1472
1536
|
}
|
|
1473
1537
|
},
|
|
1474
1538
|
{
|
|
1475
|
-
"name": "
|
|
1539
|
+
"name": "contentClass",
|
|
1476
1540
|
"type": {
|
|
1477
1541
|
"name": "string"
|
|
1478
|
-
},
|
|
1479
|
-
"required": false,
|
|
1480
|
-
"defaultValue": {
|
|
1481
|
-
"func": false,
|
|
1482
|
-
"value": "'dialog'"
|
|
1483
1542
|
}
|
|
1484
1543
|
},
|
|
1485
1544
|
{
|
|
1486
|
-
"name": "
|
|
1545
|
+
"name": "background",
|
|
1487
1546
|
"type": {
|
|
1488
|
-
"name": "
|
|
1489
|
-
},
|
|
1490
|
-
"required": false,
|
|
1491
|
-
"defaultValue": {
|
|
1492
|
-
"func": false,
|
|
1493
|
-
"value": "null"
|
|
1547
|
+
"name": "backgroundProps"
|
|
1494
1548
|
}
|
|
1495
1549
|
},
|
|
1496
1550
|
{
|
|
1497
|
-
"name": "
|
|
1551
|
+
"name": "disabled",
|
|
1498
1552
|
"type": {
|
|
1499
|
-
"name": "
|
|
1553
|
+
"name": "boolean"
|
|
1500
1554
|
}
|
|
1501
1555
|
},
|
|
1502
1556
|
{
|
|
1503
|
-
"name": "
|
|
1557
|
+
"name": "modifier",
|
|
1504
1558
|
"type": {
|
|
1505
1559
|
"name": "string"
|
|
1506
1560
|
}
|
|
1507
1561
|
},
|
|
1508
1562
|
{
|
|
1509
|
-
"name": "
|
|
1563
|
+
"name": "size",
|
|
1510
1564
|
"type": {
|
|
1511
1565
|
"name": "string"
|
|
1512
1566
|
}
|
|
1513
|
-
},
|
|
1514
|
-
{
|
|
1515
|
-
"name": "animationDuration",
|
|
1516
|
-
"type": {
|
|
1517
|
-
"name": "number"
|
|
1518
|
-
},
|
|
1519
|
-
"defaultValue": {
|
|
1520
|
-
"func": false,
|
|
1521
|
-
"value": "300"
|
|
1522
|
-
}
|
|
1523
|
-
}
|
|
1524
|
-
],
|
|
1525
|
-
"events": [
|
|
1526
|
-
{
|
|
1527
|
-
"name": "closed"
|
|
1528
1567
|
}
|
|
1529
1568
|
],
|
|
1530
1569
|
"slots": [
|
|
1531
1570
|
{
|
|
1532
|
-
"name": "
|
|
1533
|
-
},
|
|
1534
|
-
{
|
|
1535
|
-
"name": "title"
|
|
1571
|
+
"name": "input"
|
|
1536
1572
|
},
|
|
1537
1573
|
{
|
|
1538
1574
|
"name": "default"
|
|
@@ -1547,13 +1583,22 @@
|
|
|
1547
1583
|
"props": [
|
|
1548
1584
|
{
|
|
1549
1585
|
"name": "id",
|
|
1586
|
+
"description": "Define a custom slug for the generated breadcrumb item IDs. Slug is randomly generated if no ID provided.",
|
|
1587
|
+
"tags": {
|
|
1588
|
+
"demoIgnore": [
|
|
1589
|
+
{
|
|
1590
|
+
"description": "true",
|
|
1591
|
+
"title": "demoIgnore"
|
|
1592
|
+
}
|
|
1593
|
+
]
|
|
1594
|
+
},
|
|
1550
1595
|
"type": {
|
|
1551
1596
|
"name": "string"
|
|
1552
1597
|
}
|
|
1553
1598
|
},
|
|
1554
1599
|
{
|
|
1555
1600
|
"name": "totalPages",
|
|
1556
|
-
"description": "
|
|
1601
|
+
"description": "Sets the total number of pages for displaying \"Page x of <totalPages>\".\nSometimes the total number of pages is different than total page data objects in the pages array.\nFor example, if only the next and previous pages are provided.",
|
|
1557
1602
|
"type": {
|
|
1558
1603
|
"name": "number"
|
|
1559
1604
|
},
|
|
@@ -1564,7 +1609,7 @@
|
|
|
1564
1609
|
},
|
|
1565
1610
|
{
|
|
1566
1611
|
"name": "pages",
|
|
1567
|
-
"description": "Array of objects
|
|
1612
|
+
"description": "Array of objects containing pagination data.\nObjects must have structure of `{ page: number, url: string }`",
|
|
1568
1613
|
"type": {
|
|
1569
1614
|
"name": "array"
|
|
1570
1615
|
},
|
|
@@ -1572,6 +1617,12 @@
|
|
|
1572
1617
|
},
|
|
1573
1618
|
{
|
|
1574
1619
|
"name": "linkTag",
|
|
1620
|
+
"description": "Sets which tag type is used to render pagination elements",
|
|
1621
|
+
"tags": {},
|
|
1622
|
+
"values": [
|
|
1623
|
+
"a",
|
|
1624
|
+
"button"
|
|
1625
|
+
],
|
|
1575
1626
|
"type": {
|
|
1576
1627
|
"name": "string"
|
|
1577
1628
|
},
|
|
@@ -1582,6 +1633,7 @@
|
|
|
1582
1633
|
},
|
|
1583
1634
|
{
|
|
1584
1635
|
"name": "forLabel",
|
|
1636
|
+
"description": "Used to customize the aria-label for the root pagination element.\nFor page-level pagination (i.e, pagination that updates the entire page content and changes the URL)\nthis property should be omitted.\nFor intra-page navigation this property should describe the element being paginated, for example:\n`Pagination for sub-content`",
|
|
1585
1637
|
"type": {
|
|
1586
1638
|
"name": "string"
|
|
1587
1639
|
},
|
|
@@ -1607,137 +1659,193 @@
|
|
|
1607
1659
|
],
|
|
1608
1660
|
"events": [
|
|
1609
1661
|
{
|
|
1610
|
-
"name": "update:modelValue"
|
|
1662
|
+
"name": "update:modelValue",
|
|
1663
|
+
"description": "Event emitted by v-model on the select <input> element to indicate current page.\nOnly used on small devices",
|
|
1664
|
+
"properties": [
|
|
1665
|
+
{
|
|
1666
|
+
"type": {
|
|
1667
|
+
"names": [
|
|
1668
|
+
"mixed"
|
|
1669
|
+
]
|
|
1670
|
+
},
|
|
1671
|
+
"name": "modelValue"
|
|
1672
|
+
}
|
|
1673
|
+
],
|
|
1674
|
+
"tags": [
|
|
1675
|
+
{
|
|
1676
|
+
"title": "param",
|
|
1677
|
+
"type": {
|
|
1678
|
+
"name": "mixed"
|
|
1679
|
+
},
|
|
1680
|
+
"name": "modelValue"
|
|
1681
|
+
}
|
|
1682
|
+
]
|
|
1611
1683
|
},
|
|
1612
1684
|
{
|
|
1613
|
-
"name": "navigate"
|
|
1685
|
+
"name": "navigate",
|
|
1686
|
+
"description": "$emit event fired when page changes based on user interaction by clicking a link\nor selecting an option from the select on mobile.\n`event.preventDefault()` can be used to override the default link navigation behavior."
|
|
1614
1687
|
}
|
|
1615
1688
|
]
|
|
1616
1689
|
},
|
|
1617
|
-
"
|
|
1618
|
-
"displayName": "
|
|
1690
|
+
"CdrModal": {
|
|
1691
|
+
"displayName": "CdrModal",
|
|
1619
1692
|
"exportName": "default",
|
|
1620
1693
|
"description": "",
|
|
1621
1694
|
"tags": {},
|
|
1622
1695
|
"props": [
|
|
1623
1696
|
{
|
|
1624
|
-
"name": "
|
|
1697
|
+
"name": "opened",
|
|
1698
|
+
"description": "Toggles the state of the modal",
|
|
1625
1699
|
"tags": {
|
|
1626
|
-
"
|
|
1700
|
+
"demoIgnore": [
|
|
1627
1701
|
{
|
|
1628
|
-
"description": "
|
|
1629
|
-
"title": "
|
|
1702
|
+
"description": "true",
|
|
1703
|
+
"title": "demoIgnore"
|
|
1630
1704
|
}
|
|
1631
1705
|
]
|
|
1632
1706
|
},
|
|
1633
|
-
"
|
|
1634
|
-
"
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1707
|
+
"type": {
|
|
1708
|
+
"name": "boolean"
|
|
1709
|
+
},
|
|
1710
|
+
"required": true
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
"name": "label",
|
|
1714
|
+
"description": "Sets `aria-label` and modal title text. Can also use title slot to set title.",
|
|
1639
1715
|
"type": {
|
|
1640
1716
|
"name": "string"
|
|
1641
1717
|
},
|
|
1718
|
+
"required": true
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
"name": "showTitle",
|
|
1722
|
+
"description": "Toggles the modal title text, which comes from `label` prop or `title` slot.",
|
|
1723
|
+
"type": {
|
|
1724
|
+
"name": "boolean"
|
|
1725
|
+
},
|
|
1642
1726
|
"required": false,
|
|
1643
1727
|
"defaultValue": {
|
|
1644
1728
|
"func": false,
|
|
1645
|
-
"value":
|
|
1729
|
+
"value": true
|
|
1646
1730
|
}
|
|
1647
1731
|
},
|
|
1648
1732
|
{
|
|
1649
|
-
"name": "
|
|
1733
|
+
"name": "ariaDescribedby",
|
|
1734
|
+
"description": "Text for aria-describedby attribute. Applied to modal content element",
|
|
1650
1735
|
"type": {
|
|
1651
|
-
"name": "
|
|
1736
|
+
"name": "string"
|
|
1652
1737
|
},
|
|
1653
1738
|
"required": false,
|
|
1654
1739
|
"defaultValue": {
|
|
1655
1740
|
"func": false,
|
|
1656
|
-
"value":
|
|
1741
|
+
"value": "null"
|
|
1657
1742
|
}
|
|
1658
1743
|
},
|
|
1659
1744
|
{
|
|
1660
|
-
"name": "
|
|
1745
|
+
"name": "role",
|
|
1746
|
+
"description": "Sets the `role` attribute on the modal content element",
|
|
1747
|
+
"tags": {},
|
|
1748
|
+
"values": [
|
|
1749
|
+
"dialog",
|
|
1750
|
+
"alertDialog"
|
|
1751
|
+
],
|
|
1661
1752
|
"type": {
|
|
1662
1753
|
"name": "string"
|
|
1663
1754
|
},
|
|
1664
|
-
"required": false
|
|
1755
|
+
"required": false,
|
|
1756
|
+
"defaultValue": {
|
|
1757
|
+
"func": false,
|
|
1758
|
+
"value": "'dialog'"
|
|
1759
|
+
}
|
|
1665
1760
|
},
|
|
1666
1761
|
{
|
|
1667
1762
|
"name": "id",
|
|
1763
|
+
"description": "Sets unique `id` for modal",
|
|
1668
1764
|
"type": {
|
|
1669
1765
|
"name": "string"
|
|
1670
1766
|
},
|
|
1671
|
-
"required":
|
|
1767
|
+
"required": false,
|
|
1768
|
+
"defaultValue": {
|
|
1769
|
+
"func": false,
|
|
1770
|
+
"value": "null"
|
|
1771
|
+
}
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
"name": "overlayClass",
|
|
1775
|
+
"description": "Adds custom class to the `cdr-modal__overlay` div",
|
|
1776
|
+
"type": {
|
|
1777
|
+
"name": "string"
|
|
1778
|
+
}
|
|
1779
|
+
},
|
|
1780
|
+
{
|
|
1781
|
+
"name": "wrapperClass",
|
|
1782
|
+
"description": "Adds custom class to the `cdr-modal__outerWrap` div",
|
|
1783
|
+
"type": {
|
|
1784
|
+
"name": "string"
|
|
1785
|
+
}
|
|
1672
1786
|
},
|
|
1673
1787
|
{
|
|
1674
1788
|
"name": "contentClass",
|
|
1789
|
+
"description": "Adds custom class to the `cdr-modal__innerWrap` div",
|
|
1675
1790
|
"type": {
|
|
1676
1791
|
"name": "string"
|
|
1677
|
-
}
|
|
1678
|
-
"required": false
|
|
1792
|
+
}
|
|
1679
1793
|
},
|
|
1680
1794
|
{
|
|
1681
|
-
"name": "
|
|
1682
|
-
"
|
|
1683
|
-
"demoIgnore": [
|
|
1684
|
-
{
|
|
1685
|
-
"description": "true",
|
|
1686
|
-
"title": "demoIgnore"
|
|
1687
|
-
}
|
|
1688
|
-
]
|
|
1689
|
-
},
|
|
1795
|
+
"name": "animationDuration",
|
|
1796
|
+
"description": "Sets duration for modal's close animation",
|
|
1690
1797
|
"type": {
|
|
1691
|
-
"name": "
|
|
1798
|
+
"name": "number"
|
|
1692
1799
|
},
|
|
1693
|
-
"required": false,
|
|
1694
1800
|
"defaultValue": {
|
|
1695
1801
|
"func": false,
|
|
1696
|
-
"value":
|
|
1802
|
+
"value": "300"
|
|
1697
1803
|
}
|
|
1698
1804
|
}
|
|
1699
1805
|
],
|
|
1700
1806
|
"events": [
|
|
1701
1807
|
{
|
|
1702
|
-
"name": "
|
|
1703
|
-
|
|
1704
|
-
{
|
|
1705
|
-
"name": "closed"
|
|
1808
|
+
"name": "closed",
|
|
1809
|
+
"description": "Fires when modal is closed"
|
|
1706
1810
|
}
|
|
1707
1811
|
],
|
|
1708
1812
|
"slots": [
|
|
1709
1813
|
{
|
|
1710
|
-
"name": "
|
|
1814
|
+
"name": "modal",
|
|
1815
|
+
"description": "Use to override the entire CdrModal content container."
|
|
1711
1816
|
},
|
|
1712
1817
|
{
|
|
1713
|
-
"name": "title"
|
|
1818
|
+
"name": "title",
|
|
1819
|
+
"description": "Use to override the default title"
|
|
1714
1820
|
},
|
|
1715
1821
|
{
|
|
1716
1822
|
"name": "default"
|
|
1717
|
-
},
|
|
1718
|
-
{
|
|
1719
|
-
"name": "icon"
|
|
1720
1823
|
}
|
|
1721
1824
|
]
|
|
1722
1825
|
},
|
|
1723
|
-
"
|
|
1724
|
-
"displayName": "
|
|
1826
|
+
"CdrPopover": {
|
|
1827
|
+
"displayName": "CdrPopover",
|
|
1725
1828
|
"exportName": "default",
|
|
1726
1829
|
"description": "",
|
|
1727
1830
|
"tags": {},
|
|
1728
1831
|
"props": [
|
|
1729
|
-
{
|
|
1730
|
-
"name": "opened",
|
|
1731
|
-
"type": {
|
|
1732
|
-
"name": "boolean"
|
|
1733
|
-
},
|
|
1734
|
-
"defaultValue": {
|
|
1735
|
-
"func": false,
|
|
1736
|
-
"value": false
|
|
1737
|
-
}
|
|
1738
|
-
},
|
|
1739
1832
|
{
|
|
1740
1833
|
"name": "position",
|
|
1834
|
+
"description": "Sets the position where the popover will render relative to the trigger element.",
|
|
1835
|
+
"tags": {
|
|
1836
|
+
"demoSelectMultiple": [
|
|
1837
|
+
{
|
|
1838
|
+
"description": "false",
|
|
1839
|
+
"title": "demoSelectMultiple"
|
|
1840
|
+
}
|
|
1841
|
+
]
|
|
1842
|
+
},
|
|
1843
|
+
"values": [
|
|
1844
|
+
"top",
|
|
1845
|
+
"bottom",
|
|
1846
|
+
"left",
|
|
1847
|
+
"right"
|
|
1848
|
+
],
|
|
1741
1849
|
"type": {
|
|
1742
1850
|
"name": "string"
|
|
1743
1851
|
},
|
|
@@ -1749,29 +1857,85 @@
|
|
|
1749
1857
|
},
|
|
1750
1858
|
{
|
|
1751
1859
|
"name": "autoPosition",
|
|
1860
|
+
"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`.",
|
|
1752
1861
|
"type": {
|
|
1753
1862
|
"name": "boolean"
|
|
1754
1863
|
},
|
|
1864
|
+
"required": false,
|
|
1755
1865
|
"defaultValue": {
|
|
1756
1866
|
"func": false,
|
|
1757
1867
|
"value": true
|
|
1758
1868
|
}
|
|
1759
1869
|
},
|
|
1870
|
+
{
|
|
1871
|
+
"name": "label",
|
|
1872
|
+
"description": "Sets the title for the popover content. Can also be provided via the `title` slot.",
|
|
1873
|
+
"type": {
|
|
1874
|
+
"name": "string"
|
|
1875
|
+
},
|
|
1876
|
+
"required": false
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
"name": "id",
|
|
1880
|
+
"description": "ID for the popover element, required for accessibility",
|
|
1881
|
+
"type": {
|
|
1882
|
+
"name": "string"
|
|
1883
|
+
},
|
|
1884
|
+
"required": true
|
|
1885
|
+
},
|
|
1760
1886
|
{
|
|
1761
1887
|
"name": "contentClass",
|
|
1888
|
+
"description": "Add custom class to the popover content wrapper. Allows for overriding size, styling, etc.",
|
|
1762
1889
|
"type": {
|
|
1763
1890
|
"name": "string"
|
|
1891
|
+
},
|
|
1892
|
+
"required": false
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
"name": "open",
|
|
1896
|
+
"description": "Used to programmatically control the popover state. Does not need to be set if you are using the `trigger` slot.",
|
|
1897
|
+
"tags": {
|
|
1898
|
+
"demoIgnore": [
|
|
1899
|
+
{
|
|
1900
|
+
"description": "true",
|
|
1901
|
+
"title": "demoIgnore"
|
|
1902
|
+
}
|
|
1903
|
+
]
|
|
1904
|
+
},
|
|
1905
|
+
"type": {
|
|
1906
|
+
"name": "boolean"
|
|
1907
|
+
},
|
|
1908
|
+
"required": false,
|
|
1909
|
+
"defaultValue": {
|
|
1910
|
+
"func": false,
|
|
1911
|
+
"value": false
|
|
1764
1912
|
}
|
|
1765
1913
|
}
|
|
1766
1914
|
],
|
|
1767
1915
|
"events": [
|
|
1768
1916
|
{
|
|
1769
|
-
"name": "
|
|
1917
|
+
"name": "opened",
|
|
1918
|
+
"description": "Emits when popover is opened"
|
|
1919
|
+
},
|
|
1920
|
+
{
|
|
1921
|
+
"name": "closed",
|
|
1922
|
+
"description": "Emits when popover is closed"
|
|
1770
1923
|
}
|
|
1771
1924
|
],
|
|
1772
1925
|
"slots": [
|
|
1926
|
+
{
|
|
1927
|
+
"name": "trigger",
|
|
1928
|
+
"description": " Slot for the element that triggers the popover."
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"name": "title",
|
|
1932
|
+
"description": "Sets the title for the popover. Can also be set with `label` prop"
|
|
1933
|
+
},
|
|
1773
1934
|
{
|
|
1774
1935
|
"name": "default"
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
"name": "icon"
|
|
1775
1939
|
}
|
|
1776
1940
|
]
|
|
1777
1941
|
},
|
|
@@ -1783,6 +1947,14 @@
|
|
|
1783
1947
|
"props": [
|
|
1784
1948
|
{
|
|
1785
1949
|
"name": "tag",
|
|
1950
|
+
"description": "Sets the semantic HTML element for the quote.",
|
|
1951
|
+
"tags": {},
|
|
1952
|
+
"values": [
|
|
1953
|
+
"blockquote",
|
|
1954
|
+
"aside",
|
|
1955
|
+
"q",
|
|
1956
|
+
"div"
|
|
1957
|
+
],
|
|
1786
1958
|
"type": {
|
|
1787
1959
|
"name": "string"
|
|
1788
1960
|
},
|
|
@@ -1793,6 +1965,7 @@
|
|
|
1793
1965
|
},
|
|
1794
1966
|
{
|
|
1795
1967
|
"name": "modifier",
|
|
1968
|
+
"description": "Modifies the style variant for the quote",
|
|
1796
1969
|
"tags": {
|
|
1797
1970
|
"demoSelectMultiple": [
|
|
1798
1971
|
{
|
|
@@ -1814,14 +1987,14 @@
|
|
|
1814
1987
|
},
|
|
1815
1988
|
{
|
|
1816
1989
|
"name": "summary",
|
|
1817
|
-
"description": "
|
|
1990
|
+
"description": "Sets the quote body text.",
|
|
1818
1991
|
"type": {
|
|
1819
1992
|
"name": "string"
|
|
1820
1993
|
}
|
|
1821
1994
|
},
|
|
1822
1995
|
{
|
|
1823
1996
|
"name": "citation",
|
|
1824
|
-
"description": "
|
|
1997
|
+
"description": "Sets the quote attribution text.",
|
|
1825
1998
|
"type": {
|
|
1826
1999
|
"name": "string"
|
|
1827
2000
|
}
|
|
@@ -1841,28 +2014,28 @@
|
|
|
1841
2014
|
"props": [
|
|
1842
2015
|
{
|
|
1843
2016
|
"name": "labelClass",
|
|
1844
|
-
"description": "
|
|
2017
|
+
"description": "Adds CSS class to the label for custom styles.",
|
|
1845
2018
|
"type": {
|
|
1846
2019
|
"name": "string"
|
|
1847
2020
|
}
|
|
1848
2021
|
},
|
|
1849
2022
|
{
|
|
1850
2023
|
"name": "inputClass",
|
|
1851
|
-
"description": "
|
|
2024
|
+
"description": "Adds CSS class to the input for custom styles.",
|
|
1852
2025
|
"type": {
|
|
1853
2026
|
"name": "string"
|
|
1854
2027
|
}
|
|
1855
2028
|
},
|
|
1856
2029
|
{
|
|
1857
2030
|
"name": "contentClass",
|
|
1858
|
-
"description": "
|
|
2031
|
+
"description": "Adds CSS class to the slot wrapper for custom styles.",
|
|
1859
2032
|
"type": {
|
|
1860
2033
|
"name": "string"
|
|
1861
2034
|
}
|
|
1862
2035
|
},
|
|
1863
2036
|
{
|
|
1864
2037
|
"name": "name",
|
|
1865
|
-
"description": "Sets the name of the radio
|
|
2038
|
+
"description": "Sets the name of the radio button.",
|
|
1866
2039
|
"type": {
|
|
1867
2040
|
"name": "string"
|
|
1868
2041
|
},
|
|
@@ -1892,7 +2065,7 @@
|
|
|
1892
2065
|
},
|
|
1893
2066
|
{
|
|
1894
2067
|
"name": "size",
|
|
1895
|
-
"description": "Sets the radio size; values can target responsive breakpoints",
|
|
2068
|
+
"description": "Sets the radio size; values can target responsive breakpoints. Example `small@lg`",
|
|
1896
2069
|
"tags": {
|
|
1897
2070
|
"demoSelectMultiple": [
|
|
1898
2071
|
{
|
|
@@ -1912,13 +2085,19 @@
|
|
|
1912
2085
|
},
|
|
1913
2086
|
{
|
|
1914
2087
|
"name": "background",
|
|
2088
|
+
"description": "Sets the background color the radio button is rendered on",
|
|
2089
|
+
"tags": {},
|
|
2090
|
+
"values": [
|
|
2091
|
+
"primary",
|
|
2092
|
+
"secondary"
|
|
2093
|
+
],
|
|
1915
2094
|
"type": {
|
|
1916
2095
|
"name": "backgroundProps"
|
|
1917
2096
|
}
|
|
1918
2097
|
},
|
|
1919
2098
|
{
|
|
1920
2099
|
"name": "customValue",
|
|
1921
|
-
"description": "Sets the value of the radio.
|
|
2100
|
+
"description": "Sets the value of the radio.",
|
|
1922
2101
|
"type": {
|
|
1923
2102
|
"name": "string|number|boolean|object|array|symbol|func"
|
|
1924
2103
|
}
|
|
@@ -1940,7 +2119,27 @@
|
|
|
1940
2119
|
],
|
|
1941
2120
|
"events": [
|
|
1942
2121
|
{
|
|
1943
|
-
"name": "update:modelValue"
|
|
2122
|
+
"name": "update:modelValue",
|
|
2123
|
+
"description": "Event emitted by v-model on the radio's <input> element",
|
|
2124
|
+
"properties": [
|
|
2125
|
+
{
|
|
2126
|
+
"type": {
|
|
2127
|
+
"names": [
|
|
2128
|
+
"mixed"
|
|
2129
|
+
]
|
|
2130
|
+
},
|
|
2131
|
+
"name": "modelValue"
|
|
2132
|
+
}
|
|
2133
|
+
],
|
|
2134
|
+
"tags": [
|
|
2135
|
+
{
|
|
2136
|
+
"title": "param",
|
|
2137
|
+
"type": {
|
|
2138
|
+
"name": "mixed"
|
|
2139
|
+
},
|
|
2140
|
+
"name": "modelValue"
|
|
2141
|
+
}
|
|
2142
|
+
]
|
|
1944
2143
|
}
|
|
1945
2144
|
],
|
|
1946
2145
|
"slots": [
|
|
@@ -1956,70 +2155,185 @@
|
|
|
1956
2155
|
"tags": {},
|
|
1957
2156
|
"props": [
|
|
1958
2157
|
{
|
|
1959
|
-
"name": "rating",
|
|
1960
|
-
"description": "
|
|
2158
|
+
"name": "rating",
|
|
2159
|
+
"description": "Sets the rating values between 0 and 5.",
|
|
2160
|
+
"type": {
|
|
2161
|
+
"name": "string|number"
|
|
2162
|
+
},
|
|
2163
|
+
"required": true,
|
|
2164
|
+
"defaultValue": {
|
|
2165
|
+
"func": false,
|
|
2166
|
+
"value": "0"
|
|
2167
|
+
}
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"name": "count",
|
|
2171
|
+
"description": "Sets the total number of ratings",
|
|
2172
|
+
"type": {
|
|
2173
|
+
"name": "string|number"
|
|
2174
|
+
},
|
|
2175
|
+
"required": false,
|
|
2176
|
+
"defaultValue": {
|
|
2177
|
+
"func": false,
|
|
2178
|
+
"value": "null"
|
|
2179
|
+
}
|
|
2180
|
+
},
|
|
2181
|
+
{
|
|
2182
|
+
"name": "compact",
|
|
2183
|
+
"description": "Hides the word 'reviews' if true",
|
|
2184
|
+
"type": {
|
|
2185
|
+
"name": "boolean"
|
|
2186
|
+
},
|
|
2187
|
+
"defaultValue": {
|
|
2188
|
+
"func": false,
|
|
2189
|
+
"value": false
|
|
2190
|
+
}
|
|
2191
|
+
},
|
|
2192
|
+
{
|
|
2193
|
+
"name": "href",
|
|
2194
|
+
"description": "Sets the rating component (icons and text) to display inline and wraps them in an anchor tag so they can act as link.",
|
|
2195
|
+
"type": {
|
|
2196
|
+
"name": "string"
|
|
2197
|
+
}
|
|
2198
|
+
},
|
|
2199
|
+
{
|
|
2200
|
+
"name": "size",
|
|
2201
|
+
"description": "Sets the rating size.",
|
|
2202
|
+
"tags": {
|
|
2203
|
+
"demoSelectMultiple": [
|
|
2204
|
+
{
|
|
2205
|
+
"description": "false",
|
|
2206
|
+
"title": "demoSelectMultiple"
|
|
2207
|
+
}
|
|
2208
|
+
]
|
|
2209
|
+
},
|
|
2210
|
+
"values": [
|
|
2211
|
+
"small",
|
|
2212
|
+
"medium",
|
|
2213
|
+
"large"
|
|
2214
|
+
],
|
|
2215
|
+
"type": {
|
|
2216
|
+
"name": "string"
|
|
2217
|
+
},
|
|
2218
|
+
"defaultValue": {
|
|
2219
|
+
"func": false,
|
|
2220
|
+
"value": "'medium'"
|
|
2221
|
+
}
|
|
2222
|
+
}
|
|
2223
|
+
]
|
|
2224
|
+
},
|
|
2225
|
+
"CdrSkeleton": {
|
|
2226
|
+
"displayName": "CdrSkeleton",
|
|
2227
|
+
"exportName": "default",
|
|
2228
|
+
"description": "",
|
|
2229
|
+
"tags": {},
|
|
2230
|
+
"props": [
|
|
2231
|
+
{
|
|
2232
|
+
"name": "motion",
|
|
2233
|
+
"description": "Toggle animation on/off.\nWhen `true`, animated gradient will be used while loading.\nWhen `false` a static background color will be used.\nAutomatically disabled if `prefers-reduced-motion` is set by user.",
|
|
2234
|
+
"type": {
|
|
2235
|
+
"name": "boolean"
|
|
2236
|
+
},
|
|
2237
|
+
"defaultValue": {
|
|
2238
|
+
"func": false,
|
|
2239
|
+
"value": true
|
|
2240
|
+
}
|
|
2241
|
+
}
|
|
2242
|
+
],
|
|
2243
|
+
"slots": [
|
|
2244
|
+
{
|
|
2245
|
+
"name": "default",
|
|
2246
|
+
"description": "CdrSkeleton content (CdrSkeletonBone components)"
|
|
2247
|
+
}
|
|
2248
|
+
]
|
|
2249
|
+
},
|
|
2250
|
+
"CdrSkeletonBone": {
|
|
2251
|
+
"displayName": "CdrSkeletonBone",
|
|
2252
|
+
"exportName": "default",
|
|
2253
|
+
"description": "",
|
|
2254
|
+
"tags": {},
|
|
2255
|
+
"props": [
|
|
2256
|
+
{
|
|
2257
|
+
"name": "type",
|
|
2258
|
+
"description": "Sets the type of content placeholder",
|
|
2259
|
+
"tags": {
|
|
2260
|
+
"demoSelectMultiple": [
|
|
2261
|
+
{
|
|
2262
|
+
"description": "false",
|
|
2263
|
+
"title": "demoSelectMultiple"
|
|
2264
|
+
}
|
|
2265
|
+
]
|
|
2266
|
+
},
|
|
2267
|
+
"values": [
|
|
2268
|
+
"default",
|
|
2269
|
+
"heading",
|
|
2270
|
+
"line",
|
|
2271
|
+
"rectangle",
|
|
2272
|
+
"square"
|
|
2273
|
+
],
|
|
2274
|
+
"type": {
|
|
2275
|
+
"name": "string"
|
|
2276
|
+
},
|
|
2277
|
+
"required": false,
|
|
2278
|
+
"defaultValue": {
|
|
2279
|
+
"func": false,
|
|
2280
|
+
"value": "'default'"
|
|
2281
|
+
}
|
|
2282
|
+
}
|
|
2283
|
+
]
|
|
2284
|
+
},
|
|
2285
|
+
"CdrPopup": {
|
|
2286
|
+
"displayName": "CdrPopup",
|
|
2287
|
+
"exportName": "default",
|
|
2288
|
+
"description": "",
|
|
2289
|
+
"tags": {},
|
|
2290
|
+
"props": [
|
|
2291
|
+
{
|
|
2292
|
+
"name": "opened",
|
|
1961
2293
|
"type": {
|
|
1962
|
-
"name": "
|
|
2294
|
+
"name": "boolean"
|
|
1963
2295
|
},
|
|
1964
|
-
"required": true,
|
|
1965
2296
|
"defaultValue": {
|
|
1966
2297
|
"func": false,
|
|
1967
|
-
"value":
|
|
2298
|
+
"value": false
|
|
1968
2299
|
}
|
|
1969
2300
|
},
|
|
1970
2301
|
{
|
|
1971
|
-
"name": "
|
|
1972
|
-
"description": "Total number of ratings",
|
|
2302
|
+
"name": "position",
|
|
1973
2303
|
"type": {
|
|
1974
|
-
"name": "string
|
|
2304
|
+
"name": "string"
|
|
1975
2305
|
},
|
|
1976
2306
|
"required": false,
|
|
1977
2307
|
"defaultValue": {
|
|
1978
2308
|
"func": false,
|
|
1979
|
-
"value": "
|
|
2309
|
+
"value": "'top'"
|
|
1980
2310
|
}
|
|
1981
2311
|
},
|
|
1982
2312
|
{
|
|
1983
|
-
"name": "
|
|
1984
|
-
"description": "Hides the word 'reviews' if true",
|
|
2313
|
+
"name": "autoPosition",
|
|
1985
2314
|
"type": {
|
|
1986
2315
|
"name": "boolean"
|
|
1987
2316
|
},
|
|
1988
2317
|
"defaultValue": {
|
|
1989
2318
|
"func": false,
|
|
1990
|
-
"value":
|
|
2319
|
+
"value": true
|
|
1991
2320
|
}
|
|
1992
2321
|
},
|
|
1993
2322
|
{
|
|
1994
|
-
"name": "
|
|
1995
|
-
"description": "Allows the ratings to act as a link",
|
|
2323
|
+
"name": "contentClass",
|
|
1996
2324
|
"type": {
|
|
1997
2325
|
"name": "string"
|
|
1998
2326
|
}
|
|
1999
|
-
}
|
|
2327
|
+
}
|
|
2328
|
+
],
|
|
2329
|
+
"events": [
|
|
2000
2330
|
{
|
|
2001
|
-
"name": "
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
"title": "demoSelectMultiple"
|
|
2008
|
-
}
|
|
2009
|
-
]
|
|
2010
|
-
},
|
|
2011
|
-
"values": [
|
|
2012
|
-
"small",
|
|
2013
|
-
"medium",
|
|
2014
|
-
"large"
|
|
2015
|
-
],
|
|
2016
|
-
"type": {
|
|
2017
|
-
"name": "string"
|
|
2018
|
-
},
|
|
2019
|
-
"defaultValue": {
|
|
2020
|
-
"func": false,
|
|
2021
|
-
"value": "'medium'"
|
|
2022
|
-
}
|
|
2331
|
+
"name": "closed"
|
|
2332
|
+
}
|
|
2333
|
+
],
|
|
2334
|
+
"slots": [
|
|
2335
|
+
{
|
|
2336
|
+
"name": "default"
|
|
2023
2337
|
}
|
|
2024
2338
|
]
|
|
2025
2339
|
},
|
|
@@ -2031,14 +2345,14 @@
|
|
|
2031
2345
|
"props": [
|
|
2032
2346
|
{
|
|
2033
2347
|
"name": "id",
|
|
2034
|
-
"description": "
|
|
2348
|
+
"description": "Custom ID that is mapped to the label ‘for’ attribute. If this value is not set, it will be auto-generated.",
|
|
2035
2349
|
"type": {
|
|
2036
2350
|
"name": "string"
|
|
2037
2351
|
}
|
|
2038
2352
|
},
|
|
2039
2353
|
{
|
|
2040
2354
|
"name": "label",
|
|
2041
|
-
"description": "
|
|
2355
|
+
"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.",
|
|
2042
2356
|
"type": {
|
|
2043
2357
|
"name": "string"
|
|
2044
2358
|
},
|
|
@@ -2046,7 +2360,7 @@
|
|
|
2046
2360
|
},
|
|
2047
2361
|
{
|
|
2048
2362
|
"name": "hideLabel",
|
|
2049
|
-
"description": "
|
|
2363
|
+
"description": "Visually hides the label element, but leaves it available to screen readers for accessibility compliance.",
|
|
2050
2364
|
"type": {
|
|
2051
2365
|
"name": "boolean"
|
|
2052
2366
|
},
|
|
@@ -2064,25 +2378,46 @@
|
|
|
2064
2378
|
},
|
|
2065
2379
|
{
|
|
2066
2380
|
"name": "options",
|
|
2067
|
-
"description": "Build options
|
|
2381
|
+
"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).",
|
|
2068
2382
|
"type": {
|
|
2069
2383
|
"name": "array"
|
|
2070
2384
|
}
|
|
2071
2385
|
},
|
|
2072
2386
|
{
|
|
2073
2387
|
"name": "background",
|
|
2388
|
+
"description": "Sets the background color the radio button is rendered on",
|
|
2389
|
+
"tags": {},
|
|
2390
|
+
"values": [
|
|
2391
|
+
"primary",
|
|
2392
|
+
"secondary"
|
|
2393
|
+
],
|
|
2074
2394
|
"type": {
|
|
2075
2395
|
"name": "backgroundProps"
|
|
2076
2396
|
}
|
|
2077
2397
|
},
|
|
2078
2398
|
{
|
|
2079
2399
|
"name": "size",
|
|
2400
|
+
"description": "Sets the component's size; values can target responsive breakpoints. Example `small@lg`",
|
|
2401
|
+
"tags": {
|
|
2402
|
+
"demoSelectMultiple": [
|
|
2403
|
+
{
|
|
2404
|
+
"description": "false",
|
|
2405
|
+
"title": "demoSelectMultiple"
|
|
2406
|
+
}
|
|
2407
|
+
]
|
|
2408
|
+
},
|
|
2409
|
+
"values": [
|
|
2410
|
+
"small",
|
|
2411
|
+
"medium",
|
|
2412
|
+
"large"
|
|
2413
|
+
],
|
|
2080
2414
|
"type": {
|
|
2081
2415
|
"name": "sizeProps"
|
|
2082
2416
|
}
|
|
2083
2417
|
},
|
|
2084
2418
|
{
|
|
2085
2419
|
"name": "error",
|
|
2420
|
+
"description": "Sets the select to an error state, displays the `error` slot if one is present.",
|
|
2086
2421
|
"type": {
|
|
2087
2422
|
"name": "boolean|string"
|
|
2088
2423
|
},
|
|
@@ -2093,44 +2428,60 @@
|
|
|
2093
2428
|
},
|
|
2094
2429
|
{
|
|
2095
2430
|
"name": "errorRole",
|
|
2096
|
-
"description": "
|
|
2431
|
+
"description": "Sets the `role` attribute for the embedded error state messaging.",
|
|
2097
2432
|
"type": {
|
|
2098
2433
|
"name": "string"
|
|
2099
2434
|
},
|
|
2100
|
-
"
|
|
2435
|
+
"defaultValue": {
|
|
2436
|
+
"func": false,
|
|
2437
|
+
"value": "'status'"
|
|
2438
|
+
}
|
|
2101
2439
|
},
|
|
2102
2440
|
{
|
|
2103
2441
|
"name": "modelValue",
|
|
2442
|
+
"tags": {
|
|
2443
|
+
"ignore": [
|
|
2444
|
+
{
|
|
2445
|
+
"description": true,
|
|
2446
|
+
"title": "ignore"
|
|
2447
|
+
}
|
|
2448
|
+
]
|
|
2449
|
+
},
|
|
2104
2450
|
"type": {
|
|
2105
2451
|
"name": "string|number|boolean|object|array|symbol|func"
|
|
2106
2452
|
}
|
|
2107
2453
|
},
|
|
2108
2454
|
{
|
|
2109
2455
|
"name": "disabled",
|
|
2456
|
+
"description": "Disables the input and sets appropriate styling",
|
|
2110
2457
|
"type": {
|
|
2111
2458
|
"name": "boolean"
|
|
2112
2459
|
}
|
|
2113
2460
|
},
|
|
2114
2461
|
{
|
|
2115
2462
|
"name": "required",
|
|
2463
|
+
"description": "Sets aria-required on the input field and displays an asterisk next to the select label",
|
|
2116
2464
|
"type": {
|
|
2117
2465
|
"name": "boolean"
|
|
2118
2466
|
}
|
|
2119
2467
|
},
|
|
2120
2468
|
{
|
|
2121
2469
|
"name": "optional",
|
|
2470
|
+
"description": "Displays '(optional)' text next to the select label.",
|
|
2122
2471
|
"type": {
|
|
2123
2472
|
"name": "boolean"
|
|
2124
2473
|
}
|
|
2125
2474
|
},
|
|
2126
2475
|
{
|
|
2127
2476
|
"name": "multiple",
|
|
2477
|
+
"description": "Turns CdrSelect into a multi-select element.",
|
|
2128
2478
|
"type": {
|
|
2129
2479
|
"name": "boolean"
|
|
2130
2480
|
}
|
|
2131
2481
|
},
|
|
2132
2482
|
{
|
|
2133
2483
|
"name": "multipleSize",
|
|
2484
|
+
"description": "Sets the height of the CdrSelect when using the multiple option.\nThis number corresponds to the number of select options that will be visible without scrolling.",
|
|
2134
2485
|
"type": {
|
|
2135
2486
|
"name": "number"
|
|
2136
2487
|
}
|
|
@@ -2138,84 +2489,53 @@
|
|
|
2138
2489
|
],
|
|
2139
2490
|
"events": [
|
|
2140
2491
|
{
|
|
2141
|
-
"name": "update:modelValue"
|
|
2492
|
+
"name": "update:modelValue",
|
|
2493
|
+
"description": "Event emitted by v-model on the radio's <input> element",
|
|
2494
|
+
"properties": [
|
|
2495
|
+
{
|
|
2496
|
+
"type": {
|
|
2497
|
+
"names": [
|
|
2498
|
+
"mixed"
|
|
2499
|
+
]
|
|
2500
|
+
},
|
|
2501
|
+
"name": "modelValue"
|
|
2502
|
+
}
|
|
2503
|
+
],
|
|
2504
|
+
"tags": [
|
|
2505
|
+
{
|
|
2506
|
+
"title": "param",
|
|
2507
|
+
"type": {
|
|
2508
|
+
"name": "mixed"
|
|
2509
|
+
},
|
|
2510
|
+
"name": "modelValue"
|
|
2511
|
+
}
|
|
2512
|
+
]
|
|
2142
2513
|
}
|
|
2143
2514
|
],
|
|
2144
2515
|
"slots": [
|
|
2145
2516
|
{
|
|
2146
|
-
"name": "helper-text"
|
|
2517
|
+
"name": "helper-text",
|
|
2518
|
+
"description": "Helper text above the select field"
|
|
2147
2519
|
},
|
|
2148
2520
|
{
|
|
2149
|
-
"name": "info"
|
|
2521
|
+
"name": "info",
|
|
2522
|
+
"description": "Link or icon to the right above the select field."
|
|
2150
2523
|
},
|
|
2151
2524
|
{
|
|
2152
|
-
"name": "pre-icon"
|
|
2525
|
+
"name": "pre-icon",
|
|
2526
|
+
"description": "Icon preceding text within the select field"
|
|
2153
2527
|
},
|
|
2154
2528
|
{
|
|
2155
|
-
"name": "default"
|
|
2529
|
+
"name": "default",
|
|
2530
|
+
"description": "CdrSelect content (<option> tags). Leave empty if using the `options` prop."
|
|
2156
2531
|
},
|
|
2157
2532
|
{
|
|
2158
|
-
"name": "info-action"
|
|
2533
|
+
"name": "info-action",
|
|
2534
|
+
"description": "Action-wrapped icon to the right of the select field"
|
|
2159
2535
|
},
|
|
2160
2536
|
{
|
|
2161
|
-
"name": "error"
|
|
2162
|
-
|
|
2163
|
-
]
|
|
2164
|
-
},
|
|
2165
|
-
"CdrSkeleton": {
|
|
2166
|
-
"displayName": "CdrSkeleton",
|
|
2167
|
-
"exportName": "default",
|
|
2168
|
-
"description": "",
|
|
2169
|
-
"tags": {},
|
|
2170
|
-
"props": [
|
|
2171
|
-
{
|
|
2172
|
-
"name": "motion",
|
|
2173
|
-
"type": {
|
|
2174
|
-
"name": "boolean"
|
|
2175
|
-
},
|
|
2176
|
-
"defaultValue": {
|
|
2177
|
-
"func": false,
|
|
2178
|
-
"value": true
|
|
2179
|
-
}
|
|
2180
|
-
}
|
|
2181
|
-
],
|
|
2182
|
-
"slots": [
|
|
2183
|
-
{
|
|
2184
|
-
"name": "default"
|
|
2185
|
-
}
|
|
2186
|
-
]
|
|
2187
|
-
},
|
|
2188
|
-
"CdrSkeletonBone": {
|
|
2189
|
-
"displayName": "CdrSkeletonBone",
|
|
2190
|
-
"exportName": "default",
|
|
2191
|
-
"description": "",
|
|
2192
|
-
"tags": {},
|
|
2193
|
-
"props": [
|
|
2194
|
-
{
|
|
2195
|
-
"name": "type",
|
|
2196
|
-
"tags": {
|
|
2197
|
-
"demoSelectMultiple": [
|
|
2198
|
-
{
|
|
2199
|
-
"description": "false",
|
|
2200
|
-
"title": "demoSelectMultiple"
|
|
2201
|
-
}
|
|
2202
|
-
]
|
|
2203
|
-
},
|
|
2204
|
-
"values": [
|
|
2205
|
-
"default",
|
|
2206
|
-
"heading",
|
|
2207
|
-
"line",
|
|
2208
|
-
"rectangle",
|
|
2209
|
-
"square"
|
|
2210
|
-
],
|
|
2211
|
-
"type": {
|
|
2212
|
-
"name": "string"
|
|
2213
|
-
},
|
|
2214
|
-
"required": false,
|
|
2215
|
-
"defaultValue": {
|
|
2216
|
-
"func": false,
|
|
2217
|
-
"value": "'default'"
|
|
2218
|
-
}
|
|
2537
|
+
"name": "error",
|
|
2538
|
+
"description": "Error messaging text that is displayed when the `error` prop is true."
|
|
2219
2539
|
}
|
|
2220
2540
|
]
|
|
2221
2541
|
},
|
|
@@ -2227,12 +2547,14 @@
|
|
|
2227
2547
|
"props": [
|
|
2228
2548
|
{
|
|
2229
2549
|
"name": "id",
|
|
2550
|
+
"description": "Sets a custom ID for the switch. If this value is not set, it will be auto-generated.",
|
|
2230
2551
|
"type": {
|
|
2231
2552
|
"name": "string"
|
|
2232
2553
|
}
|
|
2233
2554
|
},
|
|
2234
2555
|
{
|
|
2235
2556
|
"name": "size",
|
|
2557
|
+
"description": "Sets the size of the switch",
|
|
2236
2558
|
"tags": {
|
|
2237
2559
|
"demoSelectMultiple": [
|
|
2238
2560
|
{
|
|
@@ -2255,6 +2577,7 @@
|
|
|
2255
2577
|
},
|
|
2256
2578
|
{
|
|
2257
2579
|
"name": "fullWidth",
|
|
2580
|
+
"description": "Sets the label and switch to expand to the full width of its container with `space-between`",
|
|
2258
2581
|
"type": {
|
|
2259
2582
|
"name": "boolean"
|
|
2260
2583
|
},
|
|
@@ -2281,12 +2604,33 @@
|
|
|
2281
2604
|
],
|
|
2282
2605
|
"events": [
|
|
2283
2606
|
{
|
|
2284
|
-
"name": "update:modelValue"
|
|
2607
|
+
"name": "update:modelValue",
|
|
2608
|
+
"description": "Event emitted by v-model on switch",
|
|
2609
|
+
"properties": [
|
|
2610
|
+
{
|
|
2611
|
+
"type": {
|
|
2612
|
+
"names": [
|
|
2613
|
+
"mixed"
|
|
2614
|
+
]
|
|
2615
|
+
},
|
|
2616
|
+
"name": "modelValue"
|
|
2617
|
+
}
|
|
2618
|
+
],
|
|
2619
|
+
"tags": [
|
|
2620
|
+
{
|
|
2621
|
+
"title": "param",
|
|
2622
|
+
"type": {
|
|
2623
|
+
"name": "mixed"
|
|
2624
|
+
},
|
|
2625
|
+
"name": "modelValue"
|
|
2626
|
+
}
|
|
2627
|
+
]
|
|
2285
2628
|
}
|
|
2286
2629
|
],
|
|
2287
2630
|
"slots": [
|
|
2288
2631
|
{
|
|
2289
|
-
"name": "default"
|
|
2632
|
+
"name": "default",
|
|
2633
|
+
"description": "The label for the switch"
|
|
2290
2634
|
}
|
|
2291
2635
|
]
|
|
2292
2636
|
},
|
|
@@ -2298,6 +2642,7 @@
|
|
|
2298
2642
|
"props": [
|
|
2299
2643
|
{
|
|
2300
2644
|
"name": "striped",
|
|
2645
|
+
"description": "Sets row colors to alternate between darker and lighter backgrounds.\nStriping will not apply when `border` is true",
|
|
2301
2646
|
"type": {
|
|
2302
2647
|
"name": "boolean"
|
|
2303
2648
|
},
|
|
@@ -2308,6 +2653,7 @@
|
|
|
2308
2653
|
},
|
|
2309
2654
|
{
|
|
2310
2655
|
"name": "border",
|
|
2656
|
+
"description": "Adds borders between rows. Will disable `striped` if both are true",
|
|
2311
2657
|
"type": {
|
|
2312
2658
|
"name": "boolean"
|
|
2313
2659
|
},
|
|
@@ -2318,6 +2664,7 @@
|
|
|
2318
2664
|
},
|
|
2319
2665
|
{
|
|
2320
2666
|
"name": "fullWidth",
|
|
2667
|
+
"description": "Sets the width to 100%. Also accepts space separated strings for breakpoints that it should be full width: { '@xs' | '@sm' | '@md' | '@lg' }",
|
|
2321
2668
|
"type": {
|
|
2322
2669
|
"name": "boolean|string"
|
|
2323
2670
|
},
|
|
@@ -2328,6 +2675,7 @@
|
|
|
2328
2675
|
},
|
|
2329
2676
|
{
|
|
2330
2677
|
"name": "responsive",
|
|
2678
|
+
"description": "Makes the table scroll horizontally when it would overflow its container",
|
|
2331
2679
|
"type": {
|
|
2332
2680
|
"name": "boolean"
|
|
2333
2681
|
},
|
|
@@ -2338,6 +2686,7 @@
|
|
|
2338
2686
|
},
|
|
2339
2687
|
{
|
|
2340
2688
|
"name": "hover",
|
|
2689
|
+
"description": "Adds a darker background on row hover",
|
|
2341
2690
|
"type": {
|
|
2342
2691
|
"name": "boolean"
|
|
2343
2692
|
},
|
|
@@ -2348,7 +2697,7 @@
|
|
|
2348
2697
|
},
|
|
2349
2698
|
{
|
|
2350
2699
|
"name": "size",
|
|
2351
|
-
"description": "Sets the
|
|
2700
|
+
"description": "Sets the table size (cell padding); values can target responsive breakpoints. Example `small@lg`.",
|
|
2352
2701
|
"tags": {
|
|
2353
2702
|
"demoSelectMultiple": [
|
|
2354
2703
|
{
|
|
@@ -2373,7 +2722,8 @@
|
|
|
2373
2722
|
],
|
|
2374
2723
|
"slots": [
|
|
2375
2724
|
{
|
|
2376
|
-
"name": "default"
|
|
2725
|
+
"name": "default",
|
|
2726
|
+
"description": "CdrTable content (Valid table elements <th>, <tbody>, <tr>, <td>, etc.)"
|
|
2377
2727
|
}
|
|
2378
2728
|
]
|
|
2379
2729
|
},
|
|
@@ -2383,8 +2733,23 @@
|
|
|
2383
2733
|
"description": "",
|
|
2384
2734
|
"tags": {},
|
|
2385
2735
|
"props": [
|
|
2736
|
+
{
|
|
2737
|
+
"name": "id",
|
|
2738
|
+
"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.",
|
|
2739
|
+
"type": {
|
|
2740
|
+
"name": "string"
|
|
2741
|
+
}
|
|
2742
|
+
},
|
|
2386
2743
|
{
|
|
2387
2744
|
"name": "name",
|
|
2745
|
+
"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.",
|
|
2746
|
+
"type": {
|
|
2747
|
+
"name": "string"
|
|
2748
|
+
}
|
|
2749
|
+
},
|
|
2750
|
+
{
|
|
2751
|
+
"name": "ariaLabelledby",
|
|
2752
|
+
"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.",
|
|
2388
2753
|
"type": {
|
|
2389
2754
|
"name": "string"
|
|
2390
2755
|
}
|
|
@@ -2392,12 +2757,45 @@
|
|
|
2392
2757
|
],
|
|
2393
2758
|
"events": [
|
|
2394
2759
|
{
|
|
2395
|
-
"name": "tab-change"
|
|
2760
|
+
"name": "tab-change",
|
|
2761
|
+
"description": "Emits when active tab is changed",
|
|
2762
|
+
"tags": [
|
|
2763
|
+
{
|
|
2764
|
+
"title": "params",
|
|
2765
|
+
"content": "state, panelId"
|
|
2766
|
+
}
|
|
2767
|
+
]
|
|
2396
2768
|
}
|
|
2397
2769
|
],
|
|
2398
2770
|
"slots": [
|
|
2399
2771
|
{
|
|
2400
|
-
"name": "default"
|
|
2772
|
+
"name": "default",
|
|
2773
|
+
"description": "CdrTabPanel content"
|
|
2774
|
+
}
|
|
2775
|
+
]
|
|
2776
|
+
},
|
|
2777
|
+
"CdrText": {
|
|
2778
|
+
"displayName": "CdrText",
|
|
2779
|
+
"exportName": "default",
|
|
2780
|
+
"description": "",
|
|
2781
|
+
"tags": {},
|
|
2782
|
+
"props": [
|
|
2783
|
+
{
|
|
2784
|
+
"name": "tag",
|
|
2785
|
+
"description": "Sets the HTML tag (p, span, h1, h2, etc)",
|
|
2786
|
+
"type": {
|
|
2787
|
+
"name": "string"
|
|
2788
|
+
},
|
|
2789
|
+
"defaultValue": {
|
|
2790
|
+
"func": false,
|
|
2791
|
+
"value": "'p'"
|
|
2792
|
+
}
|
|
2793
|
+
}
|
|
2794
|
+
],
|
|
2795
|
+
"slots": [
|
|
2796
|
+
{
|
|
2797
|
+
"name": "default",
|
|
2798
|
+
"description": "CdrText content"
|
|
2401
2799
|
}
|
|
2402
2800
|
]
|
|
2403
2801
|
},
|
|
@@ -2409,6 +2807,7 @@
|
|
|
2409
2807
|
"props": [
|
|
2410
2808
|
{
|
|
2411
2809
|
"name": "height",
|
|
2810
|
+
"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.",
|
|
2412
2811
|
"type": {
|
|
2413
2812
|
"name": "string"
|
|
2414
2813
|
},
|
|
@@ -2419,6 +2818,7 @@
|
|
|
2419
2818
|
},
|
|
2420
2819
|
{
|
|
2421
2820
|
"name": "activeTab",
|
|
2821
|
+
"description": "Sets the index of the tab that should be active on initial page load. Note that this property is zero-indexed.",
|
|
2422
2822
|
"type": {
|
|
2423
2823
|
"name": "number"
|
|
2424
2824
|
},
|
|
@@ -2429,12 +2829,21 @@
|
|
|
2429
2829
|
},
|
|
2430
2830
|
{
|
|
2431
2831
|
"name": "modifier",
|
|
2832
|
+
"description": "Modifies the style variants for this component",
|
|
2833
|
+
"tags": {},
|
|
2834
|
+
"values": [
|
|
2835
|
+
"centered",
|
|
2836
|
+
"compact",
|
|
2837
|
+
"full-width",
|
|
2838
|
+
"no-border"
|
|
2839
|
+
],
|
|
2432
2840
|
"type": {
|
|
2433
2841
|
"name": "string"
|
|
2434
2842
|
}
|
|
2435
2843
|
},
|
|
2436
2844
|
{
|
|
2437
2845
|
"name": "size",
|
|
2846
|
+
"description": "Use `small` to reduce spacing around the tabs for a denser visual design",
|
|
2438
2847
|
"tags": {
|
|
2439
2848
|
"demoSelectMultiple": [
|
|
2440
2849
|
{
|
|
@@ -2452,6 +2861,7 @@
|
|
|
2452
2861
|
},
|
|
2453
2862
|
{
|
|
2454
2863
|
"name": "backgroundColor",
|
|
2864
|
+
"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.",
|
|
2455
2865
|
"type": {
|
|
2456
2866
|
"name": "string"
|
|
2457
2867
|
},
|
|
@@ -2463,30 +2873,8 @@
|
|
|
2463
2873
|
],
|
|
2464
2874
|
"slots": [
|
|
2465
2875
|
{
|
|
2466
|
-
"name": "default"
|
|
2467
|
-
|
|
2468
|
-
]
|
|
2469
|
-
},
|
|
2470
|
-
"CdrText": {
|
|
2471
|
-
"displayName": "CdrText",
|
|
2472
|
-
"exportName": "default",
|
|
2473
|
-
"description": "",
|
|
2474
|
-
"tags": {},
|
|
2475
|
-
"props": [
|
|
2476
|
-
{
|
|
2477
|
-
"name": "tag",
|
|
2478
|
-
"type": {
|
|
2479
|
-
"name": "string"
|
|
2480
|
-
},
|
|
2481
|
-
"defaultValue": {
|
|
2482
|
-
"func": false,
|
|
2483
|
-
"value": "'p'"
|
|
2484
|
-
}
|
|
2485
|
-
}
|
|
2486
|
-
],
|
|
2487
|
-
"slots": [
|
|
2488
|
-
{
|
|
2489
|
-
"name": "default"
|
|
2876
|
+
"name": "default",
|
|
2877
|
+
"description": "CdrTabs content (CdrTabPanel components)"
|
|
2490
2878
|
}
|
|
2491
2879
|
]
|
|
2492
2880
|
},
|
|
@@ -2498,7 +2886,7 @@
|
|
|
2498
2886
|
"props": [
|
|
2499
2887
|
{
|
|
2500
2888
|
"name": "type",
|
|
2501
|
-
"description": "Sets the toast
|
|
2889
|
+
"description": "Sets the toast type.",
|
|
2502
2890
|
"tags": {
|
|
2503
2891
|
"demoSelectMultiple": [
|
|
2504
2892
|
{
|
|
@@ -2524,6 +2912,7 @@
|
|
|
2524
2912
|
},
|
|
2525
2913
|
{
|
|
2526
2914
|
"name": "open",
|
|
2915
|
+
"description": "Used to programmatically control the toast open/close state.",
|
|
2527
2916
|
"tags": {
|
|
2528
2917
|
"demoIgnore": [
|
|
2529
2918
|
{
|
|
@@ -2542,6 +2931,7 @@
|
|
|
2542
2931
|
},
|
|
2543
2932
|
{
|
|
2544
2933
|
"name": "autoDismiss",
|
|
2934
|
+
"description": "Set to `false` to disable automatic closing after the `dismissDelay`.",
|
|
2545
2935
|
"type": {
|
|
2546
2936
|
"name": "boolean"
|
|
2547
2937
|
},
|
|
@@ -2552,6 +2942,7 @@
|
|
|
2552
2942
|
},
|
|
2553
2943
|
{
|
|
2554
2944
|
"name": "dismissDelay",
|
|
2945
|
+
"description": "Sets the interval (in milliseconds) before the toast automatically closes.",
|
|
2555
2946
|
"type": {
|
|
2556
2947
|
"name": "number"
|
|
2557
2948
|
},
|
|
@@ -2563,18 +2954,22 @@
|
|
|
2563
2954
|
],
|
|
2564
2955
|
"events": [
|
|
2565
2956
|
{
|
|
2566
|
-
"name": "open"
|
|
2957
|
+
"name": "open",
|
|
2958
|
+
"description": "Emits when toast opens"
|
|
2567
2959
|
},
|
|
2568
2960
|
{
|
|
2569
|
-
"name": "closed"
|
|
2961
|
+
"name": "closed",
|
|
2962
|
+
"description": "Emits when toast closes"
|
|
2570
2963
|
}
|
|
2571
2964
|
],
|
|
2572
2965
|
"slots": [
|
|
2573
2966
|
{
|
|
2574
|
-
"name": "icon-left"
|
|
2967
|
+
"name": "icon-left",
|
|
2968
|
+
"description": "Icon matching toast messaging type"
|
|
2575
2969
|
},
|
|
2576
2970
|
{
|
|
2577
|
-
"name": "default"
|
|
2971
|
+
"name": "default",
|
|
2972
|
+
"description": "CdrToast content"
|
|
2578
2973
|
},
|
|
2579
2974
|
{
|
|
2580
2975
|
"name": "icon"
|
|
@@ -2589,6 +2984,7 @@
|
|
|
2589
2984
|
"props": [
|
|
2590
2985
|
{
|
|
2591
2986
|
"name": "toggleValue",
|
|
2987
|
+
"description": "Sets the value and aria-label for the toggle button. Display can be overridden using default slot",
|
|
2592
2988
|
"type": {
|
|
2593
2989
|
"name": "string"
|
|
2594
2990
|
},
|
|
@@ -2597,7 +2993,8 @@
|
|
|
2597
2993
|
],
|
|
2598
2994
|
"slots": [
|
|
2599
2995
|
{
|
|
2600
|
-
"name": "default"
|
|
2996
|
+
"name": "default",
|
|
2997
|
+
"description": "CdrToggleButton label content"
|
|
2601
2998
|
}
|
|
2602
2999
|
]
|
|
2603
3000
|
},
|
|
@@ -2609,6 +3006,14 @@
|
|
|
2609
3006
|
"props": [
|
|
2610
3007
|
{
|
|
2611
3008
|
"name": "modelValue",
|
|
3009
|
+
"tags": {
|
|
3010
|
+
"ignore": [
|
|
3011
|
+
{
|
|
3012
|
+
"description": true,
|
|
3013
|
+
"title": "ignore"
|
|
3014
|
+
}
|
|
3015
|
+
]
|
|
3016
|
+
},
|
|
2612
3017
|
"type": {
|
|
2613
3018
|
"name": "string|number|boolean|object|array"
|
|
2614
3019
|
},
|
|
@@ -2616,6 +3021,7 @@
|
|
|
2616
3021
|
},
|
|
2617
3022
|
{
|
|
2618
3023
|
"name": "size",
|
|
3024
|
+
"description": "Sets toggle button size",
|
|
2619
3025
|
"tags": {
|
|
2620
3026
|
"demoSelectMultiple": [
|
|
2621
3027
|
{
|
|
@@ -2639,12 +3045,33 @@
|
|
|
2639
3045
|
],
|
|
2640
3046
|
"events": [
|
|
2641
3047
|
{
|
|
2642
|
-
"name": "update:modelValue"
|
|
3048
|
+
"name": "update:modelValue",
|
|
3049
|
+
"description": "Event emitted by v-model",
|
|
3050
|
+
"properties": [
|
|
3051
|
+
{
|
|
3052
|
+
"type": {
|
|
3053
|
+
"names": [
|
|
3054
|
+
"mixed"
|
|
3055
|
+
]
|
|
3056
|
+
},
|
|
3057
|
+
"name": "modelValue"
|
|
3058
|
+
}
|
|
3059
|
+
],
|
|
3060
|
+
"tags": [
|
|
3061
|
+
{
|
|
3062
|
+
"title": "param",
|
|
3063
|
+
"type": {
|
|
3064
|
+
"name": "mixed"
|
|
3065
|
+
},
|
|
3066
|
+
"name": "modelValue"
|
|
3067
|
+
}
|
|
3068
|
+
]
|
|
2643
3069
|
}
|
|
2644
3070
|
],
|
|
2645
3071
|
"slots": [
|
|
2646
3072
|
{
|
|
2647
|
-
"name": "default"
|
|
3073
|
+
"name": "default",
|
|
3074
|
+
"description": "CdrToggleGroup content (CdrToggleButton components)"
|
|
2648
3075
|
}
|
|
2649
3076
|
]
|
|
2650
3077
|
},
|
|
@@ -2656,6 +3083,7 @@
|
|
|
2656
3083
|
"props": [
|
|
2657
3084
|
{
|
|
2658
3085
|
"name": "position",
|
|
3086
|
+
"description": "Sets the position where the tooltip will render relative to the trigger element.",
|
|
2659
3087
|
"tags": {
|
|
2660
3088
|
"demoSelectMultiple": [
|
|
2661
3089
|
{
|
|
@@ -2681,6 +3109,7 @@
|
|
|
2681
3109
|
},
|
|
2682
3110
|
{
|
|
2683
3111
|
"name": "autoPosition",
|
|
3112
|
+
"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`.",
|
|
2684
3113
|
"type": {
|
|
2685
3114
|
"name": "boolean"
|
|
2686
3115
|
},
|
|
@@ -2691,6 +3120,7 @@
|
|
|
2691
3120
|
},
|
|
2692
3121
|
{
|
|
2693
3122
|
"name": "id",
|
|
3123
|
+
"description": "ID for the tooltip element, required for accessibility",
|
|
2694
3124
|
"type": {
|
|
2695
3125
|
"name": "string"
|
|
2696
3126
|
},
|
|
@@ -2698,6 +3128,7 @@
|
|
|
2698
3128
|
},
|
|
2699
3129
|
{
|
|
2700
3130
|
"name": "contentClass",
|
|
3131
|
+
"description": "Add custom class to the tooltip content wrapper. Allows for overriding size, styling, etc.",
|
|
2701
3132
|
"type": {
|
|
2702
3133
|
"name": "string"
|
|
2703
3134
|
},
|
|
@@ -2705,6 +3136,15 @@
|
|
|
2705
3136
|
},
|
|
2706
3137
|
{
|
|
2707
3138
|
"name": "open",
|
|
3139
|
+
"description": "Used to programmatically control the tooltip state. Does not need to be set if you are using the `trigger` slot.",
|
|
3140
|
+
"tags": {
|
|
3141
|
+
"demoIgnore": [
|
|
3142
|
+
{
|
|
3143
|
+
"description": "true",
|
|
3144
|
+
"title": "demoIgnore"
|
|
3145
|
+
}
|
|
3146
|
+
]
|
|
3147
|
+
},
|
|
2708
3148
|
"type": {
|
|
2709
3149
|
"name": "boolean"
|
|
2710
3150
|
},
|
|
@@ -2716,18 +3156,22 @@
|
|
|
2716
3156
|
],
|
|
2717
3157
|
"events": [
|
|
2718
3158
|
{
|
|
2719
|
-
"name": "opened"
|
|
3159
|
+
"name": "opened",
|
|
3160
|
+
"description": "Emits when tooltip is opened"
|
|
2720
3161
|
},
|
|
2721
3162
|
{
|
|
2722
|
-
"name": "closed"
|
|
3163
|
+
"name": "closed",
|
|
3164
|
+
"description": "Emits when tooltip is closed"
|
|
2723
3165
|
}
|
|
2724
3166
|
],
|
|
2725
3167
|
"slots": [
|
|
2726
3168
|
{
|
|
2727
|
-
"name": "trigger"
|
|
3169
|
+
"name": "trigger",
|
|
3170
|
+
"description": " Slot for the element that triggers the tooltip."
|
|
2728
3171
|
},
|
|
2729
3172
|
{
|
|
2730
|
-
"name": "default"
|
|
3173
|
+
"name": "default",
|
|
3174
|
+
"description": "CdrTooltip content"
|
|
2731
3175
|
}
|
|
2732
3176
|
]
|
|
2733
3177
|
}
|