@eslamdevui/ui 3.2.0-beta.1 → 3.2.0-beta.2

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 (302) hide show
  1. package/.nuxt/ui/alert.ts +5 -0
  2. package/.nuxt/ui/badge.ts +5 -0
  3. package/.nuxt/ui/button-group.ts +13 -0
  4. package/.nuxt/ui/button.ts +5 -0
  5. package/.nuxt/ui/carousel.ts +5 -0
  6. package/.nuxt/ui/content/content-navigation.ts +339 -0
  7. package/.nuxt/ui/content/content-search-button.ts +6 -0
  8. package/.nuxt/ui/content/content-search.ts +6 -0
  9. package/.nuxt/ui/content/content-surround.ts +39 -0
  10. package/.nuxt/ui/content/content-toc.ts +150 -0
  11. package/.nuxt/ui/content/index.ts +5 -0
  12. package/.nuxt/ui/content-surround.ts +5 -0
  13. package/.nuxt/ui/content-toc.ts +6 -6
  14. package/.nuxt/ui/dashboard-navbar.ts +5 -0
  15. package/.nuxt/ui/dashboard-sidebar-collapse.ts +5 -0
  16. package/.nuxt/ui/dashboard-sidebar-toggle.ts +5 -0
  17. package/.nuxt/ui/dashboard-sidebar.ts +10 -0
  18. package/.nuxt/ui/error.ts +9 -0
  19. package/.nuxt/ui/index.ts +48 -1
  20. package/.nuxt/ui/input-menu.ts +9 -0
  21. package/.nuxt/ui/input-number.ts +5 -0
  22. package/.nuxt/ui/input-tags.ts +9 -0
  23. package/.nuxt/ui/input.ts +9 -0
  24. package/.nuxt/ui/prose/a.ts +6 -0
  25. package/.nuxt/ui/prose/accordion-item.ts +3 -0
  26. package/.nuxt/ui/prose/accordion.ts +6 -0
  27. package/.nuxt/ui/prose/badge.ts +3 -0
  28. package/.nuxt/ui/prose/blockquote.ts +3 -0
  29. package/.nuxt/ui/prose/callout.ts +129 -0
  30. package/.nuxt/ui/prose/card-group.ts +3 -0
  31. package/.nuxt/ui/prose/card.ts +119 -0
  32. package/.nuxt/ui/prose/code-collapse.ts +19 -0
  33. package/.nuxt/ui/prose/code-group.ts +13 -0
  34. package/.nuxt/ui/prose/code-icon.ts +66 -0
  35. package/.nuxt/ui/prose/code-preview.ts +14 -0
  36. package/.nuxt/ui/prose/code-tree.ts +28 -0
  37. package/.nuxt/ui/prose/code.ts +27 -0
  38. package/.nuxt/ui/prose/collapsible.ts +12 -0
  39. package/.nuxt/ui/prose/em.ts +3 -0
  40. package/.nuxt/ui/prose/field-group.ts +3 -0
  41. package/.nuxt/ui/prose/field.ts +11 -0
  42. package/.nuxt/ui/prose/h1.ts +6 -0
  43. package/.nuxt/ui/prose/h2.ts +14 -0
  44. package/.nuxt/ui/prose/h3.ts +14 -0
  45. package/.nuxt/ui/prose/h4.ts +6 -0
  46. package/.nuxt/ui/prose/hr.ts +3 -0
  47. package/.nuxt/ui/prose/icon.ts +3 -0
  48. package/.nuxt/ui/prose/img.ts +3 -0
  49. package/.nuxt/ui/prose/index.ts +41 -0
  50. package/.nuxt/ui/prose/kbd.ts +3 -0
  51. package/.nuxt/ui/prose/li.ts +3 -0
  52. package/.nuxt/ui/prose/ol.ts +3 -0
  53. package/.nuxt/ui/prose/p.ts +3 -0
  54. package/.nuxt/ui/prose/pre.ts +17 -0
  55. package/.nuxt/ui/prose/steps.ts +19 -0
  56. package/.nuxt/ui/prose/strong.ts +3 -0
  57. package/.nuxt/ui/prose/table.ts +6 -0
  58. package/.nuxt/ui/prose/tabs-item.ts +3 -0
  59. package/.nuxt/ui/prose/tabs.ts +5 -0
  60. package/.nuxt/ui/prose/tbody.ts +3 -0
  61. package/.nuxt/ui/prose/td.ts +3 -0
  62. package/.nuxt/ui/prose/th.ts +3 -0
  63. package/.nuxt/ui/prose/thead.ts +3 -0
  64. package/.nuxt/ui/prose/tr.ts +3 -0
  65. package/.nuxt/ui/prose/ul.ts +3 -0
  66. package/.nuxt/ui/select-menu.ts +9 -0
  67. package/.nuxt/ui/select.ts +9 -0
  68. package/.nuxt/ui/textarea.ts +9 -0
  69. package/.nuxt/ui/toast.ts +5 -0
  70. package/LICENSE.md +9 -9
  71. package/README.md +147 -147
  72. package/cli/commands/make/component.mjs +95 -95
  73. package/cli/commands/make/index.mjs +14 -14
  74. package/cli/commands/make/locale.mjs +64 -64
  75. package/cli/index.mjs +15 -15
  76. package/cli/package.json +13 -13
  77. package/cli/templates.mjs +236 -228
  78. package/cli/utils.mjs +31 -31
  79. package/dist/module.json +1 -1
  80. package/dist/module.mjs +18 -13
  81. package/dist/runtime/components/Accordion.vue +36 -36
  82. package/dist/runtime/components/Alert.vue +46 -46
  83. package/dist/runtime/components/App.vue +10 -10
  84. package/dist/runtime/components/Avatar.vue +27 -27
  85. package/dist/runtime/components/AvatarGroup.vue +4 -4
  86. package/dist/runtime/components/Badge.vue +16 -16
  87. package/dist/runtime/components/Breadcrumb.vue +32 -32
  88. package/dist/runtime/components/Button.vue +28 -28
  89. package/dist/runtime/components/ButtonGroup.vue +3 -3
  90. package/dist/runtime/components/Calendar.vue +74 -74
  91. package/dist/runtime/components/Card.vue +13 -13
  92. package/dist/runtime/components/Carousel.vue +58 -58
  93. package/dist/runtime/components/ChatMessage.vue +35 -35
  94. package/dist/runtime/components/ChatMessages.vue +71 -71
  95. package/dist/runtime/components/ChatMessages.vue.d.ts +1 -2
  96. package/dist/runtime/components/ChatPrompt.vue +30 -31
  97. package/dist/runtime/components/ChatPrompt.vue.d.ts +4 -4
  98. package/dist/runtime/components/ChatPromptSubmit.vue +10 -10
  99. package/dist/runtime/components/Checkbox.vue +33 -33
  100. package/dist/runtime/components/CheckboxGroup.vue +32 -32
  101. package/dist/runtime/components/Chip.vue +11 -11
  102. package/dist/runtime/components/Collapsible.vue +9 -9
  103. package/dist/runtime/components/ColorPicker.vue +30 -30
  104. package/dist/runtime/components/CommandPalette.vue +117 -117
  105. package/dist/runtime/components/Container.vue +3 -3
  106. package/dist/runtime/components/ContextMenu.vue +22 -22
  107. package/dist/runtime/components/ContextMenuContent.vue +105 -105
  108. package/dist/runtime/components/DashboardGroup.vue +3 -3
  109. package/dist/runtime/components/DashboardNavbar.vue +41 -41
  110. package/dist/runtime/components/DashboardNavbar.vue.d.ts +1 -1
  111. package/dist/runtime/components/DashboardPanel.vue +29 -29
  112. package/dist/runtime/components/DashboardPanel.vue.d.ts +1 -1
  113. package/dist/runtime/components/DashboardResizeHandle.vue +7 -7
  114. package/dist/runtime/components/DashboardSearch.vue +24 -25
  115. package/dist/runtime/components/DashboardSearch.vue.d.ts +3 -3
  116. package/dist/runtime/components/DashboardSearchButton.vue +63 -41
  117. package/dist/runtime/components/DashboardSearchButton.vue.d.ts +7 -1
  118. package/dist/runtime/components/DashboardSidebar.vue +77 -77
  119. package/dist/runtime/components/DashboardSidebarCollapse.vue +7 -7
  120. package/dist/runtime/components/DashboardSidebarCollapse.vue.d.ts +1 -1
  121. package/dist/runtime/components/DashboardSidebarToggle.vue +14 -17
  122. package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +4 -6
  123. package/dist/runtime/components/Drawer.vue +55 -55
  124. package/dist/runtime/components/DropdownMenu.vue +24 -24
  125. package/dist/runtime/components/DropdownMenuContent.vue +107 -107
  126. package/dist/runtime/components/Error.vue +57 -0
  127. package/dist/runtime/components/Error.vue.d.ts +52 -0
  128. package/dist/runtime/components/Form.vue +8 -8
  129. package/dist/runtime/components/Form.vue.d.ts +1 -1
  130. package/dist/runtime/components/FormField.vue +37 -37
  131. package/dist/runtime/components/Icon.vue +1 -1
  132. package/dist/runtime/components/Input.vue +34 -34
  133. package/dist/runtime/components/InputMenu.vue +163 -163
  134. package/dist/runtime/components/InputNumber.vue +49 -49
  135. package/dist/runtime/components/InputTags.vue +55 -55
  136. package/dist/runtime/components/Kbd.vue +5 -5
  137. package/dist/runtime/components/Link.vue +14 -14
  138. package/dist/runtime/components/LinkBase.vue +8 -8
  139. package/dist/runtime/components/Modal.vue +69 -69
  140. package/dist/runtime/components/NavigationMenu.vue +166 -166
  141. package/dist/runtime/components/OverlayProvider.vue +9 -9
  142. package/dist/runtime/components/Pagination.vue +47 -47
  143. package/dist/runtime/components/PinInput.vue +20 -20
  144. package/dist/runtime/components/Popover.vue +17 -17
  145. package/dist/runtime/components/Progress.vue +19 -19
  146. package/dist/runtime/components/RadioGroup.vue +43 -43
  147. package/dist/runtime/components/Select.vue +96 -96
  148. package/dist/runtime/components/SelectMenu.vue +130 -130
  149. package/dist/runtime/components/Separator.vue +15 -15
  150. package/dist/runtime/components/Skeleton.vue +10 -10
  151. package/dist/runtime/components/Slideover.vue +76 -76
  152. package/dist/runtime/components/Slider.vue +27 -27
  153. package/dist/runtime/components/Stepper.vue +51 -51
  154. package/dist/runtime/components/Switch.vue +33 -33
  155. package/dist/runtime/components/Table.vue +77 -77
  156. package/dist/runtime/components/Tabs.vue +37 -37
  157. package/dist/runtime/components/Textarea.vue +33 -33
  158. package/dist/runtime/components/Timeline.vue +38 -38
  159. package/dist/runtime/components/Toast.vue +69 -69
  160. package/dist/runtime/components/Toaster.vue +28 -28
  161. package/dist/runtime/components/Tooltip.vue +19 -19
  162. package/dist/runtime/components/Tree.vue +60 -60
  163. package/dist/runtime/components/color-mode/ColorModeAvatar.vue +2 -2
  164. package/dist/runtime/components/color-mode/ColorModeAvatar.vue.d.ts +2 -2
  165. package/dist/runtime/components/color-mode/ColorModeButton.vue +16 -16
  166. package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +3 -3
  167. package/dist/runtime/components/color-mode/ColorModeImage.vue +2 -2
  168. package/dist/runtime/components/color-mode/ColorModeSelect.vue +19 -19
  169. package/dist/runtime/components/color-mode/ColorModeSelect.vue.d.ts +1 -1
  170. package/dist/runtime/components/color-mode/ColorModeSwitch.vue +19 -19
  171. package/dist/runtime/components/color-mode/ColorModeSwitch.vue.d.ts +1 -1
  172. package/dist/runtime/components/content/ContentNavigation.vue +175 -0
  173. package/dist/runtime/components/content/ContentNavigation.vue.d.ts +53 -0
  174. package/dist/runtime/components/content/ContentSearch.vue +184 -0
  175. package/dist/runtime/components/content/ContentSearch.vue.d.ts +111 -0
  176. package/dist/runtime/components/content/ContentSearchButton.vue +95 -0
  177. package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +12 -0
  178. package/dist/runtime/components/content/ContentSurround.vue +61 -0
  179. package/dist/runtime/components/content/ContentSurround.vue.d.ts +59 -0
  180. package/dist/runtime/components/content/ContentToc.vue +146 -0
  181. package/dist/runtime/components/content/ContentToc.vue.d.ts +88 -0
  182. package/dist/runtime/components/locale/LocaleSelect.vue +20 -20
  183. package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +1 -1
  184. package/dist/runtime/components/prose/A.vue +24 -0
  185. package/dist/runtime/components/prose/A.vue.d.ts +15 -0
  186. package/dist/runtime/components/prose/Accordion.vue +43 -0
  187. package/dist/runtime/components/prose/Accordion.vue.d.ts +16 -0
  188. package/dist/runtime/components/prose/AccordionItem.vue +25 -0
  189. package/dist/runtime/components/prose/AccordionItem.vue.d.ts +15 -0
  190. package/dist/runtime/components/prose/Badge.vue +21 -0
  191. package/dist/runtime/components/prose/Badge.vue.d.ts +13 -0
  192. package/dist/runtime/components/prose/Blockquote.vue +21 -0
  193. package/dist/runtime/components/prose/Blockquote.vue.d.ts +13 -0
  194. package/dist/runtime/components/prose/Callout.vue +60 -0
  195. package/dist/runtime/components/prose/Callout.vue.d.ts +26 -0
  196. package/dist/runtime/components/prose/Card.vue +83 -0
  197. package/dist/runtime/components/prose/Card.vue.d.ts +30 -0
  198. package/dist/runtime/components/prose/CardGroup.vue +21 -0
  199. package/dist/runtime/components/prose/CardGroup.vue.d.ts +13 -0
  200. package/dist/runtime/components/prose/Code.vue +23 -0
  201. package/dist/runtime/components/prose/Code.vue.d.ts +22 -0
  202. package/dist/runtime/components/prose/CodeCollapse.vue +44 -0
  203. package/dist/runtime/components/prose/CodeCollapse.vue.d.ts +46 -0
  204. package/dist/runtime/components/prose/CodeGroup.vue +70 -0
  205. package/dist/runtime/components/prose/CodeGroup.vue.d.ts +37 -0
  206. package/dist/runtime/components/prose/CodeIcon.vue +28 -0
  207. package/dist/runtime/components/prose/CodeIcon.vue.d.ts +24 -0
  208. package/dist/runtime/components/prose/CodePreview.vue +28 -0
  209. package/dist/runtime/components/prose/CodePreview.vue.d.ts +19 -0
  210. package/dist/runtime/components/prose/CodeTree.vue +160 -0
  211. package/dist/runtime/components/prose/CodeTree.vue.d.ts +30 -0
  212. package/dist/runtime/components/prose/Collapsible.vue +41 -0
  213. package/dist/runtime/components/prose/Collapsible.vue.d.ts +38 -0
  214. package/dist/runtime/components/prose/Em.vue +19 -0
  215. package/dist/runtime/components/prose/Em.vue.d.ts +13 -0
  216. package/dist/runtime/components/prose/Field.vue +48 -0
  217. package/dist/runtime/components/prose/Field.vue.d.ts +39 -0
  218. package/dist/runtime/components/prose/FieldGroup.vue +23 -0
  219. package/dist/runtime/components/prose/FieldGroup.vue.d.ts +18 -0
  220. package/dist/runtime/components/prose/H1.vue +28 -0
  221. package/dist/runtime/components/prose/H1.vue.d.ts +19 -0
  222. package/dist/runtime/components/prose/H2.vue +32 -0
  223. package/dist/runtime/components/prose/H2.vue.d.ts +19 -0
  224. package/dist/runtime/components/prose/H3.vue +32 -0
  225. package/dist/runtime/components/prose/H3.vue.d.ts +19 -0
  226. package/dist/runtime/components/prose/H4.vue +28 -0
  227. package/dist/runtime/components/prose/H4.vue.d.ts +19 -0
  228. package/dist/runtime/components/prose/Hr.vue +18 -0
  229. package/dist/runtime/components/prose/Hr.vue.d.ts +5 -0
  230. package/dist/runtime/components/prose/Icon.vue +19 -0
  231. package/dist/runtime/components/prose/Icon.vue.d.ts +6 -0
  232. package/dist/runtime/components/prose/Img.vue +40 -0
  233. package/dist/runtime/components/prose/Img.vue.d.ts +9 -0
  234. package/dist/runtime/components/prose/Kbd.vue +19 -0
  235. package/dist/runtime/components/prose/Kbd.vue.d.ts +6 -0
  236. package/dist/runtime/components/prose/Li.vue +21 -0
  237. package/dist/runtime/components/prose/Li.vue.d.ts +13 -0
  238. package/dist/runtime/components/prose/Ol.vue +21 -0
  239. package/dist/runtime/components/prose/Ol.vue.d.ts +13 -0
  240. package/dist/runtime/components/prose/P.vue +21 -0
  241. package/dist/runtime/components/prose/P.vue.d.ts +13 -0
  242. package/dist/runtime/components/prose/Pre.vue +63 -0
  243. package/dist/runtime/components/prose/Pre.vue.d.ts +25 -0
  244. package/dist/runtime/components/prose/Script.vue +12 -0
  245. package/dist/runtime/components/prose/Script.vue.d.ts +12 -0
  246. package/dist/runtime/components/prose/Steps.vue +22 -0
  247. package/dist/runtime/components/prose/Steps.vue.d.ts +22 -0
  248. package/dist/runtime/components/prose/Strong.vue +21 -0
  249. package/dist/runtime/components/prose/Strong.vue.d.ts +13 -0
  250. package/dist/runtime/components/prose/Table.vue +24 -0
  251. package/dist/runtime/components/prose/Table.vue.d.ts +18 -0
  252. package/dist/runtime/components/prose/Tabs.vue +78 -0
  253. package/dist/runtime/components/prose/Tabs.vue.d.ts +36 -0
  254. package/dist/runtime/components/prose/TabsItem.vue +25 -0
  255. package/dist/runtime/components/prose/TabsItem.vue.d.ts +15 -0
  256. package/dist/runtime/components/prose/Tbody.vue +21 -0
  257. package/dist/runtime/components/prose/Tbody.vue.d.ts +13 -0
  258. package/dist/runtime/components/prose/Td.vue +21 -0
  259. package/dist/runtime/components/prose/Td.vue.d.ts +13 -0
  260. package/dist/runtime/components/prose/Th.vue +21 -0
  261. package/dist/runtime/components/prose/Th.vue.d.ts +13 -0
  262. package/dist/runtime/components/prose/Thead.vue +21 -0
  263. package/dist/runtime/components/prose/Thead.vue.d.ts +13 -0
  264. package/dist/runtime/components/prose/Tr.vue +21 -0
  265. package/dist/runtime/components/prose/Tr.vue.d.ts +13 -0
  266. package/dist/runtime/components/prose/Ul.vue +21 -0
  267. package/dist/runtime/components/prose/Ul.vue.d.ts +13 -0
  268. package/dist/runtime/components/prose/callout/Caution.vue +11 -0
  269. package/dist/runtime/components/prose/callout/Caution.vue.d.ts +14 -0
  270. package/dist/runtime/components/prose/callout/Note.vue +11 -0
  271. package/dist/runtime/components/prose/callout/Note.vue.d.ts +14 -0
  272. package/dist/runtime/components/prose/callout/Tip.vue +11 -0
  273. package/dist/runtime/components/prose/callout/Tip.vue.d.ts +14 -0
  274. package/dist/runtime/components/prose/callout/Warning.vue +11 -0
  275. package/dist/runtime/components/prose/callout/Warning.vue.d.ts +14 -0
  276. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  277. package/dist/runtime/composables/useComponentIcons.d.ts +1 -1
  278. package/dist/runtime/composables/useFormField.d.ts +2 -2
  279. package/dist/runtime/composables/usePortal.d.ts +1 -1
  280. package/dist/runtime/composables/useResizable.d.ts +1 -1
  281. package/dist/runtime/inertia/components/Link.vue +12 -12
  282. package/dist/runtime/inertia/components/LinkBase.vue +15 -15
  283. package/dist/runtime/types/app.config.d.ts +6 -6
  284. package/dist/runtime/types/content.d.ts +4 -1
  285. package/dist/runtime/types/content.js +4 -0
  286. package/dist/runtime/types/index.d.ts +1 -0
  287. package/dist/runtime/types/index.js +1 -0
  288. package/dist/runtime/types/prose.d.ts +42 -1
  289. package/dist/runtime/types/prose.js +42 -0
  290. package/dist/runtime/types/tv.d.ts +2 -2
  291. package/dist/runtime/utils/index.d.ts +1 -1
  292. package/dist/runtime/utils/index.js +13 -4
  293. package/dist/runtime/vue/components/Icon.vue +1 -1
  294. package/dist/runtime/vue/components/Link.vue +31 -31
  295. package/dist/runtime/vue/components/color-mode/ColorModeButton.vue +7 -7
  296. package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +7 -7
  297. package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue +7 -7
  298. package/dist/shared/{ui.BcVNrqyb.mjs → ui.DQZ75GCP.mjs} +183 -180
  299. package/dist/unplugin.mjs +9 -9
  300. package/dist/vite.mjs +1 -1
  301. package/package.json +8 -9
  302. package/vue-plugin.d.ts +5 -5
