@salutejs/plasma-new-hope 0.337.1-canary.2276.18280051462.0 → 0.338.0-canary.2237.18342071625.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 (307) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +11 -11
  2. package/cjs/components/Chip/Chip.css +7 -7
  3. package/cjs/components/Chip/Chip.js +6 -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_fnd4j5.css → Chip.styles_d9y94l.css} +1 -1
  8. package/cjs/components/Chip/Chip.tokens.js +1 -0
  9. package/cjs/components/Chip/Chip.tokens.js.map +1 -1
  10. package/cjs/components/Chip/variations/_disabled/base.js +1 -1
  11. package/cjs/components/Chip/variations/_disabled/base.js.map +1 -1
  12. package/{es/components/Chip/variations/_disabled/base_rmcs0j.css → cjs/components/Chip/variations/_disabled/base_1j4s925.css} +1 -1
  13. package/cjs/components/Chip/variations/_readonly/base.js +1 -1
  14. package/cjs/components/Chip/variations/_readonly/base.js.map +1 -1
  15. package/{es/components/Chip/variations/_readonly/base_1nfit77.css → cjs/components/Chip/variations/_readonly/base_1xublmy.css} +1 -1
  16. package/cjs/components/Combobox/ComboboxNew/Combobox.css +12 -12
  17. package/cjs/components/Combobox/ComboboxNew/Combobox.js +6 -3
  18. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  19. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  20. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  21. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  22. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  23. package/{es/components/Combobox/ComboboxNew/ui/Target/Target.styles_1c4vtoy.css → cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles_ycaw31.css} +1 -1
  24. package/cjs/components/Combobox/ComboboxOld/Combobox.css +7 -7
  25. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.css +7 -7
  26. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.css +7 -7
  27. package/cjs/components/DatePicker/RangeDate/RangeDate.css +11 -11
  28. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +11 -11
  29. package/cjs/components/DatePicker/SingleDate/SingleDate.css +11 -11
  30. package/cjs/components/Modal/Modal.css +2 -2
  31. package/cjs/components/Modal/Modal.js +4 -5
  32. package/cjs/components/Modal/Modal.js.map +1 -1
  33. package/cjs/components/Pagination/Pagination.css +15 -15
  34. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +15 -15
  35. package/cjs/components/Range/Range.css +11 -11
  36. package/cjs/components/Select/Select.css +15 -15
  37. package/cjs/components/Select/Select.js +2 -2
  38. package/cjs/components/Select/Select.js.map +1 -1
  39. package/cjs/components/Select/Select.tokens.js +2 -0
  40. package/cjs/components/Select/Select.tokens.js.map +1 -1
  41. package/cjs/components/Select/ui/Target/Target.css +15 -15
  42. package/cjs/components/Select/ui/Target/Target.js +2 -1
  43. package/cjs/components/Select/ui/Target/Target.js.map +1 -1
  44. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +15 -15
  45. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
  46. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  47. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +13 -13
  48. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  49. package/cjs/components/Select/ui/Target/ui/Textfield/{Textfield.styles_1mikp58.css → Textfield.styles_19e9015.css} +1 -1
  50. package/cjs/components/Slider/Slider.css +11 -11
  51. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +11 -11
  52. package/cjs/components/Table/Table.css +15 -15
  53. package/cjs/components/Table/ui/Cell/Cell.css +15 -15
  54. package/cjs/components/Table/ui/EditableCell/EditableCell.css +15 -15
  55. package/cjs/components/Table/ui/HeadCell/HeadCell.css +15 -15
  56. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +15 -15
  57. package/cjs/components/TextField/TextField.js +8 -4
  58. package/cjs/components/TextField/TextField.js.map +1 -1
  59. package/cjs/components/TextField/TextField.tokens.js +2 -0
  60. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  61. package/cjs/components/TextField/hooks/useKeyNavigation.js +15 -6
  62. package/cjs/components/TextField/hooks/useKeyNavigation.js.map +1 -1
  63. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +9 -9
  64. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
  65. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  66. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -1
  67. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  68. package/cjs/components/TextField/ui/TextFieldChip/{TextFieldChip.styles_14q069b.css → TextFieldChip.styles_8puilg.css} +1 -1
  69. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.css +11 -11
  70. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +26 -12
  71. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js.map +1 -1
  72. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +33 -2
  73. package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js.map +1 -1
  74. package/cjs/components/TextField/ui/TextFieldChipNew/{TextFieldChipNew.styles_y9tozi.css → TextFieldChipNew.styles_1hj7e4k.css} +1 -1
  75. package/cjs/components/TimePicker/TimePicker.css +11 -11
  76. package/cjs/index.css +16 -16
  77. package/emotion/cjs/components/Chip/Chip.js +9 -5
  78. package/emotion/cjs/components/Chip/Chip.styles.js +9 -9
  79. package/emotion/cjs/components/Chip/Chip.tokens.js +1 -0
  80. package/emotion/cjs/components/Chip/variations/_disabled/base.js +2 -1
  81. package/emotion/cjs/components/Chip/variations/_readonly/base.js +2 -1
  82. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +5 -3
  83. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  84. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +2 -2
  85. package/emotion/cjs/components/Modal/Modal.js +6 -7
  86. package/emotion/cjs/components/Select/Select.js +3 -2
  87. package/emotion/cjs/components/Select/Select.tokens.js +2 -0
  88. package/emotion/cjs/components/Select/ui/Target/Target.js +2 -1
  89. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -2
  90. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +9 -9
  91. package/emotion/cjs/components/TextField/TextField.js +10 -5
  92. package/emotion/cjs/components/TextField/TextField.tokens.js +2 -0
  93. package/emotion/cjs/components/TextField/hooks/useKeyNavigation.js +11 -4
  94. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
  95. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +5 -5
  96. package/emotion/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +74 -10
  97. package/emotion/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +18 -5
  98. package/emotion/cjs/examples/components/Chip/Chip.config.js +14 -14
  99. package/emotion/cjs/examples/components/Combobox/Combobox.config.js +15 -15
  100. package/emotion/cjs/examples/components/Combobox/Combobox.js +15 -0
  101. package/emotion/cjs/examples/components/Select/Select.config.js +24 -24
  102. package/emotion/cjs/examples/components/TextField/TextField.config.js +23 -23
  103. package/emotion/es/components/Chip/Chip.js +9 -5
  104. package/emotion/es/components/Chip/Chip.styles.js +9 -9
  105. package/emotion/es/components/Chip/Chip.tokens.js +1 -0
  106. package/emotion/es/components/Chip/variations/_disabled/base.js +2 -1
  107. package/emotion/es/components/Chip/variations/_readonly/base.js +2 -1
  108. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +5 -3
  109. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  110. package/emotion/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +2 -2
  111. package/emotion/es/components/Modal/Modal.js +5 -6
  112. package/emotion/es/components/Select/Select.js +3 -2
  113. package/emotion/es/components/Select/Select.tokens.js +2 -0
  114. package/emotion/es/components/Select/ui/Target/Target.js +2 -1
  115. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -2
  116. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +9 -9
  117. package/emotion/es/components/TextField/TextField.js +10 -5
  118. package/emotion/es/components/TextField/TextField.tokens.js +2 -0
  119. package/emotion/es/components/TextField/hooks/useKeyNavigation.js +11 -4
  120. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
  121. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +5 -5
  122. package/emotion/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +74 -10
  123. package/emotion/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +18 -5
  124. package/emotion/es/examples/components/Chip/Chip.config.js +14 -14
  125. package/emotion/es/examples/components/Combobox/Combobox.config.js +15 -15
  126. package/emotion/es/examples/components/Combobox/Combobox.js +7 -0
  127. package/emotion/es/examples/components/Select/Select.config.js +24 -24
  128. package/emotion/es/examples/components/TextField/TextField.config.js +23 -23
  129. package/es/components/Autocomplete/Autocomplete.css +11 -11
  130. package/es/components/Chip/Chip.css +7 -7
  131. package/es/components/Chip/Chip.js +6 -4
  132. package/es/components/Chip/Chip.js.map +1 -1
  133. package/es/components/Chip/Chip.styles.js +1 -1
  134. package/es/components/Chip/Chip.styles.js.map +1 -1
  135. package/es/components/Chip/{Chip.styles_fnd4j5.css → Chip.styles_d9y94l.css} +1 -1
  136. package/es/components/Chip/Chip.tokens.js +1 -0
  137. package/es/components/Chip/Chip.tokens.js.map +1 -1
  138. package/es/components/Chip/variations/_disabled/base.js +1 -1
  139. package/es/components/Chip/variations/_disabled/base.js.map +1 -1
  140. package/{cjs/components/Chip/variations/_disabled/base_rmcs0j.css → es/components/Chip/variations/_disabled/base_1j4s925.css} +1 -1
  141. package/es/components/Chip/variations/_readonly/base.js +1 -1
  142. package/es/components/Chip/variations/_readonly/base.js.map +1 -1
  143. package/{cjs/components/Chip/variations/_readonly/base_1nfit77.css → es/components/Chip/variations/_readonly/base_1xublmy.css} +1 -1
  144. package/es/components/Combobox/ComboboxNew/Combobox.css +12 -12
  145. package/es/components/Combobox/ComboboxNew/Combobox.js +6 -3
  146. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  147. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  148. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  149. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  150. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  151. package/{cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles_1c4vtoy.css → es/components/Combobox/ComboboxNew/ui/Target/Target.styles_ycaw31.css} +1 -1
  152. package/es/components/Combobox/ComboboxOld/Combobox.css +7 -7
  153. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.css +7 -7
  154. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.css +7 -7
  155. package/es/components/DatePicker/RangeDate/RangeDate.css +11 -11
  156. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +11 -11
  157. package/es/components/DatePicker/SingleDate/SingleDate.css +11 -11
  158. package/es/components/Modal/Modal.css +2 -2
  159. package/es/components/Modal/Modal.js +4 -5
  160. package/es/components/Modal/Modal.js.map +1 -1
  161. package/es/components/Pagination/Pagination.css +15 -15
  162. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +15 -15
  163. package/es/components/Range/Range.css +11 -11
  164. package/es/components/Select/Select.css +15 -15
  165. package/es/components/Select/Select.js +2 -2
  166. package/es/components/Select/Select.js.map +1 -1
  167. package/es/components/Select/Select.tokens.js +2 -0
  168. package/es/components/Select/Select.tokens.js.map +1 -1
  169. package/es/components/Select/ui/Target/Target.css +15 -15
  170. package/es/components/Select/ui/Target/Target.js +2 -1
  171. package/es/components/Select/ui/Target/Target.js.map +1 -1
  172. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +15 -15
  173. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
  174. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  175. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +13 -13
  176. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  177. package/es/components/Select/ui/Target/ui/Textfield/{Textfield.styles_1mikp58.css → Textfield.styles_19e9015.css} +1 -1
  178. package/es/components/Slider/Slider.css +11 -11
  179. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +11 -11
  180. package/es/components/Table/Table.css +15 -15
  181. package/es/components/Table/ui/Cell/Cell.css +15 -15
  182. package/es/components/Table/ui/EditableCell/EditableCell.css +15 -15
  183. package/es/components/Table/ui/HeadCell/HeadCell.css +15 -15
  184. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +15 -15
  185. package/es/components/TextField/TextField.js +8 -4
  186. package/es/components/TextField/TextField.js.map +1 -1
  187. package/es/components/TextField/TextField.tokens.js +2 -0
  188. package/es/components/TextField/TextField.tokens.js.map +1 -1
  189. package/es/components/TextField/hooks/useKeyNavigation.js +15 -6
  190. package/es/components/TextField/hooks/useKeyNavigation.js.map +1 -1
  191. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +9 -9
  192. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
  193. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  194. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -1
  195. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  196. package/es/components/TextField/ui/TextFieldChip/{TextFieldChip.styles_14q069b.css → TextFieldChip.styles_8puilg.css} +1 -1
  197. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.css +11 -11
  198. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +26 -12
  199. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js.map +1 -1
  200. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +33 -2
  201. package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js.map +1 -1
  202. package/es/components/TextField/ui/TextFieldChipNew/{TextFieldChipNew.styles_y9tozi.css → TextFieldChipNew.styles_1hj7e4k.css} +1 -1
  203. package/es/components/TimePicker/TimePicker.css +11 -11
  204. package/es/index.css +16 -16
  205. package/package.json +2 -2
  206. package/styled-components/cjs/components/Chip/Chip.js +9 -5
  207. package/styled-components/cjs/components/Chip/Chip.styles.js +7 -6
  208. package/styled-components/cjs/components/Chip/Chip.tokens.js +1 -0
  209. package/styled-components/cjs/components/Chip/variations/_disabled/base.js +6 -2
  210. package/styled-components/cjs/components/Chip/variations/_readonly/base.js +6 -2
  211. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +5 -3
  212. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  213. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +6 -2
  214. package/styled-components/cjs/components/Modal/Modal.js +6 -7
  215. package/styled-components/cjs/components/Select/Select.js +3 -2
  216. package/styled-components/cjs/components/Select/Select.tokens.js +2 -0
  217. package/styled-components/cjs/components/Select/ui/Target/Target.js +2 -1
  218. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -2
  219. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +11 -5
  220. package/styled-components/cjs/components/TextField/TextField.js +9 -4
  221. package/styled-components/cjs/components/TextField/TextField.tokens.js +2 -0
  222. package/styled-components/cjs/components/TextField/hooks/useKeyNavigation.js +11 -4
  223. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
  224. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +5 -3
  225. package/styled-components/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +74 -10
  226. package/styled-components/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +28 -5
  227. package/styled-components/cjs/examples/components/Chip/Chip.config.js +24 -12
  228. package/styled-components/cjs/examples/components/Combobox/Combobox.config.js +12 -4
  229. package/styled-components/cjs/examples/components/Combobox/Combobox.js +0 -15
  230. package/styled-components/cjs/examples/components/Select/Select.config.js +10 -4
  231. package/styled-components/cjs/examples/components/TextField/TextField.config.js +18 -6
  232. package/styled-components/es/components/Chip/Chip.js +9 -5
  233. package/styled-components/es/components/Chip/Chip.styles.js +7 -6
  234. package/styled-components/es/components/Chip/Chip.tokens.js +1 -0
  235. package/styled-components/es/components/Chip/variations/_disabled/base.js +6 -2
  236. package/styled-components/es/components/Chip/variations/_readonly/base.js +6 -2
  237. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +5 -3
  238. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  239. package/styled-components/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +6 -2
  240. package/styled-components/es/components/Modal/Modal.js +5 -6
  241. package/styled-components/es/components/Select/Select.js +3 -2
  242. package/styled-components/es/components/Select/Select.tokens.js +2 -0
  243. package/styled-components/es/components/Select/ui/Target/Target.js +2 -1
  244. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -2
  245. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +11 -5
  246. package/styled-components/es/components/TextField/TextField.js +9 -4
  247. package/styled-components/es/components/TextField/TextField.tokens.js +2 -0
  248. package/styled-components/es/components/TextField/hooks/useKeyNavigation.js +11 -4
  249. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
  250. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +5 -3
  251. package/styled-components/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +74 -10
  252. package/styled-components/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +28 -5
  253. package/styled-components/es/examples/components/Chip/Chip.config.js +24 -12
  254. package/styled-components/es/examples/components/Combobox/Combobox.config.js +12 -4
  255. package/styled-components/es/examples/components/Select/Select.config.js +10 -4
  256. package/styled-components/es/examples/components/TextField/TextField.config.js +18 -6
  257. package/types/components/Chip/Chip.d.ts.map +1 -1
  258. package/types/components/Chip/Chip.styles.d.ts.map +1 -1
  259. package/types/components/Chip/Chip.tokens.d.ts +1 -0
  260. package/types/components/Chip/Chip.tokens.d.ts.map +1 -1
  261. package/types/components/Chip/Chip.types.d.ts +1 -1
  262. package/types/components/Chip/variations/_disabled/base.d.ts.map +1 -1
  263. package/types/components/Chip/variations/_readonly/base.d.ts.map +1 -1
  264. package/types/components/Combobox/ComboboxNew/Combobox.d.ts +2 -2
  265. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  266. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +2 -0
  267. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  268. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +9 -0
  269. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  270. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  271. package/types/components/Modal/Modal.d.ts.map +1 -1
  272. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +6 -0
  273. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  274. package/types/components/Select/Select.d.ts.map +1 -1
  275. package/types/components/Select/Select.tokens.d.ts +2 -0
  276. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  277. package/types/components/Select/Select.types.d.ts +7 -0
  278. package/types/components/Select/Select.types.d.ts.map +1 -1
  279. package/types/components/Select/ui/Target/Target.d.ts +2 -1
  280. package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
  281. package/types/components/Select/ui/Target/Target.types.d.ts +3 -2
  282. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  283. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  284. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  285. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -1
  286. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  287. package/types/components/Table/ui/HeadCell/ui/Filter/Filter.styles.d.ts +6 -0
  288. package/types/components/Table/ui/HeadCell/ui/Filter/Filter.styles.d.ts.map +1 -1
  289. package/types/components/TextField/TextField.d.ts.map +1 -1
  290. package/types/components/TextField/TextField.tokens.d.ts +2 -0
  291. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  292. package/types/components/TextField/hooks/useKeyNavigation.d.ts +11 -2
  293. package/types/components/TextField/hooks/useKeyNavigation.d.ts.map +1 -1
  294. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
  295. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +1 -1
  296. package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.d.ts +2 -1
  297. package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.d.ts.map +1 -1
  298. package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.d.ts +3 -1
  299. package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.d.ts.map +1 -1
  300. package/types/examples/components/Chip/Chip.config.d.ts.map +1 -1
  301. package/types/examples/components/Combobox/Combobox.config.d.ts.map +1 -1
  302. package/types/examples/components/Combobox/Combobox.d.ts +24 -0
  303. package/types/examples/components/Combobox/Combobox.d.ts.map +1 -1
  304. package/types/examples/components/Select/Select.config.d.ts.map +1 -1
  305. package/types/examples/components/Select/Select.d.ts +6 -0
  306. package/types/examples/components/Select/Select.d.ts.map +1 -1
  307. package/types/examples/components/TextField/TextField.config.d.ts.map +1 -1
