@salutejs/plasma-new-hope 0.192.0-canary.1539.11802074105.0 → 0.192.0-canary.1550.11801015277.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (716) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +21 -22
  2. package/cjs/components/Cell/Cell.js +3 -1
  3. package/cjs/components/Cell/Cell.js.map +1 -1
  4. package/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +7 -1
  5. package/cjs/components/Cell/ui/CellTextbox/CellTextbox.js.map +1 -1
  6. package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +4 -1
  7. package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js.map +1 -1
  8. package/cjs/components/Chip/Chip.js +3 -1
  9. package/cjs/components/Chip/Chip.js.map +1 -1
  10. package/cjs/components/Combobox/ComboboxNew/Combobox.css +21 -22
  11. package/cjs/components/Combobox/ComboboxNew/Combobox.js +0 -1
  12. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  13. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  14. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  15. package/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +18 -4
  16. package/cjs/components/Combobox/ComboboxNew/FloatingPopover.js.map +1 -1
  17. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  18. package/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +1 -50
  19. package/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js.map +1 -1
  20. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +21 -22
  21. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +21 -22
  22. package/cjs/components/DatePicker/RangeDate/RangeDate.css +21 -22
  23. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +21 -22
  24. package/cjs/components/DatePicker/SingleDate/SingleDate.css +21 -22
  25. package/cjs/components/Dropdown/FloatingPopover.js.map +1 -1
  26. package/cjs/components/Pagination/Pagination.css +86 -37
  27. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +86 -37
  28. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  29. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  30. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_10zfeps.css +3 -0
  31. package/cjs/components/Range/Range.css +21 -22
  32. package/cjs/components/Select/FloatingPopover.js +87 -0
  33. package/cjs/components/Select/FloatingPopover.js.map +1 -0
  34. package/cjs/components/Select/Select.css +83 -34
  35. package/cjs/components/Select/Select.js +179 -139
  36. package/cjs/components/Select/Select.js.map +1 -1
  37. package/cjs/components/Select/Select.styles.js +17 -50
  38. package/cjs/components/Select/Select.styles.js.map +1 -1
  39. package/cjs/components/Select/Select.styles_1p5c9p3.css +2 -0
  40. package/cjs/components/Select/Select.tokens.js +122 -78
  41. package/cjs/components/Select/Select.tokens.js.map +1 -1
  42. package/cjs/components/Select/hooks/useKeyboardNavigation.js +19 -72
  43. package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  44. package/cjs/components/Select/hooks/usePathMaps.js +4 -1
  45. package/cjs/components/Select/hooks/usePathMaps.js.map +1 -1
  46. package/cjs/components/Select/ui/Inner/Inner.css +83 -34
  47. package/cjs/components/Select/ui/Inner/Inner.js +9 -9
  48. package/cjs/components/Select/ui/Inner/Inner.js.map +1 -1
  49. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +83 -34
  50. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +20 -12
  51. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  52. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +34 -51
  53. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  54. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles_1x4bzlm.css +9 -0
  55. package/cjs/components/Select/ui/Target/Target.css +58 -17
  56. package/cjs/components/Select/ui/Target/Target.js +34 -16
  57. package/cjs/components/Select/ui/Target/Target.js.map +1 -1
  58. package/cjs/components/Select/ui/Target/ui/Button/Button.css +5 -5
  59. package/cjs/components/Select/ui/Target/ui/Button/Button.js +10 -14
  60. package/cjs/components/Select/ui/Target/ui/Button/Button.js.map +1 -1
  61. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +1 -1
  62. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  63. package/cjs/components/Select/ui/Target/ui/Button/Button.styles_10g64me.css +5 -0
  64. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +53 -38
  65. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +84 -97
  66. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  67. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +38 -103
  68. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  69. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_q4kc1p.css +3 -0
  70. package/cjs/components/Select/utils/getButtonLabel.js +1 -1
  71. package/cjs/components/Select/utils/getButtonLabel.js.map +1 -1
  72. package/cjs/components/Select/utils/getFallbackPlacements.js +15 -0
  73. package/cjs/components/Select/utils/getFallbackPlacements.js.map +1 -0
  74. package/cjs/components/Select/utils/getItemId.js +10 -0
  75. package/cjs/components/Select/utils/getItemId.js.map +1 -0
  76. package/cjs/components/Select/utils/getPlacement.js +13 -0
  77. package/cjs/components/Select/utils/getPlacement.js.map +1 -0
  78. package/cjs/components/Select/utils/getView.js +2 -2
  79. package/cjs/components/Select/utils/getView.js.map +1 -1
  80. package/cjs/components/Slider/Slider.css +21 -22
  81. package/cjs/components/Slider/components/Double/Double.css +21 -22
  82. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +21 -22
  83. package/cjs/components/Switch/Switch.css +7 -11
  84. package/cjs/components/Switch/Switch.js +7 -16
  85. package/cjs/components/Switch/Switch.js.map +1 -1
  86. package/cjs/components/Switch/Switch.styles.js +4 -16
  87. package/cjs/components/Switch/Switch.styles.js.map +1 -1
  88. package/cjs/components/Switch/Switch.styles_1kk0qzz.css +4 -0
  89. package/cjs/components/Switch/Switch.tokens.js +0 -11
  90. package/cjs/components/Switch/Switch.tokens.js.map +1 -1
  91. package/cjs/components/Switch/_focused/base.js +1 -1
  92. package/cjs/components/Switch/_focused/{base_sz3n0x.css → base_j4murk.css} +1 -1
  93. package/cjs/components/Switch/_size/base.js +1 -1
  94. package/cjs/components/Switch/_size/base.js.map +1 -1
  95. package/cjs/components/Switch/_size/base_1rjzpi4.css +1 -0
  96. package/cjs/components/Switch/_view/base.js +1 -1
  97. package/cjs/components/Switch/_view/base.js.map +1 -1
  98. package/cjs/components/Switch/_view/base_1mtyz12.css +1 -0
  99. package/cjs/components/TextField/TextField.js +11 -2
  100. package/cjs/components/TextField/TextField.js.map +1 -1
  101. package/cjs/components/TextField/TextField.styles.js +14 -22
  102. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  103. package/{es/components/TextField/TextField.styles_grgg7q.css → cjs/components/TextField/TextField.styles_j7dqpn.css} +6 -7
  104. package/cjs/components/TextField/TextField.tokens.js +2 -1
  105. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  106. package/cjs/components/TextField/ui/Hint/Hint.css +20 -21
  107. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +7 -1
  108. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  109. package/cjs/components/TextField/variations/_clear/base.js +1 -1
  110. package/cjs/components/TextField/variations/_clear/{base_1i91sjp.css → base_1396md2.css} +1 -1
  111. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  112. package/cjs/components/TextField/variations/_label-placement/base_gttvto.css +1 -0
  113. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  114. package/cjs/components/TextField/variations/_read-only/{base_17ypmu7.css → base_1jvcf9a.css} +1 -1
  115. package/cjs/components/TextField/variations/_size/base.js +1 -1
  116. package/cjs/components/TextField/variations/_size/{base_1xdmaqh.css → base_1tei47x.css} +1 -1
  117. package/cjs/components/TextField/variations/_view/base.js +1 -1
  118. package/cjs/components/TextField/variations/_view/{base_qhyte8.css → base_8ogww5.css} +1 -1
  119. package/cjs/index.css +53 -72
  120. package/cjs/index.js +2 -0
  121. package/cjs/index.js.map +1 -1
  122. package/cjs/utils/fixedForwardRef.js +12 -0
  123. package/cjs/utils/fixedForwardRef.js.map +1 -0
  124. package/cjs/utils/index.js.map +1 -1
  125. package/emotion/cjs/components/Cell/Cell.js +3 -1
  126. package/emotion/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +7 -1
  127. package/emotion/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +4 -1
  128. package/emotion/cjs/components/Chip/Chip.js +3 -1
  129. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +0 -1
  130. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  131. package/emotion/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +19 -5
  132. package/emotion/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +1 -50
  133. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  134. package/emotion/cjs/components/Select/FloatingPopover.js +91 -0
  135. package/emotion/cjs/components/Select/Select.js +177 -136
  136. package/emotion/cjs/components/Select/Select.styles.js +13 -31
  137. package/emotion/cjs/components/Select/Select.tokens.js +125 -60
  138. package/emotion/cjs/components/Select/hooks/useKeyboardNavigation.js +19 -73
  139. package/emotion/cjs/components/Select/hooks/usePathMaps.js +4 -1
  140. package/emotion/cjs/components/Select/reducers/index.js +0 -11
  141. package/emotion/cjs/components/Select/ui/Inner/Inner.js +9 -9
  142. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.js +19 -12
  143. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +27 -50
  144. package/emotion/cjs/components/Select/ui/Target/Target.js +38 -18
  145. package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.js +13 -16
  146. package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +6 -6
  147. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +88 -99
  148. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +27 -74
  149. package/emotion/cjs/components/Select/utils/getButtonLabel.js +1 -1
  150. package/emotion/cjs/components/Select/utils/getFallbackPlacements.js +14 -0
  151. package/emotion/cjs/components/Select/utils/getItemId.js +9 -0
  152. package/emotion/cjs/components/Select/utils/getPlacement.js +12 -0
  153. package/emotion/cjs/components/Select/utils/getView.js +2 -2
  154. package/emotion/cjs/components/Select/utils/index.js +22 -1
  155. package/emotion/cjs/components/Switch/Switch.js +8 -17
  156. package/emotion/cjs/components/Switch/Switch.styles.js +5 -21
  157. package/emotion/cjs/components/Switch/Switch.template-doc.mdx +1 -37
  158. package/emotion/cjs/components/Switch/Switch.tokens.js +0 -11
  159. package/emotion/cjs/components/Switch/_size/base.js +1 -1
  160. package/emotion/cjs/components/Switch/_view/base.js +1 -1
  161. package/emotion/cjs/components/TextField/TextField.js +12 -3
  162. package/emotion/cjs/components/TextField/TextField.styles.js +36 -40
  163. package/emotion/cjs/components/TextField/TextField.tokens.js +2 -1
  164. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +7 -1
  165. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  166. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +28 -20
  167. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +47 -40
  168. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +4 -11
  169. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -7
  170. package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +28 -20
  171. package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +47 -40
  172. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.config.js +4 -11
  173. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -14
  174. package/emotion/cjs/index.js +11 -0
  175. package/emotion/cjs/types/DistributiveOmit.js +5 -0
  176. package/emotion/cjs/types/DistributivePick.js +5 -0
  177. package/emotion/cjs/utils/fixedForwardRef.js +11 -0
  178. package/emotion/cjs/utils/index.js +9 -1
  179. package/emotion/es/components/Cell/Cell.js +3 -1
  180. package/emotion/es/components/Cell/ui/CellTextbox/CellTextbox.js +7 -1
  181. package/emotion/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +4 -1
  182. package/emotion/es/components/Chip/Chip.js +3 -1
  183. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +0 -1
  184. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  185. package/emotion/es/components/Combobox/ComboboxNew/FloatingPopover.js +18 -4
  186. package/emotion/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +1 -50
  187. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  188. package/emotion/es/components/Select/FloatingPopover.js +84 -0
  189. package/emotion/es/components/Select/Select.js +182 -141
  190. package/emotion/es/components/Select/Select.styles.js +12 -30
  191. package/emotion/es/components/Select/Select.tokens.js +125 -60
  192. package/emotion/es/components/Select/hooks/useKeyboardNavigation.js +18 -72
  193. package/emotion/es/components/Select/hooks/usePathMaps.js +4 -1
  194. package/emotion/es/components/Select/reducers/index.js +1 -2
  195. package/emotion/es/components/Select/ui/Inner/Inner.js +10 -10
  196. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.js +22 -15
  197. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.styles.js +26 -49
  198. package/emotion/es/components/Select/ui/Target/Target.js +35 -17
  199. package/emotion/es/components/Select/ui/Target/ui/Button/Button.js +11 -16
  200. package/emotion/es/components/Select/ui/Target/ui/Button/Button.styles.js +6 -6
  201. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +86 -99
  202. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +27 -74
  203. package/emotion/es/components/Select/utils/getButtonLabel.js +1 -1
  204. package/emotion/es/components/Select/utils/getFallbackPlacements.js +8 -0
  205. package/emotion/es/components/Select/utils/getItemId.js +3 -0
  206. package/emotion/es/components/Select/utils/getPlacement.js +6 -0
  207. package/emotion/es/components/Select/utils/getView.js +2 -2
  208. package/emotion/es/components/Select/utils/index.js +4 -1
  209. package/emotion/es/components/Switch/Switch.js +4 -13
  210. package/emotion/es/components/Switch/Switch.styles.js +4 -20
  211. package/emotion/es/components/Switch/Switch.template-doc.mdx +1 -37
  212. package/emotion/es/components/Switch/Switch.tokens.js +0 -11
  213. package/emotion/es/components/Switch/_size/base.js +2 -2
  214. package/emotion/es/components/Switch/_view/base.js +2 -2
  215. package/emotion/es/components/TextField/TextField.js +12 -3
  216. package/emotion/es/components/TextField/TextField.styles.js +36 -40
  217. package/emotion/es/components/TextField/TextField.tokens.js +2 -1
  218. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +7 -1
  219. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  220. package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +29 -21
  221. package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +47 -40
  222. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.config.js +4 -11
  223. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -7
  224. package/emotion/es/examples/plasma_web/components/Select/Select.config.js +29 -21
  225. package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +47 -40
  226. package/emotion/es/examples/plasma_web/components/Switch/Switch.config.js +4 -11
  227. package/emotion/es/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -14
  228. package/emotion/es/index.js +1 -0
  229. package/emotion/es/types/DistributiveOmit.js +1 -0
  230. package/emotion/es/types/DistributivePick.js +1 -0
  231. package/emotion/es/utils/fixedForwardRef.js +4 -0
  232. package/emotion/es/utils/index.js +2 -1
  233. package/es/components/Autocomplete/Autocomplete.css +21 -22
  234. package/es/components/Cell/Cell.js +3 -1
  235. package/es/components/Cell/Cell.js.map +1 -1
  236. package/es/components/Cell/ui/CellTextbox/CellTextbox.js +7 -1
  237. package/es/components/Cell/ui/CellTextbox/CellTextbox.js.map +1 -1
  238. package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +4 -1
  239. package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js.map +1 -1
  240. package/es/components/Chip/Chip.js +3 -1
  241. package/es/components/Chip/Chip.js.map +1 -1
  242. package/es/components/Combobox/ComboboxNew/Combobox.css +21 -22
  243. package/es/components/Combobox/ComboboxNew/Combobox.js +0 -1
  244. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  245. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  246. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  247. package/es/components/Combobox/ComboboxNew/FloatingPopover.js +18 -4
  248. package/es/components/Combobox/ComboboxNew/FloatingPopover.js.map +1 -1
  249. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  250. package/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +1 -50
  251. package/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js.map +1 -1
  252. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +21 -22
  253. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +21 -22
  254. package/es/components/DatePicker/RangeDate/RangeDate.css +21 -22
  255. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +21 -22
  256. package/es/components/DatePicker/SingleDate/SingleDate.css +21 -22
  257. package/es/components/Dropdown/FloatingPopover.js.map +1 -1
  258. package/es/components/Pagination/Pagination.css +86 -37
  259. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +86 -37
  260. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  261. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  262. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_10zfeps.css +3 -0
  263. package/es/components/Range/Range.css +21 -22
  264. package/es/components/Select/FloatingPopover.js +83 -0
  265. package/es/components/Select/FloatingPopover.js.map +1 -0
  266. package/es/components/Select/Select.css +83 -34
  267. package/es/components/Select/Select.js +182 -142
  268. package/es/components/Select/Select.js.map +1 -1
  269. package/es/components/Select/Select.styles.js +18 -48
  270. package/es/components/Select/Select.styles.js.map +1 -1
  271. package/es/components/Select/Select.styles_1p5c9p3.css +2 -0
  272. package/es/components/Select/Select.tokens.js +123 -78
  273. package/es/components/Select/Select.tokens.js.map +1 -1
  274. package/es/components/Select/hooks/useKeyboardNavigation.js +19 -73
  275. package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  276. package/es/components/Select/hooks/usePathMaps.js +4 -1
  277. package/es/components/Select/hooks/usePathMaps.js.map +1 -1
  278. package/es/components/Select/ui/Inner/Inner.css +83 -34
  279. package/es/components/Select/ui/Inner/Inner.js +10 -10
  280. package/es/components/Select/ui/Inner/Inner.js.map +1 -1
  281. package/es/components/Select/ui/Inner/ui/Item/Item.css +83 -34
  282. package/es/components/Select/ui/Inner/ui/Item/Item.js +22 -14
  283. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  284. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +33 -50
  285. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  286. package/es/components/Select/ui/Inner/ui/Item/Item.styles_1x4bzlm.css +9 -0
  287. package/es/components/Select/ui/Target/Target.css +58 -17
  288. package/es/components/Select/ui/Target/Target.js +35 -17
  289. package/es/components/Select/ui/Target/Target.js.map +1 -1
  290. package/es/components/Select/ui/Target/ui/Button/Button.css +5 -5
  291. package/es/components/Select/ui/Target/ui/Button/Button.js +11 -15
  292. package/es/components/Select/ui/Target/ui/Button/Button.js.map +1 -1
  293. package/es/components/Select/ui/Target/ui/Button/Button.styles.js +1 -1
  294. package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  295. package/es/components/Select/ui/Target/ui/Button/Button.styles_10g64me.css +5 -0
  296. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +53 -38
  297. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +86 -99
  298. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  299. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +39 -95
  300. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  301. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_q4kc1p.css +3 -0
  302. package/es/components/Select/utils/getButtonLabel.js +1 -1
  303. package/es/components/Select/utils/getButtonLabel.js.map +1 -1
  304. package/es/components/Select/utils/getFallbackPlacements.js +11 -0
  305. package/es/components/Select/utils/getFallbackPlacements.js.map +1 -0
  306. package/es/components/Select/utils/getItemId.js +6 -0
  307. package/es/components/Select/utils/getItemId.js.map +1 -0
  308. package/es/components/Select/utils/getPlacement.js +9 -0
  309. package/es/components/Select/utils/getPlacement.js.map +1 -0
  310. package/es/components/Select/utils/getView.js +2 -2
  311. package/es/components/Select/utils/getView.js.map +1 -1
  312. package/es/components/Slider/Slider.css +21 -22
  313. package/es/components/Slider/components/Double/Double.css +21 -22
  314. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +21 -22
  315. package/es/components/Switch/Switch.css +7 -11
  316. package/es/components/Switch/Switch.js +8 -17
  317. package/es/components/Switch/Switch.js.map +1 -1
  318. package/es/components/Switch/Switch.styles.js +5 -15
  319. package/es/components/Switch/Switch.styles.js.map +1 -1
  320. package/es/components/Switch/Switch.styles_1kk0qzz.css +4 -0
  321. package/es/components/Switch/Switch.tokens.js +0 -11
  322. package/es/components/Switch/Switch.tokens.js.map +1 -1
  323. package/es/components/Switch/_focused/base.js +1 -1
  324. package/es/components/Switch/_focused/{base_sz3n0x.css → base_j4murk.css} +1 -1
  325. package/es/components/Switch/_size/base.js +1 -1
  326. package/es/components/Switch/_size/base.js.map +1 -1
  327. package/es/components/Switch/_size/base_1rjzpi4.css +1 -0
  328. package/es/components/Switch/_view/base.js +1 -1
  329. package/es/components/Switch/_view/base.js.map +1 -1
  330. package/es/components/Switch/_view/base_1mtyz12.css +1 -0
  331. package/es/components/TextField/TextField.js +11 -2
  332. package/es/components/TextField/TextField.js.map +1 -1
  333. package/es/components/TextField/TextField.styles.js +14 -22
  334. package/es/components/TextField/TextField.styles.js.map +1 -1
  335. package/{cjs/components/TextField/TextField.styles_grgg7q.css → es/components/TextField/TextField.styles_j7dqpn.css} +6 -7
  336. package/es/components/TextField/TextField.tokens.js +2 -1
  337. package/es/components/TextField/TextField.tokens.js.map +1 -1
  338. package/es/components/TextField/ui/Hint/Hint.css +20 -21
  339. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +7 -1
  340. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  341. package/es/components/TextField/variations/_clear/base.js +1 -1
  342. package/es/components/TextField/variations/_clear/{base_1i91sjp.css → base_1396md2.css} +1 -1
  343. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  344. package/es/components/TextField/variations/_label-placement/base_gttvto.css +1 -0
  345. package/es/components/TextField/variations/_read-only/base.js +1 -1
  346. package/es/components/TextField/variations/_read-only/{base_17ypmu7.css → base_1jvcf9a.css} +1 -1
  347. package/es/components/TextField/variations/_size/base.js +1 -1
  348. package/es/components/TextField/variations/_size/{base_1xdmaqh.css → base_1tei47x.css} +1 -1
  349. package/es/components/TextField/variations/_view/base.js +1 -1
  350. package/es/components/TextField/variations/_view/{base_qhyte8.css → base_8ogww5.css} +1 -1
  351. package/es/index.css +53 -72
  352. package/es/index.js +1 -0
  353. package/es/index.js.map +1 -1
  354. package/es/utils/fixedForwardRef.js +8 -0
  355. package/es/utils/fixedForwardRef.js.map +1 -0
  356. package/es/utils/index.js.map +1 -1
  357. package/package.json +2 -2
  358. package/styled-components/cjs/components/Cell/Cell.js +3 -1
  359. package/styled-components/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +7 -1
  360. package/styled-components/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +4 -1
  361. package/styled-components/cjs/components/Chip/Chip.js +3 -1
  362. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +0 -1
  363. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  364. package/styled-components/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +19 -5
  365. package/styled-components/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +1 -50
  366. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  367. package/styled-components/cjs/components/Select/FloatingPopover.js +91 -0
  368. package/styled-components/cjs/components/Select/Select.js +177 -136
  369. package/styled-components/cjs/components/Select/Select.styles.js +12 -27
  370. package/styled-components/cjs/components/Select/Select.tokens.js +125 -60
  371. package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +19 -73
  372. package/styled-components/cjs/components/Select/hooks/usePathMaps.js +4 -1
  373. package/styled-components/cjs/components/Select/reducers/index.js +0 -11
  374. package/styled-components/cjs/components/Select/ui/Inner/Inner.js +9 -9
  375. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.js +19 -12
  376. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +20 -26
  377. package/styled-components/cjs/components/Select/ui/Target/Target.js +38 -18
  378. package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.js +13 -16
  379. package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +3 -3
  380. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +88 -99
  381. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +23 -61
  382. package/styled-components/cjs/components/Select/utils/getButtonLabel.js +1 -1
  383. package/styled-components/cjs/components/Select/utils/getFallbackPlacements.js +14 -0
  384. package/styled-components/cjs/components/Select/utils/getItemId.js +9 -0
  385. package/styled-components/cjs/components/Select/utils/getPlacement.js +12 -0
  386. package/styled-components/cjs/components/Select/utils/getView.js +2 -2
  387. package/styled-components/cjs/components/Select/utils/index.js +22 -1
  388. package/styled-components/cjs/components/Switch/Switch.js +8 -17
  389. package/styled-components/cjs/components/Switch/Switch.styles.js +5 -11
  390. package/styled-components/cjs/components/Switch/Switch.template-doc.mdx +1 -37
  391. package/styled-components/cjs/components/Switch/Switch.tokens.js +0 -11
  392. package/styled-components/cjs/components/Switch/_size/base.js +1 -1
  393. package/styled-components/cjs/components/Switch/_view/base.js +1 -1
  394. package/styled-components/cjs/components/TextField/TextField.js +11 -2
  395. package/styled-components/cjs/components/TextField/TextField.styles.js +12 -15
  396. package/styled-components/cjs/components/TextField/TextField.tokens.js +2 -1
  397. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +7 -1
  398. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +1 -1
  399. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +28 -20
  400. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +47 -40
  401. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +2 -9
  402. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -7
  403. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +28 -20
  404. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +47 -40
  405. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.config.js +2 -9
  406. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -14
  407. package/styled-components/cjs/index.js +11 -0
  408. package/styled-components/cjs/types/DistributiveOmit.js +5 -0
  409. package/styled-components/cjs/types/DistributivePick.js +5 -0
  410. package/styled-components/cjs/utils/fixedForwardRef.js +11 -0
  411. package/styled-components/cjs/utils/index.js +9 -1
  412. package/styled-components/es/components/Cell/Cell.js +3 -1
  413. package/styled-components/es/components/Cell/ui/CellTextbox/CellTextbox.js +7 -1
  414. package/styled-components/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +4 -1
  415. package/styled-components/es/components/Chip/Chip.js +3 -1
  416. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +0 -1
  417. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  418. package/styled-components/es/components/Combobox/ComboboxNew/FloatingPopover.js +18 -4
  419. package/styled-components/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +1 -50
  420. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  421. package/styled-components/es/components/Select/FloatingPopover.js +84 -0
  422. package/styled-components/es/components/Select/Select.js +182 -141
  423. package/styled-components/es/components/Select/Select.styles.js +11 -26
  424. package/styled-components/es/components/Select/Select.tokens.js +125 -60
  425. package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +18 -72
  426. package/styled-components/es/components/Select/hooks/usePathMaps.js +4 -1
  427. package/styled-components/es/components/Select/reducers/index.js +1 -2
  428. package/styled-components/es/components/Select/ui/Inner/Inner.js +10 -10
  429. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.js +22 -15
  430. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.styles.js +19 -25
  431. package/styled-components/es/components/Select/ui/Target/Target.js +35 -17
  432. package/styled-components/es/components/Select/ui/Target/ui/Button/Button.js +11 -16
  433. package/styled-components/es/components/Select/ui/Target/ui/Button/Button.styles.js +3 -3
  434. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +86 -99
  435. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +23 -61
  436. package/styled-components/es/components/Select/utils/getButtonLabel.js +1 -1
  437. package/styled-components/es/components/Select/utils/getFallbackPlacements.js +8 -0
  438. package/styled-components/es/components/Select/utils/getItemId.js +3 -0
  439. package/styled-components/es/components/Select/utils/getPlacement.js +6 -0
  440. package/styled-components/es/components/Select/utils/getView.js +2 -2
  441. package/styled-components/es/components/Select/utils/index.js +4 -1
  442. package/styled-components/es/components/Switch/Switch.js +4 -13
  443. package/styled-components/es/components/Switch/Switch.styles.js +4 -10
  444. package/styled-components/es/components/Switch/Switch.template-doc.mdx +1 -37
  445. package/styled-components/es/components/Switch/Switch.tokens.js +0 -11
  446. package/styled-components/es/components/Switch/_size/base.js +2 -2
  447. package/styled-components/es/components/Switch/_view/base.js +2 -2
  448. package/styled-components/es/components/TextField/TextField.js +11 -2
  449. package/styled-components/es/components/TextField/TextField.styles.js +12 -15
  450. package/styled-components/es/components/TextField/TextField.tokens.js +2 -1
  451. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +7 -1
  452. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +1 -1
  453. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +29 -21
  454. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +47 -40
  455. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.config.js +2 -9
  456. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -7
  457. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +29 -21
  458. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +47 -40
  459. package/styled-components/es/examples/plasma_web/components/Switch/Switch.config.js +2 -9
  460. package/styled-components/es/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -14
  461. package/styled-components/es/index.js +1 -0
  462. package/styled-components/es/types/DistributiveOmit.js +1 -0
  463. package/styled-components/es/types/DistributivePick.js +1 -0
  464. package/styled-components/es/utils/fixedForwardRef.js +4 -0
  465. package/styled-components/es/utils/index.js +2 -1
  466. package/types/components/Attach/ui/Button/Button.styles.d.ts +2 -2
  467. package/types/components/Attach/ui/IconButton/IconButton.styles.d.ts +4 -4
  468. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +16 -16
  469. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  470. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +2 -2
  471. package/types/components/Cell/Cell.d.ts.map +1 -1
  472. package/types/components/Cell/ui/CellTextbox/CellTextbox.d.ts.map +1 -1
  473. package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.d.ts.map +1 -1
  474. package/types/components/Chip/Chip.d.ts.map +1 -1
  475. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  476. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +0 -1
  477. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  478. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +1 -1
  479. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  480. package/types/components/Combobox/ComboboxNew/FloatingPopover.d.ts.map +1 -1
  481. package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts +1 -3
  482. package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts.map +1 -1
  483. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +16 -16
  484. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  485. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +16 -16
  486. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  487. package/types/components/EmptyState/EmptyState.styles.d.ts +2 -2
  488. package/types/components/Notification/Notification.styles.d.ts +2 -2
  489. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +2 -2
  490. package/types/components/Pagination/Pagination.styles.d.ts +4 -4
  491. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +40 -40
  492. package/types/components/Panel/ui/PanelHeader/PanelHeader.styles.d.ts +2 -2
  493. package/types/components/Range/Range.styles.d.ts +16 -16
  494. package/types/components/Range/Range.styles.d.ts.map +1 -1
  495. package/types/components/Select/FloatingPopover.d.ts +5 -0
  496. package/types/components/Select/FloatingPopover.d.ts.map +1 -0
  497. package/types/components/Select/Select.d.ts +5 -11
  498. package/types/components/Select/Select.d.ts.map +1 -1
  499. package/types/components/Select/Select.styles.d.ts +0 -9
  500. package/types/components/Select/Select.styles.d.ts.map +1 -1
  501. package/types/components/Select/Select.tokens.d.ts +121 -58
  502. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  503. package/types/components/Select/Select.types.d.ts +41 -20
  504. package/types/components/Select/Select.types.d.ts.map +1 -1
  505. package/types/components/Select/hooks/useKeyboardNavigation.d.ts +5 -11
  506. package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -1
  507. package/types/components/Select/hooks/usePathMaps.d.ts +2 -1
  508. package/types/components/Select/hooks/usePathMaps.d.ts.map +1 -1
  509. package/types/components/Select/index.d.ts +1 -1
  510. package/types/components/Select/index.d.ts.map +1 -1
  511. package/types/components/Select/reducers/index.d.ts +0 -1
  512. package/types/components/Select/reducers/index.d.ts.map +1 -1
  513. package/types/components/Select/ui/Inner/Inner.d.ts.map +1 -1
  514. package/types/components/Select/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  515. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts +32 -2
  516. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
  517. package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts +9 -0
  518. package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts.map +1 -1
  519. package/types/components/Select/ui/Target/Target.d.ts +14 -2
  520. package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
  521. package/types/components/Select/ui/Target/Target.types.d.ts +10 -9
  522. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  523. package/types/components/Select/ui/Target/ui/Button/Button.d.ts +1 -1
  524. package/types/components/Select/ui/Target/ui/Button/Button.d.ts.map +1 -1
  525. package/types/components/Select/ui/Target/ui/Button/Button.styles.d.ts +2 -2
  526. package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts +1 -1
  527. package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts.map +1 -1
  528. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts +1 -1
  529. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  530. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +628 -60
  531. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  532. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -4
  533. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  534. package/types/components/Select/utils/getFallbackPlacements.d.ts +4 -0
  535. package/types/components/Select/utils/getFallbackPlacements.d.ts.map +1 -0
  536. package/types/components/Select/utils/getItemId.d.ts +2 -0
  537. package/types/components/Select/utils/getItemId.d.ts.map +1 -0
  538. package/types/components/Select/utils/getPlacement.d.ts +4 -0
  539. package/types/components/Select/utils/getPlacement.d.ts.map +1 -0
  540. package/types/components/Select/utils/getView.d.ts +1 -1
  541. package/types/components/Select/utils/getView.d.ts.map +1 -1
  542. package/types/components/Select/utils/index.d.ts +3 -0
  543. package/types/components/Select/utils/index.d.ts.map +1 -1
  544. package/types/components/Slider/components/Double/Double.styles.d.ts +16 -16
  545. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  546. package/types/components/Switch/Switch.d.ts +0 -3
  547. package/types/components/Switch/Switch.d.ts.map +1 -1
  548. package/types/components/Switch/Switch.styles.d.ts +0 -2
  549. package/types/components/Switch/Switch.styles.d.ts.map +1 -1
  550. package/types/components/Switch/Switch.tokens.d.ts +0 -9
  551. package/types/components/Switch/Switch.tokens.d.ts.map +1 -1
  552. package/types/components/Switch/Switch.types.d.ts +2 -10
  553. package/types/components/Switch/Switch.types.d.ts.map +1 -1
  554. package/types/components/Switch/_size/base.d.ts.map +1 -1
  555. package/types/components/Switch/_view/base.d.ts.map +1 -1
  556. package/types/components/TextField/TextField.d.ts.map +1 -1
  557. package/types/components/TextField/TextField.styles.d.ts +1 -3
  558. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  559. package/types/components/TextField/TextField.tokens.d.ts +1 -0
  560. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  561. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts +3 -1
  562. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
  563. package/types/components/Toast/Toast.styles.d.ts +2 -2
  564. package/types/components/Toast/utils.d.ts +2 -2
  565. package/types/examples/plasma_b2c/components/Attach/Attach.d.ts +8 -8
  566. package/types/examples/plasma_b2c/components/Button/Button.d.ts +2 -2
  567. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +24 -24
  568. package/types/examples/plasma_b2c/components/IconButton/IconButton.d.ts +2 -2
  569. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +16 -16
  570. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
  571. package/types/examples/plasma_b2c/components/Radiobox/Radiobox.d.ts +1 -1
  572. package/types/examples/plasma_b2c/components/Radiobox/Radiobox.d.ts.map +1 -1
  573. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts +15 -7
  574. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
  575. package/types/examples/plasma_b2c/components/Select/Select.d.ts +53 -46
  576. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  577. package/types/examples/plasma_b2c/components/Switch/Switch.config.d.ts +0 -7
  578. package/types/examples/plasma_b2c/components/Switch/Switch.config.d.ts.map +1 -1
  579. package/types/examples/plasma_b2c/components/Switch/Switch.d.ts +0 -6
  580. package/types/examples/plasma_b2c/components/Switch/Switch.d.ts.map +1 -1
  581. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +16 -16
  582. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +16 -16
  583. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  584. package/types/examples/plasma_web/components/Attach/Attach.d.ts +8 -8
  585. package/types/examples/plasma_web/components/Button/Button.d.ts +2 -2
  586. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +24 -24
  587. package/types/examples/plasma_web/components/IconButton/IconButton.d.ts +2 -2
  588. package/types/examples/plasma_web/components/Mask/Mask.d.ts +16 -16
  589. package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
  590. package/types/examples/plasma_web/components/Radiobox/Radiobox.d.ts +1 -1
  591. package/types/examples/plasma_web/components/Radiobox/Radiobox.d.ts.map +1 -1
  592. package/types/examples/plasma_web/components/Select/Select.config.d.ts +15 -7
  593. package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
  594. package/types/examples/plasma_web/components/Select/Select.d.ts +53 -46
  595. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
  596. package/types/examples/plasma_web/components/Switch/Switch.config.d.ts +0 -7
  597. package/types/examples/plasma_web/components/Switch/Switch.config.d.ts.map +1 -1
  598. package/types/examples/plasma_web/components/Switch/Switch.d.ts +0 -6
  599. package/types/examples/plasma_web/components/Switch/Switch.d.ts.map +1 -1
  600. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +16 -16
  601. package/types/examples/plasma_web/components/TextField/TextField.d.ts +16 -16
  602. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  603. package/types/index.d.ts +1 -0
  604. package/types/index.d.ts.map +1 -1
  605. package/types/types/DistributiveOmit.d.ts +2 -0
  606. package/types/types/DistributiveOmit.d.ts.map +1 -0
  607. package/types/types/DistributivePick.d.ts +2 -0
  608. package/types/types/DistributivePick.d.ts.map +1 -0
  609. package/types/types/index.d.ts +2 -0
  610. package/types/types/index.d.ts.map +1 -1
  611. package/types/utils/fixedForwardRef.d.ts +3 -0
  612. package/types/utils/fixedForwardRef.d.ts.map +1 -0
  613. package/types/utils/index.d.ts +1 -0
  614. package/types/utils/index.d.ts.map +1 -1
  615. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_1fesyfv.css +0 -3
  616. package/cjs/components/Select/Select.styles_768h42.css +0 -5
  617. package/cjs/components/Select/reducers/focusedChipIndexReducer.js +0 -39
  618. package/cjs/components/Select/reducers/focusedChipIndexReducer.js.map +0 -1
  619. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles_8oe5oy.css +0 -9
  620. package/cjs/components/Select/ui/Target/ui/Button/Button.styles_lxxm4p.css +0 -5
  621. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_1damf5p.css +0 -12
  622. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.css +0 -21
  623. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +0 -36
  624. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +0 -1
  625. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +0 -22
  626. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +0 -1
  627. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +0 -1
  628. package/cjs/components/Select/variations/_size/base.js +0 -9
  629. package/cjs/components/Select/variations/_size/base.js.map +0 -1
  630. package/cjs/components/Select/variations/_size/base_x642ct.css +0 -1
  631. package/cjs/components/Select/variations/_view/base.js +0 -9
  632. package/cjs/components/Select/variations/_view/base.js.map +0 -1
  633. package/cjs/components/Select/variations/_view/base_x642ct.css +0 -1
  634. package/cjs/components/Switch/Switch.styles_bei7bh.css +0 -6
  635. package/cjs/components/Switch/_size/base_1tcl212.css +0 -1
  636. package/cjs/components/Switch/_toggleSize/base.js +0 -9
  637. package/cjs/components/Switch/_toggleSize/base.js.map +0 -1
  638. package/cjs/components/Switch/_toggleSize/base_6i0904.css +0 -1
  639. package/cjs/components/Switch/_view/base_yxkf3s.css +0 -1
  640. package/cjs/components/TextField/variations/_label-placement/base_3domm.css +0 -1
  641. package/emotion/cjs/components/Select/reducers/focusedChipIndexReducer.js +0 -38
  642. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +0 -37
  643. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +0 -22
  644. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +0 -16
  645. package/emotion/cjs/components/Select/variations/_size/base.js +0 -8
  646. package/emotion/cjs/components/Select/variations/_size/tokens.json +0 -9
  647. package/emotion/cjs/components/Select/variations/_view/base.js +0 -8
  648. package/emotion/cjs/components/Select/variations/_view/tokens.json +0 -1
  649. package/emotion/cjs/components/Switch/_toggleSize/base.js +0 -10
  650. package/emotion/es/components/Select/reducers/focusedChipIndexReducer.js +0 -32
  651. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +0 -28
  652. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +0 -15
  653. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/index.js +0 -1
  654. package/emotion/es/components/Select/variations/_size/base.js +0 -2
  655. package/emotion/es/components/Select/variations/_size/tokens.json +0 -9
  656. package/emotion/es/components/Select/variations/_view/base.js +0 -2
  657. package/emotion/es/components/Select/variations/_view/tokens.json +0 -1
  658. package/emotion/es/components/Switch/_toggleSize/base.js +0 -4
  659. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_1fesyfv.css +0 -3
  660. package/es/components/Select/Select.styles_768h42.css +0 -5
  661. package/es/components/Select/reducers/focusedChipIndexReducer.js +0 -35
  662. package/es/components/Select/reducers/focusedChipIndexReducer.js.map +0 -1
  663. package/es/components/Select/ui/Inner/ui/Item/Item.styles_8oe5oy.css +0 -9
  664. package/es/components/Select/ui/Target/ui/Button/Button.styles_lxxm4p.css +0 -5
  665. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_1damf5p.css +0 -12
  666. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.css +0 -21
  667. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +0 -32
  668. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +0 -1
  669. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +0 -18
  670. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +0 -1
  671. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +0 -1
  672. package/es/components/Select/variations/_size/base.js +0 -5
  673. package/es/components/Select/variations/_size/base.js.map +0 -1
  674. package/es/components/Select/variations/_size/base_x642ct.css +0 -1
  675. package/es/components/Select/variations/_view/base.js +0 -5
  676. package/es/components/Select/variations/_view/base.js.map +0 -1
  677. package/es/components/Select/variations/_view/base_x642ct.css +0 -1
  678. package/es/components/Switch/Switch.styles_bei7bh.css +0 -6
  679. package/es/components/Switch/_size/base_1tcl212.css +0 -1
  680. package/es/components/Switch/_toggleSize/base.js +0 -5
  681. package/es/components/Switch/_toggleSize/base.js.map +0 -1
  682. package/es/components/Switch/_toggleSize/base_6i0904.css +0 -1
  683. package/es/components/Switch/_view/base_yxkf3s.css +0 -1
  684. package/es/components/TextField/variations/_label-placement/base_3domm.css +0 -1
  685. package/styled-components/cjs/components/Select/reducers/focusedChipIndexReducer.js +0 -38
  686. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +0 -37
  687. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +0 -21
  688. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +0 -16
  689. package/styled-components/cjs/components/Select/variations/_size/base.js +0 -8
  690. package/styled-components/cjs/components/Select/variations/_size/tokens.json +0 -9
  691. package/styled-components/cjs/components/Select/variations/_view/base.js +0 -8
  692. package/styled-components/cjs/components/Select/variations/_view/tokens.json +0 -1
  693. package/styled-components/cjs/components/Switch/_toggleSize/base.js +0 -10
  694. package/styled-components/es/components/Select/reducers/focusedChipIndexReducer.js +0 -32
  695. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +0 -28
  696. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +0 -14
  697. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/index.js +0 -1
  698. package/styled-components/es/components/Select/variations/_size/base.js +0 -2
  699. package/styled-components/es/components/Select/variations/_size/tokens.json +0 -9
  700. package/styled-components/es/components/Select/variations/_view/base.js +0 -2
  701. package/styled-components/es/components/Select/variations/_view/tokens.json +0 -1
  702. package/styled-components/es/components/Switch/_toggleSize/base.js +0 -4
  703. package/types/components/Select/reducers/focusedChipIndexReducer.d.ts +0 -11
  704. package/types/components/Select/reducers/focusedChipIndexReducer.d.ts.map +0 -1
  705. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts +0 -9
  706. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts.map +0 -1
  707. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts +0 -3
  708. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts.map +0 -1
  709. package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts +0 -2
  710. package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts.map +0 -1
  711. package/types/components/Select/variations/_size/base.d.ts +0 -2
  712. package/types/components/Select/variations/_size/base.d.ts.map +0 -1
  713. package/types/components/Select/variations/_view/base.d.ts +0 -2
  714. package/types/components/Select/variations/_view/base.d.ts.map +0 -1
  715. package/types/components/Switch/_toggleSize/base.d.ts +0 -2
  716. package/types/components/Switch/_toggleSize/base.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.tokens.js","sources":["../../../src/components/Switch/Switch.tokens.ts"],"sourcesContent":["export const tokens = {\n fontFamily: '--plasma-switch-font-family',\n fontStyle: '--plasma-switch-font-style',\n fontSize: '--plasma-switch-font-size',\n fontWeight: '--plasma-switch-font-weight',\n letterSpacing: '--plasma-switch-letter-spacing',\n lineHeight: '--plasma-switch-line-height',\n\n /* Токены description */\n descriptionFontFamily: '--plasma-switch-description-font-family',\n descriptionFontStyle: '--plasma-switch-description-font-style',\n descriptionFontSize: '--plasma-switch-description-font-size',\n descriptionFontWeight: '--plasma-switch-description-font-weight',\n descriptionLetterSpacing: '--plasma-switch-description-letter-spacing',\n descriptionLineHeight: '--plasma-switch-description-line-height',\n\n /* Цвет подписи */\n labelColor: '--plasma-switch__label-color',\n labelOffset: '--plasma-switch__label-offset',\n\n /* Цвет описания */\n descriptionColor: '--plasma-switch__description-color',\n descriptionOffset: '--plasma-switch__description-offset',\n\n /** Прозрачность для всего компонента в состоянии disabled */\n disabledOpacity: '--plasma-switch-disabled-opacity',\n\n verticalGap: '--plasma-switch-vertical-gap',\n trackWidth: '--plasma-switch__track-width',\n trackHeight: '--plasma-switch__track-height',\n trackBorderRadius: '--plasma-switch__track-border-radius',\n // NOTE: could be intersection with checked\n trackBackgroundColorOn: '--plasma-switch__track_checked_true-bg-color',\n trackBackgroundColorOnHover: '--plasma-switch__track_checked_true_hovered_true-bg-color',\n trackBackgroundColorOff: '--plasma-switch__track_checked_false-bg-color',\n trackBackgroundColorOffHover: '--plasma-switch__track_checked_false_hovered_true-bg-color',\n\n trackFocusColor: '--plasma-switch__track-focus-color',\n\n thumbSize: '--plasma-switch__thumb-size',\n thumbOffset: '--plasma-switch__thumb-offset',\n thumbBorderRadius: '--plasma-switch__thumb-border-radius',\n\n thumbPressScale: '--plasma-switch__thumb-scale',\n\n thumbBackgroundColor: '--plasma-switch__thumb-bg-color',\n thumbBoxShadow: '--plasma-switch__thumb-box-shadow',\n thumbBoxShadowOn: '--plasma-switch__thumb-box-shadow_checked_true',\n\n labelOffsetPrivate: '--plasma_private-switch__label-offset',\n};\n\nexport const classes = {\n beforeSwitchLabelPosition: 'switch-label-position-before',\n afterSwitchLabelPosition: 'switch-label-position-after',\n};\n"],"names":["tokens","fontFamily","fontStyle","fontSize","fontWeight","letterSpacing","lineHeight","descriptionFontFamily","descriptionFontStyle","descriptionFontSize","descriptionFontWeight","descriptionLetterSpacing","descriptionLineHeight","labelColor","labelOffset","descriptionColor","descriptionOffset","disabledOpacity","verticalGap","trackWidth","trackHeight","trackBorderRadius","trackBackgroundColorOn","trackBackgroundColorOnHover","trackBackgroundColorOff","trackBackgroundColorOffHover","trackFocusColor","thumbSize","thumbOffset","thumbBorderRadius","thumbPressScale","thumbBackgroundColor","thumbBoxShadow","thumbBoxShadowOn","labelOffsetPrivate","classes","beforeSwitchLabelPosition","afterSwitchLabelPosition"],"mappings":"AAAO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,UAAU,EAAE,6BAA6B;AACzCC,EAAAA,SAAS,EAAE,4BAA4B;AACvCC,EAAAA,QAAQ,EAAE,2BAA2B;AACrCC,EAAAA,UAAU,EAAE,6BAA6B;AACzCC,EAAAA,aAAa,EAAE,gCAAgC;AAC/CC,EAAAA,UAAU,EAAE,6BAA6B;AAEzC;AACAC,EAAAA,qBAAqB,EAAE,yCAAyC;AAChEC,EAAAA,oBAAoB,EAAE,wCAAwC;AAC9DC,EAAAA,mBAAmB,EAAE,uCAAuC;AAC5DC,EAAAA,qBAAqB,EAAE,yCAAyC;AAChEC,EAAAA,wBAAwB,EAAE,4CAA4C;AACtEC,EAAAA,qBAAqB,EAAE,yCAAyC;AAEhE;AACAC,EAAAA,UAAU,EAAE,8BAA8B;AAC1CC,EAAAA,WAAW,EAAE,+BAA+B;AAE5C;AACAC,EAAAA,gBAAgB,EAAE,oCAAoC;AACtDC,EAAAA,iBAAiB,EAAE,qCAAqC;AAExD;AACAC,EAAAA,eAAe,EAAE,kCAAkC;AAEnDC,EAAAA,WAAW,EAAE,8BAA8B;AAC3CC,EAAAA,UAAU,EAAE,8BAA8B;AAC1CC,EAAAA,WAAW,EAAE,+BAA+B;AAC5CC,EAAAA,iBAAiB,EAAE,sCAAsC;AACzD;AACAC,EAAAA,sBAAsB,EAAE,8CAA8C;AACtEC,EAAAA,2BAA2B,EAAE,2DAA2D;AACxFC,EAAAA,uBAAuB,EAAE,+CAA+C;AACxEC,EAAAA,4BAA4B,EAAE,4DAA4D;AAE1FC,EAAAA,eAAe,EAAE,oCAAoC;AAErDC,EAAAA,SAAS,EAAE,6BAA6B;AACxCC,EAAAA,WAAW,EAAE,+BAA+B;AAC5CC,EAAAA,iBAAiB,EAAE,sCAAsC;AAEzDC,EAAAA,eAAe,EAAE,8BAA8B;AAE/CC,EAAAA,oBAAoB,EAAE,iCAAiC;AACvDC,EAAAA,cAAc,EAAE,mCAAmC;AACnDC,EAAAA,gBAAgB,EAAE,gDAAgD;AAElEC,EAAAA,kBAAkB,EAAE,uCAAA;AACxB,EAAC;AAEM,IAAMC,OAAO,GAAG;AACnBC,EAAAA,yBAAyB,EAAE,8BAA8B;AACzDC,EAAAA,wBAAwB,EAAE,6BAAA;AAC9B;;;;"}
1
+ {"version":3,"file":"Switch.tokens.js","sources":["../../../src/components/Switch/Switch.tokens.ts"],"sourcesContent":["export const tokens = {\n fontFamily: '--plasma-switch-font-family',\n fontStyle: '--plasma-switch-font-style',\n fontSize: '--plasma-switch-font-size',\n fontWeight: '--plasma-switch-font-weight',\n letterSpacing: '--plasma-switch-letter-spacing',\n lineHeight: '--plasma-switch-line-height',\n\n /* Цвет подписи */\n labelColor: '--plasma-switch__label-color',\n labelOffset: '--plasma-switch__label-offset',\n\n /** Прозрачность для всего компонента в состоянии disabled */\n disabledOpacity: '--plasma-switch-disabled-opacity',\n\n trackWidth: '--plasma-switch__track-width',\n trackHeight: '--plasma-switch__track-height',\n trackBorderRadius: '--plasma-switch__track-border-radius',\n // NOTE: could be intersection with checked\n trackBackgroundColorOn: '--plasma-switch__track_checked_true-bg-color',\n trackBackgroundColorOnHover: '--plasma-switch__track_checked_true_hovered_true-bg-color',\n trackBackgroundColorOff: '--plasma-switch__track_checked_false-bg-color',\n trackBackgroundColorOffHover: '--plasma-switch__track_checked_false_hovered_true-bg-color',\n\n trackFocusColor: '--plasma-switch__track-focus-color',\n\n thumbSize: '--plasma-switch__thumb-size',\n thumbOffset: '--plasma-switch__thumb-offset',\n thumbBorderRadius: '--plasma-switch__thumb-border-radius',\n\n thumbPressScale: '--plasma-switch__thumb-scale',\n\n thumbBackgroundColor: '--plasma-switch__thumb-bg-color',\n thumbBoxShadow: '--plasma-switch__thumb-box-shadow',\n thumbBoxShadowOn: '--plasma-switch__thumb-box-shadow_checked_true',\n\n labelOffsetPrivate: '--plasma_private-switch__label-offset',\n};\n\nexport const classes = {\n beforeSwitchLabelPosition: 'switch-label-position-before',\n afterSwitchLabelPosition: 'switch-label-position-after',\n};\n"],"names":["tokens","fontFamily","fontStyle","fontSize","fontWeight","letterSpacing","lineHeight","labelColor","labelOffset","disabledOpacity","trackWidth","trackHeight","trackBorderRadius","trackBackgroundColorOn","trackBackgroundColorOnHover","trackBackgroundColorOff","trackBackgroundColorOffHover","trackFocusColor","thumbSize","thumbOffset","thumbBorderRadius","thumbPressScale","thumbBackgroundColor","thumbBoxShadow","thumbBoxShadowOn","labelOffsetPrivate","classes","beforeSwitchLabelPosition","afterSwitchLabelPosition"],"mappings":"AAAO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,UAAU,EAAE,6BAA6B;AACzCC,EAAAA,SAAS,EAAE,4BAA4B;AACvCC,EAAAA,QAAQ,EAAE,2BAA2B;AACrCC,EAAAA,UAAU,EAAE,6BAA6B;AACzCC,EAAAA,aAAa,EAAE,gCAAgC;AAC/CC,EAAAA,UAAU,EAAE,6BAA6B;AAEzC;AACAC,EAAAA,UAAU,EAAE,8BAA8B;AAC1CC,EAAAA,WAAW,EAAE,+BAA+B;AAE5C;AACAC,EAAAA,eAAe,EAAE,kCAAkC;AAEnDC,EAAAA,UAAU,EAAE,8BAA8B;AAC1CC,EAAAA,WAAW,EAAE,+BAA+B;AAC5CC,EAAAA,iBAAiB,EAAE,sCAAsC;AACzD;AACAC,EAAAA,sBAAsB,EAAE,8CAA8C;AACtEC,EAAAA,2BAA2B,EAAE,2DAA2D;AACxFC,EAAAA,uBAAuB,EAAE,+CAA+C;AACxEC,EAAAA,4BAA4B,EAAE,4DAA4D;AAE1FC,EAAAA,eAAe,EAAE,oCAAoC;AAErDC,EAAAA,SAAS,EAAE,6BAA6B;AACxCC,EAAAA,WAAW,EAAE,+BAA+B;AAC5CC,EAAAA,iBAAiB,EAAE,sCAAsC;AAEzDC,EAAAA,eAAe,EAAE,8BAA8B;AAE/CC,EAAAA,oBAAoB,EAAE,iCAAiC;AACvDC,EAAAA,cAAc,EAAE,mCAAmC;AACnDC,EAAAA,gBAAgB,EAAE,gDAAgD;AAElEC,EAAAA,kBAAkB,EAAE,uCAAA;AACxB,EAAC;AAEM,IAAMC,OAAO,GAAG;AACnBC,EAAAA,yBAAyB,EAAE,8BAA8B;AACzDC,EAAAA,wBAAwB,EAAE,6BAAA;AAC9B;;;;"}
@@ -1,4 +1,4 @@
1
- import './base_sz3n0x.css';
1
+ import './base_j4murk.css';
2
2
  import 'focus-visible';
3
3
 
4
4
  // TODO: https://github.com/salute-developers/plasma/issues/885
@@ -1 +1 @@
1
- .bvwxj2r .s2cs3kf::before{content:'';position:absolute;inset:-0.125rem;display:block;box-sizing:content-box;border-radius:calc(0.125rem + var(--plasma-switch__track-border-radius));border:0.125rem solid transparent;pointer-events:none;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;}.bvwxj2r .ssthlx1.focus-visible ~ .s2cs3kf::before{box-shadow:0 0 0 0.125rem var(--plasma-switch__track-focus-color);}
1
+ .bvwxj2r .ssthlx1::before{content:'';position:absolute;inset:-0.125rem;display:block;box-sizing:content-box;border-radius:calc(0.125rem + var(--plasma-switch__track-border-radius));border:0.125rem solid transparent;pointer-events:none;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;}.bvwxj2r .s10fscgc.focus-visible ~ .ssthlx1::before{box-shadow:0 0 0 0.125rem var(--plasma-switch__track-focus-color);}
@@ -1,4 +1,4 @@
1
- import './base_1tcl212.css';
1
+ import './base_1rjzpi4.css';
2
2
  var base = "bm1v11h";
3
3
 
4
4
  export { base };
@@ -1 +1 @@
1
- {"version":3,"file":"base.js","sources":["../../../../src/components/Switch/_size/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../Switch.tokens';\nimport { StyledContent, StyledDescription, StyledLabel } from '../Switch.styles';\n\nexport const base = css`\n ${StyledContent} {\n font-family: var(${tokens.fontFamily});\n font-style: var(${tokens.fontStyle});\n font-weight: var(${tokens.fontWeight});\n letter-spacing: var(${tokens.letterSpacing});\n line-height: var(${tokens.lineHeight});\n font-size: var(${tokens.fontSize});\n }\n\n ${StyledDescription} {\n font-family: var(${tokens.descriptionFontFamily});\n font-style: var(${tokens.descriptionFontStyle});\n font-weight: var(${tokens.descriptionFontWeight});\n letter-spacing: var(${tokens.descriptionLetterSpacing});\n line-height: var(${tokens.descriptionLineHeight});\n font-size: var(${tokens.descriptionFontSize});\n }\n\n ${StyledLabel} {\n /* check _label_position */\n margin: var(${tokens.labelOffsetPrivate}, 0);\n }\n`;\n"],"names":["base"],"mappings":"AAKO,IAAMA,IAAI,GAuBhB;;;;"}
1
+ {"version":3,"file":"base.js","sources":["../../../../src/components/Switch/_size/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../Switch.tokens';\nimport { StyledLabel, StyledTrigger } from '../Switch.styles';\n\nexport const base = css`\n font-family: var(${tokens.fontFamily});\n font-style: var(${tokens.fontStyle});\n font-weight: var(${tokens.fontWeight});\n letter-spacing: var(${tokens.letterSpacing});\n line-height: var(${tokens.lineHeight});\n font-size: var(${tokens.fontSize});\n\n ${StyledTrigger} {\n flex: 0 0 var(${tokens.trackWidth});\n width: var(${tokens.trackWidth});\n height: var(${tokens.trackHeight});\n border-radius: var(${tokens.trackBorderRadius});\n\n &::after {\n width: var(${tokens.thumbSize});\n height: var(${tokens.thumbSize});\n border-radius: var(${tokens.thumbBorderRadius});\n margin: auto var(${tokens.thumbOffset});\n }\n }\n\n ${StyledLabel} {\n /* check _label_position */\n margin: var(${tokens.labelOffsetPrivate}, 0);\n }\n\n :active:not([disabled]) ${StyledTrigger}::after {\n width: calc(var(${tokens.thumbSize}) * var(${tokens.thumbPressScale}, 1));\n }\n`;\n"],"names":["base"],"mappings":"AAKO,IAAMA,IAAI,GA8BhB;;;;"}
@@ -0,0 +1 @@
1
+ .bm1v11h{font-family:var(--plasma-switch-font-family);font-style:var(--plasma-switch-font-style);font-weight:var(--plasma-switch-font-weight);-webkit-letter-spacing:var(--plasma-switch-letter-spacing);-moz-letter-spacing:var(--plasma-switch-letter-spacing);-ms-letter-spacing:var(--plasma-switch-letter-spacing);letter-spacing:var(--plasma-switch-letter-spacing);line-height:var(--plasma-switch-line-height);font-size:var(--plasma-switch-font-size);}.bm1v11h .ssthlx1{-webkit-flex:0 0 var(--plasma-switch__track-width);-ms-flex:0 0 var(--plasma-switch__track-width);flex:0 0 var(--plasma-switch__track-width);width:var(--plasma-switch__track-width);height:var(--plasma-switch__track-height);border-radius:var(--plasma-switch__track-border-radius);}.bm1v11h .ssthlx1::after{width:var(--plasma-switch__thumb-size);height:var(--plasma-switch__thumb-size);border-radius:var(--plasma-switch__thumb-border-radius);margin:auto var(--plasma-switch__thumb-offset);}.bm1v11h .sdjnckq{margin:var(--plasma_private-switch__label-offset,0);}.bm1v11h:active:not([disabled]) .ssthlx1::after{width:calc(var(--plasma-switch__thumb-size) * var(--plasma-switch__thumb-scale,1));}
@@ -1,4 +1,4 @@
1
- import './base_yxkf3s.css';
1
+ import './base_1mtyz12.css';
2
2
  var base = "b1g0jmh3";
3
3
 
4
4
  export { base };
@@ -1 +1 @@
1
- {"version":3,"file":"base.js","sources":["../../../../src/components/Switch/_view/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../Switch.tokens';\nimport { StyledTrigger, StyledInput, StyledLabel, StyledDescription } from '../Switch.styles';\n\nexport const base = css`\n ${StyledTrigger} {\n background-color: var(${tokens.trackBackgroundColorOff});\n }\n\n ${StyledInput}:not([disabled]) ~ ${StyledTrigger}:hover {\n background-color: var(${tokens.trackBackgroundColorOffHover}, var(${tokens.trackBackgroundColorOff}));\n }\n\n ${StyledInput}:checked ~ ${StyledTrigger} {\n background-color: var(${tokens.trackBackgroundColorOn});\n }\n\n ${StyledInput}:checked:not([disabled]) ~ ${StyledTrigger}:hover {\n background-color: var(${tokens.trackBackgroundColorOnHover}, var(${tokens.trackBackgroundColorOn}));\n }\n\n ${StyledTrigger}::after {\n background-color: var(${tokens.thumbBackgroundColor});\n box-shadow: var(${tokens.thumbBoxShadow});\n }\n\n ${StyledInput}:checked ~ ${StyledTrigger}::after {\n box-shadow: var(${tokens.thumbBoxShadowOn}, var(${tokens.thumbBoxShadow}));\n }\n\n ${StyledLabel} {\n color: var(${tokens.labelColor});\n }\n\n ${StyledDescription} {\n color: var(${tokens.descriptionColor});\n }\n`;\n"],"names":["base"],"mappings":"AAKO,IAAMA,IAAI,GAiChB;;;;"}
1
+ {"version":3,"file":"base.js","sources":["../../../../src/components/Switch/_view/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../Switch.tokens';\nimport { StyledTrigger, StyledInput } from '../Switch.styles';\n\nexport const base = css`\n ${StyledTrigger} {\n background-color: var(${tokens.trackBackgroundColorOff});\n }\n\n ${StyledInput}:not([disabled]) ~ ${StyledTrigger}:hover {\n background-color: var(${tokens.trackBackgroundColorOffHover}, var(${tokens.trackBackgroundColorOff}));\n }\n\n ${StyledInput}:checked ~ ${StyledTrigger} {\n background-color: var(${tokens.trackBackgroundColorOn});\n }\n\n ${StyledInput}:checked:not([disabled]) ~ ${StyledTrigger}:hover {\n background-color: var(${tokens.trackBackgroundColorOnHover}, var(${tokens.trackBackgroundColorOn}));\n }\n\n ${StyledTrigger}::after {\n background-color: var(${tokens.thumbBackgroundColor});\n box-shadow: var(${tokens.thumbBoxShadow});\n }\n\n ${StyledInput}:checked ~ ${StyledTrigger}::after {\n box-shadow: var(${tokens.thumbBoxShadowOn}, var(${tokens.thumbBoxShadow}));\n }\n`;\n"],"names":["base"],"mappings":"AAKO,IAAMA,IAAI,GAyBhB;;;;"}
@@ -0,0 +1 @@
1
+ .b1g0jmh3 .ssthlx1{background-color:var(--plasma-switch__track_checked_false-bg-color);}.b1g0jmh3 .s10fscgc:not([disabled]) ~ .ssthlx1:hover{background-color:var(--plasma-switch__track_checked_false_hovered_true-bg-color,var(--plasma-switch__track_checked_false-bg-color));}.b1g0jmh3 .s10fscgc:checked ~ .ssthlx1{background-color:var(--plasma-switch__track_checked_true-bg-color);}.b1g0jmh3 .s10fscgc:checked:not([disabled]) ~ .ssthlx1:hover{background-color:var(--plasma-switch__track_checked_true_hovered_true-bg-color,var(--plasma-switch__track_checked_true-bg-color));}.b1g0jmh3 .ssthlx1::after{background-color:var(--plasma-switch__thumb-bg-color);box-shadow:var(--plasma-switch__thumb-box-shadow);}.b1g0jmh3 .s10fscgc:checked ~ .ssthlx1::after{box-shadow:var(--plasma-switch__thumb-box-shadow_checked_true,var(--plasma-switch__thumb-box-shadow));}
@@ -261,8 +261,10 @@ var textFieldRoot = function textFieldRoot(Root) {
261
261
  }), optionalTextNode), titleCaption && /*#__PURE__*/React.createElement(TitleCaption, null, titleCaption)), /*#__PURE__*/React.createElement(InputWrapper
262
262
  // Ref для внутреннего использования. Не отдается наружу.
263
263
  , {
264
- ref: rest.inputWrapperRef,
265
- className: cx(withHasChips, wrapperWithoutLeftContent, wrapperWithoutRightContent)
264
+ ref: rest.inputWrapperRef
265
+ // TODO: #1544, и после убрать classes.inputWrapper
266
+ ,
267
+ className: cx(withHasChips, wrapperWithoutLeftContent, wrapperWithoutRightContent, classes.inputWrapper)
266
268
  }, !hasOuterLabel && /*#__PURE__*/React.createElement(React.Fragment, null, required && /*#__PURE__*/React.createElement(StyledIndicator, {
267
269
  className: cx(classes.innerLabelPlacement, requiredPlacementClass)
268
270
  }), hintText && /*#__PURE__*/React.createElement(StyledHintWrapper, {
@@ -309,6 +311,13 @@ var textFieldRoot = function textFieldRoot(Root) {
309
311
  return onChipClear(chipId, index);
310
312
  },
311
313
  onClick: onChipClick
314
+ // TODO: #1547
315
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
316
+ // @ts-ignore
317
+ ,
318
+ _forceChipManipulationWithReadonly:
319
+ // eslint-disable-next-line no-underscore-dangle
320
+ rest._forceChipManipulationWithReadonly
312
321
  });
313
322
  })), /*#__PURE__*/React.createElement(InputContainer, null, /*#__PURE__*/React.createElement(Input, _extends({
314
323
  ref: inputForkRef,
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.js","sources":["../../../src/components/TextField/TextField.tsx"],"sourcesContent":["import React, { forwardRef, useEffect, useRef, useState } from 'react';\nimport type { FormEventHandler, ChangeEventHandler, KeyboardEvent, ChangeEvent, MouseEventHandler } from 'react';\nimport { safeUseId, useForkRef } from '@salutejs/plasma-core';\nimport { css } from '@linaria/core';\n\nimport type { RootProps } from '../../engines';\nimport { cx } from '../../utils';\nimport { useOutsideClick } from '../../hooks';\n\nimport type { ChipValues, TextFieldPrimitiveValue, TextFieldProps, TextFieldRootProps } from './TextField.types';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as clearCSS } from './variations/_clear/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { base as readOnlyCSS } from './variations/_read-only/base';\nimport { base as labelPlacementCSS } from './variations/_label-placement/base';\nimport { base as hintViewCSS } from './variations/_hint-view/base';\nimport { base as hintSizeCSS } from './variations/_hint-size/base';\nimport {\n Input,\n InputContainer,\n LeftHelper,\n Label,\n InputWrapper,\n InputLabelWrapper,\n StyledContentLeft,\n StyledContentRight,\n StyledChips,\n StyledTextBefore,\n StyledTextAfter,\n StyledIndicator,\n StyledOptionalText,\n InputPlaceholder,\n OuterLabelWrapper,\n TitleCaption,\n StyledHintWrapper,\n StyledIndicatorWrapper,\n} from './TextField.styles';\nimport { classes } from './TextField.tokens';\nimport { TextFieldChip } from './ui';\nimport { useKeyNavigation } from './hooks';\nimport { HintComponent } from './ui/Hint/Hint';\n\nconst optionalText = 'optional';\n\nexport const base = css`\n /* NOTE: Webkit не применяет opacity к inline тегам */\n display: block;\n`;\n\nconst HINT_DEFAULT_OFFSET: [number, number] = [0, 0];\n\nexport const textFieldRoot = (Root: RootProps<HTMLDivElement, TextFieldRootProps>) =>\n forwardRef<HTMLInputElement, TextFieldProps>(\n (\n {\n id,\n className,\n style,\n\n // layout\n contentLeft,\n contentRight,\n label,\n labelPlacement,\n textBefore,\n textAfter,\n placeholder,\n leftHelper,\n enumerationType = 'plain',\n requiredPlacement = 'right',\n titleCaption,\n\n // hint\n hintTrigger = 'hover',\n hintText,\n hintView = 'default',\n hintSize = 'm',\n hintTargetIcon,\n hintPlacement = 'auto',\n hintHasArrow,\n hintOffset = HINT_DEFAULT_OFFSET,\n hintWidth,\n hintContentLeft,\n\n // variations\n view,\n size,\n readOnly = false,\n disabled = false,\n required = false,\n clear = false,\n optional,\n hasDivider,\n\n // controlled\n value: outerValue,\n chips: values,\n\n // events\n onChange,\n onChangeChips,\n onSearch,\n onKeyDown,\n\n ...rest\n },\n ref,\n ) => {\n const contentRef = useRef<HTMLDivElement>(null);\n const inputRef = useRef<HTMLInputElement>(null);\n const inputForkRef = useForkRef(inputRef, ref);\n const chipsRefs = useRef<Array<HTMLButtonElement>>([]);\n\n const controlledRefs = { contentRef, inputRef, chipsRefs };\n\n const [hasValue, setHasValue] = useState(\n Boolean(outerValue) || Boolean(inputRef?.current?.value) || Boolean(rest?.defaultValue),\n );\n const [chips, setChips] = useState<Array<ChipValues>>([]);\n const [isHintVisible, setIsHintVisible] = useState(false);\n\n const uniqId = safeUseId();\n const innerId = id || uniqId;\n const labelId = safeUseId();\n const helperTextId = safeUseId();\n\n const isDefaultView = view === 'default' || readOnly || disabled;\n\n const isChipEnumeration = enumerationType === 'chip';\n const isChipsVisible = isChipEnumeration && Boolean(chips?.length);\n const withHasChips = isChipsVisible ? classes.hasChips : undefined;\n\n const hasLabelValue = Boolean(label);\n const hasInnerLabel = size !== 'xs' && labelPlacement === 'inner' && !isChipsVisible && hasLabelValue;\n const hasOuterLabel = labelPlacement === 'outer' && hasLabelValue;\n const hasPlaceholder = Boolean(placeholder) && !hasInnerLabel;\n\n const innerLabelValue = hasInnerLabel || hasOuterLabel ? label : undefined;\n const innerLabelPlacementValue = labelPlacement === 'inner' && !hasInnerLabel ? undefined : labelPlacement;\n\n const innerPlaceholderValue = hasPlaceholder ? placeholder : undefined;\n const placeholderShown = Boolean(innerPlaceholderValue) && !hasValue;\n\n const clearClass = clear ? classes.clear : undefined;\n const hasDividerClass = hasDivider ? classes.hasDivider : undefined;\n const hasHintClass = hintText ? classes.hasHint : undefined;\n const requiredPlacementClass = requiredPlacement === 'right' ? classes.requiredAlignRight : undefined;\n const labelPlacementClass = innerLabelPlacementValue\n ? classes[`${innerLabelPlacementValue}LabelPlacement` as keyof typeof classes]\n : undefined;\n const hasValueClass = hasValue ? classes.hasValue : undefined;\n\n const wrapperWithoutLeftContent = !contentLeft && isChipsVisible ? classes.hasEmptyContentLeft : undefined;\n const wrapperWithoutRightContent =\n !contentRight && isChipsVisible ? classes.hasEmptyContentRight : undefined;\n\n const hintRef = useOutsideClick<HTMLDivElement>(() => {\n setIsHintVisible(false);\n });\n const hintInnerRef = useRef<HTMLDivElement>(null);\n const hintForkRef = useForkRef(hintRef, hintInnerRef);\n\n const handleInput: FormEventHandler<HTMLInputElement> = (event) => {\n setHasValue(Boolean((event.target as HTMLInputElement).value));\n };\n\n const handleHintShow = () => setIsHintVisible(true);\n const handleHintHide = () => setIsHintVisible(false);\n const handleHintClick: MouseEventHandler = (event) => {\n if (!hintText || hintTrigger !== 'click') {\n return;\n }\n\n event.stopPropagation();\n const targetIsPopover = event.target === hintInnerRef.current;\n const rootHasTarget = hintInnerRef.current?.contains(event.target as Element);\n\n if (!targetIsPopover && !rootHasTarget) {\n setIsHintVisible(true);\n }\n };\n\n const handleChange: ChangeEventHandler<HTMLInputElement> = (event) => {\n if (disabled || readOnly) {\n return;\n }\n\n const { maxLength, value } = event.target;\n\n if (maxLength !== -1 && value.length > maxLength) {\n return;\n }\n\n onChange?.(event);\n };\n\n const updateChips = (newChips: Array<ChipValues>, newValues: Array<TextFieldPrimitiveValue>) => {\n setChips(newChips);\n onChangeChips?.(newValues);\n };\n\n const { handleInputKeydown, handleChipKeyDown, onChipClear, handleContentKeyDown } = useKeyNavigation({\n controlledRefs,\n disabled,\n readOnly,\n chips,\n enumerationType,\n updateChips,\n onSearch,\n onChange,\n onEnterDisabled: (rest as any).onEnterDisabled,\n });\n\n const onChipClick = (event: React.MouseEvent<HTMLButtonElement>) => event.stopPropagation();\n\n const handleInputFocus = () => {\n if (readOnly || disabled || !inputRef?.current) {\n return;\n }\n\n inputRef.current.scrollTo({\n top: 0,\n left: inputRef.current.offsetLeft,\n behavior: 'smooth',\n });\n\n inputRef.current.focus();\n };\n\n const getRef = (element: HTMLButtonElement | null, index: number) => {\n if (element && chipsRefs?.current) {\n chipsRefs.current[index] = element;\n }\n };\n\n const handleOnKeyDown = (event: ChangeEvent<HTMLInputElement> & KeyboardEvent<HTMLInputElement>) => {\n handleInputKeydown(event);\n\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n\n useEffect(() => {\n if (!isChipEnumeration && !values?.length) {\n return;\n }\n\n const newChips =\n values?.map((value, index) => ({\n id: `${index}_${value}`,\n text: value,\n })) || [];\n\n setChips(newChips);\n }, [isChipEnumeration, values]);\n\n useEffect(() => {\n setHasValue(Boolean(rest?.defaultValue));\n }, [rest.defaultValue]);\n\n useEffect(() => {\n setHasValue(Boolean(outerValue) || Boolean(inputRef?.current?.value));\n }, [outerValue, inputRef?.current?.value]);\n\n const innerOptional = Boolean(required ? false : optional);\n const hasPlaceholderOptional = innerOptional && !innerLabelValue && !hasOuterLabel;\n const optionalTextNode = innerOptional ? (\n <StyledOptionalText>\n {Boolean(hasPlaceholderOptional ? innerPlaceholderValue : innerLabelValue) && '\\xa0'}\n {optionalText}\n </StyledOptionalText>\n ) : null;\n\n return (\n <Root\n view={view}\n size={size}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n clear={clear}\n labelPlacement={innerLabelPlacementValue}\n onClick={handleInputFocus}\n className={cx(\n labelPlacementClass,\n clearClass,\n hasDividerClass,\n hasHintClass,\n classes.textFieldGroupItem,\n className,\n )}\n style={style}\n {...(hintText && { hintView, hintSize })}\n >\n {(hasOuterLabel || titleCaption) && (\n <OuterLabelWrapper isInnerLabel={labelPlacement === 'inner'}>\n {hasOuterLabel && (\n <StyledIndicatorWrapper>\n <Label id={labelId} htmlFor={id}>\n {innerLabelValue}\n </Label>\n\n {hintText && (\n <StyledHintWrapper>\n <HintComponent\n ref={hintForkRef}\n hintText={hintText}\n hintTrigger={hintTrigger}\n isHintVisible={isHintVisible}\n hintTargetIcon={hintTargetIcon}\n hintPlacement={hintPlacement}\n hintHasArrow={hintHasArrow}\n hintOffset={hintOffset}\n hintWidth={hintWidth}\n hintContentLeft={hintContentLeft}\n handleHintShow={handleHintShow}\n handleHintHide={handleHintHide}\n handleHintClick={handleHintClick}\n />\n </StyledHintWrapper>\n )}\n {required && (\n <StyledIndicator\n className={cx(\n classes.outerLabelPlacement,\n requiredPlacementClass,\n hasHintClass,\n )}\n />\n )}\n {optionalTextNode}\n </StyledIndicatorWrapper>\n )}\n {titleCaption && <TitleCaption>{titleCaption}</TitleCaption>}\n </OuterLabelWrapper>\n )}\n <InputWrapper\n // Ref для внутреннего использования. Не отдается наружу.\n ref={(rest as any).inputWrapperRef}\n className={cx(withHasChips, wrapperWithoutLeftContent, wrapperWithoutRightContent)}\n >\n {!hasOuterLabel && (\n <>\n {required && (\n <StyledIndicator\n className={cx(classes.innerLabelPlacement, requiredPlacementClass)}\n />\n )}\n {hintText && (\n <StyledHintWrapper className={classes.innerLabelPlacement}>\n <HintComponent\n ref={hintForkRef}\n hintText={hintText}\n hintTrigger={hintTrigger}\n isHintVisible={isHintVisible}\n hintTargetIcon={hintTargetIcon}\n hintPlacement={hintPlacement}\n hintHasArrow={hintHasArrow}\n hintOffset={hintOffset}\n hintWidth={hintWidth}\n hintContentLeft={hintContentLeft}\n handleHintShow={handleHintShow}\n handleHintHide={handleHintHide}\n handleHintClick={handleHintClick}\n />\n </StyledHintWrapper>\n )}\n </>\n )}\n {contentLeft && (\n <StyledContentLeft isClear={clear} isDefaultView={isDefaultView}>\n {contentLeft}\n </StyledContentLeft>\n )}\n <InputLabelWrapper\n tabIndex={-1}\n ref={contentRef}\n onKeyDown={handleContentKeyDown}\n className={withHasChips}\n >\n {textBefore && <StyledTextBefore>{textBefore}</StyledTextBefore>}\n {isChipEnumeration && Boolean(chips?.length) && (\n <StyledChips>\n {chips?.map(({ id: chipId, text }, index) => {\n return (\n <TextFieldChip\n id={chipId}\n ref={(element) => getRef(element, index)}\n key={`${chipId}_${index}`}\n disabled={disabled}\n readOnly={readOnly}\n value={text}\n text={text}\n onKeyDown={(event) => handleChipKeyDown(event, chipId, index)}\n onClear={() => onChipClear(chipId, index)}\n onClick={onChipClick}\n />\n );\n })}\n </StyledChips>\n )}\n <InputContainer>\n <Input\n ref={inputForkRef}\n id={innerId}\n value={outerValue}\n aria-labelledby={labelId}\n aria-describedby={helperTextId}\n placeholder={innerPlaceholderValue}\n className={cx(hasValueClass)}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n onInput={handleInput}\n onChange={handleChange}\n onKeyDown={handleOnKeyDown}\n {...rest}\n />\n {hasInnerLabel && (\n <Label id={labelId} htmlFor={innerId}>\n {innerLabelValue}\n {optionalTextNode}\n </Label>\n )}\n {placeholderShown && !hasValue && (\n <InputPlaceholder>\n {innerPlaceholderValue}\n {hasPlaceholderOptional && optionalTextNode}\n </InputPlaceholder>\n )}\n </InputContainer>\n {textAfter && <StyledTextAfter>{textAfter}</StyledTextAfter>}\n </InputLabelWrapper>\n {contentRight && <StyledContentRight>{contentRight}</StyledContentRight>}\n </InputWrapper>\n {leftHelper && <LeftHelper id={helperTextId}>{leftHelper}</LeftHelper>}\n </Root>\n );\n },\n );\n\nexport const textFieldConfig = {\n name: 'TextField',\n tag: 'div',\n layout: textFieldRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n clear: {\n css: clearCSS,\n attrs: true,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n readOnly: {\n css: readOnlyCSS,\n attrs: true,\n },\n labelPlacement: {\n css: labelPlacementCSS,\n },\n hintView: {\n css: hintViewCSS,\n },\n hintSize: {\n css: hintSizeCSS,\n },\n },\n defaults: {\n size: 'm',\n view: 'default',\n },\n};\n"],"names":["optionalText","base","HINT_DEFAULT_OFFSET","textFieldRoot","Root","forwardRef","_ref","ref","_inputRef$current","_inputRef$current3","id","className","style","contentLeft","contentRight","label","labelPlacement","textBefore","textAfter","placeholder","leftHelper","_ref$enumerationType","enumerationType","_ref$requiredPlacemen","requiredPlacement","titleCaption","_ref$hintTrigger","hintTrigger","hintText","_ref$hintView","hintView","_ref$hintSize","hintSize","hintTargetIcon","_ref$hintPlacement","hintPlacement","hintHasArrow","_ref$hintOffset","hintOffset","hintWidth","hintContentLeft","view","size","_ref$readOnly","readOnly","_ref$disabled","disabled","_ref$required","required","_ref$clear","clear","optional","hasDivider","outerValue","value","values","chips","onChange","onChangeChips","onSearch","onKeyDown","rest","contentRef","useRef","inputRef","inputForkRef","useForkRef","chipsRefs","controlledRefs","_useState","useState","Boolean","current","defaultValue","_useState2","_slicedToArray","hasValue","setHasValue","_useState3","_useState4","setChips","_useState5","_useState6","isHintVisible","setIsHintVisible","uniqId","safeUseId","innerId","labelId","helperTextId","isDefaultView","isChipEnumeration","isChipsVisible","length","withHasChips","classes","hasChips","undefined","hasLabelValue","hasInnerLabel","hasOuterLabel","hasPlaceholder","innerLabelValue","innerLabelPlacementValue","innerPlaceholderValue","placeholderShown","clearClass","hasDividerClass","hasHintClass","hasHint","requiredPlacementClass","requiredAlignRight","labelPlacementClass","concat","hasValueClass","wrapperWithoutLeftContent","hasEmptyContentLeft","wrapperWithoutRightContent","hasEmptyContentRight","hintRef","useOutsideClick","hintInnerRef","hintForkRef","handleInput","event","target","handleHintShow","handleHintHide","handleHintClick","_hintInnerRef$current","stopPropagation","targetIsPopover","rootHasTarget","contains","handleChange","_event$target","maxLength","updateChips","newChips","newValues","_useKeyNavigation","useKeyNavigation","onEnterDisabled","handleInputKeydown","handleChipKeyDown","onChipClear","handleContentKeyDown","onChipClick","handleInputFocus","scrollTo","top","left","offsetLeft","behavior","focus","getRef","element","index","handleOnKeyDown","useEffect","map","text","_inputRef$current2","innerOptional","hasPlaceholderOptional","optionalTextNode","React","createElement","StyledOptionalText","_extends","onClick","cx","textFieldGroupItem","OuterLabelWrapper","isInnerLabel","StyledIndicatorWrapper","Label","htmlFor","StyledHintWrapper","HintComponent","StyledIndicator","outerLabelPlacement","TitleCaption","InputWrapper","inputWrapperRef","Fragment","innerLabelPlacement","StyledContentLeft","isClear","InputLabelWrapper","tabIndex","StyledTextBefore","StyledChips","_ref2","chipId","TextFieldChip","key","onClear","InputContainer","Input","onInput","InputPlaceholder","StyledTextAfter","StyledContentRight","LeftHelper","textFieldConfig","name","tag","layout","variations","css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;KACV;AACD1K,IAAAA,QAAQ,EAAE;AACNsK,MAAAA,GAAG,EAAEM,MAAW;AAChBF,MAAAA,KAAK,EAAE,IAAA;KACV;AACDtM,IAAAA,cAAc,EAAE;AACZkM,MAAAA,GAAG,EAAEO,MAAAA;KACR;AACD3L,IAAAA,QAAQ,EAAE;AACNoL,MAAAA,GAAG,EAAEQ,MAAAA;KACR;AACD1L,IAAAA,QAAQ,EAAE;AACNkL,MAAAA,GAAG,EAAES,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNlL,IAAAA,IAAI,EAAE,GAAG;AACTD,IAAAA,IAAI,EAAE,SAAA;AACV,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"TextField.js","sources":["../../../src/components/TextField/TextField.tsx"],"sourcesContent":["import React, { forwardRef, useEffect, useRef, useState } from 'react';\nimport type { FormEventHandler, ChangeEventHandler, KeyboardEvent, ChangeEvent, MouseEventHandler } from 'react';\nimport { safeUseId, useForkRef } from '@salutejs/plasma-core';\nimport { css } from '@linaria/core';\n\nimport type { RootProps } from '../../engines';\nimport { cx } from '../../utils';\nimport { useOutsideClick } from '../../hooks';\n\nimport type { ChipValues, TextFieldPrimitiveValue, TextFieldProps, TextFieldRootProps } from './TextField.types';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as clearCSS } from './variations/_clear/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { base as readOnlyCSS } from './variations/_read-only/base';\nimport { base as labelPlacementCSS } from './variations/_label-placement/base';\nimport { base as hintViewCSS } from './variations/_hint-view/base';\nimport { base as hintSizeCSS } from './variations/_hint-size/base';\nimport {\n Input,\n InputContainer,\n LeftHelper,\n Label,\n InputWrapper,\n InputLabelWrapper,\n StyledContentLeft,\n StyledContentRight,\n StyledChips,\n StyledTextBefore,\n StyledTextAfter,\n StyledIndicator,\n StyledOptionalText,\n InputPlaceholder,\n OuterLabelWrapper,\n TitleCaption,\n StyledHintWrapper,\n StyledIndicatorWrapper,\n} from './TextField.styles';\nimport { classes } from './TextField.tokens';\nimport { TextFieldChip } from './ui';\nimport { useKeyNavigation } from './hooks';\nimport { HintComponent } from './ui/Hint/Hint';\n\nconst optionalText = 'optional';\n\nexport const base = css`\n /* NOTE: Webkit не применяет opacity к inline тегам */\n display: block;\n`;\n\nconst HINT_DEFAULT_OFFSET: [number, number] = [0, 0];\n\nexport const textFieldRoot = (Root: RootProps<HTMLDivElement, TextFieldRootProps>) =>\n forwardRef<HTMLInputElement, TextFieldProps>(\n (\n {\n id,\n className,\n style,\n\n // layout\n contentLeft,\n contentRight,\n label,\n labelPlacement,\n textBefore,\n textAfter,\n placeholder,\n leftHelper,\n enumerationType = 'plain',\n requiredPlacement = 'right',\n titleCaption,\n\n // hint\n hintTrigger = 'hover',\n hintText,\n hintView = 'default',\n hintSize = 'm',\n hintTargetIcon,\n hintPlacement = 'auto',\n hintHasArrow,\n hintOffset = HINT_DEFAULT_OFFSET,\n hintWidth,\n hintContentLeft,\n\n // variations\n view,\n size,\n readOnly = false,\n disabled = false,\n required = false,\n clear = false,\n optional,\n hasDivider,\n\n // controlled\n value: outerValue,\n chips: values,\n\n // events\n onChange,\n onChangeChips,\n onSearch,\n onKeyDown,\n\n ...rest\n },\n ref,\n ) => {\n const contentRef = useRef<HTMLDivElement>(null);\n const inputRef = useRef<HTMLInputElement>(null);\n const inputForkRef = useForkRef(inputRef, ref);\n const chipsRefs = useRef<Array<HTMLButtonElement>>([]);\n\n const controlledRefs = { contentRef, inputRef, chipsRefs };\n\n const [hasValue, setHasValue] = useState(\n Boolean(outerValue) || Boolean(inputRef?.current?.value) || Boolean(rest?.defaultValue),\n );\n const [chips, setChips] = useState<Array<ChipValues>>([]);\n const [isHintVisible, setIsHintVisible] = useState(false);\n\n const uniqId = safeUseId();\n const innerId = id || uniqId;\n const labelId = safeUseId();\n const helperTextId = safeUseId();\n\n const isDefaultView = view === 'default' || readOnly || disabled;\n\n const isChipEnumeration = enumerationType === 'chip';\n const isChipsVisible = isChipEnumeration && Boolean(chips?.length);\n const withHasChips = isChipsVisible ? classes.hasChips : undefined;\n\n const hasLabelValue = Boolean(label);\n const hasInnerLabel = size !== 'xs' && labelPlacement === 'inner' && !isChipsVisible && hasLabelValue;\n const hasOuterLabel = labelPlacement === 'outer' && hasLabelValue;\n const hasPlaceholder = Boolean(placeholder) && !hasInnerLabel;\n\n const innerLabelValue = hasInnerLabel || hasOuterLabel ? label : undefined;\n const innerLabelPlacementValue = labelPlacement === 'inner' && !hasInnerLabel ? undefined : labelPlacement;\n\n const innerPlaceholderValue = hasPlaceholder ? placeholder : undefined;\n const placeholderShown = Boolean(innerPlaceholderValue) && !hasValue;\n\n const clearClass = clear ? classes.clear : undefined;\n const hasDividerClass = hasDivider ? classes.hasDivider : undefined;\n const hasHintClass = hintText ? classes.hasHint : undefined;\n const requiredPlacementClass = requiredPlacement === 'right' ? classes.requiredAlignRight : undefined;\n const labelPlacementClass = innerLabelPlacementValue\n ? classes[`${innerLabelPlacementValue}LabelPlacement` as keyof typeof classes]\n : undefined;\n const hasValueClass = hasValue ? classes.hasValue : undefined;\n\n const wrapperWithoutLeftContent = !contentLeft && isChipsVisible ? classes.hasEmptyContentLeft : undefined;\n const wrapperWithoutRightContent =\n !contentRight && isChipsVisible ? classes.hasEmptyContentRight : undefined;\n\n const hintRef = useOutsideClick<HTMLDivElement>(() => {\n setIsHintVisible(false);\n });\n const hintInnerRef = useRef<HTMLDivElement>(null);\n const hintForkRef = useForkRef(hintRef, hintInnerRef);\n\n const handleInput: FormEventHandler<HTMLInputElement> = (event) => {\n setHasValue(Boolean((event.target as HTMLInputElement).value));\n };\n\n const handleHintShow = () => setIsHintVisible(true);\n const handleHintHide = () => setIsHintVisible(false);\n const handleHintClick: MouseEventHandler = (event) => {\n if (!hintText || hintTrigger !== 'click') {\n return;\n }\n\n event.stopPropagation();\n const targetIsPopover = event.target === hintInnerRef.current;\n const rootHasTarget = hintInnerRef.current?.contains(event.target as Element);\n\n if (!targetIsPopover && !rootHasTarget) {\n setIsHintVisible(true);\n }\n };\n\n const handleChange: ChangeEventHandler<HTMLInputElement> = (event) => {\n if (disabled || readOnly) {\n return;\n }\n\n const { maxLength, value } = event.target;\n\n if (maxLength !== -1 && value.length > maxLength) {\n return;\n }\n\n onChange?.(event);\n };\n\n const updateChips = (newChips: Array<ChipValues>, newValues: Array<TextFieldPrimitiveValue>) => {\n setChips(newChips);\n onChangeChips?.(newValues);\n };\n\n const { handleInputKeydown, handleChipKeyDown, onChipClear, handleContentKeyDown } = useKeyNavigation({\n controlledRefs,\n disabled,\n readOnly,\n chips,\n enumerationType,\n updateChips,\n onSearch,\n onChange,\n onEnterDisabled: (rest as any).onEnterDisabled,\n });\n\n const onChipClick = (event: React.MouseEvent<HTMLButtonElement>) => event.stopPropagation();\n\n const handleInputFocus = () => {\n if (readOnly || disabled || !inputRef?.current) {\n return;\n }\n\n inputRef.current.scrollTo({\n top: 0,\n left: inputRef.current.offsetLeft,\n behavior: 'smooth',\n });\n\n inputRef.current.focus();\n };\n\n const getRef = (element: HTMLButtonElement | null, index: number) => {\n if (element && chipsRefs?.current) {\n chipsRefs.current[index] = element;\n }\n };\n\n const handleOnKeyDown = (event: ChangeEvent<HTMLInputElement> & KeyboardEvent<HTMLInputElement>) => {\n handleInputKeydown(event);\n\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n\n useEffect(() => {\n if (!isChipEnumeration && !values?.length) {\n return;\n }\n\n const newChips =\n values?.map((value, index) => ({\n id: `${index}_${value}`,\n text: value,\n })) || [];\n\n setChips(newChips);\n }, [isChipEnumeration, values]);\n\n useEffect(() => {\n setHasValue(Boolean(rest?.defaultValue));\n }, [rest.defaultValue]);\n\n useEffect(() => {\n setHasValue(Boolean(outerValue) || Boolean(inputRef?.current?.value));\n }, [outerValue, inputRef?.current?.value]);\n\n const innerOptional = Boolean(required ? false : optional);\n const hasPlaceholderOptional = innerOptional && !innerLabelValue && !hasOuterLabel;\n const optionalTextNode = innerOptional ? (\n <StyledOptionalText>\n {Boolean(hasPlaceholderOptional ? innerPlaceholderValue : innerLabelValue) && '\\xa0'}\n {optionalText}\n </StyledOptionalText>\n ) : null;\n\n return (\n <Root\n view={view}\n size={size}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n clear={clear}\n labelPlacement={innerLabelPlacementValue}\n onClick={handleInputFocus}\n className={cx(\n labelPlacementClass,\n clearClass,\n hasDividerClass,\n hasHintClass,\n classes.textFieldGroupItem,\n className,\n )}\n style={style}\n {...(hintText && { hintView, hintSize })}\n >\n {(hasOuterLabel || titleCaption) && (\n <OuterLabelWrapper isInnerLabel={labelPlacement === 'inner'}>\n {hasOuterLabel && (\n <StyledIndicatorWrapper>\n <Label id={labelId} htmlFor={id}>\n {innerLabelValue}\n </Label>\n\n {hintText && (\n <StyledHintWrapper>\n <HintComponent\n ref={hintForkRef}\n hintText={hintText}\n hintTrigger={hintTrigger}\n isHintVisible={isHintVisible}\n hintTargetIcon={hintTargetIcon}\n hintPlacement={hintPlacement}\n hintHasArrow={hintHasArrow}\n hintOffset={hintOffset}\n hintWidth={hintWidth}\n hintContentLeft={hintContentLeft}\n handleHintShow={handleHintShow}\n handleHintHide={handleHintHide}\n handleHintClick={handleHintClick}\n />\n </StyledHintWrapper>\n )}\n {required && (\n <StyledIndicator\n className={cx(\n classes.outerLabelPlacement,\n requiredPlacementClass,\n hasHintClass,\n )}\n />\n )}\n {optionalTextNode}\n </StyledIndicatorWrapper>\n )}\n {titleCaption && <TitleCaption>{titleCaption}</TitleCaption>}\n </OuterLabelWrapper>\n )}\n <InputWrapper\n // Ref для внутреннего использования. Не отдается наружу.\n ref={(rest as any).inputWrapperRef}\n // TODO: #1544, и после убрать classes.inputWrapper\n className={cx(\n withHasChips,\n wrapperWithoutLeftContent,\n wrapperWithoutRightContent,\n classes.inputWrapper,\n )}\n >\n {!hasOuterLabel && (\n <>\n {required && (\n <StyledIndicator\n className={cx(classes.innerLabelPlacement, requiredPlacementClass)}\n />\n )}\n {hintText && (\n <StyledHintWrapper className={classes.innerLabelPlacement}>\n <HintComponent\n ref={hintForkRef}\n hintText={hintText}\n hintTrigger={hintTrigger}\n isHintVisible={isHintVisible}\n hintTargetIcon={hintTargetIcon}\n hintPlacement={hintPlacement}\n hintHasArrow={hintHasArrow}\n hintOffset={hintOffset}\n hintWidth={hintWidth}\n hintContentLeft={hintContentLeft}\n handleHintShow={handleHintShow}\n handleHintHide={handleHintHide}\n handleHintClick={handleHintClick}\n />\n </StyledHintWrapper>\n )}\n </>\n )}\n {contentLeft && (\n <StyledContentLeft isClear={clear} isDefaultView={isDefaultView}>\n {contentLeft}\n </StyledContentLeft>\n )}\n <InputLabelWrapper\n tabIndex={-1}\n ref={contentRef}\n onKeyDown={handleContentKeyDown}\n className={withHasChips}\n >\n {textBefore && <StyledTextBefore>{textBefore}</StyledTextBefore>}\n {isChipEnumeration && Boolean(chips?.length) && (\n <StyledChips>\n {chips?.map(({ id: chipId, text }, index) => {\n return (\n <TextFieldChip\n id={chipId}\n ref={(element) => getRef(element, index)}\n key={`${chipId}_${index}`}\n disabled={disabled}\n readOnly={readOnly}\n value={text}\n text={text}\n onKeyDown={(event) => handleChipKeyDown(event, chipId, index)}\n onClear={() => onChipClear(chipId, index)}\n onClick={onChipClick}\n // TODO: #1547\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n _forceChipManipulationWithReadonly={\n // eslint-disable-next-line no-underscore-dangle\n (rest as any)._forceChipManipulationWithReadonly\n }\n />\n );\n })}\n </StyledChips>\n )}\n <InputContainer>\n <Input\n ref={inputForkRef}\n id={innerId}\n value={outerValue}\n aria-labelledby={labelId}\n aria-describedby={helperTextId}\n placeholder={innerPlaceholderValue}\n className={cx(hasValueClass)}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n onInput={handleInput}\n onChange={handleChange}\n onKeyDown={handleOnKeyDown}\n {...rest}\n />\n {hasInnerLabel && (\n <Label id={labelId} htmlFor={innerId}>\n {innerLabelValue}\n {optionalTextNode}\n </Label>\n )}\n {placeholderShown && !hasValue && (\n <InputPlaceholder>\n {innerPlaceholderValue}\n {hasPlaceholderOptional && optionalTextNode}\n </InputPlaceholder>\n )}\n </InputContainer>\n {textAfter && <StyledTextAfter>{textAfter}</StyledTextAfter>}\n </InputLabelWrapper>\n {contentRight && <StyledContentRight>{contentRight}</StyledContentRight>}\n </InputWrapper>\n {leftHelper && <LeftHelper id={helperTextId}>{leftHelper}</LeftHelper>}\n </Root>\n );\n },\n );\n\nexport const textFieldConfig = {\n name: 'TextField',\n tag: 'div',\n layout: textFieldRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n clear: {\n css: clearCSS,\n attrs: true,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n readOnly: {\n css: readOnlyCSS,\n attrs: true,\n },\n labelPlacement: {\n css: labelPlacementCSS,\n },\n hintView: {\n css: hintViewCSS,\n },\n hintSize: {\n css: hintSizeCSS,\n },\n },\n defaults: {\n size: 'm',\n view: 'default',\n },\n};\n"],"names":["optionalText","base","HINT_DEFAULT_OFFSET","textFieldRoot","Root","forwardRef","_ref","ref","_inputRef$current","_inputRef$current3","id","className","style","contentLeft","contentRight","label","labelPlacement","textBefore","textAfter","placeholder","leftHelper","_ref$enumerationType","enumerationType","_ref$requiredPlacemen","requiredPlacement","titleCaption","_ref$hintTrigger","hintTrigger","hintText","_ref$hintView","hintView","_ref$hintSize","hintSize","hintTargetIcon","_ref$hintPlacement","hintPlacement","hintHasArrow","_ref$hintOffset","hintOffset","hintWidth","hintContentLeft","view","size","_ref$readOnly","readOnly","_ref$disabled","disabled","_ref$required","required","_ref$clear","clear","optional","hasDivider","outerValue","value","values","chips","onChange","onChangeChips","onSearch","onKeyDown","rest","contentRef","useRef","inputRef","inputForkRef","useForkRef","chipsRefs","controlledRefs","_useState","useState","Boolean","current","defaultValue","_useState2","_slicedToArray","hasValue","setHasValue","_useState3","_useState4","setChips","_useState5","_useState6","isHintVisible","setIsHintVisible","uniqId","safeUseId","innerId","labelId","helperTextId","isDefaultView","isChipEnumeration","isChipsVisible","length","withHasChips","classes","hasChips","undefined","hasLabelValue","hasInnerLabel","hasOuterLabel","hasPlaceholder","innerLabelValue","innerLabelPlacementValue","innerPlaceholderValue","placeholderShown","clearClass","hasDividerClass","hasHintClass","hasHint","requiredPlacementClass","requiredAlignRight","labelPlacementClass","concat","hasValueClass","wrapperWithoutLeftContent","hasEmptyContentLeft","wrapperWithoutRightContent","hasEmptyContentRight","hintRef","useOutsideClick","hintInnerRef","hintForkRef","handleInput","event","target","handleHintShow","handleHintHide","handleHintClick","_hintInnerRef$current","stopPropagation","targetIsPopover","rootHasTarget","contains","handleChange","_event$target","maxLength","updateChips","newChips","newValues","_useKeyNavigation","useKeyNavigation","onEnterDisabled","handleInputKeydown","handleChipKeyDown","onChipClear","handleContentKeyDown","onChipClick","handleInputFocus","scrollTo","top","left","offsetLeft","behavior","focus","getRef","element","index","handleOnKeyDown","useEffect","map","text","_inputRef$current2","innerOptional","hasPlaceholderOptional","optionalTextNode","React","createElement","StyledOptionalText","_extends","onClick","cx","textFieldGroupItem","OuterLabelWrapper","isInnerLabel","StyledIndicatorWrapper","Label","htmlFor","StyledHintWrapper","HintComponent","StyledIndicator","outerLabelPlacement","TitleCaption","InputWrapper","inputWrapperRef","inputWrapper","Fragment","innerLabelPlacement","StyledContentLeft","isClear","InputLabelWrapper","tabIndex","StyledTextBefore","StyledChips","_ref2","chipId","TextFieldChip","key","onClear","_forceChipManipulationWithReadonly","InputContainer","Input","onInput","InputPlaceholder","StyledTextAfter","StyledContentRight","LeftHelper","textFieldConfig","name","tag","layout","variations","css","viewCSS","sizeCSS","clearCSS","attrs","disabledCSS","readOnlyCSS","labelPlacementCSS","hintViewCSS","hintSizeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;;AA2CA,IAAMA,YAAY,GAAG,UAAU,CAAA;AAExB,IAAMC,IAAI,GAG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;AAChBF,MAAAA,KAAK,EAAE,IAAA;KACV;AACDxM,IAAAA,cAAc,EAAE;AACZoM,MAAAA,GAAG,EAAEO,MAAAA;KACR;AACD7L,IAAAA,QAAQ,EAAE;AACNsL,MAAAA,GAAG,EAAEQ,MAAAA;KACR;AACD5L,IAAAA,QAAQ,EAAE;AACNoL,MAAAA,GAAG,EAAES,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNpL,IAAAA,IAAI,EAAE,GAAG;AACTD,IAAAA,IAAI,EAAE,SAAA;AACV,GAAA;AACJ;;;;"}
@@ -1,4 +1,4 @@
1
- import './TextField.styles_grgg7q.css';
1
+ import './TextField.styles_j7dqpn.css';
2
2
  import { styled } from '@linaria/react';
3
3
  import { tokens } from './TextField.tokens.js';
4
4
  import { component, mergeConfig } from '../../engines/common.js';
@@ -73,72 +73,64 @@ var Label = /*#__PURE__*/styled('label')({
73
73
  "class": "l1gjsnfi",
74
74
  propsAsIs: false
75
75
  });
76
- var _exp9 = function _exp9() {
76
+ var _exp10 = function _exp10() {
77
77
  return function (_ref2) {
78
78
  var isDefaultView = _ref2.isDefaultView,
79
79
  isClear = _ref2.isClear;
80
80
  return !isDefaultView && isClear ? "var(".concat(tokens.clearColor, ")") : "var(".concat(tokens.contentSlotColor, ")");
81
81
  };
82
82
  };
83
- var StyledContentSlot = /*#__PURE__*/styled('div')({
84
- name: "StyledContentSlot",
83
+ var StyledContentLeft = /*#__PURE__*/styled('div')({
84
+ name: "StyledContentLeft",
85
85
  "class": "ssv2kwg",
86
86
  propsAsIs: false,
87
87
  vars: {
88
- "ssv2kwg-0": [/*#__PURE__*/_exp9()]
88
+ "ssv2kwg-0": [/*#__PURE__*/_exp10()]
89
89
  }
90
90
  });
91
- var _exp10 = function _exp10() {
92
- return StyledContentSlot;
93
- };
94
- var StyledContentLeft = /*#__PURE__*/styled(_exp10())({
95
- name: "StyledContentLeft",
96
- "class": "s190z894",
97
- propsAsIs: true
98
- });
99
91
  var StyledContentRight = /*#__PURE__*/styled('div')({
100
92
  name: "StyledContentRight",
101
- "class": "sb3k3v1",
93
+ "class": "s190z894",
102
94
  propsAsIs: false
103
95
  });
104
96
  var LeftHelper = /*#__PURE__*/styled('div')({
105
97
  name: "LeftHelper",
106
- "class": "l7hnwwb",
98
+ "class": "lb3k3v1",
107
99
  propsAsIs: false
108
100
  });
109
101
  var StyledTextBefore = /*#__PURE__*/styled('div')({
110
102
  name: "StyledTextBefore",
111
- "class": "smqgwd8",
103
+ "class": "s7hnwwb",
112
104
  propsAsIs: false
113
105
  });
114
106
  var StyledTextAfter = /*#__PURE__*/styled('div')({
115
107
  name: "StyledTextAfter",
116
- "class": "s14qvple",
108
+ "class": "smqgwd8",
117
109
  propsAsIs: false
118
110
  });
119
111
  var StyledOptionalText = /*#__PURE__*/styled('span')({
120
112
  name: "StyledOptionalText",
121
- "class": "s16itze4",
113
+ "class": "s14qvple",
122
114
  propsAsIs: false
123
115
  });
124
116
  var StyledHintWrapper = /*#__PURE__*/styled('div')({
125
117
  name: "StyledHintWrapper",
126
- "class": "s1skqnhr",
118
+ "class": "s16itze4",
127
119
  propsAsIs: false
128
120
  });
129
121
  var HintTargetWrapper = /*#__PURE__*/styled('div')({
130
122
  name: "HintTargetWrapper",
131
- "class": "hgy0im1",
123
+ "class": "h1skqnhr",
132
124
  propsAsIs: false
133
125
  });
134
126
  var HintIconWrapper = /*#__PURE__*/styled('div')({
135
127
  name: "HintIconWrapper",
136
- "class": "h8yezh4",
128
+ "class": "hgy0im1",
137
129
  propsAsIs: false
138
130
  });
139
131
  var StyledIndicator = /*#__PURE__*/styled('div')({
140
132
  name: "StyledIndicator",
141
- "class": "szsveq4",
133
+ "class": "s8yezh4",
142
134
  propsAsIs: false
143
135
  });
144
136
 
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.styles.js","sources":["../../../src/components/TextField/TextField.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { component, mergeConfig } from '../../engines';\nimport { tooltipConfig } from '../Tooltip';\n\nimport { classes, tokens } from './TextField.tokens';\n\nconst mergedConfig = mergeConfig(tooltipConfig);\nconst Tooltip = component(mergedConfig);\n\nexport const Hint = styled(Tooltip)``;\n\nexport const InputWrapper = styled.div`\n position: relative;\n display: flex;\n align-items: center;\n box-sizing: border-box;\n`;\n\nexport const InputLabelWrapper = styled.div`\n flex: 1;\n overflow: scroll;\n position: relative;\n width: 100%;\n display: inline-flex;\n align-items: center;\n\n ::-webkit-scrollbar {\n display: none;\n }\n\n scrollbar-width: none;\n\n overscroll-behavior: contain;\n\n &.${String(classes.hasChips)} {\n height: var(${tokens.chipHeight});\n border-radius: var(${tokens.chipBorderRadius});\n }\n`;\n\nexport const StyledChips = styled.div`\n display: flex;\n gap: var(${tokens.chipGap});\n margin-right: var(${tokens.chipGap});\n user-select: none;\n`;\n\nexport const Input = styled.input`\n box-sizing: border-box;\n appearance: none;\n border: 0;\n padding: 0;\n background-color: transparent;\n outline: none;\n width: 100%;\n z-index: 1;\n\n &::placeholder {\n opacity: 0;\n }\n`;\n\nexport const InputContainer = styled.div`\n position: relative;\n flex: 1;\n min-width: 60%;\n`;\n\nexport const InputPlaceholder = styled.div`\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 0;\n white-space: nowrap;\n\n pointer-events: none;\n user-select: none;\n font: inherit;\n letter-spacing: inherit;\n line-height: inherit;\n\n color: var(${tokens.placeholderColor});\n`;\n\nexport const OuterLabelWrapper = styled.div<{ isInnerLabel: boolean }>`\n display: flex;\n align-items: center;\n\n margin-bottom: ${({ isInnerLabel }) =>\n isInnerLabel ? `var(${tokens.titleCaptionInnerLabelOffset})` : `var(${tokens.labelOffset})`};\n`;\n\nexport const TitleCaption = styled.div`\n display: inline-block;\n margin-left: auto;\n`;\n\nexport const StyledIndicatorWrapper = styled.div`\n position: relative;\n display: inline-flex;\n align-items: center;\n`;\n\nexport const Label = styled.label`\n display: inline-flex;\n`;\n\nconst StyledContentSlot = styled.div<{ isDefaultView: boolean; isClear: boolean }>`\n color: ${({ isDefaultView, isClear }) =>\n !isDefaultView && isClear ? `var(${tokens.clearColor})` : `var(${tokens.contentSlotColor})`};\n line-height: 0;\n`;\n\nexport const StyledContentLeft = styled(StyledContentSlot)`\n margin: var(${tokens.leftContentMargin});\n`;\n\nexport const StyledContentRight = styled.div`\n line-height: 0;\n\n margin: var(${tokens.rightContentMargin});\n color: var(${tokens.contentSlotRightColor}, var(${tokens.contentSlotColor}));\n\n &:hover {\n color: var(${tokens.contentSlotColorHover});\n color: var(${tokens.contentSlotRightColorHover}, var(${tokens.contentSlotColorHover}));\n cursor: pointer;\n }\n\n &:active {\n color: var(${tokens.contentSlotRightColorActive}, var(${tokens.contentSlotColorActive}));\n }\n`;\n\nexport const LeftHelper = styled.div``;\n\nexport const StyledTextBefore = styled.div``;\n\nexport const StyledTextAfter = styled.div``;\n\nexport const StyledOptionalText = styled.span`\n color: var(${tokens.optionalColor});\n`;\n\nexport const StyledHintWrapper = styled.div`\n display: inline-block;\n line-height: 0;\n\n &.${classes.innerLabelPlacement} {\n position: absolute;\n margin: 0;\n inset: var(${tokens.hintInnerLabelPlacementOffset});\n }\n`;\n\nexport const HintTargetWrapper = styled.div`\n color: var(${tokens.hintIconColor});\n\n display: flex;\n justify-content: center;\n align-items: center;\n`;\n\nexport const HintIconWrapper = styled.div``;\n\nexport const StyledIndicator = styled.div`\n position: absolute;\n border-radius: 50%;\n\n background-color: var(${tokens.indicatorColor});\n\n &.${classes.outerLabelPlacement} {\n width: var(${tokens.indicatorSizeOuter});\n height: var(${tokens.indicatorSizeOuter});\n inset: var(${tokens.indicatorLabelPlacementOuter});\n\n &.${classes.requiredAlignRight} {\n inset: var(${tokens.indicatorLabelPlacementOuterRight});\n\n &.${classes.hasHint} {\n right: calc(-1 * var(${tokens.indicatorSizeOuter}));\n }\n }\n }\n\n &.${classes.innerLabelPlacement} {\n width: var(${tokens.indicatorSizeInner});\n height: var(${tokens.indicatorSizeInner});\n inset: var(${tokens.indicatorLabelPlacementInner});\n\n &.${classes.requiredAlignRight} {\n inset: var(${tokens.indicatorLabelPlacementInnerRight});\n }\n }\n`;\n"],"names":["mergedConfig","mergeConfig","tooltipConfig","Tooltip","component","_exp","Hint","styled","name","class","propsAsIs","InputWrapper","InputLabelWrapper","StyledChips","Input","InputContainer","InputPlaceholder","_exp8","_ref","isInnerLabel","concat","tokens","titleCaptionInnerLabelOffset","labelOffset","OuterLabelWrapper","vars","TitleCaption","StyledIndicatorWrapper","Label","_exp9","_ref2","isDefaultView","isClear","clearColor","contentSlotColor","StyledContentSlot","_exp10","StyledContentLeft","StyledContentRight","LeftHelper","StyledTextBefore","StyledTextAfter","StyledOptionalText","StyledHintWrapper","HintTargetWrapper","HintIconWrapper","StyledIndicator"],"mappings":";;;;;AAOA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,aAAa,CAAC,CAAA;AAC/C,IAAMC,OAAO,gBAAGC,SAAS,CAACJ,YAAY,CAAC,CAAA;AAAC,IAAAK,IAAA,GAPtBA,SAOsBA,IAAAA,GAAA;AAAA,EAAA,OAEbF,OAAO,CAAA;AAAA,CAAA,CAAA;AAA3B,IAAMG,IAAI,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,MAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAAW,EAAA;AAE9B,IAAMC,YAAY,gBAAGJ,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,cAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAKjC,EAAA;AAEM,IAAME,iBAAiB,gBAAGL,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,mBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,K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A,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAEvC,EAAA;AAEM,IAAMiC,iBAAiB,gBAAGpC,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,mBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAStC,EAAA;AAEM,IAAMkC,iBAAiB,gBAAGrC,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,mBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAMtC,EAAA;AAEM,IAAMmC,eAAe,gBAAGtC,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,iBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAM,EAAA;AAEpC,IAAMoC,eAAe,gBAAGvC,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,iBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CA6BpC;;;;"}
1
+ {"version":3,"file":"TextField.styles.js","sources":["../../../src/components/TextField/TextField.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { component, mergeConfig } from '../../engines';\nimport { tooltipConfig } from '../Tooltip';\n\nimport { classes, tokens } from './TextField.tokens';\n\nconst mergedConfig = mergeConfig(tooltipConfig);\nconst Tooltip = component(mergedConfig);\n\nexport const Hint = styled(Tooltip)``;\n\nexport const InputWrapper = styled.div`\n position: relative;\n display: flex;\n align-items: center;\n box-sizing: border-box;\n`;\n\nexport const InputLabelWrapper = styled.div`\n flex: 1;\n overflow: scroll;\n position: relative;\n width: 100%;\n display: inline-flex;\n align-items: center;\n\n ::-webkit-scrollbar {\n display: none;\n }\n\n scrollbar-width: none;\n\n overscroll-behavior: contain;\n\n &.${String(classes.hasChips)} {\n height: var(${tokens.chipHeight});\n border-radius: var(${tokens.chipBorderRadius});\n }\n`;\n\nexport const StyledChips = styled.div`\n display: flex;\n gap: var(${tokens.chipGap});\n margin-right: var(${tokens.chipGap});\n user-select: none;\n`;\n\nexport const Input = styled.input`\n box-sizing: border-box;\n appearance: none;\n border: 0;\n padding: 0;\n background-color: transparent;\n outline: none;\n width: 100%;\n z-index: 1;\n\n &::placeholder {\n opacity: 0;\n }\n`;\n\nexport const InputContainer = styled.div`\n position: relative;\n flex: 1;\n min-width: 60%;\n`;\n\nexport const InputPlaceholder = styled.div`\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 0;\n white-space: nowrap;\n\n pointer-events: none;\n user-select: none;\n font: inherit;\n letter-spacing: inherit;\n line-height: inherit;\n\n color: var(${tokens.placeholderColor});\n`;\n\nexport const OuterLabelWrapper = styled.div<{ isInnerLabel: boolean }>`\n display: flex;\n align-items: center;\n\n margin-bottom: ${({ isInnerLabel }) =>\n isInnerLabel ? `var(${tokens.titleCaptionInnerLabelOffset})` : `var(${tokens.labelOffset})`};\n`;\n\nexport const TitleCaption = styled.div`\n display: inline-block;\n margin-left: auto;\n`;\n\nexport const StyledIndicatorWrapper = styled.div`\n position: relative;\n display: inline-flex;\n align-items: center;\n`;\n\nexport const Label = styled.label`\n display: inline-flex;\n`;\n\nexport const StyledContentLeft = styled.div<{ isDefaultView: boolean; isClear: boolean }>`\n margin: var(${tokens.leftContentMargin});\n color: ${({ isDefaultView, isClear }) =>\n !isDefaultView && isClear ? `var(${tokens.clearColor})` : `var(${tokens.contentSlotColor})`};\n line-height: 0;\n`;\n\nexport const StyledContentRight = styled.div`\n line-height: 0;\n\n margin: var(${tokens.rightContentMargin});\n color: var(${tokens.contentSlotRightColor}, var(${tokens.contentSlotColor}));\n\n &:hover {\n color: var(${tokens.contentSlotRightColorHover}, var(${tokens.contentSlotColorHover}));\n cursor: pointer;\n }\n\n &:active {\n color: var(${tokens.contentSlotRightColorActive}, var(${tokens.contentSlotColorActive}));\n }\n`;\n\nexport const LeftHelper = styled.div``;\n\nexport const StyledTextBefore = styled.div``;\n\nexport const StyledTextAfter = styled.div``;\n\nexport const StyledOptionalText = styled.span`\n color: var(${tokens.optionalColor});\n`;\n\nexport const StyledHintWrapper = styled.div`\n display: inline-block;\n line-height: 0;\n\n &.${classes.innerLabelPlacement} {\n position: absolute;\n margin: 0;\n inset: var(${tokens.hintInnerLabelPlacementOffset});\n }\n`;\n\nexport const HintTargetWrapper = styled.div`\n color: var(${tokens.hintIconColor});\n\n display: flex;\n justify-content: center;\n align-items: center;\n`;\n\nexport const HintIconWrapper = styled.div``;\n\nexport const StyledIndicator = styled.div`\n position: absolute;\n border-radius: 50%;\n\n background-color: var(${tokens.indicatorColor});\n\n &.${classes.outerLabelPlacement} {\n width: var(${tokens.indicatorSizeOuter});\n height: var(${tokens.indicatorSizeOuter});\n inset: var(${tokens.indicatorLabelPlacementOuter});\n\n &.${classes.requiredAlignRight} {\n inset: var(${tokens.indicatorLabelPlacementOuterRight});\n\n &.${classes.hasHint} {\n right: calc(-1 * var(${tokens.indicatorSizeOuter}));\n }\n }\n }\n\n &.${classes.innerLabelPlacement} {\n width: var(${tokens.indicatorSizeInner});\n height: var(${tokens.indicatorSizeInner});\n inset: var(${tokens.indicatorLabelPlacementInner});\n\n &.${classes.requiredAlignRight} {\n inset: var(${tokens.indicatorLabelPlacementInnerRight});\n }\n }\n`;\n"],"names":["mergedConfig","mergeConfig","tooltipConfig","Tooltip","component","_exp","Hint","styled","name","class","propsAsIs","InputWrapper","InputLabelWrapper","StyledChips","Input","InputContainer","InputPlaceholder","_exp8","_ref","isInnerLabel","concat","tokens","titleCaptionInnerLabelOffset","labelOffset","OuterLabelWrapper","vars","TitleCaption","StyledIndicatorWrapper","Label","_exp10","_ref2","isDefaultView","isClear","clearColor","contentSlotColor","StyledContentLeft","StyledContentRight","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AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CA6BpC;;;;"}
@@ -9,14 +9,13 @@
9
9
  .t600610{display:inline-block;margin-left:auto;}
10
10
  .suk2zst{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
11
11
  .l1gjsnfi{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
12
- .ssv2kwg{color:var(--ssv2kwg-0);line-height:0;}
13
- .s190z894.ssv2kwg{margin:var(--plasma-textfield__left-content-margin);}
14
- .sb3k3v1{line-height:0;margin:var(--plasma-textfield__right-content-margin);color:var(--plasma-textfield-content-right-slot-color,var(--plasma-textfield-content-slot-color));}.sb3k3v1:hover{color:var(--plasma-textfield-content-slot-color-hover);color:var(--plasma-textfield-content-right-slot-color-hover,var(--plasma-textfield-content-slot-color-hover));cursor:pointer;}.sb3k3v1:active{color:var(--plasma-textfield-content-right-slot-color-active,var(--plasma-textfield-content-slot-color-active));}
12
+ .ssv2kwg{margin:var(--plasma-textfield__left-content-margin);color:var(--ssv2kwg-0);line-height:0;}
13
+ .s190z894{line-height:0;margin:var(--plasma-textfield__right-content-margin);color:var(--plasma-textfield-content-right-slot-color,var(--plasma-textfield-content-slot-color));}.s190z894:hover{color:var(--plasma-textfield-content-right-slot-color-hover,var(--plasma-textfield-content-slot-color-hover));cursor:pointer;}.s190z894:active{color:var(--plasma-textfield-content-right-slot-color-active,var(--plasma-textfield-content-slot-color-active));}
15
14
 
16
15
 
17
16
 
18
- .s16itze4{color:var(--plasma-textfield__optional-color);}
19
- .s1skqnhr{display:inline-block;line-height:0;}.s1skqnhr.label-placement-inner{position:absolute;margin:0;inset:var(--plasma-textfield__hint-inner-label-placement-offset);}
20
- .hgy0im1{color:var(--plasma-textfield__hint-icon-color);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
17
+ .s14qvple{color:var(--plasma-textfield__optional-color);}
18
+ .s16itze4{display:inline-block;line-height:0;}.s16itze4.label-placement-inner{position:absolute;margin:0;inset:var(--plasma-textfield__hint-inner-label-placement-offset);}
19
+ .h1skqnhr{color:var(--plasma-textfield__hint-icon-color);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
21
20
 
22
- .szsveq4{position:absolute;border-radius:50%;background-color:var(--plasma-textfield__indicator-color);}.szsveq4.label-placement-outer{width:var(--plasma-textfield__indicator-size-outer);height:var(--plasma-textfield__indicator-size-outer);inset:var(--plasma-textfield__indicator-placement-outer);}.szsveq4.label-placement-outer.required-align-right{inset:var(--plasma-textfield__indicator-placement-outer-right);}.szsveq4.label-placement-outer.required-align-right.textfield-has-hint{right:calc(-1 * var(--plasma-textfield__indicator-size-outer));}.szsveq4.label-placement-inner{width:var(--plasma-textfield__indicator-size-inner);height:var(--plasma-textfield__indicator-size-inner);inset:var(--plasma-textfield__indicator-placement-inner);}.szsveq4.label-placement-inner.required-align-right{inset:var(--plasma-textfield__indicator-placement-inner-right);}
21
+ .s8yezh4{position:absolute;border-radius:50%;background-color:var(--plasma-textfield__indicator-color);}.s8yezh4.label-placement-outer{width:var(--plasma-textfield__indicator-size-outer);height:var(--plasma-textfield__indicator-size-outer);inset:var(--plasma-textfield__indicator-placement-outer);}.s8yezh4.label-placement-outer.required-align-right{inset:var(--plasma-textfield__indicator-placement-outer-right);}.s8yezh4.label-placement-outer.required-align-right.textfield-has-hint{right:calc(-1 * var(--plasma-textfield__indicator-size-outer));}.s8yezh4.label-placement-inner{width:var(--plasma-textfield__indicator-size-inner);height:var(--plasma-textfield__indicator-size-inner);inset:var(--plasma-textfield__indicator-placement-inner);}.s8yezh4.label-placement-inner.required-align-right{inset:var(--plasma-textfield__indicator-placement-inner-right);}
@@ -10,7 +10,8 @@ var classes = {
10
10
  hasDivider: 'textfield-has-divider',
11
11
  hasHint: 'textfield-has-hint',
12
12
  textFieldGroupItem: 'text-field-group-item',
13
- requiredAlignRight: 'required-align-right'
13
+ requiredAlignRight: 'required-align-right',
14
+ inputWrapper: 'input-wrapper'
14
15
  };
15
16
  var tokens = {
16
17
  color: '--plasma-textfield-color',