autumn-js 0.0.102 → 0.0.104

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