@eslamdevui/ui 3.2.0-beta.2 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/.nuxt/ui/alert.ts +0 -5
  2. package/.nuxt/ui/badge.ts +0 -5
  3. package/.nuxt/ui/button-group.ts +0 -13
  4. package/.nuxt/ui/button.ts +0 -5
  5. package/.nuxt/ui/carousel.ts +0 -5
  6. package/.nuxt/ui/content-surround.ts +0 -5
  7. package/.nuxt/ui/dashboard-navbar.ts +0 -5
  8. package/.nuxt/ui/dashboard-sidebar-collapse.ts +0 -5
  9. package/.nuxt/ui/dashboard-sidebar-toggle.ts +0 -5
  10. package/.nuxt/ui/dashboard-sidebar.ts +0 -10
  11. package/.nuxt/ui/index.ts +1 -48
  12. package/.nuxt/ui/input-menu.ts +0 -9
  13. package/.nuxt/ui/input-number.ts +0 -5
  14. package/.nuxt/ui/input-tags.ts +0 -9
  15. package/.nuxt/ui/input.ts +0 -9
  16. package/.nuxt/ui/select-menu.ts +0 -9
  17. package/.nuxt/ui/select.ts +0 -9
  18. package/.nuxt/ui/textarea.ts +0 -9
  19. package/.nuxt/ui/toast.ts +0 -5
  20. package/LICENSE.md +9 -9
  21. package/README.md +147 -147
  22. package/cli/commands/make/component.mjs +95 -95
  23. package/cli/commands/make/index.mjs +14 -14
  24. package/cli/commands/make/locale.mjs +64 -64
  25. package/cli/index.mjs +15 -15
  26. package/cli/package.json +13 -13
  27. package/cli/templates.mjs +236 -236
  28. package/cli/utils.mjs +31 -31
  29. package/dist/module.json +1 -1
  30. package/dist/module.mjs +1 -1
  31. package/dist/runtime/components/Accordion.vue +36 -36
  32. package/dist/runtime/components/Alert.vue +46 -46
  33. package/dist/runtime/components/App.vue +10 -10
  34. package/dist/runtime/components/Avatar.vue +27 -27
  35. package/dist/runtime/components/AvatarGroup.vue +4 -4
  36. package/dist/runtime/components/Badge.vue +16 -16
  37. package/dist/runtime/components/Breadcrumb.vue +32 -32
  38. package/dist/runtime/components/Button.vue +28 -28
  39. package/dist/runtime/components/ButtonGroup.vue +3 -3
  40. package/dist/runtime/components/Calendar.vue +74 -74
  41. package/dist/runtime/components/Card.vue +13 -13
  42. package/dist/runtime/components/Carousel.vue +58 -58
  43. package/dist/runtime/components/ChatMessage.vue +35 -35
  44. package/dist/runtime/components/ChatMessages.vue +55 -55
  45. package/dist/runtime/components/ChatPrompt.vue +26 -26
  46. package/dist/runtime/components/ChatPromptSubmit.vue +10 -10
  47. package/dist/runtime/components/Checkbox.vue +33 -33
  48. package/dist/runtime/components/CheckboxGroup.vue +32 -32
  49. package/dist/runtime/components/Chip.vue +11 -11
  50. package/dist/runtime/components/Collapsible.vue +9 -9
  51. package/dist/runtime/components/ColorPicker.vue +30 -30
  52. package/dist/runtime/components/CommandPalette.vue +117 -117
  53. package/dist/runtime/components/Container.vue +3 -3
  54. package/dist/runtime/components/ContextMenu.vue +22 -22
  55. package/dist/runtime/components/ContextMenuContent.vue +105 -105
  56. package/dist/runtime/components/DashboardGroup.vue +3 -3
  57. package/dist/runtime/components/DashboardNavbar.vue +40 -40
  58. package/dist/runtime/components/DashboardPanel.vue +27 -27
  59. package/dist/runtime/components/DashboardResizeHandle.vue +7 -7
  60. package/dist/runtime/components/DashboardSearch.vue +20 -20
  61. package/dist/runtime/components/DashboardSearchButton.vue +43 -43
  62. package/dist/runtime/components/DashboardSidebar.vue +74 -74
  63. package/dist/runtime/components/DashboardSidebarCollapse.vue +7 -7
  64. package/dist/runtime/components/DashboardSidebarToggle.vue +7 -7
  65. package/dist/runtime/components/Drawer.vue +55 -55
  66. package/dist/runtime/components/DropdownMenu.vue +24 -24
  67. package/dist/runtime/components/DropdownMenuContent.vue +107 -107
  68. package/dist/runtime/components/Error.vue +22 -22
  69. package/dist/runtime/components/Form.vue +8 -8
  70. package/dist/runtime/components/FormField.vue +37 -37
  71. package/dist/runtime/components/Icon.vue +1 -1
  72. package/dist/runtime/components/Input.vue +34 -34
  73. package/dist/runtime/components/InputMenu.vue +163 -163
  74. package/dist/runtime/components/InputNumber.vue +49 -49
  75. package/dist/runtime/components/InputTags.vue +55 -55
  76. package/dist/runtime/components/Kbd.vue +5 -5
  77. package/dist/runtime/components/Link.vue +14 -14
  78. package/dist/runtime/components/LinkBase.vue +8 -8
  79. package/dist/runtime/components/Modal.vue +69 -69
  80. package/dist/runtime/components/NavigationMenu.vue +166 -166
  81. package/dist/runtime/components/OverlayProvider.vue +9 -9
  82. package/dist/runtime/components/Pagination.vue +47 -47
  83. package/dist/runtime/components/PinInput.vue +20 -20
  84. package/dist/runtime/components/Popover.vue +17 -17
  85. package/dist/runtime/components/Progress.vue +19 -19
  86. package/dist/runtime/components/RadioGroup.vue +43 -43
  87. package/dist/runtime/components/Select.vue +96 -96
  88. package/dist/runtime/components/SelectMenu.vue +130 -130
  89. package/dist/runtime/components/Separator.vue +15 -15
  90. package/dist/runtime/components/Skeleton.vue +10 -10
  91. package/dist/runtime/components/Slideover.vue +76 -76
  92. package/dist/runtime/components/Slider.vue +27 -27
  93. package/dist/runtime/components/Stepper.vue +51 -51
  94. package/dist/runtime/components/Switch.vue +33 -33
  95. package/dist/runtime/components/Table.vue +77 -77
  96. package/dist/runtime/components/Tabs.vue +37 -37
  97. package/dist/runtime/components/Textarea.vue +33 -33
  98. package/dist/runtime/components/Timeline.vue +38 -38
  99. package/dist/runtime/components/Toast.vue +69 -69
  100. package/dist/runtime/components/Toaster.vue +28 -28
  101. package/dist/runtime/components/Tooltip.vue +19 -19
  102. package/dist/runtime/components/Tree.vue +60 -60
  103. package/dist/runtime/components/color-mode/ColorModeAvatar.vue +2 -2
  104. package/dist/runtime/components/color-mode/ColorModeButton.vue +16 -16
  105. package/dist/runtime/components/color-mode/ColorModeImage.vue +2 -2
  106. package/dist/runtime/components/color-mode/ColorModeSelect.vue +19 -19
  107. package/dist/runtime/components/color-mode/ColorModeSwitch.vue +19 -19
  108. package/dist/runtime/components/content/ContentNavigation.vue +109 -109
  109. package/dist/runtime/components/content/ContentSearch.vue +25 -25
  110. package/dist/runtime/components/content/ContentSearchButton.vue +38 -38
  111. package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +12 -12
  112. package/dist/runtime/components/content/ContentSurround.vue +29 -29
  113. package/dist/runtime/components/content/ContentSurround.vue.d.ts +59 -59
  114. package/dist/runtime/components/content/ContentToc.vue +68 -68
  115. package/dist/runtime/components/content/ContentToc.vue.d.ts +88 -88
  116. package/dist/runtime/components/locale/LocaleSelect.vue +20 -20
  117. package/dist/runtime/components/prose/A.vue +3 -3
  118. package/dist/runtime/components/prose/Accordion.vue +5 -5
  119. package/dist/runtime/components/prose/AccordionItem.vue +5 -5
  120. package/dist/runtime/components/prose/Badge.vue +3 -3
  121. package/dist/runtime/components/prose/Blockquote.vue +3 -3
  122. package/dist/runtime/components/prose/Callout.vue +27 -27
  123. package/dist/runtime/components/prose/Card.vue +43 -43
  124. package/dist/runtime/components/prose/CardGroup.vue +3 -3
  125. package/dist/runtime/components/prose/Code.vue +3 -3
  126. package/dist/runtime/components/prose/CodeCollapse.vue +16 -16
  127. package/dist/runtime/components/prose/CodeGroup.vue +15 -15
  128. package/dist/runtime/components/prose/CodeIcon.vue +1 -1
  129. package/dist/runtime/components/prose/CodePreview.vue +9 -9
  130. package/dist/runtime/components/prose/CodeTree.vue +61 -61
  131. package/dist/runtime/components/prose/Collapsible.vue +15 -15
  132. package/dist/runtime/components/prose/Em.vue +1 -1
  133. package/dist/runtime/components/prose/Field.vue +23 -23
  134. package/dist/runtime/components/prose/FieldGroup.vue +3 -3
  135. package/dist/runtime/components/prose/H1.vue +6 -6
  136. package/dist/runtime/components/prose/H2.vue +10 -10
  137. package/dist/runtime/components/prose/H3.vue +10 -10
  138. package/dist/runtime/components/prose/H4.vue +6 -6
  139. package/dist/runtime/components/prose/Hr.vue +1 -1
  140. package/dist/runtime/components/prose/Icon.vue +1 -1
  141. package/dist/runtime/components/prose/Img.vue +8 -8
  142. package/dist/runtime/components/prose/Kbd.vue +1 -1
  143. package/dist/runtime/components/prose/Li.vue +3 -3
  144. package/dist/runtime/components/prose/Ol.vue +3 -3
  145. package/dist/runtime/components/prose/P.vue +3 -3
  146. package/dist/runtime/components/prose/Pre.vue +20 -20
  147. package/dist/runtime/components/prose/Script.vue +3 -3
  148. package/dist/runtime/components/prose/Steps.vue +3 -3
  149. package/dist/runtime/components/prose/Strong.vue +3 -3
  150. package/dist/runtime/components/prose/Table.vue +5 -5
  151. package/dist/runtime/components/prose/Tabs.vue +14 -14
  152. package/dist/runtime/components/prose/TabsItem.vue +5 -5
  153. package/dist/runtime/components/prose/Tbody.vue +3 -3
  154. package/dist/runtime/components/prose/Td.vue +3 -3
  155. package/dist/runtime/components/prose/Th.vue +3 -3
  156. package/dist/runtime/components/prose/Thead.vue +3 -3
  157. package/dist/runtime/components/prose/Tr.vue +3 -3
  158. package/dist/runtime/components/prose/Ul.vue +3 -3
  159. package/dist/runtime/components/prose/callout/Caution.vue +3 -3
  160. package/dist/runtime/components/prose/callout/Note.vue +3 -3
  161. package/dist/runtime/components/prose/callout/Tip.vue +3 -3
  162. package/dist/runtime/components/prose/callout/Warning.vue +3 -3
  163. package/dist/runtime/inertia/components/Link.vue +12 -12
  164. package/dist/runtime/inertia/components/LinkBase.vue +15 -15
  165. package/dist/runtime/types/app.config.d.ts +6 -6
  166. package/dist/runtime/vue/components/Icon.vue +1 -1
  167. package/dist/runtime/vue/components/Link.vue +31 -31
  168. package/dist/runtime/vue/components/color-mode/ColorModeButton.vue +7 -7
  169. package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +7 -7
  170. package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue +7 -7
  171. package/package.json +1 -1
  172. package/vue-plugin.d.ts +5 -5
  173. package/.nuxt/ui/content/content-navigation.ts +0 -339
  174. package/.nuxt/ui/content/content-search-button.ts +0 -6
  175. package/.nuxt/ui/content/content-search.ts +0 -6
  176. package/.nuxt/ui/content/content-surround.ts +0 -39
  177. package/.nuxt/ui/content/content-toc.ts +0 -150
  178. package/.nuxt/ui/content/index.ts +0 -5
  179. package/.nuxt/ui/error.ts +0 -9
  180. package/.nuxt/ui/prose/a.ts +0 -6
  181. package/.nuxt/ui/prose/accordion-item.ts +0 -3
  182. package/.nuxt/ui/prose/accordion.ts +0 -6
  183. package/.nuxt/ui/prose/badge.ts +0 -3
  184. package/.nuxt/ui/prose/blockquote.ts +0 -3
  185. package/.nuxt/ui/prose/callout.ts +0 -129
  186. package/.nuxt/ui/prose/card-group.ts +0 -3
  187. package/.nuxt/ui/prose/card.ts +0 -119
  188. package/.nuxt/ui/prose/code-collapse.ts +0 -19
  189. package/.nuxt/ui/prose/code-group.ts +0 -13
  190. package/.nuxt/ui/prose/code-icon.ts +0 -66
  191. package/.nuxt/ui/prose/code-preview.ts +0 -14
  192. package/.nuxt/ui/prose/code-tree.ts +0 -28
  193. package/.nuxt/ui/prose/code.ts +0 -27
  194. package/.nuxt/ui/prose/collapsible.ts +0 -12
  195. package/.nuxt/ui/prose/em.ts +0 -3
  196. package/.nuxt/ui/prose/field-group.ts +0 -3
  197. package/.nuxt/ui/prose/field.ts +0 -11
  198. package/.nuxt/ui/prose/h1.ts +0 -6
  199. package/.nuxt/ui/prose/h2.ts +0 -14
  200. package/.nuxt/ui/prose/h3.ts +0 -14
  201. package/.nuxt/ui/prose/h4.ts +0 -6
  202. package/.nuxt/ui/prose/hr.ts +0 -3
  203. package/.nuxt/ui/prose/icon.ts +0 -3
  204. package/.nuxt/ui/prose/img.ts +0 -3
  205. package/.nuxt/ui/prose/index.ts +0 -41
  206. package/.nuxt/ui/prose/kbd.ts +0 -3
  207. package/.nuxt/ui/prose/li.ts +0 -3
  208. package/.nuxt/ui/prose/ol.ts +0 -3
  209. package/.nuxt/ui/prose/p.ts +0 -3
  210. package/.nuxt/ui/prose/pre.ts +0 -17
  211. package/.nuxt/ui/prose/steps.ts +0 -19
  212. package/.nuxt/ui/prose/strong.ts +0 -3
  213. package/.nuxt/ui/prose/table.ts +0 -6
  214. package/.nuxt/ui/prose/tabs-item.ts +0 -3
  215. package/.nuxt/ui/prose/tabs.ts +0 -5
  216. package/.nuxt/ui/prose/tbody.ts +0 -3
  217. package/.nuxt/ui/prose/td.ts +0 -3
  218. package/.nuxt/ui/prose/th.ts +0 -3
  219. package/.nuxt/ui/prose/thead.ts +0 -3
  220. package/.nuxt/ui/prose/tr.ts +0 -3
  221. package/.nuxt/ui/prose/ul.ts +0 -3
