@jenesei-software/jenesei-kit-react 1.3.39 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (754) hide show
  1. package/README.md +0 -37
  2. package/build/AnimatePresence-BByJ67dn.js +134 -0
  3. package/build/AnimatePresence-BByJ67dn.js.map +1 -0
  4. package/build/AnimatePresence-BtUPiqYm.cjs +11 -0
  5. package/build/AnimatePresence-BtUPiqYm.cjs.map +1 -0
  6. package/build/area-outside.cjs.js +1 -2
  7. package/build/area-outside.d.ts +2 -28
  8. package/build/area-outside.es.js +2 -3
  9. package/build/area-preview.cjs.js +1 -2
  10. package/build/area-preview.d.ts +2 -48
  11. package/build/area-preview.es.js +3 -5
  12. package/build/area-skeleton.cjs.js +1 -2
  13. package/build/area-skeleton.d.ts +2 -68
  14. package/build/area-skeleton.es.js +2 -4
  15. package/build/areas/outside/area.d.ts +7 -0
  16. package/build/areas/outside/index.d.ts +1 -0
  17. package/build/areas/preview/area.d.ts +3 -0
  18. package/build/areas/preview/area.hooks.d.ts +1 -0
  19. package/build/areas/preview/area.types.d.ts +19 -0
  20. package/build/areas/preview/index.d.ts +3 -0
  21. package/build/areas/skeleton/area.d.ts +3 -0
  22. package/build/areas/skeleton/area.types.d.ts +21 -0
  23. package/build/areas/skeleton/index.d.ts +2 -0
  24. package/build/build-info.txt +3 -3
  25. package/build/button-C5PgNYns.cjs +3 -0
  26. package/build/button-C5PgNYns.cjs.map +1 -0
  27. package/build/button-D8zdhI-0.js +102 -0
  28. package/build/button-D8zdhI-0.js.map +1 -0
  29. package/build/checkbox-Ba0-4wxk.js +98 -0
  30. package/build/checkbox-Ba0-4wxk.js.map +1 -0
  31. package/build/checkbox-BtkbSjHq.cjs +3 -0
  32. package/build/checkbox-BtkbSjHq.cjs.map +1 -0
  33. package/build/chunk-CW3en5xf.cjs +1 -0
  34. package/build/chunk-D1xtDmiO.js +31 -0
  35. package/build/component-6HgOL-7c.js +71 -0
  36. package/build/component-6HgOL-7c.js.map +1 -0
  37. package/build/component-BjdeqpEq.cjs +3 -0
  38. package/build/component-BjdeqpEq.cjs.map +1 -0
  39. package/build/component-button.cjs.js +1 -2
  40. package/build/component-button.d.ts +2 -208
  41. package/build/component-button.es.js +2 -5
  42. package/build/component-checkbox.cjs.js +1 -2
  43. package/build/component-checkbox.d.ts +2 -208
  44. package/build/component-checkbox.es.js +2 -8
  45. package/build/component-date-picker.cjs.js +1 -2
  46. package/build/component-date-picker.d.ts +2 -582
  47. package/build/component-date-picker.es.js +2 -19
  48. package/build/component-icon.cjs.js +1 -2
  49. package/build/component-icon.d.ts +2 -136
  50. package/build/component-icon.es.js +4 -8
  51. package/build/component-input-otp.cjs.js +1 -2
  52. package/build/component-input-otp.d.ts +2 -211
  53. package/build/component-input-otp.es.js +2 -7
  54. package/build/component-input.cjs.js +1 -2
  55. package/build/component-input.d.ts +2 -286
  56. package/build/component-input.es.js +2 -18
  57. package/build/component-pagination.cjs.js +1 -2
  58. package/build/component-pagination.d.ts +2 -196
  59. package/build/component-pagination.es.js +2 -4
  60. package/build/component-popover.cjs.js +1 -0
  61. package/build/component-popover.d.ts +2 -0
  62. package/build/component-popover.es.js +5 -0
  63. package/build/component-select.cjs.js +1 -2
  64. package/build/component-select.d.ts +2 -411
  65. package/build/component-select.es.js +6 -18
  66. package/build/component-separator.cjs.js +1 -2
  67. package/build/component-separator.d.ts +2 -49
  68. package/build/component-separator.es.js +2 -5
  69. package/build/component-stack.cjs.js +1 -2
  70. package/build/component-stack.d.ts +2 -72
  71. package/build/component-stack.es.js +3 -6
  72. package/build/component-textarea.cjs.js +1 -2
  73. package/build/component-textarea.d.ts +2 -202
  74. package/build/component-textarea.es.js +2 -6
  75. package/build/component-toggle.cjs.js +1 -2
  76. package/build/component-toggle.d.ts +2 -150
  77. package/build/component-toggle.es.js +2 -6
  78. package/build/component-tooltip.cjs.js +1 -2
  79. package/build/component-tooltip.d.ts +2 -360
  80. package/build/component-tooltip.es.js +2 -10
  81. package/build/component-typography.cjs.js +1 -2
  82. package/build/component-typography.d.ts +2 -316
  83. package/build/component-typography.es.js +3 -9
  84. package/build/components/button/component.d.ts +3 -0
  85. package/build/components/button/component.types.d.ts +41 -0
  86. package/build/components/button/index.d.ts +2 -0
  87. package/build/components/checkbox/component.d.ts +3 -0
  88. package/build/components/checkbox/component.types.d.ts +51 -0
  89. package/build/components/checkbox/index.d.ts +2 -0
  90. package/build/components/date-picker/component.d.ts +2 -0
  91. package/build/components/date-picker/component.types.d.ts +86 -0
  92. package/build/components/date-picker/index.d.ts +2 -0
  93. package/build/components/error/component.d.ts +3 -0
  94. package/build/components/error/component.types.d.ts +11 -0
  95. package/build/components/error/index.d.ts +2 -0
  96. package/build/components/icon/component.consts.d.ts +6 -0
  97. package/build/components/icon/component.d.ts +9 -0
  98. package/build/components/icon/component.functions.d.ts +2 -0
  99. package/build/components/icon/component.hooks.d.ts +5 -0
  100. package/build/components/icon/component.types.d.ts +47 -0
  101. package/build/components/icon/index.d.ts +4 -0
  102. package/build/components/input/component.d.ts +6 -0
  103. package/build/components/input/component.types.d.ts +78 -0
  104. package/build/components/input/index.d.ts +2 -0
  105. package/build/components/input-otp/component.d.ts +2 -0
  106. package/build/components/input-otp/component.types.d.ts +8 -0
  107. package/build/components/input-otp/index.d.ts +2 -0
  108. package/build/components/pagination/component.constants.d.ts +1 -0
  109. package/build/components/pagination/component.d.ts +3 -0
  110. package/build/components/pagination/component.types.d.ts +22 -0
  111. package/build/components/pagination/index.d.ts +2 -0
  112. package/build/components/popover/component.constants.d.ts +3 -0
  113. package/build/components/popover/component.d.ts +34 -0
  114. package/build/components/popover/component.types.d.ts +113 -0
  115. package/build/components/popover/index.d.ts +2 -0
  116. package/build/components/select/component.d.ts +4 -0
  117. package/build/components/select/component.examples.d.ts +6 -0
  118. package/build/components/select/component.types.d.ts +109 -0
  119. package/build/components/select/index.d.ts +3 -0
  120. package/build/components/separator/component.d.ts +3 -0
  121. package/build/components/separator/component.types.d.ts +10 -0
  122. package/build/components/separator/index.d.ts +2 -0
  123. package/build/components/stack/component.d.ts +4 -0
  124. package/build/components/stack/component.types.d.ts +20 -0
  125. package/build/components/stack/index.d.ts +2 -0
  126. package/build/components/textarea/component.d.ts +2 -0
  127. package/build/components/textarea/component.types.d.ts +67 -0
  128. package/build/components/textarea/index.d.ts +2 -0
  129. package/build/components/toggle/component.d.ts +2 -0
  130. package/build/components/toggle/component.types.d.ts +25 -0
  131. package/build/components/toggle/index.d.ts +2 -0
  132. package/build/components/tooltip/component.constants.d.ts +3 -0
  133. package/build/components/tooltip/component.d.ts +4 -0
  134. package/build/components/tooltip/component.types.d.ts +12 -0
  135. package/build/components/tooltip/index.d.ts +2 -0
  136. package/build/components/typography/component.d.ts +3 -0
  137. package/build/components/typography/component.types.d.ts +18 -0
  138. package/build/components/typography/index.d.ts +2 -0
  139. package/build/components-error.cjs.js +1 -0
  140. package/build/components-error.d.ts +2 -0
  141. package/build/components-error.es.js +4 -0
  142. package/build/context-app-4_kY3Qcd.js +417 -0
  143. package/build/context-app-4_kY3Qcd.js.map +1 -0
  144. package/build/context-app-DKsS6_WR.cjs +9 -0
  145. package/build/context-app-DKsS6_WR.cjs.map +1 -0
  146. package/build/context-app.cjs.js +1 -2
  147. package/build/context-app.d.ts +2 -224
  148. package/build/context-app.es.js +3 -19
  149. package/build/context-browser-theme-CPhqqRUP.js +35 -0
  150. package/build/context-browser-theme-CPhqqRUP.js.map +1 -0
  151. package/build/context-browser-theme-o9geUlSH.cjs +3 -0
  152. package/build/context-browser-theme-o9geUlSH.cjs.map +1 -0
  153. package/build/context-browser-theme.cjs.js +1 -0
  154. package/build/context-browser-theme.d.ts +2 -0
  155. package/build/context-browser-theme.es.js +5 -0
  156. package/build/context-cookie-5CBhf-gb.js +138 -0
  157. package/build/context-cookie-5CBhf-gb.js.map +1 -0
  158. package/build/context-cookie-CvTU44MD.cjs +3 -0
  159. package/build/context-cookie-CvTU44MD.cjs.map +1 -0
  160. package/build/context-cookie.cjs.js +1 -2
  161. package/build/context-cookie.d.ts +2 -67
  162. package/build/context-cookie.es.js +3 -8
  163. package/build/context-dialog-CCnhd1EY.cjs +3 -0
  164. package/build/context-dialog-CCnhd1EY.cjs.map +1 -0
  165. package/build/context-dialog-HLeQ5WNn.js +176 -0
  166. package/build/context-dialog-HLeQ5WNn.js.map +1 -0
  167. package/build/context-dialog.cjs.js +1 -2
  168. package/build/context-dialog.d.ts +2 -106
  169. package/build/context-dialog.es.js +4 -17
  170. package/build/context-geolocation-C7PYGQ2g.js +42 -0
  171. package/build/context-geolocation-C7PYGQ2g.js.map +1 -0
  172. package/build/context-geolocation-ffFFV4kn.cjs +3 -0
  173. package/build/context-geolocation-ffFFV4kn.cjs.map +1 -0
  174. package/build/context-geolocation.cjs.js +1 -2
  175. package/build/context-geolocation.d.ts +2 -22
  176. package/build/context-geolocation.es.js +3 -6
  177. package/build/context-local-storage-Bb_vktd8.js +83 -0
  178. package/build/context-local-storage-Bb_vktd8.js.map +1 -0
  179. package/build/context-local-storage-kmxWNK_4.cjs +3 -0
  180. package/build/context-local-storage-kmxWNK_4.cjs.map +1 -0
  181. package/build/context-local-storage.cjs.js +1 -2
  182. package/build/context-local-storage.d.ts +2 -54
  183. package/build/context-local-storage.es.js +3 -8
  184. package/build/context-permission-Co4BKDOu.js +77 -0
  185. package/build/context-permission-Co4BKDOu.js.map +1 -0
  186. package/build/context-permission-K3tWOiAx.cjs +3 -0
  187. package/build/context-permission-K3tWOiAx.cjs.map +1 -0
  188. package/build/context-permission.cjs.js +1 -2
  189. package/build/context-permission.d.ts +2 -28
  190. package/build/context-permission.es.js +3 -7
  191. package/build/context-screen-width-CEsyIyg6.js +53 -0
  192. package/build/context-screen-width-CEsyIyg6.js.map +1 -0
  193. package/build/context-screen-width-ind6z7Ny.cjs +3 -0
  194. package/build/context-screen-width-ind6z7Ny.cjs.map +1 -0
  195. package/build/context-screen-width.cjs.js +1 -2
  196. package/build/context-screen-width.d.ts +2 -34
  197. package/build/context-screen-width.es.js +3 -5
  198. package/build/context-sonner-Bniiz914.js +218 -0
  199. package/build/context-sonner-Bniiz914.js.map +1 -0
  200. package/build/context-sonner-L0OMEvZE.cjs +3 -0
  201. package/build/context-sonner-L0OMEvZE.cjs.map +1 -0
  202. package/build/context-sonner.cjs.js +1 -2
  203. package/build/context-sonner.d.ts +2 -457
  204. package/build/context-sonner.es.js +3 -20
  205. package/build/contexts/context-app/context.d.ts +33 -0
  206. package/build/contexts/context-app/context.hooks.d.ts +2 -0
  207. package/build/contexts/context-app/context.styles.d.ts +14 -0
  208. package/build/contexts/context-app/context.types.d.ts +87 -0
  209. package/build/contexts/context-app/index.d.ts +2 -0
  210. package/build/contexts/context-browser-theme/context.d.ts +4 -0
  211. package/build/contexts/context-browser-theme/context.hooks.d.ts +2 -0
  212. package/build/contexts/context-browser-theme/context.types.d.ts +12 -0
  213. package/build/contexts/context-browser-theme/index.d.ts +2 -0
  214. package/build/contexts/context-cookie/context.d.ts +27 -0
  215. package/build/contexts/context-cookie/context.functions.d.ts +3 -0
  216. package/build/contexts/context-cookie/context.hooks.d.ts +9 -0
  217. package/build/contexts/context-cookie/context.types.d.ts +18 -0
  218. package/build/contexts/context-cookie/index.d.ts +3 -0
  219. package/build/contexts/context-dialog/context.constants.d.ts +8 -0
  220. package/build/contexts/context-dialog/context.d.ts +4 -0
  221. package/build/contexts/context-dialog/context.hooks.d.ts +3 -0
  222. package/build/contexts/context-dialog/context.styles.d.ts +9 -0
  223. package/build/contexts/context-dialog/context.types.d.ts +47 -0
  224. package/build/contexts/context-dialog/index.d.ts +3 -0
  225. package/build/contexts/context-geolocation/context.d.ts +4 -0
  226. package/build/contexts/context-geolocation/context.hooks.d.ts +2 -0
  227. package/build/contexts/context-geolocation/context.types.d.ts +10 -0
  228. package/build/contexts/context-geolocation/index.d.ts +2 -0
  229. package/build/contexts/context-local-storage/context.d.ts +21 -0
  230. package/build/contexts/context-local-storage/context.functions.d.ts +2 -0
  231. package/build/contexts/context-local-storage/context.hooks.d.ts +5 -0
  232. package/build/contexts/context-local-storage/context.types.d.ts +16 -0
  233. package/build/contexts/context-local-storage/index.d.ts +3 -0
  234. package/build/contexts/context-permission/context.d.ts +3 -0
  235. package/build/contexts/context-permission/context.functions.d.ts +1 -0
  236. package/build/contexts/context-permission/context.hooks.d.ts +5 -0
  237. package/build/contexts/context-permission/context.types.d.ts +11 -0
  238. package/build/contexts/context-permission/index.d.ts +2 -0
  239. package/build/contexts/context-screen-width/context.d.ts +4 -0
  240. package/build/contexts/context-screen-width/context.hooks.d.ts +2 -0
  241. package/build/contexts/context-screen-width/context.types.d.ts +11 -0
  242. package/build/contexts/context-screen-width/index.d.ts +3 -0
  243. package/build/contexts/context-sonner/context.constants.d.ts +9 -0
  244. package/build/contexts/context-sonner/context.d.ts +4 -0
  245. package/build/contexts/context-sonner/context.hooks.d.ts +2 -0
  246. package/build/contexts/context-sonner/context.styles.d.ts +30 -0
  247. package/build/contexts/context-sonner/context.types.d.ts +59 -0
  248. package/build/contexts/context-sonner/index.d.ts +3 -0
  249. package/build/cores/consts.d.ts +30 -0
  250. package/build/{functions.d.ts → cores/functions.d.ts} +18 -22
  251. package/build/cores/logger.d.ts +1 -0
  252. package/build/cores/types.d.ts +18 -0
  253. package/build/date-picker-CQUe3ZXt.cjs +3 -0
  254. package/build/date-picker-CQUe3ZXt.cjs.map +1 -0
  255. package/build/date-picker-z3LcE7Ab.js +689 -0
  256. package/build/date-picker-z3LcE7Ab.js.map +1 -0
  257. package/build/dist-C8r_OdG1.cjs +3 -0
  258. package/build/dist-C8r_OdG1.cjs.map +1 -0
  259. package/build/dist-Dq_YJa2q.js +483 -0
  260. package/build/dist-Dq_YJa2q.js.map +1 -0
  261. package/build/error--kiPVmoi.cjs +3 -0
  262. package/build/error--kiPVmoi.cjs.map +1 -0
  263. package/build/error-D1UNY-0f.js +50 -0
  264. package/build/error-D1UNY-0f.js.map +1 -0
  265. package/build/functions-CLGf7hqw.js +20 -0
  266. package/build/functions-CLGf7hqw.js.map +1 -0
  267. package/build/functions-Dwo54amB.cjs +3 -0
  268. package/build/functions-Dwo54amB.cjs.map +1 -0
  269. package/build/hooks/use-debounced-callback/index.d.ts +1 -0
  270. package/build/hooks/use-debounced-callback/use.d.ts +1 -0
  271. package/build/hooks/use-deep-compare-memoize/index.d.ts +1 -0
  272. package/build/hooks/use-deep-compare-memoize/use.d.ts +1 -0
  273. package/build/hooks/use-deep-memo/index.d.ts +1 -0
  274. package/build/hooks/use-deep-memo/use.d.ts +1 -0
  275. package/build/hooks/use-merge-refs/index.d.ts +1 -0
  276. package/build/hooks/use-merge-refs/use.d.ts +2 -0
  277. package/build/hooks/use-overflowing/index.d.ts +2 -0
  278. package/build/hooks/use-overflowing/use.d.ts +12 -0
  279. package/build/hooks/use-overflowing/use.types.d.ts +6 -0
  280. package/build/hooks/use-overflowing-advanced/index.d.ts +2 -0
  281. package/build/hooks/use-overflowing-advanced/use.d.ts +7 -0
  282. package/build/hooks/use-overflowing-advanced/use.types.d.ts +5 -0
  283. package/build/hooks/use-overflowing-in-container/index.d.ts +2 -0
  284. package/build/hooks/use-overflowing-in-container/use.d.ts +7 -0
  285. package/build/hooks/use-overflowing-in-container/use.types.d.ts +7 -0
  286. package/build/hooks/use-responsive-layout/index.d.ts +1 -0
  287. package/build/hooks/use-responsive-layout/use.d.ts +2 -0
  288. package/build/hooks/use-typography-styles/index.d.ts +2 -0
  289. package/build/hooks/use-typography-styles/use.d.ts +2 -0
  290. package/build/hooks/use-typography-styles/use.types.d.ts +11 -0
  291. package/build/hooks-use-debounced-callback.cjs.js +3 -2
  292. package/build/hooks-use-debounced-callback.cjs.js.map +1 -1
  293. package/build/hooks-use-debounced-callback.d.ts +2 -3
  294. package/build/hooks-use-debounced-callback.es.js +12 -3
  295. package/build/hooks-use-debounced-callback.es.js.map +1 -1
  296. package/build/hooks-use-deep-compare-memoize.cjs.js +3 -2
  297. package/build/hooks-use-deep-compare-memoize.cjs.js.map +1 -1
  298. package/build/hooks-use-deep-compare-memoize.d.ts +2 -3
  299. package/build/hooks-use-deep-compare-memoize.es.js +10 -3
  300. package/build/hooks-use-deep-compare-memoize.es.js.map +1 -1
  301. package/build/hooks-use-deep-memo.cjs.js +3 -0
  302. package/build/hooks-use-deep-memo.cjs.js.map +1 -0
  303. package/build/hooks-use-deep-memo.d.ts +2 -0
  304. package/build/hooks-use-deep-memo.es.js +13 -0
  305. package/build/hooks-use-deep-memo.es.js.map +1 -0
  306. package/build/hooks-use-merge-refs.cjs.js +3 -0
  307. package/build/hooks-use-merge-refs.cjs.js.map +1 -0
  308. package/build/hooks-use-merge-refs.d.ts +2 -0
  309. package/build/hooks-use-merge-refs.es.js +13 -0
  310. package/build/hooks-use-merge-refs.es.js.map +1 -0
  311. package/build/hooks-use-overflowing-advanced.cjs.js +3 -0
  312. package/build/hooks-use-overflowing-advanced.cjs.js.map +1 -0
  313. package/build/hooks-use-overflowing-advanced.d.ts +2 -0
  314. package/build/hooks-use-overflowing-advanced.es.js +24 -0
  315. package/build/hooks-use-overflowing-advanced.es.js.map +1 -0
  316. package/build/hooks-use-overflowing-in-container.cjs.js +3 -0
  317. package/build/hooks-use-overflowing-in-container.cjs.js.map +1 -0
  318. package/build/hooks-use-overflowing-in-container.d.ts +2 -0
  319. package/build/hooks-use-overflowing-in-container.es.js +20 -0
  320. package/build/hooks-use-overflowing-in-container.es.js.map +1 -0
  321. package/build/hooks-use-overflowing.cjs.js +3 -0
  322. package/build/hooks-use-overflowing.cjs.js.map +1 -0
  323. package/build/hooks-use-overflowing.d.ts +2 -0
  324. package/build/hooks-use-overflowing.es.js +28 -0
  325. package/build/hooks-use-overflowing.es.js.map +1 -0
  326. package/build/hooks-use-responsive-layout.cjs.js +3 -0
  327. package/build/hooks-use-responsive-layout.cjs.js.map +1 -0
  328. package/build/hooks-use-responsive-layout.d.ts +2 -0
  329. package/build/hooks-use-responsive-layout.es.js +22 -0
  330. package/build/hooks-use-responsive-layout.es.js.map +1 -0
  331. package/build/hooks-use-typography-styles.cjs.js +3 -0
  332. package/build/hooks-use-typography-styles.cjs.js.map +1 -0
  333. package/build/hooks-use-typography-styles.d.ts +2 -0
  334. package/build/hooks-use-typography-styles.es.js +37 -0
  335. package/build/hooks-use-typography-styles.es.js.map +1 -0
  336. package/build/icon-BG6R5Lfa.js +277 -0
  337. package/build/icon-BG6R5Lfa.js.map +1 -0
  338. package/build/icon-CreblPsB.cjs +3 -0
  339. package/build/icon-CreblPsB.cjs.map +1 -0
  340. package/build/index.cjs.js +1 -2
  341. package/build/index.d.ts +39 -2494
  342. package/build/index.es.js +104 -309
  343. package/build/input-CWcWWMCp.cjs +11 -0
  344. package/build/input-CWcWWMCp.cjs.map +1 -0
  345. package/build/input-DqMLnOz5.js +917 -0
  346. package/build/input-DqMLnOz5.js.map +1 -0
  347. package/build/input-otp-DPp3qmvI.js +106 -0
  348. package/build/input-otp-DPp3qmvI.js.map +1 -0
  349. package/build/input-otp-Z_wz6o6L.cjs +3 -0
  350. package/build/input-otp-Z_wz6o6L.cjs.map +1 -0
  351. package/build/isEqual-VCZu3vai.js +675 -0
  352. package/build/isEqual-VCZu3vai.js.map +1 -0
  353. package/build/isEqual-wc3RBuBi.cjs +3 -0
  354. package/build/isEqual-wc3RBuBi.cjs.map +1 -0
  355. package/build/logger-BRWLzI5S.js +174 -0
  356. package/build/logger-BRWLzI5S.js.map +1 -0
  357. package/build/logger-DZFY33QY.cjs +5 -0
  358. package/build/logger-DZFY33QY.cjs.map +1 -0
  359. package/build/motion-BeQRGZxW.cjs +3 -0
  360. package/build/motion-BeQRGZxW.cjs.map +1 -0
  361. package/build/motion-Ot_yGWVJ.js +128 -0
  362. package/build/motion-Ot_yGWVJ.js.map +1 -0
  363. package/build/outside-BtjOuCPD.js +24 -0
  364. package/build/outside-BtjOuCPD.js.map +1 -0
  365. package/build/outside-DJ1B9sBT.cjs +3 -0
  366. package/build/outside-DJ1B9sBT.cjs.map +1 -0
  367. package/build/pagination-BnvQ1aha.cjs +3 -0
  368. package/build/pagination-BnvQ1aha.cjs.map +1 -0
  369. package/build/pagination-CpaP3Svg.js +110 -0
  370. package/build/pagination-CpaP3Svg.js.map +1 -0
  371. package/build/popover-1k1MNFwv.js +1948 -0
  372. package/build/popover-1k1MNFwv.js.map +1 -0
  373. package/build/popover-fte_EMYr.cjs +3 -0
  374. package/build/popover-fte_EMYr.cjs.map +1 -0
  375. package/build/preview-BvJN6QoV.js +65 -0
  376. package/build/preview-BvJN6QoV.js.map +1 -0
  377. package/build/preview-CG76AiC9.cjs +3 -0
  378. package/build/preview-CG76AiC9.cjs.map +1 -0
  379. package/build/proxy-D2Z8K6jr.cjs +3 -0
  380. package/build/proxy-D2Z8K6jr.cjs.map +1 -0
  381. package/build/proxy-DTLy-pV-.js +4354 -0
  382. package/build/proxy-DTLy-pV-.js.map +1 -0
  383. package/build/select-B4JeEvIF.js +3443 -0
  384. package/build/select-B4JeEvIF.js.map +1 -0
  385. package/build/select-BQtWzaxE.cjs +9 -0
  386. package/build/select-BQtWzaxE.cjs.map +1 -0
  387. package/build/separator-BXoT44nC.cjs +3 -0
  388. package/build/separator-BXoT44nC.cjs.map +1 -0
  389. package/build/separator-hWp-s54-.js +29 -0
  390. package/build/separator-hWp-s54-.js.map +1 -0
  391. package/build/skeleton-BOfnrUaI.cjs +3 -0
  392. package/build/skeleton-BOfnrUaI.cjs.map +1 -0
  393. package/build/skeleton-Bzr92XmL.js +39 -0
  394. package/build/skeleton-Bzr92XmL.js.map +1 -0
  395. package/build/style-motion.cjs.js +1 -2
  396. package/build/style-motion.d.ts +2 -20
  397. package/build/style-motion.es.js +5 -6
  398. package/build/style-utils.cjs.js +1 -0
  399. package/build/style-utils.d.ts +2 -0
  400. package/build/style-utils.es.js +7 -0
  401. package/build/styles/motion/index.d.ts +1 -0
  402. package/build/styles/motion/motion.d.ts +13 -0
  403. package/build/styles/utils/constants.d.ts +1797 -0
  404. package/build/styles/utils/functions.d.ts +3 -0
  405. package/build/styles/utils/index.d.ts +3 -0
  406. package/build/styles/utils/types.d.ts +68 -0
  407. package/build/textarea-BRzorAFw.cjs +3 -0
  408. package/build/textarea-BRzorAFw.cjs.map +1 -0
  409. package/build/textarea-BssfjUe3.js +132 -0
  410. package/build/textarea-BssfjUe3.js.map +1 -0
  411. package/build/toggle-BFp9Nmas.cjs +3 -0
  412. package/build/toggle-BFp9Nmas.cjs.map +1 -0
  413. package/build/toggle-CCfZoBpW.js +86 -0
  414. package/build/toggle-CCfZoBpW.js.map +1 -0
  415. package/build/typography-B2KioMfq.js +116 -0
  416. package/build/typography-B2KioMfq.js.map +1 -0
  417. package/build/typography-whjfut7N.cjs +3 -0
  418. package/build/typography-whjfut7N.cjs.map +1 -0
  419. package/build/utils-Cona48dZ.js +925 -0
  420. package/build/utils-Cona48dZ.js.map +1 -0
  421. package/build/utils-DtinAjAU.cjs +3 -0
  422. package/build/utils-DtinAjAU.cjs.map +1 -0
  423. package/build/v4-BDi_Luux.cjs +3 -0
  424. package/build/v4-BDi_Luux.cjs.map +1 -0
  425. package/build/v4-CYaPyb-W.js +31 -0
  426. package/build/v4-CYaPyb-W.js.map +1 -0
  427. package/package.json +189 -194
  428. package/build/area-0BNtBqG8.cjs +0 -2
  429. package/build/area-0BNtBqG8.cjs.map +0 -1
  430. package/build/area-B6xxVQ87.js +0 -35
  431. package/build/area-B6xxVQ87.js.map +0 -1
  432. package/build/area-B7-4IFQB.js +0 -19
  433. package/build/area-B7-4IFQB.js.map +0 -1
  434. package/build/area-DxKLtDFZ.cjs +0 -2
  435. package/build/area-DxKLtDFZ.cjs.map +0 -1
  436. package/build/area-outside.cjs.js.map +0 -1
  437. package/build/area-outside.es.js.map +0 -1
  438. package/build/area-preview.cjs.js.map +0 -1
  439. package/build/area-preview.es.js.map +0 -1
  440. package/build/area-scroll.cjs.js +0 -2
  441. package/build/area-scroll.cjs.js.map +0 -1
  442. package/build/area-scroll.d.ts +0 -57
  443. package/build/area-scroll.es.js +0 -7
  444. package/build/area-scroll.es.js.map +0 -1
  445. package/build/area-skeleton.cjs.js.map +0 -1
  446. package/build/area-skeleton.es.js.map +0 -1
  447. package/build/area-smooth.cjs.js +0 -2
  448. package/build/area-smooth.cjs.js.map +0 -1
  449. package/build/area-smooth.d.ts +0 -37
  450. package/build/area-smooth.es.js +0 -5
  451. package/build/area-smooth.es.js.map +0 -1
  452. package/build/area.hooks-Bk04M7mk.js +0 -26
  453. package/build/area.hooks-Bk04M7mk.js.map +0 -1
  454. package/build/area.hooks-C_UKZzcb.cjs +0 -2
  455. package/build/area.hooks-C_UKZzcb.cjs.map +0 -1
  456. package/build/area.styles-Cpx4H0gc.cjs +0 -27
  457. package/build/area.styles-Cpx4H0gc.cjs.map +0 -1
  458. package/build/area.styles-DhCCEhuq.js +0 -32
  459. package/build/area.styles-DhCCEhuq.js.map +0 -1
  460. package/build/component-B0PbrKuJ.cjs +0 -2
  461. package/build/component-B0PbrKuJ.cjs.map +0 -1
  462. package/build/component-BBrKC5hB.js +0 -84
  463. package/build/component-BBrKC5hB.js.map +0 -1
  464. package/build/component-BMIqhbpK.js +0 -23
  465. package/build/component-BMIqhbpK.js.map +0 -1
  466. package/build/component-BlEglNo9.js +0 -60
  467. package/build/component-BlEglNo9.js.map +0 -1
  468. package/build/component-CONSm7hH.cjs +0 -2
  469. package/build/component-CONSm7hH.cjs.map +0 -1
  470. package/build/component-CPVG0orB.js +0 -50
  471. package/build/component-CPVG0orB.js.map +0 -1
  472. package/build/component-CTrSBI75.js +0 -64
  473. package/build/component-CTrSBI75.js.map +0 -1
  474. package/build/component-CWawez-M.js +0 -443
  475. package/build/component-CWawez-M.js.map +0 -1
  476. package/build/component-CZM5p4mC.js +0 -74
  477. package/build/component-CZM5p4mC.js.map +0 -1
  478. package/build/component-Cfs39n8Q.js +0 -21
  479. package/build/component-Cfs39n8Q.js.map +0 -1
  480. package/build/component-CoOTSdM5.cjs +0 -28
  481. package/build/component-CoOTSdM5.cjs.map +0 -1
  482. package/build/component-Cu2i_-RT.cjs +0 -2
  483. package/build/component-Cu2i_-RT.cjs.map +0 -1
  484. package/build/component-D-HMYzXU.js +0 -65
  485. package/build/component-D-HMYzXU.js.map +0 -1
  486. package/build/component-DGpaKn6_.js +0 -248
  487. package/build/component-DGpaKn6_.js.map +0 -1
  488. package/build/component-DJAq34yj.cjs +0 -2
  489. package/build/component-DJAq34yj.cjs.map +0 -1
  490. package/build/component-DKzHmIUP.js +0 -10
  491. package/build/component-DKzHmIUP.js.map +0 -1
  492. package/build/component-Dkw50gzn.cjs +0 -2
  493. package/build/component-Dkw50gzn.cjs.map +0 -1
  494. package/build/component-DqV_-YxZ.cjs +0 -2
  495. package/build/component-DqV_-YxZ.cjs.map +0 -1
  496. package/build/component-Dy66XPIf.cjs +0 -2
  497. package/build/component-Dy66XPIf.cjs.map +0 -1
  498. package/build/component-DyLdklDO.cjs +0 -2
  499. package/build/component-DyLdklDO.cjs.map +0 -1
  500. package/build/component-LG-duo2b.cjs +0 -2
  501. package/build/component-LG-duo2b.cjs.map +0 -1
  502. package/build/component-PZe4p8qh.cjs +0 -2
  503. package/build/component-PZe4p8qh.cjs.map +0 -1
  504. package/build/component-RlcwDmkg.js +0 -39
  505. package/build/component-RlcwDmkg.js.map +0 -1
  506. package/build/component-ZdZUAyaP.cjs +0 -2
  507. package/build/component-ZdZUAyaP.cjs.map +0 -1
  508. package/build/component-accordion.cjs.js +0 -2
  509. package/build/component-accordion.cjs.js.map +0 -1
  510. package/build/component-accordion.d.ts +0 -100
  511. package/build/component-accordion.es.js +0 -11
  512. package/build/component-accordion.es.js.map +0 -1
  513. package/build/component-buGvmEo6.cjs +0 -2
  514. package/build/component-buGvmEo6.cjs.map +0 -1
  515. package/build/component-button-group.cjs.js +0 -2
  516. package/build/component-button-group.cjs.js.map +0 -1
  517. package/build/component-button-group.d.ts +0 -195
  518. package/build/component-button-group.es.js +0 -7
  519. package/build/component-button-group.es.js.map +0 -1
  520. package/build/component-button.cjs.js.map +0 -1
  521. package/build/component-button.es.js.map +0 -1
  522. package/build/component-checkbox-group.cjs.js +0 -2
  523. package/build/component-checkbox-group.cjs.js.map +0 -1
  524. package/build/component-checkbox-group.d.ts +0 -224
  525. package/build/component-checkbox-group.es.js +0 -12
  526. package/build/component-checkbox-group.es.js.map +0 -1
  527. package/build/component-checkbox.cjs.js.map +0 -1
  528. package/build/component-checkbox.es.js.map +0 -1
  529. package/build/component-date-picker.cjs.js.map +0 -1
  530. package/build/component-date-picker.es.js.map +0 -1
  531. package/build/component-gcvwlILJ.js +0 -76
  532. package/build/component-gcvwlILJ.js.map +0 -1
  533. package/build/component-icon.cjs.js.map +0 -1
  534. package/build/component-icon.es.js.map +0 -1
  535. package/build/component-image-button.cjs.js +0 -2
  536. package/build/component-image-button.cjs.js.map +0 -1
  537. package/build/component-image-button.d.ts +0 -215
  538. package/build/component-image-button.es.js +0 -5
  539. package/build/component-image-button.es.js.map +0 -1
  540. package/build/component-image-select.cjs.js +0 -2
  541. package/build/component-image-select.cjs.js.map +0 -1
  542. package/build/component-image-select.d.ts +0 -313
  543. package/build/component-image-select.es.js +0 -12
  544. package/build/component-image-select.es.js.map +0 -1
  545. package/build/component-image-slider.cjs.js +0 -2
  546. package/build/component-image-slider.cjs.js.map +0 -1
  547. package/build/component-image-slider.d.ts +0 -108
  548. package/build/component-image-slider.es.js +0 -9
  549. package/build/component-image-slider.es.js.map +0 -1
  550. package/build/component-image.cjs.js +0 -2
  551. package/build/component-image.cjs.js.map +0 -1
  552. package/build/component-image.d.ts +0 -51
  553. package/build/component-image.es.js +0 -7
  554. package/build/component-image.es.js.map +0 -1
  555. package/build/component-input-otp.cjs.js.map +0 -1
  556. package/build/component-input-otp.es.js.map +0 -1
  557. package/build/component-input.cjs.js.map +0 -1
  558. package/build/component-input.es.js.map +0 -1
  559. package/build/component-pagination.cjs.js.map +0 -1
  560. package/build/component-pagination.es.js.map +0 -1
  561. package/build/component-range.cjs.js +0 -2
  562. package/build/component-range.cjs.js.map +0 -1
  563. package/build/component-range.d.ts +0 -212
  564. package/build/component-range.es.js +0 -9
  565. package/build/component-range.es.js.map +0 -1
  566. package/build/component-ripple.cjs.js +0 -2
  567. package/build/component-ripple.cjs.js.map +0 -1
  568. package/build/component-ripple.d.ts +0 -47
  569. package/build/component-ripple.es.js +0 -12
  570. package/build/component-ripple.es.js.map +0 -1
  571. package/build/component-sNGsB3JK.js +0 -88
  572. package/build/component-sNGsB3JK.js.map +0 -1
  573. package/build/component-sVzC5XUR.cjs +0 -2
  574. package/build/component-sVzC5XUR.cjs.map +0 -1
  575. package/build/component-select.cjs.js.map +0 -1
  576. package/build/component-select.es.js.map +0 -1
  577. package/build/component-separator.cjs.js.map +0 -1
  578. package/build/component-separator.es.js.map +0 -1
  579. package/build/component-stack.cjs.js.map +0 -1
  580. package/build/component-stack.es.js.map +0 -1
  581. package/build/component-textarea.cjs.js.map +0 -1
  582. package/build/component-textarea.es.js.map +0 -1
  583. package/build/component-toggle.cjs.js.map +0 -1
  584. package/build/component-toggle.es.js.map +0 -1
  585. package/build/component-tooltip.cjs.js.map +0 -1
  586. package/build/component-tooltip.es.js.map +0 -1
  587. package/build/component-typography.cjs.js.map +0 -1
  588. package/build/component-typography.es.js.map +0 -1
  589. package/build/component-wOmehMbn.js +0 -170
  590. package/build/component-wOmehMbn.js.map +0 -1
  591. package/build/component-zLIAB2HV.cjs +0 -2
  592. package/build/component-zLIAB2HV.cjs.map +0 -1
  593. package/build/component.constants-CJcoXCFC.js +0 -757
  594. package/build/component.constants-CJcoXCFC.js.map +0 -1
  595. package/build/component.constants-Ctj7PsM8.cjs +0 -2
  596. package/build/component.constants-Ctj7PsM8.cjs.map +0 -1
  597. package/build/component.constants-CzKFXlYT.cjs +0 -2
  598. package/build/component.constants-CzKFXlYT.cjs.map +0 -1
  599. package/build/component.constants-DjzlauTL.js +0 -142
  600. package/build/component.constants-DjzlauTL.js.map +0 -1
  601. package/build/component.functions-D9ffjEok.cjs +0 -8
  602. package/build/component.functions-D9ffjEok.cjs.map +0 -1
  603. package/build/component.functions-DNW6h8kk.js +0 -12
  604. package/build/component.functions-DNW6h8kk.js.map +0 -1
  605. package/build/component.styles-BX2Aiqp_.cjs +0 -43
  606. package/build/component.styles-BX2Aiqp_.cjs.map +0 -1
  607. package/build/component.styles-C0oU5oX_.js +0 -59
  608. package/build/component.styles-C0oU5oX_.js.map +0 -1
  609. package/build/component.styles-CD6ZzRrk.cjs +0 -14
  610. package/build/component.styles-CD6ZzRrk.cjs.map +0 -1
  611. package/build/component.styles-SZ5VuhNG.js +0 -20
  612. package/build/component.styles-SZ5VuhNG.js.map +0 -1
  613. package/build/component.types-CryJGkU7.js +0 -907
  614. package/build/component.types-CryJGkU7.js.map +0 -1
  615. package/build/component.types-Drt-O54w.cjs +0 -2
  616. package/build/component.types-Drt-O54w.cjs.map +0 -1
  617. package/build/consts.cjs.js +0 -2
  618. package/build/consts.cjs.js.map +0 -1
  619. package/build/consts.d.ts +0 -77
  620. package/build/consts.es.js +0 -151
  621. package/build/consts.es.js.map +0 -1
  622. package/build/context-B1id3uai.cjs +0 -2
  623. package/build/context-B1id3uai.cjs.map +0 -1
  624. package/build/context-B8kTBKjt.cjs +0 -2
  625. package/build/context-B8kTBKjt.cjs.map +0 -1
  626. package/build/context-BkovkNHQ.js +0 -117
  627. package/build/context-BkovkNHQ.js.map +0 -1
  628. package/build/context-C0_RNFp_.js +0 -195
  629. package/build/context-C0_RNFp_.js.map +0 -1
  630. package/build/context-DyTE2I_6.cjs +0 -4
  631. package/build/context-DyTE2I_6.cjs.map +0 -1
  632. package/build/context-LBih45kv.js +0 -44
  633. package/build/context-LBih45kv.js.map +0 -1
  634. package/build/context-app.cjs.js.map +0 -1
  635. package/build/context-app.es.js.map +0 -1
  636. package/build/context-cookie.cjs.js.map +0 -1
  637. package/build/context-cookie.es.js.map +0 -1
  638. package/build/context-dialog.cjs.js.map +0 -1
  639. package/build/context-dialog.es.js.map +0 -1
  640. package/build/context-geolocation.cjs.js.map +0 -1
  641. package/build/context-geolocation.es.js.map +0 -1
  642. package/build/context-local-storage.cjs.js.map +0 -1
  643. package/build/context-local-storage.es.js.map +0 -1
  644. package/build/context-permission.cjs.js.map +0 -1
  645. package/build/context-permission.es.js.map +0 -1
  646. package/build/context-screen-width.cjs.js.map +0 -1
  647. package/build/context-screen-width.es.js.map +0 -1
  648. package/build/context-sonner.cjs.js.map +0 -1
  649. package/build/context-sonner.es.js.map +0 -1
  650. package/build/context.constants-Bzn9Rcey.cjs +0 -32
  651. package/build/context.constants-Bzn9Rcey.cjs.map +0 -1
  652. package/build/context.constants-D0UjboYX.js +0 -12593
  653. package/build/context.constants-D0UjboYX.js.map +0 -1
  654. package/build/context.constants-DUVlJghM.js +0 -249
  655. package/build/context.constants-DUVlJghM.js.map +0 -1
  656. package/build/context.constants-gXk1ewxx.cjs +0 -1742
  657. package/build/context.constants-gXk1ewxx.cjs.map +0 -1
  658. package/build/context.functions-B8FDl7nJ.js +0 -14
  659. package/build/context.functions-B8FDl7nJ.js.map +0 -1
  660. package/build/context.functions-BqeTmcmr.cjs +0 -2
  661. package/build/context.functions-BqeTmcmr.cjs.map +0 -1
  662. package/build/context.functions-D2K4Xk47.js +0 -35
  663. package/build/context.functions-D2K4Xk47.js.map +0 -1
  664. package/build/context.functions-Duwzgcga.cjs +0 -2
  665. package/build/context.functions-Duwzgcga.cjs.map +0 -1
  666. package/build/context.functions-ObfwvEVG.js +0 -35
  667. package/build/context.functions-ObfwvEVG.js.map +0 -1
  668. package/build/context.functions-ar41xFVo.cjs +0 -2
  669. package/build/context.functions-ar41xFVo.cjs.map +0 -1
  670. package/build/context.hooks-B9dsW2kz.js +0 -117
  671. package/build/context.hooks-B9dsW2kz.js.map +0 -1
  672. package/build/context.hooks-Bkj1PSKe.cjs +0 -2
  673. package/build/context.hooks-Bkj1PSKe.cjs.map +0 -1
  674. package/build/context.hooks-CCLq09Ra.js +0 -13
  675. package/build/context.hooks-CCLq09Ra.js.map +0 -1
  676. package/build/context.hooks-CDvi20Bm.cjs +0 -2
  677. package/build/context.hooks-CDvi20Bm.cjs.map +0 -1
  678. package/build/context.hooks-CUXDpPaG.cjs +0 -2
  679. package/build/context.hooks-CUXDpPaG.cjs.map +0 -1
  680. package/build/context.hooks-CXJ-eM6d.js +0 -13
  681. package/build/context.hooks-CXJ-eM6d.js.map +0 -1
  682. package/build/context.hooks-CYJnoIrt.cjs +0 -2
  683. package/build/context.hooks-CYJnoIrt.cjs.map +0 -1
  684. package/build/context.hooks-DDD8ffJI.cjs +0 -2
  685. package/build/context.hooks-DDD8ffJI.cjs.map +0 -1
  686. package/build/context.hooks-Djt5R2yX.js +0 -13
  687. package/build/context.hooks-Djt5R2yX.js.map +0 -1
  688. package/build/context.hooks-DpwnIiRj.cjs +0 -2
  689. package/build/context.hooks-DpwnIiRj.cjs.map +0 -1
  690. package/build/context.hooks-oclt34zD.js +0 -68
  691. package/build/context.hooks-oclt34zD.js.map +0 -1
  692. package/build/context.hooks-v8uZ7dfO.js +0 -49
  693. package/build/context.hooks-v8uZ7dfO.js.map +0 -1
  694. package/build/functions.cjs.js +0 -2
  695. package/build/functions.cjs.js.map +0 -1
  696. package/build/functions.es.js +0 -50
  697. package/build/functions.es.js.map +0 -1
  698. package/build/index.cjs.js.map +0 -1
  699. package/build/index.es.js.map +0 -1
  700. package/build/jsx-runtime-C6yv_9g1.cjs +0 -11
  701. package/build/jsx-runtime-C6yv_9g1.cjs.map +0 -1
  702. package/build/jsx-runtime-DZS36FSE.js +0 -316
  703. package/build/jsx-runtime-DZS36FSE.js.map +0 -1
  704. package/build/motion-DrSN18V7.cjs +0 -2
  705. package/build/motion-DrSN18V7.cjs.map +0 -1
  706. package/build/motion-K7hUU4gL.js +0 -85
  707. package/build/motion-K7hUU4gL.js.map +0 -1
  708. package/build/style-BfuEu91g.js +0 -176
  709. package/build/style-BfuEu91g.js.map +0 -1
  710. package/build/style-Drq-Q1Im.cjs +0 -136
  711. package/build/style-Drq-Q1Im.cjs.map +0 -1
  712. package/build/style-add.cjs.js +0 -2
  713. package/build/style-add.cjs.js.map +0 -1
  714. package/build/style-add.d.ts +0 -88
  715. package/build/style-add.es.js +0 -17
  716. package/build/style-add.es.js.map +0 -1
  717. package/build/style-error.cjs.js +0 -2
  718. package/build/style-error.cjs.js.map +0 -1
  719. package/build/style-error.d.ts +0 -99
  720. package/build/style-error.es.js +0 -7
  721. package/build/style-error.es.js.map +0 -1
  722. package/build/style-fRZ6xrVp.cjs +0 -10
  723. package/build/style-fRZ6xrVp.cjs.map +0 -1
  724. package/build/style-motion.cjs.js.map +0 -1
  725. package/build/style-motion.es.js.map +0 -1
  726. package/build/style-plT9Ah7t.js +0 -33
  727. package/build/style-plT9Ah7t.js.map +0 -1
  728. package/build/style-sx.cjs.js +0 -2
  729. package/build/style-sx.cjs.js.map +0 -1
  730. package/build/style-sx.d.ts +0 -33
  731. package/build/style-sx.es.js +0 -5
  732. package/build/style-sx.es.js.map +0 -1
  733. package/build/style-theme.cjs.js +0 -2
  734. package/build/style-theme.cjs.js.map +0 -1
  735. package/build/style-theme.d.ts +0 -293
  736. package/build/style-theme.es.js +0 -16
  737. package/build/style-theme.es.js.map +0 -1
  738. package/build/types.cjs.js +0 -2
  739. package/build/types.cjs.js.map +0 -1
  740. package/build/types.d.ts +0 -27
  741. package/build/types.es.js +0 -2
  742. package/build/types.es.js.map +0 -1
  743. package/build/use-BNuSnUSV.cjs +0 -16
  744. package/build/use-BNuSnUSV.cjs.map +0 -1
  745. package/build/use-Bp8UVw4Y.js +0 -16
  746. package/build/use-Bp8UVw4Y.js.map +0 -1
  747. package/build/use-C7vngeRk.js +0 -882
  748. package/build/use-C7vngeRk.js.map +0 -1
  749. package/build/use-D8uozTND.js +0 -1577
  750. package/build/use-D8uozTND.js.map +0 -1
  751. package/build/use-IhzeVumv.cjs +0 -2
  752. package/build/use-IhzeVumv.cjs.map +0 -1
  753. package/build/use-zW3LuRc_.cjs +0 -2
  754. package/build/use-zW3LuRc_.cjs.map +0 -1
