@salutejs/plasma-new-hope 0.196.0-canary.1585.11968062641.0 → 0.196.1-canary.1577.11970384401.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (255) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +2 -1
  2. package/cjs/components/Calendar/Calendar.tokens.js +2 -1
  3. package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
  4. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +4 -4
  5. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +4 -4
  6. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.css +4 -4
  7. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  8. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +4 -4
  9. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  10. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
  11. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +1 -1
  12. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
  13. package/cjs/components/Calendar/ui/DateStructureItem/{DateStructureItem.styles_uzh6dj.css → DateStructureItem.styles_1nxfztn.css} +1 -1
  14. package/cjs/components/Combobox/ComboboxNew/Combobox.css +5 -4
  15. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +1 -1
  16. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  17. package/{es/components/Combobox/ComboboxNew/Combobox.styles_7wj22s.css → cjs/components/Combobox/ComboboxNew/Combobox.styles_18a8p75.css} +1 -1
  18. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +5 -4
  19. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +5 -4
  20. package/cjs/components/Combobox/ComboboxOld/Combobox.css +1 -1
  21. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +1 -1
  22. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +1 -1
  23. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +1 -1
  24. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +1 -1
  25. package/cjs/components/DatePicker/RangeDate/RangeDate.css +6 -5
  26. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +6 -5
  27. package/cjs/components/DatePicker/SingleDate/SingleDate.css +6 -5
  28. package/cjs/components/Dropdown/Dropdown.css +1 -1
  29. package/cjs/components/Dropdown/Dropdown.styles.js +1 -1
  30. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  31. package/cjs/components/Dropdown/Dropdown.styles_dh7ns1.css +2 -0
  32. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +1 -1
  33. package/cjs/components/Pagination/Pagination.css +3 -2
  34. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -2
  35. package/cjs/components/Range/Range.css +2 -1
  36. package/cjs/components/Select/Select.css +3 -2
  37. package/cjs/components/Select/Select.styles.js +1 -1
  38. package/cjs/components/Select/Select.styles.js.map +1 -1
  39. package/{es/components/Select/Select.styles_1mmlpo3.css → cjs/components/Select/Select.styles_1p5c9p3.css} +1 -1
  40. package/cjs/components/Select/ui/Inner/Inner.css +3 -2
  41. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +3 -2
  42. package/cjs/components/Select/ui/Target/Target.css +2 -1
  43. package/cjs/components/Select/ui/Target/Target.js +2 -1
  44. package/cjs/components/Select/ui/Target/Target.js.map +1 -1
  45. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +2 -1
  46. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
  47. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  48. package/cjs/components/Slider/Slider.css +2 -1
  49. package/cjs/components/Slider/components/Double/Double.css +2 -1
  50. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +2 -1
  51. package/cjs/components/TextField/TextField.js +7 -4
  52. package/cjs/components/TextField/TextField.js.map +1 -1
  53. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +2 -1
  54. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +17 -3
  55. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  56. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +7 -1
  57. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  58. package/cjs/components/TextField/ui/TextFieldChip/{TextFieldChip.styles_1y8n7la.css → TextFieldChip.styles_1yosnxc.css} +1 -0
  59. package/cjs/index.css +11 -10
  60. package/emotion/cjs/components/Calendar/Calendar.tokens.js +2 -1
  61. package/emotion/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +5 -5
  62. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +6 -6
  63. package/emotion/cjs/components/Dropdown/Dropdown.styles.js +3 -3
  64. package/emotion/cjs/components/Select/Select.styles.js +3 -3
  65. package/emotion/cjs/components/Select/ui/Target/Target.js +2 -1
  66. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
  67. package/emotion/cjs/components/TextField/TextField.js +8 -5
  68. package/emotion/cjs/components/TextField/TextField.template-doc.mdx +13 -3
  69. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +17 -3
  70. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +12 -3
  71. package/emotion/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  72. package/emotion/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  73. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +8 -1
  74. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +10 -0
  75. package/emotion/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  76. package/emotion/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  77. package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +8 -1
  78. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -0
  79. package/emotion/es/components/Calendar/Calendar.tokens.js +2 -1
  80. package/emotion/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +5 -5
  81. package/emotion/es/components/Combobox/ComboboxNew/Combobox.styles.js +6 -6
  82. package/emotion/es/components/Dropdown/Dropdown.styles.js +3 -3
  83. package/emotion/es/components/Select/Select.styles.js +3 -3
  84. package/emotion/es/components/Select/ui/Target/Target.js +2 -1
  85. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
  86. package/emotion/es/components/TextField/TextField.js +8 -5
  87. package/emotion/es/components/TextField/TextField.template-doc.mdx +13 -3
  88. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +18 -4
  89. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +11 -2
  90. package/emotion/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  91. package/emotion/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  92. package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +8 -1
  93. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +10 -0
  94. package/emotion/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  95. package/emotion/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  96. package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +8 -1
  97. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -0
  98. package/es/components/Autocomplete/Autocomplete.css +2 -1
  99. package/es/components/Calendar/Calendar.tokens.js +2 -1
  100. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  101. package/es/components/Calendar/CalendarBase/CalendarBase.css +4 -4
  102. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +4 -4
  103. package/es/components/Calendar/ui/CalendarDays/CalendarDays.css +4 -4
  104. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  105. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +4 -4
  106. package/es/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  107. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
  108. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +1 -1
  109. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
  110. package/es/components/Calendar/ui/DateStructureItem/{DateStructureItem.styles_uzh6dj.css → DateStructureItem.styles_1nxfztn.css} +1 -1
  111. package/es/components/Combobox/ComboboxNew/Combobox.css +5 -4
  112. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +1 -1
  113. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  114. package/{cjs/components/Combobox/ComboboxNew/Combobox.styles_7wj22s.css → es/components/Combobox/ComboboxNew/Combobox.styles_18a8p75.css} +1 -1
  115. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +5 -4
  116. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +5 -4
  117. package/es/components/Combobox/ComboboxOld/Combobox.css +1 -1
  118. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +1 -1
  119. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +1 -1
  120. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +1 -1
  121. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +1 -1
  122. package/es/components/DatePicker/RangeDate/RangeDate.css +6 -5
  123. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +6 -5
  124. package/es/components/DatePicker/SingleDate/SingleDate.css +6 -5
  125. package/es/components/Dropdown/Dropdown.css +1 -1
  126. package/es/components/Dropdown/Dropdown.styles.js +1 -1
  127. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  128. package/es/components/Dropdown/Dropdown.styles_dh7ns1.css +2 -0
  129. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +1 -1
  130. package/es/components/Pagination/Pagination.css +3 -2
  131. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -2
  132. package/es/components/Range/Range.css +2 -1
  133. package/es/components/Select/Select.css +3 -2
  134. package/es/components/Select/Select.styles.js +1 -1
  135. package/es/components/Select/Select.styles.js.map +1 -1
  136. package/{cjs/components/Select/Select.styles_1mmlpo3.css → es/components/Select/Select.styles_1p5c9p3.css} +1 -1
  137. package/es/components/Select/ui/Inner/Inner.css +3 -2
  138. package/es/components/Select/ui/Inner/ui/Item/Item.css +3 -2
  139. package/es/components/Select/ui/Target/Target.css +2 -1
  140. package/es/components/Select/ui/Target/Target.js +2 -1
  141. package/es/components/Select/ui/Target/Target.js.map +1 -1
  142. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +2 -1
  143. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
  144. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  145. package/es/components/Slider/Slider.css +2 -1
  146. package/es/components/Slider/components/Double/Double.css +2 -1
  147. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +2 -1
  148. package/es/components/TextField/TextField.js +7 -4
  149. package/es/components/TextField/TextField.js.map +1 -1
  150. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +2 -1
  151. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +18 -4
  152. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  153. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +7 -2
  154. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  155. package/es/components/TextField/ui/TextFieldChip/{TextFieldChip.styles_1y8n7la.css → TextFieldChip.styles_1yosnxc.css} +1 -0
  156. package/es/index.css +11 -10
  157. package/package.json +2 -2
  158. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +2 -1
  159. package/styled-components/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +1 -1
  160. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +1 -1
  161. package/styled-components/cjs/components/Dropdown/Dropdown.styles.js +1 -1
  162. package/styled-components/cjs/components/Select/Select.styles.js +1 -1
  163. package/styled-components/cjs/components/Select/ui/Target/Target.js +2 -1
  164. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
  165. package/styled-components/cjs/components/TextField/TextField.js +7 -4
  166. package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +13 -3
  167. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +17 -3
  168. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +10 -2
  169. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +1 -1
  170. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +1 -1
  171. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +8 -1
  172. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +10 -0
  173. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +1 -1
  174. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +1 -1
  175. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +8 -1
  176. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -0
  177. package/styled-components/es/components/Calendar/Calendar.tokens.js +2 -1
  178. package/styled-components/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +1 -1
  179. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.styles.js +1 -1
  180. package/styled-components/es/components/Dropdown/Dropdown.styles.js +1 -1
  181. package/styled-components/es/components/Select/Select.styles.js +1 -1
  182. package/styled-components/es/components/Select/ui/Target/Target.js +2 -1
  183. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
  184. package/styled-components/es/components/TextField/TextField.js +7 -4
  185. package/styled-components/es/components/TextField/TextField.template-doc.mdx +13 -3
  186. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +18 -4
  187. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +9 -1
  188. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +1 -1
  189. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +1 -1
  190. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +8 -1
  191. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +10 -0
  192. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +1 -1
  193. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +1 -1
  194. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +8 -1
  195. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -0
  196. package/types/components/Autocomplete/Autocomplete.types.d.ts +3 -2
  197. package/types/components/Autocomplete/Autocomplete.types.d.ts.map +1 -1
  198. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +16 -0
  199. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  200. package/types/components/Calendar/Calendar.tokens.d.ts +1 -0
  201. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  202. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  203. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +16 -0
  204. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  205. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +16 -0
  206. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  207. package/types/components/Dropdown/Dropdown.types.d.ts +1 -1
  208. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  209. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +6 -0
  210. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  211. package/types/components/Range/Range.styles.d.ts +16 -0
  212. package/types/components/Range/Range.styles.d.ts.map +1 -1
  213. package/types/components/Select/Select.types.d.ts +7 -2
  214. package/types/components/Select/Select.types.d.ts.map +1 -1
  215. package/types/components/Select/ui/Target/Target.d.ts +1 -1
  216. package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
  217. package/types/components/Select/ui/Target/Target.types.d.ts +1 -1
  218. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  219. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  220. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +16 -0
  221. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  222. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -1
  223. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  224. package/types/components/Slider/components/Double/Double.styles.d.ts +16 -0
  225. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  226. package/types/components/TextField/TextField.d.ts.map +1 -1
  227. package/types/components/TextField/TextField.types.d.ts +8 -0
  228. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  229. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
  230. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts +1 -0
  231. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +1 -1
  232. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts +5 -1
  233. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts.map +1 -1
  234. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts +553 -3
  235. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  236. package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  237. package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  238. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +16 -0
  239. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
  240. package/types/examples/plasma_b2c/components/Select/Select.d.ts +6 -0
  241. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  242. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +16 -0
  243. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  244. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts +553 -3
  245. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  246. package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  247. package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  248. package/types/examples/plasma_web/components/Mask/Mask.d.ts +16 -0
  249. package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
  250. package/types/examples/plasma_web/components/Select/Select.d.ts +6 -0
  251. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
  252. package/types/examples/plasma_web/components/TextField/TextField.d.ts +16 -0
  253. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  254. package/cjs/components/Dropdown/Dropdown.styles_1ljmphy.css +0 -2
  255. package/es/components/Dropdown/Dropdown.styles_1ljmphy.css +0 -2
