autumn-js 0.0.67 → 0.0.72

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 (297) hide show
  1. package/components.json +21 -0
  2. package/dist/libraries/backend/{chunk-6OVW4YXK.mjs → chunk-2JZFMBVR.mjs} +1 -1
  3. package/dist/libraries/backend/{chunk-AEEYR55J.mjs → chunk-GUZSIYGF.mjs} +1 -1
  4. package/dist/libraries/backend/{chunk-BYAXY6C4.mjs → chunk-J7UA442M.mjs} +1 -1
  5. package/dist/libraries/backend/chunk-PBBWXVWW.mjs +28 -0
  6. package/dist/libraries/backend/{chunk-46YP3QFO.mjs → chunk-T4YSUMNB.mjs} +9 -5
  7. package/dist/libraries/backend/chunk-UNZHJTEY.mjs +18 -0
  8. package/dist/libraries/backend/{chunk-IZAQ6MUN.mjs → chunk-Y2VYFWJD.mjs} +1 -1
  9. package/dist/libraries/backend/{chunk-6N4RVNZ5.mjs → chunk-ZF4V3SVZ.mjs} +1 -1
  10. package/dist/libraries/backend/express.d.mts +2 -1
  11. package/dist/libraries/backend/express.d.ts +2 -1
  12. package/dist/libraries/backend/express.js +45 -7
  13. package/dist/libraries/backend/express.mjs +14 -6
  14. package/dist/libraries/backend/fastify.js +26 -7
  15. package/dist/libraries/backend/fastify.mjs +7 -6
  16. package/dist/libraries/backend/hono.js +26 -7
  17. package/dist/libraries/backend/hono.mjs +7 -6
  18. package/dist/libraries/backend/next.js +52 -11
  19. package/dist/libraries/backend/next.mjs +21 -10
  20. package/dist/libraries/backend/react-router.js +26 -7
  21. package/dist/libraries/backend/react-router.mjs +7 -6
  22. package/dist/libraries/backend/{referralTypes-7NmhI47Z.d.mts → referralTypes-C-jpvu6u.d.mts} +57 -25
  23. package/dist/libraries/backend/{referralTypes-CURy8Tnw.d.ts → referralTypes-qdpA4XBw.d.ts} +57 -25
  24. package/dist/libraries/backend/remix_dep.js +26 -7
  25. package/dist/libraries/backend/remix_dep.mjs +7 -6
  26. package/dist/libraries/backend/routes/backendRouter.js +24 -5
  27. package/dist/libraries/backend/routes/backendRouter.mjs +7 -6
  28. package/dist/libraries/backend/routes/entityRoutes.js +1 -1
  29. package/dist/libraries/backend/routes/entityRoutes.mjs +3 -3
  30. package/dist/libraries/backend/routes/genRoutes.js +1 -1
  31. package/dist/libraries/backend/routes/genRoutes.mjs +3 -3
  32. package/dist/libraries/backend/routes/productRoutes.d.mts +5 -0
  33. package/dist/libraries/backend/routes/productRoutes.d.ts +5 -0
  34. package/dist/libraries/backend/routes/productRoutes.js +594 -0
  35. package/dist/libraries/backend/routes/productRoutes.mjs +11 -0
  36. package/dist/libraries/backend/routes/referralRoutes.js +1 -1
  37. package/dist/libraries/backend/routes/referralRoutes.mjs +3 -3
  38. package/dist/libraries/backend/supabase.js +26 -7
  39. package/dist/libraries/backend/supabase.mjs +7 -6
  40. package/dist/libraries/backend/tanstack.js +26 -7
  41. package/dist/libraries/backend/tanstack.mjs +7 -6
  42. package/dist/libraries/backend/utils/backendRes.js +1 -1
  43. package/dist/libraries/backend/utils/backendRes.mjs +1 -1
  44. package/dist/libraries/backend/utils/secretKeyCheck.d.mts +13 -0
  45. package/dist/libraries/backend/utils/secretKeyCheck.d.ts +13 -0
  46. package/dist/libraries/backend/utils/secretKeyCheck.js +42 -0
  47. package/dist/libraries/backend/utils/secretKeyCheck.mjs +7 -0
  48. package/dist/libraries/backend/utils/withAuth.d.mts +2 -2
  49. package/dist/libraries/backend/utils/withAuth.d.ts +2 -2
  50. package/dist/libraries/backend/utils/withAuth.js +1 -1
  51. package/dist/libraries/backend/utils/withAuth.mjs +2 -2
  52. package/dist/libraries/react/AutumnContext.d.mts +7 -6
  53. package/dist/libraries/react/AutumnContext.d.ts +7 -6
  54. package/dist/libraries/react/AutumnContext.js +13 -5
  55. package/dist/libraries/react/AutumnContext.mjs +6 -5
  56. package/dist/libraries/react/BaseAutumnProvider.d.mts +7 -6
  57. package/dist/libraries/react/BaseAutumnProvider.d.ts +7 -6
  58. package/dist/libraries/react/BaseAutumnProvider.js +378 -14
  59. package/dist/libraries/react/BaseAutumnProvider.mjs +11 -7
  60. package/dist/libraries/react/{ReactAutumnClient-EjsfCAgE.d.mts → ReactAutumnClient-4e3t4WTF.d.mts} +29 -6
  61. package/dist/libraries/react/{ReactAutumnClient-BM8hrCEC.d.ts → ReactAutumnClient-B-lWmwRW.d.ts} +29 -6
  62. package/dist/libraries/react/ReactAutumnProvider.d.mts +3 -2
  63. package/dist/libraries/react/ReactAutumnProvider.d.ts +3 -2
  64. package/dist/libraries/react/ReactAutumnProvider.js +389 -16
  65. package/dist/libraries/react/ReactAutumnProvider.mjs +12 -8
  66. package/dist/libraries/react/{response-B2MqTR7X.d.ts → checkTypes-BDNI_s2B.d.ts} +40 -53
  67. package/dist/libraries/react/{response-By38xiUq.d.mts → checkTypes-CyKIOmeF.d.mts} +40 -53
  68. package/dist/libraries/react/chunk-2XYYCR4J.mjs +276 -0
  69. package/dist/libraries/react/chunk-4CGZZYLG.mjs +2487 -0
  70. package/dist/libraries/react/chunk-4PX3AQKX.mjs +53 -0
  71. package/dist/libraries/react/{chunk-57I3B4BV.mjs → chunk-7PRD7RPD.mjs} +2 -2
  72. package/dist/libraries/react/{chunk-EOSHPHLH.mjs → chunk-B7HGBQCO.mjs} +4 -5
  73. package/dist/libraries/react/chunk-BCMBFJ7E.mjs +125 -0
  74. package/dist/libraries/react/{chunk-XDAZD5HF.mjs → chunk-CE5BBB5H.mjs} +18 -12
  75. package/dist/libraries/react/{chunk-JNJ53ZW6.mjs → chunk-EH2VPTFH.mjs} +1 -1
  76. package/dist/libraries/react/{chunk-5S5BL6HV.mjs → chunk-FHANCAHB.mjs} +2 -2
  77. package/dist/libraries/react/{chunk-A6J237PD.mjs → chunk-GTF7A5TG.mjs} +26 -7
  78. package/dist/libraries/react/chunk-JFXBUWKA.mjs +50 -0
  79. package/dist/libraries/react/chunk-MY2ODATB.mjs +51 -0
  80. package/dist/libraries/react/chunk-NEV76K4V.mjs +552 -0
  81. package/dist/libraries/react/chunk-O4HHXBGR.mjs +101 -0
  82. package/dist/libraries/react/chunk-Q7CK32YT.mjs +172 -0
  83. package/dist/libraries/react/chunk-QBBE72EF.mjs +57 -0
  84. package/dist/libraries/react/{chunk-NJFRQ6T4.mjs → chunk-QMIIDFRP.mjs} +7 -5
  85. package/dist/libraries/react/chunk-TFGQQAVB.mjs +38 -0
  86. package/dist/libraries/react/{chunk-BGEO5REY.mjs → chunk-X3HJKZGO.mjs} +5 -1
  87. package/dist/libraries/react/chunk-YUV2Y2RW.mjs +12 -0
  88. package/dist/libraries/react/{chunk-DMU3G7UZ.mjs → chunk-ZKHBOCMO.mjs} +2 -2
  89. package/dist/libraries/react/{chunk-CQ27LXPH.mjs → chunk-ZQ6LDLK5.mjs} +38 -35
  90. package/dist/libraries/react/{chunk-IXVPNA4H.mjs → chunk-ZWO4QYXI.mjs} +2 -2
  91. package/dist/libraries/react/{chunk-2MVQH6J5.mjs → chunk-ZXE5MFKL.mjs} +14 -5
  92. package/dist/libraries/react/client/ReactAutumnClient.d.mts +5 -5
  93. package/dist/libraries/react/client/ReactAutumnClient.d.ts +5 -5
  94. package/dist/libraries/react/client/ReactAutumnClient.js +10 -1
  95. package/dist/libraries/react/client/ReactAutumnClient.mjs +5 -4
  96. package/dist/libraries/react/client/clientCompMethods.d.mts +5 -5
  97. package/dist/libraries/react/client/clientCompMethods.d.ts +5 -5
  98. package/dist/libraries/react/client/clientCusMethods.d.mts +5 -5
  99. package/dist/libraries/react/client/clientCusMethods.d.ts +5 -5
  100. package/dist/libraries/react/client/clientEntityMethods.d.mts +5 -5
  101. package/dist/libraries/react/client/clientEntityMethods.d.ts +5 -5
  102. package/dist/libraries/react/client/clientGenMethods.d.mts +6 -6
  103. package/dist/libraries/react/client/clientGenMethods.d.ts +6 -6
  104. package/dist/libraries/react/client/clientProdMethods.d.mts +15 -0
  105. package/dist/libraries/react/client/clientProdMethods.d.ts +15 -0
  106. package/dist/libraries/react/client/clientProdMethods.js +35 -0
  107. package/dist/libraries/react/client/clientProdMethods.mjs +8 -0
  108. package/dist/libraries/react/client/clientReferralMethods.d.mts +5 -5
  109. package/dist/libraries/react/client/clientReferralMethods.d.ts +5 -5
  110. package/dist/libraries/react/client/types/clientEntTypes.d.mts +1 -1
  111. package/dist/libraries/react/client/types/clientEntTypes.d.ts +1 -1
  112. package/dist/libraries/react/client/types/clientPricingTableTypes.d.mts +8 -10
  113. package/dist/libraries/react/client/types/clientPricingTableTypes.d.ts +8 -10
  114. package/dist/libraries/react/client/types/clientProdTypes.d.mts +5 -0
  115. package/dist/libraries/react/client/types/clientProdTypes.d.ts +5 -0
  116. package/dist/libraries/react/client/types/clientProdTypes.js +20 -0
  117. package/dist/libraries/react/client/types/clientProdTypes.mjs +2 -0
  118. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.d.mts +52 -0
  119. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.d.ts +52 -0
  120. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.js +4387 -0
  121. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.mjs +50 -0
  122. package/dist/libraries/react/components/attach-dialog/lib/attach-content.d.mts +10 -0
  123. package/dist/libraries/react/components/attach-dialog/lib/attach-content.d.ts +10 -0
  124. package/dist/libraries/react/components/attach-dialog/lib/attach-content.js +148 -0
  125. package/dist/libraries/react/components/attach-dialog/lib/attach-content.mjs +8 -0
  126. package/dist/libraries/react/components/check-dialog/check-dialog-synced.d.mts +12 -0
  127. package/dist/libraries/react/components/check-dialog/check-dialog-synced.d.ts +12 -0
  128. package/dist/libraries/react/components/check-dialog/check-dialog-synced.js +2895 -0
  129. package/dist/libraries/react/components/check-dialog/check-dialog-synced.mjs +13 -0
  130. package/dist/libraries/react/components/check-dialog/lib/check-content.d.mts +9 -0
  131. package/dist/libraries/react/components/check-dialog/lib/check-content.d.ts +9 -0
  132. package/dist/libraries/react/components/check-dialog/lib/check-content.js +74 -0
  133. package/dist/libraries/react/components/check-dialog/lib/check-content.mjs +8 -0
  134. package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.d.mts +7 -0
  135. package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.d.ts +7 -0
  136. package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.js +80 -0
  137. package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.mjs +8 -0
  138. package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.mts +51 -0
  139. package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.ts +51 -0
  140. package/dist/libraries/react/components/pricing-table/pricing-table-synced.js +4684 -0
  141. package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +53 -0
  142. package/dist/libraries/react/components/ui/button.d.mts +14 -0
  143. package/dist/libraries/react/components/ui/button.d.ts +14 -0
  144. package/dist/libraries/react/components/ui/button.js +2601 -0
  145. package/dist/libraries/react/components/ui/button.mjs +11 -0
  146. package/dist/libraries/react/components/ui/dialog.d.mts +18 -0
  147. package/dist/libraries/react/components/ui/dialog.d.ts +18 -0
  148. package/dist/libraries/react/components/ui/dialog.js +2774 -0
  149. package/dist/libraries/react/components/ui/dialog.mjs +27 -0
  150. package/dist/libraries/react/components/ui/switch.d.mts +7 -0
  151. package/dist/libraries/react/components/ui/switch.d.ts +7 -0
  152. package/dist/libraries/react/components/ui/switch.js +2550 -0
  153. package/dist/libraries/react/components/ui/switch.mjs +9 -0
  154. package/dist/{next/client/cusTypes-D9vXDh6B.d.mts → libraries/react/cusTypes-DNx5bwlw.d.mts} +13 -5
  155. package/dist/{next/client/cusTypes-D9vXDh6B.d.ts → libraries/react/cusTypes-DNx5bwlw.d.ts} +13 -5
  156. package/dist/libraries/react/{entTypes-CV-165S-.d.mts → entTypes-8gkfAi3g.d.mts} +1 -1
  157. package/dist/libraries/react/{entTypes-BbIk0Toa.d.ts → entTypes-C8jD10M8.d.ts} +1 -1
  158. package/dist/libraries/react/errorUtils/logAuthError.js +1 -1
  159. package/dist/libraries/react/errorUtils/logAuthError.mjs +1 -1
  160. package/dist/libraries/react/hooks/handleAllowed.d.mts +14 -0
  161. package/dist/libraries/react/hooks/handleAllowed.d.ts +14 -0
  162. package/dist/libraries/react/hooks/handleAllowed.js +73 -0
  163. package/dist/libraries/react/hooks/handleAllowed.mjs +8 -0
  164. package/dist/libraries/react/hooks/useAutumn.d.mts +11 -39
  165. package/dist/libraries/react/hooks/useAutumn.d.ts +11 -39
  166. package/dist/libraries/react/hooks/useAutumn.js +167 -48
  167. package/dist/libraries/react/hooks/useAutumn.mjs +9 -8
  168. package/dist/libraries/react/hooks/useAutumnBase.d.mts +9 -41
  169. package/dist/libraries/react/hooks/useAutumnBase.d.ts +9 -41
  170. package/dist/libraries/react/hooks/useAutumnBase.js +167 -48
  171. package/dist/libraries/react/hooks/useAutumnBase.mjs +8 -7
  172. package/dist/libraries/react/hooks/useCustomer.d.mts +6 -5
  173. package/dist/libraries/react/hooks/useCustomer.d.ts +6 -5
  174. package/dist/libraries/react/hooks/useCustomer.js +375 -11
  175. package/dist/libraries/react/hooks/useCustomer.mjs +11 -7
  176. package/dist/libraries/react/hooks/useCustomerBase.d.mts +13 -6
  177. package/dist/libraries/react/hooks/useCustomerBase.d.ts +13 -6
  178. package/dist/libraries/react/hooks/useCustomerBase.js +374 -12
  179. package/dist/libraries/react/hooks/useCustomerBase.mjs +10 -6
  180. package/dist/libraries/react/hooks/useEntity.d.mts +10 -2
  181. package/dist/libraries/react/hooks/useEntity.d.ts +10 -2
  182. package/dist/libraries/react/hooks/useEntity.js +61 -6
  183. package/dist/libraries/react/hooks/useEntity.mjs +9 -7
  184. package/dist/libraries/react/hooks/useEntityBase.d.mts +13 -5
  185. package/dist/libraries/react/hooks/useEntityBase.d.ts +13 -5
  186. package/dist/libraries/react/hooks/useEntityBase.js +48 -1
  187. package/dist/libraries/react/hooks/useEntityBase.mjs +2 -1
  188. package/dist/libraries/react/hooks/usePricingTable.d.mts +4 -3
  189. package/dist/libraries/react/hooks/usePricingTable.d.ts +4 -3
  190. package/dist/libraries/react/hooks/usePricingTable.js +131 -15
  191. package/dist/libraries/react/hooks/usePricingTable.mjs +8 -7
  192. package/dist/libraries/react/hooks/usePricingTableBase.d.mts +7 -7
  193. package/dist/libraries/react/hooks/usePricingTableBase.d.ts +7 -7
  194. package/dist/libraries/react/hooks/usePricingTableBase.js +131 -15
  195. package/dist/libraries/react/hooks/usePricingTableBase.mjs +7 -6
  196. package/dist/libraries/react/hooks/useProductsBase.d.mts +3 -0
  197. package/dist/libraries/react/hooks/useProductsBase.d.ts +3 -0
  198. package/dist/libraries/react/hooks/useProductsBase.js +776 -0
  199. package/dist/libraries/react/hooks/useProductsBase.mjs +29 -0
  200. package/dist/libraries/react/index.d.ts +485 -19
  201. package/dist/libraries/react/index.js +3965 -229
  202. package/dist/libraries/react/index.mjs +4869 -31
  203. package/dist/libraries/react/lib/utils.d.mts +5 -0
  204. package/dist/libraries/react/lib/utils.d.ts +5 -0
  205. package/dist/libraries/react/lib/utils.js +2511 -0
  206. package/dist/libraries/react/lib/utils.mjs +8 -0
  207. package/dist/libraries/react/response-9K8DyGXf.d.ts +40 -0
  208. package/dist/libraries/react/response-ChCmaLBk.d.mts +40 -0
  209. package/dist/next/AutumnProvider-BdIwgk_j.d.mts +136 -0
  210. package/dist/next/AutumnProvider-BdIwgk_j.d.ts +136 -0
  211. package/dist/next/AutumnProvider.d.mts +2 -0
  212. package/dist/next/AutumnProvider.d.ts +2 -0
  213. package/dist/next/client/NextAutumnClient.d.mts +28 -7
  214. package/dist/next/client/NextAutumnClient.d.ts +28 -7
  215. package/dist/next/client/NextAutumnProvider.d.mts +1 -1
  216. package/dist/next/client/NextAutumnProvider.d.ts +1 -1
  217. package/dist/next/client/checkTypes-BHxu_xEV.d.ts +126 -0
  218. package/dist/next/client/checkTypes-CEaWu4S3.d.mts +126 -0
  219. package/dist/next/client/clientGenTypes-BRfigzSY.d.mts +98 -0
  220. package/dist/next/client/clientGenTypes-i3cKamAv.d.ts +98 -0
  221. package/dist/next/client/clientUtils.d.mts +2 -2
  222. package/dist/next/client/clientUtils.d.ts +2 -2
  223. package/dist/{libraries/react/cusTypes-Cf-s9PYP.d.ts → next/client/cusTypes-CV5q3GIA.d.mts} +13 -5
  224. package/dist/{libraries/react/cusTypes-Cf-s9PYP.d.mts → next/client/cusTypes-CV5q3GIA.d.ts} +13 -5
  225. package/dist/next/client/{entTypes-C2xwPhrH.d.mts → entTypes-C1-bumir.d.mts} +1 -1
  226. package/dist/next/client/{entTypes-D5Bk72AS.d.ts → entTypes-CKc2qHBt.d.ts} +1 -1
  227. package/dist/next/client/handleAllowed-B8TBAzfI.d.mts +7 -0
  228. package/dist/next/client/handleAllowed-B8TBAzfI.d.ts +7 -0
  229. package/dist/next/client/hooks/useAutumn.d.mts +8 -41
  230. package/dist/next/client/hooks/useAutumn.d.ts +8 -41
  231. package/dist/next/client/hooks/useCustomer.d.mts +11 -4
  232. package/dist/next/client/hooks/useCustomer.d.ts +11 -4
  233. package/dist/next/client/hooks/useEntity.d.mts +10 -2
  234. package/dist/next/client/hooks/useEntity.d.ts +10 -2
  235. package/dist/next/client/hooks/usePricingTable.d.mts +16 -5
  236. package/dist/next/client/hooks/usePricingTable.d.ts +16 -5
  237. package/dist/next/client/types.d.mts +12 -3
  238. package/dist/next/client/types.d.ts +12 -3
  239. package/dist/next/enums.d.mts +5 -0
  240. package/dist/next/enums.d.ts +5 -0
  241. package/dist/next/index.d.mts +100 -192
  242. package/dist/next/index.d.ts +100 -192
  243. package/dist/next/server/auth/withNextAuth.d.mts +1 -1
  244. package/dist/next/server/auth/withNextAuth.d.ts +1 -1
  245. package/dist/next/server/{clientEntTypes-CWr4xXQ1.d.mts → clientEntTypes-BOVTwIKv.d.mts} +1 -1
  246. package/dist/next/server/{clientEntTypes-CWr4xXQ1.d.ts → clientEntTypes-BOVTwIKv.d.ts} +1 -1
  247. package/dist/next/server/componentActions.d.mts +1 -1
  248. package/dist/next/server/componentActions.d.ts +1 -1
  249. package/dist/next/server/cusActions.d.mts +48 -20
  250. package/dist/next/server/cusActions.d.ts +48 -20
  251. package/dist/next/server/{cusTypes-DYgbKGrd.d.mts → cusTypes-Cc8NWXXF.d.mts} +12 -8
  252. package/dist/next/server/{cusTypes-DYgbKGrd.d.ts → cusTypes-Cc8NWXXF.d.ts} +12 -8
  253. package/dist/next/server/genActions.d.mts +2 -2
  254. package/dist/next/server/genActions.d.ts +2 -2
  255. package/dist/sdk/index.d.mts +400 -26
  256. package/dist/sdk/index.d.ts +400 -26
  257. package/dist/sdk/index.js +1 -1
  258. package/dist/sdk/index.mjs +1 -1
  259. package/dist/styles/global.css +1147 -0
  260. package/dist/utils/encryptUtils.js +1 -1
  261. package/dist/utils/encryptUtils.mjs +1 -1
  262. package/package.json +24 -5
  263. package/postcss.config.js +7 -0
  264. package/scripts/sync-registry.ts +292 -0
  265. package/tailwind.config.js +57 -0
  266. package/tsup.config.ts +86 -23
  267. package/tsup.dev.config.ts +196 -0
  268. package/dist/libraries/react/chunk-PSE3LKMR.mjs +0 -64
  269. package/dist/libraries/react/componentTypes-HF9MRJPX.d.mts +0 -15
  270. package/dist/libraries/react/componentTypes-HF9MRJPX.d.ts +0 -15
  271. package/dist/libraries/react/index.d.mts +0 -19
  272. package/dist/next/client/clientEntTypes-ClSxkMvK.d.mts +0 -29
  273. package/dist/next/client/clientEntTypes-DuYXyCN4.d.ts +0 -29
  274. package/dist/next/client/clientGenTypes-BvnGc6fc.d.mts +0 -156
  275. package/dist/next/client/clientGenTypes-F8OKtPMU.d.ts +0 -156
  276. package/dist/next/client/componentTypes-HF9MRJPX.d.mts +0 -15
  277. package/dist/next/client/componentTypes-HF9MRJPX.d.ts +0 -15
  278. package/dist/next/client/error-DHbclCVh.d.mts +0 -17
  279. package/dist/next/client/error-DHbclCVh.d.ts +0 -17
  280. package/dist/sdk/check.d.mts +0 -47
  281. package/dist/sdk/check.d.ts +0 -47
  282. package/dist/sdk/cusTypes-BTV6ui4e.d.ts +0 -95
  283. package/dist/sdk/cusTypes-wBxbodEe.d.mts +0 -95
  284. package/dist/sdk/customers.d.mts +0 -2
  285. package/dist/sdk/customers.d.ts +0 -2
  286. package/dist/sdk/entTypes-BwLV9Jn4.d.ts +0 -35
  287. package/dist/sdk/entTypes-CJjjWn54.d.mts +0 -35
  288. package/dist/sdk/entities.d.mts +0 -3
  289. package/dist/sdk/entities.d.ts +0 -3
  290. package/dist/sdk/general.d.mts +0 -104
  291. package/dist/sdk/general.d.ts +0 -104
  292. package/dist/sdk/prodEnums-C1lccCWI.d.mts +0 -28
  293. package/dist/sdk/prodEnums-C1lccCWI.d.ts +0 -28
  294. package/dist/sdk/products.d.mts +0 -47
  295. package/dist/sdk/products.d.ts +0 -47
  296. package/dist/sdk/referrals.d.mts +0 -21
  297. package/dist/sdk/referrals.d.ts +0 -21