package/README.md CHANGED
@@ -2,39 +2,6 @@
2
2
 
3
3
  This is a frontend library for React from Jenesei Software.
4
4
 
5
- ## Customize the theme
6
-
7
- To use themes in your application, create a declaration themes file and extend `styled-comments` as follows:
8
-
9
- ```typescript
10
- // styled-components.d.ts
11
- import { ITheme } from '@jenesei-software/jenesei-kit-react/style-theme'
12
- import 'styled-components'
13
-
14
- declare module 'styled-components' {
15
- // eslint-disable-next-line @typescript-eslint/no-empty-object-type
16
- export interface DefaultTheme extends ITheme {}
17
- }
18
- ```
19
-
20
- Import `JeneseiTheme` and `JeneseiGlobalStyles` from our library and apply them in the root component of your application:
21
-
22
- ```typescript
23
- // app.tsx
24
- import { JeneseiGlobalStyles, JeneseiTheme } from '@jenesei-software/jenesei-kit-react/style-theme'
25
-
26
- function App() {
27
- return (
28
- ...
29
- <ThemeProvider theme={JeneseiTheme}>
30
- <JeneseiGlobalStyles />
31
- {/* Your components */}
32
- </ThemeProvider>
33
- ...
34
- )
35
- }
36
- ```
37
-
38
5
  ## Customize the cookie and local storage
