@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,32 +1,53 @@
1
1
  .IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
2
2
 
3
- .base_1h8l0kj_b13ve66i__42c27ee8 .base_1h8l0kj_io4bpie__42c27ee8{width:100%;font:inherit;-webkit-letter-spacing:inherit;-moz-letter-spacing:inherit;-ms-letter-spacing:inherit;letter-spacing:inherit;line-height:inherit;}.base_1h8l0kj_b13ve66i__42c27ee8 .base_1h8l0kj_i13qvwoy__42c27ee8{width:100%;font-family:var(--plasma-textfield-font-family);font-size:var(--plasma-textfield-font-size);font-style:var(--plasma-textfield-font-style);font-weight:var(--plasma-textfield-font-weight);-webkit-letter-spacing:var(--plasma-textfield-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-letter-spacing);letter-spacing:var(--plasma-textfield-letter-spacing);line-height:var(--plasma-textfield-line-height);}.base_1h8l0kj_b13ve66i__42c27ee8 .base_1h8l0kj_iq39zt5__42c27ee8{height:var(--plasma-textfield-height);border-radius:var(--plasma-textfield-border-radius);padding:var(--plasma-textfield-padding);}.base_1h8l0kj_b13ve66i__42c27ee8 .base_1h8l0kj_iq39zt5__42c27ee8.base_1h8l0kj_hasChips__42c27ee8{padding-top:var(--plasma-textfield-padding-with-chips);padding-bottom:var(--plasma-textfield-padding-with-chips);}.base_1h8l0kj_b13ve66i__42c27ee8 .base_1h8l0kj_iq39zt5__42c27ee8.base_1h8l0kj_hasEmptyContentLeft__42c27ee8{padding-left:var(--plasma-textfield-padding-with-chips);}.base_1h8l0kj_b13ve66i__42c27ee8 .base_1h8l0kj_iq39zt5__42c27ee8.base_1h8l0kj_hasEmptyContentRight__42c27ee8{padding-right:var(--plasma-textfield-padding-with-chips);}.base_1h8l0kj_b13ve66i__42c27ee8 .base_1h8l0kj_lbt1ohz__42c27ee8{font-family:var(--plasma-textfield__label-font-family);font-size:var(--plasma-textfield__label-font-size);font-style:var(--plasma-textfield__label-font-style);font-weight:var(--plasma-textfield__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield__label-letter-spacing);letter-spacing:var(--plasma-textfield__label-letter-spacing);line-height:var(--plasma-textfield__label-line-height);}.base_1h8l0kj_b13ve66i__42c27ee8 .base_1h8l0kj_l1gjsnfi__42c27ee8{margin-top:var(--plasma-textfield__left-helper-offset);font-family:var(--plasma-textfield__left-helper-font-family);font-size:var(--plasma-textfield__left-helper-font-size);font-style:var(--plasma-textfield__left-helper-font-style);font-weight:var(--plasma-textfield__left-helper-font-weight);-webkit-letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);-moz-letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);-ms-letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);line-height:var(--plasma-textfield__left-helper-line-height);}.base_1h8l0kj_b13ve66i__42c27ee8 .base_1h8l0kj_ssv2kwg__42c27ee8,.base_1h8l0kj_b13ve66i__42c27ee8 .base_1h8l0kj_s190z894__42c27ee8{font-family:var(--plasma-textfield-font-family);font-size:var(--plasma-textfield-font-size);font-style:var(--plasma-textfield-font-style);font-weight:var(--plasma-textfield-font-weight);-webkit-letter-spacing:var(--plasma-textfield-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-letter-spacing);letter-spacing:var(--plasma-textfield-letter-spacing);line-height:var(--plasma-textfield-line-height);}.base_1h8l0kj_b13ve66i__42c27ee8 .base_1h8l0kj_ssv2kwg__42c27ee8{margin:var(--plasma-textfield__before-text-margin);}.base_1h8l0kj_b13ve66i__42c27ee8 .base_1h8l0kj_s190z894__42c27ee8{margin:var(--plasma-textfield__after-text-margin);}
3
+ .base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_i13qvwoy__5f4dd9b9{width:100%;font:inherit;-webkit-letter-spacing:inherit;-moz-letter-spacing:inherit;-ms-letter-spacing:inherit;letter-spacing:inherit;line-height:inherit;}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_i19ry60d__5f4dd9b9{width:100%;font-family:var(--plasma-textfield-font-family);font-size:var(--plasma-textfield-font-size);font-style:var(--plasma-textfield-font-style);font-weight:var(--plasma-textfield-font-weight);-webkit-letter-spacing:var(--plasma-textfield-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-letter-spacing);letter-spacing:var(--plasma-textfield-letter-spacing);line-height:var(--plasma-textfield-line-height);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_i1j28rg8__5f4dd9b9{height:var(--plasma-textfield-height);border-radius:var(--plasma-textfield-border-radius);padding:var(--plasma-textfield-padding);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_i1j28rg8__5f4dd9b9.base_1xdmaqh_hasChips__5f4dd9b9{padding-top:var(--plasma-textfield-padding-with-chips);padding-bottom:var(--plasma-textfield-padding-with-chips);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_i1j28rg8__5f4dd9b9.base_1xdmaqh_hasEmptyContentLeft__5f4dd9b9{padding-left:var(--plasma-textfield-padding-with-chips);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_i1j28rg8__5f4dd9b9.base_1xdmaqh_hasEmptyContentRight__5f4dd9b9{padding-right:var(--plasma-textfield-padding-with-chips);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_l1gjsnfi__5f4dd9b9,.base_1xdmaqh_b13ve66i__5f4dd9b9:not(.base_1xdmaqh_labelPlacementInner__5f4dd9b9) .base_1xdmaqh_s16itze4__5f4dd9b9{font-family:var(--plasma-textfield__label-font-family);font-size:var(--plasma-textfield__label-font-size);font-style:var(--plasma-textfield__label-font-style);font-weight:var(--plasma-textfield__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield__label-letter-spacing);letter-spacing:var(--plasma-textfield__label-letter-spacing);line-height:var(--plasma-textfield__label-line-height);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_s1skqnhr__5f4dd9b9{margin:var(--plasma-textfield__hint-margin);width:var(--plasma-textfield__hint-target-size);height:var(--plasma-textfield__hint-target-size);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_hgy0im1__5f4dd9b9{width:var(--plasma-textfield__hint-target-size);height:var(--plasma-textfield__hint-target-size);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_t600610__5f4dd9b9{font-family:var(--plasma-textfield__title-caption-font-family);font-size:var(--plasma-textfield__title-caption-font-size);font-style:var(--plasma-textfield__title-caption-font-style);font-weight:var(--plasma-textfield__title-caption-font-weight);-webkit-letter-spacing:var(--plasma-textfield__title-caption-letter-spacing);-moz-letter-spacing:var(--plasma-textfield__title-caption-letter-spacing);-ms-letter-spacing:var(--plasma-textfield__title-caption-letter-spacing);letter-spacing:var(--plasma-textfield__title-caption-letter-spacing);line-height:var(--plasma-textfield__title-caption-line-height);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_l7hnwwb__5f4dd9b9{margin-top:var(--plasma-textfield__left-helper-offset);font-family:var(--plasma-textfield__left-helper-font-family);font-size:var(--plasma-textfield__left-helper-font-size);font-style:var(--plasma-textfield__left-helper-font-style);font-weight:var(--plasma-textfield__left-helper-font-weight);-webkit-letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);-moz-letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);-ms-letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);line-height:var(--plasma-textfield__left-helper-line-height);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_smqgwd8__5f4dd9b9,.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_s14qvple__5f4dd9b9{font-family:var(--plasma-textfield-font-family);font-size:var(--plasma-textfield-font-size);font-style:var(--plasma-textfield-font-style);font-weight:var(--plasma-textfield-font-weight);-webkit-letter-spacing:var(--plasma-textfield-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-letter-spacing);letter-spacing:var(--plasma-textfield-letter-spacing);line-height:var(--plasma-textfield-line-height);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_smqgwd8__5f4dd9b9{margin:var(--plasma-textfield__before-text-margin);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_s14qvple__5f4dd9b9{margin:var(--plasma-textfield__after-text-margin);}
4
4
 
5
- .base_1noe46b_bptx5xt__03fc1b30 .base_1noe46b_iq39zt5__03fc1b30{--plasma_private-textfield-border-color:var(--plasma-textfield-border-color);--plasma_private-textfield-bg-color:var(--plasma-textfield-bg-color);color:var(--plasma-textfield-color);background-color:var(--plasma_private-textfield-bg-color);box-shadow:inset 0 0 0 var(--plasma-textfield-border-width) var(--plasma_private-textfield-border-color);caret-color:var(--plasma-textfield__caret-color);-webkit-transition:background-color 0.1s ease-in,color 0.1s ease-in,box-shadow 0.1s ease-in;transition:background-color 0.1s ease-in,color 0.1s ease-in,box-shadow 0.1s ease-in;}.base_1noe46b_bptx5xt__03fc1b30 .base_1noe46b_iq39zt5__03fc1b30:hover{--plasma_private-textfield-border-color:var(--plasma-textfield-border-color-hover,var(--plasma-textfield-border-color));--plasma_private-textfield-bg-color:var( --plasma-textfield-bg-color-hover, var(--plasma-textfield-bg-color) );}.base_1noe46b_bptx5xt__03fc1b30 .base_1noe46b_io4bpie__03fc1b30{color:var(--plasma-textfield-color);}.base_1noe46b_bptx5xt__03fc1b30 .base_1noe46b_i19ry60d__03fc1b30{color:var(--plasma-textfield__placeholder-color);}.base_1noe46b_bptx5xt__03fc1b30 .base_1noe46b_iq39zt5__03fc1b30:focus-within{--plasma_private-textfield-border-color:var(--plasma-textfield-border-color-focus,var(--plasma-textfield-border-color));--plasma_private-textfield-bg-color:var( --plasma-textfield-bg-color-focus, var(--plasma-textfield-bg-color) );}.base_1noe46b_bptx5xt__03fc1b30 .base_1noe46b_iq39zt5__03fc1b30:focus-within .base_1noe46b_i19ry60d__03fc1b30{color:var(--plasma-textfield__placeholder-color-focus);}.base_1noe46b_bptx5xt__03fc1b30 .base_1noe46b_l1gjsnfi__03fc1b30{color:var(--plasma-textfield__left-helper-color);}.base_1noe46b_bptx5xt__03fc1b30 .base_1noe46b_ssv2kwg__03fc1b30{color:var(--plasma-textfield__before-text-color);}.base_1noe46b_bptx5xt__03fc1b30 .base_1noe46b_s190z894__03fc1b30{color:var(--plasma-textfield__after-text-color);}
5
+ .base_qhyte8_bptx5xt__55992f65 .base_qhyte8_i1j28rg8__55992f65{--plasma_private-textfield-border-color:var(--plasma-textfield-border-color);--plasma_private-textfield-bg-color:var(--plasma-textfield-bg-color);color:var(--plasma-textfield-color);background-color:var(--plasma_private-textfield-bg-color);box-shadow:inset 0 0 0 var(--plasma-textfield-border-width) var(--plasma_private-textfield-border-color);caret-color:var(--plasma-textfield__caret-color);-webkit-transition:background-color 0.1s ease-in,color 0.1s ease-in,box-shadow 0.1s ease-in;transition:background-color 0.1s ease-in,color 0.1s ease-in,box-shadow 0.1s ease-in;}.base_qhyte8_bptx5xt__55992f65 .base_qhyte8_i1j28rg8__55992f65:hover{--plasma_private-textfield-border-color:var(--plasma-textfield-border-color-hover,var(--plasma-textfield-border-color));--plasma_private-textfield-bg-color:var( --plasma-textfield-bg-color-hover, var(--plasma-textfield-bg-color) );}.base_qhyte8_bptx5xt__55992f65 .base_qhyte8_i13qvwoy__55992f65{color:var(--plasma-textfield-color);}.base_qhyte8_bptx5xt__55992f65 .base_qhyte8_ibt1ohz__55992f65{color:var(--plasma-textfield__placeholder-color);}.base_qhyte8_bptx5xt__55992f65 .base_qhyte8_i1j28rg8__55992f65:focus-within{--plasma_private-textfield-border-color:var(--plasma-textfield-border-color-focus,var(--plasma-textfield-border-color));--plasma_private-textfield-bg-color:var( --plasma-textfield-bg-color-focus, var(--plasma-textfield-bg-color) );}.base_qhyte8_bptx5xt__55992f65 .base_qhyte8_i1j28rg8__55992f65:focus-within .base_qhyte8_ibt1ohz__55992f65{color:var(--plasma-textfield__placeholder-color-focus);}.base_qhyte8_bptx5xt__55992f65 .base_qhyte8_t600610__55992f65{color:var(--plasma-textfield__title-caption-color);}.base_qhyte8_bptx5xt__55992f65 .base_qhyte8_l7hnwwb__55992f65{color:var(--plasma-textfield__left-helper-color);}.base_qhyte8_bptx5xt__55992f65 .base_qhyte8_smqgwd8__55992f65{color:var(--plasma-textfield__before-text-color);}.base_qhyte8_bptx5xt__55992f65 .base_qhyte8_s14qvple__55992f65{color:var(--plasma-textfield__after-text-color);}
6
6
 
7
- .base_rit6gc_bg547ku__26539e4e.base_rit6gc_textfieldClear__26539e4e[readonly] .base_rit6gc_iq39zt5__26539e4e,.base_rit6gc_bg547ku__26539e4e.base_rit6gc_textfieldClear__26539e4e .base_rit6gc_iq39zt5__26539e4e{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;}.base_rit6gc_bg547ku__26539e4e.base_rit6gc_textfieldClear__26539e4e[readonly] .base_rit6gc_iq39zt5__26539e4e:hover,.base_rit6gc_bg547ku__26539e4e.base_rit6gc_textfieldClear__26539e4e .base_rit6gc_iq39zt5__26539e4e:hover{background-color:unset;}.base_rit6gc_bg547ku__26539e4e.base_rit6gc_textfieldClear__26539e4e .base_rit6gc_s600610__26539e4e{margin-left:0;}.base_rit6gc_bg547ku__26539e4e.base_rit6gc_textfieldClear__26539e4e .base_rit6gc_suk2zst__26539e4e{margin-right:0;}.base_rit6gc_bg547ku__26539e4e.base_rit6gc_textfieldClear__26539e4e.base_rit6gc_labelPlacementOuter__26539e4e .base_rit6gc_lbt1ohz__26539e4e{margin-bottom:var(--plasma-textfield__clear-label-offset);}.base_rit6gc_bg547ku__26539e4e.base_rit6gc_textfieldClear__26539e4e .base_rit6gc_io4bpie__26539e4e{color:var(--plasma-textfield-clear-color);}.base_rit6gc_bg547ku__26539e4e.base_rit6gc_textfieldClear__26539e4e .base_rit6gc_i19ry60d__26539e4e{color:var(--plasma-textfield__clear-placeholder-color);}.base_rit6gc_bg547ku__26539e4e.base_rit6gc_textfieldClear__26539e4e .base_rit6gc_s7hnwwb__26539e4e.base_rit6gc_labelPlacementInner__26539e4e{inset:var(--plasma-textfield__clear-indicator-placement-inner);}.base_rit6gc_bg547ku__26539e4e.base_rit6gc_textfieldClear__26539e4e .base_rit6gc_s7hnwwb__26539e4e.base_rit6gc_labelPlacementInner__26539e4e.base_rit6gc_alignRight__26539e4e{inset:var(--plasma-textfield__clear-indicator-placement-inner-right);}.base_rit6gc_bg547ku__26539e4e.base_rit6gc_textfieldClear__26539e4e.base_rit6gc_textfieldHasDivider__26539e4e .base_rit6gc_iq39zt5__26539e4e{--plasma_private-textfield-divider-color:var(--plasma-textfield-divider-color);}.base_rit6gc_bg547ku__26539e4e.base_rit6gc_textfieldClear__26539e4e.base_rit6gc_textfieldHasDivider__26539e4e .base_rit6gc_iq39zt5__26539e4e:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);-webkit-transition:background-color 0.1s ease-in;transition:background-color 0.1s ease-in;}.base_rit6gc_bg547ku__26539e4e.base_rit6gc_textfieldClear__26539e4e.base_rit6gc_textfieldHasDivider__26539e4e:not([readonly]) .base_rit6gc_iq39zt5__26539e4e:hover{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-hover, var(--plasma-textfield-divider-color) );}.base_rit6gc_bg547ku__26539e4e.base_rit6gc_textfieldClear__26539e4e.base_rit6gc_textfieldHasDivider__26539e4e:not([readonly]) .base_rit6gc_iq39zt5__26539e4e:focus-within{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-focus, var(--plasma-textfield-divider-color) );}.base_rit6gc_bg547ku__26539e4e.base_rit6gc_textfieldClear__26539e4e.base_rit6gc_textfieldHasDivider__26539e4e:not([readonly]) .base_rit6gc_iq39zt5__26539e4e:focus-within .base_rit6gc_i19ry60d__26539e4e{color:var(--plasma-textfield__clear-placeholder-color-focus);}
7
+ .base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b[readonly] .base_1i91sjp_i1j28rg8__7642e26b,.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b .base_1i91sjp_i1j28rg8__7642e26b{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b[readonly] .base_1i91sjp_i1j28rg8__7642e26b:hover,.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b .base_1i91sjp_i1j28rg8__7642e26b:hover{background-color:unset;}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b .base_1i91sjp_s190z894__7642e26b{margin-left:0;}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b .base_1i91sjp_sb3k3v1__7642e26b{margin-right:0;}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b.base_1i91sjp_labelPlacementOuter__7642e26b .base_1i91sjp_olv9av6__7642e26b{margin-bottom:var(--plasma-textfield__clear-label-offset);}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b .base_1i91sjp_i13qvwoy__7642e26b{color:var(--plasma-textfield-clear-color);}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b .base_1i91sjp_ibt1ohz__7642e26b{color:var(--plasma-textfield__clear-placeholder-color);}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b .base_1i91sjp_szsveq4__7642e26b.base_1i91sjp_labelPlacementInner__7642e26b{inset:var(--plasma-textfield__clear-indicator-placement-inner);}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b .base_1i91sjp_szsveq4__7642e26b.base_1i91sjp_labelPlacementInner__7642e26b.base_1i91sjp_requiredAlignRight__7642e26b{inset:var(--plasma-textfield__clear-indicator-placement-inner-right);}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b.base_1i91sjp_textfieldHasHint__7642e26b .base_1i91sjp_s1skqnhr__7642e26b.base_1i91sjp_labelPlacementInner__7642e26b{inset:var(--plasma-textfield__clear-hint-inner-label-placement-offset);}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b.base_1i91sjp_textfieldHasHint__7642e26b .base_1i91sjp_szsveq4__7642e26b.base_1i91sjp_labelPlacementInner__7642e26b.base_1i91sjp_requiredAlignRight__7642e26b{inset:var(--plasma-textfield__clear-indicator-hint-placement-inner-right);}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b.base_1i91sjp_textfieldHasDivider__7642e26b .base_1i91sjp_i1j28rg8__7642e26b{--plasma_private-textfield-divider-color:var(--plasma-textfield-divider-color);}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b.base_1i91sjp_textfieldHasDivider__7642e26b .base_1i91sjp_i1j28rg8__7642e26b:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);-webkit-transition:background-color 0.1s ease-in;transition:background-color 0.1s ease-in;}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b.base_1i91sjp_textfieldHasDivider__7642e26b:not([readonly]) .base_1i91sjp_i1j28rg8__7642e26b:hover{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-hover, var(--plasma-textfield-divider-color) );}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b.base_1i91sjp_textfieldHasDivider__7642e26b:not([readonly]) .base_1i91sjp_i1j28rg8__7642e26b:focus-within{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-focus, var(--plasma-textfield-divider-color) );}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b.base_1i91sjp_textfieldHasDivider__7642e26b:not([readonly]) .base_1i91sjp_i1j28rg8__7642e26b:focus-within .base_1i91sjp_ibt1ohz__7642e26b{color:var(--plasma-textfield__clear-placeholder-color-focus);}
8
8
 
9
- .base_2tv0nz_b15zsg4z__045faf03[disabled]{pointer-events:none;opacity:var(--plasma-textfield-disabled-opacity);cursor:not-allowed;}.base_2tv0nz_b15zsg4z__045faf03[disabled] .base_2tv0nz_io4bpie__045faf03{cursor:not-allowed;min-width:unset;}
9
+ .base_4d3opa_b15zsg4z__d935790a[disabled]{pointer-events:none;opacity:var(--plasma-textfield-disabled-opacity);cursor:not-allowed;}.base_4d3opa_b15zsg4z__d935790a[disabled] .base_4d3opa_i13qvwoy__d935790a{cursor:not-allowed;min-width:unset;}
10
10
 
11
- .base_1n7tghz_b1w985rt__4fc2b315[readonly] .base_1n7tghz_iq39zt5__4fc2b315{color:var(--plasma-textfield-color-readonly);background-color:var(--plasma-textfield-bg-color-readonly);box-shadow:inset 0 0 0 var(--plasma-textfield-border-width) var(--plasma-textfield-border-color-readonly);}.base_1n7tghz_b1w985rt__4fc2b315[readonly].base_1n7tghz_textfieldHasDivider__4fc2b315 .base_1n7tghz_iq39zt5__4fc2b315:before{background-color:var(--plasma-textfield-divider-color-readonly);}.base_1n7tghz_b1w985rt__4fc2b315[readonly] .base_1n7tghz_iq39zt5__4fc2b315:hover{background-color:var(--plasma-textfield-bg-color-readonly);}.base_1n7tghz_b1w985rt__4fc2b315[readonly] .base_1n7tghz_iq39zt5__4fc2b315:focus-within .base_1n7tghz_i19ry60d__4fc2b315,.base_1n7tghz_b1w985rt__4fc2b315[readonly] .base_1n7tghz_i19ry60d__4fc2b315{color:var(--plasma-textfield__placeholder-color-readonly);}.base_1n7tghz_b1w985rt__4fc2b315[readonly] .base_1n7tghz_io4bpie__4fc2b315{color:var(--plasma-textfield-color-readonly);cursor:default;min-width:unset;}.base_1n7tghz_b1w985rt__4fc2b315[readonly] .base_1n7tghz_l1gjsnfi__4fc2b315{color:var(--plasma-textfield__left-helper-color-readonly);}.base_1n7tghz_b1w985rt__4fc2b315[readonly].base_1n7tghz_labelPlacementOuter__4fc2b315 .base_1n7tghz_lbt1ohz__4fc2b315{color:var(--plasma-textfield__label-color-readonly);}
11
+ .base_17ypmu7_b1w985rt__5cf81a55[readonly] .base_17ypmu7_i1j28rg8__5cf81a55{color:var(--plasma-textfield-color-readonly);background-color:var(--plasma-textfield-bg-color-readonly);box-shadow:inset 0 0 0 var(--plasma-textfield-border-width) var(--plasma-textfield-border-color-readonly);}.base_17ypmu7_b1w985rt__5cf81a55[readonly].base_17ypmu7_textfieldHasDivider__5cf81a55 .base_17ypmu7_i1j28rg8__5cf81a55:before{background-color:var(--plasma-textfield-divider-color-readonly);}.base_17ypmu7_b1w985rt__5cf81a55[readonly] .base_17ypmu7_i1j28rg8__5cf81a55:hover{background-color:var(--plasma-textfield-bg-color-readonly);}.base_17ypmu7_b1w985rt__5cf81a55[readonly] .base_17ypmu7_i1j28rg8__5cf81a55:focus-within .base_17ypmu7_ibt1ohz__5cf81a55,.base_17ypmu7_b1w985rt__5cf81a55[readonly] .base_17ypmu7_ibt1ohz__5cf81a55{color:var(--plasma-textfield__placeholder-color-readonly);}.base_17ypmu7_b1w985rt__5cf81a55[readonly] .base_17ypmu7_i13qvwoy__5cf81a55{color:var(--plasma-textfield-color-readonly);cursor:default;min-width:unset;}.base_17ypmu7_b1w985rt__5cf81a55[readonly] .base_17ypmu7_t600610__5cf81a55{color:var(--plasma-textfield__title-caption-color-readonly);}.base_17ypmu7_b1w985rt__5cf81a55[readonly] .base_17ypmu7_l7hnwwb__5cf81a55{color:var(--plasma-textfield__left-helper-color-readonly);}.base_17ypmu7_b1w985rt__5cf81a55[readonly].base_17ypmu7_labelPlacementOuter__5cf81a55 .base_17ypmu7_l1gjsnfi__5cf81a55{color:var(--plasma-textfield__label-color-readonly);}
12
12
 
13
- .base_1ghihns_b15d3bnf__7775bbdc.base_1ghihns_labelPlacementOuter__7775bbdc .base_1ghihns_lbt1ohz__7775bbdc{position:relative;display:inline-block;margin-bottom:var(--plasma-textfield__label-offset);color:var(--plasma-textfield__label-color);}.base_1ghihns_b15d3bnf__7775bbdc.base_1ghihns_labelPlacementInner__7775bbdc .base_1ghihns_i13qvwoy__7775bbdc{padding:var(--plasma-textfield-placement_inner__content-padding);}.base_1ghihns_b15d3bnf__7775bbdc.base_1ghihns_labelPlacementInner__7775bbdc .base_1ghihns_s190z894__7775bbdc,.base_1ghihns_b15d3bnf__7775bbdc.base_1ghihns_labelPlacementInner__7775bbdc .base_1ghihns_ssv2kwg__7775bbdc{padding:var(--plasma-textfield-placement_inner__content-padding);}.base_1ghihns_b15d3bnf__7775bbdc.base_1ghihns_labelPlacementInner__7775bbdc .base_1ghihns_io4bpie__7775bbdc:focus ~ .base_1ghihns_lbt1ohz__7775bbdc,.base_1ghihns_b15d3bnf__7775bbdc.base_1ghihns_labelPlacementInner__7775bbdc .base_1ghihns_io4bpie__7775bbdc.base_1ghihns_hasValue__7775bbdc ~ .base_1ghihns_lbt1ohz__7775bbdc{color:var(--plasma-textfield__placeholder-color);-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;padding:var(--plasma-textfield-placement_inner__label-padding);font-family:var(--plasma-textfield-placement_inner__label-font-family);font-size:var(--plasma-textfield-placement_inner__label-font-size);font-style:var(--plasma-textfield-placement_inner__label-font-style);font-weight:var(--plasma-textfield-placement_inner__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);line-height:var(--plasma-textfield-placement_inner__label-line-height);}.base_1ghihns_b15d3bnf__7775bbdc.base_1ghihns_labelPlacementInner__7775bbdc .base_1ghihns_lbt1ohz__7775bbdc{color:var(--plasma-textfield__placeholder-color);pointer-events:none;position:absolute;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;height:var(--plasma-textfield-height);padding-top:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);padding-bottom:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);}.base_1ghihns_b15d3bnf__7775bbdc.base_1ghihns_labelPlacementInner__7775bbdc.base_1ghihns_textfieldClear__7775bbdc .base_1ghihns_lbt1ohz__7775bbdc{color:var(--plasma-textfield__clear-placeholder-color);}
13
+ .base_3domm_b15d3bnf__caf0c2d1.base_3domm_labelPlacementOuter__caf0c2d1 .base_3domm_l1gjsnfi__caf0c2d1{position:relative;display:inline-block;color:var(--plasma-textfield__label-color);}.base_3domm_b15d3bnf__caf0c2d1.base_3domm_labelPlacementInner__caf0c2d1 .base_3domm_i19ry60d__caf0c2d1{padding:var(--plasma-textfield-placement_inner__content-padding);}.base_3domm_b15d3bnf__caf0c2d1.base_3domm_labelPlacementInner__caf0c2d1 .base_3domm_s14qvple__caf0c2d1,.base_3domm_b15d3bnf__caf0c2d1.base_3domm_labelPlacementInner__caf0c2d1 .base_3domm_smqgwd8__caf0c2d1{padding:var(--plasma-textfield-placement_inner__content-padding);}.base_3domm_b15d3bnf__caf0c2d1.base_3domm_labelPlacementInner__caf0c2d1 .base_3domm_i13qvwoy__caf0c2d1:focus ~ .base_3domm_l1gjsnfi__caf0c2d1,.base_3domm_b15d3bnf__caf0c2d1.base_3domm_labelPlacementInner__caf0c2d1 .base_3domm_i13qvwoy__caf0c2d1.base_3domm_hasValue__caf0c2d1 ~ .base_3domm_l1gjsnfi__caf0c2d1{color:var(--plasma-textfield__placeholder-color);-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;padding:var(--plasma-textfield-placement_inner__label-padding);font-family:var(--plasma-textfield-placement_inner__label-font-family);font-size:var(--plasma-textfield-placement_inner__label-font-size);font-style:var(--plasma-textfield-placement_inner__label-font-style);font-weight:var(--plasma-textfield-placement_inner__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);line-height:var(--plasma-textfield-placement_inner__label-line-height);}.base_3domm_b15d3bnf__caf0c2d1.base_3domm_labelPlacementInner__caf0c2d1 .base_3domm_l1gjsnfi__caf0c2d1{color:var(--plasma-textfield__placeholder-color);pointer-events:none;position:absolute;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;height:var(--plasma-textfield-height);padding-top:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);padding-bottom:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);}.base_3domm_b15d3bnf__caf0c2d1.base_3domm_labelPlacementInner__caf0c2d1.base_3domm_textfieldClear__caf0c2d1 .base_3domm_l1gjsnfi__caf0c2d1{color:var(--plasma-textfield__clear-placeholder-color);}
14
14
 
