@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
package/dist/unplugin.mjs CHANGED
@@ -3,7 +3,7 @@ import { join, normalize } from 'pathe';
3
3
  import { createUnplugin } from 'unplugin';
4
4
  import { defu } from 'defu';
5
5
  import tailwind from '@tailwindcss/vite';
6
- import { g as getTemplates, d as defaultOptions, r as resolveColors, a as getDefaultUiConfig } from './shared/ui.DQZ75GCP.mjs';
6
+ import { g as getTemplates, d as defaultOptions, r as resolveColors, a as getDefaultUiConfig } from './shared/ui.DErCA3YU.mjs';
7
7
  import { globSync } from 'tinyglobby';
8
8
  import { genSafeVariableName } from 'knitwork';
9
9
  import MagicString from 'magic-string';
package/dist/vite.mjs CHANGED
@@ -4,7 +4,7 @@ import 'pathe';
4
4
  import 'unplugin';
5
5
  import 'defu';
6
6
  import '@tailwindcss/vite';
7
- import './shared/ui.DQZ75GCP.mjs';
7
+ import './shared/ui.DErCA3YU.mjs';
8
8
  import '../dist/runtime/utils/index.js';
9
9
  import 'scule';
10
10
  import '@nuxt/kit';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eslamdevui/ui",
3
3
  "description": "A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.",
4
- "version": "3.2.0",
4
+ "version": "3.2.1",
5
5
  "packageManager": "pnpm@10.12.2",
