@eslamdevui/ui 3.2.0 → 3.2.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 (186) hide show
  1. package/.nuxt/ui/alert.ts +5 -0
  2. package/.nuxt/ui/auth-form.ts +20 -0
  3. package/.nuxt/ui/badge.ts +5 -0
  4. package/.nuxt/ui/banner.ts +105 -0
  5. package/.nuxt/ui/blog-post.ts +140 -0
  6. package/.nuxt/ui/blog-posts.ts +14 -0
  7. package/.nuxt/ui/button-group.ts +13 -0
  8. package/.nuxt/ui/button.ts +5 -0
  9. package/.nuxt/ui/carousel.ts +5 -0
  10. package/.nuxt/ui/changelog-version.ts +41 -0
  11. package/.nuxt/ui/changelog-versions.ts +8 -0
  12. package/.nuxt/ui/chat-palette.ts +8 -0
  13. package/.nuxt/ui/content/content-navigation.ts +341 -0
  14. package/.nuxt/ui/content/content-search-button.ts +6 -0
  15. package/.nuxt/ui/content/content-search.ts +6 -0
  16. package/.nuxt/ui/content/content-surround.ts +39 -0
  17. package/.nuxt/ui/content/content-toc.ts +150 -0
  18. package/.nuxt/ui/content/index.ts +5 -0
  19. package/.nuxt/ui/content-navigation.ts +6 -4
  20. package/.nuxt/ui/content-surround.ts +5 -0
  21. package/.nuxt/ui/dashboard-navbar.ts +5 -0
  22. package/.nuxt/ui/dashboard-sidebar-collapse.ts +5 -0
  23. package/.nuxt/ui/dashboard-sidebar-toggle.ts +5 -0
  24. package/.nuxt/ui/dashboard-sidebar.ts +10 -0
  25. package/.nuxt/ui/error.ts +9 -0
  26. package/.nuxt/ui/footer-columns.ts +28 -0
  27. package/.nuxt/ui/footer.ts +11 -0
  28. package/.nuxt/ui/header.ts +30 -0
  29. package/.nuxt/ui/index.ts +80 -2
  30. package/.nuxt/ui/input-menu.ts +9 -0
  31. package/.nuxt/ui/input-number.ts +5 -0
  32. package/.nuxt/ui/input-tags.ts +9 -0
  33. package/.nuxt/ui/input.ts +9 -0
  34. package/.nuxt/ui/main.ts +3 -0
  35. package/.nuxt/ui/page-accordion.ts +7 -0
  36. package/.nuxt/ui/page-anchors.ts +30 -0
  37. package/.nuxt/ui/page-aside.ts +10 -0
  38. package/.nuxt/ui/page-body.ts +3 -0
  39. package/.nuxt/ui/page-card.ts +276 -0
  40. package/.nuxt/ui/page-columns.ts +3 -0
  41. package/.nuxt/ui/page-cta.ts +72 -0
  42. package/.nuxt/ui/page-feature.ts +31 -0
  43. package/.nuxt/ui/page-grid.ts +3 -0
  44. package/.nuxt/ui/page-header.ts +18 -0
  45. package/.nuxt/ui/page-hero.ts +46 -0
  46. package/.nuxt/ui/page-links.ts +25 -0
  47. package/.nuxt/ui/page-list.ts +8 -0
  48. package/.nuxt/ui/page-logos.ts +15 -0
  49. package/.nuxt/ui/page-marquee.ts +66 -0
  50. package/.nuxt/ui/page-section.ts +88 -0
  51. package/.nuxt/ui/page.ts +32 -0
  52. package/.nuxt/ui/pricing-plan.ts +101 -0
  53. package/.nuxt/ui/pricing-plans.ts +27 -0
  54. package/.nuxt/ui/pricing-table.ts +51 -0
  55. package/.nuxt/ui/prose/a.ts +6 -0
  56. package/.nuxt/ui/prose/accordion-item.ts +3 -0
  57. package/.nuxt/ui/prose/accordion.ts +6 -0
  58. package/.nuxt/ui/prose/badge.ts +3 -0
  59. package/.nuxt/ui/prose/blockquote.ts +3 -0
  60. package/.nuxt/ui/prose/callout.ts +129 -0
  61. package/.nuxt/ui/prose/card-group.ts +3 -0
  62. package/.nuxt/ui/prose/card.ts +119 -0
  63. package/.nuxt/ui/prose/code-collapse.ts +19 -0
  64. package/.nuxt/ui/prose/code-group.ts +13 -0
  65. package/.nuxt/ui/prose/code-icon.ts +66 -0
  66. package/.nuxt/ui/prose/code-preview.ts +14 -0
  67. package/.nuxt/ui/prose/code-tree.ts +28 -0
  68. package/.nuxt/ui/prose/code.ts +27 -0
  69. package/.nuxt/ui/prose/collapsible.ts +12 -0
  70. package/.nuxt/ui/prose/em.ts +3 -0
  71. package/.nuxt/ui/prose/field-group.ts +3 -0
  72. package/.nuxt/ui/prose/field.ts +11 -0
  73. package/.nuxt/ui/prose/h1.ts +6 -0
  74. package/.nuxt/ui/prose/h2.ts +14 -0
  75. package/.nuxt/ui/prose/h3.ts +14 -0
  76. package/.nuxt/ui/prose/h4.ts +6 -0
  77. package/.nuxt/ui/prose/hr.ts +3 -0
  78. package/.nuxt/ui/prose/icon.ts +3 -0
  79. package/.nuxt/ui/prose/img.ts +3 -0
  80. package/.nuxt/ui/prose/index.ts +41 -0
  81. package/.nuxt/ui/prose/kbd.ts +3 -0
  82. package/.nuxt/ui/prose/li.ts +3 -0
  83. package/.nuxt/ui/prose/ol.ts +3 -0
  84. package/.nuxt/ui/prose/p.ts +3 -0
  85. package/.nuxt/ui/prose/pre.ts +17 -0
  86. package/.nuxt/ui/prose/steps.ts +19 -0
  87. package/.nuxt/ui/prose/strong.ts +3 -0
  88. package/.nuxt/ui/prose/table.ts +6 -0
  89. package/.nuxt/ui/prose/tabs-item.ts +3 -0
  90. package/.nuxt/ui/prose/tabs.ts +5 -0
  91. package/.nuxt/ui/prose/tbody.ts +3 -0
  92. package/.nuxt/ui/prose/td.ts +3 -0
  93. package/.nuxt/ui/prose/th.ts +3 -0
  94. package/.nuxt/ui/prose/thead.ts +3 -0
  95. package/.nuxt/ui/prose/tr.ts +3 -0
  96. package/.nuxt/ui/prose/ul.ts +3 -0
  97. package/.nuxt/ui/select-menu.ts +9 -0
  98. package/.nuxt/ui/select.ts +9 -0
  99. package/.nuxt/ui/textarea.ts +9 -0
  100. package/.nuxt/ui/toast.ts +5 -0
  101. package/.nuxt/ui/user.ts +106 -0
  102. package/dist/module.json +1 -1
  103. package/dist/module.mjs +2 -2
  104. package/dist/runtime/components/AuthForm.vue +195 -0
  105. package/dist/runtime/components/AuthForm.vue.d.ts +85 -0
  106. package/dist/runtime/components/Banner.vue +113 -0
  107. package/dist/runtime/components/Banner.vue.d.ts +68 -0
  108. package/dist/runtime/components/BlogPost.vue +141 -0
  109. package/dist/runtime/components/BlogPost.vue.d.ts +59 -0
  110. package/dist/runtime/components/BlogPosts.vue +33 -0
  111. package/dist/runtime/components/BlogPosts.vue.d.ts +30 -0
  112. package/dist/runtime/components/ChangelogVersion.vue +165 -0
  113. package/dist/runtime/components/ChangelogVersion.vue.d.ts +58 -0
  114. package/dist/runtime/components/ChangelogVersions.vue +54 -0
  115. package/dist/runtime/components/ChangelogVersions.vue.d.ts +74 -0
  116. package/dist/runtime/components/ChatPalette.vue +32 -0
  117. package/dist/runtime/components/ChatPalette.vue.d.ts +24 -0
  118. package/dist/runtime/components/ChatPrompt.vue.d.ts +1 -1
  119. package/dist/runtime/components/CommandPalette.vue.d.ts +3 -3
  120. package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +1 -1
  121. package/dist/runtime/components/Error.vue.d.ts +1 -1
  122. package/dist/runtime/components/Footer.vue +44 -0
  123. package/dist/runtime/components/Footer.vue.d.ts +29 -0
  124. package/dist/runtime/components/FooterColumns.vue +68 -0
  125. package/dist/runtime/components/FooterColumns.vue.d.ts +52 -0
  126. package/dist/runtime/components/Header.vue +137 -0
  127. package/dist/runtime/components/Header.vue.d.ts +72 -0
  128. package/dist/runtime/components/InputMenu.vue.d.ts +3 -3
  129. package/dist/runtime/components/Main.vue +23 -0
  130. package/dist/runtime/components/Main.vue.d.ts +20 -0
  131. package/dist/runtime/components/Page.vue +37 -0
  132. package/dist/runtime/components/Page.vue.d.ts +25 -0
  133. package/dist/runtime/components/PageAccordion.vue +26 -0
  134. package/dist/runtime/components/PageAccordion.vue.d.ts +21 -0
  135. package/dist/runtime/components/PageAnchors.vue +50 -0
  136. package/dist/runtime/components/PageAnchors.vue.d.ts +42 -0
  137. package/dist/runtime/components/PageAside.vue +36 -0
  138. package/dist/runtime/components/PageAside.vue.d.ts +27 -0
  139. package/dist/runtime/components/PageBody.vue +23 -0
  140. package/dist/runtime/components/PageBody.vue.d.ts +18 -0
  141. package/dist/runtime/components/PageCTA.vue +58 -0
  142. package/dist/runtime/components/PageCTA.vue.d.ts +49 -0
  143. package/dist/runtime/components/PageCard.vue +121 -0
  144. package/dist/runtime/components/PageCard.vue.d.ts +71 -0
  145. package/dist/runtime/components/PageColumns.vue +23 -0
  146. package/dist/runtime/components/PageColumns.vue.d.ts +18 -0
  147. package/dist/runtime/components/PageFeature.vue +71 -0
  148. package/dist/runtime/components/PageFeature.vue.d.ts +43 -0
  149. package/dist/runtime/components/PageGrid.vue +23 -0
  150. package/dist/runtime/components/PageGrid.vue.d.ts +18 -0
  151. package/dist/runtime/components/PageHeader.vue +58 -0
  152. package/dist/runtime/components/PageHeader.vue.d.ts +35 -0
  153. package/dist/runtime/components/PageHero.vue +67 -0
  154. package/dist/runtime/components/PageHero.vue.d.ts +49 -0
  155. package/dist/runtime/components/PageLinks.vue +55 -0
  156. package/dist/runtime/components/PageLinks.vue.d.ts +44 -0
  157. package/dist/runtime/components/PageList.vue +24 -0
  158. package/dist/runtime/components/PageList.vue.d.ts +21 -0
  159. package/dist/runtime/components/PageLogos.vue +64 -0
  160. package/dist/runtime/components/PageLogos.vue.d.ts +32 -0
  161. package/dist/runtime/components/PageMarquee.vue +40 -0
  162. package/dist/runtime/components/PageMarquee.vue.d.ts +30 -0
  163. package/dist/runtime/components/PageSection.vue +88 -0
  164. package/dist/runtime/components/PageSection.vue.d.ts +64 -0
  165. package/dist/runtime/components/PricingPlan.vue +129 -0
  166. package/dist/runtime/components/PricingPlan.vue.d.ts +109 -0
  167. package/dist/runtime/components/PricingPlans.vue +45 -0
  168. package/dist/runtime/components/PricingPlans.vue.d.ts +41 -0
  169. package/dist/runtime/components/PricingTable.vue +235 -0
  170. package/dist/runtime/components/PricingTable.vue.d.ts +98 -0
  171. package/dist/runtime/components/SelectMenu.vue.d.ts +3 -3
  172. package/dist/runtime/components/Tabs.vue +1 -0
  173. package/dist/runtime/components/User.vue +69 -0
  174. package/dist/runtime/components/User.vue.d.ts +46 -0
  175. package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +57 -11
  176. package/dist/runtime/components/content/ContentSurround.vue +2 -2
  177. package/dist/runtime/components/content/ContentSurround.vue.d.ts +45 -52
  178. package/dist/runtime/components/content/ContentToc.vue +27 -15
  179. package/dist/runtime/components/content/ContentToc.vue.d.ts +79 -81
  180. package/dist/runtime/types/index.d.ts +33 -0
  181. package/dist/runtime/types/index.js +33 -0
  182. package/dist/shared/{ui.DQZ75GCP.mjs → ui.DErCA3YU.mjs} +1247 -50
  183. package/dist/unplugin.mjs +1 -1
  184. package/dist/vite.mjs +1 -1
  185. package/package.json +1 -1
  186. package/.nuxt/ui/prose.ts +0 -321
