autumn-js 0.0.67 → 0.0.74

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