@@ -1,22 +1,77 @@
1
+ function _define_property(obj, key, value) {
2
+ if (key in obj) {
3
+ Object.defineProperty(obj, key, {
4
+ value: value,
5
+ enumerable: true,
6
+ configurable: true,
7
+ writable: true
8
+ });
9
+ } else {
10
+ obj[key] = value;
11
+ }
12
+ return obj;
13
+ }
14
+ function _object_spread(target) {
15
+ for(var i = 1; i < arguments.length; i++){
16
+ var source = arguments[i] != null ? arguments[i] : {};
17
+ var ownKeys = Object.keys(source);
18
+ if (typeof Object.getOwnPropertySymbols === "function") {
19
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
+ }));
22
+ }
23
+ ownKeys.forEach(function(key) {
24
+ _define_property(target, key, source[key]);
25
+ });
26
+ }
27
+ return target;
28
+ }
29
+ function ownKeys(object, enumerableOnly) {
30
+ var keys = Object.keys(object);
31
+ if (Object.getOwnPropertySymbols) {
32
+ var symbols = Object.getOwnPropertySymbols(object);
33
+ if (enumerableOnly) {
34
+ symbols = symbols.filter(function(sym) {
35
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
36
+ });
37
+ }
38
+ keys.push.apply(keys, symbols);
39
+ }
40
+ return keys;
41
+ }
42
+ function _object_spread_props(target, source) {
43
+ source = source != null ? source : {};
44
+ if (Object.getOwnPropertyDescriptors) {
45
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
46
+ } else {
47
+ ownKeys(Object(source)).forEach(function(key) {
48
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
49
+ });
50
+ }
51
+ return target;
52
+ }
1
53
  import React from "react";
