@jenesei-software/jenesei-kit-react 1.3.9 → 1.3.11

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 (347) hide show
  1. package/build/{area-BC64nSGj.js → area-BWxBop5m.js} +2 -2
  2. package/build/area-BWxBop5m.js.map +1 -0
  3. package/build/{area-DRqAofd0.js → area-CD8KKIM0.js} +2 -2
  4. package/build/area-CD8KKIM0.js.map +1 -0
  5. package/build/{area-Dnq78ow6.js → area-CT83tDk-.js} +10 -8
  6. package/build/area-CT83tDk-.js.map +1 -0
  7. package/build/{area-C6QOr2Kd.cjs → area-CmCMHnRA.cjs} +2 -2
  8. package/build/area-CmCMHnRA.cjs.map +1 -0
  9. package/build/{area-C3wR_pPr.cjs → area-DRsIULcw.cjs} +2 -2
  10. package/build/{area-C3wR_pPr.cjs.map → area-DRsIULcw.cjs.map} +1 -1
  11. package/build/{area-D7906bXA.cjs → area-Dup_lUb9.cjs} +2 -2
  12. package/build/area-Dup_lUb9.cjs.map +1 -0
  13. package/build/area-outside.cjs.js +1 -1
  14. package/build/area-outside.es.js +1 -1
  15. package/build/area-preview.cjs.js +1 -1
  16. package/build/area-preview.es.js +1 -1
  17. package/build/{area-CFZW3T1g.js → area-sDVSuS3G.js} +3 -3
  18. package/build/{area-CFZW3T1g.js.map → area-sDVSuS3G.js.map} +1 -1
  19. package/build/area-scroll.cjs.js +1 -1
  20. package/build/area-scroll.d.ts +1 -1
  21. package/build/area-scroll.es.js +1 -1
  22. package/build/area-skeleton.cjs.js +1 -1
  23. package/build/area-skeleton.d.ts +1 -1
  24. package/build/area-skeleton.es.js +1 -1
  25. package/build/area-smooth.cjs.js +1 -1
  26. package/build/area-smooth.d.ts +1 -1
  27. package/build/area-smooth.es.js +1 -1
  28. package/build/area-t259bohc.cjs +2 -0
  29. package/build/area-t259bohc.cjs.map +1 -0
  30. package/build/area.hooks-Bk04M7mk.js.map +1 -1
  31. package/build/area.hooks-C_UKZzcb.cjs.map +1 -1
  32. package/build/build-info.txt +3 -3
  33. package/build/component--jGdo2yq.cjs +2 -0
  34. package/build/component--jGdo2yq.cjs.map +1 -0
  35. package/build/{component--Oo5_3xq.cjs → component-8NOxwZJO.cjs} +2 -2
  36. package/build/component-8NOxwZJO.cjs.map +1 -0
  37. package/build/component-BVnHSTJd.cjs +245 -0
  38. package/build/component-BVnHSTJd.cjs.map +1 -0
  39. package/build/{component-DHq4T6Ku.cjs → component-BhPckvLk.cjs} +2 -2
  40. package/build/component-BhPckvLk.cjs.map +1 -0
  41. package/build/component-CLqcB5mM.cjs.map +1 -1
  42. package/build/{component-C4ULY0c6.js → component-CN6att4f.js} +20 -9
  43. package/build/component-CN6att4f.js.map +1 -0
  44. package/build/component-DHM9pbab.js.map +1 -1
  45. package/build/{component-Bzw_uobM.js → component-DaXKDHnc.js} +48 -7
  46. package/build/component-DaXKDHnc.js.map +1 -0
  47. package/build/component-DnJo66DS.cjs +90 -0
  48. package/build/component-DnJo66DS.cjs.map +1 -0
  49. package/build/{component-BcHiCCC9.js → component-DpVp9dB1.js} +2 -2
  50. package/build/component-DpVp9dB1.js.map +1 -0
  51. package/build/{component-DfxlJBGv.js → component-G5QqAuDV.js} +3 -3
  52. package/build/component-G5QqAuDV.js.map +1 -0
  53. package/build/component-GKvpOWlO.cjs +28 -0
  54. package/build/component-GKvpOWlO.cjs.map +1 -0
  55. package/build/component-GtWqnaqk.js +710 -0
  56. package/build/component-GtWqnaqk.js.map +1 -0
  57. package/build/component-accordion.cjs.js +1 -1
  58. package/build/component-accordion.d.ts +1 -1
  59. package/build/component-accordion.es.js +1 -1
  60. package/build/component-button-group.cjs.js +1 -1
  61. package/build/component-button-group.d.ts +18 -1
  62. package/build/component-button-group.es.js +1 -1
  63. package/build/component-button.cjs.js +1 -1
  64. package/build/component-button.d.ts +21 -2
  65. package/build/component-button.es.js +1 -1
  66. package/build/{component-BiNPQpCQ.cjs → component-cRmWWDr_.cjs} +2 -2
  67. package/build/component-cRmWWDr_.cjs.map +1 -0
  68. package/build/component-checkbox-group.cjs.js +1 -1
  69. package/build/component-checkbox-group.d.ts +20 -3
  70. package/build/component-checkbox-group.es.js +1 -1
  71. package/build/component-checkbox.cjs.js +1 -1
  72. package/build/component-checkbox.d.ts +21 -2
  73. package/build/component-checkbox.es.js +1 -1
  74. package/build/component-date-picker.cjs.js +1 -1
  75. package/build/component-date-picker.d.ts +35 -37
  76. package/build/component-date-picker.es.js +1 -1
  77. package/build/{component-CQ8fy2gK.js → component-feWPgACX.js} +2 -2
  78. package/build/component-feWPgACX.js.map +1 -0
  79. package/build/component-icon.cjs.js +1 -1
  80. package/build/component-icon.es.js +1 -1
  81. package/build/component-image-button.cjs.js +1 -1
  82. package/build/component-image-button.d.ts +18 -1
  83. package/build/component-image-button.es.js +1 -1
  84. package/build/component-image-select.cjs.js +1 -1
  85. package/build/component-image-select.d.ts +18 -1
  86. package/build/component-image-select.es.js +1 -1
  87. package/build/component-image-slider.cjs.js +1 -1
  88. package/build/component-image-slider.d.ts +1 -1
  89. package/build/component-image-slider.es.js +1 -1
  90. package/build/component-image.cjs.js +1 -1
  91. package/build/component-image.es.js +1 -1
  92. package/build/component-input-otp.cjs.js +1 -1
  93. package/build/component-input-otp.d.ts +51 -5
  94. package/build/component-input-otp.es.js +1 -1
  95. package/build/component-input.cjs.js +1 -1
  96. package/build/component-input.d.ts +62 -14
  97. package/build/component-input.es.js +2 -2
  98. package/build/component-map.cjs.js +1 -1
  99. package/build/component-map.es.js +1 -1
  100. package/build/{component-jPZYT5iL.js → component-mzzOCXSx.js} +12 -12
  101. package/build/component-mzzOCXSx.js.map +1 -0
  102. package/build/component-pagination.cjs.js +1 -1
  103. package/build/component-pagination.d.ts +18 -1
  104. package/build/component-pagination.es.js +1 -1
  105. package/build/component-range.cjs.js +1 -1
  106. package/build/component-range.d.ts +50 -4
  107. package/build/component-range.es.js +1 -1
  108. package/build/component-select.cjs.js +1 -1
  109. package/build/component-select.d.ts +48 -7
  110. package/build/component-select.es.js +1 -1
  111. package/build/component-stack.cjs.js +1 -1
  112. package/build/component-stack.d.ts +5 -7
  113. package/build/component-stack.es.js +1 -1
  114. package/build/component-textarea.cjs.js +1 -1
  115. package/build/component-textarea.d.ts +50 -7
  116. package/build/component-textarea.es.js +1 -1
  117. package/build/component-toggle.cjs.js +1 -1
  118. package/build/component-toggle.d.ts +51 -2
  119. package/build/component-toggle.es.js +1 -1
  120. package/build/component-tooltip.cjs.js +1 -1
  121. package/build/component-tooltip.d.ts +14 -2
  122. package/build/component-tooltip.es.js +1 -1
  123. package/build/component-typography.cjs.js +1 -1
  124. package/build/component-typography.d.ts +27 -13
  125. package/build/component-typography.es.js +7 -6
  126. package/build/component-typography.es.js.map +1 -1
  127. package/build/{component.components-DX0DVix5.js → component.components-C-EEYFsd.js} +4 -4
  128. package/build/{component.components-DX0DVix5.js.map → component.components-C-EEYFsd.js.map} +1 -1
  129. package/build/{component.components-H_qAeBHw.cjs → component.components-CC3IeZon.cjs} +2 -2
  130. package/build/{component.components-H_qAeBHw.cjs.map → component.components-CC3IeZon.cjs.map} +1 -1
  131. package/build/{component.constants-DjYLZpyY.js → component.constants-34RZJIiQ.js} +3 -3
  132. package/build/component.constants-34RZJIiQ.js.map +1 -0
  133. package/build/{component.constants-C7DGbAC8.js → component.constants-BxnfHAYp.js} +8 -8
  134. package/build/component.constants-BxnfHAYp.js.map +1 -0
  135. package/build/{component.constants-DwRduxMm.cjs → component.constants-CpRgeAIu.cjs} +3 -3
  136. package/build/component.constants-CpRgeAIu.cjs.map +1 -0
  137. package/build/{component.constants-veAUxKBd.cjs → component.constants-D6AJ1xmO.cjs} +2 -2
  138. package/build/component.constants-D6AJ1xmO.cjs.map +1 -0
  139. package/build/component.functions-D9ffjEok.cjs +8 -0
  140. package/build/component.functions-D9ffjEok.cjs.map +1 -0
  141. package/build/component.functions-DNW6h8kk.js +12 -0
  142. package/build/component.functions-DNW6h8kk.js.map +1 -0
  143. package/build/{component.styles--Ug3PJQ6.cjs → component.styles-4ycgapiT.cjs} +7 -7
  144. package/build/component.styles-4ycgapiT.cjs.map +1 -0
  145. package/build/{component.styles-DLU0S0KI.cjs → component.styles-B-bndnRM.cjs} +2 -2
  146. package/build/component.styles-B-bndnRM.cjs.map +1 -0
  147. package/build/{component.styles-C3hYZJGh.js → component.styles-B0FFHGeN.js} +26 -20
  148. package/build/component.styles-B0FFHGeN.js.map +1 -0
  149. package/build/component.styles-B0L4jbOO.js.map +1 -1
  150. package/build/{component.styles-C1p3V7H6.js → component.styles-BDKsgd6y.js} +32 -19
  151. package/build/component.styles-BDKsgd6y.js.map +1 -0
  152. package/build/{component.styles-Cje8zTpf.cjs → component.styles-BELwxHxh.cjs} +7 -7
  153. package/build/component.styles-BELwxHxh.cjs.map +1 -0
  154. package/build/{component.styles-BirbSbuD.js → component.styles-BEaqQuF_.js} +4 -4
  155. package/build/{component.styles-BirbSbuD.js.map → component.styles-BEaqQuF_.js.map} +1 -1
  156. package/build/{component.styles-DpgkACgI.js → component.styles-BGYbrzvh.js} +2 -2
  157. package/build/component.styles-BGYbrzvh.js.map +1 -0
  158. package/build/{component.styles-DSle6iuF.cjs → component.styles-BKnUDWqO.cjs} +2 -2
  159. package/build/component.styles-BKnUDWqO.cjs.map +1 -0
  160. package/build/component.styles-Bb7_KygZ.cjs +73 -0
  161. package/build/component.styles-Bb7_KygZ.cjs.map +1 -0
  162. package/build/{component.styles-DYS_AJ9F.js → component.styles-BbwS_Ekx.js} +9 -10
  163. package/build/{component.styles-DYS_AJ9F.js.map → component.styles-BbwS_Ekx.js.map} +1 -1
  164. package/build/component.styles-BeRVOt5T.cjs +137 -0
  165. package/build/{component.styles-Crx4pACx.cjs.map → component.styles-BeRVOt5T.cjs.map} +1 -1
  166. package/build/{component.styles-DX_3POUD.js → component.styles-CJC0h3Ed.js} +4 -4
  167. package/build/component.styles-CJC0h3Ed.js.map +1 -0
  168. package/build/{component.styles-CggIUAVx.js → component.styles-CZyAhUtW.js} +21 -10
  169. package/build/component.styles-CZyAhUtW.js.map +1 -0
  170. package/build/component.styles-CsB9986a.cjs +99 -0
  171. package/build/component.styles-CsB9986a.cjs.map +1 -0
  172. package/build/{component.styles-Bm3Ec-Kd.js → component.styles-DS0ofW1Y.js} +3 -3
  173. package/build/{component.styles-Bm3Ec-Kd.js.map → component.styles-DS0ofW1Y.js.map} +1 -1
  174. package/build/component.styles-DTnknwt_.js +94 -0
  175. package/build/component.styles-DTnknwt_.js.map +1 -0
  176. package/build/{component.styles-5Xz_H-fR.js → component.styles-DWS6xT-y.js} +32 -11
  177. package/build/component.styles-DWS6xT-y.js.map +1 -0
  178. package/build/component.styles-DbWj2stq.cjs +21 -0
  179. package/build/component.styles-DbWj2stq.cjs.map +1 -0
  180. package/build/component.styles-Dpg-__rn.cjs.map +1 -1
  181. package/build/component.styles-PNgt36ZD.cjs +225 -0
  182. package/build/component.styles-PNgt36ZD.cjs.map +1 -0
  183. package/build/{component.styles-Bfhg18CX.cjs → component.styles-Py-IeQ2q.cjs} +2 -2
  184. package/build/component.styles-Py-IeQ2q.cjs.map +1 -0
  185. package/build/{component.styles-v0YYECwW.js → component.styles-VrNFgg1_.js} +32 -12
  186. package/build/component.styles-VrNFgg1_.js.map +1 -0
  187. package/build/{component.styles-DhAMCZ71.cjs → component.styles-ZU_GyVub.cjs} +2 -2
  188. package/build/component.styles-ZU_GyVub.cjs.map +1 -0
  189. package/build/component.styles-gZHy-64x.cjs +13 -0
  190. package/build/component.styles-gZHy-64x.cjs.map +1 -0
  191. package/build/{component.styles-5CVyEjEh.js → component.styles-mcm1LgEr.js} +51 -23
  192. package/build/component.styles-mcm1LgEr.js.map +1 -0
  193. package/build/component.types-BBQ18Npa.js.map +1 -1
  194. package/build/{component.types-BzBjcohg.js → component.types-BhmQrqBu.js} +95 -68
  195. package/build/component.types-BhmQrqBu.js.map +1 -0
  196. package/build/component.types-CfR3RBsV.cjs +171 -0
  197. package/build/component.types-CfR3RBsV.cjs.map +1 -0
  198. package/build/component.types-DraGq1j_.cjs.map +1 -1
  199. package/build/context-app.cjs.js +1 -1
  200. package/build/context-app.es.js +1 -1
  201. package/build/context-dialog.cjs.js +1 -1
  202. package/build/context-dialog.d.ts +11 -4
  203. package/build/context-dialog.es.js +1 -1
  204. package/build/context-permission.d.ts +4 -4
  205. package/build/context-sonner.cjs.js +1 -1
  206. package/build/context-sonner.d.ts +42 -7
  207. package/build/context-sonner.es.js +1 -1
  208. package/build/{context.constants-B9Yk6CGe.js → context.constants-BCpaUfFz.js} +9 -6
  209. package/build/context.constants-BCpaUfFz.js.map +1 -0
  210. package/build/context.constants-BLQ_1jZI.cjs +32 -0
  211. package/build/context.constants-BLQ_1jZI.cjs.map +1 -0
  212. package/build/{context.constants-Bz_5itIx.js → context.constants-DOMoMUoD.js} +26 -9
  213. package/build/context.constants-DOMoMUoD.js.map +1 -0
  214. package/build/context.constants-cm50ZUiS.cjs +98 -0
  215. package/build/context.constants-cm50ZUiS.cjs.map +1 -0
  216. package/build/context.functions-80N-5MqM.cjs.map +1 -1
  217. package/build/context.functions-B8FDl7nJ.js.map +1 -1
  218. package/build/context.functions-BD15C8_y.js.map +1 -1
  219. package/build/context.functions-CQ9GerPb.js.map +1 -1
  220. package/build/context.functions-ar41xFVo.cjs.map +1 -1
  221. package/build/context.functions-ohI9H54j.cjs.map +1 -1
  222. package/build/context.hooks-7ydA7mGj.js.map +1 -1
  223. package/build/context.hooks-BIsapq-0.cjs.map +1 -1
  224. package/build/context.hooks-BmwyZ1p3.js.map +1 -1
  225. package/build/context.hooks-BzMTkJNv.js.map +1 -1
  226. package/build/{context.hooks-DTdppyho.js → context.hooks-CI5aQmpr.js} +4 -4
  227. package/build/context.hooks-CI5aQmpr.js.map +1 -0
  228. package/build/{context.hooks-BDEwJHqB.cjs → context.hooks-Ci37RyLf.cjs} +3 -3
  229. package/build/context.hooks-Ci37RyLf.cjs.map +1 -0
  230. package/build/context.hooks-D13tbrva.cjs.map +1 -1
  231. package/build/context.hooks-u408Pxw8.cjs.map +1 -1
  232. package/build/floating-ui.react--v70Xky9.cjs +2 -0
  233. package/build/floating-ui.react--v70Xky9.cjs.map +1 -0
  234. package/build/{component-BoHvC24Q.js → floating-ui.react-Byi6bLb1.js} +17 -704
  235. package/build/floating-ui.react-Byi6bLb1.js.map +1 -0
  236. package/build/index.cjs.js +1 -1
  237. package/build/index.d.ts +92 -100
  238. package/build/index.es.js +59 -57
  239. package/build/index.es.js.map +1 -1
  240. package/build/motion-CIQfrLky.js.map +1 -1
  241. package/build/motion-DgB7M2Hn.cjs.map +1 -1
  242. package/build/style-D3Lbn1EL.cjs +32 -0
  243. package/build/style-D3Lbn1EL.cjs.map +1 -0
  244. package/build/{style-mc2ST5fY.cjs → style-Df37KnoJ.cjs} +47 -18
  245. package/build/style-Df37KnoJ.cjs.map +1 -0
  246. package/build/{style-BgcnmVAY.js → style-RL73t3JD.js} +63 -20
  247. package/build/style-RL73t3JD.js.map +1 -0
  248. package/build/style-add.cjs.js +1 -1
  249. package/build/style-add.d.ts +57 -5
  250. package/build/style-add.es.js +11 -10
  251. package/build/style-error.cjs.js +1 -1
  252. package/build/style-error.d.ts +48 -7
  253. package/build/style-error.es.js +1 -1
  254. package/build/style-fRZ6xrVp.cjs.map +1 -1
  255. package/build/style-plT9Ah7t.js.map +1 -1
  256. package/build/style-theme.cjs.js +1 -1
  257. package/build/style-theme.d.ts +2 -2
  258. package/build/style-theme.es.js +1 -1
  259. package/build/{style-BQ653xOS.js → style-uVTmdhsH.js} +14 -5
  260. package/build/style-uVTmdhsH.js.map +1 -0
  261. package/build/{theme.global-CFUz5Asg.js → theme.global-BgERDJ4e.js} +36 -1
  262. package/build/theme.global-BgERDJ4e.js.map +1 -0
  263. package/build/{theme.global-B9t2Fi10.cjs → theme.global-CcoD5bPP.cjs} +2 -2
  264. package/build/theme.global-CcoD5bPP.cjs.map +1 -0
  265. package/build/{use-DTZ8c8_g.js → use-Bp4KNVye.js} +7 -7
  266. package/build/{use-DTZ8c8_g.js.map → use-Bp4KNVye.js.map} +1 -1
  267. package/build/use-Bp8UVw4Y.js.map +1 -1
  268. package/build/use-C1l0O0Qo.cjs.map +1 -1
  269. package/build/{use-D7IsSb34.cjs → use-DQDxWjzu.cjs} +2 -2
  270. package/build/{use-D7IsSb34.cjs.map → use-DQDxWjzu.cjs.map} +1 -1
  271. package/build/use-DT0XgvJT.js.map +1 -1
  272. package/build/use-IhzeVumv.cjs.map +1 -1
  273. package/package.json +4 -3
  274. package/build/area-BC64nSGj.js.map +0 -1
  275. package/build/area-C6QOr2Kd.cjs.map +0 -1
  276. package/build/area-D7906bXA.cjs.map +0 -1
  277. package/build/area-DRqAofd0.js.map +0 -1
  278. package/build/area-DnAf310m.cjs +0 -2
  279. package/build/area-DnAf310m.cjs.map +0 -1
  280. package/build/area-Dnq78ow6.js.map +0 -1
  281. package/build/component--Oo5_3xq.cjs.map +0 -1
  282. package/build/component-BV_7tGiu.cjs +0 -28
  283. package/build/component-BV_7tGiu.cjs.map +0 -1
  284. package/build/component-BcHiCCC9.js.map +0 -1
  285. package/build/component-BiNPQpCQ.cjs.map +0 -1
  286. package/build/component-BoHvC24Q.js.map +0 -1
  287. package/build/component-Bzw_uobM.js.map +0 -1
  288. package/build/component-C4ULY0c6.js.map +0 -1
  289. package/build/component-CACoGUK9.cjs +0 -251
  290. package/build/component-CACoGUK9.cjs.map +0 -1
  291. package/build/component-CQ8fy2gK.js.map +0 -1
  292. package/build/component-DHq4T6Ku.cjs.map +0 -1
  293. package/build/component-DfxlJBGv.js.map +0 -1
  294. package/build/component-Dn-VRY7-.cjs +0 -2
  295. package/build/component-Dn-VRY7-.cjs.map +0 -1
  296. package/build/component-jPZYT5iL.js.map +0 -1
  297. package/build/component-u_42PteJ.cjs +0 -90
  298. package/build/component-u_42PteJ.cjs.map +0 -1
  299. package/build/component.constants-C7DGbAC8.js.map +0 -1
  300. package/build/component.constants-DjYLZpyY.js.map +0 -1
  301. package/build/component.constants-DwRduxMm.cjs.map +0 -1
  302. package/build/component.constants-veAUxKBd.cjs.map +0 -1
  303. package/build/component.styles--Ug3PJQ6.cjs.map +0 -1
  304. package/build/component.styles-5CVyEjEh.js.map +0 -1
  305. package/build/component.styles-5Xz_H-fR.js.map +0 -1
  306. package/build/component.styles-8tkaznu_.cjs +0 -21
  307. package/build/component.styles-8tkaznu_.cjs.map +0 -1
  308. package/build/component.styles-Bfhg18CX.cjs.map +0 -1
  309. package/build/component.styles-BuzZQhqS.cjs +0 -73
  310. package/build/component.styles-BuzZQhqS.cjs.map +0 -1
  311. package/build/component.styles-C1p3V7H6.js.map +0 -1
  312. package/build/component.styles-C3hYZJGh.js.map +0 -1
  313. package/build/component.styles-CISd4naT.cjs +0 -13
  314. package/build/component.styles-CISd4naT.cjs.map +0 -1
  315. package/build/component.styles-CggIUAVx.js.map +0 -1
  316. package/build/component.styles-Cje8zTpf.cjs.map +0 -1
  317. package/build/component.styles-CpFA5YrM.js +0 -71
  318. package/build/component.styles-CpFA5YrM.js.map +0 -1
  319. package/build/component.styles-Crx4pACx.cjs +0 -137
  320. package/build/component.styles-DLU0S0KI.cjs.map +0 -1
  321. package/build/component.styles-DSle6iuF.cjs.map +0 -1
  322. package/build/component.styles-DX_3POUD.js.map +0 -1
  323. package/build/component.styles-Db3HLiuV.cjs +0 -99
  324. package/build/component.styles-Db3HLiuV.cjs.map +0 -1
  325. package/build/component.styles-DhAMCZ71.cjs.map +0 -1
  326. package/build/component.styles-DpgkACgI.js.map +0 -1
  327. package/build/component.styles-o7GmI4Ap.cjs +0 -225
  328. package/build/component.styles-o7GmI4Ap.cjs.map +0 -1
  329. package/build/component.styles-v0YYECwW.js.map +0 -1
  330. package/build/component.types-BzBjcohg.js.map +0 -1
  331. package/build/component.types-ydMLhabS.cjs +0 -174
  332. package/build/component.types-ydMLhabS.cjs.map +0 -1
  333. package/build/context.constants-B9Yk6CGe.js.map +0 -1
  334. package/build/context.constants-Bz_5itIx.js.map +0 -1
  335. package/build/context.constants-CTfUKury.cjs +0 -32
  336. package/build/context.constants-CTfUKury.cjs.map +0 -1
  337. package/build/context.constants-CV8ycctl.cjs +0 -100
  338. package/build/context.constants-CV8ycctl.cjs.map +0 -1
  339. package/build/context.hooks-BDEwJHqB.cjs.map +0 -1
  340. package/build/context.hooks-DTdppyho.js.map +0 -1
  341. package/build/style-B5u4pW5G.cjs +0 -32
  342. package/build/style-B5u4pW5G.cjs.map +0 -1
  343. package/build/style-BQ653xOS.js.map +0 -1
  344. package/build/style-BgcnmVAY.js.map +0 -1
  345. package/build/style-mc2ST5fY.cjs.map +0 -1
  346. package/build/theme.global-B9t2Fi10.cjs.map +0 -1
  347. package/build/theme.global-CFUz5Asg.js.map +0 -1
