@salutejs/plasma-new-hope 0.195.2-canary.1577.11938240958.0 → 0.195.2-canary.1580.11946918297.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (648) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +1 -2
  2. package/cjs/components/Combobox/ComboboxNew/Combobox.css +1 -2
  3. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +1 -2
  4. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +1 -2
  5. package/cjs/components/DatePicker/RangeDate/RangeDate.css +1 -2
  6. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +1 -2
  7. package/cjs/components/DatePicker/SingleDate/SingleDate.css +1 -2
  8. package/cjs/components/Pagination/Pagination.css +1 -2
  9. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +1 -2
  10. package/cjs/components/Range/Range.css +1 -2
  11. package/cjs/components/Select/Select.css +1 -2
  12. package/cjs/components/Select/ui/Inner/Inner.css +1 -2
  13. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +1 -2
  14. package/cjs/components/Select/ui/Target/Target.css +1 -2
  15. package/cjs/components/Select/ui/Target/Target.js +1 -2
  16. package/cjs/components/Select/ui/Target/Target.js.map +1 -1
  17. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +1 -2
  18. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -4
  19. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  20. package/cjs/components/Slider/Slider.css +1 -2
  21. package/cjs/components/Slider/components/Double/Double.css +1 -2
  22. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +1 -2
  23. package/cjs/components/TextField/TextField.js +4 -7
  24. package/cjs/components/TextField/TextField.js.map +1 -1
  25. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +1 -2
  26. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -17
  27. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  28. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -7
  29. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  30. package/cjs/components/TextField/ui/TextFieldChip/{TextFieldChip.styles_1yosnxc.css → TextFieldChip.styles_1y8n7la.css} +0 -1
  31. package/cjs/index.css +1 -2
  32. package/emotion/cjs/components/Select/ui/Target/Target.js +1 -2
  33. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -4
  34. package/emotion/cjs/components/TextField/TextField.js +5 -8
  35. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -17
  36. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +3 -12
  37. package/emotion/cjs/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +1 -1
  38. package/emotion/cjs/examples/plasma_b2c/components/Attach/Attach.stories.tsx +1 -1
  39. package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +1 -1
  40. package/emotion/cjs/examples/plasma_b2c/components/Avatar/Avatar.stories.tsx +1 -1
  41. package/emotion/cjs/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
  42. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -1
  43. package/emotion/cjs/examples/plasma_b2c/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
  44. package/emotion/cjs/examples/plasma_b2c/components/Button/Button.stories.tsx +1 -1
  45. package/emotion/cjs/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  46. package/emotion/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
  47. package/emotion/cjs/examples/plasma_b2c/components/Cell/Cell.stories.tsx +1 -1
  48. package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -1
  49. package/emotion/cjs/examples/plasma_b2c/components/Chip/Chip.stories.tsx +1 -1
  50. package/emotion/cjs/examples/plasma_b2c/components/ChipGroup /ChipGroup.stories.tsx +1 -1
  51. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
  52. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
  53. package/emotion/cjs/examples/plasma_b2c/components/Counter/Counter.stories.tsx +1 -1
  54. package/emotion/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
  55. package/emotion/cjs/examples/plasma_b2c/components/Divider/Divider.stories.tsx +1 -1
  56. package/emotion/cjs/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
  57. package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +1 -1
  58. package/emotion/cjs/examples/plasma_b2c/components/Editable/Editable.stories.tsx +1 -1
  59. package/emotion/cjs/examples/plasma_b2c/components/EmptyState/EmptyState.stories.tsx +1 -1
  60. package/emotion/cjs/examples/plasma_b2c/components/Grid/Grid.stories.tsx +1 -1
  61. package/emotion/cjs/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx +1 -1
  62. package/emotion/cjs/examples/plasma_b2c/components/Image/Image.stories.tsx +1 -1
  63. package/emotion/cjs/examples/plasma_b2c/components/Indicator/Indicator.stories.tsx +1 -1
  64. package/emotion/cjs/examples/plasma_b2c/components/Link/Link.stories.tsx +1 -1
  65. package/emotion/cjs/examples/plasma_b2c/components/Mask/Mask.stories.tsx +1 -1
  66. package/emotion/cjs/examples/plasma_b2c/components/Modal/Modal.stories.tsx +1 -1
  67. package/emotion/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +1 -1
  68. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +1 -1
  69. package/emotion/cjs/examples/plasma_b2c/components/Overlay/Overlay.stories.tsx +1 -1
  70. package/emotion/cjs/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -1
  71. package/emotion/cjs/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
  72. package/emotion/cjs/examples/plasma_b2c/components/Popover/Popover.stories.tsx +1 -1
  73. package/emotion/cjs/examples/plasma_b2c/components/Popup/Popup.stories.tsx +1 -1
  74. package/emotion/cjs/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
  75. package/emotion/cjs/examples/plasma_b2c/components/Price/Price.stories.tsx +1 -1
  76. package/emotion/cjs/examples/plasma_b2c/components/Progress/Progress.stories.tsx +1 -1
  77. package/emotion/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +1 -1
  78. package/emotion/cjs/examples/plasma_b2c/components/Range/Range.stories.tsx +1 -1
  79. package/emotion/cjs/examples/plasma_b2c/components/Segment/Segment.stories.tsx +1 -1
  80. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +2 -9
  81. package/emotion/cjs/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
  82. package/emotion/cjs/examples/plasma_b2c/components/Skeleton/Skeleton.stories.tsx +1 -1
  83. package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +1 -1
  84. package/emotion/cjs/examples/plasma_b2c/components/Spinner/Spinner.stories.tsx +1 -1
  85. package/emotion/cjs/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  86. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -1
  87. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +1 -1
  88. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +1 -1
  89. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -11
  90. package/emotion/cjs/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
  91. package/emotion/cjs/examples/plasma_b2c/components/Toast/Toast.stories.tsx +1 -1
  92. package/emotion/cjs/examples/plasma_b2c/components/Toolbar/Toolbar.stories.tsx +1 -1
  93. package/emotion/cjs/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +1 -1
  94. package/emotion/cjs/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx +1 -1
  95. package/emotion/cjs/examples/plasma_web/components/Accordion/Accordion.stories.tsx +1 -1
  96. package/emotion/cjs/examples/plasma_web/components/Attach/Attach.stories.tsx +1 -1
  97. package/emotion/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.stories.tsx +1 -1
  98. package/emotion/cjs/examples/plasma_web/components/Avatar/Avatar.stories.tsx +1 -1
  99. package/emotion/cjs/examples/plasma_web/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
  100. package/emotion/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +1 -1
  101. package/emotion/cjs/examples/plasma_web/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
  102. package/emotion/cjs/examples/plasma_web/components/Button/Button.stories.tsx +1 -1
  103. package/emotion/cjs/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  104. package/emotion/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
  105. package/emotion/cjs/examples/plasma_web/components/Cell/Cell.stories.tsx +1 -1
  106. package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -1
  107. package/emotion/cjs/examples/plasma_web/components/Chip/Chip.stories.tsx +1 -1
  108. package/emotion/cjs/examples/plasma_web/components/ChipGroup /ChipGroup.stories.tsx +1 -1
  109. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +1 -1
  110. package/emotion/cjs/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
  111. package/emotion/cjs/examples/plasma_web/components/Counter/Counter.stories.tsx +1 -1
  112. package/emotion/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
  113. package/emotion/cjs/examples/plasma_web/components/Divider/Divider.stories.tsx +1 -1
  114. package/emotion/cjs/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
  115. package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +1 -1
  116. package/emotion/cjs/examples/plasma_web/components/Editable/Editable.stories.tsx +1 -1
  117. package/emotion/cjs/examples/plasma_web/components/EmptyState/EmptyState.stories.tsx +1 -1
  118. package/emotion/cjs/examples/plasma_web/components/Grid/Grid.stories.tsx +1 -1
  119. package/emotion/cjs/examples/plasma_web/components/IconButton/IconButton.stories.tsx +1 -1
  120. package/emotion/cjs/examples/plasma_web/components/Image/Image.stories.tsx +1 -1
  121. package/emotion/cjs/examples/plasma_web/components/Indicator/Indicator.stories.tsx +1 -1
  122. package/emotion/cjs/examples/plasma_web/components/Link/Link.stories.tsx +1 -1
  123. package/emotion/cjs/examples/plasma_web/components/Mask/Mask.stories.tsx +1 -1
  124. package/emotion/cjs/examples/plasma_web/components/Modal/Modal.stories.tsx +1 -1
  125. package/emotion/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +1 -1
  126. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +1 -1
  127. package/emotion/cjs/examples/plasma_web/components/Overlay/Overlay.stories.tsx +1 -1
  128. package/emotion/cjs/examples/plasma_web/components/Pagination/Pagination.stories.tsx +1 -1
  129. package/emotion/cjs/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
  130. package/emotion/cjs/examples/plasma_web/components/Popover/Popover.stories.tsx +1 -1
  131. package/emotion/cjs/examples/plasma_web/components/Popup/Popup.stories.tsx +1 -1
  132. package/emotion/cjs/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
  133. package/emotion/cjs/examples/plasma_web/components/Price/Price.stories.tsx +1 -1
  134. package/emotion/cjs/examples/plasma_web/components/Progress/Progress.stories.tsx +1 -1
  135. package/emotion/cjs/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +1 -1
  136. package/emotion/cjs/examples/plasma_web/components/Range/Range.stories.tsx +1 -1
  137. package/emotion/cjs/examples/plasma_web/components/Segment/Segment.stories.tsx +1 -1
  138. package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +2 -9
  139. package/emotion/cjs/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
  140. package/emotion/cjs/examples/plasma_web/components/Skeleton/Skeleton.stories.tsx +1 -1
  141. package/emotion/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +1 -1
  142. package/emotion/cjs/examples/plasma_web/components/Spinner/Spinner.stories.tsx +1 -1
  143. package/emotion/cjs/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  144. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -1
  145. package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +1 -1
  146. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -1
  147. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +1 -11
  148. package/emotion/cjs/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
  149. package/emotion/cjs/examples/plasma_web/components/Toast/Toast.stories.tsx +1 -1
  150. package/emotion/cjs/examples/plasma_web/components/Toolbar/Toolbar.stories.tsx +1 -1
  151. package/emotion/cjs/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +1 -1
  152. package/emotion/cjs/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx +1 -1
  153. package/emotion/cjs/examples/typograpy/components/Body/Body.stories.tsx +1 -1
  154. package/emotion/cjs/examples/typograpy/components/Dspl/Dspl.stories.tsx +1 -1
  155. package/emotion/cjs/examples/typograpy/components/Heading/Heading.stories.tsx +1 -1
  156. package/emotion/cjs/examples/typograpy/components/Old/Body/Body.stories.tsx +1 -1
  157. package/emotion/cjs/examples/typograpy/components/Old/Button/Button.stories.tsx +1 -1
  158. package/emotion/cjs/examples/typograpy/components/Old/Caption/Caption.stories.tsx +1 -1
  159. package/emotion/cjs/examples/typograpy/components/Old/Display/Display.stories.tsx +1 -1
  160. package/emotion/cjs/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +1 -1
  161. package/emotion/cjs/examples/typograpy/components/Old/Headline/Headline.stories.tsx +1 -1
  162. package/emotion/cjs/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +1 -1
  163. package/emotion/cjs/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +1 -1
  164. package/emotion/cjs/examples/typograpy/components/Old/Underline/Underline.stories.tsx +1 -1
  165. package/emotion/cjs/examples/typograpy/components/Text/Text.stories.tsx +1 -1
  166. package/emotion/es/components/Select/ui/Target/Target.js +1 -2
  167. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -4
  168. package/emotion/es/components/TextField/TextField.js +5 -8
  169. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +4 -18
  170. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +2 -11
  171. package/emotion/es/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +1 -1
  172. package/emotion/es/examples/plasma_b2c/components/Attach/Attach.stories.tsx +1 -1
  173. package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +1 -1
  174. package/emotion/es/examples/plasma_b2c/components/Avatar/Avatar.stories.tsx +1 -1
  175. package/emotion/es/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
  176. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -1
  177. package/emotion/es/examples/plasma_b2c/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
  178. package/emotion/es/examples/plasma_b2c/components/Button/Button.stories.tsx +1 -1
  179. package/emotion/es/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  180. package/emotion/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
  181. package/emotion/es/examples/plasma_b2c/components/Cell/Cell.stories.tsx +1 -1
  182. package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -1
  183. package/emotion/es/examples/plasma_b2c/components/Chip/Chip.stories.tsx +1 -1
  184. package/emotion/es/examples/plasma_b2c/components/ChipGroup /ChipGroup.stories.tsx +1 -1
  185. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
  186. package/emotion/es/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
  187. package/emotion/es/examples/plasma_b2c/components/Counter/Counter.stories.tsx +1 -1
  188. package/emotion/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
  189. package/emotion/es/examples/plasma_b2c/components/Divider/Divider.stories.tsx +1 -1
  190. package/emotion/es/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
  191. package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +1 -1
  192. package/emotion/es/examples/plasma_b2c/components/Editable/Editable.stories.tsx +1 -1
  193. package/emotion/es/examples/plasma_b2c/components/EmptyState/EmptyState.stories.tsx +1 -1
  194. package/emotion/es/examples/plasma_b2c/components/Grid/Grid.stories.tsx +1 -1
  195. package/emotion/es/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx +1 -1
  196. package/emotion/es/examples/plasma_b2c/components/Image/Image.stories.tsx +1 -1
  197. package/emotion/es/examples/plasma_b2c/components/Indicator/Indicator.stories.tsx +1 -1
  198. package/emotion/es/examples/plasma_b2c/components/Link/Link.stories.tsx +1 -1
  199. package/emotion/es/examples/plasma_b2c/components/Mask/Mask.stories.tsx +1 -1
  200. package/emotion/es/examples/plasma_b2c/components/Modal/Modal.stories.tsx +1 -1
  201. package/emotion/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +1 -1
  202. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +1 -1
  203. package/emotion/es/examples/plasma_b2c/components/Overlay/Overlay.stories.tsx +1 -1
  204. package/emotion/es/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -1
  205. package/emotion/es/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
  206. package/emotion/es/examples/plasma_b2c/components/Popover/Popover.stories.tsx +1 -1
  207. package/emotion/es/examples/plasma_b2c/components/Popup/Popup.stories.tsx +1 -1
  208. package/emotion/es/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
  209. package/emotion/es/examples/plasma_b2c/components/Price/Price.stories.tsx +1 -1
  210. package/emotion/es/examples/plasma_b2c/components/Progress/Progress.stories.tsx +1 -1
  211. package/emotion/es/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +1 -1
  212. package/emotion/es/examples/plasma_b2c/components/Range/Range.stories.tsx +1 -1
  213. package/emotion/es/examples/plasma_b2c/components/Segment/Segment.stories.tsx +1 -1
  214. package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +2 -9
  215. package/emotion/es/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
  216. package/emotion/es/examples/plasma_b2c/components/Skeleton/Skeleton.stories.tsx +1 -1
  217. package/emotion/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +1 -1
  218. package/emotion/es/examples/plasma_b2c/components/Spinner/Spinner.stories.tsx +1 -1
  219. package/emotion/es/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  220. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -1
  221. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +1 -1
  222. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +1 -1
  223. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -11
  224. package/emotion/es/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
  225. package/emotion/es/examples/plasma_b2c/components/Toast/Toast.stories.tsx +1 -1
  226. package/emotion/es/examples/plasma_b2c/components/Toolbar/Toolbar.stories.tsx +1 -1
  227. package/emotion/es/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +1 -1
  228. package/emotion/es/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx +1 -1
  229. package/emotion/es/examples/plasma_web/components/Accordion/Accordion.stories.tsx +1 -1
  230. package/emotion/es/examples/plasma_web/components/Attach/Attach.stories.tsx +1 -1
  231. package/emotion/es/examples/plasma_web/components/Autocomplete/Autocomplete.stories.tsx +1 -1
  232. package/emotion/es/examples/plasma_web/components/Avatar/Avatar.stories.tsx +1 -1
  233. package/emotion/es/examples/plasma_web/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
  234. package/emotion/es/examples/plasma_web/components/Badge/Badge.stories.tsx +1 -1
  235. package/emotion/es/examples/plasma_web/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
  236. package/emotion/es/examples/plasma_web/components/Button/Button.stories.tsx +1 -1
  237. package/emotion/es/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  238. package/emotion/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
  239. package/emotion/es/examples/plasma_web/components/Cell/Cell.stories.tsx +1 -1
  240. package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -1
  241. package/emotion/es/examples/plasma_web/components/Chip/Chip.stories.tsx +1 -1
  242. package/emotion/es/examples/plasma_web/components/ChipGroup /ChipGroup.stories.tsx +1 -1
  243. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +1 -1
  244. package/emotion/es/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
  245. package/emotion/es/examples/plasma_web/components/Counter/Counter.stories.tsx +1 -1
  246. package/emotion/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
  247. package/emotion/es/examples/plasma_web/components/Divider/Divider.stories.tsx +1 -1
  248. package/emotion/es/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
  249. package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +1 -1
  250. package/emotion/es/examples/plasma_web/components/Editable/Editable.stories.tsx +1 -1
  251. package/emotion/es/examples/plasma_web/components/EmptyState/EmptyState.stories.tsx +1 -1
  252. package/emotion/es/examples/plasma_web/components/Grid/Grid.stories.tsx +1 -1
  253. package/emotion/es/examples/plasma_web/components/IconButton/IconButton.stories.tsx +1 -1
  254. package/emotion/es/examples/plasma_web/components/Image/Image.stories.tsx +1 -1
  255. package/emotion/es/examples/plasma_web/components/Indicator/Indicator.stories.tsx +1 -1
  256. package/emotion/es/examples/plasma_web/components/Link/Link.stories.tsx +1 -1
  257. package/emotion/es/examples/plasma_web/components/Mask/Mask.stories.tsx +1 -1
  258. package/emotion/es/examples/plasma_web/components/Modal/Modal.stories.tsx +1 -1
  259. package/emotion/es/examples/plasma_web/components/Notification/Notification.stories.tsx +1 -1
  260. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +1 -1
  261. package/emotion/es/examples/plasma_web/components/Overlay/Overlay.stories.tsx +1 -1
  262. package/emotion/es/examples/plasma_web/components/Pagination/Pagination.stories.tsx +1 -1
  263. package/emotion/es/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
  264. package/emotion/es/examples/plasma_web/components/Popover/Popover.stories.tsx +1 -1
  265. package/emotion/es/examples/plasma_web/components/Popup/Popup.stories.tsx +1 -1
  266. package/emotion/es/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
  267. package/emotion/es/examples/plasma_web/components/Price/Price.stories.tsx +1 -1
  268. package/emotion/es/examples/plasma_web/components/Progress/Progress.stories.tsx +1 -1
  269. package/emotion/es/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +1 -1
  270. package/emotion/es/examples/plasma_web/components/Range/Range.stories.tsx +1 -1
  271. package/emotion/es/examples/plasma_web/components/Segment/Segment.stories.tsx +1 -1
  272. package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +2 -9
  273. package/emotion/es/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
  274. package/emotion/es/examples/plasma_web/components/Skeleton/Skeleton.stories.tsx +1 -1
  275. package/emotion/es/examples/plasma_web/components/Slider/Slider.stories.tsx +1 -1
  276. package/emotion/es/examples/plasma_web/components/Spinner/Spinner.stories.tsx +1 -1
  277. package/emotion/es/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  278. package/emotion/es/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -1
  279. package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +1 -1
  280. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -1
  281. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +1 -11
  282. package/emotion/es/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
  283. package/emotion/es/examples/plasma_web/components/Toast/Toast.stories.tsx +1 -1
  284. package/emotion/es/examples/plasma_web/components/Toolbar/Toolbar.stories.tsx +1 -1
  285. package/emotion/es/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +1 -1
  286. package/emotion/es/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx +1 -1
  287. package/emotion/es/examples/typograpy/components/Body/Body.stories.tsx +1 -1
  288. package/emotion/es/examples/typograpy/components/Dspl/Dspl.stories.tsx +1 -1
  289. package/emotion/es/examples/typograpy/components/Heading/Heading.stories.tsx +1 -1
  290. package/emotion/es/examples/typograpy/components/Old/Body/Body.stories.tsx +1 -1
  291. package/emotion/es/examples/typograpy/components/Old/Button/Button.stories.tsx +1 -1
  292. package/emotion/es/examples/typograpy/components/Old/Caption/Caption.stories.tsx +1 -1
  293. package/emotion/es/examples/typograpy/components/Old/Display/Display.stories.tsx +1 -1
  294. package/emotion/es/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +1 -1
  295. package/emotion/es/examples/typograpy/components/Old/Headline/Headline.stories.tsx +1 -1
  296. package/emotion/es/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +1 -1
  297. package/emotion/es/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +1 -1
  298. package/emotion/es/examples/typograpy/components/Old/Underline/Underline.stories.tsx +1 -1
  299. package/emotion/es/examples/typograpy/components/Text/Text.stories.tsx +1 -1
  300. package/es/components/Autocomplete/Autocomplete.css +1 -2
  301. package/es/components/Combobox/ComboboxNew/Combobox.css +1 -2
  302. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +1 -2
  303. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +1 -2
  304. package/es/components/DatePicker/RangeDate/RangeDate.css +1 -2
  305. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +1 -2
  306. package/es/components/DatePicker/SingleDate/SingleDate.css +1 -2
  307. package/es/components/Pagination/Pagination.css +1 -2
  308. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +1 -2
  309. package/es/components/Range/Range.css +1 -2
  310. package/es/components/Select/Select.css +1 -2
  311. package/es/components/Select/ui/Inner/Inner.css +1 -2
  312. package/es/components/Select/ui/Inner/ui/Item/Item.css +1 -2
  313. package/es/components/Select/ui/Target/Target.css +1 -2
  314. package/es/components/Select/ui/Target/Target.js +1 -2
  315. package/es/components/Select/ui/Target/Target.js.map +1 -1
  316. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +1 -2
  317. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -4
  318. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  319. package/es/components/Slider/Slider.css +1 -2
  320. package/es/components/Slider/components/Double/Double.css +1 -2
  321. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +1 -2
  322. package/es/components/TextField/TextField.js +4 -7
  323. package/es/components/TextField/TextField.js.map +1 -1
  324. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +1 -2
  325. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +4 -18
  326. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  327. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +2 -7
  328. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  329. package/es/components/TextField/ui/TextFieldChip/{TextFieldChip.styles_1yosnxc.css → TextFieldChip.styles_1y8n7la.css} +0 -1
  330. package/es/index.css +1 -2
  331. package/package.json +2 -2
  332. package/styled-components/cjs/components/Select/ui/Target/Target.js +1 -2
  333. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -4
  334. package/styled-components/cjs/components/TextField/TextField.js +4 -7
  335. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -17
  336. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +2 -10
  337. package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +1 -1
  338. package/styled-components/cjs/examples/plasma_b2c/components/Attach/Attach.stories.tsx +1 -1
  339. package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +1 -1
  340. package/styled-components/cjs/examples/plasma_b2c/components/Avatar/Avatar.stories.tsx +1 -1
  341. package/styled-components/cjs/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
  342. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -1
  343. package/styled-components/cjs/examples/plasma_b2c/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
  344. package/styled-components/cjs/examples/plasma_b2c/components/Button/Button.stories.tsx +1 -1
  345. package/styled-components/cjs/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  346. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
  347. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.stories.tsx +1 -1
  348. package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -1
  349. package/styled-components/cjs/examples/plasma_b2c/components/Chip/Chip.stories.tsx +1 -1
  350. package/styled-components/cjs/examples/plasma_b2c/components/ChipGroup /ChipGroup.stories.tsx +1 -1
  351. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
  352. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
  353. package/styled-components/cjs/examples/plasma_b2c/components/Counter/Counter.stories.tsx +1 -1
  354. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
  355. package/styled-components/cjs/examples/plasma_b2c/components/Divider/Divider.stories.tsx +1 -1
  356. package/styled-components/cjs/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
  357. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +1 -1
  358. package/styled-components/cjs/examples/plasma_b2c/components/Editable/Editable.stories.tsx +1 -1
  359. package/styled-components/cjs/examples/plasma_b2c/components/EmptyState/EmptyState.stories.tsx +1 -1
  360. package/styled-components/cjs/examples/plasma_b2c/components/Grid/Grid.stories.tsx +1 -1
  361. package/styled-components/cjs/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx +1 -1
  362. package/styled-components/cjs/examples/plasma_b2c/components/Image/Image.stories.tsx +1 -1
  363. package/styled-components/cjs/examples/plasma_b2c/components/Indicator/Indicator.stories.tsx +1 -1
  364. package/styled-components/cjs/examples/plasma_b2c/components/Link/Link.stories.tsx +1 -1
  365. package/styled-components/cjs/examples/plasma_b2c/components/Mask/Mask.stories.tsx +1 -1
  366. package/styled-components/cjs/examples/plasma_b2c/components/Modal/Modal.stories.tsx +1 -1
  367. package/styled-components/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +1 -1
  368. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +1 -1
  369. package/styled-components/cjs/examples/plasma_b2c/components/Overlay/Overlay.stories.tsx +1 -1
  370. package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -1
  371. package/styled-components/cjs/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
  372. package/styled-components/cjs/examples/plasma_b2c/components/Popover/Popover.stories.tsx +1 -1
  373. package/styled-components/cjs/examples/plasma_b2c/components/Popup/Popup.stories.tsx +1 -1
  374. package/styled-components/cjs/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
  375. package/styled-components/cjs/examples/plasma_b2c/components/Price/Price.stories.tsx +1 -1
  376. package/styled-components/cjs/examples/plasma_b2c/components/Progress/Progress.stories.tsx +1 -1
  377. package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +1 -1
  378. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.stories.tsx +1 -1
  379. package/styled-components/cjs/examples/plasma_b2c/components/Segment/Segment.stories.tsx +1 -1
  380. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +2 -9
  381. package/styled-components/cjs/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
  382. package/styled-components/cjs/examples/plasma_b2c/components/Skeleton/Skeleton.stories.tsx +1 -1
  383. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +1 -1
  384. package/styled-components/cjs/examples/plasma_b2c/components/Spinner/Spinner.stories.tsx +1 -1
  385. package/styled-components/cjs/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  386. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -1
  387. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +1 -1
  388. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +1 -1
  389. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -11
  390. package/styled-components/cjs/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
  391. package/styled-components/cjs/examples/plasma_b2c/components/Toast/Toast.stories.tsx +1 -1
  392. package/styled-components/cjs/examples/plasma_b2c/components/Toolbar/Toolbar.stories.tsx +1 -1
  393. package/styled-components/cjs/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +1 -1
  394. package/styled-components/cjs/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx +1 -1
  395. package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.stories.tsx +1 -1
  396. package/styled-components/cjs/examples/plasma_web/components/Attach/Attach.stories.tsx +1 -1
  397. package/styled-components/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.stories.tsx +1 -1
  398. package/styled-components/cjs/examples/plasma_web/components/Avatar/Avatar.stories.tsx +1 -1
  399. package/styled-components/cjs/examples/plasma_web/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
  400. package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +1 -1
  401. package/styled-components/cjs/examples/plasma_web/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
  402. package/styled-components/cjs/examples/plasma_web/components/Button/Button.stories.tsx +1 -1
  403. package/styled-components/cjs/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  404. package/styled-components/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
  405. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.stories.tsx +1 -1
  406. package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -1
  407. package/styled-components/cjs/examples/plasma_web/components/Chip/Chip.stories.tsx +1 -1
  408. package/styled-components/cjs/examples/plasma_web/components/ChipGroup /ChipGroup.stories.tsx +1 -1
  409. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +1 -1
  410. package/styled-components/cjs/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
  411. package/styled-components/cjs/examples/plasma_web/components/Counter/Counter.stories.tsx +1 -1
  412. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
  413. package/styled-components/cjs/examples/plasma_web/components/Divider/Divider.stories.tsx +1 -1
  414. package/styled-components/cjs/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
  415. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +1 -1
  416. package/styled-components/cjs/examples/plasma_web/components/Editable/Editable.stories.tsx +1 -1
  417. package/styled-components/cjs/examples/plasma_web/components/EmptyState/EmptyState.stories.tsx +1 -1
  418. package/styled-components/cjs/examples/plasma_web/components/Grid/Grid.stories.tsx +1 -1
  419. package/styled-components/cjs/examples/plasma_web/components/IconButton/IconButton.stories.tsx +1 -1
  420. package/styled-components/cjs/examples/plasma_web/components/Image/Image.stories.tsx +1 -1
  421. package/styled-components/cjs/examples/plasma_web/components/Indicator/Indicator.stories.tsx +1 -1
  422. package/styled-components/cjs/examples/plasma_web/components/Link/Link.stories.tsx +1 -1
  423. package/styled-components/cjs/examples/plasma_web/components/Mask/Mask.stories.tsx +1 -1
  424. package/styled-components/cjs/examples/plasma_web/components/Modal/Modal.stories.tsx +1 -1
  425. package/styled-components/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +1 -1
  426. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +1 -1
  427. package/styled-components/cjs/examples/plasma_web/components/Overlay/Overlay.stories.tsx +1 -1
  428. package/styled-components/cjs/examples/plasma_web/components/Pagination/Pagination.stories.tsx +1 -1
  429. package/styled-components/cjs/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
  430. package/styled-components/cjs/examples/plasma_web/components/Popover/Popover.stories.tsx +1 -1
  431. package/styled-components/cjs/examples/plasma_web/components/Popup/Popup.stories.tsx +1 -1
  432. package/styled-components/cjs/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
  433. package/styled-components/cjs/examples/plasma_web/components/Price/Price.stories.tsx +1 -1
  434. package/styled-components/cjs/examples/plasma_web/components/Progress/Progress.stories.tsx +1 -1
  435. package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +1 -1
  436. package/styled-components/cjs/examples/plasma_web/components/Range/Range.stories.tsx +1 -1
  437. package/styled-components/cjs/examples/plasma_web/components/Segment/Segment.stories.tsx +1 -1
  438. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +2 -9
  439. package/styled-components/cjs/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
  440. package/styled-components/cjs/examples/plasma_web/components/Skeleton/Skeleton.stories.tsx +1 -1
  441. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +1 -1
  442. package/styled-components/cjs/examples/plasma_web/components/Spinner/Spinner.stories.tsx +1 -1
  443. package/styled-components/cjs/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  444. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -1
  445. package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +1 -1
  446. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -1
  447. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +1 -11
  448. package/styled-components/cjs/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
  449. package/styled-components/cjs/examples/plasma_web/components/Toast/Toast.stories.tsx +1 -1
  450. package/styled-components/cjs/examples/plasma_web/components/Toolbar/Toolbar.stories.tsx +1 -1
  451. package/styled-components/cjs/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +1 -1
  452. package/styled-components/cjs/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx +1 -1
  453. package/styled-components/cjs/examples/typograpy/components/Body/Body.stories.tsx +1 -1
  454. package/styled-components/cjs/examples/typograpy/components/Dspl/Dspl.stories.tsx +1 -1
  455. package/styled-components/cjs/examples/typograpy/components/Heading/Heading.stories.tsx +1 -1
  456. package/styled-components/cjs/examples/typograpy/components/Old/Body/Body.stories.tsx +1 -1
  457. package/styled-components/cjs/examples/typograpy/components/Old/Button/Button.stories.tsx +1 -1
  458. package/styled-components/cjs/examples/typograpy/components/Old/Caption/Caption.stories.tsx +1 -1
  459. package/styled-components/cjs/examples/typograpy/components/Old/Display/Display.stories.tsx +1 -1
  460. package/styled-components/cjs/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +1 -1
  461. package/styled-components/cjs/examples/typograpy/components/Old/Headline/Headline.stories.tsx +1 -1
  462. package/styled-components/cjs/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +1 -1
  463. package/styled-components/cjs/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +1 -1
  464. package/styled-components/cjs/examples/typograpy/components/Old/Underline/Underline.stories.tsx +1 -1
  465. package/styled-components/cjs/examples/typograpy/components/Text/Text.stories.tsx +1 -1
  466. package/styled-components/es/components/Select/ui/Target/Target.js +1 -2
  467. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -4
  468. package/styled-components/es/components/TextField/TextField.js +4 -7
  469. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +4 -18
  470. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -9
  471. package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +1 -1
  472. package/styled-components/es/examples/plasma_b2c/components/Attach/Attach.stories.tsx +1 -1
  473. package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +1 -1
  474. package/styled-components/es/examples/plasma_b2c/components/Avatar/Avatar.stories.tsx +1 -1
  475. package/styled-components/es/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
  476. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -1
  477. package/styled-components/es/examples/plasma_b2c/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
  478. package/styled-components/es/examples/plasma_b2c/components/Button/Button.stories.tsx +1 -1
  479. package/styled-components/es/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  480. package/styled-components/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
  481. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.stories.tsx +1 -1
  482. package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -1
  483. package/styled-components/es/examples/plasma_b2c/components/Chip/Chip.stories.tsx +1 -1
  484. package/styled-components/es/examples/plasma_b2c/components/ChipGroup /ChipGroup.stories.tsx +1 -1
  485. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
  486. package/styled-components/es/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
  487. package/styled-components/es/examples/plasma_b2c/components/Counter/Counter.stories.tsx +1 -1
  488. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
  489. package/styled-components/es/examples/plasma_b2c/components/Divider/Divider.stories.tsx +1 -1
  490. package/styled-components/es/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
  491. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +1 -1
  492. package/styled-components/es/examples/plasma_b2c/components/Editable/Editable.stories.tsx +1 -1
  493. package/styled-components/es/examples/plasma_b2c/components/EmptyState/EmptyState.stories.tsx +1 -1
  494. package/styled-components/es/examples/plasma_b2c/components/Grid/Grid.stories.tsx +1 -1
  495. package/styled-components/es/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx +1 -1
  496. package/styled-components/es/examples/plasma_b2c/components/Image/Image.stories.tsx +1 -1
  497. package/styled-components/es/examples/plasma_b2c/components/Indicator/Indicator.stories.tsx +1 -1
  498. package/styled-components/es/examples/plasma_b2c/components/Link/Link.stories.tsx +1 -1
  499. package/styled-components/es/examples/plasma_b2c/components/Mask/Mask.stories.tsx +1 -1
  500. package/styled-components/es/examples/plasma_b2c/components/Modal/Modal.stories.tsx +1 -1
  501. package/styled-components/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +1 -1
  502. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +1 -1
  503. package/styled-components/es/examples/plasma_b2c/components/Overlay/Overlay.stories.tsx +1 -1
  504. package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -1
  505. package/styled-components/es/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
  506. package/styled-components/es/examples/plasma_b2c/components/Popover/Popover.stories.tsx +1 -1
  507. package/styled-components/es/examples/plasma_b2c/components/Popup/Popup.stories.tsx +1 -1
  508. package/styled-components/es/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
  509. package/styled-components/es/examples/plasma_b2c/components/Price/Price.stories.tsx +1 -1
  510. package/styled-components/es/examples/plasma_b2c/components/Progress/Progress.stories.tsx +1 -1
  511. package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +1 -1
  512. package/styled-components/es/examples/plasma_b2c/components/Range/Range.stories.tsx +1 -1
  513. package/styled-components/es/examples/plasma_b2c/components/Segment/Segment.stories.tsx +1 -1
  514. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +2 -9
  515. package/styled-components/es/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
  516. package/styled-components/es/examples/plasma_b2c/components/Skeleton/Skeleton.stories.tsx +1 -1
  517. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +1 -1
  518. package/styled-components/es/examples/plasma_b2c/components/Spinner/Spinner.stories.tsx +1 -1
  519. package/styled-components/es/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  520. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -1
  521. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +1 -1
  522. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +1 -1
  523. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -11
  524. package/styled-components/es/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
  525. package/styled-components/es/examples/plasma_b2c/components/Toast/Toast.stories.tsx +1 -1
  526. package/styled-components/es/examples/plasma_b2c/components/Toolbar/Toolbar.stories.tsx +1 -1
  527. package/styled-components/es/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +1 -1
  528. package/styled-components/es/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx +1 -1
  529. package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.stories.tsx +1 -1
  530. package/styled-components/es/examples/plasma_web/components/Attach/Attach.stories.tsx +1 -1
  531. package/styled-components/es/examples/plasma_web/components/Autocomplete/Autocomplete.stories.tsx +1 -1
  532. package/styled-components/es/examples/plasma_web/components/Avatar/Avatar.stories.tsx +1 -1
  533. package/styled-components/es/examples/plasma_web/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
  534. package/styled-components/es/examples/plasma_web/components/Badge/Badge.stories.tsx +1 -1
  535. package/styled-components/es/examples/plasma_web/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
  536. package/styled-components/es/examples/plasma_web/components/Button/Button.stories.tsx +1 -1
  537. package/styled-components/es/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  538. package/styled-components/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
  539. package/styled-components/es/examples/plasma_web/components/Cell/Cell.stories.tsx +1 -1
  540. package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -1
  541. package/styled-components/es/examples/plasma_web/components/Chip/Chip.stories.tsx +1 -1
  542. package/styled-components/es/examples/plasma_web/components/ChipGroup /ChipGroup.stories.tsx +1 -1
  543. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +1 -1
  544. package/styled-components/es/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
  545. package/styled-components/es/examples/plasma_web/components/Counter/Counter.stories.tsx +1 -1
  546. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
  547. package/styled-components/es/examples/plasma_web/components/Divider/Divider.stories.tsx +1 -1
  548. package/styled-components/es/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
  549. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +1 -1
  550. package/styled-components/es/examples/plasma_web/components/Editable/Editable.stories.tsx +1 -1
  551. package/styled-components/es/examples/plasma_web/components/EmptyState/EmptyState.stories.tsx +1 -1
  552. package/styled-components/es/examples/plasma_web/components/Grid/Grid.stories.tsx +1 -1
  553. package/styled-components/es/examples/plasma_web/components/IconButton/IconButton.stories.tsx +1 -1
  554. package/styled-components/es/examples/plasma_web/components/Image/Image.stories.tsx +1 -1
  555. package/styled-components/es/examples/plasma_web/components/Indicator/Indicator.stories.tsx +1 -1
  556. package/styled-components/es/examples/plasma_web/components/Link/Link.stories.tsx +1 -1
  557. package/styled-components/es/examples/plasma_web/components/Mask/Mask.stories.tsx +1 -1
  558. package/styled-components/es/examples/plasma_web/components/Modal/Modal.stories.tsx +1 -1
  559. package/styled-components/es/examples/plasma_web/components/Notification/Notification.stories.tsx +1 -1
  560. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +1 -1
  561. package/styled-components/es/examples/plasma_web/components/Overlay/Overlay.stories.tsx +1 -1
  562. package/styled-components/es/examples/plasma_web/components/Pagination/Pagination.stories.tsx +1 -1
  563. package/styled-components/es/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
  564. package/styled-components/es/examples/plasma_web/components/Popover/Popover.stories.tsx +1 -1
  565. package/styled-components/es/examples/plasma_web/components/Popup/Popup.stories.tsx +1 -1
  566. package/styled-components/es/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
  567. package/styled-components/es/examples/plasma_web/components/Price/Price.stories.tsx +1 -1
  568. package/styled-components/es/examples/plasma_web/components/Progress/Progress.stories.tsx +1 -1
  569. package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +1 -1
  570. package/styled-components/es/examples/plasma_web/components/Range/Range.stories.tsx +1 -1
  571. package/styled-components/es/examples/plasma_web/components/Segment/Segment.stories.tsx +1 -1
  572. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +2 -9
  573. package/styled-components/es/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
  574. package/styled-components/es/examples/plasma_web/components/Skeleton/Skeleton.stories.tsx +1 -1
  575. package/styled-components/es/examples/plasma_web/components/Slider/Slider.stories.tsx +1 -1
  576. package/styled-components/es/examples/plasma_web/components/Spinner/Spinner.stories.tsx +1 -1
  577. package/styled-components/es/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  578. package/styled-components/es/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -1
  579. package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +1 -1
  580. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -1
  581. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +1 -11
  582. package/styled-components/es/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
  583. package/styled-components/es/examples/plasma_web/components/Toast/Toast.stories.tsx +1 -1
  584. package/styled-components/es/examples/plasma_web/components/Toolbar/Toolbar.stories.tsx +1 -1
  585. package/styled-components/es/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +1 -1
  586. package/styled-components/es/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx +1 -1
  587. package/styled-components/es/examples/typograpy/components/Body/Body.stories.tsx +1 -1
  588. package/styled-components/es/examples/typograpy/components/Dspl/Dspl.stories.tsx +1 -1
  589. package/styled-components/es/examples/typograpy/components/Heading/Heading.stories.tsx +1 -1
  590. package/styled-components/es/examples/typograpy/components/Old/Body/Body.stories.tsx +1 -1
  591. package/styled-components/es/examples/typograpy/components/Old/Button/Button.stories.tsx +1 -1
  592. package/styled-components/es/examples/typograpy/components/Old/Caption/Caption.stories.tsx +1 -1
  593. package/styled-components/es/examples/typograpy/components/Old/Display/Display.stories.tsx +1 -1
  594. package/styled-components/es/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +1 -1
  595. package/styled-components/es/examples/typograpy/components/Old/Headline/Headline.stories.tsx +1 -1
  596. package/styled-components/es/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +1 -1
  597. package/styled-components/es/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +1 -1
  598. package/styled-components/es/examples/typograpy/components/Old/Underline/Underline.stories.tsx +1 -1
  599. package/styled-components/es/examples/typograpy/components/Text/Text.stories.tsx +1 -1
  600. package/types/components/Autocomplete/Autocomplete.types.d.ts +2 -3
  601. package/types/components/Autocomplete/Autocomplete.types.d.ts.map +1 -1
  602. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +0 -16
  603. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  604. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +0 -16
  605. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  606. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +0 -16
  607. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  608. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +0 -6
  609. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  610. package/types/components/Range/Range.styles.d.ts +0 -16
  611. package/types/components/Range/Range.styles.d.ts.map +1 -1
  612. package/types/components/Select/Select.types.d.ts +0 -5
  613. package/types/components/Select/Select.types.d.ts.map +1 -1
  614. package/types/components/Select/ui/Target/Target.d.ts +1 -1
  615. package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
  616. package/types/components/Select/ui/Target/Target.types.d.ts +1 -1
  617. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  618. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  619. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +0 -16
  620. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  621. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -1
  622. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  623. package/types/components/Slider/components/Double/Double.styles.d.ts +0 -16
  624. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  625. package/types/components/TextField/TextField.d.ts.map +1 -1
  626. package/types/components/TextField/TextField.types.d.ts +0 -8
  627. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  628. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
  629. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts +0 -1
  630. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +1 -1
  631. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts +1 -5
  632. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts.map +1 -1
  633. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts +3 -553
  634. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  635. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +0 -16
  636. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
  637. package/types/examples/plasma_b2c/components/Select/Select.d.ts +0 -6
  638. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  639. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +0 -16
  640. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  641. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts +3 -553
  642. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  643. package/types/examples/plasma_web/components/Mask/Mask.d.ts +0 -16
  644. package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
  645. package/types/examples/plasma_web/components/Select/Select.d.ts +0 -6
  646. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
  647. package/types/examples/plasma_web/components/TextField/TextField.d.ts +0 -16
  648. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.js","sources":["../../../src/components/TextField/TextField.tsx"],"sourcesContent":["import React, { forwardRef, useEffect, useRef, useState } from 'react';\nimport type { FormEventHandler, ChangeEventHandler, KeyboardEvent, ChangeEvent, MouseEventHandler } from 'react';\nimport { safeUseId, useForkRef } from '@salutejs/plasma-core';\nimport { css } from '@linaria/core';\n\nimport type { RootProps } from '../../engines';\nimport { cx } from '../../utils';\nimport { useOutsideClick } from '../../hooks';\n\nimport type { ChipValues, TextFieldPrimitiveValue, TextFieldProps, TextFieldRootProps } from './TextField.types';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as clearCSS } from './variations/_clear/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { base as readOnlyCSS } from './variations/_read-only/base';\nimport { base as labelPlacementCSS } from './variations/_label-placement/base';\nimport { base as hintViewCSS } from './variations/_hint-view/base';\nimport { base as hintSizeCSS } from './variations/_hint-size/base';\nimport {\n Input,\n InputContainer,\n LeftHelper,\n Label,\n InputWrapper,\n InputLabelWrapper,\n StyledContentLeft,\n StyledContentRight,\n StyledChips,\n StyledTextBefore,\n StyledTextAfter,\n StyledIndicator,\n StyledOptionalText,\n InputPlaceholder,\n OuterLabelWrapper,\n TitleCaption,\n StyledHintWrapper,\n StyledIndicatorWrapper,\n} from './TextField.styles';\nimport { classes } from './TextField.tokens';\nimport { TextFieldChip } from './ui';\nimport { useKeyNavigation } from './hooks';\nimport { HintComponent } from './ui/Hint/Hint';\n\nconst optionalText = 'optional';\n\nexport const base = css`\n /* NOTE: Webkit не применяет opacity к inline тегам */\n display: block;\n`;\n\nconst HINT_DEFAULT_OFFSET: [number, number] = [0, 0];\n\nexport const textFieldRoot = (Root: RootProps<HTMLDivElement, TextFieldRootProps>) =>\n forwardRef<HTMLInputElement, TextFieldProps>(\n (\n {\n id,\n className,\n style,\n\n // layout\n contentLeft,\n contentRight,\n label,\n labelPlacement,\n textBefore,\n textAfter,\n placeholder,\n leftHelper,\n enumerationType = 'plain',\n requiredPlacement = 'right',\n titleCaption,\n\n // hint\n hintTrigger = 'hover',\n hintText,\n hintView = 'default',\n hintSize = 'm',\n hintTargetIcon,\n hintPlacement = 'auto',\n hintHasArrow,\n hintOffset = HINT_DEFAULT_OFFSET,\n hintWidth,\n hintContentLeft,\n\n // variations\n view,\n size,\n readOnly = false,\n disabled = false,\n required = false,\n clear = false,\n optional,\n hasDivider,\n\n // controlled\n value: outerValue,\n chips: values,\n chipType = 'default',\n\n // events\n onChange,\n onChangeChips,\n onSearch,\n onKeyDown,\n\n ...rest\n },\n ref,\n ) => {\n const contentRef = useRef<HTMLDivElement>(null);\n const inputRef = useRef<HTMLInputElement>(null);\n const inputForkRef = useForkRef(inputRef, ref);\n const chipsRefs = useRef<Array<HTMLButtonElement>>([]);\n\n const controlledRefs = { contentRef, inputRef, chipsRefs };\n\n const [hasValue, setHasValue] = useState(\n Boolean(outerValue) || Boolean(inputRef?.current?.value) || Boolean(rest?.defaultValue),\n );\n const [chips, setChips] = useState<Array<ChipValues>>([]);\n const [isHintVisible, setIsHintVisible] = useState(false);\n\n const uniqId = safeUseId();\n const innerId = id || uniqId;\n const labelId = safeUseId();\n const helperTextId = safeUseId();\n\n const isDefaultView = view === 'default' || readOnly || disabled;\n\n const isChipEnumeration = enumerationType === 'chip';\n const isChipsVisible = isChipEnumeration && Boolean(chips?.length);\n const withHasChips = isChipsVisible ? classes.hasChips : undefined;\n\n const hasLabelValue = Boolean(label);\n const hasInnerLabel = size !== 'xs' && labelPlacement === 'inner' && !isChipsVisible && hasLabelValue;\n const hasOuterLabel = labelPlacement === 'outer' && hasLabelValue;\n const hasPlaceholder = Boolean(placeholder) && !hasInnerLabel;\n\n const innerLabelValue = hasInnerLabel || hasOuterLabel ? label : undefined;\n const innerLabelPlacementValue = labelPlacement === 'inner' && !hasInnerLabel ? undefined : labelPlacement;\n\n const innerPlaceholderValue = hasPlaceholder ? placeholder : undefined;\n const placeholderShown = Boolean(innerPlaceholderValue) && !hasValue;\n\n const clearClass = clear ? classes.clear : undefined;\n const hasDividerClass = hasDivider ? classes.hasDivider : undefined;\n const hasHintClass = hintText ? classes.hasHint : undefined;\n const requiredPlacementClass = requiredPlacement === 'right' ? classes.requiredAlignRight : undefined;\n const labelPlacementClass = innerLabelPlacementValue\n ? classes[`${innerLabelPlacementValue}LabelPlacement` as keyof typeof classes]\n : undefined;\n const hasValueClass = hasValue ? classes.hasValue : undefined;\n\n const wrapperWithoutLeftContent =\n !contentLeft && isChipsVisible && chipType === 'default' ? classes.hasEmptyContentLeft : undefined;\n const wrapperWithoutRightContent =\n !contentRight && isChipsVisible && chipType === 'default' ? classes.hasEmptyContentRight : undefined;\n\n const hintRef = useOutsideClick<HTMLDivElement>(() => {\n setIsHintVisible(false);\n });\n const hintInnerRef = useRef<HTMLDivElement>(null);\n const hintForkRef = useForkRef(hintRef, hintInnerRef);\n\n const handleInput: FormEventHandler<HTMLInputElement> = (event) => {\n setHasValue(Boolean((event.target as HTMLInputElement).value));\n };\n\n const handleHintShow = () => setIsHintVisible(true);\n const handleHintHide = () => setIsHintVisible(false);\n const handleHintClick: MouseEventHandler = (event) => {\n if (!hintText || hintTrigger !== 'click') {\n return;\n }\n\n event.stopPropagation();\n const targetIsPopover = event.target === hintInnerRef.current;\n const rootHasTarget = hintInnerRef.current?.contains(event.target as Element);\n\n if (!targetIsPopover && !rootHasTarget) {\n setIsHintVisible(true);\n }\n };\n\n const handleChange: ChangeEventHandler<HTMLInputElement> = (event) => {\n if (disabled || readOnly) {\n return;\n }\n\n const { maxLength, value } = event.target;\n\n if (maxLength !== -1 && value.length > maxLength) {\n return;\n }\n\n onChange?.(event);\n };\n\n const updateChips = (newChips: Array<ChipValues>, newValues: Array<TextFieldPrimitiveValue>) => {\n setChips(newChips);\n onChangeChips?.(newValues);\n };\n\n const { handleInputKeydown, handleChipKeyDown, onChipClear, handleContentKeyDown } = useKeyNavigation({\n controlledRefs,\n disabled,\n readOnly,\n chips,\n enumerationType,\n updateChips,\n onSearch,\n onChange,\n onEnterDisabled: (rest as any).onEnterDisabled,\n });\n\n const onChipClick = (event: React.MouseEvent<HTMLButtonElement>) => event.stopPropagation();\n\n const handleInputFocus = () => {\n if (readOnly || disabled || !inputRef?.current) {\n return;\n }\n\n inputRef.current.scrollTo({\n top: 0,\n left: inputRef.current.offsetLeft,\n behavior: 'smooth',\n });\n\n inputRef.current.focus();\n };\n\n const getRef = (element: HTMLButtonElement | null, index: number) => {\n if (element && chipsRefs?.current) {\n chipsRefs.current[index] = element;\n }\n };\n\n const handleOnKeyDown = (event: ChangeEvent<HTMLInputElement> & KeyboardEvent<HTMLInputElement>) => {\n handleInputKeydown(event);\n\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n\n useEffect(() => {\n if (!isChipEnumeration && !values?.length) {\n return;\n }\n\n const newChips =\n values?.map((value, index) => ({\n id: `${index}_${value}`,\n text: value,\n })) || [];\n\n setChips(newChips);\n }, [isChipEnumeration, values]);\n\n useEffect(() => {\n setHasValue(Boolean(rest?.defaultValue));\n }, [rest.defaultValue]);\n\n useEffect(() => {\n setHasValue(Boolean(outerValue) || Boolean(inputRef?.current?.value));\n }, [outerValue, inputRef?.current?.value]);\n\n const innerOptional = Boolean(required ? false : optional);\n const hasPlaceholderOptional = innerOptional && !innerLabelValue && !hasOuterLabel;\n const optionalTextNode = innerOptional ? (\n <StyledOptionalText>\n {Boolean(hasPlaceholderOptional ? innerPlaceholderValue : innerLabelValue) && '\\xa0'}\n {optionalText}\n </StyledOptionalText>\n ) : null;\n\n return (\n <Root\n view={view}\n size={size}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n clear={clear}\n labelPlacement={innerLabelPlacementValue}\n onClick={handleInputFocus}\n className={cx(\n labelPlacementClass,\n clearClass,\n hasDividerClass,\n hasHintClass,\n classes.textFieldGroupItem,\n className,\n )}\n style={style}\n {...(hintText && { hintView, hintSize })}\n >\n {(hasOuterLabel || titleCaption) && (\n <OuterLabelWrapper isInnerLabel={labelPlacement === 'inner'}>\n {hasOuterLabel && (\n <StyledIndicatorWrapper>\n <Label id={labelId} htmlFor={id}>\n {innerLabelValue}\n </Label>\n\n {hintText && (\n <StyledHintWrapper>\n <HintComponent\n ref={hintForkRef}\n hintText={hintText}\n hintTrigger={hintTrigger}\n isHintVisible={isHintVisible}\n hintTargetIcon={hintTargetIcon}\n hintPlacement={hintPlacement}\n hintHasArrow={hintHasArrow}\n hintOffset={hintOffset}\n hintWidth={hintWidth}\n hintContentLeft={hintContentLeft}\n handleHintShow={handleHintShow}\n handleHintHide={handleHintHide}\n handleHintClick={handleHintClick}\n />\n </StyledHintWrapper>\n )}\n {required && (\n <StyledIndicator\n className={cx(\n classes.outerLabelPlacement,\n requiredPlacementClass,\n hasHintClass,\n )}\n />\n )}\n {optionalTextNode}\n </StyledIndicatorWrapper>\n )}\n {titleCaption && <TitleCaption>{titleCaption}</TitleCaption>}\n </OuterLabelWrapper>\n )}\n <InputWrapper\n // Ref для внутреннего использования. Не отдается наружу.\n ref={(rest as any).inputWrapperRef}\n // TODO: #1544, и после убрать classes.inputWrapper\n className={cx(\n withHasChips,\n wrapperWithoutLeftContent,\n wrapperWithoutRightContent,\n classes.inputWrapper,\n )}\n >\n {!hasOuterLabel && (\n <>\n {required && (\n <StyledIndicator\n className={cx(classes.innerLabelPlacement, requiredPlacementClass)}\n />\n )}\n {hintText && (\n <StyledHintWrapper className={classes.innerLabelPlacement}>\n <HintComponent\n ref={hintForkRef}\n hintText={hintText}\n hintTrigger={hintTrigger}\n isHintVisible={isHintVisible}\n hintTargetIcon={hintTargetIcon}\n hintPlacement={hintPlacement}\n hintHasArrow={hintHasArrow}\n hintOffset={hintOffset}\n hintWidth={hintWidth}\n hintContentLeft={hintContentLeft}\n handleHintShow={handleHintShow}\n handleHintHide={handleHintHide}\n handleHintClick={handleHintClick}\n />\n </StyledHintWrapper>\n )}\n </>\n )}\n {contentLeft && (\n <StyledContentLeft isClear={clear} isDefaultView={isDefaultView}>\n {contentLeft}\n </StyledContentLeft>\n )}\n <InputLabelWrapper\n tabIndex={-1}\n ref={contentRef}\n onKeyDown={handleContentKeyDown}\n className={withHasChips}\n >\n {textBefore && <StyledTextBefore>{textBefore}</StyledTextBefore>}\n {isChipEnumeration && Boolean(chips?.length) && (\n <StyledChips>\n {chips?.map(({ id: chipId, text }, index) => {\n return (\n <TextFieldChip\n id={chipId}\n ref={(element) => getRef(element, index)}\n key={`${chipId}_${index}`}\n disabled={disabled}\n readOnly={readOnly}\n value={text}\n text={text}\n onKeyDown={(event) => handleChipKeyDown(event, chipId, index)}\n onClear={() => onChipClear(chipId, index)}\n onClick={onChipClick}\n chipType={chipType}\n // TODO: #1547\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n _forceChipManipulationWithReadonly={\n // eslint-disable-next-line no-underscore-dangle\n (rest as any)._forceChipManipulationWithReadonly\n }\n />\n );\n })}\n </StyledChips>\n )}\n <InputContainer>\n <Input\n ref={inputForkRef}\n id={innerId}\n value={outerValue}\n aria-labelledby={labelId}\n aria-describedby={helperTextId}\n placeholder={innerPlaceholderValue}\n className={cx(hasValueClass)}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n onInput={handleInput}\n onChange={handleChange}\n onKeyDown={handleOnKeyDown}\n {...rest}\n />\n {hasInnerLabel && (\n <Label id={labelId} htmlFor={innerId}>\n {innerLabelValue}\n {optionalTextNode}\n </Label>\n )}\n {placeholderShown && !hasValue && (\n <InputPlaceholder>\n {innerPlaceholderValue}\n {hasPlaceholderOptional && optionalTextNode}\n </InputPlaceholder>\n )}\n </InputContainer>\n {textAfter && <StyledTextAfter>{textAfter}</StyledTextAfter>}\n </InputLabelWrapper>\n {contentRight && <StyledContentRight>{contentRight}</StyledContentRight>}\n </InputWrapper>\n {leftHelper && <LeftHelper id={helperTextId}>{leftHelper}</LeftHelper>}\n </Root>\n );\n },\n );\n\nexport const textFieldConfig = {\n name: 'TextField',\n tag: 'div',\n layout: textFieldRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n clear: {\n css: clearCSS,\n attrs: true,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n readOnly: {\n css: readOnlyCSS,\n attrs: true,\n },\n labelPlacement: {\n css: labelPlacementCSS,\n },\n hintView: {\n css: hintViewCSS,\n },\n hintSize: {\n css: hintSizeCSS,\n },\n },\n defaults: {\n size: 'm',\n view: 'default',\n },\n};\n"],"names":["optionalText","base","HINT_DEFAULT_OFFSET","textFieldRoot","Root","forwardRef","_ref","ref","_inputRef$current","_inputRef$current3","id","className","style","contentLeft","contentRight","label","labelPlacement","textBefore","textAfter","placeholder","leftHelper","_ref$enumerationType","enumerationType","_ref$requiredPlacemen","requiredPlacement","titleCaption","_ref$hintTrigger","hintTrigger","hintText","_ref$hintView","hintView","_ref$hintSize","hintSize","hintTargetIcon","_ref$hintPlacement","hintPlacement","hintHasArrow","_ref$hintOffset","hintOffset","hintWidth","hintContentLeft","view","size","_ref$readOnly","readOnly","_ref$disabled","disabled","_ref$required","required","_ref$clear","clear","optional","hasDivider","outerValue","value","values","chips","_ref$chipType","chipType","onChange","onChangeChips","onSearch","onKeyDown","rest","contentRef","useRef","inputRef","inputForkRef","useForkRef","chipsRefs","controlledRefs","_useState","useState","Boolean","current","defaultValue","_useState2","_slicedToArray","hasValue","setHasValue","_useState3","_useState4","setChips","_useState5","_useState6","isHintVisible","setIsHintVisible","uniqId","safeUseId","innerId","labelId","helperTextId","isDefaultView","isChipEnumeration","isChipsVisible","length","withHasChips","classes","hasChips","undefined","hasLabelValue","hasInnerLabel","hasOuterLabel","hasPlaceholder","innerLabelValue","innerLabelPlacementValue","innerPlaceholderValue","placeholderShown","clearClass","hasDividerClass","hasHintClass","hasHint","requiredPlacementClass","requiredAlignRight","labelPlacementClass","concat","hasValueClass","wrapperWithoutLeftContent","hasEmptyContentLeft","wrapperWithoutRightContent","hasEmptyContentRight","hintRef","useOutsideClick","hintInnerRef","hintForkRef","handleInput","event","target","handleHintShow","handleHintHide","handleHintClick","_hintInnerRef$current","stopPropagation","targetIsPopover","rootHasTarget","contains","handleChange","_event$target","maxLength","updateChips","newChips","newValues","_useKeyNavigation","useKeyNavigation","onEnterDisabled","handleInputKeydown","handleChipKeyDown","onChipClear","handleContentKeyDown","onChipClick","handleInputFocus","scrollTo","top","left","offsetLeft","behavior","focus","getRef","element","index","handleOnKeyDown","useEffect","map","text","_inputRef$current2","innerOptional","hasPlaceholderOptional","optionalTextNode","React","createElement","StyledOptionalText","_extends","onClick","cx","textFieldGroupItem","OuterLabelWrapper","isInnerLabel","StyledIndicatorWrapper","Label","htmlFor","StyledHintWrapper","HintComponent","StyledIndicator","outerLabelPlacement","TitleCaption","InputWrapper","inputWrapperRef","inputWrapper","Fragment","innerLabelPlacement","StyledContentLeft","isClear","InputLabelWrapper","tabIndex","StyledTextBefore","StyledChips","_ref2","chipId","TextFieldChip","key","onClear","_forceChipManipulationWithReadonly","InputContainer","Input","onInput","InputPlaceholder","StyledTextAfter","StyledContentRight","LeftHelper","textFieldConfig","name","tag","layout","variations","css","viewCSS","sizeCSS","clearCSS","attrs","disabledCSS","readOnlyCSS","labelPlacementCSS","hintViewCSS","hintSizeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;;AA2CA,IAAMA,YAAY,GAAG,UAAU,CAAA;AAExB,IAAMC,IAAI,GAGhB,UAAA;AAED,IAAMC,mBAAqC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;IA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ACD5K,IAAAA,QAAQ,EAAE;AACNwK,MAAAA,GAAG,EAAEK,MAAW;AAChBD,MAAAA,KAAK,EAAE,IAAA;KACV;AACD9K,IAAAA,QAAQ,EAAE;AACN0K,MAAAA,GAAG,EAAEM,MAAW;AAChBF,MAAAA,KAAK,EAAE,IAAA;KACV;AACD1M,IAAAA,cAAc,EAAE;AACZsM,MAAAA,GAAG,EAAEO,MAAAA;KACR;AACD/L,IAAAA,QAAQ,EAAE;AACNwL,MAAAA,GAAG,EAAEQ,MAAAA;KACR;AACD9L,IAAAA,QAAQ,EAAE;AACNsL,MAAAA,GAAG,EAAES,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNtL,IAAAA,IAAI,EAAE,GAAG;AACTD,IAAAA,IAAI,EAAE,SAAA;AACV,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"TextField.js","sources":["../../../src/components/TextField/TextField.tsx"],"sourcesContent":["import React, { forwardRef, useEffect, useRef, useState } from 'react';\nimport type { FormEventHandler, ChangeEventHandler, KeyboardEvent, ChangeEvent, MouseEventHandler } from 'react';\nimport { safeUseId, useForkRef } from '@salutejs/plasma-core';\nimport { css } from '@linaria/core';\n\nimport type { RootProps } from '../../engines';\nimport { cx } from '../../utils';\nimport { useOutsideClick } from '../../hooks';\n\nimport type { ChipValues, TextFieldPrimitiveValue, TextFieldProps, TextFieldRootProps } from './TextField.types';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as clearCSS } from './variations/_clear/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { base as readOnlyCSS } from './variations/_read-only/base';\nimport { base as labelPlacementCSS } from './variations/_label-placement/base';\nimport { base as hintViewCSS } from './variations/_hint-view/base';\nimport { base as hintSizeCSS } from './variations/_hint-size/base';\nimport {\n Input,\n InputContainer,\n LeftHelper,\n Label,\n InputWrapper,\n InputLabelWrapper,\n StyledContentLeft,\n StyledContentRight,\n StyledChips,\n StyledTextBefore,\n StyledTextAfter,\n StyledIndicator,\n StyledOptionalText,\n InputPlaceholder,\n OuterLabelWrapper,\n TitleCaption,\n StyledHintWrapper,\n StyledIndicatorWrapper,\n} from './TextField.styles';\nimport { classes } from './TextField.tokens';\nimport { TextFieldChip } from './ui';\nimport { useKeyNavigation } from './hooks';\nimport { HintComponent } from './ui/Hint/Hint';\n\nconst optionalText = 'optional';\n\nexport const base = css`\n /* NOTE: Webkit не применяет opacity к inline тегам */\n display: block;\n`;\n\nconst HINT_DEFAULT_OFFSET: [number, number] = [0, 0];\n\nexport const textFieldRoot = (Root: RootProps<HTMLDivElement, TextFieldRootProps>) =>\n forwardRef<HTMLInputElement, TextFieldProps>(\n (\n {\n id,\n className,\n style,\n\n // layout\n contentLeft,\n contentRight,\n label,\n labelPlacement,\n textBefore,\n textAfter,\n placeholder,\n leftHelper,\n enumerationType = 'plain',\n requiredPlacement = 'right',\n titleCaption,\n\n // hint\n hintTrigger = 'hover',\n hintText,\n hintView = 'default',\n hintSize = 'm',\n hintTargetIcon,\n hintPlacement = 'auto',\n hintHasArrow,\n hintOffset = HINT_DEFAULT_OFFSET,\n hintWidth,\n hintContentLeft,\n\n // variations\n view,\n size,\n readOnly = false,\n disabled = false,\n required = false,\n clear = false,\n optional,\n hasDivider,\n\n // controlled\n value: outerValue,\n chips: values,\n\n // events\n onChange,\n onChangeChips,\n onSearch,\n onKeyDown,\n\n ...rest\n },\n ref,\n ) => {\n const contentRef = useRef<HTMLDivElement>(null);\n const inputRef = useRef<HTMLInputElement>(null);\n const inputForkRef = useForkRef(inputRef, ref);\n const chipsRefs = useRef<Array<HTMLButtonElement>>([]);\n\n const controlledRefs = { contentRef, inputRef, chipsRefs };\n\n const [hasValue, setHasValue] = useState(\n Boolean(outerValue) || Boolean(inputRef?.current?.value) || Boolean(rest?.defaultValue),\n );\n const [chips, setChips] = useState<Array<ChipValues>>([]);\n const [isHintVisible, setIsHintVisible] = useState(false);\n\n const uniqId = safeUseId();\n const innerId = id || uniqId;\n const labelId = safeUseId();\n const helperTextId = safeUseId();\n\n const isDefaultView = view === 'default' || readOnly || disabled;\n\n const isChipEnumeration = enumerationType === 'chip';\n const isChipsVisible = isChipEnumeration && Boolean(chips?.length);\n const withHasChips = isChipsVisible ? classes.hasChips : undefined;\n\n const hasLabelValue = Boolean(label);\n const hasInnerLabel = size !== 'xs' && labelPlacement === 'inner' && !isChipsVisible && hasLabelValue;\n const hasOuterLabel = labelPlacement === 'outer' && hasLabelValue;\n const hasPlaceholder = Boolean(placeholder) && !hasInnerLabel;\n\n const innerLabelValue = hasInnerLabel || hasOuterLabel ? label : undefined;\n const innerLabelPlacementValue = labelPlacement === 'inner' && !hasInnerLabel ? undefined : labelPlacement;\n\n const innerPlaceholderValue = hasPlaceholder ? placeholder : undefined;\n const placeholderShown = Boolean(innerPlaceholderValue) && !hasValue;\n\n const clearClass = clear ? classes.clear : undefined;\n const hasDividerClass = hasDivider ? classes.hasDivider : undefined;\n const hasHintClass = hintText ? classes.hasHint : undefined;\n const requiredPlacementClass = requiredPlacement === 'right' ? classes.requiredAlignRight : undefined;\n const labelPlacementClass = innerLabelPlacementValue\n ? classes[`${innerLabelPlacementValue}LabelPlacement` as keyof typeof classes]\n : undefined;\n const hasValueClass = hasValue ? classes.hasValue : undefined;\n\n const wrapperWithoutLeftContent = !contentLeft && isChipsVisible ? classes.hasEmptyContentLeft : undefined;\n const wrapperWithoutRightContent =\n !contentRight && isChipsVisible ? classes.hasEmptyContentRight : undefined;\n\n const hintRef = useOutsideClick<HTMLDivElement>(() => {\n setIsHintVisible(false);\n });\n const hintInnerRef = useRef<HTMLDivElement>(null);\n const hintForkRef = useForkRef(hintRef, hintInnerRef);\n\n const handleInput: FormEventHandler<HTMLInputElement> = (event) => {\n setHasValue(Boolean((event.target as HTMLInputElement).value));\n };\n\n const handleHintShow = () => setIsHintVisible(true);\n const handleHintHide = () => setIsHintVisible(false);\n const handleHintClick: MouseEventHandler = (event) => {\n if (!hintText || hintTrigger !== 'click') {\n return;\n }\n\n event.stopPropagation();\n const targetIsPopover = event.target === hintInnerRef.current;\n const rootHasTarget = hintInnerRef.current?.contains(event.target as Element);\n\n if (!targetIsPopover && !rootHasTarget) {\n setIsHintVisible(true);\n }\n };\n\n const handleChange: ChangeEventHandler<HTMLInputElement> = (event) => {\n if (disabled || readOnly) {\n return;\n }\n\n const { maxLength, value } = event.target;\n\n if (maxLength !== -1 && value.length > maxLength) {\n return;\n }\n\n onChange?.(event);\n };\n\n const updateChips = (newChips: Array<ChipValues>, newValues: Array<TextFieldPrimitiveValue>) => {\n setChips(newChips);\n onChangeChips?.(newValues);\n };\n\n const { handleInputKeydown, handleChipKeyDown, onChipClear, handleContentKeyDown } = useKeyNavigation({\n controlledRefs,\n disabled,\n readOnly,\n chips,\n enumerationType,\n updateChips,\n onSearch,\n onChange,\n onEnterDisabled: (rest as any).onEnterDisabled,\n });\n\n const onChipClick = (event: React.MouseEvent<HTMLButtonElement>) => event.stopPropagation();\n\n const handleInputFocus = () => {\n if (readOnly || disabled || !inputRef?.current) {\n return;\n }\n\n inputRef.current.scrollTo({\n top: 0,\n left: inputRef.current.offsetLeft,\n behavior: 'smooth',\n });\n\n inputRef.current.focus();\n };\n\n const getRef = (element: HTMLButtonElement | null, index: number) => {\n if (element && chipsRefs?.current) {\n chipsRefs.current[index] = element;\n }\n };\n\n const handleOnKeyDown = (event: ChangeEvent<HTMLInputElement> & KeyboardEvent<HTMLInputElement>) => {\n handleInputKeydown(event);\n\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n\n useEffect(() => {\n if (!isChipEnumeration && !values?.length) {\n return;\n }\n\n const newChips =\n values?.map((value, index) => ({\n id: `${index}_${value}`,\n text: value,\n })) || [];\n\n setChips(newChips);\n }, [isChipEnumeration, values]);\n\n useEffect(() => {\n setHasValue(Boolean(rest?.defaultValue));\n }, [rest.defaultValue]);\n\n useEffect(() => {\n setHasValue(Boolean(outerValue) || Boolean(inputRef?.current?.value));\n }, [outerValue, inputRef?.current?.value]);\n\n const innerOptional = Boolean(required ? false : optional);\n const hasPlaceholderOptional = innerOptional && !innerLabelValue && !hasOuterLabel;\n const optionalTextNode = innerOptional ? (\n <StyledOptionalText>\n {Boolean(hasPlaceholderOptional ? innerPlaceholderValue : innerLabelValue) && '\\xa0'}\n {optionalText}\n </StyledOptionalText>\n ) : null;\n\n return (\n <Root\n view={view}\n size={size}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n clear={clear}\n labelPlacement={innerLabelPlacementValue}\n onClick={handleInputFocus}\n className={cx(\n labelPlacementClass,\n clearClass,\n hasDividerClass,\n hasHintClass,\n classes.textFieldGroupItem,\n className,\n )}\n style={style}\n {...(hintText && { hintView, hintSize })}\n >\n {(hasOuterLabel || titleCaption) && (\n <OuterLabelWrapper isInnerLabel={labelPlacement === 'inner'}>\n {hasOuterLabel && (\n <StyledIndicatorWrapper>\n <Label id={labelId} htmlFor={id}>\n {innerLabelValue}\n </Label>\n\n {hintText && (\n <StyledHintWrapper>\n <HintComponent\n ref={hintForkRef}\n hintText={hintText}\n hintTrigger={hintTrigger}\n isHintVisible={isHintVisible}\n hintTargetIcon={hintTargetIcon}\n hintPlacement={hintPlacement}\n hintHasArrow={hintHasArrow}\n hintOffset={hintOffset}\n hintWidth={hintWidth}\n hintContentLeft={hintContentLeft}\n handleHintShow={handleHintShow}\n handleHintHide={handleHintHide}\n handleHintClick={handleHintClick}\n />\n </StyledHintWrapper>\n )}\n {required && (\n <StyledIndicator\n className={cx(\n classes.outerLabelPlacement,\n requiredPlacementClass,\n hasHintClass,\n )}\n />\n )}\n {optionalTextNode}\n </StyledIndicatorWrapper>\n )}\n {titleCaption && <TitleCaption>{titleCaption}</TitleCaption>}\n </OuterLabelWrapper>\n )}\n <InputWrapper\n // Ref для внутреннего использования. Не отдается наружу.\n ref={(rest as any).inputWrapperRef}\n // TODO: #1544, и после убрать classes.inputWrapper\n className={cx(\n withHasChips,\n wrapperWithoutLeftContent,\n wrapperWithoutRightContent,\n classes.inputWrapper,\n )}\n >\n {!hasOuterLabel && (\n <>\n {required && (\n <StyledIndicator\n className={cx(classes.innerLabelPlacement, requiredPlacementClass)}\n />\n )}\n {hintText && (\n <StyledHintWrapper className={classes.innerLabelPlacement}>\n <HintComponent\n ref={hintForkRef}\n hintText={hintText}\n hintTrigger={hintTrigger}\n isHintVisible={isHintVisible}\n hintTargetIcon={hintTargetIcon}\n hintPlacement={hintPlacement}\n hintHasArrow={hintHasArrow}\n hintOffset={hintOffset}\n hintWidth={hintWidth}\n hintContentLeft={hintContentLeft}\n handleHintShow={handleHintShow}\n handleHintHide={handleHintHide}\n handleHintClick={handleHintClick}\n />\n </StyledHintWrapper>\n )}\n </>\n )}\n {contentLeft && (\n <StyledContentLeft isClear={clear} isDefaultView={isDefaultView}>\n {contentLeft}\n </StyledContentLeft>\n )}\n <InputLabelWrapper\n tabIndex={-1}\n ref={contentRef}\n onKeyDown={handleContentKeyDown}\n className={withHasChips}\n >\n {textBefore && <StyledTextBefore>{textBefore}</StyledTextBefore>}\n {isChipEnumeration && Boolean(chips?.length) && (\n <StyledChips>\n {chips?.map(({ id: chipId, text }, index) => {\n return (\n <TextFieldChip\n id={chipId}\n ref={(element) => getRef(element, index)}\n key={`${chipId}_${index}`}\n disabled={disabled}\n readOnly={readOnly}\n value={text}\n text={text}\n onKeyDown={(event) => handleChipKeyDown(event, chipId, index)}\n onClear={() => onChipClear(chipId, index)}\n onClick={onChipClick}\n // TODO: #1547\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n _forceChipManipulationWithReadonly={\n // eslint-disable-next-line no-underscore-dangle\n (rest as any)._forceChipManipulationWithReadonly\n }\n />\n );\n })}\n </StyledChips>\n )}\n <InputContainer>\n <Input\n ref={inputForkRef}\n id={innerId}\n value={outerValue}\n aria-labelledby={labelId}\n aria-describedby={helperTextId}\n placeholder={innerPlaceholderValue}\n className={cx(hasValueClass)}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n onInput={handleInput}\n onChange={handleChange}\n onKeyDown={handleOnKeyDown}\n {...rest}\n />\n {hasInnerLabel && (\n <Label id={labelId} htmlFor={innerId}>\n {innerLabelValue}\n {optionalTextNode}\n </Label>\n )}\n {placeholderShown && !hasValue && (\n <InputPlaceholder>\n {innerPlaceholderValue}\n {hasPlaceholderOptional && optionalTextNode}\n </InputPlaceholder>\n )}\n </InputContainer>\n {textAfter && <StyledTextAfter>{textAfter}</StyledTextAfter>}\n </InputLabelWrapper>\n {contentRight && <StyledContentRight>{contentRight}</StyledContentRight>}\n </InputWrapper>\n {leftHelper && <LeftHelper id={helperTextId}>{leftHelper}</LeftHelper>}\n </Root>\n );\n },\n );\n\nexport const textFieldConfig = {\n name: 'TextField',\n tag: 'div',\n layout: textFieldRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n clear: {\n css: clearCSS,\n attrs: true,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n readOnly: {\n css: readOnlyCSS,\n attrs: true,\n },\n labelPlacement: {\n css: labelPlacementCSS,\n },\n hintView: {\n css: hintViewCSS,\n },\n hintSize: {\n css: hintSizeCSS,\n },\n },\n defaults: {\n size: 'm',\n view: 'default',\n },\n};\n"],"names":["optionalText","base","HINT_DEFAULT_OFFSET","textFieldRoot","Root","forwardRef","_ref","ref","_inputRef$current","_inputRef$current3","id","className","style","contentLeft","contentRight","label","labelPlacement","textBefore","textAfter","placeholder","leftHelper","_ref$enumerationType","enumerationType","_ref$requiredPlacemen","requiredPlacement","titleCaption","_ref$hintTrigger","hintTrigger","hintText","_ref$hintView","hintView","_ref$hintSize","hintSize","hintTargetIcon","_ref$hintPlacement","hintPlacement","hintHasArrow","_ref$hintOffset","hintOffset","hintWidth","hintContentLeft","view","size","_ref$readOnly","readOnly","_ref$disabled","disabled","_ref$required","required","_ref$clear","clear","optional","hasDivider","outerValue","value","values","chips","onChange","onChangeChips","onSearch","onKeyDown","rest","contentRef","useRef","inputRef","inputForkRef","useForkRef","chipsRefs","controlledRefs","_useState","useState","Boolean","current","defaultValue","_useState2","_slicedToArray","hasValue","setHasValue","_useState3","_useState4","setChips","_useState5","_useState6","isHintVisible","setIsHintVisible","uniqId","safeUseId","innerId","labelId","helperTextId","isDefaultView","isChipEnumeration","isChipsVisible","length","withHasChips","classes","hasChips","undefined","hasLabelValue","hasInnerLabel","hasOuterLabel","hasPlaceholder","innerLabelValue","innerLabelPlacementValue","innerPlaceholderValue","placeholderShown","clearClass","hasDividerClass","hasHintClass","hasHint","requiredPlacementClass","requiredAlignRight","labelPlacementClass","concat","hasValueClass","wrapperWithoutLeftContent","hasEmptyContentLeft","wrapperWithoutRightContent","hasEmptyContentRight","hintRef","useOutsideClick","hintInnerRef","hintForkRef","handleInput","event","target","handleHintShow","handleHintHide","handleHintClick","_hintInnerRef$current","stopPropagation","targetIsPopover","rootHasTarget","contains","handleChange","_event$target","maxLength","updateChips","newChips","newValues","_useKeyNavigation","useKeyNavigation","onEnterDisabled","handleInputKeydown","handleChipKeyDown","onChipClear","handleContentKeyDown","onChipClick","handleInputFocus","scrollTo","top","left","offsetLeft","behavior","focus","getRef","element","index","handleOnKeyDown","useEffect","map","text","_inputRef$current2","innerOptional","hasPlaceholderOptional","optionalTextNode","React","createElement","StyledOptionalText","_extends","onClick","cx","textFieldGroupItem","OuterLabelWrapper","isInnerLabel","StyledIndicatorWrapper","Label","htmlFor","StyledHintWrapper","HintComponent","StyledIndicator","outerLabelPlacement","TitleCaption","InputWrapper","inputWrapperRef","inputWrapper","Fragment","innerLabelPlacement","StyledContentLeft","isClear","InputLabelWrapper","tabIndex","StyledTextBefore","StyledChips","_ref2","chipId","TextFieldChip","key","onClear","_forceChipManipulationWithReadonly","InputContainer","Input","onInput","InputPlaceholder","StyledTextAfter","StyledContentRight","LeftHelper","textFieldConfig","name","tag","layout","variations","css","viewCSS","sizeCSS","clearCSS","attrs","disabledCSS","readOnlyCSS","labelPlacementCSS","hintViewCSS","hintSizeCSS","defaults"],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,MAAAA,KAAK,EAAE,IAAA;KACV;AACD5K,IAAAA,QAAQ,EAAE;AACNwK,MAAAA,GAAG,EAAEM,MAAW;AAChBF,MAAAA,KAAK,EAAE,IAAA;KACV;AACDxM,IAAAA,cAAc,EAAE;AACZoM,MAAAA,GAAG,EAAEO,MAAAA;KACR;AACD7L,IAAAA,QAAQ,EAAE;AACNsL,MAAAA,GAAG,EAAEQ,MAAAA;KACR;AACD5L,IAAAA,QAAQ,EAAE;AACNoL,MAAAA,GAAG,EAAES,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNpL,IAAAA,IAAI,EAAE,GAAG;AACTD,IAAAA,IAAI,EAAE,SAAA;AACV,GAAA;AACJ;;;;"}
@@ -18,5 +18,4 @@
18
18
  .Chip_styles_1mwwhiw_swddmyi__07da4d18{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-left:var(--plasma-chip-right-content-margin-left);margin-right:var(--plasma-chip-right-content-margin-right);}
19
19
  .Chip_styles_1mwwhiw_s1pcflhj__07da4d18{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-left:var(--plasma-chip-clear-content-margin-left);margin-right:var(--plasma-chip-clear-content-margin-right);color:var(--plasma-chip-close-icon-color);}
20
20
 
21
- .TextFieldChip_styles_1yosnxc_s32p7ut__b8a89acb{--plasma-chip-color:var(--plasma-textfield__chip-color);--plasma-chip-background:var(--plasma-textfield__chip-background);--plasma-chip-color-hover:var(--plasma-textfield__chip-color-hover);--plasma-chip-background-hover:var(--plasma-textfield__chip-background-hover);--plasma-chip-color-active:var(--plasma-textfield__chip-color-active);--plasma-chip-background-active:var(--plasma-textfield__chip-background-active);--plasma-chip-background-readonly:var(--plasma-textfield__chip-background-readonly);--plasma-chip-color-readonly:var(--plasma-textfield__chip-color-readonly);--plasma-chip-background-readonly-hover:var(--plasma-textfield__chip-background-readonly-hover);--plasma-chip-color-readonly-hover:var(--plasma-textfield__chip-color-readonly-hover);--plasma-chip-border-radius:var(--plasma-textfield__chip-border-radius);--plasma-chip-width:var(--plasma-textfield__chip-width);--plasma-chip-height:var(--plasma-textfield__chip-height);--plasma-chip-padding-right:var(--plasma-textfield__chip-padding-right);--plasma-chip-padding-left:var(--plasma-textfield__chip-padding-left);--plasma-chip-font-family:var(--plasma-textfield__chip-font-family);--plasma-chip-font-size:var(--plasma-textfield__chip-font-size);--plasma-chip-font-style:var(--plasma-textfield__chip-font-style);--plasma-chip-font-weight:var(--plasma-textfield__chip-font-weight);--plasma-chip-letter-spacing:var(--plasma-textfield__chip-letter-spacing);--plasma-chip-lineheight:var(--plasma-textfield__chip-line-height);--plasma-chip-clear-content-margin-left:var(--plasma-textfield__chip-clear-content-margin-left);--plasma-chip-clear-content-margin-right:var(--plasma-textfield__chip-clear-content-margin-right);--plasma-chip-scale-hover:var(--plasma-textfield__chip-scale-hover);--plasma-chip-scale-active:var(--plasma-textfield__chip-scale-active);--plasma-chip-close-icon-size:var(--plasma-textfield__chip-close-icon-size);--plasma-chip-close-icon-color:var(--plasma-textfield__chip-close-icon-color);--plasma-chip-focus-color:var(--plasma-textfield-focus-color);-webkit-scroll-snap-align:center;-moz-scroll-snap-align:center;-ms-scroll-snap-align:center;scroll-snap-align:center;-webkit-scroll-snap-stop:normal;-moz-scroll-snap-stop:normal;-ms-scroll-snap-stop:normal;scroll-snap-stop:normal;position:relative;}.TextFieldChip_styles_1yosnxc_s32p7ut__b8a89acb::before{content:'';position:absolute;top:0.0625rem;left:0.0625rem;right:0.0625rem;bottom:0.0625rem;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:calc(var(--plasma-textfield__chip-border-radius) - 0.1rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.TextFieldChip_styles_1yosnxc_s32p7ut__b8a89acb.TextFieldChip_styles_1yosnxc_focusVisible__b8a89acb:focus::before,.TextFieldChip_styles_1yosnxc_s32p7ut__b8a89acb[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-textfield-focus-color);}.TextFieldChip_styles_1yosnxc_s32p7ut__b8a89acb[readonly]{opacity:var(--plasma-textfield__chip-opacity-readonly);}
22
- .TextFieldChip_styles_1yosnxc_t4nir3h__b8a89acb{display:block;-webkit-flex:none;-ms-flex:none;flex:none;background:none;border:none;outline:none;padding:0;white-space:nowrap;cursor:pointer;font-family:var(--plasma-textfield-font-family);font-size:var(--plasma-textfield-font-size);font-style:var(--plasma-textfield-font-style);font-weight:var(--plasma-textfield-font-weight);-webkit-letter-spacing:var(--plasma-textfield-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-letter-spacing);letter-spacing:var(--plasma-textfield-letter-spacing);line-height:var(--plasma-textfield-line-height);color:var(--plasma-textfield-color);position:relative;}.TextFieldChip_styles_1yosnxc_t4nir3h__b8a89acb::before{content:'';position:absolute;top:0.0625rem;left:0.0625rem;right:0.0625rem;bottom:0.0625rem;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:calc(var(--plasma-textfield__chip-border-radius) - 0.1rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.TextFieldChip_styles_1yosnxc_t4nir3h__b8a89acb.TextFieldChip_styles_1yosnxc_focusVisible__b8a89acb:focus::before,.TextFieldChip_styles_1yosnxc_t4nir3h__b8a89acb[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-textfield-focus-color);}.TextFieldChip_styles_1yosnxc_t4nir3h__b8a89acb:after{content:',';}.TextFieldChip_styles_1yosnxc_t4nir3h__b8a89acb:last-child:after{content:'';}
21
+ .TextFieldChip_styles_1y8n7la_s32p7ut__8f291676{--plasma-chip-color:var(--plasma-textfield__chip-color);--plasma-chip-background:var(--plasma-textfield__chip-background);--plasma-chip-color-hover:var(--plasma-textfield__chip-color-hover);--plasma-chip-background-hover:var(--plasma-textfield__chip-background-hover);--plasma-chip-color-active:var(--plasma-textfield__chip-color-active);--plasma-chip-background-active:var(--plasma-textfield__chip-background-active);--plasma-chip-background-readonly:var(--plasma-textfield__chip-background-readonly);--plasma-chip-color-readonly:var(--plasma-textfield__chip-color-readonly);--plasma-chip-background-readonly-hover:var(--plasma-textfield__chip-background-readonly-hover);--plasma-chip-color-readonly-hover:var(--plasma-textfield__chip-color-readonly-hover);--plasma-chip-border-radius:var(--plasma-textfield__chip-border-radius);--plasma-chip-width:var(--plasma-textfield__chip-width);--plasma-chip-height:var(--plasma-textfield__chip-height);--plasma-chip-padding-right:var(--plasma-textfield__chip-padding-right);--plasma-chip-padding-left:var(--plasma-textfield__chip-padding-left);--plasma-chip-font-family:var(--plasma-textfield__chip-font-family);--plasma-chip-font-size:var(--plasma-textfield__chip-font-size);--plasma-chip-font-style:var(--plasma-textfield__chip-font-style);--plasma-chip-font-weight:var(--plasma-textfield__chip-font-weight);--plasma-chip-letter-spacing:var(--plasma-textfield__chip-letter-spacing);--plasma-chip-lineheight:var(--plasma-textfield__chip-line-height);--plasma-chip-clear-content-margin-left:var(--plasma-textfield__chip-clear-content-margin-left);--plasma-chip-clear-content-margin-right:var(--plasma-textfield__chip-clear-content-margin-right);--plasma-chip-scale-hover:var(--plasma-textfield__chip-scale-hover);--plasma-chip-scale-active:var(--plasma-textfield__chip-scale-active);--plasma-chip-close-icon-size:var(--plasma-textfield__chip-close-icon-size);--plasma-chip-close-icon-color:var(--plasma-textfield__chip-close-icon-color);--plasma-chip-focus-color:var(--plasma-textfield-focus-color);-webkit-scroll-snap-align:center;-moz-scroll-snap-align:center;-ms-scroll-snap-align:center;scroll-snap-align:center;-webkit-scroll-snap-stop:normal;-moz-scroll-snap-stop:normal;-ms-scroll-snap-stop:normal;scroll-snap-stop:normal;position:relative;}.TextFieldChip_styles_1y8n7la_s32p7ut__8f291676::before{content:'';position:absolute;top:0.0625rem;left:0.0625rem;right:0.0625rem;bottom:0.0625rem;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:calc(var(--plasma-textfield__chip-border-radius) - 0.1rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.TextFieldChip_styles_1y8n7la_s32p7ut__8f291676.TextFieldChip_styles_1y8n7la_focusVisible__8f291676:focus::before,.TextFieldChip_styles_1y8n7la_s32p7ut__8f291676[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-textfield-focus-color);}.TextFieldChip_styles_1y8n7la_s32p7ut__8f291676[readonly]{opacity:var(--plasma-textfield__chip-opacity-readonly);}
@@ -1,5 +1,5 @@
1
1
  import React, { forwardRef } from 'react';
2
- import { StyledChip, TextChip } from './TextFieldChip.styles.js';
2
+ import { StyledChip } from './TextFieldChip.styles.js';
3
3
 
4
4
  /**
5
5
  * Чип, отображающий выбранный элемент
@@ -12,23 +12,14 @@ var TextFieldChip = /*#__PURE__*/forwardRef(function (_ref, ref) {
12
12
  onClick = _ref.onClick,
13
13
  onClear = _ref.onClear,
14
14
  onKeyDown = _ref.onKeyDown,
15
- _forceChipManipulationWithReadonly = _ref._forceChipManipulationWithReadonly,
16
- chipType = _ref.chipType;
15
+ _forceChipManipulationWithReadonly = _ref._forceChipManipulationWithReadonly;
17
16
  var onClearHandle = function onClearHandle() {
18
17
  return onClear(id);
19
18
  };
20
19
  var onKeyDownHandle = function onKeyDownHandle(event) {
21
20
  onKeyDown === null || onKeyDown === void 0 || onKeyDown(event, id);
22
21
  };
23
- var handleClick = function handleClick(e) {
24
- if (onClick) {
25
- onClick(e);
26
- }
27
- if (onClear) {
28
- onClear(id);
29
- }
30
- };
31
- return chipType === 'default' ? /*#__PURE__*/React.createElement(StyledChip, {
22
+ return /*#__PURE__*/React.createElement(StyledChip, {
32
23
  ref: ref,
33
24
  tabIndex: -1,
34
25
  disabled: disabled,
@@ -42,12 +33,7 @@ var TextFieldChip = /*#__PURE__*/forwardRef(function (_ref, ref) {
42
33
  // @ts-ignore
43
34
  ,
44
35
  _forceChipManipulationWithReadonly: _forceChipManipulationWithReadonly
45
- }) : /*#__PURE__*/React.createElement(TextChip, {
46
- ref: ref,
47
- tabIndex: -1,
48
- onClick: handleClick,
49
- onKeyDown: onKeyDownHandle
50
- }, text);
36
+ });
51
37
  });
52
38
 
53
39
  export { TextFieldChip };
@@ -1 +1 @@
1
- {"version":3,"file":"TextFieldChip.js","sources":["../../../../../src/components/TextField/ui/TextFieldChip/TextFieldChip.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { StyledChip, TextChip } from './TextFieldChip.styles';\nimport type { TextFieldChipProps } from './TextFieldChip.types';\n\n/**\n * Чип, отображающий выбранный элемент\n */\nexport const TextFieldChip = forwardRef<\n HTMLButtonElement,\n TextFieldChipProps & { _forceChipManipulationWithReadonly: any }\n>(\n (\n { id, text, disabled, readOnly, onClick, onClear, onKeyDown, _forceChipManipulationWithReadonly, chipType },\n ref,\n ) => {\n const onClearHandle = () => onClear(id);\n\n const onKeyDownHandle = (event: React.KeyboardEvent<HTMLButtonElement>) => {\n onKeyDown?.(event, id);\n };\n\n const handleClick = (e: React.MouseEvent<HTMLButtonElement>) => {\n if (onClick) {\n onClick(e);\n }\n\n if (onClear) {\n onClear(id);\n }\n };\n\n return chipType === 'default' ? (\n <StyledChip\n ref={ref}\n tabIndex={-1}\n disabled={disabled}\n readOnly={readOnly}\n onClick={onClick}\n onClear={onClearHandle}\n onKeyDown={onKeyDownHandle}\n text={`${text}`}\n // TODO: #1547\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n _forceChipManipulationWithReadonly={_forceChipManipulationWithReadonly}\n />\n ) : (\n <TextChip ref={ref} tabIndex={-1} onClick={handleClick} onKeyDown={onKeyDownHandle}>\n {text}\n </TextChip>\n );\n },\n);\n"],"names":["TextFieldChip","forwardRef","_ref","ref","id","text","disabled","readOnly","onClick","onClear","onKeyDown","_forceChipManipulationWithReadonly","chipType","onClearHandle","onKeyDownHandle","event","handleClick","e","React","createElement","StyledChip","tabIndex","concat","TextChip"],"mappings":";;;AAKA;AACA;AACA;AACO,IAAMA,aAAa,gBAAGC,UAAU,CAInC,UAAAC,IAAA,EAEIC,GAAG,EACF;AAAA,EAAA,IAFCC,EAAE,GAAAF,IAAA,CAAFE,EAAE;IAAEC,IAAI,GAAAH,IAAA,CAAJG,IAAI;IAAEC,QAAQ,GAAAJ,IAAA,CAARI,QAAQ;IAAEC,QAAQ,GAAAL,IAAA,CAARK,QAAQ;IAAEC,OAAO,GAAAN,IAAA,CAAPM,OAAO;IAAEC,OAAO,GAAAP,IAAA,CAAPO,OAAO;IAAEC,SAAS,GAAAR,IAAA,CAATQ,SAAS;IAAEC,kCAAkC,GAAAT,IAAA,CAAlCS,kCAAkC;IAAEC,QAAQ,GAAAV,IAAA,CAARU,QAAQ,CAAA;AAGzG,EAAA,IAAMC,aAAa,GAAG,SAAhBA,aAAaA,GAAA;IAAA,OAASJ,OAAO,CAACL,EAAE,CAAC,CAAA;AAAA,GAAA,CAAA;AAEvC,EAAA,IAAMU,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,KAA6C,EAAK;IACvEL,SAAS,KAAA,IAAA,IAATA,SAAS,KAATA,KAAAA,CAAAA,IAAAA,SAAS,CAAGK,KAAK,EAAEX,EAAE,CAAC,CAAA;GACzB,CAAA;AAED,EAAA,IAAMY,WAAW,GAAG,SAAdA,WAAWA,CAAIC,CAAsC,EAAK;AAC5D,IAAA,IAAIT,OAAO,EAAE;MACTA,OAAO,CAACS,CAAC,CAAC,CAAA;AACd,KAAA;AAEA,IAAA,IAAIR,OAAO,EAAE;MACTA,OAAO,CAACL,EAAE,CAAC,CAAA;AACf,KAAA;GACH,CAAA;EAED,OAAOQ,QAAQ,KAAK,SAAS,gBACzBM,KAAA,CAAAC,aAAA,CAACC,UAAU,EAAA;AACPjB,IAAAA,GAAG,EAAEA,GAAI;IACTkB,QAAQ,EAAE,CAAC,CAAE;AACbf,IAAAA,QAAQ,EAAEA,QAAS;AACnBC,IAAAA,QAAQ,EAAEA,QAAS;AACnBC,IAAAA,OAAO,EAAEA,OAAQ;AACjBC,IAAAA,OAAO,EAAEI,aAAc;AACvBH,IAAAA,SAAS,EAAEI,eAAgB;IAC3BT,IAAI,EAAA,EAAA,CAAAiB,MAAA,CAAKjB,IAAI,CAAA;AACb;AACA;AACA;AAAA;AACAM,IAAAA,kCAAkC,EAAEA,kCAAAA;AAAmC,GAC1E,CAAC,gBAEFO,KAAA,CAAAC,aAAA,CAACI,QAAQ,EAAA;AAACpB,IAAAA,GAAG,EAAEA,GAAI;IAACkB,QAAQ,EAAE,CAAC,CAAE;AAACb,IAAAA,OAAO,EAAEQ,WAAY;AAACN,IAAAA,SAAS,EAAEI,eAAAA;AAAgB,GAAA,EAC9ET,IACK,CACb,CAAA;AACL,CACJ;;;;"}
1
+ {"version":3,"file":"TextFieldChip.js","sources":["../../../../../src/components/TextField/ui/TextFieldChip/TextFieldChip.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { StyledChip } from './TextFieldChip.styles';\nimport type { TextFieldChipProps } from './TextFieldChip.types';\n\n/**\n * Чип, отображающий выбранный элемент\n */\nexport const TextFieldChip = forwardRef<\n HTMLButtonElement,\n TextFieldChipProps & { _forceChipManipulationWithReadonly: any }\n>(({ id, text, disabled, readOnly, onClick, onClear, onKeyDown, _forceChipManipulationWithReadonly }, ref) => {\n const onClearHandle = () => onClear(id);\n\n const onKeyDownHandle = (event: React.KeyboardEvent<HTMLButtonElement>) => {\n onKeyDown?.(event, id);\n };\n\n return (\n <StyledChip\n ref={ref}\n tabIndex={-1}\n disabled={disabled}\n readOnly={readOnly}\n onClick={onClick}\n onClear={onClearHandle}\n onKeyDown={onKeyDownHandle}\n text={`${text}`}\n // TODO: #1547\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n _forceChipManipulationWithReadonly={_forceChipManipulationWithReadonly}\n />\n );\n});\n"],"names":["TextFieldChip","forwardRef","_ref","ref","id","text","disabled","readOnly","onClick","onClear","onKeyDown","_forceChipManipulationWithReadonly","onClearHandle","onKeyDownHandle","event","React","createElement","StyledChip","tabIndex","concat"],"mappings":";;;AAKA;AACA;AACA;AACO,IAAMA,aAAa,gBAAGC,UAAU,CAGrC,UAAAC,IAAA,EAAoGC,GAAG,EAAK;AAAA,EAAA,IAAzGC,EAAE,GAAAF,IAAA,CAAFE,EAAE;IAAEC,IAAI,GAAAH,IAAA,CAAJG,IAAI;IAAEC,QAAQ,GAAAJ,IAAA,CAARI,QAAQ;IAAEC,QAAQ,GAAAL,IAAA,CAARK,QAAQ;IAAEC,OAAO,GAAAN,IAAA,CAAPM,OAAO;IAAEC,OAAO,GAAAP,IAAA,CAAPO,OAAO;IAAEC,SAAS,GAAAR,IAAA,CAATQ,SAAS;IAAEC,kCAAkC,GAAAT,IAAA,CAAlCS,kCAAkC,CAAA;AAC9F,EAAA,IAAMC,aAAa,GAAG,SAAhBA,aAAaA,GAAA;IAAA,OAASH,OAAO,CAACL,EAAE,CAAC,CAAA;AAAA,GAAA,CAAA;AAEvC,EAAA,IAAMS,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,KAA6C,EAAK;IACvEJ,SAAS,KAAA,IAAA,IAATA,SAAS,KAATA,KAAAA,CAAAA,IAAAA,SAAS,CAAGI,KAAK,EAAEV,EAAE,CAAC,CAAA;GACzB,CAAA;AAED,EAAA,oBACIW,KAAA,CAAAC,aAAA,CAACC,UAAU,EAAA;AACPd,IAAAA,GAAG,EAAEA,GAAI;IACTe,QAAQ,EAAE,CAAC,CAAE;AACbZ,IAAAA,QAAQ,EAAEA,QAAS;AACnBC,IAAAA,QAAQ,EAAEA,QAAS;AACnBC,IAAAA,OAAO,EAAEA,OAAQ;AACjBC,IAAAA,OAAO,EAAEG,aAAc;AACvBF,IAAAA,SAAS,EAAEG,eAAgB;IAC3BR,IAAI,EAAA,EAAA,CAAAc,MAAA,CAAKd,IAAI,CAAA;AACb;AACA;AACA;AAAA;AACAM,IAAAA,kCAAkC,EAAEA,kCAAAA;AAAmC,GAC1E,CAAC,CAAA;AAEV,CAAC;;;;"}
@@ -1,4 +1,4 @@
1
- import './TextFieldChip.styles_1yosnxc.css';
1
+ import './TextFieldChip.styles_1y8n7la.css';
2
2
  import { styled } from '@linaria/react';
3
3
  import { component, mergeConfig } from '../../../../engines/common.js';
4
4
  import { chipConfig } from '../../../Chip/Chip.js';
@@ -16,11 +16,6 @@ var StyledChip = /*#__PURE__*/styled(_exp())({
16
16
  "class": "s32p7ut",
17
17
  propsAsIs: true
18
18
  });
19
- var TextChip = /*#__PURE__*/styled('button')({
20
- name: "TextChip",
21
- "class": "t4nir3h",
22
- propsAsIs: false
23
- });
24
19
 
25
- export { StyledChip, TextChip };
20
+ export { StyledChip };
26
21
  //# sourceMappingURL=TextFieldChip.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextFieldChip.styles.js","sources":["../../../../../src/components/TextField/ui/TextFieldChip/TextFieldChip.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { chipConfig, chipTokens } from '../../../Chip';\nimport { component, mergeConfig } from '../../../../engines';\nimport { tokens } from '../../TextField.tokens';\nimport { addFocus } from '../../../../mixins';\n\n// issue #823\nconst mergedConfig = mergeConfig(chipConfig);\nconst Chip = component(mergedConfig);\n\n// NOTE: Необходимое переопределение токенов из компонента Chip т.к. используются его части\nexport const StyledChip = styled(Chip)`\n ${chipTokens.color}: var(${tokens.chipColor});\n ${chipTokens.background}: var(${tokens.chipBackground});\n ${chipTokens.colorHover}: var(${tokens.chipColorHover});\n ${chipTokens.backgroundHover}: var(${tokens.chipBackgroundHover});\n ${chipTokens.colorActive}: var(${tokens.chipColorActive});\n ${chipTokens.backgroundActive}: var(${tokens.chipBackgroundActive});\n ${chipTokens.backgroundReadOnly}: var(${tokens.chipBackgroundReadOnly});\n ${chipTokens.colorReadOnly}: var(${tokens.chipColorReadOnly});\n ${chipTokens.backgroundReadOnlyHover}: var(${tokens.chipBackgroundReadOnlyHover});\n ${chipTokens.colorReadOnlyHover}: var(${tokens.chipColorReadOnlyHover});\n ${chipTokens.borderRadius}: var(${tokens.chipBorderRadius});\n ${chipTokens.width}: var(${tokens.chipWidth});\n ${chipTokens.height}: var(${tokens.chipHeight});\n ${chipTokens.paddingRight}: var(${tokens.chipPaddingRight});\n ${chipTokens.paddingLeft}: var(${tokens.chipPaddingLeft});\n ${chipTokens.fontFamily}: var(${tokens.chipFontFamily});\n ${chipTokens.fontSize}: var(${tokens.chipFontSize});\n ${chipTokens.fontStyle}: var(${tokens.chipFontStyle});\n ${chipTokens.fontWeight}: var(${tokens.chipFontWeight});\n ${chipTokens.letterSpacing}: var(${tokens.chipLetterSpacing});\n ${chipTokens.lineHeight}: var(${tokens.chipLineHeight});\n ${chipTokens.clearContentMarginLeft}: var(${tokens.chipClearContentMarginLeft});\n ${chipTokens.clearContentMarginRight}: var(${tokens.chipClearContentMarginRight});\n ${chipTokens.scaleHover}: var(${tokens.chipScaleHover});\n ${chipTokens.scaleActive}: var(${tokens.chipScaleActive});\n ${chipTokens.closeIconSize}: var(${tokens.chipCloseIconSize});\n ${chipTokens.closeIconColor}: var(${tokens.chipCloseIconColor});\n ${chipTokens.focusColor}: var(${tokens.focusColor});\n\n scroll-snap-align: center;\n scroll-snap-stop: normal;\n\n ${addFocus({\n outlineOffset: '0.0625rem',\n outlineSize: '0.0625rem',\n outlineRadius: `calc(var(${tokens.chipBorderRadius}) - 0.1rem)`,\n outlineColor: `var(${tokens.focusColor})`,\n })}\n\n &[readonly] {\n opacity: var(${tokens.chipOpacityReadonly});\n }\n`;\n\nexport const TextChip = styled.button`\n display: block;\n flex: none;\n background: none;\n border: none;\n outline: none;\n padding: 0;\n white-space: nowrap;\n cursor: pointer;\n\n font-family: var(${tokens.fontFamily});\n font-size: var(${tokens.fontSize});\n font-style: var(${tokens.fontStyle});\n font-weight: var(${tokens.fontWeight});\n letter-spacing: var(${tokens.letterSpacing});\n line-height: var(${tokens.lineHeight});\n color: var(${tokens.color});\n\n ${addFocus({\n outlineOffset: '0.0625rem',\n outlineSize: '0.0625rem',\n outlineRadius: `calc(var(${tokens.chipBorderRadius}) - 0.1rem)`,\n outlineColor: `var(${tokens.focusColor})`,\n })}\n\n &:after {\n content: ',';\n }\n\n &:last-child {\n &:after {\n content: '';\n }\n }\n`;\n"],"names":["mergedConfig","mergeConfig","chipConfig","Chip","component","_exp","StyledChip","styled","name","class","propsAsIs","TextChip"],"mappings":";;;;AAOA;AACA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,UAAU,CAAC,CAAA;AAC5C,IAAMC,IAAI,gBAAGC,SAAS,CAACJ,YAAY,CAAC,CAAA;;AAEpC;AAAA,IAAAK,IAAA,GAVkBA,SAUlBA,IAAAA,GAAA;AAAA,EAAA,OACiCF,IAAI,CAAA;AAAA,CAAA,CAAA;AAA9B,IAAMG,UAAU,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CA2C/B,EAAA;AAEM,IAAMC,QAAQ,gBAAGJ,MAAM,CAAA,QAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,UAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAkC7B;;;;"}
1
+ {"version":3,"file":"TextFieldChip.styles.js","sources":["../../../../../src/components/TextField/ui/TextFieldChip/TextFieldChip.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { chipConfig, chipTokens } from '../../../Chip';\nimport { component, mergeConfig } from '../../../../engines';\nimport { tokens } from '../../TextField.tokens';\nimport { addFocus } from '../../../../mixins';\n\n// issue #823\nconst mergedConfig = mergeConfig(chipConfig);\nconst Chip = component(mergedConfig);\n\n// NOTE: Необходимое переопределение токенов из компонента Chip т.к. используются его части\nexport const StyledChip = styled(Chip)`\n ${chipTokens.color}: var(${tokens.chipColor});\n ${chipTokens.background}: var(${tokens.chipBackground});\n ${chipTokens.colorHover}: var(${tokens.chipColorHover});\n ${chipTokens.backgroundHover}: var(${tokens.chipBackgroundHover});\n ${chipTokens.colorActive}: var(${tokens.chipColorActive});\n ${chipTokens.backgroundActive}: var(${tokens.chipBackgroundActive});\n ${chipTokens.backgroundReadOnly}: var(${tokens.chipBackgroundReadOnly});\n ${chipTokens.colorReadOnly}: var(${tokens.chipColorReadOnly});\n ${chipTokens.backgroundReadOnlyHover}: var(${tokens.chipBackgroundReadOnlyHover});\n ${chipTokens.colorReadOnlyHover}: var(${tokens.chipColorReadOnlyHover});\n ${chipTokens.borderRadius}: var(${tokens.chipBorderRadius});\n ${chipTokens.width}: var(${tokens.chipWidth});\n ${chipTokens.height}: var(${tokens.chipHeight});\n ${chipTokens.paddingRight}: var(${tokens.chipPaddingRight});\n ${chipTokens.paddingLeft}: var(${tokens.chipPaddingLeft});\n ${chipTokens.fontFamily}: var(${tokens.chipFontFamily});\n ${chipTokens.fontSize}: var(${tokens.chipFontSize});\n ${chipTokens.fontStyle}: var(${tokens.chipFontStyle});\n ${chipTokens.fontWeight}: var(${tokens.chipFontWeight});\n ${chipTokens.letterSpacing}: var(${tokens.chipLetterSpacing});\n ${chipTokens.lineHeight}: var(${tokens.chipLineHeight});\n ${chipTokens.clearContentMarginLeft}: var(${tokens.chipClearContentMarginLeft});\n ${chipTokens.clearContentMarginRight}: var(${tokens.chipClearContentMarginRight});\n ${chipTokens.scaleHover}: var(${tokens.chipScaleHover});\n ${chipTokens.scaleActive}: var(${tokens.chipScaleActive});\n ${chipTokens.closeIconSize}: var(${tokens.chipCloseIconSize});\n ${chipTokens.closeIconColor}: var(${tokens.chipCloseIconColor});\n ${chipTokens.focusColor}: var(${tokens.focusColor});\n\n scroll-snap-align: center;\n scroll-snap-stop: normal;\n\n ${addFocus({\n outlineOffset: '0.0625rem',\n outlineSize: '0.0625rem',\n outlineRadius: `calc(var(${tokens.chipBorderRadius}) - 0.1rem)`,\n outlineColor: `var(${tokens.focusColor})`,\n })}\n\n &[readonly] {\n opacity: var(${tokens.chipOpacityReadonly});\n }\n`;\n"],"names":["mergedConfig","mergeConfig","chipConfig","Chip","component","_exp","StyledChip","styled","name","class","propsAsIs"],"mappings":";;;;AAOA;AACA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,UAAU,CAAC,CAAA;AAC5C,IAAMC,IAAI,gBAAGC,SAAS,CAACJ,YAAY,CAAC,CAAA;;AAEpC;AAAA,IAAAK,IAAA,GAVkBA,SAUlBA,IAAAA,GAAA;AAAA,EAAA,OACiCF,IAAI,CAAA;AAAA,CAAA,CAAA;AAA9B,IAAMG,UAAU,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CA2C/B;;;;"}
@@ -1,2 +1 @@
1
1
  .s32p7ut{--plasma-chip-color:var(--plasma-textfield__chip-color);--plasma-chip-background:var(--plasma-textfield__chip-background);--plasma-chip-color-hover:var(--plasma-textfield__chip-color-hover);--plasma-chip-background-hover:var(--plasma-textfield__chip-background-hover);--plasma-chip-color-active:var(--plasma-textfield__chip-color-active);--plasma-chip-background-active:var(--plasma-textfield__chip-background-active);--plasma-chip-background-readonly:var(--plasma-textfield__chip-background-readonly);--plasma-chip-color-readonly:var(--plasma-textfield__chip-color-readonly);--plasma-chip-background-readonly-hover:var(--plasma-textfield__chip-background-readonly-hover);--plasma-chip-color-readonly-hover:var(--plasma-textfield__chip-color-readonly-hover);--plasma-chip-border-radius:var(--plasma-textfield__chip-border-radius);--plasma-chip-width:var(--plasma-textfield__chip-width);--plasma-chip-height:var(--plasma-textfield__chip-height);--plasma-chip-padding-right:var(--plasma-textfield__chip-padding-right);--plasma-chip-padding-left:var(--plasma-textfield__chip-padding-left);--plasma-chip-font-family:var(--plasma-textfield__chip-font-family);--plasma-chip-font-size:var(--plasma-textfield__chip-font-size);--plasma-chip-font-style:var(--plasma-textfield__chip-font-style);--plasma-chip-font-weight:var(--plasma-textfield__chip-font-weight);--plasma-chip-letter-spacing:var(--plasma-textfield__chip-letter-spacing);--plasma-chip-lineheight:var(--plasma-textfield__chip-line-height);--plasma-chip-clear-content-margin-left:var(--plasma-textfield__chip-clear-content-margin-left);--plasma-chip-clear-content-margin-right:var(--plasma-textfield__chip-clear-content-margin-right);--plasma-chip-scale-hover:var(--plasma-textfield__chip-scale-hover);--plasma-chip-scale-active:var(--plasma-textfield__chip-scale-active);--plasma-chip-close-icon-size:var(--plasma-textfield__chip-close-icon-size);--plasma-chip-close-icon-color:var(--plasma-textfield__chip-close-icon-color);--plasma-chip-focus-color:var(--plasma-textfield-focus-color);-webkit-scroll-snap-align:center;-moz-scroll-snap-align:center;-ms-scroll-snap-align:center;scroll-snap-align:center;-webkit-scroll-snap-stop:normal;-moz-scroll-snap-stop:normal;-ms-scroll-snap-stop:normal;scroll-snap-stop:normal;position:relative;}.s32p7ut::before{content:'';position:absolute;top:0.0625rem;left:0.0625rem;right:0.0625rem;bottom:0.0625rem;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:calc(var(--plasma-textfield__chip-border-radius) - 0.1rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.s32p7ut.focus-visible:focus::before,.s32p7ut[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-textfield-focus-color);}.s32p7ut[readonly]{opacity:var(--plasma-textfield__chip-opacity-readonly);}
2
- .t4nir3h{display:block;-webkit-flex:none;-ms-flex:none;flex:none;background:none;border:none;outline:none;padding:0;white-space:nowrap;cursor:pointer;font-family:var(--plasma-textfield-font-family);font-size:var(--plasma-textfield-font-size);font-style:var(--plasma-textfield-font-style);font-weight:var(--plasma-textfield-font-weight);-webkit-letter-spacing:var(--plasma-textfield-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-letter-spacing);letter-spacing:var(--plasma-textfield-letter-spacing);line-height:var(--plasma-textfield-line-height);color:var(--plasma-textfield-color);position:relative;}.t4nir3h::before{content:'';position:absolute;top:0.0625rem;left:0.0625rem;right:0.0625rem;bottom:0.0625rem;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:calc(var(--plasma-textfield__chip-border-radius) - 0.1rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.t4nir3h.focus-visible:focus::before,.t4nir3h[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-textfield-focus-color);}.t4nir3h:after{content:',';}.t4nir3h:last-child:after{content:'';}
package/es/index.css CHANGED
@@ -197,8 +197,7 @@
197
197
 
198
198
  .TextField_styles_j7dqpn_s8yezh4__f79fd7d8{position:absolute;border-radius:50%;background-color:var(--plasma-textfield__indicator-color);}.TextField_styles_j7dqpn_s8yezh4__f79fd7d8.TextField_styles_j7dqpn_labelPlacementOuter__f79fd7d8{width:var(--plasma-textfield__indicator-size-outer);height:var(--plasma-textfield__indicator-size-outer);inset:var(--plasma-textfield__indicator-placement-outer);}.TextField_styles_j7dqpn_s8yezh4__f79fd7d8.TextField_styles_j7dqpn_labelPlacementOuter__f79fd7d8.TextField_styles_j7dqpn_requiredAlignRight__f79fd7d8{inset:var(--plasma-textfield__indicator-placement-outer-right);}.TextField_styles_j7dqpn_s8yezh4__f79fd7d8.TextField_styles_j7dqpn_labelPlacementOuter__f79fd7d8.TextField_styles_j7dqpn_requiredAlignRight__f79fd7d8.TextField_styles_j7dqpn_textfieldHasHint__f79fd7d8{right:calc(-1 * var(--plasma-textfield__indicator-size-outer));}.TextField_styles_j7dqpn_s8yezh4__f79fd7d8.TextField_styles_j7dqpn_labelPlacementInner__f79fd7d8{width:var(--plasma-textfield__indicator-size-inner);height:var(--plasma-textfield__indicator-size-inner);inset:var(--plasma-textfield__indicator-placement-inner);}.TextField_styles_j7dqpn_s8yezh4__f79fd7d8.TextField_styles_j7dqpn_labelPlacementInner__f79fd7d8.TextField_styles_j7dqpn_requiredAlignRight__f79fd7d8{inset:var(--plasma-textfield__indicator-placement-inner-right);}
199
199
 
200
- .TextFieldChip_styles_1yosnxc_s32p7ut__b8a89acb{--plasma-chip-color:var(--plasma-textfield__chip-color);--plasma-chip-background:var(--plasma-textfield__chip-background);--plasma-chip-color-hover:var(--plasma-textfield__chip-color-hover);--plasma-chip-background-hover:var(--plasma-textfield__chip-background-hover);--plasma-chip-color-active:var(--plasma-textfield__chip-color-active);--plasma-chip-background-active:var(--plasma-textfield__chip-background-active);--plasma-chip-background-readonly:var(--plasma-textfield__chip-background-readonly);--plasma-chip-color-readonly:var(--plasma-textfield__chip-color-readonly);--plasma-chip-background-readonly-hover:var(--plasma-textfield__chip-background-readonly-hover);--plasma-chip-color-readonly-hover:var(--plasma-textfield__chip-color-readonly-hover);--plasma-chip-border-radius:var(--plasma-textfield__chip-border-radius);--plasma-chip-width:var(--plasma-textfield__chip-width);--plasma-chip-height:var(--plasma-textfield__chip-height);--plasma-chip-padding-right:var(--plasma-textfield__chip-padding-right);--plasma-chip-padding-left:var(--plasma-textfield__chip-padding-left);--plasma-chip-font-family:var(--plasma-textfield__chip-font-family);--plasma-chip-font-size:var(--plasma-textfield__chip-font-size);--plasma-chip-font-style:var(--plasma-textfield__chip-font-style);--plasma-chip-font-weight:var(--plasma-textfield__chip-font-weight);--plasma-chip-letter-spacing:var(--plasma-textfield__chip-letter-spacing);--plasma-chip-lineheight:var(--plasma-textfield__chip-line-height);--plasma-chip-clear-content-margin-left:var(--plasma-textfield__chip-clear-content-margin-left);--plasma-chip-clear-content-margin-right:var(--plasma-textfield__chip-clear-content-margin-right);--plasma-chip-scale-hover:var(--plasma-textfield__chip-scale-hover);--plasma-chip-scale-active:var(--plasma-textfield__chip-scale-active);--plasma-chip-close-icon-size:var(--plasma-textfield__chip-close-icon-size);--plasma-chip-close-icon-color:var(--plasma-textfield__chip-close-icon-color);--plasma-chip-focus-color:var(--plasma-textfield-focus-color);-webkit-scroll-snap-align:center;-moz-scroll-snap-align:center;-ms-scroll-snap-align:center;scroll-snap-align:center;-webkit-scroll-snap-stop:normal;-moz-scroll-snap-stop:normal;-ms-scroll-snap-stop:normal;scroll-snap-stop:normal;position:relative;}.TextFieldChip_styles_1yosnxc_s32p7ut__b8a89acb::before{content:'';position:absolute;top:0.0625rem;left:0.0625rem;right:0.0625rem;bottom:0.0625rem;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:calc(var(--plasma-textfield__chip-border-radius) - 0.1rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.TextFieldChip_styles_1yosnxc_s32p7ut__b8a89acb.TextFieldChip_styles_1yosnxc_focusVisible__b8a89acb:focus::before,.TextFieldChip_styles_1yosnxc_s32p7ut__b8a89acb[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-textfield-focus-color);}.TextFieldChip_styles_1yosnxc_s32p7ut__b8a89acb[readonly]{opacity:var(--plasma-textfield__chip-opacity-readonly);}
201
- .TextFieldChip_styles_1yosnxc_t4nir3h__b8a89acb{display:block;-webkit-flex:none;-ms-flex:none;flex:none;background:none;border:none;outline:none;padding:0;white-space:nowrap;cursor:pointer;font-family:var(--plasma-textfield-font-family);font-size:var(--plasma-textfield-font-size);font-style:var(--plasma-textfield-font-style);font-weight:var(--plasma-textfield-font-weight);-webkit-letter-spacing:var(--plasma-textfield-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-letter-spacing);letter-spacing:var(--plasma-textfield-letter-spacing);line-height:var(--plasma-textfield-line-height);color:var(--plasma-textfield-color);position:relative;}.TextFieldChip_styles_1yosnxc_t4nir3h__b8a89acb::before{content:'';position:absolute;top:0.0625rem;left:0.0625rem;right:0.0625rem;bottom:0.0625rem;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:calc(var(--plasma-textfield__chip-border-radius) - 0.1rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.TextFieldChip_styles_1yosnxc_t4nir3h__b8a89acb.TextFieldChip_styles_1yosnxc_focusVisible__b8a89acb:focus::before,.TextFieldChip_styles_1yosnxc_t4nir3h__b8a89acb[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-textfield-focus-color);}.TextFieldChip_styles_1yosnxc_t4nir3h__b8a89acb:after{content:',';}.TextFieldChip_styles_1yosnxc_t4nir3h__b8a89acb:last-child:after{content:'';}
200
+ .TextFieldChip_styles_1y8n7la_s32p7ut__8f291676{--plasma-chip-color:var(--plasma-textfield__chip-color);--plasma-chip-background:var(--plasma-textfield__chip-background);--plasma-chip-color-hover:var(--plasma-textfield__chip-color-hover);--plasma-chip-background-hover:var(--plasma-textfield__chip-background-hover);--plasma-chip-color-active:var(--plasma-textfield__chip-color-active);--plasma-chip-background-active:var(--plasma-textfield__chip-background-active);--plasma-chip-background-readonly:var(--plasma-textfield__chip-background-readonly);--plasma-chip-color-readonly:var(--plasma-textfield__chip-color-readonly);--plasma-chip-background-readonly-hover:var(--plasma-textfield__chip-background-readonly-hover);--plasma-chip-color-readonly-hover:var(--plasma-textfield__chip-color-readonly-hover);--plasma-chip-border-radius:var(--plasma-textfield__chip-border-radius);--plasma-chip-width:var(--plasma-textfield__chip-width);--plasma-chip-height:var(--plasma-textfield__chip-height);--plasma-chip-padding-right:var(--plasma-textfield__chip-padding-right);--plasma-chip-padding-left:var(--plasma-textfield__chip-padding-left);--plasma-chip-font-family:var(--plasma-textfield__chip-font-family);--plasma-chip-font-size:var(--plasma-textfield__chip-font-size);--plasma-chip-font-style:var(--plasma-textfield__chip-font-style);--plasma-chip-font-weight:var(--plasma-textfield__chip-font-weight);--plasma-chip-letter-spacing:var(--plasma-textfield__chip-letter-spacing);--plasma-chip-lineheight:var(--plasma-textfield__chip-line-height);--plasma-chip-clear-content-margin-left:var(--plasma-textfield__chip-clear-content-margin-left);--plasma-chip-clear-content-margin-right:var(--plasma-textfield__chip-clear-content-margin-right);--plasma-chip-scale-hover:var(--plasma-textfield__chip-scale-hover);--plasma-chip-scale-active:var(--plasma-textfield__chip-scale-active);--plasma-chip-close-icon-size:var(--plasma-textfield__chip-close-icon-size);--plasma-chip-close-icon-color:var(--plasma-textfield__chip-close-icon-color);--plasma-chip-focus-color:var(--plasma-textfield-focus-color);-webkit-scroll-snap-align:center;-moz-scroll-snap-align:center;-ms-scroll-snap-align:center;scroll-snap-align:center;-webkit-scroll-snap-stop:normal;-moz-scroll-snap-stop:normal;-ms-scroll-snap-stop:normal;scroll-snap-stop:normal;position:relative;}.TextFieldChip_styles_1y8n7la_s32p7ut__8f291676::before{content:'';position:absolute;top:0.0625rem;left:0.0625rem;right:0.0625rem;bottom:0.0625rem;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:calc(var(--plasma-textfield__chip-border-radius) - 0.1rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.TextFieldChip_styles_1y8n7la_s32p7ut__8f291676.TextFieldChip_styles_1y8n7la_focusVisible__8f291676:focus::before,.TextFieldChip_styles_1y8n7la_s32p7ut__8f291676[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-textfield-focus-color);}.TextFieldChip_styles_1y8n7la_s32p7ut__8f291676[readonly]{opacity:var(--plasma-textfield__chip-opacity-readonly);}
202
201
 
203
202
  .TextField_1lzb2r1_bpunezx__7d079491{display:block;}
204
203
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-new-hope",
3
- "version": "0.195.2-canary.1577.11938240958.0",
3
+ "version": "0.195.2-canary.1580.11946918297.0",
4
4
  "description": "Salute Design System blueprint",
5
5
  "main": "cjs/index.js",
6
6
  "module": "es/index.js",
@@ -129,5 +129,5 @@
129
129
  "sideEffects": [
130
130
  "*.css"
131
131
  ],
132
- "gitHead": "e64944aa8cd53716843a5dc703f484413ac75722"
132
+ "gitHead": "6e71c0fda87166c0213d6bb5020b0cc74be464a7"
133
133
  }
@@ -82,7 +82,6 @@ var Target = exports.Target = /*#__PURE__*/(0, _react.forwardRef)(function (_ref
82
82
  onChange: onChange,
83
83
  labelToItemMap: labelToItemMap,
84
84
  chipView: chipView,
85
- requiredProps: requiredProps,
86
- chipType: selectProps.chipType
85
+ requiredProps: requiredProps
87
86
  });
88
87
  });
@@ -42,8 +42,7 @@ var Textfield = exports.Textfield = /*#__PURE__*/(0, _react.forwardRef)(function
42
42
  onChange = _ref.onChange,
43
43
  labelToItemMap = _ref.labelToItemMap,
44
44
  chipView = _ref.chipView,
45
- requiredProps = _ref.requiredProps,
46
- chipType = _ref.chipType;
45
+ requiredProps = _ref.requiredProps;
47
46
  var withArrowInverse = opened ? _Select.classes.arrowInverse : undefined;
48
47
  var getChips = function getChips() {
49
48
  if (multiselect && Array.isArray(value)) {
@@ -114,8 +113,7 @@ var Textfield = exports.Textfield = /*#__PURE__*/(0, _react.forwardRef)(function
114
113
  }, multiselect ? {
115
114
  enumerationType: 'chip',
116
115
  chips: getChips(),
117
- onChangeChips: handleChipsChange,
118
- chipType: chipType
116
+ onChangeChips: handleChipsChange
119
117
  } : {
120
118
  enumerationType: 'plain'
121
119
  }, {
@@ -23,7 +23,7 @@ var _TextField2 = /*#__PURE__*/require("./TextField.tokens");
23
23
  var _ui = /*#__PURE__*/require("./ui");
24
24
  var _hooks2 = /*#__PURE__*/require("./hooks");
25
25
  var _Hint = /*#__PURE__*/require("./ui/Hint/Hint");
26
- 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"];
26
+ 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"];
27
27
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
28
28
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
29
29
  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); }
@@ -86,8 +86,6 @@ var textFieldRoot = exports.textFieldRoot = function textFieldRoot(Root) {
86
86
  hasDivider = _ref.hasDivider,
87
87
  outerValue = _ref.value,
88
88
  values = _ref.chips,
89
- _ref$chipType = _ref.chipType,
90
- chipType = _ref$chipType === void 0 ? 'default' : _ref$chipType,
91
89
  onChange = _ref.onChange,
92
90
  onChangeChips = _ref.onChangeChips,
93
91
  onSearch = _ref.onSearch,
@@ -136,8 +134,8 @@ var textFieldRoot = exports.textFieldRoot = function textFieldRoot(Root) {
136
134
  var requiredPlacementClass = requiredPlacement === 'right' ? _TextField2.classes.requiredAlignRight : undefined;
137
135
  var labelPlacementClass = innerLabelPlacementValue ? _TextField2.classes["".concat(innerLabelPlacementValue, "LabelPlacement")] : undefined;
138
136
  var hasValueClass = hasValue ? _TextField2.classes.hasValue : undefined;
139
- var wrapperWithoutLeftContent = !contentLeft && isChipsVisible && chipType === 'default' ? _TextField2.classes.hasEmptyContentLeft : undefined;
140
- var wrapperWithoutRightContent = !contentRight && isChipsVisible && chipType === 'default' ? _TextField2.classes.hasEmptyContentRight : undefined;
137
+ var wrapperWithoutLeftContent = !contentLeft && isChipsVisible ? _TextField2.classes.hasEmptyContentLeft : undefined;
138
+ var wrapperWithoutRightContent = !contentRight && isChipsVisible ? _TextField2.classes.hasEmptyContentRight : undefined;
141
139
  var hintRef = (0, _hooks.useOutsideClick)(function () {
142
140
  setIsHintVisible(false);
143
141
  });
@@ -328,8 +326,7 @@ var textFieldRoot = exports.textFieldRoot = function textFieldRoot(Root) {
328
326
  onClear: function onClear() {
329
327
  return onChipClear(chipId, index);
330
328
  },
331
- onClick: onChipClick,
332
- chipType: chipType
329
+ onClick: onChipClick
333
330
  // TODO: #1547
334
331
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
335
332
  // @ts-ignore
@@ -20,23 +20,14 @@ var TextFieldChip = exports.TextFieldChip = /*#__PURE__*/(0, _react.forwardRef)(
20
20
  onClick = _ref.onClick,
21
21
  onClear = _ref.onClear,
22
22
  onKeyDown = _ref.onKeyDown,
23
- _forceChipManipulationWithReadonly = _ref._forceChipManipulationWithReadonly,
24
- chipType = _ref.chipType;
23
+ _forceChipManipulationWithReadonly = _ref._forceChipManipulationWithReadonly;
25
24
  var onClearHandle = function onClearHandle() {
26
25
  return onClear(id);
27
26
  };
28
27
  var onKeyDownHandle = function onKeyDownHandle(event) {
29
28
  onKeyDown === null || onKeyDown === void 0 || onKeyDown(event, id);
30
29
  };
31
- var handleClick = function handleClick(e) {
32
- if (onClick) {
33
- onClick(e);
34
- }
35
- if (onClear) {
36
- onClear(id);
37
- }
38
- };
39
- return chipType === 'default' ? /*#__PURE__*/_react["default"].createElement(_TextFieldChip.StyledChip, {
30
+ return /*#__PURE__*/_react["default"].createElement(_TextFieldChip.StyledChip, {
40
31
  ref: ref,
41
32
  tabIndex: -1,
42
33
  disabled: disabled,
@@ -50,10 +41,5 @@ var TextFieldChip = exports.TextFieldChip = /*#__PURE__*/(0, _react.forwardRef)(
50
41
  // @ts-ignore
51
42
  ,
52
43
  _forceChipManipulationWithReadonly: _forceChipManipulationWithReadonly
53
- }) : /*#__PURE__*/_react["default"].createElement(_TextFieldChip.TextChip, {
54
- ref: ref,
55
- tabIndex: -1,
56
- onClick: handleClick,
57
- onKeyDown: onKeyDownHandle
58
- }, text);
44
+ });
59
45
  });
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.TextChip = exports.StyledChip = void 0;
6
+ exports.StyledChip = void 0;
7
7
  var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
8
8
  var _Chip = /*#__PURE__*/require("../../../Chip");
9
9
  var _engines = /*#__PURE__*/require("../../../../engines");
@@ -22,12 +22,4 @@ var StyledChip = exports.StyledChip = /*#__PURE__*/(0, _styledComponents["defaul
22
22
  outlineSize: '0.0625rem',
23
23
  outlineRadius: /*#__PURE__*/"calc(var(".concat(_TextField.tokens.chipBorderRadius, ") - 0.1rem)"),
24
24
  outlineColor: /*#__PURE__*/"var(".concat(_TextField.tokens.focusColor, ")")
25
- }), _TextField.tokens.chipOpacityReadonly);
26
- var TextChip = exports.TextChip = /*#__PURE__*/_styledComponents["default"].button.withConfig({
27
- componentId: "plasma-new-hope__sc-1mypbcr-1"
28
- })(["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:'';}}"], _TextField.tokens.fontFamily, _TextField.tokens.fontSize, _TextField.tokens.fontStyle, _TextField.tokens.fontWeight, _TextField.tokens.letterSpacing, _TextField.tokens.lineHeight, _TextField.tokens.color, /*#__PURE__*/(0, _mixins.addFocus)({
29
- outlineOffset: '0.0625rem',
30
- outlineSize: '0.0625rem',
31
- outlineRadius: /*#__PURE__*/"calc(var(".concat(_TextField.tokens.chipBorderRadius, ") - 0.1rem)"),
32
- outlineColor: /*#__PURE__*/"var(".concat(_TextField.tokens.focusColor, ")")
33
- }));
25
+ }), _TextField.tokens.chipOpacityReadonly);
@@ -24,7 +24,7 @@ type AccordionItemCustomProps = {
24
24
  type AccordionProps = ComponentProps<typeof Accordion> & AccordionItemCustomProps;
25
25
 
26
26
  const meta: Meta<AccordionProps> = {
27
- title: 'plasma_b2c/Accordion',
27
+ title: 'b2c/Data Display/Accordion',
28
28
  decorators: [WithTheme],
29
29
  component: Accordion,
30
30
  args: {
@@ -47,7 +47,7 @@ type StoryAttachProps = ComponentProps<typeof Attach> & {
47
47
  };
48
48
 
49
49
  const meta: Meta<StoryAttachProps> = {
50
- title: 'plasma_b2c/Attach',
50
+ title: 'b2c/Data Entry/Attach',
51
51
  decorators: [WithTheme],
52
52
  component: Attach,
53
53
  argTypes: {
@@ -70,7 +70,7 @@ type StoryProps = ComponentProps<typeof Autocomplete> & {
70
70
  };
71
71
 
72
72
  const meta: Meta<StoryProps> = {
73
- title: 'plasma_b2c/Autocomplete',
73
+ title: 'b2c/Data Entry/Autocomplete',
74
74
  decorators: [WithTheme],
75
75
  component: Autocomplete,
76
76
  argTypes: {
@@ -7,7 +7,7 @@ import { argTypesFromConfig, WithTheme } from '../../../_helpers';
7
7
  import { Avatar, mergedConfig } from './Avatar';
8
8
 
9
9
  const meta: Meta<typeof Avatar> = {
10
- title: 'plasma_b2c/Avatar',
10
+ title: 'b2c/Data Display/Avatar',
11
11
  decorators: [WithTheme],
12
12
  component: Avatar,
13
13
  argTypes: {
@@ -11,7 +11,7 @@ type Story = StoryObj<ComponentProps<typeof AvatarGroup>>;
11
11
  type Avatar = ComponentProps<typeof Avatar>;
12
12
 
13
13
  const meta: Meta<typeof AvatarGroup> = {
14
- title: 'plasma_b2c/AvatarGroup',
14
+ title: 'b2c/Data Display/AvatarGroup',
15
15
  decorators: [WithTheme],
16
16
  component: AvatarGroup,
17
17
  };
@@ -7,7 +7,7 @@ import { WithTheme } from '../../../_helpers';
7
7
  import { Badge } from './Badge';
8
8
 
9
9
  const meta: Meta<typeof Badge> = {
10
- title: 'plasma_b2c/Badge',
10
+ title: 'b2c/Data Display/Badge',
11
11
  component: Badge,
12
12
  decorators: [WithTheme],
13
13
  argTypes: {