@salutejs/plasma-new-hope 0.337.0-canary.2237.17851607211.0 → 0.337.0-canary.2241.17972389915.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 (287) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +9 -9
  2. package/cjs/components/Chip/Chip.css +5 -5
  3. package/cjs/components/Chip/Chip.js +2 -4
  4. package/cjs/components/Chip/Chip.js.map +1 -1
  5. package/cjs/components/Chip/Chip.styles.js +1 -1
  6. package/cjs/components/Chip/Chip.styles.js.map +1 -1
  7. package/cjs/components/Chip/{Chip.styles_d9y94l.css → Chip.styles_fnd4j5.css} +1 -1
  8. package/cjs/components/Combobox/ComboboxNew/Combobox.css +10 -10
  9. package/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -1
  10. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  11. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  12. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  13. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  14. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  15. package/{es/components/Combobox/ComboboxNew/ui/Target/Target.styles_11eakiz.css → cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles_13wbfyq.css} +1 -1
  16. package/cjs/components/Combobox/ComboboxOld/Combobox.css +5 -5
  17. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.css +5 -5
  18. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.css +5 -5
  19. package/cjs/components/DatePicker/RangeDate/RangeDate.css +9 -9
  20. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +9 -9
  21. package/cjs/components/DatePicker/SingleDate/SingleDate.css +9 -9
  22. package/cjs/components/InformationWrapper/InformationWrapper.css +2 -2
  23. package/cjs/components/InformationWrapper/ui/Label/Label.css +2 -2
  24. package/cjs/components/Modal/Modal.js +4 -2
  25. package/cjs/components/Modal/Modal.js.map +1 -1
  26. package/cjs/components/Note/Note.css +1 -1
  27. package/cjs/components/Note/Note.js +1 -1
  28. package/cjs/components/Note/Note.js.map +1 -1
  29. package/cjs/components/Note/variations/_size/base.js +1 -1
  30. package/cjs/components/Note/variations/_size/base.js.map +1 -1
  31. package/{es/components/Note/variations/_size/base_111wwzs.css → cjs/components/Note/variations/_size/base_12cn7f7.css} +1 -1
  32. package/cjs/components/Pagination/Pagination.css +13 -13
  33. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +13 -13
  34. package/cjs/components/Range/Range.css +9 -9
  35. package/cjs/components/Select/Select.css +13 -13
  36. package/cjs/components/Select/Select.tokens.js +0 -1
  37. package/cjs/components/Select/Select.tokens.js.map +1 -1
  38. package/cjs/components/Select/ui/Target/Target.css +13 -13
  39. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +13 -13
  40. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  41. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  42. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +13 -13
  43. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  44. package/{es/components/Select/ui/Target/ui/Textfield/Textfield.styles_1jxlt0y.css → cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_1mikp58.css} +1 -1
  45. package/cjs/components/Slider/Slider.css +9 -9
  46. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +9 -9
  47. package/cjs/components/Table/Table.css +13 -13
  48. package/cjs/components/Table/ui/Cell/Cell.css +13 -13
  49. package/cjs/components/Table/ui/EditableCell/EditableCell.css +13 -13
  50. package/cjs/components/Table/ui/HeadCell/HeadCell.css +13 -13
  51. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +13 -13
  52. package/cjs/components/TextArea/ui/Hint/Hint.css +2 -2
  53. package/cjs/components/TextField/TextField.js +4 -6
  54. package/cjs/components/TextField/TextField.js.map +1 -1
  55. package/cjs/components/TextField/TextField.tokens.js +0 -1
  56. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  57. package/cjs/components/TextField/hooks/useKeyNavigation.js +6 -15
  58. package/cjs/components/TextField/hooks/useKeyNavigation.js.map +1 -1
  59. package/cjs/components/TextField/ui/Hint/Hint.css +2 -2
  60. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +8 -8
  61. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -1
  62. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  63. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -1
  64. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  65. package/cjs/components/TextField/ui/TextFieldChip/{TextFieldChip.styles_8puilg.css → TextFieldChip.styles_14q069b.css} +1 -1
  66. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.css +9 -9
  67. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +8 -15
  68. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js.map +1 -1
  69. package/cjs/components/Tooltip/Tooltip.styles.js +5 -5
  70. package/cjs/components/Tooltip/Tooltip.styles.js.map +1 -1
  71. package/cjs/components/Tooltip/Tooltip.styles_uldg0s.css +2 -0
  72. package/cjs/hooks/useFocusTrap.js +11 -5
  73. package/cjs/hooks/useFocusTrap.js.map +1 -1
  74. package/cjs/index.css +15 -15
  75. package/cjs/utils/scopeTab.js +2 -2
  76. package/cjs/utils/scopeTab.js.map +1 -1
  77. package/emotion/cjs/components/Chip/Chip.js +2 -4
  78. package/emotion/cjs/components/Chip/Chip.styles.js +9 -9
  79. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -1
  80. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  81. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +2 -2
  82. package/emotion/cjs/components/Modal/Modal.js +3 -2
  83. package/emotion/cjs/components/Note/Note.js +1 -1
  84. package/emotion/cjs/components/Note/variations/_size/base.js +1 -1
  85. package/emotion/cjs/components/Select/Select.tokens.js +0 -1
  86. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  87. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +9 -9
  88. package/emotion/cjs/components/TextField/TextField.js +5 -7
  89. package/emotion/cjs/components/TextField/TextField.tokens.js +0 -1
  90. package/emotion/cjs/components/TextField/hooks/useKeyNavigation.js +4 -11
  91. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -1
  92. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +5 -5
  93. package/emotion/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +8 -15
  94. package/emotion/cjs/components/Tooltip/Tooltip.styles.js +5 -5
  95. package/emotion/cjs/examples/components/Chip/Chip.config.js +14 -14
  96. package/emotion/cjs/examples/components/Combobox/Combobox.config.js +15 -15
  97. package/emotion/cjs/examples/components/Select/Select.config.js +24 -24
  98. package/emotion/cjs/examples/components/TextField/TextField.config.js +23 -23
  99. package/emotion/cjs/hooks/useFocusTrap.js +12 -5
  100. package/emotion/cjs/utils/scopeTab.js +2 -2
  101. package/emotion/es/components/Chip/Chip.js +2 -4
  102. package/emotion/es/components/Chip/Chip.styles.js +9 -9
  103. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +1 -1
  104. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  105. package/emotion/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +2 -2
  106. package/emotion/es/components/Modal/Modal.js +3 -2
  107. package/emotion/es/components/Note/Note.js +1 -1
  108. package/emotion/es/components/Note/variations/_size/base.js +1 -1
  109. package/emotion/es/components/Select/Select.tokens.js +0 -1
  110. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  111. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +9 -9
  112. package/emotion/es/components/TextField/TextField.js +5 -7
  113. package/emotion/es/components/TextField/TextField.tokens.js +0 -1
  114. package/emotion/es/components/TextField/hooks/useKeyNavigation.js +4 -11
  115. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -1
  116. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +5 -5
  117. package/emotion/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +8 -15
  118. package/emotion/es/components/Tooltip/Tooltip.styles.js +5 -5
  119. package/emotion/es/examples/components/Chip/Chip.config.js +14 -14
  120. package/emotion/es/examples/components/Combobox/Combobox.config.js +15 -15
  121. package/emotion/es/examples/components/Select/Select.config.js +24 -24
  122. package/emotion/es/examples/components/TextField/TextField.config.js +23 -23
  123. package/emotion/es/hooks/useFocusTrap.js +12 -5
  124. package/emotion/es/utils/scopeTab.js +2 -2
  125. package/es/components/Autocomplete/Autocomplete.css +9 -9
  126. package/es/components/Chip/Chip.css +5 -5
  127. package/es/components/Chip/Chip.js +2 -4
  128. package/es/components/Chip/Chip.js.map +1 -1
  129. package/es/components/Chip/Chip.styles.js +1 -1
  130. package/es/components/Chip/Chip.styles.js.map +1 -1
  131. package/es/components/Chip/{Chip.styles_d9y94l.css → Chip.styles_fnd4j5.css} +1 -1
  132. package/es/components/Combobox/ComboboxNew/Combobox.css +10 -10
  133. package/es/components/Combobox/ComboboxNew/Combobox.js +1 -1
  134. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  135. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  136. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  137. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  138. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  139. package/{cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles_11eakiz.css → es/components/Combobox/ComboboxNew/ui/Target/Target.styles_13wbfyq.css} +1 -1
  140. package/es/components/Combobox/ComboboxOld/Combobox.css +5 -5
  141. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.css +5 -5
  142. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.css +5 -5
  143. package/es/components/DatePicker/RangeDate/RangeDate.css +9 -9
  144. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +9 -9
  145. package/es/components/DatePicker/SingleDate/SingleDate.css +9 -9
  146. package/es/components/InformationWrapper/InformationWrapper.css +2 -2
  147. package/es/components/InformationWrapper/ui/Label/Label.css +2 -2
  148. package/es/components/Modal/Modal.js +4 -2
  149. package/es/components/Modal/Modal.js.map +1 -1
  150. package/es/components/Note/Note.css +1 -1
  151. package/es/components/Note/Note.js +1 -1
  152. package/es/components/Note/Note.js.map +1 -1
  153. package/es/components/Note/variations/_size/base.js +1 -1
  154. package/es/components/Note/variations/_size/base.js.map +1 -1
  155. package/{cjs/components/Note/variations/_size/base_111wwzs.css → es/components/Note/variations/_size/base_12cn7f7.css} +1 -1
  156. package/es/components/Pagination/Pagination.css +13 -13
  157. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +13 -13
  158. package/es/components/Range/Range.css +9 -9
  159. package/es/components/Select/Select.css +13 -13
  160. package/es/components/Select/Select.tokens.js +0 -1
  161. package/es/components/Select/Select.tokens.js.map +1 -1
  162. package/es/components/Select/ui/Target/Target.css +13 -13
  163. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +13 -13
  164. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  165. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  166. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +13 -13
  167. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  168. package/{cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_1jxlt0y.css → es/components/Select/ui/Target/ui/Textfield/Textfield.styles_1mikp58.css} +1 -1
  169. package/es/components/Slider/Slider.css +9 -9
  170. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +9 -9
  171. package/es/components/Table/Table.css +13 -13
  172. package/es/components/Table/ui/Cell/Cell.css +13 -13
  173. package/es/components/Table/ui/EditableCell/EditableCell.css +13 -13
  174. package/es/components/Table/ui/HeadCell/HeadCell.css +13 -13
  175. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +13 -13
  176. package/es/components/TextArea/ui/Hint/Hint.css +2 -2
  177. package/es/components/TextField/TextField.js +4 -6
  178. package/es/components/TextField/TextField.js.map +1 -1
  179. package/es/components/TextField/TextField.tokens.js +0 -1
  180. package/es/components/TextField/TextField.tokens.js.map +1 -1
  181. package/es/components/TextField/hooks/useKeyNavigation.js +6 -15
  182. package/es/components/TextField/hooks/useKeyNavigation.js.map +1 -1
  183. package/es/components/TextField/ui/Hint/Hint.css +2 -2
  184. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +8 -8
  185. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -1
  186. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  187. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -1
  188. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  189. package/es/components/TextField/ui/TextFieldChip/{TextFieldChip.styles_8puilg.css → TextFieldChip.styles_14q069b.css} +1 -1
  190. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.css +9 -9
  191. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +8 -15
  192. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js.map +1 -1
  193. package/es/components/Tooltip/Tooltip.styles.js +5 -5
  194. package/es/components/Tooltip/Tooltip.styles.js.map +1 -1
  195. package/es/components/Tooltip/Tooltip.styles_uldg0s.css +2 -0
  196. package/es/hooks/useFocusTrap.js +11 -5
  197. package/es/hooks/useFocusTrap.js.map +1 -1
  198. package/es/index.css +15 -15
  199. package/es/utils/scopeTab.js +2 -2
  200. package/es/utils/scopeTab.js.map +1 -1
  201. package/package.json +5 -5
  202. package/styled-components/cjs/components/Chip/Chip.js +2 -4
  203. package/styled-components/cjs/components/Chip/Chip.styles.js +6 -7
  204. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -1
  205. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  206. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +2 -4
  207. package/styled-components/cjs/components/Modal/Modal.js +3 -2
  208. package/styled-components/cjs/components/Note/Note.js +1 -1
  209. package/styled-components/cjs/components/Note/variations/_size/base.js +1 -1
  210. package/styled-components/cjs/components/Select/Select.tokens.js +0 -1
  211. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  212. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +5 -7
  213. package/styled-components/cjs/components/TextField/TextField.js +4 -6
  214. package/styled-components/cjs/components/TextField/TextField.tokens.js +0 -1
  215. package/styled-components/cjs/components/TextField/hooks/useKeyNavigation.js +4 -11
  216. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -1
  217. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +3 -5
  218. package/styled-components/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +8 -15
  219. package/styled-components/cjs/components/Tooltip/Tooltip.styles.js +9 -9
  220. package/styled-components/cjs/examples/components/Chip/Chip.config.js +12 -24
  221. package/styled-components/cjs/examples/components/Combobox/Combobox.config.js +4 -8
  222. package/styled-components/cjs/examples/components/Select/Select.config.js +4 -7
  223. package/styled-components/cjs/examples/components/TextField/TextField.config.js +6 -12
  224. package/styled-components/cjs/hooks/useFocusTrap.js +12 -5
  225. package/styled-components/cjs/utils/scopeTab.js +2 -2
  226. package/styled-components/es/components/Chip/Chip.js +2 -4
  227. package/styled-components/es/components/Chip/Chip.styles.js +6 -7
  228. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +1 -1
  229. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  230. package/styled-components/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +2 -4
  231. package/styled-components/es/components/Modal/Modal.js +3 -2
  232. package/styled-components/es/components/Note/Note.js +1 -1
  233. package/styled-components/es/components/Note/variations/_size/base.js +1 -1
  234. package/styled-components/es/components/Select/Select.tokens.js +0 -1
  235. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  236. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +5 -7
  237. package/styled-components/es/components/TextField/TextField.js +4 -6
  238. package/styled-components/es/components/TextField/TextField.tokens.js +0 -1
  239. package/styled-components/es/components/TextField/hooks/useKeyNavigation.js +4 -11
  240. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -1
  241. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +3 -5
  242. package/styled-components/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +8 -15
  243. package/styled-components/es/components/Tooltip/Tooltip.styles.js +9 -9
  244. package/styled-components/es/examples/components/Chip/Chip.config.js +12 -24
  245. package/styled-components/es/examples/components/Combobox/Combobox.config.js +4 -8
  246. package/styled-components/es/examples/components/Combobox/Combobox.js +0 -7
  247. package/styled-components/es/examples/components/Select/Select.config.js +4 -7
  248. package/styled-components/es/examples/components/TextField/TextField.config.js +6 -12
  249. package/styled-components/es/hooks/useFocusTrap.js +12 -5
  250. package/styled-components/es/utils/scopeTab.js +2 -2
  251. package/types/components/Chip/Chip.d.ts.map +1 -1
  252. package/types/components/Chip/Chip.styles.d.ts.map +1 -1
  253. package/types/components/Chip/Chip.types.d.ts +1 -1
  254. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +0 -1
  255. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  256. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  257. package/types/components/Modal/Modal.d.ts.map +1 -1
  258. package/types/components/Modal/Modal.types.d.ts +5 -0
  259. package/types/components/Modal/Modal.types.d.ts.map +1 -1
  260. package/types/components/Note/Note.d.ts +4 -4
  261. package/types/components/Note/Note.d.ts.map +1 -1
  262. package/types/components/Note/Note.types.d.ts +2 -2
  263. package/types/components/Note/Note.types.d.ts.map +1 -1
  264. package/types/components/Select/Select.tokens.d.ts +0 -1
  265. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  266. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  267. package/types/components/TextField/TextField.d.ts.map +1 -1
  268. package/types/components/TextField/TextField.tokens.d.ts +0 -1
  269. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  270. package/types/components/TextField/hooks/useKeyNavigation.d.ts +2 -11
  271. package/types/components/TextField/hooks/useKeyNavigation.d.ts.map +1 -1
  272. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
  273. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +1 -1
  274. package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.d.ts +1 -1
  275. package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.d.ts.map +1 -1
  276. package/types/components/Tooltip/Tooltip.styles.d.ts.map +1 -1
  277. package/types/examples/components/Chip/Chip.config.d.ts.map +1 -1
  278. package/types/examples/components/Combobox/Combobox.config.d.ts.map +1 -1
  279. package/types/examples/components/Note/Note.d.ts +2 -2
  280. package/types/examples/components/Select/Select.config.d.ts.map +1 -1
  281. package/types/examples/components/TextField/TextField.config.d.ts.map +1 -1
  282. package/types/hooks/useFocusTrap.d.ts +1 -1
  283. package/types/hooks/useFocusTrap.d.ts.map +1 -1
  284. package/types/utils/scopeTab.d.ts +1 -1
  285. package/types/utils/scopeTab.d.ts.map +1 -1
  286. package/cjs/components/Tooltip/Tooltip.styles_1bh0sd0.css +0 -2
  287. package/es/components/Tooltip/Tooltip.styles_1bh0sd0.css +0 -2
