nuxt-ignis 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/.data/content/contents.sqlite +0 -0
  2. package/.env +43 -0
  3. package/.nuxt/components.d.ts +132 -0
  4. package/.nuxt/content/components.ts +51 -0
  5. package/.nuxt/content/database.compressed.mjs +1 -0
  6. package/.nuxt/content/manifest.ts +33 -0
  7. package/.nuxt/content/sql_dump +6 -0
  8. package/.nuxt/content/types.d.ts +13 -0
  9. package/.nuxt/dist/server/client.manifest.mjs +18 -1
  10. package/.nuxt/eslint.config.mjs +1 -1
  11. package/.nuxt/i18n.options.mjs +165 -0
  12. package/.nuxt/imports.d.ts +16 -0
  13. package/.nuxt/manifest/latest.json +1 -1
  14. package/.nuxt/manifest/meta/dev.json +1 -1
  15. package/.nuxt/mdc-configs.mjs +8 -0
  16. package/.nuxt/mdc-highlighter.mjs +213 -0
  17. package/.nuxt/mdc-image-component.mjs +1 -0
  18. package/.nuxt/mdc-imports.mjs +12 -0
  19. package/.nuxt/module/@nuxtjs-sitemap.d.ts +28 -0
  20. package/.nuxt/module/nuxt-robots.d.ts +35 -0
  21. package/.nuxt/module/nuxt-seo-utils.assets.d.ts +25 -0
  22. package/.nuxt/module/nuxt-seo-utils.d.ts +22 -0
  23. package/.nuxt/module/nuxt-site-config.d.ts +43 -0
  24. package/.nuxt/nitro.json +3 -3
  25. package/.nuxt/nuxt-i18n-logger.mjs +1 -0
  26. package/.nuxt/nuxt-icon-client-bundle.mjs +1 -0
  27. package/.nuxt/nuxt-icon-server-bundle.mjs +15 -0
  28. package/.nuxt/nuxt.d.ts +20 -5
  29. package/.nuxt/tailwind/postcss.mjs +15 -0
  30. package/.nuxt/tsconfig.json +151 -0
  31. package/.nuxt/tsconfig.server.json +140 -0
  32. package/.nuxt/types/build.d.ts +2 -0
  33. package/.nuxt/types/i18n-plugin.d.ts +104 -0
  34. package/.nuxt/types/imports.d.ts +70 -0
  35. package/.nuxt/types/neon.d.ts +35 -0
  36. package/.nuxt/types/nitro-imports.d.ts +263 -1
  37. package/.nuxt/types/nitro-routes.d.ts +61 -0
  38. package/.nuxt/types/plugins.d.ts +21 -2
  39. package/.nuxt/types/schema.d.ts +924 -2
  40. package/.nuxt/types/ui.d.ts +35 -0
  41. package/.nuxt/ui/accordion.ts +20 -0
  42. package/.nuxt/ui/alert.ts +264 -0
  43. package/.nuxt/ui/avatar-group.ts +52 -0
  44. package/.nuxt/ui/avatar.ts +54 -0
  45. package/.nuxt/ui/badge.ts +263 -0
  46. package/.nuxt/ui/breadcrumb.ts +45 -0
  47. package/.nuxt/ui/button-group.ts +16 -0
  48. package/.nuxt/ui/button.ts +378 -0
  49. package/.nuxt/ui/calendar.ts +103 -0
  50. package/.nuxt/ui/card.ts +34 -0
  51. package/.nuxt/ui/carousel.ts +38 -0
  52. package/.nuxt/ui/checkbox-group.ts +204 -0
  53. package/.nuxt/ui/checkbox.ts +236 -0
  54. package/.nuxt/ui/chip.ts +96 -0
  55. package/.nuxt/ui/collapsible.ts +6 -0
  56. package/.nuxt/ui/color-picker.ts +47 -0
  57. package/.nuxt/ui/command-palette.ts +50 -0
  58. package/.nuxt/ui/container.ts +3 -0
  59. package/.nuxt/ui/context-menu.ts +216 -0
  60. package/.nuxt/ui/drawer.ts +126 -0
  61. package/.nuxt/ui/dropdown-menu.ts +217 -0
  62. package/.nuxt/ui/form-field.ts +48 -0
  63. package/.nuxt/ui/form.ts +3 -0
  64. package/.nuxt/ui/index.ts +50 -0
  65. package/.nuxt/ui/input-menu.ts +436 -0
  66. package/.nuxt/ui/input-number.ts +245 -0
  67. package/.nuxt/ui/input.ts +289 -0
  68. package/.nuxt/ui/kbd.ts +31 -0
  69. package/.nuxt/ui/link.ts +22 -0
  70. package/.nuxt/ui/modal.ts +29 -0
  71. package/.nuxt/ui/navigation-menu.ts +501 -0
  72. package/.nuxt/ui/pagination.ts +13 -0
  73. package/.nuxt/ui/pin-input.ts +171 -0
  74. package/.nuxt/ui/popover.ts +6 -0
  75. package/.nuxt/ui/progress.ts +297 -0
  76. package/.nuxt/ui/radio-group.ts +350 -0
  77. package/.nuxt/ui/select-menu.ts +346 -0
  78. package/.nuxt/ui/select.ts +341 -0
  79. package/.nuxt/ui/separator.ts +172 -0
  80. package/.nuxt/ui/skeleton.ts +3 -0
  81. package/.nuxt/ui/slideover.ts +71 -0
  82. package/.nuxt/ui/slider.ts +171 -0
  83. package/.nuxt/ui/stepper.ts +202 -0
  84. package/.nuxt/ui/switch.ts +131 -0
  85. package/.nuxt/ui/table.ts +147 -0
  86. package/.nuxt/ui/tabs.ts +256 -0
  87. package/.nuxt/ui/textarea.ts +294 -0
  88. package/.nuxt/ui/toast.ts +81 -0
  89. package/.nuxt/ui/toaster.ts +91 -0
  90. package/.nuxt/ui/tooltip.ts +9 -0
  91. package/.nuxt/ui/tree.ts +154 -0
  92. package/.nuxt/ui-image-component.ts +1 -0
  93. package/.nuxt/ui.css +143 -0
  94. package/features.ts +30 -22
  95. package/package.json +2 -1
  96. package/tailwind.config.ts +1 -1
  97. package/.nuxt/dev/index.mjs +0 -2948
  98. package/.nuxt/dev/index.mjs.map +0 -1
