@salutejs/plasma-new-hope 0.173.0-canary.1500.11456169969.0 → 0.173.1-canary.1448.11473442920.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1041) hide show
  1. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -1
  2. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
  3. package/cjs/components/Attach/Attach.js +3 -4
  4. package/cjs/components/Attach/Attach.js.map +1 -1
  5. package/cjs/components/Attach/components/AttachButton/AttachButton.js +0 -1
  6. package/cjs/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
  7. package/cjs/components/Attach/ui/Button/Button.styles.js +0 -1
  8. package/cjs/components/Attach/ui/Button/Button.styles.js.map +1 -1
  9. package/cjs/components/Attach/ui/Cell/Cell.styles.js +0 -2
  10. package/cjs/components/Attach/ui/Cell/Cell.styles.js.map +1 -1
  11. package/cjs/components/Attach/ui/IconButton/IconButton.styles.js +0 -1
  12. package/cjs/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -1
  13. package/cjs/components/Attach/utils/getFileicon.js +3 -4
  14. package/cjs/components/Attach/utils/getFileicon.js.map +1 -1
  15. package/cjs/components/Attach/utils/index.js +0 -3
  16. package/cjs/components/Attach/utils/index.js.map +1 -1
  17. package/cjs/components/Autocomplete/Autocomplete.css +35 -19
  18. package/cjs/components/Autocomplete/Autocomplete.js +9 -8
  19. package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
  20. package/cjs/components/Autocomplete/Autocomplete.styles.js +2 -3
  21. package/cjs/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  22. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -2
  23. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  24. package/cjs/components/Avatar/Avatar.js +2 -3
  25. package/cjs/components/Avatar/Avatar.js.map +1 -1
  26. package/cjs/components/Badge/Badge.css +0 -2
  27. package/cjs/components/Badge/Badge.js +2 -9
  28. package/cjs/components/Badge/Badge.js.map +1 -1
  29. package/cjs/components/Badge/Badge.tokens.js +1 -2
  30. package/cjs/components/Badge/Badge.tokens.js.map +1 -1
  31. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +2 -4
  32. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  33. package/cjs/components/Button/Button.styles.js +0 -3
  34. package/cjs/components/Button/Button.styles.js.map +1 -1
  35. package/cjs/components/Calendar/CalendarBase/CalendarBase.js +5 -5
  36. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
  37. package/cjs/components/Calendar/hooks/useDays.js +2 -2
  38. package/cjs/components/Calendar/hooks/useKeyNavigation.js +1 -1
  39. package/cjs/components/Calendar/hooks/useMonths.js +2 -2
  40. package/cjs/components/Calendar/hooks/useQuarters.js +2 -2
  41. package/cjs/components/Calendar/hooks/useYears.js +2 -2
  42. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +4 -4
  43. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -6
  44. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  45. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +0 -1
  46. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  47. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -4
  48. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -4
  49. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -4
  50. package/cjs/components/Combobox/ComboboxNew/Combobox.css +39 -18
  51. package/cjs/components/Combobox/ComboboxNew/Combobox.js +11 -12
  52. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  53. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -4
  54. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  55. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js +0 -2
  56. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  57. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +39 -18
  58. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js +1 -2
  59. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
  60. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +39 -18
  61. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +5 -6
  62. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  63. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -3
  64. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  65. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -2
  66. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  67. package/cjs/components/Combobox/ComboboxOld/Combobox.js +4 -10
  68. package/cjs/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  69. package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js +0 -1
  70. package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
  71. package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js +0 -1
  72. package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
  73. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +1 -2
  74. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
  75. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +1 -10
  76. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  77. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +1 -10
  78. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  79. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +1 -10
  80. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  81. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +1 -10
  82. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  83. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +0 -2
  84. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  85. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  86. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +1 -2
  87. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
  88. package/cjs/components/DatePicker/DatePickerBase.styles.js +1 -7
  89. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  90. package/cjs/components/DatePicker/RangeDate/RangeDate.css +34 -18
  91. package/cjs/components/DatePicker/RangeDate/RangeDate.js +1 -1
  92. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +0 -1
  93. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  94. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +34 -18
  95. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -2
  96. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  97. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +2 -5
  98. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  99. package/cjs/components/DatePicker/SingleDate/SingleDate.css +36 -20
  100. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +0 -1
  101. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  102. package/cjs/components/Drawer/Drawer.js +5 -10
  103. package/cjs/components/Drawer/Drawer.js.map +1 -1
  104. package/cjs/components/Drawer/Drawer.styles.js +0 -4
  105. package/cjs/components/Drawer/Drawer.styles.js.map +1 -1
  106. package/cjs/components/Drawer/hooks/useDrawer.js +0 -4
  107. package/cjs/components/Drawer/hooks/useDrawer.js.map +1 -1
  108. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js +0 -7
  109. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  110. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js +0 -7
  111. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  112. package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js +0 -3
  113. package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
  114. package/cjs/components/Dropdown/Dropdown.js +3 -10
  115. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  116. package/cjs/components/Dropdown/Dropdown.styles.js +2 -3
  117. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  118. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -9
  119. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  120. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -2
  121. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  122. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -2
  123. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  124. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +0 -1
  125. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
  126. package/cjs/components/Editable/Editable.js +3 -4
  127. package/cjs/components/Editable/Editable.js.map +1 -1
  128. package/cjs/components/Editable/utils/clearSelection.js +0 -2
  129. package/cjs/components/Editable/utils/clearSelection.js.map +1 -1
  130. package/cjs/components/Editable/utils/selectText.js +0 -2
  131. package/cjs/components/Editable/utils/selectText.js.map +1 -1
  132. package/cjs/components/EmptyState/EmptyState.styles.js +1 -2
  133. package/cjs/components/EmptyState/EmptyState.styles.js.map +1 -1
  134. package/cjs/components/IconButton/IconButton.js +1 -1
  135. package/cjs/components/IconButton/IconButton.styles.js +0 -8
  136. package/cjs/components/IconButton/IconButton.styles.js.map +1 -1
  137. package/cjs/components/Modal/Modal.js +6 -8
  138. package/cjs/components/Modal/Modal.js.map +1 -1
  139. package/cjs/components/Modal/hooks/useModal.js +0 -4
  140. package/cjs/components/Modal/hooks/useModal.js.map +1 -1
  141. package/cjs/components/Notification/Notification.styles.js +2 -3
  142. package/cjs/components/Notification/Notification.styles.js.map +1 -1
  143. package/cjs/components/Notification/NotificationsPortal.js +3 -4
  144. package/cjs/components/Notification/NotificationsPortal.js.map +1 -1
  145. package/cjs/components/Pagination/Pagination.styles.js +1 -2
  146. package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
  147. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -2
  148. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  149. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js +1 -2
  150. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
  151. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -2
  152. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
  153. package/cjs/components/Popover/Popover.js +1 -1
  154. package/cjs/components/Popup/Popup.js +2 -2
  155. package/cjs/components/Popup/PopupContext.js +1 -1
  156. package/cjs/components/Range/Range.css +40 -19
  157. package/cjs/components/Range/Range.styles.js +0 -1
  158. package/cjs/components/Range/Range.styles.js.map +1 -1
  159. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +4 -5
  160. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  161. package/cjs/components/Select/Select.js +11 -12
  162. package/cjs/components/Select/Select.js.map +1 -1
  163. package/cjs/components/Select/Select.styles.js +2 -5
  164. package/cjs/components/Select/Select.styles.js.map +1 -1
  165. package/cjs/components/Select/hooks/usePathMaps.js +0 -2
  166. package/cjs/components/Select/hooks/usePathMaps.js.map +1 -1
  167. package/cjs/components/Select/ui/Inner/Inner.js +1 -2
  168. package/cjs/components/Select/ui/Inner/Inner.js.map +1 -1
  169. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +4 -5
  170. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  171. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +0 -1
  172. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  173. package/cjs/components/Select/ui/Target/ui/Button/Button.js +1 -1
  174. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +1 -3
  175. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  176. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
  177. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -4
  178. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  179. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +1 -2
  180. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
  181. package/cjs/components/Select/utils/getButtonLabel.js +0 -2
  182. package/cjs/components/Select/utils/getButtonLabel.js.map +1 -1
  183. package/cjs/components/Sheet/Sheet.js +3 -3
  184. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js +2 -4
  185. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  186. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js +2 -4
  187. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  188. package/cjs/components/Slider/Slider.css +40 -19
  189. package/cjs/components/Slider/Slider.js +0 -6
  190. package/cjs/components/Slider/Slider.js.map +1 -1
  191. package/cjs/components/Slider/components/Double/Double.css +40 -19
  192. package/cjs/components/Slider/components/Double/Double.js +1 -2
  193. package/cjs/components/Slider/components/Double/Double.js.map +1 -1
  194. package/cjs/components/Slider/components/Double/Double.styles.js +0 -1
  195. package/cjs/components/Slider/components/Double/Double.styles.js.map +1 -1
  196. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +0 -3
  197. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  198. package/cjs/components/Slider/components/Single/Single.js +1 -2
  199. package/cjs/components/Slider/components/Single/Single.js.map +1 -1
  200. package/cjs/components/Slider/components/SliderBase/SliderBase.js +1 -1
  201. package/cjs/components/Steps/Steps.js +1 -1
  202. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js +0 -1
  203. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  204. package/cjs/components/Tabs/tokens.js +1 -2
  205. package/cjs/components/Tabs/tokens.js.map +1 -1
  206. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +0 -2
  207. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +2 -8
  208. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  209. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +0 -2
  210. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -14
  211. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  212. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -7
  213. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +2 -8
  214. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js.map +1 -1
  215. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  216. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  217. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/{VerticalTabItem.styles_1yspq9o.css → VerticalTabItem.styles_16d3lah.css} +1 -1
  218. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.css +0 -2
  219. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +4 -13
  220. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  221. package/cjs/components/TextArea/TextArea.js +112 -20
  222. package/cjs/components/TextArea/TextArea.js.map +1 -1
  223. package/cjs/components/TextArea/TextArea.styles.js +165 -63
  224. package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
  225. package/cjs/components/TextArea/TextArea.styles_1ke2ihc.css +18 -0
  226. package/cjs/components/TextArea/TextArea.tokens.js +45 -5
  227. package/cjs/components/TextArea/TextArea.tokens.js.map +1 -1
  228. package/cjs/components/TextArea/hooks/useAutoResize.js +2 -4
  229. package/cjs/components/TextArea/hooks/useAutoResize.js.map +1 -1
  230. package/cjs/components/TextArea/ui/Hint/Hint.css +30 -0
  231. package/cjs/components/TextArea/ui/Hint/Hint.js +52 -0
  232. package/cjs/components/TextArea/ui/Hint/Hint.js.map +1 -0
  233. package/cjs/components/TextArea/variations/_clear/base.js +1 -1
  234. package/cjs/components/TextArea/variations/_clear/base.js.map +1 -1
  235. package/cjs/components/TextArea/variations/_clear/base_iz2qkw.css +1 -0
  236. package/cjs/components/{Badge/variations/_truncate → TextArea/variations/_hint-size}/base.js +2 -2
  237. package/cjs/components/TextArea/variations/_hint-size/base.js.map +1 -0
  238. package/cjs/components/TextArea/variations/_hint-size/base_1ipgv90.css +1 -0
  239. package/cjs/components/{Tabs/ui/vertical/VerticalTabItem/variations/_truncate → TextArea/variations/_hint-view}/base.js +2 -2
  240. package/cjs/components/TextArea/variations/_hint-view/base.js.map +1 -0
  241. package/cjs/components/TextArea/variations/_hint-view/base_111a0qe.css +1 -0
  242. package/cjs/components/TextArea/variations/_view/base.js +1 -1
  243. package/cjs/components/TextArea/variations/_view/base.js.map +1 -1
  244. package/cjs/components/TextArea/variations/_view/base_1xgrm3x.css +1 -0
  245. package/cjs/components/TextField/TextField.js +101 -11
  246. package/cjs/components/TextField/TextField.js.map +1 -1
  247. package/cjs/components/TextField/TextField.styles.js +81 -23
  248. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  249. package/cjs/components/TextField/TextField.styles_grgg7q.css +22 -0
  250. package/cjs/components/TextField/TextField.tokens.js +42 -2
  251. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  252. package/cjs/components/TextField/ui/Hint/Hint.css +34 -0
  253. package/cjs/components/TextField/ui/Hint/Hint.js +52 -0
  254. package/cjs/components/TextField/ui/Hint/Hint.js.map +1 -0
  255. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -2
  256. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  257. package/cjs/components/TextField/variations/_clear/base.js +1 -1
  258. package/cjs/components/TextField/variations/_clear/base.js.map +1 -1
  259. package/cjs/components/TextField/variations/_clear/base_1i91sjp.css +1 -0
  260. package/cjs/components/TextField/variations/_disabled/base.js +1 -1
  261. package/cjs/components/TextField/variations/_disabled/{base_2tv0nz.css → base_4d3opa.css} +1 -1
  262. package/cjs/components/{Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate → TextField/variations/_hint-size}/base.js +2 -2
  263. package/cjs/components/TextField/variations/_hint-size/base.js.map +1 -0
  264. package/cjs/components/TextField/variations/_hint-size/base_1x99605.css +1 -0
  265. package/cjs/components/{Tabs/ui/horizontal/HorizontalTabs/variations/_truncate → TextField/variations/_hint-view}/base.js +2 -2
  266. package/cjs/components/TextField/variations/_hint-view/base.js.map +1 -0
  267. package/cjs/components/TextField/variations/_hint-view/base_l8etux.css +1 -0
  268. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  269. package/cjs/components/TextField/variations/_label-placement/base.js.map +1 -1
  270. package/cjs/components/TextField/variations/_label-placement/base_3domm.css +1 -0
  271. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  272. package/cjs/components/TextField/variations/_read-only/base.js.map +1 -1
  273. package/cjs/components/TextField/variations/_read-only/base_17ypmu7.css +1 -0
  274. package/cjs/components/TextField/variations/_size/base.js +1 -1
  275. package/cjs/components/TextField/variations/_size/base.js.map +1 -1
  276. package/cjs/components/TextField/variations/_size/base_1xdmaqh.css +1 -0
  277. package/cjs/components/TextField/variations/_view/base.js +1 -1
  278. package/cjs/components/TextField/variations/_view/base.js.map +1 -1
  279. package/cjs/components/TextField/variations/_view/base_qhyte8.css +1 -0
  280. package/cjs/components/TextFieldGroup/TextFieldGroup.css +1 -1
  281. package/cjs/components/TextFieldGroup/variations/_shape/base.js +1 -1
  282. package/cjs/components/TextFieldGroup/variations/_shape/base_52bndd.css +1 -0
  283. package/cjs/components/Toast/Toast.styles.js +1 -1
  284. package/cjs/components/Toast/ToastController.js +1 -1
  285. package/cjs/components/Toast/utils.js +1 -2
  286. package/cjs/components/Toast/utils.js.map +1 -1
  287. package/cjs/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
  288. package/cjs/components/Tooltip/Tooltip.js +2 -3
  289. package/cjs/components/Tooltip/Tooltip.js.map +1 -1
  290. package/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +23 -0
  291. package/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js.map +1 -0
  292. package/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +23 -0
  293. package/cjs/components/_Icon/Icons/IconInfoCircleOutline.js.map +1 -0
  294. package/cjs/engines/index.js +0 -2
  295. package/cjs/engines/index.js.map +1 -1
  296. package/cjs/hooks/useIsomorphicLayoutEffect.js +0 -1
  297. package/cjs/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  298. package/cjs/index.css +61 -49
  299. package/cjs/index.js +48 -51
  300. package/cjs/index.js.map +1 -1
  301. package/cjs/utils/index.js +0 -5
  302. package/cjs/utils/index.js.map +1 -1
  303. package/emotion/cjs/components/Autocomplete/Autocomplete.js +4 -2
  304. package/emotion/cjs/components/Badge/Badge.js +2 -9
  305. package/emotion/cjs/components/Badge/Badge.tokens.js +1 -2
  306. package/emotion/cjs/components/Tabs/tokens.js +1 -2
  307. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +2 -8
  308. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +3 -11
  309. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +2 -8
  310. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  311. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -10
  312. package/emotion/cjs/components/TextArea/TextArea.js +115 -23
  313. package/emotion/cjs/components/TextArea/TextArea.styles.js +103 -41
  314. package/emotion/cjs/components/TextArea/TextArea.template-doc.mdx +6 -1
  315. package/emotion/cjs/components/TextArea/TextArea.tokens.js +45 -5
  316. package/emotion/cjs/components/TextArea/hooks/useAutoResize.js +2 -4
  317. package/emotion/cjs/components/TextArea/ui/Hint/Hint.js +53 -0
  318. package/emotion/cjs/components/TextArea/ui/Hint/Hint.types.js +5 -0
  319. package/emotion/cjs/components/TextArea/variations/_clear/base.js +1 -1
  320. package/emotion/cjs/components/TextArea/variations/_hint-size/base.js +11 -0
  321. package/emotion/cjs/components/TextArea/variations/_hint-size/tokens.json +21 -0
  322. package/emotion/cjs/components/TextArea/variations/_hint-view/base.js +11 -0
  323. package/emotion/cjs/components/TextArea/variations/_hint-view/tokens.json +5 -0
  324. package/emotion/cjs/components/TextArea/variations/_view/base.js +2 -1
  325. package/emotion/cjs/components/TextField/TextField.js +103 -13
  326. package/emotion/cjs/components/TextField/TextField.styles.js +88 -37
  327. package/emotion/cjs/components/TextField/TextField.template-doc.mdx +6 -1
  328. package/emotion/cjs/components/TextField/TextField.tokens.js +42 -2
  329. package/emotion/cjs/components/TextField/ui/Hint/Hint.js +53 -0
  330. package/emotion/cjs/components/TextField/ui/Hint/Hint.types.js +5 -0
  331. package/emotion/cjs/components/TextField/variations/_clear/base.js +1 -1
  332. package/emotion/cjs/components/TextField/variations/_hint-size/base.js +11 -0
  333. package/emotion/cjs/components/TextField/variations/_hint-size/tokens.json +21 -0
  334. package/emotion/cjs/components/TextField/variations/_hint-view/base.js +11 -0
  335. package/emotion/cjs/components/TextField/variations/_hint-view/tokens.json +5 -0
  336. package/emotion/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  337. package/emotion/cjs/components/TextField/variations/_read-only/base.js +1 -1
  338. package/emotion/cjs/components/TextField/variations/_size/base.js +1 -1
  339. package/emotion/cjs/components/TextField/variations/_view/base.js +1 -1
  340. package/emotion/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +22 -0
  341. package/emotion/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +22 -0
  342. package/emotion/cjs/components/_Icon/index.js +8 -1
  343. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +14 -17
  344. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +2 -9
  345. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +5 -57
  346. package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  347. package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +15 -18
  348. package/emotion/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  349. package/emotion/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +6 -9
  350. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +17 -10
  351. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +72 -0
  352. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +20 -13
  353. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +73 -1
  354. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +17 -10
  355. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +72 -0
  356. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.config.js +20 -13
  357. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +82 -10
  358. package/emotion/es/components/Autocomplete/Autocomplete.js +4 -2
  359. package/emotion/es/components/Badge/Badge.js +2 -9
  360. package/emotion/es/components/Badge/Badge.tokens.js +1 -2
  361. package/emotion/es/components/Tabs/tokens.js +1 -2
  362. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +2 -8
  363. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +3 -11
  364. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +2 -8
  365. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  366. package/emotion/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -10
  367. package/emotion/es/components/TextArea/TextArea.js +115 -23
  368. package/emotion/es/components/TextArea/TextArea.styles.js +102 -40
  369. package/emotion/es/components/TextArea/TextArea.template-doc.mdx +6 -1
  370. package/emotion/es/components/TextArea/TextArea.tokens.js +45 -5
  371. package/emotion/es/components/TextArea/hooks/useAutoResize.js +2 -4
  372. package/emotion/es/components/TextArea/ui/Hint/Hint.js +44 -0
  373. package/emotion/es/components/TextArea/ui/Hint/Hint.types.js +1 -0
  374. package/emotion/es/components/TextArea/variations/_clear/base.js +2 -2
  375. package/emotion/es/components/TextArea/variations/_hint-size/base.js +5 -0
  376. package/emotion/es/components/TextArea/variations/_hint-size/tokens.json +21 -0
  377. package/emotion/es/components/TextArea/variations/_hint-view/base.js +5 -0
  378. package/emotion/es/components/TextArea/variations/_hint-view/tokens.json +5 -0
  379. package/emotion/es/components/TextArea/variations/_view/base.js +2 -1
  380. package/emotion/es/components/TextField/TextField.js +102 -12
  381. package/emotion/es/components/TextField/TextField.styles.js +87 -36
  382. package/emotion/es/components/TextField/TextField.template-doc.mdx +6 -1
  383. package/emotion/es/components/TextField/TextField.tokens.js +42 -2
  384. package/emotion/es/components/TextField/ui/Hint/Hint.js +44 -0
  385. package/emotion/es/components/TextField/ui/Hint/Hint.types.js +1 -0
  386. package/emotion/es/components/TextField/variations/_clear/base.js +2 -2
  387. package/emotion/es/components/TextField/variations/_hint-size/base.js +5 -0
  388. package/emotion/es/components/TextField/variations/_hint-size/tokens.json +21 -0
  389. package/emotion/es/components/TextField/variations/_hint-view/base.js +5 -0
  390. package/emotion/es/components/TextField/variations/_hint-view/tokens.json +5 -0
  391. package/emotion/es/components/TextField/variations/_label-placement/base.js +1 -1
  392. package/emotion/es/components/TextField/variations/_read-only/base.js +2 -2
  393. package/emotion/es/components/TextField/variations/_size/base.js +2 -2
  394. package/emotion/es/components/TextField/variations/_view/base.js +2 -2
  395. package/emotion/es/components/_Icon/Icon.assets/InfoCircleOutline.js +15 -0
  396. package/emotion/es/components/_Icon/Icons/IconInfoCircleOutline.js +15 -0
  397. package/emotion/es/components/_Icon/index.js +2 -1
  398. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.config.js +14 -17
  399. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +2 -9
  400. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +5 -57
  401. package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  402. package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +15 -18
  403. package/emotion/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  404. package/emotion/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +6 -9
  405. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +17 -10
  406. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +72 -0
  407. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +20 -13
  408. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +73 -1
  409. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.config.js +17 -10
  410. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +72 -0
  411. package/emotion/es/examples/plasma_web/components/TextField/TextField.config.js +20 -13
  412. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +82 -10
  413. package/emotion/package.json +2 -1
  414. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -1
  415. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
  416. package/es/components/Attach/Attach.js +3 -4
  417. package/es/components/Attach/Attach.js.map +1 -1
  418. package/es/components/Attach/components/AttachButton/AttachButton.js +0 -1
  419. package/es/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
  420. package/es/components/Attach/ui/Button/Button.styles.js +0 -1
  421. package/es/components/Attach/ui/Button/Button.styles.js.map +1 -1
  422. package/es/components/Attach/ui/Cell/Cell.styles.js +0 -2
  423. package/es/components/Attach/ui/Cell/Cell.styles.js.map +1 -1
  424. package/es/components/Attach/ui/IconButton/IconButton.styles.js +0 -1
  425. package/es/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -1
  426. package/es/components/Attach/utils/getFileicon.js +3 -4
  427. package/es/components/Attach/utils/getFileicon.js.map +1 -1
  428. package/es/components/Attach/utils/index.js +0 -3
  429. package/es/components/Attach/utils/index.js.map +1 -1
  430. package/es/components/Autocomplete/Autocomplete.css +35 -19
  431. package/es/components/Autocomplete/Autocomplete.js +9 -8
  432. package/es/components/Autocomplete/Autocomplete.js.map +1 -1
  433. package/es/components/Autocomplete/Autocomplete.styles.js +2 -3
  434. package/es/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  435. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -2
  436. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  437. package/es/components/Avatar/Avatar.js +2 -3
  438. package/es/components/Avatar/Avatar.js.map +1 -1
  439. package/es/components/Badge/Badge.css +0 -2
  440. package/es/components/Badge/Badge.js +2 -9
  441. package/es/components/Badge/Badge.js.map +1 -1
  442. package/es/components/Badge/Badge.tokens.js +1 -2
  443. package/es/components/Badge/Badge.tokens.js.map +1 -1
  444. package/es/components/Breadcrumbs/Breadcrumbs.styles.js +2 -4
  445. package/es/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  446. package/es/components/Button/Button.styles.js +0 -3
  447. package/es/components/Button/Button.styles.js.map +1 -1
  448. package/es/components/Calendar/CalendarBase/CalendarBase.js +5 -5
  449. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
  450. package/es/components/Calendar/hooks/useDays.js +2 -2
  451. package/es/components/Calendar/hooks/useKeyNavigation.js +1 -1
  452. package/es/components/Calendar/hooks/useMonths.js +2 -2
  453. package/es/components/Calendar/hooks/useQuarters.js +2 -2
  454. package/es/components/Calendar/hooks/useYears.js +2 -2
  455. package/es/components/Calendar/ui/CalendarDays/CalendarDays.js +4 -4
  456. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -6
  457. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  458. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +0 -1
  459. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  460. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -4
  461. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -4
  462. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -4
  463. package/es/components/Combobox/ComboboxNew/Combobox.css +39 -18
  464. package/es/components/Combobox/ComboboxNew/Combobox.js +11 -12
  465. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  466. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -4
  467. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  468. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js +0 -2
  469. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  470. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +39 -18
  471. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js +1 -2
  472. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
  473. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +39 -18
  474. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +5 -6
  475. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  476. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -3
  477. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  478. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -2
  479. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  480. package/es/components/Combobox/ComboboxOld/Combobox.js +4 -10
  481. package/es/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  482. package/es/components/Combobox/ComboboxOld/Combobox.styles.js +0 -1
  483. package/es/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
  484. package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js +0 -1
  485. package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
  486. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +1 -2
  487. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
  488. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +1 -10
  489. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  490. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +1 -10
  491. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  492. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +1 -10
  493. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  494. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +1 -10
  495. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  496. package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +0 -2
  497. package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  498. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  499. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +1 -2
  500. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
  501. package/es/components/DatePicker/DatePickerBase.styles.js +1 -7
  502. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  503. package/es/components/DatePicker/RangeDate/RangeDate.css +34 -18
  504. package/es/components/DatePicker/RangeDate/RangeDate.js +1 -1
  505. package/es/components/DatePicker/RangeDate/RangeDate.styles.js +0 -1
  506. package/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  507. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +34 -18
  508. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -2
  509. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  510. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +2 -5
  511. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  512. package/es/components/DatePicker/SingleDate/SingleDate.css +36 -20
  513. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +0 -1
  514. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  515. package/es/components/Drawer/Drawer.js +5 -10
  516. package/es/components/Drawer/Drawer.js.map +1 -1
  517. package/es/components/Drawer/Drawer.styles.js +0 -4
  518. package/es/components/Drawer/Drawer.styles.js.map +1 -1
  519. package/es/components/Drawer/hooks/useDrawer.js +0 -4
  520. package/es/components/Drawer/hooks/useDrawer.js.map +1 -1
  521. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js +0 -7
  522. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  523. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js +0 -7
  524. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  525. package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js +0 -3
  526. package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
  527. package/es/components/Dropdown/Dropdown.js +3 -10
  528. package/es/components/Dropdown/Dropdown.js.map +1 -1
  529. package/es/components/Dropdown/Dropdown.styles.js +2 -3
  530. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  531. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -9
  532. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  533. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -2
  534. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  535. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -2
  536. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  537. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +0 -1
  538. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
  539. package/es/components/Editable/Editable.js +3 -4
  540. package/es/components/Editable/Editable.js.map +1 -1
  541. package/es/components/Editable/utils/clearSelection.js +0 -2
  542. package/es/components/Editable/utils/clearSelection.js.map +1 -1
  543. package/es/components/Editable/utils/selectText.js +0 -2
  544. package/es/components/Editable/utils/selectText.js.map +1 -1
  545. package/es/components/EmptyState/EmptyState.styles.js +1 -2
  546. package/es/components/EmptyState/EmptyState.styles.js.map +1 -1
  547. package/es/components/IconButton/IconButton.js +1 -1
  548. package/es/components/IconButton/IconButton.styles.js +0 -8
  549. package/es/components/IconButton/IconButton.styles.js.map +1 -1
  550. package/es/components/Modal/Modal.js +6 -8
  551. package/es/components/Modal/Modal.js.map +1 -1
  552. package/es/components/Modal/hooks/useModal.js +0 -4
  553. package/es/components/Modal/hooks/useModal.js.map +1 -1
  554. package/es/components/Notification/Notification.styles.js +2 -3
  555. package/es/components/Notification/Notification.styles.js.map +1 -1
  556. package/es/components/Notification/NotificationsPortal.js +3 -4
  557. package/es/components/Notification/NotificationsPortal.js.map +1 -1
  558. package/es/components/Pagination/Pagination.styles.js +1 -2
  559. package/es/components/Pagination/Pagination.styles.js.map +1 -1
  560. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -2
  561. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  562. package/es/components/Panel/ui/PanelHeader/PanelHeader.js +1 -2
  563. package/es/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
  564. package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -2
  565. package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
  566. package/es/components/Popover/Popover.js +1 -1
  567. package/es/components/Popup/Popup.js +2 -2
  568. package/es/components/Popup/PopupContext.js +1 -1
  569. package/es/components/Range/Range.css +40 -19
  570. package/es/components/Range/Range.styles.js +0 -1
  571. package/es/components/Range/Range.styles.js.map +1 -1
  572. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +4 -5
  573. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  574. package/es/components/Select/Select.js +11 -12
  575. package/es/components/Select/Select.js.map +1 -1
  576. package/es/components/Select/Select.styles.js +2 -5
  577. package/es/components/Select/Select.styles.js.map +1 -1
  578. package/es/components/Select/hooks/usePathMaps.js +0 -2
  579. package/es/components/Select/hooks/usePathMaps.js.map +1 -1
  580. package/es/components/Select/ui/Inner/Inner.js +1 -2
  581. package/es/components/Select/ui/Inner/Inner.js.map +1 -1
  582. package/es/components/Select/ui/Inner/ui/Item/Item.js +4 -5
  583. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  584. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +0 -1
  585. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  586. package/es/components/Select/ui/Target/ui/Button/Button.js +1 -1
  587. package/es/components/Select/ui/Target/ui/Button/Button.styles.js +1 -3
  588. package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  589. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
  590. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -4
  591. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  592. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +1 -2
  593. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
  594. package/es/components/Select/utils/getButtonLabel.js +0 -2
  595. package/es/components/Select/utils/getButtonLabel.js.map +1 -1
  596. package/es/components/Sheet/Sheet.js +3 -3
  597. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js +2 -4
  598. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  599. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js +2 -4
  600. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  601. package/es/components/Slider/Slider.css +40 -19
  602. package/es/components/Slider/Slider.js +0 -6
  603. package/es/components/Slider/Slider.js.map +1 -1
  604. package/es/components/Slider/components/Double/Double.css +40 -19
  605. package/es/components/Slider/components/Double/Double.js +1 -2
  606. package/es/components/Slider/components/Double/Double.js.map +1 -1
  607. package/es/components/Slider/components/Double/Double.styles.js +0 -1
  608. package/es/components/Slider/components/Double/Double.styles.js.map +1 -1
  609. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +0 -3
  610. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  611. package/es/components/Slider/components/Single/Single.js +1 -2
  612. package/es/components/Slider/components/Single/Single.js.map +1 -1
  613. package/es/components/Slider/components/SliderBase/SliderBase.js +1 -1
  614. package/es/components/Steps/Steps.js +1 -1
  615. package/es/components/Steps/ui/StepItem/StepItem.styles.js +0 -1
  616. package/es/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  617. package/es/components/Tabs/tokens.js +1 -2
  618. package/es/components/Tabs/tokens.js.map +1 -1
  619. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +0 -2
  620. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +2 -8
  621. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  622. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +0 -2
  623. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -14
  624. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  625. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -7
  626. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +2 -8
  627. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js.map +1 -1
  628. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  629. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  630. package/es/components/Tabs/ui/vertical/VerticalTabItem/{VerticalTabItem.styles_1yspq9o.css → VerticalTabItem.styles_16d3lah.css} +1 -1
  631. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.css +0 -2
  632. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +4 -13
  633. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  634. package/es/components/TextArea/TextArea.js +116 -24
  635. package/es/components/TextArea/TextArea.js.map +1 -1
  636. package/es/components/TextArea/TextArea.styles.js +159 -64
  637. package/es/components/TextArea/TextArea.styles.js.map +1 -1
  638. package/es/components/TextArea/TextArea.styles_1ke2ihc.css +18 -0
  639. package/es/components/TextArea/TextArea.tokens.js +45 -5
  640. package/es/components/TextArea/TextArea.tokens.js.map +1 -1
  641. package/es/components/TextArea/hooks/useAutoResize.js +2 -4
  642. package/es/components/TextArea/hooks/useAutoResize.js.map +1 -1
  643. package/es/components/TextArea/ui/Hint/Hint.css +30 -0
  644. package/es/components/TextArea/ui/Hint/Hint.js +48 -0
  645. package/es/components/TextArea/ui/Hint/Hint.js.map +1 -0
  646. package/es/components/TextArea/variations/_clear/base.js +1 -1
  647. package/es/components/TextArea/variations/_clear/base.js.map +1 -1
  648. package/es/components/TextArea/variations/_clear/base_iz2qkw.css +1 -0
  649. package/es/components/{Tabs/ui/vertical/VerticalTabs/variations/_truncate → TextArea/variations/_hint-size}/base.js +2 -2
  650. package/es/components/TextArea/variations/_hint-size/base.js.map +1 -0
  651. package/es/components/TextArea/variations/_hint-size/base_1ipgv90.css +1 -0
  652. package/es/components/TextArea/variations/_hint-view/base.js +5 -0
  653. package/es/components/TextArea/variations/_hint-view/base.js.map +1 -0
  654. package/es/components/TextArea/variations/_hint-view/base_111a0qe.css +1 -0
  655. package/es/components/TextArea/variations/_view/base.js +1 -1
  656. package/es/components/TextArea/variations/_view/base.js.map +1 -1
  657. package/es/components/TextArea/variations/_view/base_1xgrm3x.css +1 -0
  658. package/es/components/TextField/TextField.js +102 -12
  659. package/es/components/TextField/TextField.js.map +1 -1
  660. package/es/components/TextField/TextField.styles.js +75 -24
  661. package/es/components/TextField/TextField.styles.js.map +1 -1
  662. package/es/components/TextField/TextField.styles_grgg7q.css +22 -0
  663. package/es/components/TextField/TextField.tokens.js +42 -2
  664. package/es/components/TextField/TextField.tokens.js.map +1 -1
  665. package/es/components/TextField/ui/Hint/Hint.css +34 -0
  666. package/es/components/TextField/ui/Hint/Hint.js +48 -0
  667. package/es/components/TextField/ui/Hint/Hint.js.map +1 -0
  668. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -2
  669. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  670. package/es/components/TextField/variations/_clear/base.js +1 -1
  671. package/es/components/TextField/variations/_clear/base.js.map +1 -1
  672. package/es/components/TextField/variations/_clear/base_1i91sjp.css +1 -0
  673. package/es/components/TextField/variations/_disabled/base.js +1 -1
  674. package/es/components/TextField/variations/_disabled/{base_2tv0nz.css → base_4d3opa.css} +1 -1
  675. package/es/components/TextField/variations/_hint-size/base.js +5 -0
  676. package/es/components/TextField/variations/_hint-size/base.js.map +1 -0
  677. package/es/components/TextField/variations/_hint-size/base_1x99605.css +1 -0
  678. package/es/components/{Tabs/ui/horizontal/HorizontalTabs/variations/_truncate → TextField/variations/_hint-view}/base.js +2 -2
  679. package/es/components/TextField/variations/_hint-view/base.js.map +1 -0
  680. package/es/components/TextField/variations/_hint-view/base_l8etux.css +1 -0
  681. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  682. package/es/components/TextField/variations/_label-placement/base.js.map +1 -1
  683. package/es/components/TextField/variations/_label-placement/base_3domm.css +1 -0
  684. package/es/components/TextField/variations/_read-only/base.js +1 -1
  685. package/es/components/TextField/variations/_read-only/base.js.map +1 -1
  686. package/es/components/TextField/variations/_read-only/base_17ypmu7.css +1 -0
  687. package/es/components/TextField/variations/_size/base.js +1 -1
  688. package/es/components/TextField/variations/_size/base.js.map +1 -1
  689. package/es/components/TextField/variations/_size/base_1xdmaqh.css +1 -0
  690. package/es/components/TextField/variations/_view/base.js +1 -1
  691. package/es/components/TextField/variations/_view/base.js.map +1 -1
  692. package/es/components/TextField/variations/_view/base_qhyte8.css +1 -0
  693. package/es/components/TextFieldGroup/TextFieldGroup.css +1 -1
  694. package/es/components/TextFieldGroup/variations/_shape/base.js +1 -1
  695. package/es/components/TextFieldGroup/variations/_shape/base_52bndd.css +1 -0
  696. package/es/components/Toast/Toast.styles.js +1 -1
  697. package/es/components/Toast/ToastController.js +1 -1
  698. package/es/components/Toast/utils.js +1 -2
  699. package/es/components/Toast/utils.js.map +1 -1
  700. package/es/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
  701. package/es/components/Tooltip/Tooltip.js +2 -3
  702. package/es/components/Tooltip/Tooltip.js.map +1 -1
  703. package/es/components/_Icon/Icon.assets/InfoCircleOutline.js +19 -0
  704. package/es/components/_Icon/Icon.assets/InfoCircleOutline.js.map +1 -0
  705. package/es/components/_Icon/Icons/IconInfoCircleOutline.js +19 -0
  706. package/es/components/_Icon/Icons/IconInfoCircleOutline.js.map +1 -0
  707. package/es/engines/index.js +0 -2
  708. package/es/engines/index.js.map +1 -1
  709. package/es/hooks/useIsomorphicLayoutEffect.js +0 -1
  710. package/es/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  711. package/es/index.css +61 -49
  712. package/es/index.js +21 -24
  713. package/es/index.js.map +1 -1
  714. package/es/utils/index.js +0 -3
  715. package/es/utils/index.js.map +1 -1
  716. package/package.json +5 -2
  717. package/styled-components/cjs/components/Autocomplete/Autocomplete.js +4 -2
  718. package/styled-components/cjs/components/Badge/Badge.js +2 -9
  719. package/styled-components/cjs/components/Badge/Badge.tokens.js +1 -2
  720. package/styled-components/cjs/components/Tabs/tokens.js +1 -2
  721. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +2 -8
  722. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +3 -11
  723. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +2 -8
  724. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  725. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -10
  726. package/styled-components/cjs/components/TextArea/TextArea.js +114 -22
  727. package/styled-components/cjs/components/TextArea/TextArea.styles.js +88 -42
  728. package/styled-components/cjs/components/TextArea/TextArea.template-doc.mdx +6 -1
  729. package/styled-components/cjs/components/TextArea/TextArea.tokens.js +45 -5
  730. package/styled-components/cjs/components/TextArea/hooks/useAutoResize.js +2 -4
  731. package/styled-components/cjs/components/TextArea/ui/Hint/Hint.js +53 -0
  732. package/styled-components/cjs/components/TextArea/ui/Hint/Hint.types.js +5 -0
  733. package/styled-components/cjs/components/TextArea/variations/_clear/base.js +1 -1
  734. package/styled-components/cjs/components/TextArea/variations/_hint-size/base.js +11 -0
  735. package/styled-components/cjs/components/TextArea/variations/_hint-size/tokens.json +21 -0
  736. package/styled-components/cjs/components/TextArea/variations/_hint-view/base.js +11 -0
  737. package/styled-components/cjs/components/TextArea/variations/_hint-view/tokens.json +5 -0
  738. package/styled-components/cjs/components/TextArea/variations/_view/base.js +2 -1
  739. package/styled-components/cjs/components/TextField/TextField.js +102 -12
  740. package/styled-components/cjs/components/TextField/TextField.styles.js +49 -21
  741. package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +6 -1
  742. package/styled-components/cjs/components/TextField/TextField.tokens.js +42 -2
  743. package/styled-components/cjs/components/TextField/ui/Hint/Hint.js +53 -0
  744. package/styled-components/cjs/components/TextField/ui/Hint/Hint.types.js +5 -0
  745. package/styled-components/cjs/components/TextField/variations/_clear/base.js +1 -1
  746. package/styled-components/cjs/components/TextField/variations/_hint-size/base.js +11 -0
  747. package/styled-components/cjs/components/TextField/variations/_hint-size/tokens.json +21 -0
  748. package/styled-components/cjs/components/TextField/variations/_hint-view/base.js +11 -0
  749. package/styled-components/cjs/components/TextField/variations/_hint-view/tokens.json +5 -0
  750. package/styled-components/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  751. package/styled-components/cjs/components/TextField/variations/_read-only/base.js +1 -1
  752. package/styled-components/cjs/components/TextField/variations/_size/base.js +1 -1
  753. package/styled-components/cjs/components/TextField/variations/_view/base.js +1 -1
  754. package/styled-components/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +22 -0
  755. package/styled-components/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +22 -0
  756. package/styled-components/cjs/components/_Icon/index.js +8 -1
  757. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +0 -3
  758. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +2 -9
  759. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +5 -57
  760. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  761. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +0 -3
  762. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  763. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +0 -3
  764. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +16 -9
  765. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +72 -0
  766. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +16 -9
  767. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +73 -1
  768. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +16 -9
  769. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +72 -0
  770. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +16 -9
  771. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +82 -10
  772. package/styled-components/es/components/Autocomplete/Autocomplete.js +4 -2
  773. package/styled-components/es/components/Badge/Badge.js +2 -9
  774. package/styled-components/es/components/Badge/Badge.tokens.js +1 -2
  775. package/styled-components/es/components/Tabs/tokens.js +1 -2
  776. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +2 -8
  777. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +3 -11
  778. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +2 -8
  779. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  780. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -10
  781. package/styled-components/es/components/TextArea/TextArea.js +114 -22
  782. package/styled-components/es/components/TextArea/TextArea.styles.js +87 -41
  783. package/styled-components/es/components/TextArea/TextArea.template-doc.mdx +6 -1
  784. package/styled-components/es/components/TextArea/TextArea.tokens.js +45 -5
  785. package/styled-components/es/components/TextArea/hooks/useAutoResize.js +2 -4
  786. package/styled-components/es/components/TextArea/ui/Hint/Hint.js +44 -0
  787. package/styled-components/es/components/TextArea/ui/Hint/Hint.types.js +1 -0
  788. package/styled-components/es/components/TextArea/variations/_clear/base.js +2 -2
  789. package/styled-components/es/components/TextArea/variations/_hint-size/base.js +5 -0
  790. package/styled-components/es/components/TextArea/variations/_hint-size/tokens.json +21 -0
  791. package/styled-components/es/components/TextArea/variations/_hint-view/base.js +5 -0
  792. package/styled-components/es/components/TextArea/variations/_hint-view/tokens.json +5 -0
  793. package/styled-components/es/components/TextArea/variations/_view/base.js +2 -1
  794. package/styled-components/es/components/TextField/TextField.js +101 -11
  795. package/styled-components/es/components/TextField/TextField.styles.js +48 -20
  796. package/styled-components/es/components/TextField/TextField.template-doc.mdx +6 -1
  797. package/styled-components/es/components/TextField/TextField.tokens.js +42 -2
  798. package/styled-components/es/components/TextField/ui/Hint/Hint.js +44 -0
  799. package/styled-components/es/components/TextField/ui/Hint/Hint.types.js +1 -0
  800. package/styled-components/es/components/TextField/variations/_clear/base.js +2 -2
  801. package/styled-components/es/components/TextField/variations/_hint-size/base.js +5 -0
  802. package/styled-components/es/components/TextField/variations/_hint-size/tokens.json +21 -0
  803. package/styled-components/es/components/TextField/variations/_hint-view/base.js +5 -0
  804. package/styled-components/es/components/TextField/variations/_hint-view/tokens.json +5 -0
  805. package/styled-components/es/components/TextField/variations/_label-placement/base.js +1 -1
  806. package/styled-components/es/components/TextField/variations/_read-only/base.js +2 -2
  807. package/styled-components/es/components/TextField/variations/_size/base.js +2 -2
  808. package/styled-components/es/components/TextField/variations/_view/base.js +2 -2
  809. package/styled-components/es/components/_Icon/Icon.assets/InfoCircleOutline.js +15 -0
  810. package/styled-components/es/components/_Icon/Icons/IconInfoCircleOutline.js +15 -0
  811. package/styled-components/es/components/_Icon/index.js +2 -1
  812. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.config.js +0 -3
  813. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +2 -9
  814. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +5 -57
  815. package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  816. package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +0 -3
  817. package/styled-components/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  818. package/styled-components/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +0 -3
  819. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +16 -9
  820. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +72 -0
  821. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +16 -9
  822. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +73 -1
  823. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.config.js +16 -9
  824. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +72 -0
  825. package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +16 -9
  826. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +82 -10
  827. package/styled-components/package.json +2 -1
  828. package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  829. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +408 -0
  830. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  831. package/types/components/Badge/Badge.d.ts +0 -4
  832. package/types/components/Badge/Badge.d.ts.map +1 -1
  833. package/types/components/Badge/Badge.tokens.d.ts +0 -1
  834. package/types/components/Badge/Badge.tokens.d.ts.map +1 -1
  835. package/types/components/Badge/Badge.types.d.ts +0 -5
  836. package/types/components/Badge/Badge.types.d.ts.map +1 -1
  837. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +408 -0
  838. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  839. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +408 -0
  840. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  841. package/types/components/Dropdown/ui/DropdownOld/utils/index.d.ts +3 -2
  842. package/types/components/Dropdown/ui/DropdownOld/utils/index.d.ts.map +1 -1
  843. package/types/components/Popover/Popover.types.d.ts +2 -3
  844. package/types/components/Popover/Popover.types.d.ts.map +1 -1
  845. package/types/components/Range/Range.styles.d.ts +408 -0
  846. package/types/components/Range/Range.styles.d.ts.map +1 -1
  847. package/types/components/Slider/components/Double/Double.styles.d.ts +408 -0
  848. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  849. package/types/components/Tabs/TabItem.types.d.ts +0 -5
  850. package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
  851. package/types/components/Tabs/Tabs.types.d.ts +0 -5
  852. package/types/components/Tabs/Tabs.types.d.ts.map +1 -1
  853. package/types/components/Tabs/tokens.d.ts +0 -1
  854. package/types/components/Tabs/tokens.d.ts.map +1 -1
  855. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts +0 -3
  856. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
  857. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts +0 -3
  858. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts.map +1 -1
  859. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.d.ts +0 -3
  860. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.d.ts.map +1 -1
  861. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
  862. package/types/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.d.ts +0 -4
  863. package/types/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.d.ts.map +1 -1
  864. package/types/components/TextArea/TextArea.d.ts +9 -3
  865. package/types/components/TextArea/TextArea.d.ts.map +1 -1
  866. package/types/components/TextArea/TextArea.styles.d.ts +12 -1
  867. package/types/components/TextArea/TextArea.styles.d.ts.map +1 -1
  868. package/types/components/TextArea/TextArea.tokens.d.ts +40 -0
  869. package/types/components/TextArea/TextArea.tokens.d.ts.map +1 -1
  870. package/types/components/TextArea/TextArea.types.d.ts +78 -3
  871. package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
  872. package/types/components/TextArea/hooks/useAutoResize.d.ts.map +1 -1
  873. package/types/components/TextArea/ui/Hint/Hint.d.ts +4 -0
  874. package/types/components/TextArea/ui/Hint/Hint.d.ts.map +1 -0
  875. package/types/components/TextArea/ui/Hint/Hint.types.d.ts +17 -0
  876. package/types/components/TextArea/ui/Hint/Hint.types.d.ts.map +1 -0
  877. package/types/components/TextArea/variations/_clear/base.d.ts.map +1 -1
  878. package/types/components/TextArea/variations/_hint-size/base.d.ts.map +1 -0
  879. package/types/components/TextArea/variations/_hint-view/base.d.ts.map +1 -0
  880. package/types/components/TextArea/variations/_view/base.d.ts.map +1 -1
  881. package/types/components/TextField/TextField.d.ts +9 -3
  882. package/types/components/TextField/TextField.d.ts.map +1 -1
  883. package/types/components/TextField/TextField.styles.d.ts +9 -0
  884. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  885. package/types/components/TextField/TextField.tokens.d.ts +40 -0
  886. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  887. package/types/components/TextField/TextField.types.d.ts +73 -2
  888. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  889. package/types/components/TextField/ui/Hint/Hint.d.ts +4 -0
  890. package/types/components/TextField/ui/Hint/Hint.d.ts.map +1 -0
  891. package/types/components/TextField/ui/Hint/Hint.types.d.ts +17 -0
  892. package/types/components/TextField/ui/Hint/Hint.types.d.ts.map +1 -0
  893. package/types/components/TextField/variations/_clear/base.d.ts.map +1 -1
  894. package/types/components/TextField/variations/_hint-size/base.d.ts.map +1 -0
  895. package/types/components/TextField/variations/_hint-view/base.d.ts.map +1 -0
  896. package/types/components/TextField/variations/_label-placement/base.d.ts.map +1 -1
  897. package/types/components/TextField/variations/_read-only/base.d.ts.map +1 -1
  898. package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
  899. package/types/components/TextField/variations/_view/base.d.ts.map +1 -1
  900. package/types/components/_Icon/Icon.assets/InfoCircleOutline.d.ts +4 -0
  901. package/types/components/_Icon/Icon.assets/InfoCircleOutline.d.ts.map +1 -0
  902. package/types/components/_Icon/Icons/IconInfoCircleOutline.d.ts +4 -0
  903. package/types/components/_Icon/Icons/IconInfoCircleOutline.d.ts.map +1 -0
  904. package/types/components/_Icon/index.d.ts +1 -0
  905. package/types/components/_Icon/index.d.ts.map +1 -1
  906. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts +0 -3
  907. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts.map +1 -1
  908. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts +0 -6
  909. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts.map +1 -1
  910. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +740 -12
  911. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
  912. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +0 -6
  913. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
  914. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts +0 -6
  915. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts.map +1 -1
  916. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts +0 -3
  917. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts.map +1 -1
  918. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.d.ts +0 -3
  919. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.d.ts.map +1 -1
  920. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.d.ts +0 -3
  921. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.d.ts.map +1 -1
  922. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.d.ts +0 -3
  923. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.d.ts.map +1 -1
  924. package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts +7 -0
  925. package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts.map +1 -1
  926. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +455 -0
  927. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts.map +1 -1
  928. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts +7 -0
  929. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
  930. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +415 -0
  931. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  932. package/types/examples/plasma_web/components/Badge/Badge.d.ts +0 -3
  933. package/types/examples/plasma_web/components/Badge/Badge.d.ts.map +1 -1
  934. package/types/examples/plasma_web/components/Mask/Mask.d.ts +740 -12
  935. package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
  936. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts +7 -0
  937. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts.map +1 -1
  938. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +455 -0
  939. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts.map +1 -1
  940. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts +7 -0
  941. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +1 -1
  942. package/types/examples/plasma_web/components/TextField/TextField.d.ts +415 -0
  943. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  944. package/types/utils/getPopoverPlacement.d.ts +3 -2
  945. package/types/utils/getPopoverPlacement.d.ts.map +1 -1
  946. package/types/utils/index.d.ts +1 -1
  947. package/types/utils/index.d.ts.map +1 -1
  948. package/cjs/components/Badge/variations/_truncate/base.js.map +0 -1
  949. package/cjs/components/Badge/variations/_truncate/base_nf9u2h.css +0 -1
  950. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js.map +0 -1
  951. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base_1b34xv3.css +0 -1
  952. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/base.js.map +0 -1
  953. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/base_1kepful.css +0 -1
  954. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js.map +0 -1
  955. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base_1nwonlh.css +0 -1
  956. package/cjs/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base.js +0 -9
  957. package/cjs/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base.js.map +0 -1
  958. package/cjs/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base_14x17ie.css +0 -1
  959. package/cjs/components/TextArea/TextArea.styles_es0miz.css +0 -11
  960. package/cjs/components/TextArea/variations/_clear/base_vidplj.css +0 -1
  961. package/cjs/components/TextArea/variations/_view/base_td55th.css +0 -1
  962. package/cjs/components/TextField/TextField.styles_1d2ryq.css +0 -15
  963. package/cjs/components/TextField/variations/_clear/base_rit6gc.css +0 -1
  964. package/cjs/components/TextField/variations/_label-placement/base_1ghihns.css +0 -1
  965. package/cjs/components/TextField/variations/_read-only/base_1n7tghz.css +0 -1
  966. package/cjs/components/TextField/variations/_size/base_1h8l0kj.css +0 -1
  967. package/cjs/components/TextField/variations/_view/base_1noe46b.css +0 -1
  968. package/cjs/components/TextFieldGroup/variations/_shape/base_1e0je21.css +0 -1
  969. package/emotion/cjs/components/Badge/variations/_truncate/base.js +0 -10
  970. package/emotion/cjs/components/Badge/variations/_truncate/tokens.json +0 -1
  971. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -10
  972. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  973. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/base.js +0 -11
  974. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/tokens.json +0 -1
  975. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -10
  976. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  977. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base.js +0 -10
  978. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/tokens.json +0 -1
  979. package/emotion/es/components/Badge/variations/_truncate/base.js +0 -4
  980. package/emotion/es/components/Badge/variations/_truncate/tokens.json +0 -1
  981. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -4
  982. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  983. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/base.js +0 -5
  984. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/tokens.json +0 -1
  985. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -4
  986. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  987. package/emotion/es/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base.js +0 -4
  988. package/emotion/es/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/tokens.json +0 -1
  989. package/es/components/Badge/variations/_truncate/base.js +0 -5
  990. package/es/components/Badge/variations/_truncate/base.js.map +0 -1
  991. package/es/components/Badge/variations/_truncate/base_nf9u2h.css +0 -1
  992. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -5
  993. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js.map +0 -1
  994. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base_1b34xv3.css +0 -1
  995. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/base.js.map +0 -1
  996. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/base_1kepful.css +0 -1
  997. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -5
  998. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js.map +0 -1
  999. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base_1nwonlh.css +0 -1
  1000. package/es/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base.js.map +0 -1
  1001. package/es/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base_14x17ie.css +0 -1
  1002. package/es/components/TextArea/TextArea.styles_es0miz.css +0 -11
  1003. package/es/components/TextArea/variations/_clear/base_vidplj.css +0 -1
  1004. package/es/components/TextArea/variations/_view/base_td55th.css +0 -1
  1005. package/es/components/TextField/TextField.styles_1d2ryq.css +0 -15
  1006. package/es/components/TextField/variations/_clear/base_rit6gc.css +0 -1
  1007. package/es/components/TextField/variations/_label-placement/base_1ghihns.css +0 -1
  1008. package/es/components/TextField/variations/_read-only/base_1n7tghz.css +0 -1
  1009. package/es/components/TextField/variations/_size/base_1h8l0kj.css +0 -1
  1010. package/es/components/TextField/variations/_view/base_1noe46b.css +0 -1
  1011. package/es/components/TextFieldGroup/variations/_shape/base_1e0je21.css +0 -1
  1012. package/styled-components/cjs/components/Badge/variations/_truncate/base.js +0 -10
  1013. package/styled-components/cjs/components/Badge/variations/_truncate/tokens.json +0 -1
  1014. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -10
  1015. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  1016. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/base.js +0 -11
  1017. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/tokens.json +0 -1
  1018. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -10
  1019. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  1020. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base.js +0 -10
  1021. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/tokens.json +0 -1
  1022. package/styled-components/es/components/Badge/variations/_truncate/base.js +0 -4
  1023. package/styled-components/es/components/Badge/variations/_truncate/tokens.json +0 -1
  1024. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -4
  1025. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  1026. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/base.js +0 -5
  1027. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/tokens.json +0 -1
  1028. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -4
  1029. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  1030. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base.js +0 -4
  1031. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/tokens.json +0 -1
  1032. package/types/components/Badge/variations/_truncate/base.d.ts.map +0 -1
  1033. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.d.ts.map +0 -1
  1034. package/types/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/base.d.ts.map +0 -1
  1035. package/types/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.d.ts.map +0 -1
  1036. package/types/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base.d.ts +0 -2
  1037. package/types/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base.d.ts.map +0 -1
  1038. /package/types/components/{Badge/variations/_truncate → TextArea/variations/_hint-size}/base.d.ts +0 -0
  1039. /package/types/components/{Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate → TextArea/variations/_hint-view}/base.d.ts +0 -0
  1040. /package/types/components/{Tabs/ui/horizontal/HorizontalTabs/variations/_truncate → TextField/variations/_hint-size}/base.d.ts +0 -0
  1041. /package/types/components/{Tabs/ui/vertical/VerticalTabItem/variations/_truncate → TextField/variations/_hint-view}/base.d.ts +0 -0