@@ -530,9 +530,8 @@ var config = {
530
530
  ":var(--surface-solid-default);",
531
531
  ":var(--inverse-text-primary);",
532
532
  ":var(--inverse-text-secondary);",
533
- ":var(--inverse-text-secondary-hover);",
534
533
  ":1;"
535
- ], _TextField.textFieldTokens.chipColor, _TextField.textFieldTokens.chipBackground, _TextField.textFieldTokens.chipColorHover, _TextField.textFieldTokens.chipBackgroundHover, _TextField.textFieldTokens.chipColorActive, _TextField.textFieldTokens.chipBackgroundActive, _TextField.textFieldTokens.chipBackgroundReadOnly, _TextField.textFieldTokens.chipColorReadOnly, _TextField.textFieldTokens.chipBackgroundReadOnlyHover, _TextField.textFieldTokens.chipColorReadOnlyHover, _TextField.textFieldTokens.chipCloseIconColor, _TextField.textFieldTokens.chipCloseIconColorHover, _TextField.textFieldTokens.chipOpacityReadonly),
534
+ ], _TextField.textFieldTokens.chipColor, _TextField.textFieldTokens.chipBackground, _TextField.textFieldTokens.chipColorHover, _TextField.textFieldTokens.chipBackgroundHover, _TextField.textFieldTokens.chipColorActive, _TextField.textFieldTokens.chipBackgroundActive, _TextField.textFieldTokens.chipBackgroundReadOnly, _TextField.textFieldTokens.chipColorReadOnly, _TextField.textFieldTokens.chipBackgroundReadOnlyHover, _TextField.textFieldTokens.chipColorReadOnlyHover, _TextField.textFieldTokens.chipCloseIconColor, _TextField.textFieldTokens.chipOpacityReadonly),
536
535
  secondary: (0, _styledcomponents.css)([
537
536
  "",
538
537
  ":var(--text-primary);",
@@ -546,9 +545,8 @@ var config = {
546
545
  ":var(--surface-transparent-secondary);",
547
546
  ":var(--text-primary);",
548
547
  ":var(--text-secondary);",
549
- ":var(--text-secondary-hover);",
550
548
  ":1;"
551
- ], _TextField.textFieldTokens.chipColor, _TextField.textFieldTokens.chipBackground, _TextField.textFieldTokens.chipColorHover, _TextField.textFieldTokens.chipBackgroundHover, _TextField.textFieldTokens.chipColorActive, _TextField.textFieldTokens.chipBackgroundActive, _TextField.textFieldTokens.chipBackgroundReadOnly, _TextField.textFieldTokens.chipColorReadOnly, _TextField.textFieldTokens.chipBackgroundReadOnlyHover, _TextField.textFieldTokens.chipColorReadOnlyHover, _TextField.textFieldTokens.chipCloseIconColor, _TextField.textFieldTokens.chipCloseIconColorHover, _TextField.textFieldTokens.chipOpacityReadonly),
549
+ ], _TextField.textFieldTokens.chipColor, _TextField.textFieldTokens.chipBackground, _TextField.textFieldTokens.chipColorHover, _TextField.textFieldTokens.chipBackgroundHover, _TextField.textFieldTokens.chipColorActive, _TextField.textFieldTokens.chipBackgroundActive, _TextField.textFieldTokens.chipBackgroundReadOnly, _TextField.textFieldTokens.chipColorReadOnly, _TextField.textFieldTokens.chipBackgroundReadOnlyHover, _TextField.textFieldTokens.chipColorReadOnlyHover, _TextField.textFieldTokens.chipCloseIconColor, _TextField.textFieldTokens.chipOpacityReadonly),
552
550
  accent: (0, _styledcomponents.css)([
553
551
  "",
554
552
  ":var(--on-dark-text-primary);",
@@ -562,9 +560,8 @@ var config = {
562
560
  ":var(--surface-accent);",
563
561
  ":var(--on-dark-text-primary);",
564
562
  ":var(--on-dark-text-secondary);",
565
- ":var(--on-dark-text-secondary-hover);",
566
563
  ":1;"
567
- ], _TextField.textFieldTokens.chipColor, _TextField.textFieldTokens.chipBackground, _TextField.textFieldTokens.chipColorHover, _TextField.textFieldTokens.chipBackgroundHover, _TextField.textFieldTokens.chipColorActive, _TextField.textFieldTokens.chipBackgroundActive, _TextField.textFieldTokens.chipBackgroundReadOnly, _TextField.textFieldTokens.chipColorReadOnly, _TextField.textFieldTokens.chipBackgroundReadOnlyHover, _TextField.textFieldTokens.chipColorReadOnlyHover, _TextField.textFieldTokens.chipCloseIconColor, _TextField.textFieldTokens.chipCloseIconColorHover, _TextField.textFieldTokens.chipOpacityReadonly),
564
+ ], _TextField.textFieldTokens.chipColor, _TextField.textFieldTokens.chipBackground, _TextField.textFieldTokens.chipColorHover, _TextField.textFieldTokens.chipBackgroundHover, _TextField.textFieldTokens.chipColorActive, _TextField.textFieldTokens.chipBackgroundActive, _TextField.textFieldTokens.chipBackgroundReadOnly, _TextField.textFieldTokens.chipColorReadOnly, _TextField.textFieldTokens.chipBackgroundReadOnlyHover, _TextField.textFieldTokens.chipColorReadOnlyHover, _TextField.textFieldTokens.chipCloseIconColor, _TextField.textFieldTokens.chipOpacityReadonly),
568
565
  positive: (0, _styledcomponents.css)([
569
566
  "",
570
567
  ":var(--on-dark-text-primary);",
@@ -578,9 +575,8 @@ var config = {
578
575
  ":var(--surface-positive);",
579
576
  ":var(--on-dark-text-primary);",
580
577
  ":var(--on-dark-text-secondary);",
581
- ":var(--on-dark-text-secondary-hover);",
582
578
  ":1;"
583
- ], _TextField.textFieldTokens.chipColor, _TextField.textFieldTokens.chipBackground, _TextField.textFieldTokens.chipColorHover, _TextField.textFieldTokens.chipBackgroundHover, _TextField.textFieldTokens.chipColorActive, _TextField.textFieldTokens.chipBackgroundActive, _TextField.textFieldTokens.chipBackgroundReadOnly, _TextField.textFieldTokens.chipColorReadOnly, _TextField.textFieldTokens.chipBackgroundReadOnlyHover, _TextField.textFieldTokens.chipColorReadOnlyHover, _TextField.textFieldTokens.chipCloseIconColor, _TextField.textFieldTokens.chipCloseIconColorHover, _TextField.textFieldTokens.chipOpacityReadonly),
579
+ ], _TextField.textFieldTokens.chipColor, _TextField.textFieldTokens.chipBackground, _TextField.textFieldTokens.chipColorHover, _TextField.textFieldTokens.chipBackgroundHover, _TextField.textFieldTokens.chipColorActive, _TextField.textFieldTokens.chipBackgroundActive, _TextField.textFieldTokens.chipBackgroundReadOnly, _TextField.textFieldTokens.chipColorReadOnly, _TextField.textFieldTokens.chipBackgroundReadOnlyHover, _TextField.textFieldTokens.chipColorReadOnlyHover, _TextField.textFieldTokens.chipCloseIconColor, _TextField.textFieldTokens.chipOpacityReadonly),
584
580
  warning: (0, _styledcomponents.css)([
585
581
  "",
586
582
  ":var(--on-dark-text-primary);",
@@ -594,9 +590,8 @@ var config = {
594
590
  ":var(--surface-warning);",
595
591
  ":var(--on-dark-text-primary);",
596
592
  ":var(--on-dark-text-secondary);",
597
- ":var(--on-dark-text-secondary-hover);",
598
593
  ":1;"
599
- ], _TextField.textFieldTokens.chipColor, _TextField.textFieldTokens.chipBackground, _TextField.textFieldTokens.chipColorHover, _TextField.textFieldTokens.chipBackgroundHover, _TextField.textFieldTokens.chipColorActive, _TextField.textFieldTokens.chipBackgroundActive, _TextField.textFieldTokens.chipBackgroundReadOnly, _TextField.textFieldTokens.chipColorReadOnly, _TextField.textFieldTokens.chipBackgroundReadOnlyHover, _TextField.textFieldTokens.chipColorReadOnlyHover, _TextField.textFieldTokens.chipCloseIconColor, _TextField.textFieldTokens.chipCloseIconColorHover, _TextField.textFieldTokens.chipOpacityReadonly),
594
+ ], _TextField.textFieldTokens.chipColor, _TextField.textFieldTokens.chipBackground, _TextField.textFieldTokens.chipColorHover, _TextField.textFieldTokens.chipBackgroundHover, _TextField.textFieldTokens.chipColorActive, _TextField.textFieldTokens.chipBackgroundActive, _TextField.textFieldTokens.chipBackgroundReadOnly, _TextField.textFieldTokens.chipColorReadOnly, _TextField.textFieldTokens.chipBackgroundReadOnlyHover, _TextField.textFieldTokens.chipColorReadOnlyHover, _TextField.textFieldTokens.chipCloseIconColor, _TextField.textFieldTokens.chipOpacityReadonly),
600
595
  negative: (0, _styledcomponents.css)([
601
596
  "",
602
597
  ":var(--on-dark-text-primary);",
@@ -610,9 +605,8 @@ var config = {
610
605
  ":var(--surface-negative);",
611
606
  ":var(--on-dark-text-primary);",
612
607
  ":var(--on-dark-text-secondary);",
613
- ":var(--on-dark-text-secondary-hover);",
614
608
  ":1;"
615
- ], _TextField.textFieldTokens.chipColor, _TextField.textFieldTokens.chipBackground, _TextField.textFieldTokens.chipColorHover, _TextField.textFieldTokens.chipBackgroundHover, _TextField.textFieldTokens.chipColorActive, _TextField.textFieldTokens.chipBackgroundActive, _TextField.textFieldTokens.chipBackgroundReadOnly, _TextField.textFieldTokens.chipColorReadOnly, _TextField.textFieldTokens.chipBackgroundReadOnlyHover, _TextField.textFieldTokens.chipColorReadOnlyHover, _TextField.textFieldTokens.chipCloseIconColor, _TextField.textFieldTokens.chipCloseIconColorHover, _TextField.textFieldTokens.chipOpacityReadonly)
609
+ ], _TextField.textFieldTokens.chipColor, _TextField.textFieldTokens.chipBackground, _TextField.textFieldTokens.chipColorHover, _TextField.textFieldTokens.chipBackgroundHover, _TextField.textFieldTokens.chipColorActive, _TextField.textFieldTokens.chipBackgroundActive, _TextField.textFieldTokens.chipBackgroundReadOnly, _TextField.textFieldTokens.chipColorReadOnly, _TextField.textFieldTokens.chipBackgroundReadOnlyHover, _TextField.textFieldTokens.chipColorReadOnlyHover, _TextField.textFieldTokens.chipCloseIconColor, _TextField.textFieldTokens.chipOpacityReadonly)
616
610
  },
