@privyid/persona 0.3.0 → 0.5.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 (330) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +4 -0
  3. package/dist/components/app/App.vue +3 -2
  4. package/dist/components/aspect-ratio/index.d.ts +3 -0
  5. package/dist/components/aspect-ratio/index.mjs +21 -0
  6. package/dist/components/aspect-ratio/utils/calculate-ratio.d.ts +7 -0
  7. package/dist/components/aspect-ratio/utils/calculate-ratio.mjs +10 -0
  8. package/dist/components/aspect-ratio/utils/resize-observer.d.ts +1 -0
  9. package/dist/components/aspect-ratio/utils/resize-observer.mjs +22 -0
  10. package/dist/components/avatar/Avatar.vue +1 -1
  11. package/dist/components/avatar/Avatar.vue.d.ts +1 -2
  12. package/dist/components/avatar/index.d.ts +2 -0
  13. package/dist/components/avatar/index.mjs +0 -0
  14. package/dist/components/badge/Badge.vue +33 -58
  15. package/dist/components/badge/Badge.vue.d.ts +1 -2
  16. package/dist/components/badge/index.d.ts +2 -0
  17. package/dist/components/badge/index.mjs +0 -0
  18. package/dist/components/banner/Banner.vue +23 -9
  19. package/dist/components/banner/Banner.vue.d.ts +1 -1
  20. package/dist/components/banner/index.d.ts +1 -0
  21. package/dist/components/banner/index.mjs +0 -0
  22. package/dist/components/button/Button.vue +74 -77
  23. package/dist/components/button/Button.vue.d.ts +1 -3
  24. package/dist/components/button/index.d.ts +3 -0
  25. package/dist/components/button/index.mjs +0 -0
  26. package/dist/components/button-group/ButtonGroup.vue +126 -63
  27. package/dist/components/button-group/ButtonGroup.vue.d.ts +1 -0
  28. package/dist/components/calendar/Calendar.vue +31 -30
  29. package/dist/components/calendar/adapter/adapter.d.ts +7 -0
  30. package/dist/components/calendar/adapter/adapter.mjs +8 -0
  31. package/dist/components/calendar/adapter/date.mjs +6 -4
  32. package/dist/components/calendar/adapter/month.mjs +2 -3
  33. package/dist/components/camera/Camera.vue +383 -0
  34. package/dist/components/camera/Camera.vue.d.ts +94 -0
  35. package/dist/components/camera/adapter/adapter.d.ts +41 -0
  36. package/dist/components/camera/adapter/adapter.mjs +3 -0
  37. package/dist/components/camera/adapter/capture.d.ts +5 -0
  38. package/dist/components/camera/adapter/capture.mjs +12 -0
  39. package/dist/components/camera/adapter/liveness.d.ts +5 -0
  40. package/dist/components/camera/adapter/liveness.mjs +46 -0
  41. package/dist/components/camera/adapter/qr-code.d.ts +2 -0
  42. package/dist/components/camera/adapter/qr-code.mjs +19 -0
  43. package/dist/components/camera/assets/shutter.wav +0 -0
  44. package/dist/components/camera/utils/motion.d.ts +29 -0
  45. package/dist/components/camera/utils/motion.mjs +88 -0
  46. package/dist/components/camera/utils/take-picture.d.ts +1 -0
  47. package/dist/components/camera/utils/take-picture.mjs +14 -0
  48. package/dist/components/caption/Caption.vue +60 -7
  49. package/dist/components/caption/Caption.vue.d.ts +27 -7
  50. package/dist/components/card/Card.vue +14 -8
  51. package/dist/components/card/Card.vue.d.ts +10 -1
  52. package/dist/components/card/CardSection.vue +2 -1
  53. package/dist/components/card/index.d.ts +1 -0
  54. package/dist/components/card/index.mjs +0 -0
  55. package/dist/components/chart/Chart.vue +6 -3
  56. package/dist/components/chart/Chart.vue.d.ts +1 -2
  57. package/dist/components/chart/index.d.ts +2 -0
  58. package/dist/components/chart/index.mjs +0 -0
  59. package/dist/components/chart/{use-chart.d.ts → utils/use-chart.d.ts} +0 -0
  60. package/dist/components/chart/{use-chart.mjs → utils/use-chart.mjs} +0 -0
  61. package/dist/components/checkbox/Checkbox.vue +47 -14
  62. package/dist/components/checkbox/Checkbox.vue.d.ts +0 -4
  63. package/dist/components/checkbox/{use-checkbox.d.ts → index.d.ts} +1 -1
  64. package/dist/components/checkbox/{use-checkbox.mjs → index.mjs} +0 -0
  65. package/dist/components/collapse/Collapse.vue +88 -0
  66. package/dist/components/collapse/Collapse.vue.d.ts +29 -0
  67. package/dist/components/contextual-bar/ContextualBar.vue +292 -0
  68. package/dist/components/contextual-bar/ContextualBar.vue.d.ts +78 -0
  69. package/dist/components/contextual-bar/assets/images/img-background-contextualbar.svg +14 -0
  70. package/dist/components/contextual-bar/assets/images/img-bg-contextualbar.svg +19 -0
  71. package/dist/components/contextual-bar/index.d.ts +1 -0
  72. package/dist/components/contextual-bar/index.mjs +0 -0
  73. package/dist/components/cropper/Cropper.vue +423 -0
  74. package/dist/components/cropper/Cropper.vue.d.ts +149 -0
  75. package/dist/components/cropper/assets/ps-neutral.png +0 -0
  76. package/dist/components/cropper/assets/sample-1.jpg +0 -0
  77. package/dist/components/cropper/utils/crop-image.d.ts +44 -0
  78. package/dist/components/cropper/utils/crop-image.mjs +43 -0
  79. package/dist/components/cropper/utils/use-pinch.d.ts +8 -0
  80. package/dist/components/cropper/utils/use-pinch.mjs +42 -0
  81. package/dist/components/cropper/utils/use-ratio.d.ts +9 -0
  82. package/dist/components/cropper/utils/use-ratio.mjs +24 -0
  83. package/dist/components/datepicker/Datepicker.vue +14 -5
  84. package/dist/components/datepicker/Datepicker.vue.d.ts +9 -0
  85. package/dist/components/dialog/Dialog.vue +2 -0
  86. package/dist/components/dialog/Dialog.vue.d.ts +1 -1
  87. package/dist/components/dialog/DialogFooter.vue +4 -2
  88. package/dist/components/dialog/DialogFooter.vue.d.ts +2 -1
  89. package/dist/components/dialog/index.d.ts +31 -6
  90. package/dist/components/dialog/index.mjs +32 -5
  91. package/dist/components/divider/Divider.vue +22 -2
  92. package/dist/components/dot/Dot.vue +27 -20
  93. package/dist/components/dot/Dot.vue.d.ts +10 -1
  94. package/dist/components/dot/index.d.ts +2 -0
  95. package/dist/components/dot/index.mjs +0 -0
  96. package/dist/components/dropdown/Dropdown.vue +73 -21
  97. package/dist/components/dropdown/Dropdown.vue.d.ts +16 -12
  98. package/dist/components/dropdown/DropdownItem.vue +3 -3
  99. package/dist/components/dropdown/index.d.ts +9 -0
  100. package/dist/components/dropdown/index.mjs +1 -0
  101. package/dist/components/dropdown/utils/use-focus.d.ts +1 -1
  102. package/dist/components/dropdown/utils/use-focus.mjs +4 -2
  103. package/dist/components/dropdown-subitem/DropdownSubitem.vue +12 -12
  104. package/dist/components/dropdown-subitem/DropdownSubitem.vue.d.ts +1 -1
  105. package/dist/components/dropdown-subitem/{use-dropdown-subitem.d.ts → index.d.ts} +0 -0
  106. package/dist/components/dropdown-subitem/{use-dropdown-subitem.mjs → index.mjs} +0 -0
  107. package/dist/components/dropzone/Dropzone.vue +202 -0
  108. package/dist/components/dropzone/Dropzone.vue.d.ts +93 -0
  109. package/dist/components/dropzone/index.d.ts +4 -0
  110. package/dist/components/dropzone/index.mjs +0 -0
  111. package/dist/components/dropzone/utils/accept.d.ts +1 -0
  112. package/dist/components/dropzone/utils/accept.mjs +17 -0
  113. package/dist/components/filterbar/Filterbar.vue +7 -5
  114. package/dist/components/filterbar/Filterbar.vue.d.ts +1 -1
  115. package/dist/components/filterbar/{use-filterbar.d.ts → index.d.ts} +1 -1
  116. package/dist/components/filterbar/{use-filterbar.mjs → index.mjs} +0 -0
  117. package/dist/components/filterbar/pinned/Date.vue +9 -7
  118. package/dist/components/filterbar/pinned/Date.vue.d.ts +1 -1
  119. package/dist/components/filterbar/pinned/Multiselect.vue +16 -13
  120. package/dist/components/filterbar/pinned/Multiselect.vue.d.ts +2 -2
  121. package/dist/components/filterbar/pinned/Select.vue +11 -8
  122. package/dist/components/filterbar/pinned/Select.vue.d.ts +2 -2
  123. package/dist/components/filterbar/pinned/Toggle.vue +2 -1
  124. package/dist/components/filterbar/pinned/Toggle.vue.d.ts +1 -1
  125. package/dist/components/form-group/FormGroup.vue +103 -0
  126. package/dist/components/form-group/FormGroup.vue.d.ts +61 -0
  127. package/dist/components/global/context.d.ts +24 -0
  128. package/dist/components/global/context.mjs +18 -0
  129. package/dist/components/global/router.d.ts +23 -0
  130. package/dist/components/global/router.mjs +7 -0
  131. package/dist/components/global/use-singleton.d.ts +17 -2
  132. package/dist/components/global/use-singleton.mjs +18 -10
  133. package/dist/components/heading/Heading.vue +50 -0
  134. package/dist/components/heading/Heading.vue.d.ts +19 -1
  135. package/dist/components/heading/index.d.ts +3 -0
  136. package/dist/components/heading/index.mjs +0 -0
  137. package/dist/components/input/Input.vue +119 -24
  138. package/dist/components/input/Input.vue.d.ts +38 -2
  139. package/dist/components/input/{use-input.d.ts → index.d.ts} +0 -0
  140. package/dist/components/input/{use-input.mjs → index.mjs} +0 -0
  141. package/dist/components/input-file/InputFile.vue +171 -0
  142. package/dist/components/input-file/InputFile.vue.d.ts +120 -0
  143. package/dist/components/input-group/InputGroup.vue +131 -0
  144. package/dist/components/input-group/InputGroup.vue.d.ts +45 -0
  145. package/dist/components/input-group/InputGroupAddon.vue +43 -0
  146. package/dist/components/input-password/InputPassword.vue +62 -0
  147. package/dist/components/input-password/InputPassword.vue.d.ts +5 -0
  148. package/dist/components/input-password/index.d.ts +2 -0
  149. package/dist/components/input-password/index.mjs +17 -0
  150. package/dist/components/input-pin/InputPin.vue +145 -0
  151. package/dist/components/input-pin/InputPin.vue.d.ts +64 -0
  152. package/dist/components/input-range/InputRange.vue +274 -0
  153. package/dist/components/input-range/InputRange.vue.d.ts +108 -0
  154. package/dist/components/input-range/utils/use-drag.d.ts +3 -0
  155. package/dist/components/input-range/utils/use-drag.mjs +19 -0
  156. package/dist/components/label/Label.vue +29 -41
  157. package/dist/components/label/Label.vue.d.ts +1 -1
  158. package/dist/components/markdown/index.d.ts +20 -0
  159. package/dist/components/markdown/index.mjs +15 -0
  160. package/dist/components/modal/Modal.vue +71 -5
  161. package/dist/components/modal/Modal.vue.d.ts +30 -0
  162. package/dist/components/nav/Nav.vue +16 -14
  163. package/dist/components/nav/Nav.vue.d.ts +3 -4
  164. package/dist/components/nav/NavForm.vue +19 -0
  165. package/dist/components/nav/NavItem.vue +14 -4
  166. package/dist/components/nav/NavItem.vue.d.ts +3 -4
  167. package/dist/components/nav/NavItemDropdown.vue +5 -1
  168. package/dist/components/nav/NavItemDropdown.vue.d.ts +9 -0
  169. package/dist/components/nav/NavSubItem.vue +5 -5
  170. package/dist/components/nav/index.d.ts +2 -0
  171. package/dist/components/nav/index.mjs +0 -0
  172. package/dist/components/navbar/Navbar.vue +143 -0
  173. package/dist/components/navbar/Navbar.vue.d.ts +57 -0
  174. package/dist/components/navbar/NavbarBrand.vue +33 -0
  175. package/dist/components/navbar/NavbarBrand.vue.d.ts +14 -0
  176. package/dist/components/navbar/NavbarNav.vue +109 -0
  177. package/dist/components/navbar/NavbarNav.vue.d.ts +19 -0
  178. package/dist/components/navbar/NavbarToggle.vue +74 -0
  179. package/dist/components/navbar/NavbarToggle.vue.d.ts +6 -0
  180. package/dist/components/navbar/index.d.ts +10 -0
  181. package/dist/components/navbar/index.mjs +1 -0
  182. package/dist/components/navbar-menu/NavbarNavMenu.vue +62 -0
  183. package/dist/components/navbar-menu/NavbarNavMenu.vue.d.ts +16 -0
  184. package/dist/components/overlay/Overlay.vue +8 -3
  185. package/dist/components/overlay/Overlay.vue.d.ts +14 -3
  186. package/dist/components/overlay/{use-overlay.d.ts → index.d.ts} +0 -0
  187. package/dist/components/overlay/{use-overlay.mjs → index.mjs} +0 -0
  188. package/dist/components/progress/Progress.vue +200 -0
  189. package/dist/components/progress/Progress.vue.d.ts +42 -0
  190. package/dist/components/progress/ProgressItem.vue +50 -0
  191. package/dist/components/progress/ProgressItem.vue.d.ts +25 -0
  192. package/dist/components/radio/Radio.vue +88 -31
  193. package/dist/components/radio/Radio.vue.d.ts +6 -6
  194. package/dist/components/radio/{use-radio.d.ts → index.d.ts} +1 -1
  195. package/dist/components/radio/{use-radio.mjs → index.mjs} +0 -0
  196. package/dist/components/select/Select.vue +10 -4
  197. package/dist/components/select/Select.vue.d.ts +11 -2
  198. package/dist/components/select/adapter/adapter.d.ts +1 -1
  199. package/dist/components/select/adapter/async-adapter.d.ts +1 -1
  200. package/dist/components/select/{use-select.d.ts → index.d.ts} +0 -0
  201. package/dist/components/select/{use-select.mjs → index.mjs} +0 -0
  202. package/dist/components/sidebar/Sidebar.vue +3 -3
  203. package/dist/components/sidebar/Sidebar.vue.d.ts +4 -9
  204. package/dist/components/sidebar/SidebarNav.vue +11 -11
  205. package/dist/components/sidebar/SidebarNav.vue.d.ts +2 -2
  206. package/dist/components/sidebar/index.d.ts +9 -0
  207. package/dist/components/sidebar/index.mjs +1 -0
  208. package/dist/components/sidebar-menu/SidebarMenu.vue.d.ts +4 -2
  209. package/dist/components/sidebar-menu/{use-sidebar-menu.d.ts → index.d.ts} +2 -0
  210. package/dist/components/sidebar-menu/{use-sidebar-menu.mjs → index.mjs} +0 -0
  211. package/dist/components/signature-draw/SignatureDraw.vue +1 -1
  212. package/dist/components/signature-draw/SignatureDrawDesktop.vue +5 -5
  213. package/dist/components/signature-draw/SignatureDrawMobile.vue +17 -5
  214. package/dist/components/signature-draw/utils/canvas.d.ts +7 -1
  215. package/dist/components/signature-draw/utils/canvas.mjs +8 -2
  216. package/dist/components/signature-draw/utils/use-draw.mjs +6 -5
  217. package/dist/components/signature-text/SignatureText.vue +1 -1
  218. package/dist/components/signature-text/SignatureText.vue.d.ts +1 -1
  219. package/dist/components/signature-text/utils/formatter.mjs +1 -1
  220. package/dist/components/spinner/Spinner.vue +1 -0
  221. package/dist/components/spinner/SpinnerRing.vue +1 -0
  222. package/dist/components/spread/Spread.vue +55 -0
  223. package/dist/components/spread/Spread.vue.d.ts +14 -0
  224. package/dist/components/steps/Step.vue +55 -0
  225. package/dist/components/steps/Step.vue.d.ts +32 -0
  226. package/dist/components/steps/StepSlider.vue +39 -0
  227. package/dist/components/steps/StepSlider.vue.d.ts +25 -0
  228. package/dist/components/steps/Steps.vue +111 -0
  229. package/dist/components/steps/Steps.vue.d.ts +56 -0
  230. package/dist/components/steps/index.d.ts +26 -0
  231. package/dist/components/steps/index.mjs +52 -0
  232. package/dist/components/steps/utils/hook.d.ts +10 -0
  233. package/dist/components/steps/utils/hook.mjs +34 -0
  234. package/dist/components/strengthbar/Strengthbar.vue +96 -0
  235. package/dist/components/strengthbar/Strengthbar.vue.d.ts +45 -0
  236. package/dist/components/subheading/Subheading.vue +65 -20
  237. package/dist/components/subheading/Subheading.vue.d.ts +23 -5
  238. package/dist/components/subheading/index.d.ts +1 -0
  239. package/dist/components/subheading/index.mjs +0 -0
  240. package/dist/components/table/Table.vue +21 -9
  241. package/dist/components/table/Table.vue.d.ts +1 -1
  242. package/dist/components/table/{use-table.d.ts → index.d.ts} +0 -0
  243. package/dist/components/table/{use-table.mjs → index.mjs} +0 -0
  244. package/dist/components/tabs/TabContent.vue +2 -2
  245. package/dist/components/tabs/Tabs.vue +12 -9
  246. package/dist/components/tabs/Tabs.vue.d.ts +2 -1
  247. package/dist/components/textarea/Textarea.vue +27 -16
  248. package/dist/components/textarea/Textarea.vue.d.ts +10 -1
  249. package/dist/components/toast/Toast.vue +102 -72
  250. package/dist/components/toast/Toast.vue.d.ts +1 -1
  251. package/dist/components/toast/ToastContainer.vue +1 -1
  252. package/dist/components/toast/ToastContainer.vue.d.ts +3 -3
  253. package/dist/components/toast/{use-toast.d.ts → index.d.ts} +1 -1
  254. package/dist/components/toast/index.mjs +6 -0
  255. package/dist/components/toggle/Toggle.vue +17 -21
  256. package/dist/components/tooltip/Tooltip.vue +161 -0
  257. package/dist/components/tooltip/Tooltip.vue.d.ts +51 -0
  258. package/dist/components/tooltip/TooltipContainer.vue +66 -0
  259. package/dist/components/tooltip/TooltipContainer.vue.d.ts +11 -0
  260. package/dist/components/tooltip/index.d.ts +14 -0
  261. package/dist/components/tooltip/index.mjs +82 -0
  262. package/dist/components/tooltip/utils/create-handler.d.ts +9 -0
  263. package/dist/components/tooltip/utils/create-handler.mjs +16 -0
  264. package/dist/components/tooltip/utils/parse-bindings.d.ts +22 -0
  265. package/dist/components/tooltip/utils/parse-bindings.mjs +45 -0
  266. package/dist/components/tour/Tour.vue +105 -0
  267. package/dist/components/tour/Tour.vue.d.ts +11 -0
  268. package/dist/components/tour/TourDialog.vue +204 -0
  269. package/dist/components/tour/TourDialog.vue.d.ts +108 -0
  270. package/dist/components/tour/TourHighlight.vue +57 -0
  271. package/dist/components/tour/TourHighlight.vue.d.ts +15 -0
  272. package/dist/components/tour/core/base.d.ts +59 -0
  273. package/dist/components/tour/core/base.mjs +43 -0
  274. package/dist/components/tour/core/step/action.d.ts +15 -0
  275. package/dist/components/tour/core/step/action.mjs +14 -0
  276. package/dist/components/tour/core/step/conditional.d.ts +26 -0
  277. package/dist/components/tour/core/step/conditional.mjs +69 -0
  278. package/dist/components/tour/core/step/delay.d.ts +8 -0
  279. package/dist/components/tour/core/step/delay.mjs +9 -0
  280. package/dist/components/tour/core/step/dialog.d.ts +11 -0
  281. package/dist/components/tour/core/step/dialog.mjs +25 -0
  282. package/dist/components/tour/core/step/visit.d.ts +9 -0
  283. package/dist/components/tour/core/step/visit.mjs +18 -0
  284. package/dist/components/tour/core/step.d.ts +37 -0
  285. package/dist/components/tour/core/step.mjs +30 -0
  286. package/dist/components/tour/core/story.d.ts +130 -0
  287. package/dist/components/tour/core/story.mjs +85 -0
  288. package/dist/components/tour/core/tour.d.ts +120 -0
  289. package/dist/components/tour/core/tour.mjs +133 -0
  290. package/dist/components/tour/index.d.ts +3 -0
  291. package/dist/components/tour/index.mjs +4 -0
  292. package/dist/components/tour/utils/is-visible.d.ts +2 -0
  293. package/dist/components/tour/utils/is-visible.mjs +35 -0
  294. package/dist/components/tour/utils/use-selector.d.ts +3 -0
  295. package/dist/components/tour/utils/use-selector.mjs +25 -0
  296. package/dist/components/tour/utils/wait-element.d.ts +6 -0
  297. package/dist/components/tour/utils/wait-element.mjs +44 -0
  298. package/dist/components/utils/base64.d.ts +8 -0
  299. package/dist/components/utils/base64.mjs +29 -0
  300. package/dist/components/utils/color.d.ts +6 -1
  301. package/dist/components/utils/color.mjs +4 -0
  302. package/dist/components/utils/value.mjs +2 -1
  303. package/dist/components/utils/vnode.d.ts +14 -1
  304. package/dist/components/utils/vnode.mjs +5 -2
  305. package/dist/components/wizard/Wizard.vue +85 -0
  306. package/dist/components/wizard/Wizard.vue.d.ts +72 -0
  307. package/dist/components/wizard/WizardBody.vue +50 -0
  308. package/dist/components/wizard/WizardBody.vue.d.ts +23 -0
  309. package/dist/components/wizard/WizardHeader.vue +38 -0
  310. package/dist/components/wizard/WizardHeader.vue.d.ts +16 -0
  311. package/dist/components/wizard/WizardStep.vue +20 -0
  312. package/dist/components/wizard/WizardStep.vue.d.ts +34 -0
  313. package/dist/core/index.d.ts +16 -6
  314. package/dist/core/index.mjs +37 -6
  315. package/dist/directive/index.d.ts +3 -0
  316. package/dist/directive/index.mjs +12 -0
  317. package/dist/module.d.ts +9 -2
  318. package/dist/module.json +1 -1
  319. package/dist/module.mjs +1613 -4
  320. package/dist/runtime/plugin.d.ts +2 -0
  321. package/dist/runtime/plugin.mjs +14 -0
  322. package/dist/types.d.ts +5 -1
  323. package/package.json +46 -9
  324. package/dist/components/dialog/use-dialog.d.ts +0 -28
  325. package/dist/components/dialog/use-dialog.mjs +0 -31
  326. package/dist/components/dropdown/utils/use-popper.d.ts +0 -6
  327. package/dist/components/dropdown/utils/use-popper.mjs +0 -32
  328. package/dist/components/input/InputGroup.vue +0 -25
  329. package/dist/components/toast/use-toast.mjs +0 -5
  330. package/dist/core/index.cjs +0 -75
