@salutejs/plasma-new-hope 0.143.0-canary.1430.10829478218.0 → 0.143.0-dev.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (395) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +16 -15
  2. package/cjs/components/Combobox/ComboboxNew/Combobox.css +16 -15
  3. package/cjs/components/Combobox/ComboboxNew/Combobox.js +8 -6
  4. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  5. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +16 -15
  6. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +16 -15
  7. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  8. package/cjs/components/Combobox/ComboboxOld/Combobox.js +15 -8
  9. package/cjs/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  10. package/cjs/components/DatePicker/RangeDate/RangeDate.css +16 -15
  11. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +16 -15
  12. package/cjs/components/DatePicker/SingleDate/SingleDate.css +16 -15
  13. package/cjs/components/Range/Range.css +16 -15
  14. package/cjs/components/Slider/Slider.css +16 -15
  15. package/cjs/components/Slider/components/Double/Double.css +16 -15
  16. package/cjs/components/TextField/TextField.js +1 -1
  17. package/cjs/components/TextField/TextField.js.map +1 -1
  18. package/cjs/components/TextField/TextField.styles.js +22 -11
  19. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  20. package/cjs/components/TextField/{TextField.styles_u6pm7v.css → TextField.styles_ht6ibd.css} +5 -4
  21. package/cjs/components/TextField/TextField.tokens.js +5 -1
  22. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  23. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  24. package/cjs/components/TextField/variations/_label-placement/{base_1dbnupp.css → base_6k17xp.css} +1 -1
  25. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  26. package/cjs/components/TextField/variations/_read-only/{base_4tqave.css → base_8onybn.css} +1 -1
  27. package/cjs/components/TextField/variations/_size/base.js +1 -1
  28. package/cjs/components/TextField/variations/_size/{base_uk56yo.css → base_1h8l0kj.css} +1 -1
  29. package/cjs/components/TextField/variations/_view/base.js +1 -1
  30. package/cjs/components/TextField/variations/_view/{base_uszjx8.css → base_1ph5cr0.css} +1 -1
  31. package/cjs/index.css +16 -23
  32. package/cjs/index.js +0 -7
  33. package/cjs/index.js.map +1 -1
  34. package/cjs/utils/index.js.map +1 -1
  35. package/emotion/cjs/components/Combobox/Combobox.template-doc.mdx +347 -0
  36. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +8 -6
  37. package/emotion/cjs/components/Combobox/ComboboxOld/Combobox.js +15 -8
  38. package/emotion/cjs/components/TextField/TextField.js +2 -2
  39. package/emotion/cjs/components/TextField/TextField.styles.js +27 -23
  40. package/emotion/cjs/components/TextField/TextField.template-doc.mdx +2 -2
  41. package/emotion/cjs/components/TextField/TextField.tokens.js +5 -1
  42. package/emotion/cjs/components/TextFieldGroup/TextFieldGroup.template-doc.mdx +1 -1
  43. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +39 -0
  44. package/emotion/cjs/examples/{plasma_web/components/Combobox/ComboboxNew → plasma_b2c/components/Combobox}/Combobox.js +2 -2
  45. package/emotion/cjs/examples/{plasma_web/components/Combobox/ComboboxNew → plasma_b2c/components/Combobox}/Combobox.stories.tsx +13 -3
  46. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Legacy/Combobox.config.js +25 -0
  47. package/emotion/{es/examples/plasma_b2c/components/Combobox/ComboboxOld → cjs/examples/plasma_b2c/components/Combobox/Legacy}/Combobox.stories.tsx +18 -16
  48. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +12 -12
  49. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +3 -2
  50. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +39 -0
  51. package/{styled-components/cjs/examples/plasma_web/components/Combobox/ComboboxNew → emotion/cjs/examples/plasma_web/components/Combobox}/Combobox.js +2 -2
  52. package/emotion/{es/examples/plasma_b2c/components/Combobox/ComboboxNew → cjs/examples/plasma_web/components/Combobox}/Combobox.stories.tsx +13 -3
  53. package/emotion/cjs/examples/plasma_web/components/Combobox/Legacy/Combobox.config.js +25 -0
  54. package/emotion/cjs/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.stories.tsx +18 -16
  55. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.config.js +12 -12
  56. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +2 -1
  57. package/emotion/cjs/index.js +0 -11
  58. package/emotion/cjs/utils/index.js +2 -8
  59. package/emotion/es/components/Combobox/Combobox.template-doc.mdx +347 -0
  60. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +8 -6
  61. package/emotion/es/components/Combobox/ComboboxOld/Combobox.js +15 -8
  62. package/emotion/es/components/TextField/TextField.js +2 -2
  63. package/emotion/es/components/TextField/TextField.styles.js +27 -23
  64. package/emotion/es/components/TextField/TextField.template-doc.mdx +2 -2
  65. package/emotion/es/components/TextField/TextField.tokens.js +5 -1
  66. package/emotion/es/components/TextFieldGroup/TextFieldGroup.template-doc.mdx +1 -1
  67. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +33 -0
  68. package/emotion/es/examples/plasma_b2c/components/Combobox/{ComboboxNew/Combobox.js → Combobox.js} +2 -2
  69. package/emotion/es/examples/{plasma_web/components/Combobox/ComboboxNew → plasma_b2c/components/Combobox}/Combobox.stories.tsx +13 -3
  70. package/emotion/es/examples/plasma_b2c/components/Combobox/Legacy/Combobox.config.js +19 -0
  71. package/emotion/{cjs/examples/plasma_b2c/components/Combobox/ComboboxOld → es/examples/plasma_b2c/components/Combobox/Legacy}/Combobox.stories.tsx +18 -16
  72. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +12 -12
  73. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +3 -2
  74. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +33 -0
  75. package/emotion/es/examples/plasma_web/components/Combobox/{ComboboxNew/Combobox.js → Combobox.js} +2 -2
  76. package/emotion/{cjs/examples/plasma_b2c/components/Combobox/ComboboxNew → es/examples/plasma_web/components/Combobox}/Combobox.stories.tsx +13 -3
  77. package/emotion/es/examples/plasma_web/components/Combobox/Legacy/Combobox.config.js +19 -0
  78. package/emotion/es/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.stories.tsx +18 -16
  79. package/emotion/es/examples/plasma_web/components/TextField/TextField.config.js +12 -12
  80. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +2 -1
  81. package/emotion/es/index.js +1 -2
  82. package/emotion/es/utils/index.js +0 -2
  83. package/es/components/Autocomplete/Autocomplete.css +16 -15
  84. package/es/components/Combobox/ComboboxNew/Combobox.css +16 -15
  85. package/es/components/Combobox/ComboboxNew/Combobox.js +8 -6
  86. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  87. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +16 -15
  88. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +16 -15
  89. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  90. package/es/components/Combobox/ComboboxOld/Combobox.js +15 -8
  91. package/es/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  92. package/es/components/DatePicker/RangeDate/RangeDate.css +16 -15
  93. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +16 -15
  94. package/es/components/DatePicker/SingleDate/SingleDate.css +16 -15
  95. package/es/components/Range/Range.css +16 -15
  96. package/es/components/Slider/Slider.css +16 -15
  97. package/es/components/Slider/components/Double/Double.css +16 -15
  98. package/es/components/TextField/TextField.js +1 -1
  99. package/es/components/TextField/TextField.js.map +1 -1
  100. package/es/components/TextField/TextField.styles.js +22 -11
  101. package/es/components/TextField/TextField.styles.js.map +1 -1
  102. package/es/components/TextField/{TextField.styles_u6pm7v.css → TextField.styles_ht6ibd.css} +5 -4
  103. package/es/components/TextField/TextField.tokens.js +5 -1
  104. package/es/components/TextField/TextField.tokens.js.map +1 -1
  105. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  106. package/es/components/TextField/variations/_label-placement/{base_1dbnupp.css → base_6k17xp.css} +1 -1
  107. package/es/components/TextField/variations/_read-only/base.js +1 -1
  108. package/es/components/TextField/variations/_read-only/{base_4tqave.css → base_8onybn.css} +1 -1
  109. package/es/components/TextField/variations/_size/base.js +1 -1
  110. package/es/components/TextField/variations/_size/{base_uk56yo.css → base_1h8l0kj.css} +1 -1
  111. package/es/components/TextField/variations/_view/base.js +1 -1
  112. package/es/components/TextField/variations/_view/{base_uszjx8.css → base_1ph5cr0.css} +1 -1
  113. package/es/index.css +16 -23
  114. package/es/index.js +0 -4
  115. package/es/index.js.map +1 -1
  116. package/es/utils/index.js.map +1 -1
  117. package/package.json +2 -2
  118. package/styled-components/cjs/components/Combobox/Combobox.template-doc.mdx +347 -0
  119. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +8 -6
  120. package/styled-components/cjs/components/Combobox/ComboboxOld/Combobox.js +15 -8
  121. package/styled-components/cjs/components/TextField/TextField.js +1 -1
  122. package/styled-components/cjs/components/TextField/TextField.styles.js +12 -9
  123. package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +2 -2
  124. package/styled-components/cjs/components/TextField/TextField.tokens.js +5 -1
  125. package/styled-components/cjs/components/TextFieldGroup/TextFieldGroup.template-doc.mdx +1 -1
  126. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/{ComboboxNew/Combobox.config.js → Combobox.config.js} +2 -2
  127. package/{emotion/cjs/examples/plasma_b2c/components/Combobox/ComboboxNew → styled-components/cjs/examples/plasma_b2c/components/Combobox}/Combobox.js +2 -2
  128. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +376 -0
  129. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/{ComboboxOld → Legacy}/Combobox.config.js +1 -1
  130. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx +256 -0
  131. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +4 -4
  132. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +3 -2
  133. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +39 -0
  134. package/styled-components/cjs/examples/{plasma_b2c/components/Combobox/ComboboxNew → plasma_web/components/Combobox}/Combobox.js +2 -2
  135. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +376 -0
  136. package/styled-components/cjs/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.config.js +1 -1
  137. package/styled-components/cjs/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx +256 -0
  138. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +4 -4
  139. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +2 -1
  140. package/styled-components/cjs/index.js +0 -11
  141. package/styled-components/cjs/utils/index.js +2 -8
  142. package/styled-components/es/components/Combobox/Combobox.template-doc.mdx +347 -0
  143. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +8 -6
  144. package/styled-components/es/components/Combobox/ComboboxOld/Combobox.js +15 -8
  145. package/styled-components/es/components/TextField/TextField.js +1 -1
  146. package/styled-components/es/components/TextField/TextField.styles.js +12 -9
  147. package/styled-components/es/components/TextField/TextField.template-doc.mdx +2 -2
  148. package/styled-components/es/components/TextField/TextField.tokens.js +5 -1
  149. package/styled-components/es/components/TextFieldGroup/TextFieldGroup.template-doc.mdx +1 -1
  150. package/styled-components/es/examples/{plasma_web/components/Combobox/ComboboxNew → plasma_b2c/components/Combobox}/Combobox.config.js +2 -2
  151. package/styled-components/es/examples/plasma_b2c/components/Combobox/{ComboboxNew/Combobox.js → Combobox.js} +2 -2
  152. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +376 -0
  153. package/styled-components/es/examples/plasma_b2c/components/Combobox/{ComboboxOld → Legacy}/Combobox.config.js +1 -1
  154. package/styled-components/es/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx +256 -0
  155. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +4 -4
  156. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +3 -2
  157. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +33 -0
  158. package/styled-components/es/examples/plasma_web/components/Combobox/{ComboboxNew/Combobox.js → Combobox.js} +2 -2
  159. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +376 -0
  160. package/styled-components/es/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.config.js +1 -1
  161. package/styled-components/es/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx +256 -0
  162. package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +4 -4
  163. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +2 -1
  164. package/styled-components/es/index.js +1 -2
  165. package/styled-components/es/utils/index.js +0 -2
  166. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +4 -4
  167. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  168. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  169. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +42 -10
  170. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  171. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  172. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +4 -4
  173. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  174. package/types/components/Combobox/ComboboxOld/Combobox.d.ts.map +1 -1
  175. package/types/components/Combobox/ComboboxOld/Combobox.types.d.ts +6 -0
  176. package/types/components/Combobox/ComboboxOld/Combobox.types.d.ts.map +1 -1
  177. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +4 -4
  178. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  179. package/types/components/Pagination/utils/index.d.ts +1 -1
  180. package/types/components/Range/Range.styles.d.ts +4 -4
  181. package/types/components/Range/Range.styles.d.ts.map +1 -1
  182. package/types/components/Slider/components/Double/Double.styles.d.ts +4 -4
  183. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  184. package/types/components/TextField/TextField.styles.d.ts +6 -2
  185. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  186. package/types/components/TextField/TextField.tokens.d.ts +3 -0
  187. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  188. package/types/components/TextField/TextField.types.d.ts +2 -1
  189. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  190. package/types/examples/plasma_b2c/components/Combobox/Combobox.config.d.ts.map +1 -0
  191. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +81 -0
  192. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -0
  193. package/types/examples/plasma_b2c/components/Combobox/{ComboboxOld → Legacy}/Combobox.config.d.ts.map +1 -1
  194. package/types/examples/plasma_b2c/components/Combobox/Legacy/Combobox.d.ts.map +1 -0
  195. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
  196. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +4 -4
  197. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  198. package/types/examples/plasma_web/components/Combobox/Combobox.config.d.ts.map +1 -0
  199. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +81 -0
  200. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -0
  201. package/types/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.config.d.ts.map +1 -1
  202. package/types/examples/plasma_web/components/Combobox/Legacy/Combobox.d.ts.map +1 -0
  203. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +1 -1
  204. package/types/examples/plasma_web/components/TextField/TextField.d.ts +4 -4
  205. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  206. package/types/index.d.ts +0 -1
  207. package/types/index.d.ts.map +1 -1
  208. package/types/utils/index.d.ts +0 -1
  209. package/types/utils/index.d.ts.map +1 -1
  210. package/cjs/components/Editable/Editable.css +0 -7
  211. package/cjs/components/Editable/Editable.js +0 -148
  212. package/cjs/components/Editable/Editable.js.map +0 -1
  213. package/cjs/components/Editable/Editable.styles.js +0 -32
  214. package/cjs/components/Editable/Editable.styles.js.map +0 -1
  215. package/cjs/components/Editable/Editable.styles_40s761.css +0 -3
  216. package/cjs/components/Editable/Editable.tokens.js +0 -21
  217. package/cjs/components/Editable/Editable.tokens.js.map +0 -1
  218. package/cjs/components/Editable/utils/clearSelection.js +0 -23
  219. package/cjs/components/Editable/utils/clearSelection.js.map +0 -1
  220. package/cjs/components/Editable/utils/selectText.js +0 -30
  221. package/cjs/components/Editable/utils/selectText.js.map +0 -1
  222. package/cjs/components/Editable/variations/_size/base.js +0 -9
  223. package/cjs/components/Editable/variations/_size/base.js.map +0 -1
  224. package/cjs/components/Editable/variations/_size/base_54y6eh.css +0 -1
  225. package/cjs/components/Editable/variations/_view/base.js +0 -9
  226. package/cjs/components/Editable/variations/_view/base.js.map +0 -1
  227. package/cjs/components/Editable/variations/_view/base_11fpjfv.css +0 -1
  228. package/cjs/utils/constants.js +0 -20
  229. package/cjs/utils/constants.js.map +0 -1
  230. package/emotion/cjs/components/Editable/Editable.js +0 -153
  231. package/emotion/cjs/components/Editable/Editable.styles.js +0 -22
  232. package/emotion/cjs/components/Editable/Editable.tokens.js +0 -19
  233. package/emotion/cjs/components/Editable/Editable.types.js +0 -5
  234. package/emotion/cjs/components/Editable/index.js +0 -25
  235. package/emotion/cjs/components/Editable/utils/clearSelection.js +0 -19
  236. package/emotion/cjs/components/Editable/utils/index.js +0 -19
  237. package/emotion/cjs/components/Editable/utils/selectText.js +0 -26
  238. package/emotion/cjs/components/Editable/variations/_size/base.js +0 -10
  239. package/emotion/cjs/components/Editable/variations/_size/tokens.json +0 -1
  240. package/emotion/cjs/components/Editable/variations/_view/base.js +0 -10
  241. package/emotion/cjs/components/Editable/variations/_view/tokens.json +0 -5
  242. package/emotion/cjs/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.config.js +0 -39
  243. package/emotion/cjs/examples/plasma_b2c/components/Combobox/ComboboxOld/Combobox.config.js +0 -25
  244. package/emotion/cjs/examples/plasma_b2c/components/Editable/Editable.config.js +0 -22
  245. package/emotion/cjs/examples/plasma_b2c/components/Editable/Editable.js +0 -22
  246. package/emotion/cjs/examples/plasma_b2c/components/Editable/Editable.stories.tsx +0 -81
  247. package/emotion/cjs/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.config.js +0 -39
  248. package/emotion/cjs/examples/plasma_web/components/Combobox/ComboboxOld/Combobox.config.js +0 -25
  249. package/emotion/cjs/examples/plasma_web/components/Editable/Editable.config.js +0 -22
  250. package/emotion/cjs/examples/plasma_web/components/Editable/Editable.js +0 -22
  251. package/emotion/cjs/examples/plasma_web/components/Editable/Editable.stories.tsx +0 -81
  252. package/emotion/cjs/utils/constants.js +0 -19
  253. package/emotion/es/components/Editable/Editable.js +0 -144
  254. package/emotion/es/components/Editable/Editable.styles.js +0 -15
  255. package/emotion/es/components/Editable/Editable.tokens.js +0 -13
  256. package/emotion/es/components/Editable/Editable.types.js +0 -1
  257. package/emotion/es/components/Editable/index.js +0 -2
  258. package/emotion/es/components/Editable/utils/clearSelection.js +0 -13
  259. package/emotion/es/components/Editable/utils/index.js +0 -2
  260. package/emotion/es/components/Editable/utils/selectText.js +0 -20
  261. package/emotion/es/components/Editable/variations/_size/base.js +0 -4
  262. package/emotion/es/components/Editable/variations/_size/tokens.json +0 -1
  263. package/emotion/es/components/Editable/variations/_view/base.js +0 -4
  264. package/emotion/es/components/Editable/variations/_view/tokens.json +0 -5
  265. package/emotion/es/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.config.js +0 -33
  266. package/emotion/es/examples/plasma_b2c/components/Combobox/ComboboxOld/Combobox.config.js +0 -19
  267. package/emotion/es/examples/plasma_b2c/components/Editable/Editable.config.js +0 -16
  268. package/emotion/es/examples/plasma_b2c/components/Editable/Editable.js +0 -16
  269. package/emotion/es/examples/plasma_b2c/components/Editable/Editable.stories.tsx +0 -81
  270. package/emotion/es/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.config.js +0 -33
  271. package/emotion/es/examples/plasma_web/components/Combobox/ComboboxOld/Combobox.config.js +0 -19
  272. package/emotion/es/examples/plasma_web/components/Editable/Editable.config.js +0 -16
  273. package/emotion/es/examples/plasma_web/components/Editable/Editable.js +0 -16
  274. package/emotion/es/examples/plasma_web/components/Editable/Editable.stories.tsx +0 -81
  275. package/emotion/es/utils/constants.js +0 -13
  276. package/es/components/Editable/Editable.css +0 -7
  277. package/es/components/Editable/Editable.js +0 -143
  278. package/es/components/Editable/Editable.js.map +0 -1
  279. package/es/components/Editable/Editable.styles.js +0 -26
  280. package/es/components/Editable/Editable.styles.js.map +0 -1
  281. package/es/components/Editable/Editable.styles_40s761.css +0 -3
  282. package/es/components/Editable/Editable.tokens.js +0 -16
  283. package/es/components/Editable/Editable.tokens.js.map +0 -1
  284. package/es/components/Editable/utils/clearSelection.js +0 -19
  285. package/es/components/Editable/utils/clearSelection.js.map +0 -1
  286. package/es/components/Editable/utils/selectText.js +0 -26
  287. package/es/components/Editable/utils/selectText.js.map +0 -1
  288. package/es/components/Editable/variations/_size/base.js +0 -5
  289. package/es/components/Editable/variations/_size/base.js.map +0 -1
  290. package/es/components/Editable/variations/_size/base_54y6eh.css +0 -1
  291. package/es/components/Editable/variations/_view/base.js +0 -5
  292. package/es/components/Editable/variations/_view/base.js.map +0 -1
  293. package/es/components/Editable/variations/_view/base_11fpjfv.css +0 -1
  294. package/es/utils/constants.js +0 -16
  295. package/es/utils/constants.js.map +0 -1
  296. package/styled-components/cjs/components/Editable/Editable.js +0 -153
  297. package/styled-components/cjs/components/Editable/Editable.styles.js +0 -23
  298. package/styled-components/cjs/components/Editable/Editable.tokens.js +0 -19
  299. package/styled-components/cjs/components/Editable/Editable.types.js +0 -5
  300. package/styled-components/cjs/components/Editable/index.js +0 -25
  301. package/styled-components/cjs/components/Editable/utils/clearSelection.js +0 -19
  302. package/styled-components/cjs/components/Editable/utils/index.js +0 -19
  303. package/styled-components/cjs/components/Editable/utils/selectText.js +0 -26
  304. package/styled-components/cjs/components/Editable/variations/_size/base.js +0 -10
  305. package/styled-components/cjs/components/Editable/variations/_size/tokens.json +0 -1
  306. package/styled-components/cjs/components/Editable/variations/_view/base.js +0 -10
  307. package/styled-components/cjs/components/Editable/variations/_view/tokens.json +0 -5
  308. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.stories.tsx +0 -366
  309. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/ComboboxOld/Combobox.stories.tsx +0 -254
  310. package/styled-components/cjs/examples/plasma_b2c/components/Editable/Editable.config.js +0 -22
  311. package/styled-components/cjs/examples/plasma_b2c/components/Editable/Editable.js +0 -22
  312. package/styled-components/cjs/examples/plasma_b2c/components/Editable/Editable.stories.tsx +0 -81
  313. package/styled-components/cjs/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.config.js +0 -39
  314. package/styled-components/cjs/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.stories.tsx +0 -366
  315. package/styled-components/cjs/examples/plasma_web/components/Combobox/ComboboxOld/Combobox.stories.tsx +0 -254
  316. package/styled-components/cjs/examples/plasma_web/components/Editable/Editable.config.js +0 -22
  317. package/styled-components/cjs/examples/plasma_web/components/Editable/Editable.js +0 -22
  318. package/styled-components/cjs/examples/plasma_web/components/Editable/Editable.stories.tsx +0 -81
  319. package/styled-components/cjs/utils/constants.js +0 -19
  320. package/styled-components/es/components/Editable/Editable.js +0 -144
  321. package/styled-components/es/components/Editable/Editable.styles.js +0 -15
  322. package/styled-components/es/components/Editable/Editable.tokens.js +0 -13
  323. package/styled-components/es/components/Editable/Editable.types.js +0 -1
  324. package/styled-components/es/components/Editable/index.js +0 -2
  325. package/styled-components/es/components/Editable/utils/clearSelection.js +0 -13
  326. package/styled-components/es/components/Editable/utils/index.js +0 -2
  327. package/styled-components/es/components/Editable/utils/selectText.js +0 -20
  328. package/styled-components/es/components/Editable/variations/_size/base.js +0 -4
  329. package/styled-components/es/components/Editable/variations/_size/tokens.json +0 -1
  330. package/styled-components/es/components/Editable/variations/_view/base.js +0 -4
  331. package/styled-components/es/components/Editable/variations/_view/tokens.json +0 -5
  332. package/styled-components/es/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.config.js +0 -33
  333. package/styled-components/es/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.stories.tsx +0 -366
  334. package/styled-components/es/examples/plasma_b2c/components/Combobox/ComboboxOld/Combobox.stories.tsx +0 -254
  335. package/styled-components/es/examples/plasma_b2c/components/Editable/Editable.config.js +0 -16
  336. package/styled-components/es/examples/plasma_b2c/components/Editable/Editable.js +0 -16
  337. package/styled-components/es/examples/plasma_b2c/components/Editable/Editable.stories.tsx +0 -81
  338. package/styled-components/es/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.stories.tsx +0 -366
  339. package/styled-components/es/examples/plasma_web/components/Combobox/ComboboxOld/Combobox.stories.tsx +0 -254
  340. package/styled-components/es/examples/plasma_web/components/Editable/Editable.config.js +0 -16
  341. package/styled-components/es/examples/plasma_web/components/Editable/Editable.js +0 -16
  342. package/styled-components/es/examples/plasma_web/components/Editable/Editable.stories.tsx +0 -81
  343. package/styled-components/es/utils/constants.js +0 -13
  344. package/types/components/Editable/Editable.d.ts +0 -23
  345. package/types/components/Editable/Editable.d.ts.map +0 -1
  346. package/types/components/Editable/Editable.styles.d.ts +0 -7
  347. package/types/components/Editable/Editable.styles.d.ts.map +0 -1
  348. package/types/components/Editable/Editable.tokens.d.ts +0 -14
  349. package/types/components/Editable/Editable.tokens.d.ts.map +0 -1
  350. package/types/components/Editable/Editable.types.d.ts +0 -39
  351. package/types/components/Editable/Editable.types.d.ts.map +0 -1
  352. package/types/components/Editable/index.d.ts +0 -3
  353. package/types/components/Editable/index.d.ts.map +0 -1
  354. package/types/components/Editable/utils/clearSelection.d.ts +0 -2
  355. package/types/components/Editable/utils/clearSelection.d.ts.map +0 -1
  356. package/types/components/Editable/utils/index.d.ts +0 -3
  357. package/types/components/Editable/utils/index.d.ts.map +0 -1
  358. package/types/components/Editable/utils/selectText.d.ts +0 -2
  359. package/types/components/Editable/utils/selectText.d.ts.map +0 -1
  360. package/types/components/Editable/variations/_size/base.d.ts +0 -2
  361. package/types/components/Editable/variations/_size/base.d.ts.map +0 -1
  362. package/types/components/Editable/variations/_view/base.d.ts +0 -2
  363. package/types/components/Editable/variations/_view/base.d.ts.map +0 -1
  364. package/types/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.config.d.ts.map +0 -1
  365. package/types/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.d.ts +0 -37
  366. package/types/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.d.ts.map +0 -1
  367. package/types/examples/plasma_b2c/components/Combobox/ComboboxOld/Combobox.d.ts.map +0 -1
  368. package/types/examples/plasma_b2c/components/Editable/Editable.config.d.ts +0 -15
  369. package/types/examples/plasma_b2c/components/Editable/Editable.config.d.ts.map +0 -1
  370. package/types/examples/plasma_b2c/components/Editable/Editable.d.ts +0 -57
  371. package/types/examples/plasma_b2c/components/Editable/Editable.d.ts.map +0 -1
  372. package/types/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.config.d.ts.map +0 -1
  373. package/types/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.d.ts +0 -37
  374. package/types/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.d.ts.map +0 -1
  375. package/types/examples/plasma_web/components/Combobox/ComboboxOld/Combobox.d.ts.map +0 -1
  376. package/types/examples/plasma_web/components/Editable/Editable.config.d.ts +0 -15
  377. package/types/examples/plasma_web/components/Editable/Editable.config.d.ts.map +0 -1
  378. package/types/examples/plasma_web/components/Editable/Editable.d.ts +0 -57
  379. package/types/examples/plasma_web/components/Editable/Editable.d.ts.map +0 -1
  380. package/types/utils/constants.d.ts +0 -14
  381. package/types/utils/constants.d.ts.map +0 -1
  382. /package/emotion/cjs/examples/plasma_b2c/components/Combobox/{ComboboxOld → Legacy}/Combobox.js +0 -0
  383. /package/emotion/cjs/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.js +0 -0
  384. /package/emotion/es/examples/plasma_b2c/components/Combobox/{ComboboxOld → Legacy}/Combobox.js +0 -0
  385. /package/emotion/es/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.js +0 -0
  386. /package/styled-components/cjs/examples/plasma_b2c/components/Combobox/{ComboboxOld → Legacy}/Combobox.js +0 -0
  387. /package/styled-components/cjs/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.js +0 -0
  388. /package/styled-components/es/examples/plasma_b2c/components/Combobox/{ComboboxOld → Legacy}/Combobox.js +0 -0
  389. /package/styled-components/es/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.js +0 -0
  390. /package/types/examples/plasma_b2c/components/Combobox/{ComboboxNew/Combobox.config.d.ts → Combobox.config.d.ts} +0 -0
  391. /package/types/examples/plasma_b2c/components/Combobox/{ComboboxOld → Legacy}/Combobox.config.d.ts +0 -0
  392. /package/types/examples/plasma_b2c/components/Combobox/{ComboboxOld → Legacy}/Combobox.d.ts +0 -0
  393. /package/types/examples/plasma_web/components/Combobox/{ComboboxNew/Combobox.config.d.ts → Combobox.config.d.ts} +0 -0
  394. /package/types/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.config.d.ts +0 -0
  395. /package/types/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.d.ts +0 -0