@@ -0,0 +1,341 @@
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
+ export default {
27
+ "slots": {
28
+ "root": "",
29
+ "content": "data-[state=open]:animate-[accordion-down_200ms_ease-out] data-[state=closed]:animate-[accordion-up_200ms_ease-out] overflow-hidden focus:outline-none",
30
+ "list": "isolate -mx-2.5 -mt-1.5",
31
+ "item": "",
32
+ "listWithChildren": "ms-5 border-s border-default",
33
+ "itemWithChildren": "flex flex-col data-[state=open]:mb-1.5",
34
+ "trigger": "font-semibold",
35
+ "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",
36
+ "linkLeadingIcon": "shrink-0 size-5",
37
+ "linkTrailing": "ms-auto inline-flex gap-1.5 items-center",
38
+ "linkTrailingBadge": "shrink-0",
39
+ "linkTrailingBadgeSize": "sm",
40
+ "linkTrailingIcon": "size-5 transform transition-transform duration-200 shrink-0 group-data-[state=open]:rotate-180",
41
+ "linkTitle": "truncate",
42
+ "linkTitleExternalIcon": "size-3 align-top text-dimmed"
43
+ },
44
+ "variants": {
45
+ "color": {
46
+ "primary": {
47
+ "trigger": "focus-visible:ring-primary",
48
+ "link": "focus-visible:before:ring-primary"
49
+ },
50
+ "secondary": {
51
+ "trigger": "focus-visible:ring-secondary",
52
+ "link": "focus-visible:before:ring-secondary"
53
+ },
54
+ "success": {
55
+ "trigger": "focus-visible:ring-success",
56
+ "link": "focus-visible:before:ring-success"
57
+ },
58
+ "info": {
59
+ "trigger": "focus-visible:ring-info",
60
+ "link": "focus-visible:before:ring-info"
61
+ },
62
+ "warning": {
63
+ "trigger": "focus-visible:ring-warning",
64
+ "link": "focus-visible:before:ring-warning"
65
+ },
66
+ "error": {
67
+ "trigger": "focus-visible:ring-error",
68
+ "link": "focus-visible:before:ring-error"
69
+ },
70
+ "neutral": {
71
+ "trigger": "focus-visible:ring-inverted",
72
+ "link": "focus-visible:before:ring-inverted"
73
+ }
74
+ },
75
+ "highlightColor": {
76
+ "primary": "",
77
+ "secondary": "",
78
+ "success": "",
79
+ "info": "",
80
+ "warning": "",
81
+ "error": "",
82
+ "neutral": ""
83
+ },
84
+ "variant": {
85
+ "pill": "",
86
+ "link": ""
87
+ },
88
+ "active": {
89
+ "true": {
90
+ "link": "font-medium"
91
+ },
92
+ "false": {
93
+ "link": "text-muted",
94
+ "linkLeadingIcon": "text-dimmed"
95
+ }
96
+ },
97
+ "disabled": {
98
+ "true": {
99
+ "link": "cursor-not-allowed opacity-75"
100
+ }
101
+ },
102
+ "highlight": {
103
+ "true": {}
104
+ },
105
+ "level": {
106
+ "true": {
107
+ "item": "ps-1.5 -ms-px",
108
+ "itemWithChildren": "ps-1.5 -ms-px"
109
+ }
110
+ }
111
+ },
112
+ "compoundVariants": [
113
+ {
114
+ "highlight": true,
115
+ "level": true,
116
+ "class": {
117
+ "link": [
118
+ "after:absolute after:-left-1.5 after:inset-y-0.5 after:block after:w-px after:rounded-full",
119
+ "after:transition-colors"
120
+ ]
121
+ }
122
+ },
123
+ {
124
+ "disabled": false,
125
+ "active": false,
126
+ "variant": "pill" as typeof variant[number],
127
+ "class": {
128
+ "link": [
129
+ "hover:text-highlighted data-[state=open]:text-highlighted",
130
+ "transition-colors",
131
+ "hover:before:bg-elevated/50"
132
+ ],
133
+ "linkLeadingIcon": [
134
+ "group-hover:text-default group-data-[state=open]:text-default",
135
+ "transition-colors before:transition-colors"
136
+ ]
137
+ }
138
+ },
139
+ {
140
+ "disabled": false,
141
+ "active": false,
142
+ "variant": "link" as typeof variant[number],
143
+ "class": {
144
+ "link": [
145
+ "hover:text-highlighted data-[state=open]:text-highlighted",
146
+ "transition-colors"
147
+ ],
148
+ "linkLeadingIcon": [
149
+ "group-hover:text-default group-data-[state=open]:text-default",
150
+ "transition-colors before:transition-colors"
151
+ ]
152
+ }
153
+ },
154
+ {
155
+ "color": "primary" as typeof color[number],
156
+ "variant": "pill" as typeof variant[number],
157
+ "active": true,
158
+ "class": {
159
+ "link": "text-primary",
160
+ "linkLeadingIcon": "text-primary group-data-[state=open]:text-primary"
161
+ }
162
+ },
163
+ {
164
+ "color": "primary" as typeof color[number],
165
+ "variant": "link" as typeof variant[number],
166
+ "active": true,
167
+ "class": {
168
+ "link": "text-primary",
169
+ "linkLeadingIcon": "text-primary group-data-[state=open]:text-primary"
170
+ }
171
+ },
172
+ {
173
+ "highlightColor": "primary" as typeof highlightColor[number],
174
+ "highlight": true,
175
+ "level": true,
176
+ "active": true,
177
+ "class": {
178
+ "link": "after:bg-primary"
179
+ }
180
+ },
181
+ {
182
+ "color": "secondary" as typeof color[number],
183
+ "variant": "pill" as typeof variant[number],
184
+ "active": true,
185
+ "class": {
186
+ "link": "text-secondary",
187
+ "linkLeadingIcon": "text-secondary group-data-[state=open]:text-secondary"
188
+ }
189
+ },
190
+ {
191
+ "color": "secondary" as typeof color[number],
192
+ "variant": "link" as typeof variant[number],
193
+ "active": true,
194
+ "class": {
195
+ "link": "text-secondary",
196
+ "linkLeadingIcon": "text-secondary group-data-[state=open]:text-secondary"
197
+ }
198
+ },
199
+ {
200
+ "highlightColor": "secondary" as typeof highlightColor[number],
201
+ "highlight": true,
202
+ "level": true,
203
+ "active": true,
204
+ "class": {
205
+ "link": "after:bg-secondary"
206
+ }
207
+ },
208
+ {
209
+ "color": "success" as typeof color[number],
210
+ "variant": "pill" as typeof variant[number],
211
+ "active": true,
212
+ "class": {
213
+ "link": "text-success",
214
+ "linkLeadingIcon": "text-success group-data-[state=open]:text-success"
215
+ }
216
+ },
217
+ {
218
+ "color": "success" as typeof color[number],
219
+ "variant": "link" as typeof variant[number],
220
+ "active": true,
221
+ "class": {
222
+ "link": "text-success",
223
+ "linkLeadingIcon": "text-success group-data-[state=open]:text-success"
224
+ }
225
+ },
226
+ {
227
+ "highlightColor": "success" as typeof highlightColor[number],
228
+ "highlight": true,
229
+ "level": true,
230
+ "active": true,
231
+ "class": {
232
+ "link": "after:bg-success"
233
+ }
234
+ },
235
+ {
236
+ "color": "info" as typeof color[number],
237
+ "variant": "pill" as typeof variant[number],
238
+ "active": true,
239
+ "class": {
240
+ "link": "text-info",
241
+ "linkLeadingIcon": "text-info group-data-[state=open]:text-info"
242
+ }
243
+ },
244
+ {
245
+ "color": "info" as typeof color[number],
246
+ "variant": "link" as typeof variant[number],
247
+ "active": true,
248
+ "class": {
249
+ "link": "text-info",
250
+ "linkLeadingIcon": "text-info group-data-[state=open]:text-info"
251
+ }
252
+ },
253
+ {
254
+ "highlightColor": "info" as typeof highlightColor[number],
255
+ "highlight": true,
256
+ "level": true,
257
+ "active": true,
258
+ "class": {
259
+ "link": "after:bg-info"
260
+ }
261
+ },
262
+ {
263
+ "color": "warning" as typeof color[number],
264
+ "variant": "pill" as typeof variant[number],
265
+ "active": true,
266
+ "class": {
267
+ "link": "text-warning",
268
+ "linkLeadingIcon": "text-warning group-data-[state=open]:text-warning"
269
+ }
270
+ },
271
+ {
272
+ "color": "warning" as typeof color[number],
273
+ "variant": "link" as typeof variant[number],
274
+ "active": true,
275
+ "class": {
276
+ "link": "text-warning",
277
+ "linkLeadingIcon": "text-warning group-data-[state=open]:text-warning"
278
+ }
279
+ },
280
+ {
281
+ "highlightColor": "warning" as typeof highlightColor[number],
282
+ "highlight": true,
283
+ "level": true,
284
+ "active": true,
285
+ "class": {
286
+ "link": "after:bg-warning"
287
+ }
288
+ },
289
+ {
290
+ "color": "error" as typeof color[number],
291
+ "variant": "pill" as typeof variant[number],
292
+ "active": true,
293
+ "class": {
294
+ "link": "text-error",
295
+ "linkLeadingIcon": "text-error group-data-[state=open]:text-error"
296
+ }
297
+ },
298
+ {
299
+ "color": "error" as typeof color[number],
300
+ "variant": "link" as typeof variant[number],
301
+ "active": true,
302
+ "class": {
303
+ "link": "text-error",
304
+ "linkLeadingIcon": "text-error group-data-[state=open]:text-error"
305
+ }
306
+ },
307
+ {
308
+ "highlightColor": "error" as typeof highlightColor[number],
309
+ "highlight": true,
310
+ "level": true,
311
+ "active": true,
312
+ "class": {
313
+ "link": "after:bg-error"
314
+ }
315
+ },
316
+ {
317
+ "variant": "pill" as typeof variant[number],
318
+ "active": true,
319
+ "highlight": false,
320
+ "class": {
321
+ "link": "before:bg-elevated"
322
+ }
323
+ },
324
+ {
325
+ "variant": "pill" as typeof variant[number],
326
+ "active": true,
327
+ "highlight": true,
328
+ "class": {
329
+ "link": [
330
+ "hover:before:bg-elevated/50",
331
+ "before:transition-colors"
332
+ ]
333
+ }
334
+ }
335
+ ],
336
+ "defaultVariants": {
337
+ "color": "primary" as typeof color[number],
338
+ "highlightColor": "primary" as typeof highlightColor[number],
339
+ "variant": "pill" as typeof variant[number]
340
+ }
341
+ }
@@ -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'
@@ -14,7 +14,8 @@ const highlightColor = [
14
14
  "success",
15
15
  "info",
16
16
  "warning",
17
- "error"
17
+ "error",
18
+ "neutral"
18
19
  ] as const