6
6
  "repository": {
7
7
  "type": "git",
package/.nuxt/ui/prose.ts DELETED
@@ -1,321 +0,0 @@
1
- export default {
2
- "a": {
3
- "base": [
4
- "text-primary border-b border-transparent hover:border-primary font-medium focus-visible:outline-primary [&>code]:border-dashed hover:[&>code]:border-primary hover:[&>code]:text-primary",
5
- "transition-colors [&>code]:transition-colors"
6
- ]
7
- },
8
- "accordion": {
9
- "slots": {
10
- "root": "my-5",
11
- "trigger": "text-base"
12
- }
13
- },
14
- "accordionItem": {
15
- "base": "pb-4 text-muted *:first:mt-0 *:last:mb-0 *:my-1.5"
16
- },
17
- "badge": {
18
- "base": "rounded-full"
19
- },
20
- "blockquote": {
21
- "base": "border-s-4 border-accented ps-4 italic"
22
- },
23
- "cardGroup": {
24
- "base": "grid grid-cols-1 sm:grid-cols-2 gap-5 my-5 *:my-0"
25
- },
26
- "codeCollapse": {
27
- "slots": {
28
- "root": "relative [&_pre]:h-[200px]",
29
- "footer": "h-16 absolute inset-x-px bottom-px rounded-b-md flex items-center justify-center",
30
- "trigger": "group",
31
- "triggerIcon": "group-data-[state=open]:rotate-180"
32
- },
33
- "variants": {
34
- "open": {
35
- "true": {
36
- "root": "[&_pre]:h-auto [&_pre]:min-h-[200px] [&_pre]:max-h-[80vh] [&_pre]:pb-12"
37
- },
38
- "false": {
39
- "root": "[&_pre]:overflow-hidden",
40
- "footer": "bg-gradient-to-t from-muted"
41
- }
42
- }
43
- }
44
- },
45
- "codeGroup": {
46
- "slots": {
47
- "root": "relative group *:not-first:!my-0 *:not-first:!static my-5",
48
- "list": "relative flex items-center gap-1 border border-muted bg-default border-b-0 rounded-t-md overflow-x-auto p-2",
49
- "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",
50
- "trigger": [
51
- "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",
52
- "transition-colors"
53
- ],
54
- "triggerIcon": "size-4 shrink-0",
55
- "triggerLabel": "truncate"
56
- }
57
- },
58
- "codeIcon": {
59
- "package.json": "i-vscode-icons-file-type-node",
60
- "tsconfig.json": "i-vscode-icons-file-type-tsconfig",
61
- ".npmrc": "i-vscode-icons-file-type-npm",
62
- ".editorconfig": "i-vscode-icons-file-type-editorconfig",
63
- ".eslintrc": "i-vscode-icons-file-type-eslint",
64
- ".eslintrc.cjs": "i-vscode-icons-file-type-eslint",
65
- ".eslintignore": "i-vscode-icons-file-type-eslint",
66
- "eslint.config.js": "i-vscode-icons-file-type-eslint",
67
- "eslint.config.mjs": "i-vscode-icons-file-type-eslint",
68
- "eslint.config.cjs": "i-vscode-icons-file-type-eslint",
69
- ".gitignore": "i-vscode-icons-file-type-git",
70
- "yarn.lock": "i-vscode-icons-file-type-yarn",
71
- ".env": "i-vscode-icons-file-type-dotenv",
72
- ".env.example": "i-vscode-icons-file-type-dotenv",
73
- ".vscode/settings.json": "i-vscode-icons-file-type-vscode",
74
- "nuxt": "i-vscode-icons-file-type-nuxt",
75
- ".nuxtrc": "i-vscode-icons-file-type-nuxt",
76
- ".nuxtignore": "i-vscode-icons-file-type-nuxt",
77
- "nuxt.config.js": "i-vscode-icons-file-type-nuxt",
78
- "nuxt.config.ts": "i-vscode-icons-file-type-nuxt",
79
- "nuxt.schema.ts": "i-vscode-icons-file-type-nuxt",
80
- "tailwind.config.js": "i-vscode-icons-file-type-tailwind",
81
- "tailwind.config.ts": "i-vscode-icons-file-type-tailwind",
82
- "vue": "i-vscode-icons-file-type-vue",
83
- "ts": "i-vscode-icons-file-type-typescript",
84
- "tsx": "i-vscode-icons-file-type-typescript",
85
- "mjs": "i-vscode-icons-file-type-js",
86
- "cjs": "i-vscode-icons-file-type-js",
87
- "js": "i-vscode-icons-file-type-js",
88
- "jsx": "i-vscode-icons-file-type-js",
89
- "md": "i-vscode-icons-file-type-markdown",
90
- "py": "i-vscode-icons-file-type-python",
91
- "cs": "i-vscode-icons-file-type-csharp",
92
- "asm": "i-vscode-icons-file-type-assembly",
93
- "f": "i-vscode-icons-file-type-fortran",
94
- "hs": "i-vscode-icons-file-type-haskell",
95
- "fs": "i-vscode-icons-file-type-fsharp",
96
- "kt": "i-vscode-icons-file-type-kotlin",
97
- "rs": "i-vscode-icons-file-type-rust",
98
- "rb": "i-vscode-icons-file-type-ruby",
99
- "lsp": "i-vscode-icons-file-type-lisp",
100
- "ps1": "i-vscode-icons-file-type-powershell",
101
- "psd1": "i-vscode-icons-file-type-powershell",
102
- "psm1": "i-vscode-icons-file-type-powershell",
103
- "go": "i-vscode-icons-file-type-go",
104
- "gleam": "i-vscode-icons-file-type-gleam",
105
- "bicep": "i-vscode-icons-file-type-bicep",
106
- "bicepparam": "i-vscode-icons-file-type-bicep",
107
- "exs": "i-vscode-icons-file-type-elixir",
108
- "erl": "i-vscode-icons-file-type-erlang",
109
- "sbt": "i-vscode-icons-file-type-scala",
110
- "h": "i-vscode-icons-file-type-cppheader",
111
- "ino": "i-vscode-icons-file-type-arduino",
112
- "pl": "i-vscode-icons-file-type-perl",
113
- "jl": "i-vscode-icons-file-type-julia",
114
- "dart": "i-vscode-icons-file-type-dartlang",
115
- "ico": "i-vscode-icons-file-type-favicon",
116
- "npm": "i-vscode-icons-file-type-npm",
117
- "pnpm": "i-vscode-icons-file-type-pnpm",
118
- "npx": "i-vscode-icons-file-type-npm",
119
- "yarn": "i-vscode-icons-file-type-yarn",
120
- "bun": "i-vscode-icons-file-type-bun",
121
- "yml": "i-vscode-icons-file-type-yaml",
122
- "terminal": "i-lucide-terminal"
123
- },
124
- "codePreview": {
125
- "slots": {
126
- "root": "my-5",
127
- "preview": "flex justify-center border border-muted relative p-4 rounded-md",
128
- "code": "[&>div>pre]:rounded-t-none [&>div]:my-0"
129
- },
130
- "variants": {
131
- "code": {
132
- "true": {
133
- "preview": "border-b-0 rounded-b-none"
134
- }
135
- }
136
- }
137
- },
138
- "codeTree": {
139
- "slots": {
140
- "root": "relative lg:h-[450px] my-5 grid lg:grid-cols-3 border border-muted rounded-md",
141
- "list": "isolate relative p-2 border-b lg:border-b-0 lg:border-e border-muted overflow-y-auto",
142
- "item": "",
143
- "listWithChildren": "ms-4.5 border-s border-default",
144
- "itemWithChildren": "ps-1.5 -ms-px",
145
- "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",
146
- "linkLeadingIcon": "size-4 shrink-0",
147
- "linkLabel": "truncate",
148
- "linkTrailing": "ms-auto inline-flex gap-1.5 items-center",
149
- "linkTrailingIcon": "size-5 transform transition-transform duration-200 shrink-0 group-data-expanded:rotate-180",
150
- "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"
151
- },
152
- "variants": {
153
- "active": {
154
- "true": {
155
- "link": "text-highlighted before:bg-elevated"
156
- },
157
- "false": {
158
- "link": [
159
- "hover:text-highlighted hover:before:bg-elevated/50",
160
- "transition-colors before:transition-colors"
161
- ]
162
- }
163
- }
164
- }
165
- },
166
- "collapsible": {
167
- "slots": {
168
- "root": "my-5",
169
- "trigger": [
170
- "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",
171
- "transition-colors"
172
- ],
173
- "triggerIcon": "size-4 shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",
174
- "triggerLabel": "truncate",
175
- "content": "*:first:mt-2.5 *:last:mb-0 *:my-1.5"
176
- }
177
- },
178
- "em": {
179
- "base": ""
180
- },
181
- "field": {
182
- "slots": {
183
- "root": "my-5",
184
- "container": "flex items-center gap-3 font-mono text-sm",
185
- "name": "font-semibold text-primary",
186
- "wrapper": "flex-1 flex items-center gap-1.5 text-xs",
187
- "required": "rounded-sm bg-error/10 text-error px-1.5 py-0.5",
188
- "type": "rounded-sm bg-elevated text-toned px-1.5 py-0.5",
189
- "description": "mt-3 text-muted text-sm [&_code]:text-xs/4"
190
- }
191
- },
192
- "fieldGroup": {
193
- "base": "my-5 divide-y divide-default *:not-last:pb-5"
194
- },
195
- "h1": {
196
- "slots": {
197
- "base": "text-4xl text-highlighted font-bold mb-8 scroll-mt-[calc(45px+var(--ui-header-height))] lg:scroll-mt-(--ui-header-height)",
198
- "link": "inline-flex items-center gap-2"
199
- }
200
- },
201
- "h2": {
202
- "slots": {
203
- "base": [
204
- "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",
205
- "[&>a>code]:transition-colors"
206
- ],
207
- "leading": [
208
- "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",
209
- "transition"
210
- ],
211
- "leadingIcon": "size-4 shrink-0",
212
- "link": "group lg:ps-2 lg:-ms-2"
213
- }
214
- },
215
- "h3": {
216
- "slots": {
217
- "base": [
218
- "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",
219
- "[&>a>code]:transition-colors"
220
- ],
221
- "leading": [
222
- "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",
223
- "transition"
224
- ],
225
- "leadingIcon": "size-4 shrink-0",
226
- "link": "group lg:ps-2 lg:-ms-2"
227
- }
228
- },
229
- "h4": {
230
- "slots": {
231
- "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",
232
- "link": ""
233
- }
234
- },
235
- "hr": {
236
- "base": "border-t border-default my-12"
237
- },
238
- "icon": {
239
- "base": "size-4 shrink-0 align-sub"
240
- },
241
- "img": {
242
- "base": ""
243
- },
244
- "kbd": {
245
- "base": "align-text-top"
246
- },
247
- "li": {
248
- "base": "my-1.5 ps-1.5 leading-7 [&>ul]:my-0"
249
- },
250
- "ol": {
251
- "base": "list-decimal ps-6 my-5 marker:text-muted"
252
- },
253
- "p": {
254
- "base": "my-5 leading-7 text-pretty"
255
- },
256
- "pre": {
257
- "slots": {
258
- "root": "relative my-5 group",
259
- "header": "flex items-center gap-1.5 border border-muted bg-default border-b-0 relative rounded-t-md px-4 py-3",
260
- "filename": "text-default text-sm/6",
261
- "icon": "size-4 shrink-0",
262
- "copy": "absolute top-[11px] right-[11px] lg:opacity-0 lg:group-hover:opacity-100 transition",
263
- "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"
264
- },
265
- "variants": {
266
- "filename": {
267
- "true": {
268
- "root": "[&>pre]:rounded-t-none [&>pre]:my-0 my-5"
269
- }
270
- }
271
- }
272
- },
273
- "steps": {
274
- "base": "ms-4 border-s border-default ps-8 [counter-reset:step]",
275
- "variants": {
276
- "level": {
277
- "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",
278
- "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",
279
- "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"
280
- }
281
- },
282
- "defaultVariants": {
283
- "level": "3"
284
- }
285
- },
286
- "strong": {
287
- "base": ""
288
- },
289
- "table": {
290
- "slots": {
291
- "root": "relative my-5 overflow-x-auto",
292
- "base": "w-full border-separate border-spacing-0 rounded-md"
293
- }
294
- },
295
- "tabs": {
296
- "slots": {
297
- "root": "my-5 gap-4"
298
- }
299
- },
300
- "tabsItem": {
301
- "base": "*:first:mt-0 *:last:mb-0 *:my-1.5"
302
- },
303
- "tbody": {
304
- "base": ""
305
- },
306
- "td": {
307
- "base": "py-3 px-4 text-sm text-left align-top border-e border-b first:border-s border-muted [&_code]:text-xs/5 [&_p]:my-0 [&_p]:leading-6 [&_ul]:my-0 [&_ol]:my-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5 [&_li]:leading-6 [&_li]:my-0.5"
308
- },
309
- "th": {
310
- "base": "py-3 px-4 font-semibold text-sm text-left border-e border-b first:border-s border-t border-muted"
311
- },
312
- "thead": {
313
- "base": "bg-muted"
314
- },
315
- "tr": {
316
- "base": "[&:first-child>th:first-child]:rounded-tl-md [&:first-child>th:last-child]:rounded-tr-md [&:last-child>td:first-child]:rounded-bl-md [&:last-child>td:last-child]:rounded-br-md"
317
- },
318
- "ul": {
319
- "base": "list-disc ps-6 my-5 marker:text-(--ui-border-accented)"
320
- }
321
- }