@@ -0,0 +1,256 @@
1
+ import React, { useState } from 'react';
2
+ import type { ComponentProps } from 'react';
3
+ import type { Meta, StoryObj } from '@storybook/react';
4
+ import { action } from '@storybook/addon-actions';
5
+
6
+ import { mergeConfig } from '../../../../../engines';
7
+ import { Checkbox } from '../../Checkbox/Checkbox';
8
+ import { comboboxOldConfig } from '../../../../../components/Combobox';
9
+ import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
10
+ import { IconDone } from '../../../../../components/_Icon';
11
+
12
+ import { Combobox, ComboboxDivider, ComboboxItem } from './Combobox';
13
+ import { config } from './Combobox.config';
14
+
15
+ const placements: Array<string> = ['top', 'bottom', 'right', 'left', 'auto'];
16
+ const enumerations: Array<string> = ['comma', 'chip'];
17
+
18
+ type ComboboxPrimitiveValue = string | number | boolean;
19
+
20
+ type StorySelectPropsCustom = {
21
+ skidding?: number;
22
+ distance?: number;
23
+ };
24
+
25
+ type StorySelectProps = ComponentProps<typeof Combobox> & StorySelectPropsCustom;
26
+
27
+ const meta: Meta<StorySelectProps> = {
28
+ title: 'plasma_web/Combobox',
29
+ decorators: [WithTheme],
30
+ component: Combobox,
31
+ argTypes: {
32
+ placement: {
33
+ options: placements,
34
+ control: {
35
+ type: 'select',
36
+ },
37
+ },
38
+ enumerationType: {
39
+ options: enumerations,
40
+ control: {
41
+ type: 'select',
42
+ },
43
+ },
44
+ ...argTypesFromConfig(mergeConfig(comboboxOldConfig, config)),
45
+ },
46
+ args: {
47
+ usePortal: false,
48
+ disabled: false,
49
+ readOnly: false,
50
+ label: 'Label',
51
+ placeholder: 'Placeholder',
52
+ enumerationType: 'comma',
53
+ size: 'm',
54
+ view: 'default',
55
+ placement: 'bottom',
56
+ },
57
+ };
58
+
59
+ export default meta;
60
+
61
+ const onChangeAction = action('onChange');
62
+
63
+ const iconDoneToSelectSizeMap: Record<string, 'xs' | 's'> = {
64
+ xs: 'xs',
65
+ s: 's',
66
+ m: 's',
67
+ l: 's',
68
+ };
69
+
70
+ const checkboxToSelectSizeMap: Record<string, 's' | 'm'> = {
71
+ xs: 's',
72
+ s: 'm',
73
+ m: 'm',
74
+ l: 'm',
75
+ };
76
+
77
+ const getSelectItems = (slug: string, elemCount: number) =>
78
+ [...Array(elemCount).keys()].map((num) => ({
79
+ value: `${slug}_${num}`,
80
+ child: `${slug} ${num}`,
81
+ }));
82
+
83
+ const SingleDemo = (args: StorySelectProps) => {
84
+ const { usePortal, placement, label, placeholder, readOnly, disabled, size = 'm', view } = args;
85
+
86
+ const [value, setValue] = useState<ComboboxPrimitiveValue | undefined>('item_0');
87
+
88
+ const onChangeValue = (newValue?: ComboboxPrimitiveValue) => {
89
+ setValue(newValue);
90
+ onChangeAction(newValue);
91
+ };
92
+
93
+ return (
94
+ <div style={{ width: '50%', margin: '3rem 0' }}>
95
+ <h4>Combobox с единичным выбором</h4>
96
+ <Combobox
97
+ frame="theme-root"
98
+ usePortal={usePortal}
99
+ valueType="single"
100
+ value={value}
101
+ placement={placement}
102
+ label={label}
103
+ placeholder={placeholder}
104
+ size={size}
105
+ view={view}
106
+ disabled={disabled}
107
+ readOnly={readOnly}
108
+ onChangeValue={onChangeValue}
109
+ >
110
+ <ComboboxItem value={undefined} text="Clear" />
111
+ {getSelectItems('item', 6).map((item) => (
112
+ <ComboboxItem
113
+ key={item.value}
114
+ contentLeft={
115
+ item.value === value ? (
116
+ <IconDone size={iconDoneToSelectSizeMap[size]} color="inherit" />
117
+ ) : undefined
118
+ }
119
+ value={item.value}
120
+ text={item.child}
121
+ />
122
+ ))}
123
+ </Combobox>
124
+ </div>
125
+ );
126
+ };
127
+
128
+ const MultipleDemo = (args: StorySelectProps) => {
129
+ const { usePortal, placement, label, placeholder, readOnly, disabled, enumerationType, size = 'm', view } = args;
130
+
131
+ const [value, setValue] = useState<Array<ComboboxPrimitiveValue> | undefined>(['item_2', 'item_3']);
132
+
133
+ const onChangeValue = (newValue?: Array<ComboboxPrimitiveValue>) => {
134
+ setValue(newValue);
135
+ onChangeAction(newValue);
136
+ };
137
+
138
+ return (
139
+ <div style={{ width: '50%', marginBottom: '3rem' }}>
140
+ <h4>Combobox с множественным выбором</h4>
141
+ <Combobox
142
+ frame="theme-root"
143
+ usePortal={usePortal}
144
+ valueType="multiple"
145
+ enumerationType={enumerationType}
146
+ value={value}
147
+ placement={placement}
148
+ label={label}
149
+ placeholder={placeholder}
150
+ size={size}
151
+ view={view}
152
+ disabled={disabled}
153
+ readOnly={readOnly}
154
+ onChangeValue={onChangeValue}
155
+ >
156
+ <ComboboxItem value={undefined} text="Clear" />
157
+ {getSelectItems('item', 6).map((item) => (
158
+ <ComboboxItem
159
+ key={item.value}
160
+ contentLeft={<Checkbox size={checkboxToSelectSizeMap[size]} />}
161
+ value={item.value}
162
+ text={item.child}
163
+ />
164
+ ))}
165
+ </Combobox>
166
+ </div>
167
+ );
168
+ };
169
+
170
+ const AddCustomItemDemo = (args: StorySelectProps) => {
171
+ const { usePortal, placement, label, placeholder, readOnly, disabled, size = 'm', view } = args;
172
+
173
+ const [opened, setOpened] = useState(false);
174
+ const [items, setItems] = useState(getSelectItems('item', 1));
175
+ const [value, setValue] = useState<ComboboxPrimitiveValue | undefined>('item_0');
176
+
177
+ const onChangeValue = (newValue?: ComboboxPrimitiveValue) => {
178
+ setValue(newValue);
179
+ onChangeAction(newValue);
180
+ };
181
+
182
+ const onToggle = (openValue: boolean) => setOpened(openValue);
183
+
184
+ const onKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => {
185
+ const { code } = event;
186
+
187
+ if (code === 'Enter') {
188
+ const newValue = (event.target as HTMLInputElement).value;
189
+ const newItems = [...items];
190
+
191
+ if (newItems.find((item) => item.child === newValue)) {
192
+ return;
193
+ }
194
+
195
+ newItems.push({
196
+ value: `${newValue}_`,
197
+ child: (newValue || '').toString(),
198
+ });
199
+
200
+ setOpened(false);
201
+ setItems(newItems);
202
+ }
203
+ };
204
+
205
+ const filterFunction = () => true;
206
+
207
+ return (
208
+ <div style={{ width: '50%' }}>
209
+ <h4>Combobox с добавлением пользовательского элемента</h4>
210
+ <Combobox
211
+ frame="theme-root"
212
+ usePortal={usePortal}
213
+ valueType="single"
214
+ value={value}
215
+ placement={placement}
216
+ label={label}
217
+ placeholder={placeholder}
218
+ size={size}
219
+ view={view}
220
+ disabled={disabled}
221
+ readOnly={readOnly}
222
+ opened={opened}
223
+ onToggle={onToggle}
224
+ onChangeValue={onChangeValue}
225
+ onKeyDown={onKeyDown}
226
+ filterFunction={filterFunction}
227
+ >
228
+ <ComboboxItem value={undefined} text="Clear" />
229
+ <ComboboxDivider />
230
+ {items.map((item) => (
231
+ <ComboboxItem
232
+ key={item.value}
233
+ contentLeft={
234
+ item.value === value ? (
235
+ <IconDone size={iconDoneToSelectSizeMap[size]} color="inherit" />
236
+ ) : undefined
237
+ }
238
+ value={item.value}
239
+ text={item.child}
240
+ />
241
+ ))}
242
+ </Combobox>
243
+ </div>
244
+ );
245
+ };
246
+
247
+ export const Legacy: StoryObj<StorySelectProps> = {
248
+ render: (args) => (
249
+ <>
250
+ <h3>Combobox на композиционной архитектуре (deprecated)</h3>
251
+ <SingleDemo {...args} />
252
+ <MultipleDemo {...args} />
253
+ <AddCustomItemDemo {...args} />
254
+ </>
255
+ ),
256
+ };
@@ -8,10 +8,10 @@ export var config = {
8
8
  },
