@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
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.tokens.js","sources":["../../../src/components/TextArea/TextArea.tokens.ts"],"sourcesContent":["export const classes = {\n /** Класс отвечающий за поднятие и уменьшение плейсхолдера */\n innerPlaceholderUp: 'inner-placeholder-up',\n /** Класс отвечающий за изменение цвета плейсхолдера при фокусе */\n focusedOuterPlaceholderColor: 'focused-outer-placeholder-color',\n /** Класс отвечающий за скрытие плейсхолдера */\n hidePlaceHolder: 'hide-placeholder',\n /** Класс для компонента `StyledContainer` */\n styledContainer: 'textarea-container',\n /** Класс для компонента `StyledTextArea` */\n styledTextArea: 'textarea',\n /** Класс для компонента `StyledTextAreaWrapper` */\n styledTextAreaWrapper: 'textarea-wrapper',\n /** Класс для компонента `StyledPlaceholder` */\n styledPlaceholder: 'textarea-placeholder',\n /** Класс для компонента `StyledHelpers` */\n styledHelpers: 'textarea-helpers',\n innerLabelPlacement: 'label-placement-inner',\n outerLabelPlacement: 'label-placement-outer',\n /** Класс для view `clear` */\n clear: 'textarea-clear',\n hasRightContent: 'textarea-has-right-content',\n hasDivider: 'textarea-has-divider',\n};\n\nexport const tokens = {\n /** Цвет фона для элемента textarea */\n inputBackgroundColor: '--plasma-textarea-input-background-color',\n /** Цвет фона для элемента textarea в состоянии hover */\n inputBackgroundColorHover: '--plasma-textarea-input-background-color-hover',\n /** Цвет фона для элемента textarea в состоянии active */\n inputBackgroundColorActive: '--plasma-textarea-input-background-color-active',\n /** Цвет фона для элемента textarea в состоянии focus */\n inputBackgroundColorFocus: '--plasma-textarea-input-background-color-focus',\n /** Цвета границы для элемента textarea */\n inputBorderColor: '--plasma-textarea-input-border-color',\n /** Цвета границы для элемента textarea в состоянии hover */\n inputBorderColorHover: '--plasma-textarea-input-border-color-hover',\n /** Цвета границы для элемента textarea в состоянии active */\n inputBorderColorActive: '--plasma-textarea-input-border-color-active',\n /** Цвета границы для элемента textarea в состоянии focus */\n inputBorderColorFocus: '--plasma-textarea-input-border-color-focus',\n /** Цвет фона для блока подписей снизу */\n helpersBackgroundColor: '--plasma-textarea-helpers-background-color',\n /** Цвет фона для блока подписей снизу в состоянии hover */\n helpersBackgroundColorHover: '--plasma-textarea-helpers-background-color-hover',\n /** Цвет фона для блока подписей снизу в состоянии active */\n helpersBackgroundColorActive: '--plasma-textarea-helpers-background-color-active',\n /** Цвет фона для блока подписей снизу в состоянии focus */\n helpersBackgroundColorFocus: '--plasma-textarea-helpers-background-color-focus',\n /** Цвет текста для элемента textarea */\n inputColor: '--plasma-textarea-input-color',\n clearInputColor: '--plasma-textarea-input-clear-color',\n /** Цвет текста для элемента textarea в состоянии focus */\n inputColorFocus: '--plasma-textarea-input-color-focus',\n /** Цвет каретки для элемента textarea */\n inputCaretColor: '--plasma-textarea-input-caret-color',\n /** Цвет элемента placeholder */\n placeholderColor: '--plasma-textarea-placeholder-color',\n clearPlaceholderColor: '--plasma-textarea-clear-placeholder-color',\n /** Цвет элемента placeholder в состоянии focus */\n placeholderColorFocus: '--plasma-textarea-placeholder-color-focus',\n clearPlaceholderColorFocus: '--plasma-textarea-clear-placeholder-color-focus',\n /** Цвет элемента optional */\n optionalColor: '--plasma-textarea__optional-color',\n /** Цвет текста для левой подписи снизу */\n leftHelperColor: '--plasma-textarea-left-helper-color',\n /** Цвет текста для правой подписи снизу */\n rightHelperColor: '--plasma-textarea-right-helper-color',\n /** Цвета границы для всего компонента */\n borderColor: '--plasma-textarea-border-color',\n /** Цвета границы для всего компонента в состоянии hover */\n borderColorHover: '--plasma-textarea-border-color-hover',\n /** Цвета границы для всего компонента в состоянии focus */\n borderColorFocus: '--plasma-textarea-border-color-focus',\n\n /** Ширина элемента textarea */\n inputWidth: '--plasma-textarea-input-width',\n /** Высота элемента textarea */\n inputHeight: '--plasma-textarea-input-height',\n /** Минимальная высота элемента textarea */\n inputMinHeight: '--plasma-textarea-input-min-height',\n /** Толщина рамки всего компонента */\n borderSize: '--plasma-textarea-border-size',\n /** Размер скругления рамки всего компонента */\n borderRadius: '--plasma-textarea-border-radius',\n /** Размер скругления рамки всего компонента, когда есть блок подписей и у него нет рамки */\n borderRadiusWithHelpers: '--plasma-textarea-border-radius-with-helpers',\n /** Отступ сверху для элемента textarea */\n inputPaddingTop: '--plasma-textarea-input-padding-top',\n /** Отступ справа для элемента textarea */\n inputPaddingRight: '--plasma-textarea-input-padding-right',\n /** Отступ справа для элемента textarea, когда есть контент справа */\n inputPaddingRightWithRightContent: '--plasma-textarea-input-padding-right-with-right-content',\n clearInputPaddingRightWithRightContent: '--plasma-textarea-clear-input-padding-right-with-right-content',\n /** Отступ снизу для элемента textarea */\n inputPaddingBottom: '--plasma-textarea-input-padding-bottom',\n /** Отступ снизу для элемента textarea, когда есть блок подписей */\n inputPaddingBottomWithHelpers: '--plasma-textarea-input-padding-bottom-with-helpers',\n /** Отступ слева для элемента textarea */\n inputPaddingLeft: '--plasma-textarea-input-padding-left',\n /** Отступ сверху для блока подписей */\n helpersPaddingTop: '--plasma-textarea-helpers-padding-top',\n clearHelpersPaddingTop: '--plasma-textarea-clear-helpers-padding-top',\n /** Отступ справа для блока подписей */\n helpersPaddingRight: '--plasma-textarea-helpers-padding-right',\n /** Отступ снизу для блока подписей */\n helpersPaddingBottom: '--plasma-textarea-helpers-padding-bottom',\n /** Отступ слева для блока подписей */\n helpersPaddingLeft: '--plasma-textarea-helpers-padding-left',\n /** Вспомогательная высота для всего компонента, когда есть блок подписей и у него нет рамки */\n helpersOffset: '--plasma-textarea-helpers-offset',\n /** Отступ сверху для контента справа */\n rightContentTop: '--plasma-textarea-right-content-top',\n /** Отступ справа для контента справа */\n rightContentRight: '--plasma-textarea-right-content-right',\n /** Высота контента справа */\n rightContentHeight: '--plasma-textarea-right-content-height',\n /** Шрифт для элемента label, когда он внутри и уменьшен */\n labelOuterColor: '--plasma-textarea-label-outer-color',\n /** Шрифт для элемента label, когда он внутри и уменьшен */\n labelOuterFontFamily: '--plasma-textarea-label-outer-font-family',\n /** Размер шрифта для элемента label, когда он внутри и уменьшен */\n labelOuterFontSize: '--plasma-textarea-label-outer-font-size',\n /** Стиль шрифта для элемента label, когда он внутри и уменьшен */\n labelOuterFontStyle: '--plasma-textarea-label-outer-font-style',\n /** Начертание шрифта для элемента label, когда он внутри и уменьшен */\n labelOuterFontWeight: '--plasma-textarea-label-outer-font-weight',\n /** Межсимвольное расстояние для элемента label, когда он внутри и уменьшен */\n labelOuterLetterSpacing: '--plasma-textarea-label-outer-letter-spacing',\n /** Высота строки для элемента label, когда он внутри и уменьшен */\n labelOuterLineHeight: '--plasma-textarea-label-outer-line-height',\n /** Отступ сверху для элемента label, когда он внутри и уменьшен */\n labelMarginBottom: '--plasma-textarea-label-margin-bottom',\n clearLabelMarginBottom: '--plasma-textarea-clear-label-margin-bottom',\n /** Шрифт для элемента label, когда он внутри и уменьшен */\n labelInnerFontFamily: '--plasma-textarea-label-inner-font-family',\n /** Размер шрифта для элемента label, когда он внутри и уменьшен */\n labelInnerFontSize: '--plasma-textarea-label-inner-font-size',\n /** Стиль шрифта для элемента label, когда он внутри и уменьшен */\n labelInnerFontStyle: '--plasma-textarea-label-inner-font-style',\n /** Начертание шрифта для элемента label, когда он внутри и уменьшен */\n labelInnerFontWeight: '--plasma-textarea-label-inner-font-weight',\n /** Межсимвольное расстояние для элемента label, когда он внутри и уменьшен */\n labelInnerLetterSpacing: '--plasma-textarea-label-inner-letter-spacing',\n /** Высота строки для элемента label, когда он внутри и уменьшен */\n labelInnerLineHeight: '--plasma-textarea-label-inner-line-height',\n /** Отступ сверху для элемента textarea при фокусе */\n labelInnerTop: '--plasma-textarea-label-inner-top',\n /** Отступ между Label и TextArea */\n labelInnerMarginBottom: '--plasma-textarea-label-inner-margin-bottom',\n /** Шрифт для элемента textarea */\n inputFontFamily: '--plasma-textarea-input-font-family',\n /** Размер шрифта для элемента textarea */\n inputFontSize: '--plasma-textarea-input-font-size',\n /** Стиль шрифта для элемента textarea */\n inputFontStyle: '--plasma-textarea-input-font-style',\n /** Начертание шрифта для элемента textarea */\n inputFontWeight: '--plasma-textarea-input-font-weight',\n /** Межсимвольное расстояние шрифта для элемента textarea */\n inputLetterSpacing: '--plasma-textarea-input-letter-spacing',\n /** Высота строки шрифта для элемента textarea */\n inputLineHeight: '--plasma-textarea-input-line-height',\n /** Шрифт для элемента блока подписей снизу */\n helpersFontFamily: '--plasma-textarea-helpers-font-family',\n /** Размер шрифта для элемента блока подписей снизу */\n helpersFontSize: '--plasma-textarea-helpers-font-size',\n /** Стиль шрифта для элемента блока подписей снизу */\n helpersFontStyle: '--plasma-textarea-helpers-font-style',\n /** Начертание шрифта для элемента блока подписей снизу */\n helpersFontWeight: '--plasma-textarea-helpers-font-weight',\n /** Межсимвольное расстояние для элемента блока подписей снизу */\n helpersLetterSpacing: '--plasma-textarea-helpers-letter-spacing',\n /** Высота строки для элемента блока подписей снизу */\n helpersLineHeight: '--plasma-textarea-helpers-line-height',\n\n rightContentColor: '--plasma-textarea-right-content-color',\n\n /** Прозрачность для всего компонента в состоянии disabled */\n disabledOpacity: '--plasma-textarea-disabled-opacity',\n /** Цвет текста для элемента textarea в состоянии disabled */\n inputColorDisabled: '--plasma-textarea-input-color-disabled',\n\n indicatorColor: '--plasma-textarea-indicator-color',\n indicatorSizeInner: '--plasma-textarea-indicator-size-inner',\n indicatorSizeOuter: '--plasma-textarea-indicator-size-outer',\n indicatorLabelPlacementInner: '--plasma-textarea-indicator-placement-inner',\n indicatorLabelPlacementOuter: '--plasma-textarea-indicator-placement-outer',\n indicatorLabelPlacementInnerRight: '--plasma-textarea-indicator-placement-inner-right',\n indicatorLabelPlacementOuterRight: '--plasma-textarea-indicator-placement-outer-right',\n clearIndicatorLabelPlacementInner: '--plasma-textarea__clear-indicator-placement-inner',\n clearIndicatorLabelPlacementInnerRight: '--plasma-textarea__clear-indicator-placement-inner-right',\n\n scrollbarWidth: '--plasma-textarea-scrollbar-width',\n scrollbarBorderWidth: '--plasma-textarea-scrollbar-border-width',\n scrollbarThumbBackgroundColor: '--plasma-textarea-scrollbar-thumb-background-color',\n scrollbarThumbBackgroundColorHover: '--plasma-textarea-scrollbar-thumb-background-color-hover',\n scrollbarThumbBackgroundColorActive: '--plasma-textarea-scrollbar-thumb-background-color-active',\n scrollbarTrackBackgroundColor: '--plasma-textarea-scrollbar-track-background-color',\n scrollbarTrackBackgroundColorHover: '--plasma-textarea-scrollbar-track-background-color-hover',\n scrollbarTrackBackgroundColorActive: '--plasma-textarea-scrollbar-track-background-color-active',\n\n dividerColor: '--plasma-textfield-divider-color',\n dividerColorHover: '--plasma-textfield-divider-color-hover',\n dividerColorFocus: '--plasma-textfield-divider-color-focus',\n dividerColorReadOnly: '--plasma-textfield-divider-color-readonly',\n};\n"],"names":["classes","innerPlaceholderUp","focusedOuterPlaceholderColor","hidePlaceHolder","styledContainer","styledTextArea","styledTextAreaWrapper","styledPlaceholder","styledHelpers","innerLabelPlacement","outerLabelPlacement","clear","hasRightContent","hasDivider","tokens","inputBackgroundColor","inputBackgroundColorHover","inputBackgroundColorActive","inputBackgroundColorFocus","inputBorderColor","inputBorderColorHover","inputBorderColorActive","inputBorderColorFocus","helpersBackgroundColor","helpersBackgroundColorHover","helpersBackgroundColorActive","helpersBackgroundColorFocus","inputColor","clearInputColor","inputColorFocus","inputCaretColor","placeholderColor","clearPlaceholderColor","placeholderColorFocus","clearPlaceholderColorFocus","optionalColor","leftHelperColor","rightHelperColor","borderColor","borderColorHover","borderColorFocus","inputWidth","inputHeight","inputMinHeight","borderSize","borderRadius","borderRadiusWithHelpers","inputPaddingTop","inputPaddingRight","inputPaddingRightWithRightContent","clearInputPaddingRightWithRightContent","inputPaddingBottom","inputPaddingBottomWithHelpers","inputPaddingLeft","helpersPaddingTop","clearHelpersPaddingTop","helpersPaddingRight","helpersPaddingBottom","helpersPaddingLeft","helpersOffset","rightContentTop","rightContentRight","rightContentHeight","labelOuterColor","labelOuterFontFamily","labelOuterFontSize","labelOuterFontStyle","labelOuterFontWeight","labelOuterLetterSpacing","labelOuterLineHeight","labelMarginBottom","clearLabelMarginBottom","labelInnerFontFamily","labelInnerFontSize","labelInnerFontStyle","labelInnerFontWeight","labelInnerLetterSpacing","labelInnerLineHeight","labelInnerTop","labelInnerMarginBottom","inputFontFamily","inputFontSize","inputFontStyle","inputFontWeight","inputLetterSpacing","inputLineHeight","helpersFontFamily","helpersFontSize","helpersFontStyle","helpersFontWeight","helpersLetterSpacing","helpersLineHeight","rightContentColor","disabledOpacity","inputColorDisabled","indicatorColor","indicatorSizeInner","indicatorSizeOuter","indicatorLabelPlacementInner","indicatorLabelPlacementOuter","indicatorLabelPlacementInnerRight","indicatorLabelPlacementOuterRight","clearIndicatorLabelPlacementInner","clearIndicatorLabelPlacementInnerRight","scrollbarWidth","scrollbarBorderWidth","scrollbarThumbBackgroundColor","scrollbarThumbBackgroundColorHover","scrollbarThumbBackgroundColorActive","scrollbarTrackBackgroundColor","scrollbarTrackBackgroundColorHover","scrollbarTrackBackgroundColorActive","dividerColor","dividerColorHover","dividerColorFocus","dividerColorReadOnly"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnB;AACAC,EAAAA,kBAAkB,EAAE,sBAAsB;AAC1C;AACAC,EAAAA,4BAA4B,EAAE,iCAAiC;AAC/D;AACAC,EAAAA,eAAe,EAAE,kBAAkB;AACnC;AACAC,EAAAA,eAAe,EAAE,oBAAoB;AACrC;AACAC,EAAAA,cAAc,EAAE,UAAU;AAC1B;AACAC,EAAAA,qBAAqB,EAAE,kBAAkB;AACzC;AACAC,EAAAA,iBAAiB,EAAE,sBAAsB;AACzC;AACAC,EAAAA,aAAa,EAAE,kBAAkB;AACjCC,EAAAA,mBAAmB,EAAE,uBAAuB;AAC5CC,EAAAA,mBAAmB,EAAE,uBAAuB;AAC5C;AACAC,EAAAA,KAAK,EAAE,gBAAgB;AACvBC,EAAAA,eAAe,EAAE,4BAA4B;AAC7CC,EAAAA,UAAU,EAAE,sBAAA;AAChB,EAAC;AAEM,IAAMC,MAAM,GAAG;AAClB;AACAC,EAAAA,oBAAoB,EAAE,0CAA0C;AAChE;AACAC,EAAAA,yBAAyB,EAAE,gDAAgD;AAC3E;AACAC,EAAAA,0BAA0B,EAAE,iDAAiD;AAC7E;AACAC,EAAAA,yBAAyB,EAAE,gDAAgD;AAC3E;AACAC,EAAAA,gBAAgB,EAAE,sCAAsC;AACxD;AACAC,EAAAA,qBAAqB,EAAE,4CAA4C;AACnE;AACAC,EAAAA,sBAAsB,EAAE,6CAA6C;AACrE;AACAC,EAAAA,qBAAqB,EAAE,4CAA4C;AACnE;AACAC,EAAAA,sBAAsB,EAAE,4CAA4C;AACpE;AACAC,EAAAA,2BAA2B,EAAE,kDAAkD;AAC/E;AACAC,EAAAA,4BAA4B,EAAE,mDAAmD;AACjF;AACAC,EAAAA,2BAA2B,EAAE,kDAAkD;AAC/E;AACAC,EAAAA,UAAU,EAAE,+BAA+B;AAC3CC,EAAAA,eAAe,EAAE,qCAAqC;AACtD;AACAC,EAAAA,eAAe,EAAE,qCAAqC;AACtD;AACAC,EAAAA,eAAe,EAAE,qCAAqC;AACtD;AACAC,EAAAA,gBAAgB,EAAE,qCAAqC;AACvDC,EAAAA,qBAAqB,EAAE,2CAA2C;AAClE;AACAC,EAAAA,qBAAqB,EAAE,2CAA2C;AAClEC,EAAAA,0BAA0B,EAAE,iDAAiD;AAC7E;AACAC,EAAAA,aAAa,EAAE,mCAAmC;AAClD;AACAC,EAAAA,eAAe,EAAE,qCAAqC;AACtD;AACAC,EAAAA,gBAAgB,EAAE,sCAAsC;AACxD;AACAC,EAAAA,WAAW,EAAE,gCAAgC;AAC7C;AACAC,EAAAA,gBAAgB,EAAE,sCAAsC;AACxD;AACAC,EAAAA,gBAAgB,EAAE,sCAAsC;AAExD;AACAC,EAAAA,UAAU,EAAE,+BAA+B;AAC3C;AACAC,EAAAA,WAAW,EAAE,gCAAgC;AAC7C;AACAC,EAAAA,cAAc,EAAE,oCAAoC;AACpD;AACAC,EAAAA,UAAU,EAAE,+BAA+B;AAC3C;AACAC,EAAAA,YAAY,EAAE,iCAAiC;AAC/C;AACAC,EAAAA,uBAAuB,EAAE,8CAA8C;AACvE;AACAC,EAAAA,eAAe,EAAE,qCAAqC;AACtD;AACAC,EAAAA,iBAAiB,EAAE,uCAAuC;AAC1D;AACAC,EAAAA,iCAAiC,EAAE,0DAA0D;AAC7FC,EAAAA,sCAAsC,EAAE,gEAAgE;AACxG;AACAC,EAAAA,kBAAkB,EAAE,wCAAwC;AAC5D;AACAC,EAAAA,6BAA6B,EAAE,qDAAqD;AACpF;AACAC,EAAAA,gBAAgB,EAAE,sCAAsC;AACxD;AACAC,EAAAA,iBAAiB,EAAE,uCAAuC;AAC1DC,EAAAA,sBAAsB,EAAE,6CAA6C;AACrE;AACAC,EAAAA,mBAAmB,EAAE,yCAAyC;AAC9D;AACAC,EAAAA,oBAAoB,EAAE,0CAA0C;AAChE;AACAC,EAAAA,kBAAkB,EAAE,wCAAwC;AAC5D;AACAC,EAAAA,aAAa,EAAE,kCAAkC;AACjD;AACAC,EAAAA,eAAe,EAAE,qCAAqC;AACtD;AACAC,EAAAA,iBAAiB,EAAE,uCAAuC;AAC1D;AACAC,EAAAA,kBAAkB,EAAE,wCAAwC;AAC5D;AACAC,EAAAA,eAAe,EAAE,qCAAqC;AACtD;AACAC,EAAAA,oBAAoB,EAAE,2CAA2C;AACjE;AACAC,EAAAA,kBAAkB,EAAE,yCAAyC;AAC7D;AACAC,EAAAA,mBAAmB,EAAE,0CAA0C;AAC/D;AACAC,EAAAA,oBAAoB,EAAE,2CAA2C;AACjE;AACAC,EAAAA,uBAAuB,EAAE,8CAA8C;AACvE;AACAC,EAAAA,oBAAoB,EAAE,2CAA2C;AACjE;AACAC,EAAAA,iBAAiB,EAAE,uCAAuC;AAC1DC,EAAAA,sBAAsB,EAAE,6CAA6C;AACrE;AACAC,EAAAA,oBAAoB,EAAE,2CAA2C;AACjE;AACAC,EAAAA,kBAAkB,EAAE,yCAAyC;AAC7D;AACAC,EAAAA,mBAAmB,EAAE,0CAA0C;AAC/D;AACAC,EAAAA,oBAAoB,EAAE,2CAA2C;AACjE;AACAC,EAAAA,uBAAuB,EAAE,8CAA8C;AACvE;AACAC,EAAAA,oBAAoB,EAAE,2CAA2C;AACjE;AACAC,EAAAA,aAAa,EAAE,mCAAmC;AAClD;AACAC,EAAAA,sBAAsB,EAAE,6CAA6C;AACrE;AACAC,EAAAA,eAAe,EAAE,qCAAqC;AACtD;AACAC,EAAAA,aAAa,EAAE,mCAAmC;AAClD;AACAC,EAAAA,cAAc,EAAE,oCAAoC;AACpD;AACAC,EAAAA,eAAe,EAAE,qCAAqC;AACtD;AACAC,EAAAA,kBAAkB,EAAE,wCAAwC;AAC5D;AACAC,EAAAA,eAAe,EAAE,qCAAqC;AACtD;AACAC,EAAAA,iBAAiB,EAAE,uCAAuC;AAC1D;AACAC,EAAAA,eAAe,EAAE,qCAAqC;AACtD;AACAC,EAAAA,gBAAgB,EAAE,sCAAsC;AACxD;AACAC,EAAAA,iBAAiB,EAAE,uCAAuC;AAC1D;AACAC,EAAAA,oBAAoB,EAAE,0CAA0C;AAChE;AACAC,EAAAA,iBAAiB,EAAE,uCAAuC;AAE1DC,EAAAA,iBAAiB,EAAE,uCAAuC;AAE1D;AACAC,EAAAA,eAAe,EAAE,oCAAoC;AACrD;AACAC,EAAAA,kBAAkB,EAAE,wCAAwC;AAE5DC,EAAAA,cAAc,EAAE,mCAAmC;AACnDC,EAAAA,kBAAkB,EAAE,wCAAwC;AAC5DC,EAAAA,kBAAkB,EAAE,wCAAwC;AAC5DC,EAAAA,4BAA4B,EAAE,6CAA6C;AAC3EC,EAAAA,4BAA4B,EAAE,6CAA6C;AAC3EC,EAAAA,iCAAiC,EAAE,mDAAmD;AACtFC,EAAAA,iCAAiC,EAAE,mDAAmD;AACtFC,EAAAA,iCAAiC,EAAE,oDAAoD;AACvFC,EAAAA,sCAAsC,EAAE,0DAA0D;AAElGC,EAAAA,cAAc,EAAE,mCAAmC;AACnDC,EAAAA,oBAAoB,EAAE,0CAA0C;AAChEC,EAAAA,6BAA6B,EAAE,oDAAoD;AACnFC,EAAAA,kCAAkC,EAAE,0DAA0D;AAC9FC,EAAAA,mCAAmC,EAAE,2DAA2D;AAChGC,EAAAA,6BAA6B,EAAE,oDAAoD;AACnFC,EAAAA,kCAAkC,EAAE,0DAA0D;AAC9FC,EAAAA,mCAAmC,EAAE,2DAA2D;AAEhGC,EAAAA,YAAY,EAAE,kCAAkC;AAChDC,EAAAA,iBAAiB,EAAE,wCAAwC;AAC3DC,EAAAA,iBAAiB,EAAE,wCAAwC;AAC3DC,EAAAA,oBAAoB,EAAE,2CAAA;AAC1B;;;;"}
1
+ {"version":3,"file":"TextArea.tokens.js","sources":["../../../src/components/TextArea/TextArea.tokens.ts"],"sourcesContent":["export const classes = {\n /** Класс отвечающий за поднятие и уменьшение плейсхолдера */\n innerPlaceholderUp: 'inner-placeholder-up',\n /** Класс отвечающий за изменение цвета плейсхолдера при фокусе */\n focusedOuterPlaceholderColor: 'focused-outer-placeholder-color',\n /** Класс отвечающий за скрытие плейсхолдера */\n hidePlaceHolder: 'hide-placeholder',\n /** Класс для компонента `StyledContainer` */\n styledContainer: 'textarea-container',\n /** Класс для компонента `StyledTextArea` */\n styledTextArea: 'textarea',\n /** Класс для компонента `StyledTextAreaWrapper` */\n styledTextAreaWrapper: 'textarea-wrapper',\n /** Класс для компонента `StyledPlaceholder` */\n styledPlaceholder: 'textarea-placeholder',\n /** Класс для компонента `StyledHelpers` */\n styledHelpers: 'textarea-helpers',\n innerLabelPlacement: 'label-placement-inner',\n outerLabelPlacement: 'label-placement-outer',\n /** Класс для view `clear` */\n clear: 'textarea-clear',\n hasHint: 'textarea-has-hint',\n hasRightContent: 'textarea-has-right-content',\n hasDivider: 'textarea-has-divider',\n requiredAlignRight: 'required-align-right',\n};\n\nexport const tokens = {\n /** Цвет фона для элемента textarea */\n inputBackgroundColor: '--plasma-textarea-input-background-color',\n /** Цвет фона для элемента textarea в состоянии hover */\n inputBackgroundColorHover: '--plasma-textarea-input-background-color-hover',\n /** Цвет фона для элемента textarea в состоянии active */\n inputBackgroundColorActive: '--plasma-textarea-input-background-color-active',\n /** Цвет фона для элемента textarea в состоянии focus */\n inputBackgroundColorFocus: '--plasma-textarea-input-background-color-focus',\n /** Цвета границы для элемента textarea */\n inputBorderColor: '--plasma-textarea-input-border-color',\n /** Цвета границы для элемента textarea в состоянии hover */\n inputBorderColorHover: '--plasma-textarea-input-border-color-hover',\n /** Цвета границы для элемента textarea в состоянии active */\n inputBorderColorActive: '--plasma-textarea-input-border-color-active',\n /** Цвета границы для элемента textarea в состоянии focus */\n inputBorderColorFocus: '--plasma-textarea-input-border-color-focus',\n /** Цвет фона для блока подписей снизу */\n helpersBackgroundColor: '--plasma-textarea-helpers-background-color',\n /** Цвет фона для блока подписей снизу в состоянии hover */\n helpersBackgroundColorHover: '--plasma-textarea-helpers-background-color-hover',\n /** Цвет фона для блока подписей снизу в состоянии active */\n helpersBackgroundColorActive: '--plasma-textarea-helpers-background-color-active',\n /** Цвет фона для блока подписей снизу в состоянии focus */\n helpersBackgroundColorFocus: '--plasma-textarea-helpers-background-color-focus',\n /** Цвет текста для элемента textarea */\n inputColor: '--plasma-textarea-input-color',\n clearInputColor: '--plasma-textarea-input-clear-color',\n /** Цвет текста для элемента textarea в состоянии focus */\n inputColorFocus: '--plasma-textarea-input-color-focus',\n /** Цвет каретки для элемента textarea */\n inputCaretColor: '--plasma-textarea-input-caret-color',\n /** Цвет элемента placeholder */\n placeholderColor: '--plasma-textarea-placeholder-color',\n clearPlaceholderColor: '--plasma-textarea-clear-placeholder-color',\n /** Цвет элемента placeholder в состоянии focus */\n placeholderColorFocus: '--plasma-textarea-placeholder-color-focus',\n clearPlaceholderColorFocus: '--plasma-textarea-clear-placeholder-color-focus',\n /** Цвет элемента optional */\n optionalColor: '--plasma-textarea__optional-color',\n /** Цвет текста для левой подписи снизу */\n leftHelperColor: '--plasma-textarea-left-helper-color',\n /** Цвет текста для правой подписи снизу */\n rightHelperColor: '--plasma-textarea-right-helper-color',\n /** Цвета границы для всего компонента */\n borderColor: '--plasma-textarea-border-color',\n /** Цвета границы для всего компонента в состоянии hover */\n borderColorHover: '--plasma-textarea-border-color-hover',\n /** Цвета границы для всего компонента в состоянии focus */\n borderColorFocus: '--plasma-textarea-border-color-focus',\n\n /** Ширина элемента textarea */\n inputWidth: '--plasma-textarea-input-width',\n /** Высота элемента textarea */\n inputHeight: '--plasma-textarea-input-height',\n /** Минимальная высота элемента textarea */\n inputMinHeight: '--plasma-textarea-input-min-height',\n /** Толщина рамки всего компонента */\n borderSize: '--plasma-textarea-border-size',\n /** Размер скругления рамки всего компонента */\n borderRadius: '--plasma-textarea-border-radius',\n /** Размер скругления рамки всего компонента, когда есть блок подписей и у него нет рамки */\n borderRadiusWithHelpers: '--plasma-textarea-border-radius-with-helpers',\n /** Отступ сверху для элемента textarea */\n inputPaddingTop: '--plasma-textarea-input-padding-top',\n /** Отступ справа для элемента textarea */\n inputPaddingRight: '--plasma-textarea-input-padding-right',\n /** Отступ справа для элемента textarea, когда есть контент справа */\n inputPaddingRightWithRightContent: '--plasma-textarea-input-padding-right-with-right-content',\n clearInputPaddingRightWithRightContent: '--plasma-textarea-clear-input-padding-right-with-right-content',\n /** Отступ снизу для элемента textarea */\n inputPaddingBottom: '--plasma-textarea-input-padding-bottom',\n /** Отступ снизу для элемента textarea, когда есть блок подписей */\n inputPaddingBottomWithHelpers: '--plasma-textarea-input-padding-bottom-with-helpers',\n /** Отступ слева для элемента textarea */\n inputPaddingLeft: '--plasma-textarea-input-padding-left',\n /** Отступ сверху для блока подписей */\n helpersPaddingTop: '--plasma-textarea-helpers-padding-top',\n clearHelpersPaddingTop: '--plasma-textarea-clear-helpers-padding-top',\n /** Отступ справа для блока подписей */\n helpersPaddingRight: '--plasma-textarea-helpers-padding-right',\n /** Отступ снизу для блока подписей */\n helpersPaddingBottom: '--plasma-textarea-helpers-padding-bottom',\n /** Отступ слева для блока подписей */\n helpersPaddingLeft: '--plasma-textarea-helpers-padding-left',\n /** Вспомогательная высота для всего компонента, когда есть блок подписей и у него нет рамки */\n helpersOffset: '--plasma-textarea-helpers-offset',\n /** Отступ сверху для контента справа */\n rightContentTop: '--plasma-textarea-right-content-top',\n /** Отступ справа для контента справа */\n rightContentRight: '--plasma-textarea-right-content-right',\n /** Высота контента справа */\n rightContentHeight: '--plasma-textarea-right-content-height',\n /** Шрифт для элемента label, когда он внутри и уменьшен */\n labelOuterColor: '--plasma-textarea-label-outer-color',\n /** Шрифт для элемента label, когда он внутри и уменьшен */\n labelOuterFontFamily: '--plasma-textarea-label-outer-font-family',\n /** Размер шрифта для элемента label, когда он внутри и уменьшен */\n labelOuterFontSize: '--plasma-textarea-label-outer-font-size',\n /** Стиль шрифта для элемента label, когда он внутри и уменьшен */\n labelOuterFontStyle: '--plasma-textarea-label-outer-font-style',\n /** Начертание шрифта для элемента label, когда он внутри и уменьшен */\n labelOuterFontWeight: '--plasma-textarea-label-outer-font-weight',\n /** Межсимвольное расстояние для элемента label, когда он внутри и уменьшен */\n labelOuterLetterSpacing: '--plasma-textarea-label-outer-letter-spacing',\n /** Высота строки для элемента label, когда он внутри и уменьшен */\n labelOuterLineHeight: '--plasma-textarea-label-outer-line-height',\n /** Отступ сверху для элемента label, когда он внутри и уменьшен */\n labelMarginBottom: '--plasma-textarea-label-margin-bottom',\n clearLabelMarginBottom: '--plasma-textarea-clear-label-margin-bottom',\n /** Шрифт для элемента label, когда он внутри и уменьшен */\n labelInnerFontFamily: '--plasma-textarea-label-inner-font-family',\n /** Размер шрифта для элемента label, когда он внутри и уменьшен */\n labelInnerFontSize: '--plasma-textarea-label-inner-font-size',\n /** Стиль шрифта для элемента label, когда он внутри и уменьшен */\n labelInnerFontStyle: '--plasma-textarea-label-inner-font-style',\n /** Начертание шрифта для элемента label, когда он внутри и уменьшен */\n labelInnerFontWeight: '--plasma-textarea-label-inner-font-weight',\n /** Межсимвольное расстояние для элемента label, когда он внутри и уменьшен */\n labelInnerLetterSpacing: '--plasma-textarea-label-inner-letter-spacing',\n /** Высота строки для элемента label, когда он внутри и уменьшен */\n labelInnerLineHeight: '--plasma-textarea-label-inner-line-height',\n /** Отступ сверху для элемента textarea при фокусе */\n labelInnerTop: '--plasma-textarea-label-inner-top',\n /** Отступ между Label и TextArea */\n labelInnerMarginBottom: '--plasma-textarea-label-inner-margin-bottom',\n /** Шрифт для элемента textarea */\n inputFontFamily: '--plasma-textarea-input-font-family',\n /** Размер шрифта для элемента textarea */\n inputFontSize: '--plasma-textarea-input-font-size',\n /** Стиль шрифта для элемента textarea */\n inputFontStyle: '--plasma-textarea-input-font-style',\n /** Начертание шрифта для элемента textarea */\n inputFontWeight: '--plasma-textarea-input-font-weight',\n /** Межсимвольное расстояние шрифта для элемента textarea */\n inputLetterSpacing: '--plasma-textarea-input-letter-spacing',\n /** Высота строки шрифта для элемента textarea */\n inputLineHeight: '--plasma-textarea-input-line-height',\n /** Шрифт для элемента блока подписей снизу */\n helpersFontFamily: '--plasma-textarea-helpers-font-family',\n /** Размер шрифта для элемента блока подписей снизу */\n helpersFontSize: '--plasma-textarea-helpers-font-size',\n /** Стиль шрифта для элемента блока подписей снизу */\n helpersFontStyle: '--plasma-textarea-helpers-font-style',\n /** Начертание шрифта для элемента блока подписей снизу */\n helpersFontWeight: '--plasma-textarea-helpers-font-weight',\n /** Межсимвольное расстояние для элемента блока подписей снизу */\n helpersLetterSpacing: '--plasma-textarea-helpers-letter-spacing',\n /** Высота строки для элемента блока подписей снизу */\n helpersLineHeight: '--plasma-textarea-helpers-line-height',\n\n rightContentColor: '--plasma-textarea-right-content-color',\n\n /** Прозрачность для всего компонента в состоянии disabled */\n disabledOpacity: '--plasma-textarea-disabled-opacity',\n /** Цвет текста для элемента textarea в состоянии disabled */\n inputColorDisabled: '--plasma-textarea-input-color-disabled',\n\n indicatorColor: '--plasma-textarea-indicator-color',\n indicatorSizeInner: '--plasma-textarea-indicator-size-inner',\n indicatorSizeOuter: '--plasma-textarea-indicator-size-outer',\n indicatorLabelPlacementInner: '--plasma-textarea-indicator-placement-inner',\n indicatorLabelPlacementOuter: '--plasma-textarea-indicator-placement-outer',\n indicatorLabelPlacementInnerRight: '--plasma-textarea-indicator-placement-inner-right',\n indicatorLabelPlacementOuterRight: '--plasma-textarea-indicator-placement-outer-right',\n clearIndicatorLabelPlacementInner: '--plasma-textarea__clear-indicator-placement-inner',\n clearIndicatorLabelPlacementInnerRight: '--plasma-textarea__clear-indicator-placement-inner-right',\n clearIndicatorHintInnerRight: '--plasma-textarea__clear-indicator-hint-placement-inner-right',\n\n scrollbarWidth: '--plasma-textarea-scrollbar-width',\n scrollbarBorderWidth: '--plasma-textarea-scrollbar-border-width',\n scrollbarThumbBackgroundColor: '--plasma-textarea-scrollbar-thumb-background-color',\n scrollbarThumbBackgroundColorHover: '--plasma-textarea-scrollbar-thumb-background-color-hover',\n scrollbarThumbBackgroundColorActive: '--plasma-textarea-scrollbar-thumb-background-color-active',\n scrollbarTrackBackgroundColor: '--plasma-textarea-scrollbar-track-background-color',\n scrollbarTrackBackgroundColorHover: '--plasma-textarea-scrollbar-track-background-color-hover',\n scrollbarTrackBackgroundColorActive: '--plasma-textarea-scrollbar-track-background-color-active',\n\n dividerColor: '--plasma-textarea-divider-color',\n dividerColorHover: '--plasma-textarea-divider-color-hover',\n dividerColorFocus: '--plasma-textarea-divider-color-focus',\n dividerColorReadOnly: '--plasma-textarea-divider-color-readonly',\n\n titleCaptionColor: '--plasma-textarea__title-caption-color',\n titleCaptionColorReadOnly: '--plasma-textarea__title-caption-color-readonly',\n titleCaptionInnerLabelOffset: '--plasma-textarea__title-caption-label-inner-offset',\n\n titleCaptionFontFamily: '--plasma-textarea__title-caption-font-family',\n titleCaptionFontStyle: '--plasma-textarea__title-caption-font-style',\n titleCaptionFontSize: '--plasma-textarea__title-caption-font-size',\n titleCaptionFontWeight: '--plasma-textarea__title-caption-font-weight',\n titleCaptionLetterSpacing: '--plasma-textarea__title-caption-letter-spacing',\n titleCaptionLineHeight: '--plasma-textarea__title-caption-line-height',\n\n /** Токены для tooltip */\n hintMargin: '--plasma-textarea__hint-margin',\n hintTargetSize: '--plasma-textarea__hint-target-size',\n hintIconColor: '--plasma-textarea__hint-icon-color',\n hintInnerLabelPlacementOffset: '--plasma-textarea__hint-inner-label-placement-offset',\n clearHintInnerLabelPlacementOffset: '--plasma-textarea__clear-hint-inner-label-placement-offset',\n\n tooltipBackgroundColor: '--plasma-textarea__tooltip-background-color',\n tooltipBoxShadow: '--plasma-textarea__tooltip-box-shadow',\n tooltipColor: '--plasma-textarea__tooltip-color',\n\n tooltipPaddingTop: '--plasma-textarea__tooltip-padding-top',\n tooltipPaddingRight: '--plasma-textarea__tooltip-padding-right',\n tooltipPaddingBottom: '--plasma-textarea__tooltip-padding-bottom',\n tooltipPaddingLeft: '--plasma-textarea__tooltip-padding-left',\n tooltipMinHeight: '--plasma-textarea__tooltip-min-height',\n tooltipBorderRadius: '--plasma-textarea__tooltip-border-radius',\n tooltipTextFontFamily: '--plasma-textarea__tooltip-text-font-family',\n tooltipTextFontSize: '--plasma-textarea__tooltip-text-font-size',\n tooltipTextFontStyle: '--plasma-textarea__tooltip-text-font-style',\n tooltipTextFontWeight: '--plasma-textarea__tooltip-text-font-weight',\n tooltipTextFontLetterSpacing: '--plasma-textarea__tooltip-text-font-letter-spacing',\n tooltipTextFontLineHeight: '--plasma-textarea__tooltip-text-font-line-height',\n tooltipContentLeftMargin: '--plasma-textarea__tooltip-content-left-margin',\n tooltipArrowMaskWidth: '--plasma-textarea__tooltip-arrow-mask-width',\n tooltipArrowMaskHeight: '--plasma-textarea__tooltip-arrow-mask-height',\n tooltipArrowMaskImage: '--plasma-textarea__tooltip-arrow-mask-image',\n tooltipArrowHeight: '--plasma-textarea__tooltip-arrow-height',\n tooltipArrowEdgeMargin: '--plasma-textarea__tooltip-arrow-edge-margin',\n tooltipArrowBackground: '--plasma-textarea__tooltip-arrow-background',\n};\n"],"names":["classes","innerPlaceholderUp","focusedOuterPlaceholderColor","hidePlaceHolder","styledContainer","styledTextArea","styledTextAreaWrapper","styledPlaceholder","styledHelpers","innerLabelPlacement","outerLabelPlacement","clear","hasHint","hasRightContent","hasDivider","requiredAlignRight","tokens","inputBackgroundColor","inputBackgroundColorHover","inputBackgroundColorActive","inputBackgroundColorFocus","inputBorderColor","inputBorderColorHover","inputBorderColorActive","inputBorderColorFocus","helpersBackgroundColor","helpersBackgroundColorHover","helpersBackgroundColorActive","helpersBackgroundColorFocus","inputColor","clearInputColor","inputColorFocus","inputCaretColor","placeholderColor","clearPlaceholderColor","placeholderColorFocus","clearPlaceholderColorFocus","optionalColor","leftHelperColor","rightHelperColor","borderColor","borderColorHover","borderColorFocus","inputWidth","inputHeight","inputMinHeight","borderSize","borderRadius","borderRadiusWithHelpers","inputPaddingTop","inputPaddingRight","inputPaddingRightWithRightContent","clearInputPaddingRightWithRightContent","inputPaddingBottom","inputPaddingBottomWithHelpers","inputPaddingLeft","helpersPaddingTop","clearHelpersPaddingTop","helpersPaddingRight","helpersPaddingBottom","helpersPaddingLeft","helpersOffset","rightContentTop","rightContentRight","rightContentHeight","labelOuterColor","labelOuterFontFamily","labelOuterFontSize","labelOuterFontStyle","labelOuterFontWeight","labelOuterLetterSpacing","labelOuterLineHeight","labelMarginBottom","clearLabelMarginBottom","labelInnerFontFamily","labelInnerFontSize","labelInnerFontStyle","labelInnerFontWeight","labelInnerLetterSpacing","labelInnerLineHeight","labelInnerTop","labelInnerMarginBottom","inputFontFamily","inputFontSize","inputFontStyle","inputFontWeight","inputLetterSpacing","inputLineHeight","helpersFontFamily","helpersFontSize","helpersFontStyle","helpersFontWeight","helpersLetterSpacing","helpersLineHeight","rightContentColor","disabledOpacity","inputColorDisabled","indicatorColor","indicatorSizeInner","indicatorSizeOuter","indicatorLabelPlacementInner","indicatorLabelPlacementOuter","indicatorLabelPlacementInnerRight","indicatorLabelPlacementOuterRight","clearIndicatorLabelPlacementInner","clearIndicatorLabelPlacementInnerRight","clearIndicatorHintInnerRight","scrollbarWidth","scrollbarBorderWidth","scrollbarThumbBackgroundColor","scrollbarThumbBackgroundColorHover","scrollbarThumbBackgroundColorActive","scrollbarTrackBackgroundColor","scrollbarTrackBackgroundColorHover","scrollbarTrackBackgroundColorActive","dividerColor","dividerColorHover","dividerColorFocus","dividerColorReadOnly","titleCaptionColor","titleCaptionColorReadOnly","titleCaptionInnerLabelOffset","titleCaptionFontFamily","titleCaptionFontStyle","titleCaptionFontSize","titleCaptionFontWeight","titleCaptionLetterSpacing","titleCaptionLineHeight","hintMargin","hintTargetSize","hintIconColor","hintInnerLabelPlacementOffset","clearHintInnerLabelPlacementOffset","tooltipBackgroundColor","tooltipBoxShadow","tooltipColor","tooltipPaddingTop","tooltipPaddingRight","tooltipPaddingBottom","tooltipPaddingLeft","tooltipMinHeight","tooltipBorderRadius","tooltipTextFontFamily","tooltipTextFontSize","tooltipTextFontStyle","tooltipTextFontWeight","tooltipTextFontLetterSpacing","tooltipTextFontLineHeight","tooltipContentLeftMargin","tooltipArrowMaskWidth","tooltipArrowMaskHeight","tooltipArrowMaskImage","tooltipArrowHeight","tooltipArrowEdgeMargin","tooltipArrowBackground"],"mappings":"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"}
@@ -2,14 +2,12 @@ import { useRef, useEffect } from 'react';
2
2
 
