@salutejs/plasma-new-hope 0.337.1-canary.2276.18280051462.0 → 0.337.1-canary.2279.18374260150.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 (354) 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/Chip/Chip.css +7 -7
  5. package/cjs/components/Chip/Chip.js +6 -4
  6. package/cjs/components/Chip/Chip.js.map +1 -1
  7. package/cjs/components/Chip/Chip.styles.js +1 -1
  8. package/cjs/components/Chip/Chip.styles.js.map +1 -1
  9. package/cjs/components/Chip/{Chip.styles_fnd4j5.css → Chip.styles_d9y94l.css} +1 -1
  10. package/cjs/components/Chip/Chip.tokens.js +1 -0
  11. package/cjs/components/Chip/Chip.tokens.js.map +1 -1
  12. package/cjs/components/Chip/variations/_disabled/base.js +1 -1
  13. package/cjs/components/Chip/variations/_disabled/base.js.map +1 -1
  14. package/{es/components/Chip/variations/_disabled/base_rmcs0j.css → cjs/components/Chip/variations/_disabled/base_1j4s925.css} +1 -1
  15. package/cjs/components/Chip/variations/_readonly/base.js +1 -1
  16. package/cjs/components/Chip/variations/_readonly/base.js.map +1 -1
  17. package/{es/components/Chip/variations/_readonly/base_1nfit77.css → cjs/components/Chip/variations/_readonly/base_1xublmy.css} +1 -1
  18. package/cjs/components/Combobox/ComboboxNew/Combobox.css +12 -12
  19. package/cjs/components/Combobox/ComboboxNew/Combobox.js +6 -3
  20. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  21. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  22. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  23. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  24. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  25. package/{es/components/Combobox/ComboboxNew/ui/Target/Target.styles_1c4vtoy.css → cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles_ycaw31.css} +1 -1
  26. package/cjs/components/Combobox/ComboboxOld/Combobox.css +7 -7
  27. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.css +7 -7
  28. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.css +7 -7
  29. package/cjs/components/DatePicker/RangeDate/RangeDate.css +11 -11
  30. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +11 -11
  31. package/cjs/components/DatePicker/SingleDate/SingleDate.css +11 -11
  32. package/cjs/components/Pagination/Pagination.css +15 -15
  33. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +15 -15
  34. package/cjs/components/Range/Range.css +11 -11
  35. package/cjs/components/Select/Select.css +15 -15
  36. package/cjs/components/Select/Select.js +2 -2
  37. package/cjs/components/Select/Select.js.map +1 -1
  38. package/cjs/components/Select/Select.tokens.js +2 -0
  39. package/cjs/components/Select/Select.tokens.js.map +1 -1
  40. package/cjs/components/Select/ui/Target/Target.css +15 -15
  41. package/cjs/components/Select/ui/Target/Target.js +2 -1
  42. package/cjs/components/Select/ui/Target/Target.js.map +1 -1
  43. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +15 -15
  44. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
  45. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  46. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +13 -13
  47. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  48. package/cjs/components/Select/ui/Target/ui/Textfield/{Textfield.styles_1mikp58.css → Textfield.styles_19e9015.css} +1 -1
  49. package/cjs/components/Slider/Slider.css +11 -11
  50. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +11 -11
  51. package/cjs/components/Table/Table.css +15 -15
  52. package/cjs/components/Table/ui/Cell/Cell.css +15 -15
  53. package/cjs/components/Table/ui/EditableCell/EditableCell.css +15 -15
  54. package/cjs/components/Table/ui/HeadCell/HeadCell.css +15 -15
  55. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +15 -15
  56. package/cjs/components/TextField/TextField.js +8 -4
  57. package/cjs/components/TextField/TextField.js.map +1 -1
  58. package/cjs/components/TextField/TextField.tokens.js +2 -0
  59. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  60. package/cjs/components/TextField/hooks/useKeyNavigation.js +15 -6
  61. package/cjs/components/TextField/hooks/useKeyNavigation.js.map +1 -1
  62. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +9 -9
  63. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
  64. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  65. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -1
  66. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  67. package/cjs/components/TextField/ui/TextFieldChip/{TextFieldChip.styles_14q069b.css → TextFieldChip.styles_8puilg.css} +1 -1
  68. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.css +11 -11
  69. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +26 -12
  70. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js.map +1 -1
  71. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +33 -2
  72. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js.map +1 -1
  73. package/cjs/components/TextField/ui/TextFieldChipNew/{TextFieldChipNew.styles_y9tozi.css → TextFieldChipNew.styles_1hj7e4k.css} +1 -1
  74. package/cjs/components/TimePicker/TimePicker.css +11 -11
  75. package/cjs/components/Tree/utils/traverseTree.js +1 -1
  76. package/cjs/components/Tree/utils/traverseTree.js.map +1 -1
  77. package/cjs/index.css +16 -16
  78. package/cjs/index.js +0 -2
  79. package/cjs/index.js.map +1 -1
  80. package/emotion/cjs/components/Chip/Chip.js +9 -5
  81. package/emotion/cjs/components/Chip/Chip.styles.js +9 -9
  82. package/emotion/cjs/components/Chip/Chip.tokens.js +1 -0
  83. package/emotion/cjs/components/Chip/variations/_disabled/base.js +2 -1
  84. package/emotion/cjs/components/Chip/variations/_readonly/base.js +2 -1
  85. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +5 -3
  86. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  87. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +2 -2
  88. package/emotion/cjs/components/Select/Select.js +3 -2
  89. package/emotion/cjs/components/Select/Select.tokens.js +2 -0
  90. package/emotion/cjs/components/Select/ui/Target/Target.js +2 -1
  91. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -2
  92. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +9 -9
  93. package/emotion/cjs/components/TextField/TextField.js +10 -5
  94. package/emotion/cjs/components/TextField/TextField.tokens.js +2 -0
  95. package/emotion/cjs/components/TextField/hooks/useKeyNavigation.js +11 -4
  96. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
  97. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +5 -5
  98. package/emotion/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +74 -10
  99. package/emotion/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +18 -5
  100. package/emotion/cjs/components/Tree/utils/traverseTree.js +1 -1
  101. package/emotion/cjs/examples/components/Chip/Chip.config.js +14 -14
  102. package/emotion/cjs/examples/components/Combobox/Combobox.config.js +15 -15
  103. package/emotion/cjs/examples/components/Select/Select.config.js +24 -24
  104. package/emotion/cjs/examples/components/TextField/TextField.config.js +23 -23
  105. package/emotion/cjs/mixins/index.js +0 -1
  106. package/emotion/es/components/Chip/Chip.js +9 -5
  107. package/emotion/es/components/Chip/Chip.styles.js +9 -9
  108. package/emotion/es/components/Chip/Chip.tokens.js +1 -0
  109. package/emotion/es/components/Chip/variations/_disabled/base.js +2 -1
  110. package/emotion/es/components/Chip/variations/_readonly/base.js +2 -1
  111. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +5 -3
  112. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  113. package/emotion/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +2 -2
  114. package/emotion/es/components/Select/Select.js +3 -2
  115. package/emotion/es/components/Select/Select.tokens.js +2 -0
  116. package/emotion/es/components/Select/ui/Target/Target.js +2 -1
  117. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -2
  118. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +9 -9
  119. package/emotion/es/components/TextField/TextField.js +10 -5
  120. package/emotion/es/components/TextField/TextField.tokens.js +2 -0
  121. package/emotion/es/components/TextField/hooks/useKeyNavigation.js +11 -4
  122. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
  123. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +5 -5
  124. package/emotion/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +74 -10
  125. package/emotion/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +18 -5
  126. package/emotion/es/components/Tree/utils/traverseTree.js +1 -1
  127. package/emotion/es/examples/components/Chip/Chip.config.js +14 -14
  128. package/emotion/es/examples/components/Combobox/Combobox.config.js +15 -15
  129. package/emotion/es/examples/components/Select/Select.config.js +24 -24
  130. package/emotion/es/examples/components/TextField/TextField.config.js +23 -23
  131. package/emotion/es/mixins/index.js +0 -1
  132. package/es/_virtual/_rollupPluginBabelHelpers.js +1 -8
  133. package/es/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
  134. package/es/components/Autocomplete/Autocomplete.css +11 -11
  135. package/es/components/Chip/Chip.css +7 -7
  136. package/es/components/Chip/Chip.js +6 -4
  137. package/es/components/Chip/Chip.js.map +1 -1
  138. package/es/components/Chip/Chip.styles.js +1 -1
  139. package/es/components/Chip/Chip.styles.js.map +1 -1
  140. package/es/components/Chip/{Chip.styles_fnd4j5.css → Chip.styles_d9y94l.css} +1 -1
  141. package/es/components/Chip/Chip.tokens.js +1 -0
  142. package/es/components/Chip/Chip.tokens.js.map +1 -1
  143. package/es/components/Chip/variations/_disabled/base.js +1 -1
  144. package/es/components/Chip/variations/_disabled/base.js.map +1 -1
  145. package/{cjs/components/Chip/variations/_disabled/base_rmcs0j.css → es/components/Chip/variations/_disabled/base_1j4s925.css} +1 -1
  146. package/es/components/Chip/variations/_readonly/base.js +1 -1
  147. package/es/components/Chip/variations/_readonly/base.js.map +1 -1
  148. package/{cjs/components/Chip/variations/_readonly/base_1nfit77.css → es/components/Chip/variations/_readonly/base_1xublmy.css} +1 -1
  149. package/es/components/Combobox/ComboboxNew/Combobox.css +12 -12
  150. package/es/components/Combobox/ComboboxNew/Combobox.js +6 -3
  151. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  152. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  153. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  154. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  155. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  156. package/{cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles_1c4vtoy.css → es/components/Combobox/ComboboxNew/ui/Target/Target.styles_ycaw31.css} +1 -1
  157. package/es/components/Combobox/ComboboxOld/Combobox.css +7 -7
  158. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.css +7 -7
  159. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.css +7 -7
  160. package/es/components/DatePicker/RangeDate/RangeDate.css +11 -11
  161. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +11 -11
  162. package/es/components/DatePicker/SingleDate/SingleDate.css +11 -11
  163. package/es/components/Pagination/Pagination.css +15 -15
  164. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +15 -15
  165. package/es/components/Range/Range.css +11 -11
  166. package/es/components/Select/Select.css +15 -15
  167. package/es/components/Select/Select.js +2 -2
  168. package/es/components/Select/Select.js.map +1 -1
  169. package/es/components/Select/Select.tokens.js +2 -0
  170. package/es/components/Select/Select.tokens.js.map +1 -1
  171. package/es/components/Select/ui/Target/Target.css +15 -15
  172. package/es/components/Select/ui/Target/Target.js +2 -1
  173. package/es/components/Select/ui/Target/Target.js.map +1 -1
  174. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +15 -15
  175. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
  176. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  177. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +13 -13
  178. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  179. package/es/components/Select/ui/Target/ui/Textfield/{Textfield.styles_1mikp58.css → Textfield.styles_19e9015.css} +1 -1
  180. package/es/components/Slider/Slider.css +11 -11
  181. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +11 -11
  182. package/es/components/Table/Table.css +15 -15
  183. package/es/components/Table/ui/Cell/Cell.css +15 -15
  184. package/es/components/Table/ui/EditableCell/EditableCell.css +15 -15
  185. package/es/components/Table/ui/HeadCell/HeadCell.css +15 -15
  186. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +15 -15
  187. package/es/components/TextField/TextField.js +8 -4
  188. package/es/components/TextField/TextField.js.map +1 -1
  189. package/es/components/TextField/TextField.tokens.js +2 -0
  190. package/es/components/TextField/TextField.tokens.js.map +1 -1
  191. package/es/components/TextField/hooks/useKeyNavigation.js +15 -6
  192. package/es/components/TextField/hooks/useKeyNavigation.js.map +1 -1
  193. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +9 -9
  194. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
  195. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  196. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -1
  197. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  198. package/es/components/TextField/ui/TextFieldChip/{TextFieldChip.styles_14q069b.css → TextFieldChip.styles_8puilg.css} +1 -1
  199. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.css +11 -11
  200. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +26 -12
  201. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js.map +1 -1
  202. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +33 -2
  203. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js.map +1 -1
  204. package/es/components/TextField/ui/TextFieldChipNew/{TextFieldChipNew.styles_y9tozi.css → TextFieldChipNew.styles_1hj7e4k.css} +1 -1
  205. package/es/components/TimePicker/TimePicker.css +11 -11
  206. package/es/components/Tree/utils/traverseTree.js +1 -1
  207. package/es/components/Tree/utils/traverseTree.js.map +1 -1
  208. package/es/index.css +16 -16
  209. package/es/index.js +0 -1
  210. package/es/index.js.map +1 -1
  211. package/package.json +2 -2
  212. package/styled-components/cjs/components/Chip/Chip.js +9 -5
  213. package/styled-components/cjs/components/Chip/Chip.styles.js +7 -6
  214. package/styled-components/cjs/components/Chip/Chip.tokens.js +1 -0
  215. package/styled-components/cjs/components/Chip/variations/_disabled/base.js +6 -2
  216. package/styled-components/cjs/components/Chip/variations/_readonly/base.js +6 -2
  217. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +5 -3
  218. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  219. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +6 -2
  220. package/styled-components/cjs/components/Select/Select.js +3 -2
  221. package/styled-components/cjs/components/Select/Select.tokens.js +2 -0
  222. package/styled-components/cjs/components/Select/ui/Target/Target.js +2 -1
  223. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -2
  224. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +11 -5
  225. package/styled-components/cjs/components/TextField/TextField.js +9 -4
  226. package/styled-components/cjs/components/TextField/TextField.tokens.js +2 -0
  227. package/styled-components/cjs/components/TextField/hooks/useKeyNavigation.js +11 -4
  228. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
  229. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +5 -3
  230. package/styled-components/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +74 -10
  231. package/styled-components/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +28 -5
  232. package/styled-components/cjs/components/Tree/utils/traverseTree.js +1 -1
  233. package/styled-components/cjs/examples/components/Chip/Chip.config.js +24 -12
  234. package/styled-components/cjs/examples/components/Combobox/Combobox.config.js +12 -4
  235. package/styled-components/cjs/examples/components/Combobox/Combobox.js +0 -15
  236. package/styled-components/cjs/examples/components/Select/Select.config.js +10 -4
  237. package/styled-components/cjs/examples/components/TextField/TextField.config.js +18 -6
  238. package/styled-components/cjs/mixins/index.js +0 -1
  239. package/styled-components/es/components/Chip/Chip.js +9 -5
  240. package/styled-components/es/components/Chip/Chip.styles.js +7 -6
  241. package/styled-components/es/components/Chip/Chip.tokens.js +1 -0
  242. package/styled-components/es/components/Chip/variations/_disabled/base.js +6 -2
  243. package/styled-components/es/components/Chip/variations/_readonly/base.js +6 -2
  244. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +5 -3
  245. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  246. package/styled-components/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +6 -2
  247. package/styled-components/es/components/Select/Select.js +3 -2
  248. package/styled-components/es/components/Select/Select.tokens.js +2 -0
  249. package/styled-components/es/components/Select/ui/Target/Target.js +2 -1
  250. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -2
  251. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +11 -5
  252. package/styled-components/es/components/TextField/TextField.js +9 -4
  253. package/styled-components/es/components/TextField/TextField.tokens.js +2 -0
  254. package/styled-components/es/components/TextField/hooks/useKeyNavigation.js +11 -4
  255. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
  256. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +5 -3
  257. package/styled-components/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +74 -10
  258. package/styled-components/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +28 -5
  259. package/styled-components/es/components/Tree/utils/traverseTree.js +1 -1
  260. package/styled-components/es/examples/components/Chip/Chip.config.js +24 -12
  261. package/styled-components/es/examples/components/Combobox/Combobox.config.js +12 -4
  262. package/styled-components/es/examples/components/Select/Select.config.js +10 -4
  263. package/styled-components/es/examples/components/TextField/TextField.config.js +18 -6
  264. package/styled-components/es/mixins/index.js +0 -1
  265. package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts +1 -1
  266. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +8 -8
  267. package/types/components/Chip/Chip.d.ts.map +1 -1
  268. package/types/components/Chip/Chip.styles.d.ts.map +1 -1
  269. package/types/components/Chip/Chip.tokens.d.ts +1 -0
  270. package/types/components/Chip/Chip.tokens.d.ts.map +1 -1
  271. package/types/components/Chip/Chip.types.d.ts +1 -1
  272. package/types/components/Chip/variations/_disabled/base.d.ts.map +1 -1
  273. package/types/components/Chip/variations/_readonly/base.d.ts.map +1 -1
  274. package/types/components/Combobox/ComboboxNew/Combobox.d.ts +2 -2
  275. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  276. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +2 -0
  277. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  278. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +9 -0
  279. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  280. package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.d.ts +1 -1
  281. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +8 -8
  282. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  283. package/types/components/DatePicker/RangeDate/RangeDate.d.ts +6 -6
  284. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +8 -8
  285. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +12 -6
  286. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  287. package/types/components/Radiobox/Radiobox.d.ts +2 -2
  288. package/types/components/Range/Range.styles.d.ts +8 -8
  289. package/types/components/Select/Select.d.ts.map +1 -1
  290. package/types/components/Select/Select.tokens.d.ts +2 -0
  291. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  292. package/types/components/Select/Select.types.d.ts +7 -0
  293. package/types/components/Select/Select.types.d.ts.map +1 -1
  294. package/types/components/Select/ui/Target/Target.d.ts +2 -1
  295. package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
  296. package/types/components/Select/ui/Target/Target.types.d.ts +3 -2
  297. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  298. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  299. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +8 -8
  300. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  301. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -1
  302. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  303. package/types/components/Select/utils/getView.d.ts +1 -1
  304. package/types/components/Slider/components/Double/Double.styles.d.ts +8 -8
  305. package/types/components/Table/ui/HeadCell/ui/Filter/Filter.styles.d.ts +12 -6
  306. package/types/components/Table/ui/HeadCell/ui/Filter/Filter.styles.d.ts.map +1 -1
  307. package/types/components/TextField/TextField.d.ts.map +1 -1
  308. package/types/components/TextField/TextField.tokens.d.ts +2 -0
  309. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  310. package/types/components/TextField/hooks/useKeyNavigation.d.ts +11 -2
  311. package/types/components/TextField/hooks/useKeyNavigation.d.ts.map +1 -1
  312. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
  313. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +1 -1
  314. package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.d.ts +2 -1
  315. package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.d.ts.map +1 -1
  316. package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.d.ts +3 -1
  317. package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.d.ts.map +1 -1
  318. package/types/components/TimePicker/TimePicker.styles.d.ts +8 -8
  319. package/types/components/Tree/utils/traverseTree.d.ts.map +1 -1
  320. package/types/examples/components/Autocomplete/Autocomplete.d.ts +8 -8
  321. package/types/examples/components/Chip/Chip.config.d.ts.map +1 -1
  322. package/types/examples/components/Combobox/Combobox.config.d.ts.map +1 -1
  323. package/types/examples/components/Combobox/Combobox.d.ts +24 -0
  324. package/types/examples/components/Combobox/Combobox.d.ts.map +1 -1
  325. package/types/examples/components/Combobox/Legacy/Combobox.d.ts +2 -2
  326. package/types/examples/components/DatePicker/DatePicker.d.ts +3 -3
  327. package/types/examples/components/Mask/Mask.d.ts +8 -8
  328. package/types/examples/components/NumberFormat/NumberFormat.d.ts +8 -8
  329. package/types/examples/components/NumberInput/NumberInput.d.ts +2 -2
  330. package/types/examples/components/Radiobox/Radiobox.d.ts +2 -2
  331. package/types/examples/components/Select/Select.config.d.ts.map +1 -1
  332. package/types/examples/components/Select/Select.d.ts +12 -6
  333. package/types/examples/components/Select/Select.d.ts.map +1 -1
  334. package/types/examples/components/TextArea/TextArea.d.ts +8 -8
  335. package/types/examples/components/TextField/TextField.config.d.ts.map +1 -1
  336. package/types/examples/components/TextField/TextField.d.ts +8 -8
  337. package/types/examples/components/Tokens/Colors/Colors.styles.d.ts +1 -1
  338. package/types/examples/components/Tokens/Typography/Typography.styles.d.ts +1 -1
  339. package/types/mixins/index.d.ts +0 -1
  340. package/types/mixins/index.d.ts.map +1 -1
  341. package/types/types/InputHTMLAttributes.d.ts +9 -3
  342. package/types/types/InputHTMLAttributes.d.ts.map +1 -1
  343. package/types/types/TextareaHTMLAttributes.d.ts +9 -3
  344. package/types/types/TextareaHTMLAttributes.d.ts.map +1 -1
  345. package/cjs/mixins/applyDisabled.js +0 -22
  346. package/cjs/mixins/applyDisabled.js.map +0 -1
  347. package/emotion/cjs/mixins/applyDisabled.js +0 -47
  348. package/emotion/es/mixins/applyDisabled.js +0 -39
  349. package/es/mixins/applyDisabled.js +0 -18
  350. package/es/mixins/applyDisabled.js.map +0 -1
  351. package/styled-components/cjs/mixins/applyDisabled.js +0 -23
  352. package/styled-components/es/mixins/applyDisabled.js +0 -15
  353. package/types/mixins/applyDisabled.d.ts +0 -14
  354. package/types/mixins/applyDisabled.d.ts.map +0 -1