19
20
 
20
21
  const variant = [
@@ -77,7 +78,8 @@ export default {
77
78
  "success": "",
78
79
  "info": "",
79
80
  "warning": "",
80
- "error": ""
81
+ "error": "",
82
+ "neutral": ""
81
83
  },
82
84
  "variant": {
83
85
  "pill": "",
@@ -130,7 +132,7 @@ export default {
130
132
  ],
131
133
  "linkLeadingIcon": [
132
134
  "group-hover:text-default group-data-[state=open]:text-default",
133
- "transition-colors"
135
+ "transition-colors before:transition-colors"
134
136
  ]
135
137
  }
136
138
  },
@@ -145,7 +147,7 @@ export default {
145
147
  ],
146
148
  "linkLeadingIcon": [
147
149
  "group-hover:text-default group-data-[state=open]:text-default",
148
- "transition-colors"
150
+ "transition-colors before:transition-colors"
149
151
  ]
150
152
  }
151
153
  },
@@ -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",
@@ -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": {
@@ -1,3 +1,8 @@
1
+ const side = [
2
+ "left",
3
+ "right"
4
+ ] as const
5
+
1
6
  export default {
2
7
  "base": "lg:hidden",
3
8
  "variants": {
@@ -1,3 +1,13 @@
1
+ const side = [
2
+ "left",
3
+ "right"
4
+ ] as const
5
+
6
+ const toggleSide = [
7
+ "left",
8
+ "right"
9
+ ] as const
10
+
1
11
  export default {
2
12
  "slots": {
3
13
  "root": "relative hidden lg:flex flex-col min-h-svh min-w-16 w-(--width) shrink-0",
@@ -0,0 +1,9 @@
1
+ export default {
2
+ "slots": {
3
+ "root": "min-h-[calc(100vh-var(--ui-header-height))] flex flex-col items-center justify-center text-center",
4
+ "statusCode": "text-base font-semibold text-primary",
5
+ "statusMessage": "mt-2 text-4xl sm:text-5xl font-bold text-highlighted text-balance",
6
+ "message": "mt-4 text-lg text-muted text-balance",
7
+ "links": "mt-8 flex items-center justify-center gap-6"
8
+ }
9
+ }
@@ -0,0 +1,28 @@
1
+ export default {
2
+ "slots": {
3
+ "root": "xl:grid xl:grid-cols-3 xl:gap-8",
4
+ "left": "mb-10 xl:mb-0",
5
+ "center": "flex flex-col lg:grid grid-flow-col auto-cols-fr gap-8 xl:col-span-2",
6
+ "right": "mt-10 xl:mt-0",
7
+ "label": "text-sm font-semibold",
8
+ "list": "mt-6 space-y-4",
9
+ "item": "relative",
10
+ "link": "group text-sm flex items-center gap-1.5 focus-visible:outline-primary",
11
+ "linkLeadingIcon": "size-5 shrink-0",
12
+ "linkLabel": "truncate",
13
+ "linkLabelExternalIcon": "size-3 absolute top-0 text-dimmed inline-block"
14
+ },
15
+ "variants": {
16
+ "active": {
17
+ "true": {
18
+ "link": "text-primary font-medium"
19
+ },
20
+ "false": {
21
+ "link": [
22
+ "text-muted hover:text-default",
23
+ "transition-colors"
24
+ ]
25
+ }
26
+ }
27
+ }
28
+ }