@commercetools/nimbus 0.0.0-canary-20250919154858 → 0.0.0-canary-20250922152719

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 (257) hide show
  1. package/dist/accordion.d.ts +2 -2
  2. package/dist/chunks/{accordion-CyaEB05t.es.js → accordion-CSSdv9jZ.es.js} +2 -2
  3. package/dist/chunks/{accordion-CyaEB05t.es.js.map → accordion-CSSdv9jZ.es.js.map} +1 -1
  4. package/dist/chunks/{accordion-CVM_3Y8u.cjs.js → accordion-xYvGyXy-.cjs.js} +2 -2
  5. package/dist/chunks/{accordion-CVM_3Y8u.cjs.js.map → accordion-xYvGyXy-.cjs.js.map} +1 -1
  6. package/dist/chunks/{alert-CQzbVGQM.es.js → alert-BRDuEo75.es.js} +2 -2
  7. package/dist/chunks/{alert-CQzbVGQM.es.js.map → alert-BRDuEo75.es.js.map} +1 -1
  8. package/dist/chunks/{alert-B1X_ycTY.cjs.js → alert-CWTCM8-i.cjs.js} +2 -2
  9. package/dist/chunks/{alert-B1X_ycTY.cjs.js.map → alert-CWTCM8-i.cjs.js.map} +1 -1
  10. package/dist/chunks/{button-DnZz51Rh.es.js → button-DRMpnb-1.es.js} +2 -2
  11. package/dist/chunks/{button-DnZz51Rh.es.js.map → button-DRMpnb-1.es.js.map} +1 -1
  12. package/dist/chunks/{button-RUSyHGQV.cjs.js → button-Dbf1b0F4.cjs.js} +2 -2
  13. package/dist/chunks/{button-RUSyHGQV.cjs.js.map → button-Dbf1b0F4.cjs.js.map} +1 -1
  14. package/dist/chunks/{calendar-DhN7hRLB.cjs.js → calendar-CrTvsDQH.cjs.js} +2 -2
  15. package/dist/chunks/{calendar-DhN7hRLB.cjs.js.map → calendar-CrTvsDQH.cjs.js.map} +1 -1
  16. package/dist/chunks/{calendar-CrxxYJd-.es.js → calendar-DnQnMOcs.es.js} +4 -4
  17. package/dist/chunks/{calendar-CrxxYJd-.es.js.map → calendar-DnQnMOcs.es.js.map} +1 -1
  18. package/dist/chunks/{checkbox-CAvlAkX5.cjs.js → checkbox-Bv0NXUyX.cjs.js} +2 -2
  19. package/dist/chunks/{checkbox-CAvlAkX5.cjs.js.map → checkbox-Bv0NXUyX.cjs.js.map} +1 -1
  20. package/dist/chunks/{checkbox-BxRZ9dqc.es.js → checkbox-CdSHDZgM.es.js} +2 -2
  21. package/dist/chunks/{checkbox-BxRZ9dqc.es.js.map → checkbox-CdSHDZgM.es.js.map} +1 -1
  22. package/dist/chunks/combobox-C9pPDZQn.cjs.js +2 -0
  23. package/dist/chunks/combobox-C9pPDZQn.cjs.js.map +1 -0
  24. package/dist/chunks/{combobox-Bjv3GWGo.es.js → combobox-Dmn2vxIz.es.js} +991 -970
  25. package/dist/chunks/combobox-Dmn2vxIz.es.js.map +1 -0
  26. package/dist/chunks/{data-table-9C4ViaHW.es.js → data-table-CBr4TLyH.es.js} +6 -6
  27. package/dist/chunks/{data-table-9C4ViaHW.es.js.map → data-table-CBr4TLyH.es.js.map} +1 -1
  28. package/dist/chunks/{data-table-BoRy4kuE.cjs.js → data-table-DIsDZ5JZ.cjs.js} +2 -2
  29. package/dist/chunks/{data-table-BoRy4kuE.cjs.js.map → data-table-DIsDZ5JZ.cjs.js.map} +1 -1
  30. package/dist/chunks/date-input-CoAPdZTG.es.js +21 -0
  31. package/dist/chunks/date-input-CoAPdZTG.es.js.map +1 -0
  32. package/dist/chunks/date-input-DYC1t1e-.cjs.js +2 -0
  33. package/dist/chunks/date-input-DYC1t1e-.cjs.js.map +1 -0
  34. package/dist/chunks/date-picker-BVrTKhZ_.es.js +219 -0
  35. package/dist/chunks/date-picker-BVrTKhZ_.es.js.map +1 -0
  36. package/dist/chunks/date-picker-_7Gh_ROw.cjs.js +2 -0
  37. package/dist/chunks/date-picker-_7Gh_ROw.cjs.js.map +1 -0
  38. package/dist/chunks/{date-range-picker-CsUWSzSC.es.js → date-range-picker-D55giMLZ.es.js} +88 -91
  39. package/dist/chunks/date-range-picker-D55giMLZ.es.js.map +1 -0
  40. package/dist/chunks/date-range-picker-D7pPpSEj.cjs.js +2 -0
  41. package/dist/chunks/date-range-picker-D7pPpSEj.cjs.js.map +1 -0
  42. package/dist/chunks/{extractStyleProps-dSQoSYg8.cjs.js → extractStyleProps-CgqRiEwd.cjs.js} +2 -2
  43. package/dist/chunks/{extractStyleProps-dSQoSYg8.cjs.js.map → extractStyleProps-CgqRiEwd.cjs.js.map} +1 -1
  44. package/dist/chunks/{extractStyleProps-lz7NzsNX.es.js → extractStyleProps-DkXeCUuq.es.js} +2 -2
  45. package/dist/chunks/{extractStyleProps-lz7NzsNX.es.js.map → extractStyleProps-DkXeCUuq.es.js.map} +1 -1
  46. package/dist/chunks/{form-field-CPPobl2Z.es.js → form-field-DMs36b56.es.js} +2 -2
  47. package/dist/chunks/{form-field-CPPobl2Z.es.js.map → form-field-DMs36b56.es.js.map} +1 -1
  48. package/dist/chunks/{form-field-BoGSJF6d.cjs.js → form-field-cwK6KNEG.cjs.js} +2 -2
  49. package/dist/chunks/{form-field-BoGSJF6d.cjs.js.map → form-field-cwK6KNEG.cjs.js.map} +1 -1
  50. package/dist/chunks/{icon-button-CiBtEF0y.cjs.js → icon-button-0GLW7WtL.cjs.js} +2 -2
  51. package/dist/chunks/{icon-button-CiBtEF0y.cjs.js.map → icon-button-0GLW7WtL.cjs.js.map} +1 -1
  52. package/dist/chunks/{icon-button-N3Uzjv8o.es.js → icon-button-C_i4ydsN.es.js} +2 -2
  53. package/dist/chunks/{icon-button-N3Uzjv8o.es.js.map → icon-button-C_i4ydsN.es.js.map} +1 -1
  54. package/dist/chunks/{icon-toggle-button-BcrMgO27.es.js → icon-toggle-button-f03QyjEE.es.js} +2 -2
  55. package/dist/chunks/{icon-toggle-button-BcrMgO27.es.js.map → icon-toggle-button-f03QyjEE.es.js.map} +1 -1
  56. package/dist/chunks/{icon-toggle-button-DeiQ7jmM.cjs.js → icon-toggle-button-tJAqRjak.cjs.js} +2 -2
  57. package/dist/chunks/{icon-toggle-button-DeiQ7jmM.cjs.js.map → icon-toggle-button-tJAqRjak.cjs.js.map} +1 -1
  58. package/dist/chunks/{index-DwjTNyza.es.js → index-CRta5Y1_.es.js} +426 -300
  59. package/dist/chunks/index-CRta5Y1_.es.js.map +1 -0
  60. package/dist/chunks/index-DX8-EG6B.cjs.js +4 -0
  61. package/dist/chunks/index-DX8-EG6B.cjs.js.map +1 -0
  62. package/dist/chunks/{menu-vAP73jq6.es.js → menu-D5UbPSbm.es.js} +3 -3
  63. package/dist/chunks/{menu-vAP73jq6.es.js.map → menu-D5UbPSbm.es.js.map} +1 -1
  64. package/dist/chunks/{menu-n9jU7SCA.cjs.js → menu-cYj3HcOe.cjs.js} +2 -2
  65. package/dist/chunks/{menu-n9jU7SCA.cjs.js.map → menu-cYj3HcOe.cjs.js.map} +1 -1
  66. package/dist/chunks/{money-input-Dkl0TJ-w.es.js → money-input-CtG9FJDJ.es.js} +4 -4
  67. package/dist/chunks/{money-input-Dkl0TJ-w.es.js.map → money-input-CtG9FJDJ.es.js.map} +1 -1
  68. package/dist/chunks/{money-input-CZkI0cQZ.cjs.js → money-input-DXpiO23i.cjs.js} +2 -2
  69. package/dist/chunks/{money-input-CZkI0cQZ.cjs.js.map → money-input-DXpiO23i.cjs.js.map} +1 -1
  70. package/dist/chunks/multiline-text-input-DZaLPY2Z.es.js +193 -0
  71. package/dist/chunks/multiline-text-input-DZaLPY2Z.es.js.map +1 -0
  72. package/dist/chunks/multiline-text-input-XW9WrmJi.cjs.js +12 -0
  73. package/dist/chunks/multiline-text-input-XW9WrmJi.cjs.js.map +1 -0
  74. package/dist/chunks/{nimbus-provider-DQ1CPSp4.cjs.js → nimbus-provider--E4ETLbz.cjs.js} +2 -2
  75. package/dist/chunks/{nimbus-provider-DQ1CPSp4.cjs.js.map → nimbus-provider--E4ETLbz.cjs.js.map} +1 -1
  76. package/dist/chunks/{nimbus-provider-CH5x7sz1.es.js → nimbus-provider-BE3QFNWW.es.js} +2 -2
  77. package/dist/chunks/{nimbus-provider-CH5x7sz1.es.js.map → nimbus-provider-BE3QFNWW.es.js.map} +1 -1
  78. package/dist/chunks/number-input-C-suceSs.cjs.js +2 -0
  79. package/dist/chunks/{number-input-BCyiGbGY.cjs.js.map → number-input-C-suceSs.cjs.js.map} +1 -1
  80. package/dist/chunks/{number-input-CjBiCFF6.es.js → number-input-COfobs8H.es.js} +347 -339
  81. package/dist/chunks/{number-input-CjBiCFF6.es.js.map → number-input-COfobs8H.es.js.map} +1 -1
  82. package/dist/chunks/{pagination-CwZAtcMm.cjs.js → pagination-BM1xkmu9.cjs.js} +2 -2
  83. package/dist/chunks/{pagination-CwZAtcMm.cjs.js.map → pagination-BM1xkmu9.cjs.js.map} +1 -1
  84. package/dist/chunks/{pagination-BYCMJoWX.es.js → pagination-C5bOKHnF.es.js} +4 -4
  85. package/dist/chunks/{pagination-BYCMJoWX.es.js.map → pagination-C5bOKHnF.es.js.map} +1 -1
  86. package/dist/chunks/password-input-BXIl-f4z.es.js +54 -0
  87. package/dist/chunks/password-input-BXIl-f4z.es.js.map +1 -0
  88. package/dist/chunks/password-input-Br-DbsF2.cjs.js +2 -0
  89. package/dist/chunks/password-input-Br-DbsF2.cjs.js.map +1 -0
  90. package/dist/chunks/{progress-bar-DhG9TG8r.es.js → progress-bar-8RZO_7Pa.es.js} +2 -2
  91. package/dist/chunks/{progress-bar-DhG9TG8r.es.js.map → progress-bar-8RZO_7Pa.es.js.map} +1 -1
  92. package/dist/chunks/{progress-bar-C9ElCIQE.cjs.js → progress-bar-CGfPZTdv.cjs.js} +2 -2
  93. package/dist/chunks/{progress-bar-C9ElCIQE.cjs.js.map → progress-bar-CGfPZTdv.cjs.js.map} +1 -1
  94. package/dist/chunks/{radio-input-CV2Am_Ol.es.js → radio-input-CBsoUt1S.es.js} +3 -3
  95. package/dist/chunks/{radio-input-CV2Am_Ol.es.js.map → radio-input-CBsoUt1S.es.js.map} +1 -1
  96. package/dist/chunks/{radio-input-A7KxF_yz.cjs.js → radio-input-D7oHngVQ.cjs.js} +2 -2
  97. package/dist/chunks/{radio-input-A7KxF_yz.cjs.js.map → radio-input-D7oHngVQ.cjs.js.map} +1 -1
  98. package/dist/chunks/{range-calendar-Dyt9IoJ_.cjs.js → range-calendar-CWkeoOzl.cjs.js} +2 -2
  99. package/dist/chunks/{range-calendar-Dyt9IoJ_.cjs.js.map → range-calendar-CWkeoOzl.cjs.js.map} +1 -1
  100. package/dist/chunks/{range-calendar-BpFwP2wF.es.js → range-calendar-ZSiCkuoX.es.js} +4 -4
  101. package/dist/chunks/{range-calendar-BpFwP2wF.es.js.map → range-calendar-ZSiCkuoX.es.js.map} +1 -1
  102. package/dist/chunks/{rich-text-input-sQtbxyfd.cjs.js → rich-text-input-CxWC-yrf.cjs.js} +2 -2
  103. package/dist/chunks/{rich-text-input-sQtbxyfd.cjs.js.map → rich-text-input-CxWC-yrf.cjs.js.map} +1 -1
  104. package/dist/chunks/{rich-text-input-BBVWAH5I.es.js → rich-text-input-YYPcexom.es.js} +7 -7
  105. package/dist/chunks/{rich-text-input-BBVWAH5I.es.js.map → rich-text-input-YYPcexom.es.js.map} +1 -1
  106. package/dist/chunks/{select-BvwErOqX.es.js → select-Bj9NNlBG.es.js} +156 -146
  107. package/dist/chunks/{select-BvwErOqX.es.js.map → select-Bj9NNlBG.es.js.map} +1 -1
  108. package/dist/chunks/select-DA6mGi-n.cjs.js +2 -0
  109. package/dist/chunks/{select-BL0Jeztf.cjs.js.map → select-DA6mGi-n.cjs.js.map} +1 -1
  110. package/dist/chunks/{separator-BRUFpi9l.es.js → separator-BBcK9ROS.es.js} +2 -2
  111. package/dist/chunks/{separator-BRUFpi9l.es.js.map → separator-BBcK9ROS.es.js.map} +1 -1
  112. package/dist/chunks/{separator-DKPbB_lK.cjs.js → separator-CoMx0Mmv.cjs.js} +2 -2
  113. package/dist/chunks/{separator-DKPbB_lK.cjs.js.map → separator-CoMx0Mmv.cjs.js.map} +1 -1
  114. package/dist/chunks/{split-button-B4SnFetQ.es.js → split-button-C5RRpvG-.es.js} +5 -5
  115. package/dist/chunks/{split-button-B4SnFetQ.es.js.map → split-button-C5RRpvG-.es.js.map} +1 -1
  116. package/dist/chunks/{split-button-Cs4jynee.cjs.js → split-button-DS-OCnNN.cjs.js} +2 -2
  117. package/dist/chunks/{split-button-Cs4jynee.cjs.js.map → split-button-DS-OCnNN.cjs.js.map} +1 -1
  118. package/dist/chunks/{switch-CssXPh09.es.js → switch-CaNbdCzT.es.js} +3 -3
  119. package/dist/chunks/{switch-CssXPh09.es.js.map → switch-CaNbdCzT.es.js.map} +1 -1
  120. package/dist/chunks/{switch-DAVy_DYC.cjs.js → switch-uAVIHIFM.cjs.js} +2 -2
  121. package/dist/chunks/{switch-DAVy_DYC.cjs.js.map → switch-uAVIHIFM.cjs.js.map} +1 -1
  122. package/dist/chunks/{tag-group-BJ33FcVi.cjs.js → tag-group-BfVRqsqw.cjs.js} +2 -2
  123. package/dist/chunks/{tag-group-BJ33FcVi.cjs.js.map → tag-group-BfVRqsqw.cjs.js.map} +1 -1
  124. package/dist/chunks/{tag-group-JeqOcMyb.es.js → tag-group-Bs6sb_ky.es.js} +2 -2
  125. package/dist/chunks/{tag-group-JeqOcMyb.es.js.map → tag-group-Bs6sb_ky.es.js.map} +1 -1
  126. package/dist/chunks/text-input-Bm5P6cG3.es.js +48 -0
  127. package/dist/chunks/text-input-Bm5P6cG3.es.js.map +1 -0
  128. package/dist/chunks/text-input-DgYI0-uU.cjs.js +2 -0
  129. package/dist/chunks/text-input-DgYI0-uU.cjs.js.map +1 -0
  130. package/dist/chunks/time-input-BVrf5gCi.es.js +179 -0
  131. package/dist/chunks/time-input-BVrf5gCi.es.js.map +1 -0
  132. package/dist/chunks/time-input-DOacr-Lo.cjs.js +2 -0
  133. package/dist/chunks/time-input-DOacr-Lo.cjs.js.map +1 -0
  134. package/dist/chunks/{toggle-button-DSp3s7cp.es.js → toggle-button-Bg4ygY7u.es.js} +3 -3
  135. package/dist/chunks/{toggle-button-DSp3s7cp.es.js.map → toggle-button-Bg4ygY7u.es.js.map} +1 -1
  136. package/dist/chunks/{toggle-button-BCDj-UQB.cjs.js → toggle-button-CoA46qg6.cjs.js} +2 -2
  137. package/dist/chunks/{toggle-button-BCDj-UQB.cjs.js.map → toggle-button-CoA46qg6.cjs.js.map} +1 -1
  138. package/dist/chunks/{toolbar-_QcKjeZY.es.js → toolbar-BZFjOgau.es.js} +3 -3
  139. package/dist/chunks/{toolbar-_QcKjeZY.es.js.map → toolbar-BZFjOgau.es.js.map} +1 -1
  140. package/dist/chunks/{toolbar-DSpz9u4Z.cjs.js → toolbar-CRak3D0J.cjs.js} +2 -2
  141. package/dist/chunks/{toolbar-DSpz9u4Z.cjs.js.map → toolbar-CRak3D0J.cjs.js.map} +1 -1
  142. package/dist/combobox.d.ts +26 -1
  143. package/dist/components/accordion.cjs +1 -1
  144. package/dist/components/accordion.es.js +1 -1
  145. package/dist/components/alert.cjs +1 -1
  146. package/dist/components/alert.es.js +1 -1
  147. package/dist/components/button.cjs +1 -1
  148. package/dist/components/button.es.js +1 -1
  149. package/dist/components/calendar.cjs +1 -1
  150. package/dist/components/calendar.es.js +1 -1
  151. package/dist/components/checkbox.cjs +1 -1
  152. package/dist/components/checkbox.es.js +1 -1
  153. package/dist/components/combobox.cjs +1 -1
  154. package/dist/components/combobox.es.js +1 -1
  155. package/dist/components/components.cjs +1 -1
  156. package/dist/components/components.es.js +33 -33
  157. package/dist/components/data-table.cjs +1 -1
  158. package/dist/components/data-table.es.js +1 -1
  159. package/dist/components/date-input.cjs +1 -1
  160. package/dist/components/date-input.es.js +1 -1
  161. package/dist/components/date-picker.cjs +1 -1
  162. package/dist/components/date-picker.es.js +1 -1
  163. package/dist/components/date-range-picker.cjs +1 -1
  164. package/dist/components/date-range-picker.es.js +1 -1
  165. package/dist/components/form-field.cjs +1 -1
  166. package/dist/components/form-field.es.js +1 -1
  167. package/dist/components/icon-button.cjs +1 -1
  168. package/dist/components/icon-button.es.js +1 -1
  169. package/dist/components/icon-toggle-button.cjs +1 -1
  170. package/dist/components/icon-toggle-button.es.js +1 -1
  171. package/dist/components/money-input.cjs +1 -1
  172. package/dist/components/money-input.es.js +1 -1
  173. package/dist/components/multiline-text-input.cjs +1 -1
  174. package/dist/components/multiline-text-input.es.js +1 -1
  175. package/dist/components/nimbus-provider.cjs +1 -1
  176. package/dist/components/nimbus-provider.es.js +1 -1
  177. package/dist/components/number-input.cjs +1 -1
  178. package/dist/components/number-input.es.js +1 -1
  179. package/dist/components/pagination.cjs +1 -1
  180. package/dist/components/pagination.es.js +1 -1
  181. package/dist/components/password-input.cjs +1 -1
  182. package/dist/components/password-input.es.js +1 -1
  183. package/dist/components/progress-bar.cjs +1 -1
  184. package/dist/components/progress-bar.es.js +1 -1
  185. package/dist/components/radio-input.cjs +1 -1
  186. package/dist/components/radio-input.es.js +1 -1
  187. package/dist/components/range-calendar.cjs +1 -1
  188. package/dist/components/range-calendar.es.js +1 -1
  189. package/dist/components/rich-text-input.cjs +1 -1
  190. package/dist/components/rich-text-input.es.js +1 -1
  191. package/dist/components/select.cjs +1 -1
  192. package/dist/components/select.es.js +1 -1
  193. package/dist/components/separator.cjs +1 -1
  194. package/dist/components/separator.es.js +1 -1
  195. package/dist/components/split-button.cjs +1 -1
  196. package/dist/components/split-button.es.js +1 -1
  197. package/dist/components/switch.cjs +1 -1
  198. package/dist/components/switch.es.js +1 -1
  199. package/dist/components/tag-group.cjs +1 -1
  200. package/dist/components/tag-group.es.js +1 -1
  201. package/dist/components/text-input.cjs +1 -1
  202. package/dist/components/text-input.es.js +1 -1
  203. package/dist/components/time-input.cjs +1 -1
  204. package/dist/components/time-input.es.js +1 -1
  205. package/dist/components/toggle-button.cjs +1 -1
  206. package/dist/components/toggle-button.es.js +1 -1
  207. package/dist/components/toolbar.cjs +1 -1
  208. package/dist/components/toolbar.es.js +1 -1
  209. package/dist/components.d.ts +302 -114
  210. package/dist/data-table.d.ts +6 -6
  211. package/dist/date-input.d.ts +43 -10
  212. package/dist/date-picker.d.ts +46 -31
  213. package/dist/index.cjs +1 -1
  214. package/dist/index.d.ts +316 -128
  215. package/dist/index.es.js +36 -36
  216. package/dist/multiline-text-input.d.ts +49 -9
  217. package/dist/number-input.d.ts +50 -31
  218. package/dist/password-input.d.ts +59 -25
  219. package/dist/select.d.ts +19 -2
  220. package/dist/text-input.d.ts +53 -21
  221. package/dist/time-input.d.ts +48 -12
  222. package/package.json +5 -5
  223. package/dist/chunks/combobox-Bjv3GWGo.es.js.map +0 -1
  224. package/dist/chunks/combobox-DFEUqaQv.cjs.js +0 -2
  225. package/dist/chunks/combobox-DFEUqaQv.cjs.js.map +0 -1
  226. package/dist/chunks/date-input-BfX4o6R4.es.js +0 -16
  227. package/dist/chunks/date-input-BfX4o6R4.es.js.map +0 -1
  228. package/dist/chunks/date-input-sKLgo0X8.cjs.js +0 -2
  229. package/dist/chunks/date-input-sKLgo0X8.cjs.js.map +0 -1
  230. package/dist/chunks/date-picker-BviqgxDx.es.js +0 -222
  231. package/dist/chunks/date-picker-BviqgxDx.es.js.map +0 -1
  232. package/dist/chunks/date-picker-STd_oI72.cjs.js +0 -2
  233. package/dist/chunks/date-picker-STd_oI72.cjs.js.map +0 -1
  234. package/dist/chunks/date-range-picker-CsUWSzSC.es.js.map +0 -1
  235. package/dist/chunks/date-range-picker-cA84RzN7.cjs.js +0 -2
  236. package/dist/chunks/date-range-picker-cA84RzN7.cjs.js.map +0 -1
  237. package/dist/chunks/index-DebuynT7.cjs.js +0 -4
  238. package/dist/chunks/index-DebuynT7.cjs.js.map +0 -1
  239. package/dist/chunks/index-DwjTNyza.es.js.map +0 -1
  240. package/dist/chunks/multiline-text-input-B9RhT0Oy.es.js +0 -118
  241. package/dist/chunks/multiline-text-input-B9RhT0Oy.es.js.map +0 -1
  242. package/dist/chunks/multiline-text-input-BGT_-xyA.cjs.js +0 -12
  243. package/dist/chunks/multiline-text-input-BGT_-xyA.cjs.js.map +0 -1
  244. package/dist/chunks/number-input-BCyiGbGY.cjs.js +0 -2
  245. package/dist/chunks/password-input-BkTbfljJ.cjs.js +0 -2
  246. package/dist/chunks/password-input-BkTbfljJ.cjs.js.map +0 -1
  247. package/dist/chunks/password-input-BlU2h_8U.es.js +0 -67
  248. package/dist/chunks/password-input-BlU2h_8U.es.js.map +0 -1
  249. package/dist/chunks/select-BL0Jeztf.cjs.js +0 -2
  250. package/dist/chunks/text-input-Bu4lGoBD.es.js +0 -18
  251. package/dist/chunks/text-input-Bu4lGoBD.es.js.map +0 -1
  252. package/dist/chunks/text-input-DtMgT0KI.cjs.js +0 -2
  253. package/dist/chunks/text-input-DtMgT0KI.cjs.js.map +0 -1
  254. package/dist/chunks/time-input-D8D26IcA.es.js +0 -130
  255. package/dist/chunks/time-input-D8D26IcA.es.js.map +0 -1
  256. package/dist/chunks/time-input-D9Xmy3YQ.cjs.js +0 -2
  257. package/dist/chunks/time-input-D9Xmy3YQ.cjs.js.map +0 -1