3
3
  var ROOT_FONT_SIZE = 16;
4
4
  var useAutoResize = function useAutoResize(active, ref, value, minAuto, maxAuto) {
5
- var isManualResize = useRef(false);
6
5
  var previousHeight = useRef();
7
6
  useEffect(function () {
8
- if (active && ref && ref.current && !isManualResize.current) {
7
+ if (active && ref && ref.current) {
9
8
  // проверка на пользовательский resize (вручную)
10
9
  var height = ref.current.clientHeight / ROOT_FONT_SIZE;
11
10
  if (previousHeight.current !== undefined && previousHeight.current !== height) {
12
- isManualResize.current = true;
13
11
  return;
14
12
  }
15
13
  var style = getComputedStyle(ref.current);
@@ -24,7 +22,7 @@ var useAutoResize = function useAutoResize(active, ref, value, minAuto, maxAuto)
24
22
  ref.current.style.height = "".concat(newHeight, "rem");
25
23
  previousHeight.current = newHeight;
26
24
  }
27
- }, [ref, active, value]);
25
+ }, [ref, active, value, minAuto, maxAuto]);
28
26
  };
29
27
 
30
28
  export { ROOT_FONT_SIZE, useAutoResize };
@@ -1 +1 @@
1
- {"version":3,"file":"useAutoResize.js","sources":["../../../../src/components/TextArea/hooks/useAutoResize.ts"],"sourcesContent":["import { useEffect, useRef, MutableRefObject } from 'react';\n\nexport const ROOT_FONT_SIZE = 16;\n\nexport const useAutoResize = <T extends HTMLTextAreaElement>(\n active: boolean,\n ref: MutableRefObject<T | null>,\n value?: string | ReadonlyArray<string> | number,\n minAuto?: number,\n maxAuto?: number,\n) => {\n const isManualResize = useRef<boolean>(false);\n const previousHeight = useRef<number | undefined>();\n\n useEffect(() => {\n if (active && ref && ref.current && !isManualResize.current) {\n // проверка на пользовательский resize (вручную)\n const height = ref.current.clientHeight / ROOT_FONT_SIZE;\n if (previousHeight.current !== undefined && previousHeight.current !== height) {\n isManualResize.current = true;\n return;\n }\n\n const style = getComputedStyle(ref.current);\n const lineHeight = parseInt(style.lineHeight, 10);\n const lineHeightInRem = lineHeight / ROOT_FONT_SIZE;\n\n const minAutoHeight = minAuto ? minAuto * lineHeightInRem : 0;\n ref.current.style.height = `${minAutoHeight}rem`;\n\n const lines = Math.floor(ref.current.scrollHeight / lineHeight);\n const newScrollHeight = lines * lineHeightInRem;\n\n const maxAutoHeight = maxAuto ? maxAuto * lineHeightInRem : newScrollHeight;\n\n const newHeight = Math.min(newScrollHeight, maxAutoHeight);\n\n ref.current.style.height = `${newHeight}rem`;\n previousHeight.current = newHeight;\n }\n }, [ref, active, value]);\n};\n"],"names":["ROOT_FONT_SIZE","useAutoResize","active","ref","value","minAuto","maxAuto","isManualResize","useRef","previousHeight","useEffect","current","height","clientHeight","undefined","style","getComputedStyle","lineHeight","parseInt","lineHeightInRem","minAutoHeight","concat","lines","Math","floor","scrollHeight","newScrollHeight","maxAutoHeight","newHeight","min"],"mappings":";;AAEO,IAAMA,cAAc,GAAG,GAAE;AAEnBC,IAAAA,aAAa,GAAG,SAAhBA,aAAaA,CACtBC,MAAe,EACfC,GAA+B,EAC/BC,KAA+C,EAC/CC,OAAgB,EAChBC,OAAgB,EACf;AACD,EAAA,IAAMC,cAAc,GAAGC,MAAM,CAAU,KAAK,CAAC,CAAA;AAC7C,EAAA,IAAMC,cAAc,GAAGD,MAAM,EAAsB,CAAA;AAEnDE,EAAAA,SAAS,CAAC,YAAM;AACZ,IAAA,IAAIR,MAAM,IAAIC,GAAG,IAAIA,GAAG,CAACQ,OAAO,IAAI,CAACJ,cAAc,CAACI,OAAO,EAAE;AACzD;MACA,IAAMC,MAAM,GAAGT,GAAG,CAACQ,OAAO,CAACE,YAAY,GAAGb,cAAc,CAAA;MACxD,IAAIS,cAAc,CAACE,OAAO,KAAKG,SAAS,IAAIL,cAAc,CAACE,OAAO,KAAKC,MAAM,EAAE;QAC3EL,cAAc,CAACI,OAAO,GAAG,IAAI,CAAA;AAC7B,QAAA,OAAA;AACJ,OAAA;AAEA,MAAA,IAAMI,KAAK,GAAGC,gBAAgB,CAACb,GAAG,CAACQ,OAAO,CAAC,CAAA;MAC3C,IAAMM,UAAU,GAAGC,QAAQ,CAACH,KAAK,CAACE,UAAU,EAAE,EAAE,CAAC,CAAA;AACjD,MAAA,IAAME,eAAe,GAAGF,UAAU,GAAGjB,cAAc,CAAA;MAEnD,IAAMoB,aAAa,GAAGf,OAAO,GAAGA,OAAO,GAAGc,eAAe,GAAG,CAAC,CAAA;MAC7DhB,GAAG,CAACQ,OAAO,CAACI,KAAK,CAACH,MAAM,GAAAS,EAAAA,CAAAA,MAAA,CAAMD,aAAa,EAAK,KAAA,CAAA,CAAA;AAEhD,MAAA,IAAME,KAAK,GAAGC,IAAI,CAACC,KAAK,CAACrB,GAAG,CAACQ,OAAO,CAACc,YAAY,GAAGR,UAAU,CAAC,CAAA;AAC/D,MAAA,IAAMS,eAAe,GAAGJ,KAAK,GAAGH,eAAe,CAAA;MAE/C,IAAMQ,aAAa,GAAGrB,OAAO,GAAGA,OAAO,GAAGa,eAAe,GAAGO,eAAe,CAAA;MAE3E,IAAME,SAAS,GAAGL,IAAI,CAACM,GAAG,CAACH,eAAe,EAAEC,aAAa,CAAC,CAAA;MAE1DxB,GAAG,CAACQ,OAAO,CAACI,KAAK,CAACH,MAAM,GAAAS,EAAAA,CAAAA,MAAA,CAAMO,SAAS,EAAK,KAAA,CAAA,CAAA;MAC5CnB,cAAc,CAACE,OAAO,GAAGiB,SAAS,CAAA;AACtC,KAAA;GACH,EAAE,CAACzB,GAAG,EAAED,MAAM,EAAEE,KAAK,CAAC,CAAC,CAAA;AAC5B;;;;"}
1
+ {"version":3,"file":"useAutoResize.js","sources":["../../../../src/components/TextArea/hooks/useAutoResize.ts"],"sourcesContent":["import { useEffect, useRef, MutableRefObject } from 'react';\n\nexport const ROOT_FONT_SIZE = 16;\n\nexport const useAutoResize = <T extends HTMLTextAreaElement>(\n active: boolean,\n ref: MutableRefObject<T | null>,\n value?: string | ReadonlyArray<string> | number,\n minAuto?: number,\n maxAuto?: number,\n) => {\n const previousHeight = useRef<number | undefined>();\n\n useEffect(() => {\n if (active && ref && ref.current) {\n // проверка на пользовательский resize (вручную)\n const height = ref.current.clientHeight / ROOT_FONT_SIZE;\n if (previousHeight.current !== undefined && previousHeight.current !== height) {\n return;\n }\n\n const style = getComputedStyle(ref.current);\n const lineHeight = parseInt(style.lineHeight, 10);\n const lineHeightInRem = lineHeight / ROOT_FONT_SIZE;\n\n const minAutoHeight = minAuto ? minAuto * lineHeightInRem : 0;\n ref.current.style.height = `${minAutoHeight}rem`;\n\n const lines = Math.floor(ref.current.scrollHeight / lineHeight);\n const newScrollHeight = lines * lineHeightInRem;\n\n const maxAutoHeight = maxAuto ? maxAuto * lineHeightInRem : newScrollHeight;\n\n const newHeight = Math.min(newScrollHeight, maxAutoHeight);\n\n ref.current.style.height = `${newHeight}rem`;\n previousHeight.current = newHeight;\n }\n }, [ref, active, value, minAuto, maxAuto]);\n};\n"],"names":["ROOT_FONT_SIZE","useAutoResize","active","ref","value","minAuto","maxAuto","previousHeight","useRef","useEffect","current","height","clientHeight","undefined","style","getComputedStyle","lineHeight","parseInt","lineHeightInRem","minAutoHeight","concat","lines","Math","floor","scrollHeight","newScrollHeight","maxAutoHeight","newHeight","min"],"mappings":";;AAEO,IAAMA,cAAc,GAAG,GAAE;AAEnBC,IAAAA,aAAa,GAAG,SAAhBA,aAAaA,CACtBC,MAAe,EACfC,GAA+B,EAC/BC,KAA+C,EAC/CC,OAAgB,EAChBC,OAAgB,EACf;AACD,EAAA,IAAMC,cAAc,GAAGC,MAAM,EAAsB,CAAA;AAEnDC,EAAAA,SAAS,CAAC,YAAM;AACZ,IAAA,IAAIP,MAAM,IAAIC,GAAG,IAAIA,GAAG,CAACO,OAAO,EAAE;AAC9B;MACA,IAAMC,MAAM,GAAGR,GAAG,CAACO,OAAO,CAACE,YAAY,GAAGZ,cAAc,CAAA;MACxD,IAAIO,cAAc,CAACG,OAAO,KAAKG,SAAS,IAAIN,cAAc,CAACG,OAAO,KAAKC,MAAM,EAAE;AAC3E,QAAA,OAAA;AACJ,OAAA;AAEA,MAAA,IAAMG,KAAK,GAAGC,gBAAgB,CAACZ,GAAG,CAACO,OAAO,CAAC,CAAA;MAC3C,IAAMM,UAAU,GAAGC,QAAQ,CAACH,KAAK,CAACE,UAAU,EAAE,EAAE,CAAC,CAAA;AACjD,MAAA,IAAME,eAAe,GAAGF,UAAU,GAAGhB,cAAc,CAAA;MAEnD,IAAMmB,aAAa,GAAGd,OAAO,GAAGA,OAAO,GAAGa,eAAe,GAAG,CAAC,CAAA;MAC7Df,GAAG,CAACO,OAAO,CAACI,KAAK,CAACH,MAAM,GAAAS,EAAAA,CAAAA,MAAA,CAAMD,aAAa,EAAK,KAAA,CAAA,CAAA;AAEhD,MAAA,IAAME,KAAK,GAAGC,IAAI,CAACC,KAAK,CAACpB,GAAG,CAACO,OAAO,CAACc,YAAY,GAAGR,UAAU,CAAC,CAAA;AAC/D,MAAA,IAAMS,eAAe,GAAGJ,KAAK,GAAGH,eAAe,CAAA;MAE/C,IAAMQ,aAAa,GAAGpB,OAAO,GAAGA,OAAO,GAAGY,eAAe,GAAGO,eAAe,CAAA;MAE3E,IAAME,SAAS,GAAGL,IAAI,CAACM,GAAG,CAACH,eAAe,EAAEC,aAAa,CAAC,CAAA;MAE1DvB,GAAG,CAACO,OAAO,CAACI,KAAK,CAACH,MAAM,GAAAS,EAAAA,CAAAA,MAAA,CAAMO,SAAS,EAAK,KAAA,CAAA,CAAA;MAC5CpB,cAAc,CAACG,OAAO,GAAGiB,SAAS,CAAA;AACtC,KAAA;AACJ,GAAC,EAAE,CAACxB,GAAG,EAAED,MAAM,EAAEE,KAAK,EAAEC,OAAO,EAAEC,OAAO,CAAC,CAAC,CAAA;AAC9C;;;;"}
@@ -0,0 +1,30 @@
1
+ .Popover_styles_rmr9za_s1g1xbt5__0bafa6fb{display:inline-block;}
2
+ .Popover_styles_rmr9za_s12xwbyh__0bafa6fb{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;box-sizing:border-box;position:relative;}
3
+ .Popover_styles_rmr9za_s1pd4d8a__0bafa6fb{width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);}.Popover_styles_rmr9za_s1pd4d8a__0bafa6fb::before{position:absolute;width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);-webkit-mask-image:var(--plasma-popover-arrow-mask-image);mask-image:var(--plasma-popover-arrow-mask-image);background:var(--plasma-popover-arrow-background);content:'';-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}
4
+ .Popover_styles_rmr9za_s16xlixz__0bafa6fb{position:absolute;z-index:var(--s16xlixz-0);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{right:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{left:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));left:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));left:unset !important;right:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));left:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));left:unset !important;right:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb,.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb,.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:unset !important;bottom:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}
5
+
6
+ .Tooltip_styles_1jz4u92_teczcv4__3fe65388{padding:var(--plasma-tooltip-padding-top) var(--plasma-tooltip-padding-right) var(--plasma-tooltip-padding-bottom) var(--plasma-tooltip-padding-left);min-height:var(--plasma-tooltip-min-height);box-sizing:border-box;background-color:var(--plasma-tooltip-background-color);border-radius:var(--plasma-tooltip-border-radius);box-shadow:var(--plasma-tooltip-box-shadow);color:var(--plasma-tooltip-color);font-family:var(--plasma-tooltip-text-font-family);font-size:var(--plasma-tooltip-text-font-size);font-style:var(--plasma-tooltip-text-font-style);font-weight:var(--plasma-tooltip-text-font-weight);-webkit-letter-spacing:var(--plasma-tooltip-text-font-letter-spacing);-moz-letter-spacing:var(--plasma-tooltip-text-font-letter-spacing);-ms-letter-spacing:var(--plasma-tooltip-text-font-letter-spacing);letter-spacing:var(--plasma-tooltip-text-font-letter-spacing);line-height:var(--plasma-tooltip-text-font-line-height);max-width:var(--teczcv4-0);min-width:var(--teczcv4-1);width:-webkit-max-content;width:-moz-max-content;width:max-content;word-break:break-word;pointer-events:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.Tooltip_styles_1jz4u92_teczcv4__3fe65388.Tooltip_styles_1jz4u92_hasContentLeft__3fe65388{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}
7
+ .Tooltip_styles_1jz4u92_s1j361h1__3fe65388{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;margin-right:var(--plasma-tooltip-content-left-margin);height:var(--plasma-tooltip-text-font-line-height);}
8
+
9
+ .Tooltip_aay375_s1cz8cv8__390cdb21{--plasma-popover-arrow-mask-width:var(--plasma-tooltip-arrow-mask-width);--plasma-popover-arrow-mask-height:var(--plasma-tooltip-arrow-mask-height);--plasma-popover-arrow-mask-image:var(--plasma-tooltip-arrow-mask-image);--plasma-popover-arrow-background:var(--plasma-tooltip-arrow-background);--plasma-popover-arrow-height:var(--plasma-tooltip-arrow-height);--plasma-popover-arrow-edge-margin:var(--plasma-tooltip-arrow-edge-margin);}.Tooltip_aay375_s1cz8cv8__390cdb21.Tooltip_aay375_tooltipAnimated__390cdb21 .Tooltip_aay375_popoverRoot__390cdb21{-webkit-transition:opacity 200ms ease-in-out,visibility 200ms ease-in-out;transition:opacity 200ms ease-in-out,visibility 200ms ease-in-out;}
10
+
11
+
12
+ .TextArea_styles_1ke2ihc_o1r1fvk8__87970d35{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:var(--o1r1fvk8-0);}
13
+ .TextArea_styles_1ke2ihc_surmvwq__87970d35{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;color:var(--plasma-textarea-label-outer-color,var(--plasma-textarea-input-color));font-family:var(--plasma-textarea-label-outer-font-family,var(--plasma-textarea-input-font-family));font-size:var(--plasma-textarea-label-outer-font-size,var(--plasma-textarea-input-font-size));font-style:var(--plasma-textarea-label-outer-font-style,var(--plasma-textarea-input-font-style));font-weight:var(--plasma-textarea-label-outer-font-weight,var(--plasma-textarea-input-font-weight));-webkit-letter-spacing:var(--plasma-textarea-label-outer-letter-spacing,var(--plasma-textarea-input-letter-spacing));-moz-letter-spacing:var(--plasma-textarea-label-outer-letter-spacing,var(--plasma-textarea-input-letter-spacing));-ms-letter-spacing:var(--plasma-textarea-label-outer-letter-spacing,var(--plasma-textarea-input-letter-spacing));letter-spacing:var(--plasma-textarea-label-outer-letter-spacing,var(--plasma-textarea-input-letter-spacing));line-height:var(--plasma-textarea-label-outer-line-height,var(--plasma-textarea-input-line-height));}
14
+ .TextArea_styles_1ke2ihc_t18bd513__87970d35{display:inline-block;margin-left:auto;font-family:var(--plasma-textarea__title-caption-font-family);font-size:var(--plasma-textarea__title-caption-font-size);font-style:var(--plasma-textarea__title-caption-font-style);font-weight:var(--plasma-textarea__title-caption-font-weight);-webkit-letter-spacing:var(--plasma-textarea__title-caption-letter-spacing);-moz-letter-spacing:var(--plasma-textarea__title-caption-letter-spacing);-ms-letter-spacing:var(--plasma-textarea__title-caption-letter-spacing);letter-spacing:var(--plasma-textarea__title-caption-letter-spacing);line-height:var(--plasma-textarea__title-caption-line-height);}
15
+ .TextArea_styles_1ke2ihc_s7alcr2__87970d35{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
16
+ .TextArea_styles_1ke2ihc_si9oz50__87970d35{color:var(--plasma-textarea__optional-color);font-family:var(--si9oz50-0);font-size:var(--si9oz50-1);font-style:var(--si9oz50-2);font-weight:var(--si9oz50-3);-webkit-letter-spacing:var(--si9oz50-4);-moz-letter-spacing:var(--si9oz50-4);-ms-letter-spacing:var(--si9oz50-4);letter-spacing:var(--si9oz50-4);line-height:var(--si9oz50-5);}
17
+ .TextArea_styles_1ke2ihc_s18tpn65__87970d35{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;line-height:0;margin:var(--plasma-textarea__hint-margin);}.TextArea_styles_1ke2ihc_s18tpn65__87970d35.TextArea_styles_1ke2ihc_labelPlacementInner__87970d35{position:absolute;margin:0;inset:var(--plasma-textarea__hint-inner-label-placement-offset);}
18
+ .TextArea_styles_1ke2ihc_h19sfsrt__87970d35{color:var(--plasma-textarea__hint-icon-color);width:var(--plasma-textarea__hint-target-size);height:var(--plasma-textarea__hint-target-size);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
19
+
20
+ .TextArea_styles_1ke2ihc_s3wsw3p__87970d35{background-color:var(--plasma-textarea-input-background-color);padding-top:var(--plasma-textarea-input-padding-top);padding-bottom:var(--s3wsw3p-0);border-radius:var(--s3wsw3p-1);}
21
+ .TextArea_styles_1ke2ihc_stc5t23__87970d35{position:absolute;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;bottom:0;z-index:1;color:var(--plasma-textarea-right-content-color,var(--plasma-textarea-input-color));top:var(--plasma-textarea-right-content-top);right:var(--plasma-textarea-right-content-right);height:var(--plasma-textarea-right-content-height);}
22
+ .TextArea_styles_1ke2ihc_salwx57__87970d35{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:var(--salwx57-0);position:relative;}
23
+ .TextArea_styles_1ke2ihc_s18lndvq__87970d35{display:block;box-sizing:border-box;outline:none;border:none;-webkit-appearance:none;background-color:transparent;color:var(--plasma-textarea-input-color);caret-color:var(--plasma-textarea-input-caret-color);resize:var(--s18lndvq-0);--plasma_private-textarea-height:var(--s18lndvq-1);--plasma_private-textarea-width:var(--s18lndvq-2);--plasma_private-textarea-computed-height:var(--s18lndvq-3);--plasma_private-textarea-computed-width:var(--s18lndvq-4);height:var(--plasma_private-textarea-computed-height);width:var(--plasma_private-textarea-computed-width);min-width:var(--s18lndvq-5);max-width:var(--s18lndvq-5);min-height:var(--plasma-textarea-input-min-height);padding-right:var(--s18lndvq-6);padding-left:var(--plasma-textarea-input-padding-left);padding-top:0;padding-bottom:0;--plasma_private-textarea-helpers-computed-height:calc( var(--plasma-textarea-helpers-padding-top) + var(--plasma-textarea-helpers-padding-bottom) + var(--plasma-textarea-helpers-line-height) );--plasma_private-textarea-input-with-helpers-height:calc( var(--plasma_private-textarea-height) - var(--plasma_private-textarea-helpers-computed-height) + var(--plasma-textarea-helpers-offset) );--plasma_private-textarea-input-without-helpers-height:calc( var(--plasma_private-textarea-computed-height) - var(--plasma-textarea-input-padding-bottom) );--plasma_private-textarea-input-actual-height:var(--s18lndvq-7);height:var(--plasma_private-textarea-input-actual-height);font-family:var(--plasma-textarea-input-font-family);font-size:var(--plasma-textarea-input-font-size);font-style:var(--plasma-textarea-input-font-style);font-weight:var(--plasma-textarea-input-font-weight);-webkit-letter-spacing:var(--plasma-textarea-input-letter-spacing);-moz-letter-spacing:var(--plasma-textarea-input-letter-spacing);-ms-letter-spacing:var(--plasma-textarea-input-letter-spacing);letter-spacing:var(--plasma-textarea-input-letter-spacing);line-height:var(--plasma-textarea-input-line-height);}.TextArea_styles_1ke2ihc_s18lndvq__87970d35::-webkit-input-placeholder{opacity:0;}.TextArea_styles_1ke2ihc_s18lndvq__87970d35::-moz-placeholder{opacity:0;}.TextArea_styles_1ke2ihc_s18lndvq__87970d35:-ms-input-placeholder{opacity:0;}.TextArea_styles_1ke2ihc_s18lndvq__87970d35::placeholder{opacity:0;}.TextArea_styles_1ke2ihc_s18lndvq__87970d35:-moz-read-only{cursor:default;}.TextArea_styles_1ke2ihc_s18lndvq__87970d35:read-only{cursor:default;}.TextArea_styles_1ke2ihc_s18lndvq__87970d35:focus:not(:disabled){color:var(--plasma-textarea-input-color-focus);}.TextArea_styles_1ke2ihc_s18lndvq__87970d35::-webkit-scrollbar{width:var(--plasma-textarea-scrollbar-width);}.TextArea_styles_1ke2ihc_s18lndvq__87970d35::-webkit-scrollbar-thumb{background-color:var(--plasma-textarea-scrollbar-thumb-background-color);background-clip:content-box;border:var(--plasma-textarea-scrollbar-border-width) solid transparent;border-radius:1rem;}.TextArea_styles_1ke2ihc_s18lndvq__87970d35::-webkit-scrollbar-track{background-color:var(--plasma-textarea-scrollbar-track-background-color);background-clip:content-box;border:var(--plasma-textarea-scrollbar-border-width) solid transparent;border-radius:1rem;}
24
+ .TextArea_styles_1ke2ihc_s183p45n__87970d35{box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-transition:background-color 0.1s ease-in-out;transition:background-color 0.1s ease-in-out;background-color:var(--plasma-textarea-helpers-background-color);padding-top:var(--plasma-textarea-helpers-padding-top);padding-right:var(--plasma-textarea-helpers-padding-right);padding-bottom:var(--plasma-textarea-helpers-padding-bottom);padding-left:var(--plasma-textarea-helpers-padding-left);border-bottom-left-radius:var(--plasma-textarea-border-radius);border-bottom-right-radius:var(--plasma-textarea-border-radius);}
25
+ .TextArea_styles_1ke2ihc_snf439a__87970d35{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;font-family:var(--plasma-textarea-helpers-font-family);font-size:var(--plasma-textarea-helpers-font-size);font-style:var(--plasma-textarea-helpers-font-style);font-weight:var(--plasma-textarea-helpers-font-weight);-webkit-letter-spacing:var(--plasma-textarea-helpers-letter-spacing);-moz-letter-spacing:var(--plasma-textarea-helpers-letter-spacing);-ms-letter-spacing:var(--plasma-textarea-helpers-letter-spacing);letter-spacing:var(--plasma-textarea-helpers-letter-spacing);line-height:var(--plasma-textarea-helpers-line-height);color:var(--plasma-textarea-left-helper-color);}
26
+ .TextArea_styles_1ke2ihc_suev9vb__87970d35.TextArea_styles_1ke2ihc_snf439a__87970d35{color:var(--plasma-textarea-right-helper-color);margin-left:auto;}
27
+ .TextArea_styles_1ke2ihc_s7jal92__87970d35{box-sizing:border-box;position:absolute;pointer-events:none;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transition:all 0.1s ease-in-out;transition:all 0.1s ease-in-out;-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;color:var(--plasma-textarea-placeholder-color);width:100%;height:auto;top:var(--plasma-textarea-input-padding-top);padding-left:var(--plasma-textarea-input-padding-left);padding-right:var(--s7jal92-0);font-family:var(--plasma-textarea-input-font-family);font-size:var(--plasma-textarea-input-font-size);font-style:var(--plasma-textarea-input-font-style);font-weight:var(--plasma-textarea-input-font-weight);-webkit-letter-spacing:var(--plasma-textarea-input-letter-spacing);-moz-letter-spacing:var(--plasma-textarea-input-letter-spacing);-ms-letter-spacing:var(--plasma-textarea-input-letter-spacing);letter-spacing:var(--plasma-textarea-input-letter-spacing);line-height:var(--plasma-textarea-input-line-height);}
28
+ .TextArea_styles_1ke2ihc_s11kd6xq__87970d35{position:absolute;border-radius:50%;background-color:var(--plasma-textarea-indicator-color);}.TextArea_styles_1ke2ihc_s11kd6xq__87970d35.TextArea_styles_1ke2ihc_labelPlacementOuter__87970d35{width:var(--plasma-textarea-indicator-size-outer);height:var(--plasma-textarea-indicator-size-outer);inset:var(--plasma-textarea-indicator-placement-outer);}.TextArea_styles_1ke2ihc_s11kd6xq__87970d35.TextArea_styles_1ke2ihc_labelPlacementOuter__87970d35.TextArea_styles_1ke2ihc_requiredAlignRight__87970d35{inset:var(--plasma-textarea-indicator-placement-outer-right);}.TextArea_styles_1ke2ihc_s11kd6xq__87970d35.TextArea_styles_1ke2ihc_labelPlacementOuter__87970d35.TextArea_styles_1ke2ihc_requiredAlignRight__87970d35.TextArea_styles_1ke2ihc_textareaHasHint__87970d35{right:calc(-1 * var(--plasma-textarea-indicator-size-outer));}.TextArea_styles_1ke2ihc_s11kd6xq__87970d35.TextArea_styles_1ke2ihc_labelPlacementInner__87970d35{width:var(--plasma-textarea-indicator-size-inner);height:var(--plasma-textarea-indicator-size-inner);inset:var(--plasma-textarea-indicator-placement-inner);}.TextArea_styles_1ke2ihc_s11kd6xq__87970d35.TextArea_styles_1ke2ihc_labelPlacementInner__87970d35.TextArea_styles_1ke2ihc_requiredAlignRight__87970d35{inset:var(--plasma-textarea-indicator-placement-inner-right);}
29
+
30
+ .IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
@@ -0,0 +1,48 @@
1
+ import { extends as _extends } from '../../../../_virtual/_rollupPluginBabelHelpers.js';
2
+ import React, { forwardRef } from 'react';
3
+ import { Hint, HintTargetWrapper, HintIconWrapper } from '../../TextArea.styles.js';
4
+ import { safeUseId } from '../../../../utils/react.js';
5
+ import { IconInfoCircleOutline } from '../../../_Icon/Icons/IconInfoCircleOutline.js';
6
+
7
+ var _IconInfoCircleOutlin;
8
+ var HintComponent = /*#__PURE__*/forwardRef(function (_ref, ref) {
9
+ var hintText = _ref.hintText,
10
+ isHintVisible = _ref.isHintVisible,
11
+ hintTrigger = _ref.hintTrigger,
12
+ hintTargetIcon = _ref.hintTargetIcon,
13
+ hintPlacement = _ref.hintPlacement,
14
+ hintHasArrow = _ref.hintHasArrow,
15
+ hintOffset = _ref.hintOffset,
16
+ hintWidth = _ref.hintWidth,
17
+ hintContentLeft = _ref.hintContentLeft,
18
+ handleHintShow = _ref.handleHintShow,
19
+ handleHintHide = _ref.handleHintHide,
20
+ handleHintClick = _ref.handleHintClick;
21
+ var hintId = safeUseId();
22
+ return /*#__PURE__*/React.createElement(Hint, {
23
+ ref: ref,
24
+ text: String(hintText),
25
+ opened: isHintVisible,
26
+ target: /*#__PURE__*/React.createElement(HintTargetWrapper, null, /*#__PURE__*/React.createElement(HintIconWrapper, _extends({
27
+ id: hintId
28
+ }, hintTrigger === 'hover' ? {
29
+ onMouseEnter: handleHintShow,
30
+ onMouseLeave: handleHintHide
31
+ } : {
32
+ onClick: handleHintClick
33
+ }), hintTargetIcon || _IconInfoCircleOutlin || (_IconInfoCircleOutlin = /*#__PURE__*/React.createElement(IconInfoCircleOutline, {
34
+ size: "xs",
35
+ color: "inherit"
36
+ })))),
37
+ placement: hintPlacement,
38
+ hasArrow: hintHasArrow,
39
+ offset: hintOffset,
40
+ minWidth: hintWidth,
41
+ maxWidth: hintWidth,
42
+ contentLeft: hintContentLeft,
43
+ frame: hintId
44
+ });
45
+ });
46
+
47
+ export { HintComponent };
48
+ //# sourceMappingURL=Hint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Hint.js","sources":["../../../../../src/components/TextArea/ui/Hint/Hint.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { Hint, HintIconWrapper, HintTargetWrapper } from '../../TextArea.styles';\nimport { IconInfoCircleOutline } from '../../../_Icon';\nimport { safeUseId } from '../../../../utils';\n\nimport type { TextAreaHintProps } from './Hint.types';\n\nexport const HintComponent = forwardRef<HTMLDivElement, TextAreaHintProps>(\n (\n {\n hintText,\n isHintVisible,\n hintTrigger,\n hintTargetIcon,\n hintPlacement,\n hintHasArrow,\n hintOffset,\n hintWidth,\n hintContentLeft,\n handleHintShow,\n handleHintHide,\n handleHintClick,\n },\n ref,\n ) => {\n const hintId = safeUseId();\n\n return (\n <Hint\n ref={ref}\n text={String(hintText)}\n opened={isHintVisible}\n target={\n <HintTargetWrapper>\n <HintIconWrapper\n id={hintId}\n {...(hintTrigger === 'hover'\n ? {\n onMouseEnter: handleHintShow,\n onMouseLeave: handleHintHide,\n }\n : { onClick: handleHintClick })}\n >\n {hintTargetIcon || <IconInfoCircleOutline size=\"xs\" color=\"inherit\" />}\n </HintIconWrapper>\n </HintTargetWrapper>\n }\n placement={hintPlacement}\n hasArrow={hintHasArrow}\n offset={hintOffset}\n minWidth={hintWidth}\n maxWidth={hintWidth}\n contentLeft={hintContentLeft}\n frame={hintId}\n />\n );\n },\n);\n"],"names":["HintComponent","forwardRef","_ref","ref","hintText","isHintVisible","hintTrigger","hintTargetIcon","hintPlacement","hintHasArrow","hintOffset","hintWidth","hintContentLeft","handleHintShow","handleHintHide","handleHintClick","hintId","safeUseId","React","createElement","Hint","text","String","opened","target","HintTargetWrapper","HintIconWrapper","_extends","id","onMouseEnter","onMouseLeave","onClick","_IconInfoCircleOutlin","IconInfoCircleOutline","size","color","placement","hasArrow","offset","minWidth","maxWidth","contentLeft","frame"],"mappings":";;;;;;;AAQO,IAAMA,aAAa,gBAAGC,UAAU,CACnC,UAAAC,IAAA,EAeIC,GAAG,EACF;AAAA,EAAA,IAdGC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;IACRC,aAAa,GAAAH,IAAA,CAAbG,aAAa;IACbC,WAAW,GAAAJ,IAAA,CAAXI,WAAW;IACXC,cAAc,GAAAL,IAAA,CAAdK,cAAc;IACdC,aAAa,GAAAN,IAAA,CAAbM,aAAa;IACbC,YAAY,GAAAP,IAAA,CAAZO,YAAY;IACZC,UAAU,GAAAR,IAAA,CAAVQ,UAAU;IACVC,SAAS,GAAAT,IAAA,CAATS,SAAS;IACTC,eAAe,GAAAV,IAAA,CAAfU,eAAe;IACfC,cAAc,GAAAX,IAAA,CAAdW,cAAc;IACdC,cAAc,GAAAZ,IAAA,CAAdY,cAAc;IACdC,eAAe,GAAAb,IAAA,CAAfa,eAAe,CAAA;AAInB,EAAA,IAAMC,MAAM,GAAGC,SAAS,EAAE,CAAA;AAE1B,EAAA,oBACIC,KAAA,CAAAC,aAAA,CAACC,IAAI,EAAA;AACDjB,IAAAA,GAAG,EAAEA,GAAI;AACTkB,IAAAA,IAAI,EAAEC,MAAM,CAAClB,QAAQ,CAAE;AACvBmB,IAAAA,MAAM,EAAElB,aAAc;AACtBmB,IAAAA,MAAM,eACFN,KAAA,CAAAC,aAAA,CAACM,iBAAiB,EACdP,IAAAA,eAAAA,KAAA,CAAAC,aAAA,CAACO,eAAe,EAAAC,QAAA,CAAA;AACZC,MAAAA,EAAE,EAAEZ,MAAAA;KACCV,EAAAA,WAAW,KAAK,OAAO,GACtB;AACIuB,MAAAA,YAAY,EAAEhB,cAAc;AAC5BiB,MAAAA,YAAY,EAAEhB,cAAAA;AAClB,KAAC,GACD;AAAEiB,MAAAA,OAAO,EAAEhB,eAAAA;KAAiB,CAAA,EAEjCR,cAAc,IAAAyB,qBAAA,KAAAA,qBAAA,gBAAId,KAAA,CAAAC,aAAA,CAACc,qBAAqB,EAAA;AAACC,MAAAA,IAAI,EAAC,IAAI;AAACC,MAAAA,KAAK,EAAC,SAAA;KAAW,CAAC,CACzD,CACF,CACtB;AACDC,IAAAA,SAAS,EAAE5B,aAAc;AACzB6B,IAAAA,QAAQ,EAAE5B,YAAa;AACvB6B,IAAAA,MAAM,EAAE5B,UAAW;AACnB6B,IAAAA,QAAQ,EAAE5B,SAAU;AACpB6B,IAAAA,QAAQ,EAAE7B,SAAU;AACpB8B,IAAAA,WAAW,EAAE7B,eAAgB;AAC7B8B,IAAAA,KAAK,EAAE1B,MAAAA;AAAO,GACjB,CAAC,CAAA;AAEV,CACJ;;;;"}
@@ -1,4 +1,4 @@
1
- import './base_vidplj.css';
1
+ import './base_iz2qkw.css';
2
2
  var base = "b1x0cx6o";
3
3
 
4
4
  export { base };
@@ -1 +1 @@
1
- {"version":3,"file":"base.js","sources":["../../../../../src/components/TextArea/variations/_clear/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../TextArea.tokens';\nimport {\n StyledContainer,\n StyledContent,\n StyledHelpers,\n StyledIndicator,\n StyledLabel,\n StyledPlaceholder,\n StyledTextArea,\n StyledTextAreaWrapper,\n} from '../../TextArea.styles';\n\nexport const base = css`\n &.${classes.clear} {\n border: unset;\n\n ${StyledTextAreaWrapper} {\n box-shadow: unset;\n background-color: unset;\n border-radius: 0;\n padding-bottom: var(${tokens.inputPaddingTop});\n }\n\n ${StyledLabel} {\n margin-bottom: var(${tokens.clearLabelMarginBottom});\n }\n\n ${StyledContent} {\n right: 0;\n bottom: unset;\n }\n\n ${StyledTextArea}, ${StyledHelpers} {\n padding-left: 0;\n }\n\n ${StyledHelpers} {\n background-color: unset;\n border-radius: 0;\n padding-top: var(${tokens.clearHelpersPaddingTop});\n padding-right: 0;\n }\n\n ${StyledTextArea} {\n color: var(${tokens.clearInputColor});\n padding-right: 0;\n\n &.${classes.hasRightContent} {\n padding-right: var(${tokens.clearInputPaddingRightWithRightContent});\n }\n }\n\n ${StyledContainer} {\n &:not(.${classes.innerPlaceholderUp}) {\n ${StyledPlaceholder} {\n color: var(${tokens.clearPlaceholderColor});\n }\n\n &.${classes.focusedOuterPlaceholderColor} ${StyledPlaceholder} {\n color: var(${tokens.clearPlaceholderColorFocus});\n }\n }\n\n &.${classes.innerPlaceholderUp} {\n color: var(${tokens.placeholderColor});\n }\n }\n\n ${StyledPlaceholder} {\n padding-left: 0;\n }\n\n ${StyledIndicator} {\n &.${classes.innerLabelPlacement} {\n inset: var(${tokens.clearIndicatorLabelPlacementInner});\n &.align-right {\n inset: var(${tokens.clearIndicatorLabelPlacementInnerRight});\n }\n }\n }\n\n .${classes.styledContainer} {\n border: unset;\n border-radius: 0;\n }\n\n &:focus-within:not([readonly]) .${classes.styledTextAreaWrapper} {\n background-color: unset;\n box-shadow: unset;\n }\n\n &:focus-within:not([readonly]) .${classes.styledContainer} {\n border: unset;\n }\n\n &:focus-within:not([readonly]) .${classes.styledHelpers} {\n background-color: unset;\n }\n\n &.${classes.hasDivider} {\n ${StyledTextAreaWrapper} {\n position: relative;\n\n --plasma_private-textarea-divider-color: var(${String(tokens.dividerColor)});\n\n &:before {\n content: '';\n position: absolute;\n height: 0.063rem;\n width: 100%;\n bottom: 0;\n left: 0;\n background-color: var(--plasma_private-textarea-divider-color);\n transition: background-color 0.1s ease-in;\n }\n }\n &:not([readonly]) ${StyledTextAreaWrapper}:hover {\n --plasma_private-textarea-divider-color: var(\n ${tokens.dividerColorHover},\n var(${String(tokens.dividerColor)})\n );\n }\n &:not([readonly]) ${StyledTextAreaWrapper}:focus-within {\n --plasma_private-textarea-divider-color: var(\n ${tokens.dividerColorFocus},\n var(${String(tokens.dividerColor)})\n );\n }\n }\n }\n`;\n"],"names":["base"],"mappings":"AAcO,IAAMA,IAAI,GAsHhB;;;;"}
1
+ {"version":3,"file":"base.js","sources":["../../../../../src/components/TextArea/variations/_clear/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../TextArea.tokens';\nimport {\n OuterLabelWrapper,\n StyledContainer,\n StyledContent,\n StyledHelpers,\n StyledHintWrapper,\n StyledIndicator,\n StyledPlaceholder,\n StyledTextArea,\n StyledTextAreaWrapper,\n} from '../../TextArea.styles';\n\nexport const base = css`\n &.${classes.clear} {\n border: unset;\n\n ${StyledTextAreaWrapper} {\n box-shadow: unset;\n background-color: unset;\n border-radius: 0;\n padding-bottom: var(${tokens.inputPaddingTop});\n }\n\n ${OuterLabelWrapper} {\n margin-bottom: var(${tokens.clearLabelMarginBottom});\n }\n\n ${StyledContent} {\n right: 0;\n bottom: unset;\n }\n\n ${StyledTextArea}, ${StyledHelpers} {\n padding-left: 0;\n }\n\n ${StyledHelpers} {\n background-color: unset;\n border-radius: 0;\n padding-top: var(${tokens.clearHelpersPaddingTop});\n padding-right: 0;\n }\n\n ${StyledTextArea} {\n color: var(${tokens.clearInputColor});\n padding-right: 0;\n\n &.${classes.hasRightContent} {\n padding-right: var(${tokens.clearInputPaddingRightWithRightContent});\n }\n }\n\n ${StyledContainer} {\n &:not(.${classes.innerPlaceholderUp}) {\n ${StyledPlaceholder} {\n color: var(${tokens.clearPlaceholderColor});\n }\n\n &.${classes.focusedOuterPlaceholderColor} ${StyledPlaceholder} {\n color: var(${tokens.clearPlaceholderColorFocus});\n }\n }\n\n &.${classes.innerPlaceholderUp} {\n color: var(${tokens.placeholderColor});\n }\n }\n\n ${StyledPlaceholder} {\n padding-left: 0;\n }\n\n ${StyledIndicator} {\n &.${classes.innerLabelPlacement} {\n inset: var(${tokens.clearIndicatorLabelPlacementInner});\n &.${classes.requiredAlignRight} {\n inset: var(${tokens.clearIndicatorLabelPlacementInnerRight});\n }\n }\n }\n\n &.${classes.hasHint} {\n ${StyledHintWrapper} {\n &.${classes.innerLabelPlacement} {\n inset: var(${tokens.clearHintInnerLabelPlacementOffset});\n }\n }\n\n ${StyledIndicator} {\n &.${classes.innerLabelPlacement}.${classes.requiredAlignRight} {\n inset: var(${tokens.clearIndicatorHintInnerRight});\n }\n }\n }\n\n .${classes.styledContainer} {\n border: unset;\n border-radius: 0;\n }\n\n &:focus-within:not([readonly]) .${classes.styledTextAreaWrapper} {\n background-color: unset;\n box-shadow: unset;\n }\n\n &:focus-within:not([readonly]) .${classes.styledContainer} {\n border: unset;\n }\n\n &:focus-within:not([readonly]) .${classes.styledHelpers} {\n background-color: unset;\n }\n\n &.${classes.hasDivider} {\n ${StyledTextAreaWrapper} {\n position: relative;\n\n --plasma_private-textarea-divider-color: var(${String(tokens.dividerColor)});\n\n &:before {\n content: '';\n position: absolute;\n height: 0.063rem;\n width: 100%;\n bottom: 0;\n left: 0;\n background-color: var(--plasma_private-textarea-divider-color);\n transition: background-color 0.1s ease-in;\n }\n }\n &:not([readonly]) ${StyledTextAreaWrapper}:hover {\n --plasma_private-textarea-divider-color: var(\n ${tokens.dividerColorHover},\n var(${String(tokens.dividerColor)})\n );\n }\n &:not([readonly]) ${StyledTextAreaWrapper}:focus-within {\n --plasma_private-textarea-divider-color: var(\n ${tokens.dividerColorFocus},\n var(${String(tokens.dividerColor)})\n );\n }\n }\n }\n`;\n"],"names":["base"],"mappings":"AAeO,IAAMA,IAAI,GAoIhB;;;;"}
@@ -0,0 +1 @@
1
+ .b1x0cx6o.textarea-clear{border:unset;}.b1x0cx6o.textarea-clear .s3wsw3p{box-shadow:unset;background-color:unset;border-radius:0;padding-bottom:var(--plasma-textarea-input-padding-top);}.b1x0cx6o.textarea-clear .o1r1fvk8{margin-bottom:var(--plasma-textarea-clear-label-margin-bottom);}.b1x0cx6o.textarea-clear .stc5t23{right:0;bottom:unset;}.b1x0cx6o.textarea-clear .s18lndvq,.b1x0cx6o.textarea-clear .s183p45n{padding-left:0;}.b1x0cx6o.textarea-clear .s183p45n{background-color:unset;border-radius:0;padding-top:var(--plasma-textarea-clear-helpers-padding-top);padding-right:0;}.b1x0cx6o.textarea-clear .s18lndvq{color:var(--plasma-textarea-input-clear-color);padding-right:0;}.b1x0cx6o.textarea-clear .s18lndvq.textarea-has-right-content{padding-right:var(--plasma-textarea-clear-input-padding-right-with-right-content);}.b1x0cx6o.textarea-clear .salwx57:not(.inner-placeholder-up) .s7jal92{color:var(--plasma-textarea-clear-placeholder-color);}.b1x0cx6o.textarea-clear .salwx57:not(.inner-placeholder-up).focused-outer-placeholder-color .s7jal92{color:var(--plasma-textarea-clear-placeholder-color-focus);}.b1x0cx6o.textarea-clear .salwx57.inner-placeholder-up{color:var(--plasma-textarea-placeholder-color);}.b1x0cx6o.textarea-clear .s7jal92{padding-left:0;}.b1x0cx6o.textarea-clear .s11kd6xq.label-placement-inner{inset:var(--plasma-textarea__clear-indicator-placement-inner);}.b1x0cx6o.textarea-clear .s11kd6xq.label-placement-inner.required-align-right{inset:var(--plasma-textarea__clear-indicator-placement-inner-right);}.b1x0cx6o.textarea-clear.textarea-has-hint .s18tpn65.label-placement-inner{inset:var(--plasma-textarea__clear-hint-inner-label-placement-offset);}.b1x0cx6o.textarea-clear.textarea-has-hint .s11kd6xq.label-placement-inner.required-align-right{inset:var(--plasma-textarea__clear-indicator-hint-placement-inner-right);}.b1x0cx6o.textarea-clear .textarea-container{border:unset;border-radius:0;}.b1x0cx6o.textarea-clear:focus-within:not([readonly]) .textarea-wrapper{background-color:unset;box-shadow:unset;}.b1x0cx6o.textarea-clear:focus-within:not([readonly]) .textarea-container{border:unset;}.b1x0cx6o.textarea-clear:focus-within:not([readonly]) .textarea-helpers{background-color:unset;}.b1x0cx6o.textarea-clear.textarea-has-divider .s3wsw3p{position:relative;--plasma_private-textarea-divider-color:var(--plasma-textarea-divider-color);}.b1x0cx6o.textarea-clear.textarea-has-divider .s3wsw3p:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textarea-divider-color);-webkit-transition:background-color 0.1s ease-in;transition:background-color 0.1s ease-in;}.b1x0cx6o.textarea-clear.textarea-has-divider:not([readonly]) .s3wsw3p:hover{--plasma_private-textarea-divider-color:var( --plasma-textarea-divider-color-hover, var(--plasma-textarea-divider-color) );}.b1x0cx6o.textarea-clear.textarea-has-divider:not([readonly]) .s3wsw3p:focus-within{--plasma_private-textarea-divider-color:var( --plasma-textarea-divider-color-focus, var(--plasma-textarea-divider-color) );}
@@ -1,5 +1,5 @@
1
- import './base_14x17ie.css';
2
- var base = "b5l3t3q";
1
+ import './base_1ipgv90.css';
2
+ var base = "bfm7p1t";
3
3
 
4
4
  export { base };
5
5
  //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sources":["../../../../../src/components/TextArea/variations/_hint-size/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tooltipTokens } from '../../../Tooltip';\nimport { tokens } from '../../TextArea.tokens';\nimport { Hint } from '../../TextArea.styles';\n\nexport const base = css`\n ${Hint} {\n ${tooltipTokens.paddingTop}: var(${tokens.tooltipPaddingTop});\n ${tooltipTokens.paddingRight}: var(${tokens.tooltipPaddingRight});\n ${tooltipTokens.paddingBottom}: var(${tokens.tooltipPaddingBottom});\n ${tooltipTokens.paddingLeft}: var(${tokens.tooltipPaddingLeft});\n\n ${tooltipTokens.minHeight}: var(${tokens.tooltipMinHeight});\n ${tooltipTokens.borderRadius}: var(${tokens.tooltipBorderRadius});\n\n ${tooltipTokens.textFontFamily}: var(${tokens.tooltipTextFontFamily});\n ${tooltipTokens.textFontSize}: var(${tokens.tooltipTextFontSize});\n ${tooltipTokens.textFontStyle}: var(${tokens.tooltipTextFontStyle});\n ${tooltipTokens.textFontWeight}: var(${tokens.tooltipTextFontWeight});\n ${tooltipTokens.textFontLetterSpacing}: var(${tokens.tooltipTextFontLetterSpacing});\n ${tooltipTokens.textFontLineHeight}: var(${tokens.tooltipTextFontLineHeight});\n\n ${tooltipTokens.contentLeftMargin}: var(${tokens.tooltipContentLeftMargin});\n\n ${tooltipTokens.arrowMaskWidth}: var(${tokens.tooltipArrowMaskWidth});\n ${tooltipTokens.arrowMaskHeight}: var(${tokens.tooltipArrowMaskHeight});\n ${tooltipTokens.arrowMaskImage}: var(${tokens.tooltipArrowMaskImage});\n ${tooltipTokens.arrowHeight}: var(${tokens.tooltipArrowHeight});\n ${tooltipTokens.arrowEdgeMargin}: var(${tokens.tooltipArrowEdgeMargin});\n ${tooltipTokens.arrowBackground}: var(${tokens.tooltipArrowBackground});\n }\n`;\n"],"names":["base"],"mappings":"AAMO,IAAMA,IAAI,GA0BhB;;;;"}
@@ -0,0 +1 @@
1
+ .bfm7p1t .h1luq7vd{--plasma-tooltip-padding-top:var(--plasma-textarea__tooltip-padding-top);--plasma-tooltip-padding-right:var(--plasma-textarea__tooltip-padding-right);--plasma-tooltip-padding-bottom:var(--plasma-textarea__tooltip-padding-bottom);--plasma-tooltip-padding-left:var(--plasma-textarea__tooltip-padding-left);--plasma-tooltip-min-height:var(--plasma-textarea__tooltip-min-height);--plasma-tooltip-border-radius:var(--plasma-textarea__tooltip-border-radius);--plasma-tooltip-text-font-family:var(--plasma-textarea__tooltip-text-font-family);--plasma-tooltip-text-font-size:var(--plasma-textarea__tooltip-text-font-size);--plasma-tooltip-text-font-style:var(--plasma-textarea__tooltip-text-font-style);--plasma-tooltip-text-font-weight:var(--plasma-textarea__tooltip-text-font-weight);--plasma-tooltip-text-font-letter-spacing:var(--plasma-textarea__tooltip-text-font-letter-spacing);--plasma-tooltip-text-font-line-height:var(--plasma-textarea__tooltip-text-font-line-height);--plasma-tooltip-content-left-margin:var(--plasma-textarea__tooltip-content-left-margin);--plasma-tooltip-arrow-mask-width:var(--plasma-textarea__tooltip-arrow-mask-width);--plasma-tooltip-arrow-mask-height:var(--plasma-textarea__tooltip-arrow-mask-height);--plasma-tooltip-arrow-mask-image:var(--plasma-textarea__tooltip-arrow-mask-image);--plasma-tooltip-arrow-height:var(--plasma-textarea__tooltip-arrow-height);--plasma-tooltip-arrow-edge-margin:var(--plasma-textarea__tooltip-arrow-edge-margin);--plasma-tooltip-arrow-background:var(--plasma-textarea__tooltip-arrow-background);}
@@ -0,0 +1,5 @@
1
+ import './base_111a0qe.css';
2
+ var base = "b193dn9j";
3
+
4
+ export { base };
5
+ //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sources":["../../../../../src/components/TextArea/variations/_hint-view/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tooltipTokens } from '../../../Tooltip';\nimport { Hint } from '../../TextArea.styles';\nimport { tokens } from '../../TextArea.tokens';\n\nexport const base = css`\n ${Hint} {\n ${tooltipTokens.backgroundColor}: var(${tokens.tooltipBackgroundColor});\n ${tooltipTokens.boxShadow}: var(${tokens.tooltipBoxShadow});\n ${tooltipTokens.color}: var(${tokens.tooltipColor});\n }\n`;\n"],"names":["base"],"mappings":"AAMO,IAAMA,IAAI,GAMhB;;;;"}
@@ -0,0 +1 @@
1
+ .b193dn9j .h1luq7vd{--plasma-tooltip-background-color:var(--plasma-textarea__tooltip-background-color);--plasma-tooltip-box-shadow:var(--plasma-textarea__tooltip-box-shadow);--plasma-tooltip-color:var(--plasma-textarea__tooltip-color);}
@@ -1,4 +1,4 @@
1
- import './base_td55th.css';
1
+ import './base_1xgrm3x.css';
2
2
  var base = "bofyi4a";
3
3
 
4
4
  export { base };
@@ -1 +1 @@
1
- {"version":3,"file":"base.js","sources":["../../../../../src/components/TextArea/variations/_view/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens, classes } from '../../TextArea.tokens';\n\nconst { styledContainer, styledTextAreaWrapper, styledHelpers } = classes;\n\nconst exclusionSelectors = `not(.${classes.clear}):not([disabled]):not([readonly]):not(:focus-within)`;\n\nexport const base = css`\n .${String(styledContainer)} {\n transition: box-shadow 0.1s ease-in-out;\n border-radius: var(${tokens.borderRadius});\n border: var(${tokens.borderSize}) solid var(${tokens.borderColor});\n }\n\n .${String(styledTextAreaWrapper)} {\n transition: background-color 0.1s ease-in-out, box-shadow 0.1s ease-in-out;\n box-shadow: inset 0 0 0 var(${tokens.borderSize}, 1px) var(${tokens.inputBorderColor});\n\n /* INFO: Отступ справа, чтобы scrollbar не перекрывал рамку */\n padding-right: var(${tokens.borderSize}, 1px);\n }\n\n &:focus-within:not([readonly]) .${String(styledTextAreaWrapper)} {\n background-color: var(${tokens.inputBackgroundColorFocus});\n box-shadow: inset 0 0 0 var(${tokens.borderSize}, 1px) var(${tokens.inputBorderColorFocus});\n }\n\n &:focus-within:not([readonly]) .${String(styledContainer)} {\n border: var(${tokens.borderSize}) solid var(${tokens.borderColorFocus});\n }\n\n &:focus-within:not([readonly]) .${String(styledHelpers)} {\n background-color: var(${tokens.helpersBackgroundColorFocus});\n }\n\n &:hover:${exclusionSelectors} .${String(styledContainer)} {\n border: var(${tokens.borderSize}) solid var(${tokens.borderColorHover});\n }\n\n &:hover:${exclusionSelectors} .${String(styledTextAreaWrapper)} {\n box-shadow: inset 0 0 0 var(${tokens.borderSize}, 1px) var(${tokens.inputBorderColorHover});\n background-color: var(${tokens.inputBackgroundColorHover});\n }\n\n &:hover:${exclusionSelectors} .${String(styledTextAreaWrapper)} + .${String(styledHelpers)} {\n background-color: var(${tokens.helpersBackgroundColorHover});\n }\n\n &:active:${exclusionSelectors} .${String(styledTextAreaWrapper)} {\n box-shadow: inset 0 0 0 var(${tokens.borderSize}, 1px) var(${tokens.inputBorderColorActive});\n background-color: var(${tokens.inputBackgroundColorActive});\n }\n\n &:active:${exclusionSelectors} .${String(styledTextAreaWrapper)} + .${String(styledHelpers)} {\n background-color: var(${tokens.helpersBackgroundColorActive});\n }\n`;\n"],"names":["base"],"mappings":"AAQO,IAAMA,IAAI,GAiDhB;;;;"}
1
+ {"version":3,"file":"base.js","sources":["../../../../../src/components/TextArea/variations/_view/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens, classes } from '../../TextArea.tokens';\nimport { TitleCaption } from '../../TextArea.styles';\n\nconst { styledContainer, styledTextAreaWrapper, styledHelpers } = classes;\n\nconst exclusionSelectors = `not(.${classes.clear}):not([disabled]):not([readonly]):not(:focus-within)`;\n\nexport const base = css`\n ${TitleCaption} {\n color: var(${tokens.titleCaptionColor});\n }\n\n .${styledContainer} {\n transition: box-shadow 0.1s ease-in-out;\n border-radius: var(${tokens.borderRadius});\n border: var(${tokens.borderSize}) solid var(${tokens.borderColor});\n }\n\n .${styledTextAreaWrapper} {\n transition: background-color 0.1s ease-in-out, box-shadow 0.1s ease-in-out;\n box-shadow: inset 0 0 0 var(${tokens.borderSize}, 1px) var(${tokens.inputBorderColor});\n\n /* INFO: Отступ справа, чтобы scrollbar не перекрывал рамку */\n padding-right: var(${tokens.borderSize}, 1px);\n }\n\n &:focus-within:not([readonly]) .${styledTextAreaWrapper} {\n background-color: var(${tokens.inputBackgroundColorFocus});\n box-shadow: inset 0 0 0 var(${tokens.borderSize}, 1px) var(${tokens.inputBorderColorFocus});\n }\n\n &:focus-within:not([readonly]) .${styledContainer} {\n border: var(${tokens.borderSize}) solid var(${tokens.borderColorFocus});\n }\n\n &:focus-within:not([readonly]) .${styledHelpers} {\n background-color: var(${tokens.helpersBackgroundColorFocus});\n }\n\n &:hover:${exclusionSelectors} .${styledContainer} {\n border: var(${tokens.borderSize}) solid var(${tokens.borderColorHover});\n }\n\n &:hover:${exclusionSelectors} .${styledTextAreaWrapper} {\n box-shadow: inset 0 0 0 var(${tokens.borderSize}, 1px) var(${tokens.inputBorderColorHover});\n background-color: var(${tokens.inputBackgroundColorHover});\n }\n\n &:hover:${exclusionSelectors} .${styledTextAreaWrapper} + .${styledHelpers} {\n background-color: var(${tokens.helpersBackgroundColorHover});\n }\n\n &:active:${exclusionSelectors} .${styledTextAreaWrapper} {\n box-shadow: inset 0 0 0 var(${tokens.borderSize}, 1px) var(${tokens.inputBorderColorActive});\n background-color: var(${tokens.inputBackgroundColorActive});\n }\n\n &:active:${exclusionSelectors} .${styledTextAreaWrapper} + .${styledHelpers} {\n background-color: var(${tokens.helpersBackgroundColorActive});\n }\n`;\n"],"names":["base"],"mappings":"AASO,IAAMA,IAAI,GAqDhB;;;;"}
@@ -0,0 +1 @@
1
+ .bofyi4a .t18bd513{color:var(--plasma-textarea__title-caption-color);}.bofyi4a .textarea-container{-webkit-transition:box-shadow 0.1s ease-in-out;transition:box-shadow 0.1s ease-in-out;border-radius:var(--plasma-textarea-border-radius);border:var(--plasma-textarea-border-size) solid var(--plasma-textarea-border-color);}.bofyi4a .textarea-wrapper{-webkit-transition:background-color 0.1s ease-in-out,box-shadow 0.1s ease-in-out;transition:background-color 0.1s ease-in-out,box-shadow 0.1s ease-in-out;box-shadow:inset 0 0 0 var(--plasma-textarea-border-size,1px) var(--plasma-textarea-input-border-color);padding-right:var(--plasma-textarea-border-size,1px);}.bofyi4a:focus-within:not([readonly]) .textarea-wrapper{background-color:var(--plasma-textarea-input-background-color-focus);box-shadow:inset 0 0 0 var(--plasma-textarea-border-size,1px) var(--plasma-textarea-input-border-color-focus);}.bofyi4a:focus-within:not([readonly]) .textarea-container{border:var(--plasma-textarea-border-size) solid var(--plasma-textarea-border-color-focus);}.bofyi4a:focus-within:not([readonly]) .textarea-helpers{background-color:var(--plasma-textarea-helpers-background-color-focus);}.bofyi4a:hover:not(.textarea-clear):not([disabled]):not([readonly]):not(:focus-within) .textarea-container{border:var(--plasma-textarea-border-size) solid var(--plasma-textarea-border-color-hover);}.bofyi4a:hover:not(.textarea-clear):not([disabled]):not([readonly]):not(:focus-within) .textarea-wrapper{box-shadow:inset 0 0 0 var(--plasma-textarea-border-size,1px) var(--plasma-textarea-input-border-color-hover);background-color:var(--plasma-textarea-input-background-color-hover);}.bofyi4a:hover:not(.textarea-clear):not([disabled]):not([readonly]):not(:focus-within) .textarea-wrapper + .textarea-helpers{background-color:var(--plasma-textarea-helpers-background-color-hover);}.bofyi4a:active:not(.textarea-clear):not([disabled]):not([readonly]):not(:focus-within) .textarea-wrapper{box-shadow:inset 0 0 0 var(--plasma-textarea-border-size,1px) var(--plasma-textarea-input-border-color-active);background-color:var(--plasma-textarea-input-background-color-active);}.bofyi4a:active:not(.textarea-clear):not([disabled]):not([readonly]):not(:focus-within) .textarea-wrapper + .textarea-helpers{background-color:var(--plasma-textarea-helpers-background-color-active);}
@@ -9,14 +9,19 @@ import { base as base$3 } from './variations/_clear/base.js';
9
9
  import { base as base$4 } from './variations/_disabled/base.js';
10
10
  import { base as base$5 } from './variations/_read-only/base.js';
11
11
  import { base as base$6 } from './variations/_label-placement/base.js';
12
- import { Label, StyledIndicator, InputWrapper, StyledContentLeft, InputLabelWrapper, StyledTextBefore, StyledChips, InputContainer, Input, InputPlaceholder, StyledTextAfter, StyledContentRight, LeftHelper, StyledOptionalText } from './TextField.styles.js';
12
+ import { base as base$7 } from './variations/_hint-view/base.js';
13
+ import { base as base$8 } from './variations/_hint-size/base.js';
14
+ import { OuterLabelWrapper, StyledIndicatorWrapper, Label, StyledHintWrapper, StyledIndicator, TitleCaption, InputWrapper, StyledContentLeft, InputLabelWrapper, StyledTextBefore, StyledChips, InputContainer, Input, InputPlaceholder, StyledTextAfter, StyledContentRight, LeftHelper, StyledOptionalText } from './TextField.styles.js';
13
15
  import { classes } from './TextField.tokens.js';
14
- import { TextFieldChip } from './ui/TextFieldChip/TextFieldChip.js';
16
+ import { HintComponent } from './ui/Hint/Hint.js';
17
+ import { useOutsideClick } from '../../hooks/useOutsideClick.js';
15
18
  import { useKeyNavigation } from './hooks/useKeyNavigation.js';
19
+ import { TextFieldChip } from './ui/TextFieldChip/TextFieldChip.js';
16
20
 
17
- var _excluded = ["id", "className", "style", "contentLeft", "contentRight", "label", "labelPlacement", "textBefore", "textAfter", "placeholder", "leftHelper", "enumerationType", "requiredPlacement", "view", "size", "readOnly", "disabled", "required", "clear", "optional", "hasDivider", "value", "chips", "onChange", "onChangeChips", "onSearch", "onKeyDown"];
21
+ var _excluded = ["id", "className", "style", "contentLeft", "contentRight", "label", "labelPlacement", "textBefore", "textAfter", "placeholder", "leftHelper", "enumerationType", "requiredPlacement", "titleCaption", "hintTrigger", "hintText", "hintView", "hintSize", "hintTargetIcon", "hintPlacement", "hintHasArrow", "hintOffset", "hintWidth", "hintContentLeft", "view", "size", "readOnly", "disabled", "required", "clear", "optional", "hasDivider", "value", "chips", "onChange", "onChangeChips", "onSearch", "onKeyDown"];
18
22
  var optionalText = 'optional';
19
23
  var base = "bpunezx";
24
+ var HINT_DEFAULT_OFFSET = [0, 0];
20
25
  var textFieldRoot = function textFieldRoot(Root) {
21
26
  return /*#__PURE__*/forwardRef(function (_ref, ref) {
22
27
  var _inputRef$current, _inputRef$current3;
@@ -35,6 +40,22 @@ var textFieldRoot = function textFieldRoot(Root) {
35
40
  enumerationType = _ref$enumerationType === void 0 ? 'plain' : _ref$enumerationType,
36
41
  _ref$requiredPlacemen = _ref.requiredPlacement,
37
42
  requiredPlacement = _ref$requiredPlacemen === void 0 ? 'right' : _ref$requiredPlacemen,
43
+ titleCaption = _ref.titleCaption,
44
+ _ref$hintTrigger = _ref.hintTrigger,
45
+ hintTrigger = _ref$hintTrigger === void 0 ? 'hover' : _ref$hintTrigger,
46
+ hintText = _ref.hintText,
47
+ _ref$hintView = _ref.hintView,
48
+ hintView = _ref$hintView === void 0 ? 'default' : _ref$hintView,
49
+ _ref$hintSize = _ref.hintSize,
50
+ hintSize = _ref$hintSize === void 0 ? 'm' : _ref$hintSize,
51
+ hintTargetIcon = _ref.hintTargetIcon,
52
+ _ref$hintPlacement = _ref.hintPlacement,
53
+ hintPlacement = _ref$hintPlacement === void 0 ? 'auto' : _ref$hintPlacement,
54
+ hintHasArrow = _ref.hintHasArrow,
55
+ _ref$hintOffset = _ref.hintOffset,
56
+ hintOffset = _ref$hintOffset === void 0 ? HINT_DEFAULT_OFFSET : _ref$hintOffset,
57
+ hintWidth = _ref.hintWidth,
58
+ hintContentLeft = _ref.hintContentLeft,
38
59
  view = _ref.view,
39
60
  size = _ref.size,
40
61
  _ref$readOnly = _ref.readOnly,
@@ -71,6 +92,10 @@ var textFieldRoot = function textFieldRoot(Root) {
71
92
  _useState4 = _slicedToArray(_useState3, 2),
72
93
  chips = _useState4[0],
73
94
  setChips = _useState4[1];
95
+ var _useState5 = useState(false),
96
+ _useState6 = _slicedToArray(_useState5, 2),
97
+ isHintVisible = _useState6[0],
98
+ setIsHintVisible = _useState6[1];
74
99
  var uniqId = safeUseId();
75
100
  var innerId = id || uniqId;
76
101
  var labelId = safeUseId();
@@ -89,14 +114,38 @@ var textFieldRoot = function textFieldRoot(Root) {
89
114
  var placeholderShown = Boolean(innerPlaceholderValue) && !hasValue;
90
115
  var clearClass = clear ? classes.clear : undefined;
91
116
  var hasDividerClass = hasDivider ? classes.hasDivider : undefined;
92
- var requiredPlacementClass = requiredPlacement === 'right' ? 'align-right ' : undefined;
117
+ var hasHintClass = hintText ? classes.hasHint : undefined;
118
+ var requiredPlacementClass = requiredPlacement === 'right' ? classes.requiredAlignRight : undefined;
93
119
  var labelPlacementClass = innerLabelPlacementValue ? classes["".concat(innerLabelPlacementValue, "LabelPlacement")] : undefined;
94
120
  var hasValueClass = hasValue ? classes.hasValue : undefined;
95
121
  var wrapperWithoutLeftContent = !contentLeft && isChipsVisible ? classes.hasEmptyContentLeft : undefined;
96
122
  var wrapperWithoutRightContent = !contentRight && isChipsVisible ? classes.hasEmptyContentRight : undefined;
123
+ var hintRef = useOutsideClick(function () {
124
+ setIsHintVisible(false);
125
+ });
126
+ var hintInnerRef = useRef(null);
127
+ var hintForkRef = useForkRef(hintRef, hintInnerRef);
97
128
  var handleInput = function handleInput(event) {
98
129
  setHasValue(Boolean(event.target.value));
99
130
  };
131
+ var handleHintShow = function handleHintShow() {
132
+ return setIsHintVisible(true);
133
+ };
134
+ var handleHintHide = function handleHintHide() {
135
+ return setIsHintVisible(false);
136
+ };
137
+ var handleHintClick = function handleHintClick(event) {
138
+ var _hintInnerRef$current;
139
+ if (!hintText || hintTrigger !== 'click') {
140
+ return;
141
+ }
142
+ event.stopPropagation();
143
+ var targetIsPopover = event.target === hintInnerRef.current;
144
+ var rootHasTarget = (_hintInnerRef$current = hintInnerRef.current) === null || _hintInnerRef$current === void 0 ? void 0 : _hintInnerRef$current.contains(event.target);
145
+ if (!targetIsPopover && !rootHasTarget) {
146
+ setIsHintVisible(true);
147
+ }
148
+ };
100
149
  var handleChange = function handleChange(event) {
101
150
  if (disabled || readOnly) {
102
151
  return;
@@ -175,7 +224,7 @@ var textFieldRoot = function textFieldRoot(Root) {
175
224
  var innerOptional = Boolean(required ? false : optional);
176
225
  var hasPlaceholderOptional = innerOptional && !innerLabelValue && !hasOuterLabel;
177
226
  var optionalTextNode = innerOptional ? /*#__PURE__*/React.createElement(StyledOptionalText, null, Boolean(hasPlaceholderOptional ? innerPlaceholderValue : innerLabelValue) && '\xa0', optionalText) : null;
178
- return /*#__PURE__*/React.createElement(Root, {
227
+ return /*#__PURE__*/React.createElement(Root, _extends({
179
228
  view: view,
180
229
  size: size,
181
230
  disabled: disabled,
@@ -183,21 +232,56 @@ var textFieldRoot = function textFieldRoot(Root) {
183
232
  clear: clear,
184
233
  labelPlacement: innerLabelPlacementValue,
185
234
  onClick: handleInputFocus,
186
- className: cx(labelPlacementClass, clearClass, hasDividerClass, classes.textFieldGroupItem, className),
235
+ className: cx(labelPlacementClass, clearClass, hasDividerClass, hasHintClass, classes.textFieldGroupItem, className),
187
236
  style: style
188
- }, hasOuterLabel && /*#__PURE__*/React.createElement(Label, {
237
+ }, hintText && {
238
+ hintView: hintView,
239
+ hintSize: hintSize
240
+ }), (hasOuterLabel || titleCaption) && /*#__PURE__*/React.createElement(OuterLabelWrapper, {
241
+ isInnnerLabel: labelPlacement === 'inner'
242
+ }, hasOuterLabel && /*#__PURE__*/React.createElement(StyledIndicatorWrapper, null, /*#__PURE__*/React.createElement(Label, {
189
243
  id: labelId,
190
244
  htmlFor: id
191
- }, required && /*#__PURE__*/React.createElement(StyledIndicator, {
192
- className: cx(classes.outerLabelPlacement, requiredPlacementClass)
193
- }), innerLabelValue, optionalTextNode), /*#__PURE__*/React.createElement(InputWrapper
245
+ }, innerLabelValue), hintText && /*#__PURE__*/React.createElement(StyledHintWrapper, null, /*#__PURE__*/React.createElement(HintComponent, {
246
+ ref: hintForkRef,
247
+ hintText: hintText,
248
+ hintTrigger: hintTrigger,
249
+ isHintVisible: isHintVisible,
250
+ hintTargetIcon: hintTargetIcon,
251
+ hintPlacement: hintPlacement,
252
+ hintHasArrow: hintHasArrow,
253
+ hintOffset: hintOffset,
254
+ hintWidth: hintWidth,
255
+ hintContentLeft: hintContentLeft,
256
+ handleHintShow: handleHintShow,
257
+ handleHintHide: handleHintHide,
258
+ handleHintClick: handleHintClick
259
+ })), required && /*#__PURE__*/React.createElement(StyledIndicator, {
260
+ className: cx(classes.outerLabelPlacement, requiredPlacementClass, hasHintClass)
261
+ }), optionalTextNode), titleCaption && /*#__PURE__*/React.createElement(TitleCaption, null, titleCaption)), /*#__PURE__*/React.createElement(InputWrapper
194
262
  // Ref для внутреннего использования. Не отдается наружу.
195
263
  , {
196
264
  ref: rest.inputWrapperRef,
197
265
  className: cx(withHasChips, wrapperWithoutLeftContent, wrapperWithoutRightContent)
198
- }, !hasOuterLabel && required && /*#__PURE__*/React.createElement(StyledIndicator, {
266
+ }, !hasOuterLabel && /*#__PURE__*/React.createElement(React.Fragment, null, required && /*#__PURE__*/React.createElement(StyledIndicator, {
199
267
  className: cx(classes.innerLabelPlacement, requiredPlacementClass)
200
- }), contentLeft && /*#__PURE__*/React.createElement(StyledContentLeft, {
268
+ }), hintText && /*#__PURE__*/React.createElement(StyledHintWrapper, {
269
+ className: classes.innerLabelPlacement
270
+ }, /*#__PURE__*/React.createElement(HintComponent, {
271
+ ref: hintForkRef,
272
+ hintText: hintText,
273
+ hintTrigger: hintTrigger,
274
+ isHintVisible: isHintVisible,
275
+ hintTargetIcon: hintTargetIcon,
276
+ hintPlacement: hintPlacement,
277
+ hintHasArrow: hintHasArrow,
278
+ hintOffset: hintOffset,
279
+ hintWidth: hintWidth,
280
+ hintContentLeft: hintContentLeft,
281
+ handleHintShow: handleHintShow,
282
+ handleHintHide: handleHintHide,
283
+ handleHintClick: handleHintClick
284
+ }))), contentLeft && /*#__PURE__*/React.createElement(StyledContentLeft, {
201
285
  isClear: clear,
202
286
  isDefaultView: isDefaultView
203
287
  }, contentLeft), /*#__PURE__*/React.createElement(InputLabelWrapper, {
@@ -273,6 +357,12 @@ var textFieldConfig = {
273
357
  },
274
358
  labelPlacement: {
275
359
  css: base$6
360
+ },
361
+ hintView: {
362
+ css: base$7
363
+ },
364
+ hintSize: {
365
+ css: base$8
276
366
  }
277
367
  },
278
368
  defaults: {