package/dist/module.mjs CHANGED
@@ -1,13 +1,1610 @@
1
1
  import { fileURLToPath } from 'node:url';
2
2
  import { defineNuxtModule, installModule } from '@nuxt/kit';
3
- import preset from '@privyid/tailwind-preset';
3
+
4
+ var defaultTheme$2 = {};
5
+
6
+ var cloneDeep = {};
7
+
8
+ (function (exports) {
9
+ Object.defineProperty(exports, "__esModule", {
10
+ value: true
11
+ });
12
+ Object.defineProperty(exports, "cloneDeep", {
13
+ enumerable: true,
14
+ get: ()=>cloneDeep
15
+ });
16
+ function cloneDeep(value) {
17
+ if (Array.isArray(value)) {
18
+ return value.map((child)=>cloneDeep(child));
19
+ }
20
+ if (typeof value === "object" && value !== null) {
21
+ return Object.fromEntries(Object.entries(value).map(([k, v])=>[
22
+ k,
23
+ cloneDeep(v)
24
+ ]));
25
+ }
26
+ return value;
27
+ }
28
+ }(cloneDeep));
29
+
30
+ /** @type {import('tailwindcss').Config} */
31
+
32
+ var defaultConfig_stub = {
33
+ content: [],
34
+ presets: [],
35
+ darkMode: 'media', // or 'class'
36
+ theme: {
37
+ screens: {
38
+ sm: '640px',
39
+ md: '768px',
40
+ lg: '1024px',
41
+ xl: '1280px',
42
+ '2xl': '1536px',
43
+ },
44
+ supports: {},
45
+ colors: ({ colors }) => ({
46
+ inherit: colors.inherit,
47
+ current: colors.current,
48
+ transparent: colors.transparent,
49
+ black: colors.black,
50
+ white: colors.white,
51
+ slate: colors.slate,
52
+ gray: colors.gray,
53
+ zinc: colors.zinc,
54
+ neutral: colors.neutral,
55
+ stone: colors.stone,
56
+ red: colors.red,
57
+ orange: colors.orange,
58
+ amber: colors.amber,
59
+ yellow: colors.yellow,
60
+ lime: colors.lime,
61
+ green: colors.green,
62
+ emerald: colors.emerald,
63
+ teal: colors.teal,
64
+ cyan: colors.cyan,
65
+ sky: colors.sky,
66
+ blue: colors.blue,
67
+ indigo: colors.indigo,
68
+ violet: colors.violet,
69
+ purple: colors.purple,
70
+ fuchsia: colors.fuchsia,
71
+ pink: colors.pink,
72
+ rose: colors.rose,
73
+ }),
74
+ columns: {
75
+ auto: 'auto',
76
+ 1: '1',
77
+ 2: '2',
78
+ 3: '3',
79
+ 4: '4',
80
+ 5: '5',
81
+ 6: '6',
82
+ 7: '7',
83
+ 8: '8',
84
+ 9: '9',
85
+ 10: '10',
86
+ 11: '11',
87
+ 12: '12',
88
+ '3xs': '16rem',
89
+ '2xs': '18rem',
90
+ xs: '20rem',
91
+ sm: '24rem',
92
+ md: '28rem',
93
+ lg: '32rem',
94
+ xl: '36rem',
95
+ '2xl': '42rem',
96
+ '3xl': '48rem',
97
+ '4xl': '56rem',
98
+ '5xl': '64rem',
99
+ '6xl': '72rem',
100
+ '7xl': '80rem',
101
+ },
102
+ spacing: {
103
+ px: '1px',
104
+ 0: '0px',
105
+ 0.5: '0.125rem',
106
+ 1: '0.25rem',
107
+ 1.5: '0.375rem',
108
+ 2: '0.5rem',
109
+ 2.5: '0.625rem',
110
+ 3: '0.75rem',
111
+ 3.5: '0.875rem',
112
+ 4: '1rem',
113
+ 5: '1.25rem',
114
+ 6: '1.5rem',
115
+ 7: '1.75rem',
116
+ 8: '2rem',
117
+ 9: '2.25rem',
118
+ 10: '2.5rem',
119
+ 11: '2.75rem',
120
+ 12: '3rem',
121
+ 14: '3.5rem',
122
+ 16: '4rem',
123
+ 20: '5rem',
124
+ 24: '6rem',
125
+ 28: '7rem',
126
+ 32: '8rem',
127
+ 36: '9rem',
128
+ 40: '10rem',
129
+ 44: '11rem',
130
+ 48: '12rem',
131
+ 52: '13rem',
132
+ 56: '14rem',
133
+ 60: '15rem',
134
+ 64: '16rem',
135
+ 72: '18rem',
136
+ 80: '20rem',
137
+ 96: '24rem',
138
+ },
139
+ animation: {
140
+ none: 'none',
141
+ spin: 'spin 1s linear infinite',
142
+ ping: 'ping 1s cubic-bezier(0, 0, 0.2, 1) infinite',
143
+ pulse: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
144
+ bounce: 'bounce 1s infinite',
145
+ },
146
+ aria: {
147
+ checked: 'checked="true"',
148
+ disabled: 'disabled="true"',
149
+ expanded: 'expanded="true"',
150
+ hidden: 'hidden="true"',
151
+ pressed: 'pressed="true"',
152
+ readonly: 'readonly="true"',
153
+ required: 'required="true"',
154
+ selected: 'selected="true"',
155
+ },
156
+ aspectRatio: {
157
+ auto: 'auto',
158
+ square: '1 / 1',
159
+ video: '16 / 9',
160
+ },
161
+ backdropBlur: ({ theme }) => theme('blur'),
162
+ backdropBrightness: ({ theme }) => theme('brightness'),
163
+ backdropContrast: ({ theme }) => theme('contrast'),
164
+ backdropGrayscale: ({ theme }) => theme('grayscale'),
165
+ backdropHueRotate: ({ theme }) => theme('hueRotate'),
166
+ backdropInvert: ({ theme }) => theme('invert'),
167
+ backdropOpacity: ({ theme }) => theme('opacity'),
168
+ backdropSaturate: ({ theme }) => theme('saturate'),
169
+ backdropSepia: ({ theme }) => theme('sepia'),
170
+ backgroundColor: ({ theme }) => theme('colors'),
171
+ backgroundImage: {
172
+ none: 'none',
173
+ 'gradient-to-t': 'linear-gradient(to top, var(--tw-gradient-stops))',
174
+ 'gradient-to-tr': 'linear-gradient(to top right, var(--tw-gradient-stops))',
175
+ 'gradient-to-r': 'linear-gradient(to right, var(--tw-gradient-stops))',
176
+ 'gradient-to-br': 'linear-gradient(to bottom right, var(--tw-gradient-stops))',
177
+ 'gradient-to-b': 'linear-gradient(to bottom, var(--tw-gradient-stops))',
178
+ 'gradient-to-bl': 'linear-gradient(to bottom left, var(--tw-gradient-stops))',
179
+ 'gradient-to-l': 'linear-gradient(to left, var(--tw-gradient-stops))',
180
+ 'gradient-to-tl': 'linear-gradient(to top left, var(--tw-gradient-stops))',
181
+ },
182
+ backgroundOpacity: ({ theme }) => theme('opacity'),
183
+ backgroundPosition: {
184
+ bottom: 'bottom',
185
+ center: 'center',
186
+ left: 'left',
187
+ 'left-bottom': 'left bottom',
188
+ 'left-top': 'left top',
189
+ right: 'right',
190
+ 'right-bottom': 'right bottom',
191
+ 'right-top': 'right top',
192
+ top: 'top',
193
+ },
194
+ backgroundSize: {
195
+ auto: 'auto',
196
+ cover: 'cover',
197
+ contain: 'contain',
198
+ },
199
+ blur: {
200
+ 0: '0',
201
+ none: '0',
202
+ sm: '4px',
203
+ DEFAULT: '8px',
204
+ md: '12px',
205
+ lg: '16px',
206
+ xl: '24px',
207
+ '2xl': '40px',
208
+ '3xl': '64px',
209
+ },
210
+ brightness: {
211
+ 0: '0',
212
+ 50: '.5',
213
+ 75: '.75',
214
+ 90: '.9',
215
+ 95: '.95',
216
+ 100: '1',
217
+ 105: '1.05',
218
+ 110: '1.1',
219
+ 125: '1.25',
220
+ 150: '1.5',
221
+ 200: '2',
222
+ },
223
+ borderColor: ({ theme }) => ({
224
+ ...theme('colors'),
225
+ DEFAULT: theme('colors.gray.200', 'currentColor'),
226
+ }),
227
+ borderOpacity: ({ theme }) => theme('opacity'),
228
+ borderRadius: {
229
+ none: '0px',
230
+ sm: '0.125rem',
231
+ DEFAULT: '0.25rem',
232
+ md: '0.375rem',
233
+ lg: '0.5rem',
234
+ xl: '0.75rem',
235
+ '2xl': '1rem',
236
+ '3xl': '1.5rem',
237
+ full: '9999px',
238
+ },
239
+ borderSpacing: ({ theme }) => ({
240
+ ...theme('spacing'),
241
+ }),
242
+ borderWidth: {
243
+ DEFAULT: '1px',
244
+ 0: '0px',
245
+ 2: '2px',
246
+ 4: '4px',
247
+ 8: '8px',
248
+ },
249
+ boxShadow: {
250
+ sm: '0 1px 2px 0 rgb(0 0 0 / 0.05)',
251
+ DEFAULT: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)',
252
+ md: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',
253
+ lg: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',
254
+ xl: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)',
255
+ '2xl': '0 25px 50px -12px rgb(0 0 0 / 0.25)',
256
+ inner: 'inset 0 2px 4px 0 rgb(0 0 0 / 0.05)',
257
+ none: 'none',
258
+ },
259
+ boxShadowColor: ({ theme }) => theme('colors'),
260
+ caretColor: ({ theme }) => theme('colors'),
261
+ accentColor: ({ theme }) => ({
262
+ ...theme('colors'),
263
+ auto: 'auto',
264
+ }),
265
+ contrast: {
266
+ 0: '0',
267
+ 50: '.5',
268
+ 75: '.75',
269
+ 100: '1',
270
+ 125: '1.25',
271
+ 150: '1.5',
272
+ 200: '2',
273
+ },
274
+ container: {},
275
+ content: {
276
+ none: 'none',
277
+ },
278
+ cursor: {
279
+ auto: 'auto',
280
+ default: 'default',
281
+ pointer: 'pointer',
282
+ wait: 'wait',
283
+ text: 'text',
284
+ move: 'move',
285
+ help: 'help',
286
+ 'not-allowed': 'not-allowed',
287
+ none: 'none',
288
+ 'context-menu': 'context-menu',
289
+ progress: 'progress',
290
+ cell: 'cell',
291
+ crosshair: 'crosshair',
292
+ 'vertical-text': 'vertical-text',
293
+ alias: 'alias',
294
+ copy: 'copy',
295
+ 'no-drop': 'no-drop',
296
+ grab: 'grab',
297
+ grabbing: 'grabbing',
298
+ 'all-scroll': 'all-scroll',
299
+ 'col-resize': 'col-resize',
300
+ 'row-resize': 'row-resize',
301
+ 'n-resize': 'n-resize',
302
+ 'e-resize': 'e-resize',
303
+ 's-resize': 's-resize',
304
+ 'w-resize': 'w-resize',
305
+ 'ne-resize': 'ne-resize',
306
+ 'nw-resize': 'nw-resize',
307
+ 'se-resize': 'se-resize',
308
+ 'sw-resize': 'sw-resize',
309
+ 'ew-resize': 'ew-resize',
310
+ 'ns-resize': 'ns-resize',
311
+ 'nesw-resize': 'nesw-resize',
312
+ 'nwse-resize': 'nwse-resize',
313
+ 'zoom-in': 'zoom-in',
314
+ 'zoom-out': 'zoom-out',
315
+ },
316
+ divideColor: ({ theme }) => theme('borderColor'),
317
+ divideOpacity: ({ theme }) => theme('borderOpacity'),
318
+ divideWidth: ({ theme }) => theme('borderWidth'),
319
+ dropShadow: {
320
+ sm: '0 1px 1px rgb(0 0 0 / 0.05)',
321
+ DEFAULT: ['0 1px 2px rgb(0 0 0 / 0.1)', '0 1px 1px rgb(0 0 0 / 0.06)'],
322
+ md: ['0 4px 3px rgb(0 0 0 / 0.07)', '0 2px 2px rgb(0 0 0 / 0.06)'],
323
+ lg: ['0 10px 8px rgb(0 0 0 / 0.04)', '0 4px 3px rgb(0 0 0 / 0.1)'],
324
+ xl: ['0 20px 13px rgb(0 0 0 / 0.03)', '0 8px 5px rgb(0 0 0 / 0.08)'],
325
+ '2xl': '0 25px 25px rgb(0 0 0 / 0.15)',
326
+ none: '0 0 #0000',
327
+ },
328
+ fill: ({ theme }) => ({
329
+ none: 'none',
330
+ ...theme('colors'),
331
+ }),
332
+ grayscale: {
333
+ 0: '0',
334
+ DEFAULT: '100%',
335
+ },
336
+ hueRotate: {
337
+ 0: '0deg',
338
+ 15: '15deg',
339
+ 30: '30deg',
340
+ 60: '60deg',
341
+ 90: '90deg',
342
+ 180: '180deg',
343
+ },
344
+ invert: {
345
+ 0: '0',
346
+ DEFAULT: '100%',
347
+ },
348
+ flex: {
349
+ 1: '1 1 0%',
350
+ auto: '1 1 auto',
351
+ initial: '0 1 auto',
352
+ none: 'none',
353
+ },
354
+ flexBasis: ({ theme }) => ({
355
+ auto: 'auto',
356
+ ...theme('spacing'),
357
+ '1/2': '50%',
358
+ '1/3': '33.333333%',
359
+ '2/3': '66.666667%',
360
+ '1/4': '25%',
361
+ '2/4': '50%',
362
+ '3/4': '75%',
363
+ '1/5': '20%',
364
+ '2/5': '40%',
365
+ '3/5': '60%',
366
+ '4/5': '80%',
367
+ '1/6': '16.666667%',
368
+ '2/6': '33.333333%',
369
+ '3/6': '50%',
370
+ '4/6': '66.666667%',
371
+ '5/6': '83.333333%',
372
+ '1/12': '8.333333%',
373
+ '2/12': '16.666667%',
374
+ '3/12': '25%',
375
+ '4/12': '33.333333%',
376
+ '5/12': '41.666667%',
377
+ '6/12': '50%',
378
+ '7/12': '58.333333%',
379
+ '8/12': '66.666667%',
380
+ '9/12': '75%',
381
+ '10/12': '83.333333%',
382
+ '11/12': '91.666667%',
383
+ full: '100%',
384
+ }),
385
+ flexGrow: {
386
+ 0: '0',
387
+ DEFAULT: '1',
388
+ },
389
+ flexShrink: {
390
+ 0: '0',
391
+ DEFAULT: '1',
392
+ },
393
+ fontFamily: {
394
+ sans: [
395
+ 'ui-sans-serif',
396
+ 'system-ui',
397
+ '-apple-system',
398
+ 'BlinkMacSystemFont',
399
+ '"Segoe UI"',
400
+ 'Roboto',
401
+ '"Helvetica Neue"',
402
+ 'Arial',
403
+ '"Noto Sans"',
404
+ 'sans-serif',
405
+ '"Apple Color Emoji"',
406
+ '"Segoe UI Emoji"',
407
+ '"Segoe UI Symbol"',
408
+ '"Noto Color Emoji"',
409
+ ],
410
+ serif: ['ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'],
411
+ mono: [
412
+ 'ui-monospace',
413
+ 'SFMono-Regular',
414
+ 'Menlo',
415
+ 'Monaco',
416
+ 'Consolas',
417
+ '"Liberation Mono"',
418
+ '"Courier New"',
419
+ 'monospace',
420
+ ],
421
+ },
422
+ fontSize: {
423
+ xs: ['0.75rem', { lineHeight: '1rem' }],
424
+ sm: ['0.875rem', { lineHeight: '1.25rem' }],
425
+ base: ['1rem', { lineHeight: '1.5rem' }],
426
+ lg: ['1.125rem', { lineHeight: '1.75rem' }],
427
+ xl: ['1.25rem', { lineHeight: '1.75rem' }],
428
+ '2xl': ['1.5rem', { lineHeight: '2rem' }],
429
+ '3xl': ['1.875rem', { lineHeight: '2.25rem' }],
430
+ '4xl': ['2.25rem', { lineHeight: '2.5rem' }],
431
+ '5xl': ['3rem', { lineHeight: '1' }],
432
+ '6xl': ['3.75rem', { lineHeight: '1' }],
433
+ '7xl': ['4.5rem', { lineHeight: '1' }],
434
+ '8xl': ['6rem', { lineHeight: '1' }],
435
+ '9xl': ['8rem', { lineHeight: '1' }],
436
+ },
437
+ fontWeight: {
438
+ thin: '100',
439
+ extralight: '200',
440
+ light: '300',
441
+ normal: '400',
442
+ medium: '500',
443
+ semibold: '600',
444
+ bold: '700',
445
+ extrabold: '800',
446
+ black: '900',
447
+ },
448
+ gap: ({ theme }) => theme('spacing'),
449
+ gradientColorStops: ({ theme }) => theme('colors'),
450
+ gridAutoColumns: {
451
+ auto: 'auto',
452
+ min: 'min-content',
453
+ max: 'max-content',
454
+ fr: 'minmax(0, 1fr)',
455
+ },
456
+ gridAutoRows: {
457
+ auto: 'auto',
458
+ min: 'min-content',
459
+ max: 'max-content',
460
+ fr: 'minmax(0, 1fr)',
461
+ },
462
+ gridColumn: {
463
+ auto: 'auto',
464
+ 'span-1': 'span 1 / span 1',
465
+ 'span-2': 'span 2 / span 2',
466
+ 'span-3': 'span 3 / span 3',
467
+ 'span-4': 'span 4 / span 4',
468
+ 'span-5': 'span 5 / span 5',
469
+ 'span-6': 'span 6 / span 6',
470
+ 'span-7': 'span 7 / span 7',
471
+ 'span-8': 'span 8 / span 8',
472
+ 'span-9': 'span 9 / span 9',
473
+ 'span-10': 'span 10 / span 10',
474
+ 'span-11': 'span 11 / span 11',
475
+ 'span-12': 'span 12 / span 12',
476
+ 'span-full': '1 / -1',
477
+ },
478
+ gridColumnEnd: {
479
+ auto: 'auto',
480
+ 1: '1',
481
+ 2: '2',
482
+ 3: '3',
483
+ 4: '4',
484
+ 5: '5',
485
+ 6: '6',
486
+ 7: '7',
487
+ 8: '8',
488
+ 9: '9',
489
+ 10: '10',
490
+ 11: '11',
491
+ 12: '12',
492
+ 13: '13',
493
+ },
494
+ gridColumnStart: {
495
+ auto: 'auto',
496
+ 1: '1',
497
+ 2: '2',
498
+ 3: '3',
499
+ 4: '4',
500
+ 5: '5',
501
+ 6: '6',
502
+ 7: '7',
503
+ 8: '8',
504
+ 9: '9',
505
+ 10: '10',
506
+ 11: '11',
507
+ 12: '12',
508
+ 13: '13',
509
+ },
510
+ gridRow: {
511
+ auto: 'auto',
512
+ 'span-1': 'span 1 / span 1',
513
+ 'span-2': 'span 2 / span 2',
514
+ 'span-3': 'span 3 / span 3',
515
+ 'span-4': 'span 4 / span 4',
516
+ 'span-5': 'span 5 / span 5',
517
+ 'span-6': 'span 6 / span 6',
518
+ 'span-full': '1 / -1',
519
+ },
520
+ gridRowStart: {
521
+ auto: 'auto',
522
+ 1: '1',
523
+ 2: '2',
524
+ 3: '3',
525
+ 4: '4',
526
+ 5: '5',
527
+ 6: '6',
528
+ 7: '7',
529
+ },
530
+ gridRowEnd: {
531
+ auto: 'auto',
532
+ 1: '1',
533
+ 2: '2',
534
+ 3: '3',
535
+ 4: '4',
536
+ 5: '5',
537
+ 6: '6',
538
+ 7: '7',
539
+ },
540
+ gridTemplateColumns: {
541
+ none: 'none',
542
+ 1: 'repeat(1, minmax(0, 1fr))',
543
+ 2: 'repeat(2, minmax(0, 1fr))',
544
+ 3: 'repeat(3, minmax(0, 1fr))',
545
+ 4: 'repeat(4, minmax(0, 1fr))',
546
+ 5: 'repeat(5, minmax(0, 1fr))',
547
+ 6: 'repeat(6, minmax(0, 1fr))',
548
+ 7: 'repeat(7, minmax(0, 1fr))',
549
+ 8: 'repeat(8, minmax(0, 1fr))',
550
+ 9: 'repeat(9, minmax(0, 1fr))',
551
+ 10: 'repeat(10, minmax(0, 1fr))',
552
+ 11: 'repeat(11, minmax(0, 1fr))',
553
+ 12: 'repeat(12, minmax(0, 1fr))',
554
+ },
555
+ gridTemplateRows: {
556
+ none: 'none',
557
+ 1: 'repeat(1, minmax(0, 1fr))',
558
+ 2: 'repeat(2, minmax(0, 1fr))',
559
+ 3: 'repeat(3, minmax(0, 1fr))',
560
+ 4: 'repeat(4, minmax(0, 1fr))',
561
+ 5: 'repeat(5, minmax(0, 1fr))',
562
+ 6: 'repeat(6, minmax(0, 1fr))',
563
+ },
564
+ height: ({ theme }) => ({
565
+ auto: 'auto',
566
+ ...theme('spacing'),
567
+ '1/2': '50%',
568
+ '1/3': '33.333333%',
569
+ '2/3': '66.666667%',
570
+ '1/4': '25%',
571
+ '2/4': '50%',
572
+ '3/4': '75%',
573
+ '1/5': '20%',
574
+ '2/5': '40%',
575
+ '3/5': '60%',
576
+ '4/5': '80%',
577
+ '1/6': '16.666667%',
578
+ '2/6': '33.333333%',
579
+ '3/6': '50%',
580
+ '4/6': '66.666667%',
581
+ '5/6': '83.333333%',
582
+ full: '100%',
583
+ screen: '100vh',
584
+ min: 'min-content',
585
+ max: 'max-content',
586
+ fit: 'fit-content',
587
+ }),
588
+ inset: ({ theme }) => ({
589
+ auto: 'auto',
590
+ ...theme('spacing'),
591
+ '1/2': '50%',
592
+ '1/3': '33.333333%',
593
+ '2/3': '66.666667%',
594
+ '1/4': '25%',
595
+ '2/4': '50%',
596
+ '3/4': '75%',
597
+ full: '100%',
598
+ }),
599
+ keyframes: {
600
+ spin: {
601
+ to: {
602
+ transform: 'rotate(360deg)',
603
+ },
604
+ },
605
+ ping: {
606
+ '75%, 100%': {
607
+ transform: 'scale(2)',
608
+ opacity: '0',
609
+ },
610
+ },
611
+ pulse: {
612
+ '50%': {
613
+ opacity: '.5',
614
+ },
615
+ },
616
+ bounce: {
617
+ '0%, 100%': {
618
+ transform: 'translateY(-25%)',
619
+ animationTimingFunction: 'cubic-bezier(0.8,0,1,1)',
620
+ },
621
+ '50%': {
622
+ transform: 'none',
623
+ animationTimingFunction: 'cubic-bezier(0,0,0.2,1)',
624
+ },
625
+ },
626
+ },
627
+ letterSpacing: {
628
+ tighter: '-0.05em',
629
+ tight: '-0.025em',
630
+ normal: '0em',
631
+ wide: '0.025em',
632
+ wider: '0.05em',
633
+ widest: '0.1em',
634
+ },
635
+ lineHeight: {
636
+ none: '1',
637
+ tight: '1.25',
638
+ snug: '1.375',
639
+ normal: '1.5',
640
+ relaxed: '1.625',
641
+ loose: '2',
642
+ 3: '.75rem',
643
+ 4: '1rem',
644
+ 5: '1.25rem',
645
+ 6: '1.5rem',
646
+ 7: '1.75rem',
647
+ 8: '2rem',
648
+ 9: '2.25rem',
649
+ 10: '2.5rem',
650
+ },
651
+ listStyleType: {
652
+ none: 'none',
653
+ disc: 'disc',
654
+ decimal: 'decimal',
655
+ },
656
+ margin: ({ theme }) => ({
657
+ auto: 'auto',
658
+ ...theme('spacing'),
659
+ }),
660
+ maxHeight: ({ theme }) => ({
661
+ ...theme('spacing'),
662
+ full: '100%',
663
+ screen: '100vh',
664
+ min: 'min-content',
665
+ max: 'max-content',
666
+ fit: 'fit-content',
667
+ }),
668
+ maxWidth: ({ theme, breakpoints }) => ({
669
+ none: 'none',
670
+ 0: '0rem',
671
+ xs: '20rem',
672
+ sm: '24rem',
673
+ md: '28rem',
674
+ lg: '32rem',
675
+ xl: '36rem',
676
+ '2xl': '42rem',
677
+ '3xl': '48rem',
678
+ '4xl': '56rem',
679
+ '5xl': '64rem',
680
+ '6xl': '72rem',
681
+ '7xl': '80rem',
682
+ full: '100%',
683
+ min: 'min-content',
684
+ max: 'max-content',
685
+ fit: 'fit-content',
686
+ prose: '65ch',
687
+ ...breakpoints(theme('screens')),
688
+ }),
689
+ minHeight: {
690
+ 0: '0px',
691
+ full: '100%',
692
+ screen: '100vh',
693
+ min: 'min-content',
694
+ max: 'max-content',
695
+ fit: 'fit-content',
696
+ },
697
+ minWidth: {
698
+ 0: '0px',
699
+ full: '100%',
700
+ min: 'min-content',
701
+ max: 'max-content',
702
+ fit: 'fit-content',
703
+ },
704
+ objectPosition: {
705
+ bottom: 'bottom',
706
+ center: 'center',
707
+ left: 'left',
708
+ 'left-bottom': 'left bottom',
709
+ 'left-top': 'left top',
710
+ right: 'right',
711
+ 'right-bottom': 'right bottom',
712
+ 'right-top': 'right top',
713
+ top: 'top',
714
+ },
715
+ opacity: {
716
+ 0: '0',
717
+ 5: '0.05',
718
+ 10: '0.1',
719
+ 20: '0.2',
720
+ 25: '0.25',
721
+ 30: '0.3',
722
+ 40: '0.4',
723
+ 50: '0.5',
724
+ 60: '0.6',
725
+ 70: '0.7',
726
+ 75: '0.75',
727
+ 80: '0.8',
728
+ 90: '0.9',
729
+ 95: '0.95',
730
+ 100: '1',
731
+ },
732
+ order: {
733
+ first: '-9999',
734
+ last: '9999',
735
+ none: '0',
736
+ 1: '1',
737
+ 2: '2',
738
+ 3: '3',
739
+ 4: '4',
740
+ 5: '5',
741
+ 6: '6',
742
+ 7: '7',
743
+ 8: '8',
744
+ 9: '9',
745
+ 10: '10',
746
+ 11: '11',
747
+ 12: '12',
748
+ },
749
+ padding: ({ theme }) => theme('spacing'),
750
+ placeholderColor: ({ theme }) => theme('colors'),
751
+ placeholderOpacity: ({ theme }) => theme('opacity'),
752
+ outlineColor: ({ theme }) => theme('colors'),
753
+ outlineOffset: {
754
+ 0: '0px',
755
+ 1: '1px',
756
+ 2: '2px',
757
+ 4: '4px',
758
+ 8: '8px',
759
+ },
760
+ outlineWidth: {
761
+ 0: '0px',
762
+ 1: '1px',
763
+ 2: '2px',
764
+ 4: '4px',
765
+ 8: '8px',
766
+ },
767
+ ringColor: ({ theme }) => ({
768
+ DEFAULT: theme('colors.blue.500', '#3b82f6'),
769
+ ...theme('colors'),
770
+ }),
771
+ ringOffsetColor: ({ theme }) => theme('colors'),
772
+ ringOffsetWidth: {
773
+ 0: '0px',
774
+ 1: '1px',
775
+ 2: '2px',
776
+ 4: '4px',
777
+ 8: '8px',
778
+ },
779
+ ringOpacity: ({ theme }) => ({
780
+ DEFAULT: '0.5',
781
+ ...theme('opacity'),
782
+ }),
783
+ ringWidth: {
784
+ DEFAULT: '3px',
785
+ 0: '0px',
786
+ 1: '1px',
787
+ 2: '2px',
788
+ 4: '4px',
789
+ 8: '8px',
790
+ },
791
+ rotate: {
792
+ 0: '0deg',
793
+ 1: '1deg',
794
+ 2: '2deg',
795
+ 3: '3deg',
796
+ 6: '6deg',
797
+ 12: '12deg',
798
+ 45: '45deg',
799
+ 90: '90deg',
800
+ 180: '180deg',
801
+ },
802
+ saturate: {
803
+ 0: '0',
804
+ 50: '.5',
805
+ 100: '1',
806
+ 150: '1.5',
807
+ 200: '2',
808
+ },
809
+ scale: {
810
+ 0: '0',
811
+ 50: '.5',
812
+ 75: '.75',
813
+ 90: '.9',
814
+ 95: '.95',
815
+ 100: '1',
816
+ 105: '1.05',
817
+ 110: '1.1',
818
+ 125: '1.25',
819
+ 150: '1.5',
820
+ },
821
+ scrollMargin: ({ theme }) => ({
822
+ ...theme('spacing'),
823
+ }),
824
+ scrollPadding: ({ theme }) => theme('spacing'),
825
+ sepia: {
826
+ 0: '0',
827
+ DEFAULT: '100%',
828
+ },
829
+ skew: {
830
+ 0: '0deg',
831
+ 1: '1deg',
832
+ 2: '2deg',
833
+ 3: '3deg',
834
+ 6: '6deg',
835
+ 12: '12deg',
836
+ },
837
+ space: ({ theme }) => ({
838
+ ...theme('spacing'),
839
+ }),
840
+ stroke: ({ theme }) => ({
841
+ none: 'none',
842
+ ...theme('colors'),
843
+ }),
844
+ strokeWidth: {
845
+ 0: '0',
846
+ 1: '1',
847
+ 2: '2',
848
+ },
849
+ textColor: ({ theme }) => theme('colors'),
850
+ textDecorationColor: ({ theme }) => theme('colors'),
851
+ textDecorationThickness: {
852
+ auto: 'auto',
853
+ 'from-font': 'from-font',
854
+ 0: '0px',
855
+ 1: '1px',
856
+ 2: '2px',
857
+ 4: '4px',
858
+ 8: '8px',
859
+ },
860
+ textUnderlineOffset: {
861
+ auto: 'auto',
862
+ 0: '0px',
863
+ 1: '1px',
864
+ 2: '2px',
865
+ 4: '4px',
866
+ 8: '8px',
867
+ },
868
+ textIndent: ({ theme }) => ({
869
+ ...theme('spacing'),
870
+ }),
871
+ textOpacity: ({ theme }) => theme('opacity'),
872
+ transformOrigin: {
873
+ center: 'center',
874
+ top: 'top',
875
+ 'top-right': 'top right',
876
+ right: 'right',
877
+ 'bottom-right': 'bottom right',
878
+ bottom: 'bottom',
879
+ 'bottom-left': 'bottom left',
880
+ left: 'left',
881
+ 'top-left': 'top left',
882
+ },
883
+ transitionDelay: {
884
+ 75: '75ms',
885
+ 100: '100ms',
886
+ 150: '150ms',
887
+ 200: '200ms',
888
+ 300: '300ms',
889
+ 500: '500ms',
890
+ 700: '700ms',
891
+ 1000: '1000ms',
892
+ },
893
+ transitionDuration: {
894
+ DEFAULT: '150ms',
895
+ 75: '75ms',
896
+ 100: '100ms',
897
+ 150: '150ms',
898
+ 200: '200ms',
899
+ 300: '300ms',
900
+ 500: '500ms',
901
+ 700: '700ms',
902
+ 1000: '1000ms',
903
+ },
904
+ transitionProperty: {
905
+ none: 'none',
906
+ all: 'all',
907
+ DEFAULT:
908
+ 'color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',
909
+ colors: 'color, background-color, border-color, text-decoration-color, fill, stroke',
910
+ opacity: 'opacity',
911
+ shadow: 'box-shadow',
912
+ transform: 'transform',
913
+ },
914
+ transitionTimingFunction: {
915
+ DEFAULT: 'cubic-bezier(0.4, 0, 0.2, 1)',
916
+ linear: 'linear',
917
+ in: 'cubic-bezier(0.4, 0, 1, 1)',
918
+ out: 'cubic-bezier(0, 0, 0.2, 1)',
919
+ 'in-out': 'cubic-bezier(0.4, 0, 0.2, 1)',
920
+ },
921
+ translate: ({ theme }) => ({
922
+ ...theme('spacing'),
923
+ '1/2': '50%',
924
+ '1/3': '33.333333%',
925
+ '2/3': '66.666667%',
926
+ '1/4': '25%',
927
+ '2/4': '50%',
928
+ '3/4': '75%',
929
+ full: '100%',
930
+ }),
931
+ width: ({ theme }) => ({
932
+ auto: 'auto',
933
+ ...theme('spacing'),
934
+ '1/2': '50%',
935
+ '1/3': '33.333333%',
936
+ '2/3': '66.666667%',
937
+ '1/4': '25%',
938
+ '2/4': '50%',
939
+ '3/4': '75%',
940
+ '1/5': '20%',
941
+ '2/5': '40%',
942
+ '3/5': '60%',
943
+ '4/5': '80%',
944
+ '1/6': '16.666667%',
945
+ '2/6': '33.333333%',
946
+ '3/6': '50%',
947
+ '4/6': '66.666667%',
948
+ '5/6': '83.333333%',
949
+ '1/12': '8.333333%',
950
+ '2/12': '16.666667%',
951
+ '3/12': '25%',
952
+ '4/12': '33.333333%',
953
+ '5/12': '41.666667%',
954
+ '6/12': '50%',
955
+ '7/12': '58.333333%',
956
+ '8/12': '66.666667%',
957
+ '9/12': '75%',
958
+ '10/12': '83.333333%',
959
+ '11/12': '91.666667%',
960
+ full: '100%',
961
+ screen: '100vw',
962
+ min: 'min-content',
963
+ max: 'max-content',
964
+ fit: 'fit-content',
965
+ }),
966
+ willChange: {
967
+ auto: 'auto',
968
+ scroll: 'scroll-position',
969
+ contents: 'contents',
970
+ transform: 'transform',
971
+ },
972
+ zIndex: {
973
+ auto: 'auto',
974
+ 0: '0',
975
+ 10: '10',
976
+ 20: '20',
977
+ 30: '30',
978
+ 40: '40',
979
+ 50: '50',
980
+ },
981
+ },
982
+ variantOrder: [
983
+ 'first',
984
+ 'last',
985
+ 'odd',
986
+ 'even',
987
+ 'visited',
988
+ 'checked',
989
+ 'empty',
990
+ 'read-only',
991
+ 'group-hover',
992
+ 'group-focus',
993
+ 'focus-within',
994
+ 'hover',
995
+ 'focus',
996
+ 'focus-visible',
997
+ 'active',
998
+ 'disabled',
999
+ ],
1000
+ plugins: [],
1001
+ };
1002
+
1003
+ (function (exports) {
1004
+ Object.defineProperty(exports, "__esModule", {
1005
+ value: true
1006
+ });
1007
+ Object.defineProperty(exports, "default", {
1008
+ enumerable: true,
1009
+ get: ()=>_default
1010
+ });
1011
+ const _cloneDeep = cloneDeep;
1012
+ const _defaultConfigStub = /*#__PURE__*/ _interopRequireDefault(defaultConfig_stub);
1013
+ function _interopRequireDefault(obj) {
1014
+ return obj && obj.__esModule ? obj : {
1015
+ default: obj
1016
+ };
1017
+ }
1018
+ const _default = (0, _cloneDeep.cloneDeep)(_defaultConfigStub.default.theme);
1019
+ }(defaultTheme$2));
1020
+
1021
+ let defaultTheme$1 = defaultTheme$2;
1022
+ var defaultTheme_1 = (defaultTheme$1.__esModule ? defaultTheme$1 : { default: defaultTheme$1 }).default;
1023
+
1024
+ var createPlugin$2 = {};
1025
+
1026
+ var createPlugin$1 = {};
1027
+
1028
+ (function (exports) {
1029
+ Object.defineProperty(exports, "__esModule", {
1030
+ value: true
1031
+ });
1032
+ Object.defineProperty(exports, "default", {
1033
+ enumerable: true,
1034
+ get: ()=>_default
1035
+ });
1036
+ function createPlugin(plugin, config) {
1037
+ return {
1038
+ handler: plugin,
1039
+ config
1040
+ };
1041
+ }
1042
+ createPlugin.withOptions = function(pluginFunction, configFunction = ()=>({})) {
1043
+ const optionsFunction = function(options) {
1044
+ return {
1045
+ __options: options,
1046
+ handler: pluginFunction(options),
1047
+ config: configFunction(options)
1048
+ };
1049
+ };
1050
+ optionsFunction.__isOptionsFunction = true;
1051
+ // Expose plugin dependencies so that `object-hash` returns a different
1052
+ // value if anything here changes, to ensure a rebuild is triggered.
1053
+ optionsFunction.__pluginFunction = pluginFunction;
1054
+ optionsFunction.__configFunction = configFunction;
1055
+ return optionsFunction;
1056
+ };
1057
+ const _default = createPlugin;
1058
+ }(createPlugin$1));
1059
+
1060
+ (function (exports) {
1061
+ Object.defineProperty(exports, "__esModule", {
1062
+ value: true
1063
+ });
1064
+ Object.defineProperty(exports, "default", {
1065
+ enumerable: true,
1066
+ get: ()=>_default
1067
+ });
1068
+ const _createPlugin = /*#__PURE__*/ _interopRequireDefault(createPlugin$1);
1069
+ function _interopRequireDefault(obj) {
1070
+ return obj && obj.__esModule ? obj : {
1071
+ default: obj
1072
+ };
1073
+ }
1074
+ const _default = _createPlugin.default;
1075
+ }(createPlugin$2));
1076
+
1077
+ let createPlugin = createPlugin$2;
1078
+ var plugin$2 = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default;
1079
+
1080
+ const plugin$1 = plugin$2;
1081
+ var tailwindAnimation = plugin$1(
1082
+ function({ addUtilities }) {
1083
+ addUtilities({
1084
+ ".slide-up-enter-active, .slide-up-leave-active": {
1085
+ transitionDuration: "150ms",
1086
+ transitionProperty: "opacity, transform",
1087
+ transitionTimingFunction: "cubic-bezier(0.2, 0, 0.38, 0.9)",
1088
+ willChange: "opacity, transform"
1089
+ },
1090
+ ".slide-up-enter, .slide-up-enter-from, .slide-up-leave-to": {
1091
+ opacity: 0,
1092
+ transform: "translateY(1.5rem)"
1093
+ },
1094
+ ".fade-enter-active, .fade-leave-active": {
1095
+ transitionDuration: "150ms",
1096
+ transitionProperty: "opacity",
1097
+ transitionTimingFunction: "cubic-bezier(0.2, 0, 0.38, 0.9)",
1098
+ willChange: "opacity, transform"
1099
+ },
1100
+ ".fade-enter, .fade-enter-from, .fade-leave-to": { opacity: 0 },
1101
+ ".zoom-in-enter-active, .zoom-out-enter-active, .zoom-in-leave-active, .zoom-out-leave-active": {
1102
+ transitionDuration: "150ms",
1103
+ transitionProperty: "opacity, transform",
1104
+ transitionTimingFunction: "cubic-bezier(0.2, 0, 0.38, 0.9)",
1105
+ willChange: "opacity, transform"
1106
+ },
1107
+ ".zoom-in-enter, .zoom-in-enter-from": {
1108
+ opacity: 0,
1109
+ transform: "scale(0.95)"
1110
+ },
1111
+ ".zoom-in-leave-to": {
1112
+ opacity: 0,
1113
+ transform: "scale(1.05)"
1114
+ },
1115
+ ".zoom-out-enter, .zoom-out-enter-from": {
1116
+ opacity: 0,
1117
+ transform: "scale(1.05)"
1118
+ },
1119
+ ".zoom-out-leave-to": {
1120
+ opacity: 0,
1121
+ transform: "scale(0.95)"
1122
+ },
1123
+ ".slide-right-enter-active, .slide-left-enter-active, .slide-right-leave-active, .slide-left-leave-active": {
1124
+ transitionDuration: "150ms",
1125
+ transitionProperty: "opacity, transform",
1126
+ transitionTimingFunction: "cubic-bezier(0.2, 0, 0.38, 0.9)",
1127
+ willChange: "opacity, transform"
1128
+ },
1129
+ ".slide-right-enter, .slide-right-enter-from": {
1130
+ opacity: 0,
1131
+ transform: "translateX(-1.5rem)"
1132
+ },
1133
+ ".slide-right-leave-to": {
1134
+ opacity: 0,
1135
+ transform: "translateX(1.5rem)"
1136
+ },
1137
+ ".slide-left-enter, .slide-left-enter-from": {
1138
+ opacity: 0,
1139
+ transform: "translateX(1.5rem)"
1140
+ },
1141
+ ".slide-left-leave-to": {
1142
+ opacity: 0,
1143
+ transform: "translateX(-1.5rem)"
1144
+ }
1145
+ });
1146
+ },
1147
+ { safelist: [{ pattern: /^(slide|zoom|fade)/ }] }
1148
+ );
1149
+
1150
+ const plugin = plugin$2;
1151
+ var tailwindExtended = plugin(
1152
+ function({ addUtilities, matchUtilities, theme }) {
1153
+ addUtilities({
1154
+ ".horizontal-tb": { "writing-mode": "horizontal-tb" },
1155
+ ".vertical-rl": { "writing-mode": "vertical-rl" },
1156
+ ".vertical-lr": { "writing-mode": "vertical-lr" }
1157
+ });
1158
+ matchUtilities({
1159
+ pi: (value) => ({ paddingInline: value }),
1160
+ ps: (value) => ({ paddingInlineStart: value }),
1161
+ pe: (value) => ({ paddingInlineEnd: value }),
1162
+ mi: (value) => ({ marginInline: value }),
1163
+ ms: (value) => ({ marginInlineStart: value }),
1164
+ me: (value) => ({ marginInlineEnd: value })
1165
+ }, { values: theme("spacing"), supportsNegativeValues: true });
1166
+ matchUtilities({
1167
+ "space-gap": (value) => ({
1168
+ "marginTop": `calc(-1 * ${value})`,
1169
+ "marginLeft": `calc(-1 * ${value})`,
1170
+ "& > :not(hidden)": {
1171
+ marginTop: value,
1172
+ marginLeft: value
1173
+ }
1174
+ })
1175
+ }, { values: theme("spacing") });
1176
+ matchUtilities({
1177
+ "aspect-compat": (value) => ({
1178
+ "aspect-ratio": value,
1179
+ "@supports not (aspect-ratio: 1/1)": {
1180
+ "&::before": {
1181
+ float: "left",
1182
+ paddingTop: `calc(100% / (${value}))`,
1183
+ content: '""'
1184
+ },
1185
+ "&::after": {
1186
+ display: "block",
1187
+ content: '""',
1188
+ clear: "both"
1189
+ }
1190
+ }
1191
+ })
1192
+ }, { values: theme("aspectRatio") });
1193
+ }
1194
+ );
1195
+
1196
+ const defaultTheme = defaultTheme_1;
1197
+ var basic = {
1198
+ darkMode: "class",
1199
+ theme: {
1200
+ fontFamily: { sans: ["DM Sans", ...defaultTheme.fontFamily.sans] },
1201
+ letterSpacing: { ...defaultTheme.letterSpacing },
1202
+ fontWeight: {
1203
+ inherit: "inherit",
1204
+ thin: 100,
1205
+ extralight: 200,
1206
+ light: 300,
1207
+ normal: 400,
1208
+ medium: 500,
1209
+ semibold: 600,
1210
+ bold: 700,
1211
+ extrabold: 800,
1212
+ black: 900
1213
+ },
1214
+ colors: {
1215
+ inherit: "inherit",
1216
+ transparent: "transparent",
1217
+ current: "currentColor",
1218
+ base: {
1219
+ black: "#000000",
1220
+ white: "#ffffff"
1221
+ },
1222
+ gray: {
1223
+ 0: "#FAFAFA",
1224
+ 5: "#F3F3F3",
1225
+ 10: "#E7E7E8",
1226
+ 15: "#DBDBDC",
1227
+ 20: "#CFCFD1",
1228
+ 25: "#C2C3C5",
1229
+ 30: "#B6B8B9",
1230
+ 35: "#AAACAE",
1231
+ 40: "#9EA0A2",
1232
+ 45: "#929497",
1233
+ 50: "#86888B",
1234
+ 55: "#7A7C7F",
1235
+ 60: "#6E7074",
1236
+ 65: "#626468",
1237
+ 70: "#56585D",
1238
+ 75: "#4A4D51",
1239
+ 80: "#3D4145",
1240
+ 85: "#31353A",
1241
+ 90: "#25292E",
1242
+ 95: "#191D23",
1243
+ 100: "#0D1117"
1244
+ },
1245
+ blue: {
1246
+ 0: "#F2F7FD",
1247
+ 10: "#BFD9F3",
1248
+ 20: "#80B2E8",
1249
+ 30: "#408BDD",
1250
+ 40: "#0065D1",
1251
+ 50: "#0056B2",
1252
+ 60: "#004C9D"
1253
+ },
1254
+ green: {
1255
+ 0: "#F4FBF6",
1256
+ 10: "#C8ECD0",
1257
+ 20: "#91D8A0",
1258
+ 30: "#5AC571",
1259
+ 40: "#23B242",
1260
+ 50: "#1E9738",
1261
+ 60: "#1A8531"
1262
+ },
1263
+ lightblue: {
1264
+ 0: "#F2FBFC",
1265
+ 10: "#C0EBF1",
1266
+ 20: "#80D7E2",
1267
+ 30: "#41C2D4",
1268
+ 40: "#02AEC5",
1269
+ 50: "#0294A7",
1270
+ 60: "#018294"
1271
+ },
1272
+ orange: {
1273
+ 0: "#FFFBF4",
1274
+ 10: "#FDE9C8",
1275
+ 20: "#FAD391",
1276
+ 30: "#F8BC5A",
1277
+ 40: "#F5A623",
1278
+ 50: "#D08D1E",
1279
+ 60: "#B87C1A"
1280
+ },
1281
+ red: {
1282
+ 0: "#FEF5F4",
1283
+ 10: "#F8CBCA",
1284
+ 20: "#F29695",
1285
+ 30: "#EB6261",
1286
+ 40: "#E42E2C",
1287
+ 50: "#C22725",
1288
+ 60: "#AB2221"
1289
+ },
1290
+ gold: {
1291
+ 0: "#FBFAF2",
1292
+ 10: "#EDE6BF",
1293
+ 20: "#DBCC80",
1294
+ 30: "#C9B340",
1295
+ 40: "#B79A00",
1296
+ 50: "#9C8300",
1297
+ 60: "#897400"
1298
+ },
1299
+ yellow: {
1300
+ 0: "#FEFDF4",
1301
+ 10: "#FBF5CA",
1302
+ 20: "#F7EA95",
1303
+ 30: "#F3E061",
1304
+ 40: "#EFD52C",
1305
+ 50: "#CBB525",
1306
+ 60: "#B3A021"
1307
+ },
1308
+ lime: {
1309
+ 0: "#FAFEF5",
1310
+ 10: "#E8F9CD",
1311
+ 20: "#D1F39A",
1312
+ 30: "#BAEC68",
1313
+ 40: "#A3E635",
1314
+ 50: "#8BC32D",
1315
+ 60: "#7AAC28"
1316
+ },
1317
+ teal: {
1318
+ 0: "#F3FBFA",
1319
+ 10: "#C4EDE6",
1320
+ 20: "#88DBCE",
1321
+ 30: "#4DCAB5",
1322
+ 40: "#12B89C",
1323
+ 50: "#0F9C85",
1324
+ 60: "#0E8A75"
1325
+ },
1326
+ purple: {
1327
+ 0: "#F7F2FD",
1328
+ 10: "#D7BFF3",
1329
+ 20: "#AE80E8",
1330
+ 30: "#8640DD",
1331
+ 40: "#5E00D1",
1332
+ 50: "#5000B2",
1333
+ 60: "#46009D"
1334
+ }
1335
+ },
1336
+ borderRadius: {
1337
+ "none": 0,
1338
+ "sm": "4px",
1339
+ "md": "8px",
1340
+ "DEFAULT": "8px",
1341
+ "lg": "12px",
1342
+ "xl": "16px",
1343
+ "2xl": "22px",
1344
+ "full": "999999px"
1345
+ },
1346
+ opacity: {
1347
+ 0: 0,
1348
+ 5: 0.05,
1349
+ 10: 0.1,
1350
+ 15: 0.15,
1351
+ 20: 0.2,
1352
+ 25: 0.25,
1353
+ 30: 0.3,
1354
+ 35: 0.35,
1355
+ 40: 0.4,
1356
+ 45: 0.45,
1357
+ 50: 0.5,
1358
+ 55: 0.55,
1359
+ 60: 0.6,
1360
+ 65: 0.65,
1361
+ 70: 0.7,
1362
+ 75: 0.75,
1363
+ 80: 0.8,
1364
+ 85: 0.85,
1365
+ 90: 0.9,
1366
+ 95: 0.95,
1367
+ 100: 1
1368
+ }
1369
+ },
1370
+ plugins: [tailwindAnimation, tailwindExtended]
1371
+ };
1372
+
1373
+ const { theme } = basic;
1374
+ var tailwindPreset = {
1375
+ presets: [basic],
1376
+ theme: {
1377
+ extend: {
1378
+ colors: {
1379
+ base: {
1380
+ white: theme.colors.base.white,
1381
+ black: theme.colors.base.black
1382
+ }
1383
+ },
1384
+ fontSize: {
1385
+ "tn": [
1386
+ "11px",
1387
+ {
1388
+ lineHeight: "1.45",
1389
+ letterSpacing: theme.letterSpacing.wider
1390
+ }
1391
+ ],
1392
+ "xs": [
1393
+ "12px",
1394
+ {
1395
+ lineHeight: "1.33",
1396
+ letterSpacing: theme.letterSpacing.wide
1397
+ }
1398
+ ],
1399
+ "sm": [
1400
+ "14px",
1401
+ {
1402
+ lineHeight: "1.42",
1403
+ letterSpacing: theme.letterSpacing.normal
1404
+ }
1405
+ ],
1406
+ "base": [
1407
+ "16px",
1408
+ {
1409
+ lineHeight: "1.5",
1410
+ letterSpacing: theme.letterSpacing.normal
1411
+ }
1412
+ ],
1413
+ "xl": [
1414
+ "20px",
1415
+ {
1416
+ lineHeight: "1.3",
1417
+ letterSpacing: theme.letterSpacing.normal
1418
+ }
1419
+ ],
1420
+ "2xl": [
1421
+ "24px",
1422
+ {
1423
+ lineHeight: "1.3",
1424
+ letterSpacing: theme.letterSpacing.normal
1425
+ }
1426
+ ],
1427
+ "4xl": [
1428
+ "36px",
1429
+ {
1430
+ lineHeight: "1.3",
1431
+ letterSpacing: theme.letterSpacing.normal
1432
+ }
1433
+ ],
1434
+ "5xl": [
1435
+ "48px",
1436
+ {
1437
+ lineHeight: "1.3",
1438
+ letterSpacing: theme.letterSpacing.normal
1439
+ }
1440
+ ],
1441
+ "6xl": [
1442
+ "60px",
1443
+ {
1444
+ lineHeight: "1.3",
1445
+ letterSpacing: theme.letterSpacing.tight
1446
+ }
1447
+ ],
1448
+ "7xl": [
1449
+ "72px",
1450
+ {
1451
+ lineHeight: "1.36",
1452
+ letterSpacing: theme.letterSpacing.tight
1453
+ }
1454
+ ]
1455
+ },
1456
+ textColor: {
1457
+ "DEFAULT": theme.colors.gray[100],
1458
+ "default": theme.colors.gray[100],
1459
+ "subtle": theme.colors.gray[70],
1460
+ "muted": theme.colors.gray[40],
1461
+ "on-emphasis": theme.colors.base.white,
1462
+ "accent": theme.colors.blue[50],
1463
+ "success": theme.colors.green[50],
1464
+ "warning": theme.colors.orange[50],
1465
+ "danger": theme.colors.red[50]
1466
+ },
1467
+ backgroundColor: {
1468
+ inherit: "inherit",
1469
+ current: "currentColor",
1470
+ transparent: "transparent",
1471
+ DEFAULT: theme.colors.base.white,
1472
+ default: {
1473
+ DEFAULT: theme.colors.base.white,
1474
+ alpha: `rgba(${theme.colors.gray[50]}, ${theme.opacity[5]})`
1475
+ },
1476
+ subtle: {
1477
+ DEFAULT: theme.colors.gray[0],
1478
+ alpha: `rgba(${theme.colors.gray[80]}, ${theme.opacity[10]})`
1479
+ },
1480
+ muted: theme.colors.gray[5],
1481
+ inactive: theme.colors.gray[20],
1482
+ emphasis: {
1483
+ DEFAULT: theme.colors.gray[100],
1484
+ subtle: theme.colors.gray[95],
1485
+ alpha: {
1486
+ DEFAULT: `rgba(${theme.colors.gray[0]}, ${theme.opacity[5]})`,
1487
+ subtle: `rgba(${theme.colors.gray[0]}, ${theme.opacity[10]})`
1488
+ }
1489
+ },
1490
+ accent: {
1491
+ DEFAULT: theme.colors.blue[0],
1492
+ emphasis: theme.colors.blue[40]
1493
+ },
1494
+ success: {
1495
+ DEFAULT: theme.colors.green[0],
1496
+ emphasis: theme.colors.green[40]
1497
+ },
1498
+ warning: {
1499
+ DEFAULT: theme.colors.orange[0],
1500
+ emphasis: theme.colors.orange[40]
1501
+ },
1502
+ danger: {
1503
+ DEFAULT: theme.colors.red[0],
1504
+ emphasis: theme.colors.red[40]
1505
+ }
1506
+ },
1507
+ fill: ({ theme: theme2 }) => ({ ...theme2("backgroundColor") }),
1508
+ borderColor: {
1509
+ "DEFAULT": theme.colors.gray[15],
1510
+ "default": {
1511
+ DEFAULT: theme.colors.gray[15],
1512
+ alpha: `rgba(${theme.colors.gray[100]}, ${theme.opacity[5]})`
1513
+ },
1514
+ "subtle": {
1515
+ DEFAULT: theme.colors.gray[20],
1516
+ alpha: `rgba(${theme.colors.gray[100]}, ${theme.opacity[10]})`
1517
+ },
1518
+ "muted": theme.colors.gray[10],
1519
+ "on-emphasis": {
1520
+ DEFAULT: theme.colors.gray[90],
1521
+ subtle: theme.colors.gray[70],
1522
+ alpha: {
1523
+ DEFAULT: `rgba(${theme.colors.gray[0]}, ${theme.opacity[5]})`,
1524
+ subtle: `rgba(${theme.colors.gray[0]}, ${theme.opacity[10]})`
1525
+ }
1526
+ },
1527
+ "accent": {
1528
+ DEFAULT: theme.colors.blue[10],
1529
+ emphasis: theme.colors.blue[40]
1530
+ },
1531
+ "success": {
1532
+ DEFAULT: theme.colors.green[10],
1533
+ emphasis: theme.colors.green[40]
1534
+ },
1535
+ "warning": {
1536
+ DEFAULT: theme.colors.orange[10],
1537
+ emphasis: theme.colors.orange[40]
1538
+ },
1539
+ "danger": {
1540
+ DEFAULT: theme.colors.red[10],
1541
+ emphasis: theme.colors.red[40]
1542
+ }
1543
+ },
1544
+ boxShadowColor: ({ theme: theme2 }) => ({ ...theme2("backgroundColor") }),
1545
+ boxShadow: {
1546
+ "none": "0 0 #0000",
1547
+ "sm": `0 1px 3px rgba(${theme.colors.gray[100]}, ${theme.opacity[10]}), 0 1px 2px rgba(${theme.colors.gray[100]}, ${theme.opacity[5]})`,
1548
+ "md": `0 4px 6px -1px rgba(${theme.colors.gray[100]}, ${theme.opacity[10]}), 0 2px 4px rgba(${theme.colors.gray[100]}, ${theme.opacity[5]})`,
1549
+ "DEFAULT": `0 4px 6px -1px rgba(${theme.colors.gray[100]}, ${theme.opacity[10]}), 0 2px 4px rgba(${theme.colors.gray[100]}, ${theme.opacity[5]})`,
1550
+ "lg": `0 10px 15px -3px rgba(${theme.colors.gray[100]}, ${theme.opacity[10]}), 0 4px 6px rgba(${theme.colors.gray[100]}, ${theme.opacity[5]})`,
1551
+ "lg-top": `0 -10px 15px -3px rgba(${theme.colors.gray[100]}, ${theme.opacity[10]}), 0 -4px 6px rgba(${theme.colors.gray[100]}, ${theme.opacity[5]})`,
1552
+ "lg-left": `-10px 0 15px -3px rgba(${theme.colors.gray[100]}, ${theme.opacity[10]}), -4px 0 6px rgba(${theme.colors.gray[100]}, ${theme.opacity[5]})`,
1553
+ "lg-right": `10px 0 15px -3px rgba(${theme.colors.gray[100]}, ${theme.opacity[10]}), 4px 0 6px rgba(${theme.colors.gray[100]}, ${theme.opacity[5]})`,
1554
+ "lg-on-emphasis": `0 10px 15px -3px rgba(${theme.colors.gray[100]}, ${theme.opacity[35]}), 0 4px 6px -2px rgba(${theme.colors.gray[100]}, ${theme.opacity[15]})`,
1555
+ "lg-on-emphasis-darker": `0 10px 15px -3px rgba(${theme.colors.base.black}, ${theme.opacity[85]}), 0 4px 6px -2px rgba(${theme.colors.base.black}, ${theme.opacity[65]})`,
1556
+ "lg-accent": `0 10px 15px -3px rgba(${theme.colors.blue[40]}, ${theme.opacity[10]}), 0 4px 6px -2px rgba(${theme.colors.blue[40]}, ${theme.opacity[5]})`,
1557
+ "lg-success": `0 10px 15px -3px rgba(${theme.colors.green[40]}, ${theme.opacity[10]}), 0 4px 6px -2px rgba(${theme.colors.green[40]}, ${theme.opacity[5]})`,
1558
+ "lg-warning": `0 10px 15px -3px rgba(${theme.colors.orange[40]}, ${theme.opacity[5]}), 0 4px 6px -2px rgba(${theme.colors.orange[40]}, ${theme.opacity[5]})`,
1559
+ "lg-danger": `0 10px 15px -3px rgba(${theme.colors.red[40]}, ${theme.opacity[10]}), 0 4px 6px -2px rgba(${theme.colors.red[40]}, ${theme.opacity[5]})`,
1560
+ "xl": `0 0 1px rgba(${theme.colors.gray[100]}, ${theme.opacity[15]}), 0 8px 10px -2px rgba(${theme.colors.gray[100]}, ${theme.opacity[10]}), 0 16px 25px -2px rgba(${theme.colors.gray[100]}, ${theme.opacity[10]})`,
1561
+ "2xl": `0 20px 40px -8px rgba(${theme.colors.gray[100]}, ${theme.opacity[25]})`,
1562
+ "mask": `0 0 0 9999px rgba(${theme.colors.base.black}, ${theme.opacity[50]})`
1563
+ },
1564
+ dropShadow: {
1565
+ "sm": [`0 1px 3px rgba(${theme.colors.gray[100]}, ${theme.opacity[10]})`, `0 1px 2px rgba(${theme.colors.gray[100]}, ${theme.opacity[5]})`],
1566
+ "md": [`0 4px 6px -1px rgba(${theme.colors.gray[100]}, ${theme.opacity[10]})`, `0 2px 4px rgba(${theme.colors.gray[100]}, ${theme.opacity[5]})`],
1567
+ "DEFAULT": [`0 4px 6px -1px rgba(${theme.colors.gray[100]}, ${theme.opacity[10]})`, `0 2px 4px rgba(${theme.colors.gray[100]}, ${theme.opacity[5]})`],
1568
+ "lg": [`0 10px 15px -3px rgba(${theme.colors.gray[100]}, ${theme.opacity[10]})`, `0 4px 6px rgba(${theme.colors.gray[100]}, ${theme.opacity[5]})`],
1569
+ "lg-top": [`0 -10px 15px -3px rgba(${theme.colors.gray[100]}, ${theme.opacity[10]})`, `0 -4px 6px rgba(${theme.colors.gray[100]}, ${theme.opacity[5]})`],
1570
+ "lg-left": [`-10px 0 15px -3px rgba(${theme.colors.gray[100]}, ${theme.opacity[10]})`, `-4px 0 6px rgba(${theme.colors.gray[100]}, ${theme.opacity[5]})`],
1571
+ "lg-right": [`10px 0 15px -3px rgba(${theme.colors.gray[100]}, ${theme.opacity[10]})`, `4px 0 6px rgba(${theme.colors.gray[100]}, ${theme.opacity[5]})`],
1572
+ "lg-on-emphasis": [`0 10px 15px -3px rgba(${theme.colors.gray[100]}, ${theme.opacity[35]})`, `0 4px 6px -2px rgba(${theme.colors.gray[100]}, ${theme.opacity[15]})`],
1573
+ "lg-on-emphasis-darker": [`0 10px 15px -3px rgba(${theme.colors.base.black}, ${theme.opacity[85]})`, `0 4px 6px -2px rgba(${theme.colors.base.black}, ${theme.opacity[65]})`],
1574
+ "lg-accent": [`0 10px 15px -3px rgba(${theme.colors.blue[40]}, ${theme.opacity[10]})`, `0 4px 6px -2px rgba(${theme.colors.blue[40]}, ${theme.opacity[5]})`],
1575
+ "lg-success": [`0 10px 15px -3px rgba(${theme.colors.green[40]}, ${theme.opacity[10]})`, `0 4px 6px -2px rgba(${theme.colors.green[40]}, ${theme.opacity[5]})`],
1576
+ "lg-warning": [`0 10px 15px -3px rgba(${theme.colors.orange[40]}, ${theme.opacity[5]})`, `0 4px 6px -2px rgba(${theme.colors.orange[40]}, ${theme.opacity[5]})`],
1577
+ "lg-danger": [`0 10px 15px -3px rgba(${theme.colors.red[40]}, ${theme.opacity[10]})`, `0 4px 6px -2px rgba(${theme.colors.red[40]}, ${theme.opacity[5]})`],
1578
+ "xl": [
1579
+ `0 0 1px rgba(${theme.colors.gray[100]}, ${theme.opacity[15]})`,
1580
+ `0 8px 10px -2px rgba(${theme.colors.gray[100]}, ${theme.opacity[10]})`,
1581
+ `0 16px 25px -2px rgba(${theme.colors.gray[100]}, ${theme.opacity[10]})`
1582
+ ],
1583
+ "2xl": `0 20px 40px -8px rgba(${theme.colors.gray[100]}, ${theme.opacity[25]})`
1584
+ },
1585
+ outlineColor: {
1586
+ DEFAULT: theme.colors.gray[15],
1587
+ default: theme.colors.gray[15],
1588
+ inherit: "inherit",
1589
+ current: "currentColor",
1590
+ transparent: "transparent",
1591
+ accent: theme.colors.blue[40],
1592
+ success: theme.colors.green[40],
1593
+ warning: theme.colors.orange[40],
1594
+ danger: theme.colors.red[40]
1595
+ },
1596
+ ringColor: ({ theme: theme2 }) => ({ ...theme2("borderColor") }),
1597
+ zIndex: { 1: 1 }
1598
+ }
1599
+ }
1600
+ };
4
1601
 
