@salutejs/plasma-new-hope 0.192.0-canary.1550.11801015277.0 → 0.192.0-dev.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 +22 -21
  2. package/cjs/components/Cell/Cell.js +1 -3
  3. package/cjs/components/Cell/Cell.js.map +1 -1
  4. package/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +1 -7
  5. package/cjs/components/Cell/ui/CellTextbox/CellTextbox.js.map +1 -1
  6. package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +1 -4
  7. package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js.map +1 -1
  8. package/cjs/components/Chip/Chip.js +1 -3
  9. package/cjs/components/Chip/Chip.js.map +1 -1
  10. package/cjs/components/Combobox/ComboboxNew/Combobox.css +22 -21
  11. package/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -0
  12. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  13. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  14. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  15. package/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
  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 +50 -1
  19. package/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js.map +1 -1
  20. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +22 -21
  21. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +22 -21
  22. package/cjs/components/DatePicker/RangeDate/RangeDate.css +22 -21
  23. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +22 -21
  24. package/cjs/components/DatePicker/SingleDate/SingleDate.css +22 -21
  25. package/cjs/components/Dropdown/FloatingPopover.js.map +1 -1
  26. package/cjs/components/Pagination/Pagination.css +37 -86
  27. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +37 -86
  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_1fesyfv.css +3 -0
  31. package/cjs/components/Range/Range.css +22 -21
  32. package/cjs/components/Select/Select.css +34 -83
  33. package/cjs/components/Select/Select.js +139 -179
  34. package/cjs/components/Select/Select.js.map +1 -1
  35. package/cjs/components/Select/Select.styles.js +50 -17
  36. package/cjs/components/Select/Select.styles.js.map +1 -1
  37. package/cjs/components/Select/Select.styles_768h42.css +5 -0
  38. package/cjs/components/Select/Select.tokens.js +78 -122
  39. package/cjs/components/Select/Select.tokens.js.map +1 -1
  40. package/cjs/components/Select/hooks/useKeyboardNavigation.js +72 -19
  41. package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  42. package/cjs/components/Select/hooks/usePathMaps.js +1 -4
  43. package/cjs/components/Select/hooks/usePathMaps.js.map +1 -1
  44. package/cjs/components/Select/reducers/focusedChipIndexReducer.js +39 -0
  45. package/cjs/components/Select/reducers/focusedChipIndexReducer.js.map +1 -0
  46. package/cjs/components/Select/ui/Inner/Inner.css +34 -83
  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 +34 -83
  50. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +12 -20
  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 +51 -34
  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_8oe5oy.css +9 -0
  55. package/cjs/components/Select/ui/Target/Target.css +17 -58
  56. package/cjs/components/Select/ui/Target/Target.js +16 -34
  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 +14 -10
  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_lxxm4p.css +5 -0
  64. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +38 -53
  65. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +97 -84
  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 +103 -38
  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_1damf5p.css +12 -0
  70. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.css +21 -0
  71. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +36 -0
  72. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +1 -0
  73. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +22 -0
  74. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -0
  75. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +1 -0
  76. package/cjs/components/Select/utils/getButtonLabel.js +1 -1
  77. package/cjs/components/Select/utils/getButtonLabel.js.map +1 -1
  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/Select/variations/_size/base.js +9 -0
  81. package/cjs/components/Select/variations/_size/base.js.map +1 -0
  82. package/cjs/components/Select/variations/_size/base_x642ct.css +1 -0
  83. package/cjs/components/Select/variations/_view/base.js +9 -0
  84. package/cjs/components/Select/variations/_view/base.js.map +1 -0
  85. package/cjs/components/Select/variations/_view/base_x642ct.css +1 -0
  86. package/cjs/components/Slider/Slider.css +22 -21
  87. package/cjs/components/Slider/components/Double/Double.css +22 -21
  88. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +22 -21
  89. package/cjs/components/Switch/Switch.css +11 -7
  90. package/cjs/components/Switch/Switch.js +16 -7
  91. package/cjs/components/Switch/Switch.js.map +1 -1
  92. package/cjs/components/Switch/Switch.styles.js +16 -4
  93. package/cjs/components/Switch/Switch.styles.js.map +1 -1
  94. package/cjs/components/Switch/Switch.styles_bei7bh.css +6 -0
  95. package/cjs/components/Switch/Switch.tokens.js +11 -0
  96. package/cjs/components/Switch/Switch.tokens.js.map +1 -1
  97. package/cjs/components/Switch/_focused/base.js +1 -1
  98. package/cjs/components/Switch/_focused/{base_j4murk.css → base_sz3n0x.css} +1 -1
  99. package/cjs/components/Switch/_size/base.js +1 -1
  100. package/cjs/components/Switch/_size/base.js.map +1 -1
  101. package/cjs/components/Switch/_size/base_1tcl212.css +1 -0
  102. package/cjs/components/Switch/_toggleSize/base.js +9 -0
  103. package/cjs/components/Switch/_toggleSize/base.js.map +1 -0
  104. package/cjs/components/Switch/_toggleSize/base_6i0904.css +1 -0
  105. package/cjs/components/Switch/_view/base.js +1 -1
  106. package/cjs/components/Switch/_view/base.js.map +1 -1
  107. package/cjs/components/Switch/_view/base_yxkf3s.css +1 -0
  108. package/cjs/components/TextField/TextField.js +2 -11
  109. package/cjs/components/TextField/TextField.js.map +1 -1
  110. package/cjs/components/TextField/TextField.styles.js +22 -14
  111. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  112. package/{es/components/TextField/TextField.styles_j7dqpn.css → cjs/components/TextField/TextField.styles_grgg7q.css} +7 -6
  113. package/cjs/components/TextField/TextField.tokens.js +1 -2
  114. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  115. package/cjs/components/TextField/ui/Hint/Hint.css +21 -20
  116. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  117. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  118. package/cjs/components/TextField/variations/_clear/base.js +1 -1
  119. package/cjs/components/TextField/variations/_clear/{base_1396md2.css → base_1i91sjp.css} +1 -1
  120. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  121. package/cjs/components/TextField/variations/_label-placement/base_3domm.css +1 -0
  122. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  123. package/cjs/components/TextField/variations/_read-only/{base_1jvcf9a.css → base_17ypmu7.css} +1 -1
  124. package/cjs/components/TextField/variations/_size/base.js +1 -1
  125. package/cjs/components/TextField/variations/_size/{base_1tei47x.css → base_1xdmaqh.css} +1 -1
  126. package/cjs/components/TextField/variations/_view/base.js +1 -1
  127. package/cjs/components/TextField/variations/_view/{base_8ogww5.css → base_qhyte8.css} +1 -1
  128. package/cjs/index.css +72 -53
  129. package/cjs/index.js +0 -2
  130. package/cjs/index.js.map +1 -1
  131. package/cjs/utils/index.js.map +1 -1
  132. package/emotion/cjs/components/Cell/Cell.js +1 -3
  133. package/emotion/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +1 -7
  134. package/emotion/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +1 -4
  135. package/emotion/cjs/components/Chip/Chip.js +1 -3
  136. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -0
  137. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  138. package/emotion/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +5 -19
  139. package/emotion/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  140. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  141. package/emotion/cjs/components/Select/Select.js +136 -177
  142. package/emotion/cjs/components/Select/Select.styles.js +31 -13
  143. package/emotion/cjs/components/Select/Select.tokens.js +60 -125
  144. package/emotion/cjs/components/Select/hooks/useKeyboardNavigation.js +73 -19
  145. package/emotion/cjs/components/Select/hooks/usePathMaps.js +1 -4
  146. package/emotion/cjs/components/Select/reducers/focusedChipIndexReducer.js +38 -0
  147. package/emotion/cjs/components/Select/reducers/index.js +11 -0
  148. package/emotion/cjs/components/Select/ui/Inner/Inner.js +9 -9
  149. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.js +12 -19
  150. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +50 -27
  151. package/emotion/cjs/components/Select/ui/Target/Target.js +18 -38
  152. package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.js +16 -13
  153. package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +6 -6
  154. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -88
  155. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +74 -27
  156. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +37 -0
  157. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +22 -0
  158. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +16 -0
  159. package/emotion/cjs/components/Select/utils/getButtonLabel.js +1 -1
  160. package/emotion/cjs/components/Select/utils/getView.js +2 -2
  161. package/emotion/cjs/components/Select/utils/index.js +1 -22
  162. package/emotion/cjs/components/Select/variations/_size/base.js +8 -0
  163. package/emotion/cjs/components/Select/variations/_size/tokens.json +9 -0
  164. package/emotion/cjs/components/Select/variations/_view/base.js +8 -0
  165. package/emotion/cjs/components/Select/variations/_view/tokens.json +1 -0
  166. package/emotion/cjs/components/Switch/Switch.js +17 -8
  167. package/emotion/cjs/components/Switch/Switch.styles.js +21 -5
  168. package/emotion/cjs/components/Switch/Switch.template-doc.mdx +37 -1
  169. package/emotion/cjs/components/Switch/Switch.tokens.js +11 -0
  170. package/emotion/cjs/components/Switch/_size/base.js +1 -1
  171. package/emotion/cjs/components/Switch/_toggleSize/base.js +10 -0
  172. package/emotion/cjs/components/Switch/_view/base.js +1 -1
  173. package/emotion/cjs/components/TextField/TextField.js +3 -12
  174. package/emotion/cjs/components/TextField/TextField.styles.js +40 -36
  175. package/emotion/cjs/components/TextField/TextField.tokens.js +1 -2
  176. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  177. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  178. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +20 -28
  179. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
  180. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +11 -4
  181. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +7 -1
  182. package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +20 -28
  183. package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
  184. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.config.js +11 -4
  185. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +14 -1
  186. package/emotion/cjs/index.js +0 -11
  187. package/emotion/cjs/utils/index.js +1 -9
  188. package/emotion/es/components/Cell/Cell.js +1 -3
  189. package/emotion/es/components/Cell/ui/CellTextbox/CellTextbox.js +1 -7
  190. package/emotion/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +1 -4
  191. package/emotion/es/components/Chip/Chip.js +1 -3
  192. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +1 -0
  193. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  194. package/emotion/es/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
  195. package/emotion/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  196. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  197. package/emotion/es/components/Select/Select.js +141 -182
  198. package/emotion/es/components/Select/Select.styles.js +30 -12
  199. package/emotion/es/components/Select/Select.tokens.js +60 -125
  200. package/emotion/es/components/Select/hooks/useKeyboardNavigation.js +72 -18
  201. package/emotion/es/components/Select/hooks/usePathMaps.js +1 -4
  202. package/emotion/es/components/Select/reducers/focusedChipIndexReducer.js +32 -0
  203. package/emotion/es/components/Select/reducers/index.js +2 -1
  204. package/emotion/es/components/Select/ui/Inner/Inner.js +10 -10
  205. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.js +15 -22
  206. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.styles.js +49 -26
  207. package/emotion/es/components/Select/ui/Target/Target.js +17 -35
  208. package/emotion/es/components/Select/ui/Target/ui/Button/Button.js +16 -11
  209. package/emotion/es/components/Select/ui/Target/ui/Button/Button.styles.js +6 -6
  210. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -86
  211. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +74 -27
  212. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +28 -0
  213. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +15 -0
  214. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/index.js +1 -0
  215. package/emotion/es/components/Select/utils/getButtonLabel.js +1 -1
  216. package/emotion/es/components/Select/utils/getView.js +2 -2
  217. package/emotion/es/components/Select/utils/index.js +1 -4
  218. package/emotion/es/components/Select/variations/_size/base.js +2 -0
  219. package/emotion/es/components/Select/variations/_size/tokens.json +9 -0
  220. package/emotion/es/components/Select/variations/_view/base.js +2 -0
  221. package/emotion/es/components/Select/variations/_view/tokens.json +1 -0
  222. package/emotion/es/components/Switch/Switch.js +13 -4
  223. package/emotion/es/components/Switch/Switch.styles.js +20 -4
  224. package/emotion/es/components/Switch/Switch.template-doc.mdx +37 -1
  225. package/emotion/es/components/Switch/Switch.tokens.js +11 -0
  226. package/emotion/es/components/Switch/_size/base.js +2 -2
  227. package/emotion/es/components/Switch/_toggleSize/base.js +4 -0
  228. package/emotion/es/components/Switch/_view/base.js +2 -2
  229. package/emotion/es/components/TextField/TextField.js +3 -12
  230. package/emotion/es/components/TextField/TextField.styles.js +40 -36
  231. package/emotion/es/components/TextField/TextField.tokens.js +1 -2
  232. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  233. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  234. package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +21 -29
  235. package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
  236. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.config.js +11 -4
  237. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +7 -1
  238. package/emotion/es/examples/plasma_web/components/Select/Select.config.js +21 -29
  239. package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
  240. package/emotion/es/examples/plasma_web/components/Switch/Switch.config.js +11 -4
  241. package/emotion/es/examples/plasma_web/components/Switch/Switch.stories.tsx +14 -1
  242. package/emotion/es/index.js +0 -1
  243. package/emotion/es/utils/index.js +1 -2
  244. package/es/components/Autocomplete/Autocomplete.css +22 -21
  245. package/es/components/Cell/Cell.js +1 -3
  246. package/es/components/Cell/Cell.js.map +1 -1
  247. package/es/components/Cell/ui/CellTextbox/CellTextbox.js +1 -7
  248. package/es/components/Cell/ui/CellTextbox/CellTextbox.js.map +1 -1
  249. package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +1 -4
  250. package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js.map +1 -1
  251. package/es/components/Chip/Chip.js +1 -3
  252. package/es/components/Chip/Chip.js.map +1 -1
  253. package/es/components/Combobox/ComboboxNew/Combobox.css +22 -21
  254. package/es/components/Combobox/ComboboxNew/Combobox.js +1 -0
  255. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  256. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  257. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  258. package/es/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
  259. package/es/components/Combobox/ComboboxNew/FloatingPopover.js.map +1 -1
  260. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  261. package/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  262. package/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js.map +1 -1
  263. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +22 -21
  264. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +22 -21
  265. package/es/components/DatePicker/RangeDate/RangeDate.css +22 -21
  266. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +22 -21
  267. package/es/components/DatePicker/SingleDate/SingleDate.css +22 -21
  268. package/es/components/Dropdown/FloatingPopover.js.map +1 -1
  269. package/es/components/Pagination/Pagination.css +37 -86
  270. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +37 -86
  271. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  272. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  273. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_1fesyfv.css +3 -0
  274. package/es/components/Range/Range.css +22 -21
  275. package/es/components/Select/Select.css +34 -83
  276. package/es/components/Select/Select.js +142 -182
  277. package/es/components/Select/Select.js.map +1 -1
  278. package/es/components/Select/Select.styles.js +48 -18
  279. package/es/components/Select/Select.styles.js.map +1 -1
  280. package/es/components/Select/Select.styles_768h42.css +5 -0
  281. package/es/components/Select/Select.tokens.js +78 -123
  282. package/es/components/Select/Select.tokens.js.map +1 -1
  283. package/es/components/Select/hooks/useKeyboardNavigation.js +73 -19
  284. package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  285. package/es/components/Select/hooks/usePathMaps.js +1 -4
  286. package/es/components/Select/hooks/usePathMaps.js.map +1 -1
  287. package/es/components/Select/reducers/focusedChipIndexReducer.js +35 -0
  288. package/es/components/Select/reducers/focusedChipIndexReducer.js.map +1 -0
  289. package/es/components/Select/ui/Inner/Inner.css +34 -83
  290. package/es/components/Select/ui/Inner/Inner.js +10 -10
  291. package/es/components/Select/ui/Inner/Inner.js.map +1 -1
  292. package/es/components/Select/ui/Inner/ui/Item/Item.css +34 -83
  293. package/es/components/Select/ui/Inner/ui/Item/Item.js +14 -22
  294. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  295. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +50 -33
  296. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  297. package/es/components/Select/ui/Inner/ui/Item/Item.styles_8oe5oy.css +9 -0
  298. package/es/components/Select/ui/Target/Target.css +17 -58
  299. package/es/components/Select/ui/Target/Target.js +17 -35
  300. package/es/components/Select/ui/Target/Target.js.map +1 -1
  301. package/es/components/Select/ui/Target/ui/Button/Button.css +5 -5
  302. package/es/components/Select/ui/Target/ui/Button/Button.js +15 -11
  303. package/es/components/Select/ui/Target/ui/Button/Button.js.map +1 -1
  304. package/es/components/Select/ui/Target/ui/Button/Button.styles.js +1 -1
  305. package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  306. package/es/components/Select/ui/Target/ui/Button/Button.styles_lxxm4p.css +5 -0
  307. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +38 -53
  308. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -86
  309. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  310. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +95 -39
  311. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  312. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_1damf5p.css +12 -0
  313. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.css +21 -0
  314. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +32 -0
  315. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +1 -0
  316. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +18 -0
  317. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -0
  318. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +1 -0
  319. package/es/components/Select/utils/getButtonLabel.js +1 -1
  320. package/es/components/Select/utils/getButtonLabel.js.map +1 -1
  321. package/es/components/Select/utils/getView.js +2 -2
  322. package/es/components/Select/utils/getView.js.map +1 -1
  323. package/es/components/Select/variations/_size/base.js +5 -0
  324. package/es/components/Select/variations/_size/base.js.map +1 -0
  325. package/es/components/Select/variations/_size/base_x642ct.css +1 -0
  326. package/es/components/Select/variations/_view/base.js +5 -0
  327. package/es/components/Select/variations/_view/base.js.map +1 -0
  328. package/es/components/Select/variations/_view/base_x642ct.css +1 -0
  329. package/es/components/Slider/Slider.css +22 -21
  330. package/es/components/Slider/components/Double/Double.css +22 -21
  331. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +22 -21
  332. package/es/components/Switch/Switch.css +11 -7
  333. package/es/components/Switch/Switch.js +17 -8
  334. package/es/components/Switch/Switch.js.map +1 -1
  335. package/es/components/Switch/Switch.styles.js +15 -5
  336. package/es/components/Switch/Switch.styles.js.map +1 -1
  337. package/es/components/Switch/Switch.styles_bei7bh.css +6 -0
  338. package/es/components/Switch/Switch.tokens.js +11 -0
  339. package/es/components/Switch/Switch.tokens.js.map +1 -1
  340. package/es/components/Switch/_focused/base.js +1 -1
  341. package/es/components/Switch/_focused/{base_j4murk.css → base_sz3n0x.css} +1 -1
  342. package/es/components/Switch/_size/base.js +1 -1
  343. package/es/components/Switch/_size/base.js.map +1 -1
  344. package/es/components/Switch/_size/base_1tcl212.css +1 -0
  345. package/es/components/Switch/_toggleSize/base.js +5 -0
  346. package/es/components/Switch/_toggleSize/base.js.map +1 -0
  347. package/es/components/Switch/_toggleSize/base_6i0904.css +1 -0
  348. package/es/components/Switch/_view/base.js +1 -1
  349. package/es/components/Switch/_view/base.js.map +1 -1
  350. package/es/components/Switch/_view/base_yxkf3s.css +1 -0
  351. package/es/components/TextField/TextField.js +2 -11
  352. package/es/components/TextField/TextField.js.map +1 -1
  353. package/es/components/TextField/TextField.styles.js +22 -14
  354. package/es/components/TextField/TextField.styles.js.map +1 -1
  355. package/{cjs/components/TextField/TextField.styles_j7dqpn.css → es/components/TextField/TextField.styles_grgg7q.css} +7 -6
  356. package/es/components/TextField/TextField.tokens.js +1 -2
  357. package/es/components/TextField/TextField.tokens.js.map +1 -1
  358. package/es/components/TextField/ui/Hint/Hint.css +21 -20
  359. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  360. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  361. package/es/components/TextField/variations/_clear/base.js +1 -1
  362. package/es/components/TextField/variations/_clear/{base_1396md2.css → base_1i91sjp.css} +1 -1
  363. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  364. package/es/components/TextField/variations/_label-placement/base_3domm.css +1 -0
  365. package/es/components/TextField/variations/_read-only/base.js +1 -1
  366. package/es/components/TextField/variations/_read-only/{base_1jvcf9a.css → base_17ypmu7.css} +1 -1
  367. package/es/components/TextField/variations/_size/base.js +1 -1
  368. package/es/components/TextField/variations/_size/{base_1tei47x.css → base_1xdmaqh.css} +1 -1
  369. package/es/components/TextField/variations/_view/base.js +1 -1
  370. package/es/components/TextField/variations/_view/{base_8ogww5.css → base_qhyte8.css} +1 -1
  371. package/es/index.css +72 -53
  372. package/es/index.js +0 -1
  373. package/es/index.js.map +1 -1
  374. package/es/utils/index.js.map +1 -1
  375. package/package.json +2 -2
  376. package/styled-components/cjs/components/Cell/Cell.js +1 -3
  377. package/styled-components/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +1 -7
  378. package/styled-components/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +1 -4
  379. package/styled-components/cjs/components/Chip/Chip.js +1 -3
  380. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -0
  381. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  382. package/styled-components/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +5 -19
  383. package/styled-components/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  384. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  385. package/styled-components/cjs/components/Select/Select.js +136 -177
  386. package/styled-components/cjs/components/Select/Select.styles.js +27 -12
  387. package/styled-components/cjs/components/Select/Select.tokens.js +60 -125
  388. package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +73 -19
  389. package/styled-components/cjs/components/Select/hooks/usePathMaps.js +1 -4
  390. package/styled-components/cjs/components/Select/reducers/focusedChipIndexReducer.js +38 -0
  391. package/styled-components/cjs/components/Select/reducers/index.js +11 -0
  392. package/styled-components/cjs/components/Select/ui/Inner/Inner.js +9 -9
  393. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.js +12 -19
  394. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +26 -20
  395. package/styled-components/cjs/components/Select/ui/Target/Target.js +18 -38
  396. package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.js +16 -13
  397. package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +3 -3
  398. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -88
  399. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +61 -23
  400. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +37 -0
  401. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +21 -0
  402. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +16 -0
  403. package/styled-components/cjs/components/Select/utils/getButtonLabel.js +1 -1
  404. package/styled-components/cjs/components/Select/utils/getView.js +2 -2
  405. package/styled-components/cjs/components/Select/utils/index.js +1 -22
  406. package/styled-components/cjs/components/Select/variations/_size/base.js +8 -0
  407. package/styled-components/cjs/components/Select/variations/_size/tokens.json +9 -0
  408. package/styled-components/cjs/components/Select/variations/_view/base.js +8 -0
  409. package/styled-components/cjs/components/Select/variations/_view/tokens.json +1 -0
  410. package/styled-components/cjs/components/Switch/Switch.js +17 -8
  411. package/styled-components/cjs/components/Switch/Switch.styles.js +11 -5
  412. package/styled-components/cjs/components/Switch/Switch.template-doc.mdx +37 -1
  413. package/styled-components/cjs/components/Switch/Switch.tokens.js +11 -0
  414. package/styled-components/cjs/components/Switch/_size/base.js +1 -1
  415. package/styled-components/cjs/components/Switch/_toggleSize/base.js +10 -0
  416. package/styled-components/cjs/components/Switch/_view/base.js +1 -1
  417. package/styled-components/cjs/components/TextField/TextField.js +2 -11
  418. package/styled-components/cjs/components/TextField/TextField.styles.js +15 -12
  419. package/styled-components/cjs/components/TextField/TextField.tokens.js +1 -2
  420. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  421. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +1 -1
  422. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +20 -28
  423. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
  424. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +9 -2
  425. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +7 -1
  426. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +20 -28
  427. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
  428. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.config.js +9 -2
  429. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +14 -1
  430. package/styled-components/cjs/index.js +0 -11
  431. package/styled-components/cjs/utils/index.js +1 -9
  432. package/styled-components/es/components/Cell/Cell.js +1 -3
  433. package/styled-components/es/components/Cell/ui/CellTextbox/CellTextbox.js +1 -7
  434. package/styled-components/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +1 -4
  435. package/styled-components/es/components/Chip/Chip.js +1 -3
  436. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +1 -0
  437. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  438. package/styled-components/es/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
  439. package/styled-components/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  440. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  441. package/styled-components/es/components/Select/Select.js +141 -182
  442. package/styled-components/es/components/Select/Select.styles.js +26 -11
  443. package/styled-components/es/components/Select/Select.tokens.js +60 -125
  444. package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +72 -18
  445. package/styled-components/es/components/Select/hooks/usePathMaps.js +1 -4
  446. package/styled-components/es/components/Select/reducers/focusedChipIndexReducer.js +32 -0
  447. package/styled-components/es/components/Select/reducers/index.js +2 -1
  448. package/styled-components/es/components/Select/ui/Inner/Inner.js +10 -10
  449. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.js +15 -22
  450. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.styles.js +25 -19
  451. package/styled-components/es/components/Select/ui/Target/Target.js +17 -35
  452. package/styled-components/es/components/Select/ui/Target/ui/Button/Button.js +16 -11
  453. package/styled-components/es/components/Select/ui/Target/ui/Button/Button.styles.js +3 -3
  454. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -86
  455. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +61 -23
  456. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +28 -0
  457. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +14 -0
  458. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/index.js +1 -0
  459. package/styled-components/es/components/Select/utils/getButtonLabel.js +1 -1
  460. package/styled-components/es/components/Select/utils/getView.js +2 -2
  461. package/styled-components/es/components/Select/utils/index.js +1 -4
  462. package/styled-components/es/components/Select/variations/_size/base.js +2 -0
  463. package/styled-components/es/components/Select/variations/_size/tokens.json +9 -0
  464. package/styled-components/es/components/Select/variations/_view/base.js +2 -0
  465. package/styled-components/es/components/Select/variations/_view/tokens.json +1 -0
  466. package/styled-components/es/components/Switch/Switch.js +13 -4
  467. package/styled-components/es/components/Switch/Switch.styles.js +10 -4
  468. package/styled-components/es/components/Switch/Switch.template-doc.mdx +37 -1
  469. package/styled-components/es/components/Switch/Switch.tokens.js +11 -0
  470. package/styled-components/es/components/Switch/_size/base.js +2 -2
  471. package/styled-components/es/components/Switch/_toggleSize/base.js +4 -0
  472. package/styled-components/es/components/Switch/_view/base.js +2 -2
  473. package/styled-components/es/components/TextField/TextField.js +2 -11
  474. package/styled-components/es/components/TextField/TextField.styles.js +15 -12
  475. package/styled-components/es/components/TextField/TextField.tokens.js +1 -2
  476. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  477. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +1 -1
  478. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +21 -29
  479. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
  480. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.config.js +9 -2
  481. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +7 -1
  482. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +21 -29
  483. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
  484. package/styled-components/es/examples/plasma_web/components/Switch/Switch.config.js +9 -2
  485. package/styled-components/es/examples/plasma_web/components/Switch/Switch.stories.tsx +14 -1
  486. package/styled-components/es/index.js +0 -1
  487. package/styled-components/es/utils/index.js +1 -2
  488. package/types/components/Attach/ui/Button/Button.styles.d.ts +2 -2
  489. package/types/components/Attach/ui/IconButton/IconButton.styles.d.ts +4 -4
  490. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +16 -16
  491. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  492. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +2 -2
  493. package/types/components/Cell/Cell.d.ts.map +1 -1
  494. package/types/components/Cell/ui/CellTextbox/CellTextbox.d.ts.map +1 -1
  495. package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.d.ts.map +1 -1
  496. package/types/components/Chip/Chip.d.ts.map +1 -1
  497. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  498. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +1 -0
  499. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  500. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +1 -1
  501. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  502. package/types/components/Combobox/ComboboxNew/FloatingPopover.d.ts.map +1 -1
  503. package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts +3 -1
  504. package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts.map +1 -1
  505. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +16 -16
  506. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  507. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +16 -16
  508. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  509. package/types/components/EmptyState/EmptyState.styles.d.ts +2 -2
  510. package/types/components/Notification/Notification.styles.d.ts +2 -2
  511. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +2 -2
  512. package/types/components/Pagination/Pagination.styles.d.ts +4 -4
  513. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +40 -40
  514. package/types/components/Panel/ui/PanelHeader/PanelHeader.styles.d.ts +2 -2
  515. package/types/components/Range/Range.styles.d.ts +16 -16
  516. package/types/components/Range/Range.styles.d.ts.map +1 -1
  517. package/types/components/Select/Select.d.ts +11 -5
  518. package/types/components/Select/Select.d.ts.map +1 -1
  519. package/types/components/Select/Select.styles.d.ts +9 -0
  520. package/types/components/Select/Select.styles.d.ts.map +1 -1
  521. package/types/components/Select/Select.tokens.d.ts +58 -121
  522. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  523. package/types/components/Select/Select.types.d.ts +20 -41
  524. package/types/components/Select/Select.types.d.ts.map +1 -1
  525. package/types/components/Select/hooks/useKeyboardNavigation.d.ts +11 -5
  526. package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -1
  527. package/types/components/Select/hooks/usePathMaps.d.ts +1 -2
  528. package/types/components/Select/hooks/usePathMaps.d.ts.map +1 -1
  529. package/types/components/Select/index.d.ts +1 -1
  530. package/types/components/Select/index.d.ts.map +1 -1
  531. package/types/components/Select/reducers/focusedChipIndexReducer.d.ts +11 -0
  532. package/types/components/Select/reducers/focusedChipIndexReducer.d.ts.map +1 -0
  533. package/types/components/Select/reducers/index.d.ts +1 -0
  534. package/types/components/Select/reducers/index.d.ts.map +1 -1
  535. package/types/components/Select/ui/Inner/Inner.d.ts.map +1 -1
  536. package/types/components/Select/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  537. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts +2 -32
  538. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
  539. package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts +0 -9
  540. package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts.map +1 -1
  541. package/types/components/Select/ui/Target/Target.d.ts +2 -14
  542. package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
  543. package/types/components/Select/ui/Target/Target.types.d.ts +9 -10
  544. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  545. package/types/components/Select/ui/Target/ui/Button/Button.d.ts +1 -1
  546. package/types/components/Select/ui/Target/ui/Button/Button.d.ts.map +1 -1
  547. package/types/components/Select/ui/Target/ui/Button/Button.styles.d.ts +2 -2
  548. package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts +1 -1
  549. package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts.map +1 -1
  550. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts +1 -1
  551. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  552. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +60 -628
  553. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  554. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +4 -1
  555. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  556. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts +9 -0
  557. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts.map +1 -0
  558. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts +3 -0
  559. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts.map +1 -0
  560. package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts +2 -0
  561. package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts.map +1 -0
  562. package/types/components/Select/utils/getView.d.ts +1 -1
  563. package/types/components/Select/utils/getView.d.ts.map +1 -1
  564. package/types/components/Select/utils/index.d.ts +0 -3
  565. package/types/components/Select/utils/index.d.ts.map +1 -1
  566. package/types/components/Select/variations/_size/base.d.ts +2 -0
  567. package/types/components/Select/variations/_size/base.d.ts.map +1 -0
  568. package/types/components/Select/variations/_view/base.d.ts +2 -0
  569. package/types/components/Select/variations/_view/base.d.ts.map +1 -0
  570. package/types/components/Slider/components/Double/Double.styles.d.ts +16 -16
  571. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  572. package/types/components/Switch/Switch.d.ts +3 -0
  573. package/types/components/Switch/Switch.d.ts.map +1 -1
  574. package/types/components/Switch/Switch.styles.d.ts +2 -0
  575. package/types/components/Switch/Switch.styles.d.ts.map +1 -1
  576. package/types/components/Switch/Switch.tokens.d.ts +9 -0
  577. package/types/components/Switch/Switch.tokens.d.ts.map +1 -1
  578. package/types/components/Switch/Switch.types.d.ts +10 -2
  579. package/types/components/Switch/Switch.types.d.ts.map +1 -1
  580. package/types/components/Switch/_size/base.d.ts.map +1 -1
  581. package/types/components/Switch/_toggleSize/base.d.ts +2 -0
  582. package/types/components/Switch/_toggleSize/base.d.ts.map +1 -0
  583. package/types/components/Switch/_view/base.d.ts.map +1 -1
  584. package/types/components/TextField/TextField.d.ts.map +1 -1
  585. package/types/components/TextField/TextField.styles.d.ts +3 -1
  586. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  587. package/types/components/TextField/TextField.tokens.d.ts +0 -1
  588. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  589. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts +1 -3
  590. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
  591. package/types/components/Toast/Toast.styles.d.ts +2 -2
  592. package/types/components/Toast/utils.d.ts +2 -2
  593. package/types/examples/plasma_b2c/components/Attach/Attach.d.ts +8 -8
  594. package/types/examples/plasma_b2c/components/Button/Button.d.ts +2 -2
  595. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +24 -24
  596. package/types/examples/plasma_b2c/components/IconButton/IconButton.d.ts +2 -2
  597. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +16 -16
  598. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
  599. package/types/examples/plasma_b2c/components/Radiobox/Radiobox.d.ts +1 -1
  600. package/types/examples/plasma_b2c/components/Radiobox/Radiobox.d.ts.map +1 -1
  601. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts +7 -15
  602. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
  603. package/types/examples/plasma_b2c/components/Select/Select.d.ts +46 -53
  604. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  605. package/types/examples/plasma_b2c/components/Switch/Switch.config.d.ts +7 -0
  606. package/types/examples/plasma_b2c/components/Switch/Switch.config.d.ts.map +1 -1
  607. package/types/examples/plasma_b2c/components/Switch/Switch.d.ts +6 -0
  608. package/types/examples/plasma_b2c/components/Switch/Switch.d.ts.map +1 -1
  609. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +16 -16
  610. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +16 -16
  611. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  612. package/types/examples/plasma_web/components/Attach/Attach.d.ts +8 -8
  613. package/types/examples/plasma_web/components/Button/Button.d.ts +2 -2
  614. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +24 -24
  615. package/types/examples/plasma_web/components/IconButton/IconButton.d.ts +2 -2
  616. package/types/examples/plasma_web/components/Mask/Mask.d.ts +16 -16
  617. package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
  618. package/types/examples/plasma_web/components/Radiobox/Radiobox.d.ts +1 -1
  619. package/types/examples/plasma_web/components/Radiobox/Radiobox.d.ts.map +1 -1
  620. package/types/examples/plasma_web/components/Select/Select.config.d.ts +7 -15
  621. package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
  622. package/types/examples/plasma_web/components/Select/Select.d.ts +46 -53
  623. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
  624. package/types/examples/plasma_web/components/Switch/Switch.config.d.ts +7 -0
  625. package/types/examples/plasma_web/components/Switch/Switch.config.d.ts.map +1 -1
  626. package/types/examples/plasma_web/components/Switch/Switch.d.ts +6 -0
  627. package/types/examples/plasma_web/components/Switch/Switch.d.ts.map +1 -1
  628. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +16 -16
  629. package/types/examples/plasma_web/components/TextField/TextField.d.ts +16 -16
  630. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  631. package/types/index.d.ts +0 -1
  632. package/types/index.d.ts.map +1 -1
  633. package/types/types/index.d.ts +0 -2
  634. package/types/types/index.d.ts.map +1 -1
  635. package/types/utils/index.d.ts +0 -1
  636. package/types/utils/index.d.ts.map +1 -1
  637. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_10zfeps.css +0 -3
  638. package/cjs/components/Select/FloatingPopover.js +0 -87
  639. package/cjs/components/Select/FloatingPopover.js.map +0 -1
  640. package/cjs/components/Select/Select.styles_1p5c9p3.css +0 -2
  641. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles_1x4bzlm.css +0 -9
  642. package/cjs/components/Select/ui/Target/ui/Button/Button.styles_10g64me.css +0 -5
  643. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_q4kc1p.css +0 -3
  644. package/cjs/components/Select/utils/getFallbackPlacements.js +0 -15
  645. package/cjs/components/Select/utils/getFallbackPlacements.js.map +0 -1
  646. package/cjs/components/Select/utils/getItemId.js +0 -10
  647. package/cjs/components/Select/utils/getItemId.js.map +0 -1
  648. package/cjs/components/Select/utils/getPlacement.js +0 -13
  649. package/cjs/components/Select/utils/getPlacement.js.map +0 -1
  650. package/cjs/components/Switch/Switch.styles_1kk0qzz.css +0 -4
  651. package/cjs/components/Switch/_size/base_1rjzpi4.css +0 -1
  652. package/cjs/components/Switch/_view/base_1mtyz12.css +0 -1
  653. package/cjs/components/TextField/variations/_label-placement/base_gttvto.css +0 -1
  654. package/cjs/utils/fixedForwardRef.js +0 -12
  655. package/cjs/utils/fixedForwardRef.js.map +0 -1
  656. package/emotion/cjs/components/Select/FloatingPopover.js +0 -91
  657. package/emotion/cjs/components/Select/utils/getFallbackPlacements.js +0 -14
  658. package/emotion/cjs/components/Select/utils/getItemId.js +0 -9
  659. package/emotion/cjs/components/Select/utils/getPlacement.js +0 -12
  660. package/emotion/cjs/types/DistributiveOmit.js +0 -5
  661. package/emotion/cjs/types/DistributivePick.js +0 -5
  662. package/emotion/cjs/utils/fixedForwardRef.js +0 -11
  663. package/emotion/es/components/Select/FloatingPopover.js +0 -84
  664. package/emotion/es/components/Select/utils/getFallbackPlacements.js +0 -8
  665. package/emotion/es/components/Select/utils/getItemId.js +0 -3
  666. package/emotion/es/components/Select/utils/getPlacement.js +0 -6
  667. package/emotion/es/types/DistributiveOmit.js +0 -1
  668. package/emotion/es/types/DistributivePick.js +0 -1
  669. package/emotion/es/utils/fixedForwardRef.js +0 -4
  670. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_10zfeps.css +0 -3
  671. package/es/components/Select/FloatingPopover.js +0 -83
  672. package/es/components/Select/FloatingPopover.js.map +0 -1
  673. package/es/components/Select/Select.styles_1p5c9p3.css +0 -2
  674. package/es/components/Select/ui/Inner/ui/Item/Item.styles_1x4bzlm.css +0 -9
  675. package/es/components/Select/ui/Target/ui/Button/Button.styles_10g64me.css +0 -5
  676. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_q4kc1p.css +0 -3
  677. package/es/components/Select/utils/getFallbackPlacements.js +0 -11
  678. package/es/components/Select/utils/getFallbackPlacements.js.map +0 -1
  679. package/es/components/Select/utils/getItemId.js +0 -6
  680. package/es/components/Select/utils/getItemId.js.map +0 -1
  681. package/es/components/Select/utils/getPlacement.js +0 -9
  682. package/es/components/Select/utils/getPlacement.js.map +0 -1
  683. package/es/components/Switch/Switch.styles_1kk0qzz.css +0 -4
  684. package/es/components/Switch/_size/base_1rjzpi4.css +0 -1
  685. package/es/components/Switch/_view/base_1mtyz12.css +0 -1
  686. package/es/components/TextField/variations/_label-placement/base_gttvto.css +0 -1
  687. package/es/utils/fixedForwardRef.js +0 -8
  688. package/es/utils/fixedForwardRef.js.map +0 -1
  689. package/styled-components/cjs/components/Select/FloatingPopover.js +0 -91
  690. package/styled-components/cjs/components/Select/utils/getFallbackPlacements.js +0 -14
  691. package/styled-components/cjs/components/Select/utils/getItemId.js +0 -9
  692. package/styled-components/cjs/components/Select/utils/getPlacement.js +0 -12
  693. package/styled-components/cjs/types/DistributiveOmit.js +0 -5
  694. package/styled-components/cjs/types/DistributivePick.js +0 -5
  695. package/styled-components/cjs/utils/fixedForwardRef.js +0 -11
  696. package/styled-components/es/components/Select/FloatingPopover.js +0 -84
  697. package/styled-components/es/components/Select/utils/getFallbackPlacements.js +0 -8
  698. package/styled-components/es/components/Select/utils/getItemId.js +0 -3
  699. package/styled-components/es/components/Select/utils/getPlacement.js +0 -6
  700. package/styled-components/es/types/DistributiveOmit.js +0 -1
  701. package/styled-components/es/types/DistributivePick.js +0 -1
  702. package/styled-components/es/utils/fixedForwardRef.js +0 -4
  703. package/types/components/Select/FloatingPopover.d.ts +0 -5
  704. package/types/components/Select/FloatingPopover.d.ts.map +0 -1
  705. package/types/components/Select/utils/getFallbackPlacements.d.ts +0 -4
  706. package/types/components/Select/utils/getFallbackPlacements.d.ts.map +0 -1
  707. package/types/components/Select/utils/getItemId.d.ts +0 -2
  708. package/types/components/Select/utils/getItemId.d.ts.map +0 -1
  709. package/types/components/Select/utils/getPlacement.d.ts +0 -4
  710. package/types/components/Select/utils/getPlacement.d.ts.map +0 -1
  711. package/types/types/DistributiveOmit.d.ts +0 -2
  712. package/types/types/DistributiveOmit.d.ts.map +0 -1
  713. package/types/types/DistributivePick.d.ts +0 -2
  714. package/types/types/DistributivePick.d.ts.map +0 -1
  715. package/types/utils/fixedForwardRef.d.ts +0 -3
  716. package/types/utils/fixedForwardRef.d.ts.map +0 -1