@@ -1,100 +0,0 @@
1
- "use strict";const e=require("react"),n=require("./jsx-runtime-BcGej2Kr.cjs"),t=require("framer-motion"),i=require("styled-components"),o=require("uuid"),r=require("./component-u_42PteJ.cjs"),s=require("./component.styles-DSle6iuF.cjs"),l=require("./component-CACoGUK9.cjs"),d=require("./style-mc2ST5fY.cjs"),c=e.createContext(null),x=e.memo(e=>n.jsxRuntimeExports.jsx(t.motion.div,{layout:!0,initial:{opacity:0,scale:1,y:e.isLastViewIndex?e.isTop?E:-E:e.isTop?-E:E},animate:{y:0,opacity:e.isMoreThanLastViewIndex?0:1,pointerEvents:e.isMoreThanLastViewIndex?"none":"auto",display:e.isMoreThanLastViewIndex?"none":"flex",scale:e.isHovered?1:1-e.index*j,marginTop:e.isTop?e.isHovered||0===e.index?"0px":`-${y}px`:"0px",marginBottom:e.isTop||e.isHovered||0===e.index?"0px":`-${y}px`},style:{zIndex:-e.index},whileInView:{opacity:e.isMoreThanLastViewIndex?0:1},exit:{opacity:0,y:e.isTop?-E:E},transition:{type:"spring",duration:b},children:n.jsxRuntimeExports.jsxs(u,{$genre:e.genre,onClick:()=>"clickOnSonner"===e.hidingMode&&e.handleOnClick(e.id,"clickOnSonner"),children:[(e.isLoading||e.icon)&&n.jsxRuntimeExports.jsx(m,{children:e.isLoading?n.jsxRuntimeExports.jsx(s.Icon,{size:"medium",type:"loading",name:"Line"}):e.icon&&n.jsxRuntimeExports.jsx(s.Icon,{name:e.icon,type:"id",size:"medium"})}),n.jsxRuntimeExports.jsx(p,{children:e.content?e.content:n.jsxRuntimeExports.jsxs(n.jsxRuntimeExports.Fragment,{children:[e.title&&n.jsxRuntimeExports.jsx(f,{$genre:e.genre,children:e.title}),e.description&&n.jsxRuntimeExports.jsx(v,{$genre:e.genre,children:e.description})]})}),e.button&&e.button.content&&n.jsxRuntimeExports.jsx(h,{children:n.jsxRuntimeExports.jsx(r.Button,{genre:e.buttonGenre,size:"small",onClick:()=>"clickOnButton"===e.hidingMode&&e.handleOnClick(e.id,"clickOnButton"),children:e.button.content})})]})},e.id)),a=i.div`
2
- position: fixed;
3
- z-index: ${e=>e.$zIndex};
4
- max-height: calc(100dvh - 20px);
5
- width: 320px;
6
- display: flex;
7
- margin: 10px;
8
- gap: ${e=>e.$gap}px;
9
- box-sizing: content-box;
10
- overflow-y: visible;
11
- overflow-x: visible;
12
- ${d.addRemoveScrollbar}
13
- ${e=>"bottom-center"===e.$position?i.css`
14
- bottom: 0;
15
- left: 50%;
16
- transform: translateX(-50%);
17
- justify-content: flex-start;
18
- flex-direction: column-reverse;
19
- `:"bottom-left"===e.$position?i.css`
20
- left: 0;
21
- bottom: 0;
22
- justify-content: flex-start;
23
- flex-direction: column-reverse;
24
- `:"bottom-right"===e.$position?i.css`
25
- right: 0;
26
- bottom: 0;
27
- justify-content: flex-start;
28
- flex-direction: column-reverse;
29
- `:"top-right"===e.$position?i.css`
30
- top: 0;
31
- right: 0;
32
- justify-content: flex-end;
33
- flex-direction: column;
34
- `:"top-left"===e.$position?i.css`
35
- top: 0;
36
- left: 0;
37
- justify-content: flex-end;
38
- flex-direction: column;
39
- `:"top-center"===e.$position?i.css`
40
- top: 0;
41
- left: 50%;
42
- transform: translateX(-50%);
43
- justify-content: flex-end;
44
- flex-direction: column;
45
- `:i.css``}
46
- `,u=i.div`
47
- background: ${e=>e.theme.colors.sonner[e.$genre].wrapper.background};
48
- color: ${e=>e.theme.colors.sonner[e.$genre].icon.color};
49
- border-radius: 12px;
50
- border-style: solid;
51
- border-color: ${e=>e.theme.colors.sonner[e.$genre].wrapper.borderColor};
52
- border-width: 1px;
53
- padding: 16px 20px 16px 20px;
54
- display: flex;
55
- flex-direction: row;
56
- gap: 10px;
57
- align-items: center;
58
- justify-content: flex-start;
59
- align-self: stretch;
60
- flex-shrink: 0;
61
- flex-shrink: 1;
62
- min-width: 320px;
63
- min-height: 64px;
64
- transform-origin: center center;
65
- box-shadow: ${e=>e.theme.colors.sonner[e.$genre].wrapper.boxShadow};
66
- overflow: visible;
67
- &:hover {
68
- box-shadow: ${e=>e.theme.colors.sonner[e.$genre].wrapper.boxShadowHover};
69
- }
70
- ${d.addTransition};
71
- `,p=i.div`
72
- display: flex;
73
- flex-direction: column;
74
- gap: 2px;
75
- align-items: flex-start;
76
- justify-content: flex-start;
77
- align-self: stretch;
78
- flex-shrink: 0;
79
- flex: 1;
80
- position: relative;
81
- overflow: hidden;
82
- `,m=i.div`
83
- display: contents;
84
- `,f=i.div`
85
- ${e=>l.getFontSizeStyles(14,700,e.theme.font.family)}
86
- color: ${e=>e.theme.colors.sonner[e.$genre].title.color};
87
- text-align: left;
88
- display: flex;
89
- align-items: center;
90
- justify-content: flex-start;
91
- `,v=i.div`
92
- ${e=>l.getFontSizeStyles(12,400,e.theme.font.family)}
93
- color:${e=>e.theme.colors.sonner[e.$genre].description.color};
94
- text-align: left;
95
- position: relative;
96
- display: flex;
97
- align-items: center;
98
- justify-content: flex-start;
99
- `,h=i.div``,g=100,j=.04,E=100,b=.3,R="black",y=60,$={content:"Undo",onClick:()=>{}};exports.DEFAULT_PROVIDER_SONNER_BUTTON=$,exports.DEFAULT_PROVIDER_SONNER_DURATION=b,exports.DEFAULT_PROVIDER_SONNER_GENRE=R,exports.DEFAULT_PROVIDER_SONNER_MARGIN_BOTTOM=y,exports.DEFAULT_PROVIDER_SONNER_SCALE=j,exports.DEFAULT_PROVIDER_SONNER_Y=E,exports.DEFAULT_PROVIDER_SONNER_Z_INDEX=g,exports.ProviderSonner=r=>{var s,l,d,u,p,m;const f=e.useMemo(()=>r.visibleToasts,[r.visibleToasts]),v=e.useMemo(()=>{var e;return null==(e=null==r?void 0:r.default)?void 0:e.description},[null==(s=null==r?void 0:r.default)?void 0:s.description]),h=e.useMemo(()=>{var e;return null==(e=null==r?void 0:r.default)?void 0:e.title},[null==(l=null==r?void 0:r.default)?void 0:l.title]),j=e.useMemo(()=>{var e;return null==(e=null==r?void 0:r.default)?void 0:e.button},[null==(d=null==r?void 0:r.default)?void 0:d.button]),E=e.useMemo(()=>{var e;return null==(e=null==r?void 0:r.default)?void 0:e.hidingTime},[null==(u=null==r?void 0:r.default)?void 0:u.hidingTime]),b=e.useMemo(()=>{var e;return(null==(e=null==r?void 0:r.default)?void 0:e.hidingMode)??"clickOnButton"},[null==(p=null==r?void 0:r.default)?void 0:p.hidingMode]),y=e.useMemo(()=>{var e;return(null==(e=null==r?void 0:r.default)?void 0:e.genre)??R},[null==(m=null==r?void 0:r.default)?void 0:m.genre]),T=e.useMemo(()=>r.position.includes("top"),[r.position]),[S,w]=e.useState([]),[I,O]=e.useState(!1),L=e.useCallback(()=>{O(!0)},[]),M=e.useCallback(()=>{O(!1)},[]),k=e.useCallback(e=>{w(n=>{const t=n.find(n=>n.id===e);if(!t)return n;const i=t.index,o=n.filter(n=>n.id!==e).map(e=>({...e,index:e.index>i?e.index-1:e.index}));return 0===o.length&&M(),o})},[M]),_=e.useCallback(e=>{const n=e.id??o.v4(),t=e.hidingTime??E;w(t=>{const i=t.findIndex(e=>e.id===n);let o;if(-1!==i)o=[...t],o[i]={...e,id:n,index:t[i].index};else{o=t.map(e=>({...e,index:e.index+1}));const i={...e,id:n,index:0};o.unshift(i)}return o}),void 0!==t&&setTimeout(()=>{k(n)},t)},[E,k]),C=e.useCallback((e,n,t)=>{const i=o.v4();return _({...n,id:i,isLoading:!0}),e.then(e=>{_({...t(e,void 0),id:i})}).catch(e=>{_({...t(void 0,e),id:i})})},[_]),N=e.useCallback(e=>{k(e)},[k]),D=i.useTheme();return n.jsxRuntimeExports.jsxs(c.Provider,{value:{toast:_,promise:C,remove:k,contentHistory:S},children:[n.jsxRuntimeExports.jsx(a,{$zIndex:r.zIndex??g,$position:r.position,$gap:r.gap,onMouseEnter:L,onMouseLeave:M,children:n.jsxRuntimeExports.jsx(t.AnimatePresence,{children:S.map(e=>{const t=e.index,i=!!f&&t>f,o=!!f&&t>f-1,r=!!f&&t==f-1,s=e.genre??y,l=D.colors.sonner[s].button.genre,d=e.hidingMode??b,c="content"in e&&e.content,a="title"in e&&e.title,u="description"in e&&e.description;return n.jsxRuntimeExports.jsx(x,{isMoreThanLastViewIndexPlusOne:i,isMoreThanLastViewIndex:o,isLastViewIndex:r,isTop:T,id:e.id,icon:e.icon,isLoading:e.isLoading,index:t,buttonGenre:l,hidingMode:d,isHovered:I,genre:s,content:c,title:a||h,description:u||v,button:e.button??j??$,handleOnClick:N},e.id)})})}),r.children]})},exports.SonnerButtonWrapper=h,exports.SonnerContent=p,exports.SonnerContentDescription=v,exports.SonnerContentTitle=f,exports.SonnerContext=c,exports.SonnerElementWrapper=u,exports.SonnerIcon=m,exports.SonnerLayout=a,exports.useSonner=()=>{const n=e.useContext(c);if(!n)throw new Error("useSonner must be used within an ProviderSonner");return n};
100
- //# sourceMappingURL=context.constants-CV8ycctl.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"context.constants-CV8ycctl.cjs","sources":["../src/contexts/context-sonner/context.tsx","../src/contexts/context-sonner/context.styles.tsx","../src/contexts/context-sonner/context.constants.ts","../src/contexts/context-sonner/context.hooks.ts"],"sourcesContent":["import { AnimatePresence, motion } from 'framer-motion'\nimport { FC, createContext, memo, useCallback, useMemo, useState } from 'react'\nimport { useTheme } from 'styled-components'\nimport { v4 as uuidv4 } from 'uuid'\n\nimport { Button } from '@local/components/button'\nimport { Icon } from '@local/components/icon'\n\nimport {\n DEFAULT_PROVIDER_SONNER_BUTTON,\n DEFAULT_PROVIDER_SONNER_DURATION,\n DEFAULT_PROVIDER_SONNER_GENRE,\n DEFAULT_PROVIDER_SONNER_MARGIN_BOTTOM,\n DEFAULT_PROVIDER_SONNER_SCALE,\n DEFAULT_PROVIDER_SONNER_Y,\n DEFAULT_PROVIDER_SONNER_Z_INDEX,\n ProviderSonnerProps,\n SonnerButtonWrapper,\n SonnerContent,\n SonnerContentDescription,\n SonnerContentProps,\n SonnerContentStandardProps,\n SonnerContentTitle,\n SonnerContextProps,\n SonnerElementProps,\n SonnerElementWrapper,\n SonnerIcon,\n SonnerLayout\n} from '.'\n\nexport const SonnerContext = createContext<SonnerContextProps | null>(null)\n\nexport const ProviderSonner: FC<ProviderSonnerProps> = props => {\n const memoVisibleToasts: ProviderSonnerProps['visibleToasts'] = useMemo(\n () => props.visibleToasts,\n [props.visibleToasts]\n )\n const memoDefaultDescription: ProviderSonnerProps['default']['description'] = useMemo(\n () => props?.default?.description,\n [props?.default?.description]\n )\n const memoDefaultTitle: ProviderSonnerProps['default']['title'] = useMemo(\n () => props?.default?.title,\n [props?.default?.title]\n )\n const memoDefaultButton: ProviderSonnerProps['default']['button'] = useMemo(\n () => props?.default?.button,\n [props?.default?.button]\n )\n const memoDefaultHidingTime: ProviderSonnerProps['default']['hidingTime'] = useMemo(\n () => props?.default?.hidingTime,\n [props?.default?.hidingTime]\n )\n const memoDefaultHidingMode: ProviderSonnerProps['default']['hidingMode'] = useMemo(\n () => props?.default?.hidingMode ?? 'clickOnButton',\n [props?.default?.hidingMode]\n )\n const memoDefaultGenre = useMemo(\n () => props?.default?.genre ?? DEFAULT_PROVIDER_SONNER_GENRE,\n [props?.default?.genre]\n )\n\n const isTop = useMemo(() => props.position.includes('top'), [props.position])\n\n const [contentHistory, setContentHistory] = useState<SonnerContentProps[]>([])\n\n const [isHovered, setIsHovered] = useState(false)\n\n const handleMouseEnter = useCallback(() => {\n setIsHovered(true)\n }, [])\n\n const handleMouseLeave = useCallback(() => {\n setIsHovered(false)\n }, [])\n\n const remove: SonnerContextProps['remove'] = useCallback(\n id => {\n setContentHistory(prev => {\n const itemToRemove = prev.find(item => item.id === id)\n\n if (!itemToRemove) return prev\n\n const indexToRemove = itemToRemove.index\n\n const updatedHistory = prev\n .filter(item => item.id !== id)\n .map(item => ({\n ...item,\n index: item.index > indexToRemove ? item.index - 1 : item.index\n }))\n\n if (updatedHistory.length === 0) handleMouseLeave()\n\n return updatedHistory\n })\n },\n [handleMouseLeave]\n )\n\n const toast: SonnerContextProps['toast'] = useCallback(\n content => {\n const id = content.id ?? uuidv4()\n\n const hidingTime = content.hidingTime ?? memoDefaultHidingTime\n\n setContentHistory(prev => {\n const existingIndex = prev.findIndex(item => item.id === id)\n\n let updatedHistory\n if (existingIndex !== -1) {\n // Replace existing item\n updatedHistory = [...prev]\n updatedHistory[existingIndex] = { ...content, id, index: prev[existingIndex].index }\n } else {\n // Add new item\n updatedHistory = prev.map(item => ({\n ...item,\n index: item.index + 1\n }))\n const newContent = { ...content, id, index: 0 }\n updatedHistory.unshift(newContent)\n }\n\n return updatedHistory\n })\n\n if (hidingTime !== undefined) {\n setTimeout(() => {\n remove(id)\n }, hidingTime)\n }\n },\n [memoDefaultHidingTime, remove]\n )\n const promise: SonnerContextProps['promise'] = useCallback(\n <T,>(\n promise: Promise<T>,\n expectation: Omit<SonnerContentProps, 'index'>,\n localToast: (success: T | undefined, error: unknown | undefined) => Omit<SonnerContentProps, 'index'>\n ) => {\n const id = uuidv4()\n toast({ ...expectation, id, isLoading: true })\n\n return promise\n .then(result => {\n toast({ ...localToast(result, undefined), id })\n })\n .catch(error => {\n toast({ ...localToast(undefined, error), id })\n })\n },\n [toast]\n )\n const handleOnClick = useCallback(\n (id: SonnerContentStandardProps['id']) => {\n remove(id)\n },\n [remove]\n )\n const theme = useTheme()\n return (\n <SonnerContext.Provider value={{ toast, promise, remove, contentHistory }}>\n <SonnerLayout\n $zIndex={props.zIndex ?? DEFAULT_PROVIDER_SONNER_Z_INDEX}\n $position={props.position}\n $gap={props.gap}\n onMouseEnter={handleMouseEnter}\n onMouseLeave={handleMouseLeave}\n >\n <AnimatePresence>\n {contentHistory.map(content => {\n const index = content.index\n const isMoreThanLastViewIndexPlusOne = memoVisibleToasts ? index > memoVisibleToasts : false\n const isMoreThanLastViewIndex = memoVisibleToasts ? index > memoVisibleToasts - 1 : false\n const isLastViewIndex = memoVisibleToasts ? index == memoVisibleToasts - 1 : false\n const localGenre = content.genre ?? memoDefaultGenre\n const buttonGenre = theme.colors.sonner[localGenre].button.genre\n const hidingMode = content.hidingMode ?? memoDefaultHidingMode\n\n const localContent = 'content' in content ? content.content : false\n const localTitle = 'title' in content ? content.title : false\n const localDescription = 'description' in content ? content.description : false\n return (\n <MemoizedSonnerElement\n isMoreThanLastViewIndexPlusOne={isMoreThanLastViewIndexPlusOne}\n isMoreThanLastViewIndex={isMoreThanLastViewIndex}\n isLastViewIndex={isLastViewIndex}\n isTop={isTop}\n key={content.id}\n id={content.id}\n icon={content.icon}\n isLoading={content.isLoading}\n index={index}\n buttonGenre={buttonGenre}\n hidingMode={hidingMode}\n isHovered={isHovered}\n genre={localGenre}\n content={localContent}\n title={localTitle || memoDefaultTitle}\n description={localDescription || memoDefaultDescription}\n button={content.button ?? memoDefaultButton ?? DEFAULT_PROVIDER_SONNER_BUTTON}\n handleOnClick={handleOnClick}\n />\n )\n })}\n </AnimatePresence>\n </SonnerLayout>\n {props.children}\n </SonnerContext.Provider>\n )\n}\n\nconst SonnerElement = (props: SonnerElementProps) => {\n return (\n <motion.div\n key={props.id}\n layout\n initial={{\n opacity: 0,\n scale: 1,\n y: props.isLastViewIndex\n ? !props.isTop\n ? -DEFAULT_PROVIDER_SONNER_Y\n : DEFAULT_PROVIDER_SONNER_Y\n : !props.isTop\n ? DEFAULT_PROVIDER_SONNER_Y\n : -DEFAULT_PROVIDER_SONNER_Y\n }}\n animate={{\n y: 0,\n opacity: props.isMoreThanLastViewIndex ? 0 : 1,\n pointerEvents: props.isMoreThanLastViewIndex ? 'none' : 'auto',\n display: props.isMoreThanLastViewIndex ? 'none' : 'flex',\n scale: !props.isHovered ? 1 - props.index * DEFAULT_PROVIDER_SONNER_SCALE : 1,\n marginTop: props.isTop\n ? props.isHovered || props.index === 0\n ? `0px`\n : `-${DEFAULT_PROVIDER_SONNER_MARGIN_BOTTOM}px`\n : '0px',\n marginBottom: !props.isTop\n ? props.isHovered || props.index === 0\n ? `0px`\n : `-${DEFAULT_PROVIDER_SONNER_MARGIN_BOTTOM}px`\n : '0px'\n }}\n style={{\n zIndex: -props.index\n }}\n whileInView={{ opacity: props.isMoreThanLastViewIndex ? 0 : 1 }}\n exit={{ opacity: 0, y: !props.isTop ? DEFAULT_PROVIDER_SONNER_Y : -DEFAULT_PROVIDER_SONNER_Y }}\n transition={{ type: 'spring', duration: DEFAULT_PROVIDER_SONNER_DURATION }}\n >\n <SonnerElementWrapper\n $genre={props.genre}\n onClick={() => props.hidingMode === 'clickOnSonner' && props.handleOnClick(props.id, 'clickOnSonner')}\n >\n {(props.isLoading || props.icon) && (\n <SonnerIcon>\n {props.isLoading ? (\n <Icon size=\"medium\" type=\"loading\" name=\"Line\" />\n ) : (\n props.icon && <Icon name={props.icon} type=\"id\" size={'medium'} />\n )}\n </SonnerIcon>\n )}\n <SonnerContent>\n {props.content ? (\n props.content\n ) : (\n <>\n {props.title && <SonnerContentTitle $genre={props.genre}>{props.title}</SonnerContentTitle>}\n {props.description && (\n <SonnerContentDescription $genre={props.genre}>{props.description}</SonnerContentDescription>\n )}\n </>\n )}\n </SonnerContent>\n\n {props.button && props.button.content && (\n <SonnerButtonWrapper>\n <Button\n genre={props.buttonGenre}\n size=\"small\"\n onClick={() => props.hidingMode === 'clickOnButton' && props.handleOnClick(props.id, 'clickOnButton')}\n >\n {props.button.content}\n </Button>\n </SonnerButtonWrapper>\n )}\n </SonnerElementWrapper>\n </motion.div>\n )\n}\nconst MemoizedSonnerElement = memo(SonnerElement)\n","import styled, { css } from 'styled-components'\n\nimport { getFontSizeStyles } from '@local/components/typography'\nimport { addRemoveScrollbar, addTransition } from '@local/styles/add'\n\nimport { SonnerContentDescriptionProps, SonnerContentTitleProps, SonnerElementWrapperProps, SonnerLayoutProps } from '.'\n\nexport const SonnerLayout = styled.div<SonnerLayoutProps>`\n position: fixed;\n z-index: ${props => props.$zIndex};\n max-height: calc(100dvh - 20px);\n width: 320px;\n display: flex;\n margin: 10px;\n gap: ${props => props.$gap}px;\n box-sizing: content-box;\n overflow-y: visible;\n overflow-x: visible;\n ${addRemoveScrollbar}\n ${props =>\n props.$position === 'bottom-center'\n ? css`\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n justify-content: flex-start;\n flex-direction: column-reverse;\n `\n : props.$position === 'bottom-left'\n ? css`\n left: 0;\n bottom: 0;\n justify-content: flex-start;\n flex-direction: column-reverse;\n `\n : props.$position === 'bottom-right'\n ? css`\n right: 0;\n bottom: 0;\n justify-content: flex-start;\n flex-direction: column-reverse;\n `\n : props.$position === 'top-right'\n ? css`\n top: 0;\n right: 0;\n justify-content: flex-end;\n flex-direction: column;\n `\n : props.$position === 'top-left'\n ? css`\n top: 0;\n left: 0;\n justify-content: flex-end;\n flex-direction: column;\n `\n : props.$position === 'top-center'\n ? css`\n top: 0;\n left: 50%;\n transform: translateX(-50%);\n justify-content: flex-end;\n flex-direction: column;\n `\n : css``}\n`\n\nexport const SonnerElementWrapper = styled.div<SonnerElementWrapperProps>`\n background: ${props => props.theme.colors.sonner[props.$genre].wrapper.background};\n color: ${props => props.theme.colors.sonner[props.$genre].icon.color};\n border-radius: 12px;\n border-style: solid;\n border-color: ${props => props.theme.colors.sonner[props.$genre].wrapper.borderColor};\n border-width: 1px;\n padding: 16px 20px 16px 20px;\n display: flex;\n flex-direction: row;\n gap: 10px;\n align-items: center;\n justify-content: flex-start;\n align-self: stretch;\n flex-shrink: 0;\n flex-shrink: 1;\n min-width: 320px;\n min-height: 64px;\n transform-origin: center center;\n box-shadow: ${props => props.theme.colors.sonner[props.$genre].wrapper.boxShadow};\n overflow: visible;\n &:hover {\n box-shadow: ${props => props.theme.colors.sonner[props.$genre].wrapper.boxShadowHover};\n }\n ${addTransition};\n`\nexport const SonnerContent = styled.div`\n display: flex;\n flex-direction: column;\n gap: 2px;\n align-items: flex-start;\n justify-content: flex-start;\n align-self: stretch;\n flex-shrink: 0;\n flex: 1;\n position: relative;\n overflow: hidden;\n`\nexport const SonnerIcon = styled.div`\n display: contents;\n`\nexport const SonnerContentTitle = styled.div<SonnerContentTitleProps>`\n ${props => getFontSizeStyles(14, 700, props.theme.font.family)}\n color: ${props => props.theme.colors.sonner[props.$genre].title.color};\n text-align: left;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n`\nexport const SonnerContentDescription = styled.div<SonnerContentDescriptionProps>`\n ${props => getFontSizeStyles(12, 400, props.theme.font.family)}\n color:${props => props.theme.colors.sonner[props.$genre].description.color};\n text-align: left;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n`\nexport const SonnerButtonWrapper = styled.div``\n","import { ITheme } from '@local/theme'\n\nimport { ProviderSonnerProps } from '.'\n\nexport const DEFAULT_PROVIDER_SONNER_Z_INDEX = 100\nexport const DEFAULT_PROVIDER_SONNER_SCALE = 0.04\nexport const DEFAULT_PROVIDER_SONNER_Y = 100\nexport const DEFAULT_PROVIDER_SONNER_DURATION = 0.3\nexport const DEFAULT_PROVIDER_SONNER_GENRE: keyof ITheme['colors']['sonner'] = 'black'\nexport const DEFAULT_PROVIDER_SONNER_MARGIN_BOTTOM = 60\nexport const DEFAULT_PROVIDER_SONNER_BUTTON: ProviderSonnerProps['default']['button'] = {\n content: 'Undo',\n onClick: () => {}\n}\n","import { useContext } from 'react'\n\nimport { SonnerContext, SonnerContextProps } from '.'\n\nexport const useSonner = (): SonnerContextProps => {\n const context = useContext(SonnerContext)\n if (!context) {\n throw new Error('useSonner must be used within an ProviderSonner')\n }\n return context\n}\n"],"names":["SonnerContext","createContext","MemoizedSonnerElement","memo","props","jsx","motion","div","layout","initial","opacity","scale","y","isLastViewIndex","isTop","DEFAULT_PROVIDER_SONNER_Y","animate","isMoreThanLastViewIndex","pointerEvents","display","isHovered","index","DEFAULT_PROVIDER_SONNER_SCALE","marginTop","DEFAULT_PROVIDER_SONNER_MARGIN_BOTTOM","marginBottom","style","zIndex","whileInView","exit","transition","type","duration","DEFAULT_PROVIDER_SONNER_DURATION","children","jsxs","SonnerElementWrapper","$genre","genre","onClick","hidingMode","handleOnClick","id","isLoading","icon","SonnerIcon","Icon","size","name","SonnerContent","content","Fragment","title","SonnerContentTitle","description","SonnerContentDescription","button","SonnerButtonWrapper","Button","buttonGenre","SonnerLayout","styled","$zIndex","$gap","addRemoveScrollbar","$position","css","theme","colors","sonner","wrapper","background","color","borderColor","boxShadow","boxShadowHover","addTransition","getFontSizeStyles","font","family","DEFAULT_PROVIDER_SONNER_Z_INDEX","DEFAULT_PROVIDER_SONNER_GENRE","DEFAULT_PROVIDER_SONNER_BUTTON","memoVisibleToasts","useMemo","visibleToasts","memoDefaultDescription","_a","default","memoDefaultTitle","_b","memoDefaultButton","_c","memoDefaultHidingTime","hidingTime","_d","memoDefaultHidingMode","_e","memoDefaultGenre","_f","position","includes","contentHistory","setContentHistory","useState","setIsHovered","handleMouseEnter","useCallback","handleMouseLeave","remove","prev","itemToRemove","find","item","indexToRemove","updatedHistory","filter","map","length","toast","uuidv4","existingIndex","findIndex","newContent","unshift","setTimeout","promise","expectation","localToast","then","result","catch","error","useTheme","Provider","value","gap","onMouseEnter","onMouseLeave","AnimatePresence","isMoreThanLastViewIndexPlusOne","localGenre","localContent","localTitle","localDescription","context","useContext","Error"],"mappings":"qTA8BaA,EAAgBC,EAAAA,cAAyC,MAwQhEC,EAAwBC,EAAAA,KAjFPC,KAEnBC,kBAAAA,IAACC,EAAAA,OAAOC,IAAP,CAECC,QAAM,EACNC,QAAS,CACPC,QAAS,EACTC,MA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InE,IAClB,MAAM7B,EAAQ6B,EAAQ7B,MAChBuH,IAAiCzD,GAAoB9D,EAAQ8D,EAC7DlE,IAA0BkE,GAAoB9D,EAAQ8D,EAAoB,EAC1EtE,IAAkBsE,GAAoB9D,GAAS8D,EAAoB,EACnE0D,EAAa3F,EAAQZ,OAAS4D,EAC9BvC,EAAcQ,EAAMC,OAAOC,OAAOwE,GAAYrF,OAAOlB,MACrDE,EAAaU,EAAQV,YAAcwD,EAEnC8C,EAAe,YAAa5F,GAAUA,EAAQA,QAC9C6F,EAAa,UAAW7F,GAAUA,EAAQE,MAC1C4F,EAAmB,gBAAiB9F,GAAUA,EAAQI,YAC5D,SACEjD,kBAAAA,IAACH,EAAA,CACC0I,iCACA3H,0BACAJ,kBACAC,QAEA4B,GAAIQ,EAAQR,GACZE,KAAMM,EAAQN,KACdD,UAAWO,EAAQP,UACnBtB,QACAsC,cACAnB,aACApB,YACAkB,MAAOuG,EACP3F,QAAS4F,EACT1F,MAAO2F,GAActD,EACrBnC,YAAa0F,GAAoB1D,EACjC9B,OAAQN,EAAQM,QAAUmC,GAAqBT,EAC/CzC,iBAbKS,EAAQR,UAmBtBtC,EAAM8B,wPG5MY,KACvB,MAAM+G,EAAUC,EAAAA,WAAWlJ,GAC3B,IAAKiJ,EACH,MAAM,IAAIE,MAAM,mDAElB,OAAOF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"context.hooks-BDEwJHqB.cjs","sources":["../src/contexts/context-app/context.tsx","../src/contexts/context-app/context.styles.ts","../src/contexts/context-app/context.hooks.ts"],"sourcesContent":["import { Preview, PreviewAdditionalProps } from '@local/areas/preview'\nimport { IThemePaletteKeys, JeneseiPalette } from '@local/theme'\n\nimport { createContext, FC, useCallback, useEffect, useState } from 'react'\n\nimport { useScreenWidth } from '../context-screen-width'\nimport {\n AppContextProps,\n ProviderAppOutlet,\n ProviderAppOutletChildren,\n ProviderAppOutletFooter,\n ProviderAppOutletHeader,\n ProviderAppOutletLeftAside,\n ProviderAppOutletNav,\n ProviderAppOutletNotification,\n ProviderAppOutletRightAside,\n ProviderAppProps,\n ProviderAppWrapper\n} from '.'\n\nexport const AppContext = createContext<AppContextProps | null>(null)\n\n/**\n * ProviderApp component is a context context that manages various application-level states\n * such as background color, status bar color, background image, title, and description.\n * It uses several custom hooks to handle these states and provides them via the AppContext.\n *\n * @component\n *\n * @param {ProviderAppProps} props - The properties passed to the ProviderApp component.\n * @param {string} props.defaultBgColor - The default background color.\n * @param {string} props.defaultStatusBarColor - The default status bar color.\n * @param {string} [props.defaultBgImage] - The default background image.\n * @param {string} [props.defaultTitle] - The default title.\n * @param {string} [props.defaultDescription] - The default description.\n * @param {boolean} [props.isScrollOutlet] - Determines if the outlet should be scrollable.\n * @param {object} [props.footer] - The footer component and its properties.\n * @param {object} [props.notification] - The notification component and its properties.\n * @param {object} [props.header] - The header component and its properties.\n * @param {object} [props.nav] - The navigation component and its properties.\n * @param {object} [props.leftAside] - The left aside component and its properties.\n * @param {object} [props.rightAside] - The right aside component and its properties.\n * @param {React.ReactNode} props.children - The children components to be rendered inside the ProviderApp.\n *\n * @returns {JSX.Element} The rendered ProviderApp component.\n */\nexport const ProviderApp: FC<ProviderAppProps> = props => {\n const { bgColor, changeBgColor, historyBgColor, setDefaultBgColor } = useBgColor(props.defaultBgColor)\n const { statusBarColor, changeStatusBarColor, historyStatusBarColor, setDefaultStatusBarColor } = useStatusBarColor(\n props.defaultStatusBarColor\n )\n const { bgImage, changeBgImage, historyBgImage, setDefaultBgImage } = useBgImage(props.defaultBgImage || null)\n const { title, changeTitle, setHistoryTitle, setDefaultTitle } = useTitle(props.defaultTitle || null)\n const { description, changeDescription, historyDescription, setDefaultDescription } = useDescription(\n props.defaultDescription\n )\n const { changePreview, previewProps } = usePreview(props.defaultPreview)\n const { screenActual } = useScreenWidth()\n\n return (\n <AppContext.Provider\n value={{\n changePreview,\n changeStatusBarColor,\n changeBgColor,\n changeBgImage,\n changeTitle,\n changeDescription,\n historyStatusBarColor,\n historyBgColor,\n historyBgImage,\n setHistoryTitle,\n historyDescription,\n setDefaultStatusBarColor,\n setDefaultBgColor,\n setDefaultBgImage,\n setDefaultTitle,\n setDefaultDescription\n }}\n >\n <title>{title}</title>\n <meta name=\"description\" content={description} />\n <meta name=\"theme-color\" content={JeneseiPalette[statusBarColor]} />\n <meta name=\"apple-mobile-web-app-status-bar-style\" content=\"default\" />\n <meta name=\"mobile-web-app-capable\" content=\"yes\" />\n <Preview {...previewProps}>\n <ProviderAppWrapper $bgColor={bgColor} $bgImage={bgImage}>\n <ProviderAppOutlet\n $isScrollOutlet={props.isScrollOutlet}\n $footer={props.footer}\n $notification={props.notification}\n $header={props.header}\n $nav={props.nav}\n $leftAside={props.leftAside}\n $rightAside={props.rightAside}\n >\n {props.notification?.length && props.notification?.length?.[screenActual] ? (\n <ProviderAppOutletNotification $notification={props.notification}>\n {props.notification?.component || null}\n </ProviderAppOutletNotification>\n ) : null}\n\n {props.header?.length && props.header?.length?.[screenActual] ? (\n <ProviderAppOutletHeader $header={props.header}>\n {props.header?.component || null}\n </ProviderAppOutletHeader>\n ) : null}\n\n {props.nav?.length && props.nav?.length?.[screenActual] ? (\n <ProviderAppOutletNav $nav={props.nav}>{props.nav?.component || null}</ProviderAppOutletNav>\n ) : null}\n\n {props.leftAside?.length && props.leftAside?.length?.[screenActual] ? (\n <ProviderAppOutletLeftAside $leftAside={props.leftAside}>\n {props.leftAside?.component || null}\n </ProviderAppOutletLeftAside>\n ) : null}\n\n <ProviderAppOutletChildren $isScrollOutlet={props.isScrollOutlet} $main={props.main}>{props.children}</ProviderAppOutletChildren>\n\n {props.rightAside?.length && props.rightAside?.length?.[screenActual] ? (\n <ProviderAppOutletRightAside $rightAside={props.rightAside}>\n {props.rightAside?.component || null}\n </ProviderAppOutletRightAside>\n ) : null}\n\n {props.footer?.length && props.footer?.length?.[screenActual] ? (\n <ProviderAppOutletFooter $footer={props.footer}>\n {props.footer?.component || null}\n </ProviderAppOutletFooter>\n ) : null}\n </ProviderAppOutlet>\n </ProviderAppWrapper>\n </Preview>\n </AppContext.Provider>\n )\n}\n\n/**\n * Custom hook to manage preview properties.\n */\nconst usePreview = (defaultPreview: ProviderAppProps['defaultPreview']) => {\n const [previewProps, setPreviewProps] = useState(defaultPreview || { visible: true, defaultVisible: true })\n\n const changePreview = useCallback((newPreviewProps: PreviewAdditionalProps) => {\n setPreviewProps(newPreviewProps)\n }, [])\n\n useEffect(() => {\n if (defaultPreview) setPreviewProps(defaultPreview)\n }, [defaultPreview])\n\n return { previewProps, changePreview }\n}\n\n/**\n * Custom hook to manage background color state with history tracking.\n */\ntype BgColorState = {\n bgColor: IThemePaletteKeys\n bgColorHistory: IThemePaletteKeys[]\n bgColorIndex: number\n}\n\nexport const useBgColor = (defaultColor: IThemePaletteKeys) => {\n const [state, setState] = useState<BgColorState>({\n bgColor: defaultColor,\n bgColorHistory: [defaultColor],\n bgColorIndex: 0\n })\n\n const changeBgColor = useCallback((color: IThemePaletteKeys) => {\n setState(prev => {\n const newHistory = [...prev.bgColorHistory.slice(0, prev.bgColorIndex + 1), color]\n return {\n bgColor: color,\n bgColorHistory: newHistory,\n bgColorIndex: newHistory.length - 1\n }\n })\n }, [])\n\n const historyBgColor = useCallback((steps: number) => {\n setState(prev => {\n const newIndex = prev.bgColorIndex + steps\n if (newIndex >= 0 && newIndex < prev.bgColorHistory.length) {\n return {\n ...prev,\n bgColor: prev.bgColorHistory[newIndex],\n bgColorIndex: newIndex\n }\n }\n return prev\n })\n }, [])\n\n const setDefaultBgColor = useCallback(() => {\n setState({\n bgColor: defaultColor,\n bgColorHistory: [defaultColor],\n bgColorIndex: 0\n })\n }, [defaultColor])\n\n useEffect(() => {\n setState({\n bgColor: defaultColor,\n bgColorHistory: [defaultColor],\n bgColorIndex: 0\n })\n }, [defaultColor])\n\n return {\n bgColor: state.bgColor,\n changeBgColor,\n historyBgColor,\n setDefaultBgColor,\n bgColorIndex: state.bgColorIndex\n }\n}\n\n/**\n * Custom hook to manage the status bar color with history tracking.\n */\ntype StatusBarColorState = {\n statusBarColor: IThemePaletteKeys\n statusBarColorHistory: IThemePaletteKeys[]\n statusBarColorIndex: number\n}\n\nexport const useStatusBarColor = (defaultColor: IThemePaletteKeys) => {\n const [state, setState] = useState<StatusBarColorState>({\n statusBarColor: defaultColor,\n statusBarColorHistory: [defaultColor],\n statusBarColorIndex: 0\n })\n\n const changeStatusBarColor = useCallback((color: IThemePaletteKeys) => {\n setState(prev => {\n const newHistory = [...prev.statusBarColorHistory.slice(0, prev.statusBarColorIndex + 1), color]\n return {\n statusBarColor: color,\n statusBarColorHistory: newHistory,\n statusBarColorIndex: newHistory.length - 1\n }\n })\n }, [])\n\n const historyStatusBarColor = useCallback((steps: number) => {\n setState(prev => {\n const newIndex = prev.statusBarColorIndex + steps\n if (newIndex >= 0 && newIndex < prev.statusBarColorHistory.length) {\n return {\n ...prev,\n statusBarColor: prev.statusBarColorHistory[newIndex],\n statusBarColorIndex: newIndex\n }\n }\n return prev\n })\n }, [])\n\n const setDefaultStatusBarColor = useCallback(() => {\n setState({\n statusBarColor: defaultColor,\n statusBarColorHistory: [defaultColor],\n statusBarColorIndex: 0\n })\n }, [defaultColor])\n\n useEffect(() => {\n setState({\n statusBarColor: defaultColor,\n statusBarColorHistory: [defaultColor],\n statusBarColorIndex: 0\n })\n }, [defaultColor])\n\n return {\n statusBarColor: state.statusBarColor,\n changeStatusBarColor,\n historyStatusBarColor,\n setDefaultStatusBarColor,\n statusBarColorIndex: state.statusBarColorIndex\n }\n}\n\n/**\n * Custom hook to manage background images with history.\n */\ntype BgImageState = {\n bgImage: string | null\n bgImageHistory: (string | null)[]\n bgImageIndex: number\n}\n\nexport const useBgImage = (defaultImage: string | null) => {\n const [state, setState] = useState<BgImageState>({\n bgImage: defaultImage,\n bgImageHistory: [defaultImage],\n bgImageIndex: 0\n })\n\n const changeBgImage = useCallback((image: string | null) => {\n setState(prev => {\n const newHistory = [...prev.bgImageHistory.slice(0, prev.bgImageIndex + 1), image]\n return {\n bgImage: image,\n bgImageHistory: newHistory,\n bgImageIndex: newHistory.length - 1\n }\n })\n }, [])\n\n const historyBgImage = useCallback((steps: number) => {\n setState(prev => {\n const newIndex = prev.bgImageIndex + steps\n if (newIndex >= 0 && newIndex < prev.bgImageHistory.length) {\n return {\n ...prev,\n bgImage: prev.bgImageHistory[newIndex],\n bgImageIndex: newIndex\n }\n }\n return prev\n })\n }, [])\n\n const setDefaultBgImage = useCallback(() => {\n setState({\n bgImage: defaultImage,\n bgImageHistory: [defaultImage],\n bgImageIndex: 0\n })\n }, [defaultImage])\n\n useEffect(() => {\n setState({\n bgImage: defaultImage,\n bgImageHistory: [defaultImage],\n bgImageIndex: 0\n })\n }, [defaultImage])\n\n return {\n bgImage: state.bgImage,\n changeBgImage,\n historyBgImage,\n setDefaultBgImage,\n bgImageIndex: state.bgImageIndex\n }\n}\n\ntype TitleState = {\n title: string | null\n titleHistory: (string | null)[]\n titleIndex: number\n}\n/**\n * Custom hook to manage the document title with history tracking.\n */\nconst useTitle = (defaultTitle: string | null) => {\n const [state, setState] = useState<TitleState>({\n title: defaultTitle,\n titleHistory: [defaultTitle],\n titleIndex: 0\n })\n\n const changeTitle = useCallback((newTitle: string | null) => {\n setState(prev => {\n const newHistory = [...prev.titleHistory.slice(0, prev.titleIndex + 1), newTitle]\n return {\n title: newTitle,\n titleHistory: newHistory,\n titleIndex: newHistory.length - 1\n }\n })\n }, [])\n\n const setHistoryTitle = useCallback((steps: number) => {\n setState(prev => {\n const newIndex = prev.titleIndex + steps\n if (newIndex >= 0 && newIndex < prev.titleHistory.length) {\n return {\n ...prev,\n title: prev.titleHistory[newIndex],\n titleIndex: newIndex\n }\n }\n return prev\n })\n }, [])\n\n const setDefaultTitle = useCallback(() => {\n setState({\n title: defaultTitle,\n titleHistory: [defaultTitle],\n titleIndex: 0\n })\n }, [defaultTitle])\n\n useEffect(() => {\n setState({\n title: defaultTitle,\n titleHistory: [defaultTitle],\n titleIndex: 0\n })\n }, [defaultTitle])\n\n return {\n title: state.title,\n titleIndex: state.titleIndex,\n titleHistory: state.titleHistory,\n changeTitle,\n setHistoryTitle,\n setDefaultTitle\n }\n}\n\n/**\n * Custom hook to manage a description with history tracking.\n */\ntype DescriptionState = {\n description: string\n descriptionHistory: string[]\n descriptionIndex: number\n}\n\nexport const useDescription = (defaultDescription: string) => {\n const [state, setState] = useState<DescriptionState>({\n description: defaultDescription,\n descriptionHistory: [defaultDescription],\n descriptionIndex: 0\n })\n\n const changeDescription = useCallback((newDescription: string) => {\n setState(prev => {\n const newHistory = [...prev.descriptionHistory.slice(0, prev.descriptionIndex + 1), newDescription]\n return {\n description: newDescription,\n descriptionHistory: newHistory,\n descriptionIndex: newHistory.length - 1\n }\n })\n }, [])\n\n const historyDescription = useCallback((steps: number) => {\n setState(prev => {\n const newIndex = prev.descriptionIndex + steps\n if (newIndex >= 0 && newIndex < prev.descriptionHistory.length) {\n return {\n ...prev,\n description: prev.descriptionHistory[newIndex],\n descriptionIndex: newIndex\n }\n }\n return prev\n })\n }, [])\n\n const setDefaultDescription = useCallback(() => {\n setState({\n description: defaultDescription,\n descriptionHistory: [defaultDescription],\n descriptionIndex: 0\n })\n }, [defaultDescription])\n\n useEffect(() => {\n setState({\n description: defaultDescription,\n descriptionHistory: [defaultDescription],\n descriptionIndex: 0\n })\n }, [defaultDescription])\n\n return {\n description: state.description,\n changeDescription,\n historyDescription,\n setDefaultDescription,\n descriptionIndex: state.descriptionIndex\n }\n}\n","import { addGridTransition } from '@local/styles/add';\nimport { JeneseiPalette } from '@local/theme';\n\nimport { css, styled } from 'styled-components';\n\nimport { ScreenWidthProps } from '../context-screen-width';\nimport { ProviderAppOutletChildrenProps, ProviderAppOutletProps, ProviderAppWrapperProps } from '.';\n\nexport const ProviderAppWrapper = styled.div<ProviderAppWrapperProps>`\n display: flex;\n flex-direction: column;\n max-width: 100dvw;\n min-height: 100dvh;\n width: 100%;\n overflow: hidden;\n position: relative;\n\n background-color: ${(props) => JeneseiPalette[props.$bgColor]};\n background-image: url(${(props) => props.$bgImage});\n`;\n\nconst generateGridTemplateAreas = (props: ProviderAppOutletProps) => {\n let templateAreas = `\n \"notification notification notification\"\n \"header header header\"\n \"nav nav nav\"\n \"leftAside children rightAside\"\n \"footer footer footer\"\n `;\n\n templateAreas = `\n \"notification notification notification\"\n \"${props.$leftAside?.isTopHeader ? 'leftAside' : 'header'} header ${props.$rightAside?.isTopHeader ? 'rightAside' : 'header'}\"\n \"${props.$leftAside?.isTopHeader ? 'leftAside' : props.$leftAside?.isTopNav ? 'leftAside' : 'nav'} nav ${props.$rightAside?.isTopHeader ? 'rightAside' : props.$rightAside?.isTopNav ? 'rightAside' : 'nav'}\"\n \"leftAside children rightAside\"\n \"${props.$leftAside?.isTopFooter ? 'leftAside' : 'footer'} footer ${props.$rightAside?.isTopFooter ? 'rightAside' : 'footer'}\"\n `;\n\n return templateAreas;\n};\n\nfunction toStyledAppOutletCSS(props: {\n leftAsideWidth: string;\n rightAsideWidth: string;\n notificationHeight: string;\n headerHeight: string;\n navHeight: string;\n footerHeight: string;\n}) {\n return css`\n grid-template-columns: ${() => `${props.leftAsideWidth} 1fr ${props.rightAsideWidth}`};\n grid-template-rows: ${() =>\n `${props.notificationHeight} ${props.headerHeight} ${props.navHeight} 1fr ${props.footerHeight}`};\n `;\n}\nconst addSXAppOutlet = css<ProviderAppOutletProps>`\n ${(props) => {\n const leftAsideWidth = props.$leftAside?.length?.default;\n const rightAsideWidth = props.$rightAside?.length?.default;\n const notificationHeight = props.$notification?.length?.default;\n const headerHeight = props.$header?.length?.default;\n const navHeight = props.$nav?.length?.default;\n const footerHeight = props.$footer?.length?.default;\n return toStyledAppOutletCSS({\n leftAsideWidth: leftAsideWidth ?? '0px',\n rightAsideWidth: rightAsideWidth ?? '0px',\n notificationHeight: notificationHeight ?? '0px',\n headerHeight: headerHeight ?? '0px',\n navHeight: navHeight ?? '0px',\n footerHeight: footerHeight ?? '0px',\n });\n }}\n ${(props) => {\n const leftAsideWidth = props.$leftAside?.length;\n const rightAsideWidth = props.$rightAside?.length;\n const notificationHeight = props.$notification?.length;\n const headerHeight = props.$header?.length;\n const navHeight = props.$nav?.length;\n const footerHeight = props.$footer?.length;\n\n return Object.entries(props.theme.screens)\n .filter(([key]) => key !== 'default')\n .map(([key]) => {\n const deviceKey = key as keyof ScreenWidthProps<string | null>;\n const screenWidth = props.theme.screens[deviceKey]?.width;\n if (!screenWidth) return null;\n return css`\n @media (max-width: ${screenWidth}px) {\n ${toStyledAppOutletCSS({\n leftAsideWidth: leftAsideWidth && leftAsideWidth[deviceKey] ? leftAsideWidth[deviceKey] : '0px',\n rightAsideWidth: rightAsideWidth && rightAsideWidth[deviceKey] ? rightAsideWidth[deviceKey] : '0px',\n notificationHeight:\n notificationHeight && notificationHeight[deviceKey] ? notificationHeight[deviceKey] : '0px',\n headerHeight: headerHeight && headerHeight[deviceKey] ? headerHeight[deviceKey] : '0px',\n navHeight: navHeight && navHeight[deviceKey] ? navHeight[deviceKey] : '0px',\n footerHeight: footerHeight && footerHeight[deviceKey] ? footerHeight[deviceKey] : '0px',\n })}\n }\n `;\n });\n }}\n`;\nexport const ProviderAppOutlet = styled.div<ProviderAppOutletProps>`\n display: grid;\n width: 100%;\n height: 100%;\n\n overflow-y: auto;\n overflow-x: hidden;\n scrollbar-gutter: stable;\n \n min-height: 100dvh;\n max-height: 100dvh;\n \n ${addGridTransition};\n\n ${(props) => `\n grid-template-areas: ${generateGridTemplateAreas(props)};\n `}\n\n ${addSXAppOutlet};\n`;\n\nexport const ProviderAppOutletChildren = styled.main<ProviderAppOutletChildrenProps>`\n z-index: ${(props) => props?.$main?.zIndex ?? 'auto'};\n display: flex;\n grid-area: children;\n max-width: 100%;\n max-height: 100%;\n overflow: ${(props) => (props.$isScrollOutlet ? 'auto' : 'visible')};\n scrollbar-gutter: stable;\n`;\n\nexport const ProviderAppOutletNotification = styled.section<ProviderAppOutletProps>`\n z-index: ${(props) => props?.$notification?.zIndex ?? 'auto'};\n grid-area: notification;\n display: flex;\n`;\n\nexport const ProviderAppOutletHeader = styled.header<ProviderAppOutletProps>`\n z-index: ${(props) => props?.$header?.zIndex ?? 'auto'};\n grid-area: header;\n display: flex;\n`;\n\nexport const ProviderAppOutletFooter = styled.footer<ProviderAppOutletProps>`\n z-index: ${(props) => props?.$footer?.zIndex ?? 'auto'};\n grid-area: footer;\n display: flex;\n`;\n\nexport const ProviderAppOutletNav = styled.nav<ProviderAppOutletProps>`\n z-index: ${(props) => props?.$nav?.zIndex ?? 'auto'};\n grid-area: nav;\n display: flex;\n`;\n\nexport const ProviderAppOutletLeftAside = styled.aside<ProviderAppOutletProps>`\n z-index: ${(props) => props?.$leftAside?.zIndex ?? 'auto'};\n grid-area: leftAside;\n display: flex;\n`;\n\nexport const ProviderAppOutletRightAside = styled.aside<ProviderAppOutletProps>`\n z-index: ${(props) => props?.$rightAside?.zIndex ?? 'auto'};\n grid-area: rightAside;\n display: flex;\n`;\n","import { useContext } from 'react'\n\nimport { AppContext } from '.'\n\n/**\n * Custom hook to access the AppContext.\n */\nexport const useApp = () => {\n const context = useContext(AppContext)\n if (!context) {\n throw new Error('useApp must be used within an ProviderApp')\n }\n return context\n}\n"],"names":["AppContext","createContext","usePreview","defaultPreview","previewProps","setPreviewProps","useState","visible","defaultVisible","changePreview","useCallback","newPreviewProps","useEffect","useBgColor","defaultColor","state","setState","bgColor","bgColorHistory","bgColorIndex","changeBgColor","color","prev","newHistory","slice","length","historyBgColor","steps","newIndex","setDefaultBgColor","useStatusBarColor","statusBarColor","statusBarColorHistory","statusBarColorIndex","changeStatusBarColor","historyStatusBarColor","setDefaultStatusBarColor","useBgImage","defaultImage","bgImage","bgImageHistory","bgImageIndex","changeBgImage","image","historyBgImage","setDefaultBgImage","useTitle","defaultTitle","title","titleHistory","titleIndex","changeTitle","newTitle","setHistoryTitle","setDefaultTitle","useDescription","defaultDescription","description","descriptionHistory","descriptionIndex","changeDescription","newDescription","historyDescription","setDefaultDescription","ProviderAppWrapper","styled","div","props","JeneseiPalette","$bgColor","$bgImage","toStyledAppOutletCSS","css","leftAsideWidth","rightAsideWidth","notificationHeight","headerHeight","navHeight","footerHeight","addSXAppOutlet","_b","_a","$leftAside","default","_d","_c","$rightAside","_f","_e","$notification","_h","_g","$header","_j","_i","$nav","_l","_k","$footer","Object","entries","theme","screens","filter","key","map","deviceKey","screenWidth","width","ProviderAppOutlet","addGridTransition","templateAreas","isTopHeader","isTopNav","isTopFooter","generateGridTemplateAreas","ProviderAppOutletChildren","main","$main","zIndex","$isScrollOutlet","ProviderAppOutletNotification","section","ProviderAppOutletHeader","header","ProviderAppOutletFooter","footer","ProviderAppOutletNav","nav","ProviderAppOutletLeftAside","aside","ProviderAppOutletRightAside","defaultBgColor","defaultStatusBarColor","defaultBgImage","screenActual","useScreenWidth","jsxs","Provider","value","children","jsx","name","content","Preview","isScrollOutlet","notification","leftAside","rightAside","component","_m","_o","_n","_q","_s","_r","_u","_w","_v","context","useContext","Error"],"mappings":"mQAoBaA,EAAaC,EAAAA,cAAsC,MAyH1DC,EAAcC,IAClB,MAAOC,EAAcC,GAAmBC,WAASH,GAAkB,CAAEI,SAAS,EAAMC,gBAAgB,IAE9FC,EAAgBC,cAAaC,IACjCN,EAAgBM,IACf,IAMH,OAJAC,EAAAA,UAAU,KACJT,KAAgCA,IACnC,CAACA,IAEG,CAAEC,eAAcK,kBAYZI,EAAcC,IACzB,MAAOC,EAAOC,GAAYV,WAAuB,CAC/CW,QAASH,EACTI,eAAgB,CAACJ,GACjBK,aAAc,IAGVC,EAAgBV,cAAaW,IACjCL,EAASM,IACP,MAAMC,EAAa,IAAID,EAAKJ,eAAeM,MAAM,EAAGF,EAAKH,aAAe,GAAIE,GAC5E,MAAO,CACLJ,QAASI,EACTH,eAAgBK,EAChBJ,aAAcI,EAAWE,OAAS,MAGrC,IAEGC,EAAiBhB,cAAaiB,IAClCX,EAASM,IACP,MAAMM,EAAWN,EAAKH,aAAeQ,EACrC,OAAIC,GAAY,GAAK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AC,EAAA3F,EAAM2D,aAAN,EAAAgC,EAAcrI,aAAd,EAAAoI,EAAuBtB,KAC9CM,wBAAChB,EAAA,CAAwB3B,QAAS/B,EAAM2D,OACrCc,qBAAMd,iBAAQuB,YAAa,OAE5B,kVE3HM,KACpB,MAAMU,EAAUC,EAAAA,WAAWhK,GAC3B,IAAK+J,EACH,MAAM,IAAIE,MAAM,6CAElB,OAAOF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"context.hooks-DTdppyho.js","sources":["../src/contexts/context-app/context.tsx","../src/contexts/context-app/context.styles.ts","../src/contexts/context-app/context.hooks.ts"],"sourcesContent":["import { Preview, PreviewAdditionalProps } from '@local/areas/preview'\nimport { IThemePaletteKeys, JeneseiPalette } from '@local/theme'\n\nimport { createContext, FC, useCallback, useEffect, useState } from 'react'\n\nimport { useScreenWidth } from '../context-screen-width'\nimport {\n AppContextProps,\n ProviderAppOutlet,\n ProviderAppOutletChildren,\n ProviderAppOutletFooter,\n ProviderAppOutletHeader,\n ProviderAppOutletLeftAside,\n ProviderAppOutletNav,\n ProviderAppOutletNotification,\n ProviderAppOutletRightAside,\n ProviderAppProps,\n ProviderAppWrapper\n} from '.'\n\nexport const AppContext = createContext<AppContextProps | null>(null)\n\n/**\n * ProviderApp component is a context context that manages various application-level states\n * such as background color, status bar color, background image, title, and description.\n * It uses several custom hooks to handle these states and provides them via the AppContext.\n *\n * @component\n *\n * @param {ProviderAppProps} props - The properties passed to the ProviderApp component.\n * @param {string} props.defaultBgColor - The default background color.\n * @param {string} props.defaultStatusBarColor - The default status bar color.\n * @param {string} [props.defaultBgImage] - The default background image.\n * @param {string} [props.defaultTitle] - The default title.\n * @param {string} [props.defaultDescription] - The default description.\n * @param {boolean} [props.isScrollOutlet] - Determines if the outlet should be scrollable.\n * @param {object} [props.footer] - The footer component and its properties.\n * @param {object} [props.notification] - The notification component and its properties.\n * @param {object} [props.header] - The header component and its properties.\n * @param {object} [props.nav] - The navigation component and its properties.\n * @param {object} [props.leftAside] - The left aside component and its properties.\n * @param {object} [props.rightAside] - The right aside component and its properties.\n * @param {React.ReactNode} props.children - The children components to be rendered inside the ProviderApp.\n *\n * @returns {JSX.Element} The rendered ProviderApp component.\n */\nexport const ProviderApp: FC<ProviderAppProps> = props => {\n const { bgColor, changeBgColor, historyBgColor, setDefaultBgColor } = useBgColor(props.defaultBgColor)\n const { statusBarColor, changeStatusBarColor, historyStatusBarColor, setDefaultStatusBarColor } = useStatusBarColor(\n props.defaultStatusBarColor\n )\n const { bgImage, changeBgImage, historyBgImage, setDefaultBgImage } = useBgImage(props.defaultBgImage || null)\n const { title, changeTitle, setHistoryTitle, setDefaultTitle } = useTitle(props.defaultTitle || null)\n const { description, changeDescription, historyDescription, setDefaultDescription } = useDescription(\n props.defaultDescription\n )\n const { changePreview, previewProps } = usePreview(props.defaultPreview)\n const { screenActual } = useScreenWidth()\n\n return (\n <AppContext.Provider\n value={{\n changePreview,\n changeStatusBarColor,\n changeBgColor,\n changeBgImage,\n changeTitle,\n changeDescription,\n historyStatusBarColor,\n historyBgColor,\n historyBgImage,\n setHistoryTitle,\n historyDescription,\n setDefaultStatusBarColor,\n setDefaultBgColor,\n setDefaultBgImage,\n setDefaultTitle,\n setDefaultDescription\n }}\n >\n <title>{title}</title>\n <meta name=\"description\" content={description} />\n <meta name=\"theme-color\" content={JeneseiPalette[statusBarColor]} />\n <meta name=\"apple-mobile-web-app-status-bar-style\" content=\"default\" />\n <meta name=\"mobile-web-app-capable\" content=\"yes\" />\n <Preview {...previewProps}>\n <ProviderAppWrapper $bgColor={bgColor} $bgImage={bgImage}>\n <ProviderAppOutlet\n $isScrollOutlet={props.isScrollOutlet}\n $footer={props.footer}\n $notification={props.notification}\n $header={props.header}\n $nav={props.nav}\n $leftAside={props.leftAside}\n $rightAside={props.rightAside}\n >\n {props.notification?.length && props.notification?.length?.[screenActual] ? (\n <ProviderAppOutletNotification $notification={props.notification}>\n {props.notification?.component || null}\n </ProviderAppOutletNotification>\n ) : null}\n\n {props.header?.length && props.header?.length?.[screenActual] ? (\n <ProviderAppOutletHeader $header={props.header}>\n {props.header?.component || null}\n </ProviderAppOutletHeader>\n ) : null}\n\n {props.nav?.length && props.nav?.length?.[screenActual] ? (\n <ProviderAppOutletNav $nav={props.nav}>{props.nav?.component || null}</ProviderAppOutletNav>\n ) : null}\n\n {props.leftAside?.length && props.leftAside?.length?.[screenActual] ? (\n <ProviderAppOutletLeftAside $leftAside={props.leftAside}>\n {props.leftAside?.component || null}\n </ProviderAppOutletLeftAside>\n ) : null}\n\n <ProviderAppOutletChildren $isScrollOutlet={props.isScrollOutlet} $main={props.main}>{props.children}</ProviderAppOutletChildren>\n\n {props.rightAside?.length && props.rightAside?.length?.[screenActual] ? (\n <ProviderAppOutletRightAside $rightAside={props.rightAside}>\n {props.rightAside?.component || null}\n </ProviderAppOutletRightAside>\n ) : null}\n\n {props.footer?.length && props.footer?.length?.[screenActual] ? (\n <ProviderAppOutletFooter $footer={props.footer}>\n {props.footer?.component || null}\n </ProviderAppOutletFooter>\n ) : null}\n </ProviderAppOutlet>\n </ProviderAppWrapper>\n </Preview>\n </AppContext.Provider>\n )\n}\n\n/**\n * Custom hook to manage preview properties.\n */\nconst usePreview = (defaultPreview: ProviderAppProps['defaultPreview']) => {\n const [previewProps, setPreviewProps] = useState(defaultPreview || { visible: true, defaultVisible: true })\n\n const changePreview = useCallback((newPreviewProps: PreviewAdditionalProps) => {\n setPreviewProps(newPreviewProps)\n }, [])\n\n useEffect(() => {\n if (defaultPreview) setPreviewProps(defaultPreview)\n }, [defaultPreview])\n\n return { previewProps, changePreview }\n}\n\n/**\n * Custom hook to manage background color state with history tracking.\n */\ntype BgColorState = {\n bgColor: IThemePaletteKeys\n bgColorHistory: IThemePaletteKeys[]\n bgColorIndex: number\n}\n\nexport const useBgColor = (defaultColor: IThemePaletteKeys) => {\n const [state, setState] = useState<BgColorState>({\n bgColor: defaultColor,\n bgColorHistory: [defaultColor],\n bgColorIndex: 0\n })\n\n const changeBgColor = useCallback((color: IThemePaletteKeys) => {\n setState(prev => {\n const newHistory = [...prev.bgColorHistory.slice(0, prev.bgColorIndex + 1), color]\n return {\n bgColor: color,\n bgColorHistory: newHistory,\n bgColorIndex: newHistory.length - 1\n }\n })\n }, [])\n\n const historyBgColor = useCallback((steps: number) => {\n setState(prev => {\n const newIndex = prev.bgColorIndex + steps\n if (newIndex >= 0 && newIndex < prev.bgColorHistory.length) {\n return {\n ...prev,\n bgColor: prev.bgColorHistory[newIndex],\n bgColorIndex: newIndex\n }\n }\n return prev\n })\n }, [])\n\n const setDefaultBgColor = useCallback(() => {\n setState({\n bgColor: defaultColor,\n bgColorHistory: [defaultColor],\n bgColorIndex: 0\n })\n }, [defaultColor])\n\n useEffect(() => {\n setState({\n bgColor: defaultColor,\n bgColorHistory: [defaultColor],\n bgColorIndex: 0\n })\n }, [defaultColor])\n\n return {\n bgColor: state.bgColor,\n changeBgColor,\n historyBgColor,\n setDefaultBgColor,\n bgColorIndex: state.bgColorIndex\n }\n}\n\n/**\n * Custom hook to manage the status bar color with history tracking.\n */\ntype StatusBarColorState = {\n statusBarColor: IThemePaletteKeys\n statusBarColorHistory: IThemePaletteKeys[]\n statusBarColorIndex: number\n}\n\nexport const useStatusBarColor = (defaultColor: IThemePaletteKeys) => {\n const [state, setState] = useState<StatusBarColorState>({\n statusBarColor: defaultColor,\n statusBarColorHistory: [defaultColor],\n statusBarColorIndex: 0\n })\n\n const changeStatusBarColor = useCallback((color: IThemePaletteKeys) => {\n setState(prev => {\n const newHistory = [...prev.statusBarColorHistory.slice(0, prev.statusBarColorIndex + 1), color]\n return {\n statusBarColor: color,\n statusBarColorHistory: newHistory,\n statusBarColorIndex: newHistory.length - 1\n }\n })\n }, [])\n\n const historyStatusBarColor = useCallback((steps: number) => {\n setState(prev => {\n const newIndex = prev.statusBarColorIndex + steps\n if (newIndex >= 0 && newIndex < prev.statusBarColorHistory.length) {\n return {\n ...prev,\n statusBarColor: prev.statusBarColorHistory[newIndex],\n statusBarColorIndex: newIndex\n }\n }\n return prev\n })\n }, [])\n\n const setDefaultStatusBarColor = useCallback(() => {\n setState({\n statusBarColor: defaultColor,\n statusBarColorHistory: [defaultColor],\n statusBarColorIndex: 0\n })\n }, [defaultColor])\n\n useEffect(() => {\n setState({\n statusBarColor: defaultColor,\n statusBarColorHistory: [defaultColor],\n statusBarColorIndex: 0\n })\n }, [defaultColor])\n\n return {\n statusBarColor: state.statusBarColor,\n changeStatusBarColor,\n historyStatusBarColor,\n setDefaultStatusBarColor,\n statusBarColorIndex: state.statusBarColorIndex\n }\n}\n\n/**\n * Custom hook to manage background images with history.\n */\ntype BgImageState = {\n bgImage: string | null\n bgImageHistory: (string | null)[]\n bgImageIndex: number\n}\n\nexport const useBgImage = (defaultImage: string | null) => {\n const [state, setState] = useState<BgImageState>({\n bgImage: defaultImage,\n bgImageHistory: [defaultImage],\n bgImageIndex: 0\n })\n\n const changeBgImage = useCallback((image: string | null) => {\n setState(prev => {\n const newHistory = [...prev.bgImageHistory.slice(0, prev.bgImageIndex + 1), image]\n return {\n bgImage: image,\n bgImageHistory: newHistory,\n bgImageIndex: newHistory.length - 1\n }\n })\n }, [])\n\n const historyBgImage = useCallback((steps: number) => {\n setState(prev => {\n const newIndex = prev.bgImageIndex + steps\n if (newIndex >= 0 && newIndex < prev.bgImageHistory.length) {\n return {\n ...prev,\n bgImage: prev.bgImageHistory[newIndex],\n bgImageIndex: newIndex\n }\n }\n return prev\n })\n }, [])\n\n const setDefaultBgImage = useCallback(() => {\n setState({\n bgImage: defaultImage,\n bgImageHistory: [defaultImage],\n bgImageIndex: 0\n })\n }, [defaultImage])\n\n useEffect(() => {\n setState({\n bgImage: defaultImage,\n bgImageHistory: [defaultImage],\n bgImageIndex: 0\n })\n }, [defaultImage])\n\n return {\n bgImage: state.bgImage,\n changeBgImage,\n historyBgImage,\n setDefaultBgImage,\n bgImageIndex: state.bgImageIndex\n }\n}\n\ntype TitleState = {\n title: string | null\n titleHistory: (string | null)[]\n titleIndex: number\n}\n/**\n * Custom hook to manage the document title with history tracking.\n */\nconst useTitle = (defaultTitle: string | null) => {\n const [state, setState] = useState<TitleState>({\n title: defaultTitle,\n titleHistory: [defaultTitle],\n titleIndex: 0\n })\n\n const changeTitle = useCallback((newTitle: string | null) => {\n setState(prev => {\n const newHistory = [...prev.titleHistory.slice(0, prev.titleIndex + 1), newTitle]\n return {\n title: newTitle,\n titleHistory: newHistory,\n titleIndex: newHistory.length - 1\n }\n })\n }, [])\n\n const setHistoryTitle = useCallback((steps: number) => {\n setState(prev => {\n const newIndex = prev.titleIndex + steps\n if (newIndex >= 0 && newIndex < prev.titleHistory.length) {\n return {\n ...prev,\n title: prev.titleHistory[newIndex],\n titleIndex: newIndex\n }\n }\n return prev\n })\n }, [])\n\n const setDefaultTitle = useCallback(() => {\n setState({\n title: defaultTitle,\n titleHistory: [defaultTitle],\n titleIndex: 0\n })\n }, [defaultTitle])\n\n useEffect(() => {\n setState({\n title: defaultTitle,\n titleHistory: [defaultTitle],\n titleIndex: 0\n })\n }, [defaultTitle])\n\n return {\n title: state.title,\n titleIndex: state.titleIndex,\n titleHistory: state.titleHistory,\n changeTitle,\n setHistoryTitle,\n setDefaultTitle\n }\n}\n\n/**\n * Custom hook to manage a description with history tracking.\n */\ntype DescriptionState = {\n description: string\n descriptionHistory: string[]\n descriptionIndex: number\n}\n\nexport const useDescription = (defaultDescription: string) => {\n const [state, setState] = useState<DescriptionState>({\n description: defaultDescription,\n descriptionHistory: [defaultDescription],\n descriptionIndex: 0\n })\n\n const changeDescription = useCallback((newDescription: string) => {\n setState(prev => {\n const newHistory = [...prev.descriptionHistory.slice(0, prev.descriptionIndex + 1), newDescription]\n return {\n description: newDescription,\n descriptionHistory: newHistory,\n descriptionIndex: newHistory.length - 1\n }\n })\n }, [])\n\n const historyDescription = useCallback((steps: number) => {\n setState(prev => {\n const newIndex = prev.descriptionIndex + steps\n if (newIndex >= 0 && newIndex < prev.descriptionHistory.length) {\n return {\n ...prev,\n description: prev.descriptionHistory[newIndex],\n descriptionIndex: newIndex\n }\n }\n return prev\n })\n }, [])\n\n const setDefaultDescription = useCallback(() => {\n setState({\n description: defaultDescription,\n descriptionHistory: [defaultDescription],\n descriptionIndex: 0\n })\n }, [defaultDescription])\n\n useEffect(() => {\n setState({\n description: defaultDescription,\n descriptionHistory: [defaultDescription],\n descriptionIndex: 0\n })\n }, [defaultDescription])\n\n return {\n description: state.description,\n changeDescription,\n historyDescription,\n setDefaultDescription,\n descriptionIndex: state.descriptionIndex\n }\n}\n","import { addGridTransition } from '@local/styles/add';\nimport { JeneseiPalette } from '@local/theme';\n\nimport { css, styled } from 'styled-components';\n\nimport { ScreenWidthProps } from '../context-screen-width';\nimport { ProviderAppOutletChildrenProps, ProviderAppOutletProps, ProviderAppWrapperProps } from '.';\n\nexport const ProviderAppWrapper = styled.div<ProviderAppWrapperProps>`\n display: flex;\n flex-direction: column;\n max-width: 100dvw;\n min-height: 100dvh;\n width: 100%;\n overflow: hidden;\n position: relative;\n\n background-color: ${(props) => JeneseiPalette[props.$bgColor]};\n background-image: url(${(props) => props.$bgImage});\n`;\n\nconst generateGridTemplateAreas = (props: ProviderAppOutletProps) => {\n let templateAreas = `\n \"notification notification notification\"\n \"header header header\"\n \"nav nav nav\"\n \"leftAside children rightAside\"\n \"footer footer footer\"\n `;\n\n templateAreas = `\n \"notification notification notification\"\n \"${props.$leftAside?.isTopHeader ? 'leftAside' : 'header'} header ${props.$rightAside?.isTopHeader ? 'rightAside' : 'header'}\"\n \"${props.$leftAside?.isTopHeader ? 'leftAside' : props.$leftAside?.isTopNav ? 'leftAside' : 'nav'} nav ${props.$rightAside?.isTopHeader ? 'rightAside' : props.$rightAside?.isTopNav ? 'rightAside' : 'nav'}\"\n \"leftAside children rightAside\"\n \"${props.$leftAside?.isTopFooter ? 'leftAside' : 'footer'} footer ${props.$rightAside?.isTopFooter ? 'rightAside' : 'footer'}\"\n `;\n\n return templateAreas;\n};\n\nfunction toStyledAppOutletCSS(props: {\n leftAsideWidth: string;\n rightAsideWidth: string;\n notificationHeight: string;\n headerHeight: string;\n navHeight: string;\n footerHeight: string;\n}) {\n return css`\n grid-template-columns: ${() => `${props.leftAsideWidth} 1fr ${props.rightAsideWidth}`};\n grid-template-rows: ${() =>\n `${props.notificationHeight} ${props.headerHeight} ${props.navHeight} 1fr ${props.footerHeight}`};\n `;\n}\nconst addSXAppOutlet = css<ProviderAppOutletProps>`\n ${(props) => {\n const leftAsideWidth = props.$leftAside?.length?.default;\n const rightAsideWidth = props.$rightAside?.length?.default;\n const notificationHeight = props.$notification?.length?.default;\n const headerHeight = props.$header?.length?.default;\n const navHeight = props.$nav?.length?.default;\n const footerHeight = props.$footer?.length?.default;\n return toStyledAppOutletCSS({\n leftAsideWidth: leftAsideWidth ?? '0px',\n rightAsideWidth: rightAsideWidth ?? '0px',\n notificationHeight: notificationHeight ?? '0px',\n headerHeight: headerHeight ?? '0px',\n navHeight: navHeight ?? '0px',\n footerHeight: footerHeight ?? '0px',\n });\n }}\n ${(props) => {\n const leftAsideWidth = props.$leftAside?.length;\n const rightAsideWidth = props.$rightAside?.length;\n const notificationHeight = props.$notification?.length;\n const headerHeight = props.$header?.length;\n const navHeight = props.$nav?.length;\n const footerHeight = props.$footer?.length;\n\n return Object.entries(props.theme.screens)\n .filter(([key]) => key !== 'default')\n .map(([key]) => {\n const deviceKey = key as keyof ScreenWidthProps<string | null>;\n const screenWidth = props.theme.screens[deviceKey]?.width;\n if (!screenWidth) return null;\n return css`\n @media (max-width: ${screenWidth}px) {\n ${toStyledAppOutletCSS({\n leftAsideWidth: leftAsideWidth && leftAsideWidth[deviceKey] ? leftAsideWidth[deviceKey] : '0px',\n rightAsideWidth: rightAsideWidth && rightAsideWidth[deviceKey] ? rightAsideWidth[deviceKey] : '0px',\n notificationHeight:\n notificationHeight && notificationHeight[deviceKey] ? notificationHeight[deviceKey] : '0px',\n headerHeight: headerHeight && headerHeight[deviceKey] ? headerHeight[deviceKey] : '0px',\n navHeight: navHeight && navHeight[deviceKey] ? navHeight[deviceKey] : '0px',\n footerHeight: footerHeight && footerHeight[deviceKey] ? footerHeight[deviceKey] : '0px',\n })}\n }\n `;\n });\n }}\n`;\nexport const ProviderAppOutlet = styled.div<ProviderAppOutletProps>`\n display: grid;\n width: 100%;\n height: 100%;\n\n overflow-y: auto;\n overflow-x: hidden;\n scrollbar-gutter: stable;\n \n min-height: 100dvh;\n max-height: 100dvh;\n \n ${addGridTransition};\n\n ${(props) => `\n grid-template-areas: ${generateGridTemplateAreas(props)};\n `}\n\n ${addSXAppOutlet};\n`;\n\nexport const ProviderAppOutletChildren = styled.main<ProviderAppOutletChildrenProps>`\n z-index: ${(props) => props?.$main?.zIndex ?? 'auto'};\n display: flex;\n grid-area: children;\n max-width: 100%;\n max-height: 100%;\n overflow: ${(props) => (props.$isScrollOutlet ? 'auto' : 'visible')};\n scrollbar-gutter: stable;\n`;\n\nexport const ProviderAppOutletNotification = styled.section<ProviderAppOutletProps>`\n z-index: ${(props) => props?.$notification?.zIndex ?? 'auto'};\n grid-area: notification;\n display: flex;\n`;\n\nexport const ProviderAppOutletHeader = styled.header<ProviderAppOutletProps>`\n z-index: ${(props) => props?.$header?.zIndex ?? 'auto'};\n grid-area: header;\n display: flex;\n`;\n\nexport const ProviderAppOutletFooter = styled.footer<ProviderAppOutletProps>`\n z-index: ${(props) => props?.$footer?.zIndex ?? 'auto'};\n grid-area: footer;\n display: flex;\n`;\n\nexport const ProviderAppOutletNav = styled.nav<ProviderAppOutletProps>`\n z-index: ${(props) => props?.$nav?.zIndex ?? 'auto'};\n grid-area: nav;\n display: flex;\n`;\n\nexport const ProviderAppOutletLeftAside = styled.aside<ProviderAppOutletProps>`\n z-index: ${(props) => props?.$leftAside?.zIndex ?? 'auto'};\n grid-area: leftAside;\n display: flex;\n`;\n\nexport const ProviderAppOutletRightAside = styled.aside<ProviderAppOutletProps>`\n z-index: ${(props) => props?.$rightAside?.zIndex ?? 'auto'};\n grid-area: rightAside;\n display: flex;\n`;\n","import { useContext } from 'react'\n\nimport { AppContext } from '.'\n\n/**\n * Custom hook to access the AppContext.\n */\nexport const useApp = () => {\n const context = useContext(AppContext)\n if (!context) {\n throw new Error('useApp must be used within an ProviderApp')\n }\n return context\n}\n"],"names":["jsxs","jsx","_a"],"mappings":";;;;;;;AAoBO,MAAM,aAAa,cAAsC,IAAI;AA0B7D,MAAM,cAAoC,CAAA,UAAS;;AACxD,QAAM,EAAE,SAAS,eAAe,gBAAgB,sBAAsB,WAAW,MAAM,cAAc;AACrG,QAAM,EAAE,gBAAgB,sBAAsB,uBAAuB,6BAA6B;AAAA,IAChG,MAAM;AAAA,EAAA;AAER,QAAM,EAAE,SAAS,eAAe,gBAAgB,sBAAsB,WAAW,MAAM,kBAAkB,IAAI;AAC7G,QAAM,EAAE,OAAO,aAAa,iBAAiB,oBAAoB,SAAS,MAAM,gBAAgB,IAAI;AACpG,QAAM,EAAE,aAAa,mBAAmB,oBAAoB,0BAA0B;AAAA,IACpF,MAAM;AAAA,EAAA;AAER,QAAM,EAAE,eAAe,aAAA,IAAiB,WAAW,MAAM,cAAc;AACvE,QAAM,EAAE,aAAA,IAAiB,eAAA;AAEzB,SACEA,kCAAAA;AAAAA,IAAC,WAAW;AAAA,IAAX;AAAA,MACC,OAAO;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAGF,UAAA;AAAA,QAAAC,kCAAAA,IAAC,WAAO,UAAA,MAAA,CAAM;AAAA,QACdA,kCAAAA,IAAC,QAAA,EAAK,MAAK,eAAc,SAAS,aAAa;AAAA,8CAC9C,QAAA,EAAK,MAAK,eAAc,SAAS,eAAe,cAAc,GAAG;AAAA,QAClEA,kCAAAA,IAAC,QAAA,EAAK,MAAK,yCAAwC,S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mBAAgB,WAAU;AAAA,CAAM;AAAA;AAAA;AAAA;AAKjD,MAAM,uBAAuB,OAAO;AAAA,aAC9B,CAAC,UAAA;;AAAU,+CAAO,SAAP,mBAAa,WAAU;AAAA,CAAM;AAAA;AAAA;AAAA;AAK9C,MAAM,6BAA6B,OAAO;AAAA,aACpC,CAAC,UAAA;;AAAU,+CAAO,eAAP,mBAAmB,WAAU;AAAA,CAAM;AAAA;AAAA;AAAA;AAKpD,MAAM,8BAA8B,OAAO;AAAA,aACrC,CAAC,UAAA;;AAAU,+CAAO,gBAAP,mBAAoB,WAAU;AAAA,CAAM;AAAA;AAAA;AAAA;AC7JrD,MAAM,SAAS,MAAM;AAC1B,QAAM,UAAU,WAAW,UAAU;AACrC,MAAI,CAAC,SAAS;AACZ,UAAM,IAAI,MAAM,2CAA2C;AAAA,EAAA;AAE7D,SAAO;AACT;"}
@@ -1,32 +0,0 @@
1
- "use strict";const e=require("./jsx-runtime-BcGej2Kr.cjs"),r=require("styled-components"),s=require("./component-CACoGUK9.cjs"),o=require("./theme.global-B9t2Fi10.cjs"),t=require("./motion-DgB7M2Hn.cjs"),i=require("./style-fRZ6xrVp.cjs"),l=r.css`
2
- ${e=>e.$size?n({...o.KEY_SIZE_DATA[e.$size],$isErrorAbsolute:e.$isErrorAbsolute}):null};
3
- `,n=e=>r.css`
4
- ${e.$isErrorAbsolute?r.css`
5
- position: absolute;
6
- top: calc(100% + 4px);
7
- padding-left: ${e.padding}px;
8
- color: ${e=>e.theme.states.danger};
9
- `:r.css`
10
- position: static;
11
- padding: 0px ${e.padding}px;
12
- color: ${e=>e.theme.states.danger};
13
- `}
14
- `,a=r.div`
15
- ${e=>s.getFontSizeStyles(12,400,e.theme.font.family)};
16
- width: 100%;
17
- display: flex;
18
- flex-wrap: wrap;
19
- ${l}
20
- ${i.addSX}
21
- `,c=r.css`
22
- ${e=>{var s;return(null==(s=e.$error)?void 0:s.isError)&&r.css`
23
- border-color: ${e=>e.theme.states.danger};
24
- &:focus,
25
- &:active,
26
- &:hover,
27
- &:focus-visible {
28
- border-color: ${e=>e.theme.states.danger};
29
- }
30
- `}};
31
- `;exports.ErrorMessage=r=>e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:r.errorMessage&&r.isError?e.jsxRuntimeExports.jsx(a,{$size:r.size,$sx:r.sx,$isErrorAbsolute:r.isErrorAbsolute,children:e.jsxRuntimeExports.jsx(t.WordsPullUp,{text:r.errorMessage})}):null}),exports.ErrorMessageComponent=a,exports.addError=c;
32
- //# sourceMappingURL=style-B5u4pW5G.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"style-B5u4pW5G.cjs","sources":["../src/styles/error/style.tsx"],"sourcesContent":["import { FC } from 'react'\nimport styled, { css } from 'styled-components'\n\nimport { getFontSizeStyles } from '@local/components/typography'\nimport { IThemeSizePropertyDefault, KEY_SIZE_DATA } from '@local/theme'\n\nimport { ErrorMessageProps, ErrorMessagePropsDollar, addErrorStylesProps } from '.'\nimport { WordsPullUp } from '../motion'\nimport { addSX } from '../sx'\n\nconst ErrorMessageSize = css<ErrorMessagePropsDollar>`\n ${props =>\n props.$size\n ? ErrorMessageSizeConstructor({ ...KEY_SIZE_DATA[props.$size], $isErrorAbsolute: props.$isErrorAbsolute })\n : null};\n`\nconst ErrorMessageSizeConstructor = (\n props: IThemeSizePropertyDefault & { $isErrorAbsolute: ErrorMessageProps['isErrorAbsolute'] }\n) => css`\n ${props.$isErrorAbsolute\n ? css`\n position: absolute;\n top: calc(100% + 4px);\n padding-left: ${props.padding}px;\n color: ${props => props.theme.states.danger};\n `\n : css`\n position: static;\n padding: 0px ${props.padding}px;\n color: ${props => props.theme.states.danger};\n `}\n`\n\nexport const ErrorMessageComponent = styled.div<ErrorMessagePropsDollar>`\n ${props => getFontSizeStyles(12, 400, props.theme.font.family)};\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n ${ErrorMessageSize}\n ${addSX}\n`\nexport const addError = css<addErrorStylesProps>`\n ${props =>\n props.$error?.isError &&\n css`\n border-color: ${props => props.theme.states.danger};\n &:focus,\n &:active,\n &:hover,\n &:focus-visible {\n border-color: ${props => props.theme.states.danger};\n }\n `};\n`\nexport const ErrorMessage: FC<ErrorMessageProps> = props => {\n return (\n <>\n {props.errorMessage && props.isError ? (\n <ErrorMessageComponent $size={props.size} $sx={props.sx} $isErrorAbsolute={props.isErrorAbsolute}>\n <WordsPullUp text={props.errorMessage} />\n </ErrorMessageComponent>\n ) : null}\n </>\n )\n}\n"],"names":["ErrorMessageSize","css","props","$size","ErrorMessageSizeConstructor","KEY_SIZE_DATA","$isErrorAbsolute","padding","theme","states","danger","ErrorMessageComponent","styled","div","getFontSizeStyles","font","family","addSX","addError","_a","$error","isError","jsx","Fragment","children","errorMessage","size","$sx","sx","isErrorAbsolute","WordsPullUp","text"],"mappings":"8OAUMA,EAAmBC,EAAAA,GAAAA;IACrBC,GACAA,EAAMC,MACFC,EAA4B,IAAKC,EAAAA,cAAcH,EAAMC,OAAQG,iBAAkBJ,EAAMI,mBACrF;EAEFF,EACJF,GACGD,EAAAA,GAAAA;IACDC,EAAMI,iBACJL,EAAAA,GAAAA;;;wBAGkBC,EAAMK;iBACbL,GAASA,EAAMM,MAAMC,OAAOC;QAEvCT,EAAAA,GAAAA;;uBAEiBC,EAAMK;iBACZL,GAASA,EAAMM,MAAMC,OAAOC;;EAIhCC,EAAwBC,EAAOC,GAAA;IACxCX,GAASY,EAAAA,kBAAkB,GAAI,IAAKZ,EAAMM,MAAMO,KAAKC;;;;IAIrDhB;IACAiB,EAAAA;EAESC,EAAWjB,EAAAA,GAAAA;IACpBC,UACA,OAAA,OAAAiB,EAAAjB,EAAMkB,aAAN,EAAAD,EAAcE,UACdpB,EAAAA,GAAAA;sBACkBC,GAASA,EAAMM,MAAMC,OAAOC;;;;;wBAK1BR,GAASA,EAAMM,MAAMC,OAAOC;;;uBAIDR,KAE/CoB,kBAAAA,IAAAC,EAAAA,kBAAAA,SAAA,CACGC,WAAMC,cAAgBvB,EAAMmB,QAC3BC,EAAAA,kBAAAA,IAACX,EAAA,CAAsBR,MAAOD,EAAMwB,KAAMC,IAAKzB,EAAM0B,GAAItB,iBAAkBJ,EAAM2B,gBAC/EL,SAAAF,EAAAA,kBAAAA,IAACQ,EAAAA,YAAA,CAAYC,KAAM7B,EAAMuB,iBAEzB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"style-BQ653xOS.js","sources":["../src/styles/error/style.tsx"],"sourcesContent":["import { FC } from 'react'\nimport styled, { css } from 'styled-components'\n\nimport { getFontSizeStyles } from '@local/components/typography'\nimport { IThemeSizePropertyDefault, KEY_SIZE_DATA } from '@local/theme'\n\nimport { ErrorMessageProps, ErrorMessagePropsDollar, addErrorStylesProps } from '.'\nimport { WordsPullUp } from '../motion'\nimport { addSX } from '../sx'\n\nconst ErrorMessageSize = css<ErrorMessagePropsDollar>`\n ${props =>\n props.$size\n ? ErrorMessageSizeConstructor({ ...KEY_SIZE_DATA[props.$size], $isErrorAbsolute: props.$isErrorAbsolute })\n : null};\n`\nconst ErrorMessageSizeConstructor = (\n props: IThemeSizePropertyDefault & { $isErrorAbsolute: ErrorMessageProps['isErrorAbsolute'] }\n) => css`\n ${props.$isErrorAbsolute\n ? css`\n position: absolute;\n top: calc(100% + 4px);\n padding-left: ${props.padding}px;\n color: ${props => props.theme.states.danger};\n `\n : css`\n position: static;\n padding: 0px ${props.padding}px;\n color: ${props => props.theme.states.danger};\n `}\n`\n\nexport const ErrorMessageComponent = styled.div<ErrorMessagePropsDollar>`\n ${props => getFontSizeStyles(12, 400, props.theme.font.family)};\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n ${ErrorMessageSize}\n ${addSX}\n`\nexport const addError = css<addErrorStylesProps>`\n ${props =>\n props.$error?.isError &&\n css`\n border-color: ${props => props.theme.states.danger};\n &:focus,\n &:active,\n &:hover,\n &:focus-visible {\n border-color: ${props => props.theme.states.danger};\n }\n `};\n`\nexport const ErrorMessage: FC<ErrorMessageProps> = props => {\n return (\n <>\n {props.errorMessage && props.isError ? (\n <ErrorMessageComponent $size={props.size} $sx={props.sx} $isErrorAbsolute={props.isErrorAbsolute}>\n <WordsPullUp text={props.errorMessage} />\n </ErrorMessageComponent>\n ) : null}\n </>\n )\n}\n"],"names":["props","jsx","Fragment"],"mappings":";;;;;;AAUA,MAAM,mBAAmB;AAAA,IACrB,CAAA,UACA,MAAM,QACF,4BAA4B,EAAE,GAAG,cAAc,MAAM,KAAK,GAAG,kBAAkB,MAAM,iBAAA,CAAkB,IACvG,IAAI;AAAA;AAEZ,MAAM,8BAA8B,CAClC,UACG;AAAA,IACD,MAAM,mBACJ;AAAA;AAAA;AAAA,wBAGkB,MAAM,OAAO;AAAA,iBACpB,CAAAA,WAASA,OAAM,MAAM,OAAO,MAAM;AAAA,UAE7C;AAAA;AAAA,uBAEiB,MAAM,OAAO;AAAA,iBACnB,CAAAA,WAASA,OAAM,MAAM,OAAO,MAAM;AAAA,OAC5C;AAAA;AAGA,MAAM,wBAAwB,OAAO;AAAA,IACxC,CAAA,UAAS,kBAAkB,IAAI,KAAK,MAAM,MAAM,KAAK,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA,IAI5D,gBAAgB;AAAA,IAChB,KAAK;AAAA;AAEF,MAAM,WAAW;AAAA,IACpB,CAAA,UAAA;;AACA,sBAAM,WAAN,mBAAc,YACd;AAAA,sBACkB,CAAAA,WAASA,OAAM,MAAM,OAAO,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA,wBAKhC,CAAAA,WAASA,OAAM,MAAM,OAAO,MAAM;AAAA;AAAA;AAAA,CAErD;AAAA;AAEE,MAAM,eAAsC,CAAA,UAAS;AAC1D,SACEC,kCAAAA,IAAAC,kBAAAA,UAAA,EACG,gBAAM,gBAAgB,MAAM,UAC3BD,kCAAAA,IAAC,uBAAA,EAAsB,OAAO,MAAM,MAAM,KAAK,MAAM,IAAI,kBAAkB,MAAM,iBAC/E,UAAAA,kCAAAA,IAAC,aAAA,EAAY,MAAM,MAAM,aAAA,CAAc,EAAA,CACzC,IACE,KAAA,CACN;AAEJ;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"style-BgcnmVAY.js","sources":["../src/styles/add/style.ts"],"sourcesContent":["import { css } from 'styled-components';\n\nexport const addRemoveScrollbar = css`\n scrollbar-width: none;\n -ms-overflow-style: none;\n\n &::-webkit-scrollbar {\n display: none;\n }\n\n &::-webkit-scrollbar-horizontal {\n display: none;\n }\n\n &::-webkit-scrollbar-vertical {\n display: none;\n }\n\n &::-webkit-scrollbar-thumb {\n display: none;\n }\n`;\n\nexport const addTransition = css`\n transition:\n outline 0s,\n opacity ${(props) => props.theme.transition.default},\n transform ${(props) => props.theme.transition.default},\n background-color ${(props) => props.theme.transition.default},\n height ${(props) => props.theme.transition.default},\n max-height ${(props) => props.theme.transition.default},\n width ${(props) => props.theme.transition.default},\n color ${(props) => props.theme.transition.default},\n visibility ${(props) => props.theme.transition.default},\n box-shadow ${(props) => props.theme.transition.default},\n border-color ${(props) => props.theme.transition.default},\n left ${(props) => props.theme.transition.default},\n right ${(props) => props.theme.transition.default},\n grid-template-areas ${(props) => props.theme.transition.default},\n grid-template-rows ${(props) => props.theme.transition.default},\n grid-template-columns ${(props) => props.theme.transition.default};\n`;\n\nexport const addTransitionWithoutSize = css`\n transition:\n outline 0s,\n opacity ${(props) => props.theme.transition.default},\n transform ${(props) => props.theme.transition.default},\n background-color ${(props) => props.theme.transition.default},\n color ${(props) => props.theme.transition.default},\n visibility ${(props) => props.theme.transition.default},\n box-shadow ${(props) => props.theme.transition.default},\n border-color ${(props) => props.theme.transition.default},\n left ${(props) => props.theme.transition.default},\n right ${(props) => props.theme.transition.default},\n grid-template-areas ${(props) => props.theme.transition.default},\n grid-template-rows ${(props) => props.theme.transition.default},\n grid-template-columns ${(props) => props.theme.transition.default};\n`;\n\nexport const addGridTransition = css`\n transition:\n grid-template-areas ${(props) => props.theme.transition.default},\n grid-template-rows ${(props) => props.theme.transition.default},\n grid-template-columns ${(props) => props.theme.transition.default};\n`;\n\nexport const addColorTransition = css`\n transition:\n outline 0s,\n opacity ${(props) => props.theme.transition.default},\n background-color ${(props) => props.theme.transition.default},\n color ${(props) => props.theme.transition.default},\n box-shadow ${(props) => props.theme.transition.default},\n border-color ${(props) => props.theme.transition.default};\n`;\n\nexport const addOutline = css`\n outline: 2px solid transparent;\n outline-offset: 1px;\n &:focus-visible {\n outline: 2px solid ${(props) => props.theme.states.focus};\n }\n`;\nexport const addOutlineChildren = css<{ $isReadOnly?: boolean; $isDisabled?: boolean }>`\n outline: 2px solid transparent;\n outline-offset: 1px;\n ${(props) =>\n (!props.$isReadOnly && !props.$isDisabled) &&\n css`\n &:has(:focus-visible) {\n outline: 2px solid ${(props) => props.theme.states.focus};\n outline-offset: 1px;\n }\n `}\n \n`;\nexport const addAlwaysOutline = css<{ $isShowAlwaysOutline?: boolean }>`\n ${(props) =>\n props.$isShowAlwaysOutline &&\n css`\n outline: 2px solid ${(props) => props.theme.states.focus};\n outline-offset: 1px;\n `}\n`;\nexport const addRemoveOutline = css`\n outline: 0px solid transparent !important;\n outline-offset: 0px !important;\n &:focus-visible {\n outline: 0px solid ${(props) => props.theme.states.focus} !important;\n }\n`;\n\nexport const addNiceNumber = css`\n font-variant-numeric: tabular-nums;\n font-feature-settings: 'tnum';\n`;\n\nexport const addDisabled = css<{ $isDisabled?: boolean }>`\n ${(props) =>\n props.$isDisabled\n ? css`\n opacity: 0.5;\n `\n : css`\n opacity: 1;\n `};\n`;\n"],"names":["props"],"mappings":";AAEO,MAAM,qBAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAqB3B,MAAM,gBAAgB;AAAA;AAAA;AAAA,cAGf,CAAC,UAAU,MAAM,MAAM,WAAW,OAAO;AAAA,gBACvC,CAAC,UAAU,MAAM,MAAM,WAAW,OAAO;AAAA,uBAClC,CAAC,UA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{ css } from 'styled-components';\n\nexport const addRemoveScrollbar = css`\n scrollbar-width: none;\n -ms-overflow-style: none;\n\n &::-webkit-scrollbar {\n display: none;\n }\n\n &::-webkit-scrollbar-horizontal {\n display: none;\n }\n\n &::-webkit-scrollbar-vertical {\n display: none;\n }\n\n &::-webkit-scrollbar-thumb {\n display: none;\n }\n`;\n\nexport const addTransition = css`\n transition:\n outline 0s,\n opacity ${(props) => props.theme.transition.default},\n transform ${(props) => props.theme.transition.default},\n background-color ${(props) => props.theme.transition.default},\n height ${(props) => props.theme.transition.default},\n max-height ${(props) => props.theme.transition.default},\n width ${(props) => props.theme.transition.default},\n color ${(props) => props.theme.transition.default},\n visibility ${(props) => props.theme.transition.default},\n box-shadow ${(props) => props.theme.transition.default},\n border-color ${(props) => props.theme.transition.default},\n left ${(props) => props.theme.transition.default},\n right ${(props) => props.theme.transition.default},\n grid-template-areas ${(props) => props.theme.transition.default},\n grid-template-rows ${(props) => props.theme.transition.default},\n grid-template-columns ${(props) => props.theme.transition.default};\n`;\n\nexport const addTransitionWithoutSize = css`\n transition:\n outline 0s,\n opacity ${(props) => props.theme.transition.default},\n transform ${(props) => props.theme.transition.default},\n background-color ${(props) => props.theme.transition.default},\n color ${(props) => props.theme.transition.default},\n visibility ${(props) => props.theme.transition.default},\n box-shadow ${(props) => props.theme.transition.default},\n border-color ${(props) => props.theme.transition.default},\n left ${(props) => props.theme.transition.default},\n right ${(props) => props.theme.transition.default},\n grid-template-areas ${(props) => props.theme.transition.default},\n grid-template-rows ${(props) => props.theme.transition.default},\n grid-template-columns ${(props) => props.theme.transition.default};\n`;\n\nexport const addGridTransition = css`\n transition:\n grid-template-areas ${(props) => props.theme.transition.default},\n grid-template-rows ${(props) => props.theme.transition.default},\n grid-template-columns ${(props) => props.theme.transition.default};\n`;\n\nexport const addColorTransition = css`\n transition:\n outline 0s,\n opacity ${(props) => props.theme.transition.default},\n background-color ${(props) => props.theme.transition.default},\n color ${(props) => props.theme.transition.default},\n box-shadow ${(props) => props.theme.transition.default},\n border-color ${(props) => props.theme.transition.default};\n`;\n\nexport const addOutline = css`\n outline: 2px solid transparent;\n outline-offset: 1px;\n &:focus-visible {\n outline: 2px solid ${(props) => props.theme.states.focus};\n }\n`;\nexport const addOutlineChildren = css<{ $isReadOnly?: boolean; $isDisabled?: boolean }>`\n outline: 2px solid transparent;\n outline-offset: 1px;\n ${(props) =>\n (!props.$isReadOnly && !props.$isDisabled) &&\n css`\n &:has(:focus-visible) {\n outline: 2px solid ${(props) => props.theme.states.focus};\n outline-offset: 1px;\n }\n `}\n \n`;\nexport const addAlwaysOutline = css<{ $isShowAlwaysOutline?: boolean }>`\n ${(props) =>\n props.$isShowAlwaysOutline &&\n css`\n outline: 2px solid ${(props) => props.theme.states.focus};\n outline-offset: 1px;\n `}\n`;\nexport const addRemoveOutline = css`\n outline: 0px solid transparent !important;\n outline-offset: 0px !important;\n &:focus-visible {\n outline: 0px solid ${(props) => props.theme.states.focus} !important;\n }\n`;\n\nexport const addNiceNumber = css`\n font-variant-numeric: tabular-nums;\n font-feature-settings: 'tnum';\n`;\n\nexport const addDisabled = css<{ $isDisabled?: boolean }>`\n ${(props) =>\n props.$isDisabled\n ? css`\n opacity: 0.5;\n `\n : css`\n opacity: 1;\n `};\n`;\n"],"names":["addRemoveScrollbar","css","addTransition","props","theme","transition","default","addTransitionWithoutSize","addGridTransition","addColorTransition","addOutline","states","focus","addOutlineChildren","$isReadOnly","$isDisabled","addAlwaysOutline","$isShowAlwaysOutline","addRemoveOutline","addNiceNumber","addDisabled"],"mappings":"kDAEaA,EAAqBC,EAAAA,GAAAA;;;;;;;;;;;;;;;;;;;EAqBrBC,EAAgBD,EAAAA,GAAAA;;;cAGdE,GAAUA,EAAMC,MAAMC,WAAWC;gBAC/BH,GAAUA,EAAMC,MAAMC,WAAWC;uBAC1BH,GAAUA,EAAMC,MAAMC,WAAWC;aAC3CH,GAAUA,EAAMC,MAAMC,WAAWC;iBAC7BH,GAAUA,EAAMC,MAAMC,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AGxCI,EAAaT,EAAAA,GAAAA;;;;yBAIAE,GAAUA,EAAMC,MAAMO,OAAOC;;EAG1CC,EAAqBZ,EAAAA,GAAAA;;;IAG7BE,IACCA,EAAMW,cAAgBX,EAAMY,aAC9Bd,EAAAA,GAAAA;;6BAE0BE,GAAUA,EAAMC,MAAMO,OAAOC;;;;;EAM9CI,EAAmBf,EAAAA,GAAAA;IAC3BE,GACDA,EAAMc,sBACNhB,EAAAA,GAAAA;2BACwBE,GAAUA,EAAMC,MAAMO,OAAOC;;;EAI5CM,EAAmBjB,EAAAA,GAAAA;;;;yBAINE,GAAUA,EAAMC,MAAMO,OAAOC;;EAI1CO,EAAgBlB,EAAAA,GAAAA;;;EAKhBmB,EAAcnB,EAAAA,GAAAA;GACvBE,GACDA,EAAMY,YACFd,EAAAA,GAAAA;;UAGAA,EAAAA,GAAAA;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme.global-B9t2Fi10.cjs","sources":["../src/theme/theme.ts","../src/theme/theme.global.ts"],"sourcesContent":["import { getContrastYIQ } from '@local/functions';\n\nimport {\n ITheme,\n IThemeGenre,\n IThemeGenreDate,\n IThemeGenreImageSelect,\n IThemeGenreInput,\n IThemeGenreRange,\n IThemeGenreSelect,\n IThemeGenreSonner,\n IThemeGenreToggle,\n IThemePaletteKeys,\n IThemeSize,\n IThemeSizePropertyDefault,\n IThemeSizePropertyToggle,\n} from '.';\n\nexport const JeneseiPalette: Record<IThemePaletteKeys, string> = {\n currentColor: 'currentColor',\n inherit: 'inherit',\n transparent: 'transparent',\n black100: '#000000',\n black80: '#000000CC', // rgba(0 0 0 / 0.8)\n black60: '#00000099', // rgba(0 0 0 / 0.6)\n black50: '#00000080', // rgba(0 0 0 / 0.5)\n black40: '#00000066', // rgba(0 0 0 / 0.4)\n black10: '#0000001A', // rgba(0 0 0 / 0.1)\n black05: '#0000000D', // rgba(0 0 0 / 0.05)\n black04: '#0000000A', // rgba(0 0 0 / 0.04)\n blackHelena: '#181818',\n blackJanice: '#373740',\n grayJanice: '#f2f2f7',\n grayKaren: '#e5e5ea',\n grayMonica: '#c7c7cc',\n graySandra: '#d1d1d6',\n grayPatricia: '#484848',\n graySarah: '#737373',\n grayStassie: '#8D8D8F',\n grayAdriana: '#90909033',\n grayBarbara: '#EBEEEA',\n grayStephanie: '#6c7a91',\n grayTina: '#182433',\n grayFrances: '#dce1e7',\n whiteStandard: '#ffffff',\n whiteJanice: '#F7FAFF',\n greenGoogle: '#34a853',\n green100: '#34a853',\n green25: '#34A85340', // rgba(52 168 83 / 0.25)\n green50: '#34A85380', // rgba(52 168 83 / 0.50)\n green10: '#34A8531A', // rgba(52 168 83 / 0.1)\n green10Background: '#EFFFF3',\n yellowGoogle: '#fbbc04',\n yellow100: '#e4bc1b',\n yellow50: '#E4BC1B80', // rgba(228, 188, 27, 0.50)\n yellow25: '#E4BC1B40', // rgba(228, 188, 27, 0.25)\n yellow10: '#E4BC1B1A', // rgba(228, 188, 27, 0.1)\n yellow10Background: '#FFFBEA',\n redGoogle: '#ea4335',\n red100: '#ff4141',\n red50: '#FF414180', // rgba(255 65 65 / 0.50)\n red25: '#FF414140', // rgba(255 65 65 / 0.25)\n red10: '#FF41411A', // rgba(255 65 65 / 0.1)\n red10Background: '#FFEDED',\n blueGoogle: '#4285f4',\n blueRest: '#4195d2',\n blueActive: '#4195D21A', // rgba(65 149 210 / 0.1)\n blueHover: '#1769A5CC', // rgba(23 105 165 / 0.8)\n blueFocus: '#1769a5',\n blueBr: '#0975a6',\n blueKaren: '#2A77EE',\n blueMonica: '#174899',\n violetStephanie: '#a75afa',\n violetJanice: '#be83fd',\n amnezia: '#222224',\n};\n\nconst ThemeGenre: IThemeGenre = {\n 'bustmarket-gray-violet': {\n background: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.black04,\n },\n color: {\n rest: JeneseiPalette.violetStephanie,\n hover: JeneseiPalette.violetJanice,\n placeholder: JeneseiPalette.violetJanice,\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n },\n },\n 'bustmarket-gray': {\n background: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.black04,\n },\n color: {\n rest: JeneseiPalette.grayStephanie,\n hover: JeneseiPalette.grayTina,\n placeholder: JeneseiPalette.grayTina,\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n },\n },\n 'bustmarket-violet': {\n background: {\n rest: JeneseiPalette.violetStephanie,\n hover: JeneseiPalette.violetJanice,\n },\n color: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.whiteStandard,\n placeholder: JeneseiPalette.whiteStandard,\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n },\n },\n 'bustmarket-white-violet': {\n background: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.violetJanice,\n },\n color: {\n rest: JeneseiPalette.blackJanice,\n hover: JeneseiPalette.whiteStandard,\n placeholder: JeneseiPalette.whiteStandard,\n },\n border: {\n rest: JeneseiPalette.grayFrances,\n hover: JeneseiPalette.grayFrances,\n },\n },\n 'realebail-white': {\n background: {\n rest: JeneseiPalette.whiteJanice,\n hover: JeneseiPalette.whiteJanice,\n },\n color: {\n rest: JeneseiPalette.blueKaren,\n hover: JeneseiPalette.blueMonica,\n placeholder: JeneseiPalette.blueKaren,\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n },\n },\n 'realebail-product': {\n background: {\n rest: JeneseiPalette.blueKaren,\n hover: JeneseiPalette.blueMonica,\n },\n color: {\n rest: JeneseiPalette.whiteJanice,\n hover: JeneseiPalette.whiteJanice,\n placeholder: JeneseiPalette.whiteJanice,\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n },\n },\n 'realebail-gray': {\n background: {\n rest: JeneseiPalette.grayAdriana,\n hover: JeneseiPalette.graySarah,\n },\n color: {\n rest: JeneseiPalette.blackHelena,\n hover: JeneseiPalette.blackHelena,\n placeholder: JeneseiPalette.blackHelena,\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n },\n },\n white: {\n background: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.whiteStandard,\n },\n color: {\n rest: JeneseiPalette.black80,\n hover: JeneseiPalette.black60,\n placeholder: JeneseiPalette.black80,\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n },\n },\n product: {\n background: {\n rest: JeneseiPalette.blueRest,\n hover: JeneseiPalette.blueHover,\n },\n color: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.whiteStandard,\n placeholder: JeneseiPalette.whiteStandard,\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n },\n },\n productBorder: {\n background: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.whiteStandard,\n },\n color: {\n rest: JeneseiPalette.blueRest,\n hover: JeneseiPalette.blueHover,\n placeholder: JeneseiPalette.blueRest,\n },\n border: {\n rest: JeneseiPalette.blueRest,\n hover: JeneseiPalette.blueHover,\n },\n },\n gray: {\n background: {\n rest: JeneseiPalette.black10,\n hover: JeneseiPalette.graySandra,\n },\n color: {\n rest: JeneseiPalette.black60,\n hover: JeneseiPalette.black60,\n placeholder: JeneseiPalette.black80,\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n },\n },\n grayBorder: {\n background: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.whiteStandard,\n },\n color: {\n rest: JeneseiPalette.black60,\n hover: JeneseiPalette.black60,\n placeholder: JeneseiPalette.black80,\n },\n border: {\n rest: JeneseiPalette.black10,\n hover: JeneseiPalette.graySandra,\n },\n },\n black: {\n background: {\n rest: JeneseiPalette.black100,\n hover: JeneseiPalette.black60,\n },\n color: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.whiteStandard,\n placeholder: JeneseiPalette.whiteStandard,\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n },\n },\n blackBorder: {\n background: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.whiteStandard,\n },\n color: {\n rest: JeneseiPalette.black100,\n hover: JeneseiPalette.black60,\n placeholder: JeneseiPalette.black100,\n },\n border: {\n rest: JeneseiPalette.black100,\n hover: JeneseiPalette.black60,\n },\n },\n greenTransparent: {\n background: {\n rest: JeneseiPalette.green10,\n hover: JeneseiPalette.green25,\n },\n color: {\n rest: JeneseiPalette.green100,\n hover: JeneseiPalette.green100,\n placeholder: JeneseiPalette.green100,\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n },\n },\n yellowTransparent: {\n background: {\n rest: JeneseiPalette.yellow10,\n hover: JeneseiPalette.yellow25,\n },\n color: {\n rest: JeneseiPalette.yellow100,\n hover: JeneseiPalette.yellow100,\n placeholder: JeneseiPalette.yellow100,\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n },\n },\n redTransparent: {\n background: {\n rest: JeneseiPalette.red10,\n hover: JeneseiPalette.red25,\n },\n color: {\n rest: JeneseiPalette.red100,\n hover: JeneseiPalette.red100,\n placeholder: JeneseiPalette.red100,\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n },\n },\n};\nconst ThemeImageSelect: IThemeGenreImageSelect = {\n 'realebail-white': {\n background: {\n rest: JeneseiPalette.whiteJanice,\n hover: JeneseiPalette.whiteJanice,\n },\n color: {\n rest: JeneseiPalette.blueKaren,\n hover: JeneseiPalette.blueMonica,\n placeholder: JeneseiPalette.blueKaren,\n },\n border: {\n rest: JeneseiPalette.blueKaren,\n hover: JeneseiPalette.blackHelena,\n },\n },\n gray: {\n background: {\n rest: JeneseiPalette.black10,\n hover: JeneseiPalette.graySandra,\n },\n color: {\n rest: JeneseiPalette.black60,\n hover: JeneseiPalette.black60,\n placeholder: JeneseiPalette.black80,\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n },\n },\n grayBorder: {\n background: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.whiteStandard,\n },\n color: {\n rest: JeneseiPalette.black60,\n hover: JeneseiPalette.black60,\n placeholder: JeneseiPalette.black80,\n },\n border: {\n rest: JeneseiPalette.black10,\n hover: JeneseiPalette.graySandra,\n },\n },\n blackBorder: {\n background: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.whiteStandard,\n },\n color: {\n rest: JeneseiPalette.black100,\n hover: JeneseiPalette.black60,\n placeholder: JeneseiPalette.black100,\n },\n border: {\n rest: JeneseiPalette.black100,\n hover: JeneseiPalette.black60,\n },\n },\n};\nconst ThemeGenreInput: IThemeGenreInput = {\n 'realebail-white': {\n background: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.whiteStandard,\n },\n color: {\n rest: JeneseiPalette.black80,\n hover: JeneseiPalette.black80,\n placeholder: JeneseiPalette.black40,\n },\n border: {\n rest: JeneseiPalette.grayBarbara,\n hover: JeneseiPalette.grayBarbara,\n },\n },\n gray: {\n background: {\n rest: JeneseiPalette.grayJanice,\n hover: JeneseiPalette.graySandra,\n },\n color: {\n rest: JeneseiPalette.black60,\n hover: JeneseiPalette.black60,\n placeholder: JeneseiPalette.black80,\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n },\n },\n blackBorder: {\n background: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.whiteStandard,\n },\n color: {\n rest: JeneseiPalette.black80,\n hover: JeneseiPalette.black80,\n placeholder: JeneseiPalette.black40,\n },\n border: {\n rest: JeneseiPalette.black100,\n hover: JeneseiPalette.black80,\n },\n },\n grayBorder: {\n background: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.whiteStandard,\n },\n color: {\n rest: JeneseiPalette.black60,\n hover: JeneseiPalette.black60,\n placeholder: JeneseiPalette.black40,\n },\n border: {\n rest: JeneseiPalette.black10,\n hover: JeneseiPalette.graySandra,\n },\n },\n};\nconst ThemeGenreRange: IThemeGenreRange = {\n 'realebail-white': {\n track: {\n background: {\n rest: JeneseiPalette.grayBarbara,\n },\n gradient: {\n rest: JeneseiPalette.blueKaren,\n },\n },\n thumb: {\n background: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.whiteStandard,\n },\n border: {\n rest: JeneseiPalette.blueRest,\n hover: JeneseiPalette.blueRest,\n },\n },\n },\n gray: {\n track: {\n background: {\n rest: JeneseiPalette.grayJanice,\n },\n gradient: {\n rest: JeneseiPalette.black60,\n },\n },\n thumb: {\n background: {\n rest: JeneseiPalette.grayBarbara,\n hover: JeneseiPalette.grayBarbara,\n },\n border: {\n rest: JeneseiPalette.black60,\n hover: JeneseiPalette.black60,\n },\n },\n },\n blackBorder: {\n track: {\n background: {\n rest: JeneseiPalette.graySandra,\n },\n gradient: {\n rest: JeneseiPalette.black80,\n },\n },\n thumb: {\n background: {\n rest: JeneseiPalette.graySandra,\n hover: JeneseiPalette.graySandra,\n },\n border: {\n rest: JeneseiPalette.black80,\n hover: JeneseiPalette.black80,\n },\n },\n },\n grayBorder: {\n track: {\n background: {\n rest: JeneseiPalette.graySandra,\n },\n gradient: {\n rest: JeneseiPalette.black60,\n },\n },\n thumb: {\n background: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.whiteStandard,\n },\n border: {\n rest: JeneseiPalette.black40,\n hover: JeneseiPalette.black40,\n },\n },\n },\n};\nconst ThemeSelect: IThemeGenreSelect = {\n 'realebail-white': {\n background: {\n rest: JeneseiPalette.whiteJanice,\n hover: JeneseiPalette.whiteJanice,\n select: '',\n },\n color: {\n rest: JeneseiPalette.blueKaren,\n hover: JeneseiPalette.blueMonica,\n placeholder: JeneseiPalette.blueKaren,\n select: '',\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n select: '',\n },\n },\n gray: {\n background: {\n rest: JeneseiPalette.grayJanice,\n hover: JeneseiPalette.graySandra,\n select: '',\n },\n color: {\n rest: JeneseiPalette.black60,\n hover: JeneseiPalette.black60,\n placeholder: JeneseiPalette.black80,\n select: '',\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n select: '',\n },\n },\n blackBorder: {\n background: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.whiteStandard,\n select: JeneseiPalette.blueActive,\n },\n color: {\n rest: JeneseiPalette.black80,\n hover: JeneseiPalette.black80,\n placeholder: JeneseiPalette.black40,\n select: JeneseiPalette.black100,\n },\n border: {\n rest: JeneseiPalette.black100,\n hover: JeneseiPalette.black80,\n select: JeneseiPalette.blueRest,\n },\n },\n grayBorder: {\n background: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.whiteStandard,\n select: '',\n },\n color: {\n rest: JeneseiPalette.black60,\n hover: JeneseiPalette.black60,\n placeholder: JeneseiPalette.black40,\n select: '',\n },\n border: {\n rest: JeneseiPalette.black10,\n hover: JeneseiPalette.graySandra,\n select: '',\n },\n },\n};\nconst ThemeGenreDate: IThemeGenreDate = {\n 'realebail-white': {\n background: {\n rest: JeneseiPalette.whiteJanice,\n hover: JeneseiPalette.whiteJanice,\n today: JeneseiPalette.blueKaren,\n weekend: JeneseiPalette.whiteJanice,\n choice: JeneseiPalette.blueKaren,\n line: JeneseiPalette.whiteJanice,\n },\n color: {\n rest: JeneseiPalette.blueKaren,\n hover: JeneseiPalette.blueMonica,\n placeholder: JeneseiPalette.blueKaren,\n today: JeneseiPalette.whiteStandard,\n weekend: JeneseiPalette.blueMonica,\n choice: JeneseiPalette.whiteStandard,\n line: JeneseiPalette.transparent,\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n today: JeneseiPalette.transparent,\n weekend: JeneseiPalette.transparent,\n choice: JeneseiPalette.transparent,\n line: JeneseiPalette.transparent,\n },\n },\n blackBorder: {\n background: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.whiteStandard,\n today: JeneseiPalette.black80,\n weekend: JeneseiPalette.black10,\n choice: JeneseiPalette.graySarah,\n line: JeneseiPalette.whiteStandard,\n },\n color: {\n rest: JeneseiPalette.black80,\n hover: JeneseiPalette.black80,\n placeholder: JeneseiPalette.black40,\n today: JeneseiPalette.whiteStandard,\n weekend: JeneseiPalette.black100,\n choice: JeneseiPalette.whiteStandard,\n line: JeneseiPalette.transparent,\n },\n border: {\n rest: JeneseiPalette.black10,\n hover: JeneseiPalette.graySandra,\n today: JeneseiPalette.transparent,\n weekend: JeneseiPalette.transparent,\n choice: JeneseiPalette.transparent,\n line: JeneseiPalette.transparent,\n },\n },\n gray: {\n background: {\n rest: JeneseiPalette.grayJanice,\n hover: JeneseiPalette.graySandra,\n today: JeneseiPalette.graySarah,\n weekend: JeneseiPalette.black10,\n choice: JeneseiPalette.graySarah,\n line: JeneseiPalette.transparent,\n },\n color: {\n rest: JeneseiPalette.black60,\n hover: JeneseiPalette.black60,\n placeholder: JeneseiPalette.black80,\n today: JeneseiPalette.whiteStandard,\n weekend: JeneseiPalette.grayJanice,\n choice: JeneseiPalette.whiteStandard,\n line: JeneseiPalette.transparent,\n },\n border: {\n rest: JeneseiPalette.transparent,\n hover: JeneseiPalette.transparent,\n today: JeneseiPalette.transparent,\n weekend: JeneseiPalette.transparent,\n choice: JeneseiPalette.transparent,\n line: JeneseiPalette.transparent,\n },\n },\n grayBorder: {\n background: {\n rest: JeneseiPalette.whiteStandard,\n hover: JeneseiPalette.whiteStandard,\n today: JeneseiPalette.black60,\n weekend: JeneseiPalette.black10,\n line: JeneseiPalette.transparent,\n choice: JeneseiPalette.black60,\n },\n color: {\n rest: JeneseiPalette.black60,\n hover: JeneseiPalette.black60,\n placeholder: JeneseiPalette.black80,\n today: JeneseiPalette.whiteStandard,\n choice: JeneseiPalette.whiteStandard,\n weekend: JeneseiPalette.black80,\n line: JeneseiPalette.transparent,\n },\n border: {\n rest: JeneseiPalette.black10,\n hover: JeneseiPalette.graySandra,\n today: JeneseiPalette.transparent,\n weekend: JeneseiPalette.black10,\n line: JeneseiPalette.transparent,\n choice: JeneseiPalette.transparent,\n },\n },\n};\nconst ThemeGenreToggle: IThemeGenreToggle = {\n product: {\n active: {\n rest: {\n border: JeneseiPalette.transparent,\n track: JeneseiPalette.blueRest,\n thumb: JeneseiPalette.whiteStandard,\n thumbBoxShadow: '0px 0px 10px 1px rgba(0, 0, 0, 0.1)',\n },\n hover: {\n border: JeneseiPalette.transparent,\n track: JeneseiPalette.blueHover,\n thumb: JeneseiPalette.whiteStandard,\n thumbBoxShadow: '0px 0px 10px 0px rgba(0, 0, 0, 0.6)',\n },\n },\n unActive: {\n rest: {\n border: JeneseiPalette.transparent,\n track: JeneseiPalette.black10,\n thumb: JeneseiPalette.whiteStandard,\n thumbBoxShadow: '0px 0px 10px 1px rgba(0, 0, 0, 0.1)',\n },\n hover: {\n border: JeneseiPalette.transparent,\n track: JeneseiPalette.graySandra,\n thumb: JeneseiPalette.whiteStandard,\n thumbBoxShadow: '0px 0px 10px 0px rgba(0, 0, 0, 0.6)',\n },\n },\n },\n};\nconst ThemeGenreSonner: IThemeGenreSonner = {\n black: {\n button: {\n genre: 'black',\n },\n wrapper: {\n background: JeneseiPalette.whiteStandard,\n borderColor: JeneseiPalette.grayKaren,\n boxShadow: '0px 10px 30px 0px rgba(0, 0, 0, 0.2)',\n boxShadowHover: '0px 10px 30px 0px rgba(0, 0, 0, 0.5)',\n },\n icon: {\n color: JeneseiPalette.black100,\n },\n title: {\n color: JeneseiPalette.black100,\n },\n description: {\n color: JeneseiPalette.grayPatricia,\n },\n },\n greenTransparent: {\n button: {\n genre: 'greenTransparent',\n },\n wrapper: {\n background: JeneseiPalette.green10Background,\n borderColor: JeneseiPalette.green25,\n boxShadow: `0px 10px 30px 0px ${JeneseiPalette.green25}`,\n boxShadowHover: `0px 10px 30px 0px ${JeneseiPalette.green50}`,\n },\n icon: {\n color: JeneseiPalette.green100,\n },\n title: {\n color: JeneseiPalette.green100,\n },\n description: {\n color: JeneseiPalette.greenGoogle,\n },\n },\n redTransparent: {\n button: {\n genre: 'redTransparent',\n },\n wrapper: {\n background: JeneseiPalette.red10Background,\n borderColor: JeneseiPalette.red25,\n boxShadow: `0px 10px 30px 0px ${JeneseiPalette.red25}`,\n boxShadowHover: `0px 10px 30px 0px ${JeneseiPalette.red50}`,\n },\n icon: {\n color: JeneseiPalette.red100,\n },\n title: {\n color: JeneseiPalette.red100,\n },\n description: {\n color: JeneseiPalette.redGoogle,\n },\n },\n yellowTransparent: {\n button: {\n genre: 'yellowTransparent',\n },\n wrapper: {\n background: JeneseiPalette.yellow10Background,\n borderColor: JeneseiPalette.yellow25,\n boxShadow: `0px 10px 30px 0px ${JeneseiPalette.yellow25}`,\n boxShadowHover: `0px 10px 30px 0px ${JeneseiPalette.yellow50}`,\n },\n icon: {\n color: 'yellow100',\n },\n title: {\n color: JeneseiPalette.yellow100,\n },\n description: {\n color: JeneseiPalette.yellowGoogle,\n },\n },\n};\nexport const ThemeLight: ITheme = {\n transition: {\n duration: '0.3s',\n timingFunction: 'ease',\n default: '0.3s ease',\n icon: '0.05s ease',\n },\n scrollbar: {\n width: 4,\n background: JeneseiPalette.black05,\n thumb: JeneseiPalette.black10,\n thumbBorder: JeneseiPalette.black05,\n },\n font: {\n family: 'Inter',\n weight: 400,\n lineHeight: 1.2,\n sizeDefault: {\n default: 16,\n mobile: 12,\n tablet: 14,\n },\n sizeHeading: {\n h1: 2.5,\n h2: 2.25,\n h3: 2,\n h4: 1.75,\n h5: 1.5,\n h6: 1.25,\n h7: 1,\n h8: 0.75,\n h9: 0.5,\n },\n },\n screens: {\n default: { width: 1920 },\n tablet: { width: 1290 },\n mobile: { width: 850 },\n },\n effects: {\n input: 'inset 0px 0px 4px rgba(0, 0, 0, 0.20)',\n button: '0px 0px 4px 0px rgba(0, 0, 0, 0.25) inset, 0px 4px 4px 0px rgba(0, 0, 0, 0.25)',\n },\n palette: JeneseiPalette,\n background: JeneseiPalette,\n states: {\n focus: JeneseiPalette.black60,\n danger: JeneseiPalette.redGoogle,\n },\n colors: {\n range: ThemeGenreRange,\n sonner: ThemeGenreSonner,\n button: ThemeGenre,\n date: ThemeGenreDate,\n toggle: ThemeGenreToggle,\n checkbox: ThemeGenre,\n input: ThemeGenreInput,\n imageSelect: ThemeImageSelect,\n select: ThemeSelect,\n },\n getContrastYIQ: getContrastYIQ,\n};\nexport const ThemeBlack: ITheme = ThemeLight;\n\nexport const KEY_SIZE_DATA: Record<IThemeSize, IThemeSizePropertyDefault> = {\n large: {\n height: 46,\n heightIcon: 24,\n radius: 6,\n padding: 16,\n font: 20,\n },\n largeMedium: {\n height: 42,\n heightIcon: 22,\n radius: 6,\n padding: 14,\n font: 18,\n },\n medium: {\n height: 38,\n heightIcon: 20,\n radius: 6,\n padding: 12,\n font: 16,\n },\n mediumSmall: {\n height: 34,\n heightIcon: 18,\n radius: 6,\n padding: 10,\n font: 14,\n },\n small: {\n height: 30,\n heightIcon: 16,\n radius: 8,\n padding: 8,\n font: 12,\n },\n};\nexport const KEY_SIZE_DATA_TOGGLE: Record<IThemeSize, IThemeSizePropertyToggle> = {\n large: {\n height: 46,\n width: 92,\n padding: 3,\n thumb: 40,\n },\n largeMedium: {\n height: 42,\n width: 84,\n padding: 2,\n thumb: 38,\n },\n medium: {\n height: 38,\n width: 76,\n padding: 2,\n thumb: 34,\n },\n mediumSmall: {\n height: 34,\n width: 68,\n padding: 2,\n thumb: 30,\n },\n small: {\n height: 30,\n width: 60,\n padding: 2,\n thumb: 26,\n },\n};\n","import { createGlobalStyle } from 'styled-components';\nimport reset from 'styled-reset';\n\nexport const JeneseiGlobalStyles = createGlobalStyle`\n ${reset};\n /* &:focus-visible {\n background: gray;\n } */\n \n #storybook-root {\n overflow: hidden;\n display: flex;\n max-height: 100dvh;\n max-width: 100dvw;\n overflow:auto;\n }\n .sb-show-main.sb-main-padded {\n padding:0;\n }\n\n * {\n box-sizing: border-box;\n }\n\n html {\n display: flex;\n overflow-x: hidden;\n max-width: 100dvw;\n min-height: 100dvh;\n height: 100%;\n font-size: ${(props) => props.theme.font.sizeDefault.default}px;\n font-family: ${(props) => props.theme.font.family}, Inter, system-ui, sans-serif;\n font-weight: ${(props) => props.theme.font.weight};\n font-feature-settings: 'kern' normal;\n font-kerning: auto;\n font-optical-sizing: auto;\n line-height: ${(props) => props.theme.font.lineHeight};\n transition: font-size ${(props) => props.theme.transition.default};\n }\n\n html, body, #root {\n font-synthesis: none;\n touch-action: manipulation; \n -ms-touch-action: manipulation; \n overscroll-behavior: none; \n text-rendering: optimizeLegibility;\n margin: 0;\n padding: 0;\n color: inherit;\n } \n\n body {\n flex:1;\n }\n\n @media screen and (max-width: 1024px) {\n body:has(.LayoutModal) {\n overflow: hidden !important;\n }\n }\n\n input[type='checkbox'],\n input[type='radio'] {\n appearance: none;\n transform: translate(0px);\n }\n\n input[type='time']::-webkit-calendar-picker-indicator {\n background: none;\n }\n\n ::-webkit-scrollbar {\n width: ${(props) => props.theme.scrollbar.width}px;\n height: ${(props) => props.theme.scrollbar.width}px;\n }\n\n ::-webkit-scrollbar-track {\n background: ${(props) => props.theme.scrollbar.background};\n }\n\n ::-webkit-scrollbar-thumb {\n background: ${(props) => props.theme.scrollbar.thumb};\n border: ${(props) => props.theme.scrollbar.thumbBorder};\n background-clip: padding-box;\n }\n\n h1 {\n font-size: ${(props) => props.theme.font.sizeHeading.h1 * props.theme.font.sizeDefault.default}px;\n line-height: ${(props) => props.theme.font.lineHeight};\n margin: 0;\n }\n\n h2 {\n font-size: ${(props) => props.theme.font.sizeHeading.h2 * props.theme.font.sizeDefault.default}px;\n line-height: ${(props) => props.theme.font.lineHeight};\n margin: 0;\n }\n\n h3 {\n font-size: ${(props) => props.theme.font.sizeHeading.h3 * props.theme.font.sizeDefault.default}px;\n line-height: ${(props) => props.theme.font.lineHeight};\n margin: 0;\n }\n\n h4 {\n font-size: ${(props) => props.theme.font.sizeHeading.h4 * props.theme.font.sizeDefault.default}px;\n line-height: ${(props) => props.theme.font.lineHeight};\n margin: 0;\n }\n\n h5 {\n font-size: ${(props) => props.theme.font.sizeHeading.h5 * props.theme.font.sizeDefault.default}px;\n line-height: ${(props) => props.theme.font.lineHeight};\n margin: 0;\n }\n\n h6 {\n font-size: v${(props) => props.theme.font.sizeHeading.h6 * props.theme.font.sizeDefault.default}px;\n line-height: ${(props) => props.theme.font.lineHeight};\n margin: 0;\n }\n\n\n @media (max-width: ${(props) => props.theme.screens.tablet.width}px) {\n h1 {\n font-size: ${(props) => props.theme.font.sizeHeading.h1 * props.theme.font.sizeDefault.tablet}px;\n }\n\n h2 {\n font-size: ${(props) => props.theme.font.sizeHeading.h2 * props.theme.font.sizeDefault.tablet}px;\n }\n\n h3 {\n font-size: ${(props) => props.theme.font.sizeHeading.h3 * props.theme.font.sizeDefault.tablet}px;\n }\n\n h4 {\n font-size: ${(props) => props.theme.font.sizeHeading.h4 * props.theme.font.sizeDefault.tablet}px;\n }\n\n h5 {\n font-size: ${(props) => props.theme.font.sizeHeading.h5 * props.theme.font.sizeDefault.tablet}px;\n }\n\n h6 {\n font-size: v${(props) => props.theme.font.sizeHeading.h6 * props.theme.font.sizeDefault.tablet}px;\n }\n }\n\n @media (max-width: ${(props) => props.theme.screens.mobile.width}px) {\n h1 {\n font-size: ${(props) => props.theme.font.sizeHeading.h1 * props.theme.font.sizeDefault.mobile}px;\n }\n\n h2 {\n font-size: ${(props) => props.theme.font.sizeHeading.h2 * props.theme.font.sizeDefault.mobile}px;\n }\n\n h3 {\n font-size: ${(props) => props.theme.font.sizeHeading.h3 * props.theme.font.sizeDefault.mobile}px;\n }\n\n h4 {\n font-size: ${(props) => props.theme.font.sizeHeading.h4 * props.theme.font.sizeDefault.mobile}px;\n }\n\n h5 {\n font-size: ${(props) => props.theme.font.sizeHeading.h5 * props.theme.font.sizeDefault.mobile}px;\n }\n\n h6 {\n font-size: v${(props) => props.theme.font.sizeHeading.h6 * props.theme.font.sizeDefault.mobile}px;\n }\n }\n`;\n"],"names":["JeneseiPalette","currentColor","inherit","transparent","black100","black80","black60","black50","black40","black10","black05","black04","blackHelena","blackJanice","grayJanice","grayKaren","grayMonica","graySandra","grayPatricia","graySarah","grayStassie","grayAdriana","grayBarbara","grayStephanie","grayTina","grayFrances","whiteStandard","whiteJanice","greenGoogle","green100","green25","green50","green10","green10Background","yellowGoogle","yellow100","yellow50","yellow25","yellow10","yellow10Background","redGoogle","red100","red50","red25","red10","red10Background","blueGoogle","blueRest","blueActive","blueHover","blueFocus","blueBr","blueKaren","blueMonica","violetStephanie","violetJanice","amnezia","ThemeGenre","background","rest","hover","color","placeholder","border","white","product","productBorder","gray","grayBorder","black","blackBorder","greenTransparent","yellowTransparent","redTransparent","ThemeLight","transition","duration","timingFunction","default","icon","scrollbar","width","thumb","thumbBorder","font","family","weight","lineHeight","sizeDefault","mobile","tablet","sizeHeading","h1","h2","h3","h4","h5","h6","h7","h8","h9","screens","effects","input","button","palette","states","focus","danger","colors","range","track","gradient","sonner","genre","wrapper","borderColor","boxShadow","boxShadowHover","title","description","date","today","weekend","choice","line","toggle","active","thumbBoxShadow","unActive","checkbox","imageSelect","select","getContrastYIQ","ThemeBlack","JeneseiGlobalStyles","createGlobalStyle","reset","props","theme","large","height","heightIcon","radius","padding","largeMedium","medium","mediumSmall","small"],"mappings":"4GAkBaA,EAAoD,CAC/DC,aAAc,eACdC,QAAS,UACTC,YAAa,cACbC,SAAU,UACVC,QAAS,YACTC,QAAS,YACTC,QAAS,YACTC,QAAS,YACTC,QAAS,YACTC,QAAS,YACTC,QAAS,YACTC,YAAa,UACbC,YAAa,UACbC,WAAY,UACZC,UAAW,UACXC,WAAY,UACZC,WAAY,UACZC,aAAc,UACdC,UAAW,UACXC,YAAa,UACbC,YAAa,YACbC,YAAa,UACbC,cAAe,UACfC,SAAU,UACVC,YAAa,UACbC,cAAe,UACfC,YAAa,UACbC,YAAa,UACbC,SAAU,U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