@@ -0,0 +1,501 @@
1
+ const color = [
2
+ "primary",
3
+ "secondary",
4
+ "success",
5
+ "info",
6
+ "warning",
7
+ "error",
8
+ "neutral"
9
+ ] as const
10
+
11
+ const highlightColor = [
12
+ "primary",
13
+ "secondary",
14
+ "success",
15
+ "info",
16
+ "warning",
17
+ "error",
18
+ "neutral"
19
+ ] as const
20
+
21
+ const variant = [
22
+ "pill",
23
+ "link"
24
+ ] as const
25
+
26
+ const orientation = [
27
+ "horizontal",
28
+ "vertical"
29
+ ] as const
30
+
31
+ const contentOrientation = [
32
+ "horizontal",
33
+ "vertical"
34
+ ] as const
35
+
36
+ export default {
37
+ "slots": {
38
+ "root": "relative flex gap-1.5 [&>div]:min-w-0",
39
+ "list": "isolate min-w-0",
40
+ "label": "w-full flex items-center gap-1.5 font-semibold text-xs/5 text-highlighted px-2.5 py-1.5",
41
+ "item": "min-w-0",
42
+ "link": "group relative w-full flex items-center gap-1.5 font-medium text-sm before:absolute before:z-[-1] before:rounded-md focus:outline-none focus-visible:outline-none dark:focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",
43
+ "linkLeadingIcon": "shrink-0 size-5",
44
+ "linkLeadingAvatar": "shrink-0",
45
+ "linkLeadingAvatarSize": "2xs",
46
+ "linkTrailing": "ms-auto inline-flex gap-1.5 items-center",
47
+ "linkTrailingBadge": "shrink-0",
48
+ "linkTrailingBadgeSize": "sm",
49
+ "linkTrailingIcon": "size-5 transform shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",
50
+ "linkLabel": "truncate",
51
+ "linkLabelExternalIcon": "inline-block size-3 align-top text-dimmed",
52
+ "childList": "",
53
+ "childItem": "",
54
+ "childLink": "group size-full px-3 py-2 rounded-md flex items-start gap-2 text-start",
55
+ "childLinkWrapper": "flex flex-col items-start",
56
+ "childLinkIcon": "size-5 shrink-0",
57
+ "childLinkLabel": "font-semibold text-sm relative inline-flex",
58
+ "childLinkLabelExternalIcon": "inline-block size-3 align-top text-dimmed",
59
+ "childLinkDescription": "text-sm text-muted",
60
+ "separator": "px-2 h-px bg-border",
61
+ "viewportWrapper": "absolute top-full left-0 flex w-full",
62
+ "viewport": "relative overflow-hidden bg-default shadow-lg rounded-md ring ring-default h-(--reka-navigation-menu-viewport-height) w-full transition-[width,height,left] duration-200 origin-[top_center] data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] z-[1]",
63
+ "content": "absolute top-0 left-0 w-full",
64
+ "indicator": "absolute data-[state=visible]:animate-[fade-in_100ms_ease-out] data-[state=hidden]:animate-[fade-out_100ms_ease-in] data-[state=hidden]:opacity-0 bottom-0 z-[2] w-(--reka-navigation-menu-indicator-size) translate-x-(--reka-navigation-menu-indicator-position) flex h-2.5 items-end justify-center overflow-hidden transition-[translate,width] duration-200",
65
+ "arrow": "relative top-[50%] size-2.5 rotate-45 border border-default bg-default z-[1] rounded-xs"
66
+ },
67
+ "variants": {
68
+ "color": {
69
+ "primary": {
70
+ "link": "focus-visible:before:ring-primary",
71
+ "childLink": "focus-visible:outline-primary"
72
+ },
73
+ "secondary": {
74
+ "link": "focus-visible:before:ring-secondary",
75
+ "childLink": "focus-visible:outline-secondary"
76
+ },
77
+ "success": {
78
+ "link": "focus-visible:before:ring-success",
79
+ "childLink": "focus-visible:outline-success"
80
+ },
81
+ "info": {
82
+ "link": "focus-visible:before:ring-info",
83
+ "childLink": "focus-visible:outline-info"
84
+ },
85
+ "warning": {
86
+ "link": "focus-visible:before:ring-warning",
87
+ "childLink": "focus-visible:outline-warning"
88
+ },
89
+ "error": {
90
+ "link": "focus-visible:before:ring-error",
91
+ "childLink": "focus-visible:outline-error"
92
+ },
93
+ "neutral": {
94
+ "link": "focus-visible:before:ring-inverted",
95
+ "childLink": "focus-visible:outline-inverted"
96
+ }
97
+ },
98
+ "highlightColor": {
99
+ "primary": "",
100
+ "secondary": "",
101
+ "success": "",
102
+ "info": "",
103
+ "warning": "",
104
+ "error": "",
105
+ "neutral": ""
106
+ },
107
+ "variant": {
108
+ "pill": "",
109
+ "link": ""
110
+ },
111
+ "orientation": {
112
+ "horizontal": {
113
+ "root": "items-center justify-between",
114
+ "list": "flex items-center",
115
+ "item": "py-2",
116
+ "link": "px-2.5 py-1.5 before:inset-x-px before:inset-y-0",
117
+ "childList": "grid p-2"
118
+ },
119
+ "vertical": {
120
+ "root": "flex-col",
121
+ "link": "flex-row px-2.5 py-1.5 before:inset-y-px before:inset-x-0"
122
+ }
123
+ },
124
+ "contentOrientation": {
125
+ "horizontal": {
126
+ "viewportWrapper": "justify-center",
127
+ "content": "data-[motion=from-start]:animate-[enter-from-left_200ms_ease] data-[motion=from-end]:animate-[enter-from-right_200ms_ease] data-[motion=to-start]:animate-[exit-to-left_200ms_ease] data-[motion=to-end]:animate-[exit-to-right_200ms_ease]"
128
+ },
129
+ "vertical": {
130
+ "viewport": "sm:w-(--reka-navigation-menu-viewport-width) left-(--reka-navigation-menu-viewport-left)"
131
+ }
132
+ },
133
+ "active": {
134
+ "true": {
135
+ "childLink": "bg-elevated text-highlighted",
136
+ "childLinkIcon": "text-default"
137
+ },
138
+ "false": {
139
+ "link": "text-muted",
140
+ "linkLeadingIcon": "text-dimmed",
141
+ "childLink": [
142
+ "hover:bg-elevated/50 text-default hover:text-highlighted",
143
+ "transition-colors"
144
+ ],
145
+ "childLinkIcon": [
146
+ "text-dimmed group-hover:text-default",
147
+ "transition-colors"
148
+ ]
149
+ }
150
+ },
151
+ "disabled": {
152
+ "true": {
153
+ "link": "cursor-not-allowed opacity-75"
154
+ }
155
+ },
156
+ "highlight": {
157
+ "true": ""
158
+ },
159
+ "level": {
160
+ "true": ""
161
+ },
162
+ "collapsed": {
163
+ "true": ""
164
+ }
165
+ },
166
+ "compoundVariants": [
167
+ {
168
+ "orientation": "horizontal" as typeof orientation[number],
169
+ "contentOrientation": "horizontal" as typeof contentOrientation[number],
170
+ "class": {
171
+ "childList": "grid-cols-2 gap-2"
172
+ }
173
+ },
174
+ {
175
+ "orientation": "horizontal" as typeof orientation[number],
176
+ "contentOrientation": "vertical" as typeof contentOrientation[number],
177
+ "class": {
178
+ "childList": "gap-1",
179
+ "content": "w-60"
180
+ }
181
+ },
182
+ {
183
+ "orientation": "horizontal" as typeof orientation[number],
184
+ "highlight": true,
185
+ "class": {
186
+ "link": [
187
+ "after:absolute after:-bottom-2 after:inset-x-2.5 after:block after:h-px after:rounded-full",
188
+ "after:transition-colors"
189
+ ]
190
+ }
191
+ },
192
+ {
193
+ "orientation": "vertical" as typeof orientation[number],
194
+ "highlight": true,
195
+ "level": true,
196
+ "class": {
197
+ "link": [
198
+ "after:absolute after:-start-1.5 after:inset-y-0.5 after:block after:w-px after:rounded-full",
199
+ "after:transition-colors"
200
+ ]
201
+ }
202
+ },
203
+ {
204
+ "disabled": false,
205
+ "active": false,
206
+ "variant": "pill" as typeof variant[number],
207
+ "class": {
208
+ "link": [
209
+ "hover:text-highlighted hover:before:bg-elevated/50",
210
+ "transition-colors before:transition-colors"
211
+ ],
212
+ "linkLeadingIcon": [
213
+ "group-hover:text-default",
214
+ "transition-colors"
215
+ ]
216
+ }
217
+ },
218
+ {
219
+ "disabled": false,
220
+ "active": false,
221
+ "variant": "pill" as typeof variant[number],
222
+ "orientation": "horizontal" as typeof orientation[number],
223
+ "class": {
224
+ "link": "data-[state=open]:text-highlighted",
225
+ "linkLeadingIcon": "group-data-[state=open]:text-default"
226
+ }
227
+ },
228
+ {
229
+ "disabled": false,
230
+ "variant": "pill" as typeof variant[number],
231
+ "highlight": true,
232
+ "orientation": "horizontal" as typeof orientation[number],
233
+ "class": {
234
+ "link": "data-[state=open]:before:bg-elevated/50"
235
+ }
236
+ },
237
+ {
238
+ "disabled": false,
239
+ "variant": "pill" as typeof variant[number],
240
+ "highlight": false,
241
+ "active": false,
242
+ "orientation": "horizontal" as typeof orientation[number],
243
+ "class": {
244
+ "link": "data-[state=open]:before:bg-elevated/50"
245
+ }
246
+ },
247
+ {
248
+ "color": "primary" as typeof color[number],
249
+ "variant": "pill" as typeof variant[number],
250
+ "active": true,
251
+ "class": {
252
+ "link": "text-primary",
253
+ "linkLeadingIcon": "text-primary group-data-[state=open]:text-primary"
254
+ }
255
+ },
256
+ {
257
+ "color": "secondary" as typeof color[number],
258
+ "variant": "pill" as typeof variant[number],
259
+ "active": true,
260
+ "class": {
261
+ "link": "text-secondary",
262
+ "linkLeadingIcon": "text-secondary group-data-[state=open]:text-secondary"
263
+ }
264
+ },
265
+ {
266
+ "color": "success" as typeof color[number],
267
+ "variant": "pill" as typeof variant[number],
268
+ "active": true,
269
+ "class": {
270
+ "link": "text-success",
271
+ "linkLeadingIcon": "text-success group-data-[state=open]:text-success"
272
+ }
273
+ },
274
+ {
275
+ "color": "info" as typeof color[number],
276
+ "variant": "pill" as typeof variant[number],
277
+ "active": true,
278
+ "class": {
279
+ "link": "text-info",
280
+ "linkLeadingIcon": "text-info group-data-[state=open]:text-info"
281
+ }
282
+ },
283
+ {
284
+ "color": "warning" as typeof color[number],
285
+ "variant": "pill" as typeof variant[number],
286
+ "active": true,
287
+ "class": {
288
+ "link": "text-warning",
289
+ "linkLeadingIcon": "text-warning group-data-[state=open]:text-warning"
290
+ }
291
+ },
292
+ {
293
+ "color": "error" as typeof color[number],
294
+ "variant": "pill" as typeof variant[number],
295
+ "active": true,
296
+ "class": {
297
+ "link": "text-error",
298
+ "linkLeadingIcon": "text-error group-data-[state=open]:text-error"
299
+ }
300
+ },
301
+ {
302
+ "color": "neutral" as typeof color[number],
303
+ "variant": "pill" as typeof variant[number],
304
+ "active": true,
305
+ "class": {
306
+ "link": "text-highlighted",
307
+ "linkLeadingIcon": "text-highlighted group-data-[state=open]:text-highlighted"
308
+ }
309
+ },
310
+ {
311
+ "variant": "pill" as typeof variant[number],
312
+ "active": true,
313
+ "highlight": false,
314
+ "class": {
315
+ "link": "before:bg-elevated"
316
+ }
317
+ },
318
+ {
319
+ "variant": "pill" as typeof variant[number],
320
+ "active": true,
321
+ "highlight": true,
322
+ "class": {
323
+ "link": [
324
+ "hover:before:bg-elevated/50",
325
+ "before:transition-colors"
326
+ ]
327
+ }
328
+ },
329
+ {
330
+ "disabled": false,
331
+ "active": false,
332
+ "variant": "link" as typeof variant[number],
333
+ "class": {
334
+ "link": [
335
+ "hover:text-highlighted",
336
+ "transition-colors"
337
+ ],
338
+ "linkLeadingIcon": [
339
+ "group-hover:text-default",
340
+ "transition-colors"
341
+ ]
342
+ }
343
+ },
344
+ {
345
+ "disabled": false,
346
+ "active": false,
347
+ "variant": "link" as typeof variant[number],
348
+ "orientation": "horizontal" as typeof orientation[number],
349
+ "class": {
350
+ "link": "data-[state=open]:text-highlighted",
351
+ "linkLeadingIcon": "group-data-[state=open]:text-default"
352
+ }
353
+ },
354
+ {
355
+ "color": "primary" as typeof color[number],
356
+ "variant": "link" as typeof variant[number],
357
+ "active": true,
358
+ "class": {
359
+ "link": "text-primary",
360
+ "linkLeadingIcon": "text-primary group-data-[state=open]:text-primary"
361
+ }
362
+ },
363
+ {
364
+ "color": "secondary" as typeof color[number],
365
+ "variant": "link" as typeof variant[number],
366
+ "active": true,
367
+ "class": {
368
+ "link": "text-secondary",
369
+ "linkLeadingIcon": "text-secondary group-data-[state=open]:text-secondary"
370
+ }
371
+ },
372
+ {
373
+ "color": "success" as typeof color[number],
374
+ "variant": "link" as typeof variant[number],
375
+ "active": true,
376
+ "class": {
377
+ "link": "text-success",
378
+ "linkLeadingIcon": "text-success group-data-[state=open]:text-success"
379
+ }
380
+ },
381
+ {
382
+ "color": "info" as typeof color[number],
383
+ "variant": "link" as typeof variant[number],
384
+ "active": true,
385
+ "class": {
386
+ "link": "text-info",
387
+ "linkLeadingIcon": "text-info group-data-[state=open]:text-info"
388
+ }
389
+ },
390
+ {
391
+ "color": "warning" as typeof color[number],
392
+ "variant": "link" as typeof variant[number],
393
+ "active": true,
394
+ "class": {
395
+ "link": "text-warning",
396
+ "linkLeadingIcon": "text-warning group-data-[state=open]:text-warning"
397
+ }
398
+ },
399
+ {
400
+ "color": "error" as typeof color[number],
401
+ "variant": "link" as typeof variant[number],
402
+ "active": true,
403
+ "class": {
404
+ "link": "text-error",
405
+ "linkLeadingIcon": "text-error group-data-[state=open]:text-error"
406
+ }
407
+ },
408
+ {
409
+ "color": "neutral" as typeof color[number],
410
+ "variant": "link" as typeof variant[number],
411
+ "active": true,
412
+ "class": {
413
+ "link": "text-highlighted",
414
+ "linkLeadingIcon": "text-highlighted group-data-[state=open]:text-highlighted"
415
+ }
416
+ },
417
+ {
418
+ "highlightColor": "primary" as typeof highlightColor[number],
419
+ "highlight": true,
420
+ "level": true,
421
+ "active": true,
422
+ "class": {
423
+ "link": "after:bg-primary"
424
+ }
425
+ },
426
+ {
427
+ "highlightColor": "secondary" as typeof highlightColor[number],
428
+ "highlight": true,
429
+ "level": true,
430
+ "active": true,
431
+ "class": {
432
+ "link": "after:bg-secondary"
433
+ }
434
+ },
435
+ {
436
+ "highlightColor": "success" as typeof highlightColor[number],
437
+ "highlight": true,
438
+ "level": true,
439
+ "active": true,
440
+ "class": {
441
+ "link": "after:bg-success"
442
+ }
443
+ },
444
+ {
445
+ "highlightColor": "info" as typeof highlightColor[number],
446
+ "highlight": true,
447
+ "level": true,
448
+ "active": true,
449
+ "class": {
450
+ "link": "after:bg-info"
451
+ }
452
+ },
453
+ {
454
+ "highlightColor": "warning" as typeof highlightColor[number],
455
+ "highlight": true,
456
+ "level": true,
457
+ "active": true,
458
+ "class": {
459
+ "link": "after:bg-warning"
460
+ }
461
+ },
462
+ {
463
+ "highlightColor": "error" as typeof highlightColor[number],
464
+ "highlight": true,
465
+ "level": true,
466
+ "active": true,
467
+ "class": {
468
+ "link": "after:bg-error"
469
+ }
470
+ },
471
+ {
472
+ "highlightColor": "neutral" as typeof highlightColor[number],
473
+ "highlight": true,
474
+ "level": true,
475
+ "active": true,
476
+ "class": {
477
+ "link": "after:bg-inverted"
478
+ }
479
+ },
480
+ {
481
+ "orientation": "vertical" as typeof orientation[number],
482
+ "collapsed": false,
483
+ "class": {
484
+ "childList": "ms-5 border-s border-default",
485
+ "childItem": "ps-1.5 -ms-px"
486
+ }
487
+ },
488
+ {
489
+ "orientation": "vertical" as typeof orientation[number],
490
+ "collapsed": true,
491
+ "class": {
492
+ "link": "px-1.5"
493
+ }
494
+ }
495
+ ],
496
+ "defaultVariants": {
497
+ "color": "primary" as typeof color[number],
498
+ "highlightColor": "primary" as typeof highlightColor[number],
499
+ "variant": "pill" as typeof variant[number]
500
+ }
501
+ }
@@ -0,0 +1,13 @@
1
+ export default {
2
+ "slots": {
3
+ "root": "",
4
+ "list": "flex items-center gap-1",
5
+ "ellipsis": "pointer-events-none",
6
+ "label": "min-w-5 text-center",
7
+ "first": "",
8
+ "prev": "",
9
+ "item": "",
10
+ "next": "",
11
+ "last": ""
12
+ }
13
+ }
@@ -0,0 +1,171 @@
1
+ const size = [
2
+ "xs",
3
+ "sm",
4
+ "md",
5
+ "lg",
6
+ "xl"
7
+ ] as const
8
+
9
+ const variant = [
10
+ "outline",
11
+ "soft",
12
+ "subtle",
13
+ "ghost",
14
+ "none"
15
+ ] as const
16
+
17
+ const color = [
18
+ "primary",
19
+ "secondary",
20
+ "success",
21
+ "info",
22
+ "warning",
23
+ "error",
24
+ "neutral"
25
+ ] as const
26
+
27
+ export default {
28
+ "slots": {
29
+ "root": "relative inline-flex items-center gap-1.5",
30
+ "base": [
31
+ "rounded-md border-0 placeholder:text-dimmed text-center focus:outline-none disabled:cursor-not-allowed disabled:opacity-75",
32
+ "transition-colors"
33
+ ]
34
+ },
35
+ "variants": {
36
+ "size": {
37
+ "xs": {
38
+ "base": "size-6 text-xs"
39
+ },
40
+ "sm": {
41
+ "base": "size-7 text-xs"
42
+ },
43
+ "md": {
44
+ "base": "size-8 text-sm"
45
+ },
46
+ "lg": {
47
+ "base": "size-9 text-sm"
48
+ },
49
+ "xl": {
50
+ "base": "size-10 text-base"
51
+ }
52
+ },
53
+ "variant": {
54
+ "outline": "text-highlighted bg-default ring ring-inset ring-accented",
55
+ "soft": "text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",
56
+ "subtle": "text-highlighted bg-elevated ring ring-inset ring-accented",
57
+ "ghost": "text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",
58
+ "none": "text-highlighted bg-transparent"
59
+ },
60
+ "color": {
61
+ "primary": "",
62
+ "secondary": "",
63
+ "success": "",
64
+ "info": "",
65
+ "warning": "",
66
+ "error": "",
67
+ "neutral": ""
68
+ },
69
+ "highlight": {
70
+ "true": ""
71
+ }
72
+ },
73
+ "compoundVariants": [
74
+ {
75
+ "color": "primary" as typeof color[number],
76
+ "variant": [
77
+ "outline" as typeof variant[number],
78
+ "subtle" as typeof variant[number]
79
+ ],
80
+ "class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"
81
+ },
82
+ {
83
+ "color": "secondary" as typeof color[number],
84
+ "variant": [
85
+ "outline" as typeof variant[number],
86
+ "subtle" as typeof variant[number]
87
+ ],
88
+ "class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"
89
+ },
90
+ {
91
+ "color": "success" as typeof color[number],
92
+ "variant": [
93
+ "outline" as typeof variant[number],
94
+ "subtle" as typeof variant[number]
95
+ ],
96
+ "class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"
97
+ },
98
+ {
99
+ "color": "info" as typeof color[number],
100
+ "variant": [
101
+ "outline" as typeof variant[number],
102
+ "subtle" as typeof variant[number]
103
+ ],
104
+ "class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"
105
+ },
106
+ {
107
+ "color": "warning" as typeof color[number],
108
+ "variant": [
109
+ "outline" as typeof variant[number],
110
+ "subtle" as typeof variant[number]
111
+ ],
112
+ "class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"
113
+ },
114
+ {
115
+ "color": "error" as typeof color[number],
116
+ "variant": [
117
+ "outline" as typeof variant[number],
118
+ "subtle" as typeof variant[number]
119
+ ],
120
+ "class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"
121
+ },
122
+ {
123
+ "color": "primary" as typeof color[number],
124
+ "highlight": true,
125
+ "class": "ring ring-inset ring-primary"
126
+ },
127
+ {
128
+ "color": "secondary" as typeof color[number],
129
+ "highlight": true,
130
+ "class": "ring ring-inset ring-secondary"
131
+ },
132
+ {
133
+ "color": "success" as typeof color[number],
134
+ "highlight": true,
135
+ "class": "ring ring-inset ring-success"
136
+ },
137
+ {
138
+ "color": "info" as typeof color[number],
139
+ "highlight": true,
140
+ "class": "ring ring-inset ring-info"
141
+ },
142
+ {
143
+ "color": "warning" as typeof color[number],
144
+ "highlight": true,
145
+ "class": "ring ring-inset ring-warning"
146
+ },
147
+ {
148
+ "color": "error" as typeof color[number],
149
+ "highlight": true,
150
+ "class": "ring ring-inset ring-error"
151
+ },
152
+ {
153
+ "color": "neutral" as typeof color[number],
154
+ "variant": [
155
+ "outline" as typeof variant[number],
156
+ "subtle" as typeof variant[number]
157
+ ],
158
+ "class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted"
159
+ },
160
+ {
161
+ "color": "neutral" as typeof color[number],
162
+ "highlight": true,
163
+ "class": "ring ring-inset ring-inverted"
164
+ }
165
+ ],
166
+ "defaultVariants": {
167
+ "size": "md" as typeof size[number],
168
+ "color": "primary" as typeof color[number],
169
+ "variant": "outline" as typeof variant[number]
170
+ }
171
+ }
@@ -0,0 +1,6 @@
1
+ export default {
2
+ "slots": {
3
+ "content": "bg-default shadow-lg rounded-md ring ring-default data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-popover-content-transform-origin) focus:outline-none pointer-events-auto",
4
+ "arrow": "fill-default"
5
+ }
6
+ }