39
6
 
40
7
  ```typescript
@@ -62,10 +29,6 @@ declare module '@jenesei-software/jenesei-kit-react/context-local-storage' {
62
29
  To work correctly you need to install the following dependencies:
63
30
 
64
31
  ```bash
65
- npm install @tanstack/react-router --save
66
- npm install @tanstack/react-virtual --save
67
- npm install framer-motion --save
68
32
  npm install react --save
69
33
  npm install react-dom --save
70
- npm install styled-components --save
71
34
  ```
@@ -0,0 +1,134 @@
1
+ import { a as K, c as N, i as O, o as S, r as U, s as I } from "./proxy-DTLy-pV-.js";
2
+ import { Fragment as V, jsx as g } from "react/jsx-runtime";
3
+ import * as M from "react";
4
+ import { Children as _, isValidElement as B, useCallback as F, useContext as L, useId as D, useInsertionEffect as G, useMemo as P, useRef as y, useState as k } from "react";
5
+ var H = class extends M.Component {
6
+ getSnapshotBeforeUpdate(o) {
7
+ const t = this.props.childRef.current;
8
+ if (t && o.isPresent && !this.props.isPresent) {
9
+ const e = this.props.sizeRef.current;
10
+ e.height = t.offsetHeight || 0, e.width = t.offsetWidth || 0, e.top = t.offsetTop, e.left = t.offsetLeft;
11
+ }
12
+ return null;
13
+ }
14
+ componentDidUpdate() {
15
+ }
16
+ render() {
17
+ return this.props.children;
18
+ }
19
+ };
20
+ function W({ children: o, isPresent: t }) {
21
+ const e = D(), i = y(null), m = y({
22
+ width: 0,
23
+ height: 0,
24
+ top: 0,
25
+ left: 0
26
+ }), { nonce: f } = L(K);
27
+ return G(() => {
28
+ const { width: a, height: s, top: h, left: n } = m.current;
29
+ if (t || !i.current || !a || !s) return;
30
+ i.current.dataset.motionPopId = e;
31
+ const l = document.createElement("style");
32
+ return f && (l.nonce = f), document.head.appendChild(l), l.sheet && l.sheet.insertRule(`
33
+ [data-motion-pop-id="${e}"] {
34
+ position: absolute !important;
35
+ width: ${a}px !important;
36
+ height: ${s}px !important;
37
+ top: ${h}px !important;
38
+ left: ${n}px !important;
39
+ }
40
+ `), () => {
41
+ document.head.removeChild(l);
42
+ };
43
+ }, [t]), g(H, {
44
+ isPresent: t,
45
+ childRef: i,
46
+ sizeRef: m,
47
+ children: M.cloneElement(o, { ref: i })
48
+ });
49
+ }
50
+ var Y = ({ children: o, initial: t, isPresent: e, onExitComplete: i, custom: m, presenceAffectsLayout: f, mode: a }) => {
51
+ const s = I(q), h = D(), n = F((u) => {
52
+ s.set(u, !0);
53
+ for (const C of s.values()) if (!C) return;
54
+ i && i();
55
+ }, [s, i]), l = P(() => ({
56
+ id: h,
57
+ initial: t,
58
+ isPresent: e,
59
+ custom: m,
60
+ onExitComplete: n,
61
+ register: (u) => (s.set(u, !1), () => s.delete(u))
62
+ }), f ? [Math.random(), n] : [e, n]);
63
+ return P(() => {
64
+ s.forEach((u, C) => s.set(C, !1));
65
+ }, [e]), M.useEffect(() => {
66
+ !e && !s.size && i && i();
67
+ }, [e]), a === "popLayout" && (o = g(W, {
68
+ isPresent: e,
69
+ children: o
70
+ })), g(S.Provider, {
71
+ value: l,
72
+ children: o
73
+ });
74
+ };
75
+ function q() {
76
+ return /* @__PURE__ */ new Map();
77
+ }
78
+ var x = (o) => o.key || "";
79
+ function b(o) {
80
+ const t = [];
81
+ return _.forEach(o, (e) => {
82
+ B(e) && t.push(e);
83
+ }), t;
84
+ }
85
+ var Z = ({ children: o, custom: t, initial: e = !0, onExitComplete: i, presenceAffectsLayout: m = !0, mode: f = "sync", propagate: a = !1 }) => {
86
+ const [s, h] = O(a), n = P(() => b(o), [o]), l = a && !s ? [] : n.map(x), u = y(!0), C = y(n), v = I(() => /* @__PURE__ */ new Map()), [T, j] = k(n), [d, z] = k(n);
87
+ U(() => {
88
+ u.current = !1, C.current = n;
89
+ for (let c = 0; c < d.length; c++) {
90
+ const r = x(d[c]);
91
+ l.includes(r) ? v.delete(r) : v.get(r) !== !0 && v.set(r, !1);
92
+ }
93
+ }, [
94
+ d,
95
+ l.length,
96
+ l.join("-")
97
+ ]);
98
+ const w = [];
99
+ if (n !== T) {
100
+ let c = [...n];
101
+ for (let r = 0; r < d.length; r++) {
102
+ const p = d[r], R = x(p);
103
+ l.includes(R) || (c.splice(r, 0, p), w.push(p));
104
+ }
105
+ f === "wait" && w.length && (c = w), z(b(c)), j(n);
106
+ return;
107
+ }
108
+ process.env.NODE_ENV !== "production" && f === "wait" && d.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
109
+ const { forceRender: E } = L(N);
110
+ return g(V, { children: d.map((c) => {
111
+ const r = x(c), p = a && !s ? !1 : n === d || l.includes(r), R = () => {
112
+ if (v.has(r)) v.set(r, !0);
113
+ else return;
114
+ let $ = !0;
115
+ v.forEach((A) => {
116
+ A || ($ = !1);
117
+ }), $ && (E?.(), z(C.current), a && h?.(), i && i());
118
+ };
119
+ return g(Y, {
120
+ isPresent: p,
121
+ initial: !u.current || e ? void 0 : !1,
122
+ custom: p ? void 0 : t,
123
+ presenceAffectsLayout: m,
124
+ mode: f,
125
+ onExitComplete: p ? void 0 : R,
126
+ children: c
127
+ }, r);
128
+ }) });
129
+ };
130
+ export {
131
+ Z as t
132
+ };
133
+
134
+ //# sourceMappingURL=AnimatePresence-BByJ67dn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimatePresence-BByJ67dn.js","names":["React"],"sources":["../node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs","../node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs","../node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs","../node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs"],"sourcesContent":["\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport * as React from 'react';\nimport { useId, useRef, useContext, useInsertionEffect } from 'react';\nimport { MotionConfigContext } from '../../context/MotionConfigContext.mjs';\n\n/**\n * Measurement functionality has to be within a separate component\n * to leverage snapshot lifecycle.\n */\nclass PopChildMeasure extends React.Component {\n getSnapshotBeforeUpdate(prevProps) {\n const element = this.props.childRef.current;\n if (element && prevProps.isPresent && !this.props.isPresent) {\n const size = this.props.sizeRef.current;\n size.height = element.offsetHeight || 0;\n size.width = element.offsetWidth || 0;\n size.top = element.offsetTop;\n size.left = element.offsetLeft;\n }\n return null;\n }\n /**\n * Required with getSnapshotBeforeUpdate to stop React complaining.\n */\n componentDidUpdate() { }\n render() {\n return this.props.children;\n }\n}\nfunction PopChild({ children, isPresent }) {\n const id = useId();\n const ref = useRef(null);\n const size = useRef({\n width: 0,\n height: 0,\n top: 0,\n left: 0,\n });\n const { nonce } = useContext(MotionConfigContext);\n /**\n * We create and inject a style block so we can apply this explicit\n * sizing in a non-destructive manner by just deleting the style block.\n *\n * We can't apply size via render as the measurement happens\n * in getSnapshotBeforeUpdate (post-render), likewise if we apply the\n * styles directly on the DOM node, we might be overwriting\n * styles set via the style prop.\n */\n useInsertionEffect(() => {\n const { width, height, top, left } = size.current;\n if (isPresent || !ref.current || !width || !height)\n return;\n ref.current.dataset.motionPopId = id;\n const style = document.createElement(\"style\");\n if (nonce)\n style.nonce = nonce;\n document.head.appendChild(style);\n if (style.sheet) {\n style.sheet.insertRule(`\n [data-motion-pop-id=\"${id}\"] {\n position: absolute !important;\n width: ${width}px !important;\n height: ${height}px !important;\n top: ${top}px !important;\n left: ${left}px !important;\n }\n `);\n }\n return () => {\n document.head.removeChild(style);\n };\n }, [isPresent]);\n return (jsx(PopChildMeasure, { isPresent: isPresent, childRef: ref, sizeRef: size, children: React.cloneElement(children, { ref }) }));\n}\n\nexport { PopChild };\n","\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport * as React from 'react';\nimport { useId, useCallback, useMemo } from 'react';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { PopChild } from './PopChild.mjs';\n\nconst PresenceChild = ({ children, initial, isPresent, onExitComplete, custom, presenceAffectsLayout, mode, }) => {\n const presenceChildren = useConstant(newChildrenMap);\n const id = useId();\n const memoizedOnExitComplete = useCallback((childId) => {\n presenceChildren.set(childId, true);\n for (const isComplete of presenceChildren.values()) {\n if (!isComplete)\n return; // can stop searching when any is incomplete\n }\n onExitComplete && onExitComplete();\n }, [presenceChildren, onExitComplete]);\n const context = useMemo(() => ({\n id,\n initial,\n isPresent,\n custom,\n onExitComplete: memoizedOnExitComplete,\n register: (childId) => {\n presenceChildren.set(childId, false);\n return () => presenceChildren.delete(childId);\n },\n }), \n /**\n * If the presence of a child affects the layout of the components around it,\n * we want to make a new context value to ensure they get re-rendered\n * so they can detect that layout change.\n */\n presenceAffectsLayout\n ? [Math.random(), memoizedOnExitComplete]\n : [isPresent, memoizedOnExitComplete]);\n useMemo(() => {\n presenceChildren.forEach((_, key) => presenceChildren.set(key, false));\n }, [isPresent]);\n /**\n * If there's no `motion` components to fire exit animations, we want to remove this\n * component immediately.\n */\n React.useEffect(() => {\n !isPresent &&\n !presenceChildren.size &&\n onExitComplete &&\n onExitComplete();\n }, [isPresent]);\n if (mode === \"popLayout\") {\n children = jsx(PopChild, { isPresent: isPresent, children: children });\n }\n return (jsx(PresenceContext.Provider, { value: context, children: children }));\n};\nfunction newChildrenMap() {\n return new Map();\n}\n\nexport { PresenceChild };\n","import { Children, isValidElement } from 'react';\n\nconst getChildKey = (child) => child.key || \"\";\nfunction onlyElements(children) {\n const filtered = [];\n // We use forEach here instead of map as map mutates the component key by preprending `.$`\n Children.forEach(children, (child) => {\n if (isValidElement(child))\n filtered.push(child);\n });\n return filtered;\n}\n\nexport { getChildKey, onlyElements };\n","\"use client\";\nimport { jsx, Fragment } from 'react/jsx-runtime';\nimport { useMemo, useRef, useState, useContext } from 'react';\nimport { LayoutGroupContext } from '../../context/LayoutGroupContext.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { PresenceChild } from './PresenceChild.mjs';\nimport { usePresence } from './use-presence.mjs';\nimport { onlyElements, getChildKey } from './utils.mjs';\nimport { useIsomorphicLayoutEffect } from '../../utils/use-isomorphic-effect.mjs';\n\n/**\n * `AnimatePresence` enables the animation of components that have been removed from the tree.\n *\n * When adding/removing more than a single child, every child **must** be given a unique `key` prop.\n *\n * Any `motion` components that have an `exit` property defined will animate out when removed from\n * the tree.\n *\n * ```jsx\n * import { motion, AnimatePresence } from 'framer-motion'\n *\n * export const Items = ({ items }) => (\n * <AnimatePresence>\n * {items.map(item => (\n * <motion.div\n * key={item.id}\n * initial={{ opacity: 0 }}\n * animate={{ opacity: 1 }}\n * exit={{ opacity: 0 }}\n * />\n * ))}\n * </AnimatePresence>\n * )\n * ```\n *\n * You can sequence exit animations throughout a tree using variants.\n *\n * If a child contains multiple `motion` components with `exit` props, it will only unmount the child\n * once all `motion` components have finished animating out. Likewise, any components using\n * `usePresence` all need to call `safeToRemove`.\n *\n * @public\n */\nconst AnimatePresence = ({ children, custom, initial = true, onExitComplete, presenceAffectsLayout = true, mode = \"sync\", propagate = false, }) => {\n const [isParentPresent, safeToRemove] = usePresence(propagate);\n /**\n * Filter any children that aren't ReactElements. We can only track components\n * between renders with a props.key.\n */\n const presentChildren = useMemo(() => onlyElements(children), [children]);\n /**\n * Track the keys of the currently rendered children. This is used to\n * determine which children are exiting.\n */\n const presentKeys = propagate && !isParentPresent ? [] : presentChildren.map(getChildKey);\n /**\n * If `initial={false}` we only want to pass this to components in the first render.\n */\n const isInitialRender = useRef(true);\n /**\n * A ref containing the currently present children. When all exit animations\n * are complete, we use this to re-render the component with the latest children\n * *committed* rather than the latest children *rendered*.\n */\n const pendingPresentChildren = useRef(presentChildren);\n /**\n * Track which exiting children have finished animating out.\n */\n const exitComplete = useConstant(() => new Map());\n /**\n * Save children to render as React state. To ensure this component is concurrent-safe,\n * we check for exiting children via an effect.\n */\n const [diffedChildren, setDiffedChildren] = useState(presentChildren);\n const [renderedChildren, setRenderedChildren] = useState(presentChildren);\n useIsomorphicLayoutEffect(() => {\n isInitialRender.current = false;\n pendingPresentChildren.current = presentChildren;\n /**\n * Update complete status of exiting children.\n */\n for (let i = 0; i < renderedChildren.length; i++) {\n const key = getChildKey(renderedChildren[i]);\n if (!presentKeys.includes(key)) {\n if (exitComplete.get(key) !== true) {\n exitComplete.set(key, false);\n }\n }\n else {\n exitComplete.delete(key);\n }\n }\n }, [renderedChildren, presentKeys.length, presentKeys.join(\"-\")]);\n const exitingChildren = [];\n if (presentChildren !== diffedChildren) {\n let nextChildren = [...presentChildren];\n /**\n * Loop through all the currently rendered components and decide which\n * are exiting.\n */\n for (let i = 0; i < renderedChildren.length; i++) {\n const child = renderedChildren[i];\n const key = getChildKey(child);\n if (!presentKeys.includes(key)) {\n nextChildren.splice(i, 0, child);\n exitingChildren.push(child);\n }\n }\n /**\n * If we're in \"wait\" mode, and we have exiting children, we want to\n * only render these until they've all exited.\n */\n if (mode === \"wait\" && exitingChildren.length) {\n nextChildren = exitingChildren;\n }\n setRenderedChildren(onlyElements(nextChildren));\n setDiffedChildren(presentChildren);\n /**\n * Early return to ensure once we've set state with the latest diffed\n * children, we can immediately re-render.\n */\n return;\n }\n if (process.env.NODE_ENV !== \"production\" &&\n mode === \"wait\" &&\n renderedChildren.length > 1) {\n console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to \"wait\". This will lead to odd visual behaviour.`);\n }\n /**\n * If we've been provided a forceRender function by the LayoutGroupContext,\n * we can use it to force a re-render amongst all surrounding components once\n * all components have finished animating out.\n */\n const { forceRender } = useContext(LayoutGroupContext);\n return (jsx(Fragment, { children: renderedChildren.map((child) => {\n const key = getChildKey(child);\n const isPresent = propagate && !isParentPresent\n ? false\n : presentChildren === renderedChildren ||\n presentKeys.includes(key);\n const onExit = () => {\n if (exitComplete.has(key)) {\n exitComplete.set(key, true);\n }\n else {\n return;\n }\n let isEveryExitComplete = true;\n exitComplete.forEach((isExitComplete) => {\n if (!isExitComplete)\n isEveryExitComplete = false;\n });\n if (isEveryExitComplete) {\n forceRender === null || forceRender === void 0 ? void 0 : forceRender();\n setRenderedChildren(pendingPresentChildren.current);\n propagate && (safeToRemove === null || safeToRemove === void 0 ? void 0 : safeToRemove());\n onExitComplete && onExitComplete();\n }\n };\n return (jsx(PresenceChild, { isPresent: isPresent, initial: !isInitialRender.current || initial\n ? undefined\n : false, custom: isPresent ? undefined : custom, presenceAffectsLayout: presenceAffectsLayout, mode: mode, onExitComplete: isPresent ? undefined : onExit, children: child }, key));\n }) }));\n};\n\nexport { AnimatePresence };\n"],"x_google_ignoreList":[0,1,2,3],"mappings":";;;;AAUA,IAAM,IAAN,cAA8BA,EAAM,UAAU;AAAA,EAC1C,wBAAwB,GAAW;AAC/B,UAAM,IAAU,KAAK,MAAM,SAAS;AACpC,QAAI,KAAW,EAAU,aAAa,CAAC,KAAK,MAAM,WAAW;AACzD,YAAM,IAAO,KAAK,MAAM,QAAQ;AAChC,MAAA,EAAK,SAAS,EAAQ,gBAAgB,GACtC,EAAK,QAAQ,EAAQ,eAAe,GACpC,EAAK,MAAM,EAAQ,WACnB,EAAK,OAAO,EAAQ;AAAA;AAExB,WAAO;AAAA;EAKX,qBAAqB;AAAA,EAAA;AAAA,EACrB,SAAS;AACL,WAAO,KAAK,M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A,CAAK,MAAU;AAC1D,UAAM,IAAM,EAAY,CAAA,GAClB,IAAY,KAAa,CAAC,IAC1B,KACA,MAAoB,KAClB,EAAY,SAAS,CAAA,GACvB,IAAA,MAAe;AACjB,UAAI,EAAa,IAAI,CAAA,EACjB,CAAA,EAAa,IAAI,GAAK,EAAA;AAAA,UAGtB;AAEJ,UAAI,IAAsB;AAC1B,MAAA,EAAa,QAAA,CAAS,MAAmB;AACrC,QAAK,MACD,IAAsB;AAAA,UAE1B,MAC0D,IAAA,GAC1D,EAAoB,EAAuB,OAAA,GAC3C,KAA0E,IAAA,GAC1E,KAAkB,EAAA;AAAA;AAG1B,WAAQ,EAAI,GAAe;AAAA,MAAa,WAAA;AAAA,MAAW,SAAS,CAAC,EAAgB,WAAW,IAC9E,SACA;AAAA,MAAO,QAAQ,IAAY,SAAY;AAAA,MAA+B,uBAAA;AAAA,MAA6B,MAAA;AAAA,MAAM,gBAAgB,IAAY,SAAY;AAAA,MAAQ,UAAU;AAAA,OAAS,CAAA;AAAA,KACxL,CAAE"}
@@ -0,0 +1,11 @@
1
+ const z=require("./chunk-CW3en5xf.cjs"),C=require("./proxy-D2Z8K6jr.cjs");let y=require("react/jsx-runtime"),e=require("react");e=z.__toESM(e,1);var I=class extends e.Component{getSnapshotBeforeUpdate(s){const n=this.props.childRef.current;if(n&&s.isPresent&&!this.props.isPresent){const t=this.props.sizeRef.current;t.height=n.offsetHeight||0,t.width=n.offsetWidth||0,t.top=n.offsetTop,t.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function $({children:s,isPresent:n}){const t=(0,e.useId)(),u=(0,e.useRef)(null),x=(0,e.useRef)({width:0,height:0,top:0,left:0}),{nonce:d}=(0,e.useContext)(C.MotionConfigContext);return(0,e.useInsertionEffect)(()=>{const{width:f,height:i,top:p,left:r}=x.current;if(n||!u.current||!f||!i)return;u.current.dataset.motionPopId=t;const l=document.createElement("style");return d&&(l.nonce=d),document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`
2
+ [data-motion-pop-id="${t}"] {
3
+ position: absolute !important;
4
+ width: ${f}px !important;
5
+ height: ${i}px !important;
6
+ top: ${p}px !important;
7
+ left: ${r}px !important;
8
+ }
9
+ `),()=>{document.head.removeChild(l)}},[n]),(0,y.jsx)(I,{isPresent:n,childRef:u,sizeRef:x,children:e.cloneElement(s,{ref:u})})}var L=({children:s,initial:n,isPresent:t,onExitComplete:u,custom:x,presenceAffectsLayout:d,mode:f})=>{const i=C.useConstant(S),p=(0,e.useId)(),r=(0,e.useCallback)(a=>{i.set(a,!0);for(const v of i.values())if(!v)return;u&&u()},[i,u]),l=(0,e.useMemo)(()=>({id:p,initial:n,isPresent:t,custom:x,onExitComplete:r,register:a=>(i.set(a,!1),()=>i.delete(a))}),d?[Math.random(),r]:[t,r]);return(0,e.useMemo)(()=>{i.forEach((a,v)=>i.set(v,!1))},[t]),e.useEffect(()=>{!t&&!i.size&&u&&u()},[t]),f==="popLayout"&&(s=(0,y.jsx)($,{isPresent:t,children:s})),(0,y.jsx)(C.PresenceContext.Provider,{value:l,children:s})};function S(){return new Map}var E=s=>s.key||"";function _(s){const n=[];return e.Children.forEach(s,t=>{(0,e.isValidElement)(t)&&n.push(t)}),n}var A=({children:s,custom:n,initial:t=!0,onExitComplete:u,presenceAffectsLayout:x=!0,mode:d="sync",propagate:f=!1})=>{const[i,p]=C.usePresence(f),r=(0,e.useMemo)(()=>_(s),[s]),l=f&&!i?[]:r.map(E),a=(0,e.useRef)(!0),v=(0,e.useRef)(r),g=C.useConstant(()=>new Map),[b,k]=(0,e.useState)(r),[h,P]=(0,e.useState)(r);C.useIsomorphicLayoutEffect(()=>{a.current=!1,v.current=r;for(let c=0;c<h.length;c++){const o=E(h[c]);l.includes(o)?g.delete(o):g.get(o)!==!0&&g.set(o,!1)}},[h,l.length,l.join("-")]);const w=[];if(r!==b){let c=[...r];for(let o=0;o<h.length;o++){const m=h[o],M=E(m);l.includes(M)||(c.splice(o,0,m),w.push(m))}d==="wait"&&w.length&&(c=w),P(_(c)),k(r);return}process.env.NODE_ENV!=="production"&&d==="wait"&&h.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:R}=(0,e.useContext)(C.LayoutGroupContext);return(0,y.jsx)(y.Fragment,{children:h.map(c=>{const o=E(c),m=f&&!i?!1:r===h||l.includes(o),M=()=>{if(g.has(o))g.set(o,!0);else return;let j=!0;g.forEach(q=>{q||(j=!1)}),j&&(R?.(),P(v.current),f&&p?.(),u&&u())};return(0,y.jsx)(L,{isPresent:m,initial:!a.current||t?void 0:!1,custom:m?void 0:n,presenceAffectsLayout:x,mode:d,onExitComplete:m?void 0:M,children:c},o)})})};Object.defineProperty(exports,"AnimatePresence",{enumerable:!0,get:function(){return A}});
10
+
11
+ //# sourceMappingURL=AnimatePresence-BtUPiqYm.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimatePresence-BtUPiqYm.cjs","names":["React","MotionConfigContext","useConstant","PresenceContext","usePresence","useConstant","LayoutGroupContext","Fragment"],"sources":["../node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs","../node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs","../node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs","../node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs"],"sourcesContent":["\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport * as React from 'react';\nimport { useId, useRef, useContext, useInsertionEffect } from 'react';\nimport { MotionConfigContext } from '../../context/MotionConfigContext.mjs';\n\n/**\n * Measurement functionality has to be within a separate component\n * to leverage snapshot lifecycle.\n */\nclass PopChildMeasure extends React.Component {\n getSnapshotBeforeUpdate(prevProps) {\n const element = this.props.childRef.current;\n if (element && prevProps.isPresent && !this.props.isPresent) {\n const size = this.props.sizeRef.current;\n size.height = element.offsetHeight || 0;\n size.width = element.offsetWidth || 0;\n size.top = element.offsetTop;\n size.left = element.offsetLeft;\n }\n return null;\n }\n /**\n * Required with getSnapshotBeforeUpdate to stop React complaining.\n */\n componentDidUpdate() { }\n render() {\n return this.props.children;\n }\n}\nfunction PopChild({ children, isPresent }) {\n const id = useId();\n const ref = useRef(null);\n const size = useRef({\n width: 0,\n height: 0,\n top: 0,\n left: 0,\n });\n const { nonce } = useContext(MotionConfigContext);\n /**\n * We create and inject a style block so we can apply this explicit\n * sizing in a non-destructive manner by just deleting the style block.\n *\n * We can't apply size via render as the measurement happens\n * in getSnapshotBeforeUpdate (post-render), likewise if we apply the\n * styles directly on the DOM node, we might be overwriting\n * styles set via the style prop.\n */\n useInsertionEffect(() => {\n const { width, height, top, left } = size.current;\n if (isPresent || !ref.current || !width || !height)\n return;\n ref.current.dataset.motionPopId = id;\n const style = document.createElement(\"style\");\n if (nonce)\n style.nonce = nonce;\n document.head.appendChild(style);\n if (style.sheet) {\n style.sheet.insertRule(`\n [data-motion-pop-id=\"${id}\"] {\n position: absolute !important;\n width: ${width}px !important;\n height: ${height}px !important;\n top: ${top}px !important;\n left: ${left}px !important;\n }\n `);\n }\n return () => {\n document.head.removeChild(style);\n };\n }, [isPresent]);\n return (jsx(PopChildMeasure, { isPresent: isPresent, childRef: ref, sizeRef: size, children: React.cloneElement(children, { ref }) }));\n}\n\nexport { PopChild };\n","\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport * as React from 'react';\nimport { useId, useCallback, useMemo } from 'react';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { PopChild } from './PopChild.mjs';\n\nconst PresenceChild = ({ children, initial, isPresent, onExitComplete, custom, presenceAffectsLayout, mode, }) => {\n const presenceChildren = useConstant(newChildrenMap);\n const id = useId();\n const memoizedOnExitComplete = useCallback((childId) => {\n presenceChildren.set(childId, true);\n for (const isComplete of presenceChildren.values()) {\n if (!isComplete)\n return; // can stop searching when any is incomplete\n }\n onExitComplete && onExitComplete();\n }, [presenceChildren, onExitComplete]);\n const context = useMemo(() => ({\n id,\n initial,\n isPresent,\n custom,\n onExitComplete: memoizedOnExitComplete,\n register: (childId) => {\n presenceChildren.set(childId, false);\n return () => presenceChildren.delete(childId);\n },\n }), \n /**\n * If the presence of a child affects the layout of the components around it,\n * we want to make a new context value to ensure they get re-rendered\n * so they can detect that layout change.\n */\n presenceAffectsLayout\n ? [Math.random(), memoizedOnExitComplete]\n : [isPresent, memoizedOnExitComplete]);\n useMemo(() => {\n presenceChildren.forEach((_, key) => presenceChildren.set(key, false));\n }, [isPresent]);\n /**\n * If there's no `motion` components to fire exit animations, we want to remove this\n * component immediately.\n */\n React.useEffect(() => {\n !isPresent &&\n !presenceChildren.size &&\n onExitComplete &&\n onExitComplete();\n }, [isPresent]);\n if (mode === \"popLayout\") {\n children = jsx(PopChild, { isPresent: isPresent, children: children });\n }\n return (jsx(PresenceContext.Provider, { value: context, children: children }));\n};\nfunction newChildrenMap() {\n return new Map();\n}\n\nexport { PresenceChild };\n","import { Children, isValidElement } from 'react';\n\nconst getChildKey = (child) => child.key || \"\";\nfunction onlyElements(children) {\n const filtered = [];\n // We use forEach here instead of map as map mutates the component key by preprending `.$`\n Children.forEach(children, (child) => {\n if (isValidElement(child))\n filtered.push(child);\n });\n return filtered;\n}\n\nexport { getChildKey, onlyElements };\n","\"use client\";\nimport { jsx, Fragment } from 'react/jsx-runtime';\nimport { useMemo, useRef, useState, useContext } from 'react';\nimport { LayoutGroupContext } from '../../context/LayoutGroupContext.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { PresenceChild } from './PresenceChild.mjs';\nimport { usePresence } from './use-presence.mjs';\nimport { onlyElements, getChildKey } from './utils.mjs';\nimport { useIsomorphicLayoutEffect } from '../../utils/use-isomorphic-effect.mjs';\n\n/**\n * `AnimatePresence` enables the animation of components that have been removed from the tree.\n *\n * When adding/removing more than a single child, every child **must** be given a unique `key` prop.\n *\n * Any `motion` components that have an `exit` property defined will animate out when removed from\n * the tree.\n *\n * ```jsx\n * import { motion, AnimatePresence } from 'framer-motion'\n *\n * export const Items = ({ items }) => (\n * <AnimatePresence>\n * {items.map(item => (\n * <motion.div\n * key={item.id}\n * initial={{ opacity: 0 }}\n * animate={{ opacity: 1 }}\n * exit={{ opacity: 0 }}\n * />\n * ))}\n * </AnimatePresence>\n * )\n * ```\n *\n * You can sequence exit animations throughout a tree using variants.\n *\n * If a child contains multiple `motion` components with `exit` props, it will only unmount the child\n * once all `motion` components have finished animating out. Likewise, any components using\n * `usePresence` all need to call `safeToRemove`.\n *\n * @public\n */\nconst AnimatePresence = ({ children, custom, initial = true, onExitComplete, presenceAffectsLayout = true, mode = \"sync\", propagate = false, }) => {\n const [isParentPresent, safeToRemove] = usePresence(propagate);\n /**\n * Filter any children that aren't ReactElements. We can only track components\n * between renders with a props.key.\n */\n const presentChildren = useMemo(() => onlyElements(children), [children]);\n /**\n * Track the keys of the currently rendered children. This is used to\n * determine which children are exiting.\n */\n const presentKeys = propagate && !isParentPresent ? [] : presentChildren.map(getChildKey);\n /**\n * If `initial={false}` we only want to pass this to components in the first render.\n */\n const isInitialRender = useRef(true);\n /**\n * A ref containing the currently present children. When all exit animations\n * are complete, we use this to re-render the component with the latest children\n * *committed* rather than the latest children *rendered*.\n */\n const pendingPresentChildren = useRef(presentChildren);\n /**\n * Track which exiting children have finished animating out.\n */\n const exitComplete = useConstant(() => new Map());\n /**\n * Save children to render as React state. To ensure this component is concurrent-safe,\n * we check for exiting children via an effect.\n */\n const [diffedChildren, setDiffedChildren] = useState(presentChildren);\n const [renderedChildren, setRenderedChildren] = useState(presentChildren);\n useIsomorphicLayoutEffect(() => {\n isInitialRender.current = false;\n pendingPresentChildren.current = presentChildren;\n /**\n * Update complete status of exiting children.\n */\n for (let i = 0; i < renderedChildren.length; i++) {\n const key = getChildKey(renderedChildren[i]);\n if (!presentKeys.includes(key)) {\n if (exitComplete.get(key) !== true) {\n exitComplete.set(key, false);\n }\n }\n else {\n exitComplete.delete(key);\n }\n }\n }, [renderedChildren, presentKeys.length, presentKeys.join(\"-\")]);\n const exitingChildren = [];\n if (presentChildren !== diffedChildren) {\n let nextChildren = [...presentChildren];\n /**\n * Loop through all the currently rendered components and decide which\n * are exiting.\n */\n for (let i = 0; i < renderedChildren.length; i++) {\n const child = renderedChildren[i];\n const key = getChildKey(child);\n if (!presentKeys.includes(key)) {\n nextChildren.splice(i, 0, child);\n exitingChildren.push(child);\n }\n }\n /**\n * If we're in \"wait\" mode, and we have exiting children, we want to\n * only render these until they've all exited.\n */\n if (mode === \"wait\" && exitingChildren.length) {\n nextChildren = exitingChildren;\n }\n setRenderedChildren(onlyElements(nextChildren));\n setDiffedChildren(presentChildren);\n /**\n * Early return to ensure once we've set state with the latest diffed\n * children, we can immediately re-render.\n */\n return;\n }\n if (process.env.NODE_ENV !== \"production\" &&\n mode === \"wait\" &&\n renderedChildren.length > 1) {\n console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to \"wait\". This will lead to odd visual behaviour.`);\n }\n /**\n * If we've been provided a forceRender function by the LayoutGroupContext,\n * we can use it to force a re-render amongst all surrounding components once\n * all components have finished animating out.\n */\n const { forceRender } = useContext(LayoutGroupContext);\n return (jsx(Fragment, { children: renderedChildren.map((child) => {\n const key = getChildKey(child);\n const isPresent = propagate && !isParentPresent\n ? false\n : presentChildren === renderedChildren ||\n presentKeys.includes(key);\n const onExit = () => {\n if (exitComplete.has(key)) {\n exitComplete.set(key, true);\n }\n else {\n return;\n }\n let isEveryExitComplete = true;\n exitComplete.forEach((isExitComplete) => {\n if (!isExitComplete)\n isEveryExitComplete = false;\n });\n if (isEveryExitComplete) {\n forceRender === null || forceRender === void 0 ? void 0 : forceRender();\n setRenderedChildren(pendingPresentChildren.current);\n propagate && (safeToRemove === null || safeToRemove === void 0 ? void 0 : safeToRemove());\n onExitComplete && onExitComplete();\n }\n };\n return (jsx(PresenceChild, { isPresent: isPresent, initial: !isInitialRender.current || initial\n ? undefined\n : false, custom: isPresent ? undefined : custom, presenceAffectsLayout: presenceAffectsLayout, mode: mode, onExitComplete: isPresent ? undefined : onExit, children: child }, key));\n }) }));\n};\n\nexport { AnimatePresence };\n"],"x_google_ignoreList":[0,1,2,3],"mappings":"iJAUA,IAAM,EAAN,cAA8BA,EAAM,SAAU,CAC1C,wBAAwB,EAAW,CAC/B,MAAM,EAAU,KAAK,MAAM,SAAS,QACpC,GAAI,GAAW,EAAU,WAAa,CAAC,KAAK,MAAM,UAAW,CACzD,MAAM,EAAO,KAAK,MAAM,QAAQ,QAChC,EAAK,OAAS,EAAQ,cAAgB,EACtC,EAAK,MAAQ,EAAQ,aAAe,EACpC,EAAK,IAAM,EAAQ,UACnB,EAAK,KAAO,EAAQ,WAExB,OAAO,KAKX,oBAAqB,CAAA,CACrB,QAAS,CACL,OAAO,KAAK,MAAM,WAG1B,SAAS,EAAS,CAAE,SAAA,EAAU,UAAA,CAAA,EAAa,CACvC,MAAM,KAAA,EAAA,OAAA,EACA,KAAA,EAAA,QAAa,IAAA,EACb,KAAA,EAAA,QAAc,CAChB,MAAO,EACP,OAAQ,EACR,IAAK,EACL,KAAM,EACT,EACK,CAAE,MAAA,CAAA,KAAA,EAAA,YAAqBC,EAAAA,mBAAAA,EAU7B,SAAA,EAAA,oBAAA,IAAyB,CACrB,KAAM,CAAE,MAAA,EAAO,OAAA,EAAQ,IAAA,EAAK,KAAA,CAAA,EAAS,EAAK,QAC1C,GAAI,GAAa,CAAC,EAAI,SAAW,CAAC,GAAS,CAAC,EACxC,OACJ,EAAI,QAAQ,QAAQ,YAAc,EAClC,MAAM,EAAQ,SAAS,cAAc,OAAA,EACrC,OAAI,IACA,EAAM,MAAQ,GAClB,SAAS,KAAK,YAAY,CAAA,EACtB,EAAM,OACN,EAAM,MAAM,WAAW;AAAA,iCACF,CAAA;AAAA;AAAA,qBAEZ,CAAA;AAAA,sBACC,CAAA;AAAA,mBACH,CAAA;AAAA,oBACC,CAAA;AAAA;AAAA,WAIZ,IAAa,CACT,SAAS,KAAK,YAAY,CAAA,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AO,EAAG,EAAG,CAAA,EAC1B,EAAgB,KAAK,CAAA,GAOzB,IAAS,QAAU,EAAgB,SACnC,EAAe,GAEnB,EAAoB,EAAa,CAAA,CAAa,EAC9C,EAAkB,CAAA,EAKlB,OAEJ,QAAA,IAAA,WAA6B,cACzB,IAAS,QACT,EAAiB,OAAS,GAC1B,QAAQ,KAAK,+IAAA,EAOjB,KAAM,CAAE,YAAA,CAAA,KAAA,EAAA,YAA2BC,EAAAA,kBAAAA,EACnC,SAAA,EAAA,KAAYC,EAAAA,SAAU,CAAE,SAAU,EAAiB,IAAK,GAAU,CAC1D,MAAM,EAAM,EAAY,CAAA,EAClB,EAAY,GAAa,CAAC,EAC1B,GACA,IAAoB,GAClB,EAAY,SAAS,CAAA,EACvB,EAAA,IAAe,CACjB,GAAI,EAAa,IAAI,CAAA,EACjB,EAAa,IAAI,EAAK,EAAA,MAGtB,QAEJ,IAAI,EAAsB,GAC1B,EAAa,QAAS,GAAmB,CAChC,IACD,EAAsB,MAE1B,IAC0D,IAAA,EAC1D,EAAoB,EAAuB,OAAA,EAC3C,GAA0E,IAAA,EAC1E,GAAkB,EAAA,IAG1B,SAAA,EAAA,KAAY,EAAe,CAAa,UAAA,EAAW,QAAS,CAAC,EAAgB,SAAW,EAC9E,OACA,GAAO,OAAQ,EAAY,OAAY,EAA+B,sBAAA,EAA6B,KAAA,EAAM,eAAgB,EAAY,OAAY,EAAQ,SAAU,GAAS,CAAA,GACxL,CAAE"}
@@ -1,2 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./area-DxKLtDFZ.cjs");exports.Outside=e.Outside;
2
- //# sourceMappingURL=area-outside.cjs.js.map
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-CW3en5xf.cjs"),e=require("./outside-DJ1B9sBT.cjs");exports.Outside=e.Outside;
@@ -1,28 +1,2 @@
1
- import { CSSObject } from 'styled-components';
2
- import { DefaultTheme } from 'styled-components';
3
- import { FC } from 'react';
4
- import { PropsWithChildren } from 'react';
5
-
6
- declare interface addSXProps {
7
- sx?: SXProps;
8
- }
9
-
10
- declare type IThemeDevice = 'default' | 'tablet' | 'mobile';
11
-
12
- export declare const Outside: FC<OutsideProps>;
13
-
14
- declare type OutsideProps = PropsWithChildren & addSXProps & {
15
- onOutsideClick: (event: MouseEvent) => void;
16
- };
17
-
18
- declare type SXProps = ({
19
- default: CSSObject;
20
- } & {
21
- [K in IThemeDevice]?: CSSObject;
22
- }) | ((theme: DefaultTheme) => {
23
- default: CSSObject;
24
- } & {
25
- [K in IThemeDevice]?: CSSObject;
26
- });
27
-
28
- export { }
1
+ export * from './areas/outside/index'
2
+ export {}
@@ -1,5 +1,4 @@
1
- import { O } from "./area-B6xxVQ87.js";
1
+ import { t as o } from "./outside-BtjOuCPD.js";
2
2
  export {
3
- O as Outside
3
+ o as Outside
4
4
  };
5
- //# sourceMappingURL=area-outside.es.js.map
@@ -1,2 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./area.hooks-C_UKZzcb.cjs"),r=require("./context.constants-gXk1ewxx.cjs");exports.useRemovePreviewLoader=e.useRemovePreviewLoader,exports.Preview=r.Preview;
2
- //# sourceMappingURL=area-preview.cjs.js.map
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-CW3en5xf.cjs"),e=require("./preview-CG76AiC9.cjs");exports.Preview=e.Preview;exports.useRemovePreviewLoader=e.useRemovePreviewLoader;
@@ -1,48 +1,2 @@
1
- import { CSSObject } from 'styled-components';
2
- import { DefaultTheme } from 'styled-components';
3
- import { FC } from 'react';
4
- import { PropsWithChildren } from 'react';
5
- import { ReactNode } from 'react';
6
-
7
- declare interface addSXProps {
8
- sx?: SXProps;
9
- }
10
-
11
- declare type IThemeDevice = 'default' | 'tablet' | 'mobile';
12
-
13
- export declare const Preview: FC<PreviewProps>;
14
-
15
- export declare type PreviewAdditionalProps = PreviewIsShowProps | PreviewTimeProps;
16
-
17
- declare type PreviewDefaultProps = {
18
- defaultVisible?: boolean;
19
- content?: ReactNode;
20
- } & {
21
- sxLoader?: addSXProps['sx'];
22
- sxChildren?: addSXProps['sx'];
23
- };
24
-
25
- declare interface PreviewIsShowProps extends PreviewDefaultProps {
26
- visible: boolean;
27
- minTime?: number;
28
- }
29
-
30
- export declare type PreviewProps = PropsWithChildren & PreviewAdditionalProps;
31
-
32
- declare interface PreviewTimeProps extends PreviewDefaultProps {
33
- time: number;
34
- }
35
-
36
- declare type SXProps = ({
37
- default: CSSObject;
38
- } & {
39
- [K in IThemeDevice]?: CSSObject;
40
- }) | ((theme: DefaultTheme) => {
41
- default: CSSObject;
42
- } & {
43
- [K in IThemeDevice]?: CSSObject;
44
- });
45
-
46
- export declare const useRemovePreviewLoader: () => void;
47
-
48
- export { }
1
+ export * from './areas/preview/index'
2
+ export {}
@@ -1,7 +1,5 @@
1
- import { u } from "./area.hooks-Bk04M7mk.js";
2
- import { P } from "./context.constants-D0UjboYX.js";
1
+ import { n as r, t as o } from "./preview-BvJN6QoV.js";
3
2
  export {
4
- P as Preview,
5
- u as useRemovePreviewLoader
3
+ r as Preview,
4
+ o as useRemovePreviewLoader
6
5
  };
7
- //# sourceMappingURL=area-preview.es.js.map
@@ -1,2 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./context.constants-gXk1ewxx.cjs");exports.Skeleton=e.Skeleton,exports.StyledSkeleton=e.StyledSkeleton;
2
- //# sourceMappingURL=area-skeleton.cjs.js.map
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-CW3en5xf.cjs"),e=require("./skeleton-BOfnrUaI.cjs");exports.Skeleton=e.Skeleton;
@@ -1,68 +1,2 @@
1
- import { Component } from 'react';
2
- import { CSSObject } from 'styled-components';
3
- import { DefaultTheme } from 'styled-components';
4
- import { DragEvent as DragEvent_2 } from 'react';
5
- import { DragEventHandler } from 'react';
6
- import { FC } from 'react';
7
- import { IStyledComponentBase } from 'styled-components/dist/types';
8
- import { PropsWithChildren } from 'react';
9
- import { Ref } from 'react';
10
- import { Substitute } from 'styled-components/dist/types';
11
-
12
- declare type AddDollarSign<T> = {
13
- [K in keyof T as `$${string & K}`]: T[K];
14
- };
15
-
16
- declare interface addSXProps {
17
- sx?: SXProps;
18
- }
19
-
20
- declare type IThemeDevice = 'default' | 'tablet' | 'mobile';
21
-
22
- declare type IThemePaletteKeys = 'transparent' | 'black100' | 'black80' | 'black60' | 'black50' | 'black40' | 'black10' | 'black05' | 'black04' | 'blackHelena' | 'blackJanice' | 'grayJanice' | 'grayKaren' | 'grayMonica' | 'graySandra' | 'grayPatricia' | 'graySarah' | 'grayStassie' | 'grayAdriana' | 'greenGoogle' | 'grayBarbara' | 'grayStephanie' | 'grayFrances' | 'grayTina' | 'green100' | 'green50' | 'green25' | 'green10' | 'green10Background' | 'whiteStandard' | 'whiteJanice' | 'yellowGoogle' | 'yellow100' | 'yellow50' | 'yellow25' | 'yellow10' | 'yellow10Background' | 'redGoogle' | 'red100' | 'red50' | 'red25' | 'red10' | 'red10Background' | 'blueGoogle' | 'blueRest' | 'blueActive' | 'blueHover' | 'blueFocus' | 'blueBr' | 'blueKaren' | 'blueMonica' | 'violetStephanie' | 'violetJanice' | 'amnezia' | 'inherit' | 'currentColor';
23
-
24
- export declare const Skeleton: FC<SkeletonProps>;
25
-
26
- declare type SkeletonDefaultProps = {
27
- className?: string;
28
- defaultVisible?: boolean;
29
- type?: 'primary' | 'secondary';
30
- color?: IThemePaletteKeys;
31
- isInheritColor?: boolean;
32
- };
33
-
34
- declare interface SkeletonIsShowProps extends SkeletonDefaultProps {
35
- visible: boolean;
36
- }
37
-
38
- export declare type SkeletonProps = StackProps & (SkeletonIsShowProps | SkeletonTimeProps);
39
-
40
- declare interface SkeletonTimeProps extends SkeletonDefaultProps {
41
- time: number;
42
- }
43
-
44
- declare interface StackProps extends addSXProps, PropsWithChildren {
45
- className?: string;
46
- isHover?: boolean;
47
- isRipple?: boolean;
48
- onClick?: () => void;
49
- onDragOver?: DragEventHandler<HTMLDivElement>;
50
- onDrop?: (e: DragEvent_2<HTMLDivElement>) => void;
51
- ref?: Ref<HTMLDivElement | null>;
52
- }
53
-
54
- export declare const StyledSkeleton: IStyledComponentBase<"web", Substitute<StackProps, StyledSkeletonProps>> & string & Omit<FC<StackProps>, keyof Component<any, {}, any>>;
55
-
56
- export declare type StyledSkeletonProps = StackProps & AddDollarSign<Pick<SkeletonIsShowProps & SkeletonTimeProps, 'visible' | 'type' | 'color' | 'isInheritColor'>>;
57
-
58
- declare type SXProps = ({
59
- default: CSSObject;
60
- } & {
61
- [K in IThemeDevice]?: CSSObject;
62
- }) | ((theme: DefaultTheme) => {
63
- default: CSSObject;
64
- } & {
65
- [K in IThemeDevice]?: CSSObject;
66
- });
67
-
68
- export { }
1
+ export * from './areas/skeleton/index'
2
+ export {}
@@ -1,6 +1,4 @@
1
- import { a, S } from "./context.constants-D0UjboYX.js";
1
+ import { t } from "./skeleton-Bzr92XmL.js";
2
2
  export {
3
- a as Skeleton,
4
- S as StyledSkeleton
3
+ t as Skeleton
5
4
  };
6
- //# sourceMappingURL=area-skeleton.es.js.map
@@ -0,0 +1,7 @@
1
+ import { ISx } from '../../styles/utils';
2
+ import { FC, PropsWithChildren } from 'react';
3
+ type IOutside = PropsWithChildren & ISx & {
4
+ onOutsideClick: (event: MouseEvent) => void;
5
+ };
6
+ export declare const Outside: FC<IOutside>;
7
+ export {};
@@ -0,0 +1 @@
1
+ export { Outside } from './area';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { IPreview } from './area.types';
3
+ export declare const Preview: FC<IPreview>;
@@ -0,0 +1 @@
1
+ export declare const useRemovePreviewLoader: () => void;
@@ -0,0 +1,19 @@
1
+ import { ISx, IThemePalette } from '../../styles/utils';
2
+ import { PropsWithChildren, ReactNode } from 'react';
3
+ type IPreviewDefault = {
4
+ defaultVisible?: boolean;
5
+ content?: ReactNode;
6
+ sxLoader?: ISx['sx'];
7
+ sxChildren?: ISx['sx'];
8
+ colorIcon?: IThemePalette;
9
+ };
10
+ interface IPreviewIsShow extends IPreviewDefault {
11
+ visible: boolean;
12
+ minTime?: number;
13
+ }
14
+ interface IPreviewTime extends IPreviewDefault {
15
+ time: number;
16
+ }
17
+ export type IPreviewAdditional = IPreviewIsShow | IPreviewTime;
18
+ export type IPreview = PropsWithChildren & IPreviewAdditional;
19
+ export {};
@@ -0,0 +1,3 @@
1
+ export { Preview } from './area';
2
+ export { useRemovePreviewLoader } from './area.hooks';
3
+ export type { IPreview, IPreviewAdditional } from './area.types';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { ISkeleton } from './area.types';
3
+ export declare const Skeleton: FC<ISkeleton>;
@@ -0,0 +1,21 @@
1
+ import { IStack } from '../../components/stack';
2
+ import { IThemePalette } from '../../styles/utils';
3
+ import { CSSProperties } from 'react';
4
+ type ISkeletonDefault = {
5
+ className?: string;
6
+ style?: CSSProperties;
7
+ defaultVisible?: boolean;
8
+ type?: 'primary' | 'secondary';
9
+ color?: IThemePalette;
10
+ colorLine?: IThemePalette;
11
+ isInheritColor?: boolean;
12
+ isLiquid?: boolean;
13
+ };
14
+ interface ISkeletonIsShow extends ISkeletonDefault {
15
+ visible: boolean;
16
+ }
17
+ interface ISkeletonTime extends ISkeletonDefault {
18
+ time: number;
19
+ }
20
+ export type ISkeleton = IStack & (ISkeletonIsShow | ISkeletonTime);
21
+ export {};
@@ -0,0 +1,2 @@
1
+ export { Skeleton } from './area';
2
+ export type { ISkeleton } from './area.types';
@@ -1,3 +1,3 @@
1
- version: 1.3.39
2
- commit: cf85e00
3
- date: 2025-10-18T20:17:41Z
1
+ version: 2.0.0
2
+ commit: 522d72e
3
+ date: 2026-04-17T19:57:31Z
@@ -0,0 +1,3 @@
1
+ const R=require("./chunk-CW3en5xf.cjs"),n=require("./utils-DtinAjAU.cjs"),S=require("./functions-Dwo54amB.cjs"),A=require("./icon-CreblPsB.cjs"),m=require("./hooks-use-merge-refs.cjs.js"),g=require("./hooks-use-typography-styles.cjs.js");let s=require("react/jsx-runtime"),o=require("react");var y=e=>{const c=(0,o.useMemo)(()=>A.getIconComponents({icons:(e.icons??[]).map(i=>({...i,style:{color:n.CSS_VARS.genre.button[e.genre].color.index}})),size:e.size}),[e.icons,e.size,e.genre]),u=(0,o.useCallback)(i=>{!e.isDisabled&&e.onClick&&e.onClick(i)},[e.isDisabled,e.onClick]),l=m.useMergeRefs([(0,o.useRef)(null),e.ref]),{className:a,style:d}=g.useTypographyStyles({sx:{variant:n.EXTRA_VALUE.sizeToController[e.size],isNoUserSelect:!0,...e?.sxTypography},style:{order:0,display:"inline-flex"}}),{className:r,style:C}=(0,o.useMemo)(()=>{const i=S.setClasses([n.CSS_CLASS.component.button.root,n.CSS_CLASS.control[e.isDisabled?"none":e.control??"boxShadow"],n.CSS_CLASS.transition.color,e.isZeroRadius&&n.CSS_CLASS.component.button.isZeroRadius,e.isHidden&&n.CSS_CLASS.component.button.isHidden,e.isHiddenBorder&&n.CSS_CLASS.component.button.isHiddenBorder,e.isFullRadius&&n.CSS_CLASS.component.button.isFullRadius,e.isFullSize&&n.CSS_CLASS.component.button.isFullSize,e.isWidthAsHeight&&n.CSS_CLASS.component.button.isWidthAsHeight,e.isMinWidthAsContent&&n.CSS_CLASS.component.button.isMinWidthAsContent,e.isZeroPadding&&n.CSS_CLASS.component.button.isZeroPadding,e.isSizeFitContent&&n.CSS_CLASS.component.button.isSizeFitContent,e.className]),t={};return t[n.CSS_VARS_RAW.component.button.background]=n.CSS_VARS.genre.button[e.genre].background.index,t[n.CSS_VARS_RAW.component.button.color]=n.CSS_VARS.genre.button[e.genre].color.index,t[n.CSS_VARS_RAW.component.button.border]=n.CSS_VARS.genre.button[e.genre].border.index,t[n.CSS_VARS_RAW.component.button.height]=n.CSS_VARS.size[e.size].height,t[n.CSS_VARS_RAW.component.button.padding]=n.CSS_VARS.size[e.size].padding,t[n.CSS_VARS_RAW.component.button.radius]=n.CSS_VARS.size[e.size].radius,t[n.CSS_VARS_RAW.component.button.gap]=`calc(${n.CSS_VARS.size[e.size].padding} - 2px)`,{className:i,style:S.setStyles([Object.keys(t).length?t:void 0,e.style])}},[e.className,e.style,e.genre,e.isDisabled,e.isFullSize,e.isHidden,e.isHiddenBorder,e.isMinWidthAsContent,e.isFullRadius,e.isWidthAsHeight,e.size,e.isZeroRadius,e.control,e.isZeroPadding,e.isSizeFitContent]),{className:_,style:b}=(0,o.useMemo)(()=>{const i=S.setClasses([n.CSS_CLASS.component.button.iconGroup,e.isIconGroup&&n.CSS_CLASS.component.button.iconGroupIsIconGroup]),t={};return"iconGroupOrder"in e&&(t[n.CSS_VARS_RAW.component.button.iconGroupOrder]=String(e.iconGroupOrder??"initial")),{className:i,style:S.setStyles([Object.keys(t).length?t:void 0])}},[e]);return(0,s.jsxs)("button",{tabIndex:e.tabIndex,disabled:e.isDisabled,className:r,style:C,onClick:u,onFocus:e.onFocus,onMouseDown:e.onMouseDown,type:e.type??"button",ref:l,name:e.name,"aria-label":e.ariaLabel,id:e.id,children:[!e.isOnlyIcon&&e.children&&(0,s.jsx)("div",{className:a,style:d,children:e.children}),(0,s.jsx)("div",{className:_,style:b,children:c})]})};Object.defineProperty(exports,"Button",{enumerable:!0,get:function(){return y}});
2
+
3
+ //# sourceMappingURL=button-C5PgNYns.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button-C5PgNYns.cjs","names":[],"sources":["../src/components/button/component.tsx"],"sourcesContent":["import { getIconComponents } from '@local/components/icon';\nimport { useMergeRefs } from '@local/hooks/use-merge-refs';\nimport { useTypographyStyles } from '@local/hooks/use-typography-styles';\nimport { CSS_CLASS, CSS_VARS, CSS_VARS_RAW, EXTRA_VALUE } from '@local/styles/utils';\nimport { setClasses, setStyles } from '@local/styles/utils/functions';\n\nimport { FC, Ref, useCallback, useMemo, useRef } from 'react';\n\nimport { IButton } from './component.types';\n\nexport const Button: FC<IButton> = (props) => {\n const iconComponents = useMemo(\n () =>\n getIconComponents({\n icons: (props.icons ?? []).map((e) => ({\n ...e,\n style: { color: CSS_VARS.genre.button[props.genre].color.index },\n })),\n size: props.size,\n }),\n [props.icons, props.size, props.genre],\n );\n\n const handleClick = useCallback<Exclude<IButton['onClick'], undefined>>(\n (event) => {\n if (!props.isDisabled && props.onClick) {\n props.onClick(event);\n }\n },\n [props.isDisabled, props.onClick],\n );\n\n const refDefault = useRef<HTMLButtonElement>(null);\n\n const ref = useMergeRefs([refDefault, props.ref]);\n\n const { className: classNameTypography, style: styleTypography } = useTypographyStyles({\n sx: { variant: EXTRA_VALUE.sizeToController[props.size], isNoUserSelect: true, ...props?.sxTypography },\n style: { order: 0, display: 'inline-flex' },\n });\n\n const { className, style } = useMemo(() => {\n const className = setClasses([\n CSS_CLASS.component.button.root,\n CSS_CLASS.control[props.isDisabled ? 'none' : (props.control ?? 'boxShadow')],\n CSS_CLASS.transition.color,\n props.isZeroRadius && CSS_CLASS.component.button.isZeroRadius,\n props.isHidden && CSS_CLASS.component.button.isHidden,\n props.isHiddenBorder && CSS_CLASS.component.button.isHiddenBorder,\n props.isFullRadius && CSS_CLASS.component.button.isFullRadius,\n props.isFullSize && CSS_CLASS.component.button.isFullSize,\n props.isWidthAsHeight && CSS_CLASS.component.button.isWidthAsHeight,\n props.isMinWidthAsContent && CSS_CLASS.component.button.isMinWidthAsContent,\n props.isZeroPadding && CSS_CLASS.component.button.isZeroPadding,\n props.isSizeFitContent && CSS_CLASS.component.button.isSizeFitContent,\n props.className,\n ]);\n\n const vars: Record<string, string> = {};\n\n vars[CSS_VARS_RAW.component.button.background] = CSS_VARS.genre.button[props.genre].background.index;\n vars[CSS_VARS_RAW.component.button.color] = CSS_VARS.genre.button[props.genre].color.index;\n vars[CSS_VARS_RAW.component.button.border] = CSS_VARS.genre.button[props.genre].border.index;\n\n vars[CSS_VARS_RAW.component.button.height] = CSS_VARS.size[props.size].height;\n vars[CSS_VARS_RAW.component.button.padding] = CSS_VARS.size[props.size].padding;\n vars[CSS_VARS_RAW.component.button.radius] = CSS_VARS.size[props.size].radius;\n vars[CSS_VARS_RAW.component.button.gap] = `calc(${CSS_VARS.size[props.size].padding} - 2px)`;\n\n const style = setStyles([Object.keys(vars).length ? vars : undefined, props.style]);\n\n return { className, style };\n }, [\n props.className,\n props.style,\n props.genre,\n props.isDisabled,\n props.isFullSize,\n props.isHidden,\n props.isHiddenBorder,\n props.isMinWidthAsContent,\n props.isFullRadius,\n props.isWidthAsHeight,\n props.size,\n props.isZeroRadius,\n props.control,\n props.isZeroPadding,\n props.isSizeFitContent,\n ]);\n\n const { className: classNameIconGroup, style: styleIconGroup } = useMemo(() => {\n const className = setClasses([\n CSS_CLASS.component.button.iconGroup,\n\n props.isIconGroup && CSS_CLASS.component.button.iconGroupIsIconGroup,\n ]);\n\n const vars: Record<string, string> = {};\n\n if ('iconGroupOrder' in props)\n vars[CSS_VARS_RAW.component.button.iconGroupOrder] = String(props.iconGroupOrder ?? 'initial');\n\n const style = setStyles([Object.keys(vars).length ? vars : undefined]);\n\n return { className, style };\n }, [props]);\n\n return (\n <button\n tabIndex={props.tabIndex}\n disabled={props.isDisabled}\n className={className}\n style={style}\n onClick={handleClick}\n onFocus={props.onFocus}\n onMouseDown={props.onMouseDown}\n type={props.type ?? 'button'}\n ref={ref as Ref<HTMLButtonElement>}\n name={props.name}\n aria-label={props.ariaLabel}\n id={props.id}\n >\n {!props.isOnlyIcon && props.children && (\n <div className={classNameTypography} style={styleTypography}>\n {props.children}\n </div>\n )}\n <div className={classNameIconGroup} style={styleIconGroup}>\n {iconComponents}\n </div>\n </button>\n );\n};\n"],"mappings":"oSAUA,IAAa,EAAuB,GAAU,CAC5C,MAAM,KAAA,EAAA,SAAA,IAEF,EAAA,kBAAkB,CAChB,OAAQ,EAAM,OAAS,CAAA,GAAI,IAAK,IAAO,CACrC,GAAG,EACH,MAAO,CAAE,MAAO,EAAA,SAAS,MAAM,OAAO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