15
- .TextField_styles_1d2ryq_iq39zt5__7c8f1496{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;}
16
- .TextField_styles_1d2ryq_i1j28rg8__7c8f1496{-webkit-flex:1;-ms-flex:1;flex:1;overflow:scroll;position:relative;width:100%;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;overscroll-behavior:contain;}.TextField_styles_1d2ryq_i1j28rg8__7c8f1496::-webkit-scrollbar{display:none;}.TextField_styles_1d2ryq_i1j28rg8__7c8f1496.TextField_styles_1d2ryq_hasChips__7c8f1496{height:var(--plasma-textfield__chip-height);border-radius:var(--plasma-textfield__chip-border-radius);}
17
- .TextField_styles_1d2ryq_s13zudoe__7c8f1496{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-textfield__chip-gap);margin-right:var(--plasma-textfield__chip-gap);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
18
- .TextField_styles_1d2ryq_io4bpie__7c8f1496{box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;padding:0;background-color:transparent;outline:none;width:100%;z-index:1;}.TextField_styles_1d2ryq_io4bpie__7c8f1496::-webkit-input-placeholder{opacity:0;}.TextField_styles_1d2ryq_io4bpie__7c8f1496::-moz-placeholder{opacity:0;}.TextField_styles_1d2ryq_io4bpie__7c8f1496:-ms-input-placeholder{opacity:0;}.TextField_styles_1d2ryq_io4bpie__7c8f1496::placeholder{opacity:0;}
19
- .TextField_styles_1d2ryq_i13qvwoy__7c8f1496{position:relative;-webkit-flex:1;-ms-flex:1;flex:1;min-width:60%;}
20
- .TextField_styles_1d2ryq_i19ry60d__7c8f1496{position:absolute;top:0;left:0;right:0;bottom:0;z-index:0;white-space:nowrap;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font:inherit;-webkit-letter-spacing:inherit;-moz-letter-spacing:inherit;-ms-letter-spacing:inherit;letter-spacing:inherit;line-height:inherit;color:var(--plasma-textfield__placeholder-color);}
21
- .TextField_styles_1d2ryq_lbt1ohz__7c8f1496{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
22
- .TextField_styles_1d2ryq_slv9av6__7c8f1496{color:var(--slv9av6-0);line-height:0;}
23
- .TextField_styles_1d2ryq_s600610__7c8f1496.TextField_styles_1d2ryq_slv9av6__7c8f1496{margin:var(--plasma-textfield__left-content-margin);}
24
- .TextField_styles_1d2ryq_suk2zst__7c8f1496{line-height:0;margin:var(--plasma-textfield__right-content-margin);color:var(--plasma-textfield-content-right-slot-color,var(--plasma-textfield-content-slot-color));}.TextField_styles_1d2ryq_suk2zst__7c8f1496:hover{color:var(--plasma-textfield-content-slot-color-hover);color:var(--plasma-textfield-content-right-slot-color-hover,var(--plasma-textfield-content-slot-color-hover));cursor:pointer;}.TextField_styles_1d2ryq_suk2zst__7c8f1496:active{color:var(--plasma-textfield-content-right-slot-color-active,var(--plasma-textfield-content-slot-color-active));}
15
+ .base_l8etux_bbsd6t5__82026c13 .base_l8etux_hq39zt5__82026c13{--plasma-tooltip-background-color:var(--plasma-textfield__tooltip-background-color);--plasma-tooltip-box-shadow:var(--plasma-textfield__tooltip-box-shadow);--plasma-tooltip-color:var(--plasma-textfield__tooltip-color);}
25
16
 
17
+ .base_1x99605_b10o15xy__faec7753 .base_1x99605_hq39zt5__faec7753{--plasma-tooltip-padding-top:var(--plasma-textfield__tooltip-padding-top);--plasma-tooltip-padding-right:var(--plasma-textfield__tooltip-padding-right);--plasma-tooltip-padding-bottom:var(--plasma-textfield__tooltip-padding-bottom);--plasma-tooltip-padding-left:var(--plasma-textfield__tooltip-padding-left);--plasma-tooltip-min-height:var(--plasma-textfield__tooltip-min-height);--plasma-tooltip-border-radius:var(--plasma-textfield__tooltip-border-radius);--plasma-tooltip-text-font-family:var(--plasma-textfield__tooltip-text-font-family);--plasma-tooltip-text-font-size:var(--plasma-textfield__tooltip-text-font-size);--plasma-tooltip-text-font-style:var(--plasma-textfield__tooltip-text-font-style);--plasma-tooltip-text-font-weight:var(--plasma-textfield__tooltip-text-font-weight);--plasma-tooltip-text-font-letter-spacing:var(--plasma-textfield__tooltip-text-font-letter-spacing);--plasma-tooltip-text-font-line-height:var(--plasma-textfield__tooltip-text-font-line-height);--plasma-tooltip-content-left-margin:var(--plasma-textfield__tooltip-content-left-margin);--plasma-tooltip-arrow-mask-width:var(--plasma-textfield__tooltip-arrow-mask-width);--plasma-tooltip-arrow-mask-height:var(--plasma-textfield__tooltip-arrow-mask-height);--plasma-tooltip-arrow-mask-image:var(--plasma-textfield__tooltip-arrow-mask-image);--plasma-tooltip-arrow-height:var(--plasma-textfield__tooltip-arrow-height);--plasma-tooltip-arrow-edge-margin:var(--plasma-textfield__tooltip-arrow-edge-margin);--plasma-tooltip-arrow-background:var(--plasma-textfield__tooltip-arrow-background);}
26
18
 
19
+ .Popover_styles_rmr9za_s1g1xbt5__0bafa6fb{display:inline-block;}
20
+ .Popover_styles_rmr9za_s12xwbyh__0bafa6fb{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;box-sizing:border-box;position:relative;}
21
+ .Popover_styles_rmr9za_s1pd4d8a__0bafa6fb{width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);}.Popover_styles_rmr9za_s1pd4d8a__0bafa6fb::before{position:absolute;width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);-webkit-mask-image:var(--plasma-popover-arrow-mask-image);mask-image:var(--plasma-popover-arrow-mask-image);background:var(--plasma-popover-arrow-background);content:'';-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}
22
+ .Popover_styles_rmr9za_s16xlixz__0bafa6fb{position:absolute;z-index:var(--s16xlixz-0);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{right:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{left:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));left:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));left:unset !important;right:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));left:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));left:unset !important;right:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb,.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb,.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:unset !important;bottom:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}
27
23
 
