1 | export const manifest = {
|
2 | name: 'popover',
|
3 | slots: [
|
4 | {
|
5 | description: 'Slot for tooltip trigger',
|
6 | name: 'default'
|
7 | },
|
8 | {
|
9 | description: 'Slot for tooltip header content',
|
10 | name: 'header'
|
11 | },
|
12 | {
|
13 | description: 'Slot for tooltip body content',
|
14 | name: 'body'
|
15 | },
|
16 | {
|
17 | description: 'Slot for tooltip footer content',
|
18 | name: 'footer'
|
19 | }
|
20 | ],
|
21 | events: [
|
22 | {
|
23 | description: 'Event emitted for setting the modelValue',
|
24 | name: 'update:modelValue'
|
25 | }
|
26 | ],
|
27 | props: [
|
28 | {
|
29 | name: 'color',
|
30 | type: [
|
31 | 'light',
|
32 | 'dark'
|
33 | ],
|
34 | default: 'light',
|
35 | description: 'The color variant of the popover'
|
36 | },
|
37 | {
|
38 | name: 'disabled',
|
39 | type: [
|
40 | 'Boolean'
|
41 | ],
|
42 | default: 'false',
|
43 | description: 'The disabled state of the popover'
|
44 | },
|
45 | {
|
46 | name: 'modelValue',
|
47 | type: [
|
48 | 'Boolean'
|
49 | ],
|
50 | default: 'false',
|
51 | description: 'Used to manually control the visibility of the popover'
|
52 | },
|
53 | {
|
54 | name: 'name',
|
55 | type: [
|
56 | 'String'
|
57 | ],
|
58 | default: 'uid()',
|
59 | description: 'The identifier of the popover'
|
60 | },
|
61 | {
|
62 | name: 'arrow',
|
63 | type: [
|
64 | 'Boolean'
|
65 | ],
|
66 | default: 'true',
|
67 | description: 'Displays an arrow on the popover pointing to the trigger element'
|
68 | },
|
69 | {
|
70 | name: 'placement',
|
71 | type: [
|
72 | 'top',
|
73 | 'top-start',
|
74 | 'top-end',
|
75 | 'bottom',
|
76 | 'bottom-start',
|
77 | 'bottom-end',
|
78 | 'left',
|
79 | 'left-start',
|
80 | 'left-end',
|
81 | 'right',
|
82 | 'right-start',
|
83 | 'right-end'
|
84 | ],
|
85 | default: 'false',
|
86 | description: 'The placement of the popover'
|
87 | },
|
88 | {
|
89 | name: 'trigger',
|
90 | type: [
|
91 | 'hover',
|
92 | 'focus',
|
93 | 'click',
|
94 | 'manual'
|
95 | ],
|
96 | default: 'click',
|
97 | description: 'The events used to trigger the popover'
|
98 | },
|
99 | {
|
100 | name: 'offset',
|
101 | type: [
|
102 | 'Number'
|
103 | ],
|
104 | default: '6',
|
105 | description: 'The offset of the popover relative to the trigger element'
|
106 | },
|
107 | {
|
108 | name: 'popperOptions',
|
109 | type: [
|
110 | 'Object'
|
111 | ],
|
112 | default: '',
|
113 | description: 'Used to override the popper.js options used for creating the popover'
|
114 | },
|
115 | {
|
116 | name: 'size',
|
117 | type: [
|
118 | 'sm',
|
119 | 'md',
|
120 | 'lg'
|
121 | ],
|
122 | default: 'md',
|
123 | description: 'The size variant of the popover'
|
124 | }
|
125 | ],
|
126 | css: {
|
127 | selector: '.popover-wrapper',
|
128 | defaults: {
|
129 | size: 'md',
|
130 | color: 'light'
|
131 | },
|
132 | variables: [
|
133 | {
|
134 | name: 'background',
|
135 | type: 'color',
|
136 | value: 'color(\'white\')',
|
137 | description: 'The background of the popover component'
|
138 | },
|
139 | {
|
140 | name: 'border-top-color',
|
141 | type: 'color',
|
142 | value: 'color(\'light\')',
|
143 | description: 'The border top color of the popover component'
|
144 | },
|
145 | {
|
146 | name: 'border-right-color',
|
147 | type: 'color',
|
148 | value: 'color(\'light\')',
|
149 | description: 'The border right color of the popover component'
|
150 | },
|
151 | {
|
152 | name: 'border-bottom-color',
|
153 | type: 'color',
|
154 | value: 'color(\'light\')',
|
155 | description: 'The border bottom color of the popover component'
|
156 | },
|
157 | {
|
158 | name: 'border-left-color',
|
159 | type: 'color',
|
160 | value: 'color(\'light\')',
|
161 | description: 'The border left color of the popover component'
|
162 | },
|
163 | {
|
164 | name: 'border-color',
|
165 | type: '',
|
166 | value: 'var(----border-top-color) var(----border-right-color) var(----border-bottom-color) var(----border-left-color)',
|
167 | description: 'The border color of the popover component'
|
168 | },
|
169 | {
|
170 | name: 'border-style',
|
171 | type: '',
|
172 | value: 'var(--border-style)',
|
173 | description: 'The border style of the popover component'
|
174 | },
|
175 | {
|
176 | name: 'border-top-width',
|
177 | type: '',
|
178 | value: 'var(--border-top-width)',
|
179 | description: 'The border top width of the popover component'
|
180 | },
|
181 | {
|
182 | name: 'border-right-width',
|
183 | type: '',
|
184 | value: 'var(--border-right-width)',
|
185 | description: 'The border right width of the popover component'
|
186 | },
|
187 | {
|
188 | name: 'border-bottom-width',
|
189 | type: '',
|
190 | value: 'var(--border-bottom-width)',
|
191 | description: 'The border bottom width of the popover component'
|
192 | },
|
193 | {
|
194 | name: 'border-left-width',
|
195 | type: '',
|
196 | value: 'var(--border-left-width)',
|
197 | description: 'The border left width of the popover component'
|
198 | },
|
199 | {
|
200 | name: 'border-width',
|
201 | type: '',
|
202 | value: 'var(----border-top-width) var(----border-right-width) var(----border-bottom-width) var(----border-left-width)',
|
203 | description: 'The border width of the popover component'
|
204 | },
|
205 | {
|
206 | name: 'border-top-left-radius',
|
207 | type: 'size',
|
208 | value: 'var(--border-top-left-radius)',
|
209 | description: 'The border top left radius of the popover component'
|
210 | },
|
211 | {
|
212 | name: 'border-top-right-radius',
|
213 | type: 'size',
|
214 | value: 'var(--border-top-right-radius)',
|
215 | description: 'The border top right radius of the popover component'
|
216 | },
|
217 | {
|
218 | name: 'border-bottom-right-radius',
|
219 | type: 'size',
|
220 | value: 'var(--border-bottom-right-radius)',
|
221 | description: 'The border bottom right radius of the popover component'
|
222 | },
|
223 | {
|
224 | name: 'border-bottom-left-radius',
|
225 | type: 'size',
|
226 | value: 'var(--border-bottom-left-radius)',
|
227 | description: 'The border bottom left radius of the popover component'
|
228 | },
|
229 | {
|
230 | name: 'border-radius',
|
231 | type: '',
|
232 | value: 'var(----border-top-left-radius) var(----border-top-right-radius) var(----border-bottom-right-radius) var(----border-bottom-left-radius)',
|
233 | description: 'The border radius of the popover component'
|
234 | },
|
235 | {
|
236 | name: 'box-shadow-offset-x',
|
237 | type: '',
|
238 | value: 'var(--box-shadow-offset-x)',
|
239 | description: 'The box shadow horizontal offset of the popover component'
|
240 | },
|
241 | {
|
242 | name: 'box-shadow-offset-y',
|
243 | type: '',
|
244 | value: 'var(--box-shadow-offset-y)',
|
245 | description: 'The box shadow vertical offset of the popover component'
|
246 | },
|
247 | {
|
248 | name: 'box-shadow-blur-radius',
|
249 | type: '',
|
250 | value: 'var(--box-shadow-blur-radius)',
|
251 | description: 'The box shadow blur radius of the popover component'
|
252 | },
|
253 | {
|
254 | name: 'box-shadow-spread-radius',
|
255 | type: '',
|
256 | value: 'var(--box-shadow-spread-radius)',
|
257 | description: 'The box shadow spread radius of the popover component'
|
258 | },
|
259 | {
|
260 | name: 'box-shadow-color',
|
261 | type: '',
|
262 | value: 'var(--box-shadow-color)',
|
263 | description: 'The box shadow spread radius of the popover component'
|
264 | },
|
265 | {
|
266 | name: 'box-shadow',
|
267 | type: '',
|
268 | value: 'var(----box-shadow-offset-x) var(----box-shadow-offset-y) var(----box-shadow-blur-radius) var(----box-shadow-spread-radius) var(----box-shadow-color)',
|
269 | description: 'The box shadow of the popover component'
|
270 | },
|
271 | {
|
272 | name: 'color',
|
273 | type: 'color',
|
274 | value: 'contrast-color($color-white)',
|
275 | description: 'The color of the popover component item'
|
276 | },
|
277 | {
|
278 | name: 'font-size',
|
279 | type: 'size',
|
280 | value: 'font-size()',
|
281 | description: 'The font size of the popover component'
|
282 | },
|
283 | {
|
284 | name: 'font-weight',
|
285 | type: '',
|
286 | value: 'font-weight(\'normal\')',
|
287 | description: 'The font weight of the popover component'
|
288 | },
|
289 | {
|
290 | name: 'line-height',
|
291 | type: '',
|
292 | value: 'var(--line-height)',
|
293 | description: 'The line height of the popover component'
|
294 | },
|
295 | {
|
296 | name: 'margin-top',
|
297 | type: 'size',
|
298 | value: 'calc(var(--margin-top) / 2)',
|
299 | description: 'The margin top of the popover component'
|
300 | },
|
301 | {
|
302 | name: 'margin-right',
|
303 | type: 'size',
|
304 | value: 'calc(var(--margin-right) / 2)',
|
305 | description: 'The margin right of the popover component'
|
306 | },
|
307 | {
|
308 | name: 'margin-bottom',
|
309 | type: 'size',
|
310 | value: 'calc(var(--margin-bottom) / 2)',
|
311 | description: 'The margin bottom of the popover component'
|
312 | },
|
313 | {
|
314 | name: 'margin-left',
|
315 | type: 'size',
|
316 | value: 'calc(var(--margin-left) / 2)',
|
317 | description: 'The margin left of the popover component'
|
318 | },
|
319 | {
|
320 | name: 'margin',
|
321 | type: '',
|
322 | value: 'var(----margin-top) var(----margin-right) var(----margin-bottom) var(----margin-left)',
|
323 | description: 'The margin of the popover component'
|
324 | },
|
325 | {
|
326 | name: 'padding-top',
|
327 | type: 'size',
|
328 | value: 'calc(var(--padding-top) * 3 / 4)',
|
329 | description: 'The padding top of the popover component'
|
330 | },
|
331 | {
|
332 | name: 'padding-right',
|
333 | type: 'size',
|
334 | value: 'var(--padding-right)',
|
335 | description: 'The padding right of the popover component'
|
336 | },
|
337 | {
|
338 | name: 'padding-bottom',
|
339 | type: 'size',
|
340 | value: 'calc(var(--padding-bottom) * 3 / 4)',
|
341 | description: 'The padding bottom of the popover component'
|
342 | },
|
343 | {
|
344 | name: 'padding-left',
|
345 | type: 'size',
|
346 | value: 'var(--padding-left)',
|
347 | description: 'The padding left of the popover component'
|
348 | },
|
349 | {
|
350 | name: 'padding',
|
351 | type: '',
|
352 | value: 'var(----padding-top) var(----padding-right) var(----padding-bottom) var(----padding-left)',
|
353 | description: 'The padding of the popover component'
|
354 | },
|
355 | {
|
356 | name: 'max-width',
|
357 | type: '',
|
358 | value: '90vw',
|
359 | description: 'The maximum width of the popover component'
|
360 | },
|
361 | {
|
362 | name: 'width',
|
363 | type: '',
|
364 | value: '280px',
|
365 | description: 'The width of the popover component'
|
366 | },
|
367 | {
|
368 | name: 'z-index',
|
369 | type: '',
|
370 | value: '2000',
|
371 | description: 'The z-index of the popover component'
|
372 | },
|
373 | {
|
374 | name: 'header--background',
|
375 | type: 'color',
|
376 | value: 'color(\'gray-05\')',
|
377 | description: 'The background of the popover component header'
|
378 | },
|
379 | {
|
380 | name: 'header--border-color',
|
381 | type: '',
|
382 | value: 'var(----border-color)',
|
383 | description: 'The border color of the popover component header'
|
384 | },
|
385 | {
|
386 | name: 'header--border-style',
|
387 | type: '',
|
388 | value: 'var(----border-style)',
|
389 | description: 'The border style of the popover component header'
|
390 | },
|
391 | {
|
392 | name: 'header--border-top-width',
|
393 | type: '',
|
394 | value: 'var(----border-top-width)',
|
395 | description: 'The border top width of the popover component header'
|
396 | },
|
397 | {
|
398 | name: 'header--border-right-width',
|
399 | type: '',
|
400 | value: 'var(----border-right-width)',
|
401 | description: 'The border right width of the popover component header'
|
402 | },
|
403 | {
|
404 | name: 'header--border-bottom-width',
|
405 | type: '',
|
406 | value: 'var(----border-bottom-width)',
|
407 | description: 'The border bottom width of the popover component header'
|
408 | },
|
409 | {
|
410 | name: 'header--border-left-width',
|
411 | type: '',
|
412 | value: 'var(----border-left-width)',
|
413 | description: 'The border left width of the popover component header'
|
414 | },
|
415 | {
|
416 | name: 'header--border-width',
|
417 | type: '',
|
418 | value: 'var(----header--border-top-width) var(----header--border-right-width) var(----header--border-bottom-width) var(----header--border-left-width)',
|
419 | description: 'The border width of the popover component header'
|
420 | },
|
421 | {
|
422 | name: 'header--color',
|
423 | type: '',
|
424 | value: 'var(----color)',
|
425 | description: 'The color of the popover component header'
|
426 | },
|
427 | {
|
428 | name: 'header--padding-top',
|
429 | type: '',
|
430 | value: 'var(----padding-top)',
|
431 | description: 'The padding top of the popover component header'
|
432 | },
|
433 | {
|
434 | name: 'header--padding-right',
|
435 | type: '',
|
436 | value: 'var(----padding-right)',
|
437 | description: 'The padding right of the popover component header'
|
438 | },
|
439 | {
|
440 | name: 'header--padding-bottom',
|
441 | type: 'size',
|
442 | value: 'var(----padding-bottom)',
|
443 | description: 'The padding bottom of the popover component header'
|
444 | },
|
445 | {
|
446 | name: 'header--padding-left',
|
447 | type: 'size',
|
448 | value: 'var(----padding-left)',
|
449 | description: 'The padding left of the popover component header'
|
450 | },
|
451 | {
|
452 | name: 'header--padding',
|
453 | type: '',
|
454 | value: 'var(----header--padding-top) var(----header--padding-right) var(----header--padding-bottom) var(----header--padding-left)',
|
455 | description: 'The padding of the popover component header'
|
456 | },
|
457 | {
|
458 | name: 'body--background',
|
459 | type: '',
|
460 | value: 'var(----background)',
|
461 | description: 'The background of the popover component body'
|
462 | },
|
463 | {
|
464 | name: 'body--border-color',
|
465 | type: '',
|
466 | value: 'var(----border-color)',
|
467 | description: 'The border color of the popover component body'
|
468 | },
|
469 | {
|
470 | name: 'body--border-style',
|
471 | type: '',
|
472 | value: 'var(----border-style)',
|
473 | description: 'The border style of the popover component body'
|
474 | },
|
475 | {
|
476 | name: 'body--border-top-width',
|
477 | type: '',
|
478 | value: 'var(----border-top-width)',
|
479 | description: 'The border top width of the popover component body'
|
480 | },
|
481 | {
|
482 | name: 'body--border-right-width',
|
483 | type: '',
|
484 | value: 'var(----border-right-width)',
|
485 | description: 'The border right width of the popover component body'
|
486 | },
|
487 | {
|
488 | name: 'body--border-bottom-width',
|
489 | type: '',
|
490 | value: 'var(----border-bottom-width)',
|
491 | description: 'The border bottom width of the popover component body'
|
492 | },
|
493 | {
|
494 | name: 'body--border-left-width',
|
495 | type: '',
|
496 | value: 'var(----border-left-width)',
|
497 | description: 'The border left width of the popover component body'
|
498 | },
|
499 | {
|
500 | name: 'body--border-width',
|
501 | type: '',
|
502 | value: 'var(----body--border-top-width) var(----body--border-right-width) var(----body--border-bottom-width) var(----body--border-left-width)',
|
503 | description: 'The border width of the popover component body'
|
504 | },
|
505 | {
|
506 | name: 'body--color',
|
507 | type: '',
|
508 | value: 'var(----color)',
|
509 | description: 'The color of the popover component body'
|
510 | },
|
511 | {
|
512 | name: 'body--padding-top',
|
513 | type: '',
|
514 | value: 'var(----padding-top)',
|
515 | description: 'The padding top of the popover component body'
|
516 | },
|
517 | {
|
518 | name: 'body--padding-right',
|
519 | type: '',
|
520 | value: 'var(----padding-right)',
|
521 | description: 'The padding right of the popover component body'
|
522 | },
|
523 | {
|
524 | name: 'body--padding-bottom',
|
525 | type: 'size',
|
526 | value: 'var(----padding-bottom)',
|
527 | description: 'The padding bottom of the popover component body'
|
528 | },
|
529 | {
|
530 | name: 'body--padding-left',
|
531 | type: 'size',
|
532 | value: 'var(----padding-left)',
|
533 | description: 'The padding left of the popover component body'
|
534 | },
|
535 | {
|
536 | name: 'body--padding',
|
537 | type: '',
|
538 | value: 'var(----body--padding-top) var(----body--padding-right) var(----body--padding-bottom) var(----body--padding-left)',
|
539 | description: 'The padding of the popover component body'
|
540 | },
|
541 | {
|
542 | name: 'footer--background',
|
543 | type: 'color',
|
544 | value: 'color(\'gray-05\')',
|
545 | description: 'The background of the popover component footer'
|
546 | },
|
547 | {
|
548 | name: 'footer--border-color',
|
549 | type: '',
|
550 | value: 'var(----border-color)',
|
551 | description: 'The border color of the popover component footer'
|
552 | },
|
553 | {
|
554 | name: 'footer--border-style',
|
555 | type: '',
|
556 | value: 'var(----border-style)',
|
557 | description: 'The border style of the popover component footer'
|
558 | },
|
559 | {
|
560 | name: 'footer--border-top-width',
|
561 | type: '',
|
562 | value: 'var(----border-top-width)',
|
563 | description: 'The border top width of the popover component footer'
|
564 | },
|
565 | {
|
566 | name: 'footer--border-right-width',
|
567 | type: '',
|
568 | value: 'var(----border-right-width)',
|
569 | description: 'The border right width of the popover component footer'
|
570 | },
|
571 | {
|
572 | name: 'footer--border-bottom-width',
|
573 | type: '',
|
574 | value: 'var(----border-bottom-width)',
|
575 | description: 'The border bottom width of the popover component footer'
|
576 | },
|
577 | {
|
578 | name: 'footer--border-left-width',
|
579 | type: '',
|
580 | value: 'var(----border-left-width)',
|
581 | description: 'The border left width of the popover component footer'
|
582 | },
|
583 | {
|
584 | name: 'footer--border-width',
|
585 | type: '',
|
586 | value: 'var(----footer--border-top-width) var(----footer--border-right-width) var(----footer--border-bottom-width) var(----footer--border-left-width)',
|
587 | description: 'The border width of the popover component footer'
|
588 | },
|
589 | {
|
590 | name: 'footer--color',
|
591 | type: '',
|
592 | value: 'var(----color)',
|
593 | description: 'The color of the popover component footer'
|
594 | },
|
595 | {
|
596 | name: 'footer--padding-top',
|
597 | type: '',
|
598 | value: 'var(----padding-top)',
|
599 | description: 'The padding top of the popover component footer'
|
600 | },
|
601 | {
|
602 | name: 'footer--padding-right',
|
603 | type: '',
|
604 | value: 'var(----padding-right)',
|
605 | description: 'The padding right of the popover component footer'
|
606 | },
|
607 | {
|
608 | name: 'footer--padding-bottom',
|
609 | type: 'size',
|
610 | value: 'var(----padding-bottom)',
|
611 | description: 'The padding bottom of the popover component footer'
|
612 | },
|
613 | {
|
614 | name: 'footer--padding-left',
|
615 | type: 'size',
|
616 | value: 'var(----padding-left)',
|
617 | description: 'The padding left of the popover component footer'
|
618 | },
|
619 | {
|
620 | name: 'footer--padding',
|
621 | type: '',
|
622 | value: 'var(----footer--padding-top) var(----footer--padding-right) var(----footer--padding-bottom) var(----footer--padding-left)',
|
623 | description: 'The padding of the popover component footer'
|
624 | }
|
625 | ],
|
626 | variants: [
|
627 | {
|
628 | name: 'light',
|
629 | type: 'variant',
|
630 | description: 'Variables for the light color variant',
|
631 | variables: [
|
632 | {
|
633 | name: 'background',
|
634 | type: '',
|
635 | value: 'color(\'white\')',
|
636 | description: 'The background of the popover component, for the light color variant'
|
637 | },
|
638 | {
|
639 | name: 'border-top-color',
|
640 | type: '',
|
641 | value: 'color(\'light\')',
|
642 | description: 'The border top color of the popover component, for the light color variant'
|
643 | },
|
644 | {
|
645 | name: 'border-right-color',
|
646 | type: '',
|
647 | value: 'color(\'light\')',
|
648 | description: 'The border right color of the popover component, for the light color variant'
|
649 | },
|
650 | {
|
651 | name: 'border-bottom-color',
|
652 | type: '',
|
653 | value: 'color(\'light\')',
|
654 | description: 'The border bottom color of the popover component, for the light color variant'
|
655 | },
|
656 | {
|
657 | name: 'border-left-color',
|
658 | type: '',
|
659 | value: 'color(\'light\')',
|
660 | description: 'The border left color of the popover component, for the light color variant'
|
661 | },
|
662 | {
|
663 | name: 'color',
|
664 | type: '',
|
665 | value: 'contrast-color($color-white)',
|
666 | description: 'The color of the popover component item, for the light color variant'
|
667 | },
|
668 | {
|
669 | name: 'header--background',
|
670 | type: '',
|
671 | value: 'color(\'gray-05\')',
|
672 | description: 'The background of the popover component header, for the light color variant'
|
673 | },
|
674 | {
|
675 | name: 'footer--background',
|
676 | type: '',
|
677 | value: 'color(\'gray-05\')',
|
678 | description: 'The background of the popover component footer, for the light color variant'
|
679 | }
|
680 | ]
|
681 | },
|
682 | {
|
683 | name: 'dark',
|
684 | type: 'variant',
|
685 | description: 'Variables for the dark color variant',
|
686 | variables: [
|
687 | {
|
688 | name: 'background',
|
689 | type: '',
|
690 | value: 'color(\'dark\')',
|
691 | description: 'The background of the popover component, for the dark color variant'
|
692 | },
|
693 | {
|
694 | name: 'border-top-color',
|
695 | type: '',
|
696 | value: 'color(\'dark-60\')',
|
697 | description: 'The border top color of the popover component, for the dark color variant'
|
698 | },
|
699 | {
|
700 | name: 'border-right-color',
|
701 | type: '',
|
702 | value: 'color(\'dark-60\')',
|
703 | description: 'The border right color of the popover component, for the dark color variant'
|
704 | },
|
705 | {
|
706 | name: 'border-bottom-color',
|
707 | type: '',
|
708 | value: 'color(\'dark-60\')',
|
709 | description: 'The border bottom color of the popover component, for the dark color variant'
|
710 | },
|
711 | {
|
712 | name: 'border-left-color',
|
713 | type: '',
|
714 | value: 'color(\'dark-60\')',
|
715 | description: 'The border left color of the popover component, for the dark color variant'
|
716 | },
|
717 | {
|
718 | name: 'color',
|
719 | type: '',
|
720 | value: 'contrast-color($color-dark)',
|
721 | description: 'The color of the popover component item, for the dark color variant'
|
722 | },
|
723 | {
|
724 | name: 'header--background',
|
725 | type: '',
|
726 | value: 'color(\'dark-55\')',
|
727 | description: 'The background of the popover component header, for the dark color variant'
|
728 | },
|
729 | {
|
730 | name: 'footer--background',
|
731 | type: '',
|
732 | value: 'color(\'dark-55\')',
|
733 | description: 'The background of the popover component footer, for the dark color variant'
|
734 | }
|
735 | ]
|
736 | },
|
737 | {
|
738 | name: 'sm',
|
739 | type: 'variant',
|
740 | description: 'Variables for the sm size variant',
|
741 | variables: [
|
742 | {
|
743 | name: 'border-top-left-radius',
|
744 | type: '',
|
745 | value: 'calc(#{var(--border-top-left-radius)} * #{size-multiplier(\'sm\')})',
|
746 | description: 'The border top left radius of the popover component, for the sm size variant'
|
747 | },
|
748 | {
|
749 | name: 'border-top-right-radius',
|
750 | type: '',
|
751 | value: 'calc(#{var(--border-top-right-radius)} * #{size-multiplier(\'sm\')})',
|
752 | description: 'The border top right radius of the popover component, for the sm size variant'
|
753 | },
|
754 | {
|
755 | name: 'border-bottom-right-radius',
|
756 | type: '',
|
757 | value: 'calc(#{var(--border-bottom-right-radius)} * #{size-multiplier(\'sm\')})',
|
758 | description: 'The border bottom right radius of the popover component, for the sm size variant'
|
759 | },
|
760 | {
|
761 | name: 'border-bottom-left-radius',
|
762 | type: '',
|
763 | value: 'calc(#{var(--border-bottom-left-radius)} * #{size-multiplier(\'sm\')})',
|
764 | description: 'The border bottom left radius of the popover component, for the sm size variant'
|
765 | },
|
766 | {
|
767 | name: 'font-size',
|
768 | type: '',
|
769 | value: 'calc(#{font-size()} * #{size-multiplier(\'sm\')})',
|
770 | description: 'The font size of the popover component, for the sm size variant'
|
771 | },
|
772 | {
|
773 | name: 'margin-top',
|
774 | type: '',
|
775 | value: 'calc(#{calc(var(--margin-top) / 2)} * #{size-multiplier(\'sm\')})',
|
776 | description: 'The margin top of the popover component, for the sm size variant'
|
777 | },
|
778 | {
|
779 | name: 'margin-right',
|
780 | type: '',
|
781 | value: 'calc(#{calc(var(--margin-right) / 2)} * #{size-multiplier(\'sm\')})',
|
782 | description: 'The margin right of the popover component, for the sm size variant'
|
783 | },
|
784 | {
|
785 | name: 'margin-bottom',
|
786 | type: '',
|
787 | value: 'calc(#{calc(var(--margin-bottom) / 2)} * #{size-multiplier(\'sm\')})',
|
788 | description: 'The margin bottom of the popover component, for the sm size variant'
|
789 | },
|
790 | {
|
791 | name: 'margin-left',
|
792 | type: '',
|
793 | value: 'calc(#{calc(var(--margin-left) / 2)} * #{size-multiplier(\'sm\')})',
|
794 | description: 'The margin left of the popover component, for the sm size variant'
|
795 | },
|
796 | {
|
797 | name: 'padding-top',
|
798 | type: '',
|
799 | value: 'calc(#{calc(var(--padding-top) * 3 / 4)} * #{size-multiplier(\'sm\')})',
|
800 | description: 'The padding top of the popover component, for the sm size variant'
|
801 | },
|
802 | {
|
803 | name: 'padding-right',
|
804 | type: '',
|
805 | value: 'calc(#{var(--padding-right)} * #{size-multiplier(\'sm\')})',
|
806 | description: 'The padding right of the popover component, for the sm size variant'
|
807 | },
|
808 | {
|
809 | name: 'padding-bottom',
|
810 | type: '',
|
811 | value: 'calc(#{calc(var(--padding-bottom) * 3 / 4)} * #{size-multiplier(\'sm\')})',
|
812 | description: 'The padding bottom of the popover component, for the sm size variant'
|
813 | },
|
814 | {
|
815 | name: 'padding-left',
|
816 | type: '',
|
817 | value: 'calc(#{var(--padding-left)} * #{size-multiplier(\'sm\')})',
|
818 | description: 'The padding left of the popover component, for the sm size variant'
|
819 | },
|
820 | {
|
821 | name: 'header--padding-bottom',
|
822 | type: '',
|
823 | value: 'calc(#{var(----padding-bottom)} * #{size-multiplier(\'sm\')})',
|
824 | description: 'The padding bottom of the popover component header, for the sm size variant'
|
825 | },
|
826 | {
|
827 | name: 'header--padding-left',
|
828 | type: '',
|
829 | value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'sm\')})',
|
830 | description: 'The padding left of the popover component header, for the sm size variant'
|
831 | },
|
832 | {
|
833 | name: 'body--padding-bottom',
|
834 | type: '',
|
835 | value: 'calc(#{var(----padding-bottom)} * #{size-multiplier(\'sm\')})',
|
836 | description: 'The padding bottom of the popover component body, for the sm size variant'
|
837 | },
|
838 | {
|
839 | name: 'body--padding-left',
|
840 | type: '',
|
841 | value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'sm\')})',
|
842 | description: 'The padding left of the popover component body, for the sm size variant'
|
843 | },
|
844 | {
|
845 | name: 'footer--padding-bottom',
|
846 | type: '',
|
847 | value: 'calc(#{var(----padding-bottom)} * #{size-multiplier(\'sm\')})',
|
848 | description: 'The padding bottom of the popover component footer, for the sm size variant'
|
849 | },
|
850 | {
|
851 | name: 'footer--padding-left',
|
852 | type: '',
|
853 | value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'sm\')})',
|
854 | description: 'The padding left of the popover component footer, for the sm size variant'
|
855 | }
|
856 | ]
|
857 | },
|
858 | {
|
859 | name: 'md',
|
860 | type: 'variant',
|
861 | description: 'Variables for the md size variant',
|
862 | variables: [
|
863 | {
|
864 | name: 'border-top-left-radius',
|
865 | type: '',
|
866 | value: 'calc(#{var(--border-top-left-radius)} * #{size-multiplier(\'md\')})',
|
867 | description: 'The border top left radius of the popover component, for the md size variant'
|
868 | },
|
869 | {
|
870 | name: 'border-top-right-radius',
|
871 | type: '',
|
872 | value: 'calc(#{var(--border-top-right-radius)} * #{size-multiplier(\'md\')})',
|
873 | description: 'The border top right radius of the popover component, for the md size variant'
|
874 | },
|
875 | {
|
876 | name: 'border-bottom-right-radius',
|
877 | type: '',
|
878 | value: 'calc(#{var(--border-bottom-right-radius)} * #{size-multiplier(\'md\')})',
|
879 | description: 'The border bottom right radius of the popover component, for the md size variant'
|
880 | },
|
881 | {
|
882 | name: 'border-bottom-left-radius',
|
883 | type: '',
|
884 | value: 'calc(#{var(--border-bottom-left-radius)} * #{size-multiplier(\'md\')})',
|
885 | description: 'The border bottom left radius of the popover component, for the md size variant'
|
886 | },
|
887 | {
|
888 | name: 'font-size',
|
889 | type: '',
|
890 | value: 'calc(#{font-size()} * #{size-multiplier(\'md\')})',
|
891 | description: 'The font size of the popover component, for the md size variant'
|
892 | },
|
893 | {
|
894 | name: 'margin-top',
|
895 | type: '',
|
896 | value: 'calc(#{calc(var(--margin-top) / 2)} * #{size-multiplier(\'md\')})',
|
897 | description: 'The margin top of the popover component, for the md size variant'
|
898 | },
|
899 | {
|
900 | name: 'margin-right',
|
901 | type: '',
|
902 | value: 'calc(#{calc(var(--margin-right) / 2)} * #{size-multiplier(\'md\')})',
|
903 | description: 'The margin right of the popover component, for the md size variant'
|
904 | },
|
905 | {
|
906 | name: 'margin-bottom',
|
907 | type: '',
|
908 | value: 'calc(#{calc(var(--margin-bottom) / 2)} * #{size-multiplier(\'md\')})',
|
909 | description: 'The margin bottom of the popover component, for the md size variant'
|
910 | },
|
911 | {
|
912 | name: 'margin-left',
|
913 | type: '',
|
914 | value: 'calc(#{calc(var(--margin-left) / 2)} * #{size-multiplier(\'md\')})',
|
915 | description: 'The margin left of the popover component, for the md size variant'
|
916 | },
|
917 | {
|
918 | name: 'padding-top',
|
919 | type: '',
|
920 | value: 'calc(#{calc(var(--padding-top) * 3 / 4)} * #{size-multiplier(\'md\')})',
|
921 | description: 'The padding top of the popover component, for the md size variant'
|
922 | },
|
923 | {
|
924 | name: 'padding-right',
|
925 | type: '',
|
926 | value: 'calc(#{var(--padding-right)} * #{size-multiplier(\'md\')})',
|
927 | description: 'The padding right of the popover component, for the md size variant'
|
928 | },
|
929 | {
|
930 | name: 'padding-bottom',
|
931 | type: '',
|
932 | value: 'calc(#{calc(var(--padding-bottom) * 3 / 4)} * #{size-multiplier(\'md\')})',
|
933 | description: 'The padding bottom of the popover component, for the md size variant'
|
934 | },
|
935 | {
|
936 | name: 'padding-left',
|
937 | type: '',
|
938 | value: 'calc(#{var(--padding-left)} * #{size-multiplier(\'md\')})',
|
939 | description: 'The padding left of the popover component, for the md size variant'
|
940 | },
|
941 | {
|
942 | name: 'header--padding-bottom',
|
943 | type: '',
|
944 | value: 'calc(#{var(----padding-bottom)} * #{size-multiplier(\'md\')})',
|
945 | description: 'The padding bottom of the popover component header, for the md size variant'
|
946 | },
|
947 | {
|
948 | name: 'header--padding-left',
|
949 | type: '',
|
950 | value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'md\')})',
|
951 | description: 'The padding left of the popover component header, for the md size variant'
|
952 | },
|
953 | {
|
954 | name: 'body--padding-bottom',
|
955 | type: '',
|
956 | value: 'calc(#{var(----padding-bottom)} * #{size-multiplier(\'md\')})',
|
957 | description: 'The padding bottom of the popover component body, for the md size variant'
|
958 | },
|
959 | {
|
960 | name: 'body--padding-left',
|
961 | type: '',
|
962 | value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'md\')})',
|
963 | description: 'The padding left of the popover component body, for the md size variant'
|
964 | },
|
965 | {
|
966 | name: 'footer--padding-bottom',
|
967 | type: '',
|
968 | value: 'calc(#{var(----padding-bottom)} * #{size-multiplier(\'md\')})',
|
969 | description: 'The padding bottom of the popover component footer, for the md size variant'
|
970 | },
|
971 | {
|
972 | name: 'footer--padding-left',
|
973 | type: '',
|
974 | value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'md\')})',
|
975 | description: 'The padding left of the popover component footer, for the md size variant'
|
976 | }
|
977 | ]
|
978 | },
|
979 | {
|
980 | name: 'lg',
|
981 | type: 'variant',
|
982 | description: 'Variables for the lg size variant',
|
983 | variables: [
|
984 | {
|
985 | name: 'border-top-left-radius',
|
986 | type: '',
|
987 | value: 'calc(#{var(--border-top-left-radius)} * #{size-multiplier(\'lg\')})',
|
988 | description: 'The border top left radius of the popover component, for the lg size variant'
|
989 | },
|
990 | {
|
991 | name: 'border-top-right-radius',
|
992 | type: '',
|
993 | value: 'calc(#{var(--border-top-right-radius)} * #{size-multiplier(\'lg\')})',
|
994 | description: 'The border top right radius of the popover component, for the lg size variant'
|
995 | },
|
996 | {
|
997 | name: 'border-bottom-right-radius',
|
998 | type: '',
|
999 | value: 'calc(#{var(--border-bottom-right-radius)} * #{size-multiplier(\'lg\')})',
|
1000 | description: 'The border bottom right radius of the popover component, for the lg size variant'
|
1001 | },
|
1002 | {
|
1003 | name: 'border-bottom-left-radius',
|
1004 | type: '',
|
1005 | value: 'calc(#{var(--border-bottom-left-radius)} * #{size-multiplier(\'lg\')})',
|
1006 | description: 'The border bottom left radius of the popover component, for the lg size variant'
|
1007 | },
|
1008 | {
|
1009 | name: 'font-size',
|
1010 | type: '',
|
1011 | value: 'calc(#{font-size()} * #{size-multiplier(\'lg\')})',
|
1012 | description: 'The font size of the popover component, for the lg size variant'
|
1013 | },
|
1014 | {
|
1015 | name: 'margin-top',
|
1016 | type: '',
|
1017 | value: 'calc(#{calc(var(--margin-top) / 2)} * #{size-multiplier(\'lg\')})',
|
1018 | description: 'The margin top of the popover component, for the lg size variant'
|
1019 | },
|
1020 | {
|
1021 | name: 'margin-right',
|
1022 | type: '',
|
1023 | value: 'calc(#{calc(var(--margin-right) / 2)} * #{size-multiplier(\'lg\')})',
|
1024 | description: 'The margin right of the popover component, for the lg size variant'
|
1025 | },
|
1026 | {
|
1027 | name: 'margin-bottom',
|
1028 | type: '',
|
1029 | value: 'calc(#{calc(var(--margin-bottom) / 2)} * #{size-multiplier(\'lg\')})',
|
1030 | description: 'The margin bottom of the popover component, for the lg size variant'
|
1031 | },
|
1032 | {
|
1033 | name: 'margin-left',
|
1034 | type: '',
|
1035 | value: 'calc(#{calc(var(--margin-left) / 2)} * #{size-multiplier(\'lg\')})',
|
1036 | description: 'The margin left of the popover component, for the lg size variant'
|
1037 | },
|
1038 | {
|
1039 | name: 'padding-top',
|
1040 | type: '',
|
1041 | value: 'calc(#{calc(var(--padding-top) * 3 / 4)} * #{size-multiplier(\'lg\')})',
|
1042 | description: 'The padding top of the popover component, for the lg size variant'
|
1043 | },
|
1044 | {
|
1045 | name: 'padding-right',
|
1046 | type: '',
|
1047 | value: 'calc(#{var(--padding-right)} * #{size-multiplier(\'lg\')})',
|
1048 | description: 'The padding right of the popover component, for the lg size variant'
|
1049 | },
|
1050 | {
|
1051 | name: 'padding-bottom',
|
1052 | type: '',
|
1053 | value: 'calc(#{calc(var(--padding-bottom) * 3 / 4)} * #{size-multiplier(\'lg\')})',
|
1054 | description: 'The padding bottom of the popover component, for the lg size variant'
|
1055 | },
|
1056 | {
|
1057 | name: 'padding-left',
|
1058 | type: '',
|
1059 | value: 'calc(#{var(--padding-left)} * #{size-multiplier(\'lg\')})',
|
1060 | description: 'The padding left of the popover component, for the lg size variant'
|
1061 | },
|
1062 | {
|
1063 | name: 'header--padding-bottom',
|
1064 | type: '',
|
1065 | value: 'calc(#{var(----padding-bottom)} * #{size-multiplier(\'lg\')})',
|
1066 | description: 'The padding bottom of the popover component header, for the lg size variant'
|
1067 | },
|
1068 | {
|
1069 | name: 'header--padding-left',
|
1070 | type: '',
|
1071 | value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'lg\')})',
|
1072 | description: 'The padding left of the popover component header, for the lg size variant'
|
1073 | },
|
1074 | {
|
1075 | name: 'body--padding-bottom',
|
1076 | type: '',
|
1077 | value: 'calc(#{var(----padding-bottom)} * #{size-multiplier(\'lg\')})',
|
1078 | description: 'The padding bottom of the popover component body, for the lg size variant'
|
1079 | },
|
1080 | {
|
1081 | name: 'body--padding-left',
|
1082 | type: '',
|
1083 | value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'lg\')})',
|
1084 | description: 'The padding left of the popover component body, for the lg size variant'
|
1085 | },
|
1086 | {
|
1087 | name: 'footer--padding-bottom',
|
1088 | type: '',
|
1089 | value: 'calc(#{var(----padding-bottom)} * #{size-multiplier(\'lg\')})',
|
1090 | description: 'The padding bottom of the popover component footer, for the lg size variant'
|
1091 | },
|
1092 | {
|
1093 | name: 'footer--padding-left',
|
1094 | type: '',
|
1095 | value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'lg\')})',
|
1096 | description: 'The padding left of the popover component footer, for the lg size variant'
|
1097 | }
|
1098 | ]
|
1099 | }
|
1100 | ]
|
1101 | }
|
1102 | };
|
1103 | export default manifest;
|
1104 |
|
\ | No newline at end of file |