@salutejs/plasma-new-hope 0.176.0-canary.1506.11570845312.0 → 0.176.0-canary.1511.11569320253.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (919) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +1 -1
  2. package/cjs/components/Autocomplete/Autocomplete.tokens.js +0 -1
  3. package/cjs/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  4. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  5. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  6. package/cjs/components/Autocomplete/ui/TextField/{TextField.styles_kcgaix.css → TextField.styles_1csckkd.css} +1 -1
  7. package/cjs/components/Calendar/Calendar.tokens.js +0 -4
  8. package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
  9. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +15 -16
  10. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  11. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  12. package/{es/components/Calendar/CalendarBase/CalendarBase.styles_ni8729.css → cjs/components/Calendar/CalendarBase/CalendarBase.styles_1m6uih1.css} +1 -1
  13. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +15 -16
  14. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.css +4 -4
  15. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +8 -9
  16. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +4 -3
  17. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  18. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +1 -11
  19. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  20. package/{es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_zgya4j.css → cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1jfelqf.css} +0 -1
  21. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  22. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +4 -4
  23. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  24. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
  25. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +1 -1
  26. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
  27. package/{es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles_uzh6dj.css → cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles_1nxxafr.css} +1 -1
  28. package/cjs/components/Combobox/ComboboxNew/Combobox.css +12 -12
  29. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  30. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  31. package/cjs/components/Combobox/ComboboxNew/{Combobox.styles_18a8p75.css → Combobox.styles_1s09ifw.css} +1 -1
  32. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +26 -4
  33. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  34. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  35. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  36. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -1
  37. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  38. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_1kzr84z.css → Item.styles_y71664.css} +2 -2
  39. package/cjs/components/Combobox/ComboboxOld/Combobox.css +5 -5
  40. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +5 -5
  41. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +5 -5
  42. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +5 -5
  43. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +5 -5
  44. package/cjs/components/DatePicker/DatePicker.tokens.js +0 -6
  45. package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -1
  46. package/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
  47. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  48. package/cjs/components/DatePicker/DatePickerBase.styles_mjc9xz.css +2 -0
  49. package/cjs/components/DatePicker/RangeDate/RangeDate.css +19 -20
  50. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +17 -18
  51. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
  52. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +2 -0
  53. package/cjs/components/DatePicker/SingleDate/SingleDate.css +19 -20
  54. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  55. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  56. package/{es/components/DatePicker/SingleDate/SingleDate.styles_e72b5o.css → cjs/components/DatePicker/SingleDate/SingleDate.styles_1rrq00l.css} +1 -1
  57. package/cjs/components/Dropdown/Dropdown.css +5 -5
  58. package/cjs/components/Dropdown/Dropdown.styles.js +1 -1
  59. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  60. package/cjs/components/Dropdown/{Dropdown.styles_dh7ns1.css → Dropdown.styles_1ix6io8.css} +1 -1
  61. package/cjs/components/Dropdown/Dropdown.tokens.js +0 -2
  62. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  63. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +5 -5
  64. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  65. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  66. package/cjs/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_1b439rx.css → DropdownItem.styles_17va0nk.css} +1 -1
  67. package/cjs/components/Notification/Notification.css +11 -11
  68. package/cjs/components/Notification/Notification.js +3 -3
  69. package/cjs/components/Notification/Notification.js.map +1 -1
  70. package/cjs/components/Notification/Notification.styles.js +15 -15
  71. package/cjs/components/Notification/Notification.styles.js.map +1 -1
  72. package/cjs/components/Notification/{Notification.styles_bvno9v.css → Notification.styles_7h8hp0.css} +2 -2
  73. package/cjs/components/Notification/Notification.tokens.js +1 -5
  74. package/cjs/components/Notification/Notification.tokens.js.map +1 -1
  75. package/cjs/components/Notification/NotificationsProvider.css +11 -11
  76. package/cjs/components/NumberInput/NumberInput.css +52 -0
  77. package/cjs/components/NumberInput/NumberInput.js +183 -0
  78. package/cjs/components/NumberInput/NumberInput.js.map +1 -0
  79. package/cjs/components/NumberInput/NumberInput.styles.js +9 -0
  80. package/cjs/components/NumberInput/NumberInput.styles.js.map +1 -0
  81. package/cjs/components/NumberInput/NumberInput.styles_jeawjl.css +1 -0
  82. package/cjs/components/NumberInput/NumberInput.tokens.js +92 -0
  83. package/cjs/components/NumberInput/NumberInput.tokens.js.map +1 -0
  84. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +19 -0
  85. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js.map +1 -0
  86. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +22 -0
  87. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +1 -0
  88. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +1 -0
  89. package/cjs/components/NumberInput/ui/Input/Input.css +15 -0
  90. package/cjs/components/NumberInput/ui/Input/Input.js +199 -0
  91. package/cjs/components/NumberInput/ui/Input/Input.js.map +1 -0
  92. package/cjs/components/NumberInput/ui/Input/Input.styles.js +96 -0
  93. package/cjs/components/NumberInput/ui/Input/Input.styles.js.map +1 -0
  94. package/cjs/components/NumberInput/ui/Input/Input.styles_fhgb95.css +8 -0
  95. package/cjs/components/NumberInput/utils/index.js +8 -0
  96. package/cjs/components/NumberInput/utils/index.js.map +1 -0
  97. package/cjs/components/NumberInput/variations/_background-type/base.js +9 -0
  98. package/cjs/components/NumberInput/variations/_background-type/base.js.map +1 -0
  99. package/cjs/components/NumberInput/variations/_background-type/base_dx9knv.css +1 -0
  100. package/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  101. package/cjs/components/NumberInput/variations/_disabled/base.js.map +1 -0
  102. package/cjs/components/NumberInput/variations/_disabled/base_1sl0mh8.css +1 -0
  103. package/cjs/components/NumberInput/variations/_segmentation/base.js +9 -0
  104. package/cjs/components/NumberInput/variations/_segmentation/base.js.map +1 -0
  105. package/cjs/components/NumberInput/variations/_segmentation/base_1jt83uh.css +1 -0
  106. package/cjs/components/NumberInput/variations/_shape/base.js +9 -0
  107. package/cjs/components/NumberInput/variations/_shape/base.js.map +1 -0
  108. package/cjs/components/NumberInput/variations/_shape/base_k05biw.css +1 -0
  109. package/cjs/components/NumberInput/variations/_size/base.js +9 -0
  110. package/cjs/components/NumberInput/variations/_size/base.js.map +1 -0
  111. package/cjs/components/NumberInput/variations/_size/base_yqdmk4.css +1 -0
  112. package/cjs/components/NumberInput/variations/_view/base.js +9 -0
  113. package/cjs/components/NumberInput/variations/_view/base.js.map +1 -0
  114. package/cjs/components/NumberInput/variations/_view/base_3gefjm.css +1 -0
  115. package/cjs/components/Pagination/Pagination.css +10 -10
  116. package/cjs/components/Pagination/Pagination.js +5 -5
  117. package/cjs/components/Pagination/Pagination.js.map +1 -1
  118. package/cjs/components/Pagination/Pagination.styles.js +3 -3
  119. package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
  120. package/cjs/components/Pagination/{Pagination.styles_1w5oej6.css → Pagination.styles_y6gcva.css} +1 -1
  121. package/cjs/components/Pagination/Pagination.tokens.js +1 -4
  122. package/cjs/components/Pagination/Pagination.tokens.js.map +1 -1
  123. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
  124. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  125. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  126. package/cjs/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_1fesyfv.css → PaginationSelectPerPage.styles_187mk6b.css} +1 -1
  127. package/cjs/components/Slider/Slider.css +13 -15
  128. package/cjs/components/Slider/Slider.js +2 -11
  129. package/cjs/components/Slider/Slider.js.map +1 -1
  130. package/cjs/components/Slider/Slider.tokens.js +17 -23
  131. package/cjs/components/Slider/Slider.tokens.js.map +1 -1
  132. package/cjs/components/Slider/components/Double/Double.css +8 -8
  133. package/cjs/components/Slider/components/Double/Double.js +23 -58
  134. package/cjs/components/Slider/components/Double/Double.js.map +1 -1
  135. package/cjs/components/Slider/components/Single/Single.css +14 -14
  136. package/cjs/components/Slider/components/Single/Single.js +33 -64
  137. package/cjs/components/Slider/components/Single/Single.js.map +1 -1
  138. package/cjs/components/Slider/components/Single/Single.styles.js +4 -4
  139. package/cjs/components/Slider/components/Single/Single.styles.js.map +1 -1
  140. package/cjs/components/Slider/components/Single/Single.styles_1r9f1e0.css +6 -0
  141. package/cjs/components/Slider/components/SliderBase/SliderBase.css +5 -5
  142. package/cjs/components/Slider/components/SliderBase/SliderBase.js +12 -31
  143. package/cjs/components/Slider/components/SliderBase/SliderBase.js.map +1 -1
  144. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  145. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -1
  146. package/cjs/components/Slider/components/SliderBase/SliderBase.styles_9s4eb3.css +5 -0
  147. package/cjs/components/Slider/ui/Handler/Handler.css +3 -3
  148. package/cjs/components/Slider/ui/Handler/Handler.js +88 -49
  149. package/cjs/components/Slider/ui/Handler/Handler.js.map +1 -1
  150. package/cjs/components/Slider/ui/Handler/Handler.styles.js +7 -17
  151. package/cjs/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
  152. package/cjs/components/Slider/ui/Handler/Handler.styles_8crx5z.css +2 -0
  153. package/cjs/components/Slider/ui/Thumb/Thumb.css +1 -1
  154. package/cjs/components/Slider/ui/Thumb/Thumb.js +2 -3
  155. package/cjs/components/Slider/ui/Thumb/Thumb.js.map +1 -1
  156. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js +1 -1
  157. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -1
  158. package/cjs/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +1 -0
  159. package/cjs/components/Slider/utils/index.js +10 -28
  160. package/cjs/components/Slider/utils/index.js.map +1 -1
  161. package/cjs/components/Slider/variations/_view/base.js +1 -1
  162. package/cjs/components/Slider/variations/_view/base.js.map +1 -1
  163. package/cjs/components/Slider/variations/_view/base_x642ct.css +1 -0
  164. package/cjs/components/Tabs/tokens.js +1 -7
  165. package/cjs/components/Tabs/tokens.js.map +1 -1
  166. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -5
  167. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  168. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  169. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/{HorizontalTabItem.styles_uaaqqg.css → HorizontalTabItem.styles_hfqv5b.css} +1 -1
  170. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -5
  171. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  172. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  173. package/{es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_1g7zipg.css → cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_16d3lah.css} +1 -1
  174. package/cjs/components/Toast/Toast.css +5 -5
  175. package/cjs/components/Toast/Toast.js +3 -3
  176. package/cjs/components/Toast/Toast.js.map +1 -1
  177. package/cjs/components/Toast/Toast.styles.js +3 -3
  178. package/cjs/components/Toast/Toast.styles.js.map +1 -1
  179. package/cjs/components/Toast/{Toast.styles_1nei944.css → Toast.styles_1v9oj7f.css} +1 -1
  180. package/cjs/components/Toast/Toast.tokens.js +1 -3
  181. package/cjs/components/Toast/Toast.tokens.js.map +1 -1
  182. package/cjs/components/Toast/ToastController.css +5 -5
  183. package/cjs/index.css +111 -91
  184. package/cjs/index.js +6 -0
  185. package/cjs/index.js.map +1 -1
  186. package/cjs/utils/index.js.map +1 -1
  187. package/emotion/cjs/components/Autocomplete/Autocomplete.tokens.js +0 -1
  188. package/emotion/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  189. package/emotion/cjs/components/Calendar/Calendar.tokens.js +0 -4
  190. package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  191. package/emotion/cjs/components/Calendar/mixins/selected.js +2 -3
  192. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  193. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +17 -22
  194. package/emotion/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +4 -5
  195. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  196. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -4
  197. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -12
  198. package/emotion/cjs/components/DatePicker/DatePicker.tokens.js +0 -6
  199. package/emotion/cjs/components/DatePicker/DatePickerBase.styles.js +3 -3
  200. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  201. package/emotion/cjs/components/Dropdown/Dropdown.styles.js +2 -2
  202. package/emotion/cjs/components/Dropdown/Dropdown.tokens.js +1 -2
  203. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +6 -6
  204. package/emotion/cjs/components/Notification/Notification.js +4 -4
  205. package/emotion/cjs/components/Notification/Notification.styles.js +11 -11
  206. package/emotion/cjs/components/Notification/Notification.tokens.js +1 -5
  207. package/emotion/cjs/components/NumberInput/NumberInput.js +193 -0
  208. package/emotion/cjs/components/NumberInput/NumberInput.styles.js +17 -0
  209. package/emotion/cjs/components/NumberInput/NumberInput.tokens.js +89 -0
  210. package/emotion/cjs/components/NumberInput/NumberInput.types.js +5 -0
  211. package/emotion/cjs/components/NumberInput/index.js +31 -0
  212. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +18 -0
  213. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +16 -0
  214. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +5 -0
  215. package/emotion/cjs/components/NumberInput/ui/Input/Input.js +207 -0
  216. package/emotion/cjs/components/NumberInput/ui/Input/Input.styles.js +81 -0
  217. package/emotion/cjs/components/NumberInput/ui/Input/Input.types.js +5 -0
  218. package/emotion/cjs/components/NumberInput/ui/index.js +19 -0
  219. package/emotion/cjs/components/NumberInput/utils/index.js +7 -0
  220. package/emotion/cjs/components/NumberInput/variations/_background-type/base.js +10 -0
  221. package/emotion/cjs/components/NumberInput/variations/_background-type/tokens.json +6 -0
  222. package/emotion/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  223. package/emotion/cjs/components/NumberInput/variations/_disabled/tokens.json +4 -0
  224. package/emotion/cjs/components/NumberInput/variations/_segmentation/base.js +12 -0
  225. package/emotion/cjs/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  226. package/emotion/cjs/components/NumberInput/variations/_shape/base.js +11 -0
  227. package/emotion/cjs/components/NumberInput/variations/_shape/tokens.json +1 -0
  228. package/emotion/cjs/components/NumberInput/variations/_size/base.js +13 -0
  229. package/emotion/cjs/components/NumberInput/variations/_size/tokens.json +22 -0
  230. package/emotion/cjs/components/NumberInput/variations/_view/base.js +13 -0
  231. package/emotion/cjs/components/NumberInput/variations/_view/tokens.json +14 -0
  232. package/emotion/cjs/components/Pagination/Pagination.js +5 -5
  233. package/emotion/cjs/components/Pagination/Pagination.styles.js +8 -8
  234. package/emotion/cjs/components/Pagination/Pagination.tokens.js +1 -4
  235. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  236. package/emotion/cjs/components/Slider/Slider.js +2 -10
  237. package/emotion/cjs/components/Slider/Slider.template-doc.mdx +0 -26
  238. package/emotion/cjs/components/Slider/Slider.tokens.js +17 -23
  239. package/emotion/cjs/components/Slider/components/Double/Double.js +19 -54
  240. package/emotion/cjs/components/Slider/components/Single/Single.js +33 -64
  241. package/emotion/cjs/components/Slider/components/Single/Single.styles.js +9 -18
  242. package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.js +12 -31
  243. package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +10 -10
  244. package/emotion/cjs/components/Slider/ui/Handler/Handler.js +88 -52
  245. package/emotion/cjs/components/Slider/ui/Handler/Handler.styles.js +15 -9
  246. package/emotion/cjs/components/Slider/ui/Thumb/Thumb.js +2 -3
  247. package/emotion/cjs/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
  248. package/emotion/cjs/components/Slider/utils/index.js +10 -28
  249. package/emotion/cjs/components/Slider/variations/_view/base.js +1 -2
  250. package/emotion/cjs/components/Tabs/tokens.js +1 -7
  251. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +5 -5
  252. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  253. package/emotion/cjs/components/Toast/Toast.js +4 -4
  254. package/emotion/cjs/components/Toast/Toast.styles.js +6 -6
  255. package/emotion/cjs/components/Toast/Toast.tokens.js +1 -3
  256. package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  257. package/emotion/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  258. package/emotion/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  259. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  260. package/emotion/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +7 -7
  261. package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  262. package/emotion/cjs/examples/plasma_b2c/components/Notification/Notification.config.js +5 -5
  263. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +46 -0
  264. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +11 -0
  265. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  266. package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +7 -7
  267. package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +16 -98
  268. package/emotion/cjs/examples/plasma_b2c/components/Toast/Toast.config.js +5 -5
  269. package/emotion/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  270. package/emotion/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  271. package/emotion/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  272. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  273. package/emotion/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +7 -7
  274. package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  275. package/emotion/cjs/examples/plasma_web/components/Notification/Notification.config.js +5 -5
  276. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +46 -0
  277. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
  278. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  279. package/emotion/cjs/examples/plasma_web/components/Slider/Slider.config.js +7 -7
  280. package/emotion/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +15 -98
  281. package/emotion/cjs/examples/plasma_web/components/Toast/Toast.config.js +5 -5
  282. package/emotion/cjs/index.js +11 -0
  283. package/emotion/es/components/Autocomplete/Autocomplete.tokens.js +0 -1
  284. package/emotion/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  285. package/emotion/es/components/Calendar/Calendar.tokens.js +0 -4
  286. package/emotion/es/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  287. package/emotion/es/components/Calendar/mixins/selected.js +2 -3
  288. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  289. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +16 -21
  290. package/emotion/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +4 -5
  291. package/emotion/es/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  292. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -4
  293. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -12
  294. package/emotion/es/components/DatePicker/DatePicker.tokens.js +0 -6
  295. package/emotion/es/components/DatePicker/DatePickerBase.styles.js +3 -3
  296. package/emotion/es/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  297. package/emotion/es/components/Dropdown/Dropdown.styles.js +2 -2
  298. package/emotion/es/components/Dropdown/Dropdown.tokens.js +1 -2
  299. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +6 -6
  300. package/emotion/es/components/Notification/Notification.js +4 -4
  301. package/emotion/es/components/Notification/Notification.styles.js +11 -11
  302. package/emotion/es/components/Notification/Notification.tokens.js +1 -5
  303. package/emotion/es/components/NumberInput/NumberInput.js +185 -0
  304. package/emotion/es/components/NumberInput/NumberInput.styles.js +11 -0
  305. package/emotion/es/components/NumberInput/NumberInput.tokens.js +83 -0
  306. package/emotion/es/components/NumberInput/NumberInput.types.js +1 -0
  307. package/emotion/es/components/NumberInput/index.js +2 -0
  308. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.js +11 -0
  309. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +9 -0
  310. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +1 -0
  311. package/emotion/es/components/NumberInput/ui/Input/Input.js +198 -0
  312. package/emotion/es/components/NumberInput/ui/Input/Input.styles.js +74 -0
  313. package/emotion/es/components/NumberInput/ui/Input/Input.types.js +1 -0
  314. package/emotion/es/components/NumberInput/ui/index.js +2 -0
  315. package/emotion/es/components/NumberInput/utils/index.js +1 -0
  316. package/emotion/es/components/NumberInput/variations/_background-type/base.js +4 -0
  317. package/emotion/es/components/NumberInput/variations/_background-type/tokens.json +6 -0
  318. package/emotion/es/components/NumberInput/variations/_disabled/base.js +3 -0
  319. package/emotion/es/components/NumberInput/variations/_disabled/tokens.json +4 -0
  320. package/emotion/es/components/NumberInput/variations/_segmentation/base.js +6 -0
  321. package/emotion/es/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  322. package/emotion/es/components/NumberInput/variations/_shape/base.js +5 -0
  323. package/emotion/es/components/NumberInput/variations/_shape/tokens.json +1 -0
  324. package/emotion/es/components/NumberInput/variations/_size/base.js +7 -0
  325. package/emotion/es/components/NumberInput/variations/_size/tokens.json +22 -0
  326. package/emotion/es/components/NumberInput/variations/_view/base.js +7 -0
  327. package/emotion/es/components/NumberInput/variations/_view/tokens.json +14 -0
  328. package/emotion/es/components/Pagination/Pagination.js +5 -5
  329. package/emotion/es/components/Pagination/Pagination.styles.js +8 -8
  330. package/emotion/es/components/Pagination/Pagination.tokens.js +1 -4
  331. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  332. package/emotion/es/components/Slider/Slider.js +2 -11
  333. package/emotion/es/components/Slider/Slider.template-doc.mdx +0 -26
  334. package/emotion/es/components/Slider/Slider.tokens.js +17 -23
  335. package/emotion/es/components/Slider/components/Double/Double.js +19 -54
  336. package/emotion/es/components/Slider/components/Single/Single.js +34 -65
  337. package/emotion/es/components/Slider/components/Single/Single.styles.js +8 -17
  338. package/emotion/es/components/Slider/components/SliderBase/SliderBase.js +12 -31
  339. package/emotion/es/components/Slider/components/SliderBase/SliderBase.styles.js +11 -11
  340. package/emotion/es/components/Slider/ui/Handler/Handler.js +86 -51
  341. package/emotion/es/components/Slider/ui/Handler/Handler.styles.js +16 -10
  342. package/emotion/es/components/Slider/ui/Thumb/Thumb.js +2 -3
  343. package/emotion/es/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
  344. package/emotion/es/components/Slider/utils/index.js +10 -28
  345. package/emotion/es/components/Slider/variations/_view/base.js +1 -2
  346. package/emotion/es/components/Tabs/tokens.js +1 -7
  347. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +5 -5
  348. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  349. package/emotion/es/components/Toast/Toast.js +4 -4
  350. package/emotion/es/components/Toast/Toast.styles.js +6 -6
  351. package/emotion/es/components/Toast/Toast.tokens.js +1 -3
  352. package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  353. package/emotion/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  354. package/emotion/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  355. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  356. package/emotion/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +7 -7
  357. package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  358. package/emotion/es/examples/plasma_b2c/components/Notification/Notification.config.js +5 -5
  359. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +40 -0
  360. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
  361. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  362. package/emotion/es/examples/plasma_b2c/components/Slider/Slider.config.js +7 -7
  363. package/emotion/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +16 -98
  364. package/emotion/es/examples/plasma_b2c/components/Toast/Toast.config.js +5 -5
  365. package/emotion/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  366. package/emotion/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  367. package/emotion/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  368. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  369. package/emotion/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +7 -7
  370. package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  371. package/emotion/es/examples/plasma_web/components/Notification/Notification.config.js +5 -5
  372. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +40 -0
  373. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
  374. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  375. package/emotion/es/examples/plasma_web/components/Slider/Slider.config.js +7 -7
  376. package/emotion/es/examples/plasma_web/components/Slider/Slider.stories.tsx +15 -98
  377. package/emotion/es/examples/plasma_web/components/Toast/Toast.config.js +5 -5
  378. package/emotion/es/index.js +2 -1
  379. package/es/components/Autocomplete/Autocomplete.css +1 -1
  380. package/es/components/Autocomplete/Autocomplete.tokens.js +0 -1
  381. package/es/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  382. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  383. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  384. package/es/components/Autocomplete/ui/TextField/{TextField.styles_kcgaix.css → TextField.styles_1csckkd.css} +1 -1
  385. package/es/components/Calendar/Calendar.tokens.js +0 -4
  386. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  387. package/es/components/Calendar/CalendarBase/CalendarBase.css +15 -16
  388. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  389. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  390. package/{cjs/components/Calendar/CalendarBase/CalendarBase.styles_ni8729.css → es/components/Calendar/CalendarBase/CalendarBase.styles_1m6uih1.css} +1 -1
  391. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +15 -16
  392. package/es/components/Calendar/ui/CalendarDays/CalendarDays.css +4 -4
  393. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +8 -9
  394. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -4
  395. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  396. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +2 -11
  397. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  398. package/{cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_zgya4j.css → es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1jfelqf.css} +0 -1
  399. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  400. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +4 -4
  401. package/es/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  402. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
  403. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +1 -1
  404. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
  405. package/{cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles_uzh6dj.css → es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles_1nxxafr.css} +1 -1
  406. package/es/components/Combobox/ComboboxNew/Combobox.css +12 -12
  407. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +3 -3
  408. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  409. package/es/components/Combobox/ComboboxNew/{Combobox.styles_18a8p75.css → Combobox.styles_1s09ifw.css} +1 -1
  410. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +26 -5
  411. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  412. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  413. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  414. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -1
  415. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  416. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_1kzr84z.css → Item.styles_y71664.css} +2 -2
  417. package/es/components/Combobox/ComboboxOld/Combobox.css +5 -5
  418. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +5 -5
  419. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +5 -5
  420. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +5 -5
  421. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +5 -5
  422. package/es/components/DatePicker/DatePicker.tokens.js +0 -6
  423. package/es/components/DatePicker/DatePicker.tokens.js.map +1 -1
  424. package/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  425. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  426. package/es/components/DatePicker/DatePickerBase.styles_mjc9xz.css +2 -0
  427. package/es/components/DatePicker/RangeDate/RangeDate.css +19 -20
  428. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +17 -18
  429. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
  430. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +2 -0
  431. package/es/components/DatePicker/SingleDate/SingleDate.css +19 -20
  432. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  433. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  434. package/{cjs/components/DatePicker/SingleDate/SingleDate.styles_e72b5o.css → es/components/DatePicker/SingleDate/SingleDate.styles_1rrq00l.css} +1 -1
  435. package/es/components/Dropdown/Dropdown.css +5 -5
  436. package/es/components/Dropdown/Dropdown.styles.js +1 -1
  437. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  438. package/es/components/Dropdown/{Dropdown.styles_dh7ns1.css → Dropdown.styles_1ix6io8.css} +1 -1
  439. package/es/components/Dropdown/Dropdown.tokens.js +0 -2
  440. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  441. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +5 -5
  442. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  443. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  444. package/es/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_1b439rx.css → DropdownItem.styles_17va0nk.css} +1 -1
  445. package/es/components/Notification/Notification.css +11 -11
  446. package/es/components/Notification/Notification.js +4 -4
  447. package/es/components/Notification/Notification.js.map +1 -1
  448. package/es/components/Notification/Notification.styles.js +15 -15
  449. package/es/components/Notification/Notification.styles.js.map +1 -1
  450. package/es/components/Notification/{Notification.styles_bvno9v.css → Notification.styles_7h8hp0.css} +2 -2
  451. package/es/components/Notification/Notification.tokens.js +1 -5
  452. package/es/components/Notification/Notification.tokens.js.map +1 -1
  453. package/es/components/Notification/NotificationsProvider.css +11 -11
  454. package/es/components/NumberInput/NumberInput.css +52 -0
  455. package/es/components/NumberInput/NumberInput.js +178 -0
  456. package/es/components/NumberInput/NumberInput.js.map +1 -0
  457. package/es/components/NumberInput/NumberInput.styles.js +5 -0
  458. package/es/components/NumberInput/NumberInput.styles.js.map +1 -0
  459. package/es/components/NumberInput/NumberInput.styles_jeawjl.css +1 -0
  460. package/es/components/NumberInput/NumberInput.tokens.js +86 -0
  461. package/es/components/NumberInput/NumberInput.tokens.js.map +1 -0
  462. package/es/components/NumberInput/ui/ActionButton/ActionButton.js +15 -0
  463. package/es/components/NumberInput/ui/ActionButton/ActionButton.js.map +1 -0
  464. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +18 -0
  465. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +1 -0
  466. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +1 -0
  467. package/es/components/NumberInput/ui/Input/Input.css +15 -0
  468. package/es/components/NumberInput/ui/Input/Input.js +195 -0
  469. package/es/components/NumberInput/ui/Input/Input.js.map +1 -0
  470. package/es/components/NumberInput/ui/Input/Input.styles.js +85 -0
  471. package/es/components/NumberInput/ui/Input/Input.styles.js.map +1 -0
  472. package/es/components/NumberInput/ui/Input/Input.styles_fhgb95.css +8 -0
  473. package/es/components/NumberInput/utils/index.js +4 -0
  474. package/es/components/NumberInput/utils/index.js.map +1 -0
  475. package/es/components/NumberInput/variations/_background-type/base.js +5 -0
  476. package/es/components/NumberInput/variations/_background-type/base.js.map +1 -0
  477. package/es/components/NumberInput/variations/_background-type/base_dx9knv.css +1 -0
  478. package/es/components/NumberInput/variations/_disabled/base.js +5 -0
  479. package/es/components/NumberInput/variations/_disabled/base.js.map +1 -0
  480. package/es/components/NumberInput/variations/_disabled/base_1sl0mh8.css +1 -0
  481. package/es/components/NumberInput/variations/_segmentation/base.js +5 -0
  482. package/es/components/NumberInput/variations/_segmentation/base.js.map +1 -0
  483. package/es/components/NumberInput/variations/_segmentation/base_1jt83uh.css +1 -0
  484. package/es/components/NumberInput/variations/_shape/base.js +5 -0
  485. package/es/components/NumberInput/variations/_shape/base.js.map +1 -0
  486. package/es/components/NumberInput/variations/_shape/base_k05biw.css +1 -0
  487. package/es/components/NumberInput/variations/_size/base.js +5 -0
  488. package/es/components/NumberInput/variations/_size/base.js.map +1 -0
  489. package/es/components/NumberInput/variations/_size/base_yqdmk4.css +1 -0
  490. package/es/components/NumberInput/variations/_view/base.js +5 -0
  491. package/es/components/NumberInput/variations/_view/base.js.map +1 -0
  492. package/es/components/NumberInput/variations/_view/base_3gefjm.css +1 -0
  493. package/es/components/Pagination/Pagination.css +10 -10
  494. package/es/components/Pagination/Pagination.js +5 -5
  495. package/es/components/Pagination/Pagination.js.map +1 -1
  496. package/es/components/Pagination/Pagination.styles.js +3 -3
  497. package/es/components/Pagination/Pagination.styles.js.map +1 -1
  498. package/es/components/Pagination/{Pagination.styles_1w5oej6.css → Pagination.styles_y6gcva.css} +1 -1
  499. package/es/components/Pagination/Pagination.tokens.js +1 -4
  500. package/es/components/Pagination/Pagination.tokens.js.map +1 -1
  501. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
  502. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  503. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  504. package/es/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_1fesyfv.css → PaginationSelectPerPage.styles_187mk6b.css} +1 -1
  505. package/es/components/Slider/Slider.css +13 -15
  506. package/es/components/Slider/Slider.js +2 -11
  507. package/es/components/Slider/Slider.js.map +1 -1
  508. package/es/components/Slider/Slider.tokens.js +17 -23
  509. package/es/components/Slider/Slider.tokens.js.map +1 -1
  510. package/es/components/Slider/components/Double/Double.css +8 -8
  511. package/es/components/Slider/components/Double/Double.js +19 -54
  512. package/es/components/Slider/components/Double/Double.js.map +1 -1
  513. package/es/components/Slider/components/Single/Single.css +14 -14
  514. package/es/components/Slider/components/Single/Single.js +34 -65
  515. package/es/components/Slider/components/Single/Single.js.map +1 -1
  516. package/es/components/Slider/components/Single/Single.styles.js +4 -4
  517. package/es/components/Slider/components/Single/Single.styles.js.map +1 -1
  518. package/es/components/Slider/components/Single/Single.styles_1r9f1e0.css +6 -0
  519. package/es/components/Slider/components/SliderBase/SliderBase.css +5 -5
  520. package/es/components/Slider/components/SliderBase/SliderBase.js +12 -31
  521. package/es/components/Slider/components/SliderBase/SliderBase.js.map +1 -1
  522. package/es/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  523. package/es/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -1
  524. package/es/components/Slider/components/SliderBase/SliderBase.styles_9s4eb3.css +5 -0
  525. package/es/components/Slider/ui/Handler/Handler.css +3 -3
  526. package/es/components/Slider/ui/Handler/Handler.js +87 -48
  527. package/es/components/Slider/ui/Handler/Handler.js.map +1 -1
  528. package/es/components/Slider/ui/Handler/Handler.styles.js +7 -17
  529. package/es/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
  530. package/es/components/Slider/ui/Handler/Handler.styles_8crx5z.css +2 -0
  531. package/es/components/Slider/ui/Thumb/Thumb.css +1 -1
  532. package/es/components/Slider/ui/Thumb/Thumb.js +2 -3
  533. package/es/components/Slider/ui/Thumb/Thumb.js.map +1 -1
  534. package/es/components/Slider/ui/Thumb/Thumb.styles.js +1 -1
  535. package/es/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -1
  536. package/es/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +1 -0
  537. package/es/components/Slider/utils/index.js +10 -28
  538. package/es/components/Slider/utils/index.js.map +1 -1
  539. package/es/components/Slider/variations/_view/base.js +1 -1
  540. package/es/components/Slider/variations/_view/base.js.map +1 -1
  541. package/es/components/Slider/variations/_view/base_x642ct.css +1 -0
  542. package/es/components/Tabs/tokens.js +1 -7
  543. package/es/components/Tabs/tokens.js.map +1 -1
  544. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -5
  545. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  546. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  547. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/{HorizontalTabItem.styles_uaaqqg.css → HorizontalTabItem.styles_hfqv5b.css} +1 -1
  548. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -5
  549. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  550. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  551. package/{cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_1g7zipg.css → es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_16d3lah.css} +1 -1
  552. package/es/components/Toast/Toast.css +5 -5
  553. package/es/components/Toast/Toast.js +4 -4
  554. package/es/components/Toast/Toast.js.map +1 -1
  555. package/es/components/Toast/Toast.styles.js +3 -3
  556. package/es/components/Toast/Toast.styles.js.map +1 -1
  557. package/es/components/Toast/{Toast.styles_1nei944.css → Toast.styles_1v9oj7f.css} +1 -1
  558. package/es/components/Toast/Toast.tokens.js +1 -3
  559. package/es/components/Toast/Toast.tokens.js.map +1 -1
  560. package/es/components/Toast/ToastController.css +5 -5
  561. package/es/index.css +111 -91
  562. package/es/index.js +2 -0
  563. package/es/index.js.map +1 -1
  564. package/es/utils/index.js.map +1 -1
  565. package/package.json +2 -2
  566. package/styled-components/cjs/components/Autocomplete/Autocomplete.tokens.js +0 -1
  567. package/styled-components/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  568. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +0 -4
  569. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  570. package/styled-components/cjs/components/Calendar/mixins/selected.js +2 -3
  571. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  572. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +2 -6
  573. package/styled-components/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +0 -1
  574. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  575. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -4
  576. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +2 -2
  577. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +0 -6
  578. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
  579. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  580. package/styled-components/cjs/components/Dropdown/Dropdown.styles.js +2 -2
  581. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +1 -2
  582. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  583. package/styled-components/cjs/components/Notification/Notification.js +4 -4
  584. package/styled-components/cjs/components/Notification/Notification.styles.js +2 -2
  585. package/styled-components/cjs/components/Notification/Notification.tokens.js +1 -5
  586. package/styled-components/cjs/components/NumberInput/NumberInput.js +193 -0
  587. package/styled-components/cjs/components/NumberInput/NumberInput.styles.js +8 -0
  588. package/styled-components/cjs/components/NumberInput/NumberInput.tokens.js +89 -0
  589. package/styled-components/cjs/components/NumberInput/NumberInput.types.js +5 -0
  590. package/styled-components/cjs/components/NumberInput/index.js +31 -0
  591. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +18 -0
  592. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +15 -0
  593. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +5 -0
  594. package/styled-components/cjs/components/NumberInput/ui/Input/Input.js +207 -0
  595. package/styled-components/cjs/components/NumberInput/ui/Input/Input.styles.js +48 -0
  596. package/styled-components/cjs/components/NumberInput/ui/Input/Input.types.js +5 -0
  597. package/styled-components/cjs/components/NumberInput/ui/index.js +19 -0
  598. package/styled-components/cjs/components/NumberInput/utils/index.js +7 -0
  599. package/styled-components/cjs/components/NumberInput/variations/_background-type/base.js +10 -0
  600. package/styled-components/cjs/components/NumberInput/variations/_background-type/tokens.json +6 -0
  601. package/styled-components/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  602. package/styled-components/cjs/components/NumberInput/variations/_disabled/tokens.json +4 -0
  603. package/styled-components/cjs/components/NumberInput/variations/_segmentation/base.js +12 -0
  604. package/styled-components/cjs/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  605. package/styled-components/cjs/components/NumberInput/variations/_shape/base.js +11 -0
  606. package/styled-components/cjs/components/NumberInput/variations/_shape/tokens.json +1 -0
  607. package/styled-components/cjs/components/NumberInput/variations/_size/base.js +13 -0
  608. package/styled-components/cjs/components/NumberInput/variations/_size/tokens.json +22 -0
  609. package/styled-components/cjs/components/NumberInput/variations/_view/base.js +13 -0
  610. package/styled-components/cjs/components/NumberInput/variations/_view/tokens.json +14 -0
  611. package/styled-components/cjs/components/Pagination/Pagination.js +5 -5
  612. package/styled-components/cjs/components/Pagination/Pagination.styles.js +1 -1
  613. package/styled-components/cjs/components/Pagination/Pagination.tokens.js +1 -4
  614. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  615. package/styled-components/cjs/components/Slider/Slider.js +2 -10
  616. package/styled-components/cjs/components/Slider/Slider.template-doc.mdx +0 -26
  617. package/styled-components/cjs/components/Slider/Slider.tokens.js +17 -23
  618. package/styled-components/cjs/components/Slider/components/Double/Double.js +19 -54
  619. package/styled-components/cjs/components/Slider/components/Single/Single.js +33 -64
  620. package/styled-components/cjs/components/Slider/components/Single/Single.styles.js +6 -6
  621. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.js +12 -31
  622. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +6 -6
  623. package/styled-components/cjs/components/Slider/ui/Handler/Handler.js +88 -52
  624. package/styled-components/cjs/components/Slider/ui/Handler/Handler.styles.js +4 -7
  625. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.js +2 -3
  626. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.styles.js +2 -2
  627. package/styled-components/cjs/components/Slider/utils/index.js +10 -28
  628. package/styled-components/cjs/components/Slider/variations/_view/base.js +1 -2
  629. package/styled-components/cjs/components/Tabs/tokens.js +1 -7
  630. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  631. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  632. package/styled-components/cjs/components/Toast/Toast.js +4 -4
  633. package/styled-components/cjs/components/Toast/Toast.styles.js +1 -1
  634. package/styled-components/cjs/components/Toast/Toast.tokens.js +1 -3
  635. package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +4 -4
  636. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  637. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  638. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  639. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +5 -5
  640. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +1 -1
  641. package/styled-components/cjs/examples/plasma_b2c/components/Notification/Notification.config.js +2 -2
  642. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +46 -0
  643. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +11 -0
  644. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  645. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +3 -3
  646. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +16 -98
  647. package/styled-components/cjs/examples/plasma_b2c/components/Toast/Toast.config.js +1 -1
  648. package/styled-components/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +4 -4
  649. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  650. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  651. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  652. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +5 -5
  653. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +1 -1
  654. package/styled-components/cjs/examples/plasma_web/components/Notification/Notification.config.js +2 -2
  655. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +46 -0
  656. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
  657. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  658. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.config.js +3 -3
  659. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +15 -98
  660. package/styled-components/cjs/examples/plasma_web/components/Toast/Toast.config.js +1 -1
  661. package/styled-components/cjs/index.js +11 -0
  662. package/styled-components/es/components/Autocomplete/Autocomplete.tokens.js +0 -1
  663. package/styled-components/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  664. package/styled-components/es/components/Calendar/Calendar.tokens.js +0 -4
  665. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  666. package/styled-components/es/components/Calendar/mixins/selected.js +2 -3
  667. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  668. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +1 -5
  669. package/styled-components/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +0 -1
  670. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  671. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -4
  672. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +2 -2
  673. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +0 -6
  674. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  675. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  676. package/styled-components/es/components/Dropdown/Dropdown.styles.js +2 -2
  677. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +1 -2
  678. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  679. package/styled-components/es/components/Notification/Notification.js +4 -4
  680. package/styled-components/es/components/Notification/Notification.styles.js +2 -2
  681. package/styled-components/es/components/Notification/Notification.tokens.js +1 -5
  682. package/styled-components/es/components/NumberInput/NumberInput.js +185 -0
  683. package/styled-components/es/components/NumberInput/NumberInput.styles.js +2 -0
  684. package/styled-components/es/components/NumberInput/NumberInput.tokens.js +83 -0
  685. package/styled-components/es/components/NumberInput/NumberInput.types.js +1 -0
  686. package/styled-components/es/components/NumberInput/index.js +2 -0
  687. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.js +11 -0
  688. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +8 -0
  689. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +1 -0
  690. package/styled-components/es/components/NumberInput/ui/Input/Input.js +198 -0
  691. package/styled-components/es/components/NumberInput/ui/Input/Input.styles.js +41 -0
  692. package/styled-components/es/components/NumberInput/ui/Input/Input.types.js +1 -0
  693. package/styled-components/es/components/NumberInput/ui/index.js +2 -0
  694. package/styled-components/es/components/NumberInput/utils/index.js +1 -0
  695. package/styled-components/es/components/NumberInput/variations/_background-type/base.js +4 -0
  696. package/styled-components/es/components/NumberInput/variations/_background-type/tokens.json +6 -0
  697. package/styled-components/es/components/NumberInput/variations/_disabled/base.js +3 -0
  698. package/styled-components/es/components/NumberInput/variations/_disabled/tokens.json +4 -0
  699. package/styled-components/es/components/NumberInput/variations/_segmentation/base.js +6 -0
  700. package/styled-components/es/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  701. package/styled-components/es/components/NumberInput/variations/_shape/base.js +5 -0
  702. package/styled-components/es/components/NumberInput/variations/_shape/tokens.json +1 -0
  703. package/styled-components/es/components/NumberInput/variations/_size/base.js +7 -0
  704. package/styled-components/es/components/NumberInput/variations/_size/tokens.json +22 -0
  705. package/styled-components/es/components/NumberInput/variations/_view/base.js +7 -0
  706. package/styled-components/es/components/NumberInput/variations/_view/tokens.json +14 -0
  707. package/styled-components/es/components/Pagination/Pagination.js +5 -5
  708. package/styled-components/es/components/Pagination/Pagination.styles.js +1 -1
  709. package/styled-components/es/components/Pagination/Pagination.tokens.js +1 -4
  710. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  711. package/styled-components/es/components/Slider/Slider.js +2 -11
  712. package/styled-components/es/components/Slider/Slider.template-doc.mdx +0 -26
  713. package/styled-components/es/components/Slider/Slider.tokens.js +17 -23
  714. package/styled-components/es/components/Slider/components/Double/Double.js +19 -54
  715. package/styled-components/es/components/Slider/components/Single/Single.js +34 -65
  716. package/styled-components/es/components/Slider/components/Single/Single.styles.js +5 -5
  717. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.js +12 -31
  718. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  719. package/styled-components/es/components/Slider/ui/Handler/Handler.js +86 -51
  720. package/styled-components/es/components/Slider/ui/Handler/Handler.styles.js +5 -8
  721. package/styled-components/es/components/Slider/ui/Thumb/Thumb.js +2 -3
  722. package/styled-components/es/components/Slider/ui/Thumb/Thumb.styles.js +2 -2
  723. package/styled-components/es/components/Slider/utils/index.js +10 -28
  724. package/styled-components/es/components/Slider/variations/_view/base.js +1 -2
  725. package/styled-components/es/components/Tabs/tokens.js +1 -7
  726. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  727. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  728. package/styled-components/es/components/Toast/Toast.js +4 -4
  729. package/styled-components/es/components/Toast/Toast.styles.js +1 -1
  730. package/styled-components/es/components/Toast/Toast.tokens.js +1 -3
  731. package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +4 -4
  732. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  733. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  734. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  735. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +5 -5
  736. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +1 -1
  737. package/styled-components/es/examples/plasma_b2c/components/Notification/Notification.config.js +2 -2
  738. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +40 -0
  739. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
  740. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  741. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.config.js +3 -3
  742. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +16 -98
  743. package/styled-components/es/examples/plasma_b2c/components/Toast/Toast.config.js +1 -1
  744. package/styled-components/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +4 -4
  745. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  746. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  747. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  748. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +5 -5
  749. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +1 -1
  750. package/styled-components/es/examples/plasma_web/components/Notification/Notification.config.js +2 -2
  751. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +40 -0
  752. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
  753. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  754. package/styled-components/es/examples/plasma_web/components/Slider/Slider.config.js +3 -3
  755. package/styled-components/es/examples/plasma_web/components/Slider/Slider.stories.tsx +15 -98
  756. package/styled-components/es/examples/plasma_web/components/Toast/Toast.config.js +1 -1
  757. package/styled-components/es/index.js +2 -1
  758. package/types/components/Autocomplete/Autocomplete.tokens.d.ts +0 -1
  759. package/types/components/Autocomplete/Autocomplete.tokens.d.ts.map +1 -1
  760. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  761. package/types/components/Calendar/Calendar.tokens.d.ts +0 -4
  762. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  763. package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
  764. package/types/components/Calendar/mixins/selected.d.ts +0 -4
  765. package/types/components/Calendar/mixins/selected.d.ts.map +1 -1
  766. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.d.ts.map +1 -1
  767. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +0 -1
  768. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
  769. package/types/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.d.ts.map +1 -1
  770. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +0 -3
  771. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  772. package/types/components/DatePicker/DatePicker.tokens.d.ts +0 -6
  773. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -1
  774. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -1
  775. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  776. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  777. package/types/components/Dropdown/Dropdown.tokens.d.ts +1 -2
  778. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  779. package/types/components/Notification/Notification.styles.d.ts.map +1 -1
  780. package/types/components/Notification/Notification.tokens.d.ts +0 -4
  781. package/types/components/Notification/Notification.tokens.d.ts.map +1 -1
  782. package/types/components/NumberInput/NumberInput.d.ts +38 -0
  783. package/types/components/NumberInput/NumberInput.d.ts.map +1 -0
  784. package/types/components/NumberInput/NumberInput.styles.d.ts +2 -0
  785. package/types/components/NumberInput/NumberInput.styles.d.ts.map +1 -0
  786. package/types/components/NumberInput/NumberInput.tokens.d.ts +78 -0
  787. package/types/components/NumberInput/NumberInput.tokens.d.ts.map +1 -0
  788. package/types/components/NumberInput/NumberInput.types.d.ts +112 -0
  789. package/types/components/NumberInput/NumberInput.types.d.ts.map +1 -0
  790. package/types/components/NumberInput/index.d.ts +3 -0
  791. package/types/components/NumberInput/index.d.ts.map +1 -0
  792. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts +4 -0
  793. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts.map +1 -0
  794. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +45 -0
  795. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts.map +1 -0
  796. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts +7 -0
  797. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts.map +1 -0
  798. package/types/components/NumberInput/ui/Input/Input.d.ts +16 -0
  799. package/types/components/NumberInput/ui/Input/Input.d.ts.map +1 -0
  800. package/types/components/NumberInput/ui/Input/Input.styles.d.ts +30 -0
  801. package/types/components/NumberInput/ui/Input/Input.styles.d.ts.map +1 -0
  802. package/types/components/NumberInput/ui/Input/Input.types.d.ts +16 -0
  803. package/types/components/NumberInput/ui/Input/Input.types.d.ts.map +1 -0
  804. package/types/components/NumberInput/ui/index.d.ts +3 -0
  805. package/types/components/NumberInput/ui/index.d.ts.map +1 -0
  806. package/types/components/NumberInput/utils/index.d.ts +2 -0
  807. package/types/components/NumberInput/utils/index.d.ts.map +1 -0
  808. package/types/components/NumberInput/variations/_background-type/base.d.ts +2 -0
  809. package/types/components/NumberInput/variations/_background-type/base.d.ts.map +1 -0
  810. package/types/components/NumberInput/variations/_disabled/base.d.ts +2 -0
  811. package/types/components/NumberInput/variations/_disabled/base.d.ts.map +1 -0
  812. package/types/components/NumberInput/variations/_segmentation/base.d.ts +2 -0
  813. package/types/components/NumberInput/variations/_segmentation/base.d.ts.map +1 -0
  814. package/types/components/NumberInput/variations/_shape/base.d.ts +2 -0
  815. package/types/components/NumberInput/variations/_shape/base.d.ts.map +1 -0
  816. package/types/components/NumberInput/variations/_size/base.d.ts +2 -0
  817. package/types/components/NumberInput/variations/_size/base.d.ts.map +1 -0
  818. package/types/components/NumberInput/variations/_view/base.d.ts +2 -0
  819. package/types/components/NumberInput/variations/_view/base.d.ts.map +1 -0
  820. package/types/components/Pagination/Pagination.d.ts.map +1 -1
  821. package/types/components/Pagination/Pagination.styles.d.ts.map +1 -1
  822. package/types/components/Pagination/Pagination.tokens.d.ts +0 -3
  823. package/types/components/Pagination/Pagination.tokens.d.ts.map +1 -1
  824. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  825. package/types/components/Slider/Slider.d.ts.map +1 -1
  826. package/types/components/Slider/Slider.tokens.d.ts +16 -22
  827. package/types/components/Slider/Slider.tokens.d.ts.map +1 -1
  828. package/types/components/Slider/components/Double/Double.d.ts.map +1 -1
  829. package/types/components/Slider/components/Double/Double.types.d.ts +0 -1
  830. package/types/components/Slider/components/Double/Double.types.d.ts.map +1 -1
  831. package/types/components/Slider/components/Single/Single.d.ts.map +1 -1
  832. package/types/components/Slider/components/Single/Single.styles.d.ts +1 -1
  833. package/types/components/Slider/components/Single/Single.styles.d.ts.map +1 -1
  834. package/types/components/Slider/components/Single/Single.types.d.ts +7 -79
  835. package/types/components/Slider/components/Single/Single.types.d.ts.map +1 -1
  836. package/types/components/Slider/components/SliderBase/SliderBase.d.ts.map +1 -1
  837. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts +1 -1
  838. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts.map +1 -1
  839. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts +0 -6
  840. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts.map +1 -1
  841. package/types/components/Slider/ui/Handler/Handler.d.ts.map +1 -1
  842. package/types/components/Slider/ui/Handler/Handler.styles.d.ts +2 -6
  843. package/types/components/Slider/ui/Handler/Handler.styles.d.ts.map +1 -1
  844. package/types/components/Slider/ui/Handler/Handler.types.d.ts +1 -5
  845. package/types/components/Slider/ui/Handler/Handler.types.d.ts.map +1 -1
  846. package/types/components/Slider/ui/Thumb/Thumb.d.ts +1 -1
  847. package/types/components/Slider/ui/Thumb/Thumb.d.ts.map +1 -1
  848. package/types/components/Slider/ui/Thumb/Thumb.styles.d.ts.map +1 -1
  849. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts +0 -1
  850. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts.map +1 -1
  851. package/types/components/Slider/utils/index.d.ts +8 -26
  852. package/types/components/Slider/utils/index.d.ts.map +1 -1
  853. package/types/components/Slider/variations/_view/base.d.ts.map +1 -1
  854. package/types/components/Tabs/tokens.d.ts +0 -6
  855. package/types/components/Tabs/tokens.d.ts.map +1 -1
  856. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts.map +1 -1
  857. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
  858. package/types/components/Toast/Toast.tokens.d.ts +0 -2
  859. package/types/components/Toast/Toast.tokens.d.ts.map +1 -1
  860. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  861. package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  862. package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  863. package/types/examples/plasma_b2c/components/Combobox/Combobox.config.d.ts.map +1 -1
  864. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.config.d.ts.map +1 -1
  865. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  866. package/types/examples/plasma_b2c/components/Notification/Notification.config.d.ts.map +1 -1
  867. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts +39 -0
  868. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts.map +1 -0
  869. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts +82 -0
  870. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts.map +1 -0
  871. package/types/examples/plasma_b2c/components/Slider/Slider.config.d.ts.map +1 -1
  872. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts +2 -80
  873. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts.map +1 -1
  874. package/types/examples/plasma_b2c/components/Toast/Toast.config.d.ts.map +1 -1
  875. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  876. package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  877. package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  878. package/types/examples/plasma_web/components/Combobox/Combobox.config.d.ts.map +1 -1
  879. package/types/examples/plasma_web/components/DatePicker/DatePicker.config.d.ts.map +1 -1
  880. package/types/examples/plasma_web/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  881. package/types/examples/plasma_web/components/Notification/Notification.config.d.ts.map +1 -1
  882. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts +39 -0
  883. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts.map +1 -0
  884. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts +82 -0
  885. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts.map +1 -0
  886. package/types/examples/plasma_web/components/Slider/Slider.config.d.ts.map +1 -1
  887. package/types/examples/plasma_web/components/Slider/Slider.d.ts +2 -80
  888. package/types/examples/plasma_web/components/Slider/Slider.d.ts.map +1 -1
  889. package/types/examples/plasma_web/components/Toast/Toast.config.d.ts.map +1 -1
  890. package/types/index.d.ts +1 -0
  891. package/types/index.d.ts.map +1 -1
  892. package/types/utils/index.d.ts +1 -1
  893. package/types/utils/index.d.ts.map +1 -1
  894. package/cjs/components/DatePicker/DatePickerBase.styles_1g7mpqf.css +0 -2
  895. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_lzydb6.css +0 -2
  896. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +0 -98
  897. package/cjs/components/Slider/components/Single/Single.styles_1h7n2s2.css +0 -6
  898. package/cjs/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +0 -5
  899. package/cjs/components/Slider/ui/Handler/Handler.styles_irtcgm.css +0 -2
  900. package/cjs/components/Slider/ui/Handler/computeKeyPressData.js +0 -122
  901. package/cjs/components/Slider/ui/Handler/computeKeyPressData.js.map +0 -1
  902. package/cjs/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +0 -1
  903. package/cjs/components/Slider/variations/_view/base_1s3f6q8.css +0 -1
  904. package/emotion/cjs/components/Slider/ui/Handler/computeKeyPressData.js +0 -121
  905. package/emotion/es/components/Slider/ui/Handler/computeKeyPressData.js +0 -115
  906. package/es/components/DatePicker/DatePickerBase.styles_1g7mpqf.css +0 -2
  907. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_lzydb6.css +0 -2
  908. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +0 -98
  909. package/es/components/Slider/components/Single/Single.styles_1h7n2s2.css +0 -6
  910. package/es/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +0 -5
  911. package/es/components/Slider/ui/Handler/Handler.styles_irtcgm.css +0 -2
  912. package/es/components/Slider/ui/Handler/computeKeyPressData.js +0 -118
  913. package/es/components/Slider/ui/Handler/computeKeyPressData.js.map +0 -1
  914. package/es/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +0 -1
  915. package/es/components/Slider/variations/_view/base_1s3f6q8.css +0 -1
  916. package/styled-components/cjs/components/Slider/ui/Handler/computeKeyPressData.js +0 -121
  917. package/styled-components/es/components/Slider/ui/Handler/computeKeyPressData.js +0 -115
  918. package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts +0 -12
  919. package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts.map +0 -1
