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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1041) hide show
  1. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -1
  2. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
  3. package/cjs/components/Attach/Attach.js +3 -4
  4. package/cjs/components/Attach/Attach.js.map +1 -1
  5. package/cjs/components/Attach/components/AttachButton/AttachButton.js +0 -1
  6. package/cjs/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
  7. package/cjs/components/Attach/ui/Button/Button.styles.js +0 -1
  8. package/cjs/components/Attach/ui/Button/Button.styles.js.map +1 -1
  9. package/cjs/components/Attach/ui/Cell/Cell.styles.js +0 -2
  10. package/cjs/components/Attach/ui/Cell/Cell.styles.js.map +1 -1
  11. package/cjs/components/Attach/ui/IconButton/IconButton.styles.js +0 -1
  12. package/cjs/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -1
  13. package/cjs/components/Attach/utils/getFileicon.js +3 -4
  14. package/cjs/components/Attach/utils/getFileicon.js.map +1 -1
  15. package/cjs/components/Attach/utils/index.js +0 -3
  16. package/cjs/components/Attach/utils/index.js.map +1 -1
  17. package/cjs/components/Autocomplete/Autocomplete.css +35 -19
  18. package/cjs/components/Autocomplete/Autocomplete.js +9 -8
  19. package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
  20. package/cjs/components/Autocomplete/Autocomplete.styles.js +2 -3
  21. package/cjs/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  22. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -2
  23. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  24. package/cjs/components/Avatar/Avatar.js +2 -3
  25. package/cjs/components/Avatar/Avatar.js.map +1 -1
  26. package/cjs/components/Badge/Badge.css +0 -2
  27. package/cjs/components/Badge/Badge.js +2 -9
  28. package/cjs/components/Badge/Badge.js.map +1 -1
  29. package/cjs/components/Badge/Badge.tokens.js +1 -2
  30. package/cjs/components/Badge/Badge.tokens.js.map +1 -1
  31. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +2 -4
  32. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  33. package/cjs/components/Button/Button.styles.js +0 -3
  34. package/cjs/components/Button/Button.styles.js.map +1 -1
  35. package/cjs/components/Calendar/CalendarBase/CalendarBase.js +5 -5
  36. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
  37. package/cjs/components/Calendar/hooks/useDays.js +2 -2
  38. package/cjs/components/Calendar/hooks/useKeyNavigation.js +1 -1
  39. package/cjs/components/Calendar/hooks/useMonths.js +2 -2
  40. package/cjs/components/Calendar/hooks/useQuarters.js +2 -2
  41. package/cjs/components/Calendar/hooks/useYears.js +2 -2
  42. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +4 -4
  43. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -6
  44. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  45. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +0 -1
  46. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  47. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -4
  48. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -4
  49. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -4
  50. package/cjs/components/Combobox/ComboboxNew/Combobox.css +39 -18
  51. package/cjs/components/Combobox/ComboboxNew/Combobox.js +11 -12
  52. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  53. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -4
  54. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  55. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js +0 -2
  56. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  57. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +39 -18
  58. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js +1 -2
  59. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
  60. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +39 -18
  61. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +5 -6
  62. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  63. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -3
  64. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  65. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -2
  66. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  67. package/cjs/components/Combobox/ComboboxOld/Combobox.js +4 -10
  68. package/cjs/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  69. package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js +0 -1
  70. package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
  71. package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js +0 -1
  72. package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
  73. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +1 -2
  74. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
  75. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +1 -10
  76. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  77. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +1 -10
  78. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  79. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +1 -10
  80. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  81. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +1 -10
  82. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  83. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +0 -2
  84. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  85. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  86. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +1 -2
  87. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
  88. package/cjs/components/DatePicker/DatePickerBase.styles.js +1 -7
  89. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  90. package/cjs/components/DatePicker/RangeDate/RangeDate.css +34 -18
  91. package/cjs/components/DatePicker/RangeDate/RangeDate.js +1 -1
  92. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +0 -1
  93. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  94. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +34 -18
  95. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -2
  96. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  97. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +2 -5
  98. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  99. package/cjs/components/DatePicker/SingleDate/SingleDate.css +36 -20
  100. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +0 -1
  101. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  102. package/cjs/components/Drawer/Drawer.js +5 -10
  103. package/cjs/components/Drawer/Drawer.js.map +1 -1
  104. package/cjs/components/Drawer/Drawer.styles.js +0 -4
  105. package/cjs/components/Drawer/Drawer.styles.js.map +1 -1
  106. package/cjs/components/Drawer/hooks/useDrawer.js +0 -4
  107. package/cjs/components/Drawer/hooks/useDrawer.js.map +1 -1
  108. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js +0 -7
  109. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  110. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js +0 -7
  111. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  112. package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js +0 -3
  113. package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
  114. package/cjs/components/Dropdown/Dropdown.js +3 -10
  115. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  116. package/cjs/components/Dropdown/Dropdown.styles.js +2 -3
  117. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  118. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -9
  119. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  120. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -2
  121. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  122. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -2
  123. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  124. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +0 -1
  125. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
  126. package/cjs/components/Editable/Editable.js +3 -4
  127. package/cjs/components/Editable/Editable.js.map +1 -1
  128. package/cjs/components/Editable/utils/clearSelection.js +0 -2
  129. package/cjs/components/Editable/utils/clearSelection.js.map +1 -1
  130. package/cjs/components/Editable/utils/selectText.js +0 -2
  131. package/cjs/components/Editable/utils/selectText.js.map +1 -1
  132. package/cjs/components/EmptyState/EmptyState.styles.js +1 -2
  133. package/cjs/components/EmptyState/EmptyState.styles.js.map +1 -1
  134. package/cjs/components/IconButton/IconButton.js +1 -1
  135. package/cjs/components/IconButton/IconButton.styles.js +0 -8
  136. package/cjs/components/IconButton/IconButton.styles.js.map +1 -1
  137. package/cjs/components/Modal/Modal.js +6 -8
  138. package/cjs/components/Modal/Modal.js.map +1 -1
  139. package/cjs/components/Modal/hooks/useModal.js +0 -4
  140. package/cjs/components/Modal/hooks/useModal.js.map +1 -1
  141. package/cjs/components/Notification/Notification.styles.js +2 -3
  142. package/cjs/components/Notification/Notification.styles.js.map +1 -1
  143. package/cjs/components/Notification/NotificationsPortal.js +3 -4
  144. package/cjs/components/Notification/NotificationsPortal.js.map +1 -1
  145. package/cjs/components/Pagination/Pagination.styles.js +1 -2
  146. package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
  147. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -2
  148. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  149. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js +1 -2
  150. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
  151. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -2
  152. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
  153. package/cjs/components/Popover/Popover.js +1 -1
  154. package/cjs/components/Popup/Popup.js +2 -2
  155. package/cjs/components/Popup/PopupContext.js +1 -1
  156. package/cjs/components/Range/Range.css +40 -19
  157. package/cjs/components/Range/Range.styles.js +0 -1
  158. package/cjs/components/Range/Range.styles.js.map +1 -1
  159. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +4 -5
  160. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  161. package/cjs/components/Select/Select.js +11 -12
  162. package/cjs/components/Select/Select.js.map +1 -1
  163. package/cjs/components/Select/Select.styles.js +2 -5
  164. package/cjs/components/Select/Select.styles.js.map +1 -1
  165. package/cjs/components/Select/hooks/usePathMaps.js +0 -2
  166. package/cjs/components/Select/hooks/usePathMaps.js.map +1 -1
  167. package/cjs/components/Select/ui/Inner/Inner.js +1 -2
  168. package/cjs/components/Select/ui/Inner/Inner.js.map +1 -1
  169. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +4 -5
  170. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  171. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +0 -1
  172. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  173. package/cjs/components/Select/ui/Target/ui/Button/Button.js +1 -1
  174. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +1 -3
  175. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  176. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
  177. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -4
  178. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  179. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +1 -2
  180. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
  181. package/cjs/components/Select/utils/getButtonLabel.js +0 -2
  182. package/cjs/components/Select/utils/getButtonLabel.js.map +1 -1
  183. package/cjs/components/Sheet/Sheet.js +3 -3
  184. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js +2 -4
  185. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  186. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js +2 -4
  187. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  188. package/cjs/components/Slider/Slider.css +40 -19
  189. package/cjs/components/Slider/Slider.js +0 -6
  190. package/cjs/components/Slider/Slider.js.map +1 -1
  191. package/cjs/components/Slider/components/Double/Double.css +40 -19
  192. package/cjs/components/Slider/components/Double/Double.js +1 -2
  193. package/cjs/components/Slider/components/Double/Double.js.map +1 -1
  194. package/cjs/components/Slider/components/Double/Double.styles.js +0 -1
  195. package/cjs/components/Slider/components/Double/Double.styles.js.map +1 -1
  196. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +0 -3
  197. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  198. package/cjs/components/Slider/components/Single/Single.js +1 -2
  199. package/cjs/components/Slider/components/Single/Single.js.map +1 -1
  200. package/cjs/components/Slider/components/SliderBase/SliderBase.js +1 -1
  201. package/cjs/components/Steps/Steps.js +1 -1
  202. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js +0 -1
  203. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  204. package/cjs/components/Tabs/tokens.js +1 -2
  205. package/cjs/components/Tabs/tokens.js.map +1 -1
  206. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +0 -2
  207. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +2 -8
  208. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  209. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +0 -2
  210. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -14
  211. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  212. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -7
  213. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +2 -8
  214. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js.map +1 -1
  215. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  216. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  217. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/{VerticalTabItem.styles_1yspq9o.css → VerticalTabItem.styles_16d3lah.css} +1 -1
  218. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.css +0 -2
  219. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +4 -13
  220. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  221. package/cjs/components/TextArea/TextArea.js +112 -20
  222. package/cjs/components/TextArea/TextArea.js.map +1 -1
  223. package/cjs/components/TextArea/TextArea.styles.js +165 -63
  224. package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
  225. package/cjs/components/TextArea/TextArea.styles_1ke2ihc.css +18 -0
  226. package/cjs/components/TextArea/TextArea.tokens.js +45 -5
  227. package/cjs/components/TextArea/TextArea.tokens.js.map +1 -1
  228. package/cjs/components/TextArea/hooks/useAutoResize.js +2 -4
  229. package/cjs/components/TextArea/hooks/useAutoResize.js.map +1 -1
  230. package/cjs/components/TextArea/ui/Hint/Hint.css +30 -0
  231. package/cjs/components/TextArea/ui/Hint/Hint.js +52 -0
  232. package/cjs/components/TextArea/ui/Hint/Hint.js.map +1 -0
  233. package/cjs/components/TextArea/variations/_clear/base.js +1 -1
  234. package/cjs/components/TextArea/variations/_clear/base.js.map +1 -1
  235. package/cjs/components/TextArea/variations/_clear/base_iz2qkw.css +1 -0
  236. package/cjs/components/{Badge/variations/_truncate → TextArea/variations/_hint-size}/base.js +2 -2
  237. package/cjs/components/TextArea/variations/_hint-size/base.js.map +1 -0
  238. package/cjs/components/TextArea/variations/_hint-size/base_1ipgv90.css +1 -0
  239. package/cjs/components/{Tabs/ui/vertical/VerticalTabItem/variations/_truncate → TextArea/variations/_hint-view}/base.js +2 -2
  240. package/cjs/components/TextArea/variations/_hint-view/base.js.map +1 -0
  241. package/cjs/components/TextArea/variations/_hint-view/base_111a0qe.css +1 -0
  242. package/cjs/components/TextArea/variations/_view/base.js +1 -1
  243. package/cjs/components/TextArea/variations/_view/base.js.map +1 -1
  244. package/cjs/components/TextArea/variations/_view/base_1xgrm3x.css +1 -0
  245. package/cjs/components/TextField/TextField.js +101 -11
  246. package/cjs/components/TextField/TextField.js.map +1 -1
  247. package/cjs/components/TextField/TextField.styles.js +81 -23
  248. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  249. package/cjs/components/TextField/TextField.styles_grgg7q.css +22 -0
  250. package/cjs/components/TextField/TextField.tokens.js +42 -2
  251. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  252. package/cjs/components/TextField/ui/Hint/Hint.css +34 -0
  253. package/cjs/components/TextField/ui/Hint/Hint.js +52 -0
  254. package/cjs/components/TextField/ui/Hint/Hint.js.map +1 -0
  255. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -2
  256. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  257. package/cjs/components/TextField/variations/_clear/base.js +1 -1
  258. package/cjs/components/TextField/variations/_clear/base.js.map +1 -1
  259. package/cjs/components/TextField/variations/_clear/base_1i91sjp.css +1 -0
  260. package/cjs/components/TextField/variations/_disabled/base.js +1 -1
  261. package/cjs/components/TextField/variations/_disabled/{base_2tv0nz.css → base_4d3opa.css} +1 -1
  262. package/cjs/components/{Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate → TextField/variations/_hint-size}/base.js +2 -2
  263. package/cjs/components/TextField/variations/_hint-size/base.js.map +1 -0
  264. package/cjs/components/TextField/variations/_hint-size/base_1x99605.css +1 -0
  265. package/cjs/components/{Tabs/ui/horizontal/HorizontalTabs/variations/_truncate → TextField/variations/_hint-view}/base.js +2 -2
  266. package/cjs/components/TextField/variations/_hint-view/base.js.map +1 -0
  267. package/cjs/components/TextField/variations/_hint-view/base_l8etux.css +1 -0
  268. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  269. package/cjs/components/TextField/variations/_label-placement/base.js.map +1 -1
  270. package/cjs/components/TextField/variations/_label-placement/base_3domm.css +1 -0
  271. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  272. package/cjs/components/TextField/variations/_read-only/base.js.map +1 -1
  273. package/cjs/components/TextField/variations/_read-only/base_17ypmu7.css +1 -0
  274. package/cjs/components/TextField/variations/_size/base.js +1 -1
  275. package/cjs/components/TextField/variations/_size/base.js.map +1 -1
  276. package/cjs/components/TextField/variations/_size/base_1xdmaqh.css +1 -0
  277. package/cjs/components/TextField/variations/_view/base.js +1 -1
  278. package/cjs/components/TextField/variations/_view/base.js.map +1 -1
  279. package/cjs/components/TextField/variations/_view/base_qhyte8.css +1 -0
  280. package/cjs/components/TextFieldGroup/TextFieldGroup.css +1 -1
  281. package/cjs/components/TextFieldGroup/variations/_shape/base.js +1 -1
  282. package/cjs/components/TextFieldGroup/variations/_shape/base_52bndd.css +1 -0
  283. package/cjs/components/Toast/Toast.styles.js +1 -1
  284. package/cjs/components/Toast/ToastController.js +1 -1
  285. package/cjs/components/Toast/utils.js +1 -2
  286. package/cjs/components/Toast/utils.js.map +1 -1
  287. package/cjs/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
  288. package/cjs/components/Tooltip/Tooltip.js +2 -3
  289. package/cjs/components/Tooltip/Tooltip.js.map +1 -1
  290. package/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +23 -0
  291. package/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js.map +1 -0
  292. package/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +23 -0
  293. package/cjs/components/_Icon/Icons/IconInfoCircleOutline.js.map +1 -0
  294. package/cjs/engines/index.js +0 -2
  295. package/cjs/engines/index.js.map +1 -1
  296. package/cjs/hooks/useIsomorphicLayoutEffect.js +0 -1
  297. package/cjs/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  298. package/cjs/index.css +61 -49
  299. package/cjs/index.js +48 -51
  300. package/cjs/index.js.map +1 -1
  301. package/cjs/utils/index.js +0 -5
  302. package/cjs/utils/index.js.map +1 -1
  303. package/emotion/cjs/components/Autocomplete/Autocomplete.js +4 -2
  304. package/emotion/cjs/components/Badge/Badge.js +2 -9
  305. package/emotion/cjs/components/Badge/Badge.tokens.js +1 -2
  306. package/emotion/cjs/components/Tabs/tokens.js +1 -2
  307. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +2 -8
  308. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +3 -11
  309. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +2 -8
  310. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  311. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -10
  312. package/emotion/cjs/components/TextArea/TextArea.js +115 -23
  313. package/emotion/cjs/components/TextArea/TextArea.styles.js +103 -41
  314. package/emotion/cjs/components/TextArea/TextArea.template-doc.mdx +6 -1
  315. package/emotion/cjs/components/TextArea/TextArea.tokens.js +45 -5
  316. package/emotion/cjs/components/TextArea/hooks/useAutoResize.js +2 -4
  317. package/emotion/cjs/components/TextArea/ui/Hint/Hint.js +53 -0
  318. package/emotion/cjs/components/TextArea/ui/Hint/Hint.types.js +5 -0
  319. package/emotion/cjs/components/TextArea/variations/_clear/base.js +1 -1
  320. package/emotion/cjs/components/TextArea/variations/_hint-size/base.js +11 -0
  321. package/emotion/cjs/components/TextArea/variations/_hint-size/tokens.json +21 -0
  322. package/emotion/cjs/components/TextArea/variations/_hint-view/base.js +11 -0
  323. package/emotion/cjs/components/TextArea/variations/_hint-view/tokens.json +5 -0
  324. package/emotion/cjs/components/TextArea/variations/_view/base.js +2 -1
  325. package/emotion/cjs/components/TextField/TextField.js +103 -13
  326. package/emotion/cjs/components/TextField/TextField.styles.js +88 -37
  327. package/emotion/cjs/components/TextField/TextField.template-doc.mdx +6 -1
  328. package/emotion/cjs/components/TextField/TextField.tokens.js +42 -2
  329. package/emotion/cjs/components/TextField/ui/Hint/Hint.js +53 -0
  330. package/emotion/cjs/components/TextField/ui/Hint/Hint.types.js +5 -0
  331. package/emotion/cjs/components/TextField/variations/_clear/base.js +1 -1
  332. package/emotion/cjs/components/TextField/variations/_hint-size/base.js +11 -0
  333. package/emotion/cjs/components/TextField/variations/_hint-size/tokens.json +21 -0
  334. package/emotion/cjs/components/TextField/variations/_hint-view/base.js +11 -0
  335. package/emotion/cjs/components/TextField/variations/_hint-view/tokens.json +5 -0
  336. package/emotion/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  337. package/emotion/cjs/components/TextField/variations/_read-only/base.js +1 -1
  338. package/emotion/cjs/components/TextField/variations/_size/base.js +1 -1
  339. package/emotion/cjs/components/TextField/variations/_view/base.js +1 -1
  340. package/emotion/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +22 -0
  341. package/emotion/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +22 -0
  342. package/emotion/cjs/components/_Icon/index.js +8 -1
  343. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +14 -17
  344. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +2 -9
  345. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +5 -57
  346. package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  347. package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +15 -18
  348. package/emotion/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  349. package/emotion/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +6 -9
  350. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +17 -10
  351. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +72 -0
  352. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +20 -13
  353. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +73 -1
  354. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +17 -10
  355. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +72 -0
  356. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.config.js +20 -13
  357. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +82 -10
  358. package/emotion/es/components/Autocomplete/Autocomplete.js +4 -2
  359. package/emotion/es/components/Badge/Badge.js +2 -9
  360. package/emotion/es/components/Badge/Badge.tokens.js +1 -2
  361. package/emotion/es/components/Tabs/tokens.js +1 -2
  362. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +2 -8
  363. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +3 -11
  364. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +2 -8
  365. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  366. package/emotion/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -10
  367. package/emotion/es/components/TextArea/TextArea.js +115 -23
  368. package/emotion/es/components/TextArea/TextArea.styles.js +102 -40
  369. package/emotion/es/components/TextArea/TextArea.template-doc.mdx +6 -1
  370. package/emotion/es/components/TextArea/TextArea.tokens.js +45 -5
  371. package/emotion/es/components/TextArea/hooks/useAutoResize.js +2 -4
  372. package/emotion/es/components/TextArea/ui/Hint/Hint.js +44 -0
  373. package/emotion/es/components/TextArea/ui/Hint/Hint.types.js +1 -0
  374. package/emotion/es/components/TextArea/variations/_clear/base.js +2 -2
  375. package/emotion/es/components/TextArea/variations/_hint-size/base.js +5 -0
  376. package/emotion/es/components/TextArea/variations/_hint-size/tokens.json +21 -0
  377. package/emotion/es/components/TextArea/variations/_hint-view/base.js +5 -0
  378. package/emotion/es/components/TextArea/variations/_hint-view/tokens.json +5 -0
  379. package/emotion/es/components/TextArea/variations/_view/base.js +2 -1
  380. package/emotion/es/components/TextField/TextField.js +102 -12
  381. package/emotion/es/components/TextField/TextField.styles.js +87 -36
  382. package/emotion/es/components/TextField/TextField.template-doc.mdx +6 -1
  383. package/emotion/es/components/TextField/TextField.tokens.js +42 -2
  384. package/emotion/es/components/TextField/ui/Hint/Hint.js +44 -0
  385. package/emotion/es/components/TextField/ui/Hint/Hint.types.js +1 -0
  386. package/emotion/es/components/TextField/variations/_clear/base.js +2 -2
  387. package/emotion/es/components/TextField/variations/_hint-size/base.js +5 -0
  388. package/emotion/es/components/TextField/variations/_hint-size/tokens.json +21 -0
  389. package/emotion/es/components/TextField/variations/_hint-view/base.js +5 -0
  390. package/emotion/es/components/TextField/variations/_hint-view/tokens.json +5 -0
  391. package/emotion/es/components/TextField/variations/_label-placement/base.js +1 -1
  392. package/emotion/es/components/TextField/variations/_read-only/base.js +2 -2
  393. package/emotion/es/components/TextField/variations/_size/base.js +2 -2
  394. package/emotion/es/components/TextField/variations/_view/base.js +2 -2
  395. package/emotion/es/components/_Icon/Icon.assets/InfoCircleOutline.js +15 -0
  396. package/emotion/es/components/_Icon/Icons/IconInfoCircleOutline.js +15 -0
  397. package/emotion/es/components/_Icon/index.js +2 -1
  398. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.config.js +14 -17
  399. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +2 -9
  400. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +5 -57
  401. package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  402. package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +15 -18
  403. package/emotion/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  404. package/emotion/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +6 -9
  405. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +17 -10
  406. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +72 -0
  407. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +20 -13
  408. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +73 -1
  409. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.config.js +17 -10
  410. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +72 -0
  411. package/emotion/es/examples/plasma_web/components/TextField/TextField.config.js +20 -13
  412. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +82 -10
  413. package/emotion/package.json +2 -1
  414. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -1
  415. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
  416. package/es/components/Attach/Attach.js +3 -4
  417. package/es/components/Attach/Attach.js.map +1 -1
  418. package/es/components/Attach/components/AttachButton/AttachButton.js +0 -1
  419. package/es/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
  420. package/es/components/Attach/ui/Button/Button.styles.js +0 -1
  421. package/es/components/Attach/ui/Button/Button.styles.js.map +1 -1
  422. package/es/components/Attach/ui/Cell/Cell.styles.js +0 -2
  423. package/es/components/Attach/ui/Cell/Cell.styles.js.map +1 -1
  424. package/es/components/Attach/ui/IconButton/IconButton.styles.js +0 -1
  425. package/es/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -1
  426. package/es/components/Attach/utils/getFileicon.js +3 -4
  427. package/es/components/Attach/utils/getFileicon.js.map +1 -1
  428. package/es/components/Attach/utils/index.js +0 -3
  429. package/es/components/Attach/utils/index.js.map +1 -1
  430. package/es/components/Autocomplete/Autocomplete.css +35 -19
  431. package/es/components/Autocomplete/Autocomplete.js +9 -8
  432. package/es/components/Autocomplete/Autocomplete.js.map +1 -1
  433. package/es/components/Autocomplete/Autocomplete.styles.js +2 -3
  434. package/es/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  435. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -2
  436. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  437. package/es/components/Avatar/Avatar.js +2 -3
  438. package/es/components/Avatar/Avatar.js.map +1 -1
  439. package/es/components/Badge/Badge.css +0 -2
  440. package/es/components/Badge/Badge.js +2 -9
  441. package/es/components/Badge/Badge.js.map +1 -1
  442. package/es/components/Badge/Badge.tokens.js +1 -2
  443. package/es/components/Badge/Badge.tokens.js.map +1 -1
  444. package/es/components/Breadcrumbs/Breadcrumbs.styles.js +2 -4
  445. package/es/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  446. package/es/components/Button/Button.styles.js +0 -3
  447. package/es/components/Button/Button.styles.js.map +1 -1
  448. package/es/components/Calendar/CalendarBase/CalendarBase.js +5 -5
  449. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
  450. package/es/components/Calendar/hooks/useDays.js +2 -2
  451. package/es/components/Calendar/hooks/useKeyNavigation.js +1 -1
  452. package/es/components/Calendar/hooks/useMonths.js +2 -2
  453. package/es/components/Calendar/hooks/useQuarters.js +2 -2
  454. package/es/components/Calendar/hooks/useYears.js +2 -2
  455. package/es/components/Calendar/ui/CalendarDays/CalendarDays.js +4 -4
  456. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -6
  457. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  458. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +0 -1
  459. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  460. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -4
  461. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -4
  462. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -4
  463. package/es/components/Combobox/ComboboxNew/Combobox.css +39 -18
  464. package/es/components/Combobox/ComboboxNew/Combobox.js +11 -12
  465. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  466. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -4
  467. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  468. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js +0 -2
  469. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  470. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +39 -18
  471. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js +1 -2
  472. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
  473. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +39 -18
  474. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +5 -6
  475. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  476. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -3
  477. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  478. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -2
  479. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  480. package/es/components/Combobox/ComboboxOld/Combobox.js +4 -10
  481. package/es/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  482. package/es/components/Combobox/ComboboxOld/Combobox.styles.js +0 -1
  483. package/es/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
  484. package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js +0 -1
  485. package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
  486. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +1 -2
  487. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
  488. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +1 -10
  489. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  490. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +1 -10
  491. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  492. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +1 -10
  493. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  494. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +1 -10
  495. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  496. package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +0 -2
  497. package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  498. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  499. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +1 -2
  500. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
  501. package/es/components/DatePicker/DatePickerBase.styles.js +1 -7
  502. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  503. package/es/components/DatePicker/RangeDate/RangeDate.css +34 -18
  504. package/es/components/DatePicker/RangeDate/RangeDate.js +1 -1
  505. package/es/components/DatePicker/RangeDate/RangeDate.styles.js +0 -1
  506. package/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  507. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +34 -18
  508. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -2
  509. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  510. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +2 -5
  511. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  512. package/es/components/DatePicker/SingleDate/SingleDate.css +36 -20
  513. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +0 -1
  514. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  515. package/es/components/Drawer/Drawer.js +5 -10
  516. package/es/components/Drawer/Drawer.js.map +1 -1
  517. package/es/components/Drawer/Drawer.styles.js +0 -4
  518. package/es/components/Drawer/Drawer.styles.js.map +1 -1
  519. package/es/components/Drawer/hooks/useDrawer.js +0 -4
  520. package/es/components/Drawer/hooks/useDrawer.js.map +1 -1
  521. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js +0 -7
  522. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  523. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js +0 -7
  524. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  525. package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js +0 -3
  526. package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
  527. package/es/components/Dropdown/Dropdown.js +3 -10
  528. package/es/components/Dropdown/Dropdown.js.map +1 -1
  529. package/es/components/Dropdown/Dropdown.styles.js +2 -3
  530. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  531. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -9
  532. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  533. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -2
  534. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  535. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -2
  536. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  537. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +0 -1
  538. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
  539. package/es/components/Editable/Editable.js +3 -4
  540. package/es/components/Editable/Editable.js.map +1 -1
  541. package/es/components/Editable/utils/clearSelection.js +0 -2
  542. package/es/components/Editable/utils/clearSelection.js.map +1 -1
  543. package/es/components/Editable/utils/selectText.js +0 -2
  544. package/es/components/Editable/utils/selectText.js.map +1 -1
  545. package/es/components/EmptyState/EmptyState.styles.js +1 -2
  546. package/es/components/EmptyState/EmptyState.styles.js.map +1 -1
  547. package/es/components/IconButton/IconButton.js +1 -1
  548. package/es/components/IconButton/IconButton.styles.js +0 -8
  549. package/es/components/IconButton/IconButton.styles.js.map +1 -1
  550. package/es/components/Modal/Modal.js +6 -8
  551. package/es/components/Modal/Modal.js.map +1 -1
  552. package/es/components/Modal/hooks/useModal.js +0 -4
  553. package/es/components/Modal/hooks/useModal.js.map +1 -1
  554. package/es/components/Notification/Notification.styles.js +2 -3
  555. package/es/components/Notification/Notification.styles.js.map +1 -1
  556. package/es/components/Notification/NotificationsPortal.js +3 -4
  557. package/es/components/Notification/NotificationsPortal.js.map +1 -1
  558. package/es/components/Pagination/Pagination.styles.js +1 -2
  559. package/es/components/Pagination/Pagination.styles.js.map +1 -1
  560. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -2
  561. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  562. package/es/components/Panel/ui/PanelHeader/PanelHeader.js +1 -2
  563. package/es/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
  564. package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -2
  565. package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
  566. package/es/components/Popover/Popover.js +1 -1
  567. package/es/components/Popup/Popup.js +2 -2
  568. package/es/components/Popup/PopupContext.js +1 -1
  569. package/es/components/Range/Range.css +40 -19
  570. package/es/components/Range/Range.styles.js +0 -1
  571. package/es/components/Range/Range.styles.js.map +1 -1
  572. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +4 -5
  573. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  574. package/es/components/Select/Select.js +11 -12
  575. package/es/components/Select/Select.js.map +1 -1
  576. package/es/components/Select/Select.styles.js +2 -5
  577. package/es/components/Select/Select.styles.js.map +1 -1
  578. package/es/components/Select/hooks/usePathMaps.js +0 -2
  579. package/es/components/Select/hooks/usePathMaps.js.map +1 -1
  580. package/es/components/Select/ui/Inner/Inner.js +1 -2
  581. package/es/components/Select/ui/Inner/Inner.js.map +1 -1
  582. package/es/components/Select/ui/Inner/ui/Item/Item.js +4 -5
  583. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  584. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +0 -1
  585. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  586. package/es/components/Select/ui/Target/ui/Button/Button.js +1 -1
  587. package/es/components/Select/ui/Target/ui/Button/Button.styles.js +1 -3
  588. package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  589. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
  590. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -4
  591. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  592. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +1 -2
  593. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
  594. package/es/components/Select/utils/getButtonLabel.js +0 -2
  595. package/es/components/Select/utils/getButtonLabel.js.map +1 -1
  596. package/es/components/Sheet/Sheet.js +3 -3
  597. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js +2 -4
  598. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  599. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js +2 -4
  600. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  601. package/es/components/Slider/Slider.css +40 -19
  602. package/es/components/Slider/Slider.js +0 -6
  603. package/es/components/Slider/Slider.js.map +1 -1
  604. package/es/components/Slider/components/Double/Double.css +40 -19
  605. package/es/components/Slider/components/Double/Double.js +1 -2
  606. package/es/components/Slider/components/Double/Double.js.map +1 -1
  607. package/es/components/Slider/components/Double/Double.styles.js +0 -1
  608. package/es/components/Slider/components/Double/Double.styles.js.map +1 -1
  609. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +0 -3
  610. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  611. package/es/components/Slider/components/Single/Single.js +1 -2
  612. package/es/components/Slider/components/Single/Single.js.map +1 -1
  613. package/es/components/Slider/components/SliderBase/SliderBase.js +1 -1
  614. package/es/components/Steps/Steps.js +1 -1
  615. package/es/components/Steps/ui/StepItem/StepItem.styles.js +0 -1
  616. package/es/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  617. package/es/components/Tabs/tokens.js +1 -2
  618. package/es/components/Tabs/tokens.js.map +1 -1
  619. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +0 -2
  620. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +2 -8
  621. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  622. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +0 -2
  623. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -14
  624. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  625. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -7
  626. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +2 -8
  627. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js.map +1 -1
  628. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  629. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  630. package/es/components/Tabs/ui/vertical/VerticalTabItem/{VerticalTabItem.styles_1yspq9o.css → VerticalTabItem.styles_16d3lah.css} +1 -1
  631. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.css +0 -2
  632. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +4 -13
  633. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  634. package/es/components/TextArea/TextArea.js +116 -24
  635. package/es/components/TextArea/TextArea.js.map +1 -1
  636. package/es/components/TextArea/TextArea.styles.js +159 -64
  637. package/es/components/TextArea/TextArea.styles.js.map +1 -1
  638. package/es/components/TextArea/TextArea.styles_1ke2ihc.css +18 -0
  639. package/es/components/TextArea/TextArea.tokens.js +45 -5
  640. package/es/components/TextArea/TextArea.tokens.js.map +1 -1
  641. package/es/components/TextArea/hooks/useAutoResize.js +2 -4
  642. package/es/components/TextArea/hooks/useAutoResize.js.map +1 -1
  643. package/es/components/TextArea/ui/Hint/Hint.css +30 -0
  644. package/es/components/TextArea/ui/Hint/Hint.js +48 -0
  645. package/es/components/TextArea/ui/Hint/Hint.js.map +1 -0
  646. package/es/components/TextArea/variations/_clear/base.js +1 -1
  647. package/es/components/TextArea/variations/_clear/base.js.map +1 -1
  648. package/es/components/TextArea/variations/_clear/base_iz2qkw.css +1 -0
  649. package/es/components/{Tabs/ui/vertical/VerticalTabs/variations/_truncate → TextArea/variations/_hint-size}/base.js +2 -2
  650. package/es/components/TextArea/variations/_hint-size/base.js.map +1 -0
  651. package/es/components/TextArea/variations/_hint-size/base_1ipgv90.css +1 -0
  652. package/es/components/TextArea/variations/_hint-view/base.js +5 -0
  653. package/es/components/TextArea/variations/_hint-view/base.js.map +1 -0
  654. package/es/components/TextArea/variations/_hint-view/base_111a0qe.css +1 -0
  655. package/es/components/TextArea/variations/_view/base.js +1 -1
  656. package/es/components/TextArea/variations/_view/base.js.map +1 -1
  657. package/es/components/TextArea/variations/_view/base_1xgrm3x.css +1 -0
  658. package/es/components/TextField/TextField.js +102 -12
  659. package/es/components/TextField/TextField.js.map +1 -1
  660. package/es/components/TextField/TextField.styles.js +75 -24
  661. package/es/components/TextField/TextField.styles.js.map +1 -1
  662. package/es/components/TextField/TextField.styles_grgg7q.css +22 -0
  663. package/es/components/TextField/TextField.tokens.js +42 -2
  664. package/es/components/TextField/TextField.tokens.js.map +1 -1
  665. package/es/components/TextField/ui/Hint/Hint.css +34 -0
  666. package/es/components/TextField/ui/Hint/Hint.js +48 -0
  667. package/es/components/TextField/ui/Hint/Hint.js.map +1 -0
  668. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -2
  669. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  670. package/es/components/TextField/variations/_clear/base.js +1 -1
  671. package/es/components/TextField/variations/_clear/base.js.map +1 -1
  672. package/es/components/TextField/variations/_clear/base_1i91sjp.css +1 -0
  673. package/es/components/TextField/variations/_disabled/base.js +1 -1
  674. package/es/components/TextField/variations/_disabled/{base_2tv0nz.css → base_4d3opa.css} +1 -1
  675. package/es/components/TextField/variations/_hint-size/base.js +5 -0
  676. package/es/components/TextField/variations/_hint-size/base.js.map +1 -0
  677. package/es/components/TextField/variations/_hint-size/base_1x99605.css +1 -0
  678. package/es/components/{Tabs/ui/horizontal/HorizontalTabs/variations/_truncate → TextField/variations/_hint-view}/base.js +2 -2
  679. package/es/components/TextField/variations/_hint-view/base.js.map +1 -0
  680. package/es/components/TextField/variations/_hint-view/base_l8etux.css +1 -0
  681. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  682. package/es/components/TextField/variations/_label-placement/base.js.map +1 -1
  683. package/es/components/TextField/variations/_label-placement/base_3domm.css +1 -0
  684. package/es/components/TextField/variations/_read-only/base.js +1 -1
  685. package/es/components/TextField/variations/_read-only/base.js.map +1 -1
  686. package/es/components/TextField/variations/_read-only/base_17ypmu7.css +1 -0
  687. package/es/components/TextField/variations/_size/base.js +1 -1
  688. package/es/components/TextField/variations/_size/base.js.map +1 -1
  689. package/es/components/TextField/variations/_size/base_1xdmaqh.css +1 -0
  690. package/es/components/TextField/variations/_view/base.js +1 -1
  691. package/es/components/TextField/variations/_view/base.js.map +1 -1
  692. package/es/components/TextField/variations/_view/base_qhyte8.css +1 -0
  693. package/es/components/TextFieldGroup/TextFieldGroup.css +1 -1
  694. package/es/components/TextFieldGroup/variations/_shape/base.js +1 -1
  695. package/es/components/TextFieldGroup/variations/_shape/base_52bndd.css +1 -0
  696. package/es/components/Toast/Toast.styles.js +1 -1
  697. package/es/components/Toast/ToastController.js +1 -1
  698. package/es/components/Toast/utils.js +1 -2
  699. package/es/components/Toast/utils.js.map +1 -1
  700. package/es/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
  701. package/es/components/Tooltip/Tooltip.js +2 -3
  702. package/es/components/Tooltip/Tooltip.js.map +1 -1
  703. package/es/components/_Icon/Icon.assets/InfoCircleOutline.js +19 -0
  704. package/es/components/_Icon/Icon.assets/InfoCircleOutline.js.map +1 -0
  705. package/es/components/_Icon/Icons/IconInfoCircleOutline.js +19 -0
  706. package/es/components/_Icon/Icons/IconInfoCircleOutline.js.map +1 -0
  707. package/es/engines/index.js +0 -2
  708. package/es/engines/index.js.map +1 -1
  709. package/es/hooks/useIsomorphicLayoutEffect.js +0 -1
  710. package/es/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  711. package/es/index.css +61 -49
  712. package/es/index.js +21 -24
  713. package/es/index.js.map +1 -1
  714. package/es/utils/index.js +0 -3
  715. package/es/utils/index.js.map +1 -1
  716. package/package.json +5 -2
  717. package/styled-components/cjs/components/Autocomplete/Autocomplete.js +4 -2
  718. package/styled-components/cjs/components/Badge/Badge.js +2 -9
  719. package/styled-components/cjs/components/Badge/Badge.tokens.js +1 -2
  720. package/styled-components/cjs/components/Tabs/tokens.js +1 -2
  721. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +2 -8
  722. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +3 -11
  723. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +2 -8
  724. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  725. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -10
  726. package/styled-components/cjs/components/TextArea/TextArea.js +114 -22
  727. package/styled-components/cjs/components/TextArea/TextArea.styles.js +88 -42
  728. package/styled-components/cjs/components/TextArea/TextArea.template-doc.mdx +6 -1
  729. package/styled-components/cjs/components/TextArea/TextArea.tokens.js +45 -5
  730. package/styled-components/cjs/components/TextArea/hooks/useAutoResize.js +2 -4
  731. package/styled-components/cjs/components/TextArea/ui/Hint/Hint.js +53 -0
  732. package/styled-components/cjs/components/TextArea/ui/Hint/Hint.types.js +5 -0
  733. package/styled-components/cjs/components/TextArea/variations/_clear/base.js +1 -1
  734. package/styled-components/cjs/components/TextArea/variations/_hint-size/base.js +11 -0
  735. package/styled-components/cjs/components/TextArea/variations/_hint-size/tokens.json +21 -0
  736. package/styled-components/cjs/components/TextArea/variations/_hint-view/base.js +11 -0
  737. package/styled-components/cjs/components/TextArea/variations/_hint-view/tokens.json +5 -0
  738. package/styled-components/cjs/components/TextArea/variations/_view/base.js +2 -1
  739. package/styled-components/cjs/components/TextField/TextField.js +102 -12
  740. package/styled-components/cjs/components/TextField/TextField.styles.js +49 -21
  741. package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +6 -1
  742. package/styled-components/cjs/components/TextField/TextField.tokens.js +42 -2
  743. package/styled-components/cjs/components/TextField/ui/Hint/Hint.js +53 -0
  744. package/styled-components/cjs/components/TextField/ui/Hint/Hint.types.js +5 -0
  745. package/styled-components/cjs/components/TextField/variations/_clear/base.js +1 -1
  746. package/styled-components/cjs/components/TextField/variations/_hint-size/base.js +11 -0
  747. package/styled-components/cjs/components/TextField/variations/_hint-size/tokens.json +21 -0
  748. package/styled-components/cjs/components/TextField/variations/_hint-view/base.js +11 -0
  749. package/styled-components/cjs/components/TextField/variations/_hint-view/tokens.json +5 -0
  750. package/styled-components/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  751. package/styled-components/cjs/components/TextField/variations/_read-only/base.js +1 -1
  752. package/styled-components/cjs/components/TextField/variations/_size/base.js +1 -1
  753. package/styled-components/cjs/components/TextField/variations/_view/base.js +1 -1
  754. package/styled-components/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +22 -0
  755. package/styled-components/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +22 -0
  756. package/styled-components/cjs/components/_Icon/index.js +8 -1
  757. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +0 -3
  758. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +2 -9
  759. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +5 -57
  760. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  761. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +0 -3
  762. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  763. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +0 -3
  764. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +16 -9
  765. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +72 -0
  766. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +16 -9
  767. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +73 -1
  768. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +16 -9
  769. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +72 -0
  770. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +16 -9
  771. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +82 -10
  772. package/styled-components/es/components/Autocomplete/Autocomplete.js +4 -2
  773. package/styled-components/es/components/Badge/Badge.js +2 -9
  774. package/styled-components/es/components/Badge/Badge.tokens.js +1 -2
  775. package/styled-components/es/components/Tabs/tokens.js +1 -2
  776. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +2 -8
  777. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +3 -11
  778. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +2 -8
  779. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  780. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -10
  781. package/styled-components/es/components/TextArea/TextArea.js +114 -22
  782. package/styled-components/es/components/TextArea/TextArea.styles.js +87 -41
  783. package/styled-components/es/components/TextArea/TextArea.template-doc.mdx +6 -1
  784. package/styled-components/es/components/TextArea/TextArea.tokens.js +45 -5
  785. package/styled-components/es/components/TextArea/hooks/useAutoResize.js +2 -4
  786. package/styled-components/es/components/TextArea/ui/Hint/Hint.js +44 -0
  787. package/styled-components/es/components/TextArea/ui/Hint/Hint.types.js +1 -0
  788. package/styled-components/es/components/TextArea/variations/_clear/base.js +2 -2
  789. package/styled-components/es/components/TextArea/variations/_hint-size/base.js +5 -0
  790. package/styled-components/es/components/TextArea/variations/_hint-size/tokens.json +21 -0
  791. package/styled-components/es/components/TextArea/variations/_hint-view/base.js +5 -0
  792. package/styled-components/es/components/TextArea/variations/_hint-view/tokens.json +5 -0
  793. package/styled-components/es/components/TextArea/variations/_view/base.js +2 -1
  794. package/styled-components/es/components/TextField/TextField.js +101 -11
  795. package/styled-components/es/components/TextField/TextField.styles.js +48 -20
  796. package/styled-components/es/components/TextField/TextField.template-doc.mdx +6 -1
  797. package/styled-components/es/components/TextField/TextField.tokens.js +42 -2
  798. package/styled-components/es/components/TextField/ui/Hint/Hint.js +44 -0
  799. package/styled-components/es/components/TextField/ui/Hint/Hint.types.js +1 -0
  800. package/styled-components/es/components/TextField/variations/_clear/base.js +2 -2
  801. package/styled-components/es/components/TextField/variations/_hint-size/base.js +5 -0
  802. package/styled-components/es/components/TextField/variations/_hint-size/tokens.json +21 -0
  803. package/styled-components/es/components/TextField/variations/_hint-view/base.js +5 -0
  804. package/styled-components/es/components/TextField/variations/_hint-view/tokens.json +5 -0
  805. package/styled-components/es/components/TextField/variations/_label-placement/base.js +1 -1
  806. package/styled-components/es/components/TextField/variations/_read-only/base.js +2 -2
  807. package/styled-components/es/components/TextField/variations/_size/base.js +2 -2
  808. package/styled-components/es/components/TextField/variations/_view/base.js +2 -2
  809. package/styled-components/es/components/_Icon/Icon.assets/InfoCircleOutline.js +15 -0
  810. package/styled-components/es/components/_Icon/Icons/IconInfoCircleOutline.js +15 -0
  811. package/styled-components/es/components/_Icon/index.js +2 -1
  812. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.config.js +0 -3
  813. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +2 -9
  814. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +5 -57
  815. package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  816. package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +0 -3
  817. package/styled-components/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  818. package/styled-components/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +0 -3
  819. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +16 -9
  820. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +72 -0
  821. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +16 -9
  822. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +73 -1
  823. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.config.js +16 -9
  824. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +72 -0
  825. package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +16 -9
  826. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +82 -10
  827. package/styled-components/package.json +2 -1
  828. package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  829. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +408 -0
  830. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  831. package/types/components/Badge/Badge.d.ts +0 -4
  832. package/types/components/Badge/Badge.d.ts.map +1 -1
  833. package/types/components/Badge/Badge.tokens.d.ts +0 -1
  834. package/types/components/Badge/Badge.tokens.d.ts.map +1 -1
  835. package/types/components/Badge/Badge.types.d.ts +0 -5
  836. package/types/components/Badge/Badge.types.d.ts.map +1 -1
  837. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +408 -0
  838. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  839. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +408 -0
  840. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  841. package/types/components/Dropdown/ui/DropdownOld/utils/index.d.ts +3 -2
  842. package/types/components/Dropdown/ui/DropdownOld/utils/index.d.ts.map +1 -1
  843. package/types/components/Popover/Popover.types.d.ts +2 -3
  844. package/types/components/Popover/Popover.types.d.ts.map +1 -1
  845. package/types/components/Range/Range.styles.d.ts +408 -0
  846. package/types/components/Range/Range.styles.d.ts.map +1 -1
  847. package/types/components/Slider/components/Double/Double.styles.d.ts +408 -0
  848. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  849. package/types/components/Tabs/TabItem.types.d.ts +0 -5
  850. package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
  851. package/types/components/Tabs/Tabs.types.d.ts +0 -5
  852. package/types/components/Tabs/Tabs.types.d.ts.map +1 -1
  853. package/types/components/Tabs/tokens.d.ts +0 -1
  854. package/types/components/Tabs/tokens.d.ts.map +1 -1
  855. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts +0 -3
  856. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
  857. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts +0 -3
  858. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts.map +1 -1
  859. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.d.ts +0 -3
  860. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.d.ts.map +1 -1
  861. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
  862. package/types/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.d.ts +0 -4
  863. package/types/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.d.ts.map +1 -1
  864. package/types/components/TextArea/TextArea.d.ts +9 -3
  865. package/types/components/TextArea/TextArea.d.ts.map +1 -1
  866. package/types/components/TextArea/TextArea.styles.d.ts +12 -1
  867. package/types/components/TextArea/TextArea.styles.d.ts.map +1 -1
  868. package/types/components/TextArea/TextArea.tokens.d.ts +40 -0
  869. package/types/components/TextArea/TextArea.tokens.d.ts.map +1 -1
  870. package/types/components/TextArea/TextArea.types.d.ts +78 -3
  871. package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
  872. package/types/components/TextArea/hooks/useAutoResize.d.ts.map +1 -1
  873. package/types/components/TextArea/ui/Hint/Hint.d.ts +4 -0
  874. package/types/components/TextArea/ui/Hint/Hint.d.ts.map +1 -0
  875. package/types/components/TextArea/ui/Hint/Hint.types.d.ts +17 -0
  876. package/types/components/TextArea/ui/Hint/Hint.types.d.ts.map +1 -0
  877. package/types/components/TextArea/variations/_clear/base.d.ts.map +1 -1
  878. package/types/components/TextArea/variations/_hint-size/base.d.ts.map +1 -0
  879. package/types/components/TextArea/variations/_hint-view/base.d.ts.map +1 -0
  880. package/types/components/TextArea/variations/_view/base.d.ts.map +1 -1
  881. package/types/components/TextField/TextField.d.ts +9 -3
  882. package/types/components/TextField/TextField.d.ts.map +1 -1
  883. package/types/components/TextField/TextField.styles.d.ts +9 -0
  884. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  885. package/types/components/TextField/TextField.tokens.d.ts +40 -0
  886. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  887. package/types/components/TextField/TextField.types.d.ts +73 -2
  888. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  889. package/types/components/TextField/ui/Hint/Hint.d.ts +4 -0
  890. package/types/components/TextField/ui/Hint/Hint.d.ts.map +1 -0
  891. package/types/components/TextField/ui/Hint/Hint.types.d.ts +17 -0
  892. package/types/components/TextField/ui/Hint/Hint.types.d.ts.map +1 -0
  893. package/types/components/TextField/variations/_clear/base.d.ts.map +1 -1
  894. package/types/components/TextField/variations/_hint-size/base.d.ts.map +1 -0
  895. package/types/components/TextField/variations/_hint-view/base.d.ts.map +1 -0
  896. package/types/components/TextField/variations/_label-placement/base.d.ts.map +1 -1
  897. package/types/components/TextField/variations/_read-only/base.d.ts.map +1 -1
  898. package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
  899. package/types/components/TextField/variations/_view/base.d.ts.map +1 -1
  900. package/types/components/_Icon/Icon.assets/InfoCircleOutline.d.ts +4 -0
  901. package/types/components/_Icon/Icon.assets/InfoCircleOutline.d.ts.map +1 -0
  902. package/types/components/_Icon/Icons/IconInfoCircleOutline.d.ts +4 -0
  903. package/types/components/_Icon/Icons/IconInfoCircleOutline.d.ts.map +1 -0
  904. package/types/components/_Icon/index.d.ts +1 -0
  905. package/types/components/_Icon/index.d.ts.map +1 -1
  906. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts +0 -3
  907. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts.map +1 -1
  908. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts +0 -6
  909. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts.map +1 -1
  910. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +740 -12
  911. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
  912. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +0 -6
  913. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
  914. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts +0 -6
  915. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts.map +1 -1
  916. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts +0 -3
  917. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts.map +1 -1
  918. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.d.ts +0 -3
  919. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.d.ts.map +1 -1
  920. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.d.ts +0 -3
  921. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.d.ts.map +1 -1
  922. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.d.ts +0 -3
  923. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.d.ts.map +1 -1
  924. package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts +7 -0
  925. package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts.map +1 -1
  926. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +455 -0
  927. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts.map +1 -1
  928. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts +7 -0
  929. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
  930. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +415 -0
  931. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  932. package/types/examples/plasma_web/components/Badge/Badge.d.ts +0 -3
  933. package/types/examples/plasma_web/components/Badge/Badge.d.ts.map +1 -1
  934. package/types/examples/plasma_web/components/Mask/Mask.d.ts +740 -12
  935. package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
  936. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts +7 -0
  937. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts.map +1 -1
  938. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +455 -0
  939. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts.map +1 -1
  940. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts +7 -0
  941. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +1 -1
  942. package/types/examples/plasma_web/components/TextField/TextField.d.ts +415 -0
  943. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  944. package/types/utils/getPopoverPlacement.d.ts +3 -2
  945. package/types/utils/getPopoverPlacement.d.ts.map +1 -1
  946. package/types/utils/index.d.ts +1 -1
  947. package/types/utils/index.d.ts.map +1 -1
  948. package/cjs/components/Badge/variations/_truncate/base.js.map +0 -1
  949. package/cjs/components/Badge/variations/_truncate/base_nf9u2h.css +0 -1
  950. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js.map +0 -1
  951. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base_1b34xv3.css +0 -1
  952. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/base.js.map +0 -1
  953. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/base_1kepful.css +0 -1
  954. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js.map +0 -1
  955. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base_1nwonlh.css +0 -1
  956. package/cjs/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base.js +0 -9
  957. package/cjs/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base.js.map +0 -1
  958. package/cjs/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base_14x17ie.css +0 -1
  959. package/cjs/components/TextArea/TextArea.styles_es0miz.css +0 -11
  960. package/cjs/components/TextArea/variations/_clear/base_vidplj.css +0 -1
  961. package/cjs/components/TextArea/variations/_view/base_td55th.css +0 -1
  962. package/cjs/components/TextField/TextField.styles_1d2ryq.css +0 -15
  963. package/cjs/components/TextField/variations/_clear/base_rit6gc.css +0 -1
  964. package/cjs/components/TextField/variations/_label-placement/base_1ghihns.css +0 -1
  965. package/cjs/components/TextField/variations/_read-only/base_1n7tghz.css +0 -1
  966. package/cjs/components/TextField/variations/_size/base_1h8l0kj.css +0 -1
  967. package/cjs/components/TextField/variations/_view/base_1noe46b.css +0 -1
  968. package/cjs/components/TextFieldGroup/variations/_shape/base_1e0je21.css +0 -1
  969. package/emotion/cjs/components/Badge/variations/_truncate/base.js +0 -10
  970. package/emotion/cjs/components/Badge/variations/_truncate/tokens.json +0 -1
  971. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -10
  972. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  973. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/base.js +0 -11
  974. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/tokens.json +0 -1
  975. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -10
  976. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  977. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base.js +0 -10
  978. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/tokens.json +0 -1
  979. package/emotion/es/components/Badge/variations/_truncate/base.js +0 -4
  980. package/emotion/es/components/Badge/variations/_truncate/tokens.json +0 -1
  981. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -4
  982. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  983. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/base.js +0 -5
  984. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/tokens.json +0 -1
  985. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -4
  986. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  987. package/emotion/es/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base.js +0 -4
  988. package/emotion/es/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/tokens.json +0 -1
  989. package/es/components/Badge/variations/_truncate/base.js +0 -5
  990. package/es/components/Badge/variations/_truncate/base.js.map +0 -1
  991. package/es/components/Badge/variations/_truncate/base_nf9u2h.css +0 -1
  992. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -5
  993. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js.map +0 -1
  994. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base_1b34xv3.css +0 -1
  995. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/base.js.map +0 -1
  996. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/base_1kepful.css +0 -1
  997. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -5
  998. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js.map +0 -1
  999. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base_1nwonlh.css +0 -1
  1000. package/es/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base.js.map +0 -1
  1001. package/es/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base_14x17ie.css +0 -1
  1002. package/es/components/TextArea/TextArea.styles_es0miz.css +0 -11
  1003. package/es/components/TextArea/variations/_clear/base_vidplj.css +0 -1
  1004. package/es/components/TextArea/variations/_view/base_td55th.css +0 -1
  1005. package/es/components/TextField/TextField.styles_1d2ryq.css +0 -15
  1006. package/es/components/TextField/variations/_clear/base_rit6gc.css +0 -1
  1007. package/es/components/TextField/variations/_label-placement/base_1ghihns.css +0 -1
  1008. package/es/components/TextField/variations/_read-only/base_1n7tghz.css +0 -1
  1009. package/es/components/TextField/variations/_size/base_1h8l0kj.css +0 -1
  1010. package/es/components/TextField/variations/_view/base_1noe46b.css +0 -1
  1011. package/es/components/TextFieldGroup/variations/_shape/base_1e0je21.css +0 -1
  1012. package/styled-components/cjs/components/Badge/variations/_truncate/base.js +0 -10
  1013. package/styled-components/cjs/components/Badge/variations/_truncate/tokens.json +0 -1
  1014. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -10
  1015. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  1016. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/base.js +0 -11
  1017. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/tokens.json +0 -1
  1018. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -10
  1019. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  1020. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base.js +0 -10
  1021. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/tokens.json +0 -1
  1022. package/styled-components/es/components/Badge/variations/_truncate/base.js +0 -4
  1023. package/styled-components/es/components/Badge/variations/_truncate/tokens.json +0 -1
  1024. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -4
  1025. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  1026. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/base.js +0 -5
  1027. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/tokens.json +0 -1
  1028. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -4
  1029. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  1030. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base.js +0 -4
  1031. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/tokens.json +0 -1
  1032. package/types/components/Badge/variations/_truncate/base.d.ts.map +0 -1
  1033. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.d.ts.map +0 -1
  1034. package/types/components/Tabs/ui/horizontal/HorizontalTabs/variations/_truncate/base.d.ts.map +0 -1
  1035. package/types/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.d.ts.map +0 -1
  1036. package/types/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base.d.ts +0 -2
  1037. package/types/components/Tabs/ui/vertical/VerticalTabs/variations/_truncate/base.d.ts.map +0 -1
  1038. /package/types/components/{Badge/variations/_truncate → TextArea/variations/_hint-size}/base.d.ts +0 -0
  1039. /package/types/components/{Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate → TextArea/variations/_hint-view}/base.d.ts +0 -0
  1040. /package/types/components/{Tabs/ui/horizontal/HorizontalTabs/variations/_truncate → TextField/variations/_hint-size}/base.d.ts +0 -0
  1041. /package/types/components/{Tabs/ui/vertical/VerticalTabItem/variations/_truncate → TextField/variations/_hint-view}/base.d.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  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); }