@@ -0,0 +1,2774 @@
1
+ "use client";
2
+
3
+ "use strict";
4
+ var __create = Object.create;
5
+ var __defProp = Object.defineProperty;
6
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getProtoOf = Object.getPrototypeOf;
9
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
10
+ var __export = (target, all) => {
11
+ for (var name in all)
12
+ __defProp(target, name, { get: all[name], enumerable: true });
13
+ };
14
+ var __copyProps = (to, from, except, desc) => {
15
+ if (from && typeof from === "object" || typeof from === "function") {
16
+ for (let key of __getOwnPropNames(from))
17
+ if (!__hasOwnProp.call(to, key) && key !== except)
18
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
19
+ }
20
+ return to;
21
+ };
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
23
+ // If the importer is in node compatibility mode or this is not an ESM
24
+ // file that has been converted to a CommonJS file using a Babel-
25
+ // compatible transform (i.e. "__esModule" has not been set), then set
26
+ // "default" to the CommonJS "module.exports" for node compatibility.
27
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
28
+ mod
29
+ ));
30
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
31
+
32
+ // src/libraries/react/components/ui/dialog.tsx
33
+ var dialog_exports = {};
34
+ __export(dialog_exports, {
35
+ Dialog: () => Dialog,
36
+ DialogClose: () => DialogClose,
37
+ DialogContent: () => DialogContent,
38
+ DialogDescription: () => DialogDescription,
39
+ DialogFooter: () => DialogFooter,
40
+ DialogHeader: () => DialogHeader,
41
+ DialogOverlay: () => DialogOverlay,
42
+ DialogPortal: () => DialogPortal,
43
+ DialogTitle: () => DialogTitle,
44
+ DialogTrigger: () => DialogTrigger
45
+ });
46
+ module.exports = __toCommonJS(dialog_exports);
47
+ var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"));
48
+
49
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
50
+ var import_react2 = require("react");
51
+
52
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
53
+ var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
54
+ var toCamelCase = (string) => string.replace(
55
+ /^([A-Z])|[\s-_]+(\w)/g,
56
+ (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
57
+ );
58
+ var toPascalCase = (string) => {
59
+ const camelCase = toCamelCase(string);
60
+ return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
61
+ };
62
+ var mergeClasses = (...classes) => classes.filter((className, index, array) => {
63
+ return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
64
+ }).join(" ").trim();
65
+ var hasA11yProp = (props) => {
66
+ for (const prop in props) {
67
+ if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
68
+ return true;
69
+ }
70
+ }
71
+ };
72
+
73
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
74
+ var import_react = require("react");
75
+
76
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
77
+ var defaultAttributes = {
78
+ xmlns: "http://www.w3.org/2000/svg",
79
+ width: 24,
80
+ height: 24,
81
+ viewBox: "0 0 24 24",
82
+ fill: "none",
83
+ stroke: "currentColor",
84
+ strokeWidth: 2,
85
+ strokeLinecap: "round",
86
+ strokeLinejoin: "round"
87
+ };
88
+
89
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
90
+ var Icon = (0, import_react.forwardRef)(
91
+ ({
92
+ color = "currentColor",
93
+ size = 24,
94
+ strokeWidth = 2,
95
+ absoluteStrokeWidth,
96
+ className = "",
97
+ children,
98
+ iconNode,
99
+ ...rest
100
+ }, ref) => (0, import_react.createElement)(
101
+ "svg",
102
+ {
103
+ ref,
104
+ ...defaultAttributes,
105
+ width: size,
106
+ height: size,
107
+ stroke: color,
108
+ strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
109
+ className: mergeClasses("lucide", className),
110
+ ...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
111
+ ...rest
112
+ },
113
+ [
114
+ ...iconNode.map(([tag, attrs]) => (0, import_react.createElement)(tag, attrs)),
115
+ ...Array.isArray(children) ? children : [children]
116
+ ]
117
+ )
118
+ );
119
+
120
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
121
+ var createLucideIcon = (iconName, iconNode) => {
122
+ const Component = (0, import_react2.forwardRef)(
123
+ ({ className, ...props }, ref) => (0, import_react2.createElement)(Icon, {
124
+ ref,
125
+ iconNode,
126
+ className: mergeClasses(
127
+ `lucide-${toKebabCase(toPascalCase(iconName))}`,
128
+ `lucide-${iconName}`,
129
+ className
130
+ ),
131
+ ...props
132
+ })
133
+ );
134
+ Component.displayName = toPascalCase(iconName);
135
+ return Component;
136
+ };
137
+
138
+ // ../node_modules/.pnpm/lucide-react@0.523.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/x.js
139
+ var __iconNode = [
140
+ ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
141
+ ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
142
+ ];
143
+ var X = createLucideIcon("x", __iconNode);
144
+
145
+ // ../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
146
+ function r(e) {
147
+ var t, f, n = "";
148
+ if ("string" == typeof e || "number" == typeof e) n += e;
149
+ else if ("object" == typeof e) if (Array.isArray(e)) {
150
+ var o = e.length;
151
+ for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
152
+ } else for (f in e) e[f] && (n && (n += " "), n += f);
153
+ return n;
154
+ }
155
+ function clsx() {
156
+ for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
157
+ return n;
158
+ }
159
+
160
+ // ../node_modules/.pnpm/tailwind-merge@2.6.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
161
+ var CLASS_PART_SEPARATOR = "-";
162
+ var createClassGroupUtils = (config) => {
163
+ const classMap = createClassMap(config);
164
+ const {
165
+ conflictingClassGroups,
166
+ conflictingClassGroupModifiers
167
+ } = config;
168
+ const getClassGroupId = (className) => {
169
+ const classParts = className.split(CLASS_PART_SEPARATOR);
170
+ if (classParts[0] === "" && classParts.length !== 1) {
171
+ classParts.shift();
172
+ }
173
+ return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);
174
+ };
175
+ const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
176
+ const conflicts = conflictingClassGroups[classGroupId] || [];
177
+ if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {
178
+ return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];
179
+ }
180
+ return conflicts;
181
+ };
182
+ return {
183
+ getClassGroupId,
184
+ getConflictingClassGroupIds
185
+ };
186
+ };
187
+ var getGroupRecursive = (classParts, classPartObject) => {
188
+ if (classParts.length === 0) {
189
+ return classPartObject.classGroupId;
190
+ }
191
+ const currentClassPart = classParts[0];
192
+ const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
193
+ const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : void 0;
194
+ if (classGroupFromNextClassPart) {
195
+ return classGroupFromNextClassPart;
196
+ }
197
+ if (classPartObject.validators.length === 0) {
198
+ return void 0;
199
+ }
200
+ const classRest = classParts.join(CLASS_PART_SEPARATOR);
201
+ return classPartObject.validators.find(({
202
+ validator
203
+ }) => validator(classRest))?.classGroupId;
204
+ };
205
+ var arbitraryPropertyRegex = /^\[(.+)\]$/;
206
+ var getGroupIdForArbitraryProperty = (className) => {
207
+ if (arbitraryPropertyRegex.test(className)) {
208
+ const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];
209
+ const property = arbitraryPropertyClassName?.substring(0, arbitraryPropertyClassName.indexOf(":"));
210
+ if (property) {
211
+ return "arbitrary.." + property;
212
+ }
213
+ }
214
+ };
215
+ var createClassMap = (config) => {
216
+ const {
217
+ theme,
218
+ prefix
219
+ } = config;
220
+ const classMap = {
221
+ nextPart: /* @__PURE__ */ new Map(),
222
+ validators: []
223
+ };
224
+ const prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);
225
+ prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {
226
+ processClassesRecursively(classGroup, classMap, classGroupId, theme);
227
+ });
228
+ return classMap;
229
+ };
230
+ var processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
231
+ classGroup.forEach((classDefinition) => {
232
+ if (typeof classDefinition === "string") {
233
+ const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
234
+ classPartObjectToEdit.classGroupId = classGroupId;
235
+ return;
236
+ }
237
+ if (typeof classDefinition === "function") {
238
+ if (isThemeGetter(classDefinition)) {
239
+ processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
240
+ return;
241
+ }
242
+ classPartObject.validators.push({
243
+ validator: classDefinition,
244
+ classGroupId
245
+ });
246
+ return;
247
+ }
248
+ Object.entries(classDefinition).forEach(([key, classGroup2]) => {
249
+ processClassesRecursively(classGroup2, getPart(classPartObject, key), classGroupId, theme);
250
+ });
251
+ });
252
+ };
253
+ var getPart = (classPartObject, path) => {
254
+ let currentClassPartObject = classPartObject;
255
+ path.split(CLASS_PART_SEPARATOR).forEach((pathPart) => {
256
+ if (!currentClassPartObject.nextPart.has(pathPart)) {
257
+ currentClassPartObject.nextPart.set(pathPart, {
258
+ nextPart: /* @__PURE__ */ new Map(),
259
+ validators: []
260
+ });
261
+ }
262
+ currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);
263
+ });
264
+ return currentClassPartObject;
265
+ };
266
+ var isThemeGetter = (func) => func.isThemeGetter;
267
+ var getPrefixedClassGroupEntries = (classGroupEntries, prefix) => {
268
+ if (!prefix) {
269
+ return classGroupEntries;
270
+ }
271
+ return classGroupEntries.map(([classGroupId, classGroup]) => {
272
+ const prefixedClassGroup = classGroup.map((classDefinition) => {
273
+ if (typeof classDefinition === "string") {
274
+ return prefix + classDefinition;
275
+ }
276
+ if (typeof classDefinition === "object") {
277
+ return Object.fromEntries(Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]));
278
+ }
279
+ return classDefinition;
280
+ });
281
+ return [classGroupId, prefixedClassGroup];
282
+ });
283
+ };
284
+ var createLruCache = (maxCacheSize) => {
285
+ if (maxCacheSize < 1) {
286
+ return {
287
+ get: () => void 0,
288
+ set: () => {
289
+ }
290
+ };
291
+ }
292
+ let cacheSize = 0;
293
+ let cache = /* @__PURE__ */ new Map();
294
+ let previousCache = /* @__PURE__ */ new Map();
295
+ const update = (key, value) => {
296
+ cache.set(key, value);
297
+ cacheSize++;
298
+ if (cacheSize > maxCacheSize) {
299
+ cacheSize = 0;
300
+ previousCache = cache;
301
+ cache = /* @__PURE__ */ new Map();
302
+ }
303
+ };
304
+ return {
305
+ get(key) {
306
+ let value = cache.get(key);
307
+ if (value !== void 0) {
308
+ return value;
309
+ }
310
+ if ((value = previousCache.get(key)) !== void 0) {
311
+ update(key, value);
312
+ return value;
313
+ }
314
+ },
315
+ set(key, value) {
316
+ if (cache.has(key)) {
317
+ cache.set(key, value);
318
+ } else {
319
+ update(key, value);
320
+ }
321
+ }
322
+ };
323
+ };
324
+ var IMPORTANT_MODIFIER = "!";
325
+ var createParseClassName = (config) => {
326
+ const {
327
+ separator,
328
+ experimentalParseClassName
329
+ } = config;
330
+ const isSeparatorSingleCharacter = separator.length === 1;
331
+ const firstSeparatorCharacter = separator[0];
332
+ const separatorLength = separator.length;
333
+ const parseClassName = (className) => {
334
+ const modifiers = [];
335
+ let bracketDepth = 0;
336
+ let modifierStart = 0;
337
+ let postfixModifierPosition;
338
+ for (let index = 0; index < className.length; index++) {
339
+ let currentCharacter = className[index];
340
+ if (bracketDepth === 0) {
341
+ if (currentCharacter === firstSeparatorCharacter && (isSeparatorSingleCharacter || className.slice(index, index + separatorLength) === separator)) {
342
+ modifiers.push(className.slice(modifierStart, index));
343
+ modifierStart = index + separatorLength;
344
+ continue;
345
+ }
346
+ if (currentCharacter === "/") {
347
+ postfixModifierPosition = index;
348
+ continue;
349
+ }
350
+ }
351
+ if (currentCharacter === "[") {
352
+ bracketDepth++;
353
+ } else if (currentCharacter === "]") {
354
+ bracketDepth--;
355
+ }
356
+ }
357
+ const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);
358
+ const hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);
359
+ const baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;
360
+ const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
361
+ return {
362
+ modifiers,
363
+ hasImportantModifier,
364
+ baseClassName,
365
+ maybePostfixModifierPosition
366
+ };
367
+ };
368
+ if (experimentalParseClassName) {
369
+ return (className) => experimentalParseClassName({
370
+ className,
371
+ parseClassName
372
+ });
373
+ }
374
+ return parseClassName;
375
+ };
376
+ var sortModifiers = (modifiers) => {
377
+ if (modifiers.length <= 1) {
378
+ return modifiers;
379
+ }
380
+ const sortedModifiers = [];
381
+ let unsortedModifiers = [];
382
+ modifiers.forEach((modifier) => {
383
+ const isArbitraryVariant = modifier[0] === "[";
384
+ if (isArbitraryVariant) {
385
+ sortedModifiers.push(...unsortedModifiers.sort(), modifier);
386
+ unsortedModifiers = [];
387
+ } else {
388
+ unsortedModifiers.push(modifier);
389
+ }
390
+ });
391
+ sortedModifiers.push(...unsortedModifiers.sort());
392
+ return sortedModifiers;
393
+ };
394
+ var createConfigUtils = (config) => ({
395
+ cache: createLruCache(config.cacheSize),
396
+ parseClassName: createParseClassName(config),
397
+ ...createClassGroupUtils(config)
398
+ });
399
+ var SPLIT_CLASSES_REGEX = /\s+/;
400
+ var mergeClassList = (classList, configUtils) => {
401
+ const {
402
+ parseClassName,
403
+ getClassGroupId,
404
+ getConflictingClassGroupIds
405
+ } = configUtils;
406
+ const classGroupsInConflict = [];
407
+ const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
408
+ let result = "";
409
+ for (let index = classNames.length - 1; index >= 0; index -= 1) {
410
+ const originalClassName = classNames[index];
411
+ const {
412
+ modifiers,
413
+ hasImportantModifier,
414
+ baseClassName,
415
+ maybePostfixModifierPosition
416
+ } = parseClassName(originalClassName);
417
+ let hasPostfixModifier = Boolean(maybePostfixModifierPosition);
418
+ let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
419
+ if (!classGroupId) {
420
+ if (!hasPostfixModifier) {
421
+ result = originalClassName + (result.length > 0 ? " " + result : result);
422
+ continue;
423
+ }
424
+ classGroupId = getClassGroupId(baseClassName);
425
+ if (!classGroupId) {
426
+ result = originalClassName + (result.length > 0 ? " " + result : result);
427
+ continue;
428
+ }
429
+ hasPostfixModifier = false;
430
+ }
431
+ const variantModifier = sortModifiers(modifiers).join(":");
432
+ const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
433
+ const classId = modifierId + classGroupId;
434
+ if (classGroupsInConflict.includes(classId)) {
435
+ continue;
436
+ }
437
+ classGroupsInConflict.push(classId);
438
+ const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
439
+ for (let i = 0; i < conflictGroups.length; ++i) {
440
+ const group = conflictGroups[i];
441
+ classGroupsInConflict.push(modifierId + group);
442
+ }
443
+ result = originalClassName + (result.length > 0 ? " " + result : result);
444
+ }
445
+ return result;
446
+ };
447
+ function twJoin() {
448
+ let index = 0;
449
+ let argument;
450
+ let resolvedValue;
451
+ let string = "";
452
+ while (index < arguments.length) {
453
+ if (argument = arguments[index++]) {
454
+ if (resolvedValue = toValue(argument)) {
455
+ string && (string += " ");
456
+ string += resolvedValue;
457
+ }
458
+ }
459
+ }
460
+ return string;
461
+ }
462
+ var toValue = (mix) => {
463
+ if (typeof mix === "string") {
464
+ return mix;
465
+ }
466
+ let resolvedValue;
467
+ let string = "";
468
+ for (let k = 0; k < mix.length; k++) {
469
+ if (mix[k]) {
470
+ if (resolvedValue = toValue(mix[k])) {
471
+ string && (string += " ");
472
+ string += resolvedValue;
473
+ }
474
+ }
475
+ }
476
+ return string;
477
+ };
478
+ function createTailwindMerge(createConfigFirst, ...createConfigRest) {
479
+ let configUtils;
480
+ let cacheGet;
481
+ let cacheSet;
482
+ let functionToCall = initTailwindMerge;
483
+ function initTailwindMerge(classList) {
484
+ const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
485
+ configUtils = createConfigUtils(config);
486
+ cacheGet = configUtils.cache.get;
487
+ cacheSet = configUtils.cache.set;
488
+ functionToCall = tailwindMerge;
489
+ return tailwindMerge(classList);
490
+ }
491
+ function tailwindMerge(classList) {
492
+ const cachedResult = cacheGet(classList);
493
+ if (cachedResult) {
494
+ return cachedResult;
495
+ }
496
+ const result = mergeClassList(classList, configUtils);
497
+ cacheSet(classList, result);
498
+ return result;
499
+ }
500
+ return function callTailwindMerge() {
501
+ return functionToCall(twJoin.apply(null, arguments));
502
+ };
503
+ }
504
+ var fromTheme = (key) => {
505
+ const themeGetter = (theme) => theme[key] || [];
506
+ themeGetter.isThemeGetter = true;
507
+ return themeGetter;
508
+ };
509
+ var arbitraryValueRegex = /^\[(?:([a-z-]+):)?(.+)\]$/i;
510
+ var fractionRegex = /^\d+\/\d+$/;
511
+ var stringLengths = /* @__PURE__ */ new Set(["px", "full", "screen"]);
512
+ var tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
513
+ var lengthUnitRegex = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/;
514
+ var colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/;
515
+ var shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
516
+ var imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
517
+ var isLength = (value) => isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);
518
+ var isArbitraryLength = (value) => getIsArbitraryValue(value, "length", isLengthOnly);
519
+ var isNumber = (value) => Boolean(value) && !Number.isNaN(Number(value));
520
+ var isArbitraryNumber = (value) => getIsArbitraryValue(value, "number", isNumber);
521
+ var isInteger = (value) => Boolean(value) && Number.isInteger(Number(value));
522
+ var isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
523
+ var isArbitraryValue = (value) => arbitraryValueRegex.test(value);
524
+ var isTshirtSize = (value) => tshirtUnitRegex.test(value);
525
+ var sizeLabels = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
526
+ var isArbitrarySize = (value) => getIsArbitraryValue(value, sizeLabels, isNever);
527
+ var isArbitraryPosition = (value) => getIsArbitraryValue(value, "position", isNever);
528
+ var imageLabels = /* @__PURE__ */ new Set(["image", "url"]);
529
+ var isArbitraryImage = (value) => getIsArbitraryValue(value, imageLabels, isImage);
530
+ var isArbitraryShadow = (value) => getIsArbitraryValue(value, "", isShadow);
531
+ var isAny = () => true;
532
+ var getIsArbitraryValue = (value, label, testValue) => {
533
+ const result = arbitraryValueRegex.exec(value);
534
+ if (result) {
535
+ if (result[1]) {
536
+ return typeof label === "string" ? result[1] === label : label.has(result[1]);
537
+ }
538
+ return testValue(result[2]);
539
+ }
540
+ return false;
541
+ };
542
+ var isLengthOnly = (value) => (
543
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
544
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
545
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
546
+ lengthUnitRegex.test(value) && !colorFunctionRegex.test(value)
547
+ );
548
+ var isNever = () => false;
549
+ var isShadow = (value) => shadowRegex.test(value);
550
+ var isImage = (value) => imageRegex.test(value);
551
+ var getDefaultConfig = () => {
552
+ const colors = fromTheme("colors");
553
+ const spacing = fromTheme("spacing");
554
+ const blur = fromTheme("blur");
555
+ const brightness = fromTheme("brightness");
556
+ const borderColor = fromTheme("borderColor");
557
+ const borderRadius = fromTheme("borderRadius");
558
+ const borderSpacing = fromTheme("borderSpacing");
559
+ const borderWidth = fromTheme("borderWidth");
560
+ const contrast = fromTheme("contrast");
561
+ const grayscale = fromTheme("grayscale");
562
+ const hueRotate = fromTheme("hueRotate");
563
+ const invert = fromTheme("invert");
564
+ const gap = fromTheme("gap");
565
+ const gradientColorStops = fromTheme("gradientColorStops");
566
+ const gradientColorStopPositions = fromTheme("gradientColorStopPositions");
567
+ const inset = fromTheme("inset");
568
+ const margin = fromTheme("margin");
569
+ const opacity = fromTheme("opacity");
570
+ const padding = fromTheme("padding");
571
+ const saturate = fromTheme("saturate");
572
+ const scale = fromTheme("scale");
573
+ const sepia = fromTheme("sepia");
574
+ const skew = fromTheme("skew");
575
+ const space = fromTheme("space");
576
+ const translate = fromTheme("translate");
577
+ const getOverscroll = () => ["auto", "contain", "none"];
578
+ const getOverflow = () => ["auto", "hidden", "clip", "visible", "scroll"];
579
+ const getSpacingWithAutoAndArbitrary = () => ["auto", isArbitraryValue, spacing];
580
+ const getSpacingWithArbitrary = () => [isArbitraryValue, spacing];
581
+ const getLengthWithEmptyAndArbitrary = () => ["", isLength, isArbitraryLength];
582
+ const getNumberWithAutoAndArbitrary = () => ["auto", isNumber, isArbitraryValue];
583
+ const getPositions = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"];
584
+ const getLineStyles = () => ["solid", "dashed", "dotted", "double", "none"];
585
+ const getBlendModes = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"];
586
+ const getAlign = () => ["start", "end", "center", "between", "around", "evenly", "stretch"];
587
+ const getZeroAndEmpty = () => ["", "0", isArbitraryValue];
588
+ const getBreaks = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
589
+ const getNumberAndArbitrary = () => [isNumber, isArbitraryValue];
590
+ return {
591
+ cacheSize: 500,
592
+ separator: ":",
593
+ theme: {
594
+ colors: [isAny],
595
+ spacing: [isLength, isArbitraryLength],
596
+ blur: ["none", "", isTshirtSize, isArbitraryValue],
597
+ brightness: getNumberAndArbitrary(),
598
+ borderColor: [colors],
599
+ borderRadius: ["none", "", "full", isTshirtSize, isArbitraryValue],
600
+ borderSpacing: getSpacingWithArbitrary(),
601
+ borderWidth: getLengthWithEmptyAndArbitrary(),
602
+ contrast: getNumberAndArbitrary(),
603
+ grayscale: getZeroAndEmpty(),
604
+ hueRotate: getNumberAndArbitrary(),
605
+ invert: getZeroAndEmpty(),
606
+ gap: getSpacingWithArbitrary(),
607
+ gradientColorStops: [colors],
608
+ gradientColorStopPositions: [isPercent, isArbitraryLength],
609
+ inset: getSpacingWithAutoAndArbitrary(),
610
+ margin: getSpacingWithAutoAndArbitrary(),
611
+ opacity: getNumberAndArbitrary(),
612
+ padding: getSpacingWithArbitrary(),
613
+ saturate: getNumberAndArbitrary(),
614
+ scale: getNumberAndArbitrary(),
615
+ sepia: getZeroAndEmpty(),
616
+ skew: getNumberAndArbitrary(),
617
+ space: getSpacingWithArbitrary(),
618
+ translate: getSpacingWithArbitrary()
619
+ },
620
+ classGroups: {
621
+ // Layout
622
+ /**
623
+ * Aspect Ratio
624
+ * @see https://tailwindcss.com/docs/aspect-ratio
625
+ */
626
+ aspect: [{
627
+ aspect: ["auto", "square", "video", isArbitraryValue]
628
+ }],
629
+ /**
630
+ * Container
631
+ * @see https://tailwindcss.com/docs/container
632
+ */
633
+ container: ["container"],
634
+ /**
635
+ * Columns
636
+ * @see https://tailwindcss.com/docs/columns
637
+ */
638
+ columns: [{
639
+ columns: [isTshirtSize]
640
+ }],
641
+ /**
642
+ * Break After
643
+ * @see https://tailwindcss.com/docs/break-after
644
+ */
645
+ "break-after": [{
646
+ "break-after": getBreaks()
647
+ }],
648
+ /**
649
+ * Break Before
650
+ * @see https://tailwindcss.com/docs/break-before
651
+ */
652
+ "break-before": [{
653
+ "break-before": getBreaks()
654
+ }],
655
+ /**
656
+ * Break Inside
657
+ * @see https://tailwindcss.com/docs/break-inside
658
+ */
659
+ "break-inside": [{
660
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
661
+ }],
662
+ /**
663
+ * Box Decoration Break
664
+ * @see https://tailwindcss.com/docs/box-decoration-break
665
+ */
666
+ "box-decoration": [{
667
+ "box-decoration": ["slice", "clone"]
668
+ }],
669
+ /**
670
+ * Box Sizing
671
+ * @see https://tailwindcss.com/docs/box-sizing
672
+ */
673
+ box: [{
674
+ box: ["border", "content"]
675
+ }],
676
+ /**
677
+ * Display
678
+ * @see https://tailwindcss.com/docs/display
679
+ */
680
+ display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
681
+ /**
682
+ * Floats
683
+ * @see https://tailwindcss.com/docs/float
684
+ */
685
+ float: [{
686
+ float: ["right", "left", "none", "start", "end"]
687
+ }],
688
+ /**
689
+ * Clear
690
+ * @see https://tailwindcss.com/docs/clear
691
+ */
692
+ clear: [{
693
+ clear: ["left", "right", "both", "none", "start", "end"]
694
+ }],
695
+ /**
696
+ * Isolation
697
+ * @see https://tailwindcss.com/docs/isolation
698
+ */
699
+ isolation: ["isolate", "isolation-auto"],
700
+ /**
701
+ * Object Fit
702
+ * @see https://tailwindcss.com/docs/object-fit
703
+ */
704
+ "object-fit": [{
705
+ object: ["contain", "cover", "fill", "none", "scale-down"]
706
+ }],
707
+ /**
708
+ * Object Position
709
+ * @see https://tailwindcss.com/docs/object-position
710
+ */
711
+ "object-position": [{
712
+ object: [...getPositions(), isArbitraryValue]
713
+ }],
714
+ /**
715
+ * Overflow
716
+ * @see https://tailwindcss.com/docs/overflow
717
+ */
718
+ overflow: [{
719
+ overflow: getOverflow()
720
+ }],
721
+ /**
722
+ * Overflow X
723
+ * @see https://tailwindcss.com/docs/overflow
724
+ */
725
+ "overflow-x": [{
726
+ "overflow-x": getOverflow()
727
+ }],
728
+ /**
729
+ * Overflow Y
730
+ * @see https://tailwindcss.com/docs/overflow
731
+ */
732
+ "overflow-y": [{
733
+ "overflow-y": getOverflow()
734
+ }],
735
+ /**
736
+ * Overscroll Behavior
737
+ * @see https://tailwindcss.com/docs/overscroll-behavior
738
+ */
739
+ overscroll: [{
740
+ overscroll: getOverscroll()
741
+ }],
742
+ /**
743
+ * Overscroll Behavior X
744
+ * @see https://tailwindcss.com/docs/overscroll-behavior
745
+ */
746
+ "overscroll-x": [{
747
+ "overscroll-x": getOverscroll()
748
+ }],
749
+ /**
750
+ * Overscroll Behavior Y
751
+ * @see https://tailwindcss.com/docs/overscroll-behavior
752
+ */
753
+ "overscroll-y": [{
754
+ "overscroll-y": getOverscroll()
755
+ }],
756
+ /**
757
+ * Position
758
+ * @see https://tailwindcss.com/docs/position
759
+ */
760
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
761
+ /**
762
+ * Top / Right / Bottom / Left
763
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
764
+ */
765
+ inset: [{
766
+ inset: [inset]
767
+ }],
768
+ /**
769
+ * Right / Left
770
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
771
+ */
772
+ "inset-x": [{
773
+ "inset-x": [inset]
774
+ }],
775
+ /**
776
+ * Top / Bottom
777
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
778
+ */
779
+ "inset-y": [{
780
+ "inset-y": [inset]
781
+ }],
782
+ /**
783
+ * Start
784
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
785
+ */
786
+ start: [{
787
+ start: [inset]
788
+ }],
789
+ /**
790
+ * End
791
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
792
+ */
793
+ end: [{
794
+ end: [inset]
795
+ }],
796
+ /**
797
+ * Top
798
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
799
+ */
800
+ top: [{
801
+ top: [inset]
802
+ }],
803
+ /**
804
+ * Right
805
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
806
+ */
807
+ right: [{
808
+ right: [inset]
809
+ }],
810
+ /**
811
+ * Bottom
812
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
813
+ */
814
+ bottom: [{
815
+ bottom: [inset]
816
+ }],
817
+ /**
818
+ * Left
819
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
820
+ */
821
+ left: [{
822
+ left: [inset]
823
+ }],
824
+ /**
825
+ * Visibility
826
+ * @see https://tailwindcss.com/docs/visibility
827
+ */
828
+ visibility: ["visible", "invisible", "collapse"],
829
+ /**
830
+ * Z-Index
831
+ * @see https://tailwindcss.com/docs/z-index
832
+ */
833
+ z: [{
834
+ z: ["auto", isInteger, isArbitraryValue]
835
+ }],
836
+ // Flexbox and Grid
837
+ /**
838
+ * Flex Basis
839
+ * @see https://tailwindcss.com/docs/flex-basis
840
+ */
841
+ basis: [{
842
+ basis: getSpacingWithAutoAndArbitrary()
843
+ }],
844
+ /**
845
+ * Flex Direction
846
+ * @see https://tailwindcss.com/docs/flex-direction
847
+ */
848
+ "flex-direction": [{
849
+ flex: ["row", "row-reverse", "col", "col-reverse"]
850
+ }],
851
+ /**
852
+ * Flex Wrap
853
+ * @see https://tailwindcss.com/docs/flex-wrap
854
+ */
855
+ "flex-wrap": [{
856
+ flex: ["wrap", "wrap-reverse", "nowrap"]
857
+ }],
858
+ /**
859
+ * Flex
860
+ * @see https://tailwindcss.com/docs/flex
861
+ */
862
+ flex: [{
863
+ flex: ["1", "auto", "initial", "none", isArbitraryValue]
864
+ }],
865
+ /**
866
+ * Flex Grow
867
+ * @see https://tailwindcss.com/docs/flex-grow
868
+ */
869
+ grow: [{
870
+ grow: getZeroAndEmpty()
871
+ }],
872
+ /**
873
+ * Flex Shrink
874
+ * @see https://tailwindcss.com/docs/flex-shrink
875
+ */
876
+ shrink: [{
877
+ shrink: getZeroAndEmpty()
878
+ }],
879
+ /**
880
+ * Order
881
+ * @see https://tailwindcss.com/docs/order
882
+ */
883
+ order: [{
884
+ order: ["first", "last", "none", isInteger, isArbitraryValue]
885
+ }],
886
+ /**
887
+ * Grid Template Columns
888
+ * @see https://tailwindcss.com/docs/grid-template-columns
889
+ */
890
+ "grid-cols": [{
891
+ "grid-cols": [isAny]
892
+ }],
893
+ /**
894
+ * Grid Column Start / End
895
+ * @see https://tailwindcss.com/docs/grid-column
896
+ */
897
+ "col-start-end": [{
898
+ col: ["auto", {
899
+ span: ["full", isInteger, isArbitraryValue]
900
+ }, isArbitraryValue]
901
+ }],
902
+ /**
903
+ * Grid Column Start
904
+ * @see https://tailwindcss.com/docs/grid-column
905
+ */
906
+ "col-start": [{
907
+ "col-start": getNumberWithAutoAndArbitrary()
908
+ }],
909
+ /**
910
+ * Grid Column End
911
+ * @see https://tailwindcss.com/docs/grid-column
912
+ */
913
+ "col-end": [{
914
+ "col-end": getNumberWithAutoAndArbitrary()
915
+ }],
916
+ /**
917
+ * Grid Template Rows
918
+ * @see https://tailwindcss.com/docs/grid-template-rows
919
+ */
920
+ "grid-rows": [{
921
+ "grid-rows": [isAny]
922
+ }],
923
+ /**
924
+ * Grid Row Start / End
925
+ * @see https://tailwindcss.com/docs/grid-row
926
+ */
927
+ "row-start-end": [{
928
+ row: ["auto", {
929
+ span: [isInteger, isArbitraryValue]
930
+ }, isArbitraryValue]
931
+ }],
932
+ /**
933
+ * Grid Row Start
934
+ * @see https://tailwindcss.com/docs/grid-row
935
+ */
936
+ "row-start": [{
937
+ "row-start": getNumberWithAutoAndArbitrary()
938
+ }],
939
+ /**
940
+ * Grid Row End
941
+ * @see https://tailwindcss.com/docs/grid-row
942
+ */
943
+ "row-end": [{
944
+ "row-end": getNumberWithAutoAndArbitrary()
945
+ }],
946
+ /**
947
+ * Grid Auto Flow
948
+ * @see https://tailwindcss.com/docs/grid-auto-flow
949
+ */
950
+ "grid-flow": [{
951
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
952
+ }],
953
+ /**
954
+ * Grid Auto Columns
955
+ * @see https://tailwindcss.com/docs/grid-auto-columns
956
+ */
957
+ "auto-cols": [{
958
+ "auto-cols": ["auto", "min", "max", "fr", isArbitraryValue]
959
+ }],
960
+ /**
961
+ * Grid Auto Rows
962
+ * @see https://tailwindcss.com/docs/grid-auto-rows
963
+ */
964
+ "auto-rows": [{
965
+ "auto-rows": ["auto", "min", "max", "fr", isArbitraryValue]
966
+ }],
967
+ /**
968
+ * Gap
969
+ * @see https://tailwindcss.com/docs/gap
970
+ */
971
+ gap: [{
972
+ gap: [gap]
973
+ }],
974
+ /**
975
+ * Gap X
976
+ * @see https://tailwindcss.com/docs/gap
977
+ */
978
+ "gap-x": [{
979
+ "gap-x": [gap]
980
+ }],
981
+ /**
982
+ * Gap Y
983
+ * @see https://tailwindcss.com/docs/gap
984
+ */
985
+ "gap-y": [{
986
+ "gap-y": [gap]
987
+ }],
988
+ /**
989
+ * Justify Content
990
+ * @see https://tailwindcss.com/docs/justify-content
991
+ */
992
+ "justify-content": [{
993
+ justify: ["normal", ...getAlign()]
994
+ }],
995
+ /**
996
+ * Justify Items
997
+ * @see https://tailwindcss.com/docs/justify-items
998
+ */
999
+ "justify-items": [{
1000
+ "justify-items": ["start", "end", "center", "stretch"]
1001
+ }],
1002
+ /**
1003
+ * Justify Self
1004
+ * @see https://tailwindcss.com/docs/justify-self
1005
+ */
1006
+ "justify-self": [{
1007
+ "justify-self": ["auto", "start", "end", "center", "stretch"]
1008
+ }],
1009
+ /**
1010
+ * Align Content
1011
+ * @see https://tailwindcss.com/docs/align-content
1012
+ */
1013
+ "align-content": [{
1014
+ content: ["normal", ...getAlign(), "baseline"]
1015
+ }],
1016
+ /**
1017
+ * Align Items
1018
+ * @see https://tailwindcss.com/docs/align-items
1019
+ */
1020
+ "align-items": [{
1021
+ items: ["start", "end", "center", "baseline", "stretch"]
1022
+ }],
1023
+ /**
1024
+ * Align Self
1025
+ * @see https://tailwindcss.com/docs/align-self
1026
+ */
1027
+ "align-self": [{
1028
+ self: ["auto", "start", "end", "center", "stretch", "baseline"]
1029
+ }],
1030
+ /**
1031
+ * Place Content
1032
+ * @see https://tailwindcss.com/docs/place-content
1033
+ */
1034
+ "place-content": [{
1035
+ "place-content": [...getAlign(), "baseline"]
1036
+ }],
1037
+ /**
1038
+ * Place Items
1039
+ * @see https://tailwindcss.com/docs/place-items
1040
+ */
1041
+ "place-items": [{
1042
+ "place-items": ["start", "end", "center", "baseline", "stretch"]
1043
+ }],
1044
+ /**
1045
+ * Place Self
1046
+ * @see https://tailwindcss.com/docs/place-self
1047
+ */
1048
+ "place-self": [{
1049
+ "place-self": ["auto", "start", "end", "center", "stretch"]
1050
+ }],
1051
+ // Spacing
1052
+ /**
1053
+ * Padding
1054
+ * @see https://tailwindcss.com/docs/padding
1055
+ */
1056
+ p: [{
1057
+ p: [padding]
1058
+ }],
1059
+ /**
1060
+ * Padding X
1061
+ * @see https://tailwindcss.com/docs/padding
1062
+ */
1063
+ px: [{
1064
+ px: [padding]
1065
+ }],
1066
+ /**
1067
+ * Padding Y
1068
+ * @see https://tailwindcss.com/docs/padding
1069
+ */
1070
+ py: [{
1071
+ py: [padding]
1072
+ }],
1073
+ /**
1074
+ * Padding Start
1075
+ * @see https://tailwindcss.com/docs/padding
1076
+ */
1077
+ ps: [{
1078
+ ps: [padding]
1079
+ }],
1080
+ /**
1081
+ * Padding End
1082
+ * @see https://tailwindcss.com/docs/padding
1083
+ */
1084
+ pe: [{
1085
+ pe: [padding]
1086
+ }],
1087
+ /**
1088
+ * Padding Top
1089
+ * @see https://tailwindcss.com/docs/padding
1090
+ */
1091
+ pt: [{
1092
+ pt: [padding]
1093
+ }],
1094
+ /**
1095
+ * Padding Right
1096
+ * @see https://tailwindcss.com/docs/padding
1097
+ */
1098
+ pr: [{
1099
+ pr: [padding]
1100
+ }],
1101
+ /**
1102
+ * Padding Bottom
1103
+ * @see https://tailwindcss.com/docs/padding
1104
+ */
1105
+ pb: [{
1106
+ pb: [padding]
1107
+ }],
1108
+ /**
1109
+ * Padding Left
1110
+ * @see https://tailwindcss.com/docs/padding
1111
+ */
1112
+ pl: [{
1113
+ pl: [padding]
1114
+ }],
1115
+ /**
1116
+ * Margin
1117
+ * @see https://tailwindcss.com/docs/margin
1118
+ */
1119
+ m: [{
1120
+ m: [margin]
1121
+ }],
1122
+ /**
1123
+ * Margin X
1124
+ * @see https://tailwindcss.com/docs/margin
1125
+ */
1126
+ mx: [{
1127
+ mx: [margin]
1128
+ }],
1129
+ /**
1130
+ * Margin Y
1131
+ * @see https://tailwindcss.com/docs/margin
1132
+ */
1133
+ my: [{
1134
+ my: [margin]
1135
+ }],
1136
+ /**
1137
+ * Margin Start
1138
+ * @see https://tailwindcss.com/docs/margin
1139
+ */
1140
+ ms: [{
1141
+ ms: [margin]
1142
+ }],
1143
+ /**
1144
+ * Margin End
1145
+ * @see https://tailwindcss.com/docs/margin
1146
+ */
1147
+ me: [{
1148
+ me: [margin]
1149
+ }],
1150
+ /**
1151
+ * Margin Top
1152
+ * @see https://tailwindcss.com/docs/margin
1153
+ */
1154
+ mt: [{
1155
+ mt: [margin]
1156
+ }],
1157
+ /**
1158
+ * Margin Right
1159
+ * @see https://tailwindcss.com/docs/margin
1160
+ */
1161
+ mr: [{
1162
+ mr: [margin]
1163
+ }],
1164
+ /**
1165
+ * Margin Bottom
1166
+ * @see https://tailwindcss.com/docs/margin
1167
+ */
1168
+ mb: [{
1169
+ mb: [margin]
1170
+ }],
1171
+ /**
1172
+ * Margin Left
1173
+ * @see https://tailwindcss.com/docs/margin
1174
+ */
1175
+ ml: [{
1176
+ ml: [margin]
1177
+ }],
1178
+ /**
1179
+ * Space Between X
1180
+ * @see https://tailwindcss.com/docs/space
1181
+ */
1182
+ "space-x": [{
1183
+ "space-x": [space]
1184
+ }],
1185
+ /**
1186
+ * Space Between X Reverse
1187
+ * @see https://tailwindcss.com/docs/space
1188
+ */
1189
+ "space-x-reverse": ["space-x-reverse"],
1190
+ /**
1191
+ * Space Between Y
1192
+ * @see https://tailwindcss.com/docs/space
1193
+ */
1194
+ "space-y": [{
1195
+ "space-y": [space]
1196
+ }],
1197
+ /**
1198
+ * Space Between Y Reverse
1199
+ * @see https://tailwindcss.com/docs/space
1200
+ */
1201
+ "space-y-reverse": ["space-y-reverse"],
1202
+ // Sizing
1203
+ /**
1204
+ * Width
1205
+ * @see https://tailwindcss.com/docs/width
1206
+ */
1207
+ w: [{
1208
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", isArbitraryValue, spacing]
1209
+ }],
1210
+ /**
1211
+ * Min-Width
1212
+ * @see https://tailwindcss.com/docs/min-width
1213
+ */
1214
+ "min-w": [{
1215
+ "min-w": [isArbitraryValue, spacing, "min", "max", "fit"]
1216
+ }],
1217
+ /**
1218
+ * Max-Width
1219
+ * @see https://tailwindcss.com/docs/max-width
1220
+ */
1221
+ "max-w": [{
1222
+ "max-w": [isArbitraryValue, spacing, "none", "full", "min", "max", "fit", "prose", {
1223
+ screen: [isTshirtSize]
1224
+ }, isTshirtSize]
1225
+ }],
1226
+ /**
1227
+ * Height
1228
+ * @see https://tailwindcss.com/docs/height
1229
+ */
1230
+ h: [{
1231
+ h: [isArbitraryValue, spacing, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1232
+ }],
1233
+ /**
1234
+ * Min-Height
1235
+ * @see https://tailwindcss.com/docs/min-height
1236
+ */
1237
+ "min-h": [{
1238
+ "min-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
1239
+ }],
1240
+ /**
1241
+ * Max-Height
1242
+ * @see https://tailwindcss.com/docs/max-height
1243
+ */
1244
+ "max-h": [{
1245
+ "max-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
1246
+ }],
1247
+ /**
1248
+ * Size
1249
+ * @see https://tailwindcss.com/docs/size
1250
+ */
1251
+ size: [{
1252
+ size: [isArbitraryValue, spacing, "auto", "min", "max", "fit"]
1253
+ }],
1254
+ // Typography
1255
+ /**
1256
+ * Font Size
1257
+ * @see https://tailwindcss.com/docs/font-size
1258
+ */
1259
+ "font-size": [{
1260
+ text: ["base", isTshirtSize, isArbitraryLength]
1261
+ }],
1262
+ /**
1263
+ * Font Smoothing
1264
+ * @see https://tailwindcss.com/docs/font-smoothing
1265
+ */
1266
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1267
+ /**
1268
+ * Font Style
1269
+ * @see https://tailwindcss.com/docs/font-style
1270
+ */
1271
+ "font-style": ["italic", "not-italic"],
1272
+ /**
1273
+ * Font Weight
1274
+ * @see https://tailwindcss.com/docs/font-weight
1275
+ */
1276
+ "font-weight": [{
1277
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", isArbitraryNumber]
1278
+ }],
1279
+ /**
1280
+ * Font Family
1281
+ * @see https://tailwindcss.com/docs/font-family
1282
+ */
1283
+ "font-family": [{
1284
+ font: [isAny]
1285
+ }],
1286
+ /**
1287
+ * Font Variant Numeric
1288
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1289
+ */
1290
+ "fvn-normal": ["normal-nums"],
1291
+ /**
1292
+ * Font Variant Numeric
1293
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1294
+ */
1295
+ "fvn-ordinal": ["ordinal"],
1296
+ /**
1297
+ * Font Variant Numeric
1298
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1299
+ */
1300
+ "fvn-slashed-zero": ["slashed-zero"],
1301
+ /**
1302
+ * Font Variant Numeric
1303
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1304
+ */
1305
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1306
+ /**
1307
+ * Font Variant Numeric
1308
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1309
+ */
1310
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1311
+ /**
1312
+ * Font Variant Numeric
1313
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1314
+ */
1315
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1316
+ /**
1317
+ * Letter Spacing
1318
+ * @see https://tailwindcss.com/docs/letter-spacing
1319
+ */
1320
+ tracking: [{
1321
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", isArbitraryValue]
1322
+ }],
1323
+ /**
1324
+ * Line Clamp
1325
+ * @see https://tailwindcss.com/docs/line-clamp
1326
+ */
1327
+ "line-clamp": [{
1328
+ "line-clamp": ["none", isNumber, isArbitraryNumber]
1329
+ }],
1330
+ /**
1331
+ * Line Height
1332
+ * @see https://tailwindcss.com/docs/line-height
1333
+ */
1334
+ leading: [{
1335
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", isLength, isArbitraryValue]
1336
+ }],
1337
+ /**
1338
+ * List Style Image
1339
+ * @see https://tailwindcss.com/docs/list-style-image
1340
+ */
1341
+ "list-image": [{
1342
+ "list-image": ["none", isArbitraryValue]
1343
+ }],
1344
+ /**
1345
+ * List Style Type
1346
+ * @see https://tailwindcss.com/docs/list-style-type
1347
+ */
1348
+ "list-style-type": [{
1349
+ list: ["none", "disc", "decimal", isArbitraryValue]
1350
+ }],
1351
+ /**
1352
+ * List Style Position
1353
+ * @see https://tailwindcss.com/docs/list-style-position
1354
+ */
1355
+ "list-style-position": [{
1356
+ list: ["inside", "outside"]
1357
+ }],
1358
+ /**
1359
+ * Placeholder Color
1360
+ * @deprecated since Tailwind CSS v3.0.0
1361
+ * @see https://tailwindcss.com/docs/placeholder-color
1362
+ */
1363
+ "placeholder-color": [{
1364
+ placeholder: [colors]
1365
+ }],
1366
+ /**
1367
+ * Placeholder Opacity
1368
+ * @see https://tailwindcss.com/docs/placeholder-opacity
1369
+ */
1370
+ "placeholder-opacity": [{
1371
+ "placeholder-opacity": [opacity]
1372
+ }],
1373
+ /**
1374
+ * Text Alignment
1375
+ * @see https://tailwindcss.com/docs/text-align
1376
+ */
1377
+ "text-alignment": [{
1378
+ text: ["left", "center", "right", "justify", "start", "end"]
1379
+ }],
1380
+ /**
1381
+ * Text Color
1382
+ * @see https://tailwindcss.com/docs/text-color
1383
+ */
1384
+ "text-color": [{
1385
+ text: [colors]
1386
+ }],
1387
+ /**
1388
+ * Text Opacity
1389
+ * @see https://tailwindcss.com/docs/text-opacity
1390
+ */
1391
+ "text-opacity": [{
1392
+ "text-opacity": [opacity]
1393
+ }],
1394
+ /**
1395
+ * Text Decoration
1396
+ * @see https://tailwindcss.com/docs/text-decoration
1397
+ */
1398
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1399
+ /**
1400
+ * Text Decoration Style
1401
+ * @see https://tailwindcss.com/docs/text-decoration-style
1402
+ */
1403
+ "text-decoration-style": [{
1404
+ decoration: [...getLineStyles(), "wavy"]
1405
+ }],
1406
+ /**
1407
+ * Text Decoration Thickness
1408
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1409
+ */
1410
+ "text-decoration-thickness": [{
1411
+ decoration: ["auto", "from-font", isLength, isArbitraryLength]
1412
+ }],
1413
+ /**
1414
+ * Text Underline Offset
1415
+ * @see https://tailwindcss.com/docs/text-underline-offset
1416
+ */
1417
+ "underline-offset": [{
1418
+ "underline-offset": ["auto", isLength, isArbitraryValue]
1419
+ }],
1420
+ /**
1421
+ * Text Decoration Color
1422
+ * @see https://tailwindcss.com/docs/text-decoration-color
1423
+ */
1424
+ "text-decoration-color": [{
1425
+ decoration: [colors]
1426
+ }],
1427
+ /**
1428
+ * Text Transform
1429
+ * @see https://tailwindcss.com/docs/text-transform
1430
+ */
1431
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1432
+ /**
1433
+ * Text Overflow
1434
+ * @see https://tailwindcss.com/docs/text-overflow
1435
+ */
1436
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1437
+ /**
1438
+ * Text Wrap
1439
+ * @see https://tailwindcss.com/docs/text-wrap
1440
+ */
1441
+ "text-wrap": [{
1442
+ text: ["wrap", "nowrap", "balance", "pretty"]
1443
+ }],
1444
+ /**
1445
+ * Text Indent
1446
+ * @see https://tailwindcss.com/docs/text-indent
1447
+ */
1448
+ indent: [{
1449
+ indent: getSpacingWithArbitrary()
1450
+ }],
1451
+ /**
1452
+ * Vertical Alignment
1453
+ * @see https://tailwindcss.com/docs/vertical-align
1454
+ */
1455
+ "vertical-align": [{
1456
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", isArbitraryValue]
1457
+ }],
1458
+ /**
1459
+ * Whitespace
1460
+ * @see https://tailwindcss.com/docs/whitespace
1461
+ */
1462
+ whitespace: [{
1463
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1464
+ }],
1465
+ /**
1466
+ * Word Break
1467
+ * @see https://tailwindcss.com/docs/word-break
1468
+ */
1469
+ break: [{
1470
+ break: ["normal", "words", "all", "keep"]
1471
+ }],
1472
+ /**
1473
+ * Hyphens
1474
+ * @see https://tailwindcss.com/docs/hyphens
1475
+ */
1476
+ hyphens: [{
1477
+ hyphens: ["none", "manual", "auto"]
1478
+ }],
1479
+ /**
1480
+ * Content
1481
+ * @see https://tailwindcss.com/docs/content
1482
+ */
1483
+ content: [{
1484
+ content: ["none", isArbitraryValue]
1485
+ }],
1486
+ // Backgrounds
1487
+ /**
1488
+ * Background Attachment
1489
+ * @see https://tailwindcss.com/docs/background-attachment
1490
+ */
1491
+ "bg-attachment": [{
1492
+ bg: ["fixed", "local", "scroll"]
1493
+ }],
1494
+ /**
1495
+ * Background Clip
1496
+ * @see https://tailwindcss.com/docs/background-clip
1497
+ */
1498
+ "bg-clip": [{
1499
+ "bg-clip": ["border", "padding", "content", "text"]
1500
+ }],
1501
+ /**
1502
+ * Background Opacity
1503
+ * @deprecated since Tailwind CSS v3.0.0
1504
+ * @see https://tailwindcss.com/docs/background-opacity
1505
+ */
1506
+ "bg-opacity": [{
1507
+ "bg-opacity": [opacity]
1508
+ }],
1509
+ /**
1510
+ * Background Origin
1511
+ * @see https://tailwindcss.com/docs/background-origin
1512
+ */
1513
+ "bg-origin": [{
1514
+ "bg-origin": ["border", "padding", "content"]
1515
+ }],
1516
+ /**
1517
+ * Background Position
1518
+ * @see https://tailwindcss.com/docs/background-position
1519
+ */
1520
+ "bg-position": [{
1521
+ bg: [...getPositions(), isArbitraryPosition]
1522
+ }],
1523
+ /**
1524
+ * Background Repeat
1525
+ * @see https://tailwindcss.com/docs/background-repeat
1526
+ */
1527
+ "bg-repeat": [{
1528
+ bg: ["no-repeat", {
1529
+ repeat: ["", "x", "y", "round", "space"]
1530
+ }]
1531
+ }],
1532
+ /**
1533
+ * Background Size
1534
+ * @see https://tailwindcss.com/docs/background-size
1535
+ */
1536
+ "bg-size": [{
1537
+ bg: ["auto", "cover", "contain", isArbitrarySize]
1538
+ }],
1539
+ /**
1540
+ * Background Image
1541
+ * @see https://tailwindcss.com/docs/background-image
1542
+ */
1543
+ "bg-image": [{
1544
+ bg: ["none", {
1545
+ "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1546
+ }, isArbitraryImage]
1547
+ }],
1548
+ /**
1549
+ * Background Color
1550
+ * @see https://tailwindcss.com/docs/background-color
1551
+ */
1552
+ "bg-color": [{
1553
+ bg: [colors]
1554
+ }],
1555
+ /**
1556
+ * Gradient Color Stops From Position
1557
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1558
+ */
1559
+ "gradient-from-pos": [{
1560
+ from: [gradientColorStopPositions]
1561
+ }],
1562
+ /**
1563
+ * Gradient Color Stops Via Position
1564
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1565
+ */
1566
+ "gradient-via-pos": [{
1567
+ via: [gradientColorStopPositions]
1568
+ }],
1569
+ /**
1570
+ * Gradient Color Stops To Position
1571
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1572
+ */
1573
+ "gradient-to-pos": [{
1574
+ to: [gradientColorStopPositions]
1575
+ }],
1576
+ /**
1577
+ * Gradient Color Stops From
1578
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1579
+ */
1580
+ "gradient-from": [{
1581
+ from: [gradientColorStops]
1582
+ }],
1583
+ /**
1584
+ * Gradient Color Stops Via
1585
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1586
+ */
1587
+ "gradient-via": [{
1588
+ via: [gradientColorStops]
1589
+ }],
1590
+ /**
1591
+ * Gradient Color Stops To
1592
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1593
+ */
1594
+ "gradient-to": [{
1595
+ to: [gradientColorStops]
1596
+ }],
1597
+ // Borders
1598
+ /**
1599
+ * Border Radius
1600
+ * @see https://tailwindcss.com/docs/border-radius
1601
+ */
1602
+ rounded: [{
1603
+ rounded: [borderRadius]
1604
+ }],
1605
+ /**
1606
+ * Border Radius Start
1607
+ * @see https://tailwindcss.com/docs/border-radius
1608
+ */
1609
+ "rounded-s": [{
1610
+ "rounded-s": [borderRadius]
1611
+ }],
1612
+ /**
1613
+ * Border Radius End
1614
+ * @see https://tailwindcss.com/docs/border-radius
1615
+ */
1616
+ "rounded-e": [{
1617
+ "rounded-e": [borderRadius]
1618
+ }],
1619
+ /**
1620
+ * Border Radius Top
1621
+ * @see https://tailwindcss.com/docs/border-radius
1622
+ */
1623
+ "rounded-t": [{
1624
+ "rounded-t": [borderRadius]
1625
+ }],
1626
+ /**
1627
+ * Border Radius Right
1628
+ * @see https://tailwindcss.com/docs/border-radius
1629
+ */
1630
+ "rounded-r": [{
1631
+ "rounded-r": [borderRadius]
1632
+ }],
1633
+ /**
1634
+ * Border Radius Bottom
1635
+ * @see https://tailwindcss.com/docs/border-radius
1636
+ */
1637
+ "rounded-b": [{
1638
+ "rounded-b": [borderRadius]
1639
+ }],
1640
+ /**
1641
+ * Border Radius Left
1642
+ * @see https://tailwindcss.com/docs/border-radius
1643
+ */
1644
+ "rounded-l": [{
1645
+ "rounded-l": [borderRadius]
1646
+ }],
1647
+ /**
1648
+ * Border Radius Start Start
1649
+ * @see https://tailwindcss.com/docs/border-radius
1650
+ */
1651
+ "rounded-ss": [{
1652
+ "rounded-ss": [borderRadius]
1653
+ }],
1654
+ /**
1655
+ * Border Radius Start End
1656
+ * @see https://tailwindcss.com/docs/border-radius
1657
+ */
1658
+ "rounded-se": [{
1659
+ "rounded-se": [borderRadius]
1660
+ }],
1661
+ /**
1662
+ * Border Radius End End
1663
+ * @see https://tailwindcss.com/docs/border-radius
1664
+ */
1665
+ "rounded-ee": [{
1666
+ "rounded-ee": [borderRadius]
1667
+ }],
1668
+ /**
1669
+ * Border Radius End Start
1670
+ * @see https://tailwindcss.com/docs/border-radius
1671
+ */
1672
+ "rounded-es": [{
1673
+ "rounded-es": [borderRadius]
1674
+ }],
1675
+ /**
1676
+ * Border Radius Top Left
1677
+ * @see https://tailwindcss.com/docs/border-radius
1678
+ */
1679
+ "rounded-tl": [{
1680
+ "rounded-tl": [borderRadius]
1681
+ }],
1682
+ /**
1683
+ * Border Radius Top Right
1684
+ * @see https://tailwindcss.com/docs/border-radius
1685
+ */
1686
+ "rounded-tr": [{
1687
+ "rounded-tr": [borderRadius]
1688
+ }],
1689
+ /**
1690
+ * Border Radius Bottom Right
1691
+ * @see https://tailwindcss.com/docs/border-radius
1692
+ */
1693
+ "rounded-br": [{
1694
+ "rounded-br": [borderRadius]
1695
+ }],
1696
+ /**
1697
+ * Border Radius Bottom Left
1698
+ * @see https://tailwindcss.com/docs/border-radius
1699
+ */
1700
+ "rounded-bl": [{
1701
+ "rounded-bl": [borderRadius]
1702
+ }],
1703
+ /**
1704
+ * Border Width
1705
+ * @see https://tailwindcss.com/docs/border-width
1706
+ */
1707
+ "border-w": [{
1708
+ border: [borderWidth]
1709
+ }],
1710
+ /**
1711
+ * Border Width X
1712
+ * @see https://tailwindcss.com/docs/border-width
1713
+ */
1714
+ "border-w-x": [{
1715
+ "border-x": [borderWidth]
1716
+ }],
1717
+ /**
1718
+ * Border Width Y
1719
+ * @see https://tailwindcss.com/docs/border-width
1720
+ */
1721
+ "border-w-y": [{
1722
+ "border-y": [borderWidth]
1723
+ }],
1724
+ /**
1725
+ * Border Width Start
1726
+ * @see https://tailwindcss.com/docs/border-width
1727
+ */
1728
+ "border-w-s": [{
1729
+ "border-s": [borderWidth]
1730
+ }],
1731
+ /**
1732
+ * Border Width End
1733
+ * @see https://tailwindcss.com/docs/border-width
1734
+ */
1735
+ "border-w-e": [{
1736
+ "border-e": [borderWidth]
1737
+ }],
1738
+ /**
1739
+ * Border Width Top
1740
+ * @see https://tailwindcss.com/docs/border-width
1741
+ */
1742
+ "border-w-t": [{
1743
+ "border-t": [borderWidth]
1744
+ }],
1745
+ /**
1746
+ * Border Width Right
1747
+ * @see https://tailwindcss.com/docs/border-width
1748
+ */
1749
+ "border-w-r": [{
1750
+ "border-r": [borderWidth]
1751
+ }],
1752
+ /**
1753
+ * Border Width Bottom
1754
+ * @see https://tailwindcss.com/docs/border-width
1755
+ */
1756
+ "border-w-b": [{
1757
+ "border-b": [borderWidth]
1758
+ }],
1759
+ /**
1760
+ * Border Width Left
1761
+ * @see https://tailwindcss.com/docs/border-width
1762
+ */
1763
+ "border-w-l": [{
1764
+ "border-l": [borderWidth]
1765
+ }],
1766
+ /**
1767
+ * Border Opacity
1768
+ * @see https://tailwindcss.com/docs/border-opacity
1769
+ */
1770
+ "border-opacity": [{
1771
+ "border-opacity": [opacity]
1772
+ }],
1773
+ /**
1774
+ * Border Style
1775
+ * @see https://tailwindcss.com/docs/border-style
1776
+ */
1777
+ "border-style": [{
1778
+ border: [...getLineStyles(), "hidden"]
1779
+ }],
1780
+ /**
1781
+ * Divide Width X
1782
+ * @see https://tailwindcss.com/docs/divide-width
1783
+ */
1784
+ "divide-x": [{
1785
+ "divide-x": [borderWidth]
1786
+ }],
1787
+ /**
1788
+ * Divide Width X Reverse
1789
+ * @see https://tailwindcss.com/docs/divide-width
1790
+ */
1791
+ "divide-x-reverse": ["divide-x-reverse"],
1792
+ /**
1793
+ * Divide Width Y
1794
+ * @see https://tailwindcss.com/docs/divide-width
1795
+ */
1796
+ "divide-y": [{
1797
+ "divide-y": [borderWidth]
1798
+ }],
1799
+ /**
1800
+ * Divide Width Y Reverse
1801
+ * @see https://tailwindcss.com/docs/divide-width
1802
+ */
1803
+ "divide-y-reverse": ["divide-y-reverse"],
1804
+ /**
1805
+ * Divide Opacity
1806
+ * @see https://tailwindcss.com/docs/divide-opacity
1807
+ */
1808
+ "divide-opacity": [{
1809
+ "divide-opacity": [opacity]
1810
+ }],
1811
+ /**
1812
+ * Divide Style
1813
+ * @see https://tailwindcss.com/docs/divide-style
1814
+ */
1815
+ "divide-style": [{
1816
+ divide: getLineStyles()
1817
+ }],
1818
+ /**
1819
+ * Border Color
1820
+ * @see https://tailwindcss.com/docs/border-color
1821
+ */
1822
+ "border-color": [{
1823
+ border: [borderColor]
1824
+ }],
1825
+ /**
1826
+ * Border Color X
1827
+ * @see https://tailwindcss.com/docs/border-color
1828
+ */
1829
+ "border-color-x": [{
1830
+ "border-x": [borderColor]
1831
+ }],
1832
+ /**
1833
+ * Border Color Y
1834
+ * @see https://tailwindcss.com/docs/border-color
1835
+ */
1836
+ "border-color-y": [{
1837
+ "border-y": [borderColor]
1838
+ }],
1839
+ /**
1840
+ * Border Color S
1841
+ * @see https://tailwindcss.com/docs/border-color
1842
+ */
1843
+ "border-color-s": [{
1844
+ "border-s": [borderColor]
1845
+ }],
1846
+ /**
1847
+ * Border Color E
1848
+ * @see https://tailwindcss.com/docs/border-color
1849
+ */
1850
+ "border-color-e": [{
1851
+ "border-e": [borderColor]
1852
+ }],
1853
+ /**
1854
+ * Border Color Top
1855
+ * @see https://tailwindcss.com/docs/border-color
1856
+ */
1857
+ "border-color-t": [{
1858
+ "border-t": [borderColor]
1859
+ }],
1860
+ /**
1861
+ * Border Color Right
1862
+ * @see https://tailwindcss.com/docs/border-color
1863
+ */
1864
+ "border-color-r": [{
1865
+ "border-r": [borderColor]
1866
+ }],
1867
+ /**
1868
+ * Border Color Bottom
1869
+ * @see https://tailwindcss.com/docs/border-color
1870
+ */
1871
+ "border-color-b": [{
1872
+ "border-b": [borderColor]
1873
+ }],
1874
+ /**
1875
+ * Border Color Left
1876
+ * @see https://tailwindcss.com/docs/border-color
1877
+ */
1878
+ "border-color-l": [{
1879
+ "border-l": [borderColor]
1880
+ }],
1881
+ /**
1882
+ * Divide Color
1883
+ * @see https://tailwindcss.com/docs/divide-color
1884
+ */
1885
+ "divide-color": [{
1886
+ divide: [borderColor]
1887
+ }],
1888
+ /**
1889
+ * Outline Style
1890
+ * @see https://tailwindcss.com/docs/outline-style
1891
+ */
1892
+ "outline-style": [{
1893
+ outline: ["", ...getLineStyles()]
1894
+ }],
1895
+ /**
1896
+ * Outline Offset
1897
+ * @see https://tailwindcss.com/docs/outline-offset
1898
+ */
1899
+ "outline-offset": [{
1900
+ "outline-offset": [isLength, isArbitraryValue]
1901
+ }],
1902
+ /**
1903
+ * Outline Width
1904
+ * @see https://tailwindcss.com/docs/outline-width
1905
+ */
1906
+ "outline-w": [{
1907
+ outline: [isLength, isArbitraryLength]
1908
+ }],
1909
+ /**
1910
+ * Outline Color
1911
+ * @see https://tailwindcss.com/docs/outline-color
1912
+ */
1913
+ "outline-color": [{
1914
+ outline: [colors]
1915
+ }],
1916
+ /**
1917
+ * Ring Width
1918
+ * @see https://tailwindcss.com/docs/ring-width
1919
+ */
1920
+ "ring-w": [{
1921
+ ring: getLengthWithEmptyAndArbitrary()
1922
+ }],
1923
+ /**
1924
+ * Ring Width Inset
1925
+ * @see https://tailwindcss.com/docs/ring-width
1926
+ */
1927
+ "ring-w-inset": ["ring-inset"],
1928
+ /**
1929
+ * Ring Color
1930
+ * @see https://tailwindcss.com/docs/ring-color
1931
+ */
1932
+ "ring-color": [{
1933
+ ring: [colors]
1934
+ }],
1935
+ /**
1936
+ * Ring Opacity
1937
+ * @see https://tailwindcss.com/docs/ring-opacity
1938
+ */
1939
+ "ring-opacity": [{
1940
+ "ring-opacity": [opacity]
1941
+ }],
1942
+ /**
1943
+ * Ring Offset Width
1944
+ * @see https://tailwindcss.com/docs/ring-offset-width
1945
+ */
1946
+ "ring-offset-w": [{
1947
+ "ring-offset": [isLength, isArbitraryLength]
1948
+ }],
1949
+ /**
1950
+ * Ring Offset Color
1951
+ * @see https://tailwindcss.com/docs/ring-offset-color
1952
+ */
1953
+ "ring-offset-color": [{
1954
+ "ring-offset": [colors]
1955
+ }],
1956
+ // Effects
1957
+ /**
1958
+ * Box Shadow
1959
+ * @see https://tailwindcss.com/docs/box-shadow
1960
+ */
1961
+ shadow: [{
1962
+ shadow: ["", "inner", "none", isTshirtSize, isArbitraryShadow]
1963
+ }],
1964
+ /**
1965
+ * Box Shadow Color
1966
+ * @see https://tailwindcss.com/docs/box-shadow-color
1967
+ */
1968
+ "shadow-color": [{
1969
+ shadow: [isAny]
1970
+ }],
1971
+ /**
1972
+ * Opacity
1973
+ * @see https://tailwindcss.com/docs/opacity
1974
+ */
1975
+ opacity: [{
1976
+ opacity: [opacity]
1977
+ }],
1978
+ /**
1979
+ * Mix Blend Mode
1980
+ * @see https://tailwindcss.com/docs/mix-blend-mode
1981
+ */
1982
+ "mix-blend": [{
1983
+ "mix-blend": [...getBlendModes(), "plus-lighter", "plus-darker"]
1984
+ }],
1985
+ /**
1986
+ * Background Blend Mode
1987
+ * @see https://tailwindcss.com/docs/background-blend-mode
1988
+ */
1989
+ "bg-blend": [{
1990
+ "bg-blend": getBlendModes()
1991
+ }],
1992
+ // Filters
1993
+ /**
1994
+ * Filter
1995
+ * @deprecated since Tailwind CSS v3.0.0
1996
+ * @see https://tailwindcss.com/docs/filter
1997
+ */
1998
+ filter: [{
1999
+ filter: ["", "none"]
2000
+ }],
2001
+ /**
2002
+ * Blur
2003
+ * @see https://tailwindcss.com/docs/blur
2004
+ */
2005
+ blur: [{
2006
+ blur: [blur]
2007
+ }],
2008
+ /**
2009
+ * Brightness
2010
+ * @see https://tailwindcss.com/docs/brightness
2011
+ */
2012
+ brightness: [{
2013
+ brightness: [brightness]
2014
+ }],
2015
+ /**
2016
+ * Contrast
2017
+ * @see https://tailwindcss.com/docs/contrast
2018
+ */
2019
+ contrast: [{
2020
+ contrast: [contrast]
2021
+ }],
2022
+ /**
2023
+ * Drop Shadow
2024
+ * @see https://tailwindcss.com/docs/drop-shadow
2025
+ */
2026
+ "drop-shadow": [{
2027
+ "drop-shadow": ["", "none", isTshirtSize, isArbitraryValue]
2028
+ }],
2029
+ /**
2030
+ * Grayscale
2031
+ * @see https://tailwindcss.com/docs/grayscale
2032
+ */
2033
+ grayscale: [{
2034
+ grayscale: [grayscale]
2035
+ }],
2036
+ /**
2037
+ * Hue Rotate
2038
+ * @see https://tailwindcss.com/docs/hue-rotate
2039
+ */
2040
+ "hue-rotate": [{
2041
+ "hue-rotate": [hueRotate]
2042
+ }],
2043
+ /**
2044
+ * Invert
2045
+ * @see https://tailwindcss.com/docs/invert
2046
+ */
2047
+ invert: [{
2048
+ invert: [invert]
2049
+ }],
2050
+ /**
2051
+ * Saturate
2052
+ * @see https://tailwindcss.com/docs/saturate
2053
+ */
2054
+ saturate: [{
2055
+ saturate: [saturate]
2056
+ }],
2057
+ /**
2058
+ * Sepia
2059
+ * @see https://tailwindcss.com/docs/sepia
2060
+ */
2061
+ sepia: [{
2062
+ sepia: [sepia]
2063
+ }],
2064
+ /**
2065
+ * Backdrop Filter
2066
+ * @deprecated since Tailwind CSS v3.0.0
2067
+ * @see https://tailwindcss.com/docs/backdrop-filter
2068
+ */
2069
+ "backdrop-filter": [{
2070
+ "backdrop-filter": ["", "none"]
2071
+ }],
2072
+ /**
2073
+ * Backdrop Blur
2074
+ * @see https://tailwindcss.com/docs/backdrop-blur
2075
+ */
2076
+ "backdrop-blur": [{
2077
+ "backdrop-blur": [blur]
2078
+ }],
2079
+ /**
2080
+ * Backdrop Brightness
2081
+ * @see https://tailwindcss.com/docs/backdrop-brightness
2082
+ */
2083
+ "backdrop-brightness": [{
2084
+ "backdrop-brightness": [brightness]
2085
+ }],
2086
+ /**
2087
+ * Backdrop Contrast
2088
+ * @see https://tailwindcss.com/docs/backdrop-contrast
2089
+ */
2090
+ "backdrop-contrast": [{
2091
+ "backdrop-contrast": [contrast]
2092
+ }],
2093
+ /**
2094
+ * Backdrop Grayscale
2095
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
2096
+ */
2097
+ "backdrop-grayscale": [{
2098
+ "backdrop-grayscale": [grayscale]
2099
+ }],
2100
+ /**
2101
+ * Backdrop Hue Rotate
2102
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2103
+ */
2104
+ "backdrop-hue-rotate": [{
2105
+ "backdrop-hue-rotate": [hueRotate]
2106
+ }],
2107
+ /**
2108
+ * Backdrop Invert
2109
+ * @see https://tailwindcss.com/docs/backdrop-invert
2110
+ */
2111
+ "backdrop-invert": [{
2112
+ "backdrop-invert": [invert]
2113
+ }],
2114
+ /**
2115
+ * Backdrop Opacity
2116
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2117
+ */
2118
+ "backdrop-opacity": [{
2119
+ "backdrop-opacity": [opacity]
2120
+ }],
2121
+ /**
2122
+ * Backdrop Saturate
2123
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2124
+ */
2125
+ "backdrop-saturate": [{
2126
+ "backdrop-saturate": [saturate]
2127
+ }],
2128
+ /**
2129
+ * Backdrop Sepia
2130
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2131
+ */
2132
+ "backdrop-sepia": [{
2133
+ "backdrop-sepia": [sepia]
2134
+ }],
2135
+ // Tables
2136
+ /**
2137
+ * Border Collapse
2138
+ * @see https://tailwindcss.com/docs/border-collapse
2139
+ */
2140
+ "border-collapse": [{
2141
+ border: ["collapse", "separate"]
2142
+ }],
2143
+ /**
2144
+ * Border Spacing
2145
+ * @see https://tailwindcss.com/docs/border-spacing
2146
+ */
2147
+ "border-spacing": [{
2148
+ "border-spacing": [borderSpacing]
2149
+ }],
2150
+ /**
2151
+ * Border Spacing X
2152
+ * @see https://tailwindcss.com/docs/border-spacing
2153
+ */
2154
+ "border-spacing-x": [{
2155
+ "border-spacing-x": [borderSpacing]
2156
+ }],
2157
+ /**
2158
+ * Border Spacing Y
2159
+ * @see https://tailwindcss.com/docs/border-spacing
2160
+ */
2161
+ "border-spacing-y": [{
2162
+ "border-spacing-y": [borderSpacing]
2163
+ }],
2164
+ /**
2165
+ * Table Layout
2166
+ * @see https://tailwindcss.com/docs/table-layout
2167
+ */
2168
+ "table-layout": [{
2169
+ table: ["auto", "fixed"]
2170
+ }],
2171
+ /**
2172
+ * Caption Side
2173
+ * @see https://tailwindcss.com/docs/caption-side
2174
+ */
2175
+ caption: [{
2176
+ caption: ["top", "bottom"]
2177
+ }],
2178
+ // Transitions and Animation
2179
+ /**
2180
+ * Tranisition Property
2181
+ * @see https://tailwindcss.com/docs/transition-property
2182
+ */
2183
+ transition: [{
2184
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", isArbitraryValue]
2185
+ }],
2186
+ /**
2187
+ * Transition Duration
2188
+ * @see https://tailwindcss.com/docs/transition-duration
2189
+ */
2190
+ duration: [{
2191
+ duration: getNumberAndArbitrary()
2192
+ }],
2193
+ /**
2194
+ * Transition Timing Function
2195
+ * @see https://tailwindcss.com/docs/transition-timing-function
2196
+ */
2197
+ ease: [{
2198
+ ease: ["linear", "in", "out", "in-out", isArbitraryValue]
2199
+ }],
2200
+ /**
2201
+ * Transition Delay
2202
+ * @see https://tailwindcss.com/docs/transition-delay
2203
+ */
2204
+ delay: [{
2205
+ delay: getNumberAndArbitrary()
2206
+ }],
2207
+ /**
2208
+ * Animation
2209
+ * @see https://tailwindcss.com/docs/animation
2210
+ */
2211
+ animate: [{
2212
+ animate: ["none", "spin", "ping", "pulse", "bounce", isArbitraryValue]
2213
+ }],
2214
+ // Transforms
2215
+ /**
2216
+ * Transform
2217
+ * @see https://tailwindcss.com/docs/transform
2218
+ */
2219
+ transform: [{
2220
+ transform: ["", "gpu", "none"]
2221
+ }],
2222
+ /**
2223
+ * Scale
2224
+ * @see https://tailwindcss.com/docs/scale
2225
+ */
2226
+ scale: [{
2227
+ scale: [scale]
2228
+ }],
2229
+ /**
2230
+ * Scale X
2231
+ * @see https://tailwindcss.com/docs/scale
2232
+ */
2233
+ "scale-x": [{
2234
+ "scale-x": [scale]
2235
+ }],
2236
+ /**
2237
+ * Scale Y
2238
+ * @see https://tailwindcss.com/docs/scale
2239
+ */
2240
+ "scale-y": [{
2241
+ "scale-y": [scale]
2242
+ }],
2243
+ /**
2244
+ * Rotate
2245
+ * @see https://tailwindcss.com/docs/rotate
2246
+ */
2247
+ rotate: [{
2248
+ rotate: [isInteger, isArbitraryValue]
2249
+ }],
2250
+ /**
2251
+ * Translate X
2252
+ * @see https://tailwindcss.com/docs/translate
2253
+ */
2254
+ "translate-x": [{
2255
+ "translate-x": [translate]
2256
+ }],
2257
+ /**
2258
+ * Translate Y
2259
+ * @see https://tailwindcss.com/docs/translate
2260
+ */
2261
+ "translate-y": [{
2262
+ "translate-y": [translate]
2263
+ }],
2264
+ /**
2265
+ * Skew X
2266
+ * @see https://tailwindcss.com/docs/skew
2267
+ */
2268
+ "skew-x": [{
2269
+ "skew-x": [skew]
2270
+ }],
2271
+ /**
2272
+ * Skew Y
2273
+ * @see https://tailwindcss.com/docs/skew
2274
+ */
2275
+ "skew-y": [{
2276
+ "skew-y": [skew]
2277
+ }],
2278
+ /**
2279
+ * Transform Origin
2280
+ * @see https://tailwindcss.com/docs/transform-origin
2281
+ */
2282
+ "transform-origin": [{
2283
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", isArbitraryValue]
2284
+ }],
2285
+ // Interactivity
2286
+ /**
2287
+ * Accent Color
2288
+ * @see https://tailwindcss.com/docs/accent-color
2289
+ */
2290
+ accent: [{
2291
+ accent: ["auto", colors]
2292
+ }],
2293
+ /**
2294
+ * Appearance
2295
+ * @see https://tailwindcss.com/docs/appearance
2296
+ */
2297
+ appearance: [{
2298
+ appearance: ["none", "auto"]
2299
+ }],
2300
+ /**
2301
+ * Cursor
2302
+ * @see https://tailwindcss.com/docs/cursor
2303
+ */
2304
+ cursor: [{
2305
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", isArbitraryValue]
2306
+ }],
2307
+ /**
2308
+ * Caret Color
2309
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2310
+ */
2311
+ "caret-color": [{
2312
+ caret: [colors]
2313
+ }],
2314
+ /**
2315
+ * Pointer Events
2316
+ * @see https://tailwindcss.com/docs/pointer-events
2317
+ */
2318
+ "pointer-events": [{
2319
+ "pointer-events": ["none", "auto"]
2320
+ }],
2321
+ /**
2322
+ * Resize
2323
+ * @see https://tailwindcss.com/docs/resize
2324
+ */
2325
+ resize: [{
2326
+ resize: ["none", "y", "x", ""]
2327
+ }],
2328
+ /**
2329
+ * Scroll Behavior
2330
+ * @see https://tailwindcss.com/docs/scroll-behavior
2331
+ */
2332
+ "scroll-behavior": [{
2333
+ scroll: ["auto", "smooth"]
2334
+ }],
2335
+ /**
2336
+ * Scroll Margin
2337
+ * @see https://tailwindcss.com/docs/scroll-margin
2338
+ */
2339
+ "scroll-m": [{
2340
+ "scroll-m": getSpacingWithArbitrary()
2341
+ }],
2342
+ /**
2343
+ * Scroll Margin X
2344
+ * @see https://tailwindcss.com/docs/scroll-margin
2345
+ */
2346
+ "scroll-mx": [{
2347
+ "scroll-mx": getSpacingWithArbitrary()
2348
+ }],
2349
+ /**
2350
+ * Scroll Margin Y
2351
+ * @see https://tailwindcss.com/docs/scroll-margin
2352
+ */
2353
+ "scroll-my": [{
2354
+ "scroll-my": getSpacingWithArbitrary()
2355
+ }],
2356
+ /**
2357
+ * Scroll Margin Start
2358
+ * @see https://tailwindcss.com/docs/scroll-margin
2359
+ */
2360
+ "scroll-ms": [{
2361
+ "scroll-ms": getSpacingWithArbitrary()
2362
+ }],
2363
+ /**
2364
+ * Scroll Margin End
2365
+ * @see https://tailwindcss.com/docs/scroll-margin
2366
+ */
2367
+ "scroll-me": [{
2368
+ "scroll-me": getSpacingWithArbitrary()
2369
+ }],
2370
+ /**
2371
+ * Scroll Margin Top
2372
+ * @see https://tailwindcss.com/docs/scroll-margin
2373
+ */
2374
+ "scroll-mt": [{
2375
+ "scroll-mt": getSpacingWithArbitrary()
2376
+ }],
2377
+ /**
2378
+ * Scroll Margin Right
2379
+ * @see https://tailwindcss.com/docs/scroll-margin
2380
+ */
2381
+ "scroll-mr": [{
2382
+ "scroll-mr": getSpacingWithArbitrary()
2383
+ }],
2384
+ /**
2385
+ * Scroll Margin Bottom
2386
+ * @see https://tailwindcss.com/docs/scroll-margin
2387
+ */
2388
+ "scroll-mb": [{
2389
+ "scroll-mb": getSpacingWithArbitrary()
2390
+ }],
2391
+ /**
2392
+ * Scroll Margin Left
2393
+ * @see https://tailwindcss.com/docs/scroll-margin
2394
+ */
2395
+ "scroll-ml": [{
2396
+ "scroll-ml": getSpacingWithArbitrary()
2397
+ }],
2398
+ /**
2399
+ * Scroll Padding
2400
+ * @see https://tailwindcss.com/docs/scroll-padding
2401
+ */
2402
+ "scroll-p": [{
2403
+ "scroll-p": getSpacingWithArbitrary()
2404
+ }],
2405
+ /**
2406
+ * Scroll Padding X
2407
+ * @see https://tailwindcss.com/docs/scroll-padding
2408
+ */
2409
+ "scroll-px": [{
2410
+ "scroll-px": getSpacingWithArbitrary()
2411
+ }],
2412
+ /**
2413
+ * Scroll Padding Y
2414
+ * @see https://tailwindcss.com/docs/scroll-padding
2415
+ */
2416
+ "scroll-py": [{
2417
+ "scroll-py": getSpacingWithArbitrary()
2418
+ }],
2419
+ /**
2420
+ * Scroll Padding Start
2421
+ * @see https://tailwindcss.com/docs/scroll-padding
2422
+ */
2423
+ "scroll-ps": [{
2424
+ "scroll-ps": getSpacingWithArbitrary()
2425
+ }],
2426
+ /**
2427
+ * Scroll Padding End
2428
+ * @see https://tailwindcss.com/docs/scroll-padding
2429
+ */
2430
+ "scroll-pe": [{
2431
+ "scroll-pe": getSpacingWithArbitrary()
2432
+ }],
2433
+ /**
2434
+ * Scroll Padding Top
2435
+ * @see https://tailwindcss.com/docs/scroll-padding
2436
+ */
2437
+ "scroll-pt": [{
2438
+ "scroll-pt": getSpacingWithArbitrary()
2439
+ }],
2440
+ /**
2441
+ * Scroll Padding Right
2442
+ * @see https://tailwindcss.com/docs/scroll-padding
2443
+ */
2444
+ "scroll-pr": [{
2445
+ "scroll-pr": getSpacingWithArbitrary()
2446
+ }],
2447
+ /**
2448
+ * Scroll Padding Bottom
2449
+ * @see https://tailwindcss.com/docs/scroll-padding
2450
+ */
2451
+ "scroll-pb": [{
2452
+ "scroll-pb": getSpacingWithArbitrary()
2453
+ }],
2454
+ /**
2455
+ * Scroll Padding Left
2456
+ * @see https://tailwindcss.com/docs/scroll-padding
2457
+ */
2458
+ "scroll-pl": [{
2459
+ "scroll-pl": getSpacingWithArbitrary()
2460
+ }],
2461
+ /**
2462
+ * Scroll Snap Align
2463
+ * @see https://tailwindcss.com/docs/scroll-snap-align
2464
+ */
2465
+ "snap-align": [{
2466
+ snap: ["start", "end", "center", "align-none"]
2467
+ }],
2468
+ /**
2469
+ * Scroll Snap Stop
2470
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
2471
+ */
2472
+ "snap-stop": [{
2473
+ snap: ["normal", "always"]
2474
+ }],
2475
+ /**
2476
+ * Scroll Snap Type
2477
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2478
+ */
2479
+ "snap-type": [{
2480
+ snap: ["none", "x", "y", "both"]
2481
+ }],
2482
+ /**
2483
+ * Scroll Snap Type Strictness
2484
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2485
+ */
2486
+ "snap-strictness": [{
2487
+ snap: ["mandatory", "proximity"]
2488
+ }],
2489
+ /**
2490
+ * Touch Action
2491
+ * @see https://tailwindcss.com/docs/touch-action
2492
+ */
2493
+ touch: [{
2494
+ touch: ["auto", "none", "manipulation"]
2495
+ }],
2496
+ /**
2497
+ * Touch Action X
2498
+ * @see https://tailwindcss.com/docs/touch-action
2499
+ */
2500
+ "touch-x": [{
2501
+ "touch-pan": ["x", "left", "right"]
2502
+ }],
2503
+ /**
2504
+ * Touch Action Y
2505
+ * @see https://tailwindcss.com/docs/touch-action
2506
+ */
2507
+ "touch-y": [{
2508
+ "touch-pan": ["y", "up", "down"]
2509
+ }],
2510
+ /**
2511
+ * Touch Action Pinch Zoom
2512
+ * @see https://tailwindcss.com/docs/touch-action
2513
+ */
2514
+ "touch-pz": ["touch-pinch-zoom"],
2515
+ /**
2516
+ * User Select
2517
+ * @see https://tailwindcss.com/docs/user-select
2518
+ */
2519
+ select: [{
2520
+ select: ["none", "text", "all", "auto"]
2521
+ }],
2522
+ /**
2523
+ * Will Change
2524
+ * @see https://tailwindcss.com/docs/will-change
2525
+ */
2526
+ "will-change": [{
2527
+ "will-change": ["auto", "scroll", "contents", "transform", isArbitraryValue]
2528
+ }],
2529
+ // SVG
2530
+ /**
2531
+ * Fill
2532
+ * @see https://tailwindcss.com/docs/fill
2533
+ */
2534
+ fill: [{
2535
+ fill: [colors, "none"]
2536
+ }],
2537
+ /**
2538
+ * Stroke Width
2539
+ * @see https://tailwindcss.com/docs/stroke-width
2540
+ */
2541
+ "stroke-w": [{
2542
+ stroke: [isLength, isArbitraryLength, isArbitraryNumber]
2543
+ }],
2544
+ /**
2545
+ * Stroke
2546
+ * @see https://tailwindcss.com/docs/stroke
2547
+ */
2548
+ stroke: [{
2549
+ stroke: [colors, "none"]
2550
+ }],
2551
+ // Accessibility
2552
+ /**
2553
+ * Screen Readers
2554
+ * @see https://tailwindcss.com/docs/screen-readers
2555
+ */
2556
+ sr: ["sr-only", "not-sr-only"],
2557
+ /**
2558
+ * Forced Color Adjust
2559
+ * @see https://tailwindcss.com/docs/forced-color-adjust
2560
+ */
2561
+ "forced-color-adjust": [{
2562
+ "forced-color-adjust": ["auto", "none"]
2563
+ }]
2564
+ },
2565
+ conflictingClassGroups: {
2566
+ overflow: ["overflow-x", "overflow-y"],
2567
+ overscroll: ["overscroll-x", "overscroll-y"],
2568
+ inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
2569
+ "inset-x": ["right", "left"],
2570
+ "inset-y": ["top", "bottom"],
2571
+ flex: ["basis", "grow", "shrink"],
2572
+ gap: ["gap-x", "gap-y"],
2573
+ p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
2574
+ px: ["pr", "pl"],
2575
+ py: ["pt", "pb"],
2576
+ m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
2577
+ mx: ["mr", "ml"],
2578
+ my: ["mt", "mb"],
2579
+ size: ["w", "h"],
2580
+ "font-size": ["leading"],
2581
+ "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
2582
+ "fvn-ordinal": ["fvn-normal"],
2583
+ "fvn-slashed-zero": ["fvn-normal"],
2584
+ "fvn-figure": ["fvn-normal"],
2585
+ "fvn-spacing": ["fvn-normal"],
2586
+ "fvn-fraction": ["fvn-normal"],
2587
+ "line-clamp": ["display", "overflow"],
2588
+ rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
2589
+ "rounded-s": ["rounded-ss", "rounded-es"],
2590
+ "rounded-e": ["rounded-se", "rounded-ee"],
2591
+ "rounded-t": ["rounded-tl", "rounded-tr"],
2592
+ "rounded-r": ["rounded-tr", "rounded-br"],
2593
+ "rounded-b": ["rounded-br", "rounded-bl"],
2594
+ "rounded-l": ["rounded-tl", "rounded-bl"],
2595
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
2596
+ "border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
2597
+ "border-w-x": ["border-w-r", "border-w-l"],
2598
+ "border-w-y": ["border-w-t", "border-w-b"],
2599
+ "border-color": ["border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2600
+ "border-color-x": ["border-color-r", "border-color-l"],
2601
+ "border-color-y": ["border-color-t", "border-color-b"],
2602
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
2603
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
2604
+ "scroll-my": ["scroll-mt", "scroll-mb"],
2605
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
2606
+ "scroll-px": ["scroll-pr", "scroll-pl"],
2607
+ "scroll-py": ["scroll-pt", "scroll-pb"],
2608
+ touch: ["touch-x", "touch-y", "touch-pz"],
2609
+ "touch-x": ["touch"],
2610
+ "touch-y": ["touch"],
2611
+ "touch-pz": ["touch"]
2612
+ },
2613
+ conflictingClassGroupModifiers: {
2614
+ "font-size": ["leading"]
2615
+ }
2616
+ };
2617
+ };
2618
+ var twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
2619
+
2620
+ // src/libraries/react/lib/utils.ts
2621
+ function cn(...inputs) {
2622
+ return twMerge(clsx(inputs));
2623
+ }
2624
+
2625
+ // src/libraries/react/components/ui/dialog.tsx
2626
+ var import_jsx_runtime = require("react/jsx-runtime");
2627
+ function Dialog({
2628
+ ...props
2629
+ }) {
2630
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogPrimitive.Root, { "data-slot": "dialog", ...props });
2631
+ }
2632
+ function DialogTrigger({
2633
+ ...props
2634
+ }) {
2635
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogPrimitive.Trigger, { "data-slot": "dialog-trigger", ...props });
2636
+ }
2637
+ function DialogPortal({
2638
+ ...props
2639
+ }) {
2640
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogPrimitive.Portal, { "data-slot": "dialog-portal", ...props });
2641
+ }
2642
+ function DialogClose({
2643
+ ...props
2644
+ }) {
2645
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogPrimitive.Close, { "data-slot": "dialog-close", ...props });
2646
+ }
2647
+ function DialogOverlay({
2648
+ className,
2649
+ ...props
2650
+ }) {
2651
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2652
+ DialogPrimitive.Overlay,
2653
+ {
2654
+ "data-slot": "dialog-overlay",
2655
+ className: cn(
2656
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
2657
+ className
2658
+ ),
2659
+ ...props
2660
+ }
2661
+ );
2662
+ }
2663
+ function DialogContent({
2664
+ className,
2665
+ children,
2666
+ showCloseButton = true,
2667
+ ...props
2668
+ }) {
2669
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DialogPortal, { "data-slot": "dialog-portal", children: [
2670
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogOverlay, {}),
2671
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
2672
+ DialogPrimitive.Content,
2673
+ {
2674
+ "data-slot": "dialog-content",
2675
+ className: cn(
2676
+ "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
2677
+ className
2678
+ ),
2679
+ ...props,
2680
+ children: [
2681
+ children,
2682
+ showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
2683
+ DialogPrimitive.Close,
2684
+ {
2685
+ "data-slot": "dialog-close",
2686
+ className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
2687
+ children: [
2688
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(X, {}),
2689
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "sr-only", children: "Close" })
2690
+ ]
2691
+ }
2692
+ )
2693
+ ]
2694
+ }
2695
+ )
2696
+ ] });
2697
+ }
2698
+ function DialogHeader({ className, ...props }) {
2699
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2700
+ "div",
2701
+ {
2702
+ "data-slot": "dialog-header",
2703
+ className: cn("flex flex-col gap-2 text-center sm:text-left", className),
2704
+ ...props
2705
+ }
2706
+ );
2707
+ }
2708
+ function DialogFooter({ className, ...props }) {
2709
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2710
+ "div",
2711
+ {
2712
+ "data-slot": "dialog-footer",
2713
+ className: cn(
2714
+ "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
2715
+ className
2716
+ ),
2717
+ ...props
2718
+ }
2719
+ );
2720
+ }
2721
+ function DialogTitle({
2722
+ className,
2723
+ ...props
2724
+ }) {
2725
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2726
+ DialogPrimitive.Title,
2727
+ {
2728
+ "data-slot": "dialog-title",
2729
+ className: cn("text-lg leading-none font-semibold", className),
2730
+ ...props
2731
+ }
2732
+ );
2733
+ }
2734
+ function DialogDescription({
2735
+ className,
2736
+ ...props
2737
+ }) {
2738
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2739
+ DialogPrimitive.Description,
2740
+ {
2741
+ "data-slot": "dialog-description",
2742
+ className: cn("text-muted-foreground text-sm", className),
2743
+ ...props
2744
+ }
2745
+ );
2746
+ }
2747
+ // Annotate the CommonJS export names for ESM import in node:
2748
+ 0 && (module.exports = {
2749
+ Dialog,
2750
+ DialogClose,
2751
+ DialogContent,
2752
+ DialogDescription,
2753
+ DialogFooter,
2754
+ DialogHeader,
2755
+ DialogOverlay,
2756
+ DialogPortal,
2757
+ DialogTitle,
2758
+ DialogTrigger
2759
+ });
2760
+ /*! Bundled license information:
2761
+
2762
+ lucide-react/dist/esm/shared/src/utils.js:
2763
+ lucide-react/dist/esm/defaultAttributes.js:
2764
+ lucide-react/dist/esm/Icon.js:
2765
+ lucide-react/dist/esm/createLucideIcon.js:
2766
+ lucide-react/dist/esm/icons/x.js:
2767
+ lucide-react/dist/esm/lucide-react.js:
2768
+ (**
2769
+ * @license lucide-react v0.523.0 - ISC
2770
+ *
2771
+ * This source code is licensed under the ISC license.
2772
+ * See the LICENSE file in the root directory of this source tree.
2773
+ *)
2774
+ */