@salutejs/plasma-new-hope 0.338.0-canary.2271.18274881210.0 → 0.338.0-canary.2271.18458605615.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (434) hide show
  1. package/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -8
  2. package/cjs/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
  3. package/cjs/components/Autocomplete/Autocomplete.css +11 -11
  4. package/cjs/components/Calendar/Calendar.tokens.js +1 -0
  5. package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
  6. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +4 -4
  7. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +4 -4
  8. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.css +4 -4
  9. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  10. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +4 -4
  11. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  12. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
  13. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +4 -4
  14. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
  15. package/cjs/components/Calendar/ui/DateStructureItem/{DateStructureItem.styles_12b03hz.css → DateStructureItem.styles_z3dhwf.css} +1 -1
  16. package/cjs/components/Chip/Chip.css +7 -7
  17. package/cjs/components/Chip/Chip.js +6 -4
  18. package/cjs/components/Chip/Chip.js.map +1 -1
  19. package/cjs/components/Chip/Chip.styles.js +1 -1
  20. package/cjs/components/Chip/Chip.styles.js.map +1 -1
  21. package/{es/components/Chip/Chip.styles_fnd4j5.css → cjs/components/Chip/Chip.styles_d9y94l.css} +1 -1
  22. package/cjs/components/Chip/Chip.tokens.js +1 -0
  23. package/cjs/components/Chip/Chip.tokens.js.map +1 -1
  24. package/cjs/components/Chip/variations/_disabled/base.js +1 -1
  25. package/cjs/components/Chip/variations/_disabled/base.js.map +1 -1
  26. package/{es/components/Chip/variations/_disabled/base_rmcs0j.css → cjs/components/Chip/variations/_disabled/base_1j4s925.css} +1 -1
  27. package/cjs/components/Chip/variations/_readonly/base.js +1 -1
  28. package/cjs/components/Chip/variations/_readonly/base.js.map +1 -1
  29. package/{es/components/Chip/variations/_readonly/base_1nfit77.css → cjs/components/Chip/variations/_readonly/base_1xublmy.css} +1 -1
  30. package/cjs/components/Combobox/ComboboxNew/Combobox.css +12 -12
  31. package/cjs/components/Combobox/ComboboxNew/Combobox.js +6 -3
  32. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  33. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  34. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  35. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  36. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  37. package/cjs/components/Combobox/ComboboxNew/ui/Target/{Target.styles_1c4vtoy.css → Target.styles_ycaw31.css} +1 -1
  38. package/cjs/components/Combobox/ComboboxOld/Combobox.css +7 -7
  39. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.css +7 -7
  40. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.css +7 -7
  41. package/cjs/components/DatePicker/DatePicker.tokens.js +3 -0
  42. package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -1
  43. package/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
  44. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  45. package/cjs/components/DatePicker/{DatePickerBase.styles_1fnt3hc.css → DatePickerBase.styles_6x4unn.css} +1 -1
  46. package/cjs/components/DatePicker/RangeDate/RangeDate.css +19 -19
  47. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +17 -17
  48. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
  49. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/{RangeDatePopover.styles_160e4y4.css → RangeDatePopover.styles_1wt56uj.css} +2 -2
  50. package/cjs/components/DatePicker/SingleDate/SingleDate.css +20 -20
  51. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  52. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  53. package/cjs/components/DatePicker/SingleDate/{SingleDate.styles_15voqba.css → SingleDate.styles_5c37vu.css} +1 -1
  54. package/cjs/components/Modal/Modal.css +2 -2
  55. package/cjs/components/Modal/Modal.js +5 -4
  56. package/cjs/components/Modal/Modal.js.map +1 -1
  57. package/cjs/components/Pagination/Pagination.css +15 -15
  58. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +15 -15
  59. package/cjs/components/Range/Range.css +11 -11
  60. package/cjs/components/Select/Select.css +15 -15
  61. package/cjs/components/Select/Select.js +2 -2
  62. package/cjs/components/Select/Select.js.map +1 -1
  63. package/cjs/components/Select/Select.tokens.js +2 -0
  64. package/cjs/components/Select/Select.tokens.js.map +1 -1
  65. package/cjs/components/Select/ui/Target/Target.css +15 -15
  66. package/cjs/components/Select/ui/Target/Target.js +2 -1
  67. package/cjs/components/Select/ui/Target/Target.js.map +1 -1
  68. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +15 -15
  69. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
  70. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  71. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +13 -13
  72. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  73. package/cjs/components/Select/ui/Target/ui/Textfield/{Textfield.styles_1mikp58.css → Textfield.styles_19e9015.css} +1 -1
  74. package/cjs/components/Slider/Slider.css +11 -11
  75. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +11 -11
  76. package/cjs/components/Table/Table.css +15 -15
  77. package/cjs/components/Table/ui/Cell/Cell.css +15 -15
  78. package/cjs/components/Table/ui/EditableCell/EditableCell.css +15 -15
  79. package/cjs/components/Table/ui/HeadCell/HeadCell.css +15 -15
  80. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +15 -15
  81. package/cjs/components/TextField/TextField.js +8 -4
  82. package/cjs/components/TextField/TextField.js.map +1 -1
  83. package/cjs/components/TextField/TextField.tokens.js +2 -0
  84. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  85. package/cjs/components/TextField/hooks/useKeyNavigation.js +15 -6
  86. package/cjs/components/TextField/hooks/useKeyNavigation.js.map +1 -1
  87. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +9 -9
  88. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
  89. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  90. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -1
  91. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  92. package/{es/components/TextField/ui/TextFieldChip/TextFieldChip.styles_14q069b.css → cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles_8puilg.css} +1 -1
  93. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.css +11 -11
  94. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +26 -12
  95. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js.map +1 -1
  96. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +33 -2
  97. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js.map +1 -1
  98. package/cjs/components/TextField/ui/TextFieldChipNew/{TextFieldChipNew.styles_y9tozi.css → TextFieldChipNew.styles_1hj7e4k.css} +1 -1
  99. package/cjs/components/TimePicker/TimePicker.css +11 -11
  100. package/cjs/components/Tree/utils/traverseTree.js +1 -1
  101. package/cjs/components/Tree/utils/traverseTree.js.map +1 -1
  102. package/cjs/index.css +27 -27
  103. package/cjs/index.js +0 -2
  104. package/cjs/index.js.map +1 -1
  105. package/emotion/cjs/components/Calendar/Calendar.tokens.js +1 -0
  106. package/emotion/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +9 -9
  107. package/emotion/cjs/components/Chip/Chip.js +9 -5
  108. package/emotion/cjs/components/Chip/Chip.styles.js +9 -9
  109. package/emotion/cjs/components/Chip/Chip.tokens.js +1 -0
  110. package/emotion/cjs/components/Chip/variations/_disabled/base.js +2 -1
  111. package/emotion/cjs/components/Chip/variations/_readonly/base.js +2 -1
  112. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +5 -3
  113. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  114. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +2 -2
  115. package/emotion/cjs/components/DatePicker/DatePicker.tokens.js +3 -0
  116. package/emotion/cjs/components/DatePicker/DatePickerBase.styles.js +5 -5
  117. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +7 -7
  118. package/emotion/cjs/components/Modal/Modal.js +7 -6
  119. package/emotion/cjs/components/Select/Select.js +3 -2
  120. package/emotion/cjs/components/Select/Select.tokens.js +2 -0
  121. package/emotion/cjs/components/Select/ui/Target/Target.js +2 -1
  122. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -2
  123. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +9 -9
  124. package/emotion/cjs/components/TextField/TextField.js +10 -5
  125. package/emotion/cjs/components/TextField/TextField.tokens.js +2 -0
  126. package/emotion/cjs/components/TextField/hooks/useKeyNavigation.js +11 -4
  127. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
  128. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +5 -5
  129. package/emotion/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +74 -10
  130. package/emotion/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +18 -5
  131. package/emotion/cjs/components/Tree/utils/traverseTree.js +1 -1
  132. package/emotion/cjs/examples/components/Chip/Chip.config.js +14 -14
  133. package/emotion/cjs/examples/components/Combobox/Combobox.config.js +15 -15
  134. package/emotion/cjs/examples/components/Select/Select.config.js +24 -24
  135. package/emotion/cjs/examples/components/TextField/TextField.config.js +23 -23
  136. package/emotion/cjs/mixins/index.js +0 -1
  137. package/emotion/es/components/Calendar/Calendar.tokens.js +1 -0
  138. package/emotion/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +9 -9
  139. package/emotion/es/components/Chip/Chip.js +9 -5
  140. package/emotion/es/components/Chip/Chip.styles.js +9 -9
  141. package/emotion/es/components/Chip/Chip.tokens.js +1 -0
  142. package/emotion/es/components/Chip/variations/_disabled/base.js +2 -1
  143. package/emotion/es/components/Chip/variations/_readonly/base.js +2 -1
  144. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +5 -3
  145. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  146. package/emotion/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +2 -2
  147. package/emotion/es/components/DatePicker/DatePicker.tokens.js +3 -0
  148. package/emotion/es/components/DatePicker/DatePickerBase.styles.js +5 -5
  149. package/emotion/es/components/DatePicker/SingleDate/SingleDate.styles.js +7 -7
  150. package/emotion/es/components/Modal/Modal.js +6 -5
  151. package/emotion/es/components/Select/Select.js +3 -2
  152. package/emotion/es/components/Select/Select.tokens.js +2 -0
  153. package/emotion/es/components/Select/ui/Target/Target.js +2 -1
  154. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -2
  155. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +9 -9
  156. package/emotion/es/components/TextField/TextField.js +10 -5
  157. package/emotion/es/components/TextField/TextField.tokens.js +2 -0
  158. package/emotion/es/components/TextField/hooks/useKeyNavigation.js +11 -4
  159. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
  160. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +5 -5
  161. package/emotion/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +74 -10
  162. package/emotion/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +18 -5
  163. package/emotion/es/components/Tree/utils/traverseTree.js +1 -1
  164. package/emotion/es/examples/components/Chip/Chip.config.js +14 -14
  165. package/emotion/es/examples/components/Combobox/Combobox.config.js +15 -15
  166. package/emotion/es/examples/components/Select/Select.config.js +24 -24
  167. package/emotion/es/examples/components/TextField/TextField.config.js +23 -23
  168. package/emotion/es/mixins/index.js +0 -1
  169. package/es/_virtual/_rollupPluginBabelHelpers.js +1 -8
  170. package/es/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
  171. package/es/components/Autocomplete/Autocomplete.css +11 -11
  172. package/es/components/Calendar/Calendar.tokens.js +1 -0
  173. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  174. package/es/components/Calendar/CalendarBase/CalendarBase.css +4 -4
  175. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +4 -4
  176. package/es/components/Calendar/ui/CalendarDays/CalendarDays.css +4 -4
  177. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  178. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +4 -4
  179. package/es/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  180. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
  181. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +4 -4
  182. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
  183. package/es/components/Calendar/ui/DateStructureItem/{DateStructureItem.styles_12b03hz.css → DateStructureItem.styles_z3dhwf.css} +1 -1
  184. package/es/components/Chip/Chip.css +7 -7
  185. package/es/components/Chip/Chip.js +6 -4
  186. package/es/components/Chip/Chip.js.map +1 -1
  187. package/es/components/Chip/Chip.styles.js +1 -1
  188. package/es/components/Chip/Chip.styles.js.map +1 -1
  189. package/{cjs/components/Chip/Chip.styles_fnd4j5.css → es/components/Chip/Chip.styles_d9y94l.css} +1 -1
  190. package/es/components/Chip/Chip.tokens.js +1 -0
  191. package/es/components/Chip/Chip.tokens.js.map +1 -1
  192. package/es/components/Chip/variations/_disabled/base.js +1 -1
  193. package/es/components/Chip/variations/_disabled/base.js.map +1 -1
  194. package/{cjs/components/Chip/variations/_disabled/base_rmcs0j.css → es/components/Chip/variations/_disabled/base_1j4s925.css} +1 -1
  195. package/es/components/Chip/variations/_readonly/base.js +1 -1
  196. package/es/components/Chip/variations/_readonly/base.js.map +1 -1
  197. package/{cjs/components/Chip/variations/_readonly/base_1nfit77.css → es/components/Chip/variations/_readonly/base_1xublmy.css} +1 -1
  198. package/es/components/Combobox/ComboboxNew/Combobox.css +12 -12
  199. package/es/components/Combobox/ComboboxNew/Combobox.js +6 -3
  200. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  201. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  202. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  203. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  204. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  205. package/es/components/Combobox/ComboboxNew/ui/Target/{Target.styles_1c4vtoy.css → Target.styles_ycaw31.css} +1 -1
  206. package/es/components/Combobox/ComboboxOld/Combobox.css +7 -7
  207. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.css +7 -7
  208. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.css +7 -7
  209. package/es/components/DatePicker/DatePicker.tokens.js +3 -0
  210. package/es/components/DatePicker/DatePicker.tokens.js.map +1 -1
  211. package/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  212. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  213. package/es/components/DatePicker/{DatePickerBase.styles_1fnt3hc.css → DatePickerBase.styles_6x4unn.css} +1 -1
  214. package/es/components/DatePicker/RangeDate/RangeDate.css +19 -19
  215. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +17 -17
  216. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
  217. package/es/components/DatePicker/RangeDate/RangeDatePopover/{RangeDatePopover.styles_160e4y4.css → RangeDatePopover.styles_1wt56uj.css} +2 -2
  218. package/es/components/DatePicker/SingleDate/SingleDate.css +20 -20
  219. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  220. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  221. package/es/components/DatePicker/SingleDate/{SingleDate.styles_15voqba.css → SingleDate.styles_5c37vu.css} +1 -1
  222. package/es/components/Modal/Modal.css +2 -2
  223. package/es/components/Modal/Modal.js +5 -4
  224. package/es/components/Modal/Modal.js.map +1 -1
  225. package/es/components/Pagination/Pagination.css +15 -15
  226. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +15 -15
  227. package/es/components/Range/Range.css +11 -11
  228. package/es/components/Select/Select.css +15 -15
  229. package/es/components/Select/Select.js +2 -2
  230. package/es/components/Select/Select.js.map +1 -1
  231. package/es/components/Select/Select.tokens.js +2 -0
  232. package/es/components/Select/Select.tokens.js.map +1 -1
  233. package/es/components/Select/ui/Target/Target.css +15 -15
  234. package/es/components/Select/ui/Target/Target.js +2 -1
  235. package/es/components/Select/ui/Target/Target.js.map +1 -1
  236. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +15 -15
  237. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
  238. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  239. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +13 -13
  240. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  241. package/es/components/Select/ui/Target/ui/Textfield/{Textfield.styles_1mikp58.css → Textfield.styles_19e9015.css} +1 -1
  242. package/es/components/Slider/Slider.css +11 -11
  243. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +11 -11
  244. package/es/components/Table/Table.css +15 -15
  245. package/es/components/Table/ui/Cell/Cell.css +15 -15
  246. package/es/components/Table/ui/EditableCell/EditableCell.css +15 -15
  247. package/es/components/Table/ui/HeadCell/HeadCell.css +15 -15
  248. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +15 -15
  249. package/es/components/TextField/TextField.js +8 -4
  250. package/es/components/TextField/TextField.js.map +1 -1
  251. package/es/components/TextField/TextField.tokens.js +2 -0
  252. package/es/components/TextField/TextField.tokens.js.map +1 -1
  253. package/es/components/TextField/hooks/useKeyNavigation.js +15 -6
  254. package/es/components/TextField/hooks/useKeyNavigation.js.map +1 -1
  255. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +9 -9
  256. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
  257. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  258. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -1
  259. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  260. package/{cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles_14q069b.css → es/components/TextField/ui/TextFieldChip/TextFieldChip.styles_8puilg.css} +1 -1
  261. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.css +11 -11
  262. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +26 -12
  263. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js.map +1 -1
  264. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +33 -2
  265. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js.map +1 -1
  266. package/es/components/TextField/ui/TextFieldChipNew/{TextFieldChipNew.styles_y9tozi.css → TextFieldChipNew.styles_1hj7e4k.css} +1 -1
  267. package/es/components/TimePicker/TimePicker.css +11 -11
  268. package/es/components/Tree/utils/traverseTree.js +1 -1
  269. package/es/components/Tree/utils/traverseTree.js.map +1 -1
  270. package/es/index.css +27 -27
  271. package/es/index.js +0 -1
  272. package/es/index.js.map +1 -1
  273. package/package.json +2 -2
  274. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +1 -0
  275. package/styled-components/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +8 -7
  276. package/styled-components/cjs/components/Chip/Chip.js +9 -5
  277. package/styled-components/cjs/components/Chip/Chip.styles.js +7 -6
  278. package/styled-components/cjs/components/Chip/Chip.tokens.js +1 -0
  279. package/styled-components/cjs/components/Chip/variations/_disabled/base.js +6 -2
  280. package/styled-components/cjs/components/Chip/variations/_readonly/base.js +6 -2
  281. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +5 -3
  282. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  283. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +6 -2
  284. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +3 -0
  285. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +3 -3
  286. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +10 -4
  287. package/styled-components/cjs/components/Modal/Modal.js +7 -6
  288. package/styled-components/cjs/components/Select/Select.js +3 -2
  289. package/styled-components/cjs/components/Select/Select.tokens.js +2 -0
  290. package/styled-components/cjs/components/Select/ui/Target/Target.js +2 -1
  291. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -2
  292. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +11 -5
  293. package/styled-components/cjs/components/TextField/TextField.js +9 -4
  294. package/styled-components/cjs/components/TextField/TextField.tokens.js +2 -0
  295. package/styled-components/cjs/components/TextField/hooks/useKeyNavigation.js +11 -4
  296. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
  297. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +5 -3
  298. package/styled-components/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +74 -10
  299. package/styled-components/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +28 -5
  300. package/styled-components/cjs/components/Tree/utils/traverseTree.js +1 -1
  301. package/styled-components/cjs/examples/components/Chip/Chip.config.js +24 -12
  302. package/styled-components/cjs/examples/components/Combobox/Combobox.config.js +12 -4
  303. package/styled-components/cjs/examples/components/Select/Select.config.js +10 -4
  304. package/styled-components/cjs/examples/components/TextField/TextField.config.js +18 -6
  305. package/styled-components/cjs/mixins/index.js +0 -1
  306. package/styled-components/es/components/Calendar/Calendar.tokens.js +1 -0
  307. package/styled-components/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +8 -7
  308. package/styled-components/es/components/Chip/Chip.js +9 -5
  309. package/styled-components/es/components/Chip/Chip.styles.js +7 -6
  310. package/styled-components/es/components/Chip/Chip.tokens.js +1 -0
  311. package/styled-components/es/components/Chip/variations/_disabled/base.js +6 -2
  312. package/styled-components/es/components/Chip/variations/_readonly/base.js +6 -2
  313. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +5 -3
  314. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  315. package/styled-components/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +6 -2
  316. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +3 -0
  317. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +3 -3
  318. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +10 -4
  319. package/styled-components/es/components/Modal/Modal.js +6 -5
  320. package/styled-components/es/components/Select/Select.js +3 -2
  321. package/styled-components/es/components/Select/Select.tokens.js +2 -0
  322. package/styled-components/es/components/Select/ui/Target/Target.js +2 -1
  323. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -2
  324. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +11 -5
  325. package/styled-components/es/components/TextField/TextField.js +9 -4
  326. package/styled-components/es/components/TextField/TextField.tokens.js +2 -0
  327. package/styled-components/es/components/TextField/hooks/useKeyNavigation.js +11 -4
  328. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
  329. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +5 -3
  330. package/styled-components/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +74 -10
  331. package/styled-components/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +28 -5
  332. package/styled-components/es/components/Tree/utils/traverseTree.js +1 -1
  333. package/styled-components/es/examples/components/Chip/Chip.config.js +24 -12
  334. package/styled-components/es/examples/components/Combobox/Combobox.config.js +12 -4
  335. package/styled-components/es/examples/components/Select/Select.config.js +10 -4
  336. package/styled-components/es/examples/components/TextField/TextField.config.js +18 -6
  337. package/styled-components/es/mixins/index.js +0 -1
  338. package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts +1 -1
  339. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +8 -8
  340. package/types/components/Calendar/Calendar.tokens.d.ts +1 -0
  341. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  342. package/types/components/Chip/Chip.d.ts.map +1 -1
  343. package/types/components/Chip/Chip.styles.d.ts.map +1 -1
  344. package/types/components/Chip/Chip.tokens.d.ts +1 -0
  345. package/types/components/Chip/Chip.tokens.d.ts.map +1 -1
  346. package/types/components/Chip/Chip.types.d.ts +1 -1
  347. package/types/components/Chip/variations/_disabled/base.d.ts.map +1 -1
  348. package/types/components/Chip/variations/_readonly/base.d.ts.map +1 -1
  349. package/types/components/Combobox/ComboboxNew/Combobox.d.ts +2 -2
  350. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  351. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +2 -0
  352. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  353. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +9 -0
  354. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  355. package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.d.ts +1 -1
  356. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +8 -8
  357. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  358. package/types/components/DatePicker/DatePicker.tokens.d.ts +3 -0
  359. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -1
  360. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -1
  361. package/types/components/DatePicker/RangeDate/RangeDate.d.ts +6 -6
  362. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +8 -8
  363. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  364. package/types/components/Modal/Modal.d.ts.map +1 -1
  365. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +12 -6
  366. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  367. package/types/components/Radiobox/Radiobox.d.ts +2 -2
  368. package/types/components/Range/Range.styles.d.ts +8 -8
  369. package/types/components/Select/Select.d.ts.map +1 -1
  370. package/types/components/Select/Select.tokens.d.ts +2 -0
  371. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  372. package/types/components/Select/Select.types.d.ts +7 -0
  373. package/types/components/Select/Select.types.d.ts.map +1 -1
  374. package/types/components/Select/ui/Target/Target.d.ts +2 -1
  375. package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
  376. package/types/components/Select/ui/Target/Target.types.d.ts +3 -2
  377. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  378. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  379. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +8 -8
  380. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  381. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -1
  382. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  383. package/types/components/Select/utils/getView.d.ts +1 -1
  384. package/types/components/Slider/components/Double/Double.styles.d.ts +8 -8
  385. package/types/components/Table/ui/HeadCell/ui/Filter/Filter.styles.d.ts +12 -6
  386. package/types/components/Table/ui/HeadCell/ui/Filter/Filter.styles.d.ts.map +1 -1
  387. package/types/components/TextField/TextField.d.ts.map +1 -1
  388. package/types/components/TextField/TextField.tokens.d.ts +2 -0
  389. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  390. package/types/components/TextField/hooks/useKeyNavigation.d.ts +11 -2
  391. package/types/components/TextField/hooks/useKeyNavigation.d.ts.map +1 -1
  392. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
  393. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +1 -1
  394. package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.d.ts +2 -1
  395. package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.d.ts.map +1 -1
  396. package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.d.ts +3 -1
  397. package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.d.ts.map +1 -1
  398. package/types/components/TimePicker/TimePicker.styles.d.ts +8 -8
  399. package/types/components/Tree/utils/traverseTree.d.ts.map +1 -1
  400. package/types/examples/components/Autocomplete/Autocomplete.d.ts +8 -8
  401. package/types/examples/components/Chip/Chip.config.d.ts.map +1 -1
  402. package/types/examples/components/Combobox/Combobox.config.d.ts.map +1 -1
  403. package/types/examples/components/Combobox/Combobox.d.ts +24 -0
  404. package/types/examples/components/Combobox/Combobox.d.ts.map +1 -1
  405. package/types/examples/components/Combobox/Legacy/Combobox.d.ts +2 -2
  406. package/types/examples/components/DatePicker/DatePicker.d.ts +3 -3
  407. package/types/examples/components/Mask/Mask.d.ts +8 -8
  408. package/types/examples/components/NumberFormat/NumberFormat.d.ts +8 -8
  409. package/types/examples/components/NumberInput/NumberInput.d.ts +2 -2
  410. package/types/examples/components/Radiobox/Radiobox.d.ts +2 -2
  411. package/types/examples/components/Select/Select.config.d.ts.map +1 -1
  412. package/types/examples/components/Select/Select.d.ts +12 -6
  413. package/types/examples/components/Select/Select.d.ts.map +1 -1
  414. package/types/examples/components/TextArea/TextArea.d.ts +8 -8
  415. package/types/examples/components/TextField/TextField.config.d.ts.map +1 -1
  416. package/types/examples/components/TextField/TextField.d.ts +8 -8
  417. package/types/examples/components/Tokens/Colors/Colors.styles.d.ts +1 -1
  418. package/types/examples/components/Tokens/Typography/Typography.styles.d.ts +1 -1
  419. package/types/mixins/index.d.ts +0 -1
  420. package/types/mixins/index.d.ts.map +1 -1
  421. package/types/types/InputHTMLAttributes.d.ts +9 -3
  422. package/types/types/InputHTMLAttributes.d.ts.map +1 -1
  423. package/types/types/TextareaHTMLAttributes.d.ts +9 -3
  424. package/types/types/TextareaHTMLAttributes.d.ts.map +1 -1
  425. package/cjs/mixins/applyDisabled.js +0 -22
  426. package/cjs/mixins/applyDisabled.js.map +0 -1
  427. package/emotion/cjs/mixins/applyDisabled.js +0 -47
  428. package/emotion/es/mixins/applyDisabled.js +0 -39
  429. package/es/mixins/applyDisabled.js +0 -18
  430. package/es/mixins/applyDisabled.js.map +0 -1
  431. package/styled-components/cjs/mixins/applyDisabled.js +0 -23
  432. package/styled-components/es/mixins/applyDisabled.js +0 -15
  433. package/types/mixins/applyDisabled.d.ts +0 -14
  434. package/types/mixins/applyDisabled.d.ts.map +0 -1