@@ -13,7 +13,7 @@ var config = exports.config = {
13
13
  },
14
14
  variations: {
15
15
  view: {
16
- "default": /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--surface-transparent-secondary);", ":transparent;", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":transparent;", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-accent);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-accent);", ":var(--surface-solid-default);", ":", ";", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--surface-accent);"], _Calendar.tokens.calendarSeparatorBackground, _Calendar.tokens.calendarBackgroundColor, _Calendar.tokens.calendarSelectedItemBackground, _Calendar.tokens.calendarSelectedItemColor, _Calendar.tokens.calendarSelectableItemBackgroundHover, _Calendar.tokens.calendarCurrentItemBorderColor, _Calendar.tokens.calendarCurrentItemBackgroundHover, _Calendar.tokens.calendarCurrentItemColorHover, _Calendar.tokens.calendarCurrentItemChildBackgroundHover, _Calendar.tokens.calendarActiveItemBackground, _Calendar.tokens.calendarActiveItemColor, _Calendar.tokens.calendarHoveredItemBackground, _Calendar.tokens.calendarHoveredItemColor, _Calendar.tokens.calendarRangeBackground, _Calendar.tokens.calendarOutlineFocusColor, _Calendar.tokens.calendarContentPrimaryColor, _Calendar.tokens.calendarHeaderArrowColor, _Calendar.tokens.calendarContentPrimaryColor, _Calendar.tokens.calendarContentSecondaryColor, _Calendar.tokens.iconButtonColor, _Calendar.tokens.iconButtonBackgroundColor, _Calendar.tokens.iconButtonColorHover, _Calendar.tokens.iconButtonBackgroundColorHover, _Calendar.tokens.iconButtonColorActive, _Calendar.tokens.iconButtonBackgroundColorActive, _Calendar.tokens.iconButtonFocusColor)
16
+ "default": /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--surface-transparent-secondary);", ":transparent;", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":transparent;", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-accent);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-accent);", ":var(--surface-solid-default);", ":", ";", ":var(--text-secondary);", ":0.4;", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--surface-accent);"], _Calendar.tokens.calendarSeparatorBackground, _Calendar.tokens.calendarBackgroundColor, _Calendar.tokens.calendarSelectedItemBackground, _Calendar.tokens.calendarSelectedItemColor, _Calendar.tokens.calendarSelectableItemBackgroundHover, _Calendar.tokens.calendarCurrentItemBorderColor, _Calendar.tokens.calendarCurrentItemBackgroundHover, _Calendar.tokens.calendarCurrentItemColorHover, _Calendar.tokens.calendarCurrentItemChildBackgroundHover, _Calendar.tokens.calendarActiveItemBackground, _Calendar.tokens.calendarActiveItemColor, _Calendar.tokens.calendarHoveredItemBackground, _Calendar.tokens.calendarHoveredItemColor, _Calendar.tokens.calendarRangeBackground, _Calendar.tokens.calendarOutlineFocusColor, _Calendar.tokens.calendarContentPrimaryColor, _Calendar.tokens.calendarHeaderArrowColor, _Calendar.tokens.calendarContentPrimaryColor, _Calendar.tokens.calendarContentSecondaryColor, _Calendar.tokens.calendarDisabledOpacity, _Calendar.tokens.iconButtonColor, _Calendar.tokens.iconButtonBackgroundColor, _Calendar.tokens.iconButtonColorHover, _Calendar.tokens.iconButtonBackgroundColorHover, _Calendar.tokens.iconButtonColorActive, _Calendar.tokens.iconButtonBackgroundColorActive, _Calendar.tokens.iconButtonFocusColor)
17
17
  },