@@ -1,22 +1,22 @@
1
- import { jsxs as me, jsx as A } from "react/jsx-runtime";
2
- import { useCallback as U, useState as I, useMemo as N, useEffect as ba, useRef as Le } from "react";
3
- import { mergeRefs as ma } from "@chakra-ui/react";
4
- import { createSlotRecipeContext as $a, useSlotRecipe as pa } from "@chakra-ui/react/styled-system";
5
- import { B as xa } from "./box-DuBoAZvq.es.js";
6
- import { KeyboardArrowUp as va, KeyboardArrowDown as La } from "@commercetools/nimbus-icons";
7
- import { e as Da } from "./extractStyleProps-lz7NzsNX.es.js";
1
+ import { jsxs as be, jsx as C } from "react/jsx-runtime";
2
+ import { useCallback as Z, useState as M, useMemo as N, useEffect as ba, useRef as Le } from "react";
3
+ import { mergeRefs as $a } from "@chakra-ui/react";
4
+ import { createSlotRecipeContext as pa, useSlotRecipe as xa } from "@chakra-ui/react/styled-system";
5
+ import { B as va } from "./box-DuBoAZvq.es.js";
6
+ import { KeyboardArrowUp as La, KeyboardArrowDown as Da } from "@commercetools/nimbus-icons";
7
+ import { e as Fa } from "./extractStyleProps-DkXeCUuq.es.js";
8
8
  import { a as De } from "./Button-CNBS3n5a.es.js";