617
611
  hintView: {
618
612
  default: (0, _styledcomponents.css)([
@@ -47,14 +47,14 @@ var processNode = function(node, firstFocusSelector, ref) {
47
47
  };
48
48
  var focusManager = new _focusManager.FocusManager();
49
49
  var useFocusTrap = function() {
50
- var active = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : true, firstFocusSelector = arguments.length > 1 ? arguments[1] : void 0, focusAfterNode = arguments.length > 2 ? arguments[2] : void 0, focusAfterAnimation = arguments.length > 3 ? arguments[3] : void 0;
50
+ var active = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : true, firstFocusSelector = arguments.length > 1 ? arguments[1] : void 0, focusAfterNode = arguments.length > 2 ? arguments[2] : void 0, focusAfterAnimation = arguments.length > 3 ? arguments[3] : void 0, enableOnFirstMount = arguments.length > 4 ? arguments[4] : void 0;
51
51
  var ref = (0, _react.useRef)();
52
52
  var setRef = (0, _react.useCallback)(function(node) {
53
53
  if (ref.current) {
54
54
  focusManager.teardownScopedFocus();
55
55
  focusManager.returnFocus();
56
56
  }
57
- if (active && node) {
57
+ if ((active || enableOnFirstMount) && node) {
58
58
  focusManager.setupScopedFocus(node);
59
59
  focusManager.markForFocusAfter(focusAfterNode);
60
60
  // Delay processing the HTML node by a frame. This ensures focus is assigned correctly.
@@ -73,15 +73,21 @@ var useFocusTrap = function() {
73
73
  ref.current = null;
74
74
  }, [
75
75
  active,
76
+ enableOnFirstMount,
76
77
  firstFocusSelector
77
78
  ]);
78
79
  (0, _react.useEffect)(function() {
79
- if (!active) {
80
+ if (!active && !enableOnFirstMount) {
80
81
  return;
81
82
  }
82
83
  var handleKeyDown = function(event) {
83
84
  if (event.key === 'Tab' && ref.current) {
84
- (0, _scopeTab.scopeTab)(ref.current, event);
85
+ (0, _scopeTab.scopeTab)(ref.current, event, active);
86
+ if (enableOnFirstMount) {
87
+ setTimeout(function() {
88
+ focusManager.teardownScopedFocus();
89
+ });
90
+ }
85
91
  }
86
92
  };
87
93
  document.addEventListener('keydown', handleKeyDown);
@@ -89,7 +95,8 @@ var useFocusTrap = function() {
89
95
  document.removeEventListener('keydown', handleKeyDown);
90
96
  };
91
97
  }, [
92
- active
98
+ active,
99
+ enableOnFirstMount
93
100
  ]);
94
101
  return setRef;
95
102
  };
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "scopeTab", {
9
9
  }
10
10
  });
11
11
  var _tabbable = require("./tabbable");
12
- var scopeTab = function(node, event) {
12
+ var scopeTab = function(node, event, activeFocusTrap) {
13
13
  var tabbable = (0, _tabbable.findTabbableDescendants)(node);
14
14
  if (!tabbable.length) {
15
15
  event.preventDefault();
@@ -19,7 +19,7 @@ var scopeTab = function(node, event) {
19
19
  var finalTabbable = tabbable[event.shiftKey ? 0 : tabbable.length - 1];
20
20
  var leavingFinalTabbable = finalTabbable === document.activeElement || node === document.activeElement;
21
21
  // если не является, то передаем обработку таба самому браузеру
22
- if (!leavingFinalTabbable) {
22
+ if (!leavingFinalTabbable || !activeFocusTrap) {
23
23
  return;
24
24
  }
25
25
  // иначе зацкливаемся
@@ -93,16 +93,14 @@ export var chipRoot = function(Root) {
93
93
  return;
94
94
  }
95
95
  onClick === null || onClick === void 0 ? void 0 : onClick(event);
96
+ onClear === null || onClear === void 0 ? void 0 : onClear();
96
97
  };
97
98
  var handleClickClose = function(event) {
98
- if (disabled || readOnly && !_forceChipManipulationWithReadonly || !onClickClose) {
99
+ if (disabled || readOnly || !onClickClose) {
99
100
  return;
100
101
  }
101
102
  event.stopPropagation();
102
103
  onClickClose(event);
103
- if (onClear) {
104
- onClear();
105
- }
106
104
  };
107
105
  return /*#__PURE__*/ React.createElement(Root, _object_spread({
108
106
  type: "button",
@@ -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-ea11377a-0"
10
+ componentId: "sc-9d5799f0-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-ea11377a-1"
19
+ componentId: "sc-9d5799f0-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-ea11377a-2"
26
+ componentId: "sc-9d5799f0-2"
27
27
  })([
28
28
  "display:flex;margin-left:var(",
29
29
  ");margin-right:",
@@ -33,11 +33,10 @@ 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-ea11377a-3"
36
+ componentId: "sc-9d5799f0-3"
37
37
  })([
38
38
  "display:flex;margin-left:var(",
39
39
  ");margin-right:var(",
40
40
  ");color:var(",
41
- ");:hover{color:var(",
42
- ");}"
43
- ], tokens.clearContentMarginLeft, tokens.clearContentMarginRight, tokens.closeIconColor, tokens.closeIconColorHover);
41
+ ");"
42
+ ], tokens.clearContentMarginLeft, tokens.clearContentMarginRight, tokens.closeIconColor);
@@ -606,7 +606,7 @@ import { Context } from "./Combobox.context";
606
606
  }, multiple ? {
607
607
  enumerationType: 'chip',
608
608
  _chips: getChips(),
609
- _onChipCloseClick: handleChipClick
609
+ _onChipClick: handleChipClick
610
610
  } : {
611
611
  enumerationType: 'plain'
612
612
  }, rest), {
@@ -179,7 +179,6 @@ export var tokens = {
179
179
  textFieldChipBackgroundActive: '--plasma-combobox-new-textfield-chip-background-active',
180
180
  textFieldChipColorActive: '--plasma-combobox-new-textfield-chip-color-active',
181
181
  textFieldChipCloseIconColor: '--plasma-combobox-new-textfield-chip-close-icons-color',
182
- textFieldChipCloseIconColorHover: '--plasma-combobox-new-textfield-chip-close-icons-color-hover',
183
182
  textFieldChipOutlineSize: '--plasma-combobox-new-textfield-chip-outline-size',
184
183
  textFieldChipWidth: '--plasma-combobox-new-textfield-chip-width',
185
184
  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-180b0c13-0"
9
+ componentId: "sc-e7d38474-0"
10
10
  })([
11
11
  "",
12
12
  ":var(",
@@ -304,7 +304,5 @@ export var StyledTextField = styled(TextField).withConfig({
304
304
  ":var(",
305
305
  ");",
306
306
  ":var(",
307
- ");",
308
- ":var(",
309
307
  ");"
310
- ], 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.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.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.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);
308
+ ], 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.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.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);
@@ -74,7 +74,7 @@ var Popup = component(popupConfig);
74
74
  * Управляет показом/скрытием, подложкой и анимацией визуальной части модального окна.
75
75
  */ export var modalRoot = function(Root) {
76
76
  return /*#__PURE__*/ forwardRef(function(_param, outerRootRef) {
77
- var id = _param.id, withAnimation = _param.withAnimation, onClose = _param.onClose, onOverlayClick = _param.onOverlayClick, onEscKeyDown = _param.onEscKeyDown, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_closeOnOverlayClick = _param.closeOnOverlayClick, closeOnOverlayClick = _param_closeOnOverlayClick === void 0 ? true : _param_closeOnOverlayClick, withBlur = _param.withBlur, initialFocusRef = _param.initialFocusRef, focusAfterRef = _param.focusAfterRef, zIndex = _param.zIndex, popupInfo = _param.popupInfo, children = _param.children, view = _param.view, opened = _param.opened, isOpen = _param.isOpen, hasBody = _param.hasBody, hasClose = _param.hasClose, resizable = _param.resizable, draggable = _param.draggable, rest = _object_without_properties(_param, [
77
+ var id = _param.id, withAnimation = _param.withAnimation, onClose = _param.onClose, onOverlayClick = _param.onOverlayClick, onEscKeyDown = _param.onEscKeyDown, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_closeOnOverlayClick = _param.closeOnOverlayClick, closeOnOverlayClick = _param_closeOnOverlayClick === void 0 ? true : _param_closeOnOverlayClick, withBlur = _param.withBlur, _param_isFocusTrapped = _param.isFocusTrapped, isFocusTrapped = _param_isFocusTrapped === void 0 ? true : _param_isFocusTrapped, initialFocusRef = _param.initialFocusRef, focusAfterRef = _param.focusAfterRef, zIndex = _param.zIndex, popupInfo = _param.popupInfo, children = _param.children, view = _param.view, opened = _param.opened, isOpen = _param.isOpen, hasBody = _param.hasBody, hasClose = _param.hasClose, resizable = _param.resizable, draggable = _param.draggable, rest = _object_without_properties(_param, [
78
78
  "id",
79
79
  "withAnimation",
80
80
  "onClose",
@@ -83,6 +83,7 @@ var Popup = component(popupConfig);
83
83
  "closeOnEsc",
84
84
  "closeOnOverlayClick",
85
85
  "withBlur",
86
+ "isFocusTrapped",
86
87
  "initialFocusRef",
87
88
  "focusAfterRef",
88
89
  "zIndex",
@@ -98,7 +99,7 @@ var Popup = component(popupConfig);
98
99
  ]);
99
100
  var innerIsOpen = Boolean(isOpen || opened);
100
101
  var innerHasClose = hasClose === undefined && hasBody || hasClose;
101
- var trapRef = useFocusTrap(true, initialFocusRef, focusAfterRef, true);
102
+ var trapRef = useFocusTrap(isFocusTrapped, initialFocusRef, focusAfterRef, true, !isFocusTrapped);
102
103
  var popupController = usePopupContext();
103
104
  var innerRef = useForkRef(trapRef, outerRootRef);
104
105
  var uniqId = safeUseId();
@@ -160,7 +160,7 @@ export var noteRoot = function(Root) {
160
160
  var contentWidthWithOffsetToken = contentBefore ? "calc(100% - ".concat(contentBeforeWidth, " - var(").concat(contentGapToken, "))") : '100%';
161
161
  var setTruncatedText = function() {
162
162
  var _titleHelperRef_current;
163
- if (!canUseDOM || !text || !(contentWrapperRef === null || contentWrapperRef === void 0 ? void 0 : contentWrapperRef.current) || !(textRenderHelperRef === null || textRenderHelperRef === void 0 ? void 0 : textRenderHelperRef.current) || !width && !height) {
163
+ if (!canUseDOM || !text || typeof text !== 'string' || !(contentWrapperRef === null || contentWrapperRef === void 0 ? void 0 : contentWrapperRef.current) || !(textRenderHelperRef === null || textRenderHelperRef === void 0 ? void 0 : textRenderHelperRef.current) || !width && !height) {
164
164
  return;
165
165
  }
166
166
  var contentHeight = contentWrapperRef.current.offsetHeight;
@@ -36,5 +36,5 @@ export var base = css([
36
36
  ");font-weight:var(",
37
37
  ");letter-spacing:var(",
38
38
  ");line-height:var(",
39
- ");word-break:break-all;}"
39
+ ");overflow-wrap:break-word;}"
40
40
  ], tokens.padding, tokens.borderRadius, privateTokens.height, privateTokens.width, tokens.gap, classes.stretch, ContentBefore, tokens.fixedContentBeforeWidth, tokens.fixedContentBeforeHeight, tokens.fixedContentBeforePadding, classes.contentAlignCenter, tokens.paddingScalable, tokens.gapScalable, ContentBefore, ContentWrapper, privateTokens.contentWidthWithOffset, tokens.contentGap, Title, TitleHelper, tokens.titleLineHeight, tokens.titleFontFamily, tokens.titleFontSize, tokens.titleFontStyle, tokens.titleFontWeight, tokens.titleLetterSpacing, tokens.titleLineHeight, Text, TextHelper, tokens.textFontFamily, tokens.textFontSize, tokens.textFontStyle, tokens.textFontWeight, tokens.textLetterSpacing, tokens.textLineHeight);
@@ -195,7 +195,6 @@ 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
198
  textFieldChipOutlineSize: '--plasma-select-textfield-chip-outline-size',
200
199
  textFieldChipWidth: '--plasma-select-textfield-chip-width',
201
200
  textFieldChipPadding: '--plasma-select-textfield-chip-padding',
@@ -159,7 +159,7 @@ export var Textfield = /*#__PURE__*/ forwardRef(function(param, ref) {
159
159
  }, multiselect ? {
160
160
  enumerationType: 'chip',
161
161
  _chips: getChips(),
162
- _onChipCloseClick: handleChipClick,
162
+ _onChipClick: handleChipClick,
163
163
  chipType: chipType,
164
164
  chipView: chipView
165
165
  } : {
@@ -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-6564be88-0"
10
+ componentId: "sc-27756630-0"
11
11
  })([
12
12
  "",
13
13
  ":var(",
@@ -284,8 +284,6 @@ export var StyledTextField = styled(TextField).withConfig({
284
284
  ");",
285
285
  ":var(",
286
286
  ");",
287
- ":var(",
288
- ");",
289
287
  ":",
290
288
  ";& div.input-wrapper:focus-within{background-color:var(",
291
289
  ");}&.",
@@ -328,13 +326,13 @@ export var StyledTextField = styled(TextField).withConfig({
328
326
  }, textFieldTokens.leftHelperColorReadOnly, tokens.textFieldLeftHelperColor, textFieldTokens.labelColorReadOnly, tokens.textFieldLabelColor, textFieldTokens.borderColorReadOnly, function(param) {
329
327
  var opened = param.opened;
330
328
  return opened ? "var(".concat(tokens.textFieldBorderColorFocus, ")") : "var(".concat(tokens.textFieldBorderColor, ")");
331
- }, 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.chipCloseIconColorHover, tokens.textFieldChipCloseIconColorHover, 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) {
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) {
332
330
  var disabled = param.disabled;
333
331
  return disabled ? 'none' : "var(".concat(tokens.textFieldBoxShadow, ")");
334
332
  }, 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);
335
333
  export var IconArrowWrapper = styled.div.withConfig({
336
334
  displayName: "Textfield.styles__IconArrowWrapper",
337
- componentId: "sc-6564be88-1"
335
+ componentId: "sc-27756630-1"
338
336
  })([
339
337
  "line-height:0;color:var(",
340
338
  ");cursor:",
@@ -359,7 +357,7 @@ export var sizeMap = {
359
357
  };
360
358
  export var StyledArrow = styled(IconDisclosureDownCentered).withConfig({
361
359
  displayName: "Textfield.styles__StyledArrow",
362
- componentId: "sc-6564be88-2"
360
+ componentId: "sc-27756630-2"
363
361
  })([
364
362
  "width:",
365
363
  ";height:",
@@ -373,7 +371,7 @@ export var StyledArrow = styled(IconDisclosureDownCentered).withConfig({
373
371
  });
374
372
  export var StyledLeftHelper = styled.span.withConfig({
375
373
  displayName: "Textfield.styles__StyledLeftHelper",
376
- componentId: "sc-6564be88-3"
374
+ componentId: "sc-27756630-3"
377
375
  })([
378
376
  "margin:0;padding:0;"
379
377
  ]);
@@ -135,7 +135,7 @@ 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
- _onChipCloseClick = _param._onChipCloseClick, // events
138
+ _onChipClick = _param._onChipClick, // events
139
139
  onChange = _param.onChange, onChangeChips = _param.onChangeChips, onSearch = _param.onSearch, onKeyDown = _param.onKeyDown, onFocus = _param.onFocus, onBlur = _param.onBlur, onPaste = _param.onPaste, // Пропсы для внутреннего использования, не отдается наружу.
140
140
  // @ts-ignore
141
141
  _onEnterDisabled = _param._onEnterDisabled, // @ts-ignore
@@ -181,7 +181,7 @@ export var textFieldRoot = function(Root) {
181
181
  "chips",
182
182
  "chipType",
183
183
  "_chips",
184
- "_onChipCloseClick",
184
+ "_onChipClick",
185
185
  "onChange",
186
186
  "onChangeChips",
187
187
  "onSearch",
@@ -321,13 +321,11 @@ export var textFieldRoot = function(Root) {
321
321
  disabled: disabled,
322
322
  readOnly: readOnly,
323
323
  chips: chips,
324
- newCustomChips: _chips,
325
324
  enumerationType: enumerationType,
326
325
  updateChips: updateChips,
327
326
  onSearch: onSearch,
328
327
  onChange: onChange,
329
- onEnterDisabled: _onEnterDisabled,
330
- onChipCloseClick: _onChipCloseClick
328
+ onEnterDisabled: _onEnterDisabled
331
329
  }), handleInputKeydown = _useKeyNavigation.handleInputKeydown, handleChipKeyDown = _useKeyNavigation.handleChipKeyDown, onChipClear = _useKeyNavigation.onChipClear, handleContentKeyDown = _useKeyNavigation.handleContentKeyDown;
332
330
  var onChipClick = function(event) {
333
331
  return event.stopPropagation();
@@ -472,10 +470,10 @@ export var textFieldRoot = function(Root) {
472
470
  className: cx(withHasChips, classes.inputScrollableWrapper)
473
471
  }, Boolean(textBefore && isChipEnumeration) && /*#__PURE__*/ React.createElement(StyledTextBefore, null, textBefore), Boolean(_chips === null || _chips === void 0 ? void 0 : _chips.length) && /*#__PURE__*/ React.createElement(TextFieldChipNew, {
474
472
  chips: _chips,
473
+ onChipClick: _onChipClick,
475
474
  getRef: getRef,
476
475
  handleChipKeyDown: handleChipKeyDown,
477
476
  onChipClear: onChipClear,
478
- onChipCloseClick: _onChipCloseClick,
479
477
  view: chipView || view,
480
478
  readOnly: readOnly,
481
479
  chipType: chipType,
@@ -152,7 +152,6 @@ export var tokens = {
152
152
  chipColorActive: '--plasma-textfield__chip-color-active',
153
153
  chipFocusColor: '--plasma-textfield__chip-focus-color',
154
154
  chipCloseIconColor: '--plasma-textfield__chip-close-icon-color',
155
- chipCloseIconColorHover: '--plasma-textfield__chip-close-icon-color-hover',
156
155
  chipOutlineSize: '--plasma-textfield__chip-outline-size',
157
156
  chipWidth: '--plasma-textfield__chip-width',
158
157
  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, 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;
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;
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, _inputRef_current1;
72
+ var _inputRef_current;
73
73
  var value = event.target.value;
74
74
  if (disabled || readOnly) {
75
75
  return;
@@ -95,14 +95,7 @@ export var useKeyNavigation = function(param) {
95
95
  onSearch(value, event);
96
96
  }
97
97
  }
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) {
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) {
106
99
  var newChips1 = _to_consumable_array(chips);
107
100
  newChips1 === null || newChips1 === void 0 ? void 0 : newChips1.pop();
108
101
  chipsRefs === null || chipsRefs === void 0 ? void 0 : chipsRefs.current.pop();
@@ -114,7 +107,7 @@ export var useKeyNavigation = function(param) {
114
107
  }
115
108
  };
116
109
  var onChipClear = function(clearId, index) {
117
- if (!chips.length && !(newCustomChips === null || newCustomChips === void 0 ? void 0 : newCustomChips.length)) {
110
+ if (!chips.length) {
118
111
  return;
119
112
  }
120
113
  var newChips = (chips === null || chips === void 0 ? void 0 : chips.filter(function(param) {
@@ -27,7 +27,6 @@ import { StyledChip, TextChip } from "./TextFieldChip.styles";
27
27
  readOnly: readOnly,
28
28
  onClick: onClick,
29
29
  onClear: onClearHandle,
30
- onClickClose: onClearHandle,
31
30
  onKeyDown: onKeyDownHandle,
32
31
  text: "".concat(text),
33
32
  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-b645c28d-0"
12
+ componentId: "sc-e83042f5-0"
13
13
  })([
14
14
  "",
15
15
  ":var(",
@@ -61,12 +61,10 @@ export var StyledChip = styled(Chip).withConfig({
61
61
  ":var(",
62
62
  ");",
63
63
  ":var(",
64
- ");",
65
- ":var(",
66
64
  ");scroll-snap-align:center;scroll-snap-stop:normal;",
67
65
  " &[readonly]{opacity:var(",
68
66
  ");}"
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({
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({
70
68
  outlineOffset: '0.0625rem',
71
69
  outlineSize: '0.0625rem',
72
70
  outlineRadius: "calc(var(".concat(tokens.chipBorderRadius, ") - 0.1rem)"),
@@ -74,7 +72,7 @@ export var StyledChip = styled(Chip).withConfig({
74
72
  }), tokens.chipOpacityReadonly);
75
73
  export var TextChip = styled.button.withConfig({
76
74
  displayName: "TextFieldChip.styles__TextChip",
77
- componentId: "sc-b645c28d-1"
75
+ componentId: "sc-e83042f5-1"
78
76
  })([
79
77
  "display:block;flex:none;background:none;border:none;outline:none;padding:0;white-space:nowrap;cursor:pointer;font-family:var(",
80
78
  ");font-size:var(",