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