9
- import { $ as Fa } from "./Input-BiHwUBo4.es.js";
10
- import { n as Na } from "./index-DwjTNyza.es.js";
9
+ import { $ as Na } from "./Input-BiHwUBo4.es.js";
10
+ import { n as Fe } from "./index-CRta5Y1_.es.js";
11
11
  import { defineMessages as Pa, useIntl as ga } from "react-intl";
12
12
  import { $ as Ba } from "./context-R4YUlO9Y.es.js";
13
- import { $ as ha } from "./useObjectRef-CaJ5pgjX.es.js";
14
- import { $ as Va } from "./useControlledState-u436Wbp1.es.js";
15
- import { a as g, $ as ee } from "./number-dMxJejI6.es.js";
16
- import { $ as Ca, b as Ea } from "./useFormValidation-4hZ1_a6w.es.js";
13
+ import { $ as Ea } from "./useObjectRef-CaJ5pgjX.es.js";
14
+ import { $ as ha } from "./useControlledState-u436Wbp1.es.js";
15
+ import { a as P, $ as ae } from "./number-dMxJejI6.es.js";
16
+ import { $ as Sa, b as Va } from "./useFormValidation-4hZ1_a6w.es.js";
17
17
  import { $ as $e } from "./NumberFormatter-DgOUVrge.es.js";
