cortex-react-components 3.3.0 → 4.0.2

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