@@ -28,7 +28,7 @@ export var Wrapper = /*#__PURE__*/styled.li.withConfig({
28
28
  })(["display:flex;align-items:center;min-height:var(", ");margin:0;box-sizing:content-box;padding:", ";font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");background-color:var(", ");border-radius:var(", ");user-select:none;border-right:0.125rem solid transparent;border-left:0.125rem solid transparent;background-clip:padding-box;&:hover:not(.", "){cursor:pointer;background-color:var(", ");}&.", "{background-color:var(", ");}&.", "{opacity:", ";cursor:not-allowed;}:focus{outline:none;}", ";"], tokens.itemHeight, function (_ref3) {
29
29
  var variant = _ref3.variant;
30
30
  return "var(".concat(variant === 'tight' ? tokens.itemPaddingTight : tokens.itemPadding, ")");
31
- }, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeightBold, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, constants.itemBackground, tokens.borderRadius, classes.dropdownItemIsDisabled, tokens.itemBackgroundHover, classes.dropdownItemIsActive, tokens.itemBackgroundHover, classes.dropdownItemIsDisabled, constants.opacity, /*#__PURE__*/addFocus({
31
+ }, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeightBold, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, constants.itemBackground, tokens.borderRadius, classes.dropdownItemIsDisabled, constants.itemBackgroundHover, classes.dropdownItemIsActive, constants.itemBackgroundHover, classes.dropdownItemIsDisabled, constants.opacity, /*#__PURE__*/addFocus({
32
32
  outlineSize: '0.0625rem',
33
33
  outlineOffset: '0',
34
34
  outlineColor: /*#__PURE__*/"var(".concat(constants.focusColor, ")"),
@@ -1,3 +1,4 @@
1
+ var _IconCross;
1
2
  var _excluded = ["role", "title", "children", "actions", "view", "size", "iconPlacement", "showCloseIcon", "layout", "icon", "onCloseButtonClick"];
2
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
4
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
@@ -5,7 +6,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
5
6
  import React, { forwardRef, useMemo } from 'react';
6
7
  import { cx } from '../../utils';
7
8
  import { IconCross } from '../_Icon/Icons/IconCross';
8
- import { classes, tokens } from './Notification.tokens';
9
+ import { classes } from './Notification.tokens';
9
10
  import { base as viewCSS } from './variations/_view/base';
10
11
  import { base as layoutCSS } from './variations/_layout/base';
11
12
  import { base as sizeCSS } from './variations/_size/base';
@@ -79,11 +80,10 @@ export var notificationRoot = function notificationRoot(Root) {
79
80
  size: "s",
80
81
  onClick: onCloseButtonClick,
81
82
  className: cx(classes.closeIcon, getLayoutClass(layout))
82
- }, /*#__PURE__*/React.createElement(IconCross, {
83
+ }, _IconCross || (_IconCross = /*#__PURE__*/React.createElement(IconCross, {
83
84
  size: "s",
84
- sizeCustomProperty: tokens.closeIconSize,
85
85
  color: "inherit"
86
- }))));
86
+ })))));
87
87
  });