9
9
  variations: {
10
10
  view: {
11
- "default": /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--surface-transparent-tertiary);", ":var(--text-secondary);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.labelColor, tokens.leftHelperColor, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor),
12
- positive: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-positive);", ":var(--surface-positive);", ":var(--surface-positive);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.labelColor, tokens.leftHelperColor, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor),
13
- warning: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-warning);", ":var(--surface-warning);", ":var(--surface-warning);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.labelColor, tokens.leftHelperColor, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor),
14
- negative: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-negative);", ":var(--surface-negative);", ":var(--surface-negative);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.labelColor, tokens.leftHelperColor, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor)
11
+ "default": /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-secondary-hover);", ":var(--text-secondary-active);", ":var(--surface-transparent-tertiary);", ":var(--text-secondary);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.labelColor, tokens.leftHelperColor, tokens.contentSlotColor, tokens.contentSlotColorHover, tokens.contentSlotColorActive, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor),
12
+ positive: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-positive);", ":var(--text-secondary);", ":var(--text-secondary-hover);", ":var(--text-secondary-active);", ":var(--surface-positive);", ":var(--surface-positive);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.labelColor, tokens.leftHelperColor, tokens.contentSlotColor, tokens.contentSlotColorHover, tokens.contentSlotColorActive, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor),
13
+ warning: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-warning);", ":var(--text-secondary);", ":var(--text-secondary-hover);", ":var(--text-secondary-active);", ":var(--surface-warning);", ":var(--surface-warning);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.labelColor, tokens.leftHelperColor, tokens.contentSlotColor, tokens.contentSlotColorHover, tokens.contentSlotColorActive, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor),
14
+ negative: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-negative);", ":var(--text-secondary);", ":var(--text-secondary-hover);", ":var(--text-secondary-active);", ":var(--surface-negative);", ":var(--surface-negative);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.labelColor, tokens.leftHelperColor, tokens.contentSlotColor, tokens.contentSlotColorHover, tokens.contentSlotColorActive, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor)
15
15
  },
