@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
@@ -9,15 +9,19 @@ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react")
9
9
  var _styledComponents = /*#__PURE__*/require("styled-components");
10
10
  var _plasmaCore = /*#__PURE__*/require("@salutejs/plasma-core");
11
11
  var _utils = /*#__PURE__*/require("../../utils");
12
+ var _hooks = /*#__PURE__*/require("../../hooks");
12
13
  var _mixins = /*#__PURE__*/require("./mixins");
13
- var _hooks = /*#__PURE__*/require("./hooks");
14
+ var _hooks2 = /*#__PURE__*/require("./hooks");
14
15
  var _TextArea = /*#__PURE__*/require("./TextArea.styles");
15
16
  var _TextArea2 = /*#__PURE__*/require("./TextArea.tokens");
16
17
  var _base = /*#__PURE__*/require("./variations/_view/base");
17
18
  var _base2 = /*#__PURE__*/require("./variations/_size/base");
18
19
  var _base3 = /*#__PURE__*/require("./variations/_clear/base");
19
20
  var _base4 = /*#__PURE__*/require("./variations/_disabled/base");
20
- var _excluded = ["helperText", "status", "resize", "rightHelper", "leftHelper", "contentRight", "autoResize", "minAuto", "maxAuto", "label", "labelPlacement", "placeholder", "defaultValue", "height", "width", "value", "disabled", "required", "requiredPlacement", "optional", "clear", "hasDivider", "size", "view", "id", "style", "className", "readOnly", "rows", "cols", "onChange"];
21
+ var _base5 = /*#__PURE__*/require("./variations/_hint-view/base");
22
+ var _base6 = /*#__PURE__*/require("./variations/_hint-size/base");
23
+ var _Hint = /*#__PURE__*/require("./ui/Hint/Hint");
24
+ var _excluded = ["helperText", "status", "resize", "rightHelper", "leftHelper", "contentRight", "autoResize", "minAuto", "maxAuto", "label", "labelPlacement", "titleCaption", "placeholder", "defaultValue", "height", "width", "value", "disabled", "required", "requiredPlacement", "optional", "clear", "hasDivider", "size", "view", "id", "style", "className", "readOnly", "rows", "cols", "hintTrigger", "hintText", "hintView", "hintSize", "hintTargetIcon", "hintPlacement", "hintHasArrow", "hintOffset", "hintWidth", "hintContentLeft", "onChange"];
21
25
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
22
26
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
23
27
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
@@ -56,6 +60,7 @@ var fallbackStatusMap = {
56
60
  warning: 'warning',
57
61
  error: 'negative'
58
62
  };
63
+ var HINT_DEFAULT_OFFSET = [0, 0];
59
64
 
60
65
  // TODO: Перенести этот метод в файл applyDynamicLabel.ts