@@ -7,16 +7,20 @@ var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelper
7
7
  var React = require('react');
8
8
  var plasmaCore = require('@salutejs/plasma-core');
9
9
  var index = require('../../utils/index.js');
10
- var useAutoResize = require('./hooks/useAutoResize.js');
11
10
  var TextArea_styles = require('./TextArea.styles.js');
12
11
  var TextArea_tokens = require('./TextArea.tokens.js');
13
12
  var base$2 = require('./variations/_view/base.js');
14
13
  var base$1 = require('./variations/_size/base.js');
15
14
  var base$3 = require('./variations/_clear/base.js');
16
15
  var base$4 = require('./variations/_disabled/base.js');
16
+ var base$5 = require('./variations/_hint-view/base.js');
17
+ var base$6 = require('./variations/_hint-size/base.js');
18
+ var Hint = require('./ui/Hint/Hint.js');
19
+ var useOutsideClick = require('../../hooks/useOutsideClick.js');
20
+ var useAutoResize = require('./hooks/useAutoResize.js');
17
21
  var setRefList = require('../../utils/setRefList.js');
18
22
 
19
- var _excluded = ["helperText", "status", "resize", "rightHelper", "leftHelper", "contentRight", "autoResize", "minAuto", "maxAuto", "label", "labelPlacement", "placeholder", "defaultValue", "height", "width", "value", "disabled", "required", "requiredPlacement", "optional", "clear", "hasDivider", "size", "view", "id", "style", "className", "readOnly", "rows", "cols", "onChange"];
23
+ var _excluded = ["helperText", "status", "resize", "rightHelper", "leftHelper", "contentRight", "autoResize", "minAuto", "maxAuto", "label", "labelPlacement", "titleCaption", "placeholder", "defaultValue", "height", "width", "value", "disabled", "required", "requiredPlacement", "optional", "clear", "hasDivider", "size", "view", "id", "style", "className", "readOnly", "rows", "cols", "hintTrigger", "hintText", "hintView", "hintSize", "hintTargetIcon", "hintPlacement", "hintHasArrow", "hintOffset", "hintWidth", "hintContentLeft", "onChange"];
20
24
  var innerPlaceholderUp = TextArea_tokens.classes.innerPlaceholderUp,