@@ -5,11 +5,11 @@ import { calendarBaseConfig, calendarBaseTokens } from "../Calendar";
5
5
  import { tokens } from "./DatePicker.tokens";
6
6
  var mergedCalendarConfig = mergeConfig(calendarBaseConfig);
7
7
  var Calendar = component(mergedCalendarConfig);
8
- export var baseCalendarTokens = "\n padding-top: var(".concat(tokens.calendarPaddingTop, ");\n box-shadow: var(").concat(tokens.calendarShadow, ");\n border-radius: var(").concat(tokens.calendarBorderRadius, ");\n margin-top: var(").concat(tokens.calendarMarginTop, ");\n\n ").concat(calendarBaseTokens.calendarBackgroundColor, ": var(").concat(tokens.calendarBackgroundColor, ");\n ").concat(calendarBaseTokens.calendarSelectedItemBackground, ": var(").concat(tokens.calendarSelectedItemBackground, ");\n ").concat(calendarBaseTokens.calendarSelectedItemColor, ": var(").concat(tokens.calendarSelectedItemColor, ");\n ").concat(calendarBaseTokens.calendarSelectableItemBackgroundHover, ": var(").concat(tokens.calendarSelectableItemBackgroundHover, ");\n ").concat(calendarBaseTokens.calendarCurrentItemBorderColor, ": var(").concat(tokens.calendarCurrentItemBorderColor, ");\n ").concat(calendarBaseTokens.calendarCurrentItemBorderWidth, ": var(").concat(tokens.calendarCurrentItemBorderWidth, ");\n ").concat(calendarBaseTokens.calendarCurrentItemBackgroundHover, ": var(").concat(tokens.calendarCurrentItemBackgroundHover, ");\n ").concat(calendarBaseTokens.calendarCurrentItemColorHover, ": var(").concat(tokens.calendarCurrentItemColorHover, ");\n ").concat(calendarBaseTokens.calendarCurrentItemChildBackgroundHover, ": var(").concat(tokens.calendarCurrentItemChildBackgroundHover, ");\n ").concat(calendarBaseTokens.calendarActiveItemBackground, ": var(").concat(tokens.calendarActiveItemBackground, ");\n ").concat(calendarBaseTokens.calendarActiveItemColor, ": var(").concat(tokens.calendarActiveItemColor, ");\n ").concat(calendarBaseTokens.calendarHoveredItemBackground, ": var(").concat(tokens.calendarHoveredItemBackground, ");\n ").concat(calendarBaseTokens.calendarHoveredItemColor, ": var(").concat(tokens.calendarHoveredItemColor, ");\n ").concat(calendarBaseTokens.calendarRangeBackground, ": var(").concat(tokens.calendarRangeBackground, ");\n ").concat(calendarBaseTokens.calendarOutlineFocusColor, ": var(").concat(tokens.calendarOutlineFocusColor, ");\n ").concat(calendarBaseTokens.calendarContentPrimaryColor, ": var(").concat(tokens.calendarContentPrimaryColor, ");\n ").concat(calendarBaseTokens.calendarContentPrimaryDisabledColor, ": var(").concat(tokens.calendarContentPrimaryDisabledColor, ");\n ").concat(calendarBaseTokens.calendarContentSecondaryColor, ": var(").concat(tokens.calendarContentSecondaryColor, ");\n ").concat(calendarBaseTokens.calendarContentSecondaryDisabledColor, ": var(").concat(tokens.calendarContentSecondaryDisabledColor, ");\n ").concat(calendarBaseTokens.calendarDisabledOpacity, ": var(").concat(tokens.calendarDisabledOpacity, ");\n\n ").concat(calendarBaseTokens.iconButtonColor, ": var(").concat(tokens.iconButtonColor, ");\n ").concat(calendarBaseTokens.iconButtonBackgroundColor, ": var(").concat(tokens.iconButtonBackgroundColor, ");\n ").concat(calendarBaseTokens.iconButtonColorHover, ": var(").concat(tokens.iconButtonColorHover, ");\n ").concat(calendarBaseTokens.iconButtonBackgroundColorHover, ": var(").concat(tokens.iconButtonBackgroundColorHover, ");\n ").concat(calendarBaseTokens.iconButtonColorActive, ": var(").concat(tokens.iconButtonColorActive, ");\n ").concat(calendarBaseTokens.iconButtonBackgroundColorActive, ": var(").concat(tokens.iconButtonBackgroundColorActive, ");\n\n ").concat(calendarBaseTokens.calendarBorderWidth, ": var(").concat(tokens.calendarBorderWidth, ");\n ").concat(calendarBaseTokens.calendarBorderColor, ": var(").concat(tokens.calendarBorderColor, ");\n\n ").concat(calendarBaseTokens.calendarYearsPadding, ": var(").concat(tokens.calendarYearsPadding, ");\n ").concat(calendarBaseTokens.calendarYearItemBorderRadius, ": var(").concat(tokens.calendarYearItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarYearFontFamily, ": var(").concat(tokens.calendarYearFontFamily, ");\n ").concat(calendarBaseTokens.calendarYearFontSize, ": var(").concat(tokens.calendarYearFontSize, ");\n ").concat(calendarBaseTokens.calendarYearFontStyle, ": var(").concat(tokens.calendarYearFontStyle, ");\n ").concat(calendarBaseTokens.calendarYearFontLetterSpacing, ": var(").concat(tokens.calendarYearFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarYearFontLineHeight, ": var(").concat(tokens.calendarYearFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarYearFontWeight, ": var(").concat(tokens.calendarYearFontWeight, ");\n ").concat(calendarBaseTokens.calendarYearSelectedFontWeight, ": var(").concat(tokens.calendarYearSelectedFontWeight, ");\n\n ").concat(calendarBaseTokens.calendarMonthsPadding, ": var(").concat(tokens.calendarMonthsPadding, ");\n ").concat(calendarBaseTokens.calendarMonthItemBorderRadius, ": var(").concat(tokens.calendarMonthItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarMonthFontFamily, ": var(").concat(tokens.calendarMonthFontFamily, ");\n ").concat(calendarBaseTokens.calendarMonthFontSize, ": var(").concat(tokens.calendarMonthFontSize, ");\n ").concat(calendarBaseTokens.calendarMonthFontStyle, ": var(").concat(tokens.calendarMonthFontStyle, ");\n ").concat(calendarBaseTokens.calendarMonthFontLetterSpacing, ": var(").concat(tokens.calendarMonthFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarMonthFontLineHeight, ": var(").concat(tokens.calendarMonthFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarMonthFontWeight, ": var(").concat(tokens.calendarMonthFontWeight, ");\n ").concat(calendarBaseTokens.calendarMonthSelectedFontWeight, ": var(").concat(tokens.calendarMonthSelectedFontWeight, ");\n\n ").concat(calendarBaseTokens.calendarQuartersPadding, ": var(").concat(tokens.calendarQuartersPadding, ");\n ").concat(calendarBaseTokens.calendarQuarterItemBorderRadius, ": var(").concat(tokens.calendarQuarterItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarQuarterFontFamily, ": var(").concat(tokens.calendarQuarterFontFamily, ");\n ").concat(calendarBaseTokens.calendarQuarterFontSize, ": var(").concat(tokens.calendarQuarterFontSize, ");\n ").concat(calendarBaseTokens.calendarQuarterFontStyle, ": var(").concat(tokens.calendarQuarterFontStyle, ");\n ").concat(calendarBaseTokens.calendarQuarterFontLetterSpacing, ": var(").concat(tokens.calendarQuarterFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarQuarterFontLineHeight, ": var(").concat(tokens.calendarQuarterFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarQuarterFontWeight, ": var(").concat(tokens.calendarQuarterFontWeight, ");\n ").concat(calendarBaseTokens.calendarQuarterSelectedFontWeight, ": var(").concat(tokens.calendarQuarterSelectedFontWeight, ");\n \n ").concat(calendarBaseTokens.calendarDaysPadding, ": var(").concat(tokens.calendarDaysPadding, ");\n ").concat(calendarBaseTokens.calendarDayItemBorderRadius, ": var(").concat(tokens.calendarDayItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarDayFontFamily, ": var(").concat(tokens.calendarDayFontFamily, ");\n ").concat(calendarBaseTokens.calendarDayFontSize, ": var(").concat(tokens.calendarDayFontSize, ");\n ").concat(calendarBaseTokens.calendarDayFontStyle, ": var(").concat(tokens.calendarDayFontStyle, ");\n ").concat(calendarBaseTokens.calendarDayFontLetterSpacing, ": var(").concat(tokens.calendarDayFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarDayFontLineHeight, ": var(").concat(tokens.calendarDayFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarDayFontWeight, ": var(").concat(tokens.calendarDayFontWeight, ");\n ").concat(calendarBaseTokens.calendarDaySelectedFontWeight, ": var(").concat(tokens.calendarDaySelectedFontWeight, ");\n ").concat(calendarBaseTokens.calendarDayOfWeekColor, ": var(").concat(tokens.calendarDayOfWeekColor, ");\n \n ").concat(calendarBaseTokens.calendarHeaderWrapperPadding, ": var(").concat(tokens.calendarHeaderWrapperPadding, ");\n ").concat(calendarBaseTokens.calendarHeaderArrowGap, ": var(").concat(tokens.calendarHeaderArrowGap, ");\n ").concat(calendarBaseTokens.calendarHeaderArrowPadding, ": var(").concat(tokens.calendarHeaderArrowPadding, ");\n ").concat(calendarBaseTokens.calendarHeaderPadding, ": var(").concat(tokens.calendarHeaderPadding, ");\n ").concat(calendarBaseTokens.calendarHeaderDateGap, ": var(").concat(tokens.calendarHeaderDateGap, ");\n ").concat(calendarBaseTokens.calendarHeaderFontFamily, ": var(").concat(tokens.calendarHeaderFontFamily, ");\n ").concat(calendarBaseTokens.calendarHeaderFontSize, ": var(").concat(tokens.calendarHeaderFontSize, ");\n ").concat(calendarBaseTokens.calendarHeaderFontStyle, ": var(").concat(tokens.calendarHeaderFontStyle, ");\n ").concat(calendarBaseTokens.calendarHeaderFontLetterSpacing, ": var(").concat(tokens.calendarHeaderFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarHeaderFontLineHeight, ": var(").concat(tokens.calendarHeaderFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarHeaderFontWeight, ": var(").concat(tokens.calendarHeaderFontWeight, ");\n ").concat(calendarBaseTokens.calendarHeaderFontWeightBold, ": var(").concat(tokens.calendarHeaderFontWeightBold, ");\n ").concat(calendarBaseTokens.calendarHeaderArrowColor, ": var(").concat(tokens.calendarHeaderArrowColor, ");\n ").concat(calendarBaseTokens.calendarArrowHeaderCustomSize, ": var(").concat(tokens.calendarHeaderArrowCustomSize, ");\n \n ").concat(calendarBaseTokens.iconButtonHeight, ": var(").concat(tokens.iconButtonHeight, ");\n ").concat(calendarBaseTokens.iconButtonWidth, ": var(").concat(tokens.iconButtonWidth, ");\n ").concat(calendarBaseTokens.iconButtonPadding, ": var(").concat(tokens.iconButtonPadding, ");\n ").concat(calendarBaseTokens.iconButtonRadius, ": var(").concat(tokens.iconButtonRadius, ");\n ").concat(calendarBaseTokens.iconButtonFocusColor, ": var(").concat(tokens.iconButtonFocusColor, ");\n");
8
+ export var baseCalendarTokens = "\n padding-top: var(".concat(tokens.calendarPaddingTop, ");\n box-shadow: var(").concat(tokens.calendarShadow, ");\n border-radius: var(").concat(tokens.calendarBorderRadius, ");\n margin-top: var(").concat(tokens.calendarMarginTop, ");\n\n ").concat(calendarBaseTokens.calendarBackgroundColor, ": var(").concat(tokens.calendarBackgroundColor, ");\n ").concat(calendarBaseTokens.calendarSelectedItemBackground, ": var(").concat(tokens.calendarSelectedItemBackground, ");\n ").concat(calendarBaseTokens.calendarSelectedItemColor, ": var(").concat(tokens.calendarSelectedItemColor, ");\n ").concat(calendarBaseTokens.calendarSelectableItemBackgroundHover, ": var(").concat(tokens.calendarSelectableItemBackgroundHover, ");\n ").concat(calendarBaseTokens.calendarCurrentItemBorderColor, ": var(").concat(tokens.calendarCurrentItemBorderColor, ");\n ").concat(calendarBaseTokens.calendarCurrentItemBorderWidth, ": var(").concat(tokens.calendarCurrentItemBorderWidth, ");\n ").concat(calendarBaseTokens.calendarCurrentItemBackgroundHover, ": var(").concat(tokens.calendarCurrentItemBackgroundHover, ");\n ").concat(calendarBaseTokens.calendarCurrentItemColorHover, ": var(").concat(tokens.calendarCurrentItemColorHover, ");\n ").concat(calendarBaseTokens.calendarCurrentItemChildBackgroundHover, ": var(").concat(tokens.calendarCurrentItemChildBackgroundHover, ");\n ").concat(calendarBaseTokens.calendarActiveItemBackground, ": var(").concat(tokens.calendarActiveItemBackground, ");\n ").concat(calendarBaseTokens.calendarActiveItemColor, ": var(").concat(tokens.calendarActiveItemColor, ");\n ").concat(calendarBaseTokens.calendarHoveredItemBackground, ": var(").concat(tokens.calendarHoveredItemBackground, ");\n ").concat(calendarBaseTokens.calendarHoveredItemColor, ": var(").concat(tokens.calendarHoveredItemColor, ");\n ").concat(calendarBaseTokens.calendarRangeBackground, ": var(").concat(tokens.calendarRangeBackground, ");\n ").concat(calendarBaseTokens.calendarOutlineFocusColor, ": var(").concat(tokens.calendarOutlineFocusColor, ");\n ").concat(calendarBaseTokens.calendarContentPrimaryColor, ": var(").concat(tokens.calendarContentPrimaryColor, ");\n ").concat(calendarBaseTokens.calendarContentPrimaryDisabledColor, ": var(").concat(tokens.calendarContentPrimaryDisabledColor, ");\n ").concat(calendarBaseTokens.calendarContentSecondaryColor, ": var(").concat(tokens.calendarContentSecondaryColor, ");\n ").concat(calendarBaseTokens.calendarContentSecondaryDisabledColor, ": var(").concat(tokens.calendarContentSecondaryDisabledColor, ");\n ").concat(calendarBaseTokens.calendarDisabledOpacity, ": var(").concat(tokens.calendarDisabledOpacity, ");\n\n ").concat(calendarBaseTokens.iconButtonColor, ": var(").concat(tokens.iconButtonColor, ");\n ").concat(calendarBaseTokens.iconButtonBackgroundColor, ": var(").concat(tokens.iconButtonBackgroundColor, ");\n ").concat(calendarBaseTokens.iconButtonColorHover, ": var(").concat(tokens.iconButtonColorHover, ");\n ").concat(calendarBaseTokens.iconButtonBackgroundColorHover, ": var(").concat(tokens.iconButtonBackgroundColorHover, ");\n ").concat(calendarBaseTokens.iconButtonColorActive, ": var(").concat(tokens.iconButtonColorActive, ");\n ").concat(calendarBaseTokens.iconButtonBackgroundColorActive, ": var(").concat(tokens.iconButtonBackgroundColorActive, ");\n\n ").concat(calendarBaseTokens.calendarBorderWidth, ": var(").concat(tokens.calendarBorderWidth, ");\n ").concat(calendarBaseTokens.calendarBorderColor, ": var(").concat(tokens.calendarBorderColor, ");\n\n ").concat(calendarBaseTokens.calendarYearsPadding, ": var(").concat(tokens.calendarYearsPadding, ");\n ").concat(calendarBaseTokens.calendarYearItemBorderRadius, ": var(").concat(tokens.calendarYearItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarYearFontFamily, ": var(").concat(tokens.calendarYearFontFamily, ");\n ").concat(calendarBaseTokens.calendarYearFontSize, ": var(").concat(tokens.calendarYearFontSize, ");\n ").concat(calendarBaseTokens.calendarYearFontStyle, ": var(").concat(tokens.calendarYearFontStyle, ");\n ").concat(calendarBaseTokens.calendarYearFontLetterSpacing, ": var(").concat(tokens.calendarYearFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarYearFontLineHeight, ": var(").concat(tokens.calendarYearFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarYearFontWeight, ": var(").concat(tokens.calendarYearFontWeight, ");\n ").concat(calendarBaseTokens.calendarYearSelectedFontWeight, ": var(").concat(tokens.calendarYearSelectedFontWeight, ");\n\n ").concat(calendarBaseTokens.calendarMonthsPadding, ": var(").concat(tokens.calendarMonthsPadding, ");\n ").concat(calendarBaseTokens.calendarMonthItemBorderRadius, ": var(").concat(tokens.calendarMonthItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarMonthFontFamily, ": var(").concat(tokens.calendarMonthFontFamily, ");\n ").concat(calendarBaseTokens.calendarMonthFontSize, ": var(").concat(tokens.calendarMonthFontSize, ");\n ").concat(calendarBaseTokens.calendarMonthFontStyle, ": var(").concat(tokens.calendarMonthFontStyle, ");\n ").concat(calendarBaseTokens.calendarMonthFontLetterSpacing, ": var(").concat(tokens.calendarMonthFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarMonthFontLineHeight, ": var(").concat(tokens.calendarMonthFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarMonthFontWeight, ": var(").concat(tokens.calendarMonthFontWeight, ");\n ").concat(calendarBaseTokens.calendarMonthSelectedFontWeight, ": var(").concat(tokens.calendarMonthSelectedFontWeight, ");\n\n ").concat(calendarBaseTokens.calendarQuartersPadding, ": var(").concat(tokens.calendarQuartersPadding, ");\n ").concat(calendarBaseTokens.calendarQuarterItemBorderRadius, ": var(").concat(tokens.calendarQuarterItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarQuarterFontFamily, ": var(").concat(tokens.calendarQuarterFontFamily, ");\n ").concat(calendarBaseTokens.calendarQuarterFontSize, ": var(").concat(tokens.calendarQuarterFontSize, ");\n ").concat(calendarBaseTokens.calendarQuarterFontStyle, ": var(").concat(tokens.calendarQuarterFontStyle, ");\n ").concat(calendarBaseTokens.calendarQuarterFontLetterSpacing, ": var(").concat(tokens.calendarQuarterFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarQuarterFontLineHeight, ": var(").concat(tokens.calendarQuarterFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarQuarterFontWeight, ": var(").concat(tokens.calendarQuarterFontWeight, ");\n ").concat(calendarBaseTokens.calendarQuarterSelectedFontWeight, ": var(").concat(tokens.calendarQuarterSelectedFontWeight, ");\n \n ").concat(calendarBaseTokens.calendarDaysPadding, ": var(").concat(tokens.calendarDaysPadding, ");\n ").concat(calendarBaseTokens.calendarDayItemBorderRadius, ": var(").concat(tokens.calendarDayItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarDayFontFamily, ": var(").concat(tokens.calendarDayFontFamily, ");\n ").concat(calendarBaseTokens.calendarDayFontSize, ": var(").concat(tokens.calendarDayFontSize, ");\n ").concat(calendarBaseTokens.calendarDayFontStyle, ": var(").concat(tokens.calendarDayFontStyle, ");\n ").concat(calendarBaseTokens.calendarDayFontLetterSpacing, ": var(").concat(tokens.calendarDayFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarDayFontLineHeight, ": var(").concat(tokens.calendarDayFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarDayFontWeight, ": var(").concat(tokens.calendarDayFontWeight, ");\n ").concat(calendarBaseTokens.calendarDaySelectedFontWeight, ": var(").concat(tokens.calendarDaySelectedFontWeight, ");\n ").concat(calendarBaseTokens.calendarDayOfWeekColor, ": var(").concat(tokens.calendarDayOfWeekColor, ");\n \n ").concat(calendarBaseTokens.calendarEventItemBottom, ": var(").concat(tokens.calendarEventItemBottom, ");\n \n ").concat(calendarBaseTokens.calendarHeaderWrapperPadding, ": var(").concat(tokens.calendarHeaderWrapperPadding, ");\n ").concat(calendarBaseTokens.calendarHeaderArrowGap, ": var(").concat(tokens.calendarHeaderArrowGap, ");\n ").concat(calendarBaseTokens.calendarHeaderArrowPadding, ": var(").concat(tokens.calendarHeaderArrowPadding, ");\n ").concat(calendarBaseTokens.calendarHeaderPadding, ": var(").concat(tokens.calendarHeaderPadding, ");\n ").concat(calendarBaseTokens.calendarHeaderDateGap, ": var(").concat(tokens.calendarHeaderDateGap, ");\n ").concat(calendarBaseTokens.calendarHeaderFontFamily, ": var(").concat(tokens.calendarHeaderFontFamily, ");\n ").concat(calendarBaseTokens.calendarHeaderFontSize, ": var(").concat(tokens.calendarHeaderFontSize, ");\n ").concat(calendarBaseTokens.calendarHeaderFontStyle, ": var(").concat(tokens.calendarHeaderFontStyle, ");\n ").concat(calendarBaseTokens.calendarHeaderFontLetterSpacing, ": var(").concat(tokens.calendarHeaderFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarHeaderFontLineHeight, ": var(").concat(tokens.calendarHeaderFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarHeaderFontWeight, ": var(").concat(tokens.calendarHeaderFontWeight, ");\n ").concat(calendarBaseTokens.calendarHeaderFontWeightBold, ": var(").concat(tokens.calendarHeaderFontWeightBold, ");\n ").concat(calendarBaseTokens.calendarHeaderArrowColor, ": var(").concat(tokens.calendarHeaderArrowColor, ");\n ").concat(calendarBaseTokens.calendarArrowHeaderCustomSize, ": var(").concat(tokens.calendarHeaderArrowCustomSize, ");\n \n ").concat(calendarBaseTokens.iconButtonHeight, ": var(").concat(tokens.iconButtonHeight, ");\n ").concat(calendarBaseTokens.iconButtonWidth, ": var(").concat(tokens.iconButtonWidth, ");\n ").concat(calendarBaseTokens.iconButtonPadding, ": var(").concat(tokens.iconButtonPadding, ");\n ").concat(calendarBaseTokens.iconButtonRadius, ": var(").concat(tokens.iconButtonRadius, ");\n ").concat(calendarBaseTokens.iconButtonFocusColor, ": var(").concat(tokens.iconButtonFocusColor, ");\n");
9
9
  // NOTE: переопределение токенов Calendar
