@synnaxlabs/pluto 0.13.0 → 0.14.0

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 (290) hide show
  1. package/dist/Center-8mBjm1cO.js +126 -0
  2. package/dist/{Center-gEKkAkdh.js.map → Center-8mBjm1cO.js.map} +1 -1
  3. package/dist/Center-ER_owvfX.cjs +2 -0
  4. package/dist/{Center-ZAcURh-3.cjs.map → Center-ER_owvfX.cjs.map} +1 -1
  5. package/dist/Header-9CR1VnwV.js +34 -0
  6. package/dist/{Header-7x6367IV.js.map → Header-9CR1VnwV.js.map} +1 -1
  7. package/dist/Header-PpcdP7hn.cjs +2 -0
  8. package/dist/{Header-5YX6FUn6.cjs.map → Header-PpcdP7hn.cjs.map} +1 -1
  9. package/dist/Item--h4UWJZo.js +80 -0
  10. package/dist/{Item-owLU4Xop.js.map → Item--h4UWJZo.js.map} +1 -1
  11. package/dist/Item-EBiM5yGJ.cjs +2 -0
  12. package/dist/{Item-HWzX7RK2.cjs.map → Item-EBiM5yGJ.cjs.map} +1 -1
  13. package/dist/Item-_og4CdwZ.cjs +2 -0
  14. package/dist/{Item-rkSKzZoh.cjs.map → Item-_og4CdwZ.cjs.map} +1 -1
  15. package/dist/Item-kbCoFEj2.js +137 -0
  16. package/dist/{Item-EDdYN2NK.js.map → Item-kbCoFEj2.js.map} +1 -1
  17. package/dist/Keyboard-IWRXgioJ.js +14 -0
  18. package/dist/{Keyboard-mE03PKwA.js.map → Keyboard-IWRXgioJ.js.map} +1 -1
  19. package/dist/Keyboard-bXNOi0bP.cjs +2 -0
  20. package/dist/{Keyboard-w372197S.cjs.map → Keyboard-bXNOi0bP.cjs.map} +1 -1
  21. package/dist/Link-16dbGK7G.cjs +2 -0
  22. package/dist/{Link-xlTZan29.cjs.map → Link-16dbGK7G.cjs.map} +1 -1
  23. package/dist/Link-fRQvqiYx.js +11 -0
  24. package/dist/{Link-laNlv47N.js.map → Link-fRQvqiYx.js.map} +1 -1
  25. package/dist/SelectLevel-DrdlLBOs.cjs +2 -0
  26. package/dist/{SelectLevel-bGb0dRXh.cjs.map → SelectLevel-DrdlLBOs.cjs.map} +1 -1
  27. package/dist/SelectLevel-Uod3Ez6y.js +121 -0
  28. package/dist/{SelectLevel-cewIWtOv.js.map → SelectLevel-Uod3Ez6y.js.map} +1 -1
  29. package/dist/Selector-8rTHUToj.cjs +2 -0
  30. package/dist/{Selector-hQLSIYum.cjs.map → Selector-8rTHUToj.cjs.map} +1 -1
  31. package/dist/Selector-R4SumEUV.js +233 -0
  32. package/dist/{Selector-R3lL41_i.js.map → Selector-R4SumEUV.js.map} +1 -1
  33. package/dist/Swatch--Prmb5q_.cjs +2 -0
  34. package/dist/Swatch--Prmb5q_.cjs.map +1 -0
  35. package/dist/Swatch-IH4OmVdd.js +82 -0
  36. package/dist/Swatch-IH4OmVdd.js.map +1 -0
  37. package/dist/TimeRangeChip-jI9Nn9z8.js +7384 -0
  38. package/dist/TimeRangeChip-jI9Nn9z8.js.map +1 -0
  39. package/dist/TimeRangeChip-jQH9NacG.cjs +50 -0
  40. package/dist/TimeRangeChip-jQH9NacG.cjs.map +1 -0
  41. package/dist/Toggle-HVxv8bv2.js +10648 -0
  42. package/dist/Toggle-HVxv8bv2.js.map +1 -0
  43. package/dist/Toggle-QnKinMl4.cjs +73 -0
  44. package/dist/Toggle-QnKinMl4.cjs.map +1 -0
  45. package/dist/Video-iiPAk_ej.cjs +2 -0
  46. package/dist/{Video-a7BUKvzF.cjs.map → Video-iiPAk_ej.cjs.map} +1 -1
  47. package/dist/Video-vyIORMaH.js +11 -0
  48. package/dist/{Video-Vpwp5ao1.js.map → Video-vyIORMaH.js.map} +1 -1
  49. package/dist/aether.cjs +1 -89
  50. package/dist/aether.cjs.map +1 -1
  51. package/dist/aether.js +76 -80
  52. package/dist/aether.js.map +1 -1
  53. package/dist/align.cjs +1 -9
  54. package/dist/align.cjs.map +1 -1
  55. package/dist/align.js +5 -5
  56. package/dist/button.cjs +1 -14
  57. package/dist/button.cjs.map +1 -1
  58. package/dist/button.js +9 -8
  59. package/dist/button.js.map +1 -1
  60. package/dist/color-9QRifwqk.js +9 -0
  61. package/dist/color-9QRifwqk.js.map +1 -0
  62. package/dist/color-gJTR__ef.cjs +2 -0
  63. package/dist/color-gJTR__ef.cjs.map +1 -0
  64. package/dist/color.cjs +2 -0
  65. package/dist/color.cjs.map +1 -0
  66. package/dist/color.js +16 -0
  67. package/dist/color.js.map +1 -0
  68. package/dist/component-LA8IXGSG.js +17961 -0
  69. package/dist/component-LA8IXGSG.js.map +1 -0
  70. package/dist/component-dgLAEMbt.cjs +23 -0
  71. package/dist/component-dgLAEMbt.cjs.map +1 -0
  72. package/dist/css-5RvvUhjr.js +6414 -0
  73. package/dist/{css-NTD4Xm8x.js.map → css-5RvvUhjr.js.map} +1 -1
  74. package/dist/css-s9KpanYu.cjs +8 -0
  75. package/dist/{css-V3VUT_Js.cjs.map → css-s9KpanYu.cjs.map} +1 -1
  76. package/dist/css.cjs +2 -0
  77. package/dist/css.cjs.map +1 -0
  78. package/dist/css.js +10 -0
  79. package/dist/css.js.map +1 -0
  80. package/dist/dimensions--C45ahLe.js +20 -0
  81. package/dist/{dimensions-guJ5PHmb.js.map → dimensions--C45ahLe.js.map} +1 -1
  82. package/dist/dimensions-HfZjDJQz.cjs +2 -0
  83. package/dist/{dimensions-Sej0Zly9.cjs.map → dimensions-HfZjDJQz.cjs.map} +1 -1
  84. package/dist/dropdown.cjs +1 -12
  85. package/dist/dropdown.cjs.map +1 -1
  86. package/dist/dropdown.js +7 -6
  87. package/dist/dropdown.js.map +1 -1
  88. package/dist/external--jsfNkbo.cjs +2 -0
  89. package/dist/external--jsfNkbo.cjs.map +1 -0
  90. package/dist/external-1DGLK9F2.js +17 -0
  91. package/dist/external-1DGLK9F2.js.map +1 -0
  92. package/dist/external-4h9H4Y_N.js +21 -0
  93. package/dist/external-4h9H4Y_N.js.map +1 -0
  94. package/dist/external-4uqucf0m.js +67 -0
  95. package/dist/{external-QuVTCnGl.js.map → external-4uqucf0m.js.map} +1 -1
  96. package/dist/external-A_eQgT5T.cjs +2 -0
  97. package/dist/external-A_eQgT5T.cjs.map +1 -0
  98. package/dist/external-FCO_hdNr.js +24 -0
  99. package/dist/external-FCO_hdNr.js.map +1 -0
  100. package/dist/external-HZ6f2KvU.cjs +2 -0
  101. package/dist/external-HZ6f2KvU.cjs.map +1 -0
  102. package/dist/external-LPdjowBG.cjs +2 -0
  103. package/dist/external-LPdjowBG.cjs.map +1 -0
  104. package/dist/external-O1b3FJKI.cjs +2 -0
  105. package/dist/external-O1b3FJKI.cjs.map +1 -0
  106. package/dist/external-RGdrJX7y.cjs +2 -0
  107. package/dist/{external-9Ncn2J9B.cjs.map → external-RGdrJX7y.cjs.map} +1 -1
  108. package/dist/external-WiHGqQPA.js +30 -0
  109. package/dist/external-WiHGqQPA.js.map +1 -0
  110. package/dist/external-eWu6hCLU.cjs +2 -0
  111. package/dist/external-eWu6hCLU.cjs.map +1 -0
  112. package/dist/external-kvAz85mu.js +18 -0
  113. package/dist/external-kvAz85mu.js.map +1 -0
  114. package/dist/external-mpVdVPF1.js +88 -0
  115. package/dist/external-mpVdVPF1.js.map +1 -0
  116. package/dist/external-nTDD8IMd.cjs +2 -0
  117. package/dist/external-nTDD8IMd.cjs.map +1 -0
  118. package/dist/external-phknItOL.js +15 -0
  119. package/dist/external-phknItOL.js.map +1 -0
  120. package/dist/external-rGcWjp84.cjs +2 -0
  121. package/dist/{external-zBiIxeDG.cjs.map → external-rGcWjp84.cjs.map} +1 -1
  122. package/dist/external-r_2-tYfC.js +88 -0
  123. package/dist/{external-up1sE3F6.js.map → external-r_2-tYfC.js.map} +1 -1
  124. package/dist/external-sHbzLUrP.js +17 -0
  125. package/dist/external-sHbzLUrP.js.map +1 -0
  126. package/dist/external-tZiYBM94.cjs +2 -0
  127. package/dist/external-tZiYBM94.cjs.map +1 -0
  128. package/dist/external-tnCo64yx.cjs +2 -0
  129. package/dist/external-tnCo64yx.cjs.map +1 -0
  130. package/dist/external-uR-7_68y.js +16 -0
  131. package/dist/external-uR-7_68y.js.map +1 -0
  132. package/dist/external-uSIsCKNG.js +15 -0
  133. package/dist/external-uSIsCKNG.js.map +1 -0
  134. package/dist/external-z6BLlxur.cjs +2 -0
  135. package/dist/external-z6BLlxur.cjs.map +1 -0
  136. package/dist/font-HpLrwPSD.js +16 -0
  137. package/dist/{font-t7KoGNFX.js.map → font-HpLrwPSD.js.map} +1 -1
  138. package/dist/font-yosRgv9n.cjs +2 -0
  139. package/dist/{font-wlgaMRYN.cjs.map → font-yosRgv9n.cjs.map} +1 -1
  140. package/dist/fontString-_dtZSiPk.cjs +2 -0
  141. package/dist/{fontString-i24UxKCQ.cjs.map → fontString-_dtZSiPk.cjs.map} +1 -1
  142. package/dist/fontString-lodjYTYz.js +12 -0
  143. package/dist/{fontString-RKvYIr5H.js.map → fontString-lodjYTYz.js.map} +1 -1
  144. package/dist/header.cjs +1 -14
  145. package/dist/header.cjs.map +1 -1
  146. package/dist/header.js +9 -8
  147. package/dist/header.js.map +1 -1
  148. package/dist/index.cjs +1 -1174
  149. package/dist/index.cjs.map +1 -1
  150. package/dist/index.js +737 -930
  151. package/dist/index.js.map +1 -1
  152. package/dist/input/Input.stories.d.ts +1 -0
  153. package/dist/input/TextArea.d.ts +20 -0
  154. package/dist/input/external.d.ts +1 -0
  155. package/dist/input/types.d.ts +4 -2
  156. package/dist/input.cjs +1 -14
  157. package/dist/input.cjs.map +1 -1
  158. package/dist/input.js +9 -8
  159. package/dist/input.js.map +1 -1
  160. package/dist/jsx-runtime-NmMXPjeo.js +632 -0
  161. package/dist/{jsx-runtime-rX5tAIG2.js.map → jsx-runtime-NmMXPjeo.js.map} +1 -1
  162. package/dist/jsx-runtime-evvPGacs.cjs +28 -0
  163. package/dist/{jsx-runtime-N1ikfypN.cjs.map → jsx-runtime-evvPGacs.cjs.map} +1 -1
  164. package/dist/list.cjs +1 -26
  165. package/dist/list.cjs.map +1 -1
  166. package/dist/list.js +21 -19
  167. package/dist/list.js.map +1 -1
  168. package/dist/menu.cjs +1 -15
  169. package/dist/menu.cjs.map +1 -1
  170. package/dist/menu.js +10 -9
  171. package/dist/menu.js.map +1 -1
  172. package/dist/style.css +1 -3119
  173. package/dist/table-MJysJcCC.js +10312 -0
  174. package/dist/table-MJysJcCC.js.map +1 -0
  175. package/dist/table-NIrLpFOm.cjs +69 -0
  176. package/dist/table-NIrLpFOm.cjs.map +1 -0
  177. package/dist/tabs.cjs +1 -14
  178. package/dist/tabs.cjs.map +1 -1
  179. package/dist/tabs.js +9 -8
  180. package/dist/tabs.js.map +1 -1
  181. package/dist/text.cjs +1 -16
  182. package/dist/text.cjs.map +1 -1
  183. package/dist/text.js +11 -10
  184. package/dist/text.js.map +1 -1
  185. package/dist/theming.cjs +1 -15
  186. package/dist/theming.cjs.map +1 -1
  187. package/dist/theming.js +10 -9
  188. package/dist/theming.js.map +1 -1
  189. package/dist/tree.cjs +1 -25
  190. package/dist/tree.cjs.map +1 -1
  191. package/dist/tree.js +20 -18
  192. package/dist/tree.js.map +1 -1
  193. package/dist/triggers.cjs +1 -15
  194. package/dist/triggers.cjs.map +1 -1
  195. package/dist/triggers.js +10 -9
  196. package/dist/triggers.js.map +1 -1
  197. package/dist/useDrag-4o21IpGy.js +36 -0
  198. package/dist/{useDrag-rQt5hv4R.js.map → useDrag-4o21IpGy.js.map} +1 -1
  199. package/dist/useDrag-l_moa7e3.cjs +2 -0
  200. package/dist/{useDrag-KRQ7DTg1.cjs.map → useDrag-l_moa7e3.cjs.map} +1 -1
  201. package/dist/video.cjs +1 -9
  202. package/dist/video.cjs.map +1 -1
  203. package/dist/video.js +3 -3
  204. package/package.json +15 -5
  205. package/dist/Center-ZAcURh-3.cjs +0 -148
  206. package/dist/Center-gEKkAkdh.js +0 -149
  207. package/dist/Header-5YX6FUn6.cjs +0 -35
  208. package/dist/Header-7x6367IV.js +0 -36
  209. package/dist/Item-EDdYN2NK.js +0 -171
  210. package/dist/Item-HWzX7RK2.cjs +0 -170
  211. package/dist/Item-owLU4Xop.js +0 -97
  212. package/dist/Item-rkSKzZoh.cjs +0 -96
  213. package/dist/Keyboard-mE03PKwA.js +0 -14
  214. package/dist/Keyboard-w372197S.cjs +0 -13
  215. package/dist/Link-laNlv47N.js +0 -13
  216. package/dist/Link-xlTZan29.cjs +0 -12
  217. package/dist/SelectLevel-bGb0dRXh.cjs +0 -152
  218. package/dist/SelectLevel-cewIWtOv.js +0 -153
  219. package/dist/Selector-R3lL41_i.js +0 -267
  220. package/dist/Selector-hQLSIYum.cjs +0 -266
  221. package/dist/TimeRangeChip-XXXLMCrf.cjs +0 -9316
  222. package/dist/TimeRangeChip-XXXLMCrf.cjs.map +0 -1
  223. package/dist/TimeRangeChip-eDCX5pUC.js +0 -9301
  224. package/dist/TimeRangeChip-eDCX5pUC.js.map +0 -1
  225. package/dist/Toggle-eOKYw1OT.cjs +0 -13664
  226. package/dist/Toggle-eOKYw1OT.cjs.map +0 -1
  227. package/dist/Toggle-kLunfJtR.js +0 -13665
  228. package/dist/Toggle-kLunfJtR.js.map +0 -1
  229. package/dist/Video-Vpwp5ao1.js +0 -12
  230. package/dist/Video-a7BUKvzF.cjs +0 -11
  231. package/dist/component-joFaJiQW.cjs +0 -24719
  232. package/dist/component-joFaJiQW.cjs.map +0 -1
  233. package/dist/component-k78Jq9I7.js +0 -24720
  234. package/dist/component-k78Jq9I7.js.map +0 -1
  235. package/dist/css-NTD4Xm8x.js +0 -9206
  236. package/dist/css-V3VUT_Js.cjs +0 -9204
  237. package/dist/dimensions-Sej0Zly9.cjs +0 -26
  238. package/dist/dimensions-guJ5PHmb.js +0 -27
  239. package/dist/external-2Aicsb3l.js +0 -88
  240. package/dist/external-2Aicsb3l.js.map +0 -1
  241. package/dist/external-9Ncn2J9B.cjs +0 -93
  242. package/dist/external-9RCzxzgZ.js +0 -30
  243. package/dist/external-9RCzxzgZ.js.map +0 -1
  244. package/dist/external-9pS8-DvV.js +0 -15
  245. package/dist/external-9pS8-DvV.js.map +0 -1
  246. package/dist/external-KxlyA74C.js +0 -20
  247. package/dist/external-KxlyA74C.js.map +0 -1
  248. package/dist/external-OSLzuRs1.cjs +0 -14
  249. package/dist/external-OSLzuRs1.cjs.map +0 -1
  250. package/dist/external-PS3nzqUn.cjs +0 -23
  251. package/dist/external-PS3nzqUn.cjs.map +0 -1
  252. package/dist/external-QRmqSjV0.js +0 -18
  253. package/dist/external-QRmqSjV0.js.map +0 -1
  254. package/dist/external-QuVTCnGl.js +0 -71
  255. package/dist/external-U5HRPaDI.cjs +0 -17
  256. package/dist/external-U5HRPaDI.cjs.map +0 -1
  257. package/dist/external-_CtRDtih.js +0 -17
  258. package/dist/external-_CtRDtih.js.map +0 -1
  259. package/dist/external-eQU48hM4.cjs +0 -87
  260. package/dist/external-eQU48hM4.cjs.map +0 -1
  261. package/dist/external-kbDFnfuk.js +0 -24
  262. package/dist/external-kbDFnfuk.js.map +0 -1
  263. package/dist/external-oX1JmOFf.js +0 -17
  264. package/dist/external-oX1JmOFf.js.map +0 -1
  265. package/dist/external-oZe6tF4A.cjs +0 -14
  266. package/dist/external-oZe6tF4A.cjs.map +0 -1
  267. package/dist/external-tVcmKSsT.cjs +0 -19
  268. package/dist/external-tVcmKSsT.cjs.map +0 -1
  269. package/dist/external-up1sE3F6.js +0 -94
  270. package/dist/external-uvx0b-Jw.cjs +0 -16
  271. package/dist/external-uvx0b-Jw.cjs.map +0 -1
  272. package/dist/external-vXBQOmKv.js +0 -15
  273. package/dist/external-vXBQOmKv.js.map +0 -1
  274. package/dist/external-yiqRIIvW.cjs +0 -16
  275. package/dist/external-yiqRIIvW.cjs.map +0 -1
  276. package/dist/external-zBiIxeDG.cjs +0 -70
  277. package/dist/external-zw9fckWT.cjs +0 -29
  278. package/dist/external-zw9fckWT.cjs.map +0 -1
  279. package/dist/font-t7KoGNFX.js +0 -17
  280. package/dist/font-wlgaMRYN.cjs +0 -16
  281. package/dist/fontString-RKvYIr5H.js +0 -13
  282. package/dist/fontString-i24UxKCQ.cjs +0 -12
  283. package/dist/jsx-runtime-N1ikfypN.cjs +0 -931
  284. package/dist/jsx-runtime-rX5tAIG2.js +0 -932
  285. package/dist/table-8MFXzE4C.js +0 -13664
  286. package/dist/table-8MFXzE4C.js.map +0 -1
  287. package/dist/table-VNkSG_Cj.cjs +0 -13661
  288. package/dist/table-VNkSG_Cj.cjs.map +0 -1
  289. package/dist/useDrag-KRQ7DTg1.cjs +0 -48
  290. package/dist/useDrag-rQt5hv4R.js +0 -49