21
25
  focusedOuterPlaceholderColor = TextArea_tokens.classes.focusedOuterPlaceholderColor,
22
26
  hidePlaceHolder = TextArea_tokens.classes.hidePlaceHolder,
@@ -35,6 +39,7 @@ var fallbackStatusMap = {
35
39
  warning: 'warning',
36
40
  error: 'negative'
37
41
  };
42
+ var HINT_DEFAULT_OFFSET = [0, 0];
38
43
 
39
44
  // TODO: Перенести этот метод в файл applyDynamicLabel.ts
40
45
  var getDynamicLabelClasses = function getDynamicLabelClasses(props, focused) {
@@ -71,6 +76,7 @@ var textAreaRoot = function textAreaRoot(Root) {
71
76
  label = props.label,
72
77
  _props$labelPlacement = props.labelPlacement,
73
78
  labelPlacement = _props$labelPlacement === void 0 ? 'inner' : _props$labelPlacement,
79
+ titleCaption = props.titleCaption,
74
80
  placeholder = props.placeholder,
75
81
  defaultValue = props.defaultValue,
76
82
  height = props.height,
@@ -93,21 +99,45 @@ var textAreaRoot = function textAreaRoot(Root) {
93
99
  readOnly = props.readOnly,
94
100
  rows = props.rows,
95
101
  cols = props.cols,
102
+ _props$hintTrigger = props.hintTrigger,
103
+ hintTrigger = _props$hintTrigger === void 0 ? 'hover' : _props$hintTrigger,
104
+ hintText = props.hintText,
105
+ _props$hintView = props.hintView,
106
+ hintView = _props$hintView === void 0 ? 'default' : _props$hintView,
107
+ _props$hintSize = props.hintSize,
108
+ hintSize = _props$hintSize === void 0 ? 'm' : _props$hintSize,
109
+ hintTargetIcon = props.hintTargetIcon,
110
+ _props$hintPlacement = props.hintPlacement,
111
+ hintPlacement = _props$hintPlacement === void 0 ? 'auto' : _props$hintPlacement,
112
+ hintHasArrow = props.hintHasArrow,
113
+ _props$hintOffset = props.hintOffset,
114
+ hintOffset = _props$hintOffset === void 0 ? HINT_DEFAULT_OFFSET : _props$hintOffset,
115
+ hintWidth = props.hintWidth,
116
+ hintContentLeft = props.hintContentLeft,
96
117
  onChange = props.onChange,
97
118
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(props, _excluded);
98
- var _useState = React.useState(width ? "".concat(width, "rem") : '100%'),
119
+ var _useState = React.useState(false),
99
120
  _useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
100
- helperWidth = _useState2[0],
101
- setHelperWidth = _useState2[1];
102
- var _useState3 = React.useState(false),
121
+ isHintVisible = _useState2[0],
122
+ setIsHintVisible = _useState2[1];
123
+ var _useState3 = React.useState(width ? "".concat(width, "rem") : '100%'),
103
124
  _useState4 = _rollupPluginBabelHelpers.slicedToArray(_useState3, 2),
104
- focused = _useState4[0],
105
- setFocused = _useState4[1];
106
- var _useState5 = React.useState(),
125
+ helperWidth = _useState4[0],
126
+ setHelperWidth = _useState4[1];
127
+ var _useState5 = React.useState(false),
107
128
  _useState6 = _rollupPluginBabelHelpers.slicedToArray(_useState5, 2),
108
- uncontrolledValue = _useState6[0],
109
- setUncontrolledValue = _useState6[1];
129
+ focused = _useState6[0],
130
+ setFocused = _useState6[1];
131
+ var _useState7 = React.useState(),
132
+ _useState8 = _rollupPluginBabelHelpers.slicedToArray(_useState7, 2),
133
+ uncontrolledValue = _useState8[0],
134
+ setUncontrolledValue = _useState8[1];
110
135
  var outerRef = /*#__PURE__*/React.createRef();
136
+ var hintRef = useOutsideClick.useOutsideClick(function () {
137
+ setIsHintVisible(false);
138
+ });
139
+ var hintInnerRef = React.useRef(null);
140
+ var hintForkRef = plasmaCore.useForkRef(hintRef, hintInnerRef);
111
141
  var innerOptional = required ? false : optional;
112
142
  var hasHelper = Boolean(leftHelper || rightHelper || helperText);
113
143
  var hasOuterLabel = Boolean(label && labelPlacement === 'outer');
@@ -118,9 +148,28 @@ var textAreaRoot = function textAreaRoot(Root) {
118
148
  var applyCustomWidth = resize !== 'horizontal' && resize !== 'both' && !cols;
119
149
  var placeholderLabel = hasInnerLabel ? label : placeholder;
120
150
  var clearClass = clear ? TextArea_tokens.classes.clear : undefined;
151
+ var hasHintClass = hintText ? TextArea_tokens.classes.hasHint : undefined;
121
152
  var hasRightContentClass = contentRight ? TextArea_tokens.classes.hasRightContent : undefined;
122
153
  var hasDividerClass = hasDivider ? TextArea_tokens.classes.hasDivider : undefined;
123
- var requiredPlacementClass = requiredPlacement === 'right' ? 'align-right ' : undefined;
154
+ var requiredPlacementClass = requiredPlacement === 'right' ? TextArea_tokens.classes.requiredAlignRight : undefined;
155
+ var handleHintShow = function handleHintShow() {
156
+ return setIsHintVisible(true);
157
+ };
158
+ var handleHintHide = function handleHintHide() {
159
+ return setIsHintVisible(false);
160
+ };
161
+ var handleHintClick = function handleHintClick(event) {
162
+ var _hintInnerRef$current;
163
+ if (!hintText || hintTrigger !== 'click') {
164
+ return;
165
+ }
166
+ event.stopPropagation();
167
+ var targetIsPopover = event.target === hintInnerRef.current;
168
+ var rootHasTarget = (_hintInnerRef$current = hintInnerRef.current) === null || _hintInnerRef$current === void 0 ? void 0 : _hintInnerRef$current.contains(event.target);
169
+ if (!targetIsPopover && !rootHasTarget) {
170
+ setIsHintVisible(true);
171
+ }
172
+ };
124
173
  plasmaCore.useResizeObserver(outerRef, function (currentElement) {
125
174
  var inlineWidth = currentElement.style.width;
126
175
  if (inlineWidth || cols) {
@@ -162,8 +211,10 @@ var textAreaRoot = function textAreaRoot(Root) {
162
211
  value: value || uncontrolledValue || defaultValue,
163
212
  rows: rows
164
213
  }, focused);
165
- var optionalTextNode = innerOptional ? /*#__PURE__*/React.createElement(TextArea_styles.StyledOptionalText, null, Boolean(hasPlaceholderOptional ? placeholderLabel : label) && '\xa0', optionalText) : null;
166
- return /*#__PURE__*/React.createElement(Root, {
214
+ var optionalTextNode = innerOptional ? /*#__PURE__*/React.createElement(TextArea_styles.StyledOptionalText, {
215
+ inheritFont: !hasOuterLabel
216
+ }, Boolean(hasPlaceholderOptional ? placeholderLabel : label) && '\xa0', optionalText) : null;
217
+ return /*#__PURE__*/React.createElement(Root, _rollupPluginBabelHelpers.extends({
167
218
  view: overriddenView,
168
219
  size: size,
169
220
  disabled: disabled,
@@ -172,18 +223,53 @@ var textAreaRoot = function textAreaRoot(Root) {
172
223
  style: _rollupPluginBabelHelpers.objectSpread2({
173
224
  width: helperWidth
174
225
  }, style),
175
- className: index.cx(clearClass, hasDividerClass, className),
226
+ className: index.cx(clearClass, hasDividerClass, hasHintClass, className),
176
227
  onClick: handleTextAreaFocus
177
- }, hasOuterLabel && /*#__PURE__*/React.createElement(TextArea_styles.StyledLabel, null, required && /*#__PURE__*/React.createElement(TextArea_styles.StyledIndicator, {
178
- className: index.cx(TextArea_tokens.classes.outerLabelPlacement, requiredPlacementClass)
179
- }), label, optionalTextNode), /*#__PURE__*/React.createElement(TextArea_styles.StyledContainer, {
228
+ }, hintText && {
229
+ hintView: hintView,
230
+ hintSize: hintSize
231
+ }), (hasOuterLabel || titleCaption) && /*#__PURE__*/React.createElement(TextArea_styles.OuterLabelWrapper, {
232
+ isInnnerLabel: labelPlacement === 'inner'
233
+ }, hasOuterLabel && /*#__PURE__*/React.createElement(TextArea_styles.StyledIndicatorWrapper, null, /*#__PURE__*/React.createElement(TextArea_styles.StyledLabel, null, label), hintText && /*#__PURE__*/React.createElement(TextArea_styles.StyledHintWrapper, null, /*#__PURE__*/React.createElement(Hint.HintComponent, {
234
+ ref: hintForkRef,
235
+ hintText: hintText,
236
+ hintTrigger: hintTrigger,
237
+ isHintVisible: isHintVisible,
238
+ hintTargetIcon: hintTargetIcon,
239
+ hintPlacement: hintPlacement,
240
+ hintHasArrow: hintHasArrow,
241
+ hintOffset: hintOffset,
242
+ hintWidth: hintWidth,
243
+ hintContentLeft: hintContentLeft,
244
+ handleHintShow: handleHintShow,
245
+ handleHintHide: handleHintHide,
246
+ handleHintClick: handleHintClick
247
+ })), required && /*#__PURE__*/React.createElement(TextArea_styles.StyledIndicator, {
248
+ className: index.cx(TextArea_tokens.classes.outerLabelPlacement, requiredPlacementClass, hasHintClass)
249
+ }), optionalTextNode), titleCaption && /*#__PURE__*/React.createElement(TextArea_styles.TitleCaption, null, titleCaption)), /*#__PURE__*/React.createElement(TextArea_styles.StyledContainer, {
180
250
  className: index.cx.apply(void 0, [styledContainer].concat(_rollupPluginBabelHelpers.toConsumableArray(dynamicLabelClasses))),
181
251
  width: helperWidth,
182
252
  onFocus: onFocusHandler,
183
253
  onBlur: onBlurHandler
184
- }, required && !hasOuterLabel && /*#__PURE__*/React.createElement(TextArea_styles.StyledIndicator, {
254
+ }, !hasOuterLabel && /*#__PURE__*/React.createElement(React.Fragment, null, required && /*#__PURE__*/React.createElement(TextArea_styles.StyledIndicator, {
185
255
  className: index.cx(TextArea_tokens.classes.innerLabelPlacement, requiredPlacementClass)
186
- }), contentRight && /*#__PURE__*/React.createElement(TextArea_styles.StyledContent, null, contentRight), /*#__PURE__*/React.createElement(TextArea_styles.StyledTextAreaWrapper, {
256
+ }), hintText && /*#__PURE__*/React.createElement(TextArea_styles.StyledHintWrapper, {
257
+ className: TextArea_tokens.classes.innerLabelPlacement
258
+ }, /*#__PURE__*/React.createElement(Hint.HintComponent, {
259
+ ref: hintForkRef,
260
+ hintText: hintText,
261
+ hintTrigger: hintTrigger,
262
+ isHintVisible: isHintVisible,
263
+ hintTargetIcon: hintTargetIcon,
264
+ hintPlacement: hintPlacement,
265
+ hintHasArrow: hintHasArrow,
266
+ hintOffset: hintOffset,
267
+ hintWidth: hintWidth,
268
+ hintContentLeft: hintContentLeft,
269
+ handleHintShow: handleHintShow,
270
+ handleHintHide: handleHintHide,
271
+ handleHintClick: handleHintClick
272
+ }))), contentRight && /*#__PURE__*/React.createElement(TextArea_styles.StyledContent, null, contentRight), /*#__PURE__*/React.createElement(TextArea_styles.StyledTextAreaWrapper, {
187
273
  className: styledTextAreaWrapper,
188
274
  hasHelper: hasHelper
189
275
  }, /*#__PURE__*/React.createElement(TextArea_styles.StyledTextArea, _rollupPluginBabelHelpers.extends({
@@ -237,6 +323,12 @@ var textAreaConfig = {
237
323
  },
238
324
  readOnly: {
239
325
  attrs: true
326
+ },
327
+ hintView: {
328
+ css: base$5.base
329
+ },
330
+ hintSize: {
331
+ css: base$6.base
240
332
  }
241
333
  },
242
334
  defaults: {
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.js","sources":["../../../src/components/TextArea/TextArea.tsx"],"sourcesContent":["import React, { forwardRef, useState, createRef, useCallback } from 'react';\nimport { css } from '@linaria/core';\nimport { useResizeObserver } from '@salutejs/plasma-core';\n\nimport { cx, mergeRefs } from '../../utils';\nimport type { RootProps } from '../../engines/types';\n\nimport { applyDynamicLabel } from './mixins';\nimport { useAutoResize, ROOT_FONT_SIZE } from './hooks';\nimport {\n StyledContent,\n StyledHelpers,\n StyledLeftHelper,\n StyledRightHelper,\n StyledLabel,\n StyledPlaceholder,\n StyledTextArea,\n StyledTextAreaWrapper,\n StyledContainer,\n StyledIndicator,\n StyledOptionalText,\n} from './TextArea.styles';\nimport { classes } from './TextArea.tokens';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as clearCSS } from './variations/_clear/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport type { TextAreaProps } from './TextArea.types';\n\nconst {\n innerPlaceholderUp,\n focusedOuterPlaceholderColor,\n hidePlaceHolder,\n styledContainer,\n styledTextArea,\n styledTextAreaWrapper,\n styledPlaceholder,\n styledHelpers,\n} = classes;\n\nconst optionalText = 'optional';\n\nconst base = css`\n ${applyDynamicLabel};\n\n position: relative;\n box-sizing: border-box;\n`;\n\n// TODO: Удалить после отказа от старых библиотек plasma-web / plasma-b2c\nconst fallbackStatusMap = {\n '': 'primary',\n success: 'positive',\n warning: 'warning',\n error: 'negative',\n};\n\n// TODO: Перенести этот метод в файл applyDynamicLabel.ts\nexport const getDynamicLabelClasses = (props: TextAreaProps, focused: boolean) => {\n const { readOnly, label, labelPlacement, rows, value, size } = props;\n\n // Добавить класс отвечающий за изменение цвета плейсхолдера при фокусе\n const withFocusedOuterUpPlaceholder =\n !readOnly && focused && (!label || labelPlacement === 'outer') ? focusedOuterPlaceholderColor : undefined;\n\n // Добавить класс отвечающий за поднятие и уменьшение плейсхолдера\n const withInnerPlaceholderUp =\n labelPlacement === 'inner' &&\n label &&\n !rows &&\n size !== 'xs' &&\n ((!readOnly && (value || focused)) || (readOnly && value))\n ? innerPlaceholderUp\n : undefined;\n\n // Добавить класс отвечающий за скрытие плейсхолдера\n const withHidePlaceholder =\n (value && !label) ||\n (labelPlacement === 'inner' && ((focused && !readOnly) || value) && label && rows) ||\n (labelPlacement === 'outer' && value) ||\n (labelPlacement === 'inner' && size === 'xs' && value)\n ? hidePlaceHolder\n : undefined;\n\n return [withFocusedOuterUpPlaceholder, withInnerPlaceholderUp, withHidePlaceholder];\n};\n\nexport const textAreaRoot = (Root: RootProps<HTMLTextAreaElement, TextAreaProps>) =>\n forwardRef<HTMLTextAreaElement, TextAreaProps>((props, innerRef) => {\n const {\n helperText,\n status,\n resize,\n rightHelper,\n leftHelper,\n contentRight,\n autoResize = false,\n minAuto = 0,\n maxAuto,\n label,\n labelPlacement = 'inner',\n placeholder,\n defaultValue,\n height,\n width,\n value,\n disabled,\n required = false,\n requiredPlacement = 'right',\n optional = false,\n clear,\n hasDivider,\n size,\n view,\n id,\n style,\n className,\n readOnly,\n rows,\n cols,\n onChange,\n ...rest\n } = props;\n\n const [helperWidth, setHelperWidth] = useState<string>(width ? `${width}rem` : '100%');\n const [focused, setFocused] = useState(false);\n const [uncontrolledValue, setUncontrolledValue] = useState<string | undefined>();\n\n const outerRef = createRef<HTMLTextAreaElement>();\n\n const innerOptional = required ? false : optional;\n const hasHelper = Boolean(leftHelper || rightHelper || helperText);\n const hasOuterLabel = Boolean(label && labelPlacement === 'outer');\n const hasInnerLabel = Boolean(label && labelPlacement === 'inner' && size !== 'xs');\n const hasPlaceholderOptional = innerOptional && !hasOuterLabel;\n\n const overriddenView = status !== undefined ? fallbackStatusMap[status] : view;\n const textareaHelperId = id ? `${id}-helper` : undefined;\n const applyCustomWidth = resize !== 'horizontal' && resize !== 'both' && !cols;\n const placeholderLabel = hasInnerLabel ? label : placeholder;\n\n const clearClass = clear ? classes.clear : undefined;\n const hasRightContentClass = contentRight ? classes.hasRightContent : undefined;\n const hasDividerClass = hasDivider ? classes.hasDivider : undefined;\n const requiredPlacementClass = requiredPlacement === 'right' ? 'align-right ' : undefined;\n\n useResizeObserver(outerRef, (currentElement) => {\n const { width: inlineWidth } = currentElement.style;\n\n if (inlineWidth || cols) {\n const { width: elementWidth } = currentElement.getBoundingClientRect();\n setHelperWidth(`${elementWidth / ROOT_FONT_SIZE}rem`);\n }\n });\n\n useAutoResize(autoResize || Boolean(clear), outerRef, value, minAuto, maxAuto);\n\n const onFocusHandler = useCallback(() => {\n setFocused(true);\n }, []);\n\n const onBlurHandler = useCallback(() => {\n setFocused(false);\n }, []);\n\n const onChangeHandler = useCallback(\n (event: React.ChangeEvent<HTMLTextAreaElement>) => {\n // INFO: Для крайне редких кейсов, когда value снаружи не контролируется\n if (value === undefined) {\n setUncontrolledValue(event?.target.value);\n }\n\n onChange?.(event);\n },\n [value, onChange],\n );\n\n const handleTextAreaFocus = () => {\n if (readOnly || disabled || !outerRef?.current) {\n return;\n }\n\n outerRef.current.scrollTo({\n top: 0,\n left: outerRef.current.offsetLeft,\n behavior: 'smooth',\n });\n\n outerRef.current.focus();\n };\n\n const dynamicLabelClasses = getDynamicLabelClasses(\n {\n size,\n readOnly,\n label,\n labelPlacement,\n value: value || uncontrolledValue || defaultValue,\n rows,\n },\n focused,\n );\n\n const optionalTextNode = innerOptional ? (\n <StyledOptionalText>\n {Boolean(hasPlaceholderOptional ? placeholderLabel : label) && '\\xa0'}\n {optionalText}\n </StyledOptionalText>\n ) : null;\n\n return (\n <Root\n view={overriddenView}\n size={size}\n disabled={disabled}\n readOnly={readOnly}\n clear={clear}\n style={{ width: helperWidth, ...style }}\n className={cx(clearClass, hasDividerClass, className)}\n onClick={handleTextAreaFocus}\n >\n {hasOuterLabel && (\n <StyledLabel>\n {required && (\n <StyledIndicator className={cx(classes.outerLabelPlacement, requiredPlacementClass)} />\n )}\n {label}\n {optionalTextNode}\n </StyledLabel>\n )}\n <StyledContainer\n className={cx(styledContainer, ...dynamicLabelClasses)}\n width={helperWidth}\n onFocus={onFocusHandler}\n onBlur={onBlurHandler}\n >\n {required && !hasOuterLabel && (\n <StyledIndicator className={cx(classes.innerLabelPlacement, requiredPlacementClass)} />\n )}\n {contentRight && <StyledContent>{contentRight}</StyledContent>}\n <StyledTextAreaWrapper className={styledTextAreaWrapper} hasHelper={hasHelper}>\n <StyledTextArea\n className={cx(styledTextArea, hasRightContentClass)}\n id={id}\n hasContentRight={Boolean(contentRight)}\n hasHelper={hasHelper}\n applyCustomWidth={applyCustomWidth}\n ref={mergeRefs(outerRef, innerRef)}\n disabled={disabled}\n height={autoResize || Boolean(clear) ? minAuto : height}\n width={width}\n placeholder={placeholderLabel}\n aria-describedby={textareaHelperId}\n value={value}\n readOnly={readOnly}\n rows={rows}\n cols={cols}\n resize={resize}\n defaultValue={defaultValue}\n onChange={onChangeHandler}\n {...rest}\n />\n </StyledTextAreaWrapper>\n {hasHelper && (\n <StyledHelpers className={styledHelpers} id={textareaHelperId}>\n {(leftHelper || helperText) && (\n <StyledLeftHelper>{leftHelper || helperText}</StyledLeftHelper>\n )}\n {rightHelper && <StyledRightHelper>{rightHelper}</StyledRightHelper>}\n </StyledHelpers>\n )}\n {placeholderLabel && (\n <StyledPlaceholder\n hasContentRight={Boolean(contentRight)}\n className={styledPlaceholder}\n htmlFor={id}\n >\n {placeholderLabel}\n {!hasOuterLabel && optionalTextNode}\n </StyledPlaceholder>\n )}\n </StyledContainer>\n </Root>\n );\n });\n\nexport const textAreaConfig = {\n name: 'TextArea',\n tag: 'div',\n layout: textAreaRoot,\n base,\n variations: {\n size: {\n css: sizeCSS,\n },\n view: {\n css: viewCSS,\n },\n clear: {\n css: clearCSS,\n attrs: true,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n readOnly: {\n attrs: true,\n },\n },\n defaults: {\n size: 'm',\n view: 'primary',\n },\n};\n"],"names":["innerPlaceholderUp","classes","focusedOuterPlaceholderColor","hidePlaceHolder","styledContainer","styledTextArea","styledTextAreaWrapper","styledPlaceholder","styledHelpers","optionalText","base","fallbackStatusMap","success","warning","error","getDynamicLabelClasses","props","focused","readOnly","label","labelPlacement","rows","value","size","withFocusedOuterUpPlaceholder","undefined","withInnerPlaceholderUp","withHidePlaceholder","textAreaRoot","Root","forwardRef","innerRef","helperText","status","resize","rightHelper","leftHelper","contentRight","_props$autoResize","autoResize","_props$minAuto","minAuto","maxAuto","_props$labelPlacement","placeholder","defaultValue","height","width","disabled","_props$required","required","_props$requiredPlacem","requiredPlacement","_props$optional","optional","clear","hasDivider","view","id","style","className","cols","onChange","rest","_excluded","_useState","useState","concat","_useState2","_slicedToArray","helperWidth","setHelperWidth","_useState3","_useState4","setFocused","_useState5","_useState6","uncontrolledValue","setUncontrolledValue","outerRef","createRef","innerOptional","hasHelper","Boolean","hasOuterLabel","hasInnerLabel","hasPlaceholderOptional","overriddenView","textareaHelperId","applyCustomWidth","placeholderLabel","clearClass","hasRightContentClass","hasRightContent","hasDividerClass","requiredPlacementClass","useResizeObserver","currentElement","inlineWidth","_currentElement$getBo","getBoundingClientRect","elementWidth","ROOT_FONT_SIZE","useAutoResize","onFocusHandler","useCallback","onBlurHandler","onChangeHandler","event","target","handleTextAreaFocus","current","scrollTo","top","left","offsetLeft","behavior","focus","dynamicLabelClasses","optionalTextNode","React","createElement","StyledOptionalText","_objectSpread","cx","onClick","StyledLabel","StyledIndicator","outerLabelPlacement","StyledContainer","apply","_toConsumableArray","onFocus","onBlur","innerLabelPlacement","StyledContent","StyledTextAreaWrapper","StyledTextArea","_extends","hasContentRight","ref","mergeRefs","StyledHelpers","StyledLeftHelper","StyledRightHelper","StyledPlaceholder","htmlFor","textAreaConfig","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AAA;AAEC,IAAM4B,cAAc,GAAG;AAC1BC,EAAAA,IAAI,EAAE,UAAU;AAChBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAE1H,YAAY;AACpBlB,EAAAA,IAAI,EAAJA,IAAI;AACJ6I,EAAAA,UAAU,EAAE;AACRhI,IAAAA,IAAI,EAAE;AACFiI,MAAAA,GAAG,EAAEC,WAAAA;KACR;AACDhG,IAAAA,IAAI,EAAE;AACF+F,MAAAA,GAAG,EAAEE,WAAAA;KACR;AACDnG,IAAAA,KAAK,EAAE;AACHiG,MAAAA,GAAG,EAAEG,WAAQ;AACbC,MAAAA,KAAK,EAAE,IAAA;KACV;AACD5G,IAAAA,QAAQ,EAAE;AACNwG,MAAAA,GAAG,EAAEK,WAAW;AAChBD,MAAAA,KAAK,EAAE,IAAA;KACV;AACD1I,IAAAA,QAAQ,EAAE;AACN0I,MAAAA,KAAK,EAAE,IAAA;AACX,KAAA;GACH;AACDE,EAAAA,QAAQ,EAAE;AACNvI,IAAAA,IAAI,EAAE,GAAG;AACTkC,IAAAA,IAAI,EAAE,SAAA;AACV,GAAA;AACJ;;;;;;"}
1
+ {"version":3,"file":"TextArea.js","sources":["../../../src/components/TextArea/TextArea.tsx"],"sourcesContent":["import React, { forwardRef, useState, createRef, useCallback, useRef, MouseEventHandler } from 'react';\nimport { css } from '@linaria/core';\nimport { useForkRef, useResizeObserver } from '@salutejs/plasma-core';\n\nimport { cx, mergeRefs } from '../../utils';\nimport type { RootProps } from '../../engines/types';\nimport { useOutsideClick } from '../../hooks';\n\nimport { applyDynamicLabel } from './mixins';\nimport { useAutoResize, ROOT_FONT_SIZE } from './hooks';\nimport {\n StyledContent,\n StyledHelpers,\n StyledLeftHelper,\n StyledRightHelper,\n StyledLabel,\n StyledPlaceholder,\n StyledTextArea,\n StyledTextAreaWrapper,\n StyledContainer,\n StyledIndicator,\n StyledOptionalText,\n OuterLabelWrapper,\n StyledIndicatorWrapper,\n StyledHintWrapper,\n TitleCaption,\n} from './TextArea.styles';\nimport { classes } from './TextArea.tokens';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as clearCSS } from './variations/_clear/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { base as hintViewCSS } from './variations/_hint-view/base';\nimport { base as hintSizeCSS } from './variations/_hint-size/base';\nimport type { TextAreaProps, TextAreaRootProps } from './TextArea.types';\nimport { HintComponent } from './ui/Hint/Hint';\n\nconst {\n innerPlaceholderUp,\n focusedOuterPlaceholderColor,\n hidePlaceHolder,\n styledContainer,\n styledTextArea,\n styledTextAreaWrapper,\n styledPlaceholder,\n styledHelpers,\n} = classes;\n\nconst optionalText = 'optional';\n\nconst base = css`\n ${applyDynamicLabel};\n\n position: relative;\n box-sizing: border-box;\n`;\n\n// TODO: Удалить после отказа от старых библиотек plasma-web / plasma-b2c\nconst fallbackStatusMap = {\n '': 'primary',\n success: 'positive',\n warning: 'warning',\n error: 'negative',\n};\n\nconst HINT_DEFAULT_OFFSET: [number, number] = [0, 0];\n\n// TODO: Перенести этот метод в файл applyDynamicLabel.ts\nexport const getDynamicLabelClasses = (props: TextAreaProps, focused: boolean) => {\n const { readOnly, label, labelPlacement, rows, value, size } = props;\n\n // Добавить класс отвечающий за изменение цвета плейсхолдера при фокусе\n const withFocusedOuterUpPlaceholder =\n !readOnly && focused && (!label || labelPlacement === 'outer') ? focusedOuterPlaceholderColor : undefined;\n\n // Добавить класс отвечающий за поднятие и уменьшение плейсхолдера\n const withInnerPlaceholderUp =\n labelPlacement === 'inner' &&\n label &&\n !rows &&\n size !== 'xs' &&\n ((!readOnly && (value || focused)) || (readOnly && value))\n ? innerPlaceholderUp\n : undefined;\n\n // Добавить класс отвечающий за скрытие плейсхолдера\n const withHidePlaceholder =\n (value && !label) ||\n (labelPlacement === 'inner' && ((focused && !readOnly) || value) && label && rows) ||\n (labelPlacement === 'outer' && value) ||\n (labelPlacement === 'inner' && size === 'xs' && value)\n ? hidePlaceHolder\n : undefined;\n\n return [withFocusedOuterUpPlaceholder, withInnerPlaceholderUp, withHidePlaceholder];\n};\n\nexport const textAreaRoot = (Root: RootProps<HTMLTextAreaElement, TextAreaRootProps>) =>\n forwardRef<HTMLTextAreaElement, TextAreaProps>((props, innerRef) => {\n const {\n helperText,\n status,\n resize,\n rightHelper,\n leftHelper,\n contentRight,\n autoResize = false,\n minAuto = 0,\n maxAuto,\n label,\n labelPlacement = 'inner',\n titleCaption,\n placeholder,\n defaultValue,\n height,\n width,\n value,\n disabled,\n required = false,\n requiredPlacement = 'right',\n optional = false,\n clear,\n hasDivider,\n size,\n view,\n id,\n style,\n className,\n readOnly,\n rows,\n cols,\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 onChange,\n ...rest\n } = props;\n\n const [isHintVisible, setIsHintVisible] = useState(false);\n const [helperWidth, setHelperWidth] = useState<string>(width ? `${width}rem` : '100%');\n const [focused, setFocused] = useState(false);\n const [uncontrolledValue, setUncontrolledValue] = useState<string | undefined>();\n\n const outerRef = createRef<HTMLTextAreaElement>();\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 innerOptional = required ? false : optional;\n const hasHelper = Boolean(leftHelper || rightHelper || helperText);\n const hasOuterLabel = Boolean(label && labelPlacement === 'outer');\n const hasInnerLabel = Boolean(label && labelPlacement === 'inner' && size !== 'xs');\n const hasPlaceholderOptional = innerOptional && !hasOuterLabel;\n\n const overriddenView = status !== undefined ? fallbackStatusMap[status] : view;\n const textareaHelperId = id ? `${id}-helper` : undefined;\n const applyCustomWidth = resize !== 'horizontal' && resize !== 'both' && !cols;\n const placeholderLabel = hasInnerLabel ? label : placeholder;\n\n const clearClass = clear ? classes.clear : undefined;\n const hasHintClass = hintText ? classes.hasHint : undefined;\n const hasRightContentClass = contentRight ? classes.hasRightContent : undefined;\n const hasDividerClass = hasDivider ? classes.hasDivider : undefined;\n const requiredPlacementClass = requiredPlacement === 'right' ? classes.requiredAlignRight : undefined;\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 useResizeObserver(outerRef, (currentElement) => {\n const { width: inlineWidth } = currentElement.style;\n\n if (inlineWidth || cols) {\n const { width: elementWidth } = currentElement.getBoundingClientRect();\n setHelperWidth(`${elementWidth / ROOT_FONT_SIZE}rem`);\n }\n });\n\n useAutoResize(autoResize || Boolean(clear), outerRef, value, minAuto, maxAuto);\n\n const onFocusHandler = useCallback(() => {\n setFocused(true);\n }, []);\n\n const onBlurHandler = useCallback(() => {\n setFocused(false);\n }, []);\n\n const onChangeHandler = useCallback(\n (event: React.ChangeEvent<HTMLTextAreaElement>) => {\n // INFO: Для крайне редких кейсов, когда value снаружи не контролируется\n if (value === undefined) {\n setUncontrolledValue(event?.target.value);\n }\n\n onChange?.(event);\n },\n [value, onChange],\n );\n\n const handleTextAreaFocus = () => {\n if (readOnly || disabled || !outerRef?.current) {\n return;\n }\n\n outerRef.current.scrollTo({\n top: 0,\n left: outerRef.current.offsetLeft,\n behavior: 'smooth',\n });\n\n outerRef.current.focus();\n };\n\n const dynamicLabelClasses = getDynamicLabelClasses(\n {\n size,\n readOnly,\n label,\n labelPlacement,\n value: value || uncontrolledValue || defaultValue,\n rows,\n },\n focused,\n );\n\n const optionalTextNode = innerOptional ? (\n <StyledOptionalText inheritFont={!hasOuterLabel}>\n {Boolean(hasPlaceholderOptional ? placeholderLabel : label) && '\\xa0'}\n {optionalText}\n </StyledOptionalText>\n ) : null;\n\n return (\n <Root\n view={overriddenView}\n size={size}\n disabled={disabled}\n readOnly={readOnly}\n clear={clear}\n style={{ width: helperWidth, ...style }}\n className={cx(clearClass, hasDividerClass, hasHintClass, className)}\n onClick={handleTextAreaFocus}\n {...(hintText && { hintView, hintSize })}\n >\n {(hasOuterLabel || titleCaption) && (\n <OuterLabelWrapper isInnnerLabel={labelPlacement === 'inner'}>\n {hasOuterLabel && (\n <StyledIndicatorWrapper>\n <StyledLabel>{label}</StyledLabel>\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 <StyledContainer\n className={cx(styledContainer, ...dynamicLabelClasses)}\n width={helperWidth}\n onFocus={onFocusHandler}\n onBlur={onBlurHandler}\n >\n {!hasOuterLabel && (\n <>\n {required && (\n <StyledIndicator className={cx(classes.innerLabelPlacement, requiredPlacementClass)} />\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 {contentRight && <StyledContent>{contentRight}</StyledContent>}\n <StyledTextAreaWrapper className={styledTextAreaWrapper} hasHelper={hasHelper}>\n <StyledTextArea\n className={cx(styledTextArea, hasRightContentClass)}\n id={id}\n hasContentRight={Boolean(contentRight)}\n hasHelper={hasHelper}\n applyCustomWidth={applyCustomWidth}\n ref={mergeRefs(outerRef, innerRef)}\n disabled={disabled}\n height={autoResize || Boolean(clear) ? minAuto : height}\n width={width}\n placeholder={placeholderLabel}\n aria-describedby={textareaHelperId}\n value={value}\n readOnly={readOnly}\n rows={rows}\n cols={cols}\n resize={resize}\n defaultValue={defaultValue}\n onChange={onChangeHandler}\n {...rest}\n />\n </StyledTextAreaWrapper>\n {hasHelper && (\n <StyledHelpers className={styledHelpers} id={textareaHelperId}>\n {(leftHelper || helperText) && (\n <StyledLeftHelper>{leftHelper || helperText}</StyledLeftHelper>\n )}\n {rightHelper && <StyledRightHelper>{rightHelper}</StyledRightHelper>}\n </StyledHelpers>\n )}\n {placeholderLabel && (\n <StyledPlaceholder\n hasContentRight={Boolean(contentRight)}\n className={styledPlaceholder}\n htmlFor={id}\n >\n {placeholderLabel}\n {!hasOuterLabel && optionalTextNode}\n </StyledPlaceholder>\n )}\n </StyledContainer>\n </Root>\n );\n });\n\nexport const textAreaConfig = {\n name: 'TextArea',\n tag: 'div',\n layout: textAreaRoot,\n base,\n variations: {\n size: {\n css: sizeCSS,\n },\n view: {\n css: viewCSS,\n },\n clear: {\n css: clearCSS,\n attrs: true,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n readOnly: {\n attrs: true,\n },\n hintView: {\n css: hintViewCSS,\n },\n hintSize: {\n css: hintSizeCSS,\n },\n },\n defaults: {\n size: 'm',\n view: 'primary',\n },\n};\n"],"names":["innerPlaceholderUp","classes","focusedOuterPlaceholderColor","hidePlaceHolder","styledContainer","styledTextArea","styledTextAreaWrapper","styledPlaceholder","styledHelpers","optionalText","base","fallbackStatusMap","success","warning","error","HINT_DEFAULT_OFFSET","getDynamicLabelClasses","props","focused","readOnly","label","labelPlacement","rows","value","size","withFocusedOuterUpPlaceholder","undefined","withInnerPlaceholderUp","withHidePlaceholder","textAreaRoot","Root","forwardRef","innerRef","helperText","status","resize","rightHelper","leftHelper","contentRight","_props$autoResize","autoResize","_props$minAuto","minAuto","maxAuto","_props$labelPlacement","titleCaption","placeholder","defaultValue","height","width","disabled","_props$required","required","_props$requiredPlacem","requiredPlacement","_props$optional","optional","clear","hasDivider","view","id","style","className","cols","_props$hintTrigger","hintTrigger","hintText","_props$hintView","hintView","_props$hintSize","hintSize","hintTargetIcon","_props$hintPlacement","hintPlacement","hintHasArrow","_props$hintOffset","hintOffset","hintWidth","hintContentLeft","onChange","rest","_excluded","_useState","useState","_useState2","_slicedToArray","isHintVisible","setIsHintVisible","_useState3","concat","_useState4","helperWidth","setHelperWidth","_useState5","_useState6","setFocused","_useState7","_useState8","uncontrolledValue","setUncontrolledValue","outerRef","createRef","hintRef","useOutsideClick","hintInnerRef","useRef","hintForkRef","useForkRef","innerOptional","hasHelper","Boolean","hasOuterLabel","hasInnerLabel","hasPlaceholderOptional","overriddenView","textareaHelperId","applyCustomWidth","placeholderLabel","clearClass","hasHintClass","hasHint","hasRightContentClass","hasRightContent","hasDividerClass","requiredPlacementClass","requiredAlignRight","handleHintShow","handleHintHide","handleHintClick","event","_hintInnerRef$current","stopPropagation","targetIsPopover","target","current","rootHasTarget","contains","useResizeObserver","currentElement","inlineWidth","_currentElement$getBo","getBoundingClientRect","elementWidth","ROOT_FONT_SIZE","useAutoResize","onFocusHandler","useCallback","onBlurHandler","onChangeHandler","handleTextAreaFocus","scrollTo","top","left","offsetLeft","behavior","focus","dynamicLabelClasses","optionalTextNode","React","createElement","StyledOptionalText","inheritFont","_extends","_objectSpread","cx","onClick","OuterLabelWrapper","isInnnerLabel","StyledIndicatorWrapper","StyledLabel","StyledHintWrapper","HintComponent","ref","StyledIndicator","outerLabelPlacement","TitleCaption","StyledContainer","apply","_toConsumableArray","onFocus","onBlur","Fragment","innerLabelPlacement","StyledContent","StyledTextAreaWrapper","StyledTextArea","hasContentRight","mergeRefs","StyledHelpers","StyledLeftHelper","StyledRightHelper","StyledPlaceholder","htmlFor","textAreaConfig","name","tag","layout","variations","css","sizeCSS","viewCSS","clearCSS","attrs","disabledCSS","hintViewCSS","hintSizeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAqCA,IACIA,kBAAkB,GAQlBC,uBAAO,CARPD,kBAAkB;EAClBE,4BAA4B,GAO5BD,uBAAO,CAPPC,4BAA4B;EAC5BC,eAAe,GAMfF,uBAAO,CANPE,eAAe;EACfC,eAAe,GAKfH,uBAAO,CALPG,eAAe;EACfC,cAAc,GAIdJ,uBAAO,CAJPI,cAAc;EACdC,qBAAqB,GAGrBL,uBAAO,CAHPK,qBAAqB;EACrBC,iBAAiB,GAEjBN,uBAAO,CAFPM,iBAAiB;EACjBC,aAAAA,GACAP,uBAAO,CADPO,aAAAA,CAAAA;AAGJ,IAAMC,YAAY,GAAG,UAAU,CAAA;AAE/B,IAAMC,IAAI,GAKT,SAAA,CAAA;;AAED;AACA,IAAMC,iBAAiB,GAAG;AACtB,EAAA,EAAE,EAAE,SAAS;AACbC,EAAAA,OAAO,EAAE,UAAU;AACnBC,EAAAA,OAAO,EAAE,SAAS;AAClBC,EAAAA,KAAK,EAAE,UAAA;AACX,CAAC,CAAA;AAED,IAAMC,mBAAqC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;;AAEpD;AACO,IAAMC,sBAAsB,GAAGA,SAAzBA,sBAAsBA,CAAIC,KAAoB,EAAEC,OAAgB,EAAK;AAC9E,EAAA,IAAQC,QAAQ,GAA+CF,KAAK,CAA5DE,QAAQ;IAAEC,KAAK,GAAwCH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