61
66
  var getDynamicLabelClasses = exports.getDynamicLabelClasses = function getDynamicLabelClasses(props, focused) {
@@ -92,6 +97,7 @@ var textAreaRoot = exports.textAreaRoot = function textAreaRoot(Root) {
92
97
  label = props.label,
93
98
  _props$labelPlacement = props.labelPlacement,
94
99
  labelPlacement = _props$labelPlacement === void 0 ? 'inner' : _props$labelPlacement,
100
+ titleCaption = props.titleCaption,
95
101
  placeholder = props.placeholder,
96
102
  defaultValue = props.defaultValue,
97
103
  height = props.height,
@@ -114,21 +120,45 @@ var textAreaRoot = exports.textAreaRoot = function textAreaRoot(Root) {
114
120
  readOnly = props.readOnly,
115
121
  rows = props.rows,
116
122
  cols = props.cols,
123
+ _props$hintTrigger = props.hintTrigger,
124
+ hintTrigger = _props$hintTrigger === void 0 ? 'hover' : _props$hintTrigger,
125
+ hintText = props.hintText,
126
+ _props$hintView = props.hintView,
127
+ hintView = _props$hintView === void 0 ? 'default' : _props$hintView,
128
+ _props$hintSize = props.hintSize,
129
+ hintSize = _props$hintSize === void 0 ? 'm' : _props$hintSize,
130
+ hintTargetIcon = props.hintTargetIcon,
131
+ _props$hintPlacement = props.hintPlacement,
132
+ hintPlacement = _props$hintPlacement === void 0 ? 'auto' : _props$hintPlacement,
133
+ hintHasArrow = props.hintHasArrow,
134
+ _props$hintOffset = props.hintOffset,
135
+ hintOffset = _props$hintOffset === void 0 ? HINT_DEFAULT_OFFSET : _props$hintOffset,
136
+ hintWidth = props.hintWidth,
137
+ hintContentLeft = props.hintContentLeft,
117
138
  onChange = props.onChange,
118
139
  rest = _objectWithoutProperties(props, _excluded);
119
- var _useState = (0, _react.useState)(width ? "".concat(width, "rem") : '100%'),
140
+ var _useState = (0, _react.useState)(false),
120
141
  _useState2 = _slicedToArray(_useState, 2),
121
- helperWidth = _useState2[0],
122
- setHelperWidth = _useState2[1];
123
- var _useState3 = (0, _react.useState)(false),
142
+ isHintVisible = _useState2[0],
143
+ setIsHintVisible = _useState2[1];
144
+ var _useState3 = (0, _react.useState)(width ? "".concat(width, "rem") : '100%'),
124
145
  _useState4 = _slicedToArray(_useState3, 2),
125
- focused = _useState4[0],
126
- setFocused = _useState4[1];
127
- var _useState5 = (0, _react.useState)(),
146
+ helperWidth = _useState4[0],
147
+ setHelperWidth = _useState4[1];
148
+ var _useState5 = (0, _react.useState)(false),
128
149
  _useState6 = _slicedToArray(_useState5, 2),
129
- uncontrolledValue = _useState6[0],
130
- setUncontrolledValue = _useState6[1];
150
+ focused = _useState6[0],
151
+ setFocused = _useState6[1];
152
+ var _useState7 = (0, _react.useState)(),
153
+ _useState8 = _slicedToArray(_useState7, 2),
154
+ uncontrolledValue = _useState8[0],
155
+ setUncontrolledValue = _useState8[1];
131
156
  var outerRef = /*#__PURE__*/(0, _react.createRef)();
157
+ var hintRef = (0, _hooks.useOutsideClick)(function () {
158
+ setIsHintVisible(false);
159
+ });
160
+ var hintInnerRef = (0, _react.useRef)(null);
161
+ var hintForkRef = (0, _plasmaCore.useForkRef)(hintRef, hintInnerRef);
132
162
  var innerOptional = required ? false : optional;
133
163
  var hasHelper = Boolean(leftHelper || rightHelper || helperText);
134
164
  var hasOuterLabel = Boolean(label && labelPlacement === 'outer');
@@ -139,18 +169,37 @@ var textAreaRoot = exports.textAreaRoot = function textAreaRoot(Root) {
139
169
  var applyCustomWidth = resize !== 'horizontal' && resize !== 'both' && !cols;
140
170
  var placeholderLabel = hasInnerLabel ? label : placeholder;
141
171
  var clearClass = clear ? _TextArea2.classes.clear : undefined;
172
+ var hasHintClass = hintText ? _TextArea2.classes.hasHint : undefined;
142
173
  var hasRightContentClass = contentRight ? _TextArea2.classes.hasRightContent : undefined;
143
174
  var hasDividerClass = hasDivider ? _TextArea2.classes.hasDivider : undefined;
144
- var requiredPlacementClass = requiredPlacement === 'right' ? 'align-right ' : undefined;
175
+ var requiredPlacementClass = requiredPlacement === 'right' ? _TextArea2.classes.requiredAlignRight : undefined;
176
+ var handleHintShow = function handleHintShow() {
177
+ return setIsHintVisible(true);
178
+ };
179
+ var handleHintHide = function handleHintHide() {
180
+ return setIsHintVisible(false);
181
+ };
182
+ var handleHintClick = function handleHintClick(event) {
183
+ var _hintInnerRef$current;
184
+ if (!hintText || hintTrigger !== 'click') {
185
+ return;
186
+ }
187
+ event.stopPropagation();
188
+ var targetIsPopover = event.target === hintInnerRef.current;
189
+ var rootHasTarget = (_hintInnerRef$current = hintInnerRef.current) === null || _hintInnerRef$current === void 0 ? void 0 : _hintInnerRef$current.contains(event.target);
190
+ if (!targetIsPopover && !rootHasTarget) {
191
+ setIsHintVisible(true);
192
+ }
193
+ };
145
194
  (0, _plasmaCore.useResizeObserver)(outerRef, function (currentElement) {
146
195
  var inlineWidth = currentElement.style.width;
147
196
  if (inlineWidth || cols) {
148
197
  var _currentElement$getBo = currentElement.getBoundingClientRect(),
149
198
  elementWidth = _currentElement$getBo.width;
150
- setHelperWidth("".concat(elementWidth / _hooks.ROOT_FONT_SIZE, "rem"));
199
+ setHelperWidth("".concat(elementWidth / _hooks2.ROOT_FONT_SIZE, "rem"));
151
200
  }
152
201
  });
153
- (0, _hooks.useAutoResize)(autoResize || Boolean(clear), outerRef, value, minAuto, maxAuto);
202
+ (0, _hooks2.useAutoResize)(autoResize || Boolean(clear), outerRef, value, minAuto, maxAuto);
154
203
  var onFocusHandler = (0, _react.useCallback)(function () {
155
204
  setFocused(true);
156
205
  }, []);
@@ -183,8 +232,10 @@ var textAreaRoot = exports.textAreaRoot = function textAreaRoot(Root) {
183
232
  value: value || uncontrolledValue || defaultValue,
184
233
  rows: rows
185
234
  }, focused);
186
- var optionalTextNode = innerOptional ? /*#__PURE__*/_react["default"].createElement(_TextArea.StyledOptionalText, null, Boolean(hasPlaceholderOptional ? placeholderLabel : label) && '\xa0', optionalText) : null;
187
- return /*#__PURE__*/_react["default"].createElement(Root, {
235
+ var optionalTextNode = innerOptional ? /*#__PURE__*/_react["default"].createElement(_TextArea.StyledOptionalText, {
236
+ inheritFont: !hasOuterLabel
237
+ }, Boolean(hasPlaceholderOptional ? placeholderLabel : label) && '\xa0', optionalText) : null;
238
+ return /*#__PURE__*/_react["default"].createElement(Root, _extends({
188
239
  view: overriddenView,
189
240
  size: size,
190
241
  disabled: disabled,
@@ -193,18 +244,53 @@ var textAreaRoot = exports.textAreaRoot = function textAreaRoot(Root) {
193
244
  style: _objectSpread({
194
245
  width: helperWidth
195
246
  }, style),
196
- className: (0, _utils.cx)(clearClass, hasDividerClass, className),
247
+ className: (0, _utils.cx)(clearClass, hasDividerClass, hasHintClass, className),
197
248
  onClick: handleTextAreaFocus
198
- }, hasOuterLabel && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledLabel, null, required && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledIndicator, {
199
- className: (0, _utils.cx)(_TextArea2.classes.outerLabelPlacement, requiredPlacementClass)
200
- }), label, optionalTextNode), /*#__PURE__*/_react["default"].createElement(_TextArea.StyledContainer, {
249
+ }, hintText && {
250
+ hintView: hintView,
251
+ hintSize: hintSize
252
+ }), (hasOuterLabel || titleCaption) && /*#__PURE__*/_react["default"].createElement(_TextArea.OuterLabelWrapper, {
253
+ isInnnerLabel: labelPlacement === 'inner'
254
+ }, hasOuterLabel && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledIndicatorWrapper, null, /*#__PURE__*/_react["default"].createElement(_TextArea.StyledLabel, null, label), hintText && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledHintWrapper, null, /*#__PURE__*/_react["default"].createElement(_Hint.HintComponent, {
255
+ ref: hintForkRef,
256
+ hintText: hintText,
257
+ hintTrigger: hintTrigger,
258
+ isHintVisible: isHintVisible,
259
+ hintTargetIcon: hintTargetIcon,
260
+ hintPlacement: hintPlacement,
261
+ hintHasArrow: hintHasArrow,
262
+ hintOffset: hintOffset,
263
+ hintWidth: hintWidth,
264
+ hintContentLeft: hintContentLeft,
265
+ handleHintShow: handleHintShow,
266
+ handleHintHide: handleHintHide,
267
+ handleHintClick: handleHintClick
268
+ })), required && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledIndicator, {
269
+ className: (0, _utils.cx)(_TextArea2.classes.outerLabelPlacement, requiredPlacementClass, hasHintClass)
270
+ }), optionalTextNode), titleCaption && /*#__PURE__*/_react["default"].createElement(_TextArea.TitleCaption, null, titleCaption)), /*#__PURE__*/_react["default"].createElement(_TextArea.StyledContainer, {
201
271
  className: _utils.cx.apply(void 0, [styledContainer].concat(_toConsumableArray(dynamicLabelClasses))),
202
272
  width: helperWidth,
203
273
  onFocus: onFocusHandler,
204
274
  onBlur: onBlurHandler
205
- }, required && !hasOuterLabel && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledIndicator, {
275
+ }, !hasOuterLabel && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, required && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledIndicator, {
206
276
  className: (0, _utils.cx)(_TextArea2.classes.innerLabelPlacement, requiredPlacementClass)
207
- }), contentRight && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledContent, null, contentRight), /*#__PURE__*/_react["default"].createElement(_TextArea.StyledTextAreaWrapper, {
277
+ }), hintText && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledHintWrapper, {
278
+ className: _TextArea2.classes.innerLabelPlacement
279
+ }, /*#__PURE__*/_react["default"].createElement(_Hint.HintComponent, {
280
+ ref: hintForkRef,
281
+ hintText: hintText,
282
+ hintTrigger: hintTrigger,
283
+ isHintVisible: isHintVisible,
284
+ hintTargetIcon: hintTargetIcon,
285
+ hintPlacement: hintPlacement,
286
+ hintHasArrow: hintHasArrow,
287
+ hintOffset: hintOffset,
288
+ hintWidth: hintWidth,
289
+ hintContentLeft: hintContentLeft,
290
+ handleHintShow: handleHintShow,
291
+ handleHintHide: handleHintHide,
292
+ handleHintClick: handleHintClick
293
+ }))), contentRight && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledContent, null, contentRight), /*#__PURE__*/_react["default"].createElement(_TextArea.StyledTextAreaWrapper, {
208
294
  className: styledTextAreaWrapper,
209
295
  hasHelper: hasHelper
210
296
  }, /*#__PURE__*/_react["default"].createElement(_TextArea.StyledTextArea, _extends({
@@ -258,6 +344,12 @@ var textAreaConfig = exports.textAreaConfig = {
258
344
  },
259
345
  readOnly: {
260
346
  attrs: true
347
+ },
348
+ hintView: {
349
+ css: _base5.base
350
+ },
351
+ hintSize: {
352
+ css: _base6.base
261
353
  }
262
354
  },
263
355
  defaults: {
@@ -3,81 +3,127 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.StyledTextAreaWrapper = exports.StyledTextArea = exports.StyledRightHelper = exports.StyledPlaceholder = exports.StyledOptionalText = exports.StyledLeftHelper = exports.StyledLabel = exports.StyledIndicator = exports.StyledHelpers = exports.StyledContent = exports.StyledContainer = void 0;
6
+ exports.TitleCaption = exports.StyledTextAreaWrapper = exports.StyledTextArea = exports.StyledRightHelper = exports.StyledPlaceholder = exports.StyledOptionalText = exports.StyledLeftHelper = exports.StyledLabel = exports.StyledIndicatorWrapper = exports.StyledIndicator = exports.StyledHintWrapper = exports.StyledHelpers = exports.StyledContent = exports.StyledContainer = exports.OuterLabelWrapper = exports.HintTargetWrapper = exports.HintIconWrapper = exports.Hint = void 0;
7
7
  var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
8
8
  var _mixins = /*#__PURE__*/require("../../mixins");
9
+ var _Tooltip = /*#__PURE__*/require("../Tooltip");
10
+ var _engines = /*#__PURE__*/require("../../engines");
9
11
  var _TextArea = /*#__PURE__*/require("./TextArea.tokens");
10
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- var StyledLabel = exports.StyledLabel = /*#__PURE__*/_styledComponents["default"].div.withConfig({
13
+ var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Tooltip.tooltipConfig);
14
+ var Tooltip = /*#__PURE__*/(0, _engines.component)(mergedConfig);
15
+ var Hint = exports.Hint = /*#__PURE__*/(0, _styledComponents["default"])(Tooltip).withConfig({
12
16
  componentId: "plasma-new-hope__sc-pxxv3p-0"
13
- })(["position:relative;display:inline-flex;margin-bottom:var(", ");color:var(", ",var(", "));font-family:var(", ",var(", "));font-size:var(", ",var(", "));font-style:var(", ",var(", "));font-weight:var(", ",var(", "));letter-spacing:var(", ",var(", "));line-height:var(", ",var(", "));"], _TextArea.tokens.labelMarginBottom, _TextArea.tokens.labelOuterColor, _TextArea.tokens.inputColor, _TextArea.tokens.labelOuterFontFamily, _TextArea.tokens.inputFontFamily, _TextArea.tokens.labelOuterFontSize, _TextArea.tokens.inputFontSize, _TextArea.tokens.labelOuterFontStyle, _TextArea.tokens.inputFontStyle, _TextArea.tokens.labelOuterFontWeight, _TextArea.tokens.inputFontWeight, _TextArea.tokens.labelOuterLetterSpacing, _TextArea.tokens.inputLetterSpacing, _TextArea.tokens.labelOuterLineHeight, _TextArea.tokens.inputLineHeight);
14
- var StyledOptionalText = exports.StyledOptionalText = /*#__PURE__*/_styledComponents["default"].span.withConfig({
17
+ })([""]);
18
+ var OuterLabelWrapper = exports.OuterLabelWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
15
19
  componentId: "plasma-new-hope__sc-pxxv3p-1"
16
- })(["color:var(", ");"], _TextArea.tokens.optionalColor);
17
- var StyledTextAreaWrapper = exports.StyledTextAreaWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
20
+ })(["display:flex;align-items:center;margin-bottom:", ";"], function (_ref) {
21
+ var isInnnerLabel = _ref.isInnnerLabel;
22
+ return isInnnerLabel ? "var(".concat(_TextArea.tokens.titleCaptionInnerLabelOffset, ")") : "var(".concat(_TextArea.tokens.labelMarginBottom, ")");
23
+ });
24
+ var StyledLabel = exports.StyledLabel = /*#__PURE__*/_styledComponents["default"].div.withConfig({
18
25
  componentId: "plasma-new-hope__sc-pxxv3p-2"
19
- })(["background-color:var(", ");padding-top:var(", ");padding-bottom:", ";border-radius:", ";"], _TextArea.tokens.inputBackgroundColor, _TextArea.tokens.inputPaddingTop, function (_ref) {
20
- var hasHelper = _ref.hasHelper;
26
+ })(["position:relative;display:inline-flex;color:var(", ",var(", "));font-family:var(", ",var(", "));font-size:var(", ",var(", "));font-style:var(", ",var(", "));font-weight:var(", ",var(", "));letter-spacing:var(", ",var(", "));line-height:var(", ",var(", "));"], _TextArea.tokens.labelOuterColor, _TextArea.tokens.inputColor, _TextArea.tokens.labelOuterFontFamily, _TextArea.tokens.inputFontFamily, _TextArea.tokens.labelOuterFontSize, _TextArea.tokens.inputFontSize, _TextArea.tokens.labelOuterFontStyle, _TextArea.tokens.inputFontStyle, _TextArea.tokens.labelOuterFontWeight, _TextArea.tokens.inputFontWeight, _TextArea.tokens.labelOuterLetterSpacing, _TextArea.tokens.inputLetterSpacing, _TextArea.tokens.labelOuterLineHeight, _TextArea.tokens.inputLineHeight);
27
+ var TitleCaption = exports.TitleCaption = /*#__PURE__*/_styledComponents["default"].div.withConfig({
28
+ componentId: "plasma-new-hope__sc-pxxv3p-3"
29
+ })(["display:inline-block;margin-left:auto;font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], _TextArea.tokens.titleCaptionFontFamily, _TextArea.tokens.titleCaptionFontSize, _TextArea.tokens.titleCaptionFontStyle, _TextArea.tokens.titleCaptionFontWeight, _TextArea.tokens.titleCaptionLetterSpacing, _TextArea.tokens.titleCaptionLineHeight);
30
+ var StyledIndicatorWrapper = exports.StyledIndicatorWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
31
+ componentId: "plasma-new-hope__sc-pxxv3p-4"
32
+ })(["position:relative;display:inline-flex;align-items:center;"]);
33
+ var StyledOptionalText = exports.StyledOptionalText = /*#__PURE__*/_styledComponents["default"].span.withConfig({
34
+ componentId: "plasma-new-hope__sc-pxxv3p-5"
35
+ })(["color:var(", ");font-family:", ";font-size:", ";font-style:", ";font-weight:", ";letter-spacing:", ";line-height:", ";"], _TextArea.tokens.optionalColor, function (_ref2) {
36
+ var inheritFont = _ref2.inheritFont;
37
+ return inheritFont ? 'inherit' : "var(".concat(_TextArea.tokens.labelOuterFontFamily, ", var(").concat(_TextArea.tokens.inputFontFamily, "))");
38
+ }, function (_ref3) {
39
+ var inheritFont = _ref3.inheritFont;
40
+ return inheritFont ? 'inherit' : "var(".concat(_TextArea.tokens.labelOuterFontSize, ", var(").concat(_TextArea.tokens.inputFontSize, "))");
41
+ }, function (_ref4) {
42
+ var inheritFont = _ref4.inheritFont;
43
+ return inheritFont ? 'inherit' : "var(".concat(_TextArea.tokens.labelOuterFontStyle, ", var(").concat(_TextArea.tokens.inputFontStyle, "))");
44
+ }, function (_ref5) {
45
+ var inheritFont = _ref5.inheritFont;
46
+ return inheritFont ? 'inherit' : "var(".concat(_TextArea.tokens.labelOuterFontWeight, ", var(").concat(_TextArea.tokens.inputFontWeight, "))");
47
+ }, function (_ref6) {
48
+ var inheritFont = _ref6.inheritFont;
49
+ return inheritFont ? 'inherit' : "var(".concat(_TextArea.tokens.labelOuterLetterSpacing, ", var(").concat(_TextArea.tokens.inputLetterSpacing, "))");
50
+ }, function (_ref7) {
51
+ var inheritFont = _ref7.inheritFont;
52
+ return inheritFont ? 'inherit' : "var(".concat(_TextArea.tokens.labelOuterLineHeight, ", var(").concat(_TextArea.tokens.inputLineHeight, "))");
53
+ });
54
+ var StyledHintWrapper = exports.StyledHintWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
55
+ componentId: "plasma-new-hope__sc-pxxv3p-6"
56
+ })(["display:inline-flex;line-height:0;margin:var(", ");&.", "{position:absolute;margin:0;inset:var(", ");}"], _TextArea.tokens.hintMargin, _TextArea.classes.innerLabelPlacement, _TextArea.tokens.hintInnerLabelPlacementOffset);
57
+ var HintTargetWrapper = exports.HintTargetWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
58
+ componentId: "plasma-new-hope__sc-pxxv3p-7"
59
+ })(["color:var(", ");width:var(", ");height:var(", ");display:flex;justify-content:center;align-items:center;"], _TextArea.tokens.hintIconColor, _TextArea.tokens.hintTargetSize, _TextArea.tokens.hintTargetSize);
60
+ var HintIconWrapper = exports.HintIconWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
61
+ componentId: "plasma-new-hope__sc-pxxv3p-8"
62
+ })([""]);
63
+ var StyledTextAreaWrapper = exports.StyledTextAreaWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
64
+ componentId: "plasma-new-hope__sc-pxxv3p-9"
65
+ })(["background-color:var(", ");padding-top:var(", ");padding-bottom:", ";border-radius:", ";"], _TextArea.tokens.inputBackgroundColor, _TextArea.tokens.inputPaddingTop, function (_ref8) {
66
+ var hasHelper = _ref8.hasHelper;
21
67
  return hasHelper ? "var(".concat(_TextArea.tokens.inputPaddingBottomWithHelpers, ")") : "var(".concat(_TextArea.tokens.inputPaddingBottom, ")");
22
- }, function (_ref2) {
23
- var hasHelper = _ref2.hasHelper;
68
+ }, function (_ref9) {
69
+ var hasHelper = _ref9.hasHelper;
24
70
  return hasHelper ? "var(".concat(_TextArea.tokens.borderRadiusWithHelpers, ")") : "var(".concat(_TextArea.tokens.borderRadius, ")");
25
71
  });