@@ -1 +1 @@
1
- {"version":3,"file":"external-zBiIxeDG.cjs","sources":["../src/triggers/Status.tsx","../src/triggers/Text.tsx"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type ReactElement, useEffect, useState } from \"react\";\n\nimport { Status as CoreStatus } from \"@/status\";\nimport { useContext } from \"@/triggers/Provider\";\nimport { type Trigger } from \"@/triggers/triggers\";\n\nexport interface StatusProps extends CoreStatus.TextProps {}\n\nexport const Status = (props: StatusProps): ReactElement => {\n const { listen } = useContext();\n const [trigger, setTrigger] = useState<Trigger>([]);\n\n useEffect(\n () => listen(({ next: [trigger] }) => setTrigger(trigger ?? [])),\n [listen, setTrigger],\n );\n\n return (\n <CoreStatus.Text hideIcon {...props}>\n {trigger.join(\" \")}\n </CoreStatus.Text>\n );\n};\n","// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type ReactElement } from \"react\";\n\nimport { Icon } from \"@synnaxlabs/media\";\n\nimport { Align } from \"@/align\";\nimport { Text as Core } from \"@/text\";\nimport { type Key, type Trigger } from \"@/triggers/triggers\";\n\nexport type TextProps<L extends Core.Level> = Core.KeyboardProps<L> & {\n trigger: Trigger;\n};\n\nexport const Text = <L extends Core.Level>({\n className,\n style,\n trigger,\n ...props\n}: TextProps<L>): ReactElement => {\n const CUSTOM_TEXT: Partial<Record<Key, ReactElement | string>> = {\n Control: <Core.Symbols.Meta />,\n Alt: <Core.Symbols.Alt />,\n Shift: <Icon.Keyboard.Shift />,\n MouseLeft: \"Left Click\",\n MouseRight: \"Right Click\",\n MouseMiddle: \"Middle Click\",\n };\n return (\n <Align.Space className={className} style={style} direction=\"x\">\n {trigger.map((t) => (\n // @ts-expect-error\n <Core.Keyboard<L> key={t} {...props}>\n {CUSTOM_TEXT[t] ?? t}\n </Core.Keyboard>\n ))}\n </Align.Space>\n );\n};\n"],"names":["useContext","useState","useEffect","trigger","jsx","CoreStatus.Text","Core.Symbols","Icon","Align.Space","Core.Keyboard"],"mappings":";;;;;;;;;AAiBa,MAAA,SAAS,CAAC,UAAqC;AACpD,QAAA,EAAE,WAAWA,OAAAA;AACnB,QAAM,CAAC,SAAS,UAAU,IAAIC,MAAA,SAAkB,CAAE,CAAA;AAElDC,QAAA;AAAA,IACE,MAAM,OAAO,CAAC,EAAE,MAAM,CAACC,QAAO,EAAA,MAAQ,WAAWA,YAAW,CAAA,CAAE,CAAC;AAAA,IAC/D,CAAC,QAAQ,UAAU;AAAA,EAAA;AAInB,SAAAC,iDAACC,OAAAA,QAAA,EAAgB,UAAQ,MAAE,GAAG,OAC3B,UAAA,QAAQ,KAAK,GAAG,EACnB,CAAA;AAEJ;ACVO,MAAM,OAAO,CAAuB;AAAA,EACzC;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAkC;AAChC,QAAM,cAA2D;AAAA,IAC/D,SAASD,2BAAA,kBAAA,IAACE,eAAa,MAAb,CAAA,CAAkB;AAAA,IAC5B,KAAKF,2BAAA,kBAAA,IAACE,eAAa,KAAb,CAAA,CAAiB;AAAA,IACvB,OAAOF,2BAAAA,kBAAAA,IAACG,OAAAA,OAAK,SAAS,OAAd,CAAA,CAAoB;AAAA,IAC5B,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,aAAa;AAAA,EAAA;AAGb,SAAAH,iDAACI,OAAAA,OAAA,EAAY,WAAsB,OAAc,WAAU,KACxD,UAAQ,QAAA,IAAI,CAAC;AAAA;AAAA,IAEZJ,iDAACK,SAAAA,UAAA,EAA0B,GAAG,OAC3B,UAAY,YAAA,CAAC,KAAK,EAAA,GADE,CAEvB;AAAA,GACD,EACH,CAAA;AAEJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"external-rGcWjp84.cjs","sources":["../src/triggers/Status.tsx","../src/triggers/Text.tsx"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type ReactElement, useEffect, useState } from \"react\";\n\nimport { Status as CoreStatus } from \"@/status\";\nimport { useContext } from \"@/triggers/Provider\";\nimport { type Trigger } from \"@/triggers/triggers\";\n\nexport interface StatusProps extends CoreStatus.TextProps {}\n\nexport const Status = (props: StatusProps): ReactElement => {\n const { listen } = useContext();\n const [trigger, setTrigger] = useState<Trigger>([]);\n\n useEffect(\n () => listen(({ next: [trigger] }) => setTrigger(trigger ?? [])),\n [listen, setTrigger],\n );\n\n return (\n <CoreStatus.Text hideIcon {...props}>\n {trigger.join(\" \")}\n </CoreStatus.Text>\n );\n};\n","// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type ReactElement } from \"react\";\n\nimport { Icon } from \"@synnaxlabs/media\";\n\nimport { Align } from \"@/align\";\nimport { Text as Core } from \"@/text\";\nimport { type Key, type Trigger } from \"@/triggers/triggers\";\n\nexport type TextProps<L extends Core.Level> = Core.KeyboardProps<L> & {\n trigger: Trigger;\n};\n\nexport const Text = <L extends Core.Level>({\n className,\n style,\n trigger,\n ...props\n}: TextProps<L>): ReactElement => {\n const CUSTOM_TEXT: Partial<Record<Key, ReactElement | string>> = {\n Control: <Core.Symbols.Meta />,\n Alt: <Core.Symbols.Alt />,\n Shift: <Icon.Keyboard.Shift />,\n MouseLeft: \"Left Click\",\n MouseRight: \"Right Click\",\n MouseMiddle: \"Middle Click\",\n };\n return (\n <Align.Space className={className} style={style} direction=\"x\">\n {trigger.map((t) => (\n // @ts-expect-error\n <Core.Keyboard<L> key={t} {...props}>\n {CUSTOM_TEXT[t] ?? t}\n </Core.Keyboard>\n ))}\n </Align.Space>\n );\n};\n"],"names":["Status","props","listen","useContext","trigger","setTrigger","useState","useEffect","jsx","CoreStatus.Text","Text","className","style","CUSTOM_TEXT","Core.Symbols","Icon","Align.Space","t","Core.Keyboard"],"mappings":"2SAiBaA,EAAUC,GAAqC,CACpD,KAAA,CAAE,OAAAC,GAAWC,EAAAA,eACb,CAACC,EAASC,CAAU,EAAIC,EAAA,SAAkB,CAAE,CAAA,EAElDC,OAAAA,EAAA,UACE,IAAML,EAAO,CAAC,CAAE,KAAM,CAACE,CAAO,CAAA,IAAQC,EAAWD,GAAW,CAAA,CAAE,CAAC,EAC/D,CAACF,EAAQG,CAAU,CAAA,EAInBG,wBAACC,EAAAA,OAAA,CAAgB,SAAQ,GAAE,GAAGR,EAC3B,SAAAG,EAAQ,KAAK,GAAG,CACnB,CAAA,CAEJ,ECVaM,EAAO,CAAuB,CACzC,UAAAC,EACA,MAAAC,EACA,QAAAR,EACA,GAAGH,CACL,IAAkC,CAChC,MAAMY,EAA2D,CAC/D,QAASL,EAAA,kBAAA,IAACM,UAAa,KAAb,CAAA,CAAkB,EAC5B,IAAKN,EAAA,kBAAA,IAACM,UAAa,IAAb,CAAA,CAAiB,EACvB,MAAON,EAAAA,kBAAAA,IAACO,EAAAA,GAAK,SAAS,MAAd,CAAA,CAAoB,EAC5B,UAAW,aACX,WAAY,cACZ,YAAa,cAAA,EAGb,OAAAP,wBAACQ,EAAAA,MAAA,CAAY,UAAAL,EAAsB,MAAAC,EAAc,UAAU,IACxD,SAAQR,EAAA,IAAKa,GAEZT,wBAACU,EAAAA,SAAA,CAA0B,GAAGjB,EAC3B,SAAYY,EAAAI,CAAC,GAAKA,CAAA,EADEA,CAEvB,CACD,CACH,CAAA,CAEJ"}
@@ -0,0 +1,88 @@
1
+ import { j as a } from "./jsx-runtime-NmMXPjeo.js";
2
+ import { isValidElement as p, Fragment as u } from "react";
3
+ import { C as n, g as x } from "./css-5RvvUhjr.js";
4
+ import { S as v } from "./Center-8mBjm1cO.js";
5
+ import { I as f, a8 as j, B, W as S } from "./Toggle-HVxv8bv2.js";
6
+ import { u as l, H as g } from "./Header-9CR1VnwV.js";
7
+ import { c as d } from "./component-LA8IXGSG.js";
8
+ const h = ({ children: o = [] }) => {
9
+ const { level: s, divided: e } = l();
10
+ return /* @__PURE__ */ a.jsx(
11
+ v,
12
+ {
13
+ direction: "x",
14
+ size: "small",
15
+ align: "center",
16
+ className: n.BE("header", "actions"),
17
+ children: x(o).map((r, t) => /* @__PURE__ */ a.jsx(C, { index: t, level: s, divided: e, children: r }, t))
18
+ }
19
+ );
20
+ }, C = ({ index: o, level: s, children: e, divided: r }) => {
21
+ let t = e;
22
+ if (!p(e)) {
23
+ const i = e;
24
+ t = /* @__PURE__ */ a.jsx(
25
+ f,
26
+ {
27
+ onClick: (c) => {
28
+ var m;
29
+ c.stopPropagation(), c.preventDefault(), (m = i.onClick) == null || m.call(i, c);
30
+ },
31
+ size: d[s],
32
+ ...i
33
+ },
34
+ o
35
+ );
36
+ }
37
+ return /* @__PURE__ */ a.jsxs(u, { children: [
38
+ r && /* @__PURE__ */ a.jsx(j, {}),
39
+ t
40
+ ] }, o);
41
+ }, z = ({
42
+ children: o = "",
43
+ className: s,
44
+ onClick: e,
45
+ ...r
46
+ }) => {
47
+ const { level: t } = l();
48
+ return /* @__PURE__ */ a.jsx(
49
+ B,
50
+ {
51
+ variant: "text",
52
+ size: d[t],
53
+ onClick: e,
54
+ className: n(n.B("header-button-title"), s),
55
+ sharp: !0,
56
+ ...r,
57
+ children: o
58
+ }
59
+ );
60
+ }, b = ({
61
+ className: o,
62
+ level: s,
63
+ ...e
64
+ }) => {
65
+ const { level: r, divided: t } = l();
66
+ return /* @__PURE__ */ a.jsx(
67
+ S,
68
+ {
69
+ className: n(n.BE("header", "text"), o),
70
+ level: s ?? r,
71
+ divided: t,
72
+ ...e
73
+ }
74
+ );
75
+ }, k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
76
+ __proto__: null,
77
+ Actions: h,
78
+ ButtonTitle: z,
79
+ Header: g,
80
+ Title: b,
81
+ useContext: l
82
+ }, Symbol.toStringTag, { value: "Module" }));
83
+ export {
84
+ h as A,
85
+ z as B,
86
+ k as e
87
+ };
88
+ //# sourceMappingURL=external-r_2-tYfC.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"external-up1sE3F6.js","sources":["../src/header/Actions.tsx","../src/header/ButtonTitle.tsx","../src/header/Title.tsx"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { Fragment, isValidElement, type ReactElement } from \"react\";\n\nimport { toArray } from \"@synnaxlabs/x\";\n\nimport { Align } from \"@/align\";\nimport { Button } from \"@/button\";\nimport { CSS } from \"@/css\";\nimport { Divider } from \"@/divider\";\nimport { useContext } from \"@/header/Header\";\nimport { Text } from \"@/text\";\n\nexport type ActionSpec = Button.IconProps | ReactElement;\n\nexport interface ActionsProps {\n children?: ActionSpec | ActionSpec[];\n}\n\n/**\n * Custom actions to render on the right side of the header.\n *\n * @param children - The actions to render. If the action is of type\n * {@link ButtonIconProps}, a correectly sized {@link ButtonIconOnly} is rendered\n * using the given props. If the action is a JSX element, it is renderered directly.\n * It's a good idea to prefer the latter in almost all cases for simplicity.\n */\nexport const Actions = ({ children = [] }: ActionsProps): ReactElement => {\n const { level, divided } = useContext();\n return (\n <Align.Space\n direction=\"x\"\n size=\"small\"\n align=\"center\"\n className={CSS.BE(\"header\", \"actions\")}\n >\n {toArray(children).map((action, i) => (\n <Action key={i} index={i} level={level} divided={divided}>\n {action}\n </Action>\n ))}\n </Align.Space>\n );\n};\n\ninterface ActionProps {\n index: number;\n level: Text.Level;\n children: ReactElement | Button.IconProps;\n divided: boolean;\n}\n\nconst Action = ({ index, level, children, divided }: ActionProps): ReactElement => {\n let content: ReactElement = children as ReactElement;\n if (!isValidElement(children)) {\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion\n const props = children as Button.IconProps;\n content = (\n <Button.Icon\n onClick={(e) => {\n e.stopPropagation();\n e.preventDefault();\n props.onClick?.(e);\n }}\n key={index}\n size={Text.LevelComponentSizes[level]}\n {...props}\n />\n );\n }\n return (\n <Fragment key={index}>\n {divided && <Divider.Divider />}\n {content}\n </Fragment>\n );\n};\n","// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type ReactElement } from \"react\";\n\nimport { Button } from \"@/button\";\nimport { CSS } from \"@/css\";\nimport { useContext } from \"@/header/Header\";\nimport { Text } from \"@/text\";\n\nexport interface ButtonTitleProps\n extends Omit<Button.ButtonProps, \"variant\" | \"size\"> {}\n\n/**\n * Header.Title.Use renders a clickable header title.\n *\n * @param props - The comonent props. The props for this component are identical\n * to {@link Button}, except the variant is always 'outlined' and that the component size\n * is automatically inferred from the 'level' prop passsed to the parent {@link Header}\n * component.\n */\nexport const ButtonTitle = ({\n children = \"\",\n className,\n onClick,\n ...props\n}: ButtonTitleProps): ReactElement => {\n const { level } = useContext();\n return (\n <Button.Button\n variant=\"text\"\n size={Text.LevelComponentSizes[level]}\n onClick={onClick}\n className={CSS(CSS.B(\"header-button-title\"), className)}\n sharp\n {...props}\n >\n {children}\n </Button.Button>\n );\n};\n","// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type ReactElement } from \"react\";\n\nimport { type Optional } from \"@synnaxlabs/x\";\n\nimport { CSS } from \"@/css\";\nimport { useContext } from \"@/header/Header\";\nimport { Text } from \"@/text\";\n\nexport interface TitleProps\n extends Optional<Omit<Text.WithIconProps, \"divided\">, \"level\"> {}\n\n/**\n * Renders the title for the header component.\n *\n * @param props - The component props. The props for this component are identical\n * to the {@link Typography.TextWithIcon} component, except that the 'level', and\n * 'divider' props are inherited from the parent {@link Header} component.\n */\nexport const Title = ({\n className,\n level: propsLevel,\n ...props\n}: TitleProps): ReactElement => {\n const { level, divided } = useContext();\n return (\n <Text.WithIcon\n className={CSS(CSS.BE(\"header\", \"text\"), className)}\n level={propsLevel ?? level}\n divided={divided}\n {...props}\n />\n );\n};\n"],"names":["jsx","Align.Space","Button.Icon","Text.LevelComponentSizes","Divider.Divider","Button.Button","Text.WithIcon"],"mappings":";;;;;;;AAkCO,MAAM,UAAU,CAAC,EAAE,WAAW,CAAA,QAAqC;AACxE,QAAM,EAAE,OAAO,QAAQ,IAAI,WAAW;AAEpC,SAAAA,kCAAA;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,WAAU;AAAA,MACV,MAAK;AAAA,MACL,OAAM;AAAA,MACN,WAAW,IAAI,GAAG,UAAU,SAAS;AAAA,MAEpC,UAAQ,QAAA,QAAQ,EAAE,IAAI,CAAC,QAAQ,MAC7BD,sCAAA,QAAA,EAAe,OAAO,GAAG,OAAc,SACrC,UAAA,OAAA,GADU,CAEb,CACD;AAAA,IAAA;AAAA,EAAA;AAGP;AASA,MAAM,SAAS,CAAC,EAAE,OAAO,OAAO,UAAU,cAAyC;AACjF,MAAI,UAAwB;AACxB,MAAA,CAAC,eAAe,QAAQ,GAAG;AAE7B,UAAM,QAAQ;AAEZ,cAAAA,kCAAA;AAAA,MAACE;AAAAA,MAAA;AAAA,QACC,SAAS,CAAC,MAAM;;AACd,YAAE,gBAAgB;AAClB,YAAE,eAAe;AACjB,sBAAM,YAAN,+BAAgB;AAAA,QAClB;AAAA,QAEA,MAAMC,oBAAyB,KAAK;AAAA,QACnC,GAAG;AAAA,MAAA;AAAA,MAFC;AAAA,IAAA;AAAA,EAKX;AACA,gDACG,UACE,EAAA,UAAA;AAAA,IAAW,WAAAH,kCAAAA,IAACI,SAAA,EAAgB;AAAA,IAC5B;AAAA,EAAA,EAAA,GAFY,KAGf;AAEJ;ACxDO,MAAM,cAAc,CAAC;AAAA,EAC1B,WAAW;AAAA,EACX;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAsC;AAC9B,QAAA,EAAE,UAAU;AAEhB,SAAAJ,kCAAA;AAAA,IAACK;AAAAA,IAAA;AAAA,MACC,SAAQ;AAAA,MACR,MAAMF,oBAAyB,KAAK;AAAA,MACpC;AAAA,MACA,WAAW,IAAI,IAAI,EAAE,qBAAqB,GAAG,SAAS;AAAA,MACtD,OAAK;AAAA,MACJ,GAAG;AAAA,MAEH;AAAA,IAAA;AAAA,EAAA;AAGP;ACnBO,MAAM,QAAQ,CAAC;AAAA,EACpB;AAAA,EACA,OAAO;AAAA,EACP,GAAG;AACL,MAAgC;AAC9B,QAAM,EAAE,OAAO,QAAQ,IAAI,WAAW;AAEpC,SAAAH,kCAAA;AAAA,IAACM;AAAAA,IAAA;AAAA,MACC,WAAW,IAAI,IAAI,GAAG,UAAU,MAAM,GAAG,SAAS;AAAA,MAClD,OAAO,cAAc;AAAA,MACrB;AAAA,MACC,GAAG;AAAA,IAAA;AAAA,EAAA;AAGV;;;;;;;;;"}
1
+ {"version":3,"file":"external-r_2-tYfC.js","sources":["../src/header/Actions.tsx","../src/header/ButtonTitle.tsx","../src/header/Title.tsx"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { Fragment, isValidElement, type ReactElement } from \"react\";\n\nimport { toArray } from \"@synnaxlabs/x\";\n\nimport { Align } from \"@/align\";\nimport { Button } from \"@/button\";\nimport { CSS } from \"@/css\";\nimport { Divider } from \"@/divider\";\nimport { useContext } from \"@/header/Header\";\nimport { Text } from \"@/text\";\n\nexport type ActionSpec = Button.IconProps | ReactElement;\n\nexport interface ActionsProps {\n children?: ActionSpec | ActionSpec[];\n}\n\n/**\n * Custom actions to render on the right side of the header.\n *\n * @param children - The actions to render. If the action is of type\n * {@link ButtonIconProps}, a correectly sized {@link ButtonIconOnly} is rendered\n * using the given props. If the action is a JSX element, it is renderered directly.\n * It's a good idea to prefer the latter in almost all cases for simplicity.\n */\nexport const Actions = ({ children = [] }: ActionsProps): ReactElement => {\n const { level, divided } = useContext();\n return (\n <Align.Space\n direction=\"x\"\n size=\"small\"\n align=\"center\"\n className={CSS.BE(\"header\", \"actions\")}\n >\n {toArray(children).map((action, i) => (\n <Action key={i} index={i} level={level} divided={divided}>\n {action}\n </Action>\n ))}\n </Align.Space>\n );\n};\n\ninterface ActionProps {\n index: number;\n level: Text.Level;\n children: ReactElement | Button.IconProps;\n divided: boolean;\n}\n\nconst Action = ({ index, level, children, divided }: ActionProps): ReactElement => {\n let content: ReactElement = children as ReactElement;\n if (!isValidElement(children)) {\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion\n const props = children as Button.IconProps;\n content = (\n <Button.Icon\n onClick={(e) => {\n e.stopPropagation();\n e.preventDefault();\n props.onClick?.(e);\n }}\n key={index}\n size={Text.LevelComponentSizes[level]}\n {...props}\n />\n );\n }\n return (\n <Fragment key={index}>\n {divided && <Divider.Divider />}\n {content}\n </Fragment>\n );\n};\n","// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type ReactElement } from \"react\";\n\nimport { Button } from \"@/button\";\nimport { CSS } from \"@/css\";\nimport { useContext } from \"@/header/Header\";\nimport { Text } from \"@/text\";\n\nexport interface ButtonTitleProps\n extends Omit<Button.ButtonProps, \"variant\" | \"size\"> {}\n\n/**\n * Header.Title.Use renders a clickable header title.\n *\n * @param props - The comonent props. The props for this component are identical\n * to {@link Button}, except the variant is always 'outlined' and that the component size\n * is automatically inferred from the 'level' prop passsed to the parent {@link Header}\n * component.\n */\nexport const ButtonTitle = ({\n children = \"\",\n className,\n onClick,\n ...props\n}: ButtonTitleProps): ReactElement => {\n const { level } = useContext();\n return (\n <Button.Button\n variant=\"text\"\n size={Text.LevelComponentSizes[level]}\n onClick={onClick}\n className={CSS(CSS.B(\"header-button-title\"), className)}\n sharp\n {...props}\n >\n {children}\n </Button.Button>\n );\n};\n","// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type ReactElement } from \"react\";\n\nimport { type Optional } from \"@synnaxlabs/x\";\n\nimport { CSS } from \"@/css\";\nimport { useContext } from \"@/header/Header\";\nimport { Text } from \"@/text\";\n\nexport interface TitleProps\n extends Optional<Omit<Text.WithIconProps, \"divided\">, \"level\"> {}\n\n/**\n * Renders the title for the header component.\n *\n * @param props - The component props. The props for this component are identical\n * to the {@link Typography.TextWithIcon} component, except that the 'level', and\n * 'divider' props are inherited from the parent {@link Header} component.\n */\nexport const Title = ({\n className,\n level: propsLevel,\n ...props\n}: TitleProps): ReactElement => {\n const { level, divided } = useContext();\n return (\n <Text.WithIcon\n className={CSS(CSS.BE(\"header\", \"text\"), className)}\n level={propsLevel ?? level}\n divided={divided}\n {...props}\n />\n );\n};\n"],"names":["Actions","children","level","divided","useContext","jsx","Align.Space","CSS","toArray","action","i","Action","index","content","isValidElement","props","Button.Icon","e","_a","Text.LevelComponentSizes","Fragment","Divider.Divider","ButtonTitle","className","onClick","Button.Button","Title","propsLevel","Text.WithIcon"],"mappings":";;;;;;;AAkCO,MAAMA,IAAU,CAAC,EAAE,UAAAC,IAAW,CAAA,QAAqC;AACxE,QAAM,EAAE,OAAAC,GAAO,SAAAC,EAAQ,IAAIC,EAAW;AAEpC,SAAAC,gBAAAA,EAAA;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,WAAU;AAAA,MACV,MAAK;AAAA,MACL,OAAM;AAAA,MACN,WAAWC,EAAI,GAAG,UAAU,SAAS;AAAA,MAEpC,UAAQC,EAAAP,CAAQ,EAAE,IAAI,CAACQ,GAAQC,MAC7BL,gBAAAA,MAAAM,GAAA,EAAe,OAAOD,GAAG,OAAAR,GAAc,SAAAC,GACrC,UAAAM,EAAA,GADUC,CAEb,CACD;AAAA,IAAA;AAAA,EAAA;AAGP,GASMC,IAAS,CAAC,EAAE,OAAAC,GAAO,OAAAV,GAAO,UAAAD,GAAU,SAAAE,QAAyC;AACjF,MAAIU,IAAwBZ;AACxB,MAAA,CAACa,EAAeb,CAAQ,GAAG;AAE7B,UAAMc,IAAQd;AAEZ,IAAAY,IAAAR,gBAAAA,EAAA;AAAA,MAACW;AAAAA,MAAA;AAAA,QACC,SAAS,CAACC,MAAM;;AACd,UAAAA,EAAE,gBAAgB,GAClBA,EAAE,eAAe,IACjBC,IAAAH,EAAM,YAAN,QAAAG,EAAA,KAAAH,GAAgBE;AAAA,QAClB;AAAA,QAEA,MAAME,EAAyBjB,CAAK;AAAA,QACnC,GAAGa;AAAA,MAAA;AAAA,MAFCH;AAAA,IAAA;AAAA,EAKX;AACA,gCACGQ,GACE,EAAA,UAAA;AAAA,IAAWjB,KAAAE,gBAAAA,EAAAA,IAACgB,GAAA,EAAgB;AAAA,IAC5BR;AAAA,EAAA,EAAA,GAFYD,CAGf;AAEJ,GCxDaU,IAAc,CAAC;AAAA,EAC1B,UAAArB,IAAW;AAAA,EACX,WAAAsB;AAAA,EACA,SAAAC;AAAA,EACA,GAAGT;AACL,MAAsC;AAC9B,QAAA,EAAE,OAAAb,MAAUE;AAEhB,SAAAC,gBAAAA,EAAA;AAAA,IAACoB;AAAAA,IAAA;AAAA,MACC,SAAQ;AAAA,MACR,MAAMN,EAAyBjB,CAAK;AAAA,MACpC,SAAAsB;AAAA,MACA,WAAWjB,EAAIA,EAAI,EAAE,qBAAqB,GAAGgB,CAAS;AAAA,MACtD,OAAK;AAAA,MACJ,GAAGR;AAAA,MAEH,UAAAd;AAAA,IAAA;AAAA,EAAA;AAGP,GCnBayB,IAAQ,CAAC;AAAA,EACpB,WAAAH;AAAA,EACA,OAAOI;AAAA,EACP,GAAGZ;AACL,MAAgC;AAC9B,QAAM,EAAE,OAAAb,GAAO,SAAAC,EAAQ,IAAIC,EAAW;AAEpC,SAAAC,gBAAAA,EAAA;AAAA,IAACuB;AAAAA,IAAA;AAAA,MACC,WAAWrB,EAAIA,EAAI,GAAG,UAAU,MAAM,GAAGgB,CAAS;AAAA,MAClD,OAAOI,KAAczB;AAAA,MACrB,SAAAC;AAAA,MACC,GAAGY;AAAA,IAAA;AAAA,EAAA;AAGV;;;;;;;;"}
@@ -0,0 +1,17 @@
1
+ import { C as e, a as t, b as o, c as a, I as n, M as s, d as u, u as r, e as C } from "./Item-kbCoFEj2.js";
2
+ const M = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
+ __proto__: null,
4
+ CONTEXT_SELECTED: e,
5
+ CONTEXT_TARGET: t,
6
+ ContextMenu: o,
7
+ CoreItem: a,
8
+ Item: n,
9
+ Menu: s,
10
+ MenuContext: u,
11
+ useContextMenu: r,
12
+ useMenuContext: C
13
+ }, Symbol.toStringTag, { value: "Module" }));
14
+ export {
15
+ M as e
16
+ };
17
+ //# sourceMappingURL=external-sHbzLUrP.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external-sHbzLUrP.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("./css-s9KpanYu.cjs"),r=require("./Swatch--Prmb5q_.cjs"),t=Object.freeze(Object.defineProperty({__proto__:null,Color:e.Color,Picker:r.Picker,Swatch:r.Swatch,ZERO:e.ZERO,cssString:e.cssString,fromHSLA:e.fromHSLA,toHex:e.toHex},Symbol.toStringTag,{value:"Module"}));exports.external=t;
2
+ //# sourceMappingURL=external-tZiYBM94.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external-tZiYBM94.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("./Center-ER_owvfX.cjs"),r=Object.freeze(Object.defineProperty({__proto__:null,ALIGNMENTS:e.ALIGNMENTS,Center:e.Center,CoreCenter:e.CoreCenter,JUSTIFICATIONS:e.JUSTIFICATIONS,Pack:e.Pack,Space:e.Space,shouldReverse:e.shouldReverse},Symbol.toStringTag,{value:"Module"}));exports.external=r;
2
+ //# sourceMappingURL=external-tnCo64yx.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external-tnCo64yx.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ import { a as e, Z as o, c as r, f as t, t as a } from "./css-5RvvUhjr.js";
2
+ import { P as s, S as c } from "./Swatch-IH4OmVdd.js";
3
+ const i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
+ __proto__: null,
5
+ Color: e,
6
+ Picker: s,
7
+ Swatch: c,
8
+ ZERO: o,
9
+ cssString: r,
10
+ fromHSLA: t,
11
+ toHex: a
12
+ }, Symbol.toStringTag, { value: "Module" }));
13
+ export {
14
+ i as e
15
+ };
16
+ //# sourceMappingURL=external-uR-7_68y.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external-uR-7_68y.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
@@ -0,0 +1,15 @@
1
+ import { A as e, C as a, a as r, J as o, P as s, S as t, s as l } from "./Center-8mBjm1cO.js";
2
+ const S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
+ __proto__: null,
4
+ ALIGNMENTS: e,
5
+ Center: a,
6
+ CoreCenter: r,
7
+ JUSTIFICATIONS: o,
8
+ Pack: s,
9
+ Space: t,
10
+ shouldReverse: l
11
+ }, Symbol.toStringTag, { value: "Module" }));
12
+ export {
13
+ S as e
14
+ };
15
+ //# sourceMappingURL=external-uSIsCKNG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external-uSIsCKNG.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("./Selector-8rTHUToj.cjs"),t=Object.freeze(Object.defineProperty({__proto__:null,Content:e.Content,Provider:e.Provider,Selector:e.Selector,Tabs:e.Tabs,TabsContext:e.TabsContext,rename:e.rename,resetSelection:e.resetSelection,useStatic:e.useStatic,useTabsContext:e.useTabsContext},Symbol.toStringTag,{value:"Module"}));exports.external=t;
2
+ //# sourceMappingURL=external-z6BLlxur.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external-z6BLlxur.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ import { a as i } from "./Toggle-HVxv8bv2.js";
2
+ import { f as o } from "./fontString-lodjYTYz.js";
3
+ const n = (t) => {
4
+ const { theme: s } = i(), e = s.typography[t];
5
+ return {
6
+ ...e,
7
+ toString: () => o(s, t),
8
+ baseSize: s.sizes.base,
9
+ lineHeightPx: e.lineHeight * s.sizes.base,
10
+ sizePx: e.size * s.sizes.base
11
+ };
12
+ };
13
+ export {
14
+ n as u
15
+ };
16
+ //# sourceMappingURL=font-HpLrwPSD.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"font-t7KoGNFX.js","sources":["../src/theming/font.ts"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type Text } from \"@/text\";\nimport { useContext } from \"@/theming/context\";\nimport { fontString } from \"@/theming/core/fontString\";\n\nexport interface UseTypographyReturn extends Text.Spec {\n toString: () => string;\n baseSize: number;\n lineHeightPx: number;\n sizePx: number;\n}\n\nexport const useTypography = (level: Text.Level): UseTypographyReturn => {\n const { theme } = useContext();\n const t = theme.typography[level];\n return {\n ...t,\n toString: () => fontString(theme, level),\n baseSize: theme.sizes.base,\n lineHeightPx: t.lineHeight * theme.sizes.base,\n sizePx: t.size * theme.sizes.base,\n };\n};\n"],"names":[],"mappings":";;AAoBa,MAAA,gBAAgB,CAAC,UAA2C;AACjE,QAAA,EAAE,UAAU;AACZ,QAAA,IAAI,MAAM,WAAW,KAAK;AACzB,SAAA;AAAA,IACL,GAAG;AAAA,IACH,UAAU,MAAM,WAAW,OAAO,KAAK;AAAA,IACvC,UAAU,MAAM,MAAM;AAAA,IACtB,cAAc,EAAE,aAAa,MAAM,MAAM;AAAA,IACzC,QAAQ,EAAE,OAAO,MAAM,MAAM;AAAA,EAAA;AAEjC;"}
1
+ {"version":3,"file":"font-HpLrwPSD.js","sources":["../src/theming/font.ts"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type Text } from \"@/text\";\nimport { useContext } from \"@/theming/context\";\nimport { fontString } from \"@/theming/core/fontString\";\n\nexport interface UseTypographyReturn extends Text.Spec {\n toString: () => string;\n baseSize: number;\n lineHeightPx: number;\n sizePx: number;\n}\n\nexport const useTypography = (level: Text.Level): UseTypographyReturn => {\n const { theme } = useContext();\n const t = theme.typography[level];\n return {\n ...t,\n toString: () => fontString(theme, level),\n baseSize: theme.sizes.base,\n lineHeightPx: t.lineHeight * theme.sizes.base,\n sizePx: t.size * theme.sizes.base,\n };\n};\n"],"names":["useTypography","level","theme","useContext","t","fontString"],"mappings":";;AAoBa,MAAAA,IAAgB,CAACC,MAA2C;AACjE,QAAA,EAAE,OAAAC,MAAUC,KACZC,IAAIF,EAAM,WAAWD,CAAK;AACzB,SAAA;AAAA,IACL,GAAGG;AAAA,IACH,UAAU,MAAMC,EAAWH,GAAOD,CAAK;AAAA,IACvC,UAAUC,EAAM,MAAM;AAAA,IACtB,cAAcE,EAAE,aAAaF,EAAM,MAAM;AAAA,IACzC,QAAQE,EAAE,OAAOF,EAAM,MAAM;AAAA,EAAA;AAEjC;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const i=require("./Toggle-QnKinMl4.cjs"),n=require("./fontString-_dtZSiPk.cjs"),o=t=>{const{theme:e}=i.useContext(),s=e.typography[t];return{...s,toString:()=>n.fontString(e,t),baseSize:e.sizes.base,lineHeightPx:s.lineHeight*e.sizes.base,sizePx:s.size*e.sizes.base}};exports.useTypography=o;
2
+ //# sourceMappingURL=font-yosRgv9n.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"font-wlgaMRYN.cjs","sources":["../src/theming/font.ts"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type Text } from \"@/text\";\nimport { useContext } from \"@/theming/context\";\nimport { fontString } from \"@/theming/core/fontString\";\n\nexport interface UseTypographyReturn extends Text.Spec {\n toString: () => string;\n baseSize: number;\n lineHeightPx: number;\n sizePx: number;\n}\n\nexport const useTypography = (level: Text.Level): UseTypographyReturn => {\n const { theme } = useContext();\n const t = theme.typography[level];\n return {\n ...t,\n toString: () => fontString(theme, level),\n baseSize: theme.sizes.base,\n lineHeightPx: t.lineHeight * theme.sizes.base,\n sizePx: t.size * theme.sizes.base,\n };\n};\n"],"names":["useContext","fontString"],"mappings":";;;AAoBa,MAAA,gBAAgB,CAAC,UAA2C;AACjE,QAAA,EAAE,UAAUA,OAAAA;AACZ,QAAA,IAAI,MAAM,WAAW,KAAK;AACzB,SAAA;AAAA,IACL,GAAG;AAAA,IACH,UAAU,MAAMC,WAAAA,WAAW,OAAO,KAAK;AAAA,IACvC,UAAU,MAAM,MAAM;AAAA,IACtB,cAAc,EAAE,aAAa,MAAM,MAAM;AAAA,IACzC,QAAQ,EAAE,OAAO,MAAM,MAAM;AAAA,EAAA;AAEjC;;"}
1
+ {"version":3,"file":"font-yosRgv9n.cjs","sources":["../src/theming/font.ts"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { type Text } from \"@/text\";\nimport { useContext } from \"@/theming/context\";\nimport { fontString } from \"@/theming/core/fontString\";\n\nexport interface UseTypographyReturn extends Text.Spec {\n toString: () => string;\n baseSize: number;\n lineHeightPx: number;\n sizePx: number;\n}\n\nexport const useTypography = (level: Text.Level): UseTypographyReturn => {\n const { theme } = useContext();\n const t = theme.typography[level];\n return {\n ...t,\n toString: () => fontString(theme, level),\n baseSize: theme.sizes.base,\n lineHeightPx: t.lineHeight * theme.sizes.base,\n sizePx: t.size * theme.sizes.base,\n };\n};\n"],"names":["useTypography","level","theme","useContext","t","fontString"],"mappings":"6FAoBaA,EAAiBC,GAA2C,CACjE,KAAA,CAAE,MAAAC,GAAUC,EAAAA,aACZC,EAAIF,EAAM,WAAWD,CAAK,EACzB,MAAA,CACL,GAAGG,EACH,SAAU,IAAMC,EAAAA,WAAWH,EAAOD,CAAK,EACvC,SAAUC,EAAM,MAAM,KACtB,aAAcE,EAAE,WAAaF,EAAM,MAAM,KACzC,OAAQE,EAAE,KAAOF,EAAM,MAAM,IAAA,CAEjC"}
@@ -0,0 +1,2 @@
1
+ "use strict";const o=require("./component-dgLAEMbt.cjs"),r=(s,n)=>{const{typography:t,sizes:{base:e}}=s,i=t[o.isComponentSize(n)?o.ComponentSizeLevels[n]:n].size;return` ${e*i}px ${t.family}`};exports.fontString=r;
2
+ //# sourceMappingURL=fontString-_dtZSiPk.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"fontString-i24UxKCQ.cjs","sources":["../src/theming/core/fontString.ts"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { ComponentSizeLevels, type Level } from \"@/text/types\";\nimport { type ThemeSpec } from \"@/theming/core/theme\";\nimport { type ComponentSize, isComponentSize } from \"@/util/component\";\n\nexport const fontString = (theme: ThemeSpec, level: Level | ComponentSize): string => {\n const {\n typography,\n sizes: { base },\n } = theme;\n const size =\n typography[isComponentSize(level) ? ComponentSizeLevels[level] : level].size;\n return ` ${base * size}px ${typography.family}`;\n};\n"],"names":["isComponentSize","ComponentSizeLevels"],"mappings":";;AAaa,MAAA,aAAa,CAAC,OAAkB,UAAyC;AAC9E,QAAA;AAAA,IACJ;AAAA,IACA,OAAO,EAAE,KAAK;AAAA,EACZ,IAAA;AACE,QAAA,OACJ,WAAWA,UAAAA,gBAAgB,KAAK,IAAIC,UAAoB,oBAAA,KAAK,IAAI,KAAK,EAAE;AAC1E,SAAO,IAAI,OAAO,IAAI,MAAM,WAAW,MAAM;AAC/C;;"}
1
+ {"version":3,"file":"fontString-_dtZSiPk.cjs","sources":["../src/theming/core/fontString.ts"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { ComponentSizeLevels, type Level } from \"@/text/types\";\nimport { type ThemeSpec } from \"@/theming/core/theme\";\nimport { type ComponentSize, isComponentSize } from \"@/util/component\";\n\nexport const fontString = (theme: ThemeSpec, level: Level | ComponentSize): string => {\n const {\n typography,\n sizes: { base },\n } = theme;\n const size =\n typography[isComponentSize(level) ? ComponentSizeLevels[level] : level].size;\n return ` ${base * size}px ${typography.family}`;\n};\n"],"names":["fontString","theme","level","typography","base","size","isComponentSize","ComponentSizeLevels"],"mappings":"yDAaaA,EAAa,CAACC,EAAkBC,IAAyC,CAC9E,KAAA,CACJ,WAAAC,EACA,MAAO,CAAE,KAAAC,CAAK,CACZ,EAAAH,EACEI,EACJF,EAAWG,EAAAA,gBAAgBJ,CAAK,EAAIK,EAAoB,oBAAAL,CAAK,EAAIA,CAAK,EAAE,KAC1E,MAAO,IAAIE,EAAOC,CAAI,MAAMF,EAAW,MAAM,EAC/C"}
@@ -0,0 +1,12 @@
1
+ import { i as e, C as p } from "./component-LA8IXGSG.js";
2
+ const a = (t, s) => {
3
+ const {
4
+ typography: o,
5
+ sizes: { base: i }
6
+ } = t, n = o[e(s) ? p[s] : s].size;
7
+ return ` ${i * n}px ${o.family}`;
8
+ };
9
+ export {
10
+ a as f
11
+ };
12
+ //# sourceMappingURL=fontString-lodjYTYz.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fontString-RKvYIr5H.js","sources":["../src/theming/core/fontString.ts"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { ComponentSizeLevels, type Level } from \"@/text/types\";\nimport { type ThemeSpec } from \"@/theming/core/theme\";\nimport { type ComponentSize, isComponentSize } from \"@/util/component\";\n\nexport const fontString = (theme: ThemeSpec, level: Level | ComponentSize): string => {\n const {\n typography,\n sizes: { base },\n } = theme;\n const size =\n typography[isComponentSize(level) ? ComponentSizeLevels[level] : level].size;\n return ` ${base * size}px ${typography.family}`;\n};\n"],"names":[],"mappings":";AAaa,MAAA,aAAa,CAAC,OAAkB,UAAyC;AAC9E,QAAA;AAAA,IACJ;AAAA,IACA,OAAO,EAAE,KAAK;AAAA,EACZ,IAAA;AACE,QAAA,OACJ,WAAW,gBAAgB,KAAK,IAAI,oBAAoB,KAAK,IAAI,KAAK,EAAE;AAC1E,SAAO,IAAI,OAAO,IAAI,MAAM,WAAW,MAAM;AAC/C;"}
1
+ {"version":3,"file":"fontString-lodjYTYz.js","sources":["../src/theming/core/fontString.ts"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { ComponentSizeLevels, type Level } from \"@/text/types\";\nimport { type ThemeSpec } from \"@/theming/core/theme\";\nimport { type ComponentSize, isComponentSize } from \"@/util/component\";\n\nexport const fontString = (theme: ThemeSpec, level: Level | ComponentSize): string => {\n const {\n typography,\n sizes: { base },\n } = theme;\n const size =\n typography[isComponentSize(level) ? ComponentSizeLevels[level] : level].size;\n return ` ${base * size}px ${typography.family}`;\n};\n"],"names":["fontString","theme","level","typography","base","size","isComponentSize","ComponentSizeLevels"],"mappings":";AAaa,MAAAA,IAAa,CAACC,GAAkBC,MAAyC;AAC9E,QAAA;AAAA,IACJ,YAAAC;AAAA,IACA,OAAO,EAAE,MAAAC,EAAK;AAAA,EACZ,IAAAH,GACEI,IACJF,EAAWG,EAAgBJ,CAAK,IAAIK,EAAoBL,CAAK,IAAIA,CAAK,EAAE;AAC1E,SAAO,IAAIE,IAAOC,CAAI,MAAMF,EAAW,MAAM;AAC/C;"}
package/dist/header.cjs CHANGED
@@ -1,15 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const external = require("./external-9Ncn2J9B.cjs");
4
- require("./jsx-runtime-N1ikfypN.cjs");
5
- require("react");
6
- require("./css-V3VUT_Js.cjs");
7
- require("zod");
8
- require("./Center-ZAcURh-3.cjs");
9
- require("./Toggle-eOKYw1OT.cjs");
10
- require("./component-joFaJiQW.cjs");
11
- require("react-dom");
12
- require("react-hook-form");
13
- require("./Header-5YX6FUn6.cjs");
14
- exports.Header = external.external;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./external-RGdrJX7y.cjs");require("./jsx-runtime-evvPGacs.cjs");require("react");require("./css-s9KpanYu.cjs");require("zod");require("./Center-ER_owvfX.cjs");require("./Toggle-QnKinMl4.cjs");require("./component-dgLAEMbt.cjs");require("react-dom");require("./color-gJTR__ef.cjs");require("react-hook-form");require("./Header-PpcdP7hn.cjs");exports.Header=e.external;
15
2
  //# sourceMappingURL=header.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"header.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"header.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/dist/header.js CHANGED
@@ -1,15 +1,16 @@
1
- import { e } from "./external-up1sE3F6.js";
2
- import "./jsx-runtime-rX5tAIG2.js";
1
+ import { e as b } from "./external-r_2-tYfC.js";
2
+ import "./jsx-runtime-NmMXPjeo.js";
3
3
  import "react";
4
- import "./css-NTD4Xm8x.js";
4
+ import "./css-5RvvUhjr.js";
5
5
  import "zod";
6
- import "./Center-gEKkAkdh.js";
7
- import "./Toggle-kLunfJtR.js";
8
- import "./component-k78Jq9I7.js";
6
+ import "./Center-8mBjm1cO.js";
7
+ import "./Toggle-HVxv8bv2.js";
8
+ import "./component-LA8IXGSG.js";
9
9
  import "react-dom";
10
+ import "./color-9QRifwqk.js";
10
11
  import "react-hook-form";
11
- import "./Header-7x6367IV.js";
12
+ import "./Header-9CR1VnwV.js";
12
13
  export {
13
- e as Header
14
+ b as Header
14
15
  };
15
16
  //# sourceMappingURL=header.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"header.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"header.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}