@@ -1,129 +0,0 @@
1
- const color = [
2
- "primary",
3
- "secondary",
4
- "success",
5
- "info",
6
- "warning",
7
- "error",
8
- "neutral"
9
- ] as const
10
-
11
- export default {
12
- "slots": {
13
- "base": [
14
- "group relative block px-4 py-3 rounded-md text-sm/6 my-5 last:mb-0 [&_code]:text-xs/5 [&_code]:bg-default [&_pre]:bg-default [&>div]:my-2.5 [&_ul]:my-2.5 [&_ol]:my-2.5 [&>*]:last:!mb-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5 [&_li]:my-0",
15
- "transition-colors"
16
- ],
17
- "icon": [
18
- "size-4 shrink-0 align-sub me-1.5",
19
- "transition-colors"
20
- ],
21
- "externalIcon": [
22
- "size-4 align-top absolute right-2 top-2 pointer-events-none",
23
- "transition-colors"
24
- ]
25
- },
26
- "variants": {
27
- "color": {
28
- "primary": {
29
- "base": "border border-primary/25 bg-primary/10 text-primary-600 dark:text-primary-300 [&_a]:text-primary [&_a]:hover:border-primary [&_code]:text-primary-600 dark:[&_code]:text-primary-300 [&_code]:border-primary/25 [&_a]:hover:[&>code]:border-primary [&_a]:hover:[&>code]:text-primary [&>ul]:marker:text-primary/50",
30
- "icon": "text-primary",
31
- "externalIcon": "text-primary-600 dark:text-primary-300"
32
- },
33
- "secondary": {
34
- "base": "border border-secondary/25 bg-secondary/10 text-secondary-600 dark:text-secondary-300 [&_a]:text-secondary [&_a]:hover:border-secondary [&_code]:text-secondary-600 dark:[&_code]:text-secondary-300 [&_code]:border-secondary/25 [&_a]:hover:[&>code]:border-secondary [&_a]:hover:[&>code]:text-secondary [&>ul]:marker:text-secondary/50",
35
- "icon": "text-secondary",
36
- "externalIcon": "text-secondary-600 dark:text-secondary-300"
37
- },
38
- "success": {
39
- "base": "border border-success/25 bg-success/10 text-success-600 dark:text-success-300 [&_a]:text-success [&_a]:hover:border-success [&_code]:text-success-600 dark:[&_code]:text-success-300 [&_code]:border-success/25 [&_a]:hover:[&>code]:border-success [&_a]:hover:[&>code]:text-success [&>ul]:marker:text-success/50",
40
- "icon": "text-success",
41
- "externalIcon": "text-success-600 dark:text-success-300"
42
- },
43
- "info": {
44
- "base": "border border-info/25 bg-info/10 text-info-600 dark:text-info-300 [&_a]:text-info [&_a]:hover:border-info [&_code]:text-info-600 dark:[&_code]:text-info-300 [&_code]:border-info/25 [&_a]:hover:[&>code]:border-info [&_a]:hover:[&>code]:text-info [&>ul]:marker:text-info/50",
45
- "icon": "text-info",
46
- "externalIcon": "text-info-600 dark:text-info-300"
47
- },
48
- "warning": {
49
- "base": "border border-warning/25 bg-warning/10 text-warning-600 dark:text-warning-300 [&_a]:text-warning [&_a]:hover:border-warning [&_code]:text-warning-600 dark:[&_code]:text-warning-300 [&_code]:border-warning/25 [&_a]:hover:[&>code]:border-warning [&_a]:hover:[&>code]:text-warning [&>ul]:marker:text-warning/50",
50
- "icon": "text-warning",
51
- "externalIcon": "text-warning-600 dark:text-warning-300"
52
- },
53
- "error": {
54
- "base": "border border-error/25 bg-error/10 text-error-600 dark:text-error-300 [&_a]:text-error [&_a]:hover:border-error [&_code]:text-error-600 dark:[&_code]:text-error-300 [&_code]:border-error/25 [&_a]:hover:[&>code]:border-error [&_a]:hover:[&>code]:text-error [&>ul]:marker:text-error/50",
55
- "icon": "text-error",
56
- "externalIcon": "text-error-600 dark:text-error-300"
57
- },
58
- "neutral": {
59
- "base": "border border-muted bg-muted text-default",
60
- "icon": "text-highlighted",
61
- "externalIcon": "text-dimmed"
62
- }
63
- },
64
- "to": {
65
- "true": "border-dashed"
66
- }
67
- },
68
- "compoundVariants": [
69
- {
70
- "color": "primary" as typeof color[number],
71
- "to": true,
72
- "class": {
73
- "base": "hover:border-primary",
74
- "externalIcon": "group-hover:text-primary"
75
- }
76
- },
77
- {
78
- "color": "secondary" as typeof color[number],
79
- "to": true,
80
- "class": {
81
- "base": "hover:border-secondary",
82
- "externalIcon": "group-hover:text-secondary"
83
- }
84
- },
85
- {
86
- "color": "success" as typeof color[number],
87
- "to": true,
88
- "class": {
89
- "base": "hover:border-success",
90
- "externalIcon": "group-hover:text-success"
91
- }
92
- },
93
- {
94
- "color": "info" as typeof color[number],
95
- "to": true,
96
- "class": {
97
- "base": "hover:border-info",
98
- "externalIcon": "group-hover:text-info"
99
- }
100
- },
101
- {
102
- "color": "warning" as typeof color[number],
103
- "to": true,
104
- "class": {
105
- "base": "hover:border-warning",
106
- "externalIcon": "group-hover:text-warning"
107
- }
108
- },
109
- {
110
- "color": "error" as typeof color[number],
111
- "to": true,
112
- "class": {
113
- "base": "hover:border-error",
114
- "externalIcon": "group-hover:text-error"
115
- }
116
- },
117
- {
118
- "color": "neutral" as typeof color[number],
119
- "to": true,
120
- "class": {
121
- "base": "hover:border-inverted",
122
- "externalIcon": "group-hover:text-highlighted"
123
- }
124
- }
125
- ],
126
- "defaultVariants": {
127
- "color": "neutral" as typeof color[number]
128
- }
129
- }
@@ -1,3 +0,0 @@
1
- export default {
2
- "base": "grid grid-cols-1 sm:grid-cols-2 gap-5 my-5 *:my-0"
3
- }
@@ -1,119 +0,0 @@
1
- const color = [
2
- "primary",
3
- "secondary",
4
- "success",
5
- "info",
6
- "warning",
7
- "error",
8
- "neutral"
9
- ] as const
10
-
11
- export default {
12
- "slots": {
13
- "base": [
14
- "group relative block my-5 p-4 sm:p-6 border border-default rounded-md bg-default",
15
- "transition-colors"
16
- ],
17
- "icon": "size-6 mb-2 block",
18
- "title": "text-highlighted font-semibold",
19
- "description": "text-[15px] text-muted *:first:mt-0 *:last:mb-0 *:my-1",
20
- "externalIcon": [
21
- "size-4 align-top absolute right-2 top-2 text-dimmed pointer-events-none",
22
- "transition-colors"
23
- ]
24
- },
25
- "variants": {
26
- "color": {
27
- "primary": {
28
- "icon": "text-primary"
29
- },
30
- "secondary": {
31
- "icon": "text-secondary"
32
- },
33
- "success": {
34
- "icon": "text-success"
35
- },
36
- "info": {
37
- "icon": "text-info"
38
- },
39
- "warning": {
40
- "icon": "text-warning"
41
- },
42
- "error": {
43
- "icon": "text-error"
44
- },
45
- "neutral": {
46
- "icon": "text-highlighted"
47
- }
48
- },
49
- "to": {
50
- "true": ""
51
- },
52
- "title": {
53
- "true": {
54
- "description": "mt-1"
55
- }
56
- }
57
- },
58
- "compoundVariants": [
59
- {
60
- "color": "primary" as typeof color[number],
61
- "to": true,
62
- "class": {
63
- "base": "hover:bg-primary/10 hover:border-primary",
64
- "externalIcon": "group-hover:text-primary"
65
- }
66
- },
67
- {
68
- "color": "secondary" as typeof color[number],
69
- "to": true,
70
- "class": {
71
- "base": "hover:bg-secondary/10 hover:border-secondary",
72
- "externalIcon": "group-hover:text-secondary"
73
- }
74
- },
75
- {
76
- "color": "success" as typeof color[number],
77
- "to": true,
78
- "class": {
79
- "base": "hover:bg-success/10 hover:border-success",
80
- "externalIcon": "group-hover:text-success"
81
- }
82
- },
83
- {
84
- "color": "info" as typeof color[number],
85
- "to": true,
86
- "class": {
87
- "base": "hover:bg-info/10 hover:border-info",
88
- "externalIcon": "group-hover:text-info"
89
- }
90
- },
91
- {
92
- "color": "warning" as typeof color[number],
93
- "to": true,
94
- "class": {
95
- "base": "hover:bg-warning/10 hover:border-warning",
96
- "externalIcon": "group-hover:text-warning"
97
- }
98
- },
99
- {
100
- "color": "error" as typeof color[number],
101
- "to": true,
102
- "class": {
103
- "base": "hover:bg-error/10 hover:border-error",
104
- "externalIcon": "group-hover:text-error"
105
- }
106
- },
107
- {
108
- "color": "neutral" as typeof color[number],
109
- "to": true,
110
- "class": {
111
- "base": "hover:bg-elevated/50 hover:border-inverted",
112
- "externalIcon": "group-hover:text-highlighted"
113
- }
114
- }
115
- ],
116
- "defaultVariants": {
117
- "color": "primary" as typeof color[number]
118
- }
119
- }
@@ -1,19 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "relative [&_pre]:h-[200px]",
4
- "footer": "h-16 absolute inset-x-px bottom-px rounded-b-md flex items-center justify-center",
5
- "trigger": "group",
6
- "triggerIcon": "group-data-[state=open]:rotate-180"
7
- },
8
- "variants": {
9
- "open": {
10
- "true": {
11
- "root": "[&_pre]:h-auto [&_pre]:min-h-[200px] [&_pre]:max-h-[80vh] [&_pre]:pb-12"
12
- },
13
- "false": {
14
- "root": "[&_pre]:overflow-hidden",
15
- "footer": "bg-gradient-to-t from-muted"
16
- }
17
- }
18
- }
19
- }
@@ -1,13 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "relative group *:not-first:!my-0 *:not-first:!static my-5",
4
- "list": "relative flex items-center gap-1 border border-muted bg-default border-b-0 rounded-t-md overflow-x-auto p-2",
5
- "indicator": "absolute left-0 inset-y-2 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position) transition-[translate,width] duration-200 bg-elevated rounded-md shadow-xs",
6
- "trigger": [
7
- "relative inline-flex items-center gap-1.5 text-default data-[state=active]:text-highlighted hover:bg-elevated/50 px-2 py-1.5 text-sm rounded-md disabled:cursor-not-allowed disabled:opacity-75 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary focus:outline-none",
8
- "transition-colors"
9
- ],
10
- "triggerIcon": "size-4 shrink-0",
11
- "triggerLabel": "truncate"
12
- }
13
- }
@@ -1,66 +0,0 @@
1
- export default {
2
- "package.json": "i-vscode-icons-file-type-node",
3
- "tsconfig.json": "i-vscode-icons-file-type-tsconfig",
4
- ".npmrc": "i-vscode-icons-file-type-npm",
5
- ".editorconfig": "i-vscode-icons-file-type-editorconfig",
6
- ".eslintrc": "i-vscode-icons-file-type-eslint",
7
- ".eslintrc.cjs": "i-vscode-icons-file-type-eslint",
8
- ".eslintignore": "i-vscode-icons-file-type-eslint",
9
- "eslint.config.js": "i-vscode-icons-file-type-eslint",
10
- "eslint.config.mjs": "i-vscode-icons-file-type-eslint",
11
- "eslint.config.cjs": "i-vscode-icons-file-type-eslint",
12
- ".gitignore": "i-vscode-icons-file-type-git",
13
- "yarn.lock": "i-vscode-icons-file-type-yarn",
14
- ".env": "i-vscode-icons-file-type-dotenv",
15
- ".env.example": "i-vscode-icons-file-type-dotenv",
16
- ".vscode/settings.json": "i-vscode-icons-file-type-vscode",
17
- "nuxt": "i-vscode-icons-file-type-nuxt",
18
- ".nuxtrc": "i-vscode-icons-file-type-nuxt",
19
- ".nuxtignore": "i-vscode-icons-file-type-nuxt",
20
- "nuxt.config.js": "i-vscode-icons-file-type-nuxt",
21
- "nuxt.config.ts": "i-vscode-icons-file-type-nuxt",
22
- "nuxt.schema.ts": "i-vscode-icons-file-type-nuxt",
23
- "tailwind.config.js": "i-vscode-icons-file-type-tailwind",
24
- "tailwind.config.ts": "i-vscode-icons-file-type-tailwind",
25
- "vue": "i-vscode-icons-file-type-vue",
26
- "ts": "i-vscode-icons-file-type-typescript",
27
- "tsx": "i-vscode-icons-file-type-typescript",
28
- "mjs": "i-vscode-icons-file-type-js",
29
- "cjs": "i-vscode-icons-file-type-js",
30
- "js": "i-vscode-icons-file-type-js",
31
- "jsx": "i-vscode-icons-file-type-js",
32
- "md": "i-vscode-icons-file-type-markdown",
33
- "py": "i-vscode-icons-file-type-python",
34
- "cs": "i-vscode-icons-file-type-csharp",
35
- "asm": "i-vscode-icons-file-type-assembly",
36
- "f": "i-vscode-icons-file-type-fortran",
37
- "hs": "i-vscode-icons-file-type-haskell",
38
- "fs": "i-vscode-icons-file-type-fsharp",
39
- "kt": "i-vscode-icons-file-type-kotlin",
40
- "rs": "i-vscode-icons-file-type-rust",
41
- "rb": "i-vscode-icons-file-type-ruby",
42
- "lsp": "i-vscode-icons-file-type-lisp",
43
- "ps1": "i-vscode-icons-file-type-powershell",
44
- "psd1": "i-vscode-icons-file-type-powershell",
45
- "psm1": "i-vscode-icons-file-type-powershell",
46
- "go": "i-vscode-icons-file-type-go",
47
- "gleam": "i-vscode-icons-file-type-gleam",
48
- "bicep": "i-vscode-icons-file-type-bicep",
49
- "bicepparam": "i-vscode-icons-file-type-bicep",
50
- "exs": "i-vscode-icons-file-type-elixir",
51
- "erl": "i-vscode-icons-file-type-erlang",
52
- "sbt": "i-vscode-icons-file-type-scala",
53
- "h": "i-vscode-icons-file-type-cppheader",
54
- "ino": "i-vscode-icons-file-type-arduino",
55
- "pl": "i-vscode-icons-file-type-perl",
56
- "jl": "i-vscode-icons-file-type-julia",
57
- "dart": "i-vscode-icons-file-type-dartlang",
58
- "ico": "i-vscode-icons-file-type-favicon",
59
- "npm": "i-vscode-icons-file-type-npm",
60
- "pnpm": "i-vscode-icons-file-type-pnpm",
61
- "npx": "i-vscode-icons-file-type-npm",
62
- "yarn": "i-vscode-icons-file-type-yarn",
63
- "bun": "i-vscode-icons-file-type-bun",
64
- "yml": "i-vscode-icons-file-type-yaml",
65
- "terminal": "i-lucide-terminal"
66
- }
@@ -1,14 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "my-5",
4
- "preview": "flex justify-center border border-muted relative p-4 rounded-md",
5
- "code": "[&>div>pre]:rounded-t-none [&>div]:my-0"
6
- },
7
- "variants": {
8
- "code": {
9
- "true": {
10
- "preview": "border-b-0 rounded-b-none"
11
- }
12
- }
13
- }
14
- }
@@ -1,28 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "relative lg:h-[450px] my-5 grid lg:grid-cols-3 border border-muted rounded-md",
4
- "list": "isolate relative p-2 border-b lg:border-b-0 lg:border-e border-muted overflow-y-auto",
5
- "item": "",
6
- "listWithChildren": "ms-4.5 border-s border-default",
7
- "itemWithChildren": "ps-1.5 -ms-px",
8
- "link": "relative group peer w-full px-2.5 py-1.5 before:inset-y-px before:inset-x-0 flex items-center gap-1.5 text-sm before:absolute before:z-[-1] before:rounded-md focus:outline-none focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",
9
- "linkLeadingIcon": "size-4 shrink-0",
10
- "linkLabel": "truncate",
11
- "linkTrailing": "ms-auto inline-flex gap-1.5 items-center",
12
- "linkTrailingIcon": "size-5 transform transition-transform duration-200 shrink-0 group-data-expanded:rotate-180",
13
- "content": "overflow-hidden lg:col-span-2 flex flex-col [&>div]:my-0 [&>div]:flex-1 [&>div]:flex [&>div]:flex-col [&>div>div]:border-0 [&>div>pre]:border-b-0 [&>div>pre]:border-s-0 [&>div>pre]:border-e-0 [&>div>pre]:rounded-l-none [&>div>pre]:flex-1 [&>div]:overflow-y-auto"
14
- },
15
- "variants": {
16
- "active": {
17
- "true": {
18
- "link": "text-highlighted before:bg-elevated"
19
- },
20
- "false": {
21
- "link": [
22
- "hover:text-highlighted hover:before:bg-elevated/50",
23
- "transition-colors before:transition-colors"
24
- ]
25
- }
26
- }
27
- }
28
- }
@@ -1,27 +0,0 @@
1
- const color = [
2
- "primary",
3
- "secondary",
4
- "success",
5
- "info",
6
- "warning",
7
- "error",
8
- "neutral"
9
- ] as const
10
-
11
- export default {
12
- "base": "px-1.5 py-0.5 text-sm font-mono font-medium rounded-md inline-block",
13
- "variants": {
14
- "color": {
15
- "primary": "border border-primary/25 bg-primary/10 text-primary",
16
- "secondary": "border border-secondary/25 bg-secondary/10 text-secondary",
17
- "success": "border border-success/25 bg-success/10 text-success",
18
- "info": "border border-info/25 bg-info/10 text-info",
19
- "warning": "border border-warning/25 bg-warning/10 text-warning",
20
- "error": "border border-error/25 bg-error/10 text-error",
21
- "neutral": "border border-muted text-highlighted bg-muted"
22
- }
23
- },
24
- "defaultVariants": {
25
- "color": "neutral" as typeof color[number]
26
- }
27
- }
@@ -1,12 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "my-5",
4
- "trigger": [
5
- "group relative rounded-xs inline-flex items-center gap-1.5 text-muted hover:text-default text-sm focus-visible:ring-2 focus-visible:ring-primary focus:outline-none",
6
- "transition-colors"
7
- ],
8
- "triggerIcon": "size-4 shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",
9
- "triggerLabel": "truncate",
10
- "content": "*:first:mt-2.5 *:last:mb-0 *:my-1.5"
11
- }
12
- }
@@ -1,3 +0,0 @@
1
- export default {
2
- "base": ""
3
- }
@@ -1,3 +0,0 @@
1
- export default {
2
- "base": "my-5 divide-y divide-default *:not-last:pb-5"
3
- }
@@ -1,11 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "my-5",
4
- "container": "flex items-center gap-3 font-mono text-sm",
5
- "name": "font-semibold text-primary",
6
- "wrapper": "flex-1 flex items-center gap-1.5 text-xs",
7
- "required": "rounded-sm bg-error/10 text-error px-1.5 py-0.5",
8
- "type": "rounded-sm bg-elevated text-toned px-1.5 py-0.5",
9
- "description": "mt-3 text-muted text-sm [&_code]:text-xs/4"
10
- }
11
- }
@@ -1,6 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": "text-4xl text-highlighted font-bold mb-8 scroll-mt-[calc(45px+var(--ui-header-height))] lg:scroll-mt-(--ui-header-height)",
4
- "link": "inline-flex items-center gap-2"
5
- }
6
- }
@@ -1,14 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": [
4
- "relative text-2xl text-highlighted font-bold mt-12 mb-6 scroll-mt-[calc(48px+45px+var(--ui-header-height))] lg:scroll-mt-[calc(48px+var(--ui-header-height))] [&>a]:focus-visible:outline-primary [&>a>code]:border-dashed hover:[&>a>code]:border-primary hover:[&>a>code]:text-primary [&>a>code]:text-xl/7 [&>a>code]:font-bold",
5
- "[&>a>code]:transition-colors"
6
- ],
7
- "leading": [
8
- "absolute -ms-8 top-1 opacity-0 group-hover:opacity-100 group-focus:opacity-100 p-1 bg-elevated hover:text-primary rounded-md hidden lg:flex text-muted",
9
- "transition"
10
- ],
11
- "leadingIcon": "size-4 shrink-0",
12
- "link": "group lg:ps-2 lg:-ms-2"
13
- }
14
- }
@@ -1,14 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": [
4
- "relative text-xl text-highlighted font-bold mt-8 mb-3 scroll-mt-[calc(32px+45px+var(--ui-header-height))] lg:scroll-mt-[calc(32px+var(--ui-header-height))] [&>a]:focus-visible:outline-primary [&>a>code]:border-dashed hover:[&>a>code]:border-primary hover:[&>a>code]:text-primary [&>a>code]:text-lg/6 [&>a>code]:font-bold",
5
- "[&>a>code]:transition-colors"
6
- ],
7
- "leading": [
8
- "absolute -ms-8 top-0.5 opacity-0 group-hover:opacity-100 group-focus:opacity-100 p-1 bg-elevated hover:text-primary rounded-md hidden lg:flex text-muted",
9
- "transition"
10
- ],
11
- "leadingIcon": "size-4 shrink-0",
12
- "link": "group lg:ps-2 lg:-ms-2"
13
- }
14
- }
@@ -1,6 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": "text-lg text-highlighted font-bold mt-6 mb-2 scroll-mt-[calc(24px+45px+var(--ui-header-height))] lg:scroll-mt-[calc(24px+var(--ui-header-height))] [&>a]:focus-visible:outline-primary",
4
- "link": ""
5
- }
6
- }
@@ -1,3 +0,0 @@
1
- export default {
2
- "base": "border-t border-default my-12"
3
- }
@@ -1,3 +0,0 @@
1
- export default {
2
- "base": "size-4 shrink-0 align-sub"
3
- }
@@ -1,3 +0,0 @@
1
- export default {
2
- "base": ""
3
- }
@@ -1,41 +0,0 @@
1
- export { default as a } from './a'
2
- export { default as accordion } from './accordion'
3
- export { default as accordionItem } from './accordion-item'
4
- export { default as badge } from './badge'
5
- export { default as blockquote } from './blockquote'
6
- export { default as callout } from './callout'
7
- export { default as card } from './card'
8
- export { default as cardGroup } from './card-group'
9
- export { default as code } from './code'
10
- export { default as codeCollapse } from './code-collapse'
11
- export { default as codeGroup } from './code-group'
12
- export { default as codeIcon } from './code-icon'
13
- export { default as codePreview } from './code-preview'
14
- export { default as codeTree } from './code-tree'
15
- export { default as collapsible } from './collapsible'
16
- export { default as em } from './em'
17
- export { default as field } from './field'
18
- export { default as fieldGroup } from './field-group'
19
- export { default as h1 } from './h1'
20
- export { default as h2 } from './h2'
21
- export { default as h3 } from './h3'
22
- export { default as h4 } from './h4'
23
- export { default as hr } from './hr'
24
- export { default as icon } from './icon'
25
- export { default as img } from './img'
26
- export { default as kbd } from './kbd'
27
- export { default as li } from './li'
28
- export { default as ol } from './ol'
29
- export { default as p } from './p'
30
- export { default as pre } from './pre'
31
- export { default as steps } from './steps'
32
- export { default as strong } from './strong'
33
- export { default as table } from './table'
34
- export { default as tabs } from './tabs'
35
- export { default as tabsItem } from './tabs-item'
36
- export { default as tbody } from './tbody'
37
- export { default as td } from './td'
38
- export { default as th } from './th'
39
- export { default as thead } from './thead'
40
- export { default as tr } from './tr'
41
- export { default as ul } from './ul'
@@ -1,3 +0,0 @@
1
- export default {
2
- "base": "align-text-top"
3
- }
@@ -1,3 +0,0 @@
1
- export default {
2
- "base": "my-1.5 ps-1.5 leading-7 [&>ul]:my-0"
3
- }
@@ -1,3 +0,0 @@
1
- export default {
2
- "base": "list-decimal ps-6 my-5 marker:text-muted"
3
- }
@@ -1,3 +0,0 @@
1
- export default {
2
- "base": "my-5 leading-7 text-pretty"
3
- }
@@ -1,17 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "relative my-5 group",
4
- "header": "flex items-center gap-1.5 border border-muted bg-default border-b-0 relative rounded-t-md px-4 py-3",
5
- "filename": "text-default text-sm/6",
6
- "icon": "size-4 shrink-0",
7
- "copy": "absolute top-[11px] right-[11px] lg:opacity-0 lg:group-hover:opacity-100 transition",
8
- "base": "group font-mono text-sm/6 border border-muted bg-muted rounded-md px-4 py-3 whitespace-pre-wrap break-words overflow-x-auto focus:outline-none"
9
- },
10
- "variants": {
11
- "filename": {
12
- "true": {
13
- "root": "[&>pre]:rounded-t-none [&>pre]:my-0 my-5"
14
- }
15
- }
16
- }
17
- }
@@ -1,19 +0,0 @@
1
- const level = [
2
- "2",
3
- "3",
4
- "4"
5
- ] as const
6
-
7
- export default {
8
- "base": "ms-4 border-s border-default ps-8 [counter-reset:step]",
9
- "variants": {
10
- "level": {
11
- "2": "[&>h2]:[counter-increment:step] [&>h2]:relative [&>h2]:before:absolute [&>h2]:before:size-8 [&>h2]:before:bg-elevated [&>h2]:before:rounded-full [&>h2]:before:font-semibold [&>h2]:before:text-sm [&>h2]:before:tabular-nums [&>h2]:before:inline-flex [&>h2]:before:items-center [&>h2]:before:justify-center [&>h2]:before:ring-4 [&>h2]:before:ring-bg [&>h2]:before:-ms-[48.5px] [&>h2]:before:-mt-0 [&>h2]:before:content-[counter(step)] [&>h2>a>span.absolute]:hidden",
12
- "3": "[&>h3]:[counter-increment:step] [&>h3]:relative [&>h3]:before:absolute [&>h3]:before:size-7 [&>h3]:before:inset-x-0.5 [&>h3]:before:bg-elevated [&>h3]:before:rounded-full [&>h3]:before:font-semibold [&>h3]:before:text-sm [&>h3]:before:tabular-nums [&>h3]:before:inline-flex [&>h3]:before:items-center [&>h3]:before:justify-center [&>h3]:before:ring-4 [&>h3]:before:ring-bg [&>h3]:before:-ms-[48.5px] [&>h3]:before:content-[counter(step)] [&>h3>a>span.absolute]:hidden",
13
- "4": "[&>h4]:[counter-increment:step] [&>h4]:relative [&>h4]:before:absolute [&>h4]:before:size-7 [&>h4]:before:inset-x-0.5 [&>h4]:before:bg-elevated [&>h4]:before:rounded-full [&>h4]:before:font-semibold [&>h4]:before:text-sm [&>h4]:before:tabular-nums [&>h4]:before:inline-flex [&>h4]:before:items-center [&>h4]:before:justify-center [&>h4]:before:ring-4 [&>h4]:before:ring-bg [&>h4]:before:-ms-[48.5px] [&>h4]:before:content-[counter(step)] [&>h4>a>span.absolute]:hidden"
14
- }
15
- },
16
- "defaultVariants": {
17
- "level": "3" as typeof level[number]
18
- }
19
- }
@@ -1,3 +0,0 @@
1
- export default {
2
- "base": ""
3
- }
@@ -1,6 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "relative my-5 overflow-x-auto",
4
- "base": "w-full border-separate border-spacing-0 rounded-md"
5
- }
6
- }
@@ -1,3 +0,0 @@
1
- export default {
2
- "base": "*:first:mt-0 *:last:mb-0 *:my-1.5"
3
- }