26
72
  var StyledContent = exports.StyledContent = /*#__PURE__*/_styledComponents["default"].div.withConfig({
27
- componentId: "plasma-new-hope__sc-pxxv3p-3"
73
+ componentId: "plasma-new-hope__sc-pxxv3p-10"
28
74
  })(["position:absolute;display:flex;align-items:center;bottom:0;z-index:1;color:var(", ",var(", "));top:var(", ");right:var(", ");height:var(", ");"], _TextArea.tokens.rightContentColor, _TextArea.tokens.inputColor, _TextArea.tokens.rightContentTop, _TextArea.tokens.rightContentRight, _TextArea.tokens.rightContentHeight);
29
75
  var StyledContainer = exports.StyledContainer = /*#__PURE__*/_styledComponents["default"].div.withConfig({
30
- componentId: "plasma-new-hope__sc-pxxv3p-4"
31
- })(["display:inline-flex;flex-direction:column;width:", ";position:relative;"], function (_ref3) {
32
- var width = _ref3.width;
76
+ componentId: "plasma-new-hope__sc-pxxv3p-11"
77
+ })(["display:inline-flex;flex-direction:column;width:", ";position:relative;"], function (_ref10) {
78
+ var width = _ref10.width;
33
79
  return width;
34
80
  });
35
81
  var StyledTextArea = exports.StyledTextArea = /*#__PURE__*/_styledComponents["default"].textarea.withConfig({
36
- componentId: "plasma-new-hope__sc-pxxv3p-5"
37
- })(["display:block;box-sizing:border-box;outline:none;border:none;-webkit-appearance:none;background-color:transparent;color:var(", ");caret-color:var(", ");resize:", ";--plasma_private-textarea-height:", ";--plasma_private-textarea-width:", ";--plasma_private-textarea-computed-height:", ";--plasma_private-textarea-computed-width:", ";height:var(--plasma_private-textarea-computed-height);width:var(--plasma_private-textarea-computed-width);min-width:", ";max-width:", ";min-height:var(", ");padding-right:", ";padding-left:var(", ");padding-top:0;padding-bottom:0;--plasma_private-textarea-helpers-computed-height:calc( var(", ") + var(", ") + var(", ") );--plasma_private-textarea-input-with-helpers-height:calc( var(--plasma_private-textarea-height) - var(--plasma_private-textarea-helpers-computed-height) + var(", ") );--plasma_private-textarea-input-without-helpers-height:calc( var(--plasma_private-textarea-computed-height) - var(", ") );--plasma_private-textarea-input-actual-height:", ";height:var(--plasma_private-textarea-input-actual-height);font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");&::placeholder{opacity:0;}&:read-only{cursor:default;}&:focus:not(:disabled){color:var(", ");}&::-webkit-scrollbar{width:var(", ");}&::-webkit-scrollbar-thumb{background-color:var(", ");background-clip:content-box;border:var(", ") solid transparent;border-radius:1rem;}&::-webkit-scrollbar-track{background-color:var(", ");background-clip:content-box;border:var(", ") solid transparent;border-radius:1rem;}"], _TextArea.tokens.inputColor, _TextArea.tokens.inputCaretColor, function (_ref4) {
38
- var resize = _ref4.resize;
82
+ componentId: "plasma-new-hope__sc-pxxv3p-12"
83
+ })(["display:block;box-sizing:border-box;outline:none;border:none;-webkit-appearance:none;background-color:transparent;color:var(", ");caret-color:var(", ");resize:", ";--plasma_private-textarea-height:", ";--plasma_private-textarea-width:", ";--plasma_private-textarea-computed-height:", ";--plasma_private-textarea-computed-width:", ";height:var(--plasma_private-textarea-computed-height);width:var(--plasma_private-textarea-computed-width);min-width:", ";max-width:", ";min-height:var(", ");padding-right:", ";padding-left:var(", ");padding-top:0;padding-bottom:0;--plasma_private-textarea-helpers-computed-height:calc( var(", ") + var(", ") + var(", ") );--plasma_private-textarea-input-with-helpers-height:calc( var(--plasma_private-textarea-height) - var(--plasma_private-textarea-helpers-computed-height) + var(", ") );--plasma_private-textarea-input-without-helpers-height:calc( var(--plasma_private-textarea-computed-height) - var(", ") );--plasma_private-textarea-input-actual-height:", ";height:var(--plasma_private-textarea-input-actual-height);font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");&::placeholder{opacity:0;}&:read-only{cursor:default;}&:focus:not(:disabled){color:var(", ");}&::-webkit-scrollbar{width:var(", ");}&::-webkit-scrollbar-thumb{background-color:var(", ");background-clip:content-box;border:var(", ") solid transparent;border-radius:1rem;}&::-webkit-scrollbar-track{background-color:var(", ");background-clip:content-box;border:var(", ") solid transparent;border-radius:1rem;}"], _TextArea.tokens.inputColor, _TextArea.tokens.inputCaretColor, function (_ref11) {
84
+ var resize = _ref11.resize;
39
85
  return resize || 'none';
40
- }, function (_ref5) {
41
- var height = _ref5.height;
86
+ }, function (_ref12) {
87
+ var height = _ref12.height;
42
88
  return !Number.isNaN(Number(height)) ? "calc(".concat(height, "rem - 0.875rem)") : height || "var(".concat(_TextArea.tokens.inputHeight, ")");
43
- }, function (_ref6) {
44
- var width = _ref6.width;
89
+ }, function (_ref13) {
90
+ var width = _ref13.width;
45
91
  return !Number.isNaN(Number(width)) ? "".concat(width, "rem") : width || "var(".concat(_TextArea.tokens.inputWidth, ")");
46
- }, function (_ref7) {
47
- var rows = _ref7.rows;
92
+ }, function (_ref14) {
93
+ var rows = _ref14.rows;
48
94
  return rows ? 'unset' : 'var(--plasma_private-textarea-height)';
49
- }, function (_ref8) {
50
- var cols = _ref8.cols;
95
+ }, function (_ref15) {
96
+ var cols = _ref15.cols;
51
97
  return cols ? 'unset' : 'var(--plasma_private-textarea-width)';
52
- }, function (_ref9) {
53
- var applyCustomWidth = _ref9.applyCustomWidth;
98
+ }, function (_ref16) {
99
+ var applyCustomWidth = _ref16.applyCustomWidth;
54
100
  return applyCustomWidth ? 'var(--plasma_private-textarea-width)' : 'auto';
55
- }, function (_ref10) {
56
- var applyCustomWidth = _ref10.applyCustomWidth;
101
+ }, function (_ref17) {
102
+ var applyCustomWidth = _ref17.applyCustomWidth;
57
103
  return applyCustomWidth ? 'var(--plasma_private-textarea-width)' : 'auto';
58
- }, _TextArea.tokens.inputMinHeight, function (_ref11) {
59
- var hasContentRight = _ref11.hasContentRight;
104
+ }, _TextArea.tokens.inputMinHeight, function (_ref18) {
105
+ var hasContentRight = _ref18.hasContentRight;
60
106
  return hasContentRight ? "var(".concat(_TextArea.tokens.inputPaddingRightWithRightContent, ")") : "var(".concat(_TextArea.tokens.inputPaddingRight, ")");
61
- }, _TextArea.tokens.inputPaddingLeft, _TextArea.tokens.helpersPaddingTop, _TextArea.tokens.helpersPaddingBottom, _TextArea.tokens.helpersLineHeight, _TextArea.tokens.helpersOffset, _TextArea.tokens.inputPaddingBottom, function (_ref12) {
62
- var hasHelper = _ref12.hasHelper,
63
- rows = _ref12.rows;
107
+ }, _TextArea.tokens.inputPaddingLeft, _TextArea.tokens.helpersPaddingTop, _TextArea.tokens.helpersPaddingBottom, _TextArea.tokens.helpersLineHeight, _TextArea.tokens.helpersOffset, _TextArea.tokens.inputPaddingBottom, function (_ref19) {
108
+ var hasHelper = _ref19.hasHelper,
109
+ rows = _ref19.rows;
64
110
  return hasHelper && !rows ? 'var(--plasma_private-textarea-input-with-helpers-height)' : 'var(--plasma_private-textarea-input-without-helpers-height)';
65
111
  }, _TextArea.tokens.inputFontFamily, _TextArea.tokens.inputFontSize, _TextArea.tokens.inputFontStyle, _TextArea.tokens.inputFontWeight, _TextArea.tokens.inputLetterSpacing, _TextArea.tokens.inputLineHeight, _TextArea.tokens.inputColorFocus, _TextArea.tokens.scrollbarWidth, _TextArea.tokens.scrollbarThumbBackgroundColor, _TextArea.tokens.scrollbarBorderWidth, _TextArea.tokens.scrollbarTrackBackgroundColor, _TextArea.tokens.scrollbarBorderWidth);