2
- 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"];
2
+ 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"];
3
3
  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); }
4
4
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
5
5
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -18,18 +18,22 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
18
18
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
19
19
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
20
20
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
21
- import React, { forwardRef, useState, createRef, useCallback } from 'react';
21
+ import React, { forwardRef, useState, createRef, useCallback, useRef } from 'react';
22
22
  import { css } from 'styled-components';
23
- import { useResizeObserver } from '@salutejs/plasma-core';
23
+ import { useForkRef, useResizeObserver } from '@salutejs/plasma-core';
24
24
  import { cx, mergeRefs } from '../../utils';
25
+ import { useOutsideClick } from '../../hooks';
25
26
  import { applyDynamicLabel } from './mixins';
26
27
  import { useAutoResize, ROOT_FONT_SIZE } from './hooks';
27
- import { StyledContent, StyledHelpers, StyledLeftHelper, StyledRightHelper, StyledLabel, StyledPlaceholder, StyledTextArea, StyledTextAreaWrapper, StyledContainer, StyledIndicator, StyledOptionalText } from './TextArea.styles';
28
+ import { StyledContent, StyledHelpers, StyledLeftHelper, StyledRightHelper, StyledLabel, StyledPlaceholder, StyledTextArea, StyledTextAreaWrapper, StyledContainer, StyledIndicator, StyledOptionalText, OuterLabelWrapper, StyledIndicatorWrapper, StyledHintWrapper, TitleCaption } from './TextArea.styles';
28
29
  import { classes } from './TextArea.tokens';