18
18
  size: {
19
19
  l: /*#__PURE__*/(0, _styledComponents.css)(["", ":51.063rem;", ":25rem;", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":11.75rem;", ":10.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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.75rem;", ":3.5rem;", ":3rem;", ":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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.063rem;", ":0.5rem;", ":0.5rem 0 0 0;", ":0 0 0 1rem;", ":0.5rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":3.5rem;", ":3.5rem;", ":1.5rem;", ":0.875rem;"], _Calendar.tokens.calendarWidth, _Calendar.tokens.calendarHeight, _Calendar.tokens.calendarYearsPadding, _Calendar.tokens.calendarYearItemBorderRadius, _Calendar.tokens.calendarYearItemWidth, _Calendar.tokens.calendarYearItemHeight, _Calendar.tokens.calendarYearFontFamily, _Calendar.tokens.calendarYearFontSize, _Calendar.tokens.calendarYearFontStyle, _Calendar.tokens.calendarYearFontLetterSpacing, _Calendar.tokens.calendarYearFontLineHeight, _Calendar.tokens.calendarYearFontWeight, _Calendar.tokens.calendarYearSelectedFontWeight, _Calendar.tokens.calendarQuartersPadding, _Calendar.tokens.calendarQuarterItemBorderRadius, _Calendar.tokens.calendarQuarterItemWidth, _Calendar.tokens.calendarQuarterItemHeight, _Calendar.tokens.calendarQuarterFontFamily, _Calendar.tokens.calendarQuarterFontSize, _Calendar.tokens.calendarQuarterFontStyle, _Calendar.tokens.calendarQuarterFontLetterSpacing, _Calendar.tokens.calendarQuarterFontLineHeight, _Calendar.tokens.calendarQuarterFontWeight, _Calendar.tokens.calendarQuarterSelectedFontWeight, _Calendar.tokens.calendarMonthsPadding, _Calendar.tokens.calendarMonthItemBorderRadius, _Calendar.tokens.calendarMonthItemWidth, _Calendar.tokens.calendarMonthItemHeight, _Calendar.tokens.calendarMonthFontFamily, _Calendar.tokens.calendarMonthFontSize, _Calendar.tokens.calendarMonthFontStyle, _Calendar.tokens.calendarMonthFontLetterSpacing, _Calendar.tokens.calendarMonthFontLineHeight, _Calendar.tokens.calendarMonthFontWeight, _Calendar.tokens.calendarMonthSelectedFontWeight, _Calendar.tokens.calendarDayItemBorderRadius, _Calendar.tokens.calendarDayItemWidth, _Calendar.tokens.calendarDayItemHeight, _Calendar.tokens.calendarDayFontFamily, _Calendar.tokens.calendarDayFontSize, _Calendar.tokens.calendarDayFontStyle, _Calendar.tokens.calendarDayFontLetterSpacing, _Calendar.tokens.calendarDayFontLineHeight, _Calendar.tokens.calendarDayFontWeight, _Calendar.tokens.calendarDaySelectedFontWeight, _Calendar.tokens.calendarCurrentItemBorderWidth, _Calendar.tokens.calendarHeaderArrowGap, _Calendar.tokens.calendarDaysPadding, _Calendar.tokens.calendarHeaderPadding, _Calendar.tokens.calendarHeaderDateGap, _Calendar.tokens.calendarHeaderFontFamily, _Calendar.tokens.calendarHeaderFontSize, _Calendar.tokens.calendarHeaderFontStyle, _Calendar.tokens.calendarHeaderFontLetterSpacing, _Calendar.tokens.calendarHeaderFontLineHeight, _Calendar.tokens.calendarHeaderFontWeight, _Calendar.tokens.calendarHeaderFontWeightBold, _Calendar.tokens.iconButtonHeight, _Calendar.tokens.iconButtonWidth, _Calendar.tokens.iconButtonPadding, _Calendar.tokens.iconButtonRadius),
@@ -103,6 +103,11 @@ const meta: Meta<StorySelectProps> = {
103
103
  },
104
104
  if: { arg: 'required', truthy: false },
105
105
  },
106
+ chipType: {
107
+ control: 'select',
108
+ options: ['default', 'text'],
109
+ if: { arg: 'target', eq: 'textfield-like' },
110
+ },
106
111
  },
107
112
  args: {
108
113
  target: 'textfield-like',
@@ -120,6 +125,7 @@ const meta: Meta<StorySelectProps> = {
120
125
  optional: false,
121
126
  required: false,
122
127
  requiredPlacement: 'right',
128
+ chipType: 'default',
123
129
  },
124
130
  parameters: {
125
131
  controls: {
@@ -143,6 +149,7 @@ const meta: Meta<StorySelectProps> = {
143
149
  'optional',
144
150
  'required',
145
151
  'requiredPlacement',
152
+ 'chipType',
146
153
  ],
147
154
  },
148
155
  },
@@ -381,7 +388,7 @@ const SingleStory = (args: StorySelectProps) => {
381
388
  export const Single: StoryObj<StorySelectProps> = {
382
389
  parameters: {
383
390
  controls: {
384
- exclude: ['chipView', 'isTargetAmount'],
391
+ exclude: ['chipView', 'isTargetAmount', 'chipType'],
385
392
  },
386
393
  },
387
394
  render: (args) => <SingleStory {...args} />,
@@ -134,6 +134,10 @@ const meta: Meta<typeof TextField> = {
134
134
  control: { type: 'text' },
135
135
  if: { arg: 'hasHint', truthy: true },
136
136
  },
137
+ chipType: {
138
+ control: 'select',
139
+ options: ['default', 'text'],
140
+ },
137
141
  },
138
142
  };
139
143
 
@@ -233,6 +237,11 @@ export const Default: StoryObj<StoryPropsDefault> = {
233
237
  hintWidth: '10rem',
234
238
  hintHasArrow: true,
235
239
  },
240
+ parameters: {
241
+ controls: {
242
+ exclude: ['chipType'],
243
+ },
244
+ },
236
245
  render: (args) => <StoryDemo {...args} />,
237
246
  };
238
247
 
@@ -288,6 +297,7 @@ export const Chips: StoryObj<StoryPropsChips> = {
288
297
  args: {
289
298
  ...Default.args,
290
299
  chips: ['1 value', '2 value', '3 value', '4 value'],
300
+ chipType: 'default',
291
301
  },
292
302
  render: (args) => <StoryChips {...args} />,
293
303
  };
@@ -123,5 +123,6 @@ export var tokens = {
123
123
  calendarRangeBackground: '--plasma-calendar-range-background',
124
124
  calendarOutlineFocusColor: '--plasma-calendar-outline-focus-color',
125
125
  calendarContentPrimaryColor: '--plasma-calendar-content-primary-color',
126
- calendarContentSecondaryColor: '--plasma-calendar-content-secondary-color'
126
+ calendarContentSecondaryColor: '--plasma-calendar-content-secondary-color',
127
+ calendarDisabledOpacity: '--plasma-calendar-disabled-opacity'
127
128
  };
@@ -18,7 +18,7 @@ export var StyledItem = /*#__PURE__*/styled.div.withConfig({
18
18
  return "".concat(offset, "px");
19
19
  });
20
20
  var disabledItem = function disabledItem() {
21
- return "\n cursor: not-allowed;\n opacity: 0.4;\n";
21
+ return "\n cursor: not-allowed;\n opacity: var(".concat(tokens.calendarDisabledOpacity, ");\n");
22
22
  };
23
23
  var disabledCurrentItem = function disabledCurrentItem() {
24
24
  return "\n ".concat(disabledItem(), ";\n");
@@ -8,7 +8,7 @@ var mergedConfig = /*#__PURE__*/mergeConfig(emptyStateConfig);
8
8
  var EmptyState = /*#__PURE__*/component(mergedConfig);
9
9
  export var Ul = /*#__PURE__*/styled.ul.withConfig({
10
10
  componentId: "plasma-new-hope__sc-2kddkg-0"
11
- })(["box-sizing:border-box;background:var(", ");box-shadow:", ";border-radius:var(", ");width:", ";max-height:", ";overflow:", ";border:var(", ") solid var(", ");margin:", ";padding:var(", ") 0;.", "{box-shadow:none;}"], constants.background, constants.boxShadow, tokens.borderRadius, function (_ref) {
11
+ })(["box-sizing:border-box;background:var(", ");box-shadow:", ";border-radius:var(", ");width:", ";height:", ";overflow:", ";border:var(", ") solid var(", ");margin:", ";padding:var(", ") 0;.", "{box-shadow:none;}"], constants.background, constants.boxShadow, tokens.borderRadius, function (_ref) {
12
12
  var listWidth = _ref.listWidth;
13
13
  return listWidth || '100%';
14
14
  }, function (_ref2) {
@@ -4,7 +4,7 @@ import { getCorrectHeight } from './utils';
4
4
  import { tokens, constants } from './Dropdown.tokens';
5
5
  export var Ul = /*#__PURE__*/styled.ul.withConfig({
6
6
  componentId: "plasma-new-hope__sc-13ezpo5-0"
7
- })(["box-sizing:border-box;width:", ";max-height:", ";margin:", ";padding:var(", ") 0;overflow:", ";background:var(", ");box-shadow:", ";border-radius:var(", ");border:var(", ") solid var(", ");"], function (_ref) {
7
+ })(["box-sizing:border-box;width:", ";height:", ";margin:", ";padding:var(", ") 0;overflow:", ";background:var(", ");box-shadow:", ";border-radius:var(", ");border:var(", ") solid var(", ");"], function (_ref) {
8
8
  var listWidth = _ref.listWidth;
9
9
  return listWidth || "var(".concat(tokens.width, ")");
10
10
  }, function (_ref2) {
@@ -4,7 +4,7 @@ import { getCorrectHeight } from './utils';
4
4
  import { tokens, constants } from './Select.tokens';
5
5
  export var Ul = /*#__PURE__*/styled.ul.withConfig({
6
6
  componentId: "plasma-new-hope__sc-le54jv-0"
7
- })(["box-sizing:border-box;background:var(", ");box-shadow:", ",inset 0 0 0 var(", ",0rem) var(", ",transparent);border-radius:var(", ");width:", ";max-height:", ";overflow:", ";margin:", ";padding:calc(var(", ") + var(", ",0rem)) 0;"], constants.background, constants.boxShadow, tokens.dropdownBorderWidth, tokens.dropdownBorderColor, tokens.borderRadius, function (_ref) {
7
+ })(["box-sizing:border-box;background:var(", ");box-shadow:", ",inset 0 0 0 var(", ",0rem) var(", ",transparent);border-radius:var(", ");width:", ";height:", ";overflow:", ";margin:", ";padding:calc(var(", ") + var(", ",0rem)) 0;"], constants.background, constants.boxShadow, tokens.dropdownBorderWidth, tokens.dropdownBorderColor, tokens.borderRadius, function (_ref) {
8
8
  var listWidth = _ref.listWidth;
9
9
  return listWidth || '100%';
10
10
  }, function (_ref2) {
@@ -73,6 +73,7 @@ export var Target = /*#__PURE__*/forwardRef(function (_ref, ref) {
73
73
  onChange: onChange,
74
74
  labelToItemMap: labelToItemMap,
75
75
  chipView: chipView,
76
- requiredProps: requiredProps
76
+ requiredProps: requiredProps,
77
+ chipType: selectProps.chipType
77
78
  });
78
79
  });
@@ -33,7 +33,8 @@ export var Textfield = /*#__PURE__*/forwardRef(function (_ref, ref) {
33
33
  onChange = _ref.onChange,
34
34
  labelToItemMap = _ref.labelToItemMap,
35
35
  chipView = _ref.chipView,
36
- requiredProps = _ref.requiredProps;
36
+ requiredProps = _ref.requiredProps,
37
+ chipType = _ref.chipType;
37
38
  var withArrowInverse = opened ? classes.arrowInverse : undefined;
38
39
  var getChips = function getChips() {
39
40
  if (multiselect && Array.isArray(value)) {
@@ -104,7 +105,8 @@ export var Textfield = /*#__PURE__*/forwardRef(function (_ref, ref) {
104
105
  }, multiselect ? {
105
106
  enumerationType: 'chip',
106
107
  chips: getChips(),
107
- onChangeChips: handleChipsChange
108
+ onChangeChips: handleChipsChange,
109
+ chipType: chipType
108
110
  } : {
109
111
  enumerationType: 'plain'
110
112
  }, {
@@ -1,4 +1,4 @@
1
- var _excluded = ["id", "className", "style", "contentLeft", "contentRight", "label", "labelPlacement", "textBefore", "textAfter", "placeholder", "leftHelper", "enumerationType", "requiredPlacement", "titleCaption", "hintTrigger", "hintText", "hintView", "hintSize", "hintTargetIcon", "hintPlacement", "hintHasArrow", "hintOffset", "hintWidth", "hintContentLeft", "view", "size", "readOnly", "disabled", "required", "clear", "optional", "hasDivider", "value", "chips", "onChange", "onChangeChips", "onSearch", "onKeyDown"];
1
+ var _excluded = ["id", "className", "style", "contentLeft", "contentRight", "label", "labelPlacement", "textBefore", "textAfter", "placeholder", "leftHelper", "enumerationType", "requiredPlacement", "titleCaption", "hintTrigger", "hintText", "hintView", "hintSize", "hintTargetIcon", "hintPlacement", "hintHasArrow", "hintOffset", "hintWidth", "hintContentLeft", "view", "size", "readOnly", "disabled", "required", "clear", "optional", "hasDivider", "value", "chips", "chipType", "onChange", "onChangeChips", "onSearch", "onKeyDown"];
2
2
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
3
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -77,6 +77,8 @@ export var textFieldRoot = function textFieldRoot(Root) {
77
77
  hasDivider = _ref.hasDivider,
78
78
  outerValue = _ref.value,
79
79
  values = _ref.chips,
80
+ _ref$chipType = _ref.chipType,
81
+ chipType = _ref$chipType === void 0 ? 'default' : _ref$chipType,
80
82
  onChange = _ref.onChange,
81
83
  onChangeChips = _ref.onChangeChips,
82
84
  onSearch = _ref.onSearch,
@@ -125,8 +127,8 @@ export var textFieldRoot = function textFieldRoot(Root) {
125
127
  var requiredPlacementClass = requiredPlacement === 'right' ? classes.requiredAlignRight : undefined;
126
128
  var labelPlacementClass = innerLabelPlacementValue ? classes["".concat(innerLabelPlacementValue, "LabelPlacement")] : undefined;
127
129
  var hasValueClass = hasValue ? classes.hasValue : undefined;
128
- var wrapperWithoutLeftContent = !contentLeft && isChipsVisible ? classes.hasEmptyContentLeft : undefined;
129
- var wrapperWithoutRightContent = !contentRight && isChipsVisible ? classes.hasEmptyContentRight : undefined;
130
+ var wrapperWithoutLeftContent = !contentLeft && isChipsVisible && chipType === 'default' ? classes.hasEmptyContentLeft : undefined;
131
+ var wrapperWithoutRightContent = !contentRight && isChipsVisible && chipType === 'default' ? classes.hasEmptyContentRight : undefined;
130
132
  var hintRef = useOutsideClick(function () {
131
133
  setIsHintVisible(false);
132
134
  });
@@ -317,7 +319,8 @@ export var textFieldRoot = function textFieldRoot(Root) {
317
319
  onClear: function onClear() {
318
320
  return onChipClear(chipId, index);
319
321
  },
320
- onClick: onChipClick
322
+ onClick: onChipClick,
323
+ chipType: chipType
321
324
  // TODO: #1547
322
325
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
323
326
  // @ts-ignore
@@ -62,7 +62,7 @@ export function App() {
62
62
  ```
63
63
 
64
64
  ### Статус поля
65
- Статус поля задается с помощью свойства `status`.
65
+ Статус поля задается с помощью свойства `status`.
66
66
  Возможные значения свойства: `success`, `warning` и `error`.
67
67
  На отображение TextField так же влияют свойства `clear` и `hasDivider`:
68
68
 
@@ -150,7 +150,7 @@ export function App() {
150
150
  ```
151
151
 
152
152
  ### Режим ввода
153
- С помощью свойства `enumerationType` можно вводить элементы как теги.
153
+ С помощью свойства `enumerationType` можно вводить элементы как теги. Свойство `chipType` изменяет внешний вид чипа.
154
154
  По нажатию Enter, после ввода нужного текста, он преобразуется в Chip:
155
155
 
156
156
  ```tsx live
@@ -166,7 +166,17 @@ export function App() {
166
166
  size="l"
167
167
  enumerationType="chip"
168
168
  helperText="Подсказка снизу"
169
- values={["Значение 1"]}
169
+ chips={["Значение 1"]}
170
+ />
171
+
172
+ <TextField
173
+ placeholder="Введите значение"
174
+ defaultValue="Значение"
175
+ size="l"
176
+ enumerationType="chip"
177
+ helperText="Подсказка снизу"
178
+ chips={["Значение 1"]}
179
+ chipType="text"
170
180
  />
171
181
  </div>
172
182
  );
@@ -1,5 +1,5 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { StyledChip } from './TextFieldChip.styles';
2
+ import { StyledChip, TextChip } from './TextFieldChip.styles';
3
3
  /**
4
4
  * Чип, отображающий выбранный элемент
5
5
  */
@@ -11,14 +11,23 @@ export var TextFieldChip = /*#__PURE__*/forwardRef(function (_ref, ref) {
11
11
  onClick = _ref.onClick,
12
12
  onClear = _ref.onClear,
13
13
  onKeyDown = _ref.onKeyDown,
14
- _forceChipManipulationWithReadonly = _ref._forceChipManipulationWithReadonly;
14
+ _forceChipManipulationWithReadonly = _ref._forceChipManipulationWithReadonly,
15
+ chipType = _ref.chipType;
15
16
  var onClearHandle = function onClearHandle() {
16
17
  return onClear(id);
17
18
  };
18
19
  var onKeyDownHandle = function onKeyDownHandle(event) {
19
20
  onKeyDown === null || onKeyDown === void 0 || onKeyDown(event, id);
20
21
  };
21
- return /*#__PURE__*/React.createElement(StyledChip, {
22
+ var handleClick = function handleClick(e) {
23
+ if (onClick) {
24
+ onClick(e);
25
+ }
26
+ if (onClear) {
27
+ onClear(id);
28
+ }
29
+ };
30
+ return chipType === 'default' ? /*#__PURE__*/React.createElement(StyledChip, {
22
31
  ref: ref,
23
32
  tabIndex: -1,
24
33
  disabled: disabled,
@@ -32,5 +41,10 @@ export var TextFieldChip = /*#__PURE__*/forwardRef(function (_ref, ref) {
32
41
  // @ts-ignore
33
42
  ,
34
43
  _forceChipManipulationWithReadonly: _forceChipManipulationWithReadonly
35
- });
44
+ }) : /*#__PURE__*/React.createElement(TextChip, {
45
+ ref: ref,
46
+ tabIndex: -1,
47
+ onClick: handleClick,
48
+ onKeyDown: onKeyDownHandle
49
+ }, text);
36
50
  });
@@ -16,4 +16,12 @@ export var StyledChip = /*#__PURE__*/styled(Chip).withConfig({
16
16
  outlineSize: '0.0625rem',
17
17
  outlineRadius: /*#__PURE__*/"calc(var(".concat(tokens.chipBorderRadius, ") - 0.1rem)"),
18
18
  outlineColor: /*#__PURE__*/"var(".concat(tokens.focusColor, ")")
19
- }), tokens.chipOpacityReadonly);
19
+ }), tokens.chipOpacityReadonly);
20
+ export var TextChip = /*#__PURE__*/styled.button.withConfig({
21
+ componentId: "plasma-new-hope__sc-1mypbcr-1"
22
+ })(["display:block;flex:none;background:none;border:none;outline:none;padding:0;white-space:nowrap;cursor:pointer;font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");color:var(", ");", " &:after{content:',';}&:last-child{&:after{content:'';}}"], tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.color, /*#__PURE__*/addFocus({
23
+ outlineOffset: '0.0625rem',
24
+ outlineSize: '0.0625rem',
25
+ outlineRadius: /*#__PURE__*/"calc(var(".concat(tokens.chipBorderRadius, ") - 0.1rem)"),
26
+ outlineColor: /*#__PURE__*/"var(".concat(tokens.focusColor, ")")
27
+ }));
@@ -7,7 +7,7 @@ export var config = {
7
7
  },
8
8
  variations: {
9
9
  view: {
10
- "default": /*#__PURE__*/css(["", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":transparent;", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-accent);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-accent);", ":var(--surface-solid-default);", ":var(--text-secondary);", ":", ";", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--surface-accent);"], calendarBaseTokens.calendarSelectedItemBackground, calendarBaseTokens.calendarSelectedItemColor, calendarBaseTokens.calendarSelectableItemBackgroundHover, calendarBaseTokens.calendarCurrentItemBorderColor, calendarBaseTokens.calendarCurrentItemBackgroundHover, calendarBaseTokens.calendarCurrentItemColorHover, calendarBaseTokens.calendarCurrentItemChildBackgroundHover, calendarBaseTokens.calendarActiveItemBackground, calendarBaseTokens.calendarActiveItemColor, calendarBaseTokens.calendarHoveredItemBackground, calendarBaseTokens.calendarHoveredItemColor, calendarBaseTokens.calendarRangeBackground, calendarBaseTokens.calendarOutlineFocusColor, calendarBaseTokens.calendarContentPrimaryColor, calendarBaseTokens.calendarContentSecondaryColor, calendarBaseTokens.calendarHeaderArrowColor, calendarBaseTokens.calendarContentPrimaryColor, calendarBaseTokens.calendarDayOfWeekColor, calendarBaseTokens.iconButtonColor, calendarBaseTokens.iconButtonBackgroundColor, calendarBaseTokens.iconButtonColorHover, calendarBaseTokens.iconButtonBackgroundColorHover, calendarBaseTokens.iconButtonColorActive, calendarBaseTokens.iconButtonBackgroundColorActive, calendarBaseTokens.iconButtonFocusColor)
10
+ "default": /*#__PURE__*/css(["", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":transparent;", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-accent);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-accent);", ":var(--surface-solid-default);", ":var(--text-secondary);", ":", ";", ":var(--text-secondary);", ":0.4;", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--surface-accent);"], calendarBaseTokens.calendarSelectedItemBackground, calendarBaseTokens.calendarSelectedItemColor, calendarBaseTokens.calendarSelectableItemBackgroundHover, calendarBaseTokens.calendarCurrentItemBorderColor, calendarBaseTokens.calendarCurrentItemBackgroundHover, calendarBaseTokens.calendarCurrentItemColorHover, calendarBaseTokens.calendarCurrentItemChildBackgroundHover, calendarBaseTokens.calendarActiveItemBackground, calendarBaseTokens.calendarActiveItemColor, calendarBaseTokens.calendarHoveredItemBackground, calendarBaseTokens.calendarHoveredItemColor, calendarBaseTokens.calendarRangeBackground, calendarBaseTokens.calendarOutlineFocusColor, calendarBaseTokens.calendarContentPrimaryColor, calendarBaseTokens.calendarContentSecondaryColor, calendarBaseTokens.calendarHeaderArrowColor, calendarBaseTokens.calendarContentPrimaryColor, calendarBaseTokens.calendarDayOfWeekColor, calendarBaseTokens.calendarDisabledOpacity, calendarBaseTokens.iconButtonColor, calendarBaseTokens.iconButtonBackgroundColor, calendarBaseTokens.iconButtonColorHover, calendarBaseTokens.iconButtonBackgroundColorHover, calendarBaseTokens.iconButtonColorActive, calendarBaseTokens.iconButtonBackgroundColorActive, calendarBaseTokens.iconButtonFocusColor)
11
11
  },
12
12
  size: {
13
13
  l: /*#__PURE__*/css(["", ":24.5rem;", ":25rem;", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":11.75rem;", ":10.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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0 0 0;", ":0.75rem;", ":3.5rem;", ":3rem;", ":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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.063rem;", ":0.5rem;", ":0 0 0 1rem;", ":0.5rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":3.5rem;", ":3.5rem;", ":1.5rem;", ":0.875rem;"], calendarBaseTokens.calendarWidth, calendarBaseTokens.calendarHeight, calendarBaseTokens.calendarYearsPadding, calendarBaseTokens.calendarYearItemBorderRadius, calendarBaseTokens.calendarYearItemWidth, calendarBaseTokens.calendarYearItemHeight, calendarBaseTokens.calendarYearFontFamily, calendarBaseTokens.calendarYearFontSize, calendarBaseTokens.calendarYearFontStyle, calendarBaseTokens.calendarYearFontLetterSpacing, calendarBaseTokens.calendarYearFontLineHeight, calendarBaseTokens.calendarYearFontWeight, calendarBaseTokens.calendarYearSelectedFontWeight, calendarBaseTokens.calendarQuartersPadding, calendarBaseTokens.calendarQuarterItemBorderRadius, calendarBaseTokens.calendarQuarterItemWidth, calendarBaseTokens.calendarQuarterItemHeight, calendarBaseTokens.calendarQuarterFontFamily, calendarBaseTokens.calendarQuarterFontSize, calendarBaseTokens.calendarQuarterFontStyle, calendarBaseTokens.calendarQuarterFontLetterSpacing, calendarBaseTokens.calendarQuarterFontLineHeight, calendarBaseTokens.calendarQuarterFontWeight, calendarBaseTokens.calendarQuarterSelectedFontWeight, calendarBaseTokens.calendarMonthsPadding, calendarBaseTokens.calendarMonthItemBorderRadius, calendarBaseTokens.calendarMonthItemWidth, calendarBaseTokens.calendarMonthItemHeight, calendarBaseTokens.calendarMonthFontFamily, calendarBaseTokens.calendarMonthFontSize, calendarBaseTokens.calendarMonthFontStyle, calendarBaseTokens.calendarMonthFontLetterSpacing, calendarBaseTokens.calendarMonthFontLineHeight, calendarBaseTokens.calendarMonthFontWeight, calendarBaseTokens.calendarMonthSelectedFontWeight, calendarBaseTokens.calendarDaysPadding, calendarBaseTokens.calendarDayItemBorderRadius, calendarBaseTokens.calendarDayItemWidth, calendarBaseTokens.calendarDayItemHeight, calendarBaseTokens.calendarDayFontFamily, calendarBaseTokens.calendarDayFontSize, calendarBaseTokens.calendarDayFontStyle, calendarBaseTokens.calendarDayFontLetterSpacing, calendarBaseTokens.calendarDayFontLineHeight, calendarBaseTokens.calendarDayFontWeight, calendarBaseTokens.calendarDaySelectedFontWeight, calendarBaseTokens.calendarCurrentItemBorderWidth, calendarBaseTokens.calendarHeaderArrowGap, calendarBaseTokens.calendarHeaderPadding, calendarBaseTokens.calendarHeaderDateGap, calendarBaseTokens.calendarHeaderFontFamily, calendarBaseTokens.calendarHeaderFontSize, calendarBaseTokens.calendarHeaderFontStyle, calendarBaseTokens.calendarHeaderFontLetterSpacing, calendarBaseTokens.calendarHeaderFontLineHeight, calendarBaseTokens.calendarHeaderFontWeight, calendarBaseTokens.calendarHeaderFontWeightBold, calendarBaseTokens.iconButtonHeight, calendarBaseTokens.iconButtonWidth, calendarBaseTokens.iconButtonPadding, calendarBaseTokens.iconButtonRadius),
@@ -7,7 +7,7 @@ export var config = {
7
7
  },
8
8
  variations: {
9
9
  view: {
10
- "default": /*#__PURE__*/css(["", ":var(--surface-transparent-secondary);", ":transparent;", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":transparent;", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-accent);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-accent);", ":var(--surface-solid-default);", ":", ";", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--surface-accent);"], calendarDoubleTokens.calendarSeparatorBackground, calendarDoubleTokens.calendarBackgroundColor, calendarDoubleTokens.calendarSelectedItemBackground, calendarDoubleTokens.calendarSelectedItemColor, calendarDoubleTokens.calendarSelectableItemBackgroundHover, calendarDoubleTokens.calendarCurrentItemBorderColor, calendarDoubleTokens.calendarCurrentItemBackgroundHover, calendarDoubleTokens.calendarCurrentItemColorHover, calendarDoubleTokens.calendarCurrentItemChildBackgroundHover, calendarDoubleTokens.calendarActiveItemBackground, calendarDoubleTokens.calendarActiveItemColor, calendarDoubleTokens.calendarHoveredItemBackground, calendarDoubleTokens.calendarHoveredItemColor, calendarDoubleTokens.calendarRangeBackground, calendarDoubleTokens.calendarOutlineFocusColor, calendarDoubleTokens.calendarContentPrimaryColor, calendarDoubleTokens.calendarHeaderArrowColor, calendarDoubleTokens.calendarContentPrimaryColor, calendarDoubleTokens.calendarContentSecondaryColor, calendarDoubleTokens.iconButtonColor, calendarDoubleTokens.iconButtonBackgroundColor, calendarDoubleTokens.iconButtonColorHover, calendarDoubleTokens.iconButtonBackgroundColorHover, calendarDoubleTokens.iconButtonColorActive, calendarDoubleTokens.iconButtonBackgroundColorActive, calendarDoubleTokens.iconButtonFocusColor)
10
+ "default": /*#__PURE__*/css(["", ":var(--surface-transparent-secondary);", ":transparent;", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":transparent;", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-accent);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-accent);", ":var(--surface-solid-default);", ":", ";", ":var(--text-secondary);", ":0.4;", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--surface-accent);"], calendarDoubleTokens.calendarSeparatorBackground, calendarDoubleTokens.calendarBackgroundColor, calendarDoubleTokens.calendarSelectedItemBackground, calendarDoubleTokens.calendarSelectedItemColor, calendarDoubleTokens.calendarSelectableItemBackgroundHover, calendarDoubleTokens.calendarCurrentItemBorderColor, calendarDoubleTokens.calendarCurrentItemBackgroundHover, calendarDoubleTokens.calendarCurrentItemColorHover, calendarDoubleTokens.calendarCurrentItemChildBackgroundHover, calendarDoubleTokens.calendarActiveItemBackground, calendarDoubleTokens.calendarActiveItemColor, calendarDoubleTokens.calendarHoveredItemBackground, calendarDoubleTokens.calendarHoveredItemColor, calendarDoubleTokens.calendarRangeBackground, calendarDoubleTokens.calendarOutlineFocusColor, calendarDoubleTokens.calendarContentPrimaryColor, calendarDoubleTokens.calendarHeaderArrowColor, calendarDoubleTokens.calendarContentPrimaryColor, calendarDoubleTokens.calendarContentSecondaryColor, calendarDoubleTokens.calendarDisabledOpacity, calendarDoubleTokens.iconButtonColor, calendarDoubleTokens.iconButtonBackgroundColor, calendarDoubleTokens.iconButtonColorHover, calendarDoubleTokens.iconButtonBackgroundColorHover, calendarDoubleTokens.iconButtonColorActive, calendarDoubleTokens.iconButtonBackgroundColorActive, calendarDoubleTokens.iconButtonFocusColor)
11
11
  },
12
12
  size: {
13
13
  l: /*#__PURE__*/css(["", ":51.063rem;", ":25rem;", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":11.75rem;", ":10.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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.75rem;", ":3.5rem;", ":3rem;", ":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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.063rem;", ":0.5rem;", ":0.5rem 0 0 0;", ":0 0 0 1rem;", ":0.5rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":3.5rem;", ":3.5rem;", ":1.5rem;", ":0.875rem;"], calendarDoubleTokens.calendarWidth, calendarDoubleTokens.calendarHeight, calendarDoubleTokens.calendarYearsPadding, calendarDoubleTokens.calendarYearItemBorderRadius, calendarDoubleTokens.calendarYearItemWidth, calendarDoubleTokens.calendarYearItemHeight, calendarDoubleTokens.calendarYearFontFamily, calendarDoubleTokens.calendarYearFontSize, calendarDoubleTokens.calendarYearFontStyle, calendarDoubleTokens.calendarYearFontLetterSpacing, calendarDoubleTokens.calendarYearFontLineHeight, calendarDoubleTokens.calendarYearFontWeight, calendarDoubleTokens.calendarYearSelectedFontWeight, calendarDoubleTokens.calendarQuartersPadding, calendarDoubleTokens.calendarQuarterItemBorderRadius, calendarDoubleTokens.calendarQuarterItemWidth, calendarDoubleTokens.calendarQuarterItemHeight, calendarDoubleTokens.calendarQuarterFontFamily, calendarDoubleTokens.calendarQuarterFontSize, calendarDoubleTokens.calendarQuarterFontStyle, calendarDoubleTokens.calendarQuarterFontLetterSpacing, calendarDoubleTokens.calendarQuarterFontLineHeight, calendarDoubleTokens.calendarQuarterFontWeight, calendarDoubleTokens.calendarQuarterSelectedFontWeight, calendarDoubleTokens.calendarMonthsPadding, calendarDoubleTokens.calendarMonthItemBorderRadius, calendarDoubleTokens.calendarMonthItemWidth, calendarDoubleTokens.calendarMonthItemHeight, calendarDoubleTokens.calendarMonthFontFamily, calendarDoubleTokens.calendarMonthFontSize, calendarDoubleTokens.calendarMonthFontStyle, calendarDoubleTokens.calendarMonthFontLetterSpacing, calendarDoubleTokens.calendarMonthFontLineHeight, calendarDoubleTokens.calendarMonthFontWeight, calendarDoubleTokens.calendarMonthSelectedFontWeight, calendarDoubleTokens.calendarDayItemBorderRadius, calendarDoubleTokens.calendarDayItemWidth, calendarDoubleTokens.calendarDayItemHeight, calendarDoubleTokens.calendarDayFontFamily, calendarDoubleTokens.calendarDayFontSize, calendarDoubleTokens.calendarDayFontStyle, calendarDoubleTokens.calendarDayFontLetterSpacing, calendarDoubleTokens.calendarDayFontLineHeight, calendarDoubleTokens.calendarDayFontWeight, calendarDoubleTokens.calendarDaySelectedFontWeight, calendarDoubleTokens.calendarCurrentItemBorderWidth, calendarDoubleTokens.calendarHeaderArrowGap, calendarDoubleTokens.calendarDaysPadding, calendarDoubleTokens.calendarHeaderPadding, calendarDoubleTokens.calendarHeaderDateGap, calendarDoubleTokens.calendarHeaderFontFamily, calendarDoubleTokens.calendarHeaderFontSize, calendarDoubleTokens.calendarHeaderFontStyle, calendarDoubleTokens.calendarHeaderFontLetterSpacing, calendarDoubleTokens.calendarHeaderFontLineHeight, calendarDoubleTokens.calendarHeaderFontWeight, calendarDoubleTokens.calendarHeaderFontWeightBold, calendarDoubleTokens.iconButtonHeight, calendarDoubleTokens.iconButtonWidth, calendarDoubleTokens.iconButtonPadding, calendarDoubleTokens.iconButtonRadius),
@@ -104,6 +104,11 @@ const meta: Meta<StorySelectProps> = {
104
104
  },
105
105
  if: { arg: 'required', truthy: false },
106
106
  },
107
+ chipType: {
108
+ control: 'select',
109
+ options: ['default', 'text'],
110
+ if: { arg: 'target', eq: 'textfield-like' },
111
+ },
107
112
  },
108
113
  args: {
109
114
  target: 'textfield-like',
@@ -121,6 +126,7 @@ const meta: Meta<StorySelectProps> = {
121
126
  optional: false,
122
127
  required: false,
123
128
  requiredPlacement: 'right',
129
+ chipType: 'default',
124
130
  },
125
131
  parameters: {
126
132
  controls: {
@@ -144,6 +150,7 @@ const meta: Meta<StorySelectProps> = {
144
150
  'optional',
145
151
  'required',
146
152
  'requiredPlacement',
153
+ 'chipType',
147
154
  ],
148
155
  },
149
156
  },
@@ -382,7 +389,7 @@ const SingleStory = (args: StorySelectProps) => {
382
389
  export const Single: StoryObj<StorySelectProps> = {
383
390
  parameters: {
384
391
  controls: {
385
- exclude: ['chipView', 'isTargetAmount'],
392
+ exclude: ['chipView', 'isTargetAmount', 'chipType'],
386
393
  },
387
394
  },
388
395
  render: (args) => <SingleStory {...args} />,
@@ -134,6 +134,10 @@ const meta: Meta<typeof TextField> = {
134
134
  control: { type: 'text' },
135
135
  if: { arg: 'hasHint', truthy: true },
136
136
  },
137
+ chipType: {
138
+ control: 'select',
139
+ options: ['default', 'text'],
140
+ },
137
141
  },
138
142
  };
139
143
 
@@ -233,6 +237,11 @@ export const Default: StoryObj<StoryPropsDefault> = {
233
237
  hintWidth: '10rem',
234
238
  hintHasArrow: true,
235
239
  },
240
+ parameters: {
241
+ controls: {
242
+ exclude: ['chipType'],
243
+ },
244
+ },
236
245
  render: (args) => <StoryDemo {...args} />,
237
246
  };
238
247
 
@@ -288,6 +297,7 @@ export const Chips: StoryObj<StoryPropsChips> = {
288
297
  args: {
289
298
  ...Default.args,
290
299
  chips: ['1 value', '2 value', '3 value', '4 value'],
300
+ chipType: 'default',
291
301
  },
292
302
  render: (args) => <StoryChips {...args} />,
293
303
  };
@@ -7,7 +7,7 @@ export var config = {
7
7
  },
8
8
  variations: {
9
9
  view: {
10
- "default": /*#__PURE__*/css(["", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":transparent;", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-accent);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-accent);", ":var(--surface-solid-default);", ":var(--text-secondary);", ":", ";", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--surface-accent);"], calendarBaseTokens.calendarSelectedItemBackground, calendarBaseTokens.calendarSelectedItemColor, calendarBaseTokens.calendarSelectableItemBackgroundHover, calendarBaseTokens.calendarCurrentItemBorderColor, calendarBaseTokens.calendarCurrentItemBackgroundHover, calendarBaseTokens.calendarCurrentItemColorHover, calendarBaseTokens.calendarCurrentItemChildBackgroundHover, calendarBaseTokens.calendarActiveItemBackground, calendarBaseTokens.calendarActiveItemColor, calendarBaseTokens.calendarHoveredItemBackground, calendarBaseTokens.calendarHoveredItemColor, calendarBaseTokens.calendarRangeBackground, calendarBaseTokens.calendarOutlineFocusColor, calendarBaseTokens.calendarContentPrimaryColor, calendarBaseTokens.calendarContentSecondaryColor, calendarBaseTokens.calendarHeaderArrowColor, calendarBaseTokens.calendarContentPrimaryColor, calendarBaseTokens.calendarDayOfWeekColor, calendarBaseTokens.iconButtonColor, calendarBaseTokens.iconButtonBackgroundColor, calendarBaseTokens.iconButtonColorHover, calendarBaseTokens.iconButtonBackgroundColorHover, calendarBaseTokens.iconButtonColorActive, calendarBaseTokens.iconButtonBackgroundColorActive, calendarBaseTokens.iconButtonFocusColor)
10
+ "default": /*#__PURE__*/css(["", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":transparent;", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-accent);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-accent);", ":var(--surface-solid-default);", ":var(--text-secondary);", ":", ";", ":var(--text-secondary);", ":0.4;", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--surface-accent);"], calendarBaseTokens.calendarSelectedItemBackground, calendarBaseTokens.calendarSelectedItemColor, calendarBaseTokens.calendarSelectableItemBackgroundHover, calendarBaseTokens.calendarCurrentItemBorderColor, calendarBaseTokens.calendarCurrentItemBackgroundHover, calendarBaseTokens.calendarCurrentItemColorHover, calendarBaseTokens.calendarCurrentItemChildBackgroundHover, calendarBaseTokens.calendarActiveItemBackground, calendarBaseTokens.calendarActiveItemColor, calendarBaseTokens.calendarHoveredItemBackground, calendarBaseTokens.calendarHoveredItemColor, calendarBaseTokens.calendarRangeBackground, calendarBaseTokens.calendarOutlineFocusColor, calendarBaseTokens.calendarContentPrimaryColor, calendarBaseTokens.calendarContentSecondaryColor, calendarBaseTokens.calendarHeaderArrowColor, calendarBaseTokens.calendarContentPrimaryColor, calendarBaseTokens.calendarDayOfWeekColor, calendarBaseTokens.calendarDisabledOpacity, calendarBaseTokens.iconButtonColor, calendarBaseTokens.iconButtonBackgroundColor, calendarBaseTokens.iconButtonColorHover, calendarBaseTokens.iconButtonBackgroundColorHover, calendarBaseTokens.iconButtonColorActive, calendarBaseTokens.iconButtonBackgroundColorActive, calendarBaseTokens.iconButtonFocusColor)
11
11
  },
12
12
  size: {
13
13
  l: /*#__PURE__*/css(["", ":24.5rem;", ":25rem;", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":11.75rem;", ":10.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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0 0 0;", ":0.75rem;", ":3.5rem;", ":3rem;", ":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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.063rem;", ":0.5rem;", ":0 0 0 1rem;", ":0.5rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":3.5rem;", ":3.5rem;", ":1.5rem;", ":0.875rem;"], calendarBaseTokens.calendarWidth, calendarBaseTokens.calendarHeight, calendarBaseTokens.calendarYearsPadding, calendarBaseTokens.calendarYearItemBorderRadius, calendarBaseTokens.calendarYearItemWidth, calendarBaseTokens.calendarYearItemHeight, calendarBaseTokens.calendarYearFontFamily, calendarBaseTokens.calendarYearFontSize, calendarBaseTokens.calendarYearFontStyle, calendarBaseTokens.calendarYearFontLetterSpacing, calendarBaseTokens.calendarYearFontLineHeight, calendarBaseTokens.calendarYearFontWeight, calendarBaseTokens.calendarYearSelectedFontWeight, calendarBaseTokens.calendarQuartersPadding, calendarBaseTokens.calendarQuarterItemBorderRadius, calendarBaseTokens.calendarQuarterItemWidth, calendarBaseTokens.calendarQuarterItemHeight, calendarBaseTokens.calendarQuarterFontFamily, calendarBaseTokens.calendarQuarterFontSize, calendarBaseTokens.calendarQuarterFontStyle, calendarBaseTokens.calendarQuarterFontLetterSpacing, calendarBaseTokens.calendarQuarterFontLineHeight, calendarBaseTokens.calendarQuarterFontWeight, calendarBaseTokens.calendarQuarterSelectedFontWeight, calendarBaseTokens.calendarMonthsPadding, calendarBaseTokens.calendarMonthItemBorderRadius, calendarBaseTokens.calendarMonthItemWidth, calendarBaseTokens.calendarMonthItemHeight, calendarBaseTokens.calendarMonthFontFamily, calendarBaseTokens.calendarMonthFontSize, calendarBaseTokens.calendarMonthFontStyle, calendarBaseTokens.calendarMonthFontLetterSpacing, calendarBaseTokens.calendarMonthFontLineHeight, calendarBaseTokens.calendarMonthFontWeight, calendarBaseTokens.calendarMonthSelectedFontWeight, calendarBaseTokens.calendarDaysPadding, calendarBaseTokens.calendarDayItemBorderRadius, calendarBaseTokens.calendarDayItemWidth, calendarBaseTokens.calendarDayItemHeight, calendarBaseTokens.calendarDayFontFamily, calendarBaseTokens.calendarDayFontSize, calendarBaseTokens.calendarDayFontStyle, calendarBaseTokens.calendarDayFontLetterSpacing, calendarBaseTokens.calendarDayFontLineHeight, calendarBaseTokens.calendarDayFontWeight, calendarBaseTokens.calendarDaySelectedFontWeight, calendarBaseTokens.calendarCurrentItemBorderWidth, calendarBaseTokens.calendarHeaderArrowGap, calendarBaseTokens.calendarHeaderPadding, calendarBaseTokens.calendarHeaderDateGap, calendarBaseTokens.calendarHeaderFontFamily, calendarBaseTokens.calendarHeaderFontSize, calendarBaseTokens.calendarHeaderFontStyle, calendarBaseTokens.calendarHeaderFontLetterSpacing, calendarBaseTokens.calendarHeaderFontLineHeight, calendarBaseTokens.calendarHeaderFontWeight, calendarBaseTokens.calendarHeaderFontWeightBold, calendarBaseTokens.iconButtonHeight, calendarBaseTokens.iconButtonWidth, calendarBaseTokens.iconButtonPadding, calendarBaseTokens.iconButtonRadius),
@@ -7,7 +7,7 @@ export var config = {
7
7
  },
8
8
  variations: {
9
9
  view: {
10
- "default": /*#__PURE__*/css(["", ":var(--surface-transparent-secondary);", ":transparent;", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":transparent;", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-accent);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-accent);", ":var(--surface-solid-default);", ":", ";", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--surface-accent);"], calendarDoubleTokens.calendarSeparatorBackground, calendarDoubleTokens.calendarBackgroundColor, calendarDoubleTokens.calendarSelectedItemBackground, calendarDoubleTokens.calendarSelectedItemColor, calendarDoubleTokens.calendarSelectableItemBackgroundHover, calendarDoubleTokens.calendarCurrentItemBorderColor, calendarDoubleTokens.calendarCurrentItemBackgroundHover, calendarDoubleTokens.calendarCurrentItemColorHover, calendarDoubleTokens.calendarCurrentItemChildBackgroundHover, calendarDoubleTokens.calendarActiveItemBackground, calendarDoubleTokens.calendarActiveItemColor, calendarDoubleTokens.calendarHoveredItemBackground, calendarDoubleTokens.calendarHoveredItemColor, calendarDoubleTokens.calendarRangeBackground, calendarDoubleTokens.calendarOutlineFocusColor, calendarDoubleTokens.calendarContentPrimaryColor, calendarDoubleTokens.calendarHeaderArrowColor, calendarDoubleTokens.calendarContentPrimaryColor, calendarDoubleTokens.calendarContentSecondaryColor, calendarDoubleTokens.iconButtonColor, calendarDoubleTokens.iconButtonBackgroundColor, calendarDoubleTokens.iconButtonColorHover, calendarDoubleTokens.iconButtonBackgroundColorHover, calendarDoubleTokens.iconButtonColorActive, calendarDoubleTokens.iconButtonBackgroundColorActive, calendarDoubleTokens.iconButtonFocusColor)
10
+ "default": /*#__PURE__*/css(["", ":var(--surface-transparent-secondary);", ":transparent;", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":transparent;", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-accent);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-accent);", ":var(--surface-solid-default);", ":", ";", ":var(--text-secondary);", ":0.4;", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--surface-accent);"], calendarDoubleTokens.calendarSeparatorBackground, calendarDoubleTokens.calendarBackgroundColor, calendarDoubleTokens.calendarSelectedItemBackground, calendarDoubleTokens.calendarSelectedItemColor, calendarDoubleTokens.calendarSelectableItemBackgroundHover, calendarDoubleTokens.calendarCurrentItemBorderColor, calendarDoubleTokens.calendarCurrentItemBackgroundHover, calendarDoubleTokens.calendarCurrentItemColorHover, calendarDoubleTokens.calendarCurrentItemChildBackgroundHover, calendarDoubleTokens.calendarActiveItemBackground, calendarDoubleTokens.calendarActiveItemColor, calendarDoubleTokens.calendarHoveredItemBackground, calendarDoubleTokens.calendarHoveredItemColor, calendarDoubleTokens.calendarRangeBackground, calendarDoubleTokens.calendarOutlineFocusColor, calendarDoubleTokens.calendarContentPrimaryColor, calendarDoubleTokens.calendarHeaderArrowColor, calendarDoubleTokens.calendarContentPrimaryColor, calendarDoubleTokens.calendarContentSecondaryColor, calendarDoubleTokens.calendarDisabledOpacity, calendarDoubleTokens.iconButtonColor, calendarDoubleTokens.iconButtonBackgroundColor, calendarDoubleTokens.iconButtonColorHover, calendarDoubleTokens.iconButtonBackgroundColorHover, calendarDoubleTokens.iconButtonColorActive, calendarDoubleTokens.iconButtonBackgroundColorActive, calendarDoubleTokens.iconButtonFocusColor)
11
11
  },
12
12
  size: {
13
13
  l: /*#__PURE__*/css(["", ":51.063rem;", ":25rem;", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":11.75rem;", ":10.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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.75rem;", ":3.5rem;", ":3rem;", ":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-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.063rem;", ":0.5rem;", ":0.5rem 0 0 0;", ":0 0 0 1rem;", ":0.5rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":3.5rem;", ":3.5rem;", ":1.5rem;", ":0.875rem;"], calendarDoubleTokens.calendarWidth, calendarDoubleTokens.calendarHeight, calendarDoubleTokens.calendarYearsPadding, calendarDoubleTokens.calendarYearItemBorderRadius, calendarDoubleTokens.calendarYearItemWidth, calendarDoubleTokens.calendarYearItemHeight, calendarDoubleTokens.calendarYearFontFamily, calendarDoubleTokens.calendarYearFontSize, calendarDoubleTokens.calendarYearFontStyle, calendarDoubleTokens.calendarYearFontLetterSpacing, calendarDoubleTokens.calendarYearFontLineHeight, calendarDoubleTokens.calendarYearFontWeight, calendarDoubleTokens.calendarYearSelectedFontWeight, calendarDoubleTokens.calendarQuartersPadding, calendarDoubleTokens.calendarQuarterItemBorderRadius, calendarDoubleTokens.calendarQuarterItemWidth, calendarDoubleTokens.calendarQuarterItemHeight, calendarDoubleTokens.calendarQuarterFontFamily, calendarDoubleTokens.calendarQuarterFontSize, calendarDoubleTokens.calendarQuarterFontStyle, calendarDoubleTokens.calendarQuarterFontLetterSpacing, calendarDoubleTokens.calendarQuarterFontLineHeight, calendarDoubleTokens.calendarQuarterFontWeight, calendarDoubleTokens.calendarQuarterSelectedFontWeight, calendarDoubleTokens.calendarMonthsPadding, calendarDoubleTokens.calendarMonthItemBorderRadius, calendarDoubleTokens.calendarMonthItemWidth, calendarDoubleTokens.calendarMonthItemHeight, calendarDoubleTokens.calendarMonthFontFamily, calendarDoubleTokens.calendarMonthFontSize, calendarDoubleTokens.calendarMonthFontStyle, calendarDoubleTokens.calendarMonthFontLetterSpacing, calendarDoubleTokens.calendarMonthFontLineHeight, calendarDoubleTokens.calendarMonthFontWeight, calendarDoubleTokens.calendarMonthSelectedFontWeight, calendarDoubleTokens.calendarDayItemBorderRadius, calendarDoubleTokens.calendarDayItemWidth, calendarDoubleTokens.calendarDayItemHeight, calendarDoubleTokens.calendarDayFontFamily, calendarDoubleTokens.calendarDayFontSize, calendarDoubleTokens.calendarDayFontStyle, calendarDoubleTokens.calendarDayFontLetterSpacing, calendarDoubleTokens.calendarDayFontLineHeight, calendarDoubleTokens.calendarDayFontWeight, calendarDoubleTokens.calendarDaySelectedFontWeight, calendarDoubleTokens.calendarCurrentItemBorderWidth, calendarDoubleTokens.calendarHeaderArrowGap, calendarDoubleTokens.calendarDaysPadding, calendarDoubleTokens.calendarHeaderPadding, calendarDoubleTokens.calendarHeaderDateGap, calendarDoubleTokens.calendarHeaderFontFamily, calendarDoubleTokens.calendarHeaderFontSize, calendarDoubleTokens.calendarHeaderFontStyle, calendarDoubleTokens.calendarHeaderFontLetterSpacing, calendarDoubleTokens.calendarHeaderFontLineHeight, calendarDoubleTokens.calendarHeaderFontWeight, calendarDoubleTokens.calendarHeaderFontWeightBold, calendarDoubleTokens.iconButtonHeight, calendarDoubleTokens.iconButtonWidth, calendarDoubleTokens.iconButtonPadding, calendarDoubleTokens.iconButtonRadius),
@@ -103,6 +103,11 @@ const meta: Meta<StorySelectProps> = {
103
103
  },
104
104
  if: { arg: 'required', truthy: false },
105
105
  },
106
+ chipType: {
107
+ control: 'select',
108
+ options: ['default', 'text'],
109
+ if: { arg: 'target', eq: 'textfield-like' },
110
+ },
106
111
  },
107
112
  args: {
108
113
  target: 'textfield-like',
@@ -120,6 +125,7 @@ const meta: Meta<StorySelectProps> = {
120
125
  optional: false,
121
126
  required: false,
122
127
  requiredPlacement: 'right',
128
+ chipType: 'default',
123
129
  },
124
130
  parameters: {
125
131
  controls: {
@@ -143,6 +149,7 @@ const meta: Meta<StorySelectProps> = {
143
149
  'optional',
144
150
  'required',
145
151
  'requiredPlacement',
152
+ 'chipType',
146
153
  ],
147
154
  },
148
155
  },
@@ -381,7 +388,7 @@ const SingleStory = (args: StorySelectProps) => {
381
388
  export const Single: StoryObj<StorySelectProps> = {
382
389
  parameters: {
383
390
  controls: {
384
- exclude: ['chipView', 'isTargetAmount'],
391
+ exclude: ['chipView', 'isTargetAmount', 'chipType'],
385
392
  },
386
393
  },
387
394
  render: (args) => <SingleStory {...args} />,
@@ -134,6 +134,10 @@ const meta: Meta<typeof TextField> = {
134
134
  control: { type: 'text' },
135
135
  if: { arg: 'hasHint', truthy: true },
136
136
  },
137
+ chipType: {
138
+ control: 'select',
139
+ options: ['default', 'text'],
140
+ },
137
141
  },
138
142
  };
139
143
 
@@ -233,6 +237,11 @@ export const Default: StoryObj<StoryPropsDefault> = {
233
237
  hintWidth: '10rem',
234
238
  hintHasArrow: true,
235
239
  },
240
+ parameters: {
241
+ controls: {
242
+ exclude: ['chipType'],
243
+ },
244
+ },
236
245
  render: (args) => <StoryDemo {...args} />,
237
246
  };
238
247
 
@@ -288,6 +297,7 @@ export const Chips: StoryObj<StoryPropsChips> = {
288
297
  args: {
289
298
  ...Default.args,
290
299
  chips: ['1 value', '2 value', '3 value', '4 value'],
300
+ chipType: 'default',
291
301
  },
292
302
  render: (args) => <StoryChips {...args} />,
293
303
  };
@@ -1,5 +1,6 @@
1
1
  import type { InputHTMLAttributes, ReactNode } from 'react';
2
- import { TextFieldPropsBase, RequiredProps } from '../TextField/TextField.types';
2
+ import { DistributiveOmit } from '../../types';
3
+ import { TextFieldPropsBase } from '../TextField/TextField.types';
3
4
  export declare type SuggestionItemType = {
4
5
  /**
5
6
  * Метка-подпись к подсказке
@@ -84,5 +85,5 @@ export declare type BaseProps = {
84
85
  */
85
86
  renderListEnd?: () => ReactNode;
86
87
  };
87
- export declare type AutocompleteProps = BaseProps & RequiredProps & Omit<TextFieldPropsBase, 'chips' | 'onChangeChips' | 'enumerationType' | 'required' | 'optional' | 'requiredPlacement'> & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'required'>;
88
+ export declare type AutocompleteProps = BaseProps & DistributiveOmit<TextFieldPropsBase, 'chips' | 'onChangeChips' | 'enumerationType' | 'chipType'> & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'required'>;
88
89
  //# sourceMappingURL=Autocomplete.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Autocomplete.types.d.ts","sourceRoot":"","sources":["../../../src/components/Autocomplete/Autocomplete.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAEjF,oBAAY,kBAAkB,GAAG;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;CAC5B,CAAC;AAEF,oBAAY,SAAS,GAAG;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC/C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACnC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,OAAO,CAAC;IAC/C;;OAEG;IACH,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACxD;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACxD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,kBAAkB,EAAE,KAAK,SAAS,CAAC;IACxD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,SAAS,CAAC;CACnC,CAAC;AAEF,oBAAY,iBAAiB,GAAG,SAAS,GACrC,aAAa,GACb,IAAI,CACA,kBAAkB,EAClB,OAAO,GAAG,eAAe,GAAG,iBAAiB,GAAG,UAAU,GAAG,UAAU,GAAG,mBAAmB,CAChG,GACD,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"Autocomplete.types.d.ts","sourceRoot":"","sources":["../../../src/components/Autocomplete/Autocomplete.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAElE,oBAAY,kBAAkB,GAAG;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;CAC5B,CAAC;AAEF,oBAAY,SAAS,GAAG;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC/C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACnC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,OAAO,CAAC;IAC/C;;OAEG;IACH,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACxD;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACxD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,kBAAkB,EAAE,KAAK,SAAS,CAAC;IACxD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,SAAS,CAAC;CACnC,CAAC;AAEF,oBAAY,iBAAiB,GAAG,SAAS,GACrC,gBAAgB,CAAC,kBAAkB,EAAE,OAAO,GAAG,eAAe,GAAG,iBAAiB,GAAG,UAAU,CAAC,GAChG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC"}