2
54
  import { TextChip } from "../TextFieldChip/TextFieldChip.styles";
3
55
  import { StyledChips } from "../../TextField.styles";
4
56
  import { classes } from "../../TextField.tokens";
5
57
  import { StyledChip } from "./TextFieldChipNew.styles";
6
58
  export var TextFieldChipNew = function(param) {
7
- var chips = param.chips, onChipClick = param.onChipClick, getRef = param.getRef, handleChipKeyDown = param.handleChipKeyDown, onChipClear = param.onChipClear, readOnly = param.readOnly, chipType = param.chipType, view = param.view, _forceChipManipulationWithReadonly = param._forceChipManipulationWithReadonly;
59
+ var chips = param.chips, onChipCloseClick = param.onChipCloseClick, getRef = param.getRef, handleChipKeyDown = param.handleChipKeyDown, onChipClear = param.onChipClear, readOnly = param.readOnly, chipType = param.chipType, view = param.view, _param_chipClickArea = param.chipClickArea, chipClickArea = _param_chipClickArea === void 0 ? 'full' : _param_chipClickArea, _forceChipManipulationWithReadonly = param._forceChipManipulationWithReadonly;
8
60
  return /*#__PURE__*/ React.createElement(StyledChips, {
9
61
  className: classes.chipsWrapper
10
62
  }, chips.map(function(param, index) {
11
63
  var value = param.value, label = param.label, disabled = param.disabled;
12
64
  var chipId = "".concat(index, "_").concat(value);
65
+ var handleChipClick = function(event) {
66
+ event.stopPropagation();
67
+ };
13
68
  var onKeyDownHandle = function(event) {
14
69
  if (handleChipKeyDown) {
15
70
  handleChipKeyDown(event, chipId, index);
16
71
  }
17
72
  if (event.key === 'Enter' || event.key === 'Backspace') {
18
- if (onChipClick) {
19
- onChipClick({
73
+ if (onChipCloseClick) {
74
+ onChipCloseClick({
20
75
  value: value,
21
76
  label: label,
22
77
  disabled: disabled
@@ -24,10 +79,10 @@ export var TextFieldChipNew = function(param) {
24
79
  }
25
80
  }
26
81
  };
27
- var handleClick = function(event) {
82
+ var handleCloseClick = function(event) {
28
83
  event.stopPropagation();
29
- if (onChipClick) {
30
- onChipClick({
84
+ if (onChipCloseClick) {
85
+ onChipCloseClick({
31
86
  value: value,
32
87
  label: label,
33
88
  disabled: disabled
@@ -37,7 +92,7 @@ export var TextFieldChipNew = function(param) {
37
92
  onChipClear(chipId, index);
38
93
  }
39
94
  };
40
- return chipType === 'default' ? /*#__PURE__*/ React.createElement(StyledChip, {
95
+ return chipType === 'default' ? /*#__PURE__*/ React.createElement(StyledChip, _object_spread_props(_object_spread({
41
96
  key: chipId,
42
97
  ref: function(element) {
43
98
  return getRef(element, index);
@@ -46,17 +101,26 @@ export var TextFieldChipNew = function(param) {
46
101
  disabled: disabled,
47
102
  hasClear: !disabled,
48
103
  readOnly: readOnly,
49
- onClick: handleClick,
50
104
  onKeyDown: onKeyDownHandle,
105
+ onClear: function() {
106
+ return onChipClear(chipId, index);
107
+ },
51
108
  text: label,
52
109
  view: view,
110
+ chipClickArea: chipClickArea
111
+ }, chipClickArea === 'full' ? {
112
+ onClick: handleCloseClick
113
+ } : {
114
+ onClick: handleChipClick,
115
+ onClickClose: handleCloseClick
116
+ }), {
53
117
  // TODO: #1547
54
118
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
55
119
  // @ts-ignore
56
120
  _forceChipManipulationWithReadonly: _forceChipManipulationWithReadonly
57
- }) : /*#__PURE__*/ React.createElement(TextChip, {
121
+ })) : /*#__PURE__*/ React.createElement(TextChip, {
58
122
  tabIndex: -1,
59
- onClick: handleClick,
123
+ onClick: handleCloseClick,
60
124
  onKeyDown: onKeyDownHandle
61
125
  }, label);
62
126
  }));
@@ -2,6 +2,7 @@ import styled from "styled-components";
2
2
  import { component, mergeConfig } from "../../../../engines";
3
3
  import { addFocus } from "../../../../mixins";
4
4
  import { chipConfig, chipTokens } from "../../../Chip";
5
+ import { StyledContentClear } from "../../../Chip/Chip.styles";
5
6
  import { tokens } from "../../TextField.tokens";
6
7
  // issue #823
7
8
  var mergedConfig = mergeConfig(chipConfig);
@@ -9,7 +10,7 @@ var Chip = component(mergedConfig);
9
10
  // NOTE: Необходимое переопределение токенов из компонента Chip т.к. используются его части
10
11
  export var StyledChip = styled(Chip).withConfig({
11
12
  displayName: "TextFieldChipNew.styles__StyledChip",
12
- componentId: "sc-ffa02158-0"
13
+ componentId: "sc-92ebcae4-0"
13
14
  })([
14
15
  "",
15
16
  ":var(",
@@ -62,18 +63,40 @@ export var StyledChip = styled(Chip).withConfig({
62
63
  ");",
63
64
  ":var(",
64
65
  ");",
66
+ ":var(",
67
+ ");",
68
+ ":var(",
69
+ ");",
65
70
  ":0.4;",
66
71
  " &[readonly]{opacity:var(",
67
- ");}"
68
- ], 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, chipTokens.disabledOpacity, addFocus({
72
+ ");}&:not([readonly]):hover,&:not([readonly]):active{color:",
73
+ ";background-color:",
74
+ ";cursor:",
75
+ ";",
76
+ "{color:",
77
+ ";:hover{cursor:pointer;color:var(",
78
+ ");}}}"
79
+ ], 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.closeIconColorReadonly, tokens.chipCloseIconColorReadonly, chipTokens.focusColor, tokens.focusColor, chipTokens.disabledOpacity, addFocus({
69
80
  outlineOffset: '0.0625rem',
70
81
  outlineSize: '0.0625rem',
71
82
  outlineRadius: "calc(var(".concat(tokens.chipBorderRadius, ") - 0.1rem)"),
72
83
  outlineColor: "var(".concat(tokens.focusColor, ")")
73
- }), tokens.chipOpacityReadonly);
84
+ }), tokens.chipOpacityReadonly, function(param) {
85
+ var chipClickArea = param.chipClickArea;
86
+ return chipClickArea === 'full' ? "var(".concat(tokens.chipColorHover, ")") : "var(".concat(tokens.chipColor, ")");
87
+ }, function(param) {
88
+ var chipClickArea = param.chipClickArea;
89
+ return chipClickArea === 'full' ? "var(".concat(tokens.chipBackgroundHover, ")") : "var(".concat(tokens.chipBackground, ")");
90
+ }, function(param) {
91
+ var chipClickArea = param.chipClickArea;
92
+ return chipClickArea === 'full' ? 'pointer' : 'default';
93
+ }, StyledContentClear, function(param) {
94
+ var chipClickArea = param.chipClickArea;
95
+ return chipClickArea === 'full' ? "var(".concat(tokens.chipCloseIconColorHover, ")") : "var(".concat(tokens.chipCloseIconColor, ")");
96
+ }, tokens.chipCloseIconColorHover);
74
97
  export var TextChip = styled.button.withConfig({
75
98
  displayName: "TextFieldChipNew.styles__TextChip",
76
- componentId: "sc-ffa02158-1"
99
+ componentId: "sc-92ebcae4-1"
77
100
  })([
78
101
  "display:block;flex:none;background:none;border:none;outline:none;padding:0;white-space:nowrap;cursor:pointer;font-family:var(",
79
102
  ");font-size:var(",
@@ -19,8 +19,10 @@ export var config = {
19
19
  ":var(--surface-solid-default);",
20
20
  ":var(--inverse-text-primary);",
21
21
  ":var(--surface-solid-default);",
22
- ":var(--inverse-text-primary);"
23
- ], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover),
22
+ ":var(--inverse-text-primary);",
23
+ ":var(--inverse-text-secondary);",
24
+ ":var(--inverse-text-secondary-hover);"
25
+ ], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.closeIconColorHover),
24
26
  secondary: css([
25
27
  "",
26
28
  ":var(--text-primary);",
@@ -32,8 +34,10 @@ export var config = {
32
34
  ":var(--surface-transparent-secondary);",
33
35
  ":var(--text-primary);",
34
36
  ":var(--surface-transparent-secondary);",
35
- ":var(--text-primary);"
36
- ], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover),
37
+ ":var(--text-primary);",
38
+ ":var(--text-secondary);",
39
+ ":var(--text-secondary-hover);"
40
+ ], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.closeIconColorHover),
37
41
  accent: css([
38
42
  "",
39
43
  ":var(--on-dark-text-primary);",
@@ -45,8 +49,10 @@ export var config = {
45
49
  ":var(--surface-accent);",
46
50
  ":var(--on-dark-text-primary);",
47
51
  ":var(--surface-accent);",
48
- ":var(--on-dark-text-primary);"
49
- ], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover),
52
+ ":var(--on-dark-text-primary);",
53
+ ":var(--on-dark-text-secondary);",
54
+ ":var(--on-dark-text-secondary-hover);"
55
+ ], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.closeIconColorHover),
50
56
  positive: css([
51
57
  "",
52
58
  ":var(--on-dark-text-primary);",
@@ -58,8 +64,10 @@ export var config = {
58
64
  ":var(--surface-positive);",
59
65
  ":var(--on-dark-text-primary);",
60
66
  ":var(--surface-positive);",
61
- ":var(--on-dark-text-primary);"
62
- ], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover),
67
+ ":var(--on-dark-text-primary);",
68
+ ":var(--on-dark-text-secondary);",
69
+ ":var(--on-dark-text-secondary-hover);"
70
+ ], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.closeIconColorHover),
63
71
  warning: css([
64
72
  "",
65
73
  ":var(--on-dark-text-primary);",
@@ -71,8 +79,10 @@ export var config = {
71
79
  ":var(--surface-warning);",
72
80
  ":var(--on-dark-text-primary);",
73
81
  ":var(--surface-warning);",
74
- ":var(--on-dark-text-primary);"
75
- ], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover),
82
+ ":var(--on-dark-text-primary);",
83
+ ":var(--on-dark-text-secondary);",
84
+ ":var(--on-dark-text-secondary-hover);"
85
+ ], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.closeIconColorHover),
76
86
  negative: css([
77
87
  "",
78
88
  ":var(--on-dark-text-primary);",
@@ -84,8 +94,10 @@ export var config = {
84
94
  ":var(--surface-negative);",
85
95
  ":var(--on-dark-text-primary);",
86
96
  ":var(--surface-negative);",
87
- ":var(--on-dark-text-primary);"
88
- ], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover)
97
+ ":var(--on-dark-text-primary);",
98
+ ":var(--on-dark-text-secondary);",
99
+ ":var(--on-dark-text-secondary-hover);"
100
+ ], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.closeIconColorHover)
89
101
  },
90
102
  size: {
91
103
  l: css([
@@ -30,6 +30,8 @@ export var config = {
30
30
  ":var(--surface-negative);",
31
31
  ":var(--text-tertiary);",
32
32
  ":var(--text-secondary);",
33
+ ":var(--text-secondary-hover);",
34
+ ":var(--text-secondary);",
33
35
  ":var(--text-primary);",
34
36
  ":var(--surface-transparent-secondary);",
35
37
  ":var(--text-primary);",
@@ -51,7 +53,7 @@ export var config = {
51
53
  ":var(--on-dark-text-primary);",
52
54
  ":transparent;",
53
55
  ":var(--text-secondary);"
54
- ], tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.textFieldHintIconColor, tokens.dividerColor, tokens.itemIconColor, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderColor),
56
+ ], tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipCloseIconColorHover, tokens.textFieldChipCloseIconColorReadonly, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.textFieldHintIconColor, tokens.dividerColor, tokens.itemIconColor, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderColor),
55
57
  positive: css([
56
58
  "",
57
59
  ":var(--text-primary);",
@@ -74,6 +76,8 @@ export var config = {
74
76
  ":var(--surface-negative);",
75
77
  ":var(--text-tertiary);",
76
78
  ":var(--text-secondary);",
79
+ ":var(--text-secondary-hover);",
80
+ ":var(--text-secondary);",
77
81
  ":var(--text-primary);",
78
82
  ":var(--surface-transparent-secondary);",
79
83
  ":var(--text-primary);",
@@ -95,7 +99,7 @@ export var config = {
95
99
  ":var(--on-dark-text-primary);",
96
100
  ":transparent;",
97
101
  ":var(--text-secondary);"
98
- ], tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.textFieldHintIconColor, tokens.dividerColor, tokens.itemIconColor, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderColor),
102
+ ], tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipCloseIconColorHover, tokens.textFieldChipCloseIconColorReadonly, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.textFieldHintIconColor, tokens.dividerColor, tokens.itemIconColor, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderColor),
99
103
  warning: css([
100
104
  "",
101
105
  ":var(--text-primary);",
@@ -118,6 +122,8 @@ export var config = {
118
122
  ":var(--surface-negative);",
119
123
  ":var(--text-tertiary);",
120
124
  ":var(--text-secondary);",
125
+ ":var(--text-secondary-hover);",
126
+ ":var(--text-secondary);",
121
127
  ":var(--text-primary);",
122
128
  ":var(--surface-transparent-secondary);",
123
129
  ":var(--text-primary);",
@@ -139,7 +145,7 @@ export var config = {
139
145
  ":var(--on-dark-text-primary);",
140
146
  ":transparent;",
141
147
  ":var(--text-secondary);"
142
- ], tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.textFieldHintIconColor, tokens.dividerColor, tokens.itemIconColor, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderColor),
148
+ ], tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipCloseIconColorHover, tokens.textFieldChipCloseIconColorReadonly, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.textFieldHintIconColor, tokens.dividerColor, tokens.itemIconColor, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderColor),
143
149
  negative: css([
144
150
  "",
145
151
  ":var(--text-primary);",
@@ -162,6 +168,8 @@ export var config = {
162
168
  ":var(--surface-negative);",
163
169
  ":var(--text-tertiary);",
164
170
  ":var(--text-secondary);",
171
+ ":var(--text-secondary-hover);",
172
+ ":var(--text-secondary);",
165
173
  ":var(--text-primary);",
166
174
  ":var(--surface-transparent-secondary);",
167
175
  ":var(--text-primary);",
@@ -183,7 +191,7 @@ export var config = {
183
191
  ":var(--on-dark-text-primary);",
184
192
  ":transparent;",
185
193
  ":var(--text-secondary);"
186
- ], tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.textFieldHintIconColor, tokens.dividerColor, tokens.itemIconColor, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderColor)
194
+ ], tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipCloseIconColorHover, tokens.textFieldChipCloseIconColorReadonly, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.textFieldHintIconColor, tokens.dividerColor, tokens.itemIconColor, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderColor)
187
195
  },
188
196
  size: {
189
197
  l: css([
@@ -747,37 +747,43 @@ export var config = {
747
747
  ":var(--inverse-text-primary);",
748
748
  ":var(--surface-solid-default);",
749
749
  ":var(--surface-solid-default-hover);",
750
+ ":var(--inverse-text-secondary);",
751
+ ":var(--inverse-text-secondary);",
750
752
  ":var(--inverse-text-primary);",
751
753
  ":var(--surface-solid-default);",
752
754
  ":var(--inverse-text-primary);",
753
755
  ":var(--surface-solid-default);",
754
756
  ":var(--inverse-text-primary);",
755
757
  ":1;"
756
- ], tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly),
758
+ ], tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipCloseIconColorReadonly, tokens.textFieldChipCloseIconColorHover, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly),
757
759
  secondary: css([
758
760
  "",
759
761
  ":var(--text-primary);",
760
762
  ":var(--surface-transparent-secondary);",
761
763
  ":var(--surface-transparent-secondary-hover);",
762
- ":var(--text-primary);",
764
+ ":var(--text-secondary);",
765
+ ":var(--text-secondary-hover);",
766
+ ":var(--text-secondary);",
763
767
  ":var(--surface-transparent-secondary);",
764
768
  ":var(--text-primary);",
765
769
  ":var(--surface-transparent-secondary);",
766
770
  ":var(--text-primary);",
767
771
  ":1;"
768
- ], tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly),
772
+ ], tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipCloseIconColorHover, tokens.textFieldChipCloseIconColorReadonly, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly),
769
773
  accent: css([
770
774
  "",
771
775
  ":var(--on-dark-text-primary);",
772
776
  ":var(--surface-accent);",
773
777
  ":var(--surface-accent-hover);",
778
+ ":var(--on-dark-text-secondary);",
779
+ ":var(--on-dark-text-secondary);",
774
780
  ":var(--on-dark-text-primary);",
775
781
  ":var(--surface-accent);",
776
782
  ":var(--on-dark-text-primary);",
777
783
  ":var(--surface-accent);",
778
784
  ":var(--on-dark-text-primary);",
779
785
  ":1;"
780
- ], tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly)
786
+ ], tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipCloseIconColorReadonly, tokens.textFieldChipCloseIconColorHover, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly)
781
787
  },
782
788
  hintView: {
783
789
  default: css([
@@ -520,8 +520,10 @@ export var config = {
520
520
  ":var(--surface-solid-default);",
521
521
  ":var(--inverse-text-primary);",
522
522
  ":var(--inverse-text-secondary);",
523
+ ":var(--inverse-text-secondary);",
524
+ ":var(--inverse-text-secondary-hover);",
523
525
  ":1;"
524
- ], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
526
+ ], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipCloseIconColorReadonly, tokens.chipCloseIconColorHover, tokens.chipOpacityReadonly),
525
527
  secondary: css([
526
528
  "",
527
529
  ":var(--text-primary);",
@@ -535,8 +537,10 @@ export var config = {
535
537
  ":var(--surface-transparent-secondary);",
536
538
  ":var(--text-primary);",
537
539
  ":var(--text-secondary);",
540
+ ":var(--text-secondary);",
541
+ ":var(--text-secondary-hover);",
538
542
  ":1;"
539
- ], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
543
+ ], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipCloseIconColorReadonly, tokens.chipCloseIconColorHover, tokens.chipOpacityReadonly),
540
544
  accent: css([
541
545
  "",
542
546
  ":var(--on-dark-text-primary);",
@@ -550,8 +554,10 @@ export var config = {
550
554
  ":var(--surface-accent);",
551
555
  ":var(--on-dark-text-primary);",
552
556
  ":var(--on-dark-text-secondary);",
557
+ ":var(--on-dark-text-secondary);",
558
+ ":var(--on-dark-text-secondary-hover);",
553
559
  ":1;"
554
- ], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
560
+ ], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipCloseIconColorReadonly, tokens.chipCloseIconColorHover, tokens.chipOpacityReadonly),
555
561
  positive: css([
556
562
  "",
557
563
  ":var(--on-dark-text-primary);",
@@ -565,8 +571,10 @@ export var config = {
565
571
  ":var(--surface-positive);",
566
572
  ":var(--on-dark-text-primary);",
567
573
  ":var(--on-dark-text-secondary);",
574
+ ":var(--on-dark-text-secondary);",
575
+ ":var(--on-dark-text-secondary-hover);",
568
576
  ":1;"
569
- ], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
577
+ ], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipCloseIconColorReadonly, tokens.chipCloseIconColorHover, tokens.chipOpacityReadonly),
570
578
  warning: css([
571
579
  "",
572
580
  ":var(--on-dark-text-primary);",
@@ -580,8 +588,10 @@ export var config = {
580
588
  ":var(--surface-warning);",
581
589
  ":var(--on-dark-text-primary);",
582
590
  ":var(--on-dark-text-secondary);",
591
+ ":var(--on-dark-text-secondary);",
592
+ ":var(--on-dark-text-secondary-hover);",
583
593
  ":1;"
584
- ], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
594
+ ], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipCloseIconColorReadonly, tokens.chipCloseIconColorHover, tokens.chipOpacityReadonly),
585
595
  negative: css([
586
596
  "",
587
597
  ":var(--on-dark-text-primary);",
@@ -595,8 +605,10 @@ export var config = {
595
605
  ":var(--surface-negative);",
596
606
  ":var(--on-dark-text-primary);",
597
607
  ":var(--on-dark-text-secondary);",
608
+ ":var(--on-dark-text-secondary);",
609
+ ":var(--on-dark-text-secondary-hover);",
598
610
  ":1;"
599
- ], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly)
611
+ ], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipCloseIconColorReadonly, tokens.chipCloseIconColorHover, tokens.chipOpacityReadonly)
600
612
  },
601
613
  hintView: {
602
614
  default: css([
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAU/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,eAAO,MAAM,QAAQ,SAAU,SAAS,CAAC,iBAAiB,EAAE,SAAS,CAAC,wFAoEhE,CAAC;AAEP,eAAO,MAAM,UAAU;;;mBAtEQ,SAAS,CAAC,iBAAiB,EAAE,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsGrE,CAAC"}
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAU/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,eAAO,MAAM,QAAQ,SAAU,SAAS,CAAC,iBAAiB,EAAE,SAAS,CAAC,wFAyEhE,CAAC;AAEP,eAAO,MAAM,UAAU;;;mBA3EQ,SAAS,CAAC,iBAAiB,EAAE,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2GrE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.styles.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI,0CAUhB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAK7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAE7B,CAAC;AAEF,eAAO,MAAM,kBAAkB;eAA2B,OAAO;EAIhE,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAK9B,CAAC"}
1
+ {"version":3,"file":"Chip.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.styles.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI,0CAUhB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAK7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAE7B,CAAC;AAEF,eAAO,MAAM,kBAAkB;eAA2B,OAAO;EAIhE,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAS9B,CAAC"}
@@ -18,6 +18,7 @@ export declare const tokens: {
18
18
  closeIconColor: string;
19
19
  closeIconColorHover: string;
20
20
  closeIconColorActive: string;
21
+ closeIconColorReadonly: string;
21
22
  leftContentColor: string;
22
23
  borderRadius: string;
23
24
  pilledBorderRadius: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;CAGnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwClB,CAAC"}
1
+ {"version":3,"file":"Chip.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;CAGnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyClB,CAAC"}
@@ -50,7 +50,7 @@ type CustomChipProps = {
50
50
  /**
51
51
  * Коллбек при взаимодействии с элементом
52
52
  * @deprecated
53
- * Использовать onClick для закрытия
53
+ * Использовать onClickClose для закрытия
54
54
  */
55
55
  onClear?: () => void;
56
56
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/variations/_disabled/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAahB,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/variations/_disabled/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAqBhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/variations/_readonly/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAchB,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/variations/_readonly/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAsBhB,CAAC"}
@@ -4,11 +4,11 @@ import type { ComboboxProps } from './Combobox.types';
4
4
  /**
5
5
  * Поле ввода с выпадающим списком и возможностью фильтрации и выбора элементов.
6
6
  */
7
- export declare const comboboxRoot: (Root: RootProps<HTMLInputElement, Omit<ComboboxProps, "items">>) => React.ForwardRefExoticComponent<ComboboxProps & React.RefAttributes<HTMLInputElement>>;
7
+ export declare const comboboxRoot: (Root: RootProps<HTMLInputElement, Omit<ComboboxProps, "items" | "chipClickArea">>) => React.ForwardRefExoticComponent<ComboboxProps & React.RefAttributes<HTMLInputElement>>;
8
8
  export declare const comboboxConfig: {
9
9
  name: string;
10
10
  tag: string;
11
- layout: (Root: RootProps<HTMLInputElement, Omit<ComboboxProps, "items">>) => React.ForwardRefExoticComponent<ComboboxProps & React.RefAttributes<HTMLInputElement>>;
11
+ layout: (Root: RootProps<HTMLInputElement, Omit<ComboboxProps, "items" | "chipClickArea">>) => React.ForwardRefExoticComponent<ComboboxProps & React.RefAttributes<HTMLInputElement>>;
12
12
  base: import("@linaria/core").LinariaClassName;
13
13
  variations: {
14
14
  view: {
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6E,MAAM,OAAO,CAAC;AAIlG,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AA6BxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAOtD;;GAEG;AAEH,eAAO,MAAM,YAAY,SAAU,SAAS,CAAC,gBAAgB,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,2FAwjBtF,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBA1jBQ,SAAS,CAAC,gBAAgB,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;CA+kB3F,CAAC"}
1
+ {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6E,MAAM,OAAO,CAAC;AAIlG,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AA6BxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAOtD;;GAEG;AAEH,eAAO,MAAM,YAAY,SAAU,SAAS,CAAC,gBAAgB,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,GAAG,eAAe,CAAC,CAAC,2FA0jBxG,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBA5jBQ,SAAS,CAAC,gBAAgB,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;CAilB7G,CAAC"}
@@ -181,6 +181,8 @@ export declare const tokens: {
181
181
  textFieldChipBackgroundActive: string;
182
182
  textFieldChipColorActive: string;
183
183
  textFieldChipCloseIconColor: string;
184
+ textFieldChipCloseIconColorHover: string;
185
+ textFieldChipCloseIconColorReadonly: string;
184
186
  textFieldChipOutlineSize: string;
185
187
  textFieldChipWidth: string;
186
188
  textFieldChipPadding: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.tokens.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6Jf,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqG5B,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;CAoBrB,CAAC"}
1
+ {"version":3,"file":"Combobox.tokens.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6Jf,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuG5B,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;CAoBrB,CAAC"}
@@ -13,6 +13,7 @@ export type SelectAllProps = {
13
13
  sticky?: boolean;
14
14
  };
15
15
  export type Placement = 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end';
16
+ type ChipClickArea = 'full' | 'close-icon';
16
17
  type IsMultiselect<T extends ItemOption = ItemOption> = ({
17
18
  name?: never;
18
19
  defaultValue?: never;
@@ -35,6 +36,11 @@ type IsMultiselect<T extends ItemOption = ItemOption> = ({
35
36
  */
36
37
  renderValue?: never;
37
38
  selectAllOptions?: never;
39
+ /**
40
+ * Область, по которой происходит нажатие.
41
+ * @default full
42
+ */
43
+ chipClickArea?: never;
38
44
  } | {
39
45
  multiple: true;
40
46
  value?: string[];
@@ -43,6 +49,7 @@ type IsMultiselect<T extends ItemOption = ItemOption> = ({
43
49
  targetAmount?: number;
44
50
  renderValue?: (item: T) => string;
45
51
  selectAllOptions?: SelectAllProps;
52
+ chipClickArea?: ChipClickArea;
46
53
  })) | ({
47
54
  name: string;
48
55
  onChange?: ChangeEventHandler;
@@ -54,6 +61,7 @@ type IsMultiselect<T extends ItemOption = ItemOption> = ({
54
61
  targetAmount?: never;
55
62
  renderValue?: never;
56
63
  selectAllOptions?: never;
64
+ chipClickArea?: never;
57
65
  } | {
58
66
  multiple: true;
59
67
  defaultValue?: string[];
@@ -62,6 +70,7 @@ type IsMultiselect<T extends ItemOption = ItemOption> = ({
62
70
  targetAmount?: number;
63
71
  renderValue?: (item: T) => string;
64
72
  selectAllOptions?: SelectAllProps;
73
+ chipClickArea?: ChipClickArea;
65
74
  }));
66
75
  type ViewStateProps = {
67
76
  /**