66
112
  var StyledHelpers = exports.StyledHelpers = /*#__PURE__*/_styledComponents["default"].div.withConfig({
67
- componentId: "plasma-new-hope__sc-pxxv3p-6"
113
+ componentId: "plasma-new-hope__sc-pxxv3p-13"
68
114
  })(["box-sizing:border-box;display:flex;justify-content:space-between;transition:background-color 0.1s ease-in-out;background-color:var(", ");padding-top:var(", ");padding-right:var(", ");padding-bottom:var(", ");padding-left:var(", ");border-bottom-left-radius:var(", ");border-bottom-right-radius:var(", ");"], _TextArea.tokens.helpersBackgroundColor, _TextArea.tokens.helpersPaddingTop, _TextArea.tokens.helpersPaddingRight, _TextArea.tokens.helpersPaddingBottom, _TextArea.tokens.helpersPaddingLeft, _TextArea.tokens.borderRadius, _TextArea.tokens.borderRadius);
69
115
  var StyledLeftHelper = exports.StyledLeftHelper = /*#__PURE__*/_styledComponents["default"].span.withConfig({
70
- componentId: "plasma-new-hope__sc-pxxv3p-7"
116
+ componentId: "plasma-new-hope__sc-pxxv3p-14"
71
117
  })(["", ";display:block;font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");color:var(", ");"], /*#__PURE__*/(0, _mixins.applyEllipsis)(), _TextArea.tokens.helpersFontFamily, _TextArea.tokens.helpersFontSize, _TextArea.tokens.helpersFontStyle, _TextArea.tokens.helpersFontWeight, _TextArea.tokens.helpersLetterSpacing, _TextArea.tokens.helpersLineHeight, _TextArea.tokens.leftHelperColor);
72
118
  var StyledRightHelper = exports.StyledRightHelper = /*#__PURE__*/(0, _styledComponents["default"])(StyledLeftHelper).withConfig({
73
- componentId: "plasma-new-hope__sc-pxxv3p-8"
119
+ componentId: "plasma-new-hope__sc-pxxv3p-15"
74
120
  })(["color:var(", ");margin-left:auto;"], _TextArea.tokens.rightHelperColor);
75
121
  var StyledPlaceholder = exports.StyledPlaceholder = /*#__PURE__*/_styledComponents["default"].label.withConfig({
76
- componentId: "plasma-new-hope__sc-pxxv3p-9"
77
- })(["box-sizing:border-box;position:absolute;pointer-events:none;display:inline-flex;align-items:center;transition:all 0.1s ease-in-out;transform-origin:top left;color:var(", ");width:100%;height:auto;top:var(", ");padding-left:var(", ");padding-right:", ";font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], _TextArea.tokens.placeholderColor, _TextArea.tokens.inputPaddingTop, _TextArea.tokens.inputPaddingLeft, function (_ref13) {
78
- var hasContentRight = _ref13.hasContentRight;
122
+ componentId: "plasma-new-hope__sc-pxxv3p-16"
123
+ })(["box-sizing:border-box;position:absolute;pointer-events:none;display:inline-flex;align-items:center;transition:all 0.1s ease-in-out;transform-origin:top left;color:var(", ");width:100%;height:auto;top:var(", ");padding-left:var(", ");padding-right:", ";font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], _TextArea.tokens.placeholderColor, _TextArea.tokens.inputPaddingTop, _TextArea.tokens.inputPaddingLeft, function (_ref20) {
124
+ var hasContentRight = _ref20.hasContentRight;
79
125
  return hasContentRight ? "var(".concat(_TextArea.tokens.inputPaddingRightWithRightContent, ")") : "var(".concat(_TextArea.tokens.inputPaddingRight, ")");
80
126
  }, _TextArea.tokens.inputFontFamily, _TextArea.tokens.inputFontSize, _TextArea.tokens.inputFontStyle, _TextArea.tokens.inputFontWeight, _TextArea.tokens.inputLetterSpacing, _TextArea.tokens.inputLineHeight);
81
127
  var StyledIndicator = exports.StyledIndicator = /*#__PURE__*/_styledComponents["default"].div.withConfig({
82
- componentId: "plasma-new-hope__sc-pxxv3p-10"
83
- })(["position:absolute;border-radius:50%;background-color:var(", ");&.", "{width:var(", ");height:var(", ");inset:var(", ");&.align-right{inset:var(", ");}}&.", "{width:var(", ");height:var(", ");inset:var(", ");&.align-right{inset:var(", ");}}"], _TextArea.tokens.indicatorColor, _TextArea.classes.outerLabelPlacement, _TextArea.tokens.indicatorSizeOuter, _TextArea.tokens.indicatorSizeOuter, _TextArea.tokens.indicatorLabelPlacementOuter, _TextArea.tokens.indicatorLabelPlacementOuterRight, _TextArea.classes.innerLabelPlacement, _TextArea.tokens.indicatorSizeInner, _TextArea.tokens.indicatorSizeInner, _TextArea.tokens.indicatorLabelPlacementInner, _TextArea.tokens.indicatorLabelPlacementInnerRight);
128
+ componentId: "plasma-new-hope__sc-pxxv3p-17"
129
+ })(["position:absolute;border-radius:50%;background-color:var(", ");&.", "{width:var(", ");height:var(", ");inset:var(", ");&.", "{inset:var(", ");&.", "{right:calc(-1 * var(", "));}}}&.", "{width:var(", ");height:var(", ");inset:var(", ");&.", "{inset:var(", ");}}"], _TextArea.tokens.indicatorColor, _TextArea.classes.outerLabelPlacement, _TextArea.tokens.indicatorSizeOuter, _TextArea.tokens.indicatorSizeOuter, _TextArea.tokens.indicatorLabelPlacementOuter, _TextArea.classes.requiredAlignRight, _TextArea.tokens.indicatorLabelPlacementOuterRight, _TextArea.classes.hasHint, _TextArea.tokens.indicatorSizeOuter, _TextArea.classes.innerLabelPlacement, _TextArea.tokens.indicatorSizeInner, _TextArea.tokens.indicatorSizeInner, _TextArea.tokens.indicatorLabelPlacementInner, _TextArea.classes.requiredAlignRight, _TextArea.tokens.indicatorLabelPlacementInnerRight);
@@ -134,7 +134,8 @@ export function App() {
134
134
  ```
135
135
 
136
136
  ### Подсказка
137
- Для вывода подсказки снизу от поля используйте свойство `leftHelper` и/или `rightHelper`.
137
+ Для вывода подсказки снизу от поля используйте свойство `leftHelper` и/или `rightHelper`,
138
+ для подсказки в виде Tooltip - `hasHint`, для подсказки сверху справа - `titleCaption`:
138
139
 
139
140
  ```tsx live
140
141
  import React from 'react';
@@ -148,6 +149,10 @@ export function App() {
148
149
  defaultValue="Значение"
149
150
  leftHelper="Подсказка снизу слева"
150
151
  rightHelper="Подсказка снизу справа"
152
+ hasHint
153
+ hintText="Подсказка в виде Tooltip"
154
+ hintView="default"
155
+ hintSize="m"
151
156
  />
152
157
  </div>
153
158
  );
@@ -25,8 +25,10 @@ var classes = exports.classes = {
25
25
  outerLabelPlacement: 'label-placement-outer',
26
26
  /** Класс для view `clear` */
27
27
  clear: 'textarea-clear',
28
+ hasHint: 'textarea-has-hint',
28
29
  hasRightContent: 'textarea-has-right-content',
29
- hasDivider: 'textarea-has-divider'
30
+ hasDivider: 'textarea-has-divider',
31
+ requiredAlignRight: 'required-align-right'
30
32
  };
31
33
  var tokens = exports.tokens = {
32
34
  /** Цвет фона для элемента textarea */
@@ -191,6 +193,7 @@ var tokens = exports.tokens = {
191
193
  indicatorLabelPlacementOuterRight: '--plasma-textarea-indicator-placement-outer-right',
192
194
  clearIndicatorLabelPlacementInner: '--plasma-textarea__clear-indicator-placement-inner',
193
195
  clearIndicatorLabelPlacementInnerRight: '--plasma-textarea__clear-indicator-placement-inner-right',
196
+ clearIndicatorHintInnerRight: '--plasma-textarea__clear-indicator-hint-placement-inner-right',
194
197
  scrollbarWidth: '--plasma-textarea-scrollbar-width',
195
198
  scrollbarBorderWidth: '--plasma-textarea-scrollbar-border-width',
196
199
  scrollbarThumbBackgroundColor: '--plasma-textarea-scrollbar-thumb-background-color',
@@ -199,8 +202,45 @@ var tokens = exports.tokens = {
199
202
  scrollbarTrackBackgroundColor: '--plasma-textarea-scrollbar-track-background-color',
200
203
  scrollbarTrackBackgroundColorHover: '--plasma-textarea-scrollbar-track-background-color-hover',
201
204
  scrollbarTrackBackgroundColorActive: '--plasma-textarea-scrollbar-track-background-color-active',
202
- dividerColor: '--plasma-textfield-divider-color',
203
- dividerColorHover: '--plasma-textfield-divider-color-hover',
204
- dividerColorFocus: '--plasma-textfield-divider-color-focus',
205
- dividerColorReadOnly: '--plasma-textfield-divider-color-readonly'
205
+ dividerColor: '--plasma-textarea-divider-color',
206
+ dividerColorHover: '--plasma-textarea-divider-color-hover',
207
+ dividerColorFocus: '--plasma-textarea-divider-color-focus',
208
+ dividerColorReadOnly: '--plasma-textarea-divider-color-readonly',
209
+ titleCaptionColor: '--plasma-textarea__title-caption-color',
210
+ titleCaptionColorReadOnly: '--plasma-textarea__title-caption-color-readonly',
211
+ titleCaptionInnerLabelOffset: '--plasma-textarea__title-caption-label-inner-offset',
212
+ titleCaptionFontFamily: '--plasma-textarea__title-caption-font-family',
213
+ titleCaptionFontStyle: '--plasma-textarea__title-caption-font-style',
214
+ titleCaptionFontSize: '--plasma-textarea__title-caption-font-size',
215
+ titleCaptionFontWeight: '--plasma-textarea__title-caption-font-weight',
216
+ titleCaptionLetterSpacing: '--plasma-textarea__title-caption-letter-spacing',
217
+ titleCaptionLineHeight: '--plasma-textarea__title-caption-line-height',
218
+ /** Токены для tooltip */
219
+ hintMargin: '--plasma-textarea__hint-margin',
220
+ hintTargetSize: '--plasma-textarea__hint-target-size',
221
+ hintIconColor: '--plasma-textarea__hint-icon-color',
222
+ hintInnerLabelPlacementOffset: '--plasma-textarea__hint-inner-label-placement-offset',
223
+ clearHintInnerLabelPlacementOffset: '--plasma-textarea__clear-hint-inner-label-placement-offset',
224
+ tooltipBackgroundColor: '--plasma-textarea__tooltip-background-color',
225
+ tooltipBoxShadow: '--plasma-textarea__tooltip-box-shadow',
226
+ tooltipColor: '--plasma-textarea__tooltip-color',
227
+ tooltipPaddingTop: '--plasma-textarea__tooltip-padding-top',
228
+ tooltipPaddingRight: '--plasma-textarea__tooltip-padding-right',
229
+ tooltipPaddingBottom: '--plasma-textarea__tooltip-padding-bottom',
230
+ tooltipPaddingLeft: '--plasma-textarea__tooltip-padding-left',
231
+ tooltipMinHeight: '--plasma-textarea__tooltip-min-height',
232
+ tooltipBorderRadius: '--plasma-textarea__tooltip-border-radius',
233
+ tooltipTextFontFamily: '--plasma-textarea__tooltip-text-font-family',
234
+ tooltipTextFontSize: '--plasma-textarea__tooltip-text-font-size',
235
+ tooltipTextFontStyle: '--plasma-textarea__tooltip-text-font-style',
236
+ tooltipTextFontWeight: '--plasma-textarea__tooltip-text-font-weight',
237
+ tooltipTextFontLetterSpacing: '--plasma-textarea__tooltip-text-font-letter-spacing',
238
+ tooltipTextFontLineHeight: '--plasma-textarea__tooltip-text-font-line-height',
239
+ tooltipContentLeftMargin: '--plasma-textarea__tooltip-content-left-margin',
240
+ tooltipArrowMaskWidth: '--plasma-textarea__tooltip-arrow-mask-width',
241
+ tooltipArrowMaskHeight: '--plasma-textarea__tooltip-arrow-mask-height',
242
+ tooltipArrowMaskImage: '--plasma-textarea__tooltip-arrow-mask-image',
243
+ tooltipArrowHeight: '--plasma-textarea__tooltip-arrow-height',
244
+ tooltipArrowEdgeMargin: '--plasma-textarea__tooltip-arrow-edge-margin',
245
+ tooltipArrowBackground: '--plasma-textarea__tooltip-arrow-background'
206
246
  };
@@ -7,14 +7,12 @@ exports.useAutoResize = exports.ROOT_FONT_SIZE = void 0;
7
7
  var _react = /*#__PURE__*/require("react");
8
8
  var ROOT_FONT_SIZE = exports.ROOT_FONT_SIZE = 16;
9
9
  var useAutoResize = exports.useAutoResize = function useAutoResize(active, ref, value, minAuto, maxAuto) {
10
- var isManualResize = (0, _react.useRef)(false);
11
10
  var previousHeight = (0, _react.useRef)();
12
11
  (0, _react.useEffect)(function () {
13
- if (active && ref && ref.current && !isManualResize.current) {
12
+ if (active && ref && ref.current) {
14
13
  // проверка на пользовательский resize (вручную)
15
14
  var height = ref.current.clientHeight / ROOT_FONT_SIZE;
16
15
  if (previousHeight.current !== undefined && previousHeight.current !== height) {
17
- isManualResize.current = true;
18
16
  return;
19
17
  }
20
18
  var style = getComputedStyle(ref.current);
@@ -29,5 +27,5 @@ var useAutoResize = exports.useAutoResize = function useAutoResize(active, ref,
29
27
  ref.current.style.height = "".concat(newHeight, "rem");
30
28
  previousHeight.current = newHeight;
31
29
  }
32
- }, [ref, active, value]);
30
+ }, [ref, active, value, minAuto, maxAuto]);
33
31
  };
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.HintComponent = void 0;
8
+ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
9
+ var _TextArea = /*#__PURE__*/require("../../TextArea.styles");
10
+ var _Icon = /*#__PURE__*/require("../../../_Icon");
11
+ var _utils = /*#__PURE__*/require("../../../../utils");
12
+ var _IconInfoCircleOutlin;
13
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
15
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
16
+ var HintComponent = exports.HintComponent = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
17
+ var hintText = _ref.hintText,
18
+ isHintVisible = _ref.isHintVisible,
19
+ hintTrigger = _ref.hintTrigger,
20
+ hintTargetIcon = _ref.hintTargetIcon,
21
+ hintPlacement = _ref.hintPlacement,
22
+ hintHasArrow = _ref.hintHasArrow,
23
+ hintOffset = _ref.hintOffset,
24
+ hintWidth = _ref.hintWidth,
25
+ hintContentLeft = _ref.hintContentLeft,
26
+ handleHintShow = _ref.handleHintShow,
27
+ handleHintHide = _ref.handleHintHide,
28
+ handleHintClick = _ref.handleHintClick;
29
+ var hintId = (0, _utils.safeUseId)();
30
+ return /*#__PURE__*/_react["default"].createElement(_TextArea.Hint, {
31
+ ref: ref,
32
+ text: String(hintText),
33
+ opened: isHintVisible,
34
+ target: /*#__PURE__*/_react["default"].createElement(_TextArea.HintTargetWrapper, null, /*#__PURE__*/_react["default"].createElement(_TextArea.HintIconWrapper, _extends({
35
+ id: hintId
36
+ }, hintTrigger === 'hover' ? {
37
+ onMouseEnter: handleHintShow,
38
+ onMouseLeave: handleHintHide
39
+ } : {
40
+ onClick: handleHintClick
41
+ }), hintTargetIcon || _IconInfoCircleOutlin || (_IconInfoCircleOutlin = /*#__PURE__*/_react["default"].createElement(_Icon.IconInfoCircleOutline, {
42
+ size: "xs",
43
+ color: "inherit"
44
+ })))),
45
+ placement: hintPlacement,
46
+ hasArrow: hintHasArrow,
47
+ offset: hintOffset,
48
+ minWidth: hintWidth,
49
+ maxWidth: hintWidth,
50
+ contentLeft: hintContentLeft,
51
+ frame: hintId
52
+ });
53
+ });
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -7,4 +7,4 @@ exports.base = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("styled-components");
8
8
  var _TextArea = /*#__PURE__*/require("../../TextArea.tokens");
9
9
  var _TextArea2 = /*#__PURE__*/require("../../TextArea.styles");
10
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&.", "{border:unset;", "{box-shadow:unset;background-color:unset;border-radius:0;padding-bottom:var(", ");}", "{margin-bottom:var(", ");}", "{right:0;bottom:unset;}", ",", "{padding-left:0;}", "{background-color:unset;border-radius:0;padding-top:var(", ");padding-right:0;}", "{color:var(", ");padding-right:0;&.", "{padding-right:var(", ");}}", "{&:not(.", "){", "{color:var(", ");}&.", " ", "{color:var(", ");}}&.", "{color:var(", ");}}", "{padding-left:0;}", "{&.", "{inset:var(", ");&.align-right{inset:var(", ");}}}.", "{border:unset;border-radius:0;}&:focus-within:not([readonly]) .", "{background-color:unset;box-shadow:unset;}&:focus-within:not([readonly]) .", "{border:unset;}&:focus-within:not([readonly]) .", "{background-color:unset;}&.", "{", "{position:relative;--plasma_private-textarea-divider-color:var(", ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textarea-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", ":hover{--plasma_private-textarea-divider-color:var( ", ",var(", ") );}&:not([readonly]) ", ":focus-within{--plasma_private-textarea-divider-color:var( ", ",var(", ") );}}}"], _TextArea.classes.clear, _TextArea2.StyledTextAreaWrapper, _TextArea.tokens.inputPaddingTop, _TextArea2.StyledLabel, _TextArea.tokens.clearLabelMarginBottom, _TextArea2.StyledContent, _TextArea2.StyledTextArea, _TextArea2.StyledHelpers, _TextArea2.StyledHelpers, _TextArea.tokens.clearHelpersPaddingTop, _TextArea2.StyledTextArea, _TextArea.tokens.clearInputColor, _TextArea.classes.hasRightContent, _TextArea.tokens.clearInputPaddingRightWithRightContent, _TextArea2.StyledContainer, _TextArea.classes.innerPlaceholderUp, _TextArea2.StyledPlaceholder, _TextArea.tokens.clearPlaceholderColor, _TextArea.classes.focusedOuterPlaceholderColor, _TextArea2.StyledPlaceholder, _TextArea.tokens.clearPlaceholderColorFocus, _TextArea.classes.innerPlaceholderUp, _TextArea.tokens.placeholderColor, _TextArea2.StyledPlaceholder, _TextArea2.StyledIndicator, _TextArea.classes.innerLabelPlacement, _TextArea.tokens.clearIndicatorLabelPlacementInner, _TextArea.tokens.clearIndicatorLabelPlacementInnerRight, _TextArea.classes.styledContainer, _TextArea.classes.styledTextAreaWrapper, _TextArea.classes.styledContainer, _TextArea.classes.styledHelpers, _TextArea.classes.hasDivider, _TextArea2.StyledTextAreaWrapper, /*#__PURE__*/String(_TextArea.tokens.dividerColor), _TextArea2.StyledTextAreaWrapper, _TextArea.tokens.dividerColorHover, /*#__PURE__*/String(_TextArea.tokens.dividerColor), _TextArea2.StyledTextAreaWrapper, _TextArea.tokens.dividerColorFocus, /*#__PURE__*/String(_TextArea.tokens.dividerColor));
10
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&.", "{border:unset;", "{box-shadow:unset;background-color:unset;border-radius:0;padding-bottom:var(", ");}", "{margin-bottom:var(", ");}", "{right:0;bottom:unset;}", ",", "{padding-left:0;}", "{background-color:unset;border-radius:0;padding-top:var(", ");padding-right:0;}", "{color:var(", ");padding-right:0;&.", "{padding-right:var(", ");}}", "{&:not(.", "){", "{color:var(", ");}&.", " ", "{color:var(", ");}}&.", "{color:var(", ");}}", "{padding-left:0;}", "{&.", "{inset:var(", ");&.", "{inset:var(", ");}}}&.", "{", "{&.", "{inset:var(", ");}}", "{&.", ".", "{inset:var(", ");}}}.", "{border:unset;border-radius:0;}&:focus-within:not([readonly]) .", "{background-color:unset;box-shadow:unset;}&:focus-within:not([readonly]) .", "{border:unset;}&:focus-within:not([readonly]) .", "{background-color:unset;}&.", "{", "{position:relative;--plasma_private-textarea-divider-color:var(", ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textarea-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", ":hover{--plasma_private-textarea-divider-color:var( ", ",var(", ") );}&:not([readonly]) ", ":focus-within{--plasma_private-textarea-divider-color:var( ", ",var(", ") );}}}"], _TextArea.classes.clear, _TextArea2.StyledTextAreaWrapper, _TextArea.tokens.inputPaddingTop, _TextArea2.OuterLabelWrapper, _TextArea.tokens.clearLabelMarginBottom, _TextArea2.StyledContent, _TextArea2.StyledTextArea, _TextArea2.StyledHelpers, _TextArea2.StyledHelpers, _TextArea.tokens.clearHelpersPaddingTop, _TextArea2.StyledTextArea, _TextArea.tokens.clearInputColor, _TextArea.classes.hasRightContent, _TextArea.tokens.clearInputPaddingRightWithRightContent, _TextArea2.StyledContainer, _TextArea.classes.innerPlaceholderUp, _TextArea2.StyledPlaceholder, _TextArea.tokens.clearPlaceholderColor, _TextArea.classes.focusedOuterPlaceholderColor, _TextArea2.StyledPlaceholder, _TextArea.tokens.clearPlaceholderColorFocus, _TextArea.classes.innerPlaceholderUp, _TextArea.tokens.placeholderColor, _TextArea2.StyledPlaceholder, _TextArea2.StyledIndicator, _TextArea.classes.innerLabelPlacement, _TextArea.tokens.clearIndicatorLabelPlacementInner, _TextArea.classes.requiredAlignRight, _TextArea.tokens.clearIndicatorLabelPlacementInnerRight, _TextArea.classes.hasHint, _TextArea2.StyledHintWrapper, _TextArea.classes.innerLabelPlacement, _TextArea.tokens.clearHintInnerLabelPlacementOffset, _TextArea2.StyledIndicator, _TextArea.classes.innerLabelPlacement, _TextArea.classes.requiredAlignRight, _TextArea.tokens.clearIndicatorHintInnerRight, _TextArea.classes.styledContainer, _TextArea.classes.styledTextAreaWrapper, _TextArea.classes.styledContainer, _TextArea.classes.styledHelpers, _TextArea.classes.hasDivider, _TextArea2.StyledTextAreaWrapper, /*#__PURE__*/String(_TextArea.tokens.dividerColor), _TextArea2.StyledTextAreaWrapper, _TextArea.tokens.dividerColorHover, /*#__PURE__*/String(_TextArea.tokens.dividerColor), _TextArea2.StyledTextAreaWrapper, _TextArea.tokens.dividerColorFocus, /*#__PURE__*/String(_TextArea.tokens.dividerColor));