package/.nuxt/ui/alert.ts CHANGED
@@ -15,6 +15,11 @@ const variant = [
15
15
  "subtle"
16
16
  ] as const
17
17
 
18
+ const orientation = [
19
+ "horizontal",
20
+ "vertical"
21
+ ] as const
22
+
18
23
  export default {
19
24
  "slots": {
20
25
  "root": "relative overflow-hidden w-full rounded-lg p-4 flex gap-2.5",
package/.nuxt/ui/badge.ts CHANGED
@@ -1,3 +1,8 @@
1
+ const buttonGroup = [
2
+ "horizontal",
3
+ "vertical"
4
+ ] as const
5
+
1
6
  const color = [
2
7
  "primary",
3
8
  "secondary",
@@ -1,3 +1,16 @@
1
+ const size = [
2
+ "xs",
3
+ "sm",
4
+ "md",
5
+ "lg",
6
+ "xl"
7
+ ] as const
8
+
9
+ const orientation = [
10
+ "horizontal",
11
+ "vertical"
12
+ ] as const
13
+
1
14
  export default {
2
15
  "base": "relative",
3
16
  "variants": {
@@ -1,3 +1,8 @@
1
+ const buttonGroup = [
2
+ "horizontal",
3
+ "vertical"
4
+ ] as const
5
+
1
6
  const color = [
2
7
  "primary",
3
8
  "secondary",
@@ -1,3 +1,8 @@
1
+ const orientation = [
2
+ "vertical",
3
+ "horizontal"
4
+ ] as const
5
+
1
6
  export default {
2
7
  "slots": {
3
8
  "root": "relative focus:outline-none",
@@ -0,0 +1,339 @@
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
+ ] as const
19
+
20
+ const variant = [
21
+ "pill",
22
+ "link"
23
+ ] as const
24
+
25
+ export default {
26
+ "slots": {
27
+ "root": "",
28
+ "content": "data-[state=open]:animate-[accordion-down_200ms_ease-out] data-[state=closed]:animate-[accordion-up_200ms_ease-out] overflow-hidden focus:outline-none",
29
+ "list": "isolate -mx-2.5 -mt-1.5",
30
+ "item": "",
31
+ "listWithChildren": "ms-5 border-s border-default",
32
+ "itemWithChildren": "flex flex-col data-[state=open]:mb-1.5",
33
+ "trigger": "font-semibold",
34
+ "link": "group relative 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",
35
+ "linkLeadingIcon": "shrink-0 size-5",
36
+ "linkTrailing": "ms-auto inline-flex gap-1.5 items-center",
37
+ "linkTrailingBadge": "shrink-0",
38
+ "linkTrailingBadgeSize": "sm",
39
+ "linkTrailingIcon": "size-5 transform transition-transform duration-200 shrink-0 group-data-[state=open]:rotate-180",
40
+ "linkTitle": "truncate",
41
+ "linkTitleExternalIcon": "size-3 align-top text-dimmed"
42
+ },
43
+ "variants": {
44
+ "color": {
45
+ "primary": {
46
+ "trigger": "focus-visible:ring-primary",
47
+ "link": "focus-visible:before:ring-primary"
48
+ },
49
+ "secondary": {
50
+ "trigger": "focus-visible:ring-secondary",
51
+ "link": "focus-visible:before:ring-secondary"
52
+ },
53
+ "success": {
54
+ "trigger": "focus-visible:ring-success",
55
+ "link": "focus-visible:before:ring-success"
56
+ },
57
+ "info": {
58
+ "trigger": "focus-visible:ring-info",
59
+ "link": "focus-visible:before:ring-info"
60
+ },
61
+ "warning": {
62
+ "trigger": "focus-visible:ring-warning",
63
+ "link": "focus-visible:before:ring-warning"
64
+ },
65
+ "error": {
66
+ "trigger": "focus-visible:ring-error",
67
+ "link": "focus-visible:before:ring-error"
68
+ },
69
+ "neutral": {
70
+ "trigger": "focus-visible:ring-inverted",
71
+ "link": "focus-visible:before:ring-inverted"
72
+ }
73
+ },
74
+ "highlightColor": {
75
+ "primary": "",
76
+ "secondary": "",
77
+ "success": "",
78
+ "info": "",
79
+ "warning": "",
80
+ "error": ""
81
+ },
82
+ "variant": {
83
+ "pill": "",
84
+ "link": ""
85
+ },
86
+ "active": {
87
+ "true": {
88
+ "link": "font-medium"
89
+ },
90
+ "false": {
91
+ "link": "text-muted",
92
+ "linkLeadingIcon": "text-dimmed"
93
+ }
94
+ },
95
+ "disabled": {
96
+ "true": {
97
+ "link": "cursor-not-allowed opacity-75"
98
+ }
99
+ },
100
+ "highlight": {
101
+ "true": {}
102
+ },
103
+ "level": {
104
+ "true": {
105
+ "item": "ps-1.5 -ms-px",
106
+ "itemWithChildren": "ps-1.5 -ms-px"
107
+ }
108
+ }
109
+ },
110
+ "compoundVariants": [
111
+ {
112
+ "highlight": true,
113
+ "level": true,
114
+ "class": {
115
+ "link": [
116
+ "after:absolute after:-left-1.5 after:inset-y-0.5 after:block after:w-px after:rounded-full",
117
+ "after:transition-colors"
118
+ ]
119
+ }
120
+ },
121
+ {
122
+ "disabled": false,
123
+ "active": false,
124
+ "variant": "pill" as typeof variant[number],
125
+ "class": {
126
+ "link": [
127
+ "hover:text-highlighted data-[state=open]:text-highlighted",
128
+ "transition-colors",
129
+ "hover:before:bg-elevated/50"
130
+ ],
131
+ "linkLeadingIcon": [
132
+ "group-hover:text-default group-data-[state=open]:text-default",
133
+ "transition-colors"
134
+ ]
135
+ }
136
+ },
137
+ {
138
+ "disabled": false,
139
+ "active": false,
140
+ "variant": "link" as typeof variant[number],
141
+ "class": {
142
+ "link": [
143
+ "hover:text-highlighted data-[state=open]:text-highlighted",
144
+ "transition-colors"
145
+ ],
146
+ "linkLeadingIcon": [
147
+ "group-hover:text-default group-data-[state=open]:text-default",
148
+ "transition-colors"
149
+ ]
150
+ }
151
+ },
152
+ {
153
+ "color": "primary" as typeof color[number],
154
+ "variant": "pill" as typeof variant[number],
155
+ "active": true,
156
+ "class": {
157
+ "link": "text-primary",
158
+ "linkLeadingIcon": "text-primary group-data-[state=open]:text-primary"
159
+ }
160
+ },
161
+ {
162
+ "color": "primary" as typeof color[number],
163
+ "variant": "link" as typeof variant[number],
164
+ "active": true,
165
+ "class": {
166
+ "link": "text-primary",
167
+ "linkLeadingIcon": "text-primary group-data-[state=open]:text-primary"
168
+ }
169
+ },
170
+ {
171
+ "highlightColor": "primary" as typeof highlightColor[number],
172
+ "highlight": true,
173
+ "level": true,
174
+ "active": true,
175
+ "class": {
176
+ "link": "after:bg-primary"
177
+ }
178
+ },
179
+ {
180
+ "color": "secondary" as typeof color[number],
181
+ "variant": "pill" as typeof variant[number],
182
+ "active": true,
183
+ "class": {
184
+ "link": "text-secondary",
185
+ "linkLeadingIcon": "text-secondary group-data-[state=open]:text-secondary"
186
+ }
187
+ },
188
+ {
189
+ "color": "secondary" as typeof color[number],
190
+ "variant": "link" as typeof variant[number],
191
+ "active": true,
192
+ "class": {
193
+ "link": "text-secondary",
194
+ "linkLeadingIcon": "text-secondary group-data-[state=open]:text-secondary"
195
+ }
196
+ },
197
+ {
198
+ "highlightColor": "secondary" as typeof highlightColor[number],
199
+ "highlight": true,
200
+ "level": true,
201
+ "active": true,
202
+ "class": {
203
+ "link": "after:bg-secondary"
204
+ }
205
+ },
206
+ {
207
+ "color": "success" as typeof color[number],
208
+ "variant": "pill" as typeof variant[number],
209
+ "active": true,
210
+ "class": {
211
+ "link": "text-success",
212
+ "linkLeadingIcon": "text-success group-data-[state=open]:text-success"
213
+ }
214
+ },
215
+ {
216
+ "color": "success" as typeof color[number],
217
+ "variant": "link" as typeof variant[number],
218
+ "active": true,
219
+ "class": {
220
+ "link": "text-success",
221
+ "linkLeadingIcon": "text-success group-data-[state=open]:text-success"
222
+ }
223
+ },
224
+ {
225
+ "highlightColor": "success" as typeof highlightColor[number],
226
+ "highlight": true,
227
+ "level": true,
228
+ "active": true,
229
+ "class": {
230
+ "link": "after:bg-success"
231
+ }
232
+ },
233
+ {
234
+ "color": "info" as typeof color[number],
235
+ "variant": "pill" as typeof variant[number],
236
+ "active": true,
237
+ "class": {
238
+ "link": "text-info",
239
+ "linkLeadingIcon": "text-info group-data-[state=open]:text-info"
240
+ }
241
+ },
242
+ {
243
+ "color": "info" as typeof color[number],
244
+ "variant": "link" as typeof variant[number],
245
+ "active": true,
246
+ "class": {
247
+ "link": "text-info",
248
+ "linkLeadingIcon": "text-info group-data-[state=open]:text-info"
249
+ }
250
+ },
251
+ {
252
+ "highlightColor": "info" as typeof highlightColor[number],
253
+ "highlight": true,
254
+ "level": true,
255
+ "active": true,
256
+ "class": {
257
+ "link": "after:bg-info"
258
+ }
259
+ },
260
+ {
261
+ "color": "warning" as typeof color[number],
262
+ "variant": "pill" as typeof variant[number],
263
+ "active": true,
264
+ "class": {
265
+ "link": "text-warning",
266
+ "linkLeadingIcon": "text-warning group-data-[state=open]:text-warning"
267
+ }
268
+ },
269
+ {
270
+ "color": "warning" as typeof color[number],
271
+ "variant": "link" as typeof variant[number],
272
+ "active": true,
273
+ "class": {
274
+ "link": "text-warning",
275
+ "linkLeadingIcon": "text-warning group-data-[state=open]:text-warning"
276
+ }
277
+ },
278
+ {
279
+ "highlightColor": "warning" as typeof highlightColor[number],
280
+ "highlight": true,
281
+ "level": true,
282
+ "active": true,
283
+ "class": {
284
+ "link": "after:bg-warning"
285
+ }
286
+ },
287
+ {
288
+ "color": "error" as typeof color[number],
289
+ "variant": "pill" as typeof variant[number],
290
+ "active": true,
291
+ "class": {
292
+ "link": "text-error",
293
+ "linkLeadingIcon": "text-error group-data-[state=open]:text-error"
294
+ }
295
+ },
296
+ {
297
+ "color": "error" as typeof color[number],
298
+ "variant": "link" as typeof variant[number],
299
+ "active": true,
300
+ "class": {
301
+ "link": "text-error",
302
+ "linkLeadingIcon": "text-error group-data-[state=open]:text-error"
303
+ }
304
+ },
305
+ {
306
+ "highlightColor": "error" as typeof highlightColor[number],
307
+ "highlight": true,
308
+ "level": true,
309
+ "active": true,
310
+ "class": {
311
+ "link": "after:bg-error"
312
+ }
313
+ },
314
+ {
315
+ "variant": "pill" as typeof variant[number],
316
+ "active": true,
317
+ "highlight": false,
318
+ "class": {
319
+ "link": "before:bg-elevated"
320
+ }
321
+ },
322
+ {
323
+ "variant": "pill" as typeof variant[number],
324
+ "active": true,
325
+ "highlight": true,
326
+ "class": {
327
+ "link": [
328
+ "hover:before:bg-elevated/50",
329
+ "before:transition-colors"
330
+ ]
331
+ }
332
+ }
333
+ ],
334
+ "defaultVariants": {
335
+ "color": "primary" as typeof color[number],
336
+ "highlightColor": "primary" as typeof highlightColor[number],
337
+ "variant": "pill" as typeof variant[number]
338
+ }
339
+ }
@@ -0,0 +1,6 @@
1
+ export default {
2
+ "slots": {
3
+ "base": "",
4
+ "trailing": "hidden lg:flex items-center gap-0.5 ms-auto"
5
+ }
6
+ }
@@ -0,0 +1,6 @@
1
+ export default {
2
+ "slots": {
3
+ "modal": "sm:max-w-3xl sm:h-[28rem]",
4
+ "input": "[&>input]:text-base/5"
5
+ }
6
+ }
@@ -0,0 +1,39 @@
1
+ const direction = [
2
+ "left",
3
+ "right"
4
+ ] as const
5
+
6
+ export default {
7
+ "slots": {
8
+ "root": "grid grid-cols-1 sm:grid-cols-2 gap-8",
9
+ "link": [
10
+ "group block px-6 py-8 rounded-lg border border-default hover:bg-elevated/50 focus-visible:outline-primary",
11
+ "transition-colors"
12
+ ],
13
+ "linkLeading": [
14
+ "inline-flex items-center rounded-full p-1.5 bg-elevated group-hover:bg-primary/10 ring ring-accented mb-4 group-hover:ring-primary/50",
15
+ "transition"
16
+ ],
17
+ "linkLeadingIcon": [
18
+ "size-5 shrink-0 text-highlighted group-hover:text-primary",
19
+ "transition-[color,translate]"
20
+ ],
21
+ "linkTitle": "font-medium text-[15px] text-highlighted mb-1 truncate",
22
+ "linkDescription": "text-sm text-muted line-clamp-2"
23
+ },
24
+ "variants": {
25
+ "direction": {
26
+ "left": {
27
+ "linkLeadingIcon": [
28
+ "group-active:-translate-x-0.5"
29
+ ]
30
+ },
31
+ "right": {
32
+ "link": "text-right",
33
+ "linkLeadingIcon": [
34
+ "group-active:translate-x-0.5"
35
+ ]
36
+ }
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,150 @@
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
+ export default {
22
+ "slots": {
23
+ "root": "sticky top-(--ui-header-height) z-10 bg-default/75 lg:bg-[initial] backdrop-blur -mx-4 px-4 sm:px-6 sm:-mx-6 overflow-y-auto max-h-[calc(100vh-var(--ui-header-height))]",
24
+ "container": "pt-4 sm:pt-6 pb-2.5 sm:pb-4.5 lg:py-8 border-b border-dashed border-default lg:border-0 flex flex-col",
25
+ "top": "",
26
+ "bottom": "mt-6 hidden lg:flex lg:flex-col gap-6",
27
+ "trigger": "group text-sm font-semibold flex-1 flex items-center gap-1.5 py-1.5 -mt-1.5 focus-visible:outline-primary",
28
+ "title": "truncate",
29
+ "trailing": "ms-auto inline-flex gap-1.5 items-center",
30
+ "trailingIcon": "size-5 transform transition-transform duration-200 shrink-0 group-data-[state=open]:rotate-180 lg:hidden",
31
+ "content": "data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden focus:outline-none",
32
+ "list": "min-w-0",
33
+ "listWithChildren": "ms-3",
34
+ "item": "min-w-0",
35
+ "itemWithChildren": "",
36
+ "link": "group relative text-sm flex items-center focus-visible:outline-primary py-1",
37
+ "linkText": "truncate",
38
+ "indicator": "absolute ms-2.5 transition-[translate,height] duration-200 h-(--indicator-size) translate-y-(--indicator-position) w-px rounded-full"
39
+ },
40
+ "variants": {
41
+ "color": {
42
+ "primary": "",
43
+ "secondary": "",
44
+ "success": "",
45
+ "info": "",
46
+ "warning": "",
47
+ "error": "",
48
+ "neutral": ""
49
+ },
50
+ "highlightColor": {
51
+ "primary": {
52
+ "indicator": "bg-primary"
53
+ },
54
+ "secondary": {
55
+ "indicator": "bg-secondary"
56
+ },
57
+ "success": {
58
+ "indicator": "bg-success"
59
+ },
60
+ "info": {
61
+ "indicator": "bg-info"
62
+ },
63
+ "warning": {
64
+ "indicator": "bg-warning"
65
+ },
66
+ "error": {
67
+ "indicator": "bg-error"
68
+ },
69
+ "neutral": {
70
+ "indicator": "bg-inverted"
71
+ }
72
+ },
73
+ "active": {
74
+ "false": {
75
+ "link": [
76
+ "text-muted hover:text-default",
77
+ "transition-colors"
78
+ ]
79
+ }
80
+ },
81
+ "highlight": {
82
+ "true": {
83
+ "list": "ms-2.5 ps-4 border-s border-default",
84
+ "item": "-ms-px"
85
+ }
86
+ }
87
+ },
88
+ "compoundVariants": [
89
+ {
90
+ "color": "primary" as typeof color[number],
91
+ "active": true,
92
+ "class": {
93
+ "link": "text-primary",
94
+ "linkText": "text-primary"
95
+ }
96
+ },
97
+ {
98
+ "color": "secondary" as typeof color[number],
99
+ "active": true,
100
+ "class": {
101
+ "link": "text-secondary",
102
+ "linkText": "text-secondary"
103
+ }
104
+ },
105
+ {
106
+ "color": "success" as typeof color[number],
107
+ "active": true,
108
+ "class": {
109
+ "link": "text-success",
110
+ "linkText": "text-success"
111
+ }
112
+ },
113
+ {
114
+ "color": "info" as typeof color[number],
115
+ "active": true,
116
+ "class": {
117
+ "link": "text-info",
118
+ "linkText": "text-info"
119
+ }
120
+ },
121
+ {
122
+ "color": "warning" as typeof color[number],
123
+ "active": true,
124
+ "class": {
125
+ "link": "text-warning",
126
+ "linkText": "text-warning"
127
+ }
128
+ },
129
+ {
130
+ "color": "error" as typeof color[number],
131
+ "active": true,
132
+ "class": {
133
+ "link": "text-error",
134
+ "linkText": "text-error"
135
+ }
136
+ },
137
+ {
138
+ "color": "neutral" as typeof color[number],
139
+ "active": true,
140
+ "class": {
141
+ "link": "text-highlighted",
142
+ "linkLeadingIcon": "text-highlighted"
143
+ }
144
+ }
145
+ ],
146
+ "defaultVariants": {
147
+ "color": "primary" as typeof color[number],
148
+ "highlightColor": "primary" as typeof highlightColor[number]
149
+ }
150
+ }
@@ -0,0 +1,5 @@
1
+ export { default as contentNavigation } from './content-navigation'
2
+ export { default as contentSearch } from './content-search'
3
+ export { default as contentSearchButton } from './content-search-button'
4
+ export { default as contentSurround } from './content-surround'
5
+ export { default as contentToc } from './content-toc'
@@ -1,3 +1,8 @@
1
+ const direction = [
2
+ "left",
3
+ "right"
4
+ ] as const
5
+
1
6
  export default {
2
7
  "slots": {
3
8
  "root": "grid grid-cols-1 sm:grid-cols-2 gap-8",
@@ -91,7 +91,7 @@ export default {
91
91
  "active": true,
92
92
  "class": {
93
93
  "link": "text-primary",
94
- "linkLeadingIcon": "text-primary"
94
+ "linkText": "text-primary"
95
95
  }
96
96
  },
97
97
  {
@@ -99,7 +99,7 @@ export default {
99
99
  "active": true,
100
100
  "class": {
101
101
  "link": "text-secondary",
102
- "linkLeadingIcon": "text-secondary"
102
+ "linkText": "text-secondary"
103
103
  }
104
104
  },
105
105
  {
@@ -107,7 +107,7 @@ export default {
107
107
  "active": true,
108
108
  "class": {
109
109
  "link": "text-success",
110
- "linkLeadingIcon": "text-success"
110
+ "linkText": "text-success"
111
111
  }
112
112
  },
113
113
  {
@@ -115,7 +115,7 @@ export default {
115
115
  "active": true,
116
116
  "class": {
117
117
  "link": "text-info",
118
- "linkLeadingIcon": "text-info"
118
+ "linkText": "text-info"
119
119
  }
120
120
  },
121
121
  {
@@ -123,7 +123,7 @@ export default {
123
123
  "active": true,
124
124
  "class": {
125
125
  "link": "text-warning",
126
- "linkLeadingIcon": "text-warning"
126
+ "linkText": "text-warning"
127
127
  }
128
128
  },
129
129
  {
@@ -131,7 +131,7 @@ export default {
131
131
  "active": true,
132
132
  "class": {
133
133
  "link": "text-error",
134
- "linkLeadingIcon": "text-error"
134
+ "linkText": "text-error"
135
135
  }
136
136
  },
137
137
  {
@@ -1,3 +1,8 @@
1
+ const toggleSide = [
2
+ "left",
3
+ "right"
4
+ ] as const
5
+
1
6
  export default {
2
7
  "slots": {
3
8
  "root": "h-(--ui-header-height) shrink-0 flex items-center justify-between border-b border-default px-4 sm:px-6 gap-1.5",
@@ -1,3 +1,8 @@
1
+ const side = [
2
+ "left",
3
+ "right"
4
+ ] as const
5
+
1
6
  export default {
2
7
  "base": "hidden lg:flex",
3
8
  "variants": {