5
1602
  const module = defineNuxtModule({
6
1603
  meta: {
7
1604
  name: "@privyid/persona",
8
1605
  configKey: "persona"
9
1606
  },
10
- defaults: {},
1607
+ defaults: { font: true },
11
1608
  hooks: {
12
1609
  "components:dirs"(dirs) {
13
1610
  dirs.push({
@@ -17,8 +1614,20 @@ const module = defineNuxtModule({
17
1614
  });
18
1615
  }
19
1616
  },
20
- async setup() {
21
- await installModule("@nuxtjs/tailwindcss", { config: { presets: [preset] } });
1617
+ async setup(options, nuxt) {
1618
+ nuxt.options.alias["@carbon/icons-vue/lib"] = "@carbon/icons-vue/es";
1619
+ if (options.font) {
1620
+ nuxt.options.app.head.link?.push(
1621
+ { rel: "preconnect", href: "https://fonts.googleapis.com" },
1622
+ {
1623
+ rel: "preconnect",
1624
+ href: "https://fonts.gstatic.com",
1625
+ crossorigin: ""
1626
+ },
1627
+ { rel: "stylesheet", href: "https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;1,400&display=swap" }
1628
+ );
1629
+ }
1630
+ await installModule("@nuxtjs/tailwindcss", { config: { presets: [tailwindPreset] } });
22
1631
  }
23
1632
  });
24
1633