88
88
  };
89
89
  export var noticationConfig = {
@@ -12,10 +12,10 @@ var mergedButtonConfig = /*#__PURE__*/mergeConfig(buttonConfig);
12
12
  var Button = /*#__PURE__*/component(mergedButtonConfig);
13
13
  export var CloseIconWrapper = /*#__PURE__*/styled(Button).withConfig({
14
14
  componentId: "plasma-new-hope__sc-1iufy9r-0"
15
- })(["position:absolute;width:var(", ");height:var(", ");color:var(", ");:hover{color:var(", ");}&.", "{position:relative;}"], tokens.closeIconButtonSize, tokens.closeIconButtonSize, tokens.closeIconColor, tokens.closeIconColorOnHover, classes.horizontal);
15
+ })(["position:absolute;width:1.5rem;height:1.5rem;color:var(", ");:hover{color:var(", ");}&.", "{position:relative;}"], tokens.closeIconColor, tokens.closeIconColorOnHover, classes.horizontal);
16
16
  export var Wrapper = /*#__PURE__*/styled.div.withConfig({
17
17
  componentId: "plasma-new-hope__sc-1iufy9r-1"
18
- })(["position:relative;box-sizing:border-box;background:var(", ");border-radius:var(", ");border:var(", ") solid var(", ");&.", "{display:flex;align-items:center;gap:var(", ");}"], tokens.background, tokens.borderRadius, tokens.borderWidth, tokens.borderColor, classes.horizontal, tokens.horizontalLayoutGap);
18
+ })(["position:relative;box-sizing:border-box;background:var(", ");border-radius:var(", ");&.", "{display:flex;align-items:center;gap:var(", ");}"], tokens.background, tokens.borderRadius, classes.horizontal, tokens.horizontalLayoutGap);
19
19
  export var ButtonsWrapper = /*#__PURE__*/styled.div.withConfig({
20
20
  componentId: "plasma-new-hope__sc-1iufy9r-2"
21
21
  })(["margin-top:var(", ");margin-left:", ";&.", "{margin-top:unset;margin-left:unset;}"], tokens.buttonsMarginTop, function (_ref) {
@@ -21,8 +21,6 @@ export var tokens = {
21
21
  horizontalLayoutPadding: '--plasma-notification-horizontal-layout-padding',
22
22
  width: '--plasma-notification-width',
23
23
  borderRadius: '--plasma-notification-border-radius',
24
- borderWidth: '--plasma-notification-border-width',
25
- borderColor: '--plasma-notification-border-color',
26
24
  paddingOneLineTextbox: '--plasma-notification-padding-one-line-textbox',
27
25
  horizontalLayoutGap: '--plasma-notification-horizontal-layout-gap',
28
26
  horizontalLayoutLeftIconMargin: '--plasma-notification-horizontal-layout-left-icon-margin',
@@ -63,7 +61,5 @@ export var tokens = {
63
61
  closeIconTop: '--plasma-notification-close-icon-top',
64
62
  closeIconRight: '--plasma-notification-close-icon-right',
65
63
  closeIconColor: '--plasma-notification-close-icon-color',
66
- closeIconColorOnHover: '--plasma-notification-close-icon-color-on-hover',
67
- closeIconSize: '--plasma-notification-close-icon-size',
68
- closeIconButtonSize: '--plasma-notification-close-icon-button-size'
64
+ closeIconColorOnHover: '--plasma-notification-close-icon-color-on-hover'
69
65
  };
@@ -0,0 +1,185 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ var _excluded = ["className", "style", "width", "value", "min", "max", "step", "isLoading", "loader", "size", "view", "clear", "shape", "segmentation", "inputBackgroundType", "disabled", "textBefore", "textAfter", "customIncrementButton", "incrementIcon", "customDecrementButton", "decrementIcon", "isManualInput", "onChange", "onIncrement", "onDecrement"];
3
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
8
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
10
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
11
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
12
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
13
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
14
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
15
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
16
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
17
+ import React, { forwardRef, useState } from 'react';
18
+ import { cx, getSizeValueFromProp } from '../../utils';
19
+ import { IconMinus, IconPlus } from '../_Icon';
20
+ import { ActionButton, NumberInput } from './ui';
21
+ import { classes, privateTokens } from './NumberInput.tokens';
22
+ import { base } from './NumberInput.styles';
23
+ import { base as viewCSS } from './variations/_view/base';
24
+ import { base as sizeCSS } from './variations/_size/base';
25
+ import { base as shapeCSS } from './variations/_shape/base';
26
+ import { base as inputBackgroundTypeCSS } from './variations/_background-type/base';
27
+ import { base as segmentationCSS } from './variations/_segmentation/base';
28
+ import { base as disabledCSS } from './variations/_disabled/base';
29
+ export var numberInputRoot = function numberInputRoot(Root) {
30
+ return /*#__PURE__*/forwardRef(function (_ref, ref) {
31
+ var _ref2;
32
+ var className = _ref.className,
33
+ style = _ref.style,
34
+ width = _ref.width,
35
+ value = _ref.value,
36
+ min = _ref.min,
37
+ max = _ref.max,
38
+ _ref$step = _ref.step,
39
+ step = _ref$step === void 0 ? 1 : _ref$step,
40
+ isLoading = _ref.isLoading,
41
+ loader = _ref.loader,
42
+ size = _ref.size,
43
+ view = _ref.view,
44
+ clear = _ref.clear,
45
+ shape = _ref.shape,
46
+ segmentation = _ref.segmentation,
47
+ _ref$inputBackgroundT = _ref.inputBackgroundType,
48
+ inputBackgroundType = _ref$inputBackgroundT === void 0 ? 'fill' : _ref$inputBackgroundT,
49
+ disabled = _ref.disabled,
50
+ textBefore = _ref.textBefore,
51
+ textAfter = _ref.textAfter,
52
+ customIncrementButton = _ref.customIncrementButton,
53
+ incrementIcon = _ref.incrementIcon,
54
+ customDecrementButton = _ref.customDecrementButton,
55
+ decrementIcon = _ref.decrementIcon,
56
+ isManualInput = _ref.isManualInput,
57
+ onChange = _ref.onChange,
58
+ onIncrement = _ref.onIncrement,
59
+ onDecrement = _ref.onDecrement,
60
+ rest = _objectWithoutProperties(_ref, _excluded);
61
+ var _useState = useState((_ref2 = value !== null && value !== void 0 ? value : min) !== null && _ref2 !== void 0 ? _ref2 : 0),
62
+ _useState2 = _slicedToArray(_useState, 2),
63
+ innerValue = _useState2[0],
64
+ setInnerValue = _useState2[1];
65
+ var innerWidth = width ? getSizeValueFromProp(width) : '100%';
66
+ var actionIconSize = size === 'xs' ? 'xs' : 's';
67
+ var solidViewClass = segmentation === 'solid' ? classes.solidView : undefined;
68
+ var segmentedViewClass = segmentation === 'segmented' ? classes.segmentedView : undefined;
69
+ var clearViewClass = clear ? classes.clearView : undefined;
70
+ var disabledClass = disabled ? classes.disabled : undefined;
71
+ var isMinValue = function isMinValue(currentValue) {
72
+ return min !== undefined && currentValue <= Number(min);
73
+ };
74
+ var isMaxValue = function isMaxValue(currentValue) {
75
+ return max !== undefined && currentValue >= Number(max);
76
+ };
77
+ var decrementButtonDisabled = isMinValue(Number(innerValue)) || isLoading ? classes.actionButtonDecrementDisabled : undefined;
78
+ var incrementButtonDisabled = isMaxValue(Number(innerValue)) || isLoading ? classes.actionButtonIncrementDisabled : undefined;
79
+ var handleDecrement = function handleDecrement() {
80
+ if (isLoading || disabled) {
81
+ return;
82
+ }
83
+ var diffValue = Number(innerValue) - step;
84
+ var resValue = !isMinValue(diffValue) ? diffValue : Number(min);
85
+ setInnerValue(resValue);
86
+ if (onDecrement) {
87
+ onDecrement(resValue);
88
+ }
89
+ if (onChange) {
90
+ onChange(null, resValue);
91
+ }
92
+ };
93
+ var handleIncrement = function handleIncrement() {
94
+ if (isLoading || disabled) {
95
+ return;
96
+ }
97
+ var diffValue = Number(innerValue) + step;
98
+ var resValue = !isMaxValue(diffValue) ? diffValue : Number(max);
99
+ setInnerValue(resValue);
100
+ if (onIncrement) {
101
+ onIncrement(resValue);
102
+ }
103
+ if (onChange) {
104
+ onChange(null, resValue);
105
+ }
106
+ };
107
+ return /*#__PURE__*/React.createElement(Root, _extends({
108
+ view: view,
109
+ size: size,
110
+ disabled: disabled,
111
+ clear: clear,
112
+ shape: shape,
113
+ segmentation: segmentation,
114
+ isLoading: isLoading
115
+ }, segmentation === 'solid' ? {
116
+ inputBackgroundType: 'clear'
117
+ } : {
118
+ inputBackgroundType: inputBackgroundType
119
+ }, {
120
+ className: cx(className, solidViewClass, segmentedViewClass, clearViewClass, disabledClass),
121
+ style: _objectSpread(_objectSpread({}, style), {}, _defineProperty({}, privateTokens.inputWidth, innerWidth))
122
+ }), customDecrementButton || /*#__PURE__*/React.createElement(ActionButton, {
123
+ className: cx(classes.actionButtonDecrement, decrementButtonDisabled, solidViewClass, segmentedViewClass),
124
+ icon: decrementIcon || /*#__PURE__*/React.createElement(IconMinus, {
125
+ color: "inherit",
126
+ size: actionIconSize
127
+ }),
128
+ onClick: handleDecrement
129
+ }), /*#__PURE__*/React.createElement(NumberInput, _extends({
130
+ ref: ref,
131
+ segmentation: segmentation,
132
+ value: innerValue,
133
+ min: min,
134
+ max: max,
135
+ isManualInput: isManualInput,
136
+ textBefore: textBefore,
137
+ textAfter: textAfter,
138
+ isLoading: isLoading,
139
+ loader: loader,
140
+ disabled: disabled,
141
+ setInnerValue: setInnerValue,
142
+ onChange: onChange
143
+ }, rest)), customIncrementButton || /*#__PURE__*/React.createElement(ActionButton, {
144
+ className: cx(classes.actionButtonIncrement, incrementButtonDisabled, solidViewClass, segmentedViewClass),
145
+ icon: incrementIcon || /*#__PURE__*/React.createElement(IconPlus, {
146
+ color: "inherit",
147
+ size: actionIconSize
148
+ }),
149
+ onClick: handleIncrement
150
+ }));
151
+ });
152
+ };
153
+ export var numberInputConfig = {
154
+ name: 'NumberInput',
155
+ tag: 'div',
156
+ layout: numberInputRoot,
157
+ base: base,
158
+ variations: {
159
+ view: {
160
+ css: viewCSS
161
+ },
162
+ size: {
163
+ css: sizeCSS
164
+ },
165
+ shape: {
166
+ css: shapeCSS
167
+ },
168
+ inputBackgroundType: {
169
+ css: inputBackgroundTypeCSS
170
+ },
171
+ segmentation: {
172
+ css: segmentationCSS
173
+ },
174
+ disabled: {
175
+ css: disabledCSS,
176
+ attrs: true
177
+ }
178
+ },
179
+ defaults: {
180
+ view: 'default',
181
+ size: 'l',
182
+ shape: 'cornered',
183
+ segmentation: 'default'
184
+ }
185
+ };
@@ -0,0 +1,2 @@
1
+ import { css } from 'styled-components';
2
+ export var base = /*#__PURE__*/css(["display:flex;align-items:center;"]);
@@ -0,0 +1,83 @@
1
+ export var classes = {
2
+ actionButtonDecrement: 'action-button-decrement',
3
+ actionButtonDecrementDisabled: 'action-button-decrement-disabled',
4
+ actionButtonIncrement: 'action-button-increment',
5
+ actionButtonIncrementDisabled: 'action-button-increment-disabled',
6
+ textBefore: 'text-before',
7
+ textAfter: 'text-after',
8
+ solidView: 'solid-view',
9
+ segmentedView: 'segmented-view',
10
+ clearView: 'clear-view',
11
+ errorAnimation: 'error-animation',
12
+ disabled: 'number-input-disabled',
13
+ manualInput: 'manual-input-number-input'
14
+ };
15
+ export var privateTokens = {
16
+ inputWidth: '--plasma_private-number-input_width',
17
+ segmentationBorderRadius: '--plasma_private-segemntation-border-radius',
18
+ segmentationInputBorderRadius: '--plasma_private-segemntation_input_border-radius'
19
+ };
20
+ export var tokens = {
21
+ // Root size tokens
22
+ rootMinWidth: '--plasma-number-input_min-width',
23
+ disabledOpacity: '--plasma-number-input_disabled-opacity',
24
+ // Action button view tokens
25
+ iconButtonColor: '--plasma-number-input_icon-button_color',
26
+ iconButtonColorSolidHover: '--plasma-number-input_icon-button_color_solid-hover',
27
+ iconButtonBackgroundColor: '--plasma-number-input_icon-button_background-color',
28
+ iconButtonColorHover: '--plasma-number-input_icon-button_color-hover',
29
+ iconButtonBackgroundColorHover: '--plasma-number-input_icon-button_background-color-hover',
30
+ iconButtonColorActive: '--plasma-number-input_icon-button_color-active',
31
+ iconButtonBackgroundColorActive: '--plasma-number-input_icon-button_background-color-active',
32
+ actionButtonDisabledOpacity: '--plasma-number-input_action-button_disabled-opacity',
33
+ // Action button size tokens
34
+ iconButtonHeight: '--plasma-number-input_icon-button_height',
35
+ iconButtonWidth: '--plasma-number-input_icon-button_width',
36
+ iconButtonPadding: '--plasma-number-input_icon-button_padding',
37
+ iconButtonRadius: '--plasma-number-input_icon-button_radius',
38
+ iconButtonSegmentationRadius: '--plasma-number-input_icon-button_segmentation_radius',
39
+ iconButtonFontFamily: '--plasma-number-input_icon-button_font-family',
40
+ iconButtonFontSize: '--plasma-number-input_icon-button_font-size',
41
+ iconButtonFontStyle: '--plasma-number-input_icon-button_font-style',
42
+ iconButtonFontWeight: '--plasma-number-input_icon-button_font-weight',
43
+ iconButtonLetterSpacing: '--plasma-number-input_icon-button_letter-spacing',
44
+ iconButtonLineHeight: '--plasma-number-input_icon-button_line-height',
45
+ // Input size tokens
46
+ inputWrapperBorderWidth: '--plasma-number-input_input-wrapper_border-width',
47
+ inputWrapperMargin: '--plasma-number-input_input-wrapper_margin',
48
+ inputWrapperBorderRadius: '--plasma-number-input_input-wrapper_border-radius',
49
+ textWrapperHeight: '--plasma-number-input_text-wrapper_height',
50
+ textWrapperPadding: '--plasma-number-input_text-wrapper_padding',
51
+ fontFamily: '--plasma-number-input_font-family',
52
+ fontStyle: '--plasma-number-input_font-style',
53
+ fontSize: '--plasma-number-input_font-size',
54
+ fontWeight: '--plasma-number-input_font-weight',
55
+ letterSpacing: '--plasma-number-input_letter-spacing',
56
+ lineHeight: '--plasma-number-input_line-height',
57
+ textBeforeMarginRight: '--plasma-number-input_text-before_margin-right',
58
+ textAfterMarginLeft: '--plasma-number-input_text-after_margin-left',
59
+ // Input view tokens
60
+ caretColor: '--plasma-number-input_caret_color',
61
+ caretColorSolid: '--plasma-number-input_caret_color-solid',
62
+ color: '--plasma-number-input_color',
63
+ colorSolid: '--plasma-number-input_color-solid',
64
+ backgroundColor: '--plasma-number-input_background-color',
65
+ backgroundColorHover: '--plasma-number-input_background-color-hover',
66
+ backgroundColorFocus: '--plasma-number-input_background-color-focus',
67
+ backgroundColorSolidFocus: '--plasma-number-input_background-color-solid-focus',
68
+ backgroundColorSolid: '--plasma-number-input_background-color-solid',
69
+ borderColor: '--plasma-number-input_border-color',
70
+ borderColorHover: '--plasma-number-input_border-color-hover',
71
+ borderColorFocus: '--plasma-number-input_border-color-focus',
72
+ borderColorSolidFocus: '--plasma-number-input_border-color-solid-focus',
73
+ borderColorSolid: '--plasma-number-input_border-color-solid',
74
+ additionalTextColor: '--plasma-number-input_additional-text_color',
75
+ additionalTextColorSolid: '--plasma-number-input_additional-text_color-solid',
76
+ errorColor: '--plasma-number-input_error-color',
77
+ backgroundErrorColor: '--plasma-number-input_background_error-color',
78
+ borderErrorColor: '--plasma-number-input_border_error-color',
79
+ // Loader tokens
80
+ loaderSpinnerSize: '--plasma-number-input_loader-spinner_size',
81
+ loaderSpinnerColor: '--plasma-number-input_loader-spinner_color',
82
+ loaderSpinnerColorSolid: '--plasma-number-input_loader-spinner_color-solid'
83
+ };
@@ -0,0 +1,2 @@
1
+ export { numberInputRoot, numberInputConfig } from './NumberInput';
2
+ export { tokens as numberInputTokens, classes as numberInputClasses } from './NumberInput.tokens';
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { StyledIconButton } from './ActionButton.styles';
3
+ export var ActionButton = function ActionButton(_ref) {
4
+ var icon = _ref.icon,
5
+ className = _ref.className,
6
+ onClick = _ref.onClick;
7
+ return /*#__PURE__*/React.createElement(StyledIconButton, {
8
+ className: className,
9
+ onClick: onClick
10
+ }, icon);
11
+ };
@@ -0,0 +1,8 @@
1
+ import styled from 'styled-components';
2
+ import { iconButtonConfig } from '../../../IconButton';
3
+ import { component, mergeConfig } from '../../../../engines';
4
+ var mergedIconButtonConfig = /*#__PURE__*/mergeConfig(iconButtonConfig);
5
+ var IconButton = /*#__PURE__*/component(mergedIconButtonConfig);
6
+ export var StyledIconButton = /*#__PURE__*/styled(IconButton).withConfig({
7
+ componentId: "plasma-new-hope__sc-kcpqrq-0"
8
+ })([""]);
@@ -0,0 +1,198 @@
1
+ var _StyledSpinner;
2
+ var _excluded = ["value", "min", "max", "isLoading", "loader", "disabled", "segmentation", "textBefore", "textAfter", "isManualInput", "setInnerValue", "onChange", "onBlur", "onKeyDown"];
3
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
5
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
6
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
7
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
8
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
9
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
10
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
+ import React, { forwardRef, useEffect, useRef, useState } from 'react';
13
+ import { useForkRef } from '@salutejs/plasma-core';
14
+ import { classes } from '../../NumberInput.tokens';
15
+ import { cx, isNumber } from '../../../../utils';
16
+ import { useDidMountEffect } from '../../../../hooks';
17
+ import { numberPettern } from '../../utils';
18
+ import { keyCodes } from '../../../../utils/constants';
19
+ import { AdditionalText, Input, InputWrapper, DynamicInput, InputWidthHelper, TextWrapper, StyledSpinner, Loader } from './Input.styles';
20
+ export var NumberInput = /*#__PURE__*/forwardRef(function (_ref, ref) {
21
+ var value = _ref.value,
22
+ min = _ref.min,
23
+ max = _ref.max,
24
+ isLoading = _ref.isLoading,
25
+ loader = _ref.loader,
26
+ disabled = _ref.disabled,
27
+ segmentation = _ref.segmentation,
28
+ textBefore = _ref.textBefore,
29
+ textAfter = _ref.textAfter,
30
+ isManualInput = _ref.isManualInput,
31
+ setInnerValue = _ref.setInnerValue,
32
+ onChange = _ref.onChange,
33
+ onBlur = _ref.onBlur,
34
+ onKeyDown = _ref.onKeyDown,
35
+ rest = _objectWithoutProperties(_ref, _excluded);
36
+ var _useState = useState(value ? "".concat(String(value).length, "ch") : '1ch'),
37
+ _useState2 = _slicedToArray(_useState, 2),
38
+ dynamicWidth = _useState2[0],
39
+ setDynamicWidth = _useState2[1];
40
+ var _useState3 = useState(Number(value)),
41
+ _useState4 = _slicedToArray(_useState3, 2),
42
+ lastValidValue = _useState4[0],
43
+ setLastValidValue = _useState4[1];
44
+ var _useState5 = useState(undefined),
45
+ _useState6 = _slicedToArray(_useState5, 2),
46
+ errorClass = _useState6[0],
47
+ setErrorClass = _useState6[1];
48
+ var _useState7 = useState(),
49
+ _useState8 = _slicedToArray(_useState7, 2),
50
+ errorValue = _useState8[0],
51
+ setErrorValue = _useState8[1];
52
+ var _useState9 = useState(false),
53
+ _useState10 = _slicedToArray(_useState9, 2),
54
+ isEditing = _useState10[0],
55
+ setIsEditing = _useState10[1];
56
+ var inputHelperRef = useRef(null);
57
+ var wrapperRef = useRef(null);
58
+ var textWrapperRef = useRef(null);
59
+ var inputRef = useRef(null);
60
+ var inputForkRef = useForkRef(inputRef, ref);
61
+ var solidViewClass = segmentation === 'solid' ? classes.solidView : undefined;
62
+ var manualInputClass = isManualInput ? classes.manualInput : undefined;
63
+ var getInputWidth = function getInputWidth() {
64
+ var _inputHelperRef$curre;
65
+ var firstRender = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
66
+ if (!firstRender && (_inputHelperRef$curre = inputHelperRef.current) !== null && _inputHelperRef$curre !== void 0 && _inputHelperRef$curre.clientWidth) {
67
+ var _inputHelperRef$curre2;
68
+ return "".concat((_inputHelperRef$curre2 = inputHelperRef.current) === null || _inputHelperRef$curre2 === void 0 ? void 0 : _inputHelperRef$curre2.clientWidth, "px");
69
+ }
70
+ if (value) {
71
+ return "".concat(String(value).length, "ch");
72
+ }
73
+ return '1ch';
74
+ };
75
+ var setValues = function setValues(event, newValue) {
76
+ setLastValidValue(newValue);
77
+ setInnerValue(newValue);
78
+ if (onChange) {
79
+ onChange(event, newValue);
80
+ }
81
+ };
82
+ var validateValue = function validateValue(newValue) {
83
+ console.log(newValue);
84
+ if (!newValue || !isNumber(newValue)) {
85
+ setValues(null, lastValidValue);
86
+ return;
87
+ }
88
+ if (String(newValue).endsWith('.')) {
89
+ setValues(null, Number(newValue));
90
+ return;
91
+ }
92
+ var resValue = Number(newValue);
93
+ if (max && resValue > max) {
94
+ setErrorClass(classes.errorAnimation);
95
+ setErrorValue(max);
96
+ return;
97
+ }
98
+ if (min && resValue < min) {
99
+ setErrorClass(classes.errorAnimation);
100
+ setErrorValue(min);
101
+ }
102
+ };
103
+ var handleManualInputChange = function handleManualInputChange(event) {
104
+ var _textWrapperRef$curre, _wrapperRef$current;
105
+ if (!isManualInput || disabled) {
106
+ return;
107
+ }
108
+ var newValue = event.target.value;
109
+ if (!newValue) {
110
+ setInnerValue('');
111
+ if (onChange) {
112
+ onChange(event, '');
113
+ }
114
+ return;
115
+ }
116
+ var cleanValue = newValue.replace(/[^-.\d]/g, '');
117
+ if (cleanValue.endsWith('.')) {
118
+ setInnerValue(cleanValue);
119
+ if (onChange) {
120
+ onChange(event, cleanValue);
121
+ }
122
+ return;
123
+ }
124
+ var isValid = numberPettern.test(cleanValue);
125
+ if (!isValid) {
126
+ setValues(event, lastValidValue);
127
+ return;
128
+ }
129
+ if (textWrapperRef !== null && textWrapperRef !== void 0 && textWrapperRef.current && wrapperRef !== null && wrapperRef !== void 0 && wrapperRef.current && (textWrapperRef === null || textWrapperRef === void 0 || (_textWrapperRef$curre = textWrapperRef.current) === null || _textWrapperRef$curre === void 0 ? void 0 : _textWrapperRef$curre.clientWidth) > (wrapperRef === null || wrapperRef === void 0 || (_wrapperRef$current = wrapperRef.current) === null || _wrapperRef$current === void 0 ? void 0 : _wrapperRef$current.clientWidth)) {
130
+ wrapperRef.current.scrollLeft = textWrapperRef.current.offsetWidth - textWrapperRef.current.offsetLeft || 0;
131
+ }
132
+ setValues(event, Number(cleanValue));
133
+ };
134
+ var handleClickInputWrapper = function handleClickInputWrapper() {
135
+ if (!isManualInput || !inputRef.current) {
136
+ return;
137
+ }
138
+ if (!isEditing) {
139
+ inputRef.current.select();
140
+ }
141
+ setIsEditing(true);
142
+ };
143
+ var handleBlur = function handleBlur(event) {
144
+ setIsEditing(false);
145
+ validateValue(value);
146
+ if (onBlur) {
147
+ onBlur(event);
148
+ }
149
+ };
150
+ var handleKeyDown = function handleKeyDown(event) {
151
+ if (!isManualInput || disabled) {
152
+ return;
153
+ }
154
+ if (event.keyCode === keyCodes.Enter) {
155
+ event.preventDefault();
156
+ validateValue(value);
157
+ if (onKeyDown) {
158
+ onKeyDown(event);
159
+ }
160
+ }
161
+ };
162
+ var handleEndErrorAnimation = function handleEndErrorAnimation(correctValue) {
163
+ setErrorClass(undefined);
164
+ setValues(null, correctValue);
165
+ };
166
+ useEffect(function () {
167
+ setDynamicWidth(getInputWidth());
168
+ }, []);
169
+ useDidMountEffect(function () {
170
+ setDynamicWidth(getInputWidth(false));
171
+ }, [value]);
172
+ return /*#__PURE__*/React.createElement(InputWrapper, {
173
+ ref: wrapperRef,
174
+ className: cx(solidViewClass, errorClass, manualInputClass),
175
+ isManualInput: Boolean(isManualInput),
176
+ onClick: handleClickInputWrapper
177
+ }, /*#__PURE__*/React.createElement(TextWrapper, {
178
+ ref: textWrapperRef
179
+ }, textBefore && /*#__PURE__*/React.createElement(AdditionalText, {
180
+ className: classes.textBefore
181
+ }, textBefore), isLoading ? /*#__PURE__*/React.createElement(Loader, null, loader || _StyledSpinner || (_StyledSpinner = /*#__PURE__*/React.createElement(StyledSpinner, null))) : /*#__PURE__*/React.createElement(DynamicInput, null, /*#__PURE__*/React.createElement(Input, _extends({
182
+ ref: inputForkRef,
183
+ dynamicWidth: dynamicWidth,
184
+ value: value,
185
+ isManualInput: Boolean(isManualInput),
186
+ tabIndex: disabled || !isManualInput ? -1 : 0,
187
+ onChange: handleManualInputChange,
188
+ onBlur: handleBlur,
189
+ onKeyDown: handleKeyDown,
190
+ onAnimationEnd: function onAnimationEnd() {
191
+ return handleEndErrorAnimation(Number(errorValue));
192
+ }
193
+ }, rest)), /*#__PURE__*/React.createElement(InputWidthHelper, {
194
+ ref: inputHelperRef
195
+ }, value)), textAfter && /*#__PURE__*/React.createElement(AdditionalText, {
196
+ className: classes.textAfter
197
+ }, textAfter)));
198
+ });
@@ -0,0 +1,41 @@
1
+ import styled from 'styled-components';
2
+ import { component, mergeConfig } from '../../../../engines';
3
+ import { spinnerConfig } from '../../../Spinner';
4
+ var mergedConfig = /*#__PURE__*/mergeConfig(spinnerConfig);
5
+ var Spinner = /*#__PURE__*/component(mergedConfig);
6
+ export var InputWrapper = /*#__PURE__*/styled.div.withConfig({
7
+ componentId: "plasma-new-hope__sc-i0o2ki-0"
8
+ })(["overflow-x:auto;overflow-y:hidden;flex:1;cursor:", ";::-webkit-scrollbar{display:none;}scrollbar-width:none;overscroll-behavior:contain;"], function (_ref) {
9
+ var isManualInput = _ref.isManualInput;
10
+ return isManualInput ? 'text' : 'default';
11
+ });
12
+ export var TextWrapper = /*#__PURE__*/styled.div.withConfig({
13
+ componentId: "plasma-new-hope__sc-i0o2ki-1"
14
+ })(["display:flex;align-items:center;justify-content:center;width:fit-content;margin:0 auto;box-sizing:border-box;"]);
15
+ export var AdditionalText = /*#__PURE__*/styled.span.withConfig({
16
+ componentId: "plasma-new-hope__sc-i0o2ki-2"
17
+ })([""]);
18
+ export var Loader = /*#__PURE__*/styled.div.withConfig({
19
+ componentId: "plasma-new-hope__sc-i0o2ki-3"
20
+ })([""]);
21
+ export var StyledSpinner = /*#__PURE__*/styled(Spinner).withConfig({
22
+ componentId: "plasma-new-hope__sc-i0o2ki-4"
23
+ })([""]);
24
+ export var DynamicInput = /*#__PURE__*/styled.div.withConfig({
25
+ componentId: "plasma-new-hope__sc-i0o2ki-5"
26
+ })(["position:relative;"]);
27
+ export var Input = /*#__PURE__*/styled.input.withConfig({
28
+ componentId: "plasma-new-hope__sc-i0o2ki-6"
29
+ })(["box-sizing:border-box;appearance:none;border:0;padding:0;background-color:transparent;outline:none;width:", ";box-sizing:border-box;cursor:", ";pointer-events:", ";transition:width 0.1s;"], function (_ref2) {
30
+ var dynamicWidth = _ref2.dynamicWidth;
31
+ return dynamicWidth;
32
+ }, function (_ref3) {
33
+ var isManualInput = _ref3.isManualInput;
34
+ return isManualInput ? 'text' : 'default';
35
+ }, function (_ref4) {
36
+ var isManualInput = _ref4.isManualInput;
37
+ return isManualInput ? 'initial' : 'none';
38
+ });
39
+ export var InputWidthHelper = /*#__PURE__*/styled.span.withConfig({
40
+ componentId: "plasma-new-hope__sc-i0o2ki-7"
41
+ })(["position:absolute;z-index:-999;visibility:hidden;top:0;left:0;opacity:0;height:0;white-space:pre;"]);
@@ -0,0 +1,2 @@
1
+ export { ActionButton } from './ActionButton/ActionButton';
2
+ export { NumberInput } from './Input/Input';
@@ -0,0 +1 @@
1
+ export var numberPettern = /^(-)?\d+(\.\d+)?$/;
@@ -0,0 +1,4 @@
1
+ import { css } from 'styled-components';
2
+ import { classes, tokens } from '../../NumberInput.tokens';
3
+ import { InputWrapper } from '../../ui/Input/Input.styles';
4
+ export var base = /*#__PURE__*/css(["", "{background-color:var(", ");box-shadow:inset 0 0 0 var(", ") var(", ");&.", ":hover{background-color:var(", ");box-shadow:inset 0 0 0 var(", ") var(", ");}}"], InputWrapper, tokens.backgroundColor, tokens.inputWrapperBorderWidth, tokens.borderColor, classes.manualInput, tokens.backgroundColorHover, tokens.inputWrapperBorderWidth, tokens.borderColorHover);