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

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 (216) hide show
  1. package/README.md +0 -20
  2. package/build/{area-AbheP_ot.cjs → area-DnAf310m.cjs} +2 -2
  3. package/build/{area-AbheP_ot.cjs.map → area-DnAf310m.cjs.map} +1 -1
  4. package/build/{area-CH6c_n7-.js → area-Dnq78ow6.js} +2 -2
  5. package/build/{area-CH6c_n7-.js.map → area-Dnq78ow6.js.map} +1 -1
  6. package/build/area-preview.cjs.js +1 -1
  7. package/build/area-preview.es.js +1 -1
  8. package/build/build-info.txt +3 -3
  9. package/build/{component-BuxekWox.cjs → component-BiNPQpCQ.cjs} +2 -2
  10. package/build/{component-BuxekWox.cjs.map → component-BiNPQpCQ.cjs.map} +1 -1
  11. package/build/{component-Bwu-fBEh.js → component-BoHvC24Q.js} +2 -2
  12. package/build/{component-Bwu-fBEh.js.map → component-BoHvC24Q.js.map} +1 -1
  13. package/build/{component-D8qbXvM4.js → component-Bzw_uobM.js} +3 -3
  14. package/build/{component-D8qbXvM4.js.map → component-Bzw_uobM.js.map} +1 -1
  15. package/build/{component-CmotrA_9.js → component-C4ULY0c6.js} +16 -6
  16. package/build/component-C4ULY0c6.js.map +1 -0
  17. package/build/{component-CeWNemV1.cjs → component-CACoGUK9.cjs} +2 -2
  18. package/build/{component-CeWNemV1.cjs.map → component-CACoGUK9.cjs.map} +1 -1
  19. package/build/{component-D7A-4DNQ.cjs → component-CLqcB5mM.cjs} +2 -2
  20. package/build/component-CLqcB5mM.cjs.map +1 -0
  21. package/build/{component-BvLPfi2B.js → component-CQ8fy2gK.js} +2 -2
  22. package/build/{component-BvLPfi2B.js.map → component-CQ8fy2gK.js.map} +1 -1
  23. package/build/{component-vpCWcIhC.js → component-DHM9pbab.js} +3 -3
  24. package/build/component-DHM9pbab.js.map +1 -0
  25. package/build/{component-DfqhPd0e.cjs → component-DHq4T6Ku.cjs} +2 -2
  26. package/build/{component-DfqhPd0e.cjs.map → component-DHq4T6Ku.cjs.map} +1 -1
  27. package/build/{component-BFhXrZ3a.js → component-DfxlJBGv.js} +3 -3
  28. package/build/{component-BFhXrZ3a.js.map → component-DfxlJBGv.js.map} +1 -1
  29. package/build/{component-DUUxsxY6.cjs → component-Dn-VRY7-.cjs} +2 -2
  30. package/build/{component-DUUxsxY6.cjs.map → component-Dn-VRY7-.cjs.map} +1 -1
  31. package/build/component-accordion.cjs.js +1 -1
  32. package/build/component-accordion.d.ts +1 -1
  33. package/build/component-accordion.es.js +1 -1
  34. package/build/component-button-group.cjs.js +1 -1
  35. package/build/component-button-group.d.ts +22 -6
  36. package/build/component-button-group.es.js +1 -1
  37. package/build/component-button.cjs.js +1 -1
  38. package/build/component-button.d.ts +22 -6
  39. package/build/component-button.es.js +1 -1
  40. package/build/component-checkbox-group.cjs.js +1 -1
  41. package/build/component-checkbox-group.d.ts +19 -6
  42. package/build/component-checkbox-group.es.js +1 -1
  43. package/build/component-checkbox.cjs.js +1 -1
  44. package/build/component-checkbox.d.ts +20 -7
  45. package/build/component-checkbox.es.js +1 -1
  46. package/build/component-date-picker.cjs.js +1 -1
  47. package/build/component-date-picker.d.ts +22 -6
  48. package/build/component-date-picker.es.js +1 -1
  49. package/build/component-icon.cjs.js +1 -1
  50. package/build/component-icon.d.ts +16 -3
  51. package/build/component-icon.es.js +3 -2
  52. package/build/component-image-button.cjs.js +1 -1
  53. package/build/component-image-button.d.ts +22 -6
  54. package/build/component-image-button.es.js +1 -1
  55. package/build/component-image-select.cjs.js +1 -1
  56. package/build/component-image-select.d.ts +22 -6
  57. package/build/component-image-select.es.js +1 -1
  58. package/build/component-image-slider.cjs.js +1 -1
  59. package/build/component-image-slider.d.ts +1 -1
  60. package/build/component-image-slider.es.js +1 -1
  61. package/build/component-input-otp.cjs.js +1 -1
  62. package/build/component-input-otp.d.ts +1 -1
  63. package/build/component-input-otp.es.js +1 -1
  64. package/build/component-input.cjs.js +1 -1
  65. package/build/component-input.d.ts +1 -1
  66. package/build/component-input.es.js +2 -2
  67. package/build/component-map.cjs.js +1 -1
  68. package/build/component-map.d.ts +11 -12
  69. package/build/component-map.es.js +2 -2
  70. package/build/component-pagination.cjs.js +1 -1
  71. package/build/component-pagination.d.ts +22 -6
  72. package/build/component-pagination.es.js +1 -1
  73. package/build/component-range.cjs.js +1 -1
  74. package/build/component-range.d.ts +1 -1
  75. package/build/component-range.es.js +1 -1
  76. package/build/component-ripple.cjs.js +1 -1
  77. package/build/component-ripple.es.js +1 -1
  78. package/build/component-select.cjs.js +1 -1
  79. package/build/component-select.d.ts +3 -3
  80. package/build/component-select.es.js +1 -1
  81. package/build/component-separator.d.ts +1 -1
  82. package/build/component-textarea.cjs.js +1 -1
  83. package/build/component-textarea.d.ts +1 -1
  84. package/build/component-textarea.es.js +1 -1
  85. package/build/component-toggle.cjs.js +1 -1
  86. package/build/component-toggle.d.ts +1 -1
  87. package/build/component-toggle.es.js +1 -1
  88. package/build/component-tooltip.cjs.js +1 -1
  89. package/build/component-tooltip.d.ts +4 -4
  90. package/build/component-tooltip.es.js +1 -1
  91. package/build/component-typography.cjs.js +1 -1
  92. package/build/component-typography.d.ts +4 -4
  93. package/build/component-typography.es.js +1 -1
  94. package/build/{component-CMkU2lIg.cjs → component-u_42PteJ.cjs} +9 -9
  95. package/build/component-u_42PteJ.cjs.map +1 -0
  96. package/build/{component.components-BPIVZi-R.js → component.components-DX0DVix5.js} +26 -18
  97. package/build/component.components-DX0DVix5.js.map +1 -0
  98. package/build/{component.components-BWWKHxKD.cjs → component.components-H_qAeBHw.cjs} +3 -3
  99. package/build/component.components-H_qAeBHw.cjs.map +1 -0
  100. package/build/{component.constants-Dtw4932G.js → component.constants-C7DGbAC8.js} +5 -5
  101. package/build/{component.constants-Dtw4932G.js.map → component.constants-C7DGbAC8.js.map} +1 -1
  102. package/build/{component.constants-CmQuESzl.js → component.constants-DjYLZpyY.js} +2 -2
  103. package/build/{component.constants-CmQuESzl.js.map → component.constants-DjYLZpyY.js.map} +1 -1
  104. package/build/{component.constants-D8QVKsqc.cjs → component.constants-DwRduxMm.cjs} +2 -2
  105. package/build/{component.constants-D8QVKsqc.cjs.map → component.constants-DwRduxMm.cjs.map} +1 -1
  106. package/build/{component.constants-DyKCJRH3.cjs → component.constants-veAUxKBd.cjs} +2 -2
  107. package/build/{component.constants-DyKCJRH3.cjs.map → component.constants-veAUxKBd.cjs.map} +1 -1
  108. package/build/{component.styles-CKLd9UoP.cjs → component.styles--Ug3PJQ6.cjs} +2 -2
  109. package/build/{component.styles-CKLd9UoP.cjs.map → component.styles--Ug3PJQ6.cjs.map} +1 -1
  110. package/build/{component.styles-CQbSHrL_.js → component.styles-5CVyEjEh.js} +7 -7
  111. package/build/{component.styles-CQbSHrL_.js.map → component.styles-5CVyEjEh.js.map} +1 -1
  112. package/build/{component.styles-CKArb78Q.js → component.styles-5Xz_H-fR.js} +6 -6
  113. package/build/{component.styles-CKArb78Q.js.map → component.styles-5Xz_H-fR.js.map} +1 -1
  114. package/build/{component.styles-CS_lQRm0.cjs → component.styles-8tkaznu_.cjs} +2 -2
  115. package/build/{component.styles-CS_lQRm0.cjs.map → component.styles-8tkaznu_.cjs.map} +1 -1
  116. package/build/{component.styles-R92hjRRA.cjs → component.styles-Bfhg18CX.cjs} +2 -2
  117. package/build/{component.styles-R92hjRRA.cjs.map → component.styles-Bfhg18CX.cjs.map} +1 -1
  118. package/build/{component.styles-DYAuT7U2.js → component.styles-Bm3Ec-Kd.js} +40 -13
  119. package/build/component.styles-Bm3Ec-Kd.js.map +1 -0
  120. package/build/{component.styles-C-mr1A0b.cjs → component.styles-BuzZQhqS.cjs} +2 -2
  121. package/build/{component.styles-C-mr1A0b.cjs.map → component.styles-BuzZQhqS.cjs.map} +1 -1
  122. package/build/{component.styles-ClU_KFe9.js → component.styles-C1p3V7H6.js} +5 -5
  123. package/build/{component.styles-ClU_KFe9.js.map → component.styles-C1p3V7H6.js.map} +1 -1
  124. package/build/{component.styles-DoUBnv1C.js → component.styles-C3hYZJGh.js} +3 -3
  125. package/build/{component.styles-DoUBnv1C.js.map → component.styles-C3hYZJGh.js.map} +1 -1
  126. package/build/{component.styles-l0Dr5zHf.cjs → component.styles-CISd4naT.cjs} +2 -2
  127. package/build/{component.styles-l0Dr5zHf.cjs.map → component.styles-CISd4naT.cjs.map} +1 -1
  128. package/build/{component.styles-BfzC8j7O.js → component.styles-CggIUAVx.js} +6 -6
  129. package/build/{component.styles-BfzC8j7O.js.map → component.styles-CggIUAVx.js.map} +1 -1
  130. package/build/{component.styles-BMJamWba.cjs → component.styles-Cje8zTpf.cjs} +2 -2
  131. package/build/{component.styles-BMJamWba.cjs.map → component.styles-Cje8zTpf.cjs.map} +1 -1
  132. package/build/{component.styles-DyTB01CW.js → component.styles-CpFA5YrM.js} +4 -4
  133. package/build/{component.styles-DyTB01CW.js.map → component.styles-CpFA5YrM.js.map} +1 -1
  134. package/build/{component.styles-DETkOSnM.cjs → component.styles-Crx4pACx.cjs} +2 -2
  135. package/build/{component.styles-DETkOSnM.cjs.map → component.styles-Crx4pACx.cjs.map} +1 -1
  136. package/build/component.styles-DSle6iuF.cjs +22 -0
  137. package/build/component.styles-DSle6iuF.cjs.map +1 -0
  138. package/build/{component.styles-DkL2qYQQ.js → component.styles-DX_3POUD.js} +2 -2
  139. package/build/{component.styles-DkL2qYQQ.js.map → component.styles-DX_3POUD.js.map} +1 -1
  140. package/build/{component.styles-CMXsg9Uj.js → component.styles-DYS_AJ9F.js} +4 -4
  141. package/build/{component.styles-CMXsg9Uj.js.map → component.styles-DYS_AJ9F.js.map} +1 -1
  142. package/build/{component.styles-B294m7QY.cjs → component.styles-Db3HLiuV.cjs} +2 -2
  143. package/build/{component.styles-B294m7QY.cjs.map → component.styles-Db3HLiuV.cjs.map} +1 -1
  144. package/build/{component.styles-b_DLfQqU.cjs → component.styles-DhAMCZ71.cjs} +2 -2
  145. package/build/{component.styles-b_DLfQqU.cjs.map → component.styles-DhAMCZ71.cjs.map} +1 -1
  146. package/build/{component.styles-usmYNSi8.js → component.styles-DpgkACgI.js} +2 -2
  147. package/build/{component.styles-usmYNSi8.js.map → component.styles-DpgkACgI.js.map} +1 -1
  148. package/build/{component.styles-B5kjhqh4.cjs → component.styles-o7GmI4Ap.cjs} +2 -2
  149. package/build/{component.styles-B5kjhqh4.cjs.map → component.styles-o7GmI4Ap.cjs.map} +1 -1
  150. package/build/{component.styles-BHBTNQ8p.js → component.styles-v0YYECwW.js} +4 -4
  151. package/build/{component.styles-BHBTNQ8p.js.map → component.styles-v0YYECwW.js.map} +1 -1
  152. package/build/{component.types-D05KdxnZ.js → component.types-BBQ18Npa.js} +14 -3
  153. package/build/component.types-BBQ18Npa.js.map +1 -0
  154. package/build/{component.types-D2nk9HlK.js → component.types-BzBjcohg.js} +8 -8
  155. package/build/{component.types-D2nk9HlK.js.map → component.types-BzBjcohg.js.map} +1 -1
  156. package/build/{component.types-gy5Q9qHX.cjs → component.types-DraGq1j_.cjs} +2 -2
  157. package/build/component.types-DraGq1j_.cjs.map +1 -0
  158. package/build/{component.types-DoUkmzRs.cjs → component.types-ydMLhabS.cjs} +2 -2
  159. package/build/{component.types-DoUkmzRs.cjs.map → component.types-ydMLhabS.cjs.map} +1 -1
  160. package/build/consts.cjs.js +1 -1
  161. package/build/consts.cjs.js.map +1 -1
  162. package/build/consts.d.ts +1 -1
  163. package/build/consts.es.js +1 -1
  164. package/build/consts.es.js.map +1 -1
  165. package/build/context-app.cjs.js +1 -1
  166. package/build/context-app.d.ts +1 -1
  167. package/build/context-app.es.js +1 -1
  168. package/build/context-dialog.d.ts +1 -1
  169. package/build/context-sonner.cjs.js +1 -1
  170. package/build/context-sonner.d.ts +5 -4
  171. package/build/context-sonner.es.js +1 -1
  172. package/build/context.constants-B9Yk6CGe.js.map +1 -1
  173. package/build/{context.constants-4kkNHBzR.js → context.constants-Bz_5itIx.js} +4 -4
  174. package/build/{context.constants-4kkNHBzR.js.map → context.constants-Bz_5itIx.js.map} +1 -1
  175. package/build/context.constants-CTfUKury.cjs.map +1 -1
  176. package/build/{context.constants-DKCD80Pp.cjs → context.constants-CV8ycctl.cjs} +2 -2
  177. package/build/{context.constants-DKCD80Pp.cjs.map → context.constants-CV8ycctl.cjs.map} +1 -1
  178. package/build/{context.hooks-DGmZRxkb.cjs → context.hooks-BDEwJHqB.cjs} +2 -2
  179. package/build/{context.hooks-DGmZRxkb.cjs.map → context.hooks-BDEwJHqB.cjs.map} +1 -1
  180. package/build/{context.hooks-Cfr2Mp8e.js → context.hooks-DTdppyho.js} +3 -3
  181. package/build/{context.hooks-Cfr2Mp8e.js.map → context.hooks-DTdppyho.js.map} +1 -1
  182. package/build/index.cjs.js +1 -1
  183. package/build/index.d.ts +37 -21
  184. package/build/index.es.js +40 -39
  185. package/build/{style-BVejuajH.cjs → style-B5u4pW5G.cjs} +2 -2
  186. package/build/{style-BVejuajH.cjs.map → style-B5u4pW5G.cjs.map} +1 -1
  187. package/build/{style-CQOBaUTO.js → style-BQ653xOS.js} +3 -3
  188. package/build/{style-CQOBaUTO.js.map → style-BQ653xOS.js.map} +1 -1
  189. package/build/style-error.cjs.js +1 -1
  190. package/build/style-error.es.js +1 -1
  191. package/build/style-theme.cjs.js +1 -1
  192. package/build/style-theme.d.ts +5 -4
  193. package/build/style-theme.es.js +1 -1
  194. package/build/theme.global-B9t2Fi10.cjs +173 -0
  195. package/build/theme.global-B9t2Fi10.cjs.map +1 -0
  196. package/build/{theme.global-DuEXPcSK.js → theme.global-CFUz5Asg.js} +70 -1
  197. package/build/theme.global-CFUz5Asg.js.map +1 -0
  198. package/build/{use-D0mgQexh.cjs → use-D7IsSb34.cjs} +2 -2
  199. package/build/{use-D0mgQexh.cjs.map → use-D7IsSb34.cjs.map} +1 -1
  200. package/build/{use-BsyZ6-h6.js → use-DTZ8c8_g.js} +5 -5
  201. package/build/{use-BsyZ6-h6.js.map → use-DTZ8c8_g.js.map} +1 -1
  202. package/package.json +2 -1
  203. package/build/component-CMkU2lIg.cjs.map +0 -1
  204. package/build/component-CmotrA_9.js.map +0 -1
  205. package/build/component-D7A-4DNQ.cjs.map +0 -1
  206. package/build/component-vpCWcIhC.js.map +0 -1
  207. package/build/component.components-BPIVZi-R.js.map +0 -1
  208. package/build/component.components-BWWKHxKD.cjs.map +0 -1
  209. package/build/component.styles-CbkvPvEl.cjs +0 -22
  210. package/build/component.styles-CbkvPvEl.cjs.map +0 -1
  211. package/build/component.styles-DYAuT7U2.js.map +0 -1
  212. package/build/component.types-D05KdxnZ.js.map +0 -1
  213. package/build/component.types-gy5Q9qHX.cjs.map +0 -1
  214. package/build/theme.global-B9wIU_rF.cjs +0 -173
  215. package/build/theme.global-B9wIU_rF.cjs.map +0 -1
  216. package/build/theme.global-DuEXPcSK.js.map +0 -1
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./jsx-runtime-BcGej2Kr.cjs"),t=require("react"),i=require("./component.styles-Dpg-__rn.cjs");exports.Ripple=s=>{const o=t.useMemo(()=>s.color??"unset",[s.color]),r=t.useMemo(()=>s.duration??i.DEFAULT_RIPPLE_DURATION,[s.duration]),[n,u]=t.useState([]);((e,i,s)=>{t.useLayoutEffect(()=>{let t=null;return e>0&&(t&&clearTimeout(t),t=setTimeout(()=>{s(),t&&clearTimeout(t)},4*i)),()=>{t&&clearTimeout(t)}},[e,i,s])})(n.length,r??i.DEFAULT_RIPPLE_DURATION,()=>{u([])});const l=t.useCallback(e=>{if(!e.isTrusted)return;const t=e.currentTarget.getBoundingClientRect(),i=t.width>t.height?t.width:t.height,s={x:e.pageX-t.x-i/2,y:e.pageY-t.y-i/2,size:i};u([]),setTimeout(()=>{u([s])},0)},[]);return s.isDisabled||s.isHidden?null:e.jsxRuntimeExports.jsx(i.RippleContainer,{id:i.DEFAULT_RIPPLE_ID,$duration:r,$color:o,onMouseDown:l,children:n.length>0&&n.map((t,s)=>e.jsxRuntimeExports.jsx(i.RippleSpan,{$duration:r,$color:o,style:{top:t.y,left:t.x,width:t.size,height:t.size}},`span-${s}`))})};
2
- //# sourceMappingURL=component-D7A-4DNQ.cjs.map
1
+ "use strict";const e=require("./jsx-runtime-BcGej2Kr.cjs"),t=require("react"),i=require("./component.styles-Dpg-__rn.cjs");exports.Ripple=s=>{const r=t.useMemo(()=>s.color??"unset",[s.color]),o=t.useMemo(()=>s.duration??i.DEFAULT_RIPPLE_DURATION,[s.duration]),[n,u]=t.useState([]);((e,i,s)=>{t.useLayoutEffect(()=>{let t=null;return e>0&&(t&&clearTimeout(t),t=setTimeout(()=>{s(),t&&clearTimeout(t)},4*i)),()=>{t&&clearTimeout(t)}},[e,i,s])})(n.length,o??i.DEFAULT_RIPPLE_DURATION,()=>{u([])});const l=t.useCallback(e=>{if(!e.isTrusted)return;const t=e.currentTarget.getBoundingClientRect(),i=t.width>t.height?t.width:t.height,s={x:e.pageX-t.x-i/2,y:e.pageY-t.y-i/2,size:i};u([]),setTimeout(()=>{u([s])},0)},[]);return s.isDisabled||s.isHidden?null:e.jsxRuntimeExports.jsx(i.RippleContainer,{id:i.DEFAULT_RIPPLE_ID,$duration:o,$color:r,onMouseUp:l,children:n.length>0&&n.map((t,s)=>e.jsxRuntimeExports.jsx(i.RippleSpan,{$duration:o,$color:r,style:{top:t.y,left:t.x,width:t.size,height:t.size}},`span-${s}`))})};
2
+ //# sourceMappingURL=component-CLqcB5mM.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-CLqcB5mM.cjs","sources":["../src/components/ripple/component.tsx"],"sourcesContent":["import React, { FC, useCallback, useLayoutEffect, useMemo, useState } from 'react'\n\nimport {\n DEFAULT_RIPPLE_DURATION,\n DEFAULT_RIPPLE_ID,\n RippleArrayElement,\n RippleContainer,\n RippleProps,\n RippleSpan\n} from '.'\n\nconst useDebouncedRippleCleanUp = (rippleCount: number, duration: number, cleanUpFunction: () => void) => {\n useLayoutEffect(() => {\n // eslint-disable-next-line no-undef\n let bounce: NodeJS.Timeout | null = null\n if (rippleCount > 0) {\n if (bounce) {\n clearTimeout(bounce)\n }\n\n bounce = setTimeout(() => {\n cleanUpFunction()\n if (bounce) {\n clearTimeout(bounce)\n }\n }, duration * 4)\n }\n\n return () => {\n if (bounce) {\n clearTimeout(bounce)\n }\n }\n }, [rippleCount, duration, cleanUpFunction])\n}\n\nexport const Ripple: FC<RippleProps> = props => {\n const color = useMemo(() => props.color ?? 'unset', [props.color])\n const duration = useMemo(() => props.duration ?? DEFAULT_RIPPLE_DURATION, [props.duration])\n\n const [rippleArray, setRippleArray] = useState<RippleArrayElement[]>([])\n\n useDebouncedRippleCleanUp(rippleArray.length, duration ?? DEFAULT_RIPPLE_DURATION, () => {\n setRippleArray([])\n })\n\n const onMouseUp = useCallback((event: React.MouseEvent<HTMLDivElement>) => {\n if (!event.isTrusted) return\n const rippleContainer = event.currentTarget.getBoundingClientRect()\n const size = rippleContainer.width > rippleContainer.height ? rippleContainer.width : rippleContainer.height\n const x = event.pageX - rippleContainer.x - size / 2\n const y = event.pageY - rippleContainer.y - size / 2\n const newRipple = { x, y, size }\n setRippleArray([])\n setTimeout(() => {\n setRippleArray([newRipple])\n }, 0)\n }, [])\n\n if (props.isDisabled || props.isHidden) return null\n return (\n <RippleContainer id={DEFAULT_RIPPLE_ID} $duration={duration} $color={color} onMouseUp={onMouseUp}>\n {rippleArray.length > 0 &&\n rippleArray.map((ripple, index) => {\n return (\n <RippleSpan\n $duration={duration}\n $color={color}\n key={`span-${index}`}\n style={{\n top: ripple.y,\n left: ripple.x,\n width: ripple.size,\n height: ripple.size\n }}\n />\n )\n })}\n </RippleContainer>\n )\n}\n"],"names":["props","color","useMemo","duration","DEFAULT_RIPPLE_DURATION","rippleArray","setRippleArray","useState","rippleCount","cleanUpFunction","useLayoutEffect","bounce","clearTimeout","setTimeout","useDebouncedRippleCleanUp","length","onMouseUp","useCallback","event","isTrusted","rippleContainer","currentTarget","getBoundingClientRect","size","width","height","newRipple","x","pageX","y","pageY","isDisabled","isHidden","RippleContainer","id","D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bH,MAAOgB,EAAOjB,KACdE,OAAQe,EAAOjB,OALZ,QAAQkB"}
@@ -1,5 +1,5 @@
1
1
  import { j as jsxRuntimeExports } from "./jsx-runtime-BrDlu8eK.js";