10
10
  export var StyledCalendar = styled(Calendar).withConfig({
11
11
  displayName: "DatePickerBase.styles__StyledCalendar",
12
- componentId: "sc-d2170f67-0"
12
+ componentId: "sc-530f24b5-0"
13
13
  })([
14
14
  "",
15
15
  " width:",
@@ -24,7 +24,7 @@ export var StyledCalendar = styled(Calendar).withConfig({
24
24
  });
25
25
  export var InputHidden = styled.input.withConfig({
26
26
  displayName: "DatePickerBase.styles__InputHidden",
27
- componentId: "sc-d2170f67-1"
27
+ componentId: "sc-530f24b5-1"
28
28
  })([
29
29
  "",
30
30
  ";"
@@ -10,14 +10,14 @@ var mergedPopoverConfig = mergeConfig(popoverConfig);
10
10
  var Popover = component(mergedPopoverConfig);
11
11
  export var StyledPopover = styled(Popover).withConfig({
12
12
  displayName: "SingleDate.styles__StyledPopover",
13
- componentId: "sc-72bbf61c-0"
13
+ componentId: "sc-4c1f319e-0"
14
14
  })([
15
15
  ""
16
16
  ]);
17
17
  // NOTE: переопределение токенов TextField
18
18
  export var StyledInput = styled(TextField).withConfig({
19
19
  displayName: "SingleDate.styles__StyledInput",
20
- componentId: "sc-72bbf61c-1"
20
+ componentId: "sc-4c1f319e-1"
21
21
  })([
22
22
  "width:100%;",
23
23
  ":var(",
@@ -145,6 +145,9 @@ export var StyledInput = styled(TextField).withConfig({
145
145
  ");&.",
146
146
  "{",
147
147
  ":var(",
148
+ ",var(",
149
+ "));",
150
+ ":var(",
148
151
  ");",
149
152
  ":var(",
150
153
  ");",
@@ -158,6 +161,9 @@ export var StyledInput = styled(TextField).withConfig({
158
161
  ");}&.",
159
162
  "{",
160
163
  ":var(",
164
+ ",var(",
165
+ "));",
166
+ ":var(",
161
167
  ");",
162
168
  ":var(",
163
169
  ");",
@@ -169,7 +175,7 @@ export var StyledInput = styled(TextField).withConfig({
169
175
  ");",
170
176
  ":var(",
171
177
  ");}"
172
- ], textFieldTokens.color, tokens.textFieldColor, textFieldTokens.placeholderColor, tokens.textFieldPlaceholderColor, textFieldTokens.placeholderColorFocus, tokens.textFieldPlaceholderColorFocus, textFieldTokens.caretColor, tokens.textFieldCaretColor, textFieldTokens.focusColor, tokens.textFieldFocusColor, textFieldTokens.backgroundColor, tokens.textFieldBackgroundColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundColorFocus, textFieldTokens.borderColor, tokens.borderColor, textFieldTokens.borderColorHover, tokens.borderColorHover, textFieldTokens.borderColorFocus, tokens.borderColorFocus, textFieldTokens.colorReadOnly, tokens.textFieldColorReadOnly, textFieldTokens.backgroundColorReadOnly, tokens.textFieldBackgroundColorReadOnly, textFieldTokens.readOnlyOpacity, tokens.textFieldReadOnlyOpacity, textFieldTokens.borderColorReadOnly, tokens.textFieldBorderColorReadOnly, textFieldTokens.placeholderColorReadOnly, tokens.textFieldPlaceholderColorReadOnly, textFieldTokens.height, tokens.textFieldHeight, textFieldTokens.borderWidth, tokens.textFieldBorderWidth, textFieldTokens.borderRadius, tokens.textFieldBorderRadius, textFieldTokens.padding, tokens.textFieldPadding, textFieldTokens.labelInnerPadding, tokens.labelInnerPadding, textFieldTokens.contentLabelInnerPadding, tokens.contentLabelInnerPadding, textFieldTokens.labelOffset, tokens.labelOffset, textFieldTokens.labelFontFamily, tokens.labelFontFamily, textFieldTokens.labelFontStyle, tokens.labelFontStyle, textFieldTokens.labelFontSize, tokens.labelFontSize, textFieldTokens.labelFontWeight, tokens.labelFontWeight, textFieldTokens.labelLetterSpacing, tokens.labelLetterSpacing, textFieldTokens.labelLineHeight, tokens.labelLineHeight, textFieldTokens.labelInnerFontFamily, tokens.labelInnerFontFamily, textFieldTokens.labelInnerFontSize, tokens.labelInnerFontSize, textFieldTokens.labelInnerFontStyle, tokens.labelInnerFontStyle, textFieldTokens.labelInnerFontWeight, tokens.labelInnerFontWeight, textFieldTokens.labelInnerLetterSpacing, tokens.labelInnerLetterSpacing, textFieldTokens.labelInnerLineHeight, tokens.labelInnerLineHeight, textFieldTokens.labelColorReadOnly, tokens.labelColorReadOnly, textFieldTokens.indicatorColor, tokens.indicatorColor, textFieldTokens.indicatorSizeInner, tokens.indicatorSize, textFieldTokens.indicatorSizeOuter, tokens.indicatorSizeOuter, textFieldTokens.indicatorLabelPlacementInner, tokens.indicatorPlacement, textFieldTokens.indicatorLabelPlacementOuter, tokens.indicatorOuterPlacement, textFieldTokens.indicatorLabelPlacementInnerRight, tokens.indicatorPlacementRight, textFieldTokens.indicatorLabelPlacementOuterRight, tokens.indicatorOuterPlacementRight, textFieldTokens.leftContentMargin, tokens.textFieldLeftContentMargin, textFieldTokens.rightContentMargin, tokens.textFieldRightContentMargin, textFieldTokens.fontFamily, tokens.textFieldFontFamily, textFieldTokens.fontSize, tokens.textFieldFontSize, textFieldTokens.fontStyle, tokens.textFieldFontStyle, textFieldTokens.fontWeight, tokens.textFieldFontWeight, textFieldTokens.letterSpacing, tokens.textFieldLetterSpacing, textFieldTokens.lineHeight, tokens.textFieldLineHeight, textFieldTokens.disabledOpacity, tokens.disabledOpacity, textFieldTokens.textBeforeColor, tokens.textFieldTextBeforeColor, textFieldTokens.textAfterColor, tokens.textFieldTextAfterColor, textFieldTokens.textBeforeMargin, tokens.textFieldTextBeforeMargin, textFieldTokens.textAfterMargin, tokens.textFieldTextAfterMargin, textFieldTokens.contentSlotColor, tokens.textFieldContentSlotColor, tokens.textFieldColor, textFieldTokens.contentSlotRightColor, tokens.textFieldContentRightSlotColor, textFieldTokens.contentSlotColor, textFieldTokens.contentSlotRightColorHover, tokens.textFieldContentRightSlotColorHover, textFieldTokens.contentSlotRightColor, textFieldTokens.contentSlotRightOpacityReadOnly, tokens.textFieldContentSlotRightOpacityReadOnly, classes.datePickerError, textFieldTokens.backgroundColor, tokens.textFieldBackgroundErrorColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundErrorColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundErrorColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorError, textFieldTokens.borderColorHover, tokens.textFieldBorderColorErrorHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorErrorFocus, classes.datePickerSuccess, textFieldTokens.backgroundColor, tokens.textFieldBackgroundSuccessColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundSuccessColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundSuccessColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorSuccess, textFieldTokens.borderColorHover, tokens.textFieldBorderColorSuccessHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorSuccessFocus);
178
+ ], textFieldTokens.color, tokens.textFieldColor, textFieldTokens.placeholderColor, tokens.textFieldPlaceholderColor, textFieldTokens.placeholderColorFocus, tokens.textFieldPlaceholderColorFocus, textFieldTokens.caretColor, tokens.textFieldCaretColor, textFieldTokens.focusColor, tokens.textFieldFocusColor, textFieldTokens.backgroundColor, tokens.textFieldBackgroundColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundColorFocus, textFieldTokens.borderColor, tokens.borderColor, textFieldTokens.borderColorHover, tokens.borderColorHover, textFieldTokens.borderColorFocus, tokens.borderColorFocus, textFieldTokens.colorReadOnly, tokens.textFieldColorReadOnly, textFieldTokens.backgroundColorReadOnly, tokens.textFieldBackgroundColorReadOnly, textFieldTokens.readOnlyOpacity, tokens.textFieldReadOnlyOpacity, textFieldTokens.borderColorReadOnly, tokens.textFieldBorderColorReadOnly, textFieldTokens.placeholderColorReadOnly, tokens.textFieldPlaceholderColorReadOnly, textFieldTokens.height, tokens.textFieldHeight, textFieldTokens.borderWidth, tokens.textFieldBorderWidth, textFieldTokens.borderRadius, tokens.textFieldBorderRadius, textFieldTokens.padding, tokens.textFieldPadding, textFieldTokens.labelInnerPadding, tokens.labelInnerPadding, textFieldTokens.contentLabelInnerPadding, tokens.contentLabelInnerPadding, textFieldTokens.labelOffset, tokens.labelOffset, textFieldTokens.labelFontFamily, tokens.labelFontFamily, textFieldTokens.labelFontStyle, tokens.labelFontStyle, textFieldTokens.labelFontSize, tokens.labelFontSize, textFieldTokens.labelFontWeight, tokens.labelFontWeight, textFieldTokens.labelLetterSpacing, tokens.labelLetterSpacing, textFieldTokens.labelLineHeight, tokens.labelLineHeight, textFieldTokens.labelInnerFontFamily, tokens.labelInnerFontFamily, textFieldTokens.labelInnerFontSize, tokens.labelInnerFontSize, textFieldTokens.labelInnerFontStyle, tokens.labelInnerFontStyle, textFieldTokens.labelInnerFontWeight, tokens.labelInnerFontWeight, textFieldTokens.labelInnerLetterSpacing, tokens.labelInnerLetterSpacing, textFieldTokens.labelInnerLineHeight, tokens.labelInnerLineHeight, textFieldTokens.labelColorReadOnly, tokens.labelColorReadOnly, textFieldTokens.indicatorColor, tokens.indicatorColor, textFieldTokens.indicatorSizeInner, tokens.indicatorSize, textFieldTokens.indicatorSizeOuter, tokens.indicatorSizeOuter, textFieldTokens.indicatorLabelPlacementInner, tokens.indicatorPlacement, textFieldTokens.indicatorLabelPlacementOuter, tokens.indicatorOuterPlacement, textFieldTokens.indicatorLabelPlacementInnerRight, tokens.indicatorPlacementRight, textFieldTokens.indicatorLabelPlacementOuterRight, tokens.indicatorOuterPlacementRight, textFieldTokens.leftContentMargin, tokens.textFieldLeftContentMargin, textFieldTokens.rightContentMargin, tokens.textFieldRightContentMargin, textFieldTokens.fontFamily, tokens.textFieldFontFamily, textFieldTokens.fontSize, tokens.textFieldFontSize, textFieldTokens.fontStyle, tokens.textFieldFontStyle, textFieldTokens.fontWeight, tokens.textFieldFontWeight, textFieldTokens.letterSpacing, tokens.textFieldLetterSpacing, textFieldTokens.lineHeight, tokens.textFieldLineHeight, textFieldTokens.disabledOpacity, tokens.disabledOpacity, textFieldTokens.textBeforeColor, tokens.textFieldTextBeforeColor, textFieldTokens.textAfterColor, tokens.textFieldTextAfterColor, textFieldTokens.textBeforeMargin, tokens.textFieldTextBeforeMargin, textFieldTokens.textAfterMargin, tokens.textFieldTextAfterMargin, textFieldTokens.contentSlotColor, tokens.textFieldContentSlotColor, tokens.textFieldColor, textFieldTokens.contentSlotRightColor, tokens.textFieldContentRightSlotColor, textFieldTokens.contentSlotColor, textFieldTokens.contentSlotRightColorHover, tokens.textFieldContentRightSlotColorHover, textFieldTokens.contentSlotRightColor, textFieldTokens.contentSlotRightOpacityReadOnly, tokens.textFieldContentSlotRightOpacityReadOnly, classes.datePickerError, textFieldTokens.color, tokens.textFieldColorError, tokens.textFieldColor, textFieldTokens.backgroundColor, tokens.textFieldBackgroundErrorColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundErrorColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundErrorColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorError, textFieldTokens.borderColorHover, tokens.textFieldBorderColorErrorHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorErrorFocus, classes.datePickerSuccess, textFieldTokens.color, tokens.textFieldColorSuccess, tokens.textFieldColor, textFieldTokens.backgroundColor, tokens.textFieldBackgroundSuccessColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundSuccessColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundSuccessColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorSuccess, textFieldTokens.borderColorHover, tokens.textFieldBorderColorSuccessHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorSuccessFocus);
173
179
  export var base = css([
174
180
  "display:inline-block;.",
175
181
  ",.",
@@ -179,7 +185,7 @@ export var base = css([
179
185
  ], popoverClasses.wrapper, popoverClasses.target, classes.datePickerstretched, popoverClasses.root);
180
186
  export var LeftHelper = styled.div.withConfig({
181
187
  displayName: "SingleDate.styles__LeftHelper",
182
- componentId: "sc-72bbf61c-2"
188
+ componentId: "sc-4c1f319e-2"
183
189
  })([
184
190
  "color:var(",
185
191
  ");&.",
@@ -58,10 +58,10 @@ import { useForkRef } from "@salutejs/plasma-core";
58
58
  import { safeUseId } from "../../utils";
59
59
  import { component } from "../../engines";
60
60
  import { useFocusTrap } from "../../hooks";
61
+ import { IconClose } from "../_Icon";
61
62
  import { popupConfig, usePopupContext } from "../Popup";
62
63
  import { Overlay } from "../Overlay";
63
64
  import { DEFAULT_Z_INDEX } from "../Popup/utils";
64
- import { IconClose } from "../_Icon/Icons/IconClose";
65
65
  import { classes, tokens } from "./Modal.tokens";
66
66
  import { useModal } from "./hooks";
67
67
  import { base as viewCSS } from "./variations/_view/base";
@@ -74,7 +74,7 @@ var Popup = component(popupConfig);
74
74
  * Управляет показом/скрытием, подложкой и анимацией визуальной части модального окна.
75
75
  */ export var modalRoot = function(Root) {
76
76
  return /*#__PURE__*/ forwardRef(function(_param, outerRootRef) {
77
- var id = _param.id, withAnimation = _param.withAnimation, onClose = _param.onClose, onOverlayClick = _param.onOverlayClick, onEscKeyDown = _param.onEscKeyDown, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_closeOnOverlayClick = _param.closeOnOverlayClick, closeOnOverlayClick = _param_closeOnOverlayClick === void 0 ? true : _param_closeOnOverlayClick, withBlur = _param.withBlur, _param_isFocusTrapped = _param.isFocusTrapped, isFocusTrapped = _param_isFocusTrapped === void 0 ? true : _param_isFocusTrapped, initialFocusRef = _param.initialFocusRef, focusAfterRef = _param.focusAfterRef, zIndex = _param.zIndex, popupInfo = _param.popupInfo, children = _param.children, view = _param.view, opened = _param.opened, isOpen = _param.isOpen, hasBody = _param.hasBody, hasClose = _param.hasClose, resizable = _param.resizable, draggable = _param.draggable, rest = _object_without_properties(_param, [
77
+ var id = _param.id, withAnimation = _param.withAnimation, onClose = _param.onClose, onOverlayClick = _param.onOverlayClick, onEscKeyDown = _param.onEscKeyDown, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_closeOnOverlayClick = _param.closeOnOverlayClick, closeOnOverlayClick = _param_closeOnOverlayClick === void 0 ? true : _param_closeOnOverlayClick, withBlur = _param.withBlur, _param_isFocusTrapped = _param.isFocusTrapped, isFocusTrapped = _param_isFocusTrapped === void 0 ? true : _param_isFocusTrapped, initialFocusRef = _param.initialFocusRef, focusAfterRef = _param.focusAfterRef, zIndex = _param.zIndex, popupInfo = _param.popupInfo, children = _param.children, view = _param.view, opened = _param.opened, isOpen = _param.isOpen, hasBody = _param.hasBody, hasClose = _param.hasClose, resizable = _param.resizable, draggable = _param.draggable, overlay = _param.overlay, rest = _object_without_properties(_param, [
78
78
  "id",
79
79
  "withAnimation",
80
80
  "onClose",
@@ -95,7 +95,8 @@ var Popup = component(popupConfig);
95
95
  "hasBody",
96
96
  "hasClose",
97
97
  "resizable",
98
- "draggable"
98
+ "draggable",
99
+ "overlay"
99
100
  ]);
100
101
  var innerIsOpen = Boolean(isOpen || opened);
101
102
  var innerHasClose = hasClose === undefined && hasBody || hasClose;
@@ -148,9 +149,9 @@ var Popup = component(popupConfig);
148
149
  popupInfo: modalInfo,
149
150
  withAnimation: withAnimation,
150
151
  zIndex: zIndex,
151
- overlay: hasBody ? overlayNode : /*#__PURE__*/ React.createElement(Root, {
152
+ overlay: /*#__PURE__*/ React.createElement(Root, {
152
153
  view: view
153
- }, overlayNode),
154
+ }, overlay || overlayNode),
154
155
  draggable: draggable,
155
156
  resizable: resizable
156
157
  }, rest), hasBody ? /*#__PURE__*/ React.createElement(Root, {
@@ -121,7 +121,7 @@ import { Context } from "./Select.context";
121
121
  return /*#__PURE__*/ forwardRef(function(props, ref) {
122
122
  var _getItemByFocused;
123
123
  var // eslint-disable-block @typescript-eslint/ban-ts-comment
124
- id = props.id, outerValue = props.value, outerOnChange = props.onChange, _props_target = props.target, target = _props_target === void 0 ? 'textfield-like' : _props_target, items = props.items, _props_placement = props.placement, placement = _props_placement === void 0 ? 'bottom' : _props_placement, label = props.label, labelPlacement = props.labelPlacement, placeholder = props.placeholder, helperText = props.helperText, _props_disabled = props.disabled, disabled = _props_disabled === void 0 ? false : _props_disabled, _props_readOnly = props.readOnly, readOnly = _props_readOnly === void 0 ? false : _props_readOnly, outerView = props.view, size = props.size, listOverflow = props.listOverflow, listHeight = props.listHeight, listMaxHeight = props.listMaxHeight, listWidth = props.listWidth, contentLeft = props.contentLeft, onScrollBottom = props.onScrollBottom, onScroll = props.onScroll, chipView = props.chipView, _props_variant = props.variant, variant = _props_variant === void 0 ? 'normal' : _props_variant, portal = props.portal, renderValue = props.renderValue, renderItem = props.renderItem, status = props.status, onItemSelect = props.onItemSelect, separator = props.separator, outerCloseAfterSelect = props.closeAfterSelect, isTargetAmount = props.isTargetAmount, beforeList = props.beforeList, afterList = props.afterList, zIndex = props.zIndex, name = props.name, defaultValue = props.defaultValue, _props_virtual = props.virtual, virtual = _props_virtual === void 0 ? false : _props_virtual, onToggle = props.onToggle, chipType = props.chipType, multiselect = props.multiselect, _props_mode = props.mode, mode = _props_mode === void 0 ? 'default' : _props_mode, // @ts-ignore
124
+ id = props.id, outerValue = props.value, outerOnChange = props.onChange, _props_target = props.target, target = _props_target === void 0 ? 'textfield-like' : _props_target, items = props.items, _props_placement = props.placement, placement = _props_placement === void 0 ? 'bottom' : _props_placement, label = props.label, labelPlacement = props.labelPlacement, placeholder = props.placeholder, helperText = props.helperText, _props_disabled = props.disabled, disabled = _props_disabled === void 0 ? false : _props_disabled, _props_readOnly = props.readOnly, readOnly = _props_readOnly === void 0 ? false : _props_readOnly, outerView = props.view, size = props.size, listOverflow = props.listOverflow, listHeight = props.listHeight, listMaxHeight = props.listMaxHeight, listWidth = props.listWidth, contentLeft = props.contentLeft, onScrollBottom = props.onScrollBottom, onScroll = props.onScroll, chipView = props.chipView, _props_variant = props.variant, variant = _props_variant === void 0 ? 'normal' : _props_variant, portal = props.portal, renderValue = props.renderValue, renderItem = props.renderItem, status = props.status, onItemSelect = props.onItemSelect, separator = props.separator, outerCloseAfterSelect = props.closeAfterSelect, isTargetAmount = props.isTargetAmount, beforeList = props.beforeList, afterList = props.afterList, zIndex = props.zIndex, name = props.name, defaultValue = props.defaultValue, _props_virtual = props.virtual, virtual = _props_virtual === void 0 ? false : _props_virtual, onToggle = props.onToggle, chipType = props.chipType, multiselect = props.multiselect, _props_mode = props.mode, mode = _props_mode === void 0 ? 'default' : _props_mode, chipClickArea = props.chipClickArea, // @ts-ignore
125
125
  _offset = props._offset, // Извлекаем пропсы для required и hint, чтобы они не попадали в DOM.
126
126
  // @ts-ignore
127
127
  required = props.required, // @ts-ignore
@@ -178,6 +178,7 @@ import { Context } from "./Select.context";
178
178
  "chipType",
179
179
  "multiselect",
180
180
  "mode",
181
+ "chipClickArea",
181
182
  "_offset",
182
183
  "required",
183
184
  "requiredPlacement",
@@ -402,7 +403,7 @@ import { Context } from "./Select.context";
402
403
  // В данном эффекте мы следим за изменениями value снаружи и вносим коррективы в дерево чекбоксов.
403
404
  // Пример: когда юзер очистил value извне, тогда нужно пройтись по элементам и выключить все чекбоксы.
404
405
  useLayoutEffect(function() {
405
- var checkedCopy = new Map(checked);
406
+ var checkedCopy = new Map(valueToCheckedMap);
406
407
  checkedCopy.forEach(function(_, key) {
407
408
  checkedCopy.set(key, false);
408
409
  });
@@ -195,6 +195,8 @@ export var tokens = {
195
195
  textFieldChipBackgroundActive: '--plasma-select-textfield-chip-background-active',
196
196
  textFieldChipColorActive: '--plasma-select-textfield-chip-color-active',
197
197
  textFieldChipCloseIconColor: '--plasma-select-textfield-chip-close-icons-color',
198
+ textFieldChipCloseIconColorHover: '--plasma-select-textfield-chip-close-icons-color-hover',
199
+ textFieldChipCloseIconColorReadonly: '--plasma-select-textfield-chip-close-icons-color-readonly',
198
200
  textFieldChipOutlineSize: '--plasma-select-textfield-chip-outline-size',
199
201
  textFieldChipWidth: '--plasma-select-textfield-chip-width',
200
202
  textFieldChipPadding: '--plasma-select-textfield-chip-padding',
@@ -50,6 +50,7 @@ export var Target = /*#__PURE__*/ forwardRef(function(param, ref) {
50
50
  chipView: chipView,
51
51
  requiredProps: requiredProps,
52
52
  hintProps: hintProps,
53
- chipType: selectProps.chipType
53
+ chipType: selectProps.chipType,
54
+ chipClickArea: selectProps.chipClickArea
54
55
  });
55
56
  });
@@ -62,7 +62,7 @@ import { sizeToIconSize, getItemId } from "../../../../utils";
62
62
  import { classes } from "../../../../Select.tokens";
63
63
  import { IconArrowWrapper, StyledArrow, StyledTextField, StyledLeftHelper } from "./Textfield.styles";
64
64
  export var Textfield = /*#__PURE__*/ forwardRef(function(param, ref) {
65
- var inputWrapperRef = param.inputWrapperRef, opened = param.opened, multiselect = param.multiselect, value = param.value, label = param.label, labelPlacement = param.labelPlacement, keepPlaceholder = param.keepPlaceholder, placeholder = param.placeholder, onKeyDown = param.onKeyDown, size = param.size, view = param.view, contentLeft = param.contentLeft, helperText = param.helperText, treeId = param.treeId, activeDescendantItemValue = param.activeDescendantItemValue, disabled = param.disabled, readOnly = param.readOnly, isTargetAmount = param.isTargetAmount, valueToItemMap = param.valueToItemMap, renderValue = param.renderValue, onChange = param.onChange, chipView = param.chipView, requiredProps = param.requiredProps, chipType = param.chipType, hintProps = param.hintProps;
65
+ var inputWrapperRef = param.inputWrapperRef, opened = param.opened, multiselect = param.multiselect, value = param.value, label = param.label, labelPlacement = param.labelPlacement, keepPlaceholder = param.keepPlaceholder, placeholder = param.placeholder, onKeyDown = param.onKeyDown, size = param.size, view = param.view, contentLeft = param.contentLeft, helperText = param.helperText, treeId = param.treeId, activeDescendantItemValue = param.activeDescendantItemValue, disabled = param.disabled, readOnly = param.readOnly, isTargetAmount = param.isTargetAmount, valueToItemMap = param.valueToItemMap, renderValue = param.renderValue, onChange = param.onChange, chipView = param.chipView, requiredProps = param.requiredProps, chipType = param.chipType, hintProps = param.hintProps, chipClickArea = param.chipClickArea;
66
66
  var withArrowInverse = opened ? classes.arrowInverse : undefined;
67
67
  var getValue = function() {
68
68
  var _valueToItemMap_get;
@@ -159,7 +159,8 @@ export var Textfield = /*#__PURE__*/ forwardRef(function(param, ref) {
159
159
  }, multiselect ? {
160
160
  enumerationType: 'chip',
161
161
  _chips: getChips(),
162
- _onChipClick: handleChipClick,
162
+ _onChipCloseClick: handleChipClick,
163
+ _chipClickArea: chipClickArea,
163
164
  chipType: chipType,
164
165
  chipView: chipView
165
166
  } : {
@@ -7,7 +7,7 @@ var mergedConfig = mergeConfig(textFieldConfig);
7
7
  var TextField = component(mergedConfig);
8
8
  export var StyledTextField = styled(TextField).withConfig({
9
9
  displayName: "Textfield.styles__StyledTextField",
10
- componentId: "sc-27756630-0"
10
+ componentId: "sc-504ad6c9-0"
11
11
  })([
12
12
  "",
13
13
  ":var(",
@@ -284,6 +284,12 @@ export var StyledTextField = styled(TextField).withConfig({
284
284
  ");",
285
285
  ":var(",
286
286
  ");",
287
+ ":var(",
288
+ ");",
289
+ ":var(",
290
+ ");",
291
+ ":var(",
292
+ ");",
287
293
  ":",
288
294
  ";& div.input-wrapper:focus-within{background-color:var(",
289
295
  ");}&.",
@@ -326,13 +332,13 @@ export var StyledTextField = styled(TextField).withConfig({
326
332
  }, textFieldTokens.leftHelperColorReadOnly, tokens.textFieldLeftHelperColor, textFieldTokens.labelColorReadOnly, tokens.textFieldLabelColor, textFieldTokens.borderColorReadOnly, function(param) {
327
333
  var opened = param.opened;
328
334
  return opened ? "var(".concat(tokens.textFieldBorderColorFocus, ")") : "var(".concat(tokens.textFieldBorderColor, ")");
329
- }, textFieldTokens.placeholderColor, tokens.textFieldPlaceholderColor, textFieldTokens.borderColorHover, tokens.textFieldBorderColorHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorFocus, textFieldTokens.optionalColor, tokens.textFieldOptionalColor, textFieldTokens.height, tokens.textFieldHeight, textFieldTokens.borderWidth, tokens.textFieldBorderWidth, textFieldTokens.borderRadius, tokens.textFieldBorderRadius, textFieldTokens.padding, tokens.textFieldPadding, textFieldTokens.paddingWithChips, tokens.textFieldPaddingWithChips, textFieldTokens.leftContentMargin, tokens.textFieldLeftContentMargin, textFieldTokens.rightContentMargin, tokens.textFieldRightContentMargin, textFieldTokens.rightContentWithHintMargin, tokens.textFieldRightContentWithHintMargin, textFieldTokens.contentRightWrapperGap, tokens.textFieldContentRightWrapperGap, textFieldTokens.contentRightWrapperMargin, tokens.textFieldContentRightWrapperMargin, textFieldTokens.fontFamily, tokens.textFieldFontFamily, textFieldTokens.fontStyle, tokens.textFieldFontStyle, textFieldTokens.fontSize, tokens.textFieldFontSize, textFieldTokens.fontWeight, tokens.textFieldFontWeight, textFieldTokens.letterSpacing, tokens.textFieldLetterSpacing, textFieldTokens.lineHeight, tokens.textFieldLineHeight, textFieldTokens.contentSlotColor, tokens.textFieldContentSlotColor, textFieldTokens.contentSlotColorHover, tokens.textFieldContentSlotColorHover, textFieldTokens.contentSlotColorActive, tokens.textFieldContentSlotColorActive, textFieldTokens.contentSlotRightColor, tokens.textFieldContentSlotRightColor, textFieldTokens.contentSlotRightColorHover, tokens.textFieldContentSlotRightColorHover, textFieldTokens.contentSlotRightColorActive, tokens.textFieldContentSlotRightColorActive, textFieldTokens.labelOffset, tokens.textFieldLabelOffset, textFieldTokens.labelFontFamily, tokens.textFieldLabelFontFamily, textFieldTokens.labelFontStyle, tokens.textFieldLabelFontStyle, textFieldTokens.labelFontSize, tokens.textFieldLabelFontSize, textFieldTokens.labelFontWeight, tokens.textFieldLabelFontWeight, textFieldTokens.labelLetterSpacing, tokens.textFieldLabelLetterSpacing, textFieldTokens.labelLineHeight, tokens.textFieldLabelLineHeight, textFieldTokens.labelInnerFontFamily, tokens.textFieldLabelInnerFontFamily, textFieldTokens.labelInnerFontStyle, tokens.textFieldLabelInnerFontStyle, textFieldTokens.labelInnerFontSize, tokens.textFieldLabelInnerFontSize, textFieldTokens.labelInnerFontWeight, tokens.textFieldLabelInnerFontWeight, textFieldTokens.labelInnerLetterSpacing, tokens.textFieldLabelInnerLetterSpacing, textFieldTokens.labelInnerLineHeight, tokens.textFieldLabelInnerLineHeight, textFieldTokens.labelInnerPadding, tokens.textFieldLabelInnerPadding, textFieldTokens.contentLabelInnerPadding, tokens.textFieldContentLabelInnerPadding, textFieldTokens.titleCaptionColor, tokens.textFieldTitleCaptionColor, textFieldTokens.titleCaptionInnerLabelOffset, tokens.textFieldTitleCaptionInnerLabelOffset, textFieldTokens.titleCaptionFontFamily, tokens.textFieldTitleCaptionFontFamily, textFieldTokens.titleCaptionFontStyle, tokens.textFieldTitleCaptionFontStyle, textFieldTokens.titleCaptionFontSize, tokens.textFieldTitleCaptionFontSize, textFieldTokens.titleCaptionFontWeight, tokens.textFieldTitleCaptionFontWeight, textFieldTokens.titleCaptionLetterSpacing, tokens.textFieldTitleCaptionLetterSpacing, textFieldTokens.titleCaptionLineHeight, tokens.textFieldTitleCaptionLineHeight, textFieldTokens.leftHelperOffset, tokens.textFieldLeftHelperOffset, textFieldTokens.leftHelperFontFamily, tokens.textFieldLeftHelperFontFamily, textFieldTokens.leftHelperFontStyle, tokens.textFieldLeftHelperFontStyle, textFieldTokens.leftHelperFontSize, tokens.textFieldLeftHelperFontSize, textFieldTokens.leftHelperFontWeight, tokens.textFieldLeftHelperFontWeight, textFieldTokens.leftHelperLetterSpacing, tokens.textFieldLeftHelperLetterSpacing, textFieldTokens.leftHelperLineHeight, tokens.textFieldLeftHelperLineHeight, textFieldTokens.textBeforeColor, tokens.textFieldTextBeforeColor, textFieldTokens.textAfterColor, tokens.textFieldTextAfterColor, textFieldTokens.textBeforeMargin, tokens.textFieldTextBeforeMargin, textFieldTokens.textAfterMargin, tokens.textFieldTextAfterMargin, textFieldTokens.disabledOpacity, tokens.textFieldDisabledOpacity, textFieldTokens.hintCustomIconTargetSize, tokens.textFieldHintCustomIconTargetSize, textFieldTokens.hintMargin, tokens.textFieldHintMargin, textFieldTokens.hintTargetSize, tokens.textFieldHintTargetSize, textFieldTokens.hintIconColor, tokens.textFieldHintIconColor, textFieldTokens.hintInnerLabelPlacementOffset, tokens.textFieldHintInnerLabelPlacementOffset, textFieldTokens.clearHintInnerLabelPlacementOffset, tokens.textFieldClearHintInnerLabelPlacementOffset, textFieldTokens.tooltipBackgroundColor, tokens.textFieldTooltipBackgroundColor, textFieldTokens.tooltipBoxShadow, tokens.textFieldTooltipBoxShadow, textFieldTokens.tooltipColor, tokens.textFieldTooltipColor, textFieldTokens.tooltipPaddingTop, tokens.textFieldTooltipPaddingTop, textFieldTokens.tooltipPaddingRight, tokens.textFieldTooltipPaddingRight, textFieldTokens.tooltipPaddingBottom, tokens.textFieldTooltipPaddingBottom, textFieldTokens.tooltipPaddingLeft, tokens.textFieldTooltipPaddingLeft, textFieldTokens.tooltipMinHeight, tokens.textFieldTooltipMinHeight, textFieldTokens.tooltipBorderRadius, tokens.textFieldTooltipBorderRadius, textFieldTokens.tooltipTextFontFamily, tokens.textFieldTooltipTextFontFamily, textFieldTokens.tooltipTextFontSize, tokens.textFieldTooltipTextFontSize, textFieldTokens.tooltipTextFontStyle, tokens.textFieldTooltipTextFontStyle, textFieldTokens.tooltipTextFontWeight, tokens.textFieldTooltipTextFontWeight, textFieldTokens.tooltipTextFontLetterSpacing, tokens.textFieldTooltipTextFontLetterSpacing, textFieldTokens.tooltipTextFontLineHeight, tokens.textFieldTooltipTextFontLineHeight, textFieldTokens.tooltipContentLeftMargin, tokens.textFieldTooltipContentLeftMargin, textFieldTokens.tooltipArrowMaskWidth, tokens.textFieldTooltipArrowMaskWidth, textFieldTokens.tooltipArrowMaskHeight, tokens.textFieldTooltipArrowMaskHeight, textFieldTokens.tooltipArrowMaskImage, tokens.textFieldTooltipArrowMaskImage, textFieldTokens.tooltipArrowHeight, tokens.textFieldTooltipArrowHeight, textFieldTokens.tooltipArrowEdgeMargin, tokens.textFieldTooltipArrowEdgeMargin, textFieldTokens.tooltipArrowBackground, tokens.textFieldTooltipArrowBackground, textFieldTokens.chipHeight, tokens.textFieldChipHeight, textFieldTokens.chipBorderRadius, tokens.textFieldChipBorderRadius, textFieldTokens.chipGap, tokens.textFieldChipGap, textFieldTokens.chipColor, tokens.textFieldChipColor, textFieldTokens.chipColorHover, tokens.textFieldChipColorHover, textFieldTokens.chipBackground, tokens.textFieldChipBackground, textFieldTokens.chipBackgroundActive, tokens.textFieldChipBackgroundActive, textFieldTokens.chipColorActive, tokens.textFieldChipColorActive, textFieldTokens.chipCloseIconColor, tokens.textFieldChipCloseIconColor, textFieldTokens.chipOutlineSize, tokens.textFieldChipOutlineSize, textFieldTokens.chipWidth, tokens.textFieldChipWidth, textFieldTokens.chipPadding, tokens.textFieldChipPadding, textFieldTokens.chipCloseIconSize, tokens.textFieldChipCloseIconSize, textFieldTokens.chipFontFamily, tokens.textFieldChipFontFamily, textFieldTokens.chipFontSize, tokens.textFieldChipFontSize, textFieldTokens.chipFontStyle, tokens.textFieldChipFontStyle, textFieldTokens.chipFontWeight, tokens.textFieldChipFontWeight, textFieldTokens.chipLetterSpacing, tokens.textFieldChipLetterSpacing, textFieldTokens.chipLineHeight, tokens.textFieldChipLineHeight, textFieldTokens.chipColorReadOnly, tokens.textFieldChipColor, textFieldTokens.chipColorReadOnlyHover, tokens.textFieldChipColor, textFieldTokens.chipBackgroundReadOnly, tokens.textFieldChipBackground, textFieldTokens.chipBackgroundReadOnlyHover, tokens.textFieldChipBackgroundHover, textFieldTokens.chipClearContentMarginLeft, tokens.textFieldChipClearContentMarginLeft, textFieldTokens.chipClearContentMarginRight, tokens.textFieldChipClearContentMarginRight, textFieldTokens.indicatorColor, tokens.textFieldIndicatorColor, textFieldTokens.indicatorSizeInner, tokens.textFieldIndicatorSizeInner, textFieldTokens.indicatorSizeOuter, tokens.textFieldIndicatorSizeOuter, textFieldTokens.indicatorLabelPlacementInner, tokens.textFieldIndicatorLabelPlacementInner, textFieldTokens.indicatorLabelPlacementOuter, tokens.textFieldIndicatorLabelPlacementOuter, textFieldTokens.indicatorLabelPlacementInnerRight, tokens.textFieldIndicatorLabelPlacementInnerRight, textFieldTokens.indicatorLabelPlacementOuterRight, tokens.textFieldIndicatorLabelPlacementOuterRight, textFieldTokens.clearIndicatorLabelPlacementInner, tokens.textFieldClearIndicatorLabelPlacementInner, textFieldTokens.clearIndicatorLabelPlacementInnerRight, tokens.textFieldClearIndicatorLabelPlacementInnerRight, textFieldTokens.clearIndicatorHintInnerRight, tokens.textFieldClearIndicatorHintInnerRight, textFieldTokens.focusColor, tokens.textFieldFocusColor, textFieldTokens.boxShadow, function(param) {
335
+ }, textFieldTokens.placeholderColor, tokens.textFieldPlaceholderColor, textFieldTokens.borderColorHover, tokens.textFieldBorderColorHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorFocus, textFieldTokens.optionalColor, tokens.textFieldOptionalColor, textFieldTokens.height, tokens.textFieldHeight, textFieldTokens.borderWidth, tokens.textFieldBorderWidth, textFieldTokens.borderRadius, tokens.textFieldBorderRadius, textFieldTokens.padding, tokens.textFieldPadding, textFieldTokens.paddingWithChips, tokens.textFieldPaddingWithChips, textFieldTokens.leftContentMargin, tokens.textFieldLeftContentMargin, textFieldTokens.rightContentMargin, tokens.textFieldRightContentMargin, textFieldTokens.rightContentWithHintMargin, tokens.textFieldRightContentWithHintMargin, textFieldTokens.contentRightWrapperGap, tokens.textFieldContentRightWrapperGap, textFieldTokens.contentRightWrapperMargin, tokens.textFieldContentRightWrapperMargin, textFieldTokens.fontFamily, tokens.textFieldFontFamily, textFieldTokens.fontStyle, tokens.textFieldFontStyle, textFieldTokens.fontSize, tokens.textFieldFontSize, textFieldTokens.fontWeight, tokens.textFieldFontWeight, textFieldTokens.letterSpacing, tokens.textFieldLetterSpacing, textFieldTokens.lineHeight, tokens.textFieldLineHeight, textFieldTokens.contentSlotColor, tokens.textFieldContentSlotColor, textFieldTokens.contentSlotColorHover, tokens.textFieldContentSlotColorHover, textFieldTokens.contentSlotColorActive, tokens.textFieldContentSlotColorActive, textFieldTokens.contentSlotRightColor, tokens.textFieldContentSlotRightColor, textFieldTokens.contentSlotRightColorHover, tokens.textFieldContentSlotRightColorHover, textFieldTokens.contentSlotRightColorActive, tokens.textFieldContentSlotRightColorActive, textFieldTokens.labelOffset, tokens.textFieldLabelOffset, textFieldTokens.labelFontFamily, tokens.textFieldLabelFontFamily, textFieldTokens.labelFontStyle, tokens.textFieldLabelFontStyle, textFieldTokens.labelFontSize, tokens.textFieldLabelFontSize, textFieldTokens.labelFontWeight, tokens.textFieldLabelFontWeight, textFieldTokens.labelLetterSpacing, tokens.textFieldLabelLetterSpacing, textFieldTokens.labelLineHeight, tokens.textFieldLabelLineHeight, textFieldTokens.labelInnerFontFamily, tokens.textFieldLabelInnerFontFamily, textFieldTokens.labelInnerFontStyle, tokens.textFieldLabelInnerFontStyle, textFieldTokens.labelInnerFontSize, tokens.textFieldLabelInnerFontSize, textFieldTokens.labelInnerFontWeight, tokens.textFieldLabelInnerFontWeight, textFieldTokens.labelInnerLetterSpacing, tokens.textFieldLabelInnerLetterSpacing, textFieldTokens.labelInnerLineHeight, tokens.textFieldLabelInnerLineHeight, textFieldTokens.labelInnerPadding, tokens.textFieldLabelInnerPadding, textFieldTokens.contentLabelInnerPadding, tokens.textFieldContentLabelInnerPadding, textFieldTokens.titleCaptionColor, tokens.textFieldTitleCaptionColor, textFieldTokens.titleCaptionInnerLabelOffset, tokens.textFieldTitleCaptionInnerLabelOffset, textFieldTokens.titleCaptionFontFamily, tokens.textFieldTitleCaptionFontFamily, textFieldTokens.titleCaptionFontStyle, tokens.textFieldTitleCaptionFontStyle, textFieldTokens.titleCaptionFontSize, tokens.textFieldTitleCaptionFontSize, textFieldTokens.titleCaptionFontWeight, tokens.textFieldTitleCaptionFontWeight, textFieldTokens.titleCaptionLetterSpacing, tokens.textFieldTitleCaptionLetterSpacing, textFieldTokens.titleCaptionLineHeight, tokens.textFieldTitleCaptionLineHeight, textFieldTokens.leftHelperOffset, tokens.textFieldLeftHelperOffset, textFieldTokens.leftHelperFontFamily, tokens.textFieldLeftHelperFontFamily, textFieldTokens.leftHelperFontStyle, tokens.textFieldLeftHelperFontStyle, textFieldTokens.leftHelperFontSize, tokens.textFieldLeftHelperFontSize, textFieldTokens.leftHelperFontWeight, tokens.textFieldLeftHelperFontWeight, textFieldTokens.leftHelperLetterSpacing, tokens.textFieldLeftHelperLetterSpacing, textFieldTokens.leftHelperLineHeight, tokens.textFieldLeftHelperLineHeight, textFieldTokens.textBeforeColor, tokens.textFieldTextBeforeColor, textFieldTokens.textAfterColor, tokens.textFieldTextAfterColor, textFieldTokens.textBeforeMargin, tokens.textFieldTextBeforeMargin, textFieldTokens.textAfterMargin, tokens.textFieldTextAfterMargin, textFieldTokens.disabledOpacity, tokens.textFieldDisabledOpacity, textFieldTokens.hintCustomIconTargetSize, tokens.textFieldHintCustomIconTargetSize, textFieldTokens.hintMargin, tokens.textFieldHintMargin, textFieldTokens.hintTargetSize, tokens.textFieldHintTargetSize, textFieldTokens.hintIconColor, tokens.textFieldHintIconColor, textFieldTokens.hintInnerLabelPlacementOffset, tokens.textFieldHintInnerLabelPlacementOffset, textFieldTokens.clearHintInnerLabelPlacementOffset, tokens.textFieldClearHintInnerLabelPlacementOffset, textFieldTokens.tooltipBackgroundColor, tokens.textFieldTooltipBackgroundColor, textFieldTokens.tooltipBoxShadow, tokens.textFieldTooltipBoxShadow, textFieldTokens.tooltipColor, tokens.textFieldTooltipColor, textFieldTokens.tooltipPaddingTop, tokens.textFieldTooltipPaddingTop, textFieldTokens.tooltipPaddingRight, tokens.textFieldTooltipPaddingRight, textFieldTokens.tooltipPaddingBottom, tokens.textFieldTooltipPaddingBottom, textFieldTokens.tooltipPaddingLeft, tokens.textFieldTooltipPaddingLeft, textFieldTokens.tooltipMinHeight, tokens.textFieldTooltipMinHeight, textFieldTokens.tooltipBorderRadius, tokens.textFieldTooltipBorderRadius, textFieldTokens.tooltipTextFontFamily, tokens.textFieldTooltipTextFontFamily, textFieldTokens.tooltipTextFontSize, tokens.textFieldTooltipTextFontSize, textFieldTokens.tooltipTextFontStyle, tokens.textFieldTooltipTextFontStyle, textFieldTokens.tooltipTextFontWeight, tokens.textFieldTooltipTextFontWeight, textFieldTokens.tooltipTextFontLetterSpacing, tokens.textFieldTooltipTextFontLetterSpacing, textFieldTokens.tooltipTextFontLineHeight, tokens.textFieldTooltipTextFontLineHeight, textFieldTokens.tooltipContentLeftMargin, tokens.textFieldTooltipContentLeftMargin, textFieldTokens.tooltipArrowMaskWidth, tokens.textFieldTooltipArrowMaskWidth, textFieldTokens.tooltipArrowMaskHeight, tokens.textFieldTooltipArrowMaskHeight, textFieldTokens.tooltipArrowMaskImage, tokens.textFieldTooltipArrowMaskImage, textFieldTokens.tooltipArrowHeight, tokens.textFieldTooltipArrowHeight, textFieldTokens.tooltipArrowEdgeMargin, tokens.textFieldTooltipArrowEdgeMargin, textFieldTokens.tooltipArrowBackground, tokens.textFieldTooltipArrowBackground, textFieldTokens.chipHeight, tokens.textFieldChipHeight, textFieldTokens.chipBorderRadius, tokens.textFieldChipBorderRadius, textFieldTokens.chipGap, tokens.textFieldChipGap, textFieldTokens.chipColor, tokens.textFieldChipColor, textFieldTokens.chipColorHover, tokens.textFieldChipColorHover, textFieldTokens.chipBackground, tokens.textFieldChipBackground, textFieldTokens.chipBackgroundHover, tokens.textFieldChipBackgroundHover, textFieldTokens.chipBackgroundActive, tokens.textFieldChipBackgroundActive, textFieldTokens.chipColorActive, tokens.textFieldChipColorActive, textFieldTokens.chipCloseIconColor, tokens.textFieldChipCloseIconColor, textFieldTokens.chipCloseIconColorHover, tokens.textFieldChipCloseIconColorHover, textFieldTokens.chipCloseIconColorReadonly, tokens.textFieldChipCloseIconColorReadonly, textFieldTokens.chipOutlineSize, tokens.textFieldChipOutlineSize, textFieldTokens.chipWidth, tokens.textFieldChipWidth, textFieldTokens.chipPadding, tokens.textFieldChipPadding, textFieldTokens.chipCloseIconSize, tokens.textFieldChipCloseIconSize, textFieldTokens.chipFontFamily, tokens.textFieldChipFontFamily, textFieldTokens.chipFontSize, tokens.textFieldChipFontSize, textFieldTokens.chipFontStyle, tokens.textFieldChipFontStyle, textFieldTokens.chipFontWeight, tokens.textFieldChipFontWeight, textFieldTokens.chipLetterSpacing, tokens.textFieldChipLetterSpacing, textFieldTokens.chipLineHeight, tokens.textFieldChipLineHeight, textFieldTokens.chipColorReadOnly, tokens.textFieldChipColor, textFieldTokens.chipColorReadOnlyHover, tokens.textFieldChipColor, textFieldTokens.chipBackgroundReadOnly, tokens.textFieldChipBackground, textFieldTokens.chipBackgroundReadOnlyHover, tokens.textFieldChipBackgroundHover, textFieldTokens.chipClearContentMarginLeft, tokens.textFieldChipClearContentMarginLeft, textFieldTokens.chipClearContentMarginRight, tokens.textFieldChipClearContentMarginRight, textFieldTokens.indicatorColor, tokens.textFieldIndicatorColor, textFieldTokens.indicatorSizeInner, tokens.textFieldIndicatorSizeInner, textFieldTokens.indicatorSizeOuter, tokens.textFieldIndicatorSizeOuter, textFieldTokens.indicatorLabelPlacementInner, tokens.textFieldIndicatorLabelPlacementInner, textFieldTokens.indicatorLabelPlacementOuter, tokens.textFieldIndicatorLabelPlacementOuter, textFieldTokens.indicatorLabelPlacementInnerRight, tokens.textFieldIndicatorLabelPlacementInnerRight, textFieldTokens.indicatorLabelPlacementOuterRight, tokens.textFieldIndicatorLabelPlacementOuterRight, textFieldTokens.clearIndicatorLabelPlacementInner, tokens.textFieldClearIndicatorLabelPlacementInner, textFieldTokens.clearIndicatorLabelPlacementInnerRight, tokens.textFieldClearIndicatorLabelPlacementInnerRight, textFieldTokens.clearIndicatorHintInnerRight, tokens.textFieldClearIndicatorHintInnerRight, textFieldTokens.focusColor, tokens.textFieldFocusColor, textFieldTokens.boxShadow, function(param) {
330
336
  var disabled = param.disabled;
331
337
  return disabled ? 'none' : "var(".concat(tokens.textFieldBoxShadow, ")");
332
338
  }, tokens.textFieldBackgroundColorFocus, classes.readOnly, textFieldTokens.colorReadOnly, tokens.textFieldColorReadOnly, textFieldTokens.backgroundColorReadOnly, tokens.textFieldBackgroundColorReadOnly, textFieldTokens.placeholderColorReadOnly, tokens.textFieldPlaceholderColorReadOnly, textFieldTokens.dividerColorReadOnly, tokens.textFieldDividerColorReadOnly, textFieldTokens.leftHelperColorReadOnly, tokens.textFieldLeftHelperColorReadOnly, textFieldTokens.labelColorReadOnly, tokens.textFieldLabelColorReadOnly, textFieldTokens.titleCaptionColorReadOnly, tokens.textFieldTitleCaptionColorReadOnly, textFieldTokens.borderColorReadOnly, tokens.textFieldBorderColorReadOnly, textFieldTokens.readOnlyOpacity, tokens.textFieldReadOnlyOpacity, textFieldTokens.chipColorReadOnly, tokens.textFieldChipColorReadOnly, textFieldTokens.chipColorReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, textFieldTokens.chipBackgroundReadOnly, tokens.textFieldChipBackgroundReadOnly, textFieldTokens.chipBackgroundReadOnlyHover, tokens.textFieldChipBackgroundReadOnlyHover, textFieldTokens.chipOpacityReadonly, tokens.textFieldChipOpacityReadonly, textFieldTokens.boxShadow);
333
339
  export var IconArrowWrapper = styled.div.withConfig({
334
340
  displayName: "Textfield.styles__IconArrowWrapper",
335
- componentId: "sc-27756630-1"
341
+ componentId: "sc-504ad6c9-1"
336
342
  })([
337
343
  "line-height:0;color:var(",
338
344
  ");cursor:",
@@ -357,7 +363,7 @@ export var sizeMap = {
357
363
  };
358
364
  export var StyledArrow = styled(IconDisclosureDownCentered).withConfig({
359
365
  displayName: "Textfield.styles__StyledArrow",
360
- componentId: "sc-27756630-2"
366
+ componentId: "sc-504ad6c9-2"
361
367
  })([
362
368
  "width:",
363
369
  ";height:",
@@ -371,7 +377,7 @@ export var StyledArrow = styled(IconDisclosureDownCentered).withConfig({
371
377
  });
372
378
  export var StyledLeftHelper = styled.span.withConfig({
373
379
  displayName: "Textfield.styles__StyledLeftHelper",
374
- componentId: "sc-27756630-3"
380
+ componentId: "sc-504ad6c9-3"
375
381
  })([
376
382
  "margin:0;padding:0;"
377
383
  ]);
@@ -135,7 +135,8 @@ export var textFieldRoot = function(Root) {
135
135
  view = _param.view, size = _param.size, _param_readOnly = _param.readOnly, readOnly = _param_readOnly === void 0 ? false : _param_readOnly, _param_disabled = _param.disabled, disabled = _param_disabled === void 0 ? false : _param_disabled, _param_required = _param.required, required = _param_required === void 0 ? false : _param_required, _param_clear = _param.clear, clear = _param_clear === void 0 ? false : _param_clear, optional = _param.optional, hasDivider = _param.hasDivider, // controlled
136
136
  outerValue = _param.value, values = _param.chips, _param_chipType = _param.chipType, chipType = _param_chipType === void 0 ? 'default' : _param_chipType, // @ts-ignore
137
137
  _chips = _param._chips, // @ts-ignore
138
- _onChipClick = _param._onChipClick, // events
138
+ _chipClickArea = _param._chipClickArea, // @ts-ignore
139
+ _onChipCloseClick = _param._onChipCloseClick, // events
139
140
  onChange = _param.onChange, onChangeChips = _param.onChangeChips, onSearch = _param.onSearch, onKeyDown = _param.onKeyDown, onFocus = _param.onFocus, onBlur = _param.onBlur, onPaste = _param.onPaste, // Пропсы для внутреннего использования, не отдается наружу.
140
141
  // @ts-ignore
141
142
  _onEnterDisabled = _param._onEnterDisabled, // @ts-ignore
@@ -181,7 +182,8 @@ export var textFieldRoot = function(Root) {
181
182
  "chips",
182
183
  "chipType",
183
184
  "_chips",
184
- "_onChipClick",
185
+ "_chipClickArea",
186
+ "_onChipCloseClick",
185
187
  "onChange",
186
188
  "onChangeChips",
187
189
  "onSearch",
@@ -324,11 +326,13 @@ export var textFieldRoot = function(Root) {
324
326
  disabled: disabled,
325
327
  readOnly: readOnly,
326
328
  chips: chips,
329
+ newCustomChips: _chips,
327
330
  enumerationType: enumerationType,
328
331
  updateChips: updateChips,
329
332
  onSearch: onSearch,
330
333
  onChange: onChange,
331
- onEnterDisabled: _onEnterDisabled
334
+ onEnterDisabled: _onEnterDisabled,
335
+ onChipCloseClick: _onChipCloseClick
332
336
  }), handleInputKeydown = _useKeyNavigation.handleInputKeydown, handleChipKeyDown = _useKeyNavigation.handleChipKeyDown, onChipClear = _useKeyNavigation.onChipClear, handleContentKeyDown = _useKeyNavigation.handleContentKeyDown;
333
337
  var onChipClick = function(event) {
334
338
  return event.stopPropagation();
@@ -473,10 +477,11 @@ export var textFieldRoot = function(Root) {
473
477
  className: cx(withHasChips, classes.inputScrollableWrapper)
474
478
  }, Boolean(textBefore && isChipEnumeration) && /*#__PURE__*/ React.createElement(StyledTextBefore, null, textBefore), Boolean(_chips === null || _chips === void 0 ? void 0 : _chips.length) && /*#__PURE__*/ React.createElement(TextFieldChipNew, {
475
479
  chips: _chips,
476
- onChipClick: _onChipClick,
477
480
  getRef: getRef,
478
481
  handleChipKeyDown: handleChipKeyDown,
479
482
  onChipClear: onChipClear,
483
+ onChipCloseClick: _onChipCloseClick,
484
+ chipClickArea: _chipClickArea,
480
485
  view: chipView || view,
481
486
  readOnly: readOnly,
482
487
  chipType: chipType,
@@ -153,6 +153,8 @@ export var tokens = {
153
153
  chipColorActive: '--plasma-textfield__chip-color-active',
154
154
  chipFocusColor: '--plasma-textfield__chip-focus-color',
155
155
  chipCloseIconColor: '--plasma-textfield__chip-close-icon-color',
156
+ chipCloseIconColorHover: '--plasma-textfield__chip-close-icon-color-hover',
157
+ chipCloseIconColorReadonly: '--plasma-textfield__chip-close-icon-color-readonly',
156
158
  chipOutlineSize: '--plasma-textfield__chip-outline-size',
157
159
  chipWidth: '--plasma-textfield__chip-width',
158
160
  chipPadding: '--plasma-textfield__chip-padding',
@@ -66,10 +66,10 @@ export var Keys = {
66
66
  Backspace: 'Backspace'
67
67
  };
68
68
  export var useKeyNavigation = function(param) {
69
- var _param_controlledRefs = param.controlledRefs, chipsRefs = _param_controlledRefs.chipsRefs, contentRef = _param_controlledRefs.contentRef, inputRef = _param_controlledRefs.inputRef, disabled = param.disabled, readOnly = param.readOnly, chips = param.chips, enumerationType = param.enumerationType, updateChips = param.updateChips, onChange = param.onChange, onSearch = param.onSearch, _param_onEnterDisabled = param.onEnterDisabled, onEnterDisabled = _param_onEnterDisabled === void 0 ? false : _param_onEnterDisabled;
69
+ var _param_controlledRefs = param.controlledRefs, chipsRefs = _param_controlledRefs.chipsRefs, contentRef = _param_controlledRefs.contentRef, inputRef = _param_controlledRefs.inputRef, disabled = param.disabled, readOnly = param.readOnly, chips = param.chips, newCustomChips = param.newCustomChips, enumerationType = param.enumerationType, updateChips = param.updateChips, onChange = param.onChange, onSearch = param.onSearch, _param_onEnterDisabled = param.onEnterDisabled, onEnterDisabled = _param_onEnterDisabled === void 0 ? false : _param_onEnterDisabled, onChipCloseClick = param.onChipCloseClick;
70
70
  var _useState = _sliced_to_array(useState(-1), 2), activeChipIndex = _useState[0], setActiveChipIndex = _useState[1];
71
71
  var handleInputKeydown = function(event) {
72
- var _inputRef_current;
72
+ var _inputRef_current, _inputRef_current1;
73
73
  var value = event.target.value;
74
74
  if (disabled || readOnly) {
75
75
  return;
@@ -95,7 +95,14 @@ export var useKeyNavigation = function(param) {
95
95
  onSearch(value, event);
96
96
  }
97
97
  }
98
- if (event.key === Keys.Backspace && chips.length && (inputRef === null || inputRef === void 0 ? void 0 : (_inputRef_current = inputRef.current) === null || _inputRef_current === void 0 ? void 0 : _inputRef_current.selectionStart) === 0) {
98
+ if (event.key === Keys.Backspace && (newCustomChips === null || newCustomChips === void 0 ? void 0 : newCustomChips.length) && (inputRef === null || inputRef === void 0 ? void 0 : (_inputRef_current = inputRef.current) === null || _inputRef_current === void 0 ? void 0 : _inputRef_current.selectionStart) === 0) {
99
+ var lastChip = newCustomChips.at(-1);
100
+ if (onChipCloseClick && lastChip) {
101
+ onChipCloseClick(lastChip);
102
+ chipsRefs === null || chipsRefs === void 0 ? void 0 : chipsRefs.current.pop();
103
+ }
104
+ }
105
+ if (event.key === Keys.Backspace && chips.length && (inputRef === null || inputRef === void 0 ? void 0 : (_inputRef_current1 = inputRef.current) === null || _inputRef_current1 === void 0 ? void 0 : _inputRef_current1.selectionStart) === 0) {
99
106
  var newChips1 = _to_consumable_array(chips);
100
107
  newChips1 === null || newChips1 === void 0 ? void 0 : newChips1.pop();
101
108
  chipsRefs === null || chipsRefs === void 0 ? void 0 : chipsRefs.current.pop();
@@ -107,7 +114,7 @@ export var useKeyNavigation = function(param) {
107
114
  }
108
115
  };
109
116
  var onChipClear = function(clearId, index) {
110
- if (!chips.length) {
117
+ if (!chips.length && !(newCustomChips === null || newCustomChips === void 0 ? void 0 : newCustomChips.length)) {
111
118
  return;
112
119
  }
113
120
  var newChips = (chips === null || chips === void 0 ? void 0 : chips.filter(function(param) {
@@ -27,6 +27,7 @@ import { StyledChip, TextChip } from "./TextFieldChip.styles";
27
27
  readOnly: readOnly,
28
28
  onClick: onClick,
29
29
  onClear: onClearHandle,
30
+ onClickClose: onClearHandle,
30
31
  onKeyDown: onKeyDownHandle,
31
32
  text: "".concat(text),
32
33
  view: view,
@@ -9,7 +9,7 @@ var Chip = component(mergedConfig);
9
9
  // NOTE: Необходимое переопределение токенов из компонента Chip т.к. используются его части
10
10
  export var StyledChip = styled(Chip).withConfig({
11
11
  displayName: "TextFieldChip.styles__StyledChip",
12
- componentId: "sc-e83042f5-0"
12
+ componentId: "sc-b645c28d-0"
13
13
  })([
14
14
  "",
15
15
  ":var(",
@@ -61,10 +61,12 @@ export var StyledChip = styled(Chip).withConfig({
61
61
  ":var(",
62
62
  ");",
63
63
  ":var(",
64
+ ");",
65
+ ":var(",
64
66
  ");scroll-snap-align:center;scroll-snap-stop:normal;",
65
67
  " &[readonly]{opacity:var(",
66
68
  ");}"
67
- ], chipTokens.color, tokens.chipColor, chipTokens.background, tokens.chipBackground, chipTokens.colorHover, tokens.chipColorHover, chipTokens.backgroundHover, tokens.chipBackgroundHover, chipTokens.colorActive, tokens.chipColorActive, chipTokens.backgroundActive, tokens.chipBackgroundActive, chipTokens.backgroundReadOnly, tokens.chipBackgroundReadOnly, chipTokens.colorReadOnly, tokens.chipColorReadOnly, chipTokens.backgroundReadOnlyHover, tokens.chipBackgroundReadOnlyHover, chipTokens.colorReadOnlyHover, tokens.chipColorReadOnlyHover, chipTokens.borderRadius, tokens.chipBorderRadius, chipTokens.width, tokens.chipWidth, chipTokens.height, tokens.chipHeight, chipTokens.padding, tokens.chipPadding, chipTokens.fontFamily, tokens.chipFontFamily, chipTokens.fontSize, tokens.chipFontSize, chipTokens.fontStyle, tokens.chipFontStyle, chipTokens.fontWeight, tokens.chipFontWeight, chipTokens.letterSpacing, tokens.chipLetterSpacing, chipTokens.lineHeight, tokens.chipLineHeight, chipTokens.clearContentMarginLeft, tokens.chipClearContentMarginLeft, chipTokens.clearContentMarginRight, tokens.chipClearContentMarginRight, chipTokens.closeIconSize, tokens.chipCloseIconSize, chipTokens.closeIconColor, tokens.chipCloseIconColor, chipTokens.focusColor, tokens.focusColor, addFocus({
69
+ ], chipTokens.color, tokens.chipColor, chipTokens.background, tokens.chipBackground, chipTokens.colorHover, tokens.chipColorHover, chipTokens.backgroundHover, tokens.chipBackgroundHover, chipTokens.colorActive, tokens.chipColorActive, chipTokens.backgroundActive, tokens.chipBackgroundActive, chipTokens.backgroundReadOnly, tokens.chipBackgroundReadOnly, chipTokens.colorReadOnly, tokens.chipColorReadOnly, chipTokens.backgroundReadOnlyHover, tokens.chipBackgroundReadOnlyHover, chipTokens.colorReadOnlyHover, tokens.chipColorReadOnlyHover, chipTokens.borderRadius, tokens.chipBorderRadius, chipTokens.width, tokens.chipWidth, chipTokens.height, tokens.chipHeight, chipTokens.padding, tokens.chipPadding, chipTokens.fontFamily, tokens.chipFontFamily, chipTokens.fontSize, tokens.chipFontSize, chipTokens.fontStyle, tokens.chipFontStyle, chipTokens.fontWeight, tokens.chipFontWeight, chipTokens.letterSpacing, tokens.chipLetterSpacing, chipTokens.lineHeight, tokens.chipLineHeight, chipTokens.clearContentMarginLeft, tokens.chipClearContentMarginLeft, chipTokens.clearContentMarginRight, tokens.chipClearContentMarginRight, chipTokens.closeIconSize, tokens.chipCloseIconSize, chipTokens.closeIconColor, tokens.chipCloseIconColor, chipTokens.closeIconColorHover, tokens.chipCloseIconColorHover, chipTokens.focusColor, tokens.focusColor, addFocus({
68
70
  outlineOffset: '0.0625rem',
69
71
  outlineSize: '0.0625rem',
70
72
  outlineRadius: "calc(var(".concat(tokens.chipBorderRadius, ") - 0.1rem)"),
@@ -72,7 +74,7 @@ export var StyledChip = styled(Chip).withConfig({
72
74
  }), tokens.chipOpacityReadonly);
73
75
  export var TextChip = styled.button.withConfig({
74
76
  displayName: "TextFieldChip.styles__TextChip",
75
- componentId: "sc-e83042f5-1"
77
+ componentId: "sc-b645c28d-1"
76
78
  })([
77
79
  "display:block;flex:none;background:none;border:none;outline:none;padding:0;white-space:nowrap;cursor:pointer;font-family:var(",
78
80
  ");font-size:var(",