28
- .TextField_styles_1d2ryq_sb3k3v1__7c8f1496{color:var(--plasma-textfield__optional-color);}
29
- .TextField_styles_1d2ryq_s7hnwwb__7c8f1496{position:absolute;border-radius:50%;background-color:var(--plasma-textfield__indicator-color);}.TextField_styles_1d2ryq_s7hnwwb__7c8f1496.TextField_styles_1d2ryq_labelPlacementOuter__7c8f1496{width:var(--plasma-textfield__indicator-size-outer);height:var(--plasma-textfield__indicator-size-outer);inset:var(--plasma-textfield__indicator-placement-outer);}.TextField_styles_1d2ryq_s7hnwwb__7c8f1496.TextField_styles_1d2ryq_labelPlacementOuter__7c8f1496.TextField_styles_1d2ryq_alignRight__7c8f1496{inset:var(--plasma-textfield__indicator-placement-outer-right);}.TextField_styles_1d2ryq_s7hnwwb__7c8f1496.TextField_styles_1d2ryq_labelPlacementInner__7c8f1496{width:var(--plasma-textfield__indicator-size-inner);height:var(--plasma-textfield__indicator-size-inner);inset:var(--plasma-textfield__indicator-placement-inner);}.TextField_styles_1d2ryq_s7hnwwb__7c8f1496.TextField_styles_1d2ryq_labelPlacementInner__7c8f1496.TextField_styles_1d2ryq_alignRight__7c8f1496{inset:var(--plasma-textfield__indicator-placement-inner-right);}
24
+ .Tooltip_styles_1jz4u92_teczcv4__3fe65388{padding:var(--plasma-tooltip-padding-top) var(--plasma-tooltip-padding-right) var(--plasma-tooltip-padding-bottom) var(--plasma-tooltip-padding-left);min-height:var(--plasma-tooltip-min-height);box-sizing:border-box;background-color:var(--plasma-tooltip-background-color);border-radius:var(--plasma-tooltip-border-radius);box-shadow:var(--plasma-tooltip-box-shadow);color:var(--plasma-tooltip-color);font-family:var(--plasma-tooltip-text-font-family);font-size:var(--plasma-tooltip-text-font-size);font-style:var(--plasma-tooltip-text-font-style);font-weight:var(--plasma-tooltip-text-font-weight);-webkit-letter-spacing:var(--plasma-tooltip-text-font-letter-spacing);-moz-letter-spacing:var(--plasma-tooltip-text-font-letter-spacing);-ms-letter-spacing:var(--plasma-tooltip-text-font-letter-spacing);letter-spacing:var(--plasma-tooltip-text-font-letter-spacing);line-height:var(--plasma-tooltip-text-font-line-height);max-width:var(--teczcv4-0);min-width:var(--teczcv4-1);width:-webkit-max-content;width:-moz-max-content;width:max-content;word-break:break-word;pointer-events:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.Tooltip_styles_1jz4u92_teczcv4__3fe65388.Tooltip_styles_1jz4u92_hasContentLeft__3fe65388{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}
25
+ .Tooltip_styles_1jz4u92_s1j361h1__3fe65388{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;margin-right:var(--plasma-tooltip-content-left-margin);height:var(--plasma-tooltip-text-font-line-height);}
26
+
27
+ .Tooltip_aay375_s1cz8cv8__390cdb21{--plasma-popover-arrow-mask-width:var(--plasma-tooltip-arrow-mask-width);--plasma-popover-arrow-mask-height:var(--plasma-tooltip-arrow-mask-height);--plasma-popover-arrow-mask-image:var(--plasma-tooltip-arrow-mask-image);--plasma-popover-arrow-background:var(--plasma-tooltip-arrow-background);--plasma-popover-arrow-height:var(--plasma-tooltip-arrow-height);--plasma-popover-arrow-edge-margin:var(--plasma-tooltip-arrow-edge-margin);}.Tooltip_aay375_s1cz8cv8__390cdb21.Tooltip_aay375_tooltipAnimated__390cdb21 .Tooltip_aay375_popoverRoot__390cdb21{-webkit-transition:opacity 200ms ease-in-out,visibility 200ms ease-in-out;transition:opacity 200ms ease-in-out,visibility 200ms ease-in-out;}
28
+
29
+
30
+ .TextField_styles_grgg7q_i1j28rg8__04d4fe84{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;}
31
+ .TextField_styles_grgg7q_i13zudoe__04d4fe84{-webkit-flex:1;-ms-flex:1;flex:1;overflow:scroll;position:relative;width:100%;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;overscroll-behavior:contain;}.TextField_styles_grgg7q_i13zudoe__04d4fe84::-webkit-scrollbar{display:none;}.TextField_styles_grgg7q_i13zudoe__04d4fe84.TextField_styles_grgg7q_hasChips__04d4fe84{height:var(--plasma-textfield__chip-height);border-radius:var(--plasma-textfield__chip-border-radius);}
32
+ .TextField_styles_grgg7q_so4bpie__04d4fe84{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-textfield__chip-gap);margin-right:var(--plasma-textfield__chip-gap);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
33
+ .TextField_styles_grgg7q_i13qvwoy__04d4fe84{box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;padding:0;background-color:transparent;outline:none;width:100%;z-index:1;}.TextField_styles_grgg7q_i13qvwoy__04d4fe84::-webkit-input-placeholder{opacity:0;}.TextField_styles_grgg7q_i13qvwoy__04d4fe84::-moz-placeholder{opacity:0;}.TextField_styles_grgg7q_i13qvwoy__04d4fe84:-ms-input-placeholder{opacity:0;}.TextField_styles_grgg7q_i13qvwoy__04d4fe84::placeholder{opacity:0;}
34
+ .TextField_styles_grgg7q_i19ry60d__04d4fe84{position:relative;-webkit-flex:1;-ms-flex:1;flex:1;min-width:60%;}
35
+ .TextField_styles_grgg7q_ibt1ohz__04d4fe84{position:absolute;top:0;left:0;right:0;bottom:0;z-index:0;white-space:nowrap;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font:inherit;-webkit-letter-spacing:inherit;-moz-letter-spacing:inherit;-ms-letter-spacing:inherit;letter-spacing:inherit;line-height:inherit;color:var(--plasma-textfield__placeholder-color);}
36
+ .TextField_styles_grgg7q_olv9av6__04d4fe84{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:var(--olv9av6-0);}
37
+ .TextField_styles_grgg7q_t600610__04d4fe84{display:inline-block;margin-left:auto;}
38
+ .TextField_styles_grgg7q_suk2zst__04d4fe84{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
39
+ .TextField_styles_grgg7q_l1gjsnfi__04d4fe84{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
40
+ .TextField_styles_grgg7q_ssv2kwg__04d4fe84{color:var(--ssv2kwg-0);line-height:0;}
41
+ .TextField_styles_grgg7q_s190z894__04d4fe84.TextField_styles_grgg7q_ssv2kwg__04d4fe84{margin:var(--plasma-textfield__left-content-margin);}
42
+ .TextField_styles_grgg7q_sb3k3v1__04d4fe84{line-height:0;margin:var(--plasma-textfield__right-content-margin);color:var(--plasma-textfield-content-right-slot-color,var(--plasma-textfield-content-slot-color));}.TextField_styles_grgg7q_sb3k3v1__04d4fe84:hover{color:var(--plasma-textfield-content-slot-color-hover);color:var(--plasma-textfield-content-right-slot-color-hover,var(--plasma-textfield-content-slot-color-hover));cursor:pointer;}.TextField_styles_grgg7q_sb3k3v1__04d4fe84:active{color:var(--plasma-textfield-content-right-slot-color-active,var(--plasma-textfield-content-slot-color-active));}
43
+
44
+
45
+
46
+ .TextField_styles_grgg7q_s16itze4__04d4fe84{color:var(--plasma-textfield__optional-color);}
47
+ .TextField_styles_grgg7q_s1skqnhr__04d4fe84{display:inline-block;line-height:0;}.TextField_styles_grgg7q_s1skqnhr__04d4fe84.TextField_styles_grgg7q_labelPlacementInner__04d4fe84{position:absolute;margin:0;inset:var(--plasma-textfield__hint-inner-label-placement-offset);}
48
+ .TextField_styles_grgg7q_hgy0im1__04d4fe84{color:var(--plasma-textfield__hint-icon-color);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
49
+
50
+ .TextField_styles_grgg7q_szsveq4__04d4fe84{position:absolute;border-radius:50%;background-color:var(--plasma-textfield__indicator-color);}.TextField_styles_grgg7q_szsveq4__04d4fe84.TextField_styles_grgg7q_labelPlacementOuter__04d4fe84{width:var(--plasma-textfield__indicator-size-outer);height:var(--plasma-textfield__indicator-size-outer);inset:var(--plasma-textfield__indicator-placement-outer);}.TextField_styles_grgg7q_szsveq4__04d4fe84.TextField_styles_grgg7q_labelPlacementOuter__04d4fe84.TextField_styles_grgg7q_requiredAlignRight__04d4fe84{inset:var(--plasma-textfield__indicator-placement-outer-right);}.TextField_styles_grgg7q_szsveq4__04d4fe84.TextField_styles_grgg7q_labelPlacementOuter__04d4fe84.TextField_styles_grgg7q_requiredAlignRight__04d4fe84.TextField_styles_grgg7q_textfieldHasHint__04d4fe84{right:calc(-1 * var(--plasma-textfield__indicator-size-outer));}.TextField_styles_grgg7q_szsveq4__04d4fe84.TextField_styles_grgg7q_labelPlacementInner__04d4fe84{width:var(--plasma-textfield__indicator-size-inner);height:var(--plasma-textfield__indicator-size-inner);inset:var(--plasma-textfield__indicator-placement-inner);}.TextField_styles_grgg7q_szsveq4__04d4fe84.TextField_styles_grgg7q_labelPlacementInner__04d4fe84.TextField_styles_grgg7q_requiredAlignRight__04d4fe84{inset:var(--plasma-textfield__indicator-placement-inner-right);}
30
51
 
31
52
  .base_1lwlv7t_b13tc97x__334a4e59{color:var(--plasma-chip-color);background-color:var(--plasma-chip-background);}.base_1lwlv7t_b13tc97x__334a4e59:hover{color:var(--plasma-chip-color-hover);background-color:var(--plasma-chip-background-hover);scale:var(--plasma-chip-scale-hover);}.base_1lwlv7t_b13tc97x__334a4e59:active{color:var(--plasma-chip-color-active);background-color:var(--plasma-chip-background-active);scale:var(--plasma-chip-scale-active);}
32
53
 
@@ -3,17 +3,16 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
- var sizeToIconSize = require('../../../../utils/sizeToIconSize.js');
7
- var getItemId = require('../../../../utils/getItemId.js');
8
6
  var Combobox_tokens = require('../../../../Combobox.tokens.js');
9
7
  var index = require('../../../../../../../utils/index.js');
10
- require('@linaria/react');
11
- var IconDone = require('../../../../../../_Icon/Icons/IconDone.js');
12
- var IconDisclosureRightCentered = require('../../../../../../_Icon/Icons/IconDisclosureRightCentered.js');
13
8
  var Combobox = require('../../../../Combobox.js');
14
- var useDidMountEffect = require('../../../../../../../hooks/useDidMountEffect.js');
15
9
  var Item_styles = require('./Item.styles.js');
10
+ var useDidMountEffect = require('../../../../../../../hooks/useDidMountEffect.js');
11
+ var getItemId = require('../../../../utils/getItemId.js');
12
+ var IconDone = require('../../../../../../_Icon/Icons/IconDone.js');
13
+ var sizeToIconSize = require('../../../../utils/sizeToIconSize.js');
16
14
  var isEmpty = require('../../../../../../../utils/isEmpty.js');
15
+ var IconDisclosureRightCentered = require('../../../../../../_Icon/Icons/IconDisclosureRightCentered.js');
17
16
 
18
17
  var _StyledIndicator;
19
18
  var Item = function Item(_ref) {
@@ -1 +1 @@
1
- {"version":3,"file":"Item.js","sources":["../../../../../../../../src/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.tsx"],"sourcesContent":["import React, { useRef, FC, useContext } from 'react';\n\nimport { sizeToIconSize, getItemId } from '../../../../utils';\nimport { classes } from '../../../../Combobox.tokens';\nimport { cx, isEmpty } from '../../../../../../../utils';\nimport { IconDisclosureRightCentered, IconDone } from '../../../../../../_Icon';\nimport { Context } from '../../../../Combobox';\nimport { useDidMountEffect } from '../../../../../../../hooks';\n\nimport { ItemProps } from './Item.types';\nimport {\n StyledWrapper,\n StyledText,\n Wrapper,\n DisclosureIconWrapper,\n StyledCheckbox,\n IconWrapper,\n StyledIndicator,\n StyledCheckboxWrapper,\n StyledCell,\n} from './Item.styles';\n\nexport const Item: FC<ItemProps> = ({\n item,\n path,\n currentLevel,\n index,\n ariaControls,\n ariaExpanded,\n ariaLevel,\n ariaLabel,\n}) => {\n const { value, label, disabled, contentLeft, contentRight } = item;\n\n const ref = useRef<HTMLLIElement | null>(null);\n\n const {\n focusedPath,\n checked,\n multiple,\n size,\n handleCheckboxChange,\n handleItemClick,\n variant,\n renderItem,\n valueToItemMap,\n treeId,\n } = useContext(Context);\n\n const disabledClassName = disabled ? classes.dropdownItemIsDisabled : undefined;\n\n const focusedClass =\n currentLevel === focusedPath.length - 1 && index === focusedPath?.[currentLevel]\n ? classes.dropdownItemIsFocused\n : undefined;\n const activeClass = value === path?.[currentLevel + 1] ? classes.dropdownItemIsActive : undefined;\n\n useDidMountEffect(() => {\n if (focusedClass && ref?.current) {\n ref.current.scrollIntoView({\n behavior: 'smooth',\n block: 'center',\n inline: 'center',\n });\n }\n }, [focusedClass]);\n\n const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n if (disabled) return;\n\n e.stopPropagation();\n\n handleCheckboxChange(item);\n };\n\n const handleClick = (e: React.MouseEvent<HTMLElement>) => {\n if (disabled) {\n e.stopPropagation();\n return;\n }\n\n handleItemClick(item, e);\n };\n\n return (\n <Wrapper\n className={cx(disabledClassName, focusedClass, activeClass)}\n id={getItemId(treeId, value)}\n ref={ref}\n onClick={handleClick}\n variant={variant}\n role=\"treeitem\"\n aria-controls={ariaControls}\n aria-expanded={ariaExpanded}\n aria-level={ariaLevel}\n aria-label={ariaLabel}\n aria-selected={Boolean(checked.get(item.value))}\n >\n <IconWrapper variant={variant}>\n {multiple && (\n <StyledCheckboxWrapper onClick={(e) => e.stopPropagation()}>\n <StyledCheckbox\n checked={Boolean(checked.get(item.value))}\n indeterminate={checked.get(item.value) === 'indeterminate'}\n onChange={handleChange}\n className={classes.selectItemCheckbox}\n />\n </StyledCheckboxWrapper>\n )}\n\n {!multiple && checked.get(item.value) === 'dot' && <StyledIndicator size=\"s\" view=\"default\" />}\n\n {!multiple && checked.get(item.value) === 'done' && (\n <IconDone size={sizeToIconSize(size, variant)} color=\"inherit\" />\n )}\n </IconWrapper>\n\n {renderItem ? (\n <StyledText>{renderItem(valueToItemMap.get(value)!)}</StyledText>\n ) : (\n <StyledWrapper>\n <StyledCell\n view=\"default\"\n size=\"l\"\n contentLeft={contentLeft}\n contentRight={contentRight}\n alignContentLeft=\"center\"\n alignContentRight=\"center\"\n title={label}\n />\n </StyledWrapper>\n )}\n\n {!isEmpty(item.items) && (\n <DisclosureIconWrapper>\n <IconDisclosureRightCentered size={sizeToIconSize(size, variant)} color=\"inherit\" />\n </DisclosureIconWrapper>\n )}\n </Wrapper>\n );\n};\n"],"names":["Item","_ref","item","path","currentLevel","index","ariaControls","ariaExpanded","ariaLevel","ariaLabel","value","label","disabled","contentLeft","contentRight","ref","useRef","_useContext","useContext","Context","focusedPath","checked","multiple","size","handleCheckboxChange","handleItemClick","variant","renderItem","valueToItemMap","treeId","disabledClassName","classes","dropdownItemIsDisabled","undefined","focusedClass","length","dropdownItemIsFocused","activeClass","dropdownItemIsActive","useDidMountEffect","current","scrollIntoView","behavior","block","inline","handleChange","e","stopPropagation","handleClick","React","createElement","Wrapper","className","cx","id","getItemId","onClick","role","Boolean","get","IconWrapper","StyledCheckboxWrapper","StyledCheckbox","indeterminate","onChange","selectItemCheckbox","_StyledIndicator","StyledIndicator","view","IconDone","sizeToIconSize","color","StyledText","StyledWrapper","StyledCell","alignContentLeft","alignContentRight","title","isEmpty","items","D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AAC,aAAA,CAAC+B,uDAA2B,EAAA;AAAC1D,IAAAA,IAAI,EAAE+C,6BAAc,CAAC/C,IAAI,EAAEG,OAAO,CAAE;AAAC6C,IAAAA,KAAK,EAAC,SAAA;GAAW,CAChE,CAEtB,CAAC,CAAA;AAElB;;;;"}
1
+ {"version":3,"file":"Item.js","sources":["../../../../../../../../src/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.tsx"],"sourcesContent":["import React, { useRef, FC, useContext } from 'react';\n\nimport { sizeToIconSize, getItemId } from '../../../../utils';\nimport { classes } from '../../../../Combobox.tokens';\nimport { cx, isEmpty } from '../../../../../../../utils';\nimport { IconDisclosureRightCentered, IconDone } from '../../../../../../_Icon';\nimport { Context } from '../../../../Combobox';\nimport { useDidMountEffect } from '../../../../../../../hooks';\n\nimport { ItemProps } from './Item.types';\nimport {\n StyledWrapper,\n StyledText,\n Wrapper,\n DisclosureIconWrapper,\n StyledCheckbox,\n IconWrapper,\n StyledIndicator,\n StyledCheckboxWrapper,\n StyledCell,\n} from './Item.styles';\n\nexport const Item: FC<ItemProps> = ({\n item,\n path,\n currentLevel,\n index,\n ariaControls,\n ariaExpanded,\n ariaLevel,\n ariaLabel,\n}) => {\n const { value, label, disabled, contentLeft, contentRight } = item;\n\n const ref = useRef<HTMLLIElement | null>(null);\n\n const {\n focusedPath,\n checked,\n multiple,\n size,\n handleCheckboxChange,\n handleItemClick,\n variant,\n renderItem,\n valueToItemMap,\n treeId,\n } = useContext(Context);\n\n const disabledClassName = disabled ? classes.dropdownItemIsDisabled : undefined;\n\n const focusedClass =\n currentLevel === focusedPath.length - 1 && index === focusedPath?.[currentLevel]\n ? classes.dropdownItemIsFocused\n : undefined;\n const activeClass = value === path?.[currentLevel + 1] ? classes.dropdownItemIsActive : undefined;\n\n useDidMountEffect(() => {\n if (focusedClass && ref?.current) {\n ref.current.scrollIntoView({\n behavior: 'smooth',\n block: 'center',\n inline: 'center',\n });\n }\n }, [focusedClass]);\n\n const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n if (disabled) return;\n\n e.stopPropagation();\n\n handleCheckboxChange(item);\n };\n\n const handleClick = (e: React.MouseEvent<HTMLElement>) => {\n if (disabled) {\n e.stopPropagation();\n return;\n }\n\n handleItemClick(item, e);\n };\n\n return (\n <Wrapper\n className={cx(disabledClassName, focusedClass, activeClass)}\n id={getItemId(treeId, value)}\n ref={ref}\n onClick={handleClick}\n variant={variant}\n role=\"treeitem\"\n aria-controls={ariaControls}\n aria-expanded={ariaExpanded}\n aria-level={ariaLevel}\n aria-label={ariaLabel}\n aria-selected={Boolean(checked.get(item.value))}\n >\n <IconWrapper variant={variant}>\n {multiple && (\n <StyledCheckboxWrapper onClick={(e) => e.stopPropagation()}>\n <StyledCheckbox\n checked={Boolean(checked.get(item.value))}\n indeterminate={checked.get(item.value) === 'indeterminate'}\n onChange={handleChange}\n className={classes.selectItemCheckbox}\n />\n </StyledCheckboxWrapper>\n )}\n\n {!multiple && checked.get(item.value) === 'dot' && <StyledIndicator size=\"s\" view=\"default\" />}\n\n {!multiple && checked.get(item.value) === 'done' && (\n <IconDone size={sizeToIconSize(size, variant)} color=\"inherit\" />\n )}\n </IconWrapper>\n\n {renderItem ? (\n <StyledText>{renderItem(valueToItemMap.get(value)!)}</StyledText>\n ) : (\n <StyledWrapper>\n <StyledCell\n view=\"default\"\n size=\"l\"\n contentLeft={contentLeft}\n contentRight={contentRight}\n alignContentLeft=\"center\"\n alignContentRight=\"center\"\n title={label}\n />\n </StyledWrapper>\n )}\n\n {!isEmpty(item.items) && (\n <DisclosureIconWrapper>\n <IconDisclosureRightCentered size={sizeToIconSize(size, variant)} color=\"inherit\" />\n </DisclosureIconWrapper>\n )}\n </Wrapper>\n );\n};\n"],"names":["Item","_ref","item","path","currentLevel","index","ariaControls","ariaExpanded","ariaLevel","ariaLabel","value","label","disabled","contentLeft","contentRight","ref","useRef","_useContext","useContext","Context","focusedPath","checked","multiple","size","handleCheckboxChange","handleItemClick","variant","renderItem","valueToItemMap","treeId","disabledClassName","classes","dropdownItemIsDisabled","undefined","focusedClass","length","dropdownItemIsFocused","activeClass","dropdownItemIsActive","useDidMountEffect","current","scrollIntoView","behavior","block","inline","handleChange","e","stopPropagation","handleClick","React","createElement","Wrapper","className","cx","id","getItemId","onClick","role","Boolean","get","IconWrapper","StyledCheckboxWrapper","StyledCheckbox","indeterminate","onChange","selectItemCheckbox","_StyledIndicator","StyledIndicator","view","IconDone","sizeToIconSize","color","StyledText","StyledWrapper","StyledCell","alignContentLeft","alignContentRight","title","isEmpty","items","DisclosureIconWrapper","IconDisclosureRightCentered"],"mappings":";;;;;;;;;;;;;;;;;IAsBaA,IAAmB,GAAG,SAAtBA,IAAmBA,CAAAC,IAAA,EAS1B;AAAA,EAAA,IARFC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IACJC,IAAI,GAAAF,IAAA,CAAJE,IAAI;IACJC,YAAY,GAAAH,IAAA,CAAZG,YAAY;IACZC,OAAK,GAAAJ,IAAA,CAALI,KAAK;IACLC,YAAY,GAAAL,IAAA,CAAZK,YAAY;IACZC,YAAY,GAAAN,IAAA,CAAZM,YAAY;IACZC,SAAS,GAAAP,IAAA,CAATO,SAAS;IACTC,SAAS,GAAAR,IAAA,CAATQ,SAAS,CAAA;AAET,EAAA,IAAQC,KAAK,GAAiDR,IAAI,CAA1DQ,KAAK;IAAEC,KAAK,GAA0CT,IAAI,CAAnDS,KAAK;IAAEC,QAAQ,GAAgCV,IAAI,CAA5CU,QAAQ;IAAEC,WAAW,GAAmBX,IAAI,CAAlCW,WAAW;IAAEC,YAAY,GAAKZ,IAAI,CAArBY,YAAY,CAAA;AAEzD,EAAA,IAAMC,GAAG,GAAGC,YAAM,CAAuB,IAAI,CAAC,CAAA;AAE9C,EAAA,IAAAC,WAAA,GAWIC,gBAAU,CAACC,gBAAO,CAAC;IAVnBC,WAAW,GAAAH,WAAA,CAAXG,WAAW;IACXC,OAAO,GAAAJ,WAAA,CAAPI,OAAO;IACPC,QAAQ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;AACd7C,IAAAA,IAAI,EAAC,GAAG;AACRV,IAAAA,WAAW,EAAEA,WAAY;AACzBC,IAAAA,YAAY,EAAEA,YAAa;AAC3B6D,IAAAA,gBAAgB,EAAC,QAAQ;AACzBC,IAAAA,iBAAiB,EAAC,QAAQ;AAC1BC,IAAAA,KAAK,EAAElE,KAAAA;GACV,CACU,CAClB,EAEA,CAACmE,eAAO,CAAC5E,IAAI,CAAC6E,KAAK,CAAC,iBACjB9B,KAAA,CAAAC,aAAA,CAAC8B,iCAAqB,qBAClB/B,KAAA,CAAAC,aAAA,CAAC+B,uDAA2B,EAAA;AAAC1D,IAAAA,IAAI,EAAE+C,6BAAc,CAAC/C,IAAI,EAAEG,OAAO,CAAE;AAAC6C,IAAAA,KAAK,EAAC,SAAA;GAAW,CAChE,CAEtB,CAAC,CAAA;AAElB;;;;"}
@@ -5,12 +5,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  var react = require('@linaria/react');
7
7
  var Combobox_tokens = require('../../../../Combobox.tokens.js');
8
- require('@linaria/core');
9
8
  var common = require('../../../../../../../engines/common.js');
10
9
  var Checkbox$1 = require('../../../../../../Checkbox/Checkbox.js');
11
- var Indicator$1 = require('../../../../../../Indicator/Indicator.js');
12
- require('react');
13
10
  var Cell$1 = require('../../../../../../Cell/Cell.js');
11
+ var Indicator$1 = require('../../../../../../Indicator/Indicator.js');
14
12
 
15
13
  var mergedCheckboxConfig = /*#__PURE__*/common.mergeConfig(Checkbox$1.checkboxConfig);
16
14
  var Checkbox = /*#__PURE__*/common.component(mergedCheckboxConfig);
@@ -1 +1 @@
1
- {"version":3,"file":"Item.styles.js","sources":["../../../../../../../../src/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { classes, tokens, constants } from '../../../../Combobox.tokens';\nimport { addFocus, applyEllipsis } from '../../../../../../../mixins';\nimport { component, mergeConfig } from '../../../../../../../engines';\nimport { checkboxConfig, checkboxTokens } from '../../../../../../Checkbox';\nimport { indicatorConfig, indicatorTokens } from '../../../../../../Indicator';\nimport { cellConfig, cellTokens } from '../../../../../../Cell';\nimport type { ComboboxProps } from '../../../../Combobox.types';\n\nconst mergedCheckboxConfig = mergeConfig(checkboxConfig);\nconst Checkbox = component(mergedCheckboxConfig);\n\nconst mergedCellConfig = mergeConfig(cellConfig);\nconst Cell = component(mergedCellConfig);\n\nexport const StyledWrapper = styled.div`\n ${cellTokens.cellTitleColor}: var(${constants.cellTitleColor});\n ${cellTokens.cellBackgroundColor}: var(${constants.cellBackgroundColor});\n ${cellTokens.cellPadding}: var(${tokens.cellPadding});\n ${cellTokens.cellPaddingLeftContent}: var(${tokens.cellPaddingLeftContent});\n ${cellTokens.cellPaddingContent}: var(${tokens.cellPaddingContent});\n ${cellTokens.cellPaddingRightContent}: var(${tokens.cellPaddingRightContent});\n ${cellTokens.cellTextboxGap}: var(${tokens.cellTextboxGap});\n ${cellTokens.cellGap}: var(${tokens.cellGap});\n ${cellTokens.cellTitleFontFamily}: var(${tokens.cellTitleFontFamily});\n ${cellTokens.cellTitleFontSize}: var(${tokens.cellTitleFontSize});\n ${cellTokens.cellTitleFontStyle}: var(${tokens.cellTitleFontStyle});\n ${cellTokens.cellTitleFontWeight}: var(${tokens.cellTitleFontWeight});\n ${cellTokens.cellTitleLetterSpacing}: var(${tokens.cellTitleLetterSpacing});\n ${cellTokens.cellTitleLineHeight}: var(${tokens.cellTitleLineHeight});\n width: 100%;\n`;\n\nexport const StyledCell = styled(Cell)``;\n\nexport const StyledCheckbox = styled(Checkbox)`\n ${checkboxTokens.triggerSize}: var(${tokens.checkboxTriggerSize});\n ${checkboxTokens.triggerBorderRadius}: var(${tokens.checkboxTriggerBorderRadius});\n ${checkboxTokens.fillColor}: var(${tokens.checkboxFillColor});\n ${checkboxTokens.iconColor}: var(${tokens.checkboxIconColor});\n ${checkboxTokens.triggerBorderColor}: var(${tokens.checkboxTriggerBorderColor});\n`;\n\nconst mergedIndicatorConfig = mergeConfig(indicatorConfig);\nconst Indicator = component(mergedIndicatorConfig);\n\nexport const StyledIndicator = styled(Indicator)`\n ${indicatorTokens.size}: var(${tokens.indicatorSize});\n ${indicatorTokens.color}: var(${tokens.checkboxFillColor});\n`;\n\nexport const StyledContentLeft = styled.div`\n display: inline-flex;\n`;\n\nexport const StyledContentRight = styled.div`\n margin-left: auto;\n display: inline-flex;\n`;\n\nexport const DisclosureIconWrapper = styled.div`\n line-height: 0;\n color: var(${constants.disclosureIconColor});\n\n &:hover {\n color: var(${constants.disclosureIconColorHover});\n }\n`;\n\nexport const IconWrapper = styled.div<{ variant: ComboboxProps['variant'] }>`\n display: flex;\n align-items: center;\n justify-content: center;\n width: ${({ variant }) => `var(${variant === 'tight' ? tokens.itemIconSizeTight : tokens.itemIconSize})`};\n height: ${({ variant }) => `var(${variant === 'tight' ? tokens.itemIconSizeTight : tokens.itemIconSize})`};\n margin: var(${tokens.itemIconMargin});\n line-height: 0;\n color: var(${tokens.checkboxFillColor});\n\n & .${classes.selectItemCheckbox} {\n --plasma-checkbox-trigger-size: ${({ variant }) =>\n `var(${variant === 'tight' ? tokens.checkboxTriggerSizeTight : tokens.checkboxTriggerSize})`};\n --plasma-checkbox-trigger-border-radius: ${({ variant }) =>\n `var(${\n variant === 'tight' ? tokens.checkboxTriggerBorderRadiusTight : tokens.checkboxTriggerBorderRadius\n })`};\n }\n`;\n\nexport const StyledText = styled.div`\n ${applyEllipsis()};\n flex: 1;\n`;\n\nexport const Wrapper = styled.li<{ variant: ComboboxProps['variant'] }>`\n display: flex;\n align-items: center;\n min-height: var(${tokens.itemHeight});\n margin: 0;\n box-sizing: content-box;\n padding: ${({ variant }) => `var(${variant === 'tight' ? tokens.itemPaddingTight : tokens.itemPadding})`};\n font-family: var(${tokens.fontFamily});\n font-size: var(${tokens.fontSize});\n font-style: var(${tokens.fontStyle});\n font-weight: var(${tokens.fontWeight});\n letter-spacing: var(${tokens.fontLetterSpacing});\n line-height: var(${tokens.fontLineHeight});\n background-color: var(${constants.itemBackground});\n color: var(--text-primary);\n border-radius: var(${tokens.borderRadius});\n user-select: none;\n border-right: 2px solid transparent;\n border-left: 2px solid transparent;\n background-clip: padding-box;\n\n &:hover:not(.${classes.dropdownItemIsDisabled}) {\n cursor: pointer;\n background-color: var(${constants.itemBackgroundHover});\n }\n\n &.${classes.dropdownItemIsActive} {\n background-color: var(${constants.itemBackgroundHover});\n }\n\n &.${classes.dropdownItemIsDisabled} {\n opacity: ${constants.opacity};\n cursor: not-allowed;\n }\n\n :focus {\n outline: none;\n }\n\n ${addFocus({\n outlineSize: '0.0625rem',\n outlineOffset: '0',\n outlineColor: `var(${constants.focusColor})`,\n outlineRadius: `var(${tokens.itemBorderRadius})`,\n hasTransition: false,\n customFocusRules: `\n &.${classes.dropdownItemIsFocused}:before {\n outline: none;\n box-shadow: 0 0 0 0.0625rem var(${constants.focusColor});\n }\n `,\n })};\n`;\n\nexport const StyledCheckboxWrapper = styled.span``;\n"],"names":["mergedCheckboxConfig","mergeConfig","checkboxConfig","Checkbox","component","mergedCellConfig","cellConfig","Cell","StyledWrapper","styled","name","class","propsAsIs","_exp29","StyledCell","_exp30","StyledCheckbox","mergedIndicatorConfig","indicatorConfig","Indicator","_exp41","StyledIndicator","DisclosureIconWrapper","_exp49","_ref","variant","tokens","itemIconSizeTight","itemIconSize","_exp53","_ref2","checkboxTriggerSizeTight","checkboxTriggerSize","_exp54","_ref3","checkboxTriggerBorderRadiusTight","checkboxTriggerBorderRadius","IconWrapper","vars","StyledText","_exp57","_ref4","itemPaddingTight","itemPadding","Wrapper","StyledCheckboxWrapper"],"mappings":";;;;;;;;;;;;;AAUA,IAAMA,oBAAoB,gBAAGC,kBAAW,CAACC,yBAAc,CAAC,CAAA;AACxD,IAAMC,QAAQ,gBAAGC,gBAAS,CAACJ,oBAAoB,CAAC,CAAA;AAEhD,IAAMK,gBAAgB,gBAAGJ,kBAAW,CAACK,iBAAU,CAAC,CAAA;AAChD,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AAA,EAAA,KAAA;AAAA,CAAO;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Item.styles.js","sources":["../../../../../../../../src/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { classes, tokens, constants } from '../../../../Combobox.tokens';\nimport { addFocus, applyEllipsis } from '../../../../../../../mixins';\nimport { component, mergeConfig } from '../../../../../../../engines';\nimport { checkboxConfig, checkboxTokens } from '../../../../../../Checkbox';\nimport { indicatorConfig, indicatorTokens } from '../../../../../../Indicator';\nimport { cellConfig, cellTokens } from '../../../../../../Cell';\nimport type { ComboboxProps } from '../../../../Combobox.types';\n\nconst mergedCheckboxConfig = mergeConfig(checkboxConfig);\nconst Checkbox = component(mergedCheckboxConfig);\n\nconst mergedCellConfig = mergeConfig(cellConfig);\nconst Cell = component(mergedCellConfig);\n\nexport const StyledWrapper = styled.div`\n ${cellTokens.cellTitleColor}: var(${constants.cellTitleColor});\n ${cellTokens.cellBackgroundColor}: var(${constants.cellBackgroundColor});\n ${cellTokens.cellPadding}: var(${tokens.cellPadding});\n ${cellTokens.cellPaddingLeftContent}: var(${tokens.cellPaddingLeftContent});\n ${cellTokens.cellPaddingContent}: var(${tokens.cellPaddingContent});\n ${cellTokens.cellPaddingRightContent}: var(${tokens.cellPaddingRightContent});\n ${cellTokens.cellTextboxGap}: var(${tokens.cellTextboxGap});\n ${cellTokens.cellGap}: var(${tokens.cellGap});\n ${cellTokens.cellTitleFontFamily}: var(${tokens.cellTitleFontFamily});\n ${cellTokens.cellTitleFontSize}: var(${tokens.cellTitleFontSize});\n ${cellTokens.cellTitleFontStyle}: var(${tokens.cellTitleFontStyle});\n ${cellTokens.cellTitleFontWeight}: var(${tokens.cellTitleFontWeight});\n ${cellTokens.cellTitleLetterSpacing}: var(${tokens.cellTitleLetterSpacing});\n ${cellTokens.cellTitleLineHeight}: var(${tokens.cellTitleLineHeight});\n width: 100%;\n`;\n\nexport const StyledCell = styled(Cell)``;\n\nexport const StyledCheckbox = styled(Checkbox)`\n ${checkboxTokens.triggerSize}: var(${tokens.checkboxTriggerSize});\n ${checkboxTokens.triggerBorderRadius}: var(${tokens.checkboxTriggerBorderRadius});\n ${checkboxTokens.fillColor}: var(${tokens.checkboxFillColor});\n ${checkboxTokens.iconColor}: var(${tokens.checkboxIconColor});\n ${checkboxTokens.triggerBorderColor}: var(${tokens.checkboxTriggerBorderColor});\n`;\n\nconst mergedIndicatorConfig = mergeConfig(indicatorConfig);\nconst Indicator = component(mergedIndicatorConfig);\n\nexport const StyledIndicator = styled(Indicator)`\n ${indicatorTokens.size}: var(${tokens.indicatorSize});\n ${indicatorTokens.color}: var(${tokens.checkboxFillColor});\n`;\n\nexport const StyledContentLeft = styled.div`\n display: inline-flex;\n`;\n\nexport const StyledContentRight = styled.div`\n margin-left: auto;\n display: inline-flex;\n`;\n\nexport const DisclosureIconWrapper = styled.div`\n line-height: 0;\n color: var(${constants.disclosureIconColor});\n\n &:hover {\n color: var(${constants.disclosureIconColorHover});\n }\n`;\n\nexport const IconWrapper = styled.div<{ variant: ComboboxProps['variant'] }>`\n display: flex;\n align-items: center;\n justify-content: center;\n width: ${({ variant }) => `var(${variant === 'tight' ? tokens.itemIconSizeTight : tokens.itemIconSize})`};\n height: ${({ variant }) => `var(${variant === 'tight' ? tokens.itemIconSizeTight : tokens.itemIconSize})`};\n margin: var(${tokens.itemIconMargin});\n line-height: 0;\n color: var(${tokens.checkboxFillColor});\n\n & .${classes.selectItemCheckbox} {\n --plasma-checkbox-trigger-size: ${({ variant }) =>\n `var(${variant === 'tight' ? tokens.checkboxTriggerSizeTight : tokens.checkboxTriggerSize})`};\n --plasma-checkbox-trigger-border-radius: ${({ variant }) =>\n `var(${\n variant === 'tight' ? tokens.checkboxTriggerBorderRadiusTight : tokens.checkboxTriggerBorderRadius\n })`};\n }\n`;\n\nexport const StyledText = styled.div`\n ${applyEllipsis()};\n flex: 1;\n`;\n\nexport const Wrapper = styled.li<{ variant: ComboboxProps['variant'] }>`\n display: flex;\n align-items: center;\n min-height: var(${tokens.itemHeight});\n margin: 0;\n box-sizing: content-box;\n padding: ${({ variant }) => `var(${variant === 'tight' ? tokens.itemPaddingTight : tokens.itemPadding})`};\n font-family: var(${tokens.fontFamily});\n font-size: var(${tokens.fontSize});\n font-style: var(${tokens.fontStyle});\n font-weight: var(${tokens.fontWeight});\n letter-spacing: var(${tokens.fontLetterSpacing});\n line-height: var(${tokens.fontLineHeight});\n background-color: var(${constants.itemBackground});\n color: var(--text-primary);\n border-radius: var(${tokens.borderRadius});\n user-select: none;\n border-right: 2px solid transparent;\n border-left: 2px solid transparent;\n background-clip: padding-box;\n\n &:hover:not(.${classes.dropdownItemIsDisabled}) {\n cursor: pointer;\n background-color: var(${constants.itemBackgroundHover});\n }\n\n &.${classes.dropdownItemIsActive} {\n background-color: var(${constants.itemBackgroundHover});\n }\n\n &.${classes.dropdownItemIsDisabled} {\n opacity: ${constants.opacity};\n cursor: not-allowed;\n }\n\n :focus {\n outline: none;\n }\n\n ${addFocus({\n outlineSize: '0.0625rem',\n outlineOffset: '0',\n outlineColor: `var(${constants.focusColor})`,\n outlineRadius: `var(${tokens.itemBorderRadius})`,\n hasTransition: false,\n customFocusRules: `\n &.${classes.dropdownItemIsFocused}:before {\n outline: none;\n box-shadow: 0 0 0 0.0625rem var(${constants.focusColor});\n }\n `,\n })};\n`;\n\nexport const StyledCheckboxWrapper = styled.span``;\n"],"names":["mergedCheckboxConfig","mergeConfig","checkboxConfig","Checkbox","component","mergedCellConfig","cellConfig","Cell","StyledWrapper","styled","name","class","propsAsIs","_exp29","StyledCell","_exp30","StyledCheckbox","mergedIndicatorConfig","indicatorConfig","Indicator","_exp41","StyledIndicator","DisclosureIconWrapper","_exp49","_ref","variant","tokens","itemIconSizeTight","itemIconSize","_exp53","_ref2","checkboxTriggerSizeTight","checkboxTriggerSize","_exp54","_ref3","checkboxTriggerBorderRadiusTight","checkboxTriggerBorderRadius","IconWrapper","v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AAAA,SAAA,EAAA,KAAA;AAAA0B,EAAAA,IAAA,EAAA;AAAA,IAAA,WAAA,EAAA,cAMdE,MAA6F,EAAA,CAAA;AAAA,GAAA;AAAA,CA8C3G,EAAA;AAEM,IAAMK,qBAAqB,gBAAGpC,YAAM,CAAA,MAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,uBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAO;;;;;;;;;;;;"}
@@ -4,9 +4,8 @@ import './Target.styles_ei26tn.css';
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  var react = require('@linaria/react');
7
- var TextField$1 = require('../../../../TextField/TextField.js');
8
- require('@linaria/core');
9
7
  var common = require('../../../../../engines/common.js');
8
+ var TextField$1 = require('../../../../TextField/TextField.js');
10
9
 
11
10
  var mergedConfig = /*#__PURE__*/common.mergeConfig(TextField$1.textFieldConfig);
12
11
  var TextField = /*#__PURE__*/common.component(mergedConfig);
@@ -1 +1 @@
1
- {"version":3,"file":"Target.styles.js","sources":["../../../../../../src/components/Combobox/ComboboxNew/ui/Target/Target.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { textFieldConfig, textFieldTokens } from '../../../../TextField';\nimport { component, mergeConfig } from '../../../../../engines';\nimport { tokens as comboboxTokens } from '../../Combobox.tokens';\n\nconst mergedConfig = mergeConfig(textFieldConfig);\nconst TextField = component(mergedConfig);\n\nexport const StyledTextField = styled(TextField)`\n ${textFieldTokens.color}: var(${comboboxTokens.textFieldColor});\n ${textFieldTokens.placeholderColorFocus}: var(${comboboxTokens.textFieldPlaceholderColorFocus});\n ${textFieldTokens.backgroundColor}: var(${comboboxTokens.textFieldBackgroundColor});\n ${textFieldTokens.backgroundColorHover}: var(${comboboxTokens.textFieldBackgroundColorHover});\n ${textFieldTokens.backgroundColorFocus}: var(${comboboxTokens.textFieldBackgroundColorFocus});\n ${textFieldTokens.borderColor}: var(${comboboxTokens.textFieldBorderColor});\n ${textFieldTokens.borderColorHover}: var(${comboboxTokens.textFieldBorderColorHover});\n ${textFieldTokens.borderColorFocus}: var(${comboboxTokens.textFieldBorderColorFocus});\n ${textFieldTokens.colorReadOnly}: var(${comboboxTokens.textFieldColorReadOnly});\n ${textFieldTokens.backgroundColorReadOnly}: var(${comboboxTokens.textFieldBackgroundColorReadOnly});\n ${textFieldTokens.borderColorReadOnly}: var(${comboboxTokens.textFieldBorderColorReadOnly});\n ${textFieldTokens.placeholderColorReadOnly}: var(${comboboxTokens.textFieldPlaceholderColorReadOnly});\n ${textFieldTokens.caretColor}: var(${comboboxTokens.textFieldCaretColor});\n ${textFieldTokens.placeholderColor}: var(${comboboxTokens.textFieldPlaceholderColor});\n ${textFieldTokens.height}: var(${comboboxTokens.textFieldHeight});\n ${textFieldTokens.borderWidth}: var(${comboboxTokens.textFieldBorderWidth});\n ${textFieldTokens.borderRadius}: var(${comboboxTokens.textFieldBorderRadius});\n ${textFieldTokens.padding}: var(${comboboxTokens.textFieldPadding});\n ${textFieldTokens.leftContentMargin}: var(${comboboxTokens.textFieldLeftContentMargin});\n ${textFieldTokens.rightContentMargin}: var(${comboboxTokens.textFieldRightContentMargin});\n ${textFieldTokens.fontFamily}: var(${comboboxTokens.textFieldFontFamily});\n ${textFieldTokens.fontStyle}: var(${comboboxTokens.textFieldFontStyle});\n ${textFieldTokens.fontSize}: var(${comboboxTokens.textFieldFontSize});\n ${textFieldTokens.fontWeight}: var(${comboboxTokens.textFieldFontWeight});\n ${textFieldTokens.letterSpacing}: var(${comboboxTokens.textFieldLetterSpacing});\n ${textFieldTokens.lineHeight}: var(${comboboxTokens.textFieldLineHeight});\n ${textFieldTokens.labelColor}: var(${comboboxTokens.textFieldLabelColor});\n ${textFieldTokens.labelColorReadOnly}: var(${comboboxTokens.textFieldLabelColorReadOnly});\n ${textFieldTokens.labelOffset}: var(${comboboxTokens.textFieldLabelOffset});\n ${textFieldTokens.labelFontFamily}: var(${comboboxTokens.textFieldLabelFontFamily});\n ${textFieldTokens.labelFontStyle}: var(${comboboxTokens.textFieldLabelFontStyle});\n ${textFieldTokens.labelFontSize}: var(${comboboxTokens.textFieldLabelFontSize});\n ${textFieldTokens.labelFontWeight}: var(${comboboxTokens.textFieldLabelFontWeight});\n ${textFieldTokens.labelLetterSpacing}: var(${comboboxTokens.textFieldLabelLetterSpacing});\n ${textFieldTokens.labelLineHeight}: var(${comboboxTokens.textFieldLabelLineHeight});\n ${textFieldTokens.labelInnerFontFamily}: var(${comboboxTokens.textFieldLabelInnerFontFamily});\n ${textFieldTokens.labelInnerFontStyle}: var(${comboboxTokens.textFieldLabelInnerFontStyle});\n ${textFieldTokens.labelInnerFontSize}: var(${comboboxTokens.textFieldLabelInnerFontSize});\n ${textFieldTokens.labelInnerFontWeight}: var(${comboboxTokens.textFieldLabelInnerFontWeight});\n ${textFieldTokens.labelInnerLetterSpacing}: var(${comboboxTokens.textFieldLabelInnerLetterSpacing});\n ${textFieldTokens.labelInnerLineHeight}: var(${comboboxTokens.textFieldLabelInnerLineHeight});\n ${textFieldTokens.labelInnerPadding}: var(${comboboxTokens.textFieldLabelInnerPadding});\n ${textFieldTokens.contentLabelInnerPadding}: var(${comboboxTokens.textFieldContentLabelInnerPadding});\n ${textFieldTokens.leftHelperColor}: var(${comboboxTokens.textFieldLeftHelperColor});\n ${textFieldTokens.leftHelperColorReadOnly}: var(${comboboxTokens.textFieldLeftHelperColorReadOnly});\n ${textFieldTokens.leftHelperOffset}: var(${comboboxTokens.textFieldLeftHelperOffset});\n ${textFieldTokens.leftHelperFontFamily}: var(${comboboxTokens.textFieldLeftHelperFontFamily});\n ${textFieldTokens.leftHelperFontStyle}: var(${comboboxTokens.textFieldLeftHelperFontStyle});\n ${textFieldTokens.leftHelperFontSize}: var(${comboboxTokens.textFieldLeftHelperFontSize});\n ${textFieldTokens.leftHelperFontWeight}: var(${comboboxTokens.textFieldLeftHelperFontWeight});\n ${textFieldTokens.leftHelperLetterSpacing}: var(${comboboxTokens.textFieldLeftHelperLetterSpacing});\n ${textFieldTokens.leftHelperLineHeight}: var(${comboboxTokens.textFieldLeftHelperLineHeight});\n ${textFieldTokens.textBeforeColor}: var(${comboboxTokens.textFieldTextBeforeColor});\n ${textFieldTokens.textAfterColor}: var(${comboboxTokens.textFieldTextAfterColor});\n ${textFieldTokens.textBeforeMargin}: var(${comboboxTokens.textFieldTextBeforeMargin});\n ${textFieldTokens.textAfterMargin}: var(${comboboxTokens.textFieldTextAfterMargin});\n ${textFieldTokens.disabledOpacity}: var(${comboboxTokens.textFieldDisabledOpacity});\n ${textFieldTokens.focusColor}: var(${comboboxTokens.textFieldFocusColor});\n\n ${textFieldTokens.chipCloseIconColor}: var(${comboboxTokens.textFieldChipCloseIconColor});\n ${textFieldTokens.chipColor}: var(${comboboxTokens.textFieldChipColor});\n ${textFieldTokens.chipBackground}: var(${comboboxTokens.textFieldChipBackground});\n ${textFieldTokens.chipColorHover}: var(${comboboxTokens.textFieldChipColorHover});\n ${textFieldTokens.chipBackgroundHover}: var(${comboboxTokens.textFieldChipBackgroundHover});\n ${textFieldTokens.chipColorActive}: var(${comboboxTokens.textFieldChipColorActive});\n ${textFieldTokens.chipBackgroundActive}: var(${comboboxTokens.textFieldChipBackgroundActive});\n ${textFieldTokens.chipBackgroundReadOnly}: var(${comboboxTokens.textFieldChipBackgroundReadOnly});\n ${textFieldTokens.chipColorReadOnly}: var(${comboboxTokens.textFieldChipColorReadOnly});\n ${textFieldTokens.chipBackgroundReadOnlyHover}: var(${comboboxTokens.textFieldChipBackgroundReadOnlyHover});\n ${textFieldTokens.chipColorReadOnlyHover}: var(${comboboxTokens.textFieldChipColorReadOnlyHover});\n ${textFieldTokens.chipOpacityReadonly}: var(${comboboxTokens.textFieldChipOpacityReadonly});\n ${textFieldTokens.chipGap}: var(${comboboxTokens.textFieldChipGap});\n ${textFieldTokens.chipBorderRadius}: var(${comboboxTokens.textFieldChipBorderRadius});\n ${textFieldTokens.chipWidth}: var(${comboboxTokens.textFieldChipWidth});\n ${textFieldTokens.chipHeight}: var(${comboboxTokens.textFieldChipHeight});\n ${textFieldTokens.chipPaddingRight}: var(${comboboxTokens.textFieldChipPaddingRight});\n ${textFieldTokens.chipPaddingLeft}: var(${comboboxTokens.textFieldChipPaddingLeft});\n ${textFieldTokens.chipClearContentMarginLeft}: var(${comboboxTokens.textFieldChipClearContentMarginLeft});\n ${textFieldTokens.chipClearContentMarginRight}: var(${comboboxTokens.textFieldChipClearContentMarginRight});\n ${textFieldTokens.chipCloseIconSize}: var(${comboboxTokens.textFieldChipCloseIconSize});\n ${textFieldTokens.chipFontFamily}: var(${comboboxTokens.textFieldChipFontFamily});\n ${textFieldTokens.chipFontSize}: var(${comboboxTokens.textFieldChipFontSize});\n ${textFieldTokens.chipFontStyle}: var(${comboboxTokens.textFieldChipFontStyle});\n ${textFieldTokens.chipFontWeight}: var(${comboboxTokens.textFieldChipFontWeight});\n ${textFieldTokens.chipLetterSpacing}: var(${comboboxTokens.textFieldChipLetterSpacing});\n ${textFieldTokens.chipLineHeight}: var(${comboboxTokens.textFieldChipLineHeight});\n ${textFieldTokens.paddingWithChips}: var(${comboboxTokens.textFieldPaddingWithChips});\n`;\n"],"names":["mergedConfig","mergeConfig","textFieldConfig","TextField","component","_exp","StyledTextField","styled","name","class","propsAsIs"],"mappings":";;;;;;;;;AAMA,IAAMA,YAAY,gBAAGC,kBAAW,CAACC,2BAAe,CAAC,CAAA;AACjD,IAAMC,SAAS,gBAAGC,gBAAS,CAACJ,YAAY,CAAC,CAAA;AAAC,IAAAK,IAAA,GANxBA,SAMwBA,IAAAA,GAAA;AAAA,EAAA,OAEJF,SAAS,CAAA;AAAA,CAAA,CAAA;AAAxC,IAAMG,eAAe,gBAAGC,YAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,iBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAwFpC;;;;"}
1
+ {"version":3,"file":"Target.styles.js","sources":["../../../../../../src/components/Combobox/ComboboxNew/ui/Target/Target.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { textFieldConfig, textFieldTokens } from '../../../../TextField';\nimport { component, mergeConfig } from '../../../../../engines';\nimport { tokens as comboboxTokens } from '../../Combobox.tokens';\n\nconst mergedConfig = mergeConfig(textFieldConfig);\nconst TextField = component(mergedConfig);\n\nexport const StyledTextField = styled(TextField)`\n ${textFieldTokens.color}: var(${comboboxTokens.textFieldColor});\n ${textFieldTokens.placeholderColorFocus}: var(${comboboxTokens.textFieldPlaceholderColorFocus});\n ${textFieldTokens.backgroundColor}: var(${comboboxTokens.textFieldBackgroundColor});\n ${textFieldTokens.backgroundColorHover}: var(${comboboxTokens.textFieldBackgroundColorHover});\n ${textFieldTokens.backgroundColorFocus}: var(${comboboxTokens.textFieldBackgroundColorFocus});\n ${textFieldTokens.borderColor}: var(${comboboxTokens.textFieldBorderColor});\n ${textFieldTokens.borderColorHover}: var(${comboboxTokens.textFieldBorderColorHover});\n ${textFieldTokens.borderColorFocus}: var(${comboboxTokens.textFieldBorderColorFocus});\n ${textFieldTokens.colorReadOnly}: var(${comboboxTokens.textFieldColorReadOnly});\n ${textFieldTokens.backgroundColorReadOnly}: var(${comboboxTokens.textFieldBackgroundColorReadOnly});\n ${textFieldTokens.borderColorReadOnly}: var(${comboboxTokens.textFieldBorderColorReadOnly});\n ${textFieldTokens.placeholderColorReadOnly}: var(${comboboxTokens.textFieldPlaceholderColorReadOnly});\n ${textFieldTokens.caretColor}: var(${comboboxTokens.textFieldCaretColor});\n ${textFieldTokens.placeholderColor}: var(${comboboxTokens.textFieldPlaceholderColor});\n ${textFieldTokens.height}: var(${comboboxTokens.textFieldHeight});\n ${textFieldTokens.borderWidth}: var(${comboboxTokens.textFieldBorderWidth});\n ${textFieldTokens.borderRadius}: var(${comboboxTokens.textFieldBorderRadius});\n ${textFieldTokens.padding}: var(${comboboxTokens.textFieldPadding});\n ${textFieldTokens.leftContentMargin}: var(${comboboxTokens.textFieldLeftContentMargin});\n ${textFieldTokens.rightContentMargin}: var(${comboboxTokens.textFieldRightContentMargin});\n ${textFieldTokens.fontFamily}: var(${comboboxTokens.textFieldFontFamily});\n ${textFieldTokens.fontStyle}: var(${comboboxTokens.textFieldFontStyle});\n ${textFieldTokens.fontSize}: var(${comboboxTokens.textFieldFontSize});\n ${textFieldTokens.fontWeight}: var(${comboboxTokens.textFieldFontWeight});\n ${textFieldTokens.letterSpacing}: var(${comboboxTokens.textFieldLetterSpacing});\n ${textFieldTokens.lineHeight}: var(${comboboxTokens.textFieldLineHeight});\n ${textFieldTokens.labelColor}: var(${comboboxTokens.textFieldLabelColor});\n ${textFieldTokens.labelColorReadOnly}: var(${comboboxTokens.textFieldLabelColorReadOnly});\n ${textFieldTokens.labelOffset}: var(${comboboxTokens.textFieldLabelOffset});\n ${textFieldTokens.labelFontFamily}: var(${comboboxTokens.textFieldLabelFontFamily});\n ${textFieldTokens.labelFontStyle}: var(${comboboxTokens.textFieldLabelFontStyle});\n ${textFieldTokens.labelFontSize}: var(${comboboxTokens.textFieldLabelFontSize});\n ${textFieldTokens.labelFontWeight}: var(${comboboxTokens.textFieldLabelFontWeight});\n ${textFieldTokens.labelLetterSpacing}: var(${comboboxTokens.textFieldLabelLetterSpacing});\n ${textFieldTokens.labelLineHeight}: var(${comboboxTokens.textFieldLabelLineHeight});\n ${textFieldTokens.labelInnerFontFamily}: var(${comboboxTokens.textFieldLabelInnerFontFamily});\n ${textFieldTokens.labelInnerFontStyle}: var(${comboboxTokens.textFieldLabelInnerFontStyle});\n ${textFieldTokens.labelInnerFontSize}: var(${comboboxTokens.textFieldLabelInnerFontSize});\n ${textFieldTokens.labelInnerFontWeight}: var(${comboboxTokens.textFieldLabelInnerFontWeight});\n ${textFieldTokens.labelInnerLetterSpacing}: var(${comboboxTokens.textFieldLabelInnerLetterSpacing});\n ${textFieldTokens.labelInnerLineHeight}: var(${comboboxTokens.textFieldLabelInnerLineHeight});\n ${textFieldTokens.labelInnerPadding}: var(${comboboxTokens.textFieldLabelInnerPadding});\n ${textFieldTokens.contentLabelInnerPadding}: var(${comboboxTokens.textFieldContentLabelInnerPadding});\n ${textFieldTokens.leftHelperColor}: var(${comboboxTokens.textFieldLeftHelperColor});\n ${textFieldTokens.leftHelperColorReadOnly}: var(${comboboxTokens.textFieldLeftHelperColorReadOnly});\n ${textFieldTokens.leftHelperOffset}: var(${comboboxTokens.textFieldLeftHelperOffset});\n ${textFieldTokens.leftHelperFontFamily}: var(${comboboxTokens.textFieldLeftHelperFontFamily});\n ${textFieldTokens.leftHelperFontStyle}: var(${comboboxTokens.textFieldLeftHelperFontStyle});\n ${textFieldTokens.leftHelperFontSize}: var(${comboboxTokens.textFieldLeftHelperFontSize});\n ${textFieldTokens.leftHelperFontWeight}: var(${comboboxTokens.textFieldLeftHelperFontWeight});\n ${textFieldTokens.leftHelperLetterSpacing}: var(${comboboxTokens.textFieldLeftHelperLetterSpacing});\n ${textFieldTokens.leftHelperLineHeight}: var(${comboboxTokens.textFieldLeftHelperLineHeight});\n ${textFieldTokens.textBeforeColor}: var(${comboboxTokens.textFieldTextBeforeColor});\n ${textFieldTokens.textAfterColor}: var(${comboboxTokens.textFieldTextAfterColor});\n ${textFieldTokens.textBeforeMargin}: var(${comboboxTokens.textFieldTextBeforeMargin});\n ${textFieldTokens.textAfterMargin}: var(${comboboxTokens.textFieldTextAfterMargin});\n ${textFieldTokens.disabledOpacity}: var(${comboboxTokens.textFieldDisabledOpacity});\n ${textFieldTokens.focusColor}: var(${comboboxTokens.textFieldFocusColor});\n\n ${textFieldTokens.chipCloseIconColor}: var(${comboboxTokens.textFieldChipCloseIconColor});\n ${textFieldTokens.chipColor}: var(${comboboxTokens.textFieldChipColor});\n ${textFieldTokens.chipBackground}: var(${comboboxTokens.textFieldChipBackground});\n ${textFieldTokens.chipColorHover}: var(${comboboxTokens.textFieldChipColorHover});\n ${textFieldTokens.chipBackgroundHover}: var(${comboboxTokens.textFieldChipBackgroundHover});\n ${textFieldTokens.chipColorActive}: var(${comboboxTokens.textFieldChipColorActive});\n ${textFieldTokens.chipBackgroundActive}: var(${comboboxTokens.textFieldChipBackgroundActive});\n ${textFieldTokens.chipBackgroundReadOnly}: var(${comboboxTokens.textFieldChipBackgroundReadOnly});\n ${textFieldTokens.chipColorReadOnly}: var(${comboboxTokens.textFieldChipColorReadOnly});\n ${textFieldTokens.chipBackgroundReadOnlyHover}: var(${comboboxTokens.textFieldChipBackgroundReadOnlyHover});\n ${textFieldTokens.chipColorReadOnlyHover}: var(${comboboxTokens.textFieldChipColorReadOnlyHover});\n ${textFieldTokens.chipOpacityReadonly}: var(${comboboxTokens.textFieldChipOpacityReadonly});\n ${textFieldTokens.chipGap}: var(${comboboxTokens.textFieldChipGap});\n ${textFieldTokens.chipBorderRadius}: var(${comboboxTokens.textFieldChipBorderRadius});\n ${textFieldTokens.chipWidth}: var(${comboboxTokens.textFieldChipWidth});\n ${textFieldTokens.chipHeight}: var(${comboboxTokens.textFieldChipHeight});\n ${textFieldTokens.chipPaddingRight}: var(${comboboxTokens.textFieldChipPaddingRight});\n ${textFieldTokens.chipPaddingLeft}: var(${comboboxTokens.textFieldChipPaddingLeft});\n ${textFieldTokens.chipClearContentMarginLeft}: var(${comboboxTokens.textFieldChipClearContentMarginLeft});\n ${textFieldTokens.chipClearContentMarginRight}: var(${comboboxTokens.textFieldChipClearContentMarginRight});\n ${textFieldTokens.chipCloseIconSize}: var(${comboboxTokens.textFieldChipCloseIconSize});\n ${textFieldTokens.chipFontFamily}: var(${comboboxTokens.textFieldChipFontFamily});\n ${textFieldTokens.chipFontSize}: var(${comboboxTokens.textFieldChipFontSize});\n ${textFieldTokens.chipFontStyle}: var(${comboboxTokens.textFieldChipFontStyle});\n ${textFieldTokens.chipFontWeight}: var(${comboboxTokens.textFieldChipFontWeight});\n ${textFieldTokens.chipLetterSpacing}: var(${comboboxTokens.textFieldChipLetterSpacing});\n ${textFieldTokens.chipLineHeight}: var(${comboboxTokens.textFieldChipLineHeight});\n ${textFieldTokens.paddingWithChips}: var(${comboboxTokens.textFieldPaddingWithChips});\n`;\n"],"names":["mergedConfig","mergeConfig","textFieldConfig","TextField","component","_exp","StyledTextField","styled","name","class","propsAsIs"],"mappings":";;;;;;;;AAMA,IAAMA,YAAY,gBAAGC,kBAAW,CAACC,2BAAe,CAAC,CAAA;AACjD,IAAMC,SAAS,gBAAGC,gBAAS,CAACJ,YAAY,CAAC,CAAA;AAAC,IAAAK,IAAA,GANxBA,SAMwBA,IAAAA,GAAA;AAAA,EAAA,OAEJF,SAAS,CAAA;AAAA,CAAA,CAAA;AAAxC,IAAMG,eAAe,gBAAGC,YAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,iBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAwFpC;;;;"}
@@ -6,20 +6,14 @@ var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHel
6
6
  var React = require('react');
7
7
  var plasmaCore = require('@salutejs/plasma-core');
8
8
  var index$1 = require('../../../utils/index.js');
9
- var useForceUpdate = require('../../../hooks/useForceUpdate.js');
10
- var useDidMountEffect = require('../../../hooks/useDidMountEffect.js');
11
9
  var index = require('./utils/index.js');
12
- var useKeyNavigation = require('./hooks/useKeyNavigation.js');
13
10
  var base = require('./variations/_view/base.js');
14
11
  var base$1 = require('./variations/_size/base.js');
15
- require('@linaria/react');
16
- require('@linaria/core');
17
- require('focus-visible');
18
- require('react-popper');
19
- require('react-dom');
20
- require('styled-components');
21
- var ComboboxTarget = require('./ui/ComboboxTarget/ComboboxTarget.js');
22
12
  var Combobox_styles = require('./Combobox.styles.js');
13
+ var useForceUpdate = require('../../../hooks/useForceUpdate.js');
14
+ var useDidMountEffect = require('../../../hooks/useDidMountEffect.js');
15
+ var useKeyNavigation = require('./hooks/useKeyNavigation.js');
16
+ var ComboboxTarget = require('./ui/ComboboxTarget/ComboboxTarget.js');
23
17
  var getPopoverPlacement = require('../../../utils/getPopoverPlacement.js');
24
18
 
25
19
  var _excluded = ["name", "form", "readOnly", "disabled", "label", "placeholder", "id", "children", "role", "view", "size", "frame", "usePortal", "negativeResultContent", "enumerationType", "opened", "alwaysOpened", "placement", "onToggle", "onKeyDown", "filterFunction"];
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.js","sources":["../../../../src/components/Combobox/ComboboxOld/Combobox.tsx"],"sourcesContent":["import React, { Children, forwardRef, useEffect, useRef, useState } from 'react';\nimport { safeUseId, useForkRef } from '@salutejs/plasma-core';\n\nimport { RootProps } from '../../../engines';\nimport { cx, getPlacements } from '../../../utils';\nimport { useDidMountEffect, useForceUpdate } from '../../../hooks';\n\nimport { getChildren, getNewSelected, getValues } from './utils';\nimport { useKeyNavigation } from './hooks';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { ComboboxTarget } from './ui';\nimport { ComboboxItemNotFound, StyledPopover, StyledRoot, StyledCombobox, StyledNativeSelect } from './Combobox.styles';\nimport type { ComboboxPrimitiveValue, ComboboxProps } from './Combobox.types';\n\n/**\n * Выпадающий список без внешнего контроля видимости.\n */\nexport const comboboxRoot = (Root: RootProps<HTMLInputElement, ComboboxProps>) =>\n forwardRef<HTMLInputElement, ComboboxProps>(\n (\n {\n name,\n form,\n readOnly,\n disabled,\n label,\n placeholder,\n id,\n children,\n role,\n view,\n size,\n frame,\n usePortal,\n negativeResultContent = 'Элементы не найдены',\n enumerationType = 'comma',\n opened = false,\n alwaysOpened = false,\n placement = 'bottom',\n onToggle,\n onKeyDown,\n filterFunction,\n ...rest\n },\n outerRootRef,\n ) => {\n const forceUpdate = useForceUpdate();\n const uniqId = safeUseId();\n const innerId = id || uniqId;\n const { valueType = 'single', value } = rest;\n const offset = [0, 4] as [number, number];\n\n const [ref, setRef] = useState<HTMLInputElement | null>(null);\n\n const targetRef = useRef<HTMLInputElement>(null);\n const chipsRefs = useRef<Array<HTMLButtonElement>>([]);\n const comboboxRef = useRef<HTMLDivElement>(null);\n const itemsRefs = useRef<Array<HTMLDivElement>>([]);\n const inputRef = useRef<HTMLInputElement>(null);\n const handleRef = useForkRef<HTMLInputElement>(targetRef, outerRootRef);\n const controlledRefs = { targetRef, chipsRefs, selectRef: comboboxRef, itemsRefs, inputRef };\n\n const [isVisible, setIsVisible] = useState(alwaysOpened || opened);\n const [search, setSearch] = useState<string | undefined>('');\n const [filterValue, setFilterValue] = useState(search);\n\n // INFO: нужно высчитывать для корректной работы портала\n const dynamicTargetWidth = targetRef.current?.offsetWidth;\n\n // INFO: Из-за того, что классы передаются через ref,\n // состояние пропсов после изменения view, size\n // всегда предыдущее, поэтому нужно делать форс-ререндер\n useDidMountEffect(() => {\n forceUpdate();\n }, [view, size]);\n\n useEffect(() => {\n if (disabled || readOnly) {\n return;\n }\n\n setIsVisible(alwaysOpened || opened);\n }, [opened, alwaysOpened, disabled, readOnly]);\n\n useEffect(() => {\n // INFO: Для кейсов, когда значение выбрано и нужно вывести весь список\n if (alwaysOpened || opened) {\n setFilterValue('');\n }\n }, []);\n\n const onInnerToggle = (openValue: boolean, event: React.SyntheticEvent | Event) => {\n if (disabled || readOnly) {\n return;\n }\n\n // INFO: Для кейсов, когда значение выбрано и нужно вывести весь список\n if (!isVisible) {\n setFilterValue('');\n }\n\n if (onToggle) {\n onToggle(alwaysOpened || openValue, event);\n\n return;\n }\n\n setIsVisible(alwaysOpened || openValue);\n };\n\n const closedWithoutChanges = useRef(true);\n\n const updateValue = (item: HTMLElement, event: React.SyntheticEvent | Event) => {\n const {\n dataset: { value: newValue },\n } = item;\n\n if (rest.valueType === 'multiple') {\n const newSelected = getNewSelected(rest.value, newValue, rest.valueType);\n rest.onChangeValue?.(newSelected);\n\n return;\n }\n\n const newSelected = getNewSelected(rest.value, newValue, 'single');\n\n rest.onChangeValue?.(newSelected);\n\n onInnerToggle?.(alwaysOpened || false, event);\n\n closedWithoutChanges.current = false;\n };\n\n const onClickChildrenItem = (event: React.MouseEvent<HTMLDivElement>) => {\n // INFO: Для корректной работы компонента Popper\n event.stopPropagation();\n\n const item = event.currentTarget as HTMLElement;\n\n updateValue(item, event);\n };\n\n const onChangeChipValue = (newValue?: Array<ComboboxPrimitiveValue>) => {\n if (rest.valueType !== 'multiple') {\n return;\n }\n\n rest.onChangeValue?.(newValue);\n };\n\n const { onKeyDownTarget, onKeyDownSelect } = useKeyNavigation({\n controlledRefs,\n opened: isVisible,\n enumerationType,\n valueType,\n componentType: 'combobox',\n value,\n search: filterValue,\n updateOpened: onInnerToggle,\n updateValue,\n });\n\n const childrenArray = Children.toArray(children) as React.ReactElement[];\n\n const childrenMemo = getChildren(\n childrenArray,\n { onClick: onClickChildrenItem, childrenRefs: itemsRefs },\n value,\n filterValue,\n filterFunction,\n ).filter(Boolean);\n\n const values = getValues(childrenArray, value);\n\n const onSearch = (newSearch?: string, newOpened?: boolean) => {\n setSearch(newSearch);\n setFilterValue(newSearch);\n setIsVisible(newOpened ?? true);\n };\n\n const onKeyDownHandle = (event: React.KeyboardEvent<HTMLInputElement>) => {\n onKeyDown?.(event);\n onKeyDownTarget(event);\n };\n\n useEffect(() => {\n if (alwaysOpened && rest.valueType === 'single') {\n setSearch(String(value));\n }\n }, [value, alwaysOpened]);\n\n return (\n <StyledRoot ref={comboboxRef}>\n <StyledNativeSelect\n aria-invalid=\"false\"\n aria-hidden=\"true\"\n aria-readonly={readOnly}\n tabIndex={-1}\n form={form}\n name={name}\n value={`${value}`}\n disabled={disabled || readOnly}\n />\n <StyledPopover\n role={role}\n opened={isVisible}\n onToggle={onInnerToggle}\n target={\n <ComboboxTarget\n opened={isVisible}\n values={values}\n label={label}\n placeholder={placeholder}\n search={search}\n enumerationType={enumerationType}\n valueType={valueType}\n readOnly={readOnly}\n disabled={disabled}\n size={size}\n closedWithoutChanges={closedWithoutChanges}\n ref={handleRef}\n chipsRefs={chipsRefs}\n inputRef={inputRef}\n id={innerId}\n onChange={onChangeChipValue}\n onSearch={onSearch}\n onKeyDown={onKeyDownHandle}\n {...rest}\n />\n }\n className={cx(ref?.classList.toString())} // INFO: Прокидываем стили для Popover\n id={innerId}\n offset={offset}\n placement={getPlacements(placement)}\n usePortal={usePortal}\n selectWidth={dynamicTargetWidth}\n frame={frame}\n trigger=\"click\"\n isFocusTrapped={false}\n preventOverflow={false}\n closeOnEsc={false}\n closeOnOverlayClick\n >\n <Root ref={setRef} view={view} size={size}>\n <StyledCombobox onKeyDown={onKeyDownSelect}>\n {childrenMemo.length ? (\n childrenMemo\n ) : (\n <ComboboxItemNotFound>{negativeResultContent}</ComboboxItemNotFound>\n )}\n </StyledCombobox>\n </Root>\n </StyledPopover>\n </StyledRoot>\n );\n },\n );\n\nexport const comboboxConfig = {\n name: 'Combobox',\n tag: 'div',\n layout: comboboxRoot,\n base: '',\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'default',\n size: 'm',\n },\n};\n"],"names":["comboboxRoot","Root","forwardRef","_ref","outerRootRef","_targetRef$current","name","form","readOnly","disabled","label","placeholder","id","children","role","view","size","frame","usePortal","_ref$negativeResultCo","negativeResultContent","_ref$enumerationType","enumerationType","_ref$opened","opened","_ref$alwaysOpened","alwaysOpened","_ref$placement","placement","onToggle","onKeyDown","filterFunction","rest","_objectWithoutProperties","_excluded","forceUpdate","useForceUpdate","uniqId","safeUseId","innerId","_rest$valueType","valueType","value","offset","_useState","useState","_useState2","_slicedToArray","ref","setRef","targetRef","useRef","chipsRefs","comboboxRef","itemsRefs","inputRef","handleRef","useForkRef","controlledRefs","selectRef","_useState3","_useState4","isVisible","setIsVisible","_useState5","_useState6","search","setSearch","_useState7","_useState8","filterValue","setFilterValue","dynamicTargetWidth","current","offsetWidth","useDidMountEffect","useEffect","onInnerToggle","openValue","event","closedWithoutChanges","updateValue","item","_rest$onChangeValue2","newValue","dataset","_rest$onChangeValue","newSelected","getNewSelected","onChangeValue","call","onClickChildrenItem","stopPropagation","currentTarget","onChangeChipValue","_rest$onChangeValue3","_useKeyNavigation","useKeyNavigation","componentType","updateOpened","onKeyDownTarget","onKeyDownSelect","childrenArray","Children","toArray","childrenMemo","getChildren","onClick","childrenRefs","filter","Boolean","values","getValues","onSearch","newSearch","newOpened","onKeyDownHandle","String","React","createElement","StyledRoot","StyledNativeSelect","tabIndex","concat","StyledPopover","target","ComboboxTarget","_extends","onChange","className","cx","classList","toString","getPlacements","selectWidth","trigger","isFocusTrapped","preventOverflow","closeOnEsc","closeOnOverlayClick","StyledCombobox","length","ComboboxItemNotFound","comboboxConfig","tag","layout","base","variations","css","viewCSS","sizeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAeA;AACA;AACA;IACaA,YAAY,GAAG,SAAfA,YAAYA,CAAIC,IAAgD,EAAA;AAAA,EAAA,oBACzEC,gBAAU,CACN,UAAAC,IAAA,EAyBIC,YAAY,EACX;AAAA,IAAA,IAAAC,kBAAA,CAAA;AAAA,IAAA,IAxBGC,IAAI,GAAAH,IAAA,CAAJG,IAAI;MACJC,IAAI,GAAAJ,IAAA,CAAJI,IAAI;MACJC,QAAQ,GAAAL,IAAA,CAARK,QAAQ;MACRC,QAAQ,GAAAN,IAAA,CAARM,QAAQ;MACRC,KAAK,GAAAP,IAAA,CAALO,KAAK;MACLC,WAAW,GAAAR,IAAA,CAAXQ,WAAW;MACXC,EAAE,GAAAT,IAAA,CAAFS,EAAE;MACFC,QAAQ,GAAAV,IAAA,CAARU,QAAQ;MACRC,IAAI,GAAAX,IAAA,CAAJW,IAAI;MACJC,IAAI,GAAAZ,IAAA,CAAJY,IAAI;MACJC,IAAI,GAAAb,IAAA,CAAJa,IAAI;MACJC,KAAK,GAAAd,IAAA,CAALc,KAAK;MACLC,SAAS,GAAAf,IAAA,CAATe,SAAS;MAAAC,qBAAA,GAAAhB,IAAA,CACTiB,qBA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AAEC,SAAAA;KACR;AACDrI,IAAAA,IAAI,EAAE;AACFoI,MAAAA,GAAG,EAAEE,WAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNxI,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;;"}
1
+ {"version":3,"file":"Combobox.js","sources":["../../../../src/components/Combobox/ComboboxOld/Combobox.tsx"],"sourcesContent":["import React, { Children, forwardRef, useEffect, useRef, useState } from 'react';\nimport { safeUseId, useForkRef } from '@salutejs/plasma-core';\n\nimport { RootProps } from '../../../engines';\nimport { cx, getPlacements } from '../../../utils';\nimport { useDidMountEffect, useForceUpdate } from '../../../hooks';\n\nimport { getChildren, getNewSelected, getValues } from './utils';\nimport { useKeyNavigation } from './hooks';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { ComboboxTarget } from './ui';\nimport { ComboboxItemNotFound, StyledPopover, StyledRoot, StyledCombobox, StyledNativeSelect } from './Combobox.styles';\nimport type { ComboboxPrimitiveValue, ComboboxProps } from './Combobox.types';\n\n/**\n * Выпадающий список без внешнего контроля видимости.\n */\nexport const comboboxRoot = (Root: RootProps<HTMLInputElement, ComboboxProps>) =>\n forwardRef<HTMLInputElement, ComboboxProps>(\n (\n {\n name,\n form,\n readOnly,\n disabled,\n label,\n placeholder,\n id,\n children,\n role,\n view,\n size,\n frame,\n usePortal,\n negativeResultContent = 'Элементы не найдены',\n enumerationType = 'comma',\n opened = false,\n alwaysOpened = false,\n placement = 'bottom',\n onToggle,\n onKeyDown,\n filterFunction,\n ...rest\n },\n outerRootRef,\n ) => {\n const forceUpdate = useForceUpdate();\n const uniqId = safeUseId();\n const innerId = id || uniqId;\n const { valueType = 'single', value } = rest;\n const offset = [0, 4] as [number, number];\n\n const [ref, setRef] = useState<HTMLInputElement | null>(null);\n\n const targetRef = useRef<HTMLInputElement>(null);\n const chipsRefs = useRef<Array<HTMLButtonElement>>([]);\n const comboboxRef = useRef<HTMLDivElement>(null);\n const itemsRefs = useRef<Array<HTMLDivElement>>([]);\n const inputRef = useRef<HTMLInputElement>(null);\n const handleRef = useForkRef<HTMLInputElement>(targetRef, outerRootRef);\n const controlledRefs = { targetRef, chipsRefs, selectRef: comboboxRef, itemsRefs, inputRef };\n\n const [isVisible, setIsVisible] = useState(alwaysOpened || opened);\n const [search, setSearch] = useState<string | undefined>('');\n const [filterValue, setFilterValue] = useState(search);\n\n // INFO: нужно высчитывать для корректной работы портала\n const dynamicTargetWidth = targetRef.current?.offsetWidth;\n\n // INFO: Из-за того, что классы передаются через ref,\n // состояние пропсов после изменения view, size\n // всегда предыдущее, поэтому нужно делать форс-ререндер\n useDidMountEffect(() => {\n forceUpdate();\n }, [view, size]);\n\n useEffect(() => {\n if (disabled || readOnly) {\n return;\n }\n\n setIsVisible(alwaysOpened || opened);\n }, [opened, alwaysOpened, disabled, readOnly]);\n\n useEffect(() => {\n // INFO: Для кейсов, когда значение выбрано и нужно вывести весь список\n if (alwaysOpened || opened) {\n setFilterValue('');\n }\n }, []);\n\n const onInnerToggle = (openValue: boolean, event: React.SyntheticEvent | Event) => {\n if (disabled || readOnly) {\n return;\n }\n\n // INFO: Для кейсов, когда значение выбрано и нужно вывести весь список\n if (!isVisible) {\n setFilterValue('');\n }\n\n if (onToggle) {\n onToggle(alwaysOpened || openValue, event);\n\n return;\n }\n\n setIsVisible(alwaysOpened || openValue);\n };\n\n const closedWithoutChanges = useRef(true);\n\n const updateValue = (item: HTMLElement, event: React.SyntheticEvent | Event) => {\n const {\n dataset: { value: newValue },\n } = item;\n\n if (rest.valueType === 'multiple') {\n const newSelected = getNewSelected(rest.value, newValue, rest.valueType);\n rest.onChangeValue?.(newSelected);\n\n return;\n }\n\n const newSelected = getNewSelected(rest.value, newValue, 'single');\n\n rest.onChangeValue?.(newSelected);\n\n onInnerToggle?.(alwaysOpened || false, event);\n\n closedWithoutChanges.current = false;\n };\n\n const onClickChildrenItem = (event: React.MouseEvent<HTMLDivElement>) => {\n // INFO: Для корректной работы компонента Popper\n event.stopPropagation();\n\n const item = event.currentTarget as HTMLElement;\n\n updateValue(item, event);\n };\n\n const onChangeChipValue = (newValue?: Array<ComboboxPrimitiveValue>) => {\n if (rest.valueType !== 'multiple') {\n return;\n }\n\n rest.onChangeValue?.(newValue);\n };\n\n const { onKeyDownTarget, onKeyDownSelect } = useKeyNavigation({\n controlledRefs,\n opened: isVisible,\n enumerationType,\n valueType,\n componentType: 'combobox',\n value,\n search: filterValue,\n updateOpened: onInnerToggle,\n updateValue,\n });\n\n const childrenArray = Children.toArray(children) as React.ReactElement[];\n\n const childrenMemo = getChildren(\n childrenArray,\n { onClick: onClickChildrenItem, childrenRefs: itemsRefs },\n value,\n filterValue,\n filterFunction,\n ).filter(Boolean);\n\n const values = getValues(childrenArray, value);\n\n const onSearch = (newSearch?: string, newOpened?: boolean) => {\n setSearch(newSearch);\n setFilterValue(newSearch);\n setIsVisible(newOpened ?? true);\n };\n\n const onKeyDownHandle = (event: React.KeyboardEvent<HTMLInputElement>) => {\n onKeyDown?.(event);\n onKeyDownTarget(event);\n };\n\n useEffect(() => {\n if (alwaysOpened && rest.valueType === 'single') {\n setSearch(String(value));\n }\n }, [value, alwaysOpened]);\n\n return (\n <StyledRoot ref={comboboxRef}>\n <StyledNativeSelect\n aria-invalid=\"false\"\n aria-hidden=\"true\"\n aria-readonly={readOnly}\n tabIndex={-1}\n form={form}\n name={name}\n value={`${value}`}\n disabled={disabled || readOnly}\n />\n <StyledPopover\n role={role}\n opened={isVisible}\n onToggle={onInnerToggle}\n target={\n <ComboboxTarget\n opened={isVisible}\n values={values}\n label={label}\n placeholder={placeholder}\n search={search}\n enumerationType={enumerationType}\n valueType={valueType}\n readOnly={readOnly}\n disabled={disabled}\n size={size}\n closedWithoutChanges={closedWithoutChanges}\n ref={handleRef}\n chipsRefs={chipsRefs}\n inputRef={inputRef}\n id={innerId}\n onChange={onChangeChipValue}\n onSearch={onSearch}\n onKeyDown={onKeyDownHandle}\n {...rest}\n />\n }\n className={cx(ref?.classList.toString())} // INFO: Прокидываем стили для Popover\n id={innerId}\n offset={offset}\n placement={getPlacements(placement)}\n usePortal={usePortal}\n selectWidth={dynamicTargetWidth}\n frame={frame}\n trigger=\"click\"\n isFocusTrapped={false}\n preventOverflow={false}\n closeOnEsc={false}\n closeOnOverlayClick\n >\n <Root ref={setRef} view={view} size={size}>\n <StyledCombobox onKeyDown={onKeyDownSelect}>\n {childrenMemo.length ? (\n childrenMemo\n ) : (\n <ComboboxItemNotFound>{negativeResultContent}</ComboboxItemNotFound>\n )}\n </StyledCombobox>\n </Root>\n </StyledPopover>\n </StyledRoot>\n );\n },\n );\n\nexport const comboboxConfig = {\n name: 'Combobox',\n tag: 'div',\n layout: comboboxRoot,\n base: '',\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'default',\n size: 'm',\n },\n};\n"],"names":["comboboxRoot","Root","forwardRef","_ref","outerRootRef","_targetRef$current","name","form","readOnly","disabled","label","placeholder","id","children","role","view","size","frame","usePortal","_ref$negativeResultCo","negativeResultContent","_ref$enumerationType","enumerationType","_ref$opened","opened","_ref$alwaysOpened","alwaysOpened","_ref$placement","placement","onToggle","onKeyDown","filterFunction","rest","_objectWithoutProperties","_excluded","forceUpdate","useForceUpdate","uniqId","safeUseId","innerId","_rest$valueType","valueType","value","offset","_useState","useState","_useState2","_slicedToArray","ref","setRef","targetRef","useRef","chipsRefs","comboboxRef","itemsRefs","inputRef","handleRef","useForkRef","controlledRefs","selectRef","_useState3","_useState4","isVisible","setIsVisible","_useState5","_useState6","search","setSearch","_useState7","_useState8","filterValue","setFilterValue","dynamicTargetWidth","current","offsetWidth","useDidMountEffect","useEffect","onInnerToggle","openValue","event","closedWithoutChanges","updateValue","item","_rest$onChangeValue2","newValue","dataset","_rest$onChangeValue","newSelected","getNewSelected","onChangeValue","call","onClickChildrenItem","stopPropagation","currentTarget","onChangeChipValue","_rest$onChangeValue3","_useKeyNavigation","useKeyNavigation","componentType","updateOpened","onKeyDownTarget","onKeyDownSelect","childrenArray","Children","toArray","childrenMemo","getChildren","onClick","childrenRefs","filter","Boolean","values","getValues","onSearch","newSearch","newOpened","onKeyDownHandle","String","React","createElement","StyledRoot","StyledNativeSelect","tabIndex","concat","StyledPopover","target","ComboboxTarget","_extends","onChange","className","cx","classList","toString","getPlacements","selectWidth","trigger","isFocusTrapped","preventOverflow","closeOnEsc","closeOnOverlayClick","StyledCombobox","length","ComboboxItemNotFound","comboboxConfig","tag","layout","base","variations","css","viewCSS","sizeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;AAeA;AACA;AACA;IACaA,YAAY,GAAG,SAAfA,YAAYA,CAAIC,IAAgD,EAAA;AAAA,EAAA,oBACzEC,gBAAU,CACN,UAAAC,IAAA,EAyBIC,YAAY,EACX;AAAA,IAAA,IAAAC,kBAAA,CAAA;AAAA,IAAA,IAxBGC,IAAI,GAAAH,IAAA,CAAJG,IAAI;MACJC,IAAI,GAAAJ,IAAA,CAAJI,IAAI;MACJC,QAAQ,GAAAL,IAAA,CAARK,QAAQ;MACRC,QAAQ,GAAAN,IAAA,CAARM,QAAQ;MACRC,KAAK,GAAAP,IAAA,CAALO,KAAK;MACLC,WAAW,GAAAR,IAAA,CAAXQ,WAAW;MACXC,EAAE,GAAAT,IAAA,CAAFS,EAAE;MACFC,QAAQ,GAAAV,IAAA,CAARU,QAAQ;MACRC,IAAI,GAAAX,IAAA,CAAJW,IAAI;MACJC,IAAI,GAAAZ,IAAA,CAAJY,IAAI;MACJC,IAAI,GAAAb,IAAA,CAAJa,IAAI;MACJC,KAAK,GAAAd,IAAA,CAALc,KAAK;MACLC,SAAS,GAAAf,IAAA,CAATe,SAAS;MAAAC,qBAAA,GAAAhB,IAAA,CACTiB,qBAAqB;AAArBA,MAAAA,qBAAqB,GAAAD,qBAAA,KAAG,KAAA,CAAA,GAAA,qBAAqB,GAA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;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNxI,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;;"}
@@ -4,7 +4,6 @@ import './Combobox.styles_3vmiz3.css';
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  var react = require('@linaria/react');
7
- require('@linaria/core');
8
7
  var common = require('../../../engines/common.js');
9
8
  var Popover$1 = require('../../Popover/Popover.js');
10
9
 
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.styles.js","sources":["../../../../src/components/Combobox/ComboboxOld/Combobox.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { component } from '../../../engines';\nimport { popoverClasses, popoverConfig } from '../../Popover';\n\nimport { tokens } from './Combobox.tokens';\n\nexport const StyledRoot = styled.div`\n width: 100%;\n position: relative;\n\n & .${popoverClasses.wrapper} {\n display: block;\n }\n`;\n\nexport const StyledCombobox = styled.div`\n box-sizing: border-box;\n\n background: var(${tokens.background});\n box-shadow: var(${tokens.boxShadow});\n\n border-radius: var(${tokens.borderRadius});\n width: var(${tokens.width});\n height: var(${tokens.height});\n\n padding: var(${tokens.paddingTop}) var(${tokens.paddingRight}) var(${tokens.paddingBottom})\n var(${tokens.paddingLeft});\n`;\n\n// issue #823\nconst Popover = component(popoverConfig);\n\nexport const StyledPopover = styled(Popover)<{ selectWidth?: number }>`\n display: block;\n\n .${String(popoverClasses.root)}, .${String(popoverClasses.target)} {\n width: ${({ usePortal, selectWidth }) => (usePortal ? `${selectWidth}px` : '100%')};\n }\n`;\n\nexport const ComboboxItemNotFound = styled.div`\n text-align: center;\n padding: 0.5rem;\n\n font-family: var(${tokens.itemFontFamily});\n font-size: var(${tokens.itemFontSize});\n font-style: var(${tokens.itemFontStyle});\n font-weight: var(${tokens.itemFontWeightBold});\n letter-spacing: var(${tokens.itemFontLetterSpacing});\n line-height: var(${tokens.itemFontLineHeight});\n`;\n\nexport const StyledNativeSelect = styled.select`\n display: none;\n appearance: none;\n -moz-appearance: none;\n -webkit-appearance: none;\n background: transparent;\n color: transparent;\n border: none;\n outline: none;\n opacity: 0;\n position: absolute;\n inset: 0;\n`;\n"],"names":["StyledRoot","styled","name","class","propsAsIs","StyledCombobox","Popover","component","popoverConfig","_exp11","_exp14","_ref","usePortal","selectWidth","concat","StyledPopover","vars","ComboboxItemNotFound","StyledNativeSelect"],"mappings":";;;;;;;;;AAOO,IAAMA,UAAU,gBAAGC,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAO/B,EAAA;AAEM,IAAMC,cAAc,gBAAGJ,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,gBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAYnC,EAAA;;AAED;AACA,IAAME,OAAO,gBAAGC,gBAAS,CAACC,uBAAa,CAAC,CAAA;AAAC,IAAAC,MAAA,GA9BvBA,SA8BuBA,MAAAA,GAAA;AAAA,EAAA,OAELH,OAAO,CAAA;AAAA,CAAA,CAAA;AAAA,IAAAI,MAAA,GAhCzBA,SAgCyBA,MAAAA,GAAA;AAAA,EAAA,OAI1B,UAAAC,IAAA,EAAA;AAAA,IAAA,IAAGC,SAAS,GAAAD,IAAA,CAATC,SAAS;MAAEC,WAAAA,GAAAA,IAAAA,CAAAA,WAAAA,CAAAA;AAAAA,IAAAA,OAAmBD,SAAS,GAAAE,EAAAA,CAAAA,MAAA,CAAMD,WAAY,UAAM,MAAO,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAJnF,IAAME,aAAa,gBAAGd,YAAM,CAAAQ,MAAA,EAAA,CAAA,CAAA;AAAAP,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAAY,EAAAA,IAAA,EAAA;AAAA,IAAA,YAAA,EAAA,cAIlBN,MAAyE,EAAA,CAAA;AAAA,GAAA;AAAA,CAEzF,EAAA;AAEM,IAAMO,oBAAoB,gBAAGhB,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,sBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAUzC,EAAA;AAEM,IAAMc,kBAAkB,gBAAGjB,YAAM,CAAA,QAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,oBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAYvC;;;;;;;;"}
1
+ {"version":3,"file":"Combobox.styles.js","sources":["../../../../src/components/Combobox/ComboboxOld/Combobox.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { component } from '../../../engines';\nimport { popoverClasses, popoverConfig } from '../../Popover';\n\nimport { tokens } from './Combobox.tokens';\n\nexport const StyledRoot = styled.div`\n width: 100%;\n position: relative;\n\n & .${popoverClasses.wrapper} {\n display: block;\n }\n`;\n\nexport const StyledCombobox = styled.div`\n box-sizing: border-box;\n\n background: var(${tokens.background});\n box-shadow: var(${tokens.boxShadow});\n\n border-radius: var(${tokens.borderRadius});\n width: var(${tokens.width});\n height: var(${tokens.height});\n\n padding: var(${tokens.paddingTop}) var(${tokens.paddingRight}) var(${tokens.paddingBottom})\n var(${tokens.paddingLeft});\n`;\n\n// issue #823\nconst Popover = component(popoverConfig);\n\nexport const StyledPopover = styled(Popover)<{ selectWidth?: number }>`\n display: block;\n\n .${String(popoverClasses.root)}, .${String(popoverClasses.target)} {\n width: ${({ usePortal, selectWidth }) => (usePortal ? `${selectWidth}px` : '100%')};\n }\n`;\n\nexport const ComboboxItemNotFound = styled.div`\n text-align: center;\n padding: 0.5rem;\n\n font-family: var(${tokens.itemFontFamily});\n font-size: var(${tokens.itemFontSize});\n font-style: var(${tokens.itemFontStyle});\n font-weight: var(${tokens.itemFontWeightBold});\n letter-spacing: var(${tokens.itemFontLetterSpacing});\n line-height: var(${tokens.itemFontLineHeight});\n`;\n\nexport const StyledNativeSelect = styled.select`\n display: none;\n appearance: none;\n -moz-appearance: none;\n -webkit-appearance: none;\n background: transparent;\n color: transparent;\n border: none;\n outline: none;\n opacity: 0;\n position: absolute;\n inset: 0;\n`;\n"],"names":["StyledRoot","styled","name","class","propsAsIs","StyledCombobox","Popover","component","popoverConfig","_exp11","_exp14","_ref","usePortal","selectWidth","concat","StyledPopover","vars","ComboboxItemNotFound","StyledNativeSelect"],"mappings":";;;;;;;;AAOO,IAAMA,UAAU,gBAAGC,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAO/B,EAAA;AAEM,IAAMC,cAAc,gBAAGJ,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,gBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAYnC,EAAA;;AAED;AACA,IAAME,OAAO,gBAAGC,gBAAS,CAACC,uBAAa,CAAC,CAAA;AAAC,IAAAC,MAAA,GA9BvBA,SA8BuBA,MAAAA,GAAA;AAAA,EAAA,OAELH,OAAO,CAAA;AAAA,CAAA,CAAA;AAAA,IAAAI,MAAA,GAhCzBA,SAgCyBA,MAAAA,GAAA;AAAA,EAAA,OAI1B,UAAAC,IAAA,EAAA;AAAA,IAAA,IAAGC,SAAS,GAAAD,IAAA,CAATC,SAAS;MAAEC,WAAAA,GAAAA,IAAAA,CAAAA,WAAAA,CAAAA;AAAAA,IAAAA,OAAmBD,SAAS,GAAAE,EAAAA,CAAAA,MAAA,CAAMD,WAAY,UAAM,MAAO,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAJnF,IAAME,aAAa,gBAAGd,YAAM,CAAAQ,MAAA,EAAA,CAAA,CAAA;AAAAP,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAAY,EAAAA,IAAA,EAAA;AAAA,IAAA,YAAA,EAAA,cAIlBN,MAAyE,EAAA,CAAA;AAAA,GAAA;AAAA,CAEzF,EAAA;AAEM,IAAMO,oBAAoB,gBAAGhB,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,sBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAUzC,EAAA;AAEM,IAAMc,kBAAkB,gBAAGjB,YAAM,CAAA,QAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,oBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAYvC;;;;;;;;"}
@@ -5,7 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var React = require('react');
6
6
  var usePreviousValue = require('../../../../hooks/usePreviousValue.js');
7
7
  var useDidMountEffect = require('../../../../hooks/useDidMountEffect.js');
8
- require('../../../../utils/react.js');
9
8
 
10
9
  var useFocusController = function useFocusController(_ref) {
11
10
  var _ref$controlledRefs = _ref.controlledRefs,