29
30
  import { base as viewCSS } from './variations/_view/base';
30
31
  import { base as sizeCSS } from './variations/_size/base';
31
32
  import { base as clearCSS } from './variations/_clear/base';
32
33
  import { base as disabledCSS } from './variations/_disabled/base';
34
+ import { base as hintViewCSS } from './variations/_hint-view/base';
35
+ import { base as hintSizeCSS } from './variations/_hint-size/base';
36
+ import { HintComponent } from './ui/Hint/Hint';
33
37
  var innerPlaceholderUp = classes.innerPlaceholderUp,
34
38
  focusedOuterPlaceholderColor = classes.focusedOuterPlaceholderColor,
35
39
  hidePlaceHolder = classes.hidePlaceHolder,
@@ -48,6 +52,7 @@ var fallbackStatusMap = {
48
52
  warning: 'warning',
49
53
  error: 'negative'
50
54
  };
55
+ var HINT_DEFAULT_OFFSET = [0, 0];
51
56
 
52
57
  // TODO: Перенести этот метод в файл applyDynamicLabel.ts
53
58
  export var getDynamicLabelClasses = function getDynamicLabelClasses(props, focused) {
@@ -84,6 +89,7 @@ export var textAreaRoot = function textAreaRoot(Root) {
84
89
  label = props.label,
85
90
  _props$labelPlacement = props.labelPlacement,
86
91
  labelPlacement = _props$labelPlacement === void 0 ? 'inner' : _props$labelPlacement,
92
+ titleCaption = props.titleCaption,
87
93
  placeholder = props.placeholder,
88
94
  defaultValue = props.defaultValue,
89
95
  height = props.height,
@@ -106,21 +112,45 @@ export var textAreaRoot = function textAreaRoot(Root) {
106
112
  readOnly = props.readOnly,
107
113
  rows = props.rows,
108
114
  cols = props.cols,
115
+ _props$hintTrigger = props.hintTrigger,
116
+ hintTrigger = _props$hintTrigger === void 0 ? 'hover' : _props$hintTrigger,
117
+ hintText = props.hintText,
118
+ _props$hintView = props.hintView,
119
+ hintView = _props$hintView === void 0 ? 'default' : _props$hintView,
120
+ _props$hintSize = props.hintSize,
121
+ hintSize = _props$hintSize === void 0 ? 'm' : _props$hintSize,
122
+ hintTargetIcon = props.hintTargetIcon,
123
+ _props$hintPlacement = props.hintPlacement,
124
+ hintPlacement = _props$hintPlacement === void 0 ? 'auto' : _props$hintPlacement,
125
+ hintHasArrow = props.hintHasArrow,
126
+ _props$hintOffset = props.hintOffset,
127
+ hintOffset = _props$hintOffset === void 0 ? HINT_DEFAULT_OFFSET : _props$hintOffset,
128
+ hintWidth = props.hintWidth,
129
+ hintContentLeft = props.hintContentLeft,
109
130
  onChange = props.onChange,
110
131
  rest = _objectWithoutProperties(props, _excluded);
111
- var _useState = useState(width ? "".concat(width, "rem") : '100%'),
132
+ var _useState = useState(false),
112
133
  _useState2 = _slicedToArray(_useState, 2),
113
- helperWidth = _useState2[0],
114
- setHelperWidth = _useState2[1];
115
- var _useState3 = useState(false),
134
+ isHintVisible = _useState2[0],
135
+ setIsHintVisible = _useState2[1];
136
+ var _useState3 = useState(width ? "".concat(width, "rem") : '100%'),
116
137
  _useState4 = _slicedToArray(_useState3, 2),
117
- focused = _useState4[0],
118
- setFocused = _useState4[1];
119
- var _useState5 = useState(),
138
+ helperWidth = _useState4[0],
139
+ setHelperWidth = _useState4[1];
140
+ var _useState5 = useState(false),
120
141
  _useState6 = _slicedToArray(_useState5, 2),
121
- uncontrolledValue = _useState6[0],
122
- setUncontrolledValue = _useState6[1];
142
+ focused = _useState6[0],
143
+ setFocused = _useState6[1];
144
+ var _useState7 = useState(),
145
+ _useState8 = _slicedToArray(_useState7, 2),
146
+ uncontrolledValue = _useState8[0],
147
+ setUncontrolledValue = _useState8[1];
123
148
  var outerRef = /*#__PURE__*/createRef();
149
+ var hintRef = useOutsideClick(function () {
150
+ setIsHintVisible(false);
151
+ });
152
+ var hintInnerRef = useRef(null);
153
+ var hintForkRef = useForkRef(hintRef, hintInnerRef);
124
154
  var innerOptional = required ? false : optional;
125
155
  var hasHelper = Boolean(leftHelper || rightHelper || helperText);
126
156
  var hasOuterLabel = Boolean(label && labelPlacement === 'outer');
@@ -131,9 +161,28 @@ export var textAreaRoot = function textAreaRoot(Root) {
131
161
  var applyCustomWidth = resize !== 'horizontal' && resize !== 'both' && !cols;
132
162
  var placeholderLabel = hasInnerLabel ? label : placeholder;
133
163
  var clearClass = clear ? classes.clear : undefined;
164
+ var hasHintClass = hintText ? classes.hasHint : undefined;
134
165
  var hasRightContentClass = contentRight ? classes.hasRightContent : undefined;
135
166
  var hasDividerClass = hasDivider ? classes.hasDivider : undefined;
136
- var requiredPlacementClass = requiredPlacement === 'right' ? 'align-right ' : undefined;
167
+ var requiredPlacementClass = requiredPlacement === 'right' ? classes.requiredAlignRight : undefined;
168
+ var handleHintShow = function handleHintShow() {
169
+ return setIsHintVisible(true);
170
+ };
171
+ var handleHintHide = function handleHintHide() {
172
+ return setIsHintVisible(false);
173
+ };
174
+ var handleHintClick = function handleHintClick(event) {
175
+ var _hintInnerRef$current;
176
+ if (!hintText || hintTrigger !== 'click') {
177
+ return;
178
+ }
179
+ event.stopPropagation();
180
+ var targetIsPopover = event.target === hintInnerRef.current;
181
+ var rootHasTarget = (_hintInnerRef$current = hintInnerRef.current) === null || _hintInnerRef$current === void 0 ? void 0 : _hintInnerRef$current.contains(event.target);
182
+ if (!targetIsPopover && !rootHasTarget) {
183
+ setIsHintVisible(true);
184
+ }
185
+ };
137
186
  useResizeObserver(outerRef, function (currentElement) {
138
187
  var inlineWidth = currentElement.style.width;
139
188
  if (inlineWidth || cols) {
@@ -175,8 +224,10 @@ export var textAreaRoot = function textAreaRoot(Root) {
175
224
  value: value || uncontrolledValue || defaultValue,
176
225
  rows: rows
177
226
  }, focused);
178
- var optionalTextNode = innerOptional ? /*#__PURE__*/React.createElement(StyledOptionalText, null, Boolean(hasPlaceholderOptional ? placeholderLabel : label) && '\xa0', optionalText) : null;
179
- return /*#__PURE__*/React.createElement(Root, {
227
+ var optionalTextNode = innerOptional ? /*#__PURE__*/React.createElement(StyledOptionalText, {
228
+ inheritFont: !hasOuterLabel
229
+ }, Boolean(hasPlaceholderOptional ? placeholderLabel : label) && '\xa0', optionalText) : null;
230
+ return /*#__PURE__*/React.createElement(Root, _extends({
180
231
  view: overriddenView,
181
232
  size: size,
182
233
  disabled: disabled,
@@ -185,18 +236,53 @@ export var textAreaRoot = function textAreaRoot(Root) {
185
236
  style: _objectSpread({
186
237
  width: helperWidth
187
238
  }, style),
188
- className: cx(clearClass, hasDividerClass, className),
239
+ className: cx(clearClass, hasDividerClass, hasHintClass, className),
189
240
  onClick: handleTextAreaFocus
190
- }, hasOuterLabel && /*#__PURE__*/React.createElement(StyledLabel, null, required && /*#__PURE__*/React.createElement(StyledIndicator, {
191
- className: cx(classes.outerLabelPlacement, requiredPlacementClass)
192
- }), label, optionalTextNode), /*#__PURE__*/React.createElement(StyledContainer, {
241
+ }, hintText && {
242
+ hintView: hintView,
243
+ hintSize: hintSize
244
+ }), (hasOuterLabel || titleCaption) && /*#__PURE__*/React.createElement(OuterLabelWrapper, {
245
+ isInnnerLabel: labelPlacement === 'inner'
246
+ }, hasOuterLabel && /*#__PURE__*/React.createElement(StyledIndicatorWrapper, null, /*#__PURE__*/React.createElement(StyledLabel, null, label), hintText && /*#__PURE__*/React.createElement(StyledHintWrapper, null, /*#__PURE__*/React.createElement(HintComponent, {
247
+ ref: hintForkRef,
248
+ hintText: hintText,
249
+ hintTrigger: hintTrigger,
250
+ isHintVisible: isHintVisible,
251
+ hintTargetIcon: hintTargetIcon,
252
+ hintPlacement: hintPlacement,
253
+ hintHasArrow: hintHasArrow,
254
+ hintOffset: hintOffset,
255
+ hintWidth: hintWidth,
256
+ hintContentLeft: hintContentLeft,
257
+ handleHintShow: handleHintShow,
258
+ handleHintHide: handleHintHide,
259
+ handleHintClick: handleHintClick
260
+ })), required && /*#__PURE__*/React.createElement(StyledIndicator, {
261
+ className: cx(classes.outerLabelPlacement, requiredPlacementClass, hasHintClass)
262
+ }), optionalTextNode), titleCaption && /*#__PURE__*/React.createElement(TitleCaption, null, titleCaption)), /*#__PURE__*/React.createElement(StyledContainer, {
193
263
  className: cx.apply(void 0, [styledContainer].concat(_toConsumableArray(dynamicLabelClasses))),
194
264
  width: helperWidth,
195
265
  onFocus: onFocusHandler,
196
266
  onBlur: onBlurHandler
197
- }, required && !hasOuterLabel && /*#__PURE__*/React.createElement(StyledIndicator, {
267
+ }, !hasOuterLabel && /*#__PURE__*/React.createElement(React.Fragment, null, required && /*#__PURE__*/React.createElement(StyledIndicator, {
198
268
  className: cx(classes.innerLabelPlacement, requiredPlacementClass)
199
- }), contentRight && /*#__PURE__*/React.createElement(StyledContent, null, contentRight), /*#__PURE__*/React.createElement(StyledTextAreaWrapper, {
269
+ }), hintText && /*#__PURE__*/React.createElement(StyledHintWrapper, {
270
+ className: classes.innerLabelPlacement
271
+ }, /*#__PURE__*/React.createElement(HintComponent, {
272
+ ref: hintForkRef,
273
+ hintText: hintText,
274
+ hintTrigger: hintTrigger,
275
+ isHintVisible: isHintVisible,
276
+ hintTargetIcon: hintTargetIcon,
277
+ hintPlacement: hintPlacement,
278
+ hintHasArrow: hintHasArrow,
279
+ hintOffset: hintOffset,
280
+ hintWidth: hintWidth,
281
+ hintContentLeft: hintContentLeft,
282
+ handleHintShow: handleHintShow,
283
+ handleHintHide: handleHintHide,
284
+ handleHintClick: handleHintClick
285
+ }))), contentRight && /*#__PURE__*/React.createElement(StyledContent, null, contentRight), /*#__PURE__*/React.createElement(StyledTextAreaWrapper, {
200
286
  className: styledTextAreaWrapper,
201
287
  hasHelper: hasHelper
202
288
  }, /*#__PURE__*/React.createElement(StyledTextArea, _extends({
@@ -250,6 +336,12 @@ export var textAreaConfig = {
250
336
  },
251
337
  readOnly: {
252
338
  attrs: true
339
+ },
340
+ hintView: {
341
+ css: hintViewCSS
342
+ },
343
+ hintSize: {
344
+ css: hintSizeCSS
253
345
  }
254
346
  },
255
347
  defaults: {
@@ -1,76 +1,122 @@
1
1
  import styled from 'styled-components';
2
2
  import { applyEllipsis } from '../../mixins';
3
+ import { tooltipConfig } from '../Tooltip';
4
+ import { component, mergeConfig } from '../../engines';
3
5
  import { classes, tokens } from './TextArea.tokens';
4
- export var StyledLabel = /*#__PURE__*/styled.div.withConfig({
6
+ var mergedConfig = /*#__PURE__*/mergeConfig(tooltipConfig);
7
+ var Tooltip = /*#__PURE__*/component(mergedConfig);
8
+ export var Hint = /*#__PURE__*/styled(Tooltip).withConfig({
5
9
  componentId: "plasma-new-hope__sc-pxxv3p-0"
6
- })(["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(", "));"], tokens.labelMarginBottom, tokens.labelOuterColor, tokens.inputColor, tokens.labelOuterFontFamily, tokens.inputFontFamily, tokens.labelOuterFontSize, tokens.inputFontSize, tokens.labelOuterFontStyle, tokens.inputFontStyle, tokens.labelOuterFontWeight, tokens.inputFontWeight, tokens.labelOuterLetterSpacing, tokens.inputLetterSpacing, tokens.labelOuterLineHeight, tokens.inputLineHeight);
7
- export var StyledOptionalText = /*#__PURE__*/styled.span.withConfig({
10
+ })([""]);
11
+ export var OuterLabelWrapper = /*#__PURE__*/styled.div.withConfig({
8
12
  componentId: "plasma-new-hope__sc-pxxv3p-1"
9
- })(["color:var(", ");"], tokens.optionalColor);
10
- export var StyledTextAreaWrapper = /*#__PURE__*/styled.div.withConfig({
13
+ })(["display:flex;align-items:center;margin-bottom:", ";"], function (_ref) {
14
+ var isInnnerLabel = _ref.isInnnerLabel;
15
+ return isInnnerLabel ? "var(".concat(tokens.titleCaptionInnerLabelOffset, ")") : "var(".concat(tokens.labelMarginBottom, ")");
16
+ });
17
+ export var StyledLabel = /*#__PURE__*/styled.div.withConfig({
11
18
  componentId: "plasma-new-hope__sc-pxxv3p-2"
12
- })(["background-color:var(", ");padding-top:var(", ");padding-bottom:", ";border-radius:", ";"], tokens.inputBackgroundColor, tokens.inputPaddingTop, function (_ref) {
13
- var hasHelper = _ref.hasHelper;
19
+ })(["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(", "));"], tokens.labelOuterColor, tokens.inputColor, tokens.labelOuterFontFamily, tokens.inputFontFamily, tokens.labelOuterFontSize, tokens.inputFontSize, tokens.labelOuterFontStyle, tokens.inputFontStyle, tokens.labelOuterFontWeight, tokens.inputFontWeight, tokens.labelOuterLetterSpacing, tokens.inputLetterSpacing, tokens.labelOuterLineHeight, tokens.inputLineHeight);
20
+ export var TitleCaption = /*#__PURE__*/styled.div.withConfig({
21
+ componentId: "plasma-new-hope__sc-pxxv3p-3"
22
+ })(["display:inline-block;margin-left:auto;font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], tokens.titleCaptionFontFamily, tokens.titleCaptionFontSize, tokens.titleCaptionFontStyle, tokens.titleCaptionFontWeight, tokens.titleCaptionLetterSpacing, tokens.titleCaptionLineHeight);
23
+ export var StyledIndicatorWrapper = /*#__PURE__*/styled.div.withConfig({
24
+ componentId: "plasma-new-hope__sc-pxxv3p-4"
25
+ })(["position:relative;display:inline-flex;align-items:center;"]);
26
+ export var StyledOptionalText = /*#__PURE__*/styled.span.withConfig({
27
+ componentId: "plasma-new-hope__sc-pxxv3p-5"
28
+ })(["color:var(", ");font-family:", ";font-size:", ";font-style:", ";font-weight:", ";letter-spacing:", ";line-height:", ";"], tokens.optionalColor, function (_ref2) {
29
+ var inheritFont = _ref2.inheritFont;
30
+ return inheritFont ? 'inherit' : "var(".concat(tokens.labelOuterFontFamily, ", var(").concat(tokens.inputFontFamily, "))");
31
+ }, function (_ref3) {
32
+ var inheritFont = _ref3.inheritFont;
33
+ return inheritFont ? 'inherit' : "var(".concat(tokens.labelOuterFontSize, ", var(").concat(tokens.inputFontSize, "))");
34
+ }, function (_ref4) {
35
+ var inheritFont = _ref4.inheritFont;
36
+ return inheritFont ? 'inherit' : "var(".concat(tokens.labelOuterFontStyle, ", var(").concat(tokens.inputFontStyle, "))");
37
+ }, function (_ref5) {
38
+ var inheritFont = _ref5.inheritFont;
39
+ return inheritFont ? 'inherit' : "var(".concat(tokens.labelOuterFontWeight, ", var(").concat(tokens.inputFontWeight, "))");
40
+ }, function (_ref6) {
41
+ var inheritFont = _ref6.inheritFont;
42
+ return inheritFont ? 'inherit' : "var(".concat(tokens.labelOuterLetterSpacing, ", var(").concat(tokens.inputLetterSpacing, "))");
43
+ }, function (_ref7) {
44
+ var inheritFont = _ref7.inheritFont;
45
+ return inheritFont ? 'inherit' : "var(".concat(tokens.labelOuterLineHeight, ", var(").concat(tokens.inputLineHeight, "))");
46
+ });
47
+ export var StyledHintWrapper = /*#__PURE__*/styled.div.withConfig({
48
+ componentId: "plasma-new-hope__sc-pxxv3p-6"
49
+ })(["display:inline-flex;line-height:0;margin:var(", ");&.", "{position:absolute;margin:0;inset:var(", ");}"], tokens.hintMargin, classes.innerLabelPlacement, tokens.hintInnerLabelPlacementOffset);
50
+ export var HintTargetWrapper = /*#__PURE__*/styled.div.withConfig({
51
+ componentId: "plasma-new-hope__sc-pxxv3p-7"
52
+ })(["color:var(", ");width:var(", ");height:var(", ");display:flex;justify-content:center;align-items:center;"], tokens.hintIconColor, tokens.hintTargetSize, tokens.hintTargetSize);
53
+ export var HintIconWrapper = /*#__PURE__*/styled.div.withConfig({
54
+ componentId: "plasma-new-hope__sc-pxxv3p-8"
55
+ })([""]);
56
+ export var StyledTextAreaWrapper = /*#__PURE__*/styled.div.withConfig({
57
+ componentId: "plasma-new-hope__sc-pxxv3p-9"
58
+ })(["background-color:var(", ");padding-top:var(", ");padding-bottom:", ";border-radius:", ";"], tokens.inputBackgroundColor, tokens.inputPaddingTop, function (_ref8) {
59
+ var hasHelper = _ref8.hasHelper;
14
60
  return hasHelper ? "var(".concat(tokens.inputPaddingBottomWithHelpers, ")") : "var(".concat(tokens.inputPaddingBottom, ")");
15
- }, function (_ref2) {
16
- var hasHelper = _ref2.hasHelper;
61
+ }, function (_ref9) {
62
+ var hasHelper = _ref9.hasHelper;
17
63
  return hasHelper ? "var(".concat(tokens.borderRadiusWithHelpers, ")") : "var(".concat(tokens.borderRadius, ")");
18
64
  });
19
65
  export var StyledContent = /*#__PURE__*/styled.div.withConfig({
20
- componentId: "plasma-new-hope__sc-pxxv3p-3"
66
+ componentId: "plasma-new-hope__sc-pxxv3p-10"
21
67
  })(["position:absolute;display:flex;align-items:center;bottom:0;z-index:1;color:var(", ",var(", "));top:var(", ");right:var(", ");height:var(", ");"], tokens.rightContentColor, tokens.inputColor, tokens.rightContentTop, tokens.rightContentRight, tokens.rightContentHeight);
22
68
  export var StyledContainer = /*#__PURE__*/styled.div.withConfig({
23
- componentId: "plasma-new-hope__sc-pxxv3p-4"
24
- })(["display:inline-flex;flex-direction:column;width:", ";position:relative;"], function (_ref3) {
25
- var width = _ref3.width;
69
+ componentId: "plasma-new-hope__sc-pxxv3p-11"
70
+ })(["display:inline-flex;flex-direction:column;width:", ";position:relative;"], function (_ref10) {
71
+ var width = _ref10.width;
26
72
  return width;
27
73
  });
28
74
  export var StyledTextArea = /*#__PURE__*/styled.textarea.withConfig({
29
- componentId: "plasma-new-hope__sc-pxxv3p-5"
30
- })(["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;}"], tokens.inputColor, tokens.inputCaretColor, function (_ref4) {
31
- var resize = _ref4.resize;
75
+ componentId: "plasma-new-hope__sc-pxxv3p-12"
76
+ })(["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;}"], tokens.inputColor, tokens.inputCaretColor, function (_ref11) {
77
+ var resize = _ref11.resize;
32
78
  return resize || 'none';
33
- }, function (_ref5) {
34
- var height = _ref5.height;
79
+ }, function (_ref12) {
80
+ var height = _ref12.height;
35
81
  return !Number.isNaN(Number(height)) ? "calc(".concat(height, "rem - 0.875rem)") : height || "var(".concat(tokens.inputHeight, ")");
36
- }, function (_ref6) {
37
- var width = _ref6.width;
82
+ }, function (_ref13) {
83
+ var width = _ref13.width;
38
84
  return !Number.isNaN(Number(width)) ? "".concat(width, "rem") : width || "var(".concat(tokens.inputWidth, ")");
39
- }, function (_ref7) {
40
- var rows = _ref7.rows;
85
+ }, function (_ref14) {
86
+ var rows = _ref14.rows;
41
87
  return rows ? 'unset' : 'var(--plasma_private-textarea-height)';
42
- }, function (_ref8) {
43
- var cols = _ref8.cols;
88
+ }, function (_ref15) {
89
+ var cols = _ref15.cols;
44
90
  return cols ? 'unset' : 'var(--plasma_private-textarea-width)';
45
- }, function (_ref9) {
46
- var applyCustomWidth = _ref9.applyCustomWidth;
91
+ }, function (_ref16) {
92
+ var applyCustomWidth = _ref16.applyCustomWidth;
47
93
  return applyCustomWidth ? 'var(--plasma_private-textarea-width)' : 'auto';
48
- }, function (_ref10) {
49
- var applyCustomWidth = _ref10.applyCustomWidth;
94
+ }, function (_ref17) {
95
+ var applyCustomWidth = _ref17.applyCustomWidth;
50
96
  return applyCustomWidth ? 'var(--plasma_private-textarea-width)' : 'auto';
51
- }, tokens.inputMinHeight, function (_ref11) {
52
- var hasContentRight = _ref11.hasContentRight;
97
+ }, tokens.inputMinHeight, function (_ref18) {
98
+ var hasContentRight = _ref18.hasContentRight;
53
99
  return hasContentRight ? "var(".concat(tokens.inputPaddingRightWithRightContent, ")") : "var(".concat(tokens.inputPaddingRight, ")");
54
- }, tokens.inputPaddingLeft, tokens.helpersPaddingTop, tokens.helpersPaddingBottom, tokens.helpersLineHeight, tokens.helpersOffset, tokens.inputPaddingBottom, function (_ref12) {
55
- var hasHelper = _ref12.hasHelper,
56
- rows = _ref12.rows;
100
+ }, tokens.inputPaddingLeft, tokens.helpersPaddingTop, tokens.helpersPaddingBottom, tokens.helpersLineHeight, tokens.helpersOffset, tokens.inputPaddingBottom, function (_ref19) {
101
+ var hasHelper = _ref19.hasHelper,
102
+ rows = _ref19.rows;
57
103
  return hasHelper && !rows ? 'var(--plasma_private-textarea-input-with-helpers-height)' : 'var(--plasma_private-textarea-input-without-helpers-height)';
58
104
  }, tokens.inputFontFamily, tokens.inputFontSize, tokens.inputFontStyle, tokens.inputFontWeight, tokens.inputLetterSpacing, tokens.inputLineHeight, tokens.inputColorFocus, tokens.scrollbarWidth, tokens.scrollbarThumbBackgroundColor, tokens.scrollbarBorderWidth, tokens.scrollbarTrackBackgroundColor, tokens.scrollbarBorderWidth);
59
105
  export var StyledHelpers = /*#__PURE__*/styled.div.withConfig({
60
- componentId: "plasma-new-hope__sc-pxxv3p-6"
106
+ componentId: "plasma-new-hope__sc-pxxv3p-13"
61
107
  })(["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(", ");"], tokens.helpersBackgroundColor, tokens.helpersPaddingTop, tokens.helpersPaddingRight, tokens.helpersPaddingBottom, tokens.helpersPaddingLeft, tokens.borderRadius, tokens.borderRadius);
62
108
  export var StyledLeftHelper = /*#__PURE__*/styled.span.withConfig({
63
- componentId: "plasma-new-hope__sc-pxxv3p-7"
109
+ componentId: "plasma-new-hope__sc-pxxv3p-14"
64
110
  })(["", ";display:block;font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");color:var(", ");"], /*#__PURE__*/applyEllipsis(), tokens.helpersFontFamily, tokens.helpersFontSize, tokens.helpersFontStyle, tokens.helpersFontWeight, tokens.helpersLetterSpacing, tokens.helpersLineHeight, tokens.leftHelperColor);
65
111
  export var StyledRightHelper = /*#__PURE__*/styled(StyledLeftHelper).withConfig({
66
- componentId: "plasma-new-hope__sc-pxxv3p-8"
112
+ componentId: "plasma-new-hope__sc-pxxv3p-15"
67
113
  })(["color:var(", ");margin-left:auto;"], tokens.rightHelperColor);
68
114
  export var StyledPlaceholder = /*#__PURE__*/styled.label.withConfig({
69
- componentId: "plasma-new-hope__sc-pxxv3p-9"
70
- })(["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(", ");"], tokens.placeholderColor, tokens.inputPaddingTop, tokens.inputPaddingLeft, function (_ref13) {
71
- var hasContentRight = _ref13.hasContentRight;
115
+ componentId: "plasma-new-hope__sc-pxxv3p-16"
116
+ })(["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(", ");"], tokens.placeholderColor, tokens.inputPaddingTop, tokens.inputPaddingLeft, function (_ref20) {
117
+ var hasContentRight = _ref20.hasContentRight;
72
118
  return hasContentRight ? "var(".concat(tokens.inputPaddingRightWithRightContent, ")") : "var(".concat(tokens.inputPaddingRight, ")");
73
119
  }, tokens.inputFontFamily, tokens.inputFontSize, tokens.inputFontStyle, tokens.inputFontWeight, tokens.inputLetterSpacing, tokens.inputLineHeight);
74
120
  export var StyledIndicator = /*#__PURE__*/styled.div.withConfig({
75
- componentId: "plasma-new-hope__sc-pxxv3p-10"
76
- })(["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(", ");}}"], tokens.indicatorColor, classes.outerLabelPlacement, tokens.indicatorSizeOuter, tokens.indicatorSizeOuter, tokens.indicatorLabelPlacementOuter, tokens.indicatorLabelPlacementOuterRight, classes.innerLabelPlacement, tokens.indicatorSizeInner, tokens.indicatorSizeInner, tokens.indicatorLabelPlacementInner, tokens.indicatorLabelPlacementInnerRight);
121
+ componentId: "plasma-new-hope__sc-pxxv3p-17"
122
+ })(["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(", ");}}"], tokens.indicatorColor, classes.outerLabelPlacement, tokens.indicatorSizeOuter, tokens.indicatorSizeOuter, tokens.indicatorLabelPlacementOuter, classes.requiredAlignRight, tokens.indicatorLabelPlacementOuterRight, classes.hasHint, tokens.indicatorSizeOuter, classes.innerLabelPlacement, tokens.indicatorSizeInner, tokens.indicatorSizeInner, tokens.indicatorLabelPlacementInner, classes.requiredAlignRight, 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
  );
@@ -19,8 +19,10 @@ export var classes = {
19
19
  outerLabelPlacement: 'label-placement-outer',
20
20
  /** Класс для view `clear` */
21
21
  clear: 'textarea-clear',
22
+ hasHint: 'textarea-has-hint',
22
23
  hasRightContent: 'textarea-has-right-content',
23
- hasDivider: 'textarea-has-divider'
24
+ hasDivider: 'textarea-has-divider',
25
+ requiredAlignRight: 'required-align-right'
24
26
  };
25
27
  export var tokens = {
26
28
  /** Цвет фона для элемента textarea */
@@ -185,6 +187,7 @@ export var tokens = {
185
187
  indicatorLabelPlacementOuterRight: '--plasma-textarea-indicator-placement-outer-right',
186
188
  clearIndicatorLabelPlacementInner: '--plasma-textarea__clear-indicator-placement-inner',
187
189
  clearIndicatorLabelPlacementInnerRight: '--plasma-textarea__clear-indicator-placement-inner-right',
190
+ clearIndicatorHintInnerRight: '--plasma-textarea__clear-indicator-hint-placement-inner-right',
188
191
  scrollbarWidth: '--plasma-textarea-scrollbar-width',
189
192
  scrollbarBorderWidth: '--plasma-textarea-scrollbar-border-width',
190
193
  scrollbarThumbBackgroundColor: '--plasma-textarea-scrollbar-thumb-background-color',
@@ -193,8 +196,45 @@ export var tokens = {
193
196
  scrollbarTrackBackgroundColor: '--plasma-textarea-scrollbar-track-background-color',
194
197
  scrollbarTrackBackgroundColorHover: '--plasma-textarea-scrollbar-track-background-color-hover',
195
198
  scrollbarTrackBackgroundColorActive: '--plasma-textarea-scrollbar-track-background-color-active',
196
- dividerColor: '--plasma-textfield-divider-color',
197
- dividerColorHover: '--plasma-textfield-divider-color-hover',
198
- dividerColorFocus: '--plasma-textfield-divider-color-focus',
199
- dividerColorReadOnly: '--plasma-textfield-divider-color-readonly'
199
+ dividerColor: '--plasma-textarea-divider-color',
200
+ dividerColorHover: '--plasma-textarea-divider-color-hover',
201
+ dividerColorFocus: '--plasma-textarea-divider-color-focus',
202
+ dividerColorReadOnly: '--plasma-textarea-divider-color-readonly',
203
+ titleCaptionColor: '--plasma-textarea__title-caption-color',
204
+ titleCaptionColorReadOnly: '--plasma-textarea__title-caption-color-readonly',
205
+ titleCaptionInnerLabelOffset: '--plasma-textarea__title-caption-label-inner-offset',
206
+ titleCaptionFontFamily: '--plasma-textarea__title-caption-font-family',
207
+ titleCaptionFontStyle: '--plasma-textarea__title-caption-font-style',
208
+ titleCaptionFontSize: '--plasma-textarea__title-caption-font-size',
209
+ titleCaptionFontWeight: '--plasma-textarea__title-caption-font-weight',
210
+ titleCaptionLetterSpacing: '--plasma-textarea__title-caption-letter-spacing',
211
+ titleCaptionLineHeight: '--plasma-textarea__title-caption-line-height',
212
+ /** Токены для tooltip */
213
+ hintMargin: '--plasma-textarea__hint-margin',
214
+ hintTargetSize: '--plasma-textarea__hint-target-size',
215
+ hintIconColor: '--plasma-textarea__hint-icon-color',
216
+ hintInnerLabelPlacementOffset: '--plasma-textarea__hint-inner-label-placement-offset',
217
+ clearHintInnerLabelPlacementOffset: '--plasma-textarea__clear-hint-inner-label-placement-offset',
218
+ tooltipBackgroundColor: '--plasma-textarea__tooltip-background-color',
219
+ tooltipBoxShadow: '--plasma-textarea__tooltip-box-shadow',
220
+ tooltipColor: '--plasma-textarea__tooltip-color',
221
+ tooltipPaddingTop: '--plasma-textarea__tooltip-padding-top',
222
+ tooltipPaddingRight: '--plasma-textarea__tooltip-padding-right',
223
+ tooltipPaddingBottom: '--plasma-textarea__tooltip-padding-bottom',
224
+ tooltipPaddingLeft: '--plasma-textarea__tooltip-padding-left',
225
+ tooltipMinHeight: '--plasma-textarea__tooltip-min-height',
226
+ tooltipBorderRadius: '--plasma-textarea__tooltip-border-radius',
227
+ tooltipTextFontFamily: '--plasma-textarea__tooltip-text-font-family',
228
+ tooltipTextFontSize: '--plasma-textarea__tooltip-text-font-size',
229
+ tooltipTextFontStyle: '--plasma-textarea__tooltip-text-font-style',
230
+ tooltipTextFontWeight: '--plasma-textarea__tooltip-text-font-weight',
231
+ tooltipTextFontLetterSpacing: '--plasma-textarea__tooltip-text-font-letter-spacing',
232
+ tooltipTextFontLineHeight: '--plasma-textarea__tooltip-text-font-line-height',
233
+ tooltipContentLeftMargin: '--plasma-textarea__tooltip-content-left-margin',
234
+ tooltipArrowMaskWidth: '--plasma-textarea__tooltip-arrow-mask-width',
235
+ tooltipArrowMaskHeight: '--plasma-textarea__tooltip-arrow-mask-height',
236
+ tooltipArrowMaskImage: '--plasma-textarea__tooltip-arrow-mask-image',
237
+ tooltipArrowHeight: '--plasma-textarea__tooltip-arrow-height',
238
+ tooltipArrowEdgeMargin: '--plasma-textarea__tooltip-arrow-edge-margin',
239
+ tooltipArrowBackground: '--plasma-textarea__tooltip-arrow-background'
200
240
  };
@@ -1,14 +1,12 @@
1
1
  import { useEffect, useRef } from 'react';
2
2
  export var ROOT_FONT_SIZE = 16;
3
3
  export var useAutoResize = function useAutoResize(active, ref, value, minAuto, maxAuto) {
4
- var isManualResize = useRef(false);
5
4
  var previousHeight = useRef();
6
5
  useEffect(function () {
7
- if (active && ref && ref.current && !isManualResize.current) {
6
+ if (active && ref && ref.current) {
8
7
  // проверка на пользовательский resize (вручную)
9
8
  var height = ref.current.clientHeight / ROOT_FONT_SIZE;
10
9
  if (previousHeight.current !== undefined && previousHeight.current !== height) {
11
- isManualResize.current = true;
12
10
  return;
13
11
  }
14
12
  var style = getComputedStyle(ref.current);
@@ -23,5 +21,5 @@ export var useAutoResize = function useAutoResize(active, ref, value, minAuto, m
23
21
  ref.current.style.height = "".concat(newHeight, "rem");
24
22
  previousHeight.current = newHeight;
25
23
  }
26
- }, [ref, active, value]);
24
+ }, [ref, active, value, minAuto, maxAuto]);
27
25
  };
@@ -0,0 +1,44 @@
1
+ var _IconInfoCircleOutlin;
2
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
+ import React, { forwardRef } from 'react';
4
+ import { Hint, HintIconWrapper, HintTargetWrapper } from '../../TextArea.styles';
5
+ import { IconInfoCircleOutline } from '../../../_Icon';
6
+ import { safeUseId } from '../../../../utils';
7
+ export var HintComponent = /*#__PURE__*/forwardRef(function (_ref, ref) {
8
+ var hintText = _ref.hintText,
9
+ isHintVisible = _ref.isHintVisible,
10
+ hintTrigger = _ref.hintTrigger,
11
+ hintTargetIcon = _ref.hintTargetIcon,
12
+ hintPlacement = _ref.hintPlacement,
13
+ hintHasArrow = _ref.hintHasArrow,
14
+ hintOffset = _ref.hintOffset,
15
+ hintWidth = _ref.hintWidth,
16
+ hintContentLeft = _ref.hintContentLeft,
17
+ handleHintShow = _ref.handleHintShow,
18
+ handleHintHide = _ref.handleHintHide,
19
+ handleHintClick = _ref.handleHintClick;
20
+ var hintId = safeUseId();
21
+ return /*#__PURE__*/React.createElement(Hint, {
22
+ ref: ref,
23
+ text: String(hintText),
24
+ opened: isHintVisible,
25
+ target: /*#__PURE__*/React.createElement(HintTargetWrapper, null, /*#__PURE__*/React.createElement(HintIconWrapper, _extends({
26
+ id: hintId
27
+ }, hintTrigger === 'hover' ? {
28
+ onMouseEnter: handleHintShow,
29
+ onMouseLeave: handleHintHide
30
+ } : {
31
+ onClick: handleHintClick
32
+ }), hintTargetIcon || _IconInfoCircleOutlin || (_IconInfoCircleOutlin = /*#__PURE__*/React.createElement(IconInfoCircleOutline, {
33
+ size: "xs",
34
+ color: "inherit"
35
+ })))),
36
+ placement: hintPlacement,
37
+ hasArrow: hintHasArrow,
38
+ offset: hintOffset,
39
+ minWidth: hintWidth,
40
+ maxWidth: hintWidth,
41
+ contentLeft: hintContentLeft,
42
+ frame: hintId
43
+ });
44
+ });
@@ -1,4 +1,4 @@
1
1
  import { css } from 'styled-components';
2
2
  import { classes, tokens } from '../../TextArea.tokens';
3
- import { StyledContainer, StyledContent, StyledHelpers, StyledIndicator, StyledLabel, StyledPlaceholder, StyledTextArea, StyledTextAreaWrapper } from '../../TextArea.styles';
4
- export var base = /*#__PURE__*/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(", ") );}}}"], classes.clear, StyledTextAreaWrapper, tokens.inputPaddingTop, StyledLabel, tokens.clearLabelMarginBottom, StyledContent, StyledTextArea, StyledHelpers, StyledHelpers, tokens.clearHelpersPaddingTop, StyledTextArea, tokens.clearInputColor, classes.hasRightContent, tokens.clearInputPaddingRightWithRightContent, StyledContainer, classes.innerPlaceholderUp, StyledPlaceholder, tokens.clearPlaceholderColor, classes.focusedOuterPlaceholderColor, StyledPlaceholder, tokens.clearPlaceholderColorFocus, classes.innerPlaceholderUp, tokens.placeholderColor, StyledPlaceholder, StyledIndicator, classes.innerLabelPlacement, tokens.clearIndicatorLabelPlacementInner, tokens.clearIndicatorLabelPlacementInnerRight, classes.styledContainer, classes.styledTextAreaWrapper, classes.styledContainer, classes.styledHelpers, classes.hasDivider, StyledTextAreaWrapper, /*#__PURE__*/String(tokens.dividerColor), StyledTextAreaWrapper, tokens.dividerColorHover, /*#__PURE__*/String(tokens.dividerColor), StyledTextAreaWrapper, tokens.dividerColorFocus, /*#__PURE__*/String(tokens.dividerColor));
3
+ import { OuterLabelWrapper, StyledContainer, StyledContent, StyledHelpers, StyledHintWrapper, StyledIndicator, StyledPlaceholder, StyledTextArea, StyledTextAreaWrapper } from '../../TextArea.styles';
4
+ export var base = /*#__PURE__*/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(", ") );}}}"], classes.clear, StyledTextAreaWrapper, tokens.inputPaddingTop, OuterLabelWrapper, tokens.clearLabelMarginBottom, StyledContent, StyledTextArea, StyledHelpers, StyledHelpers, tokens.clearHelpersPaddingTop, StyledTextArea, tokens.clearInputColor, classes.hasRightContent, tokens.clearInputPaddingRightWithRightContent, StyledContainer, classes.innerPlaceholderUp, StyledPlaceholder, tokens.clearPlaceholderColor, classes.focusedOuterPlaceholderColor, StyledPlaceholder, tokens.clearPlaceholderColorFocus, classes.innerPlaceholderUp, tokens.placeholderColor, StyledPlaceholder, StyledIndicator, classes.innerLabelPlacement, tokens.clearIndicatorLabelPlacementInner, classes.requiredAlignRight, tokens.clearIndicatorLabelPlacementInnerRight, classes.hasHint, StyledHintWrapper, classes.innerLabelPlacement, tokens.clearHintInnerLabelPlacementOffset, StyledIndicator, classes.innerLabelPlacement, classes.requiredAlignRight, tokens.clearIndicatorHintInnerRight, classes.styledContainer, classes.styledTextAreaWrapper, classes.styledContainer, classes.styledHelpers, classes.hasDivider, StyledTextAreaWrapper, /*#__PURE__*/String(tokens.dividerColor), StyledTextAreaWrapper, tokens.dividerColorHover, /*#__PURE__*/String(tokens.dividerColor), StyledTextAreaWrapper, tokens.dividerColorFocus, /*#__PURE__*/String(tokens.dividerColor));
@@ -0,0 +1,5 @@
1
+ import { css } from 'styled-components';
2
+ import { tooltipTokens } from '../../../Tooltip';
3
+ import { tokens } from '../../TextArea.tokens';
4
+ import { Hint } from '../../TextArea.styles';
5
+ export var base = /*#__PURE__*/css(["", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}"], Hint, tooltipTokens.paddingTop, tokens.tooltipPaddingTop, tooltipTokens.paddingRight, tokens.tooltipPaddingRight, tooltipTokens.paddingBottom, tokens.tooltipPaddingBottom, tooltipTokens.paddingLeft, tokens.tooltipPaddingLeft, tooltipTokens.minHeight, tokens.tooltipMinHeight, tooltipTokens.borderRadius, tokens.tooltipBorderRadius, tooltipTokens.textFontFamily, tokens.tooltipTextFontFamily, tooltipTokens.textFontSize, tokens.tooltipTextFontSize, tooltipTokens.textFontStyle, tokens.tooltipTextFontStyle, tooltipTokens.textFontWeight, tokens.tooltipTextFontWeight, tooltipTokens.textFontLetterSpacing, tokens.tooltipTextFontLetterSpacing, tooltipTokens.textFontLineHeight, tokens.tooltipTextFontLineHeight, tooltipTokens.contentLeftMargin, tokens.tooltipContentLeftMargin, tooltipTokens.arrowMaskWidth, tokens.tooltipArrowMaskWidth, tooltipTokens.arrowMaskHeight, tokens.tooltipArrowMaskHeight, tooltipTokens.arrowMaskImage, tokens.tooltipArrowMaskImage, tooltipTokens.arrowHeight, tokens.tooltipArrowHeight, tooltipTokens.arrowEdgeMargin, tokens.tooltipArrowEdgeMargin, tooltipTokens.arrowBackground, tokens.tooltipArrowBackground);
@@ -0,0 +1,21 @@
1
+ [
2
+ "--plasma-textarea__tooltip-padding-top",
3
+ "--plasma-textarea__tooltip-padding-right",
4
+ "--plasma-textarea__tooltip-padding-bottom",
5
+ "--plasma-textarea__tooltip-padding-left",
6
+ "--plasma-textarea__tooltip-min-height",
7
+ "--plasma-textarea__tooltip-border-radius",
8
+ "--plasma-textarea__tooltip-text-font-family",
9
+ "--plasma-textarea__tooltip-text-font-size",
10
+ "--plasma-textarea__tooltip-text-font-style",
11
+ "--plasma-textarea__tooltip-text-font-weight",
12
+ "--plasma-textarea__tooltip-text-font-letter-spacing",
13
+ "--plasma-textarea__tooltip-text-font-line-height",
14
+ "--plasma-textarea__tooltip-content-left-margin",
15
+ "--plasma-textarea__tooltip-arrow-mask-width",
16
+ "--plasma-textarea__tooltip-arrow-mask-height",
17
+ "--plasma-textarea__tooltip-arrow-mask-image",
18
+ "--plasma-textarea__tooltip-arrow-height",
19
+ "--plasma-textarea__tooltip-arrow-edge-margin",
20
+ "--plasma-textarea__tooltip-arrow-background"
21
+ ]