16
16
  size: {
17
17
  l: /*#__PURE__*/css(["", ":3.5rem;", ":1.0625rem 1.125rem 1.0625rem 1.125rem;", ":0.375rem;", ":0.875rem;", ":0.0625rem;", ":-0.0625rem 0.5rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.75rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.5625rem 0 0.125rem 0;", ":1.5625rem 0 0.5625rem 0;", ":0.25rem;", ":0.5rem;", ":auto;", ":2.75rem;", ":0.75rem;", ":1rem;", ":0.625rem;", ":0rem;", ":1.5rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.5rem;", ":0.375rem;", ":0 0 0 0;", ":0.5rem auto auto -0.75rem;", ":0 0 auto auto;", ":0.25rem -0.625rem auto auto;"], tokens.height, tokens.padding, tokens.paddingWithChips, tokens.borderRadius, tokens.borderWidth, tokens.leftContentMargin, tokens.rightContentMargin, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.labelOffset, tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.labelInnerPadding, tokens.contentLabelInnerPadding, tokens.chipGap, tokens.chipBorderRadius, tokens.chipWidth, tokens.chipHeight, tokens.chipPaddingRight, tokens.chipPaddingLeft, tokens.chipClearContentMarginLeft, tokens.chipClearContentMarginRight, tokens.chipCloseIconSize, tokens.chipFontFamily, tokens.chipFontSize, tokens.chipFontStyle, tokens.chipFontWeight, tokens.chipLetterSpacing, tokens.chipLineHeight, tokens.indicatorSizeInner, tokens.indicatorSizeOuter, tokens.indicatorLabelPlacementInner, tokens.indicatorLabelPlacementOuter, tokens.indicatorLabelPlacementInnerRight, tokens.indicatorLabelPlacementOuterRight),
@@ -4,6 +4,7 @@ import { action } from '@storybook/addon-actions';
4
4
  import { IconPlaceholder } from '@salutejs/plasma-sb-utils';
5
5
 
6
6
  import { WithTheme } from '../../../_helpers';
7
+ import { IconChevronLeft } from '../../../../components/_Icon';
7
8
 
8
9
  import { TextField } from './TextField';
9
10
 
@@ -185,7 +186,7 @@ const StoryChips = ({ enableContentLeft, enableContentRight, view, ...rest }: St
185
186
  {...rest}
186
187
  enumerationType="chip"
187
188
  value={text}
188
- contentLeft={enableContentLeft ? <IconPlaceholder size={iconSize} /> : undefined}
189
+ contentLeft={enableContentLeft ? <IconChevronLeft color="inherit" size={iconSize} /> : undefined}
189
190
  contentRight={enableContentRight ? <IconPlaceholder size={iconSize} /> : undefined}
190
191
  view={view}
191
192
  onChange={(e) => {
@@ -55,5 +55,4 @@ export * from './components/DatePicker';
55
55
  export * from './components/Portal';
56
56
  export * from './components/Price';
57
57
  export * from './components/Autocomplete';
58
- export * from './components/EmptyState';
59
- export * from './components/Editable';
58
+ export * from './components/EmptyState';
@@ -4,8 +4,6 @@ export { getSizeValueFromProp } from './getSizeValueFromProp';
4
4
  export { IS_REACT_18, safeUseId } from './react';
5
5
  export { isNumber } from './isNumber';
6
6
  export { isEmpty } from './isEmpty';
7
- import * as _constants from './constants';
8
- export { _constants as constants };
9
7
  export * from './getPopoverPlacement';
10
8
  export var cx = function cx() {
11
9
  for (var _len = arguments.length, classes = new Array(_len), _key = 0; _key < _len; _key++) {
@@ -23,7 +23,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
23
23
  onChangeChips?: undefined;
24
24
  enumerationType?: "plain" | undefined;
25
25
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
26
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
26
+ } & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
27
27
  size?: string | undefined;
28
28
  view?: string | undefined;
29
29
  readOnly?: boolean | undefined;
@@ -47,7 +47,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
47
47
  onSearch?: undefined;
48
48
  chips?: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
49
49
  onChangeChips?: ((value: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
50
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
50
+ } & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
51
51
  size?: string | undefined;
52
52
  view?: string | undefined;
53
53
  readOnly?: boolean | undefined;
@@ -71,7 +71,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
71
71
  onChangeChips?: undefined;
72
72
  enumerationType?: "plain" | undefined;
73
73
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
74
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
74
+ } & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
75
75
  size?: string | undefined;
76
76
  view?: string | undefined;
77
77
  readOnly?: boolean | undefined;
@@ -95,5 +95,5 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
95
95
  onSearch?: undefined;
96
96
  chips?: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
97
97
  onChangeChips?: ((value: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
98
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
98
+ } & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
99
99
  //# sourceMappingURL=TextField.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Autocomplete/ui/TextField/TextField.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yIA0D3B,CAAC"}
1
+ {"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Autocomplete/ui/TextField/TextField.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qJA0D3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4F,MAAM,OAAO,CAAC;AAIjH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAoB7C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKnE,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC,2FAsYtF,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAxYQ,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;CA6Z3F,CAAC"}
1
+ {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4F,MAAM,OAAO,CAAC;AAIjH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAoB7C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKnE,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC,2FAuYtF,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAzYQ,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;CA8Z3F,CAAC"}
@@ -19,6 +19,46 @@ declare type IsMultiselect = {
19
19
  onChange?: (value: Array<string>) => void;
20
20
  isTargetAmount?: boolean;
21
21
  };
22
+ declare type ViewStateProps = {
23
+ /**
24
+ * Компонент доступен только для чтения.
25
+ */
26
+ readOnly?: boolean;
27
+ /**
28
+ * Компонент неактивен.
29
+ */
30
+ disabled?: true;
31
+ /**
32
+ * Дропдаун открыт всегда.
33
+ */
34
+ alwaysOpened?: false;
35
+ } | {
36
+ /**
37
+ * Компонент доступен только для чтения.
38
+ */
39
+ readOnly?: true;
40
+ /**
41
+ * Компонент неактивен.
42
+ */
43
+ disabled?: boolean;
44
+ /**
45
+ * Дропдаун открыт всегда.
46
+ */
47
+ alwaysOpened?: false;
48
+ } | {
49
+ /**
50
+ * Компонент доступен только для чтения.
51
+ */
52
+ readOnly?: false;
53
+ /**
54
+ * Компонент неактивен.
55
+ */
56
+ disabled?: false;
57
+ /**
58
+ * Дропдаун открыт всегда.
59
+ */
60
+ alwaysOpened?: true;
61
+ };
22
62
  export interface BasicProps {
23
63
  /**
24
64
  * Список элементов.
@@ -86,7 +126,7 @@ export interface BasicProps {
86
126
  filter?: (label: string, textValue: string) => boolean;
87
127
  /**
88
128
  * Закрывать ли выпадающий список после выбора элемента.
89
- * @default если single, то true; если multiple, то false
129
+ * @default если single, то true; если multiple, то false; если передан alwaysOpened, то false
90
130
  */
91
131
  closeAfterSelect?: boolean;
92
132
  /**
@@ -102,16 +142,8 @@ export interface BasicProps {
102
142
  * @default outer
103
143
  */
104
144
  labelPlacement?: 'outer' | 'inner';
105
- /**
106
- * Компонент доступен только для чтения.
107
- */
108
- readOnly?: boolean;
109
- /**
110
- * Компонент неактивен.
111
- */
112
- disabled?: boolean;
113
145
  }
114
- export declare type ComboboxProps = BasicProps & IsMultiselect & Omit<ButtonHTMLAttributes<HTMLInputElement>, 'value' | 'onChange'>;
146
+ export declare type ComboboxProps = BasicProps & ViewStateProps & IsMultiselect & Omit<ButtonHTMLAttributes<HTMLInputElement>, 'value' | 'onChange'>;
115
147
  export declare type FloatingPopoverProps = {
116
148
  target: React.ReactNode | ((ref: React.MutableRefObject<HTMLElement | null>) => React.ReactNode);
117
149
  children: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9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AO,KAAK,IAAI,CAAC;IACpC,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,oBAAY,WAAW,GAAG;IACtB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,OAAO,EAAE,qBAAqB,CAAC;IAC/B,QAAQ,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACpC,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC5B,oBAAoB,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAC5D,eAAe,EAAE,CAAC,IAAI,EAAE,qBAAqB,EAAE,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACzF,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAClC,UAAU,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACxC,cAAc,EAAE,kBAAkB,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC"}
1
+ {"version":3,"file":"Combobox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAClF,OAAO,KAAK,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAErF,aAAK,SAAS,GACR,KAAK,GACL,WAAW,GACX,SAAS,GACT,OAAO,GACP,aAAa,GACb,WAAW,GACX,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,MAAM,GACN,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AC,SAAS,CAAC,CAAC;IACjG,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACpC,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,oBAAY,WAAW,GAAG;IACtB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,OAAO,EAAE,qBAAqB,CAAC;IAC/B,QAAQ,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACpC,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC5B,oBAAoB,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAC5D,eAAe,EAAE,CAAC,IAAI,EAAE,qBAAqB,EAAE,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACzF,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAClC,UAAU,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACxC,cAAc,EAAE,kBAAkB,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAU,EAAE,EAAc,MAAM,OAAO,CAAC;AAStD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAazC,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAqH9B,CAAC"}
1
+ {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAU,EAAE,EAAc,MAAM,OAAO,CAAC;AAStD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAazC,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAsH9B,CAAC"}
@@ -23,7 +23,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
23
23
  onChangeChips?: undefined;
24
24
  enumerationType?: "plain" | undefined;
25
25
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
26
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
26
+ } & Omit<import("../../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
27
27
  size?: string | undefined;
28
28
  view?: string | undefined;
29
29
  readOnly?: boolean | undefined;
@@ -47,7 +47,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
47
47
  onSearch?: undefined;
48
48
  chips?: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
49
49
  onChangeChips?: ((value: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
50
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
50
+ } & Omit<import("../../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
51
51
  size?: string | undefined;
52
52
  view?: string | undefined;
53
53
  readOnly?: boolean | undefined;
@@ -71,7 +71,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
71
71
  onChangeChips?: undefined;
72
72
  enumerationType?: "plain" | undefined;
73
73
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
74
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
74
+ } & Omit<import("../../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
75
75
  size?: string | undefined;
76
76
  view?: string | undefined;
77
77
  readOnly?: boolean | undefined;
@@ -95,5 +95,5 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
95
95
  onSearch?: undefined;
96
96
  chips?: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
97
97
  onChangeChips?: ((value: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
98
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
98
+ } & Omit<import("../../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
99
99
  //# sourceMappingURL=Target.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Target.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Combobox/ComboboxNew/ui/Target/Target.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yIAuF3B,CAAC"}
1
+ {"version":3,"file":"Target.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Combobox/ComboboxNew/ui/Target/Target.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wJAuF3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxOld/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAGjF,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAU7C,OAAO,KAAK,EAA0B,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE9E;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,aAAa,CAAC,2FAwOxE,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBA1OQ,UAAU,gBAAgB,EAAE,aAAa,CAAC;;;;;;;;;;;;;;CA2P5E,CAAC"}
1
+ {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxOld/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAGjF,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAU7C,OAAO,KAAK,EAA0B,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE9E;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,aAAa,CAAC,2FA+OxE,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBAjPQ,UAAU,gBAAgB,EAAE,aAAa,CAAC;;;;;;;;;;;;;;CAkQ5E,CAAC"}
@@ -32,6 +32,12 @@ export interface CustomComboboxProps {
32
32
  * false
33
33
  */
34
34
  opened?: boolean;
35
+ /**
36
+ * Дропдаун открыт всегда.
37
+ * @default
38
+ * false
39
+ */
40
+ alwaysOpened?: boolean;
35
41
  /**
36
42
  * Сторона открытия дропдауна относительно target элемента.
37
43
  * @default
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxOld/Combobox.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,iBAAiB,EAA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;IAChB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,WAAW,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACxE,YAAY,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;CACzE"}
@@ -24,7 +24,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
24
24
  onChangeChips?: undefined;
25
25
  enumerationType?: "plain" | undefined;
26
26
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
27
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
27
+ } & Omit<import("../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
28
28
  size?: string | undefined;
29
29
  view?: string | undefined;
30
30
  readOnly?: boolean | undefined;
@@ -48,7 +48,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
48
48
  onSearch?: undefined;
49
49
  chips?: import("../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
50
50
  onChangeChips?: ((value: import("../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
51
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
51
+ } & Omit<import("../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
52
52
  size?: string | undefined;
53
53
  view?: string | undefined;
54
54
  readOnly?: boolean | undefined;
@@ -72,7 +72,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
72
72
  onChangeChips?: undefined;
73
73
  enumerationType?: "plain" | undefined;
74
74
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
75
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
75
+ } & Omit<import("../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
76
76
  size?: string | undefined;
77
77
  view?: string | undefined;
78
78
  readOnly?: boolean | undefined;
@@ -96,7 +96,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
96
96
  onSearch?: undefined;
97
97
  chips?: import("../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
98
98
  onChangeChips?: ((value: import("../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
99
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
99
+ } & Omit<import("../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
100
100
  export declare const base: import("@linaria/core").LinariaClassName;
101
101
  export declare const StyledLabel: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLabelElement> & import("react").LabelHTMLAttributes<HTMLLabelElement> & Record<never, unknown>>;
102
102
  export declare const LeftHelper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -1 +1 @@
1
- {"version":3,"file":"SingleDate.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.styles.ts"],"names":[],"mappings":";AAcA,eAAO,MAAM,aAAa,4TAAoB,CAAC;AAG/C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yIAuEvB,CAAC;AAEF,eAAO,MAAM,IAAI,0CAMhB,CAAC;AAEF,eAAO,MAAM,WAAW,8KAAiB,CAAC;AAE1C,eAAO,MAAM,UAAU,qKAAe,CAAC"}
1
+ {"version":3,"file":"SingleDate.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.styles.ts"],"names":[],"mappings":";AAcA,eAAO,MAAM,aAAa,4TAAoB,CAAC;AAG/C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kJAuEvB,CAAC;AAEF,eAAO,MAAM,IAAI,0CAMhB,CAAC;AAEF,eAAO,MAAM,WAAW,8KAAiB,CAAC;AAE1C,eAAO,MAAM,UAAU,qKAAe,CAAC"}
@@ -14,5 +14,5 @@ export declare const defaultValues: {
14
14
  textQuickJump: string;
15
15
  textPerPage: string;
16
16
  };
17
- export declare const getSections: (value?: number | undefined, pages?: number | undefined, slots?: 8 | 10 | 12 | 14 | 13 | 7 | 9 | 11 | 15 | undefined) => number[][];
17
+ export declare const getSections: (value?: number | undefined, pages?: number | undefined, slots?: 8 | 10 | 12 | 14 | 7 | 9 | 11 | 13 | 15 | undefined) => number[][];
18
18
  //# sourceMappingURL=index.d.ts.map