@@ -1,78 +1,143 @@
1
- import './Textfield.styles_q4kc1p.css';
1
+ import './Textfield.styles_1damf5p.css';
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  var react = require('@linaria/react');
7
7
  var Select_tokens = require('../../../../Select.tokens.js');
8
+ var isEmpty = require('../../../../../../utils/isEmpty.js');
8
9
  var IconDisclosureDownCentered = require('../../../../../_Icon/Icons/IconDisclosureDownCentered.js');
9
10
  var common = require('../../../../../../engines/common.js');
10
- var TextField$1 = require('../../../../../TextField/TextField.js');
11
+ var Button$1 = require('../../../../../Button/Button.js');
11
12
 
12
- var mergedConfig = /*#__PURE__*/common.mergeConfig(TextField$1.textFieldConfig);
13
- var TextField = /*#__PURE__*/common.component(mergedConfig);
14
- var _exp = function _exp() {
15
- return TextField;
16
- };
17
- var _exp17 = function _exp17() {
13
+ var mergedButtonConfig = /*#__PURE__*/common.mergeConfig(Button$1.buttonConfig);
14
+ var Button = /*#__PURE__*/common.component(mergedButtonConfig);
15
+ var _exp2 = function _exp2() {
18
16
  return function (_ref) {
19
17
  var opened = _ref.opened;
20
- return opened ? "var(".concat(Select_tokens.tokens.textFieldBackgroundColorFocus, ")") : "var(".concat(Select_tokens.tokens.textFieldBackgroundColor, ")");
18
+ return opened ? "var(".concat(Select_tokens.tokens.targetTextfieldBackgroundColorOpened, ")") : "var(".concat(Select_tokens.tokens.targetTextfieldBackgroundColor, ")");
21
19
  };
22
20
  };
23
- var _exp19 = function _exp19() {
21
+ var _exp3 = function _exp3() {
24
22
  return function (_ref2) {
25
- var opened = _ref2.opened;
26
- return opened ? "var(".concat(Select_tokens.tokens.textFieldPlaceholderColorFocus, ")") : "var(".concat(Select_tokens.tokens.textFieldPlaceholderColor, ")");
23
+ var value = _ref2.value;
24
+ return Array.isArray(value) && !isEmpty.isEmpty(value) ? "0 var(".concat(Select_tokens.tokens.targetTextfieldChipPadding, ")") : "0 var(".concat(Select_tokens.tokens.targetTextfieldPadding, ")");
27
25
  };
28
26
  };
29
- var _exp25 = function _exp25() {
27
+ var _exp4 = function _exp4() {
30
28
  return function (_ref3) {
31
29
  var opened = _ref3.opened;
32
- return opened ? "var(".concat(Select_tokens.tokens.textFieldBorderColorFocus, ")") : "var(".concat(Select_tokens.tokens.textFieldBorderColor, ")");
30
+ return opened ? "var(".concat(Select_tokens.tokens.targetTextfieldBorderSize, ") solid var(").concat(Select_tokens.tokens.targetTextfieldBorderOpenedColor, ")") : "var(".concat(Select_tokens.tokens.targetTextfieldBorderSize, ") solid var(").concat(Select_tokens.tokens.targetTextfieldBorderColor, ")");
33
31
  };
34
32
  };
35
- var StyledTextField = /*#__PURE__*/react.styled(_exp())({
36
- name: "StyledTextField",
37
- "class": "s1yhwv5r",
38
- propsAsIs: true,
33
+ var _exp6 = function _exp6() {
34
+ return function (_ref4) {
35
+ var opened = _ref4.opened;
36
+ return opened ? "var(".concat(Select_tokens.tokens.targetTextfieldBorderSize, ") solid var(").concat(Select_tokens.tokens.targetTextfieldBorderOpenedColor, ")") : "var(".concat(Select_tokens.tokens.targetTextfieldBorderSize, ") solid var(").concat(Select_tokens.tokens.targetTextfieldBorderColorHover, ")");
37
+ };
38
+ };
39
+ var TextfieldWrapper = /*#__PURE__*/react.styled('div')({
40
+ name: "TextfieldWrapper",
41
+ "class": "t1yhwv5r",
42
+ propsAsIs: false,
39
43
  vars: {
40
- "s1yhwv5r-0": [/*#__PURE__*/_exp17()],
41
- "s1yhwv5r-1": [/*#__PURE__*/_exp19()],
42
- "s1yhwv5r-2": [/*#__PURE__*/_exp25()]
44
+ "t1yhwv5r-0": [/*#__PURE__*/_exp2()],
45
+ "t1yhwv5r-1": [/*#__PURE__*/_exp3()],
46
+ "t1yhwv5r-2": [/*#__PURE__*/_exp4()],
47
+ "t1yhwv5r-3": [/*#__PURE__*/_exp6()]
43
48
  }
44
49
  });
45
- var _exp206 = function _exp206() {
46
- return function (_ref4) {
47
- var disabled = _ref4.disabled;
48
- return disabled ? 'inherit' : 'pointer';
49
- };
50
+ var _exp8 = function _exp8() {
51
+ return Button;
50
52
  };
51
- var _exp208 = function _exp208() {
53
+ var _exp16 = function _exp16() {
52
54
  return function (_ref5) {
53
- var disabled = _ref5.disabled;
54
- return disabled ? "var(".concat(Select_tokens.tokens.disclosureIconColor, ")") : "var(".concat(Select_tokens.tokens.disclosureIconColorHover, ")");
55
+ var renderTarget = _ref5.renderTarget;
56
+ return renderTarget ? 'auto' : "var(".concat(Select_tokens.tokens.targetHeight, ")");
55
57
  };
56
58
  };
57
- var IconArrowWrapper = /*#__PURE__*/react.styled('div')({
58
- name: "IconArrowWrapper",
59
- "class": "i7x5udn",
60
- propsAsIs: false,
59
+ var StyledButton = /*#__PURE__*/react.styled(_exp8())({
60
+ name: "StyledButton",
61
+ "class": "s7x5udn",
62
+ propsAsIs: true,
61
63
  vars: {
62
- "i7x5udn-0": [/*#__PURE__*/_exp206()],
63
- "i7x5udn-1": [/*#__PURE__*/_exp208()]
64
+ "s7x5udn-0": [/*#__PURE__*/_exp16()]
64
65
  }
65
66
  });
66
- var _exp209 = function _exp209() {
67
+ var _exp41 = function _exp41() {
67
68
  return IconDisclosureDownCentered.IconDisclosureDownCentered;
68
69
  };
69
- var StyledArrow = /*#__PURE__*/react.styled(_exp209())({
70
+ var StyledArrow = /*#__PURE__*/react.styled(_exp41())({
70
71
  name: "StyledArrow",
71
72
  "class": "s2oocb4",
72
73
  propsAsIs: true
73
74
  });
75
+ var IconArrowWrapper = /*#__PURE__*/react.styled('div')({
76
+ name: "IconArrowWrapper",
77
+ "class": "i1kxyc50",
78
+ propsAsIs: false
79
+ });
80
+ var Wrapper = /*#__PURE__*/react.styled('div')({
81
+ name: "Wrapper",
82
+ "class": "wqzfsxn",
83
+ propsAsIs: false
84
+ });
85
+ var _exp47 = function _exp47() {
86
+ return function (_ref6) {
87
+ var multiselect = _ref6.multiselect,
88
+ value = _ref6.value;
89
+ return "calc(".concat(Select_tokens.constants.focusSize, " + ").concat(multiselect && value && value.toString().length > 0 ? "var(".concat(Select_tokens.tokens.focusOffset, ")") : 0, ")");
90
+ };
91
+ };
92
+ var ChipWrapper = /*#__PURE__*/react.styled('div')({
93
+ name: "ChipWrapper",
94
+ "class": "c1cgo38i",
95
+ propsAsIs: false,
96
+ vars: {
97
+ "c1cgo38i-0": [/*#__PURE__*/_exp47()]
98
+ }
99
+ });
100
+ var Label = /*#__PURE__*/react.styled('label')({
101
+ name: "Label",
102
+ "class": "l9ikjwc",
103
+ propsAsIs: false
104
+ });
105
+ var Placeholder = /*#__PURE__*/react.styled('div')({
106
+ name: "Placeholder",
107
+ "class": "p1jn3k4y",
108
+ propsAsIs: false
109
+ });
110
+ var InnerLabelWrapper = /*#__PURE__*/react.styled('div')({
111
+ name: "InnerLabelWrapper",
112
+ "class": "i8xlj9b",
113
+ propsAsIs: false
114
+ });
115
+ var InnerLabel = /*#__PURE__*/react.styled('label')({
116
+ name: "InnerLabel",
117
+ "class": "iu6fefp",
118
+ propsAsIs: false
119
+ });
120
+ var ContentLeftWrapper = /*#__PURE__*/react.styled('div')({
121
+ name: "ContentLeftWrapper",
122
+ "class": "c1ox0htq",
123
+ propsAsIs: false
124
+ });
125
+ var Value = /*#__PURE__*/react.styled('span')({
126
+ name: "Value",
127
+ "class": "v1kam5d",
128
+ propsAsIs: false
129
+ });
74
130
 
131
+ exports.ChipWrapper = ChipWrapper;
132
+ exports.ContentLeftWrapper = ContentLeftWrapper;
75
133
  exports.IconArrowWrapper = IconArrowWrapper;
134
+ exports.InnerLabel = InnerLabel;
135
+ exports.InnerLabelWrapper = InnerLabelWrapper;
136
+ exports.Label = Label;
137
+ exports.Placeholder = Placeholder;
76
138
  exports.StyledArrow = StyledArrow;
77
- exports.StyledTextField = StyledTextField;
139
+ exports.StyledButton = StyledButton;
140
+ exports.TextfieldWrapper = TextfieldWrapper;
141
+ exports.Value = Value;
142
+ exports.Wrapper = Wrapper;
78
143
  //# sourceMappingURL=Textfield.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Textfield.styles.js","sources":["../../../../../../../src/components/Select/ui/Target/ui/Textfield/Textfield.styles.tsx"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { component, mergeConfig } from '../../../../../../engines';\nimport { textFieldConfig, textFieldTokens } from '../../../../../TextField';\nimport { tokens, classes } from '../../../../Select.tokens';\nimport { IconDisclosureDownCentered } from '../../../../../_Icon';\n\nconst mergedConfig = mergeConfig(textFieldConfig);\nconst TextField = component(mergedConfig);\n\nexport const StyledTextField = styled(TextField)<{ opened: boolean }>`\n ${textFieldTokens.color}: var(${tokens.textFieldColor});\n ${textFieldTokens.backgroundColor}: var(${tokens.textFieldBackgroundColor});\n ${textFieldTokens.borderColor}: var(${tokens.textFieldBorderColor});\n ${textFieldTokens.placeholderColor}: var(${tokens.textFieldPlaceholderColor});\n ${textFieldTokens.labelColor}: var(${tokens.textFieldLabelColor});\n ${textFieldTokens.leftHelperColor}: var(${tokens.textFieldLeftHelperColor});\n\n ${textFieldTokens.colorReadOnly}: var(${tokens.textFieldColor});\n ${textFieldTokens.backgroundColorReadOnly}: ${({ opened }) =>\n opened ? `var(${tokens.textFieldBackgroundColorFocus})` : `var(${tokens.textFieldBackgroundColor})`};\n ${textFieldTokens.placeholderColorReadOnly}: ${({ opened }) =>\n opened ? `var(${tokens.textFieldPlaceholderColorFocus})` : `var(${tokens.textFieldPlaceholderColor})`};\n ${textFieldTokens.leftHelperColorReadOnly}: var(${tokens.textFieldLeftHelperColor});\n ${textFieldTokens.labelColorReadOnly}: var(${tokens.textFieldLabelColor});\n ${textFieldTokens.borderColorReadOnly}: ${({ opened }) =>\n opened ? `var(${tokens.textFieldBorderColorFocus})` : `var(${tokens.textFieldBorderColor})`};\n\n ${textFieldTokens.placeholderColor}: var(${tokens.textFieldPlaceholderColor});\n\n ${textFieldTokens.borderColorHover}: var(${tokens.textFieldBorderColorHover});\n ${textFieldTokens.borderColorFocus}: var(${tokens.textFieldBorderColorFocus});\n\n ${textFieldTokens.optionalColor}: var(${tokens.textFieldOptionalColor});\n\n ${textFieldTokens.height}: var(${tokens.textFieldHeight});\n ${textFieldTokens.borderWidth}: var(${tokens.textFieldBorderWidth});\n ${textFieldTokens.borderRadius}: var(${tokens.textFieldBorderRadius});\n\n ${textFieldTokens.padding}: var(${tokens.textFieldPadding});\n ${textFieldTokens.paddingWithChips}: var(${tokens.textFieldPaddingWithChips});\n\n ${textFieldTokens.leftContentMargin}: var(${tokens.textFieldLeftContentMargin});\n ${textFieldTokens.rightContentMargin}: var(${tokens.textFieldRightContentMargin});\n\n ${textFieldTokens.fontFamily}: var(${tokens.textFieldFontFamily});\n ${textFieldTokens.fontStyle}: var(${tokens.textFieldFontStyle});\n ${textFieldTokens.fontSize}: var(${tokens.textFieldFontSize});\n ${textFieldTokens.fontWeight}: var(${tokens.textFieldFontWeight});\n ${textFieldTokens.letterSpacing}: var(${tokens.textFieldLetterSpacing});\n ${textFieldTokens.lineHeight}: var(${tokens.textFieldLineHeight});\n\n ${textFieldTokens.contentSlotColor}: var(${tokens.textFieldContentSlotColor});\n ${textFieldTokens.contentSlotColorHover}: var(${tokens.textFieldContentSlotColorHover});\n ${textFieldTokens.contentSlotColorActive}: var(${tokens.textFieldContentSlotColorActive});\n\n ${textFieldTokens.contentSlotRightColor}: var(${tokens.textFieldContentSlotRightColor});\n ${textFieldTokens.contentSlotRightColorHover}: var(${tokens.textFieldContentSlotRightColorHover});\n ${textFieldTokens.contentSlotRightColorActive}: var(${tokens.textFieldContentSlotRightColorActive});\n\n ${textFieldTokens.labelOffset}: var(${tokens.textFieldLabelOffset});\n\n ${textFieldTokens.labelFontFamily}: var(${tokens.textFieldLabelFontFamily});\n ${textFieldTokens.labelFontStyle}: var(${tokens.textFieldLabelFontStyle});\n ${textFieldTokens.labelFontSize}: var(${tokens.textFieldLabelFontSize});\n ${textFieldTokens.labelFontWeight}: var(${tokens.textFieldLabelFontWeight});\n ${textFieldTokens.labelLetterSpacing}: var(${tokens.textFieldLabelLetterSpacing});\n ${textFieldTokens.labelLineHeight}: var(${tokens.textFieldLabelLineHeight});\n\n ${textFieldTokens.labelInnerFontFamily}: var(${tokens.textFieldLabelInnerFontFamily});\n ${textFieldTokens.labelInnerFontStyle}: var(${tokens.textFieldLabelInnerFontStyle});\n ${textFieldTokens.labelInnerFontSize}: var(${tokens.textFieldLabelInnerFontSize});\n ${textFieldTokens.labelInnerFontWeight}: var(${tokens.textFieldLabelInnerFontWeight});\n ${textFieldTokens.labelInnerLetterSpacing}: var(${tokens.textFieldLabelInnerLetterSpacing});\n ${textFieldTokens.labelInnerLineHeight}: var(${tokens.textFieldLabelInnerLineHeight});\n\n ${textFieldTokens.labelInnerPadding}: var(${tokens.textFieldLabelInnerPadding});\n ${textFieldTokens.contentLabelInnerPadding}: var(${tokens.textFieldContentLabelInnerPadding});\n\n ${textFieldTokens.titleCaptionColor}: var(${tokens.textFieldTitleCaptionColor});\n ${textFieldTokens.titleCaptionInnerLabelOffset}: var(${tokens.textFieldTitleCaptionInnerLabelOffset});\n\n ${textFieldTokens.titleCaptionFontFamily}: var(${tokens.textFieldTitleCaptionFontFamily});\n ${textFieldTokens.titleCaptionFontStyle}: var(${tokens.textFieldTitleCaptionFontStyle});\n ${textFieldTokens.titleCaptionFontSize}: var(${tokens.textFieldTitleCaptionFontSize});\n ${textFieldTokens.titleCaptionFontWeight}: var(${tokens.textFieldTitleCaptionFontWeight});\n ${textFieldTokens.titleCaptionLetterSpacing}: var(${tokens.textFieldTitleCaptionLetterSpacing});\n ${textFieldTokens.titleCaptionLineHeight}: var(${tokens.textFieldTitleCaptionLineHeight});\n\n ${textFieldTokens.leftHelperOffset}: var(${tokens.textFieldLeftHelperOffset});\n\n ${textFieldTokens.leftHelperFontFamily}: var(${tokens.textFieldLeftHelperFontFamily});\n ${textFieldTokens.leftHelperFontStyle}: var(${tokens.textFieldLeftHelperFontStyle});\n ${textFieldTokens.leftHelperFontSize}: var(${tokens.textFieldLeftHelperFontSize});\n ${textFieldTokens.leftHelperFontWeight}: var(${tokens.textFieldLeftHelperFontWeight});\n ${textFieldTokens.leftHelperLetterSpacing}: var(${tokens.textFieldLeftHelperLetterSpacing});\n ${textFieldTokens.leftHelperLineHeight}: var(${tokens.textFieldLeftHelperLineHeight});\n\n ${textFieldTokens.textBeforeColor}: var(${tokens.textFieldTextBeforeColor});\n ${textFieldTokens.textAfterColor}: var(${tokens.textFieldTextAfterColor});\n ${textFieldTokens.textBeforeMargin}: var(${tokens.textFieldTextBeforeMargin});\n ${textFieldTokens.textAfterMargin}: var(${tokens.textFieldTextAfterMargin});\n\n ${textFieldTokens.disabledOpacity}: var(${tokens.textFieldDisabledOpacity});\n\n ${textFieldTokens.chipHeight}: var(${tokens.textFieldChipHeight});\n ${textFieldTokens.chipBorderRadius}: var(${tokens.textFieldChipBorderRadius});\n ${textFieldTokens.chipGap}: var(${tokens.textFieldChipGap});\n ${textFieldTokens.chipColor}: var(${tokens.textFieldChipColor});\n ${textFieldTokens.chipColorHover}: var(${tokens.textFieldChipColorHover});\n ${textFieldTokens.chipScaleHover}: var(${tokens.textFieldChipScaleHover});\n ${textFieldTokens.chipBackground}: var(${tokens.textFieldChipBackground});\n ${textFieldTokens.chipBackgroundActive}: var(${tokens.textFieldChipBackgroundActive});\n ${textFieldTokens.chipColorActive}: var(${tokens.textFieldChipColorActive});\n ${textFieldTokens.chipScaleActive}: var(${tokens.textFieldChipScaleActive});\n ${textFieldTokens.chipCloseIconColor}: var(${tokens.textFieldChipCloseIconColor});\n ${textFieldTokens.chipOutlineSize}: var(${tokens.textFieldChipOutlineSize});\n ${textFieldTokens.chipWidth}: var(${tokens.textFieldChipWidth});\n ${textFieldTokens.chipPaddingTop}: var(${tokens.textFieldChipPaddingTop});\n ${textFieldTokens.chipPaddingRight}: var(${tokens.textFieldChipPaddingRight});\n ${textFieldTokens.chipPaddingBottom}: var(${tokens.textFieldChipPaddingBottom});\n ${textFieldTokens.chipPaddingLeft}: var(${tokens.textFieldChipPaddingLeft});\n ${textFieldTokens.chipCloseIconSize}: var(${tokens.textFieldChipCloseIconSize});\n ${textFieldTokens.chipFontFamily}: var(${tokens.textFieldChipFontFamily});\n ${textFieldTokens.chipFontSize}: var(${tokens.textFieldChipFontSize});\n ${textFieldTokens.chipFontStyle}: var(${tokens.textFieldChipFontStyle});\n ${textFieldTokens.chipFontWeight}: var(${tokens.textFieldChipFontWeight});\n ${textFieldTokens.chipLetterSpacing}: var(${tokens.textFieldChipLetterSpacing});\n ${textFieldTokens.chipLineHeight}: var(${tokens.textFieldChipLineHeight});\n ${textFieldTokens.chipColorReadOnly}: var(${tokens.textFieldChipColor});\n ${textFieldTokens.chipColorReadOnlyHover}: var(${tokens.textFieldChipColor});\n ${textFieldTokens.chipBackgroundReadOnly}: var(${tokens.textFieldChipBackground});\n ${textFieldTokens.chipBackgroundReadOnlyHover}: var(${tokens.textFieldChipBackgroundHover});\n ${textFieldTokens.chipClearContentMarginLeft}: var(${tokens.textFieldChipClearContentMarginLeft});\n ${textFieldTokens.chipClearContentMarginRight}: var(${tokens.textFieldChipClearContentMarginRight});\n\n ${textFieldTokens.focusColor}: var(${tokens.textFieldFocusColor});\n\n /* TODO: #1544 */\n & div.input-wrapper:focus-within {\n background-color: var(${tokens.textFieldBackgroundColorFocus});\n }\n`;\n\nexport const IconArrowWrapper = styled.div<{ disabled: boolean }>`\n line-height: 0;\n color: var(${tokens.disclosureIconColor});\n cursor: ${({ disabled }) => (disabled ? 'inherit' : 'pointer')};\n\n .${classes.arrowInverse} {\n transform: rotate(-180deg);\n }\n\n &:hover,\n &:active {\n color: ${({ disabled }) =>\n disabled ? `var(${tokens.disclosureIconColor})` : `var(${tokens.disclosureIconColorHover})`};\n }\n`;\n\nexport const StyledArrow = styled(IconDisclosureDownCentered)``;\n"],"names":["mergedConfig","mergeConfig","textFieldConfig","TextField","component","_exp","_exp17","_ref","opened","concat","tokens","textFieldBackgroundColorFocus","textFieldBackgroundColor","_exp19","_ref2","textFieldPlaceholderColorFocus","textFieldPlaceholderColor","_exp25","_ref3","textFieldBorderColorFocus","textFieldBorderColor","StyledTextField","styled","name","class","propsAsIs","vars","_exp206","_ref4","disabled","_exp208","_ref5","disclosureIconColor","disclosureIconColorHover","IconArrowWrapper","_exp209","IconDisclosureDownCentered","StyledArrow"],"mappings":"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"}
1
+ {"version":3,"file":"Textfield.styles.js","sources":["../../../../../../../src/components/Select/ui/Target/ui/Textfield/Textfield.styles.tsx"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { isEmpty } from '../../../../../../utils';\nimport { applyEllipsis, addFocus } from '../../../../../../mixins';\nimport { IconDisclosureDownCentered } from '../../../../../_Icon';\nimport { component, mergeConfig } from '../../../../../../engines';\nimport { buttonConfig, buttonTokens } from '../../../../../Button';\nimport { tokens, classes, constants } from '../../../../Select.tokens';\nimport type { MergedSelectProps } from '../../../../Select.types';\n\nconst mergedButtonConfig = mergeConfig(buttonConfig);\nconst Button = component(mergedButtonConfig);\n\nexport const TextfieldWrapper = styled.div<{ opened: boolean; value: MergedSelectProps['value'] }>`\n display: inline;\n\n .${classes.textfieldTarget} {\n transition: 100ms;\n background: ${({ opened }) =>\n opened\n ? `var(${tokens.targetTextfieldBackgroundColorOpened})`\n : `var(${tokens.targetTextfieldBackgroundColor})`};\n padding: ${({ value }) =>\n Array.isArray(value) && !isEmpty(value)\n ? `0 var(${tokens.targetTextfieldChipPadding})`\n : `0 var(${tokens.targetTextfieldPadding})`};\n border: ${({ opened }) =>\n opened\n ? `var(${tokens.targetTextfieldBorderSize}) solid var(${tokens.targetTextfieldBorderOpenedColor})`\n : `var(${tokens.targetTextfieldBorderSize}) solid var(${tokens.targetTextfieldBorderColor})`};\n }\n\n .${classes.textfieldTarget}:hover {\n transition: 100ms;\n border: ${({ opened }) =>\n opened\n ? `var(${tokens.targetTextfieldBorderSize}) solid var(${tokens.targetTextfieldBorderOpenedColor})`\n : `var(${tokens.targetTextfieldBorderSize}) solid var(${tokens.targetTextfieldBorderColorHover})`};\n }\n\n .${classes.selectWithoutBoxShadow}::before {\n box-shadow: none !important;\n }\n`;\n\nexport const StyledButton = styled(Button)<{ renderTarget: boolean }>`\n ${buttonTokens.buttonColor}: var(${constants.textfieldTargetColor});\n ${buttonTokens.buttonColorHover}: var(${constants.textfieldTargetColor});\n ${buttonTokens.buttonColorActive}: var(${constants.textfieldTargetColor});\n ${buttonTokens.buttonHeight}: ${({ renderTarget }) => (renderTarget ? 'auto' : `var(${tokens.targetHeight})`)};\n ${buttonTokens.buttonWidth}: 100%;\n ${buttonTokens.buttonPadding}: var(${tokens.targetTextfieldPadding});\n ${buttonTokens.buttonRadius}: var(${tokens.borderRadius});\n ${buttonTokens.buttonFontFamily}: var(${tokens.fontFamily});\n ${buttonTokens.buttonFontSize}: var(${tokens.fontSize});\n ${buttonTokens.buttonFontStyle}: var(${tokens.fontStyle});\n ${buttonTokens.buttonFontWeight}:var(${tokens.fontWeight});\n ${buttonTokens.buttonLetterSpacing}: var(${tokens.fontLetterSpacing});\n ${buttonTokens.buttonLineHeight}: var(${tokens.fontLineHeight});\n ${buttonTokens.buttonDisabledOpacity}: ${constants.opacity};\n ${buttonTokens.buttonFocusColor}: var(${constants.focusColor});\n box-shadow: inset 0 0 0 ${tokens.targetTextfieldBorderSize} var(${tokens.targetTextfieldBorderColor});\n text-align: left;\n\n ${addFocus({\n outlineOffset: tokens.targetTextfieldBorderSize,\n outlineSize: constants.focusSize,\n outlineRadius: `calc(var(${tokens.borderRadius}) - ${tokens.targetTextfieldBorderSize})`,\n outlineColor: `var(${constants.focusColor})`,\n })}\n`;\n\nexport const StyledArrow = styled(IconDisclosureDownCentered)``;\n\nexport const IconArrowWrapper = styled.div`\n line-height: 0;\n margin: var(${tokens.targetTextfieldArrowMargin});\n color: var(${tokens.targetTextfieldArrowColor});\n\n &:hover {\n color: var(${tokens.targetTextfieldArrowColorHover});\n }\n\n &:active {\n color: var(${tokens.targetTextfieldArrowColorActive});\n }\n`;\n\nexport const Wrapper = styled.div`\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n .${classes.arrowInverse} {\n transform: rotate(-180deg);\n }\n`;\n\nexport const ChipWrapper = styled.div<{\n multiselect: MergedSelectProps['multiselect'];\n value: MergedSelectProps['value'];\n}>`\n width: 100%;\n display: flex;\n min-width: 0;\n padding: ${({ multiselect, value }) =>\n `calc(${constants.focusSize} + ${\n multiselect && value && value.toString().length > 0 ? `var(${tokens.focusOffset})` : 0\n })`};\n gap: 0.25rem;\n overflow-x: scroll;\n border-top-right-radius: var(${tokens.chipBorderRadius});\n border-bottom-right-radius: var(${tokens.chipBorderRadius});\n\n -ms-overflow-style: none;\n scrollbar-width: none;\n\n &::-webkit-scrollbar {\n display: none;\n }\n`;\n\nexport const Label = styled.label`\n color: var(${constants.textfieldInnerLabelColor});\n font-family: var(${tokens.fontFamily});\n font-size: var(${tokens.fontSize});\n font-style: var(${tokens.fontStyle});\n font-weight: var(${tokens.fontWeight});\n letter-spacing: var(${tokens.fontLetterSpacing});\n line-height: var(${tokens.fontLineHeight});\n`;\n\nexport const Placeholder = styled.div`\n color: var(${constants.textfieldPlaceholderColor});\n font-family: var(${tokens.fontFamily});\n font-size: var(${tokens.fontSize});\n font-style: var(${tokens.fontStyle});\n font-weight: var(${tokens.fontWeight});\n letter-spacing: var(${tokens.fontLetterSpacing});\n line-height: var(${tokens.fontLineHeight});\n`;\n\nexport const InnerLabelWrapper = styled.div`\n display: flex;\n flex-direction: column;\n align-items: start;\n row-gap: var(${tokens.innerLabelGap});\n font-family: var(${tokens.fontFamily});\n font-size: var(${tokens.fontSize});\n font-style: var(${tokens.fontStyle});\n font-weight: var(${tokens.fontWeight});\n letter-spacing: var(${tokens.fontLetterSpacing});\n line-height: var(${tokens.fontLineHeight});\n`;\n\nexport const InnerLabel = styled.label`\n color: var(${constants.textfieldInnerLabelColor});\n font-family: var(${constants.fontFamily});\n font-size: var(${constants.fontSize});\n font-style: var(${constants.fontStyle});\n font-weight: var(${constants.fontWeight});\n letter-spacing: var(${constants.fontLetterSpacing});\n line-height: var(${constants.fontLineHeight});\n text-align: left;\n`;\n\nexport const ContentLeftWrapper = styled.div`\n flex: none;\n margin-left: -0.125rem;\n margin-right: 0.375rem;\n line-height: 0;\n color: var(${tokens.contentLeftColor}, --text-secondary);\n`;\n\nexport const Value = styled.span`\n ${applyEllipsis()}\n`;\n"],"names":["mergedButtonConfig","mergeConfig","buttonConfig","Button","component","_exp2","_ref","opened","concat","tokens","targetTextfieldBackgroundColorOpened","targetTextfieldBackgroundColor","_exp3","_ref2","value","Array","isArray","isEmpty","targetTextfieldChipPadding","targetTextfieldPadding","_exp4","_ref3","targetTextfieldBorderSize","targetTextfieldBorderOpenedColor","targetTextfieldBorderColor","_exp6","_ref4","targetTextfieldBorderColorHover","TextfieldWrapper","styled","name","class","propsAsIs","vars","_exp8","_exp16","_ref5","renderTarget","targetHeight","StyledButton","_exp41","IconDisclosureDownCentered","StyledArrow","IconArrowWrapper","Wrapper","_exp47","_ref6","multiselect","constants","focusSize","toString","length","focusOffset","ChipWrapper","Label","Placeholder","InnerLabelWrapper","InnerLabel","ContentLeftWrapper","Value"],"mappings":"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"}
@@ -0,0 +1,12 @@
1
+ .t1yhwv5r{display:inline;}.t1yhwv5r .select-textfield-target{-webkit-transition:100ms;transition:100ms;background:var(--t1yhwv5r-0);padding:var(--t1yhwv5r-1);border:var(--t1yhwv5r-2);}.t1yhwv5r .select-textfield-target:hover{-webkit-transition:100ms;transition:100ms;border:var(--t1yhwv5r-3);}.t1yhwv5r .select-without-box-shadow::before{box-shadow:none !important;}
2
+ .s7x5udn{--plasma-button-color:var(--text-primary);--plasma-button-color-hover:var(--text-primary);--plasma-button-color-active:var(--text-primary);--plasma-button-height:var(--s7x5udn-0);--plasma-button-width:100%;--plasma-button-padding:var(--plasma-select-target-textfield-padding);--plasma-button-radius:var(--plasma-select-border-radius);--plasma-button-font-family:var(--plasma-select-font-family);--plasma-button-font-size:var(--plasma-select-font-size);--plasma-button-font-style:var(--plasma-select-font-style);--plasma-button-font-weight:var(--plasma-select-font-weight);--plasma-button-letter-spacing:var(--plasma-select-font-letter-spacing);--plasma-button-line-height:var(--plasma-select-font-line-height);--plasma-button-disabled-opacity:0.4;--plasma-button-focus-color:var(--surface-accent);box-shadow:inset 0 0 0 --plasma-select-target-textfield-border-size var(--plasma-select-target-textfield-border-color);text-align:left;position:relative;}.s7x5udn::before{content:'';position:absolute;top:--plasma-select-target-textfield-border-size;left:--plasma-select-target-textfield-border-size;right:--plasma-select-target-textfield-border-size;bottom:--plasma-select-target-textfield-border-size;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:calc(var(--plasma-select-border-radius) - --plasma-select-target-textfield-border-size);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.s7x5udn.focus-visible:focus::before,.s7x5udn[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--surface-accent);}
3
+
4
+ .i1kxyc50{line-height:0;margin:var(--plasma-select-target-textfield-arrow-margin);color:var(--plasma-select-target-textfield-arrow-color);}.i1kxyc50:hover{color:var(--plasma-select-target-textfield-arrow-color-hover);}.i1kxyc50:active{color:var(--plasma-select-target-textfield-arrow-color-active);}
5
+ .wqzfsxn{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}.wqzfsxn .arrow-inverse{-webkit-transform:rotate(-180deg);-ms-transform:rotate(-180deg);transform:rotate(-180deg);}
6
+ .c1cgo38i{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;min-width:0;padding:var(--c1cgo38i-0);gap:0.25rem;overflow-x:scroll;border-top-right-radius:var(--plasma-select-chip-border-radius);border-bottom-right-radius:var(--plasma-select-chip-border-radius);-ms-overflow-style:none;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;}.c1cgo38i::-webkit-scrollbar{display:none;}
7
+ .l9ikjwc{color:var(--text-secondary);font-family:var(--plasma-select-font-family);font-size:var(--plasma-select-font-size);font-style:var(--plasma-select-font-style);font-weight:var(--plasma-select-font-weight);-webkit-letter-spacing:var(--plasma-select-font-letter-spacing);-moz-letter-spacing:var(--plasma-select-font-letter-spacing);-ms-letter-spacing:var(--plasma-select-font-letter-spacing);letter-spacing:var(--plasma-select-font-letter-spacing);line-height:var(--plasma-select-font-line-height);}
8
+ .p1jn3k4y{color:var(--text-secondary);font-family:var(--plasma-select-font-family);font-size:var(--plasma-select-font-size);font-style:var(--plasma-select-font-style);font-weight:var(--plasma-select-font-weight);-webkit-letter-spacing:var(--plasma-select-font-letter-spacing);-moz-letter-spacing:var(--plasma-select-font-letter-spacing);-ms-letter-spacing:var(--plasma-select-font-letter-spacing);letter-spacing:var(--plasma-select-font-letter-spacing);line-height:var(--plasma-select-font-line-height);}
9
+ .i8xlj9b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:start;-webkit-box-align:start;-ms-flex-align:start;align-items:start;row-gap:var(--plasma-select-inner-label-gap);font-family:var(--plasma-select-font-family);font-size:var(--plasma-select-font-size);font-style:var(--plasma-select-font-style);font-weight:var(--plasma-select-font-weight);-webkit-letter-spacing:var(--plasma-select-font-letter-spacing);-moz-letter-spacing:var(--plasma-select-font-letter-spacing);-ms-letter-spacing:var(--plasma-select-font-letter-spacing);letter-spacing:var(--plasma-select-font-letter-spacing);line-height:var(--plasma-select-font-line-height);}
10
+ .iu6fefp{color:var(--text-secondary);font-family:var(--plasma-typo-body-xs-font-family);font-size:var(--plasma-typo-body-xs-font-size);font-style:var(--plasma-typo-body-xs-font-style);font-weight:var(--plasma-typo-body-xs-font-weight);-webkit-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);-moz-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);-ms-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);letter-spacing:var(--plasma-typo-body-xs-letter-spacing);line-height:var(--plasma-typo-body-xs-line-height);text-align:left;}
11
+ .c1ox0htq{-webkit-flex:none;-ms-flex:none;flex:none;margin-left:-0.125rem;margin-right:0.375rem;line-height:0;color:var(--plasma-select-content-left-color,--text-secondary);}
12
+ .v1kam5d{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
@@ -0,0 +1,21 @@
1
+ .IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
2
+
3
+ .base_1lwlv7t_b13tc97x__334a4e59{color:var(--plasma-chip-color);background-color:var(--plasma-chip-background);}.base_1lwlv7t_b13tc97x__334a4e59:hover{color:var(--plasma-chip-color-hover);background-color:var(--plasma-chip-background-hover);scale:var(--plasma-chip-scale-hover);}.base_1lwlv7t_b13tc97x__334a4e59:active{color:var(--plasma-chip-color-active);background-color:var(--plasma-chip-background-active);scale:var(--plasma-chip-scale-active);}
4
+
5
+ .base_fcgkys_b1pde8v1__0b4d127a{font-family:var(--plasma-chip-font-family);font-size:var(--plasma-chip-font-size);font-style:var(--plasma-chip-font-style);font-weight:var(--plasma-chip-font-weight);-webkit-letter-spacing:var(--plasma-chip-letter-spacing);-moz-letter-spacing:var(--plasma-chip-letter-spacing);-ms-letter-spacing:var(--plasma-chip-letter-spacing);letter-spacing:var(--plasma-chip-letter-spacing);line-height:var(--plasma-chip-lineheight);border-radius:var(--plasma-chip-border-radius);width:var(--plasma-chip-width);height:var(--plasma-chip-height);padding-top:var(--plasma-chip-padding-top);padding-right:var(--plasma-chip-padding-right);padding-bottom:var(--plasma-chip-padding-bottom);padding-left:var(--plasma-chip-padding-left);}.base_fcgkys_b1pde8v1__0b4d127a:hover{scale:var(--plasma-chip-scale-hover);}.base_fcgkys_b1pde8v1__0b4d127a:active{scale:var(--plasma-chip-scale-active);}
6
+
7
+ .base_rmcs0j_b16ulzzx__f8cae226[disabled]{opacity:var(--plasma-chip-disabled-opacity);cursor:not-allowed;}.base_rmcs0j_b16ulzzx__f8cae226[disabled]:hover,.base_rmcs0j_b16ulzzx__f8cae226[disabled]:active{scale:none;color:var(--plasma-chip-color);background-color:var(--plasma-chip-background);}
8
+
9
+ .base_1nfit77_b10y1phq__6aaec899[readonly]{color:var(--plasma-chip-color-readonly);background-color:var(--plasma-chip-background-readonly);}.base_1nfit77_b10y1phq__6aaec899[readonly]:hover,.base_1nfit77_b10y1phq__6aaec899[readonly]:active{scale:none;cursor:default;color:var(--plasma-chip-color-readonly-hover);background-color:var(--plasma-chip-background-readonly-hover);}
10
+
11
+ .base_kgtz8x_b16hf96__46a206b1{--plasma_private-chip-outline-size:var(--plasma-chip-outline-size,0.125rem);position:relative;}.base_kgtz8x_b16hf96__46a206b1:focus{outline:none;}.base_kgtz8x_b16hf96__46a206b1::before{content:'';position:absolute;top:calc(-1 * var(--plasma_private-chip-outline-size));left:calc(-1 * var(--plasma_private-chip-outline-size));right:calc(-1 * var(--plasma_private-chip-outline-size));bottom:calc(-1 * var(--plasma_private-chip-outline-size));z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-chip-outline-size) solid transparent;border-radius:calc(var(--plasma-chip-border-radius) + var(--plasma_private-chip-outline-size));-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.base_kgtz8x_b16hf96__46a206b1.base_kgtz8x_focusVisible__46a206b1:focus::before,.base_kgtz8x_b16hf96__46a206b1[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-chip-outline-size) var(--plasma-chip-focus-color);}
12
+
13
+ .base_3kce4h_bvcavwi__c6ad5ca5.base_3kce4h_chipPilled__c6ad5ca5{border-radius:var(--plasma-chip-pilled-border-radius);}
14
+
15
+ .Chip_styles_1mwwhiw_bol5daj__07da4d18{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;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);}
16
+ .Chip_styles_1mwwhiw_sj20on5__07da4d18{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-left:var(--plasma-chip-left-content-margin-left);margin-right:var(--plasma-chip-left-content-margin-right);}
17
+ .Chip_styles_1mwwhiw_s1ror4o9__07da4d18{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
18
+ .Chip_styles_1mwwhiw_swddmyi__07da4d18{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-left:var(--plasma-chip-right-content-margin-left);margin-right:var(--plasma-chip-right-content-margin-right);}
19
+ .Chip_styles_1mwwhiw_s1pcflhj__07da4d18{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-left:var(--plasma-chip-clear-content-margin-left);margin-right:var(--plasma-chip-clear-content-margin-right);color:var(--plasma-chip-close-icon-color);}
20
+
21
+ .Chip_styles_1a752pa_scwjjdn__1a6784c0{--plasma-chip-color:var(--plasma-select-chip-color);--plasma-chip-color-hover:var(--plasma-select-chip-color);--plasma-chip-color-active:var(--plasma-select-chip-color);--plasma-chip-background:var(--plasma-select-chip-background);--plasma-chip-background-hover:var(--plasma-select-chip-background-hover);--plasma-chip-background-active:var(--plasma-select-chip-background-active);--plasma-chip-border-radius:var(--plasma-select-chip-border-radius);--plasma-chip-height:var(--plasma-select-chip-height);--plasma-chip-padding-right:var(--plasma-select-chip-padding-right);--plasma-chip-padding-left:var(--plasma-select-chip-padding-left);--plasma-chip-font-family:var(--plasma-select-font-family);--plasma-chip-font-size:var(--plasma-select-font-size);--plasma-chip-font-style:var(--plasma-select-font-style);--plasma-chip-font-weight:var(--plasma-select-font-weight);--plasma-chip-letter-spacing:var(--plasma-select-font-letter-spacing);--plasma-chip-lineheight:var(--plasma-select-font-line-height);--plasma-chip-clear-content-margin-left:var(--plasma-select-chip-clear-content-margin-left);--plasma-chip-clear-content-margin-right:var(--plasma-select-chip-clear-content-margin-right);--plasma-chip-close-icon-size:var(--plasma-select-chip-close-icon-size);--plasma-chip-close-icon-color:var(--plasma-select-chip-color);--plasma-chip-focus-color:var(--surface-accent);position:relative;}.Chip_styles_1a752pa_scwjjdn__1a6784c0::before{content:'';position:absolute;top:calc(var(--plasma-select-focus-offset) * -1);left:calc(var(--plasma-select-focus-offset) * -1);right:calc(var(--plasma-select-focus-offset) * -1);bottom:calc(var(--plasma-select-focus-offset) * -1);z-index:1;display:block;box-sizing:content-box;border:0.125rem solid transparent;border-radius:calc(var(--plasma-select-chip-border-radius) + var(--plasma-select-focus-offset));-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.Chip_styles_1a752pa_scwjjdn__1a6784c0.Chip_styles_1a752pa_selectChipIsFocused__1a6784c0:before{outline:none;box-shadow:0 0 0 0.0625rem var(--surface-accent);}
@@ -0,0 +1,36 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+ var Select_tokens = require('../../../../../../Select.tokens.js');
7
+ var Chip_styles = require('./Chip.styles.js');
8
+
9
+ var _div;
10
+ var Chip = function Chip(_ref) {
11
+ var text = _ref.text,
12
+ onClick = _ref.onClick,
13
+ focused = _ref.focused,
14
+ isTargetAmount = _ref.isTargetAmount;
15
+ var ref = React.useRef(null);
16
+ React.useEffect(function () {
17
+ if (focused && ref.current) {
18
+ ref.current.scrollIntoView({
19
+ behavior: 'smooth',
20
+ block: 'center',
21
+ inline: 'center'
22
+ });
23
+ }
24
+ }, [focused]);
25
+ return /*#__PURE__*/React.createElement(Chip_styles.StyledChip, {
26
+ contentClearButton: isTargetAmount && (_div || (_div = /*#__PURE__*/React.createElement("div", null))),
27
+ tabIndex: -1,
28
+ onClick: onClick,
29
+ text: "".concat(text),
30
+ className: focused ? Select_tokens.classes.selectChipIsFocused : undefined,
31
+ ref: ref
32
+ });
33
+ };
34
+
35
+ exports.Chip = Chip;
36
+ //# sourceMappingURL=Chip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Chip.js","sources":["../../../../../../../../../src/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.tsx"],"sourcesContent":["import React, { useEffect, useRef } from 'react';\n\nimport { SelectProps } from '../../../../../../Select.types';\nimport { classes } from '../../../../../../Select.tokens';\n\nimport { StyledChip } from './Chip.styles';\n\nexport const Chip: React.FC<{\n text: string;\n onClick?: (e: React.MouseEvent<HTMLElement>) => void;\n focused?: boolean;\n isTargetAmount?: SelectProps['isTargetAmount'];\n}> = ({ text, onClick, focused, isTargetAmount }) => {\n const ref = useRef<HTMLButtonElement | null>(null);\n\n useEffect(() => {\n if (focused && ref.current) {\n ref.current.scrollIntoView({\n behavior: 'smooth',\n block: 'center',\n inline: 'center',\n });\n }\n }, [focused]);\n\n return (\n <StyledChip\n contentClearButton={isTargetAmount && <div />}\n tabIndex={-1}\n onClick={onClick}\n text={`${text}`}\n className={focused ? classes.selectChipIsFocused : undefined}\n ref={ref}\n />\n );\n};\n"],"names":["Chip","_ref","text","onClick","focused","isTargetAmount","ref","useRef","useEffect","current","scrollIntoView","behavior","block","inline","React","createElement","StyledChip","contentClearButton","_div","tabIndex","concat","className","classes","selectChipIsFocused","undefined"],"mappings":";;;;;;;;;IAOaA,IAKX,GAAG,SALQA,IAKXA,CAAAC,IAAA,EAAmD;AAAA,EAAA,IAA7CC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAAEC,OAAO,GAAAF,IAAA,CAAPE,OAAO;IAAEC,OAAO,GAAAH,IAAA,CAAPG,OAAO;IAAEC,cAAc,GAAAJ,IAAA,CAAdI,cAAc,CAAA;AAC1C,EAAA,IAAMC,GAAG,GAAGC,YAAM,CAA2B,IAAI,CAAC,CAAA;AAElDC,EAAAA,eAAS,CAAC,YAAM;AACZ,IAAA,IAAIJ,OAAO,IAAIE,GAAG,CAACG,OAAO,EAAE;AACxBH,MAAAA,GAAG,CAACG,OAAO,CAACC,cAAc,CAAC;AACvBC,QAAAA,QAAQ,EAAE,QAAQ;AAClBC,QAAAA,KAAK,EAAE,QAAQ;AACfC,QAAAA,MAAM,EAAE,QAAA;AACZ,OAAC,CAAC,CAAA;AACN,KAAA;AACJ,GAAC,EAAE,CAACT,OAAO,CAAC,CAAC,CAAA;AAEb,EAAA,oBACIU,KAAA,CAAAC,aAAA,CAACC,sBAAU,EAAA;AACPC,IAAAA,kBAAkB,EAAEZ,cAAc,KAAAa,IAAA,KAAAA,IAAA,gBAAIJ,KAAA,CAAAC,aAAA,CAAM,KAAA,EAAA,IAAA,CAAC,CAAC,CAAA;IAC9CI,QAAQ,EAAE,CAAC,CAAE;AACbhB,IAAAA,OAAO,EAAEA,OAAQ;AACjBD,IAAAA,IAAI,EAAAkB,EAAAA,CAAAA,MAAA,CAAKlB,IAAI,CAAG;AAChBmB,IAAAA,SAAS,EAAEjB,OAAO,GAAGkB,qBAAO,CAACC,mBAAmB,GAAGC,SAAU;AAC7DlB,IAAAA,GAAG,EAAEA,GAAAA;AAAI,GACZ,CAAC,CAAA;AAEV;;;;"}
@@ -0,0 +1,22 @@
1
+ import './Chip.styles_1a752pa.css';
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, '__esModule', { value: true });
5
+
6
+ var react = require('@linaria/react');
7
+ var common = require('../../../../../../../../engines/common.js');
8
+ var Chip$1 = require('../../../../../../../Chip/Chip.js');
9
+
10
+ var mergedConfig = /*#__PURE__*/common.mergeConfig(Chip$1.chipConfig);
11
+ var Chip = /*#__PURE__*/common.component(mergedConfig);
12
+ var _exp = function _exp() {
13
+ return Chip;
14
+ };
15
+ var StyledChip = /*#__PURE__*/react.styled(_exp())({
16
+ name: "StyledChip",
17
+ "class": "scwjjdn",
18
+ propsAsIs: true
19
+ });
20
+
21
+ exports.StyledChip = StyledChip;
22
+ //# sourceMappingURL=Chip.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Chip.styles.js","sources":["../../../../../../../../../src/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { chipConfig, chipTokens } from '../../../../../../../Chip';\nimport { component, mergeConfig } from '../../../../../../../../engines';\nimport { tokens, classes, constants } from '../../../../../../Select.tokens';\nimport { addFocus } from '../../../../../../../../mixins';\n\nconst mergedConfig = mergeConfig(chipConfig);\nconst Chip = component(mergedConfig);\n\nexport const StyledChip = styled(Chip)`\n ${chipTokens.color}: var(${tokens.chipColor});\n ${chipTokens.colorHover}: var(${tokens.chipColor});\n ${chipTokens.colorActive}: var(${tokens.chipColor});\n ${chipTokens.background}: var(${tokens.chipBackground});\n ${chipTokens.backgroundHover}: var(${tokens.chipBackgroundHover});\n ${chipTokens.backgroundActive}: var(${tokens.chipBackgroundActive});\n ${chipTokens.borderRadius}: var(${tokens.chipBorderRadius});\n ${chipTokens.height}: var(${tokens.chipHeight});\n ${chipTokens.paddingRight}: var(${tokens.chipPaddingRight});\n ${chipTokens.paddingLeft}: var(${tokens.chipPaddingLeft});\n ${chipTokens.fontFamily}: var(${tokens.fontFamily});\n ${chipTokens.fontSize}: var(${tokens.fontSize});\n ${chipTokens.fontStyle}: var(${tokens.fontStyle});\n ${chipTokens.fontWeight}: var(${tokens.fontWeight});\n ${chipTokens.letterSpacing}: var(${tokens.fontLetterSpacing});\n ${chipTokens.lineHeight}: var(${tokens.fontLineHeight});\n ${chipTokens.clearContentMarginLeft}: var(${tokens.chipClearContentMarginLeft});\n ${chipTokens.clearContentMarginRight}: var(${tokens.chipClearContentMarginRight});\n ${chipTokens.closeIconSize}: var(${tokens.chipCloseIconSize});\n ${chipTokens.closeIconColor}: var(${tokens.chipColor});\n ${chipTokens.focusColor}: var(${constants.focusColor});\n\n ${addFocus({\n outlineOffset: `calc(var(${tokens.focusOffset}) * -1)`,\n outlineRadius: `calc(var(${tokens.chipBorderRadius}) + var(${tokens.focusOffset}))`,\n customFocusRules: `\n &.${classes.selectChipIsFocused}:before {\n outline: none;\n box-shadow: 0 0 0 ${constants.focusSize} var(${constants.focusColor});\n }\n `,\n })};\n`;\n"],"names":["mergedConfig","mergeConfig","chipConfig","Chip","component","_exp","StyledChip","styled","name","class","propsAsIs"],"mappings":";;;;;;;;AAOA,IAAMA,YAAY,gBAAGC,kBAAW,CAACC,iBAAU,CAAC,CAAA;AAC5C,IAAMC,IAAI,gBAAGC,gBAAS,CAACJ,YAAY,CAAC,CAAA;AAAC,IAAAK,IAAA,GAPnBA,SAOmBA,IAAAA,GAAA;AAAA,EAAA,OAEJF,IAAI,CAAA;AAAA,CAAA,CAAA;AAA9B,IAAMG,UAAU,gBAAGC,YAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAiC/B;;;;"}
@@ -0,0 +1 @@
1
+ .scwjjdn{--plasma-chip-color:var(--plasma-select-chip-color);--plasma-chip-color-hover:var(--plasma-select-chip-color);--plasma-chip-color-active:var(--plasma-select-chip-color);--plasma-chip-background:var(--plasma-select-chip-background);--plasma-chip-background-hover:var(--plasma-select-chip-background-hover);--plasma-chip-background-active:var(--plasma-select-chip-background-active);--plasma-chip-border-radius:var(--plasma-select-chip-border-radius);--plasma-chip-height:var(--plasma-select-chip-height);--plasma-chip-padding-right:var(--plasma-select-chip-padding-right);--plasma-chip-padding-left:var(--plasma-select-chip-padding-left);--plasma-chip-font-family:var(--plasma-select-font-family);--plasma-chip-font-size:var(--plasma-select-font-size);--plasma-chip-font-style:var(--plasma-select-font-style);--plasma-chip-font-weight:var(--plasma-select-font-weight);--plasma-chip-letter-spacing:var(--plasma-select-font-letter-spacing);--plasma-chip-lineheight:var(--plasma-select-font-line-height);--plasma-chip-clear-content-margin-left:var(--plasma-select-chip-clear-content-margin-left);--plasma-chip-clear-content-margin-right:var(--plasma-select-chip-clear-content-margin-right);--plasma-chip-close-icon-size:var(--plasma-select-chip-close-icon-size);--plasma-chip-close-icon-color:var(--plasma-select-chip-color);--plasma-chip-focus-color:var(--surface-accent);position:relative;}.scwjjdn::before{content:'';position:absolute;top:calc(var(--plasma-select-focus-offset) * -1);left:calc(var(--plasma-select-focus-offset) * -1);right:calc(var(--plasma-select-focus-offset) * -1);bottom:calc(var(--plasma-select-focus-offset) * -1);z-index:1;display:block;box-sizing:content-box;border:0.125rem solid transparent;border-radius:calc(var(--plasma-select-chip-border-radius) + var(--plasma-select-focus-offset));-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.scwjjdn.select-chip-is-focused:before{outline:none;box-shadow:0 0 0 0.0625rem var(--surface-accent);}
@@ -22,7 +22,7 @@ var getButtonLabel = function getButtonLabel(_ref3) {
22
22
  return label || '';
23
23
  }
24
24
  if (selectProps.multiselect && Array.isArray(value) && selectProps.isTargetAmount) {
25
- return "\u0412\u044B\u0431\u0440\u0430\u043D\u043E ".concat(value.length);
25
+ return "\u0412\u044B\u0431\u0440\u0430\u043D\u043E: ".concat(value.length);
26
26
  }
27
27
  if (selectProps.multiselect && Array.isArray(value)) {
28
28
  return value === null || value === void 0 ? void 0 : value.map(function (itemValue) {
@@ -1 +1 @@
1
- {"version":3,"file":"getButtonLabel.js","sources":["../../../../src/components/Select/utils/getButtonLabel.ts"],"sourcesContent":["import { GetButtonLabelProps } from '../ui/Target/ui/Button/Button.types';\nimport { isEmpty } from '../../../utils';\n\nconst getLabel = ({\n value,\n valueToItemMap,\n renderValue,\n}: Omit<GetButtonLabelProps, 'label' | 'selectProps' | 'value'> & { value: any }): string => {\n const { label } = valueToItemMap.get(value)!;\n\n return renderValue ? renderValue(valueToItemMap.get(value)!) : label;\n};\n\nexport const getButtonLabel = ({\n value,\n valueToItemMap,\n label,\n renderValue,\n selectProps,\n}: GetButtonLabelProps): string => {\n if (isEmpty(value) && typeof value !== 'number') {\n return label || '';\n }\n\n if (selectProps.multiselect && Array.isArray(value) && selectProps.isTargetAmount) {\n return `Выбрано ${value.length}`;\n }\n\n if (selectProps.multiselect && Array.isArray(value)) {\n return value\n ?.map((itemValue) =>\n getLabel({\n value: itemValue,\n valueToItemMap,\n renderValue,\n }),\n )\n .join(', ');\n }\n\n return getLabel({\n value,\n valueToItemMap,\n renderValue,\n });\n};\n"],"names":["getLabel","_ref","value","valueToItemMap","renderValue","_ref2","get","label","getButtonLabel","_ref3","selectProps","isEmpty","multiselect","Array","isArray","isTargetAmount","concat","length","map","itemValue","join"],"mappings":";;;;;;AAGA,IAAMA,QAAQ,GAAG,SAAXA,QAAQA,CAAAC,IAAA,EAI+E;AAAA,EAAA,IAHzFC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACLC,cAAc,GAAAF,IAAA,CAAdE,cAAc;IACdC,WAAW,GAAAH,IAAA,CAAXG,WAAW,CAAA;AAEX,EAAA,IAAAC,KAAA,GAAkBF,cAAc,CAACG,GAAG,CAACJ,KAAK,CAAC;IAAnCK,KAAK,GAAAF,KAAA,CAALE,KAAK,CAAA;AAEb,EAAA,OAAOH,WAAW,GAAGA,WAAW,CAACD,cAAc,CAACG,GAAG,CAACJ,KAAK,CAAE,CAAC,GAAGK,KAAK,CAAA;AACxE,CAAC,CAAA;IAEYC,cAAc,GAAG,SAAjBA,cAAcA,CAAAC,KAAA,EAMQ;AAAA,EAAA,IAL/BP,KAAK,GAAAO,KAAA,CAALP,KAAK;IACLC,cAAc,GAAAM,KAAA,CAAdN,cAAc;IACdI,KAAK,GAAAE,KAAA,CAALF,KAAK;IACLH,WAAW,GAAAK,KAAA,CAAXL,WAAW;IACXM,WAAW,GAAAD,KAAA,CAAXC,WAAW,CAAA;EAEX,IAAIC,eAAO,CAACT,KAAK,CAAC,IAAI,OAAOA,KAAK,KAAK,QAAQ,EAAE;IAC7C,OAAOK,KAAK,IAAI,EAAE,CAAA;AACtB,GAAA;AAEA,EAAA,IAAIG,WAAW,CAACE,WAAW,IAAIC,KAAK,CAACC,OAAO,CAACZ,KAAK,CAAC,IAAIQ,WAAW,CAACK,cAAc,EAAE;AAC/E,IAAA,OAAA,6CAAA,CAAAC,MAAA,CAAkBd,KAAK,CAACe,MAAM,CAAA,CAAA;AAClC,GAAA;EAEA,IAAIP,WAAW,CAACE,WAAW,IAAIC,KAAK,CAACC,OAAO,CAACZ,KAAK,CAAC,EAAE;IACjD,OAAOA,KAAK,aAALA,KAAK,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAALA,KAAK,CACNgB,GAAG,CAAC,UAACC,SAAS,EAAA;AAAA,MAAA,OACZnB,QAAQ,CAAC;AACLE,QAAAA,KAAK,EAAEiB,SAAS;AAChBhB,QAAAA,cAAc,EAAdA,cAAc;AACdC,QAAAA,WAAW,EAAXA,WAAAA;AACJ,OAAC,CAAC,CAAA;AAAA,KACN,CAAC,CACAgB,IAAI,CAAC,IAAI,CAAC,CAAA;AACnB,GAAA;AAEA,EAAA,OAAOpB,QAAQ,CAAC;AACZE,IAAAA,KAAK,EAALA,KAAK;AACLC,IAAAA,cAAc,EAAdA,cAAc;AACdC,IAAAA,WAAW,EAAXA,WAAAA;AACJ,GAAC,CAAC,CAAA;AACN;;;;"}
1
+ {"version":3,"file":"getButtonLabel.js","sources":["../../../../src/components/Select/utils/getButtonLabel.ts"],"sourcesContent":["import { GetButtonLabelProps } from '../ui/Target/ui/Button/Button.types';\nimport { isEmpty } from '../../../utils';\n\nconst getLabel = ({\n value,\n valueToItemMap,\n renderValue,\n}: Omit<GetButtonLabelProps, 'label' | 'selectProps' | 'value'> & { value: any }): string => {\n const { label } = valueToItemMap.get(value)!;\n\n return renderValue ? renderValue(valueToItemMap.get(value)!) : label;\n};\n\nexport const getButtonLabel = ({\n value,\n valueToItemMap,\n label,\n renderValue,\n selectProps,\n}: GetButtonLabelProps): string => {\n if (isEmpty(value) && typeof value !== 'number') {\n return label || '';\n }\n\n if (selectProps.multiselect && Array.isArray(value) && selectProps.isTargetAmount) {\n return `Выбрано: ${value.length}`;\n }\n\n if (selectProps.multiselect && Array.isArray(value)) {\n return value\n ?.map((itemValue) =>\n getLabel({\n value: itemValue,\n valueToItemMap,\n renderValue,\n }),\n )\n .join(', ');\n }\n\n return getLabel({\n value,\n valueToItemMap,\n renderValue,\n });\n};\n"],"names":["getLabel","_ref","value","valueToItemMap","renderValue","_ref2","get","label","getButtonLabel","_ref3","selectProps","isEmpty","multiselect","Array","isArray","isTargetAmount","concat","length","map","itemValue","join"],"mappings":";;;;;;AAGA,IAAMA,QAAQ,GAAG,SAAXA,QAAQA,CAAAC,IAAA,EAI+E;AAAA,EAAA,IAHzFC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACLC,cAAc,GAAAF,IAAA,CAAdE,cAAc;IACdC,WAAW,GAAAH,IAAA,CAAXG,WAAW,CAAA;AAEX,EAAA,IAAAC,KAAA,GAAkBF,cAAc,CAACG,GAAG,CAACJ,KAAK,CAAC;IAAnCK,KAAK,GAAAF,KAAA,CAALE,KAAK,CAAA;AAEb,EAAA,OAAOH,WAAW,GAAGA,WAAW,CAACD,cAAc,CAACG,GAAG,CAACJ,KAAK,CAAE,CAAC,GAAGK,KAAK,CAAA;AACxE,CAAC,CAAA;IAEYC,cAAc,GAAG,SAAjBA,cAAcA,CAAAC,KAAA,EAMQ;AAAA,EAAA,IAL/BP,KAAK,GAAAO,KAAA,CAALP,KAAK;IACLC,cAAc,GAAAM,KAAA,CAAdN,cAAc;IACdI,KAAK,GAAAE,KAAA,CAALF,KAAK;IACLH,WAAW,GAAAK,KAAA,CAAXL,WAAW;IACXM,WAAW,GAAAD,KAAA,CAAXC,WAAW,CAAA;EAEX,IAAIC,eAAO,CAACT,KAAK,CAAC,IAAI,OAAOA,KAAK,KAAK,QAAQ,EAAE;IAC7C,OAAOK,KAAK,IAAI,EAAE,CAAA;AACtB,GAAA;AAEA,EAAA,IAAIG,WAAW,CAACE,WAAW,IAAIC,KAAK,CAACC,OAAO,CAACZ,KAAK,CAAC,IAAIQ,WAAW,CAACK,cAAc,EAAE;AAC/E,IAAA,OAAA,8CAAA,CAAAC,MAAA,CAAmBd,KAAK,CAACe,MAAM,CAAA,CAAA;AACnC,GAAA;EAEA,IAAIP,WAAW,CAACE,WAAW,IAAIC,KAAK,CAACC,OAAO,CAACZ,KAAK,CAAC,EAAE;IACjD,OAAOA,KAAK,aAALA,KAAK,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAALA,KAAK,CACNgB,GAAG,CAAC,UAACC,SAAS,EAAA;AAAA,MAAA,OACZnB,QAAQ,CAAC;AACLE,QAAAA,KAAK,EAAEiB,SAAS;AAChBhB,QAAAA,cAAc,EAAdA,cAAc;AACdC,QAAAA,WAAW,EAAXA,WAAAA;AACJ,OAAC,CAAC,CAAA;AAAA,KACN,CAAC,CACAgB,IAAI,CAAC,IAAI,CAAC,CAAA;AACnB,GAAA;AAEA,EAAA,OAAOpB,QAAQ,CAAC;AACZE,IAAAA,KAAK,EAALA,KAAK;AACLC,IAAAA,cAAc,EAAdA,cAAc;AACdC,IAAAA,WAAW,EAAXA,WAAAA;AACJ,GAAC,CAAC,CAAA;AACN;;;;"}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var getView = function getView(status, view) {
5
+ var getView = function getView(status) {
6
6
  switch (status) {
7
7
  case 'success':
8
8
  {
@@ -18,7 +18,7 @@ var getView = function getView(status, view) {
18
18
  }
19
19
  default:
20
20
  {
21
- return view;
21
+ return 'default';
22
22
  }
23
23
  }
24
24
  };
@@ -1 +1 @@
1
- {"version":3,"file":"getView.js","sources":["../../../../src/components/Select/utils/getView.ts"],"sourcesContent":["import { MergedSelectProps } from '../Select.types';\n\nexport const getView = (status: MergedSelectProps['status'], view: MergedSelectProps['view']) => {\n switch (status) {\n case 'success': {\n return 'positive';\n }\n\n case 'error': {\n return 'negative';\n }\n\n case 'warning': {\n return 'warning';\n }\n\n default: {\n return view;\n }\n }\n};\n"],"names":["getView","status","view"],"mappings":";;;;AAEO,IAAMA,OAAO,GAAG,SAAVA,OAAOA,CAAIC,MAAmC,EAAEC,IAA+B,EAAK;AAC7F,EAAA,QAAQD,MAAM;AACV,IAAA,KAAK,SAAS;AAAE,MAAA;AACZ,QAAA,OAAO,UAAU,CAAA;AACrB,OAAA;AAEA,IAAA,KAAK,OAAO;AAAE,MAAA;AACV,QAAA,OAAO,UAAU,CAAA;AACrB,OAAA;AAEA,IAAA,KAAK,SAAS;AAAE,MAAA;AACZ,QAAA,OAAO,SAAS,CAAA;AACpB,OAAA;AAEA,IAAA;AAAS,MAAA;AACL,QAAA,OAAOC,IAAI,CAAA;AACf,OAAA;AACJ,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"getView.js","sources":["../../../../src/components/Select/utils/getView.ts"],"sourcesContent":["import { MergedSelectProps } from '../Select.types';\n\nexport const getView = (status: MergedSelectProps['status']) => {\n switch (status) {\n case 'success': {\n return 'positive';\n }\n\n case 'error': {\n return 'negative';\n }\n\n case 'warning': {\n return 'warning';\n }\n\n default: {\n return 'default';\n }\n }\n};\n"],"names":["getView","status"],"mappings":";;;;IAEaA,OAAO,GAAG,SAAVA,OAAOA,CAAIC,MAAmC,EAAK;AAC5D,EAAA,QAAQA,MAAM;AACV,IAAA,KAAK,SAAS;AAAE,MAAA;AACZ,QAAA,OAAO,UAAU,CAAA;AACrB,OAAA;AAEA,IAAA,KAAK,OAAO;AAAE,MAAA;AACV,QAAA,OAAO,UAAU,CAAA;AACrB,OAAA;AAEA,IAAA,KAAK,SAAS;AAAE,MAAA;AACZ,QAAA,OAAO,SAAS,CAAA;AACpB,OAAA;AAEA,IAAA;AAAS,MAAA;AACL,QAAA,OAAO,SAAS,CAAA;AACpB,OAAA;AACJ,GAAA;AACJ;;;;"}
@@ -0,0 +1,9 @@
1
+ import './base_x642ct.css';
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, '__esModule', { value: true });
5
+
6
+ var base = "bfj2r6g";
7
+
8
+ exports.base = base;
9
+ //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sources":["../../../../../src/components/Select/variations/_size/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nexport const base = css``;\n"],"names":["base"],"mappings":";;;;AAEO,IAAMA,IAAI,GAAQ;;;;"}
@@ -0,0 +1,9 @@
1
+ import './base_x642ct.css';
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, '__esModule', { value: true });
5
+
6
+ var base = "bxb0k14";
7
+
8
+ exports.base = base;
9
+ //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sources":["../../../../../src/components/Select/variations/_view/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nexport const base = css``;\n"],"names":["base"],"mappings":";;;;AAEO,IAAMA,IAAI,GAAQ;;;;"}