@@ -7,7 +7,7 @@ export var base = css([
7
7
  ]);
8
8
  export var StyledContentLeft = styled.div.withConfig({
9
9
  displayName: "Chip.styles__StyledContentLeft",
10
- componentId: "sc-9d5799f0-0"
10
+ componentId: "sc-ea11377a-0"
11
11
  })([
12
12
  "display:flex;margin-left:var(",
13
13
  ");margin-right:var(",
@@ -16,14 +16,14 @@ export var StyledContentLeft = styled.div.withConfig({
16
16
  ], tokens.leftContentMarginLeft, tokens.leftContentMarginRight, tokens.leftContentColor);
17
17
  export var StyledContentMain = styled.div.withConfig({
18
18
  displayName: "Chip.styles__StyledContentMain",
19
- componentId: "sc-9d5799f0-1"
19
+ componentId: "sc-ea11377a-1"
20
20
  })([
21
21
  "",
22
22
  ";"
23
23
  ], applyEllipsis());
24
24
  export var StyledContentRight = styled.div.withConfig({
25
25
  displayName: "Chip.styles__StyledContentRight",
26
- componentId: "sc-9d5799f0-2"
26
+ componentId: "sc-ea11377a-2"
27
27
  })([
28
28
  "display:flex;margin-left:var(",
29
29
  ");margin-right:",
@@ -33,10 +33,11 @@ export var StyledContentRight = styled.div.withConfig({
33
33
  });
34
34
  export var StyledContentClear = styled.div.withConfig({
35
35
  displayName: "Chip.styles__StyledContentClear",
36
- componentId: "sc-9d5799f0-3"
36
+ componentId: "sc-ea11377a-3"
37
37
  })([
38
38
  "display:flex;margin-left:var(",
39
39
  ");margin-right:var(",
40
40
  ");color:var(",
41
- ");"
42
- ], tokens.clearContentMarginLeft, tokens.clearContentMarginRight, tokens.closeIconColor);
41
+ ");:hover{color:var(",
42
+ ");}"
43
+ ], tokens.clearContentMarginLeft, tokens.clearContentMarginRight, tokens.closeIconColor, tokens.closeIconColorHover);
@@ -18,6 +18,7 @@ export var tokens = {
18
18
  closeIconColor: '--plasma-chip-close-icon-color',
19
19
  closeIconColorHover: '--plasma-chip-close-icon-color-hover',
20
20
  closeIconColorActive: '--plasma-chip-close-icon-color-active',
21
+ closeIconColorReadonly: '--plasma-chip-close-icon-color-readonly',
21
22
  leftContentColor: '--plasma-chip-left-content-color',
22
23
  borderRadius: '--plasma-chip-border-radius',
23
24
  pilledBorderRadius: '--plasma-chip-pilled-border-radius',
@@ -1,8 +1,12 @@
1
1
  import { css } from "styled-components";
2
2
  import { tokens } from "../../Chip.tokens";
3
+ import { StyledContentClear } from "../../Chip.styles";
3
4
  export var base = css([
4
5
  "&[disabled]{opacity:var(",
5
6
  ");cursor:not-allowed;:hover,:active{scale:none;color:var(",
6
7
  ");background-color:var(",
7
- ");}}"
8
- ], tokens.disabledOpacity, tokens.color, tokens.background);
8
+ ");}",
9
+ "{color:var(",
10
+ ");&:hover{color:var(",
11
+ ");}}}"
12
+ ], tokens.disabledOpacity, tokens.color, tokens.background, StyledContentClear, tokens.closeIconColor, tokens.closeIconColor);
@@ -1,9 +1,13 @@
1
1
  import { css } from "styled-components";
2
2
  import { tokens } from "../../Chip.tokens";
3
+ import { StyledContentClear } from "../../Chip.styles";
3
4
  export var base = css([
4
5
  "&[readonly]{color:var(",
5
6
  ");background-color:var(",
6
7
  ");:hover,:active{scale:none;cursor:default;color:var(",
7
8
  ");background-color:var(",
8
- ");}}"
9
- ], tokens.colorReadOnly, tokens.backgroundReadOnly, tokens.colorReadOnlyHover, tokens.backgroundReadOnlyHover);
9
+ ");}",
10
+ "{color:var(",
11
+ ");&:hover{color:var(",
12
+ ");}}}"
13
+ ], tokens.colorReadOnly, tokens.backgroundReadOnly, tokens.colorReadOnlyHover, tokens.backgroundReadOnlyHover, StyledContentClear, tokens.closeIconColorReadonly, tokens.closeIconColorReadonly);
@@ -149,7 +149,7 @@ import { Context } from "./Combobox.context";
149
149
  */ export var comboboxRoot = function(Root) {
150
150
  return /*#__PURE__*/ forwardRef(function(props, ref) {
151
151
  var _getItemByFocused;
152
- var name = props.name, multiple = props.multiple, outerValue = props.value, outerOnChange = props.onChange, defaultValue = props.defaultValue, isTargetAmount = props.isTargetAmount, targetAmount = props.targetAmount, items = props.items, _props_placement = props.placement, placement = _props_placement === void 0 ? 'bottom-start' : _props_placement, label = props.label, placeholder = props.placeholder, helperText = props.helperText, contentLeft = props.contentLeft, textBefore = props.textBefore, textAfter = props.textAfter, _props_variant = props.variant, variant = _props_variant === void 0 ? 'normal' : _props_variant, listOverflow = props.listOverflow, listHeight = props.listHeight, listMaxHeight = props.listMaxHeight, listWidth = props.listWidth, portal = props.portal, renderItem = props.renderItem, view = props.view, size = props.size, labelPlacement = props.labelPlacement, keepPlaceholder = props.keepPlaceholder, _props_readOnly = props.readOnly, readOnly = _props_readOnly === void 0 ? false : _props_readOnly, _props_disabled = props.disabled, disabled = _props_disabled === void 0 ? false : _props_disabled, _props_alwaysOpened = props.alwaysOpened, alwaysOpened = _props_alwaysOpened === void 0 ? false : _props_alwaysOpened, filter = props.filter, outerCloseAfterSelect = props.closeAfterSelect, renderValue = props.renderValue, zIndex = props.zIndex, beforeList = props.beforeList, afterList = props.afterList, _props_virtual = props.virtual, virtual = _props_virtual === void 0 ? false : _props_virtual, hintView = props.hintView, hintSize = props.hintSize, emptyStateDescription = props.emptyStateDescription, onChangeValue = props.onChangeValue, onScroll = props.onScroll, onToggle = props.onToggle, _props_mode = props.mode, mode = _props_mode === void 0 ? 'default' : _props_mode, // @ts-ignore
152
+ var name = props.name, multiple = props.multiple, outerValue = props.value, outerOnChange = props.onChange, defaultValue = props.defaultValue, isTargetAmount = props.isTargetAmount, targetAmount = props.targetAmount, items = props.items, _props_placement = props.placement, placement = _props_placement === void 0 ? 'bottom-start' : _props_placement, label = props.label, placeholder = props.placeholder, helperText = props.helperText, contentLeft = props.contentLeft, textBefore = props.textBefore, textAfter = props.textAfter, _props_variant = props.variant, variant = _props_variant === void 0 ? 'normal' : _props_variant, listOverflow = props.listOverflow, listHeight = props.listHeight, listMaxHeight = props.listMaxHeight, listWidth = props.listWidth, portal = props.portal, renderItem = props.renderItem, view = props.view, size = props.size, labelPlacement = props.labelPlacement, keepPlaceholder = props.keepPlaceholder, _props_readOnly = props.readOnly, readOnly = _props_readOnly === void 0 ? false : _props_readOnly, _props_disabled = props.disabled, disabled = _props_disabled === void 0 ? false : _props_disabled, _props_alwaysOpened = props.alwaysOpened, alwaysOpened = _props_alwaysOpened === void 0 ? false : _props_alwaysOpened, filter = props.filter, outerCloseAfterSelect = props.closeAfterSelect, renderValue = props.renderValue, zIndex = props.zIndex, beforeList = props.beforeList, afterList = props.afterList, _props_virtual = props.virtual, virtual = _props_virtual === void 0 ? false : _props_virtual, hintView = props.hintView, hintSize = props.hintSize, emptyStateDescription = props.emptyStateDescription, onChangeValue = props.onChangeValue, onScroll = props.onScroll, onToggle = props.onToggle, _props_mode = props.mode, mode = _props_mode === void 0 ? 'default' : _props_mode, _props_chipClickArea = props.chipClickArea, chipClickArea = _props_chipClickArea === void 0 ? 'full' : _props_chipClickArea, // @ts-ignore
153
153
  _offset = props._offset, rest = _object_without_properties(props, [
154
154
  "name",
155
155
  "multiple",
@@ -194,6 +194,7 @@ import { Context } from "./Combobox.context";
194
194
  "onScroll",
195
195
  "onToggle",
196
196
  "mode",
197
+ "chipClickArea",
197
198
  "_offset"
198
199
  ]);
199
200
  var transformedItems = useMemo(function() {
@@ -481,7 +482,7 @@ import { Context } from "./Combobox.context";
481
482
  // В данном эффекте мы следим за изменениями value снаружи и вносим коррективы в дерево чекбоксов.
482
483
  // Пример: когда юзер очистил value извне, тогда нужно пройтись по элементам и выключить все чекбоксы.
483
484
  useLayoutEffect(function() {
484
- var checkedCopy = new Map(checked);
485
+ var checkedCopy = new Map(valueToCheckedMap);
485
486
  checkedCopy.forEach(function(_, key) {
486
487
  checkedCopy.set(key, false);
487
488
  });
@@ -607,8 +608,9 @@ import { Context } from "./Combobox.context";
607
608
  keepPlaceholder: keepPlaceholder
608
609
  }, multiple ? {
609
610
  enumerationType: 'chip',
611
+ _chipClickArea: chipClickArea,
610
612
  _chips: getChips(),
611
- _onChipClick: handleChipClick
613
+ _onChipCloseClick: handleChipClick
612
614
  } : {
613
615
  enumerationType: 'plain'
614
616
  }, rest), {
@@ -181,6 +181,8 @@ export var tokens = {
181
181
  textFieldChipBackgroundActive: '--plasma-combobox-new-textfield-chip-background-active',
182
182
  textFieldChipColorActive: '--plasma-combobox-new-textfield-chip-color-active',
183
183
  textFieldChipCloseIconColor: '--plasma-combobox-new-textfield-chip-close-icons-color',
184
+ textFieldChipCloseIconColorHover: '--plasma-combobox-new-textfield-chip-close-icons-color-hover',
185
+ textFieldChipCloseIconColorReadonly: '--plasma-combobox-new-textfield-chip-close-icons-color-readonly',
184
186
  textFieldChipOutlineSize: '--plasma-combobox-new-textfield-chip-outline-size',
185
187
  textFieldChipWidth: '--plasma-combobox-new-textfield-chip-width',
186
188
  textFieldChipPadding: '--plasma-combobox-new-textfield-chip-padding',
@@ -6,7 +6,7 @@ var mergedConfig = mergeConfig(textFieldConfig);
6
6
  var TextField = component(mergedConfig);
7
7
  export var StyledTextField = styled(TextField).withConfig({
8
8
  displayName: "Target.styles__StyledTextField",
9
- componentId: "sc-7712693a-0"
9
+ componentId: "sc-e19acd42-0"
10
10
  })([
11
11
  "",
12
12
  ":var(",
@@ -308,5 +308,9 @@ export var StyledTextField = styled(TextField).withConfig({
308
308
  ":var(",
309
309
  ");",
310
310
  ":var(",
311
+ ");",
312
+ ":var(",
313
+ ");",
314
+ ":var(",
311
315
  ");"
312
- ], textFieldTokens.color, comboboxTokens.textFieldColor, textFieldTokens.clearColor, comboboxTokens.textFieldColor, textFieldTokens.backgroundColor, comboboxTokens.textFieldBackgroundColor, textFieldTokens.backgroundColorHover, comboboxTokens.textFieldBackgroundColorHover, textFieldTokens.backgroundColorFocus, comboboxTokens.textFieldBackgroundColorFocus, textFieldTokens.borderColor, comboboxTokens.textFieldBorderColor, textFieldTokens.borderColorHover, comboboxTokens.textFieldBorderColorHover, textFieldTokens.borderColorFocus, comboboxTokens.textFieldBorderColorFocus, textFieldTokens.colorReadOnly, comboboxTokens.textFieldColorReadOnly, textFieldTokens.backgroundColorReadOnly, comboboxTokens.textFieldBackgroundColorReadOnly, textFieldTokens.borderColorReadOnly, comboboxTokens.textFieldBorderColorReadOnly, textFieldTokens.placeholderColorReadOnly, comboboxTokens.textFieldPlaceholderColorReadOnly, textFieldTokens.readOnlyOpacity, comboboxTokens.textFieldReadOnlyOpacity, textFieldTokens.caretColor, comboboxTokens.textFieldCaretColor, textFieldTokens.placeholderColor, comboboxTokens.textFieldPlaceholderColor, textFieldTokens.placeholderColorFocus, comboboxTokens.textFieldPlaceholderColorFocus, textFieldTokens.clearPlaceholderColor, comboboxTokens.textFieldClearPlaceholderColor, textFieldTokens.clearPlaceholderColorFocus, comboboxTokens.textFieldClearPlaceholderColorFocus, textFieldTokens.optionalColor, comboboxTokens.textFieldOptionalColor, textFieldTokens.height, comboboxTokens.textFieldHeight, textFieldTokens.borderWidth, comboboxTokens.textFieldBorderWidth, textFieldTokens.borderRadius, comboboxTokens.textFieldBorderRadius, textFieldTokens.padding, comboboxTokens.textFieldPadding, textFieldTokens.paddingWithChips, comboboxTokens.textFieldPaddingWithChips, textFieldTokens.leftContentMargin, comboboxTokens.textFieldLeftContentMargin, textFieldTokens.rightContentMargin, comboboxTokens.textFieldRightContentMargin, textFieldTokens.rightContentWithHintMargin, comboboxTokens.textFieldRightContentWithHintMargin, textFieldTokens.contentRightWrapperGap, comboboxTokens.textFieldContentRightWrapperGap, textFieldTokens.contentRightWrapperMargin, comboboxTokens.textFieldContentRightWrapperMargin, textFieldTokens.fontFamily, comboboxTokens.textFieldFontFamily, textFieldTokens.fontStyle, comboboxTokens.textFieldFontStyle, textFieldTokens.fontSize, comboboxTokens.textFieldFontSize, textFieldTokens.fontWeight, comboboxTokens.textFieldFontWeight, textFieldTokens.letterSpacing, comboboxTokens.textFieldLetterSpacing, textFieldTokens.lineHeight, comboboxTokens.textFieldLineHeight, textFieldTokens.contentSlotColor, comboboxTokens.textFieldContentSlotColor, textFieldTokens.contentSlotColorHover, comboboxTokens.textFieldContentSlotColorHover, textFieldTokens.contentSlotColorActive, comboboxTokens.textFieldContentSlotColorActive, textFieldTokens.contentSlotRightColor, comboboxTokens.textFieldContentSlotRightColor, textFieldTokens.contentSlotRightColorHover, comboboxTokens.textFieldContentSlotRightColorHover, textFieldTokens.contentSlotRightColorActive, comboboxTokens.textFieldContentSlotRightColorActive, textFieldTokens.contentSlotRightOpacityReadOnly, comboboxTokens.textFieldContentSlotRightOpacityReadOnly, textFieldTokens.labelColor, comboboxTokens.textFieldLabelColor, textFieldTokens.labelColorReadOnly, comboboxTokens.textFieldLabelColorReadOnly, textFieldTokens.labelOffset, comboboxTokens.textFieldLabelOffset, textFieldTokens.clearLabelOffset, comboboxTokens.textFieldClearLabelOffset, textFieldTokens.labelFontFamily, comboboxTokens.textFieldLabelFontFamily, textFieldTokens.labelFontStyle, comboboxTokens.textFieldLabelFontStyle, textFieldTokens.labelFontSize, comboboxTokens.textFieldLabelFontSize, textFieldTokens.labelFontWeight, comboboxTokens.textFieldLabelFontWeight, textFieldTokens.labelLetterSpacing, comboboxTokens.textFieldLabelLetterSpacing, textFieldTokens.labelLineHeight, comboboxTokens.textFieldLabelLineHeight, textFieldTokens.labelInnerFontFamily, comboboxTokens.textFieldLabelInnerFontFamily, textFieldTokens.labelInnerFontStyle, comboboxTokens.textFieldLabelInnerFontStyle, textFieldTokens.labelInnerFontSize, comboboxTokens.textFieldLabelInnerFontSize, textFieldTokens.labelInnerFontWeight, comboboxTokens.textFieldLabelInnerFontWeight, textFieldTokens.labelInnerLetterSpacing, comboboxTokens.textFieldLabelInnerLetterSpacing, textFieldTokens.labelInnerLineHeight, comboboxTokens.textFieldLabelInnerLineHeight, textFieldTokens.labelInnerPadding, comboboxTokens.textFieldLabelInnerPadding, textFieldTokens.contentLabelInnerPadding, comboboxTokens.textFieldContentLabelInnerPadding, textFieldTokens.titleCaptionColor, comboboxTokens.textFieldTitleCaptionColor, textFieldTokens.titleCaptionColorReadOnly, comboboxTokens.textFieldTitleCaptionColorReadOnly, textFieldTokens.titleCaptionInnerLabelOffset, comboboxTokens.textFieldTitleCaptionInnerLabelOffset, textFieldTokens.titleCaptionFontFamily, comboboxTokens.textFieldTitleCaptionFontFamily, textFieldTokens.titleCaptionFontStyle, comboboxTokens.textFieldTitleCaptionFontStyle, textFieldTokens.titleCaptionFontSize, comboboxTokens.textFieldTitleCaptionFontSize, textFieldTokens.titleCaptionFontWeight, comboboxTokens.textFieldTitleCaptionFontWeight, textFieldTokens.titleCaptionLetterSpacing, comboboxTokens.textFieldTitleCaptionLetterSpacing, textFieldTokens.titleCaptionLineHeight, comboboxTokens.textFieldTitleCaptionLineHeight, textFieldTokens.leftHelperColor, comboboxTokens.textFieldLeftHelperColor, textFieldTokens.leftHelperColorReadOnly, comboboxTokens.textFieldLeftHelperColorReadOnly, textFieldTokens.leftHelperOffset, comboboxTokens.textFieldLeftHelperOffset, textFieldTokens.leftHelperFontFamily, comboboxTokens.textFieldLeftHelperFontFamily, textFieldTokens.leftHelperFontStyle, comboboxTokens.textFieldLeftHelperFontStyle, textFieldTokens.leftHelperFontSize, comboboxTokens.textFieldLeftHelperFontSize, textFieldTokens.leftHelperFontWeight, comboboxTokens.textFieldLeftHelperFontWeight, textFieldTokens.leftHelperLetterSpacing, comboboxTokens.textFieldLeftHelperLetterSpacing, textFieldTokens.leftHelperLineHeight, comboboxTokens.textFieldLeftHelperLineHeight, textFieldTokens.textBeforeColor, comboboxTokens.textFieldTextBeforeColor, textFieldTokens.textAfterColor, comboboxTokens.textFieldTextAfterColor, textFieldTokens.textBeforeMargin, comboboxTokens.textFieldTextBeforeMargin, textFieldTokens.textAfterMargin, comboboxTokens.textFieldTextAfterMargin, textFieldTokens.disabledOpacity, comboboxTokens.textFieldDisabledOpacity, textFieldTokens.hintCustomIconTargetSize, comboboxTokens.textFieldHintCustomIconTargetSize, textFieldTokens.hintMargin, comboboxTokens.textFieldHintMargin, textFieldTokens.hintTargetSize, comboboxTokens.textFieldHintTargetSize, textFieldTokens.hintIconColor, comboboxTokens.textFieldHintIconColor, textFieldTokens.hintInnerLabelPlacementOffset, comboboxTokens.textFieldHintInnerLabelPlacementOffset, textFieldTokens.clearHintInnerLabelPlacementOffset, comboboxTokens.textFieldClearHintInnerLabelPlacementOffset, textFieldTokens.tooltipBackgroundColor, comboboxTokens.textFieldTooltipBackgroundColor, textFieldTokens.tooltipBoxShadow, comboboxTokens.textFieldTooltipBoxShadow, textFieldTokens.tooltipColor, comboboxTokens.textFieldTooltipColor, textFieldTokens.tooltipPaddingTop, comboboxTokens.textFieldTooltipPaddingTop, textFieldTokens.tooltipPaddingRight, comboboxTokens.textFieldTooltipPaddingRight, textFieldTokens.tooltipPaddingBottom, comboboxTokens.textFieldTooltipPaddingBottom, textFieldTokens.tooltipPaddingLeft, comboboxTokens.textFieldTooltipPaddingLeft, textFieldTokens.tooltipMinHeight, comboboxTokens.textFieldTooltipMinHeight, textFieldTokens.tooltipBorderRadius, comboboxTokens.textFieldTooltipBorderRadius, textFieldTokens.tooltipTextFontFamily, comboboxTokens.textFieldTooltipTextFontFamily, textFieldTokens.tooltipTextFontSize, comboboxTokens.textFieldTooltipTextFontSize, textFieldTokens.tooltipTextFontStyle, comboboxTokens.textFieldTooltipTextFontStyle, textFieldTokens.tooltipTextFontWeight, comboboxTokens.textFieldTooltipTextFontWeight, textFieldTokens.tooltipTextFontLetterSpacing, comboboxTokens.textFieldTooltipTextFontLetterSpacing, textFieldTokens.tooltipTextFontLineHeight, comboboxTokens.textFieldTooltipTextFontLineHeight, textFieldTokens.tooltipContentLeftMargin, comboboxTokens.textFieldTooltipContentLeftMargin, textFieldTokens.tooltipArrowMaskWidth, comboboxTokens.textFieldTooltipArrowMaskWidth, textFieldTokens.tooltipArrowMaskHeight, comboboxTokens.textFieldTooltipArrowMaskHeight, textFieldTokens.tooltipArrowMaskImage, comboboxTokens.textFieldTooltipArrowMaskImage, textFieldTokens.tooltipArrowHeight, comboboxTokens.textFieldTooltipArrowHeight, textFieldTokens.tooltipArrowEdgeMargin, comboboxTokens.textFieldTooltipArrowEdgeMargin, textFieldTokens.tooltipArrowBackground, comboboxTokens.textFieldTooltipArrowBackground, textFieldTokens.chipHeight, comboboxTokens.textFieldChipHeight, textFieldTokens.chipBorderRadius, comboboxTokens.textFieldChipBorderRadius, textFieldTokens.chipGap, comboboxTokens.textFieldChipGap, textFieldTokens.chipBackground, comboboxTokens.textFieldChipBackground, textFieldTokens.chipColor, comboboxTokens.textFieldChipColor, textFieldTokens.chipBackgroundHover, comboboxTokens.textFieldChipBackgroundHover, textFieldTokens.chipColorHover, comboboxTokens.textFieldChipColorHover, textFieldTokens.chipBackgroundReadOnly, comboboxTokens.textFieldChipBackgroundReadOnly, textFieldTokens.chipColorReadOnly, comboboxTokens.textFieldChipColorReadOnly, textFieldTokens.chipBackgroundReadOnlyHover, comboboxTokens.textFieldChipBackgroundReadOnlyHover, textFieldTokens.chipColorReadOnlyHover, comboboxTokens.textFieldChipColorReadOnlyHover, textFieldTokens.chipBackgroundActive, comboboxTokens.textFieldChipBackgroundActive, textFieldTokens.chipColorActive, comboboxTokens.textFieldChipColorActive, textFieldTokens.chipCloseIconColor, comboboxTokens.textFieldChipCloseIconColor, textFieldTokens.chipOutlineSize, comboboxTokens.textFieldChipOutlineSize, textFieldTokens.chipWidth, comboboxTokens.textFieldChipWidth, textFieldTokens.chipPadding, comboboxTokens.textFieldChipPadding, textFieldTokens.chipCloseIconSize, comboboxTokens.textFieldChipCloseIconSize, textFieldTokens.chipFontFamily, comboboxTokens.textFieldChipFontFamily, textFieldTokens.chipFontSize, comboboxTokens.textFieldChipFontSize, textFieldTokens.chipFontStyle, comboboxTokens.textFieldChipFontStyle, textFieldTokens.chipFontWeight, comboboxTokens.textFieldChipFontWeight, textFieldTokens.chipLetterSpacing, comboboxTokens.textFieldChipLetterSpacing, textFieldTokens.chipLineHeight, comboboxTokens.textFieldChipLineHeight, textFieldTokens.chipClearContentMarginLeft, comboboxTokens.textFieldChipClearContentMarginLeft, textFieldTokens.chipClearContentMarginRight, comboboxTokens.textFieldChipClearContentMarginRight, textFieldTokens.chipOpacityReadonly, comboboxTokens.textFieldChipOpacityReadonly, textFieldTokens.focusColor, comboboxTokens.textFieldFocusColor, textFieldTokens.indicatorColor, comboboxTokens.textFieldIndicatorColor, textFieldTokens.indicatorSizeInner, comboboxTokens.textFieldIndicatorSizeInner, textFieldTokens.indicatorSizeOuter, comboboxTokens.textFieldIndicatorSizeOuter, textFieldTokens.indicatorLabelPlacementInner, comboboxTokens.textFieldIndicatorLabelPlacementInner, textFieldTokens.indicatorLabelPlacementOuter, comboboxTokens.textFieldIndicatorLabelPlacementOuter, textFieldTokens.indicatorLabelPlacementInnerRight, comboboxTokens.textFieldIndicatorLabelPlacementInnerRight, textFieldTokens.indicatorLabelPlacementOuterRight, comboboxTokens.textFieldIndicatorLabelPlacementOuterRight, textFieldTokens.clearIndicatorLabelPlacementInner, comboboxTokens.textFieldClearIndicatorLabelPlacementInner, textFieldTokens.clearIndicatorLabelPlacementInnerRight, comboboxTokens.textFieldClearIndicatorLabelPlacementInnerRight, textFieldTokens.clearIndicatorHintInnerRight, comboboxTokens.textFieldClearIndicatorHintInnerRight, textFieldTokens.boxShadow, comboboxTokens.textFieldBoxShadow);
316
+ ], textFieldTokens.color, comboboxTokens.textFieldColor, textFieldTokens.clearColor, comboboxTokens.textFieldColor, textFieldTokens.backgroundColor, comboboxTokens.textFieldBackgroundColor, textFieldTokens.backgroundColorHover, comboboxTokens.textFieldBackgroundColorHover, textFieldTokens.backgroundColorFocus, comboboxTokens.textFieldBackgroundColorFocus, textFieldTokens.borderColor, comboboxTokens.textFieldBorderColor, textFieldTokens.borderColorHover, comboboxTokens.textFieldBorderColorHover, textFieldTokens.borderColorFocus, comboboxTokens.textFieldBorderColorFocus, textFieldTokens.colorReadOnly, comboboxTokens.textFieldColorReadOnly, textFieldTokens.backgroundColorReadOnly, comboboxTokens.textFieldBackgroundColorReadOnly, textFieldTokens.borderColorReadOnly, comboboxTokens.textFieldBorderColorReadOnly, textFieldTokens.placeholderColorReadOnly, comboboxTokens.textFieldPlaceholderColorReadOnly, textFieldTokens.readOnlyOpacity, comboboxTokens.textFieldReadOnlyOpacity, textFieldTokens.caretColor, comboboxTokens.textFieldCaretColor, textFieldTokens.placeholderColor, comboboxTokens.textFieldPlaceholderColor, textFieldTokens.placeholderColorFocus, comboboxTokens.textFieldPlaceholderColorFocus, textFieldTokens.clearPlaceholderColor, comboboxTokens.textFieldClearPlaceholderColor, textFieldTokens.clearPlaceholderColorFocus, comboboxTokens.textFieldClearPlaceholderColorFocus, textFieldTokens.optionalColor, comboboxTokens.textFieldOptionalColor, textFieldTokens.height, comboboxTokens.textFieldHeight, textFieldTokens.borderWidth, comboboxTokens.textFieldBorderWidth, textFieldTokens.borderRadius, comboboxTokens.textFieldBorderRadius, textFieldTokens.padding, comboboxTokens.textFieldPadding, textFieldTokens.paddingWithChips, comboboxTokens.textFieldPaddingWithChips, textFieldTokens.leftContentMargin, comboboxTokens.textFieldLeftContentMargin, textFieldTokens.rightContentMargin, comboboxTokens.textFieldRightContentMargin, textFieldTokens.rightContentWithHintMargin, comboboxTokens.textFieldRightContentWithHintMargin, textFieldTokens.contentRightWrapperGap, comboboxTokens.textFieldContentRightWrapperGap, textFieldTokens.contentRightWrapperMargin, comboboxTokens.textFieldContentRightWrapperMargin, textFieldTokens.fontFamily, comboboxTokens.textFieldFontFamily, textFieldTokens.fontStyle, comboboxTokens.textFieldFontStyle, textFieldTokens.fontSize, comboboxTokens.textFieldFontSize, textFieldTokens.fontWeight, comboboxTokens.textFieldFontWeight, textFieldTokens.letterSpacing, comboboxTokens.textFieldLetterSpacing, textFieldTokens.lineHeight, comboboxTokens.textFieldLineHeight, textFieldTokens.contentSlotColor, comboboxTokens.textFieldContentSlotColor, textFieldTokens.contentSlotColorHover, comboboxTokens.textFieldContentSlotColorHover, textFieldTokens.contentSlotColorActive, comboboxTokens.textFieldContentSlotColorActive, textFieldTokens.contentSlotRightColor, comboboxTokens.textFieldContentSlotRightColor, textFieldTokens.contentSlotRightColorHover, comboboxTokens.textFieldContentSlotRightColorHover, textFieldTokens.contentSlotRightColorActive, comboboxTokens.textFieldContentSlotRightColorActive, textFieldTokens.contentSlotRightOpacityReadOnly, comboboxTokens.textFieldContentSlotRightOpacityReadOnly, textFieldTokens.labelColor, comboboxTokens.textFieldLabelColor, textFieldTokens.labelColorReadOnly, comboboxTokens.textFieldLabelColorReadOnly, textFieldTokens.labelOffset, comboboxTokens.textFieldLabelOffset, textFieldTokens.clearLabelOffset, comboboxTokens.textFieldClearLabelOffset, textFieldTokens.labelFontFamily, comboboxTokens.textFieldLabelFontFamily, textFieldTokens.labelFontStyle, comboboxTokens.textFieldLabelFontStyle, textFieldTokens.labelFontSize, comboboxTokens.textFieldLabelFontSize, textFieldTokens.labelFontWeight, comboboxTokens.textFieldLabelFontWeight, textFieldTokens.labelLetterSpacing, comboboxTokens.textFieldLabelLetterSpacing, textFieldTokens.labelLineHeight, comboboxTokens.textFieldLabelLineHeight, textFieldTokens.labelInnerFontFamily, comboboxTokens.textFieldLabelInnerFontFamily, textFieldTokens.labelInnerFontStyle, comboboxTokens.textFieldLabelInnerFontStyle, textFieldTokens.labelInnerFontSize, comboboxTokens.textFieldLabelInnerFontSize, textFieldTokens.labelInnerFontWeight, comboboxTokens.textFieldLabelInnerFontWeight, textFieldTokens.labelInnerLetterSpacing, comboboxTokens.textFieldLabelInnerLetterSpacing, textFieldTokens.labelInnerLineHeight, comboboxTokens.textFieldLabelInnerLineHeight, textFieldTokens.labelInnerPadding, comboboxTokens.textFieldLabelInnerPadding, textFieldTokens.contentLabelInnerPadding, comboboxTokens.textFieldContentLabelInnerPadding, textFieldTokens.titleCaptionColor, comboboxTokens.textFieldTitleCaptionColor, textFieldTokens.titleCaptionColorReadOnly, comboboxTokens.textFieldTitleCaptionColorReadOnly, textFieldTokens.titleCaptionInnerLabelOffset, comboboxTokens.textFieldTitleCaptionInnerLabelOffset, textFieldTokens.titleCaptionFontFamily, comboboxTokens.textFieldTitleCaptionFontFamily, textFieldTokens.titleCaptionFontStyle, comboboxTokens.textFieldTitleCaptionFontStyle, textFieldTokens.titleCaptionFontSize, comboboxTokens.textFieldTitleCaptionFontSize, textFieldTokens.titleCaptionFontWeight, comboboxTokens.textFieldTitleCaptionFontWeight, textFieldTokens.titleCaptionLetterSpacing, comboboxTokens.textFieldTitleCaptionLetterSpacing, textFieldTokens.titleCaptionLineHeight, comboboxTokens.textFieldTitleCaptionLineHeight, textFieldTokens.leftHelperColor, comboboxTokens.textFieldLeftHelperColor, textFieldTokens.leftHelperColorReadOnly, comboboxTokens.textFieldLeftHelperColorReadOnly, textFieldTokens.leftHelperOffset, comboboxTokens.textFieldLeftHelperOffset, textFieldTokens.leftHelperFontFamily, comboboxTokens.textFieldLeftHelperFontFamily, textFieldTokens.leftHelperFontStyle, comboboxTokens.textFieldLeftHelperFontStyle, textFieldTokens.leftHelperFontSize, comboboxTokens.textFieldLeftHelperFontSize, textFieldTokens.leftHelperFontWeight, comboboxTokens.textFieldLeftHelperFontWeight, textFieldTokens.leftHelperLetterSpacing, comboboxTokens.textFieldLeftHelperLetterSpacing, textFieldTokens.leftHelperLineHeight, comboboxTokens.textFieldLeftHelperLineHeight, textFieldTokens.textBeforeColor, comboboxTokens.textFieldTextBeforeColor, textFieldTokens.textAfterColor, comboboxTokens.textFieldTextAfterColor, textFieldTokens.textBeforeMargin, comboboxTokens.textFieldTextBeforeMargin, textFieldTokens.textAfterMargin, comboboxTokens.textFieldTextAfterMargin, textFieldTokens.disabledOpacity, comboboxTokens.textFieldDisabledOpacity, textFieldTokens.hintCustomIconTargetSize, comboboxTokens.textFieldHintCustomIconTargetSize, textFieldTokens.hintMargin, comboboxTokens.textFieldHintMargin, textFieldTokens.hintTargetSize, comboboxTokens.textFieldHintTargetSize, textFieldTokens.hintIconColor, comboboxTokens.textFieldHintIconColor, textFieldTokens.hintInnerLabelPlacementOffset, comboboxTokens.textFieldHintInnerLabelPlacementOffset, textFieldTokens.clearHintInnerLabelPlacementOffset, comboboxTokens.textFieldClearHintInnerLabelPlacementOffset, textFieldTokens.tooltipBackgroundColor, comboboxTokens.textFieldTooltipBackgroundColor, textFieldTokens.tooltipBoxShadow, comboboxTokens.textFieldTooltipBoxShadow, textFieldTokens.tooltipColor, comboboxTokens.textFieldTooltipColor, textFieldTokens.tooltipPaddingTop, comboboxTokens.textFieldTooltipPaddingTop, textFieldTokens.tooltipPaddingRight, comboboxTokens.textFieldTooltipPaddingRight, textFieldTokens.tooltipPaddingBottom, comboboxTokens.textFieldTooltipPaddingBottom, textFieldTokens.tooltipPaddingLeft, comboboxTokens.textFieldTooltipPaddingLeft, textFieldTokens.tooltipMinHeight, comboboxTokens.textFieldTooltipMinHeight, textFieldTokens.tooltipBorderRadius, comboboxTokens.textFieldTooltipBorderRadius, textFieldTokens.tooltipTextFontFamily, comboboxTokens.textFieldTooltipTextFontFamily, textFieldTokens.tooltipTextFontSize, comboboxTokens.textFieldTooltipTextFontSize, textFieldTokens.tooltipTextFontStyle, comboboxTokens.textFieldTooltipTextFontStyle, textFieldTokens.tooltipTextFontWeight, comboboxTokens.textFieldTooltipTextFontWeight, textFieldTokens.tooltipTextFontLetterSpacing, comboboxTokens.textFieldTooltipTextFontLetterSpacing, textFieldTokens.tooltipTextFontLineHeight, comboboxTokens.textFieldTooltipTextFontLineHeight, textFieldTokens.tooltipContentLeftMargin, comboboxTokens.textFieldTooltipContentLeftMargin, textFieldTokens.tooltipArrowMaskWidth, comboboxTokens.textFieldTooltipArrowMaskWidth, textFieldTokens.tooltipArrowMaskHeight, comboboxTokens.textFieldTooltipArrowMaskHeight, textFieldTokens.tooltipArrowMaskImage, comboboxTokens.textFieldTooltipArrowMaskImage, textFieldTokens.tooltipArrowHeight, comboboxTokens.textFieldTooltipArrowHeight, textFieldTokens.tooltipArrowEdgeMargin, comboboxTokens.textFieldTooltipArrowEdgeMargin, textFieldTokens.tooltipArrowBackground, comboboxTokens.textFieldTooltipArrowBackground, textFieldTokens.chipHeight, comboboxTokens.textFieldChipHeight, textFieldTokens.chipBorderRadius, comboboxTokens.textFieldChipBorderRadius, textFieldTokens.chipGap, comboboxTokens.textFieldChipGap, textFieldTokens.chipBackground, comboboxTokens.textFieldChipBackground, textFieldTokens.chipColor, comboboxTokens.textFieldChipColor, textFieldTokens.chipBackgroundHover, comboboxTokens.textFieldChipBackgroundHover, textFieldTokens.chipColorHover, comboboxTokens.textFieldChipColorHover, textFieldTokens.chipBackgroundReadOnly, comboboxTokens.textFieldChipBackgroundReadOnly, textFieldTokens.chipColorReadOnly, comboboxTokens.textFieldChipColorReadOnly, textFieldTokens.chipBackgroundReadOnlyHover, comboboxTokens.textFieldChipBackgroundReadOnlyHover, textFieldTokens.chipColorReadOnlyHover, comboboxTokens.textFieldChipColorReadOnlyHover, textFieldTokens.chipBackgroundActive, comboboxTokens.textFieldChipBackgroundActive, textFieldTokens.chipColorActive, comboboxTokens.textFieldChipColorActive, textFieldTokens.chipCloseIconColor, comboboxTokens.textFieldChipCloseIconColor, textFieldTokens.chipCloseIconColorHover, comboboxTokens.textFieldChipCloseIconColorHover, textFieldTokens.chipCloseIconColorReadonly, comboboxTokens.textFieldChipCloseIconColorReadonly, textFieldTokens.chipOutlineSize, comboboxTokens.textFieldChipOutlineSize, textFieldTokens.chipWidth, comboboxTokens.textFieldChipWidth, textFieldTokens.chipPadding, comboboxTokens.textFieldChipPadding, textFieldTokens.chipCloseIconSize, comboboxTokens.textFieldChipCloseIconSize, textFieldTokens.chipFontFamily, comboboxTokens.textFieldChipFontFamily, textFieldTokens.chipFontSize, comboboxTokens.textFieldChipFontSize, textFieldTokens.chipFontStyle, comboboxTokens.textFieldChipFontStyle, textFieldTokens.chipFontWeight, comboboxTokens.textFieldChipFontWeight, textFieldTokens.chipLetterSpacing, comboboxTokens.textFieldChipLetterSpacing, textFieldTokens.chipLineHeight, comboboxTokens.textFieldChipLineHeight, textFieldTokens.chipClearContentMarginLeft, comboboxTokens.textFieldChipClearContentMarginLeft, textFieldTokens.chipClearContentMarginRight, comboboxTokens.textFieldChipClearContentMarginRight, textFieldTokens.chipOpacityReadonly, comboboxTokens.textFieldChipOpacityReadonly, textFieldTokens.focusColor, comboboxTokens.textFieldFocusColor, textFieldTokens.indicatorColor, comboboxTokens.textFieldIndicatorColor, textFieldTokens.indicatorSizeInner, comboboxTokens.textFieldIndicatorSizeInner, textFieldTokens.indicatorSizeOuter, comboboxTokens.textFieldIndicatorSizeOuter, textFieldTokens.indicatorLabelPlacementInner, comboboxTokens.textFieldIndicatorLabelPlacementInner, textFieldTokens.indicatorLabelPlacementOuter, comboboxTokens.textFieldIndicatorLabelPlacementOuter, textFieldTokens.indicatorLabelPlacementInnerRight, comboboxTokens.textFieldIndicatorLabelPlacementInnerRight, textFieldTokens.indicatorLabelPlacementOuterRight, comboboxTokens.textFieldIndicatorLabelPlacementOuterRight, textFieldTokens.clearIndicatorLabelPlacementInner, comboboxTokens.textFieldClearIndicatorLabelPlacementInner, textFieldTokens.clearIndicatorLabelPlacementInnerRight, comboboxTokens.textFieldClearIndicatorLabelPlacementInnerRight, textFieldTokens.clearIndicatorHintInnerRight, comboboxTokens.textFieldClearIndicatorHintInnerRight, textFieldTokens.boxShadow, comboboxTokens.textFieldBoxShadow);
@@ -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(",