18
- import { $ as Sa, a as ya } from "./useSpinButton-C9DPDo0r.es.js";
19
- import { d as Ia, $ as W, a as ae, e as Ma } from "./mergeProps-B_9syxhT.es.js";
18
+ import { $ as Ca, a as ya } from "./useSpinButton-C9DPDo0r.es.js";
19
+ import { d as Ia, $ as z, a as re, e as Ma } from "./mergeProps-B_9syxhT.es.js";
20
20
  import { $ as wa } from "./filterDOMProps-BSVCO5jK.es.js";
21
21
  import { h as ka, d as Oa, f as Aa } from "./platform-Z5fvtFmM.es.js";
22
22
  import { $ as Ta } from "./useFormReset-DurgUJL-.es.js";
@@ -26,127 +26,127 @@ import { $ as Ka } from "./useEvent-YHhqZvpU.es.js";
26
26
  import { $ as Wa } from "./useTextField-BnL6tOdd.es.js";
27
27
  import { $ as Ua } from "./useLocalizedStringFormatter-BRnRyxJp.es.js";
28
28
  import { a as pe } from "./useProgressBar-DHFmTHqL.es.js";
29
- function za(e, a) {
30
- let { onScroll: r, isDisabled: n } = e, o = U((i) => {
31
- i.ctrlKey || (i.preventDefault(), i.stopPropagation(), r && r({
32
- deltaX: i.deltaX,
33
- deltaY: i.deltaY
29
+ function za(e, r) {
30
+ let { onScroll: a, isDisabled: i } = e, o = Z((n) => {
31
+ n.ctrlKey || (n.preventDefault(), n.stopPropagation(), a && a({
32
+ deltaX: n.deltaX,
33
+ deltaY: n.deltaY
34
34
  }));
35
35
  }, [
36
- r
36
+ a
37
37
  ]);
38
- Ka(a, "wheel", n ? void 0 : o);
38
+ Ka(r, "wheel", i ? void 0 : o);
39
39
  }
40
40
  function Za(e) {
41
- let { minValue: a, maxValue: r, step: n, formatOptions: o, value: i, defaultValue: s = NaN, onChange: $, locale: d, isDisabled: v, isReadOnly: p } = e;
42
- i === null && (i = NaN), i !== void 0 && !isNaN(i) && (n !== void 0 && !isNaN(n) ? i = g(i, a, r, n) : i = ee(i, a, r)), isNaN(s) || (n !== void 0 && !isNaN(n) ? s = g(s, a, r, n) : s = ee(s, a, r));
43
- let [l, t] = Va(i, isNaN(s) ? NaN : s, $), [c] = I(l), [L, x] = I(() => isNaN(l) ? "" : new $e(d, o).format(l)), D = N(() => new Sa(d, o), [
41
+ let { minValue: r, maxValue: a, step: i, formatOptions: o, value: n, defaultValue: s = NaN, onChange: p, locale: d, isDisabled: v, isReadOnly: L } = e;
42
+ n === null && (n = NaN), n !== void 0 && !isNaN(n) && (i !== void 0 && !isNaN(i) ? n = P(n, r, a, i) : n = ae(n, r, a)), isNaN(s) || (i !== void 0 && !isNaN(i) ? s = P(s, r, a, i) : s = ae(s, r, a));
43
+ let [l, t] = ha(n, isNaN(s) ? NaN : s, p), [f] = M(l), [D, x] = M(() => isNaN(l) ? "" : new $e(d, o).format(l)), F = N(() => new Ca(d, o), [
44
44
  d,
45
45
  o
46
- ]), h = N(() => D.getNumberingSystem(L), [
47
- D,
48
- L
49
- ]), F = N(() => new $e(d, {
46
+ ]), E = N(() => F.getNumberingSystem(D), [
47
+ F,
48
+ D
49
+ ]), g = N(() => new $e(d, {
50
50
  ...o,
51
- numberingSystem: h
51
+ numberingSystem: E
52
52
  }), [
53
53
  d,
54
54
  o,
55
- h
56
- ]), z = N(() => F.resolvedOptions(), [
57
- F
58
- ]), P = U((u) => isNaN(u) || u === null ? "" : F.format(u), [
59
- F
60
- ]), B = Ca({
55
+ E
56
+ ]), w = N(() => g.resolvedOptions(), [
57
+ g
58
+ ]), m = Z((u) => isNaN(u) || u === null ? "" : g.format(u), [
59
+ g
60
+ ]), B = Sa({
61
61
  ...e,
62
62
  value: l
63
- }), b = n !== void 0 && !isNaN(n) ? n : 1;
64
- z.style === "percent" && (n === void 0 || isNaN(n)) && (b = 0.01);
65
- let [M, Z] = I(l), [w, _] = I(d), [S, q] = I(o);
66
- (!Object.is(l, M) || d !== w || o !== S) && (x(P(l)), Z(l), _(d), q(o));
67
- let f = N(() => D.parse(L), [
68
- D,
69
- L
70
- ]), T = () => {
71
- if (!L.length) {
72
- t(NaN), x(i === void 0 ? "" : P(l));
63
+ }), b = i !== void 0 && !isNaN(i) ? i : 1;
64
+ w.style === "percent" && (i === void 0 || isNaN(i)) && (b = 0.01);
65
+ let [k, _] = M(l), [O, q] = M(d), [y, Y] = M(o);
66
+ (!Object.is(l, k) || d !== O || o !== y) && (x(m(l)), _(l), q(d), Y(o));
67
+ let c = N(() => F.parse(D), [
68
+ F,
69
+ D
70
+ ]), j = () => {
71
+ if (!D.length) {
72
+ t(NaN), x(n === void 0 ? "" : m(l));
73
73
  return;
74
74
  }
75
- if (isNaN(f)) {
76
- x(P(l));
75
+ if (isNaN(c)) {
76
+ x(m(l));
77
77
  return;
78
78
  }
79
79
  let u;
80
- n === void 0 || isNaN(n) ? u = ee(f, a, r) : u = g(f, a, r, n), u = D.parse(P(u)), t(u), x(P(i === void 0 ? u : l)), B.commitValidation();
81
- }, y = (u, K = 0) => {
82
- let V = f;
83
- if (isNaN(V)) {
84
- let C = isNaN(K) ? 0 : K;
85
- return g(C, a, r, b);
80
+ i === void 0 || isNaN(i) ? u = ae(c, r, a) : u = P(c, r, a, i), u = F.parse(m(u)), t(u), x(m(n === void 0 ? u : l)), B.commitValidation();
81
+ }, I = (u, U = 0) => {
82
+ let h = c;
83
+ if (isNaN(h)) {
84
+ let S = isNaN(U) ? 0 : U;
85
+ return P(S, r, a, b);
86
86
  } else {
87
- let C = g(V, a, r, b);
88
- return u === "+" && C > V || u === "-" && C < V ? C : g(re(u, V, b), a, r, b);
87
+ let S = P(h, r, a, b);
88
+ return u === "+" && S > h || u === "-" && S < h ? S : P(te(u, h, b), r, a, b);
89
89
  }
90
- }, k = () => {
91
- let u = y("+", a);
92
- u === l && x(P(u)), t(u), B.commitValidation();
93
- }, Y = () => {
94
- let u = y("-", r);
95
- u === l && x(P(u)), t(u), B.commitValidation();
96
- }, R = () => {
97
- r != null && (t(g(r, a, r, b)), B.commitValidation());
90
+ }, A = () => {
91
+ let u = I("+", r);
92
+ u === l && x(m(u)), t(u), B.commitValidation();
98
93
  }, H = () => {
99
- a != null && (t(a), B.commitValidation());
100
- }, j = N(() => !v && !p && (isNaN(f) || r === void 0 || isNaN(r) || g(f, a, r, b) > f || re("+", f, b) <= r), [
94
+ let u = I("-", a);
95
+ u === l && x(m(u)), t(u), B.commitValidation();
96
+ }, K = () => {
97
+ a != null && (t(P(a, r, a, b)), B.commitValidation());
98
+ }, G = () => {
99
+ r != null && (t(r), B.commitValidation());
100
+ }, W = N(() => !v && !L && (isNaN(c) || a === void 0 || isNaN(a) || P(c, r, a, b) > c || te("+", c, b) <= a), [
101
101
  v,
102
- p,
103
- a,
102
+ L,
104
103
  r,
104
+ a,
105
105
  b,
106
- f
107
- ]), G = N(() => !v && !p && (isNaN(f) || a === void 0 || isNaN(a) || g(f, a, r, b) < f || re("-", f, b) >= a), [
106
+ c
107
+ ]), X = N(() => !v && !L && (isNaN(c) || r === void 0 || isNaN(r) || P(c, r, a, b) < c || te("-", c, b) >= r), [
108
108
  v,
109
- p,
110
- a,
109
+ L,
111
110
  r,
111
+ a,
112
112
  b,
113
- f
113
+ c
114
114
  ]);
115
115
  return {
116
116
  ...B,
117
- validate: (u) => D.isValidPartialNumber(u, a, r),
118
- increment: k,
119
- incrementToMax: R,
120
- decrement: Y,
121
- decrementToMin: H,
122
- canIncrement: j,
123
- canDecrement: G,
124
- minValue: a,
125
- maxValue: r,
126
- numberValue: f,
127
- defaultNumberValue: isNaN(s) ? c : s,
117
+ validate: (u) => F.isValidPartialNumber(u, r, a),
118
+ increment: A,
119
+ incrementToMax: K,
120
+ decrement: H,
121
+ decrementToMin: G,
122
+ canIncrement: W,
123
+ canDecrement: X,
124
+ minValue: r,
125
+ maxValue: a,
126
+ numberValue: c,
127
+ defaultNumberValue: isNaN(s) ? f : s,
128
128
  setNumberValue: t,
129
129
  setInputValue: x,
130
- inputValue: L,
131
- commit: T
130
+ inputValue: D,
131
+ commit: j
132
132
  };
133
133
  }
134
- function re(e, a, r) {
135
- let n = e === "+" ? a + r : a - r;
136
- if (a % 1 !== 0 || r % 1 !== 0) {
137
- const o = a.toString().split("."), i = r.toString().split("."), s = o[1] && o[1].length || 0, $ = i[1] && i[1].length || 0, d = Math.pow(10, Math.max(s, $));
138
- a = Math.round(a * d), r = Math.round(r * d), n = e === "+" ? a + r : a - r, n /= d;
134
+ function te(e, r, a) {
135
+ let i = e === "+" ? r + a : r - a;
136
+ if (r % 1 !== 0 || a % 1 !== 0) {
137
+ const o = r.toString().split("."), n = a.toString().split("."), s = o[1] && o[1].length || 0, p = n[1] && n[1].length || 0, d = Math.pow(10, Math.max(s, p));
138
+ r = Math.round(r * d), a = Math.round(a * d), i = e === "+" ? r + a : r - a, i /= d;
139
139
  }
140
- return n;
140
+ return i;
141
141
  }
142
142
  function xe() {
143
143
  return typeof window < "u" && window.InputEvent && typeof InputEvent.prototype.getTargetRanges == "function";
144
144
  }
145
- function _a(e, a, r) {
146
- let n = Ia((l) => {
147
- let t = r.current;
145
+ function _a(e, r, a) {
146
+ let i = Ia((l) => {
147
+ let t = a.current;
148
148
  if (!t) return;
149
- let c = null;
149
+ let f = null;
150
150
  switch (l.inputType) {
151
151
  case "historyUndo":
152
152
  case "historyRedo":
@@ -156,88 +156,88 @@ function _a(e, a, r) {
156
156
  case "deleteContent":
157
157
  case "deleteByCut":
158
158
  case "deleteByDrag":
159
- c = t.value.slice(0, t.selectionStart) + t.value.slice(t.selectionEnd);
159
+ f = t.value.slice(0, t.selectionStart) + t.value.slice(t.selectionEnd);
160
160
  break;
161
161
  case "deleteContentForward":
162
- c = t.selectionEnd === t.selectionStart ? t.value.slice(0, t.selectionStart) + t.value.slice(t.selectionEnd + 1) : t.value.slice(0, t.selectionStart) + t.value.slice(t.selectionEnd);
162
+ f = t.selectionEnd === t.selectionStart ? t.value.slice(0, t.selectionStart) + t.value.slice(t.selectionEnd + 1) : t.value.slice(0, t.selectionStart) + t.value.slice(t.selectionEnd);
163
163
  break;
164
164
  case "deleteContentBackward":
165
- c = t.selectionEnd === t.selectionStart ? t.value.slice(0, t.selectionStart - 1) + t.value.slice(t.selectionStart) : t.value.slice(0, t.selectionStart) + t.value.slice(t.selectionEnd);
165
+ f = t.selectionEnd === t.selectionStart ? t.value.slice(0, t.selectionStart - 1) + t.value.slice(t.selectionStart) : t.value.slice(0, t.selectionStart) + t.value.slice(t.selectionEnd);
166
166
  break;
167
167
  case "deleteSoftLineBackward":
168
168
  case "deleteHardLineBackward":
169
- c = t.value.slice(t.selectionStart);
169
+ f = t.value.slice(t.selectionStart);
170
170
  break;
171
171
  default:
172
- l.data != null && (c = t.value.slice(0, t.selectionStart) + l.data + t.value.slice(t.selectionEnd));
172
+ l.data != null && (f = t.value.slice(0, t.selectionStart) + l.data + t.value.slice(t.selectionEnd));
173
173
  break;
174
174
  }
175
- (c == null || !a.validate(c)) && l.preventDefault();
175
+ (f == null || !r.validate(f)) && l.preventDefault();
176
176
  });
177
177
  ba(() => {
178
- if (!xe() || !r.current) return;
179
- let l = r.current;
180
- return l.addEventListener("beforeinput", n, !1), () => {
181
- l.removeEventListener("beforeinput", n, !1);
178
+ if (!xe() || !a.current) return;
179
+ let l = a.current;
180
+ return l.addEventListener("beforeinput", i, !1), () => {
181
+ l.removeEventListener("beforeinput", i, !1);
182
182
  };
183
183
  }, [
184
- r,
185
- n
184
+ a,
185
+ i
186
186
  ]);
187
187
  let o = xe() ? null : (l) => {
188
188
  let t = l.target.value.slice(0, l.target.selectionStart) + l.data + l.target.value.slice(l.target.selectionEnd);
189
- a.validate(t) || l.preventDefault();
190
- }, { labelProps: i, inputProps: s, descriptionProps: $, errorMessageProps: d, ...v } = Wa(e, r), p = Le(null);
189
+ r.validate(t) || l.preventDefault();
190
+ }, { labelProps: n, inputProps: s, descriptionProps: p, errorMessageProps: d, ...v } = Wa(e, a), L = Le(null);
191
191
  return {
192
- inputProps: W(s, {
192
+ inputProps: z(s, {
193
193
  onBeforeInput: o,
194
194
  onCompositionStart() {
195
- let { value: l, selectionStart: t, selectionEnd: c } = r.current;
196
- p.current = {
195
+ let { value: l, selectionStart: t, selectionEnd: f } = a.current;
196
+ L.current = {
197
197
  value: l,
198
198
  selectionStart: t,
199
- selectionEnd: c
199
+ selectionEnd: f
200
200
  };
201
201
  },
202
202
  onCompositionEnd() {
203
- if (r.current && !a.validate(r.current.value)) {
204
- let { value: l, selectionStart: t, selectionEnd: c } = p.current;
205
- r.current.value = l, r.current.setSelectionRange(t, c), a.setInputValue(l);
203
+ if (a.current && !r.validate(a.current.value)) {
204
+ let { value: l, selectionStart: t, selectionEnd: f } = L.current;
205
+ a.current.value = l, a.current.setSelectionRange(t, f), r.setInputValue(l);
206
206
  }
207
207
  }
208
208
  }),
209
- labelProps: i,
210
- descriptionProps: $,
209
+ labelProps: n,
210
+ descriptionProps: p,
211
211
  errorMessageProps: d,
212
212
  ...v
213
213
  };
214
214
  }
215
- var Fe = {};
216
- Fe = {
215
+ var Ne = {};
216
+ Ne = {
217
217
  decrease: (e) => `خفض ${e.fieldLabel}`,
218
218
  increase: (e) => `زيادة ${e.fieldLabel}`,
219
219
  numberField: "حقل رقمي"
220
220
  };
221
- var Ne = {};
222
- Ne = {
221
+ var Pe = {};
222
+ Pe = {
223
223
  decrease: (e) => `Намаляване ${e.fieldLabel}`,
224
224
  increase: (e) => `Усилване ${e.fieldLabel}`,
225
225
  numberField: "Номер на полето"
226
226
  };
227
- var Pe = {};
228
- Pe = {
227
+ var ge = {};
228
+ ge = {
229
229
  decrease: (e) => `Snížit ${e.fieldLabel}`,
230
230
  increase: (e) => `Zvýšit ${e.fieldLabel}`,
231
231
  numberField: "Číselné pole"
232
232
  };
233
- var ge = {};
234
- ge = {
233
+ var Be = {};
234
+ Be = {
235
235
  decrease: (e) => `Reducer ${e.fieldLabel}`,
236
236
  increase: (e) => `Øg ${e.fieldLabel}`,
237
237
  numberField: "Talfelt"
238
238
  };
239
- var Be = {};
240
- Be = {
239
+ var Ee = {};
240
+ Ee = {
241
241
  decrease: (e) => `${e.fieldLabel} verringern`,
242
242
  increase: (e) => `${e.fieldLabel} erhöhen`,
243
243
  numberField: "Nummernfeld"
@@ -248,304 +248,304 @@ he = {
248
248
  increase: (e) => `Αύξηση ${e.fieldLabel}`,
249
249
  numberField: "Πεδίο αριθμού"
250
250
  };
251
- var Ve = {};
252
- Ve = {
251
+ var Se = {};
252
+ Se = {
253
253
  decrease: (e) => `Decrease ${e.fieldLabel}`,
254
254
  increase: (e) => `Increase ${e.fieldLabel}`,
255
255
  numberField: "Number field"
256
256
  };
257
- var Ce = {};
258
- Ce = {
257
+ var Ve = {};
258
+ Ve = {
259
259
  decrease: (e) => `Reducir ${e.fieldLabel}`,
260
260
  increase: (e) => `Aumentar ${e.fieldLabel}`,
261
261
  numberField: "Campo de número"
262
262
  };
263
- var Ee = {};
264
- Ee = {
263
+ var Ce = {};
264
+ Ce = {
265
265
  decrease: (e) => `Vähenda ${e.fieldLabel}`,
266
266
  increase: (e) => `Suurenda ${e.fieldLabel}`,
267
267
  numberField: "Numbri väli"
268
268
  };
269
- var Se = {};
270
- Se = {
269
+ var ye = {};
270
+ ye = {
271
271
  decrease: (e) => `Vähennä ${e.fieldLabel}`,
272
272
  increase: (e) => `Lisää ${e.fieldLabel}`,
273
273
  numberField: "Numerokenttä"
274
274
  };
275
- var ye = {};
276
- ye = {
275
+ var Ie = {};
276
+ Ie = {
277
277
  decrease: (e) => `Diminuer ${e.fieldLabel}`,
278
278
  increase: (e) => `Augmenter ${e.fieldLabel}`,
279
279
  numberField: "Champ de nombre"
280
280
  };
281
- var Ie = {};
282
- Ie = {
281
+ var Me = {};
282
+ Me = {
283
283
  decrease: (e) => `הקטן ${e.fieldLabel}`,
284
284
  increase: (e) => `הגדל ${e.fieldLabel}`,
285
285
  numberField: "שדה מספר"
286
286
  };
287
- var Me = {};
288
- Me = {
287
+ var we = {};
288
+ we = {
289
289
  decrease: (e) => `Smanji ${e.fieldLabel}`,
290
290
  increase: (e) => `Povećaj ${e.fieldLabel}`,
291
291
  numberField: "Polje broja"
292
292
  };
293
- var we = {};
294
- we = {
293
+ var ke = {};
294
+ ke = {
295
295
  decrease: (e) => `${e.fieldLabel} csökkentése`,
296
296
  increase: (e) => `${e.fieldLabel} növelése`,
297
297
  numberField: "Számmező"
298
298
  };
299
- var ke = {};
300
- ke = {
299
+ var Oe = {};
300
+ Oe = {
301
301
  decrease: (e) => `Riduci ${e.fieldLabel}`,
302
302
  increase: (e) => `Aumenta ${e.fieldLabel}`,
303
303
  numberField: "Campo numero"
304
304
  };
305
- var Oe = {};
306
- Oe = {
305
+ var Ae = {};
306
+ Ae = {
307
307
  decrease: (e) => `${e.fieldLabel}を縮小`,
308
308
  increase: (e) => `${e.fieldLabel}を拡大`,
309
309
  numberField: "数値フィールド"
310
310
  };
311
- var Ae = {};
312
- Ae = {
311
+ var Te = {};
312
+ Te = {
313
313
  decrease: (e) => `${e.fieldLabel} 감소`,
314
314
  increase: (e) => `${e.fieldLabel} 증가`,
315
315
  numberField: "번호 필드"
316
316
  };
317
- var Te = {};
318
- Te = {
317
+ var Re = {};
318
+ Re = {
319
319
  decrease: (e) => `Sumažinti ${e.fieldLabel}`,
320
320
  increase: (e) => `Padidinti ${e.fieldLabel}`,
321
321
  numberField: "Numerio laukas"
322
322
  };
323
- var Re = {};
324
- Re = {
323
+ var je = {};
324
+ je = {
325
325
  decrease: (e) => `Samazināšana ${e.fieldLabel}`,
326
326
  increase: (e) => `Palielināšana ${e.fieldLabel}`,
327
327
  numberField: "Skaitļu lauks"
328
328
  };
329
- var je = {};
330
- je = {
329
+ var Ke = {};
330
+ Ke = {
331
331
  decrease: (e) => `Reduser ${e.fieldLabel}`,
332
332
  increase: (e) => `Øk ${e.fieldLabel}`,
333
333
  numberField: "Tallfelt"
334
334
  };
335
- var Ke = {};
336
- Ke = {
335
+ var We = {};
336
+ We = {
337
337
  decrease: (e) => `${e.fieldLabel} verlagen`,
338
338
  increase: (e) => `${e.fieldLabel} verhogen`,
339
339
  numberField: "Getalveld"
340
340
  };
341
- var We = {};
342
- We = {
341
+ var Ue = {};
342
+ Ue = {
343
343
  decrease: (e) => `Zmniejsz ${e.fieldLabel}`,
344
344
  increase: (e) => `Zwiększ ${e.fieldLabel}`,
345
345
  numberField: "Pole numeru"
346
346
  };
347
- var Ue = {};
348
- Ue = {
347
+ var ze = {};
348
+ ze = {
349
349
  decrease: (e) => `Diminuir ${e.fieldLabel}`,
350
350
  increase: (e) => `Aumentar ${e.fieldLabel}`,
351
351
  numberField: "Campo de número"
352
352
  };
353
- var ze = {};
354
- ze = {
353
+ var Ze = {};
354
+ Ze = {
355
355
  decrease: (e) => `Diminuir ${e.fieldLabel}`,
356
356
  increase: (e) => `Aumentar ${e.fieldLabel}`,
357
357
  numberField: "Campo numérico"
358
358
  };
359
- var Ze = {};
360
- Ze = {
359
+ var _e = {};
360
+ _e = {
361
361
  decrease: (e) => `Scădere ${e.fieldLabel}`,
362
362
  increase: (e) => `Creștere ${e.fieldLabel}`,
363
363
  numberField: "Câmp numeric"
364
364
  };
365
- var _e = {};
366
- _e = {
365
+ var qe = {};
366
+ qe = {
367
367
  decrease: (e) => `Уменьшение ${e.fieldLabel}`,
368
368
  increase: (e) => `Увеличение ${e.fieldLabel}`,
369
369
  numberField: "Числовое поле"
370
370
  };
371
- var qe = {};
372
- qe = {
371
+ var Ye = {};
372
+ Ye = {
373
373
  decrease: (e) => `Znížiť ${e.fieldLabel}`,
374
374
  increase: (e) => `Zvýšiť ${e.fieldLabel}`,
375
375
  numberField: "Číselné pole"
376
376
  };
377
- var Ye = {};
378
- Ye = {
377
+ var He = {};
378
+ He = {
379
379
  decrease: (e) => `Upadati ${e.fieldLabel}`,
380
380
  increase: (e) => `Povečajte ${e.fieldLabel}`,
381
381
  numberField: "Številčno polje"
382
382
  };
383
- var He = {};
384
- He = {
383
+ var Ge = {};
384
+ Ge = {
385
385
  decrease: (e) => `Smanji ${e.fieldLabel}`,
386
386
  increase: (e) => `Povećaj ${e.fieldLabel}`,
387
387
  numberField: "Polje broja"
388
388
  };
389
- var Ge = {};
390
- Ge = {
389
+ var Xe = {};
390
+ Xe = {
391
391
  decrease: (e) => `Minska ${e.fieldLabel}`,
392
392
  increase: (e) => `Öka ${e.fieldLabel}`,
393
393
  numberField: "Nummerfält"
394
394
  };
395
- var Xe = {};
396
- Xe = {
395
+ var Je = {};
396
+ Je = {
397
397
  decrease: (e) => `${e.fieldLabel} azalt`,
398
398
  increase: (e) => `${e.fieldLabel} arttır`,
399
399
  numberField: "Sayı alanı"
400
400
  };
401
- var Je = {};
402
- Je = {
401
+ var Qe = {};
402
+ Qe = {
403
403
  decrease: (e) => `Зменшити ${e.fieldLabel}`,
404
404
  increase: (e) => `Збільшити ${e.fieldLabel}`,
405
405
  numberField: "Поле номера"
406
406
  };
407
- var Qe = {};
408
- Qe = {
407
+ var ea = {};
408
+ ea = {
409
409
  decrease: (e) => `降低 ${e.fieldLabel}`,
410
410
  increase: (e) => `提高 ${e.fieldLabel}`,
411
411
  numberField: "数字字段"
412
412
  };
413
- var ea = {};
414
- ea = {
413
+ var aa = {};
414
+ aa = {
415
415
  decrease: (e) => `縮小 ${e.fieldLabel}`,
416
416
  increase: (e) => `放大 ${e.fieldLabel}`,
417
417
  numberField: "數字欄位"
418
418
  };
419
- var aa = {};
420
- aa = {
421
- "ar-AE": Fe,
422
- "bg-BG": Ne,
423
- "cs-CZ": Pe,
424
- "da-DK": ge,
425
- "de-DE": Be,
419
+ var ra = {};
420
+ ra = {
421
+ "ar-AE": Ne,
422
+ "bg-BG": Pe,
423
+ "cs-CZ": ge,
424
+ "da-DK": Be,
425
+ "de-DE": Ee,
426
426
  "el-GR": he,
427
- "en-US": Ve,
428
- "es-ES": Ce,
429
- "et-EE": Ee,
430
- "fi-FI": Se,
431
- "fr-FR": ye,
432
- "he-IL": Ie,
433
- "hr-HR": Me,
434
- "hu-HU": we,
435
- "it-IT": ke,
436
- "ja-JP": Oe,
437
- "ko-KR": Ae,
438
- "lt-LT": Te,
439
- "lv-LV": Re,
440
- "nb-NO": je,
441
- "nl-NL": Ke,
442
- "pl-PL": We,
443
- "pt-BR": Ue,
444
- "pt-PT": ze,
445
- "ro-RO": Ze,
446
- "ru-RU": _e,
447
- "sk-SK": qe,
448
- "sl-SI": Ye,
449
- "sr-SP": He,
450
- "sv-SE": Ge,
451
- "tr-TR": Xe,
452
- "uk-UA": Je,
453
- "zh-CN": Qe,
454
- "zh-TW": ea
427
+ "en-US": Se,
428
+ "es-ES": Ve,
429
+ "et-EE": Ce,
430
+ "fi-FI": ye,
431
+ "fr-FR": Ie,
432
+ "he-IL": Me,
433
+ "hr-HR": we,
434
+ "hu-HU": ke,
435
+ "it-IT": Oe,
436
+ "ja-JP": Ae,
437
+ "ko-KR": Te,
438
+ "lt-LT": Re,
439
+ "lv-LV": je,
440
+ "nb-NO": Ke,
441
+ "nl-NL": We,
442
+ "pl-PL": Ue,
443
+ "pt-BR": ze,
444
+ "pt-PT": Ze,
445
+ "ro-RO": _e,
446
+ "ru-RU": qe,
447
+ "sk-SK": Ye,
448
+ "sl-SI": He,
449
+ "sr-SP": Ge,
450
+ "sv-SE": Xe,
451
+ "tr-TR": Je,
452
+ "uk-UA": Qe,
453
+ "zh-CN": ea,
454
+ "zh-TW": aa
455
455
  };
456
456
  function qa(e) {
457
457
  return e && e.__esModule ? e.default : e;
458
458
  }
459
- function Ya(e, a, r) {
460
- let { id: n, decrementAriaLabel: o, incrementAriaLabel: i, isDisabled: s, isReadOnly: $, isRequired: d, minValue: v, maxValue: p, autoFocus: l, label: t, formatOptions: c, onBlur: L = () => {
461
- }, onFocus: x, onFocusChange: D, onKeyDown: h, onKeyUp: F, description: z, errorMessage: P, isWheelDisabled: B, ...b } = e, { increment: M, incrementToMax: Z, decrement: w, decrementToMin: _, numberValue: S, inputValue: q, commit: f, commitValidation: T } = a;
462
- const y = Ua(qa(aa), "@react-aria/numberfield");
463
- let k = ae(n), { focusProps: Y } = Ra({
459
+ function Ya(e, r, a) {
460
+ let { id: i, decrementAriaLabel: o, incrementAriaLabel: n, isDisabled: s, isReadOnly: p, isRequired: d, minValue: v, maxValue: L, autoFocus: l, label: t, formatOptions: f, onBlur: D = () => {
461
+ }, onFocus: x, onFocusChange: F, onKeyDown: E, onKeyUp: g, description: w, errorMessage: m, isWheelDisabled: B, ...b } = e, { increment: k, incrementToMax: _, decrement: O, decrementToMin: q, numberValue: y, inputValue: Y, commit: c, commitValidation: j } = r;
462
+ const I = Ua(qa(ra), "@react-aria/numberfield");
463
+ let A = re(i), { focusProps: H } = Ra({
464
464
  onBlur() {
465
- f();
465
+ c();
466
466
  }
467
- }), R = pe(c), H = N(() => R.resolvedOptions(), [
468
- R
469
- ]), j = pe({
470
- ...c,
467
+ }), K = pe(f), G = N(() => K.resolvedOptions(), [
468
+ K
469
+ ]), W = pe({
470
+ ...f,
471
471
  currencySign: void 0
472
- }), G = N(() => isNaN(S) ? "" : j.format(S), [
473
- j,
474
- S
475
- ]), { spinButtonProps: le, incrementButtonProps: u, decrementButtonProps: K } = ya({
472
+ }), X = N(() => isNaN(y) ? "" : W.format(y), [
473
+ W,
474
+ y
475
+ ]), { spinButtonProps: le, incrementButtonProps: u, decrementButtonProps: U } = ya({
476
476
  isDisabled: s,
477
- isReadOnly: $,
477
+ isReadOnly: p,
478
478
  isRequired: d,
479
- maxValue: p,
479
+ maxValue: L,
480
480
  minValue: v,
481
- onIncrement: M,
482
- onIncrementToMax: Z,
483
- onDecrement: w,
484
- onDecrementToMin: _,
485
- value: S,
486
- textValue: G
487
- }), [V, C] = I(!1), { focusWithinProps: ra } = ja({
481
+ onIncrement: k,
482
+ onIncrementToMax: _,
483
+ onDecrement: O,
484
+ onDecrementToMin: q,
485
+ value: y,
486
+ textValue: X
487
+ }), [h, S] = M(!1), { focusWithinProps: ta } = ja({
488
488
  isDisabled: s,
489
- onFocusWithinChange: C
490
- }), ta = U((m) => {
491
- Math.abs(m.deltaY) <= Math.abs(m.deltaX) || (m.deltaY > 0 ? M() : m.deltaY < 0 && w());
489
+ onFocusWithinChange: S
490
+ }), la = Z(($) => {
491
+ Math.abs($.deltaY) <= Math.abs($.deltaX) || ($.deltaY > 0 ? k() : $.deltaY < 0 && O());
492
492
  }, [
493
- w,
494
- M
493
+ O,
494
+ k
495
495
  ]);
496
496
  za({
497
- onScroll: ta,
498
- isDisabled: B || s || $ || !V
499
- }, r);
500
- var X;
501
- let ie = ((X = H.maximumFractionDigits) !== null && X !== void 0 ? X : 0) > 0, ne = a.minValue === void 0 || isNaN(a.minValue) || a.minValue < 0, O = "numeric";
502
- ka() ? ne ? O = "text" : ie && (O = "decimal") : Oa() && (ne ? O = "numeric" : ie && (O = "decimal"));
503
- let la = (m) => {
504
- a.validate(m) && a.setInputValue(m);
505
- }, ia = wa(e), ue = U((m) => {
506
- m.nativeEvent.isComposing || (m.key === "Enter" ? (f(), T()) : m.continuePropagation());
497
+ onScroll: la,
498
+ isDisabled: B || s || p || !h
499
+ }, a);
500
+ var J;
501
+ let ie = ((J = G.maximumFractionDigits) !== null && J !== void 0 ? J : 0) > 0, ne = r.minValue === void 0 || isNaN(r.minValue) || r.minValue < 0, T = "numeric";
502
+ ka() ? ne ? T = "text" : ie && (T = "decimal") : Oa() && (ne ? T = "numeric" : ie && (T = "decimal"));
503
+ let ia = ($) => {
504
+ r.validate($) && r.setInputValue($);
505
+ }, na = wa(e), ue = Z(($) => {
506
+ $.nativeEvent.isComposing || ($.key === "Enter" ? (c(), j()) : $.continuePropagation());
507
507
  }, [
508
- f,
509
- T
510
- ]), { isInvalid: oe, validationErrors: na, validationDetails: ua } = a.displayValidation, { labelProps: se, inputProps: oa, descriptionProps: sa, errorMessageProps: da } = _a({
508
+ c,
509
+ j
510
+ ]), { isInvalid: oe, validationErrors: ua, validationDetails: oa } = r.displayValidation, { labelProps: se, inputProps: sa, descriptionProps: da, errorMessageProps: ca } = _a({
511
511
  ...b,
512
- ...ia,
512
+ ...na,
513
513
  // These props are added to a hidden input rather than the formatted textfield.
514
514
  name: void 0,
515
515
  form: void 0,
516
516
  label: t,
517
517
  autoFocus: l,
518
518
  isDisabled: s,
519
- isReadOnly: $,
519
+ isReadOnly: p,
520
520
  isRequired: d,
521
521
  validate: void 0,
522
- [Ea]: a,
523
- value: q,
522
+ [Va]: r,
523
+ value: Y,
524
524
  defaultValue: "!",
525
525
  autoComplete: "off",
526
526
  "aria-label": e["aria-label"] || void 0,
527
527
  "aria-labelledby": e["aria-labelledby"] || void 0,
528
- id: k,
528
+ id: A,
529
529
  type: "text",
530
- inputMode: O,
531
- onChange: la,
532
- onBlur: L,
530
+ inputMode: T,
531
+ onChange: ia,
532
+ onBlur: D,
533
533
  onFocus: x,
534
- onFocusChange: D,
535
- onKeyDown: N(() => Ma(ue, h), [
534
+ onFocusChange: F,
535
+ onKeyDown: N(() => Ma(ue, E), [
536
536
  ue,
537
- h
537
+ E
538
538
  ]),
539
- onKeyUp: F,
540
- description: z,
541
- errorMessage: P
542
- }, a, r);
543
- Ta(r, a.defaultNumberValue, a.setNumberValue);
544
- let de = W(le, Y, oa, {
539
+ onKeyUp: g,
540
+ description: w,
541
+ errorMessage: m
542
+ }, r, a);
543
+ Ta(a, r.defaultNumberValue, r.setNumberValue);
544
+ let de = z(le, H, sa, {
545
545
  // override the spinbutton role, we can't focus a spin button with VO
546
546
  role: null,
547
547
  // ignore aria-roledescription on iOS so that required state will announce when it is present
548
- "aria-roledescription": Aa() ? null : y.format("numberField"),
548
+ "aria-roledescription": Aa() ? null : I.format("numberField"),
549
549
  "aria-valuemax": null,
550
550
  "aria-valuemin": null,
551
551
  "aria-valuenow": null,
@@ -554,57 +554,57 @@ function Ya(e, a, r) {
554
554
  spellCheck: "false"
555
555
  });
556
556
  e.validationBehavior === "native" && (de["aria-required"] = void 0);
557
- let ce = (m) => {
558
- var Q;
559
- document.activeElement !== r.current && (m.pointerType === "mouse" ? (Q = r.current) === null || Q === void 0 || Q.focus() : m.target.focus());
560
- }, J = e["aria-label"] || (typeof e.label == "string" ? e.label : ""), E;
561
- J || (E = e.label != null ? se.id : e["aria-labelledby"]);
562
- let fe = ae(), be = ae(), ca = W(u, {
563
- "aria-label": i || y.format("increase", {
564
- fieldLabel: J
557
+ let ce = ($) => {
558
+ var ee;
559
+ document.activeElement !== a.current && ($.pointerType === "mouse" ? (ee = a.current) === null || ee === void 0 || ee.focus() : $.target.focus());
560
+ }, Q = e["aria-label"] || (typeof e.label == "string" ? e.label : ""), V;
561
+ Q || (V = e.label != null ? se.id : e["aria-labelledby"]);
562
+ let fe = re(), me = re(), fa = z(u, {
563
+ "aria-label": n || I.format("increase", {
564
+ fieldLabel: Q
565
565
  }).trim(),
566
- id: E && !i ? fe : null,
567
- "aria-labelledby": E && !i ? `${fe} ${E}` : null,
568
- "aria-controls": k,
566
+ id: V && !n ? fe : null,
567
+ "aria-labelledby": V && !n ? `${fe} ${V}` : null,
568
+ "aria-controls": A,
569
569
  excludeFromTabOrder: !0,
570
570
  preventFocusOnPress: !0,
571
571
  allowFocusWhenDisabled: !0,
572
- isDisabled: !a.canIncrement,
572
+ isDisabled: !r.canIncrement,
573
573
  onPressStart: ce
574
- }), fa = W(K, {
575
- "aria-label": o || y.format("decrease", {
576
- fieldLabel: J
574
+ }), ma = z(U, {
575
+ "aria-label": o || I.format("decrease", {
576
+ fieldLabel: Q
577
577
  }).trim(),
578
- id: E && !o ? be : null,
579
- "aria-labelledby": E && !o ? `${be} ${E}` : null,
580
- "aria-controls": k,
578
+ id: V && !o ? me : null,
579
+ "aria-labelledby": V && !o ? `${me} ${V}` : null,
580
+ "aria-controls": A,
581
581
  excludeFromTabOrder: !0,
582
582
  preventFocusOnPress: !0,
583
583
  allowFocusWhenDisabled: !0,
584
- isDisabled: !a.canDecrement,
584
+ isDisabled: !r.canDecrement,
585
585
  onPressStart: ce
586
586
  });
587
587
  return {
588
588
  groupProps: {
589
- ...ra,
589
+ ...ta,
590
590
  role: "group",
591
591
  "aria-disabled": s,
592
592
  "aria-invalid": oe ? "true" : void 0
593
593
  },
594
594
  labelProps: se,
595
595
  inputProps: de,
596
- incrementButtonProps: ca,
597
- decrementButtonProps: fa,
598
- errorMessageProps: da,
599
- descriptionProps: sa,
596
+ incrementButtonProps: fa,
597
+ decrementButtonProps: ma,
598
+ errorMessageProps: ca,
599
+ descriptionProps: da,
600
600
  isInvalid: oe,
601
- validationErrors: na,
602
- validationDetails: ua
601
+ validationErrors: ua,
602
+ validationDetails: oa
603
603
  };
604
604
  }
605
- const { withContext: te, withProvider: Ha } = /* @__PURE__ */ $a({
606
- key: "numberInput"
607
- }), Ga = /* @__PURE__ */ Ha("div", "root"), Xa = /* @__PURE__ */ te(Fa, "input"), Ja = /* @__PURE__ */ te(De, "incrementButton"), Qa = /* @__PURE__ */ te(De, "decrementButton"), ve = /* @__PURE__ */ Pa({
605
+ const { withContext: R, withProvider: Ha } = /* @__PURE__ */ pa({
606
+ recipe: Fe
607
+ }), Ga = /* @__PURE__ */ Ha("div", "root"), Xa = /* @__PURE__ */ R("div", "leadingElement"), Ja = /* @__PURE__ */ R("div", "trailingElement"), Qa = /* @__PURE__ */ R(Na, "input"), er = /* @__PURE__ */ R(De, "incrementButton"), ar = /* @__PURE__ */ R(De, "decrementButton"), ve = /* @__PURE__ */ Pa({
608
608
  decrement: {
609
609
  id: "Nimbus.NumberInput.decrement",
610
610
  description: "aria-label for the decrement button in number input",
@@ -615,35 +615,43 @@ const { withContext: te, withProvider: Ha } = /* @__PURE__ */ $a({
615
615
  description: "aria-label for the increment button in number input",
616
616
  defaultMessage: "Increment"
617
617
  }
618
- }), er = (e) => {
619
- const { size: a, ref: r, ...n } = e, { locale: o } = Ba(), i = ga(), s = Le(null), $ = ha(ma(s, r)), d = pa({ recipe: Na }), [v, p] = d.splitVariantProps(n), [l, t] = Da(p), c = {
620
- ...t,
621
- locale: o,
622
- incrementAriaLabel: i.formatMessage(ve.increment),
623
- decrementAriaLabel: i.formatMessage(ve.decrement)
624
- }, L = Za(c), { inputProps: x, incrementButtonProps: D, decrementButtonProps: h } = Ya(c, L, $), F = {
618
+ }), rr = (e) => {
619
+ const {
620
+ size: r,
621
+ leadingElement: a,
622
+ trailingElement: i,
623
+ ref: o,
624
+ ...n
625
+ } = e, { locale: s } = Ba(), p = ga(), d = Le(null), v = Ea($a(d, o)), L = xa({ recipe: Fe }), [l, t] = L.splitVariantProps(n), [f, D] = Fa(t), x = {
626
+ ...D,
627
+ locale: s,
628
+ incrementAriaLabel: p.formatMessage(ve.increment),
629
+ decrementAriaLabel: p.formatMessage(ve.decrement)
630
+ }, F = Za(x), { inputProps: E, incrementButtonProps: g, decrementButtonProps: w } = Ya(x, F, v), m = {
625
631
  "data-invalid": e.isInvalid,
626
632
  "data-disabled": e.isDisabled
627
633
  };
628
- return /* @__PURE__ */ me(
634
+ return /* @__PURE__ */ be(
629
635
  Ga,
630
636
  {
631
- ...v,
637
+ ...m,
632
638
  ...l,
633
- size: a,
634
- className: e?.className,
639
+ ...f,
640
+ size: r,
635
641
  children: [
636
- /* @__PURE__ */ A(
637
- Xa,
642
+ a && /* @__PURE__ */ C(Xa, { children: a }),
643
+ /* @__PURE__ */ C(
644
+ Qa,
638
645
  {
639
- ref: $,
640
- ...x,
641
- ...F,
646
+ ref: v,
647
+ ...E,
648
+ ...m,
642
649
  name: e.name
643
650
  }
644
651
  ),
645
- /* @__PURE__ */ me(
646
- xa,
652
+ i && /* @__PURE__ */ C(Ja, { children: i }),
653
+ /* @__PURE__ */ be(
654
+ va,
647
655
  {
648
656
  position: "absolute",
649
657
  top: "0",
@@ -652,20 +660,20 @@ const { withContext: te, withProvider: Ha } = /* @__PURE__ */ $a({
652
660
  flexDirection: "column",
653
661
  height: "full",
654
662
  children: [
655
- /* @__PURE__ */ A(
656
- Ja,
663
+ /* @__PURE__ */ C(
664
+ er,
657
665
  {
658
- ...D,
659
- ...F,
660
- children: /* @__PURE__ */ A(va, {})
666
+ ...g,
667
+ ...m,
668
+ children: /* @__PURE__ */ C(La, {})
661
669
  }
662
670
  ),
663
- /* @__PURE__ */ A(
664
- Qa,
671
+ /* @__PURE__ */ C(
672
+ ar,
665
673
  {
666
- ...h,
667
- ...F,
668
- children: /* @__PURE__ */ A(La, {})
674
+ ...w,
675
+ ...m,
676
+ children: /* @__PURE__ */ C(Da, {})
669
677
  }
670
678
  )
671
679
  ]
@@ -675,8 +683,8 @@ const { withContext: te, withProvider: Ha } = /* @__PURE__ */ $a({
675
683
  }
676
684
  );
677
685
  };
678
- er.displayName = "NumberInput";
686
+ rr.displayName = "NumberInput";
679
687
  export {
680
- er as N
688
+ rr as N
681
689
  };
682
- //# sourceMappingURL=number-input-CjBiCFF6.es.js.map
690
+ //# sourceMappingURL=number-input-COfobs8H.es.js.map