2
- import { c as Button } from "./component-CmotrA_9.js";
2
+ import { c as Button } from "./component-C4ULY0c6.js";
3
3
  import { css, styled } from "styled-components";
4
4
  import { a as addSX } from "./style-plT9Ah7t.js";
5
5
  const ButtonGroupWrapperPositionHorizontal = css`
@@ -63,4 +63,4 @@ export {
63
63
  ButtonGroupWrapper as B,
64
64
  ButtonGroup as a
65
65
  };
66
- //# sourceMappingURL=component-BvLPfi2B.js.map
66
+ //# sourceMappingURL=component-CQ8fy2gK.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-BvLPfi2B.js","sources":["../src/components/button-group/component.styles.ts","../src/components/button-group/component.tsx"],"sourcesContent":["import { css, styled } from 'styled-components'\n\nimport { addSX } from '@local/styles/sx'\n\nimport { StyledButtonGroupProps } from '.'\n\n/****************************************** Position *************************************************/\nconst ButtonGroupWrapperPositionHorizontal = css`\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-content: flex-start;\n justify-content: space-between;\n & #jenesei-button {\n &:not(:only-child) {\n flex-grow: 1;\n &:first-child {\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\n }\n &:last-child {\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n }\n &:not(:first-child):not(:last-child) {\n border-radius: 0;\n }\n }\n }\n`\n\nconst ButtonGroupWrapperPositionVertical = css`\n display: flex;\n flex-direction: column;\n flex-wrap: wrap;\n\n & #jenesei-button {\n &:not(:only-child) {\n &:first-child {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n }\n &:last-child {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n }\n &:not(:first-child):not(:last-child) {\n border-radius: 0;\n }\n }\n }\n`\n\nexport const ButtonGroupWrapper = styled.div<StyledButtonGroupProps>`\n & #jenesei-button {\n &:focus-visible {\n z-index: 1;\n }\n }\n ${props =>\n props.$position === 'horizontal' ? ButtonGroupWrapperPositionHorizontal : ButtonGroupWrapperPositionVertical};\n ${addSX};\n`\n","import { FC } from 'react'\n\nimport { Button } from '@local/components/button'\n\nimport { ButtonGroupProps, ButtonGroupWrapper } from '.'\n\nexport const ButtonGroup: FC<ButtonGroupProps> = props => {\n return (\n <ButtonGroupWrapper $sx={props.sx} $position={props.position} className={props.className} id=\"jenesei-button-group\">\n {props.value?.map((button, id) => <Button id=\"jenesei-button\" key={id} {...button} />)}\n </ButtonGroupWrapper>\n )\n}\n"],"names":["jsx"],"mappings":";;;;AAOA,MAAM,uCAAuC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAwB7C,MAAM,qCAAqC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBpC,MAAM,qBAAqB,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMrC,CAAA,UACA,MAAM,cAAc,eAAe,uCAAuC,kCAAkC;AAAA,IAC5G,KAAK;AAAA;ACvDF,MAAM,cAAoC,CAAA,UAAS;;AACxD,SACEA,kCAAAA,IAAC,oBAAA,EAAmB,KAAK,MAAM,IAAI,WAAW,MAAM,UAAU,WAAW,MAAM,WAAW,IAAG,wBAC1F,WAAA,WAAM,UAAN,mBAAa,IAAI,CAAC,QAAQ,OAAOA,kCAAAA,IAAC,QAAA,EAAO,IAAG,kBAA2B,GAAG,OAAA,GAAR,EAAgB,GAAE,CACvF;AAEJ;"}
1
+ {"version":3,"file":"component-CQ8fy2gK.js","sources":["../src/components/button-group/component.styles.ts","../src/components/button-group/component.tsx"],"sourcesContent":["import { css, styled } from 'styled-components'\n\nimport { addSX } from '@local/styles/sx'\n\nimport { StyledButtonGroupProps } from '.'\n\n/****************************************** Position *************************************************/\nconst ButtonGroupWrapperPositionHorizontal = css`\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-content: flex-start;\n justify-content: space-between;\n & #jenesei-button {\n &:not(:only-child) {\n flex-grow: 1;\n &:first-child {\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\n }\n &:last-child {\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n }\n &:not(:first-child):not(:last-child) {\n border-radius: 0;\n }\n }\n }\n`\n\nconst ButtonGroupWrapperPositionVertical = css`\n display: flex;\n flex-direction: column;\n flex-wrap: wrap;\n\n & #jenesei-button {\n &:not(:only-child) {\n &:first-child {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n }\n &:last-child {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n }\n &:not(:first-child):not(:last-child) {\n border-radius: 0;\n }\n }\n }\n`\n\nexport const ButtonGroupWrapper = styled.div<StyledButtonGroupProps>`\n & #jenesei-button {\n &:focus-visible {\n z-index: 1;\n }\n }\n ${props =>\n props.$position === 'horizontal' ? ButtonGroupWrapperPositionHorizontal : ButtonGroupWrapperPositionVertical};\n ${addSX};\n`\n","import { FC } from 'react'\n\nimport { Button } from '@local/components/button'\n\nimport { ButtonGroupProps, ButtonGroupWrapper } from '.'\n\nexport const ButtonGroup: FC<ButtonGroupProps> = props => {\n return (\n <ButtonGroupWrapper $sx={props.sx} $position={props.position} className={props.className} id=\"jenesei-button-group\">\n {props.value?.map((button, id) => <Button id=\"jenesei-button\" key={id} {...button} />)}\n </ButtonGroupWrapper>\n )\n}\n"],"names":["jsx"],"mappings":";;;;AAOA,MAAM,uCAAuC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAwB7C,MAAM,qCAAqC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBpC,MAAM,qBAAqB,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMrC,CAAA,UACA,MAAM,cAAc,eAAe,uCAAuC,kCAAkC;AAAA,IAC5G,KAAK;AAAA;ACvDF,MAAM,cAAoC,CAAA,UAAS;;AACxD,SACEA,kCAAAA,IAAC,oBAAA,EAAmB,KAAK,MAAM,IAAI,WAAW,MAAM,UAAU,WAAW,MAAM,WAAW,IAAG,wBAC1F,WAAA,WAAM,UAAN,mBAAa,IAAI,CAAC,QAAQ,OAAOA,kCAAAA,IAAC,QAAA,EAAO,IAAG,kBAA2B,GAAG,OAAA,GAAR,EAAgB,GAAE,CACvF;AAEJ;"}
@@ -29,7 +29,7 @@ const Ripple = (props) => {
29
29
  useDebouncedRippleCleanUp(rippleArray.length, duration ?? DEFAULT_RIPPLE_DURATION, () => {
30
30
  setRippleArray([]);
31
31
  });
32
- const onMouseDown = useCallback((event) => {
32
+ const onMouseUp = useCallback((event) => {
33
33
  if (!event.isTrusted) return;
34
34
  const rippleContainer = event.currentTarget.getBoundingClientRect();
35
35
  const size = rippleContainer.width > rippleContainer.height ? rippleContainer.width : rippleContainer.height;
@@ -42,7 +42,7 @@ const Ripple = (props) => {
42
42
  }, 0);
43
43
  }, []);
44
44
  if (props.isDisabled || props.isHidden) return null;
45
- return /* @__PURE__ */ jsxRuntimeExports.jsx(RippleContainer, { id: DEFAULT_RIPPLE_ID, $duration: duration, $color: color, onMouseDown, children: rippleArray.length > 0 && rippleArray.map((ripple, index) => {
45
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(RippleContainer, { id: DEFAULT_RIPPLE_ID, $duration: duration, $color: color, onMouseUp, children: rippleArray.length > 0 && rippleArray.map((ripple, index) => {
46
46
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
47
47
  RippleSpan,
48
48
  {
@@ -62,4 +62,4 @@ const Ripple = (props) => {
62
62
  export {
63
63
  Ripple as R
64
64
  };
65
- //# sourceMappingURL=component-vpCWcIhC.js.map
65
+ //# sourceMappingURL=component-DHM9pbab.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-DHM9pbab.js","sources":["../src/components/ripple/component.tsx"],"sourcesContent":["import React, { FC, useCallback, useLayoutEffect, useMemo, useState } from 'react'\n\nimport {\n DEFAULT_RIPPLE_DURATION,\n DEFAULT_RIPPLE_ID,\n RippleArrayElement,\n RippleContainer,\n RippleProps,\n RippleSpan\n} from '.'\n\nconst useDebouncedRippleCleanUp = (rippleCount: number, duration: number, cleanUpFunction: () => void) => {\n useLayoutEffect(() => {\n // eslint-disable-next-line no-undef\n let bounce: NodeJS.Timeout | null = null\n if (rippleCount > 0) {\n if (bounce) {\n clearTimeout(bounce)\n }\n\n bounce = setTimeout(() => {\n cleanUpFunction()\n if (bounce) {\n clearTimeout(bounce)\n }\n }, duration * 4)\n }\n\n return () => {\n if (bounce) {\n clearTimeout(bounce)\n }\n }\n }, [rippleCount, duration, cleanUpFunction])\n}\n\nexport const Ripple: FC<RippleProps> = props => {\n const color = useMemo(() => props.color ?? 'unset', [props.color])\n const duration = useMemo(() => props.duration ?? DEFAULT_RIPPLE_DURATION, [props.duration])\n\n const [rippleArray, setRippleArray] = useState<RippleArrayElement[]>([])\n\n useDebouncedRippleCleanUp(rippleArray.length, duration ?? DEFAULT_RIPPLE_DURATION, () => {\n setRippleArray([])\n })\n\n const onMouseUp = useCallback((event: React.MouseEvent<HTMLDivElement>) => {\n if (!event.isTrusted) return\n const rippleContainer = event.currentTarget.getBoundingClientRect()\n const size = rippleContainer.width > rippleContainer.height ? rippleContainer.width : rippleContainer.height\n const x = event.pageX - rippleContainer.x - size / 2\n const y = event.pageY - rippleContainer.y - size / 2\n const newRipple = { x, y, size }\n setRippleArray([])\n setTimeout(() => {\n setRippleArray([newRipple])\n }, 0)\n }, [])\n\n if (props.isDisabled || props.isHidden) return null\n return (\n <RippleContainer id={DEFAULT_RIPPLE_ID} $duration={duration} $color={color} onMouseUp={onMouseUp}>\n {rippleArray.length > 0 &&\n rippleArray.map((ripple, index) => {\n return (\n <RippleSpan\n $duration={duration}\n $color={color}\n key={`span-${index}`}\n style={{\n top: ripple.y,\n left: ripple.x,\n width: ripple.size,\n height: ripple.size\n }}\n />\n )\n })}\n </RippleContainer>\n )\n}\n"],"names":["jsx"],"mappings":";;;AAWA,MAAM,4BAA4B,CAAC,aAAqB,UAAkB,oBAAgC;AACxG,kBAAgB,MAAM;AAEpB,QAAI,SAAgC;AACpC,QAAI,cAAc,GAAG;AACnB,UAAI,QAAQ;AACV,qBAAa,MAAM;AAAA,MAAA;AAGrB,eAAS,WAAW,MAAM;AACxB,wBAAA;AACA,YAAI,QAAQ;AACV,uBAAa,MAAM;AAAA,QAAA;AAAA,MACrB,GACC,WAAW,CAAC;AAAA,IAAA;AAGjB,WAAO,MAAM;AACX,UAAI,QAAQ;AACV,qBAAa,MAAM;AAAA,MAAA;AAAA,IACrB;AAAA,EACF,GACC,CAAC,aAAa,UAAU,eAAe,CAAC;AAC7C;AAEO,MAAM,SAA0B,CAAA,UAAS;AAC9C,QAAM,QAAQ,QAAQ,MAAM,MAAM,SAAS,SAAS,CAAC,MAAM,KAAK,CAAC;AACjE,QAAM,WAAW,QAAQ,MAAM,MAAM,YAAY,yBAAyB,CAAC,MAAM,QAAQ,CAAC;AAE1F,QAAM,CAAC,aAAa,cAAc,IAAI,SAA+B,CAAA,CAAE;AAEvE,4BAA0B,YAAY,QAAQ,YAAY,yBAAyB,MAAM;AACvF,mBAAe,CAAA,CAAE;AAAA,EAAA,CAClB;AAED,QAAM,YAAY,YAAY,CAAC,UAA4C;AACzE,QAAI,CAAC,MAAM,UAAW;AACtB,UAAM,kBAAkB,MAAM,cAAc,sBAAA;AAC5C,UAAM,OAAO,gBAAgB,QAAQ,gBAAgB,SAAS,gBAAgB,QAAQ,gBAAgB;AACtG,UAAM,IAAI,MAAM,QAAQ,gBAAgB,IAAI,OAAO;AACnD,UAAM,IAAI,MAAM,QAAQ,gBAAgB,IAAI,OAAO;AACnD,UAAM,YAAY,EAAE,GAAG,GAAG,KAAA;AAC1B,mBAAe,CAAA,CAAE;AACjB,eAAW,MAAM;AACf,qBAAe,CAAC,SAAS,CAAC;AAAA,IAAA,GACzB,CAAC;AAAA,EAAA,GACH,EAAE;AAEL,MAAI,MAAM,cAAc,MAAM,SAAU,QAAO;AAC/C,+CACG,iBAAA,EAAgB,IAAI,mBAAmB,WAAW,UAAU,QAAQ,OAAO,WACzE,UAAA,YAAY,SAAS,KACpB,YAAY,IAAI,CAAC,QAAQ,UAAU;AACjC,WACEA,kCAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAW;AAAA,QACX,QAAQ;AAAA,QAER,OAAO;AAAA,UACL,KAAK,OAAO;AAAA,UACZ,MAAM,OAAO;AAAA,UACb,OAAO,OAAO;AAAA,UACd,QAAQ,OAAO;AAAA,QAAA;AAAA,MACjB;AAAA,MANK,QAAQ,KAAK;AAAA,IAAA;AAAA,EAOpB,CAEH,GACL;AAEJ;"}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./jsx-runtime-BcGej2Kr.cjs"),t=require("react"),n=require("./consts.cjs.js"),s=require("./use-D0mgQexh.cjs"),r=require("./component-CMkU2lIg.cjs");exports.ImageButton=l=>{const o=t.useRef(null),u=t.useCallback(()=>{var e;null==(e=o.current)||e.click()},[]),{handleAddFiles:i}=s.useImageCrop({onSave:l.onSave,locale:l.locale,dialog:l.dialog,imageSettings:l.imageSettings,refInput:o});return e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx(r.Button,{...l.button,onClick:e=>{var t,n;null==(n=(t=l.button).onClick)||n.call(t,e),u()},children:l.button.children||l.locale.buttonAdd}),e.jsxRuntimeExports.jsx("input",{ref:o,type:"file",accept:n.ImageSupportedFormatsForInput,multiple:!0,style:{display:"none"},onChange:e=>{e.target.files&&i(e.target.files)}})]})};
2
- //# sourceMappingURL=component-DfqhPd0e.cjs.map
1
+ "use strict";const e=require("./jsx-runtime-BcGej2Kr.cjs"),t=require("react"),n=require("./consts.cjs.js"),s=require("./use-D7IsSb34.cjs"),r=require("./component-u_42PteJ.cjs");exports.ImageButton=l=>{const o=t.useRef(null),u=t.useCallback(()=>{var e;null==(e=o.current)||e.click()},[]),{handleAddFiles:i}=s.useImageCrop({onSave:l.onSave,locale:l.locale,dialog:l.dialog,imageSettings:l.imageSettings,refInput:o});return e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx(r.Button,{...l.button,onClick:e=>{var t,n;null==(n=(t=l.button).onClick)||n.call(t,e),u()},children:l.button.children||l.locale.buttonAdd}),e.jsxRuntimeExports.jsx("input",{ref:o,type:"file",accept:n.ImageSupportedFormatsForInput,multiple:!0,style:{display:"none"},onChange:e=>{e.target.files&&i(e.target.files)}})]})};
2
+ //# sourceMappingURL=component-DHq4T6Ku.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-DfqhPd0e.cjs","sources":["../src/components/image-button/component.tsx"],"sourcesContent":["import { FC, useCallback, useRef } from 'react'\n\nimport { ImageSupportedFormatsForInput } from '@local/consts'\nimport { useImageCrop } from '@local/hooks/use-image-crop'\n\nimport { ImageButtonProps } from '.'\nimport { Button } from '../button'\n\nexport const ImageButton: FC<ImageButtonProps> = props => {\n const refInput = useRef<HTMLInputElement | null>(null)\n\n const handleOpenFileDialog = useCallback(() => {\n refInput.current?.click()\n }, [])\n\n const { handleAddFiles } = useImageCrop({\n onSave: props.onSave,\n locale: props.locale,\n dialog: props.dialog,\n imageSettings: props.imageSettings,\n refInput: refInput\n })\n\n return (\n <>\n <Button\n {...props.button}\n onClick={e => {\n props.button.onClick?.(e)\n handleOpenFileDialog()\n }}\n >\n {props.button.children || props.locale.buttonAdd}\n </Button>\n <input\n ref={refInput}\n type=\"file\"\n accept={ImageSupportedFormatsForInput}\n multiple\n style={{ display: 'none' }}\n onChange={e => {\n if (e.target.files) handleAddFiles(e.target.files)\n }}\n />\n </>\n )\n}\n"],"names":["props","refInput","useRef","handleOpenFileDialog","useCallback","_a","current","click","handleAddFiles","useImageCrop","onSave","locale","dialog","imageSettings","jsxs","Fragment","children","jsx","Button","button","onClick","e","_b","call","buttonAdd","ref","type","accept","ImageSupportedFormatsForInput","multiple","style","display","onChange","target","files"],"mappings":"qMAQiDA,IAC/C,MAAMC,EAAWC,EAAAA,OAAgC,MAE3CC,EAAuBC,EAAAA,YAAY,WACvC,OAAAC,EAAAJ,EAASK,UAATD,EAAkBE,SACjB,KAEGC,eAAEA,GAAmBC,eAAa,CACtCC,OAAQV,EAAMU,OACdC,OAAQX,EAAMW,OACdC,OAAQZ,EAAMY,OACdC,cAAeb,EAAMa,cACrBZ,aAGF,SACEa,kBAAAA,KAAAC,6BAAA,CACEC,SAAA,GAAAC,kBAAAA,IAACC,EAAAA,OAAA,IACKlB,EAAMmB,OACVC,QAASC,YACP,OAAAC,GAAAjB,EAAAL,EAAMmB,QAAOC,UAAbE,EAAAC,KAAAlB,EAAuBgB,GACvBlB,KAGDa,SAAAhB,EAAMmB,OAAOH,UAAYhB,EAAMW,OAAOa,cAEzCP,kBAAAA,IAAC,QAAA,CACCQ,IAAKxB,EACLyB,KAAK,OACLC,OAAQC,EAAAA,8BACRC,UAAQ,EACRC,MAAO,CAAEC,QAAS,QAClBC,SAAUX,IACJA,EAAEY,OAAOC,OAAO1B,EAAea,EAAEY,OAAOC"}
1
+ {"version":3,"file":"component-DHq4T6Ku.cjs","sources":["../src/components/image-button/component.tsx"],"sourcesContent":["import { FC, useCallback, useRef } from 'react'\n\nimport { ImageSupportedFormatsForInput } from '@local/consts'\nimport { useImageCrop } from '@local/hooks/use-image-crop'\n\nimport { ImageButtonProps } from '.'\nimport { Button } from '../button'\n\nexport const ImageButton: FC<ImageButtonProps> = props => {\n const refInput = useRef<HTMLInputElement | null>(null)\n\n const handleOpenFileDialog = useCallback(() => {\n refInput.current?.click()\n }, [])\n\n const { handleAddFiles } = useImageCrop({\n onSave: props.onSave,\n locale: props.locale,\n dialog: props.dialog,\n imageSettings: props.imageSettings,\n refInput: refInput\n })\n\n return (\n <>\n <Button\n {...props.button}\n onClick={e => {\n props.button.onClick?.(e)\n handleOpenFileDialog()\n }}\n >\n {props.button.children || props.locale.buttonAdd}\n </Button>\n <input\n ref={refInput}\n type=\"file\"\n accept={ImageSupportedFormatsForInput}\n multiple\n style={{ display: 'none' }}\n onChange={e => {\n if (e.target.files) handleAddFiles(e.target.files)\n }}\n />\n </>\n )\n}\n"],"names":["props","refInput","useRef","handleOpenFileDialog","useCallback","_a","current","click","handleAddFiles","useImageCrop","onSave","locale","dialog","imageSettings","jsxs","Fragment","children","jsx","Button","button","onClick","e","_b","call","buttonAdd","ref","type","accept","ImageSupportedFormatsForInput","multiple","style","display","onChange","target","files"],"mappings":"qMAQiDA,IAC/C,MAAMC,EAAWC,EAAAA,OAAgC,MAE3CC,EAAuBC,EAAAA,YAAY,WACvC,OAAAC,EAAAJ,EAASK,UAATD,EAAkBE,SACjB,KAEGC,eAAEA,GAAmBC,eAAa,CACtCC,OAAQV,EAAMU,OACdC,OAAQX,EAAMW,OACdC,OAAQZ,EAAMY,OACdC,cAAeb,EAAMa,cACrBZ,aAGF,SACEa,kBAAAA,KAAAC,6BAAA,CACEC,SAAA,GAAAC,kBAAAA,IAACC,EAAAA,OAAA,IACKlB,EAAMmB,OACVC,QAASC,YACP,OAAAC,GAAAjB,EAAAL,EAAMmB,QAAOC,UAAbE,EAAAC,KAAAlB,EAAuBgB,GACvBlB,KAGDa,SAAAhB,EAAMmB,OAAOH,UAAYhB,EAAMW,OAAOa,cAEzCP,kBAAAA,IAAC,QAAA,CACCQ,IAAKxB,EACLyB,KAAK,OACLC,OAAQC,EAAAA,8BACRC,UAAQ,EACRC,MAAO,CAAEC,QAAS,QAClBC,SAAUX,IACJA,EAAEY,OAAOC,OAAO1B,EAAea,EAAEY,OAAOC"}
@@ -1,8 +1,8 @@
1
1
  import { j as jsxRuntimeExports } from "./jsx-runtime-BrDlu8eK.js";
2
2
  import { useRef, useCallback } from "react";
3
3
  import { ImageSupportedFormatsForInput } from "./consts.es.js";
4
- import { u as useImageCrop } from "./use-BsyZ6-h6.js";
5
- import { c as Button } from "./component-CmotrA_9.js";
4
+ import { u as useImageCrop } from "./use-DTZ8c8_g.js";
5
+ import { c as Button } from "./component-C4ULY0c6.js";
6
6
  const ImageButton = (props) => {
7
7
  const refInput = useRef(null);
8
8
  const handleOpenFileDialog = useCallback(() => {
@@ -47,4 +47,4 @@ const ImageButton = (props) => {
47
47
  export {
48
48
  ImageButton as I
49
49
  };
50
- //# sourceMappingURL=component-BFhXrZ3a.js.map
50
+ //# sourceMappingURL=component-DfxlJBGv.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-BFhXrZ3a.js","sources":["../src/components/image-button/component.tsx"],"sourcesContent":["import { FC, useCallback, useRef } from 'react'\n\nimport { ImageSupportedFormatsForInput } from '@local/consts'\nimport { useImageCrop } from '@local/hooks/use-image-crop'\n\nimport { ImageButtonProps } from '.'\nimport { Button } from '../button'\n\nexport const ImageButton: FC<ImageButtonProps> = props => {\n const refInput = useRef<HTMLInputElement | null>(null)\n\n const handleOpenFileDialog = useCallback(() => {\n refInput.current?.click()\n }, [])\n\n const { handleAddFiles } = useImageCrop({\n onSave: props.onSave,\n locale: props.locale,\n dialog: props.dialog,\n imageSettings: props.imageSettings,\n refInput: refInput\n })\n\n return (\n <>\n <Button\n {...props.button}\n onClick={e => {\n props.button.onClick?.(e)\n handleOpenFileDialog()\n }}\n >\n {props.button.children || props.locale.buttonAdd}\n </Button>\n <input\n ref={refInput}\n type=\"file\"\n accept={ImageSupportedFormatsForInput}\n multiple\n style={{ display: 'none' }}\n onChange={e => {\n if (e.target.files) handleAddFiles(e.target.files)\n }}\n />\n </>\n )\n}\n"],"names":["jsxs","Fragment","jsx"],"mappings":";;;;;AAQO,MAAM,cAAoC,CAAA,UAAS;AACxD,QAAM,WAAW,OAAgC,IAAI;AAErD,QAAM,uBAAuB,YAAY,MAAM;;AAC7C,mBAAS,YAAT,mBAAkB;AAAA,EAAM,GACvB,EAAE;AAEL,QAAM,EAAE,eAAA,IAAmB,aAAa;AAAA,IACtC,QAAQ,MAAM;AAAA,IACd,QAAQ,MAAM;AAAA,IACd,QAAQ,MAAM;AAAA,IACd,eAAe,MAAM;AAAA,IACrB;AAAA,EAAA,CACD;AAED,SACEA,kCAAAA,KAAAC,4BAAA,EACE,UAAA;AAAA,IAAAC,kCAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACE,GAAG,MAAM;AAAA,QACV,SAAS,CAAA,MAAK;;AACZ,4BAAM,QAAO,YAAb,4BAAuB;AACvB,+BAAA;AAAA,QAAqB;AAAA,QAGtB,UAAA,MAAM,OAAO,YAAY,MAAM,OAAO;AAAA,MAAA;AAAA,IAAA;AAAA,IAEzCA,kCAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC,KAAK;AAAA,QACL,MAAK;AAAA,QACL,QAAQ;AAAA,QACR,UAAQ;AAAA,QACR,OAAO,EAAE,SAAS,OAAA;AAAA,QAClB,UAAU,CAAA,MAAK;AACb,cAAI,EAAE,OAAO,MAAO,gBAAe,EAAE,OAAO,KAAK;AAAA,QAAA;AAAA,MACnD;AAAA,IAAA;AAAA,EACF,GACF;AAEJ;"}
1
+ {"version":3,"file":"component-DfxlJBGv.js","sources":["../src/components/image-button/component.tsx"],"sourcesContent":["import { FC, useCallback, useRef } from 'react'\n\nimport { ImageSupportedFormatsForInput } from '@local/consts'\nimport { useImageCrop } from '@local/hooks/use-image-crop'\n\nimport { ImageButtonProps } from '.'\nimport { Button } from '../button'\n\nexport const ImageButton: FC<ImageButtonProps> = props => {\n const refInput = useRef<HTMLInputElement | null>(null)\n\n const handleOpenFileDialog = useCallback(() => {\n refInput.current?.click()\n }, [])\n\n const { handleAddFiles } = useImageCrop({\n onSave: props.onSave,\n locale: props.locale,\n dialog: props.dialog,\n imageSettings: props.imageSettings,\n refInput: refInput\n })\n\n return (\n <>\n <Button\n {...props.button}\n onClick={e => {\n props.button.onClick?.(e)\n handleOpenFileDialog()\n }}\n >\n {props.button.children || props.locale.buttonAdd}\n </Button>\n <input\n ref={refInput}\n type=\"file\"\n accept={ImageSupportedFormatsForInput}\n multiple\n style={{ display: 'none' }}\n onChange={e => {\n if (e.target.files) handleAddFiles(e.target.files)\n }}\n />\n </>\n )\n}\n"],"names":["jsxs","Fragment","jsx"],"mappings":";;;;;AAQO,MAAM,cAAoC,CAAA,UAAS;AACxD,QAAM,WAAW,OAAgC,IAAI;AAErD,QAAM,uBAAuB,YAAY,MAAM;;AAC7C,mBAAS,YAAT,mBAAkB;AAAA,EAAM,GACvB,EAAE;AAEL,QAAM,EAAE,eAAA,IAAmB,aAAa;AAAA,IACtC,QAAQ,MAAM;AAAA,IACd,QAAQ,MAAM;AAAA,IACd,QAAQ,MAAM;AAAA,IACd,eAAe,MAAM;AAAA,IACrB;AAAA,EAAA,CACD;AAED,SACEA,kCAAAA,KAAAC,4BAAA,EACE,UAAA;AAAA,IAAAC,kCAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACE,GAAG,MAAM;AAAA,QACV,SAAS,CAAA,MAAK;;AACZ,4BAAM,QAAO,YAAb,4BAAuB;AACvB,+BAAA;AAAA,QAAqB;AAAA,QAGtB,UAAA,MAAM,OAAO,YAAY,MAAM,OAAO;AAAA,MAAA;AAAA,IAAA;AAAA,IAEzCA,kCAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC,KAAK;AAAA,QACL,MAAK;AAAA,QACL,QAAQ;AAAA,QACR,UAAQ;AAAA,QACR,OAAO,EAAE,SAAS,OAAA;AAAA,QAClB,UAAU,CAAA,MAAK;AACb,cAAI,EAAE,OAAO,MAAO,gBAAe,EAAE,OAAO,KAAK;AAAA,QAAA;AAAA,MACnD;AAAA,IAAA;AAAA,EACF,GACF;AAEJ;"}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./jsx-runtime-BcGej2Kr.cjs"),i=require("./style-BVejuajH.cjs"),n=require("react"),r=require("./component.styles-DETkOSnM.cjs");exports.Input=t=>{const l=n.useCallback(e=>{var i,n;if("standard"===t.variety){const n="string"==typeof e?e:e.value,r=t.isNoSpaces?n.replace(/\s+/g,""):n;null==(i=t.onChange)||i.call(t,r)}"pattern"!==t.variety&&"numeric"!==t.variety||"string"!=typeof e&&(null==(n=t.onChange)||n.call(t,e))},[t]);return e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsxs(r.StyledInputWrapper,{$isInputEffect:t.isInputEffect,className:t.className,$isDisabled:t.isDisabled,$sx:t.sx,$size:t.size,$isWidthAsHeight:t.isWidthAsHeight,children:[t.prefixChildren&&e.jsxRuntimeExports.jsx(r.InputPrefixChildren,{$left:t.prefixChildren.left,$right:t.prefixChildren.right,$isDisabled:t.isDisabled,$width:t.prefixChildren.width,children:t.prefixChildren.children}),"pattern"===t.variety?e.jsxRuntimeExports.jsx(r.StyledInputPattern,{$isNiceNumber:t.isNiceNumber,$isInputEffect:t.isInputEffect,$error:null==t?void 0:t.error,$isLoading:t.isLoading,$postfixChildren:null==t?void 0:t.postfixChildren,$prefixChildren:null==t?void 0:t.prefixChildren,$genre:t.genre,$size:t.size,$isBold:t.isBold,$isDisabled:t.isDisabled,$isCenter:t.isCenter,disabled:t.isDisabled,readOnly:t.isReadOnly,required:t.isRequired,defaultValue:null===t.defaultValue?"":t.defaultValue,value:null===t.value?"":t.value,placeholder:t.placeholder,onValueChange:e=>l(e),onBlur:t.onBlur,onFocus:t.onFocus,onPaste:t.onPaste,name:t.name,id:t.id,onKeyDown:t.onKeyDown,inputMode:t.inputMode,maxLength:t.maxLength,minLength:t.minLength,tabIndex:t.tabIndex,...t.propsPattern}):"numeric"===t.variety?e.jsxRuntimeExports.jsx(r.StyledInputNumeric,{$isNiceNumber:t.isNiceNumber,$isInputEffect:t.isInputEffect,$error:null==t?void 0:t.error,$isLoading:t.isLoading,$postfixChildren:null==t?void 0:t.postfixChildren,$prefixChildren:null==t?void 0:t.prefixChildren,$genre:t.genre,$size:t.size,$isBold:t.isBold,$isDisabled:t.isDisabled,$isCenter:t.isCenter,disabled:t.isDisabled,readOnly:t.isReadOnly,required:t.isRequired,defaultValue:null===t.defaultValue?"":t.defaultValue,value:null===t.value?"":t.value,placeholder:t.placeholder,onValueChange:e=>l(e),onBlur:t.onBlur,onFocus:t.onFocus,onPaste:t.onPaste,name:t.name,id:t.id,onKeyDown:t.onKeyDown,inputMode:t.inputMode,maxLength:t.maxLength,minLength:t.minLength,tabIndex:t.tabIndex,...t.propsNumeric}):e.jsxRuntimeExports.jsx(r.StyledInput,{$isNiceNumber:t.isNiceNumber,inputMode:t.inputMode,maxLength:t.maxLength,minLength:t.minLength,ref:t.ref,$error:t.error,$isInputEffect:t.isInputEffect,$isLoading:t.isLoading,$postfixChildren:null==t?void 0:t.postfixChildren,$prefixChildren:null==t?void 0:t.prefixChildren,$genre:t.genre,$size:t.size,$isBold:t.isBold,$isDisabled:t.isDisabled,$isCenter:t.isCenter,disabled:t.isDisabled,readOnly:t.isReadOnly,required:t.isRequired,defaultValue:null===t.defaultValue?"":t.defaultValue,value:null===t.value?"":t.value,placeholder:t.placeholder,type:t.type,autoComplete:t.autoComplete,onInput:e=>{const i=e.target;l(i.value)},onBlur:t.onBlur,onFocus:t.onFocus,onPaste:t.onPaste,name:t.name,id:t.id,tabIndex:t.tabIndex,onKeyDown:t.onKeyDown,min:t.min,max:t.max,step:t.step}),t.postfixChildren&&e.jsxRuntimeExports.jsx(r.InputPostfixChildren,{$left:t.postfixChildren.left,$right:t.postfixChildren.right,$isDisabled:t.isDisabled,$width:t.postfixChildren.width,children:t.postfixChildren.children})]}),(null==t?void 0:t.error)?e.jsxRuntimeExports.jsx(i.ErrorMessage,{...t.error,size:(null==t?void 0:t.error.size)??t.size}):null]})},exports.formatPhoneNumber=function(e,i){function n(e){return/\d/.test(e)}let r="",t="",l=0;if(0===e.length)return{format:"",placeholder:""};for(let s=0;s<i.length;s++){const a=i.charAt(s);a===e.charAt(l)?(r+=a,t+=n(a)?"#":a,l++):n(a)?(r+="#",t+="-"):(r+=a,t+=a)}for(;l<e.length;)r+=e.charAt(l),t+=e.charAt(l),l++;return{format:r,placeholder:t}};
2
- //# sourceMappingURL=component-DUUxsxY6.cjs.map
1
+ "use strict";const e=require("./jsx-runtime-BcGej2Kr.cjs"),i=require("./style-B5u4pW5G.cjs"),n=require("react"),r=require("./component.styles-Crx4pACx.cjs");exports.Input=t=>{const l=n.useCallback(e=>{var i,n;if("standard"===t.variety){const n="string"==typeof e?e:e.value,r=t.isNoSpaces?n.replace(/\s+/g,""):n;null==(i=t.onChange)||i.call(t,r)}"pattern"!==t.variety&&"numeric"!==t.variety||"string"!=typeof e&&(null==(n=t.onChange)||n.call(t,e))},[t]);return e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsxs(r.StyledInputWrapper,{$isInputEffect:t.isInputEffect,className:t.className,$isDisabled:t.isDisabled,$sx:t.sx,$size:t.size,$isWidthAsHeight:t.isWidthAsHeight,children:[t.prefixChildren&&e.jsxRuntimeExports.jsx(r.InputPrefixChildren,{$left:t.prefixChildren.left,$right:t.prefixChildren.right,$isDisabled:t.isDisabled,$width:t.prefixChildren.width,children:t.prefixChildren.children}),"pattern"===t.variety?e.jsxRuntimeExports.jsx(r.StyledInputPattern,{$isNiceNumber:t.isNiceNumber,$isInputEffect:t.isInputEffect,$error:null==t?void 0:t.error,$isLoading:t.isLoading,$postfixChildren:null==t?void 0:t.postfixChildren,$prefixChildren:null==t?void 0:t.prefixChildren,$genre:t.genre,$size:t.size,$isBold:t.isBold,$isDisabled:t.isDisabled,$isCenter:t.isCenter,disabled:t.isDisabled,readOnly:t.isReadOnly,required:t.isRequired,defaultValue:null===t.defaultValue?"":t.defaultValue,value:null===t.value?"":t.value,placeholder:t.placeholder,onValueChange:e=>l(e),onBlur:t.onBlur,onFocus:t.onFocus,onPaste:t.onPaste,name:t.name,id:t.id,onKeyDown:t.onKeyDown,inputMode:t.inputMode,maxLength:t.maxLength,minLength:t.minLength,tabIndex:t.tabIndex,...t.propsPattern}):"numeric"===t.variety?e.jsxRuntimeExports.jsx(r.StyledInputNumeric,{$isNiceNumber:t.isNiceNumber,$isInputEffect:t.isInputEffect,$error:null==t?void 0:t.error,$isLoading:t.isLoading,$postfixChildren:null==t?void 0:t.postfixChildren,$prefixChildren:null==t?void 0:t.prefixChildren,$genre:t.genre,$size:t.size,$isBold:t.isBold,$isDisabled:t.isDisabled,$isCenter:t.isCenter,disabled:t.isDisabled,readOnly:t.isReadOnly,required:t.isRequired,defaultValue:null===t.defaultValue?"":t.defaultValue,value:null===t.value?"":t.value,placeholder:t.placeholder,onValueChange:e=>l(e),onBlur:t.onBlur,onFocus:t.onFocus,onPaste:t.onPaste,name:t.name,id:t.id,onKeyDown:t.onKeyDown,inputMode:t.inputMode,maxLength:t.maxLength,minLength:t.minLength,tabIndex:t.tabIndex,...t.propsNumeric}):e.jsxRuntimeExports.jsx(r.StyledInput,{$isNiceNumber:t.isNiceNumber,inputMode:t.inputMode,maxLength:t.maxLength,minLength:t.minLength,ref:t.ref,$error:t.error,$isInputEffect:t.isInputEffect,$isLoading:t.isLoading,$postfixChildren:null==t?void 0:t.postfixChildren,$prefixChildren:null==t?void 0:t.prefixChildren,$genre:t.genre,$size:t.size,$isBold:t.isBold,$isDisabled:t.isDisabled,$isCenter:t.isCenter,disabled:t.isDisabled,readOnly:t.isReadOnly,required:t.isRequired,defaultValue:null===t.defaultValue?"":t.defaultValue,value:null===t.value?"":t.value,placeholder:t.placeholder,type:t.type,autoComplete:t.autoComplete,onInput:e=>{const i=e.target;l(i.value)},onBlur:t.onBlur,onFocus:t.onFocus,onPaste:t.onPaste,name:t.name,id:t.id,tabIndex:t.tabIndex,onKeyDown:t.onKeyDown,min:t.min,max:t.max,step:t.step}),t.postfixChildren&&e.jsxRuntimeExports.jsx(r.InputPostfixChildren,{$left:t.postfixChildren.left,$right:t.postfixChildren.right,$isDisabled:t.isDisabled,$width:t.postfixChildren.width,children:t.postfixChildren.children})]}),(null==t?void 0:t.error)?e.jsxRuntimeExports.jsx(i.ErrorMessage,{...t.error,size:(null==t?void 0:t.error.size)??t.size}):null]})},exports.formatPhoneNumber=function(e,i){function n(e){return/\d/.test(e)}let r="",t="",l=0;if(0===e.length)return{format:"",placeholder:""};for(let s=0;s<i.length;s++){const a=i.charAt(s);a===e.charAt(l)?(r+=a,t+=n(a)?"#":a,l++):n(a)?(r+="#",t+="-"):(r+=a,t+=a)}for(;l<e.length;)r+=e.charAt(l),t+=e.charAt(l),l++;return{format:r,placeholder:t}};
2
+ //# sourceMappingURL=component-Dn-VRY7-.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-DUUxsxY6.cjs","sources":["../src/components/input/component.tsx"],"sourcesContent":["import { ErrorMessage } from '@local/styles/error';\n\nimport { useCallback } from 'react';\nimport { NumberFormatValues } from 'react-number-format';\n\nimport {\n InputPostfixChildren,\n InputPrefixChildren,\n InputProps,\n StyledInput,\n StyledInputNumeric,\n StyledInputPattern,\n StyledInputWrapper,\n} from '.';\n\nexport const Input = (props: InputProps) => {\n const handleOnChange = useCallback(\n (input: string | NumberFormatValues) => {\n if (props.variety === 'standard') {\n const value = typeof input === 'string' ? input : input.value;\n const cleaned = props.isNoSpaces ? value.replace(/\\s+/g, '') : value;\n props.onChange?.(cleaned);\n }\n\n if (props.variety === 'pattern' || props.variety === 'numeric') {\n if (typeof input !== 'string') {\n props.onChange?.(input);\n }\n }\n },\n [props],\n );\n\n return (\n <>\n <StyledInputWrapper\n $isInputEffect={props.isInputEffect}\n className={props.className}\n $isDisabled={props.isDisabled}\n $sx={props.sx}\n $size={props.size}\n $isWidthAsHeight={props.isWidthAsHeight}\n >\n {props.prefixChildren && (\n <InputPrefixChildren\n $left={props.prefixChildren.left}\n $right={props.prefixChildren.right}\n $isDisabled={props.isDisabled}\n $width={props.prefixChildren.width}\n >\n {props.prefixChildren.children}\n </InputPrefixChildren>\n )}\n {props.variety === 'pattern' ? (\n <StyledInputPattern\n $isNiceNumber={props.isNiceNumber}\n $isInputEffect={props.isInputEffect}\n $error={props?.error}\n $isLoading={props.isLoading}\n $postfixChildren={props?.postfixChildren}\n $prefixChildren={props?.prefixChildren}\n $genre={props.genre}\n $size={props.size}\n $isBold={props.isBold}\n $isDisabled={props.isDisabled}\n $isCenter={props.isCenter}\n disabled={props.isDisabled}\n readOnly={props.isReadOnly}\n required={props.isRequired}\n defaultValue={props.defaultValue === null ? '' : props.defaultValue}\n value={props.value === null ? '' : props.value}\n placeholder={props.placeholder}\n onValueChange={(props) => handleOnChange(props)}\n onBlur={props.onBlur}\n onFocus={props.onFocus}\n onPaste={props.onPaste}\n name={props.name}\n id={props.id}\n onKeyDown={props.onKeyDown}\n inputMode={props.inputMode}\n maxLength={props.maxLength}\n minLength={props.minLength}\n tabIndex={props.tabIndex}\n {...props.propsPattern}\n />\n ) : props.variety === 'numeric' ? (\n <StyledInputNumeric\n $isNiceNumber={props.isNiceNumber}\n $isInputEffect={props.isInputEffect}\n $error={props?.error}\n $isLoading={props.isLoading}\n $postfixChildren={props?.postfixChildren}\n $prefixChildren={props?.prefixChildren}\n $genre={props.genre}\n $size={props.size}\n $isBold={props.isBold}\n $isDisabled={props.isDisabled}\n $isCenter={props.isCenter}\n disabled={props.isDisabled}\n readOnly={props.isReadOnly}\n required={props.isRequired}\n defaultValue={props.defaultValue === null ? '' : props.defaultValue}\n value={props.value === null ? '' : props.value}\n placeholder={props.placeholder}\n onValueChange={(props) => handleOnChange(props)}\n onBlur={props.onBlur}\n onFocus={props.onFocus}\n onPaste={props.onPaste}\n name={props.name}\n id={props.id}\n onKeyDown={props.onKeyDown}\n inputMode={props.inputMode}\n maxLength={props.maxLength}\n minLength={props.minLength}\n tabIndex={props.tabIndex}\n {...props.propsNumeric}\n />\n ) : (\n <StyledInput\n $isNiceNumber={props.isNiceNumber}\n inputMode={props.inputMode}\n maxLength={props.maxLength}\n minLength={props.minLength}\n ref={props.ref}\n $error={props.error}\n $isInputEffect={props.isInputEffect}\n $isLoading={props.isLoading}\n $postfixChildren={props?.postfixChildren}\n $prefixChildren={props?.prefixChildren}\n $genre={props.genre}\n $size={props.size}\n $isBold={props.isBold}\n $isDisabled={props.isDisabled}\n $isCenter={props.isCenter}\n disabled={props.isDisabled}\n readOnly={props.isReadOnly}\n required={props.isRequired}\n defaultValue={props.defaultValue === null ? '' : props.defaultValue}\n value={props.value === null ? '' : props.value}\n placeholder={props.placeholder}\n type={props.type}\n autoComplete={props.autoComplete}\n onInput={(event) => {\n const input = event.target as HTMLInputElement;\n handleOnChange(input.value);\n }}\n onBlur={props.onBlur}\n onFocus={props.onFocus}\n onPaste={props.onPaste}\n name={props.name}\n id={props.id}\n tabIndex={props.tabIndex}\n onKeyDown={props.onKeyDown}\n min={props.min}\n max={props.max}\n step={props.step}\n />\n )}\n\n {props.postfixChildren && (\n <InputPostfixChildren\n $left={props.postfixChildren.left}\n $right={props.postfixChildren.right}\n $isDisabled={props.isDisabled}\n $width={props.postfixChildren.width}\n >\n {props.postfixChildren.children}\n </InputPostfixChildren>\n )}\n </StyledInputWrapper>\n {props?.error ? <ErrorMessage {...props.error} size={props?.error.size ?? props.size} /> : null}\n </>\n );\n};\n\nexport function formatPhoneNumber(dialCode: string, international: string) {\n function isDigit(char: string): boolean {\n return /\\d/.test(char);\n }\n\n let formattedNumber = '';\n let placeholderNumber = '';\n let dialCodeIndex = 0;\n\n if (dialCode.length === 0) {\n return { format: '', placeholder: '' };\n }\n\n for (let i = 0; i < international.length; i++) {\n const char = international.charAt(i);\n\n if (char === dialCode.charAt(dialCodeIndex)) {\n formattedNumber += char;\n placeholderNumber += isDigit(char) ? '#' : char;\n dialCodeIndex++;\n } else {\n if (isDigit(char)) {\n formattedNumber += '#';\n placeholderNumber += '-';\n } else {\n formattedNumber += char;\n placeholderNumber += char;\n }\n }\n }\n\n while (dialCodeIndex < dialCode.length) {\n formattedNumber += dialCode.charAt(dialCodeIndex);\n placeholderNumber += dialCode.charAt(dialCodeIndex);\n dialCodeIndex++;\n }\n\n return {\n format: formattedNumber,\n placeholder: placeholderNumber,\n };\n}\n"],"names":["props","handleOnChange","useCallback","input","variety","value","cleaned","isNoSpaces","replace","_a","onChange","call","_b","jsxs","Fragment","children","StyledInputWrapper","$isInputEffect","isInputEffect","className","$isDisabled","isDisabled","$sx","sx","$size","size","$isWidthAsHeight","isWidthAsHeight","prefixChildren","jsx","InputPrefixChildren","$left","left","$right","right","$width","width","StyledInputPattern","$isNiceNumber","isNiceNumber","$error","error","$isLoading","isLoading","$postfixChildren","postfixChildren","$prefixChildren","$genre","genre","$isBold","isBold","$isCenter","isCenter","disabled","readOnly","isReadOnly","required","isRequired","defaultValue","placeholder","onValueChange","onBlur","onFocus","onPaste","name","id","onKeyDown","inputMode","maxLength","minLength","tabIndex","propsPattern","StyledInputNumeric","propsNumeric","StyledInput","ref","type","autoComplete","onInput","event","target","min","max","step","InputPostfixChildren","ErrorMessage","dialCode","international","isDigit","char","test","formattedNumber","placeholderNumber","dialCodeIndex","length","format","i","charAt"],"mappings":"2KAesBA,IACpB,MAAMC,EAAiBC,EAAAA,YACpBC,YACC,GAAsB,aAAlBH,EAAMI,QAAwB,CAChC,MAAMC,EAAyB,iBAAVF,EAAqBA,EAAQA,EAAME,MAClDC,EAAUN,EAAMO,WAAaF,EAAMG,QAAQ,OAAQ,IAAMH,EAC/D,OAAAI,EAAAT,EAAMU,WAAND,EAAAE,KAAAX,EAAiBM,EAAO,CAGJ,YAAlBN,EAAMI,SAA2C,YAAlBJ,EAAMI,SAClB,iBAAVD,IACT,OAAAS,EAAAZ,EAAMU,WAANE,EAAAD,KAAAX,EAAiBG,KAIvB,CAACH,IAGH,SACEa,kBAAAA,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oB,GACpBC,EAAgB,EAEpB,GAAwB,IAApBP,EAASQ,OACX,MAAO,CAAEC,OAAQ,GAAIpC,YAAa,IAGpC,IAAA,IAASqC,EAAI,EAAGA,EAAIT,EAAcO,OAAQE,IAAK,CAC7C,MAAMP,EAAOF,EAAcU,OAAOD,GAE9BP,IAASH,EAASW,OAAOJ,IAC3BF,GAAmBF,EACnBG,GAAqBJ,EAAQC,GAAQ,IAAMA,EAC3CI,KAEIL,EAAQC,IACVE,GAAmB,IACnBC,GAAqB,MAErBD,GAAmBF,EACnBG,GAAqBH,EAEzB,CAGF,KAAOI,EAAgBP,EAASQ,QAC9BH,GAAmBL,EAASW,OAAOJ,GACnCD,GAAqBN,EAASW,OAAOJ,GACrCA,IAGF,MAAO,CACLE,OAAQJ,EACRhC,YAAaiC,EAEjB"}
1
+ {"version":3,"file":"component-Dn-VRY7-.cjs","sources":["../src/components/input/component.tsx"],"sourcesContent":["import { ErrorMessage } from '@local/styles/error';\n\nimport { useCallback } from 'react';\nimport { NumberFormatValues } from 'react-number-format';\n\nimport {\n InputPostfixChildren,\n InputPrefixChildren,\n InputProps,\n StyledInput,\n StyledInputNumeric,\n StyledInputPattern,\n StyledInputWrapper,\n} from '.';\n\nexport const Input = (props: InputProps) => {\n const handleOnChange = useCallback(\n (input: string | NumberFormatValues) => {\n if (props.variety === 'standard') {\n const value = typeof input === 'string' ? input : input.value;\n const cleaned = props.isNoSpaces ? value.replace(/\\s+/g, '') : value;\n props.onChange?.(cleaned);\n }\n\n if (props.variety === 'pattern' || props.variety === 'numeric') {\n if (typeof input !== 'string') {\n props.onChange?.(input);\n }\n }\n },\n [props],\n );\n\n return (\n <>\n <StyledInputWrapper\n $isInputEffect={props.isInputEffect}\n className={props.className}\n $isDisabled={props.isDisabled}\n $sx={props.sx}\n $size={props.size}\n $isWidthAsHeight={props.isWidthAsHeight}\n >\n {props.prefixChildren && (\n <InputPrefixChildren\n $left={props.prefixChildren.left}\n $right={props.prefixChildren.right}\n $isDisabled={props.isDisabled}\n $width={props.prefixChildren.width}\n >\n {props.prefixChildren.children}\n </InputPrefixChildren>\n )}\n {props.variety === 'pattern' ? (\n <StyledInputPattern\n $isNiceNumber={props.isNiceNumber}\n $isInputEffect={props.isInputEffect}\n $error={props?.error}\n $isLoading={props.isLoading}\n $postfixChildren={props?.postfixChildren}\n $prefixChildren={props?.prefixChildren}\n $genre={props.genre}\n $size={props.size}\n $isBold={props.isBold}\n $isDisabled={props.isDisabled}\n $isCenter={props.isCenter}\n disabled={props.isDisabled}\n readOnly={props.isReadOnly}\n required={props.isRequired}\n defaultValue={props.defaultValue === null ? '' : props.defaultValue}\n value={props.value === null ? '' : props.value}\n placeholder={props.placeholder}\n onValueChange={(props) => handleOnChange(props)}\n onBlur={props.onBlur}\n onFocus={props.onFocus}\n onPaste={props.onPaste}\n name={props.name}\n id={props.id}\n onKeyDown={props.onKeyDown}\n inputMode={props.inputMode}\n maxLength={props.maxLength}\n minLength={props.minLength}\n tabIndex={props.tabIndex}\n {...props.propsPattern}\n />\n ) : props.variety === 'numeric' ? (\n <StyledInputNumeric\n $isNiceNumber={props.isNiceNumber}\n $isInputEffect={props.isInputEffect}\n $error={props?.error}\n $isLoading={props.isLoading}\n $postfixChildren={props?.postfixChildren}\n $prefixChildren={props?.prefixChildren}\n $genre={props.genre}\n $size={props.size}\n $isBold={props.isBold}\n $isDisabled={props.isDisabled}\n $isCenter={props.isCenter}\n disabled={props.isDisabled}\n readOnly={props.isReadOnly}\n required={props.isRequired}\n defaultValue={props.defaultValue === null ? '' : props.defaultValue}\n value={props.value === null ? '' : props.value}\n placeholder={props.placeholder}\n onValueChange={(props) => handleOnChange(props)}\n onBlur={props.onBlur}\n onFocus={props.onFocus}\n onPaste={props.onPaste}\n name={props.name}\n id={props.id}\n onKeyDown={props.onKeyDown}\n inputMode={props.inputMode}\n maxLength={props.maxLength}\n minLength={props.minLength}\n tabIndex={props.tabIndex}\n {...props.propsNumeric}\n />\n ) : (\n <StyledInput\n $isNiceNumber={props.isNiceNumber}\n inputMode={props.inputMode}\n maxLength={props.maxLength}\n minLength={props.minLength}\n ref={props.ref}\n $error={props.error}\n $isInputEffect={props.isInputEffect}\n $isLoading={props.isLoading}\n $postfixChildren={props?.postfixChildren}\n $prefixChildren={props?.prefixChildren}\n $genre={props.genre}\n $size={props.size}\n $isBold={props.isBold}\n $isDisabled={props.isDisabled}\n $isCenter={props.isCenter}\n disabled={props.isDisabled}\n readOnly={props.isReadOnly}\n required={props.isRequired}\n defaultValue={props.defaultValue === null ? '' : props.defaultValue}\n value={props.value === null ? '' : props.value}\n placeholder={props.placeholder}\n type={props.type}\n autoComplete={props.autoComplete}\n onInput={(event) => {\n const input = event.target as HTMLInputElement;\n handleOnChange(input.value);\n }}\n onBlur={props.onBlur}\n onFocus={props.onFocus}\n onPaste={props.onPaste}\n name={props.name}\n id={props.id}\n tabIndex={props.tabIndex}\n onKeyDown={props.onKeyDown}\n min={props.min}\n max={props.max}\n step={props.step}\n />\n )}\n\n {props.postfixChildren && (\n <InputPostfixChildren\n $left={props.postfixChildren.left}\n $right={props.postfixChildren.right}\n $isDisabled={props.isDisabled}\n $width={props.postfixChildren.width}\n >\n {props.postfixChildren.children}\n </InputPostfixChildren>\n )}\n </StyledInputWrapper>\n {props?.error ? <ErrorMessage {...props.error} size={props?.error.size ?? props.size} /> : null}\n </>\n );\n};\n\nexport function formatPhoneNumber(dialCode: string, international: string) {\n function isDigit(char: string): boolean {\n return /\\d/.test(char);\n }\n\n let formattedNumber = '';\n let placeholderNumber = '';\n let dialCodeIndex = 0;\n\n if (dialCode.length === 0) {\n return { format: '', placeholder: '' };\n }\n\n for (let i = 0; i < international.length; i++) {\n const char = international.charAt(i);\n\n if (char === dialCode.charAt(dialCodeIndex)) {\n formattedNumber += char;\n placeholderNumber += isDigit(char) ? '#' : char;\n dialCodeIndex++;\n } else {\n if (isDigit(char)) {\n formattedNumber += '#';\n placeholderNumber += '-';\n } else {\n formattedNumber += char;\n placeholderNumber += char;\n }\n }\n }\n\n while (dialCodeIndex < dialCode.length) {\n formattedNumber += dialCode.charAt(dialCodeIndex);\n placeholderNumber += dialCode.charAt(dialCodeIndex);\n dialCodeIndex++;\n }\n\n return {\n format: formattedNumber,\n placeholder: placeholderNumber,\n };\n}\n"],"names":["props","handleOnChange","useCallback","input","variety","value","cleaned","isNoSpaces","replace","_a","onChange","call","_b","jsxs","Fragment","children","StyledInputWrapper","$isInputEffect","isInputEffect","className","$isDisabled","isDisabled","$sx","sx","$size","size","$isWidthAsHeight","isWidthAsHeight","prefixChildren","jsx","InputPrefixChildren","$left","left","$right","right","$width","width","StyledInputPattern","$isNiceNumber","isNiceNumber","$error","error","$isLoading","isLoading","$postfixChildren","postfixChildren","$prefixChildren","$genre","genre","$isBold","isBold","$isCenter","isCenter","disabled","readOnly","isReadOnly","required","isRequired","defaultValue","placeholder","onValueChange","onBlur","onFocus","onPaste","name","id","onKeyDown","inputMode","maxLength","minLength","tabIndex","propsPattern","StyledInputNumeric","propsNumeric","StyledInput","ref","type","autoComplete","onInput","event","target","min","max","step","InputPostfixChildren","ErrorMessage","dialCode","international","isDigit","char","test","formattedNumber","placeholderNumber","dialCodeIndex","length","format","i","charAt"],"mappings":"2KAesBA,IACpB,MAAMC,EAAiBC,EAAAA,YACpBC,YACC,GAAsB,aAAlBH,EAAMI,QAAwB,CAChC,MAAMC,EAAyB,iBAAVF,EAAqBA,EAAQA,EAAME,MAClDC,EAAUN,EAAMO,WAAaF,EAAMG,QAAQ,OAAQ,IAAMH,EAC/D,OAAAI,EAAAT,EAAMU,WAAND,EAAAE,KAAAX,EAAiBM,EAAO,CAGJ,YAAlBN,EAAMI,SAA2C,YAAlBJ,EAAMI,SAClB,iBAAVD,IACT,OAAAS,EAAAZ,EAAMU,WAANE,EAAAD,KAAAX,EAAiBG,KAIvB,CAACH,IAGH,SACEa,kBAAAA,KAAAC,6BAAA,CACEC,SAAA,GAAAF,kBAAAA,KAACG,EAAAA,mBAAA,CACCC,eAAgBjB,EA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YAAa,IAGpC,IAAA,IAASqC,EAAI,EAAGA,EAAIT,EAAcO,OAAQE,IAAK,CAC7C,MAAMP,EAAOF,EAAcU,OAAOD,GAE9BP,IAASH,EAASW,OAAOJ,IAC3BF,GAAmBF,EACnBG,GAAqBJ,EAAQC,GAAQ,IAAMA,EAC3CI,KAEIL,EAAQC,IACVE,GAAmB,IACnBC,GAAqB,MAErBD,GAAmBF,EACnBG,GAAqBH,EAEzB,CAGF,KAAOI,EAAgBP,EAASQ,QAC9BH,GAAmBL,EAASW,OAAOJ,GACnCD,GAAqBN,EAASW,OAAOJ,GACrCA,IAGF,MAAO,CACLE,OAAQJ,EACRhC,YAAaiC,EAEjB"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./component.styles-R92hjRRA.cjs");exports.Accordion=o.Accordion,exports.AccordionDetails=o.AccordionDetails,exports.AccordionStyledIcon=o.AccordionStyledIcon,exports.AccordionSummary=o.AccordionSummary,exports.AccordionSummaryContent=o.AccordionSummaryContent,exports.AccordionWrapper=o.AccordionWrapper;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./component.styles-Bfhg18CX.cjs");exports.Accordion=o.Accordion,exports.AccordionDetails=o.AccordionDetails,exports.AccordionStyledIcon=o.AccordionStyledIcon,exports.AccordionSummary=o.AccordionSummary,exports.AccordionSummaryContent=o.AccordionSummaryContent,exports.AccordionWrapper=o.AccordionWrapper;
2
2
  //# sourceMappingURL=component-accordion.cjs.js.map
@@ -40,7 +40,7 @@ export declare interface AccordionProps {
40
40
 
41
41
  export declare const AccordionStyledIcon: IStyledComponentBase<"web", Substitute< {
42
42
  type: keyof IconTypeMap;
43
- name: "Radio" | "Square" | "Arrow" | "Heart" | "Close" | "Biometry" | "QR" | "Search" | "Folder" | "Wallet" | "Graph" | "Bookmark" | "Category" | "Home" | "Notification" | "Chat" | "Paper" | "Plus" | "Minus" | "PaperPlus" | "PaperNegative" | "PaperFail" | "PaperDownload" | "PaperUpload" | "Send" | "PasswordMini" | "Swap" | "Work" | "Arrow1" | "Arrow2" | "Arrow3" | "Arrow4" | "ArrowMini1" | "ArrowMini2" | "Scan" | "Activity" | "Calendar" | "Message" | "PlusMini" | "ChartMini" | "Game" | "Bag1" | "Bag2" | "TicketStar" | "MoreCircle" | "MoreSquare" | "Discount" | "Buy" | "Web" | "InfoMini" | "DangerMini" | "DangerTriangle" | "CloseMini" | "TickMini" | "Video" | "Discovery" | "Location" | "Document" | "Setting" | "TimeSquare" | "TimeCircle" | "VolumeUp" | "VolumeDown" | "VolumeOff" | "Star" | "Select" | "Ticket" | "Camera" | "Profile" | "AddUser" | "TwoUser" | "ThreeUser" | "Login" | "Logout" | "Download" | "Upload" | "Voice" | "Voice2" | "Delete" | "Edit" | "EditSquare" | "PlayMini" | "ShieldDone" | "ShieldFail" | "Show" | "Hide" | "Filter" | "Filter2" | "Image" | "Image2" | "Call" | "Calling" | "CallMissed" | "CallSilent" | "Lock" | "Unlock" | "Resources" | "Language" | "Line" | "Circle" | "Blocks" | "Balls" | "Map" | "HomeLikes" | "HomeManagement" | "UserSettings" | "User" | "Jenesei";
43
+ name: "Menu" | "Radio" | "Square" | "Arrow" | "Heart" | "Close" | "Biometry" | "QR" | "Search" | "Folder" | "Wallet" | "Graph" | "Bookmark" | "Category" | "Home" | "Notification" | "Chat" | "Paper" | "Plus" | "Minus" | "PaperPlus" | "PaperNegative" | "PaperFail" | "PaperDownload" | "PaperUpload" | "Send" | "PasswordMini" | "Swap" | "Work" | "Arrow1" | "Arrow2" | "Arrow3" | "Arrow4" | "ArrowMini1" | "ArrowMini2" | "Scan" | "Activity" | "Calendar" | "Message" | "PlusMini" | "ChartMini" | "Game" | "Bag1" | "Bag2" | "TicketStar" | "MoreCircle" | "MoreSquare" | "Discount" | "Buy" | "Web" | "InfoMini" | "DangerMini" | "DangerTriangle" | "CloseMini" | "TickMini" | "Video" | "Discovery" | "Location" | "Document" | "Setting" | "TimeSquare" | "TimeCircle" | "VolumeUp" | "VolumeDown" | "VolumeOff" | "Star" | "Select" | "Ticket" | "Camera" | "Profile" | "AddUser" | "TwoUser" | "ThreeUser" | "Login" | "Logout" | "Download" | "Upload" | "Voice" | "Voice2" | "Delete" | "Edit" | "EditSquare" | "PlayMini" | "ShieldDone" | "ShieldFail" | "Show" | "Hide" | "Filter" | "Filter2" | "Image" | "Image2" | "Call" | "Calling" | "CallMissed" | "CallSilent" | "Lock" | "Unlock" | "Resources" | "Language" | "Line" | "Circle" | "Blocks" | "Balls" | "MapCluster" | "HomeLikes" | "HomeManagement" | "UserSettings" | "User" | "Jenesei" | "BustMarket" | "Card" | "Delivery" | "Reviews";
44
44
  className?: string;
45
45
  onClick?: (event: React.MouseEvent<SVGSVGElement>) => void;
46
46
  size: IThemeSize | "100%";
@@ -1,4 +1,4 @@
1
- import { A, d, e, b, c, a } from "./component.styles-DkL2qYQQ.js";
1
+ import { A, d, e, b, c, a } from "./component.styles-DX_3POUD.js";
2
2
  export {
3
3
  A as Accordion,
4
4
  d as AccordionDetails,
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./component-BuxekWox.cjs");exports.ButtonGroup=t.ButtonGroup,exports.ButtonGroupWrapper=t.ButtonGroupWrapper;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./component-BiNPQpCQ.cjs");exports.ButtonGroup=t.ButtonGroup,exports.ButtonGroupWrapper=t.ButtonGroupWrapper;
2
2
  //# sourceMappingURL=component-button-group.cjs.js.map
@@ -58,6 +58,9 @@ declare type ButtonPropsDefault = PropsWithChildren & {
58
58
  }) | (Omit<IconItemProps<'logo'>, 'size'> & {
59
59
  isHidden?: boolean;
60
60
  size?: IconItemProps<'logo'>['size'];
61
+ }) | (Omit<IconItemProps<'bustmarket'>, 'size'> & {
62
+ isHidden?: boolean;
63
+ size?: IconItemProps<'logo'>['size'];
61
64
  }))[];
62
65
  isDisabled?: boolean;
63
66
  isDisabledRipple?: boolean;
@@ -86,6 +89,15 @@ declare type ButtonPropsStandard = ButtonPropsDefault & {
86
89
  isIconGroup?: false;
87
90
  };
88
91
 
92
+ declare enum ENUM_ICON_BUSTMARKET {
93
+ Card = 0,
94
+ Delivery = 1,
95
+ Heart = 2,
96
+ Reviews = 3,
97
+ Search = 4,
98
+ Menu = 5
99
+ }
100
+
89
101
  declare enum ENUM_ICON_CHECKBOX {
90
102
  Radio = 0,
91
103
  Square = 1,
@@ -199,11 +211,12 @@ declare enum ENUM_ICON_LOADING {
199
211
  }
200
212
 
201
213
  declare enum ENUM_ICON_LOGO {
202
- Jenesei = 0
214
+ Jenesei = 0,
215
+ BustMarket = 1
203
216
  }
204
217
 
205
218
  declare enum ENUM_ICON_REALEBAIL {
206
- Map = 0,
219
+ MapCluster = 0,
207
220
  HomeLikes = 1,
208
221
  HomeManagement = 2,
209
222
  UserSettings = 3,
@@ -229,15 +242,16 @@ declare type IconTypeMap = {
229
242
  loading: TIconLoadingNameString;
230
243
  realebail: TIconRealEbailNameString;
231
244
  logo: TIconLogoNameString;
245
+ bustmarket: TIconBustMarketNameString;
232
246
  };
233
247
 
234
248
  declare type IThemeDevice = 'default' | 'tablet' | 'mobile';
235
249
 
236
- declare type IThemeFontFamily = 'Inter' | 'Roboto' | 'Work Sans' | 'Roboto Mono';
250
+ declare type IThemeFontFamily = 'Inter' | 'Roboto' | 'Work Sans' | 'Roboto Mono' | 'Manrope';
237
251
 
238
- declare type IThemeGenre = Record<Extract<IThemeGenreName, 'gray' | 'grayBorder' | 'black' | 'blackBorder' | 'product' | 'productBorder' | 'white' | 'greenTransparent' | 'redTransparent' | 'yellowTransparent' | 'realebail-product' | 'realebail-gray' | 'realebail-white'>, IThemeGenreTypeDefault>;
252
+ declare type IThemeGenre = Record<Extract<IThemeGenreName, 'gray' | 'grayBorder' | 'black' | 'blackBorder' | 'product' | 'productBorder' | 'white' | 'greenTransparent' | 'redTransparent' | 'yellowTransparent' | 'realebail-product' | 'realebail-gray' | 'realebail-white' | 'bustmarket-gray' | 'bustmarket-gray-violet' | 'bustmarket-violet' | 'bustmarket-white-violet'>, IThemeGenreTypeDefault>;
239
253
 
240
- declare type IThemeGenreName = 'gray' | 'grayBorder' | 'black' | 'blackBorder' | 'product' | 'productBorder' | 'white' | 'greenTransparent' | 'redTransparent' | 'yellowTransparent' | 'realebail-product' | 'realebail-gray' | 'realebail-white';
254
+ declare type IThemeGenreName = 'gray' | 'grayBorder' | 'black' | 'blackBorder' | 'product' | 'productBorder' | 'white' | 'greenTransparent' | 'redTransparent' | 'yellowTransparent' | 'realebail-product' | 'realebail-gray' | 'realebail-white' | 'bustmarket-gray-violet' | 'bustmarket-gray' | 'bustmarket-violet' | 'bustmarket-white-violet';
241
255
 
242
256
  declare interface IThemeGenreTypeDefault {
243
257
  background: {
@@ -255,7 +269,7 @@ declare interface IThemeGenreTypeDefault {
255
269
  };
256
270
  }
257
271
 
258
- declare type IThemePaletteKeys = 'transparent' | 'black100' | 'black80' | 'black60' | 'black50' | 'black40' | 'black10' | 'black05' | 'blackHelena' | 'grayJanice' | 'grayKaren' | 'grayMonica' | 'graySandra' | 'grayPatricia' | 'graySarah' | 'grayStassie' | 'grayAdriana' | 'greenGoogle' | 'grayBarbara' | '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' | 'amnezia' | 'inherit' | 'currentColor';
272
+ 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';
259
273
 
260
274
  declare type IThemeSize = 'large' | 'largeMedium' | 'medium' | 'mediumSmall' | 'small';
261
275
 
@@ -277,6 +291,8 @@ declare type SXProps = ({
277
291
 
278
292
  declare type TButtonGenre = keyof IThemeGenre;
279
293
 
294
+ declare type TIconBustMarketNameString = keyof typeof ENUM_ICON_BUSTMARKET;
295
+
280
296
  declare type TIconCheckboxNameString = keyof typeof ENUM_ICON_CHECKBOX;
281
297
 
282
298
  declare type TIconIdNameString = keyof typeof ENUM_ICON_ID;
@@ -1,4 +1,4 @@
1
- import { a, B } from "./component-BvLPfi2B.js";
1
+ import { a, B } from "./component-CQ8fy2gK.js";
2
2
  export {
3
3
  a as ButtonGroup,
4
4
  B as ButtonGroupWrapper
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./component-CMkU2lIg.cjs");exports.Button=t.Button,exports.ButtonSize=t.ButtonSize,exports.ButtonSizeConstructor=t.ButtonSizeConstructor,exports.StyledButton=t.StyledButton,exports.StyledButtonIconsWrapper=t.StyledButtonIconsWrapper;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./component-u_42PteJ.cjs");exports.Button=t.Button,exports.ButtonSize=t.ButtonSize,exports.ButtonSizeConstructor=t.ButtonSizeConstructor,exports.StyledButton=t.StyledButton,exports.StyledButtonIconsWrapper=t.StyledButtonIconsWrapper;
2
2
  //# sourceMappingURL=component-button.cjs.js.map
@@ -60,6 +60,9 @@ declare type ButtonPropsDefault = PropsWithChildren & {
60
60
  }) | (Omit<IconItemProps<'logo'>, 'size'> & {
61
61
  isHidden?: boolean;
62
62
  size?: IconItemProps<'logo'>['size'];
63
+ }) | (Omit<IconItemProps<'bustmarket'>, 'size'> & {
64
+ isHidden?: boolean;
65
+ size?: IconItemProps<'logo'>['size'];
63
66
  }))[];
64
67
  isDisabled?: boolean;
65
68
  isDisabledRipple?: boolean;
@@ -97,6 +100,15 @@ export declare const ButtonSizeConstructor: (props: IThemeSizePropertyDefault &
97
100
  isMinWidthAsContent?: boolean;
98
101
  }) => RuleSet<object>;
99
102
 
103
+ declare enum ENUM_ICON_BUSTMARKET {
104
+ Card = 0,
105
+ Delivery = 1,
106
+ Heart = 2,
107
+ Reviews = 3,
108
+ Search = 4,
109
+ Menu = 5
110
+ }
111
+
100
112
  declare enum ENUM_ICON_CHECKBOX {
101
113
  Radio = 0,
102
114
  Square = 1,
@@ -210,11 +222,12 @@ declare enum ENUM_ICON_LOADING {
210
222
  }
211
223
 
212
224
  declare enum ENUM_ICON_LOGO {
213
- Jenesei = 0
225
+ Jenesei = 0,
226
+ BustMarket = 1
214
227
  }
215
228
 
216
229
  declare enum ENUM_ICON_REALEBAIL {
217
- Map = 0,
230
+ MapCluster = 0,
218
231
  HomeLikes = 1,
219
232
  HomeManagement = 2,
220
233
  UserSettings = 3,
@@ -240,15 +253,16 @@ declare type IconTypeMap = {
240
253
  loading: TIconLoadingNameString;
241
254
  realebail: TIconRealEbailNameString;
242
255
  logo: TIconLogoNameString;
256
+ bustmarket: TIconBustMarketNameString;
243
257
  };
244
258
 
245
259
  declare type IThemeDevice = 'default' | 'tablet' | 'mobile';
246
260
 
247
- declare type IThemeFontFamily = 'Inter' | 'Roboto' | 'Work Sans' | 'Roboto Mono';
261
+ declare type IThemeFontFamily = 'Inter' | 'Roboto' | 'Work Sans' | 'Roboto Mono' | 'Manrope';
248
262
 
249
- declare type IThemeGenre = Record<Extract<IThemeGenreName, 'gray' | 'grayBorder' | 'black' | 'blackBorder' | 'product' | 'productBorder' | 'white' | 'greenTransparent' | 'redTransparent' | 'yellowTransparent' | 'realebail-product' | 'realebail-gray' | 'realebail-white'>, IThemeGenreTypeDefault>;
263
+ declare type IThemeGenre = Record<Extract<IThemeGenreName, 'gray' | 'grayBorder' | 'black' | 'blackBorder' | 'product' | 'productBorder' | 'white' | 'greenTransparent' | 'redTransparent' | 'yellowTransparent' | 'realebail-product' | 'realebail-gray' | 'realebail-white' | 'bustmarket-gray' | 'bustmarket-gray-violet' | 'bustmarket-violet' | 'bustmarket-white-violet'>, IThemeGenreTypeDefault>;
250
264
 
251
- declare type IThemeGenreName = 'gray' | 'grayBorder' | 'black' | 'blackBorder' | 'product' | 'productBorder' | 'white' | 'greenTransparent' | 'redTransparent' | 'yellowTransparent' | 'realebail-product' | 'realebail-gray' | 'realebail-white';
265
+ declare type IThemeGenreName = 'gray' | 'grayBorder' | 'black' | 'blackBorder' | 'product' | 'productBorder' | 'white' | 'greenTransparent' | 'redTransparent' | 'yellowTransparent' | 'realebail-product' | 'realebail-gray' | 'realebail-white' | 'bustmarket-gray-violet' | 'bustmarket-gray' | 'bustmarket-violet' | 'bustmarket-white-violet';
252
266
 
253
267
  declare interface IThemeGenreTypeDefault {
254
268
  background: {
@@ -266,7 +280,7 @@ declare interface IThemeGenreTypeDefault {
266
280
  };
267
281
  }
268
282
 
269
- declare type IThemePaletteKeys = 'transparent' | 'black100' | 'black80' | 'black60' | 'black50' | 'black40' | 'black10' | 'black05' | 'blackHelena' | 'grayJanice' | 'grayKaren' | 'grayMonica' | 'graySandra' | 'grayPatricia' | 'graySarah' | 'grayStassie' | 'grayAdriana' | 'greenGoogle' | 'grayBarbara' | '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' | 'amnezia' | 'inherit' | 'currentColor';
283
+ 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';
270
284
 
271
285
  declare type IThemeSize = 'large' | 'largeMedium' | 'medium' | 'mediumSmall' | 'small';
272
286
 
@@ -304,6 +318,8 @@ declare type SXProps = ({
304
318
 
305
319
  export declare type TButtonGenre = keyof IThemeGenre;
306
320
 
321
+ declare type TIconBustMarketNameString = keyof typeof ENUM_ICON_BUSTMARKET;
322
+
307
323
  declare type TIconCheckboxNameString = keyof typeof ENUM_ICON_CHECKBOX;
308
324
 
309
325
  declare type TIconIdNameString = keyof typeof ENUM_ICON_ID;
@@ -1,4 +1,4 @@
1
- import { c, B, a, b, S } from "./component-CmotrA_9.js";
1
+ import { c, B, a, b, S } from "./component-C4ULY0c6.js";
2
2
  export {
3
3
  c as Button,
4
4
  B as ButtonSize,
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./component.styles-CS_lQRm0.cjs");exports.CheckboxChildren=e.CheckboxChildren,exports.CheckboxGroup=e.CheckboxGroup,exports.CheckboxGroupItem=e.CheckboxGroupItem,exports.CheckboxGroupLabel=e.CheckboxGroupLabel,exports.CheckboxGroupSize=e.CheckboxGroupSize,exports.CheckboxGroupSizeConstructor=e.CheckboxGroupSizeConstructor,exports.CheckboxGroupWrapper=e.CheckboxGroupWrapper;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./component.styles-8tkaznu_.cjs");exports.CheckboxChildren=e.CheckboxChildren,exports.CheckboxGroup=e.CheckboxGroup,exports.CheckboxGroupItem=e.CheckboxGroupItem,exports.CheckboxGroupLabel=e.CheckboxGroupLabel,exports.CheckboxGroupSize=e.CheckboxGroupSize,exports.CheckboxGroupSizeConstructor=e.CheckboxGroupSizeConstructor,exports.CheckboxGroupWrapper=e.CheckboxGroupWrapper;
2
2
  //# sourceMappingURL=component-checkbox-group.cjs.js.map
@@ -80,6 +80,15 @@ declare type CheckboxProps = PropsWithChildren & {
80
80
  size: IThemeSize;
81
81
  } & addSXProps & addErrorProps & addSXTypographyProps;
82
82
 
83
+ declare enum ENUM_ICON_BUSTMARKET {
84
+ Card = 0,
85
+ Delivery = 1,
86
+ Heart = 2,
87
+ Reviews = 3,
88
+ Search = 4,
89
+ Menu = 5
90
+ }
91
+
83
92
  declare enum ENUM_ICON_CHECKBOX {
84
93
  Radio = 0,
85
94
  Square = 1,
@@ -193,11 +202,12 @@ declare enum ENUM_ICON_LOADING {
193
202
  }
194
203
 
195
204
  declare enum ENUM_ICON_LOGO {
196
- Jenesei = 0
205
+ Jenesei = 0,
206
+ BustMarket = 1
197
207
  }
198
208
 
199
209
  declare enum ENUM_ICON_REALEBAIL {
200
- Map = 0,
210
+ MapCluster = 0,
201
211
  HomeLikes = 1,
202
212
  HomeManagement = 2,
203
213
  UserSettings = 3,
@@ -236,15 +246,16 @@ declare type IconTypeMap = {
236
246
  loading: TIconLoadingNameString;
237
247
  realebail: TIconRealEbailNameString;
238
248
  logo: TIconLogoNameString;
249
+ bustmarket: TIconBustMarketNameString;
239
250
  };
240
251
 
241
252
  declare type IThemeDevice = 'default' | 'tablet' | 'mobile';
242
253
 
243
- declare type IThemeFontFamily = 'Inter' | 'Roboto' | 'Work Sans' | 'Roboto Mono';
254
+ declare type IThemeFontFamily = 'Inter' | 'Roboto' | 'Work Sans' | 'Roboto Mono' | 'Manrope';
244
255
 
245
- declare type IThemeGenre = Record<Extract<IThemeGenreName, 'gray' | 'grayBorder' | 'black' | 'blackBorder' | 'product' | 'productBorder' | 'white' | 'greenTransparent' | 'redTransparent' | 'yellowTransparent' | 'realebail-product' | 'realebail-gray' | 'realebail-white'>, IThemeGenreTypeDefault>;
256
+ declare type IThemeGenre = Record<Extract<IThemeGenreName, 'gray' | 'grayBorder' | 'black' | 'blackBorder' | 'product' | 'productBorder' | 'white' | 'greenTransparent' | 'redTransparent' | 'yellowTransparent' | 'realebail-product' | 'realebail-gray' | 'realebail-white' | 'bustmarket-gray' | 'bustmarket-gray-violet' | 'bustmarket-violet' | 'bustmarket-white-violet'>, IThemeGenreTypeDefault>;
246
257
 
247
- declare type IThemeGenreName = 'gray' | 'grayBorder' | 'black' | 'blackBorder' | 'product' | 'productBorder' | 'white' | 'greenTransparent' | 'redTransparent' | 'yellowTransparent' | 'realebail-product' | 'realebail-gray' | 'realebail-white';
258
+ declare type IThemeGenreName = 'gray' | 'grayBorder' | 'black' | 'blackBorder' | 'product' | 'productBorder' | 'white' | 'greenTransparent' | 'redTransparent' | 'yellowTransparent' | 'realebail-product' | 'realebail-gray' | 'realebail-white' | 'bustmarket-gray-violet' | 'bustmarket-gray' | 'bustmarket-violet' | 'bustmarket-white-violet';
248
259
 
249
260
  declare interface IThemeGenreTypeDefault {
250
261
  background: {
@@ -262,7 +273,7 @@ declare interface IThemeGenreTypeDefault {
262
273
  };
263
274
  }
264
275
 
265
- declare type IThemePaletteKeys = 'transparent' | 'black100' | 'black80' | 'black60' | 'black50' | 'black40' | 'black10' | 'black05' | 'blackHelena' | 'grayJanice' | 'grayKaren' | 'grayMonica' | 'graySandra' | 'grayPatricia' | 'graySarah' | 'grayStassie' | 'grayAdriana' | 'greenGoogle' | 'grayBarbara' | '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' | 'amnezia' | 'inherit' | 'currentColor';
276
+ 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';
266
277
 
267
278
  declare type IThemeSize = 'large' | 'largeMedium' | 'medium' | 'mediumSmall' | 'small';
268
279
 
@@ -290,6 +301,8 @@ declare type SXProps = ({
290
301
 
291
302
  declare type TCheckboxGenre = keyof IThemeGenre;
292
303
 
304
+ declare type TIconBustMarketNameString = keyof typeof ENUM_ICON_BUSTMARKET;
305
+
293
306
  declare type TIconCheckboxNameString = keyof typeof ENUM_ICON_CHECKBOX;
294
307
 
295
308
  declare type TIconIdNameString = keyof typeof ENUM_ICON_ID;
@@ -1,4 +1,4 @@
1
- import { f, C, d, e, a, b, c } from "./component.styles-DyTB01CW.js";
1
+ import { f, C, d, e, a, b, c } from "./component.styles-CpFA5YrM.js";
2
2
  export {
3
3
  f as CheckboxChildren,
4
4
  C as CheckboxGroup,
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./component.styles-C-mr1A0b.cjs");exports.Checkbox=e.Checkbox,exports.CheckboxGenre=e.CheckboxGenre,exports.CheckboxSize=e.CheckboxSize,exports.CheckboxSizeConstructor=e.CheckboxSizeConstructor,exports.CheckboxWrapper=e.CheckboxWrapper,exports.StyledIcon=e.StyledIcon;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./component.styles-BuzZQhqS.cjs");exports.Checkbox=e.Checkbox,exports.CheckboxGenre=e.CheckboxGenre,exports.CheckboxSize=e.CheckboxSize,exports.CheckboxSizeConstructor=e.CheckboxSizeConstructor,exports.CheckboxWrapper=e.CheckboxWrapper,exports.StyledIcon=e.StyledIcon;
2
2
  //# sourceMappingURL=component-checkbox.cjs.js.map