@salutejs/plasma-new-hope 0.173.1-canary.1502.11462220468.0 → 0.173.2-canary.1506.11489879161.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (752) 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 +1 -1
  18. package/cjs/components/Autocomplete/Autocomplete.js +5 -6
  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/Autocomplete.tokens.js +1 -0
  23. package/cjs/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  24. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +2 -3
  25. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  26. package/cjs/components/Autocomplete/ui/TextField/{TextField.styles_1csckkd.css → TextField.styles_1ye9068.css} +1 -1
  27. package/cjs/components/Avatar/Avatar.js +2 -3
  28. package/cjs/components/Avatar/Avatar.js.map +1 -1
  29. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +2 -4
  30. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  31. package/cjs/components/Button/Button.styles.js +0 -3
  32. package/cjs/components/Button/Button.styles.js.map +1 -1
  33. package/cjs/components/Calendar/Calendar.tokens.js +3 -0
  34. package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
  35. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +11 -10
  36. package/cjs/components/Calendar/CalendarBase/CalendarBase.js +5 -5
  37. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  38. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  39. package/{es/components/Calendar/CalendarBase/CalendarBase.styles_1m6uih1.css → cjs/components/Calendar/CalendarBase/CalendarBase.styles_ni8729.css} +1 -1
  40. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +11 -10
  41. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
  42. package/cjs/components/Calendar/hooks/useDays.js +2 -2
  43. package/cjs/components/Calendar/hooks/useKeyNavigation.js +1 -1
  44. package/cjs/components/Calendar/hooks/useMonths.js +2 -2
  45. package/cjs/components/Calendar/hooks/useQuarters.js +2 -2
  46. package/cjs/components/Calendar/hooks/useYears.js +2 -2
  47. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +4 -4
  48. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -8
  49. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +7 -9
  50. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  51. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -2
  52. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  53. package/{es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1jfelqf.css → cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1xijs8w.css} +1 -0
  54. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -4
  55. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -4
  56. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -4
  57. package/cjs/components/Combobox/ComboboxNew/Combobox.css +12 -12
  58. package/cjs/components/Combobox/ComboboxNew/Combobox.js +11 -12
  59. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  60. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +12 -14
  61. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  62. package/{es/components/Combobox/ComboboxNew/Combobox.styles_1s09ifw.css → cjs/components/Combobox/ComboboxNew/Combobox.styles_1nqrvms.css} +1 -1
  63. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  64. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  65. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js +0 -2
  66. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  67. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  68. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js +1 -2
  69. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
  70. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  71. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +5 -6
  72. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  73. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +10 -12
  74. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  75. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_1us8jz1.css → Item.styles_1njzasn.css} +2 -2
  76. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -2
  77. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  78. package/cjs/components/Combobox/ComboboxOld/Combobox.css +3 -3
  79. package/cjs/components/Combobox/ComboboxOld/Combobox.js +4 -10
  80. package/cjs/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  81. package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js +0 -1
  82. package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
  83. package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js +0 -1
  84. package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
  85. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +1 -2
  86. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
  87. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +3 -3
  88. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +1 -10
  89. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  90. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +3 -3
  91. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +1 -10
  92. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  93. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +3 -3
  94. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +1 -10
  95. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  96. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +3 -3
  97. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +1 -10
  98. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  99. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +0 -2
  100. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  101. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  102. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +1 -2
  103. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
  104. package/cjs/components/DatePicker/DatePicker.tokens.js +5 -0
  105. package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -1
  106. package/cjs/components/DatePicker/DatePickerBase.styles.js +2 -8
  107. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  108. package/cjs/components/DatePicker/DatePickerBase.styles_1x090si.css +2 -0
  109. package/cjs/components/DatePicker/RangeDate/RangeDate.css +15 -14
  110. package/cjs/components/DatePicker/RangeDate/RangeDate.js +1 -1
  111. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +0 -1
  112. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  113. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +13 -12
  114. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -2
  115. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  116. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +3 -6
  117. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  118. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1i6gpss.css +2 -0
  119. package/cjs/components/DatePicker/SingleDate/SingleDate.css +15 -14
  120. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -2
  121. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  122. package/cjs/components/DatePicker/SingleDate/{SingleDate.styles_1rrq00l.css → SingleDate.styles_e72b5o.css} +1 -1
  123. package/cjs/components/Drawer/Drawer.js +5 -10
  124. package/cjs/components/Drawer/Drawer.js.map +1 -1
  125. package/cjs/components/Drawer/Drawer.styles.js +0 -4
  126. package/cjs/components/Drawer/Drawer.styles.js.map +1 -1
  127. package/cjs/components/Drawer/hooks/useDrawer.js +0 -4
  128. package/cjs/components/Drawer/hooks/useDrawer.js.map +1 -1
  129. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js +0 -7
  130. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  131. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js +0 -7
  132. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  133. package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js +0 -3
  134. package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
  135. package/cjs/components/Dropdown/Dropdown.css +3 -3
  136. package/cjs/components/Dropdown/Dropdown.js +3 -10
  137. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  138. package/cjs/components/Dropdown/Dropdown.styles.js +3 -4
  139. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  140. package/cjs/components/Dropdown/{Dropdown.styles_1tihqkp.css → Dropdown.styles_zvi9m3.css} +1 -1
  141. package/cjs/components/Dropdown/Dropdown.tokens.js +2 -0
  142. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  143. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -9
  144. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  145. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -2
  146. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  147. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -2
  148. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  149. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +0 -1
  150. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
  151. package/cjs/components/Editable/Editable.js +3 -4
  152. package/cjs/components/Editable/Editable.js.map +1 -1
  153. package/cjs/components/Editable/utils/clearSelection.js +0 -2
  154. package/cjs/components/Editable/utils/clearSelection.js.map +1 -1
  155. package/cjs/components/Editable/utils/selectText.js +0 -2
  156. package/cjs/components/Editable/utils/selectText.js.map +1 -1
  157. package/cjs/components/EmptyState/EmptyState.styles.js +1 -2
  158. package/cjs/components/EmptyState/EmptyState.styles.js.map +1 -1
  159. package/cjs/components/IconButton/IconButton.js +1 -1
  160. package/cjs/components/IconButton/IconButton.styles.js +0 -8
  161. package/cjs/components/IconButton/IconButton.styles.js.map +1 -1
  162. package/cjs/components/Modal/Modal.js +6 -8
  163. package/cjs/components/Modal/Modal.js.map +1 -1
  164. package/cjs/components/Modal/hooks/useModal.js +0 -4
  165. package/cjs/components/Modal/hooks/useModal.js.map +1 -1
  166. package/cjs/components/Notification/Notification.css +11 -11
  167. package/cjs/components/Notification/Notification.styles.js +17 -18
  168. package/cjs/components/Notification/Notification.styles.js.map +1 -1
  169. package/cjs/components/Notification/{Notification.styles_7h8hp0.css → Notification.styles_1g34msm.css} +1 -1
  170. package/cjs/components/Notification/Notification.tokens.js +2 -0
  171. package/cjs/components/Notification/Notification.tokens.js.map +1 -1
  172. package/cjs/components/Notification/NotificationsPortal.js +3 -4
  173. package/cjs/components/Notification/NotificationsPortal.js.map +1 -1
  174. package/cjs/components/Notification/NotificationsProvider.css +11 -11
  175. package/cjs/components/Pagination/Pagination.css +10 -10
  176. package/cjs/components/Pagination/Pagination.js +5 -5
  177. package/cjs/components/Pagination/Pagination.js.map +1 -1
  178. package/cjs/components/Pagination/Pagination.styles.js +4 -5
  179. package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
  180. package/cjs/components/Pagination/{Pagination.styles_y6gcva.css → Pagination.styles_1w5oej6.css} +1 -1
  181. package/cjs/components/Pagination/Pagination.tokens.js +4 -1
  182. package/cjs/components/Pagination/Pagination.tokens.js.map +1 -1
  183. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
  184. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +2 -3
  185. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  186. package/cjs/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_187mk6b.css → PaginationSelectPerPage.styles_1fesyfv.css} +1 -1
  187. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js +1 -2
  188. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
  189. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -2
  190. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
  191. package/cjs/components/Popover/Popover.js +1 -1
  192. package/cjs/components/Popup/Popup.js +2 -2
  193. package/cjs/components/Popup/PopupContext.js +1 -1
  194. package/cjs/components/Range/Range.styles.js +0 -1
  195. package/cjs/components/Range/Range.styles.js.map +1 -1
  196. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +4 -5
  197. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  198. package/cjs/components/Select/Select.js +11 -12
  199. package/cjs/components/Select/Select.js.map +1 -1
  200. package/cjs/components/Select/Select.styles.js +2 -5
  201. package/cjs/components/Select/Select.styles.js.map +1 -1
  202. package/cjs/components/Select/hooks/usePathMaps.js +0 -2
  203. package/cjs/components/Select/hooks/usePathMaps.js.map +1 -1
  204. package/cjs/components/Select/ui/Inner/Inner.js +1 -2
  205. package/cjs/components/Select/ui/Inner/Inner.js.map +1 -1
  206. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +4 -5
  207. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  208. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +0 -1
  209. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  210. package/cjs/components/Select/ui/Target/ui/Button/Button.js +1 -1
  211. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +1 -3
  212. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  213. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
  214. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -4
  215. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  216. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +1 -2
  217. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
  218. package/cjs/components/Select/utils/getButtonLabel.js +0 -2
  219. package/cjs/components/Select/utils/getButtonLabel.js.map +1 -1
  220. package/cjs/components/Sheet/Sheet.js +3 -3
  221. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js +2 -4
  222. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  223. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js +2 -4
  224. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  225. package/cjs/components/Slider/Slider.js +0 -8
  226. package/cjs/components/Slider/Slider.js.map +1 -1
  227. package/cjs/components/Slider/components/Double/Double.js +1 -2
  228. package/cjs/components/Slider/components/Double/Double.js.map +1 -1
  229. package/cjs/components/Slider/components/Double/Double.styles.js +0 -1
  230. package/cjs/components/Slider/components/Double/Double.styles.js.map +1 -1
  231. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +0 -3
  232. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  233. package/cjs/components/Slider/components/Single/Single.js +1 -2
  234. package/cjs/components/Slider/components/Single/Single.js.map +1 -1
  235. package/cjs/components/Slider/components/SliderBase/SliderBase.js +1 -1
  236. package/cjs/components/Steps/Steps.js +1 -1
  237. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js +0 -1
  238. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  239. package/cjs/components/Tabs/createTabsController.js.map +1 -1
  240. package/cjs/components/Tabs/tokens.js +7 -1
  241. package/cjs/components/Tabs/tokens.js.map +1 -1
  242. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -5
  243. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -8
  244. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  245. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  246. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  247. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/{HorizontalTabItem.styles_hfqv5b.css → HorizontalTabItem.styles_uaaqqg.css} +1 -1
  248. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +1 -1
  249. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +7 -18
  250. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  251. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  252. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js.map +1 -1
  253. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/{base_4ob3q5.css → base_9miwn.css} +1 -1
  254. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -5
  255. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  256. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  257. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/{VerticalTabItem.styles_16d3lah.css → VerticalTabItem.styles_1g7zipg.css} +1 -1
  258. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -3
  259. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  260. package/cjs/components/TextArea/TextArea.js +2 -2
  261. package/cjs/components/TextArea/TextArea.styles.js +2 -3
  262. package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
  263. package/cjs/components/TextArea/ui/Hint/Hint.js +1 -2
  264. package/cjs/components/TextArea/ui/Hint/Hint.js.map +1 -1
  265. package/cjs/components/TextField/TextField.js +3 -3
  266. package/cjs/components/TextField/TextField.styles.js +1 -2
  267. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  268. package/cjs/components/TextField/ui/Hint/Hint.js +1 -2
  269. package/cjs/components/TextField/ui/Hint/Hint.js.map +1 -1
  270. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -2
  271. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  272. package/cjs/components/Toast/Toast.styles.js +1 -1
  273. package/cjs/components/Toast/ToastController.js +1 -1
  274. package/cjs/components/Toast/utils.js +1 -2
  275. package/cjs/components/Toast/utils.js.map +1 -1
  276. package/cjs/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
  277. package/cjs/components/Tooltip/Tooltip.js +2 -3
  278. package/cjs/components/Tooltip/Tooltip.js.map +1 -1
  279. package/cjs/engines/index.js +0 -2
  280. package/cjs/engines/index.js.map +1 -1
  281. package/cjs/hooks/useIsomorphicLayoutEffect.js +0 -1
  282. package/cjs/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  283. package/cjs/index.css +65 -64
  284. package/cjs/index.js +48 -51
  285. package/cjs/index.js.map +1 -1
  286. package/cjs/utils/index.js +0 -5
  287. package/cjs/utils/index.js.map +1 -1
  288. package/emotion/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  289. package/emotion/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  290. package/emotion/cjs/components/Calendar/Calendar.tokens.js +3 -0
  291. package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  292. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  293. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +22 -17
  294. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  295. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  296. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -12
  297. package/emotion/cjs/components/DatePicker/DatePicker.tokens.js +5 -0
  298. package/emotion/cjs/components/DatePicker/DatePickerBase.styles.js +3 -3
  299. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  300. package/emotion/cjs/components/Dropdown/Dropdown.styles.js +3 -3
  301. package/emotion/cjs/components/Dropdown/Dropdown.tokens.js +2 -0
  302. package/emotion/cjs/components/Notification/Notification.styles.js +11 -11
  303. package/emotion/cjs/components/Notification/Notification.tokens.js +2 -0
  304. package/emotion/cjs/components/Pagination/Pagination.js +5 -5
  305. package/emotion/cjs/components/Pagination/Pagination.styles.js +8 -8
  306. package/emotion/cjs/components/Pagination/Pagination.tokens.js +4 -1
  307. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  308. package/emotion/cjs/components/Tabs/tokens.js +7 -1
  309. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -13
  310. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +5 -5
  311. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -20
  312. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  313. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  314. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  315. package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  316. package/emotion/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  317. package/emotion/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  318. package/emotion/es/components/Calendar/Calendar.tokens.js +3 -0
  319. package/emotion/es/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  320. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  321. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +21 -16
  322. package/emotion/es/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  323. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  324. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -12
  325. package/emotion/es/components/DatePicker/DatePicker.tokens.js +5 -0
  326. package/emotion/es/components/DatePicker/DatePickerBase.styles.js +3 -3
  327. package/emotion/es/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  328. package/emotion/es/components/Dropdown/Dropdown.styles.js +3 -3
  329. package/emotion/es/components/Dropdown/Dropdown.tokens.js +2 -0
  330. package/emotion/es/components/Notification/Notification.styles.js +11 -11
  331. package/emotion/es/components/Notification/Notification.tokens.js +2 -0
  332. package/emotion/es/components/Pagination/Pagination.js +5 -5
  333. package/emotion/es/components/Pagination/Pagination.styles.js +8 -8
  334. package/emotion/es/components/Pagination/Pagination.tokens.js +4 -1
  335. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  336. package/emotion/es/components/Tabs/tokens.js +7 -1
  337. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -14
  338. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +5 -5
  339. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -21
  340. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  341. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  342. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  343. package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  344. package/emotion/package.json +2 -1
  345. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -1
  346. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
  347. package/es/components/Attach/Attach.js +3 -4
  348. package/es/components/Attach/Attach.js.map +1 -1
  349. package/es/components/Attach/components/AttachButton/AttachButton.js +0 -1
  350. package/es/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
  351. package/es/components/Attach/ui/Button/Button.styles.js +0 -1
  352. package/es/components/Attach/ui/Button/Button.styles.js.map +1 -1
  353. package/es/components/Attach/ui/Cell/Cell.styles.js +0 -2
  354. package/es/components/Attach/ui/Cell/Cell.styles.js.map +1 -1
  355. package/es/components/Attach/ui/IconButton/IconButton.styles.js +0 -1
  356. package/es/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -1
  357. package/es/components/Attach/utils/getFileicon.js +3 -4
  358. package/es/components/Attach/utils/getFileicon.js.map +1 -1
  359. package/es/components/Attach/utils/index.js +0 -3
  360. package/es/components/Attach/utils/index.js.map +1 -1
  361. package/es/components/Autocomplete/Autocomplete.css +1 -1
  362. package/es/components/Autocomplete/Autocomplete.js +5 -6
  363. package/es/components/Autocomplete/Autocomplete.js.map +1 -1
  364. package/es/components/Autocomplete/Autocomplete.styles.js +2 -3
  365. package/es/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  366. package/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  367. package/es/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  368. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +2 -3
  369. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  370. package/es/components/Autocomplete/ui/TextField/{TextField.styles_1csckkd.css → TextField.styles_1ye9068.css} +1 -1
  371. package/es/components/Avatar/Avatar.js +2 -3
  372. package/es/components/Avatar/Avatar.js.map +1 -1
  373. package/es/components/Breadcrumbs/Breadcrumbs.styles.js +2 -4
  374. package/es/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  375. package/es/components/Button/Button.styles.js +0 -3
  376. package/es/components/Button/Button.styles.js.map +1 -1
  377. package/es/components/Calendar/Calendar.tokens.js +3 -0
  378. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  379. package/es/components/Calendar/CalendarBase/CalendarBase.css +11 -10
  380. package/es/components/Calendar/CalendarBase/CalendarBase.js +5 -5
  381. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  382. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  383. package/{cjs/components/Calendar/CalendarBase/CalendarBase.styles_1m6uih1.css → es/components/Calendar/CalendarBase/CalendarBase.styles_ni8729.css} +1 -1
  384. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +11 -10
  385. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
  386. package/es/components/Calendar/hooks/useDays.js +2 -2
  387. package/es/components/Calendar/hooks/useKeyNavigation.js +1 -1
  388. package/es/components/Calendar/hooks/useMonths.js +2 -2
  389. package/es/components/Calendar/hooks/useQuarters.js +2 -2
  390. package/es/components/Calendar/hooks/useYears.js +2 -2
  391. package/es/components/Calendar/ui/CalendarDays/CalendarDays.js +4 -4
  392. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -8
  393. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +8 -10
  394. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  395. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -3
  396. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  397. package/{cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1jfelqf.css → es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1xijs8w.css} +1 -0
  398. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -4
  399. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -4
  400. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -4
  401. package/es/components/Combobox/ComboboxNew/Combobox.css +12 -12
  402. package/es/components/Combobox/ComboboxNew/Combobox.js +11 -12
  403. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  404. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +12 -14
  405. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  406. package/{cjs/components/Combobox/ComboboxNew/Combobox.styles_1s09ifw.css → es/components/Combobox/ComboboxNew/Combobox.styles_1nqrvms.css} +1 -1
  407. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  408. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  409. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js +0 -2
  410. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  411. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  412. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js +1 -2
  413. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
  414. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  415. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +5 -6
  416. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  417. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +10 -12
  418. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  419. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_1us8jz1.css → Item.styles_1njzasn.css} +2 -2
  420. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -2
  421. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  422. package/es/components/Combobox/ComboboxOld/Combobox.css +3 -3
  423. package/es/components/Combobox/ComboboxOld/Combobox.js +4 -10
  424. package/es/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  425. package/es/components/Combobox/ComboboxOld/Combobox.styles.js +0 -1
  426. package/es/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
  427. package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js +0 -1
  428. package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
  429. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +1 -2
  430. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
  431. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +3 -3
  432. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +1 -10
  433. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  434. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +3 -3
  435. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +1 -10
  436. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  437. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +3 -3
  438. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +1 -10
  439. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  440. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +3 -3
  441. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +1 -10
  442. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  443. package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +0 -2
  444. package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  445. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  446. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +1 -2
  447. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
  448. package/es/components/DatePicker/DatePicker.tokens.js +5 -0
  449. package/es/components/DatePicker/DatePicker.tokens.js.map +1 -1
  450. package/es/components/DatePicker/DatePickerBase.styles.js +2 -8
  451. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  452. package/es/components/DatePicker/DatePickerBase.styles_1x090si.css +2 -0
  453. package/es/components/DatePicker/RangeDate/RangeDate.css +15 -14
  454. package/es/components/DatePicker/RangeDate/RangeDate.js +1 -1
  455. package/es/components/DatePicker/RangeDate/RangeDate.styles.js +0 -1
  456. package/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  457. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +13 -12
  458. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -2
  459. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  460. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +3 -6
  461. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  462. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1i6gpss.css +2 -0
  463. package/es/components/DatePicker/SingleDate/SingleDate.css +15 -14
  464. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -2
  465. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  466. package/es/components/DatePicker/SingleDate/{SingleDate.styles_1rrq00l.css → SingleDate.styles_e72b5o.css} +1 -1
  467. package/es/components/Drawer/Drawer.js +5 -10
  468. package/es/components/Drawer/Drawer.js.map +1 -1
  469. package/es/components/Drawer/Drawer.styles.js +0 -4
  470. package/es/components/Drawer/Drawer.styles.js.map +1 -1
  471. package/es/components/Drawer/hooks/useDrawer.js +0 -4
  472. package/es/components/Drawer/hooks/useDrawer.js.map +1 -1
  473. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js +0 -7
  474. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  475. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js +0 -7
  476. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  477. package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js +0 -3
  478. package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
  479. package/es/components/Dropdown/Dropdown.css +3 -3
  480. package/es/components/Dropdown/Dropdown.js +3 -10
  481. package/es/components/Dropdown/Dropdown.js.map +1 -1
  482. package/es/components/Dropdown/Dropdown.styles.js +3 -4
  483. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  484. package/es/components/Dropdown/{Dropdown.styles_1tihqkp.css → Dropdown.styles_zvi9m3.css} +1 -1
  485. package/es/components/Dropdown/Dropdown.tokens.js +2 -0
  486. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  487. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -9
  488. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  489. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -2
  490. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  491. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -2
  492. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  493. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +0 -1
  494. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
  495. package/es/components/Editable/Editable.js +3 -4
  496. package/es/components/Editable/Editable.js.map +1 -1
  497. package/es/components/Editable/utils/clearSelection.js +0 -2
  498. package/es/components/Editable/utils/clearSelection.js.map +1 -1
  499. package/es/components/Editable/utils/selectText.js +0 -2
  500. package/es/components/Editable/utils/selectText.js.map +1 -1
  501. package/es/components/EmptyState/EmptyState.styles.js +1 -2
  502. package/es/components/EmptyState/EmptyState.styles.js.map +1 -1
  503. package/es/components/IconButton/IconButton.js +1 -1
  504. package/es/components/IconButton/IconButton.styles.js +0 -8
  505. package/es/components/IconButton/IconButton.styles.js.map +1 -1
  506. package/es/components/Modal/Modal.js +6 -8
  507. package/es/components/Modal/Modal.js.map +1 -1
  508. package/es/components/Modal/hooks/useModal.js +0 -4
  509. package/es/components/Modal/hooks/useModal.js.map +1 -1
  510. package/es/components/Notification/Notification.css +11 -11
  511. package/es/components/Notification/Notification.styles.js +17 -18
  512. package/es/components/Notification/Notification.styles.js.map +1 -1
  513. package/es/components/Notification/{Notification.styles_7h8hp0.css → Notification.styles_1g34msm.css} +1 -1
  514. package/es/components/Notification/Notification.tokens.js +2 -0
  515. package/es/components/Notification/Notification.tokens.js.map +1 -1
  516. package/es/components/Notification/NotificationsPortal.js +3 -4
  517. package/es/components/Notification/NotificationsPortal.js.map +1 -1
  518. package/es/components/Notification/NotificationsProvider.css +11 -11
  519. package/es/components/Pagination/Pagination.css +10 -10
  520. package/es/components/Pagination/Pagination.js +5 -5
  521. package/es/components/Pagination/Pagination.js.map +1 -1
  522. package/es/components/Pagination/Pagination.styles.js +4 -5
  523. package/es/components/Pagination/Pagination.styles.js.map +1 -1
  524. package/es/components/Pagination/{Pagination.styles_y6gcva.css → Pagination.styles_1w5oej6.css} +1 -1
  525. package/es/components/Pagination/Pagination.tokens.js +4 -1
  526. package/es/components/Pagination/Pagination.tokens.js.map +1 -1
  527. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
  528. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +2 -3
  529. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  530. package/es/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_187mk6b.css → PaginationSelectPerPage.styles_1fesyfv.css} +1 -1
  531. package/es/components/Panel/ui/PanelHeader/PanelHeader.js +1 -2
  532. package/es/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
  533. package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -2
  534. package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
  535. package/es/components/Popover/Popover.js +1 -1
  536. package/es/components/Popup/Popup.js +2 -2
  537. package/es/components/Popup/PopupContext.js +1 -1
  538. package/es/components/Range/Range.styles.js +0 -1
  539. package/es/components/Range/Range.styles.js.map +1 -1
  540. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +4 -5
  541. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  542. package/es/components/Select/Select.js +11 -12
  543. package/es/components/Select/Select.js.map +1 -1
  544. package/es/components/Select/Select.styles.js +2 -5
  545. package/es/components/Select/Select.styles.js.map +1 -1
  546. package/es/components/Select/hooks/usePathMaps.js +0 -2
  547. package/es/components/Select/hooks/usePathMaps.js.map +1 -1
  548. package/es/components/Select/ui/Inner/Inner.js +1 -2
  549. package/es/components/Select/ui/Inner/Inner.js.map +1 -1
  550. package/es/components/Select/ui/Inner/ui/Item/Item.js +4 -5
  551. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  552. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +0 -1
  553. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  554. package/es/components/Select/ui/Target/ui/Button/Button.js +1 -1
  555. package/es/components/Select/ui/Target/ui/Button/Button.styles.js +1 -3
  556. package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  557. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
  558. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -4
  559. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  560. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +1 -2
  561. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
  562. package/es/components/Select/utils/getButtonLabel.js +0 -2
  563. package/es/components/Select/utils/getButtonLabel.js.map +1 -1
  564. package/es/components/Sheet/Sheet.js +3 -3
  565. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js +2 -4
  566. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  567. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js +2 -4
  568. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  569. package/es/components/Slider/Slider.js +0 -8
  570. package/es/components/Slider/Slider.js.map +1 -1
  571. package/es/components/Slider/components/Double/Double.js +1 -2
  572. package/es/components/Slider/components/Double/Double.js.map +1 -1
  573. package/es/components/Slider/components/Double/Double.styles.js +0 -1
  574. package/es/components/Slider/components/Double/Double.styles.js.map +1 -1
  575. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +0 -3
  576. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  577. package/es/components/Slider/components/Single/Single.js +1 -2
  578. package/es/components/Slider/components/Single/Single.js.map +1 -1
  579. package/es/components/Slider/components/SliderBase/SliderBase.js +1 -1
  580. package/es/components/Steps/Steps.js +1 -1
  581. package/es/components/Steps/ui/StepItem/StepItem.styles.js +0 -1
  582. package/es/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  583. package/es/components/Tabs/createTabsController.js.map +1 -1
  584. package/es/components/Tabs/tokens.js +7 -1
  585. package/es/components/Tabs/tokens.js.map +1 -1
  586. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -5
  587. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +4 -9
  588. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  589. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  590. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  591. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/{HorizontalTabItem.styles_hfqv5b.css → HorizontalTabItem.styles_uaaqqg.css} +1 -1
  592. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +1 -1
  593. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +8 -19
  594. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  595. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  596. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js.map +1 -1
  597. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/{base_4ob3q5.css → base_9miwn.css} +1 -1
  598. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -5
  599. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  600. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  601. package/es/components/Tabs/ui/vertical/VerticalTabItem/{VerticalTabItem.styles_16d3lah.css → VerticalTabItem.styles_1g7zipg.css} +1 -1
  602. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -3
  603. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  604. package/es/components/TextArea/TextArea.js +2 -2
  605. package/es/components/TextArea/TextArea.styles.js +2 -3
  606. package/es/components/TextArea/TextArea.styles.js.map +1 -1
  607. package/es/components/TextArea/ui/Hint/Hint.js +1 -2
  608. package/es/components/TextArea/ui/Hint/Hint.js.map +1 -1
  609. package/es/components/TextField/TextField.js +3 -3
  610. package/es/components/TextField/TextField.styles.js +1 -2
  611. package/es/components/TextField/TextField.styles.js.map +1 -1
  612. package/es/components/TextField/ui/Hint/Hint.js +1 -2
  613. package/es/components/TextField/ui/Hint/Hint.js.map +1 -1
  614. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -2
  615. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  616. package/es/components/Toast/Toast.styles.js +1 -1
  617. package/es/components/Toast/ToastController.js +1 -1
  618. package/es/components/Toast/utils.js +1 -2
  619. package/es/components/Toast/utils.js.map +1 -1
  620. package/es/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
  621. package/es/components/Tooltip/Tooltip.js +2 -3
  622. package/es/components/Tooltip/Tooltip.js.map +1 -1
  623. package/es/engines/index.js +0 -2
  624. package/es/engines/index.js.map +1 -1
  625. package/es/hooks/useIsomorphicLayoutEffect.js +0 -1
  626. package/es/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  627. package/es/index.css +65 -64
  628. package/es/index.js +21 -24
  629. package/es/index.js.map +1 -1
  630. package/es/utils/index.js +0 -3
  631. package/es/utils/index.js.map +1 -1
  632. package/package.json +5 -2
  633. package/styled-components/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  634. package/styled-components/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  635. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +3 -0
  636. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  637. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  638. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +6 -2
  639. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  640. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  641. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +3 -3
  642. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +5 -0
  643. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
  644. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  645. package/styled-components/cjs/components/Dropdown/Dropdown.styles.js +2 -2
  646. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +2 -0
  647. package/styled-components/cjs/components/Notification/Notification.styles.js +1 -1
  648. package/styled-components/cjs/components/Notification/Notification.tokens.js +2 -0
  649. package/styled-components/cjs/components/Pagination/Pagination.js +5 -5
  650. package/styled-components/cjs/components/Pagination/Pagination.styles.js +1 -1
  651. package/styled-components/cjs/components/Pagination/Pagination.tokens.js +4 -1
  652. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  653. package/styled-components/cjs/components/Tabs/tokens.js +7 -1
  654. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -13
  655. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  656. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -20
  657. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  658. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  659. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  660. package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  661. package/styled-components/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  662. package/styled-components/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  663. package/styled-components/es/components/Calendar/Calendar.tokens.js +3 -0
  664. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  665. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  666. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +5 -1
  667. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  668. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  669. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +3 -3
  670. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +5 -0
  671. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  672. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  673. package/styled-components/es/components/Dropdown/Dropdown.styles.js +2 -2
  674. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +2 -0
  675. package/styled-components/es/components/Notification/Notification.styles.js +1 -1
  676. package/styled-components/es/components/Notification/Notification.tokens.js +2 -0
  677. package/styled-components/es/components/Pagination/Pagination.js +5 -5
  678. package/styled-components/es/components/Pagination/Pagination.styles.js +1 -1
  679. package/styled-components/es/components/Pagination/Pagination.tokens.js +4 -1
  680. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  681. package/styled-components/es/components/Tabs/tokens.js +7 -1
  682. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -14
  683. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  684. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -21
  685. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  686. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  687. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  688. package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  689. package/styled-components/package.json +2 -1
  690. package/types/components/Autocomplete/Autocomplete.tokens.d.ts +1 -0
  691. package/types/components/Autocomplete/Autocomplete.tokens.d.ts.map +1 -1
  692. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  693. package/types/components/Calendar/Calendar.tokens.d.ts +3 -0
  694. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  695. package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
  696. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.d.ts.map +1 -1
  697. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +1 -0
  698. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
  699. package/types/components/Combobox/ComboboxNew/Combobox.styles.d.ts.map +1 -1
  700. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +4 -0
  701. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  702. package/types/components/DatePicker/DatePicker.tokens.d.ts +5 -0
  703. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -1
  704. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -1
  705. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  706. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  707. package/types/components/Dropdown/Dropdown.tokens.d.ts +2 -0
  708. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  709. package/types/components/Notification/Notification.styles.d.ts.map +1 -1
  710. package/types/components/Notification/Notification.tokens.d.ts +2 -0
  711. package/types/components/Notification/Notification.tokens.d.ts.map +1 -1
  712. package/types/components/Pagination/Pagination.d.ts.map +1 -1
  713. package/types/components/Pagination/Pagination.styles.d.ts.map +1 -1
  714. package/types/components/Pagination/Pagination.tokens.d.ts +3 -0
  715. package/types/components/Pagination/Pagination.tokens.d.ts.map +1 -1
  716. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  717. package/types/components/Tabs/TabItem.types.d.ts +8 -50
  718. package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
  719. package/types/components/Tabs/Tabs.types.d.ts +2 -44
  720. package/types/components/Tabs/Tabs.types.d.ts.map +1 -1
  721. package/types/components/Tabs/createTabsController.d.ts +2 -2
  722. package/types/components/Tabs/createTabsController.d.ts.map +1 -1
  723. package/types/components/Tabs/tokens.d.ts +6 -0
  724. package/types/components/Tabs/tokens.d.ts.map +1 -1
  725. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
  726. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts.map +1 -1
  727. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts +2 -2
  728. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts.map +1 -1
  729. package/types/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.d.ts.map +1 -1
  730. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
  731. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +2 -17
  732. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
  733. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts +1 -1
  734. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts.map +1 -1
  735. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts +2 -17
  736. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts.map +1 -1
  737. package/types/examples/plasma_web/components/Tabs/Tabs.d.ts +1 -1
  738. package/types/examples/plasma_web/components/Tabs/Tabs.d.ts.map +1 -1
  739. package/cjs/components/DatePicker/DatePickerBase.styles_mjc9xz.css +0 -2
  740. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +0 -2
  741. package/cjs/components/Tabs/ui/horizontal/const.js +0 -11
  742. package/cjs/components/Tabs/ui/horizontal/const.js.map +0 -1
  743. package/emotion/cjs/components/Tabs/ui/horizontal/const.js +0 -10
  744. package/emotion/es/components/Tabs/ui/horizontal/const.js +0 -4
  745. package/es/components/DatePicker/DatePickerBase.styles_mjc9xz.css +0 -2
  746. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +0 -2
  747. package/es/components/Tabs/ui/horizontal/const.js +0 -7
  748. package/es/components/Tabs/ui/horizontal/const.js.map +0 -1
  749. package/styled-components/cjs/components/Tabs/ui/horizontal/const.js +0 -10
  750. package/styled-components/es/components/Tabs/ui/horizontal/const.js +0 -4
  751. package/types/components/Tabs/ui/horizontal/const.d.ts +0 -2
  752. package/types/components/Tabs/ui/horizontal/const.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Autocomplete.js","sources":["../../../src/components/Autocomplete/Autocomplete.tsx"],"sourcesContent":["import React, { forwardRef, useState, useReducer } from 'react';\nimport { safeUseId } from '@salutejs/plasma-core';\n\nimport { useDidMountEffect, useOutsideClick } from '../../hooks';\nimport { RootProps } from '../../engines';\nimport { getPlacements } from '../../utils';\n\nimport { focusedReducer } from './reducers/focusedReducer';\nimport { SuggestionItem, StyledTextField } from './ui';\nimport { StyledPopover, Ul, LeftHelper, base, InfiniteLoaderWrapper } from './Autocomplete.styles';\nimport type { AutocompleteProps, SuggestionItemType } from './Autocomplete.types';\nimport { useKeyNavigation } from './hooks/useKeyboardNavigation';\n\n/**\n * Компонент Autocomplete. Поле ввода с подсказками в выпадающем списке.\n */\nexport const autocompleteRoot = (Root: RootProps<HTMLInputElement, AutocompleteProps>) =>\n forwardRef<HTMLInputElement, AutocompleteProps>(\n (\n {\n value: outerValue,\n onChange,\n suggestions,\n view,\n size,\n labelPlacement,\n disabled,\n readOnly,\n label,\n leftHelper,\n contentLeft,\n contentRight,\n textBefore,\n textAfter,\n onScroll,\n listMaxHeight,\n listWidth,\n portal,\n filter,\n onSuggestionSelect,\n threshold = 2,\n renderList,\n renderListEnd,\n onSearch,\n\n hintText,\n\n ...rest\n },\n ref,\n ) => {\n const [focused, dispatchFocused] = useReducer(focusedReducer, null);\n const [innerValue, setInnerValue] = useState<string | number>('');\n const [isOpen, setIsOpen] = useState(false);\n\n const listId = safeUseId();\n const value = outerValue ?? innerValue;\n\n const helperTextId = safeUseId();\n\n const targetRef = useOutsideClick<HTMLDivElement>(() => {\n setIsOpen(false);\n });\n\n const handleFocus = () => {\n if (value.toString().length >= threshold) {\n setIsOpen(true);\n }\n };\n\n const handleItemClick = (e: SuggestionItemType) => {\n setInnerValue(e.label);\n\n if (onSuggestionSelect) {\n onSuggestionSelect(e);\n }\n\n setIsOpen(false);\n };\n\n const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n const currentValue = e.target.value;\n\n setInnerValue(currentValue);\n\n if (onChange) {\n onChange(e);\n }\n\n if (currentValue.toString().length >= threshold) {\n setIsOpen(true);\n } else {\n setIsOpen(false);\n }\n };\n\n const defaultFilterCallback = ({ label }: { label: string }) => {\n return label.toLowerCase().includes(value.toString().toLowerCase());\n };\n\n const finalResults = suggestions?.filter(filter || defaultFilterCallback) || [];\n\n const { onKeyDown } = useKeyNavigation({\n isOpen,\n setIsOpen,\n focused,\n dispatchFocused,\n finalResults,\n handleItemClick,\n });\n\n useDidMountEffect(() => {\n dispatchFocused({ type: 'reset' });\n }, [value]);\n\n return (\n <Root view={view} size={size} labelPlacement={labelPlacement} disabled={disabled} readOnly={readOnly}>\n <StyledPopover\n opened={isOpen}\n offset={[0, 0]}\n placement={getPlacements('bottom')}\n isFocusTrapped={false}\n usePortal={Boolean(portal)}\n frame={portal}\n target={\n <StyledTextField\n value={value}\n onChange={handleChange}\n onSearch={focused === null ? onSearch : undefined}\n ref={ref}\n size={size}\n view={view}\n labelPlacement={labelPlacement}\n disabled={disabled}\n readOnly={readOnly}\n label={label}\n contentLeft={contentLeft}\n contentRight={contentRight}\n textBefore={textBefore}\n textAfter={textAfter}\n onFocus={handleFocus}\n onKeyDown={onKeyDown}\n role=\"combobox\"\n aria-autocomplete=\"list\"\n aria-controls={listId}\n aria-expanded={isOpen}\n aria-activedescendant={`${listId}/${focused}`}\n aria-describedby={helperTextId}\n hintText={String(hintText || '')}\n {...rest}\n />\n }\n preventOverflow={false}\n ref={targetRef}\n listWidth={listWidth}\n >\n {(renderList && renderList(finalResults)) ||\n (Boolean(finalResults.length) && (\n <Root\n view={view}\n size={size}\n labelPlacement={labelPlacement}\n disabled={disabled}\n readOnly={readOnly}\n >\n <Ul\n id={listId}\n role=\"listbox\"\n aria-label={label}\n onScroll={onScroll}\n listMaxHeight={listMaxHeight}\n >\n {finalResults.map((suggestion, index) => (\n <SuggestionItem\n key={index}\n item={suggestion}\n onClick={handleItemClick}\n id={`${listId}/${index}`}\n focused={focused === index}\n />\n ))}\n\n {renderListEnd && (\n <InfiniteLoaderWrapper>{renderListEnd()}</InfiniteLoaderWrapper>\n )}\n </Ul>\n </Root>\n ))}\n </StyledPopover>\n\n {/* TODO: Дублируем хелпер для корректного позиционирования списка подсказок */}\n {leftHelper && (\n <LeftHelper id={helperTextId} disabled={disabled} readOnly={readOnly}>\n {leftHelper}\n </LeftHelper>\n )}\n </Root>\n );\n },\n );\n\nexport const autocompleteConfig = {\n name: 'Autocomplete',\n tag: 'div',\n layout: autocompleteRoot,\n base,\n defaults: {\n view: 'default',\n size: 'l',\n labelPlacement: 'outer',\n },\n variations: {\n view: {\n css: '',\n },\n },\n};\n"],"names":["autocompleteRoot","Root","forwardRef","_ref","ref","outerValue","value","onChange","suggestions","view","size","labelPlacement","disabled","readOnly","label","leftHelper","contentLeft","contentRight","textBefore","textAfter","onScroll","listMaxHeight","listWidth","portal","filter","onSuggestionSelect","_ref$threshold","threshold","renderList","renderListEnd","onSearch","hintText","rest","_objectWithoutProperties","_excluded","_useReducer","useReducer","focusedReducer","_useReducer2","_slicedToArray","focused","dispatchFocused","_useState","useState","_useState2","innerValue","setInnerValue","_useState3","_useState4","isOpen","setIsOpen","listId","safeUseId","helperTextId","targetRef","useOutsideClick","handleFocus","toString","length","handleItemClick","e","handleChange","currentValue","target","defaultFilterCallback","_ref2","toLowerCase","includes","finalResults","_useKeyNavigation","useKeyNavigation","onKeyDown","useDidMountEffect","type","React","createElement","StyledPopover","opened","offset","placement","getPlacements","isFocusTrapped","usePortal","Boolean","frame","StyledTextField","_extends","undefined","onFocus","role","concat","String","preventOverflow","Ul","id","map","suggestion","index","SuggestionItem","key","item","onClick","InfiniteLoaderWrapper","LeftHelper","autocompleteConfig","name","tag","layout","base","defaults","variations","css"],"mappings":";;;;;;;;;;;;;;;AAaA;AACA;AACA;IACaA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,IAAoD,EAAA;AAAA,EAAA,oBACjFC,UAAU,CACN,UAAAC,IAAA,EA+BIC,GAAG,EACF;AAAA,IAAA,IA9BUC,UAAU,GAAAF,IAAA,CAAjBG,KAAK;MACLC,QAAQ,GAAA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ocomplete.js","sources":["../../../src/components/Autocomplete/Autocomplete.tsx"],"sourcesContent":["import React, { forwardRef, useState, useReducer } from 'react';\nimport { safeUseId } from '@salutejs/plasma-core';\n\nimport { useDidMountEffect, useOutsideClick } from '../../hooks';\nimport { RootProps } from '../../engines';\nimport { getPlacements } from '../../utils';\n\nimport { focusedReducer } from './reducers/focusedReducer';\nimport { SuggestionItem, StyledTextField } from './ui';\nimport { StyledPopover, Ul, LeftHelper, base, InfiniteLoaderWrapper } from './Autocomplete.styles';\nimport type { AutocompleteProps, SuggestionItemType } from './Autocomplete.types';\nimport { useKeyNavigation } from './hooks/useKeyboardNavigation';\n\n/**\n * Компонент Autocomplete. Поле ввода с подсказками в выпадающем списке.\n */\nexport const autocompleteRoot = (Root: RootProps<HTMLInputElement, AutocompleteProps>) =>\n forwardRef<HTMLInputElement, AutocompleteProps>(\n (\n {\n value: outerValue,\n onChange,\n suggestions,\n view,\n size,\n labelPlacement,\n disabled,\n readOnly,\n label,\n leftHelper,\n contentLeft,\n contentRight,\n textBefore,\n textAfter,\n onScroll,\n listMaxHeight,\n listWidth,\n portal,\n filter,\n onSuggestionSelect,\n threshold = 2,\n renderList,\n renderListEnd,\n onSearch,\n\n hintText,\n\n ...rest\n },\n ref,\n ) => {\n const [focused, dispatchFocused] = useReducer(focusedReducer, null);\n const [innerValue, setInnerValue] = useState<string | number>('');\n const [isOpen, setIsOpen] = useState(false);\n\n const listId = safeUseId();\n const value = outerValue ?? innerValue;\n\n const helperTextId = safeUseId();\n\n const targetRef = useOutsideClick<HTMLDivElement>(() => {\n setIsOpen(false);\n });\n\n const handleFocus = () => {\n if (value.toString().length >= threshold) {\n setIsOpen(true);\n }\n };\n\n const handleItemClick = (e: SuggestionItemType) => {\n setInnerValue(e.label);\n\n if (onSuggestionSelect) {\n onSuggestionSelect(e);\n }\n\n setIsOpen(false);\n };\n\n const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n const currentValue = e.target.value;\n\n setInnerValue(currentValue);\n\n if (onChange) {\n onChange(e);\n }\n\n if (currentValue.toString().length >= threshold) {\n setIsOpen(true);\n } else {\n setIsOpen(false);\n }\n };\n\n const defaultFilterCallback = ({ label }: { label: string }) => {\n return label.toLowerCase().includes(value.toString().toLowerCase());\n };\n\n const finalResults = suggestions?.filter(filter || defaultFilterCallback) || [];\n\n const { onKeyDown } = useKeyNavigation({\n isOpen,\n setIsOpen,\n focused,\n dispatchFocused,\n finalResults,\n handleItemClick,\n });\n\n useDidMountEffect(() => {\n dispatchFocused({ type: 'reset' });\n }, [value]);\n\n return (\n <Root view={view} size={size} labelPlacement={labelPlacement} disabled={disabled} readOnly={readOnly}>\n <StyledPopover\n opened={isOpen}\n offset={[0, 0]}\n placement={getPlacements('bottom')}\n isFocusTrapped={false}\n usePortal={Boolean(portal)}\n frame={portal}\n target={\n <StyledTextField\n value={value}\n onChange={handleChange}\n onSearch={focused === null ? onSearch : undefined}\n ref={ref}\n size={size}\n view={view}\n labelPlacement={labelPlacement}\n disabled={disabled}\n readOnly={readOnly}\n label={label}\n contentLeft={contentLeft}\n contentRight={contentRight}\n textBefore={textBefore}\n textAfter={textAfter}\n onFocus={handleFocus}\n onKeyDown={onKeyDown}\n role=\"combobox\"\n aria-autocomplete=\"list\"\n aria-controls={listId}\n aria-expanded={isOpen}\n aria-activedescendant={`${listId}/${focused}`}\n aria-describedby={helperTextId}\n hintText={String(hintText || '')}\n {...rest}\n />\n }\n preventOverflow={false}\n ref={targetRef}\n listWidth={listWidth}\n >\n {(renderList && renderList(finalResults)) ||\n (Boolean(finalResults.length) && (\n <Root\n view={view}\n size={size}\n labelPlacement={labelPlacement}\n disabled={disabled}\n readOnly={readOnly}\n >\n <Ul\n id={listId}\n role=\"listbox\"\n aria-label={label}\n onScroll={onScroll}\n listMaxHeight={listMaxHeight}\n >\n {finalResults.map((suggestion, index) => (\n <SuggestionItem\n key={index}\n item={suggestion}\n onClick={handleItemClick}\n id={`${listId}/${index}`}\n focused={focused === index}\n />\n ))}\n\n {renderListEnd && (\n <InfiniteLoaderWrapper>{renderListEnd()}</InfiniteLoaderWrapper>\n )}\n </Ul>\n </Root>\n ))}\n </StyledPopover>\n\n {/* TODO: Дублируем хелпер для корректного позиционирования списка подсказок */}\n {leftHelper && (\n <LeftHelper id={helperTextId} disabled={disabled} readOnly={readOnly}>\n {leftHelper}\n </LeftHelper>\n )}\n </Root>\n );\n },\n );\n\nexport const autocompleteConfig = {\n name: 'Autocomplete',\n tag: 'div',\n layout: autocompleteRoot,\n base,\n defaults: {\n view: 'default',\n size: 'l',\n labelPlacement: 'outer',\n },\n variations: {\n view: {\n css: '',\n },\n },\n};\n"],"names":["autocompleteRoot","Root","forwardRef","_ref","ref","outerValue","value","onChange","suggestions","view","size","labelPlacement","disabled","readOnly","label","leftHelper","contentLeft","contentRight","textBefore","textAfter","onScroll","listMaxHeight","listWidth","portal","filter","onSuggestionSelect","_ref$threshold","threshold","renderList","renderListEnd","onSearch","hintText","rest","_objectWithoutProperties","_excluded","_useReducer","useReducer","focusedReducer","_useReducer2","_slicedToArray","focused","dispatchFocused","_useState","useState","_useState2","innerValue","setInnerValue","_useState3","_useState4","isOpen","setIsOpen","listId","safeUseId","helperTextId","targetRef","useOutsideClick","handleFocus","toString","length","handleItemClick","e","handleChange","currentValue","target","defaultFilterCallback","_ref2","toLowerCase","includes","finalResults","_useKeyNavigation","useKeyNavigation","onKeyDown","useDidMountEffect","type","React","createElement","StyledPopover","opened","offset","placement","getPlacements","isFocusTrapped","usePortal","Boolean","frame","StyledTextField","_extends","undefined","onFocus","role","concat","String","preventOverflow","Ul","id","map","suggestion","index","SuggestionItem","key","item","onClick","InfiniteLoaderWrapper","LeftHelper","autocompleteConfig","name","tag","layout","base","defaults","variations","css"],"mappings":";;;;;;;;;;;;;;AAaA;AACA;AACA;IACaA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,IAAoD,EAAA;AAAA,EAAA,oBACjFC,UAAU,CACN,UAAAC,IAAA,EA+BIC,GAAG,E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A,GAAG,EAAE,EAAA;AACT,KAAA;AACJ,GAAA;AACJ;;;;"}
@@ -1,9 +1,8 @@
1
1
  import './Autocomplete.styles_192fzgs.css';
2
2
  import { styled } from '@linaria/react';
3
- import { popoverConfig } from '../Popover/Popover.js';
4
- import '@linaria/core';
5
- import { component } from '../../engines/common.js';
6
3
  import { tokens } from './Autocomplete.tokens.js';
4
+ import { component } from '../../engines/common.js';
5
+ import { popoverConfig } from '../Popover/Popover.js';
7
6
 
8
7
  var base = "bn6ooh7";
9
8
  var Popover = /*#__PURE__*/component(popoverConfig);
@@ -1 +1 @@
1
- {"version":3,"file":"Autocomplete.styles.js","sources":["../../../src/components/Autocomplete/Autocomplete.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { css } from '@linaria/core';\n\nimport { popoverClasses, popoverConfig } from '../Popover';\nimport { component } from '../../engines';\n\nimport { AutocompleteProps } from './Autocomplete.types';\nimport { tokens } from './Autocomplete.tokens';\n\nexport const base = css`\n .${popoverClasses.wrapper}, .${popoverClasses.target} {\n display: block;\n }\n`;\n\nconst Popover = component(popoverConfig);\n\nexport const StyledPopover = styled(Popover)<{ listWidth: AutocompleteProps['listWidth'] }>`\n .${String(popoverClasses.root)} {\n display: block;\n width: ${({ listWidth }) => listWidth || '100%'};\n }\n`;\n\nexport const Ul = styled.ul<{\n listMaxHeight: AutocompleteProps['listMaxHeight'];\n}>`\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 height: auto;\n max-height: ${({ listMaxHeight }) => listMaxHeight || 'none'};\n overflow-y: scroll;\n border: var(${tokens.dropdownBorderWidth}) solid var(${tokens.dropdownBorderColor});\n\n margin: 0;\n padding: var(${tokens.padding});\n`;\n\nexport const LeftHelper = styled.div<{\n disabled: AutocompleteProps['disabled'];\n readOnly: AutocompleteProps['readOnly'];\n}>`\n color: ${({ readOnly, disabled }) =>\n readOnly && !disabled\n ? `var(${tokens.textFieldLeftHelperColorReadOnly})`\n : `var(${tokens.textFieldLeftHelperColor})`};\n margin-top: var(${tokens.textFieldLeftHelperOffset});\n\n font-family: var(${tokens.textFieldLeftHelperFontFamily});\n font-size: var(${tokens.textFieldLeftHelperFontSize});\n font-style: var(${tokens.textFieldLeftHelperFontStyle});\n font-weight: var(${tokens.textFieldLeftHelperFontWeight});\n letter-spacing: var(${tokens.textFieldLeftHelperLetterSpacing});\n line-height: var(${tokens.textFieldLeftHelperLineHeight});\n\n opacity: var(${tokens.textFieldDisabledOpacity});\n cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'auto')};\n`;\n\nexport const InfiniteLoaderWrapper = styled.li`\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: content-box;\n min-height: var(${tokens.textFieldHeight});\n`;\n"],"names":["base","Popover","component","popoverConfig","_exp3","_exp5","_ref","listWidth","StyledPopover","styled","name","class","propsAsIs","vars","_exp9","_ref2","listMaxHeight","Ul","_exp13","_ref3","readOnly","disabled","concat","tokens","textFieldLeftHelperColorReadOnly","textFieldLeftHelperColor","_exp22","_ref4","LeftHelper","InfiniteLoaderWrapper"],"mappings":";;;;;;AASO,IAAMA,IAAI,GAIhB,UAAA;AAED,IAAMC,OAAO,gBAAGC,SAAS,CAACC,aAAa,CAAC,CAAA;AAAC,IAAAC,KAAA,GAdvBA,SAcuBA,KAAAA,GAAA;AAAA,EAAA,OAELH,OAAO,CAAA;AAAA,CAAA,CAAA;AAAA,IAAAI,KAAA,GAhBzBA,SAgByBA,KAAAA,GAAA;AAAA,EAAA,OAG1B,UAAAC,IAAA,EAAA;AAAA,IAAA,IAAGC,SAAAA,GAAAA,IAAAA,CAAAA,SAAAA,CAAAA;IAAAA,OAAgBA,SAAS,IAAI,MAAM,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAHhD,IAAMC,aAAa,gBAAGC,MAAM,CAAAL,KAAA,EAAA,CAAA,CAAA;AAAAM,EAAAA,IAAA,EAAA,eAAA;AAA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A,QAAQ,GAAG,aAAa,GAAG,MAAO,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAlB5D,IAAMO,UAAU,gBAAGnB,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAAC,EAAAA,IAAA,EAAA;AAAA,IAAA,YAAA,EAAA,cAInBK,MAG0C,EAAA,CAAA;AAAA,IAAA,YAAA,EAAA,cAWzCQ,MAAqD,EAAA,CAAA;AAAA,GAAA;AAAA,CAClE,EAAA;AAEM,IAAMG,qBAAqB,gBAAGpB,MAAM,CAAA,IAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,uBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAM1C;;;;"}
1
+ {"version":3,"file":"Autocomplete.styles.js","sources":["../../../src/components/Autocomplete/Autocomplete.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { css } from '@linaria/core';\n\nimport { popoverClasses, popoverConfig } from '../Popover';\nimport { component } from '../../engines';\n\nimport { AutocompleteProps } from './Autocomplete.types';\nimport { tokens } from './Autocomplete.tokens';\n\nexport const base = css`\n .${popoverClasses.wrapper}, .${popoverClasses.target} {\n display: block;\n }\n`;\n\nconst Popover = component(popoverConfig);\n\nexport const StyledPopover = styled(Popover)<{ listWidth: AutocompleteProps['listWidth'] }>`\n .${String(popoverClasses.root)} {\n display: block;\n width: ${({ listWidth }) => listWidth || '100%'};\n }\n`;\n\nexport const Ul = styled.ul<{\n listMaxHeight: AutocompleteProps['listMaxHeight'];\n}>`\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 height: auto;\n max-height: ${({ listMaxHeight }) => listMaxHeight || 'none'};\n overflow-y: scroll;\n border: var(${tokens.dropdownBorderWidth}) solid var(${tokens.dropdownBorderColor});\n\n margin: 0;\n padding: var(${tokens.padding});\n`;\n\nexport const LeftHelper = styled.div<{\n disabled: AutocompleteProps['disabled'];\n readOnly: AutocompleteProps['readOnly'];\n}>`\n color: ${({ readOnly, disabled }) =>\n readOnly && !disabled\n ? `var(${tokens.textFieldLeftHelperColorReadOnly})`\n : `var(${tokens.textFieldLeftHelperColor})`};\n margin-top: var(${tokens.textFieldLeftHelperOffset});\n\n font-family: var(${tokens.textFieldLeftHelperFontFamily});\n font-size: var(${tokens.textFieldLeftHelperFontSize});\n font-style: var(${tokens.textFieldLeftHelperFontStyle});\n font-weight: var(${tokens.textFieldLeftHelperFontWeight});\n letter-spacing: var(${tokens.textFieldLeftHelperLetterSpacing});\n line-height: var(${tokens.textFieldLeftHelperLineHeight});\n\n opacity: var(${tokens.textFieldDisabledOpacity});\n cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'auto')};\n`;\n\nexport const InfiniteLoaderWrapper = styled.li`\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: content-box;\n min-height: var(${tokens.textFieldHeight});\n`;\n"],"names":["base","Popover","component","popoverConfig","_exp3","_exp5","_ref","listWidth","StyledPopover","styled","name","class","propsAsIs","vars","_exp9","_ref2","listMaxHeight","Ul","_exp13","_ref3","readOnly","disabled","concat","tokens","textFieldLeftHelperColorReadOnly","textFieldLeftHelperColor","_exp22","_ref4","LeftHelper","InfiniteLoaderWrapper"],"mappings":";;;;;AASO,IAAMA,IAAI,GAIhB,UAAA;AAED,IAAMC,OAAO,gBAAGC,SAAS,CAACC,aAAa,CAAC,CAAA;AAAC,IAAAC,KAAA,GAdvBA,SAcuBA,KAAAA,GAAA;AAAA,EAAA,OAELH,OAAO,CAAA;AAAA,CAAA,CAAA;AAAA,IAAAI,KAAA,GAhBzBA,SAgByBA,KAAAA,GAAA;AAAA,EAAA,OAG1B,UAAAC,IAAA,EAAA;AAAA,IAAA,IAAGC,SAAAA,GAAAA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AAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAAA,IAAAC,MAAA,GAhDrCA,SAgDqCA,MAAAA,GAAA;AAAA,EAAA,OAWzC,UAAAC,KAAA,EAAA;AAAA,IAAA,IAAGN,QAAAA,GAAAA,KAAAA,CAAAA,QAAAA,CAAAA;AAAAA,IAAAA,OAAgBA,QAAQ,GAAG,aAAa,GAAG,MAAO,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAlB5D,IAAMO,UAAU,gBAAGnB,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAAC,EAAAA,IAAA,EAAA;AAAA,IAAA,YAAA,EAAA,cAInBK,MAG0C,EAAA,CAAA;AAAA,IAAA,YAAA,EAAA,cAWzCQ,MAAqD,EAAA,CAAA;AAAA,GAAA;AAAA,CAClE,EAAA;AAEM,IAAMG,qBAAqB,gBAAGpB,MAAM,CAAA,IAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,uBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAM1C;;;;"}
@@ -62,6 +62,7 @@ var tokens = {
62
62
  textFieldDisabledOpacity: '--plasma-autocomplete-textfield-disabled-opacity',
63
63
  textFieldFocusColor: '--plasma-autocomplete-textfield-focus-color',
64
64
  textFieldContentSlotColor: '--plasma-autocomplete-content-color',
65
+ textFieldContentSlotRightColor: '--plasma-autocomplete-content-right-color',
65
66
  // Токены для дропдауна
66
67
  background: '--plasma-autocomplete-background',
67
68
  boxShadow: '--plasma-autocomplete-box-shadow',
@@ -1 +1 @@
1
- {"version":3,"file":"Autocomplete.tokens.js","sources":["../../../src/components/Autocomplete/Autocomplete.tokens.ts"],"sourcesContent":["export const classes = {\n suggestionItemIsFocused: 'suggestion-item-is-focused',\n};\n\nexport const tokens = {\n // Токены для TextField\n textFieldColor: '--plasma-autocomplete-textfield-color',\n textFieldPlaceholderColorFocus: '--plasma-autocomplete-textfield__placeholder-color-focus',\n textFieldBackgroundColor: '--plasma-autocomplete-textfield-background-color',\n textFieldBackgroundColorHover: '--plasma-autocomplete-textfield-background-color-hover',\n textFieldBackgroundColorFocus: '--plasma-autocomplete-textfield-background-color-focus',\n textFieldBorderColor: '--plasma-autocomplete-textfield-border-color',\n textFieldBorderColorHover: '--plasma-autocomplete-textfield-border-color-hover',\n textFieldBorderColorFocus: '--plasma-autocomplete-textfield-border-color-focus',\n textFieldColorReadOnly: '--plasma-autocomplete-textfield-color-readonly',\n textFieldBackgroundColorReadOnly: '--plasma-autocomplete-textfield-bg-color-readonly',\n textFieldBorderColorReadOnly: '--plasma-autocomplete-textfield-border-color-readonly',\n textFieldPlaceholderColorReadOnly: '--plasma-autocomplete-textfield__placeholder-color-readonly',\n textFieldCaretColor: '--plasma-autocomplete-textfield-caret-color',\n textFieldPlaceholderColor: '--plasma-autocomplete-textfield-placeholder-color',\n textFieldHeight: '--plasma-autocomplete-textfield-height',\n textFieldBorderWidth: '--plasma-autocomplete-textfield-border-width',\n textFieldBorderRadius: '--plasma-autocomplete-textfield-border-radius',\n textFieldPadding: '--plasma-autocomplete-textfield-padding',\n textFieldLeftContentMargin: '--plasma-autocomplete-textfield__left-content-margin',\n textFieldRightContentMargin: '--plasma-autocomplete-textfield__right-content-margin',\n textFieldFontFamily: '--plasma-autocomplete-textfield-font-family',\n textFieldFontStyle: '--plasma-autocomplete-textfield-font-style',\n textFieldFontSize: '--plasma-autocomplete-textfield-font-size',\n textFieldFontWeight: '--plasma-autocomplete-textfield-font-weight',\n textFieldLetterSpacing: '--plasma-autocomplete-textfield-letter-spacing',\n textFieldLineHeight: '--plasma-autocomplete-textfield-line-height',\n textFieldLabelColor: '--plasma-autocomplete-textfield-label-color',\n textFieldLabelColorReadOnly: '--plasma-autocomplete-textfield__label-color-readonly',\n textFieldLabelOffset: '--plasma-autocomplete-textfield__label-offset',\n textFieldLabelFontFamily: '--plasma-autocomplete-textfield__label-font-family',\n textFieldLabelFontStyle: '--plasma-autocomplete-textfield__label-font-style',\n textFieldLabelFontSize: '--plasma-autocomplete-textfield__label-font-size',\n textFieldLabelFontWeight: '--plasma-autocomplete-textfield__label-font-weight',\n textFieldLabelLetterSpacing: '--plasma-autocomplete-textfield__label-letter-spacing',\n textFieldLabelLineHeight: '--plasma-autocomplete-textfield__label-line-height',\n textFieldLabelInnerFontFamily: '--plasma-autocomplete-textfield-placement_inner__label-font-family',\n textFieldLabelInnerFontStyle: '--plasma-autocomplete-textfield-placement_inner__label-font-style',\n textFieldLabelInnerFontSize: '--plasma-autocomplete-textfield-placement_inner__label-font-size',\n textFieldLabelInnerFontWeight: '--plasma-autocomplete-textfield-placement_inner__label-font-weight',\n textFieldLabelInnerLetterSpacing: '--plasma-autocomplete-textfield-placement_inner__label-letter-spacing',\n textFieldLabelInnerLineHeight: '--plasma-autocomplete-textfield-placement_inner__label-line-height',\n textFieldLabelInnerPadding: '--plasma-autocomplete-textfield-placement_inner__label-padding',\n textFieldContentLabelInnerPadding: '--plasma-autocomplete-textfield-placement_inner__content-padding',\n textFieldLeftHelperColor: '--plasma-autocomplete-textfield__left-helper-color',\n textFieldLeftHelperColorReadOnly: '--plasma-autocomplete-textfield__left-helper-color-readonly',\n textFieldLeftHelperOffset: '--plasma-autocomplete-textfield__left-helper-offset',\n textFieldLeftHelperFontFamily: '--plasma-autocomplete-textfield__left-helper-font-family',\n textFieldLeftHelperFontStyle: '--plasma-autocomplete-textfield__left-helper-font-style',\n textFieldLeftHelperFontSize: '--plasma-autocomplete-textfield__left-helper-font-size',\n textFieldLeftHelperFontWeight: '--plasma-autocomplete-textfield__left-helper-font-weight',\n textFieldLeftHelperLetterSpacing: '--plasma-autocomplete-textfield__left-helper-letter-spacing',\n textFieldLeftHelperLineHeight: '--plasma-autocomplete-textfield__left-helper-line-height',\n textFieldTextBeforeColor: '--plasma-autocomplete-textfield__before-text-color',\n textFieldTextAfterColor: '--plasma-autocomplete-textfield__after-text-color',\n textFieldTextBeforeMargin: '--plasma-autocomplete-textfield__before-text-margin',\n textFieldTextAfterMargin: '--plasma-autocomplete-textfield__after-text-margin',\n textFieldDisabledOpacity: '--plasma-autocomplete-textfield-disabled-opacity',\n textFieldFocusColor: '--plasma-autocomplete-textfield-focus-color',\n textFieldContentSlotColor: '--plasma-autocomplete-content-color',\n\n // Токены для дропдауна\n background: '--plasma-autocomplete-background',\n boxShadow: '--plasma-autocomplete-box-shadow',\n borderRadius: '--plasma-autocomplete-border-radius',\n padding: '--plasma-autocomplete-padding',\n\n dropdownBorderColor: '--plasma-select-dropdown-border-color',\n dropdownBorderWidth: '--plasma-select-dropdown-border-width',\n\n itemPadding: '--plasma-autocomplete-item-padding',\n itemBorderRadius: '--plasma-autocomplete-item-border-radius',\n\n itemFontFamily: '--plasma-autocomplete-item-font-family',\n itemFontSize: '--plasma-autocomplete-item-font-size',\n itemFontStyle: '--plasma-autocomplete-item-font-style',\n itemFontWeight: '--plasma-autocomplete-item-font-weight',\n itemFontLetterSpacing: '--plasma-autocomplete-item-font-letter-spacing',\n itemFontLineHeight: '--plasma-autocomplete-item-font-line-height',\n\n itemBackground: '--plasma-autocomplete-item-background',\n itemBackgroundHover: '--plasma-autocomplete-item-background-hover',\n itemColor: '--plasma-autocomplete-item-color',\n\n focusColor: '--plasma-autocomplete-focus-color',\n\n infiniteLoaderSpinnerColor: '--plasma-autocomplete-infinite-loader-spinner-color',\n infiniteLoaderSpinnerSize: '--plasma-autocomplete-infinite-loader-spinner-size',\n infiniteLoaderGap: '--plasma-autocomplete-infinite-loader-gap',\n\n emptyStateGap: '--plasma-autocomplete-empty-state-gap',\n emptyStatePadding: '--plasma-autocomplete-empty-state-padding',\n};\n"],"names":["classes","suggestionItemIsFocused","tokens","textFieldColor","textFieldPlaceholderColorFocus","textFieldBackgroundColor","textFieldBackgroundColorHover","textFieldBackgroundColorFocus","textFieldBorderColor","textFieldBorderColorHover","textFieldBorderColorFocus","textFieldColorReadOnly","textFieldBackgroundColorReadOnly","textFieldBorderColorReadOnly","textFieldPlaceholderColorReadOnly","textFieldCaretColor","textFieldPlaceholderColor","textFieldHeight","textFieldBorderWidth","textFieldBorderRadius","textFieldPadding","textFieldLeftContentMargin","textFieldRightContentMargin","textFieldFontFamily","textFieldFontStyle","textFieldFontSize","textFieldFontWeight","textFieldLetterSpacing","textFieldLineHeight","textFieldLabelColor","textFieldLabelColorReadOnly","textFieldLabelOffset","textFieldLabelFontFamily","textFieldLabelFontStyle","textFieldLabelFontSize","textFieldLabelFontWeight","textFieldLabelLetterSpacing","textFieldLabelLineHeight","textFieldLabelInnerFontFamily","textFieldLabelInnerFontStyle","textFieldLabelInnerFontSize","textFieldLabelInnerFontWeight","textFieldLabelInnerLetterSpacing","textFieldLabelInnerLineHeight","textFieldLabelInnerPadding","textFieldContentLabelInnerPadding","textFieldLeftHelperColor","textFieldLeftHelperColorReadOnly","textFieldLeftHelperOffset","textFieldLeftHelperFontFamily","textFieldLeftHelperFontStyle","textFieldLeftHelperFontSize","textFieldLeftHelperFontWeight","textFieldLeftHelperLetterSpacing","textFieldLeftHelperLineHeight","textFieldTextBeforeColor","textFieldTextAfterColor","textFieldTextBeforeMargin","textFieldTextAfterMargin","textFieldDisabledOpacity","textFieldFocusColor","textFieldContentSlotColor","background","boxShadow","borderRadius","padding","dropdownBorderColor","dropdownBorderWidth","itemPadding","itemBorderRadius","itemFontFamily","itemFontSize","itemFontStyle","itemFontWeight","itemFontLetterSpacing","itemFontLineHeight","itemBackground","itemBackgroundHover","itemColor","focusColor","infiniteLoaderSpinnerColor","infiniteLoaderSpinnerSize","infiniteLoaderGap","emptyStateGap","emptyStatePadding"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,uBAAuB,EAAE,4BAAA;AAC7B,EAAC;AAEM,IAAMC,MAAM,GAAG;AAClB;AACAC,EAAAA,cAAc,EAAE,uCAA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gBAAgB,EAAE,0CAA0C;AAE5DC,EAAAA,cAAc,EAAE,wCAAwC;AACxDC,EAAAA,YAAY,EAAE,sCAAsC;AACpDC,EAAAA,aAAa,EAAE,uCAAuC;AACtDC,EAAAA,cAAc,EAAE,wCAAwC;AACxDC,EAAAA,qBAAqB,EAAE,gDAAgD;AACvEC,EAAAA,kBAAkB,EAAE,6CAA6C;AAEjEC,EAAAA,cAAc,EAAE,uCAAuC;AACvDC,EAAAA,mBAAmB,EAAE,6CAA6C;AAClEC,EAAAA,SAAS,EAAE,kCAAkC;AAE7CC,EAAAA,UAAU,EAAE,mCAAmC;AAE/CC,EAAAA,0BAA0B,EAAE,qDAAqD;AACjFC,EAAAA,yBAAyB,EAAE,oDAAoD;AAC/EC,EAAAA,iBAAiB,EAAE,2CAA2C;AAE9DC,EAAAA,aAAa,EAAE,uCAAuC;AACtDC,EAAAA,iBAAiB,EAAE,2CAAA;AACvB;;;;"}
1
+ {"version":3,"file":"Autocomplete.tokens.js","sources":["../../../src/components/Autocomplete/Autocomplete.tokens.ts"],"sourcesContent":["export const classes = {\n suggestionItemIsFocused: 'suggestion-item-is-focused',\n};\n\nexport const tokens = {\n // Токены для TextField\n textFieldColor: '--plasma-autocomplete-textfield-color',\n textFieldPlaceholderColorFocus: '--plasma-autocomplete-textfield__placeholder-color-focus',\n textFieldBackgroundColor: '--plasma-autocomplete-textfield-background-color',\n textFieldBackgroundColorHover: '--plasma-autocomplete-textfield-background-color-hover',\n textFieldBackgroundColorFocus: '--plasma-autocomplete-textfield-background-color-focus',\n textFieldBorderColor: '--plasma-autocomplete-textfield-border-color',\n textFieldBorderColorHover: '--plasma-autocomplete-textfield-border-color-hover',\n textFieldBorderColorFocus: '--plasma-autocomplete-textfield-border-color-focus',\n textFieldColorReadOnly: '--plasma-autocomplete-textfield-color-readonly',\n textFieldBackgroundColorReadOnly: '--plasma-autocomplete-textfield-bg-color-readonly',\n textFieldBorderColorReadOnly: '--plasma-autocomplete-textfield-border-color-readonly',\n textFieldPlaceholderColorReadOnly: '--plasma-autocomplete-textfield__placeholder-color-readonly',\n textFieldCaretColor: '--plasma-autocomplete-textfield-caret-color',\n textFieldPlaceholderColor: '--plasma-autocomplete-textfield-placeholder-color',\n textFieldHeight: '--plasma-autocomplete-textfield-height',\n textFieldBorderWidth: '--plasma-autocomplete-textfield-border-width',\n textFieldBorderRadius: '--plasma-autocomplete-textfield-border-radius',\n textFieldPadding: '--plasma-autocomplete-textfield-padding',\n textFieldLeftContentMargin: '--plasma-autocomplete-textfield__left-content-margin',\n textFieldRightContentMargin: '--plasma-autocomplete-textfield__right-content-margin',\n textFieldFontFamily: '--plasma-autocomplete-textfield-font-family',\n textFieldFontStyle: '--plasma-autocomplete-textfield-font-style',\n textFieldFontSize: '--plasma-autocomplete-textfield-font-size',\n textFieldFontWeight: '--plasma-autocomplete-textfield-font-weight',\n textFieldLetterSpacing: '--plasma-autocomplete-textfield-letter-spacing',\n textFieldLineHeight: '--plasma-autocomplete-textfield-line-height',\n textFieldLabelColor: '--plasma-autocomplete-textfield-label-color',\n textFieldLabelColorReadOnly: '--plasma-autocomplete-textfield__label-color-readonly',\n textFieldLabelOffset: '--plasma-autocomplete-textfield__label-offset',\n textFieldLabelFontFamily: '--plasma-autocomplete-textfield__label-font-family',\n textFieldLabelFontStyle: '--plasma-autocomplete-textfield__label-font-style',\n textFieldLabelFontSize: '--plasma-autocomplete-textfield__label-font-size',\n textFieldLabelFontWeight: '--plasma-autocomplete-textfield__label-font-weight',\n textFieldLabelLetterSpacing: '--plasma-autocomplete-textfield__label-letter-spacing',\n textFieldLabelLineHeight: '--plasma-autocomplete-textfield__label-line-height',\n textFieldLabelInnerFontFamily: '--plasma-autocomplete-textfield-placement_inner__label-font-family',\n textFieldLabelInnerFontStyle: '--plasma-autocomplete-textfield-placement_inner__label-font-style',\n textFieldLabelInnerFontSize: '--plasma-autocomplete-textfield-placement_inner__label-font-size',\n textFieldLabelInnerFontWeight: '--plasma-autocomplete-textfield-placement_inner__label-font-weight',\n textFieldLabelInnerLetterSpacing: '--plasma-autocomplete-textfield-placement_inner__label-letter-spacing',\n textFieldLabelInnerLineHeight: '--plasma-autocomplete-textfield-placement_inner__label-line-height',\n textFieldLabelInnerPadding: '--plasma-autocomplete-textfield-placement_inner__label-padding',\n textFieldContentLabelInnerPadding: '--plasma-autocomplete-textfield-placement_inner__content-padding',\n textFieldLeftHelperColor: '--plasma-autocomplete-textfield__left-helper-color',\n textFieldLeftHelperColorReadOnly: '--plasma-autocomplete-textfield__left-helper-color-readonly',\n textFieldLeftHelperOffset: '--plasma-autocomplete-textfield__left-helper-offset',\n textFieldLeftHelperFontFamily: '--plasma-autocomplete-textfield__left-helper-font-family',\n textFieldLeftHelperFontStyle: '--plasma-autocomplete-textfield__left-helper-font-style',\n textFieldLeftHelperFontSize: '--plasma-autocomplete-textfield__left-helper-font-size',\n textFieldLeftHelperFontWeight: '--plasma-autocomplete-textfield__left-helper-font-weight',\n textFieldLeftHelperLetterSpacing: '--plasma-autocomplete-textfield__left-helper-letter-spacing',\n textFieldLeftHelperLineHeight: '--plasma-autocomplete-textfield__left-helper-line-height',\n textFieldTextBeforeColor: '--plasma-autocomplete-textfield__before-text-color',\n textFieldTextAfterColor: '--plasma-autocomplete-textfield__after-text-color',\n textFieldTextBeforeMargin: '--plasma-autocomplete-textfield__before-text-margin',\n textFieldTextAfterMargin: '--plasma-autocomplete-textfield__after-text-margin',\n textFieldDisabledOpacity: '--plasma-autocomplete-textfield-disabled-opacity',\n textFieldFocusColor: '--plasma-autocomplete-textfield-focus-color',\n textFieldContentSlotColor: '--plasma-autocomplete-content-color',\n textFieldContentSlotRightColor: '--plasma-autocomplete-content-right-color',\n\n // Токены для дропдауна\n background: '--plasma-autocomplete-background',\n boxShadow: '--plasma-autocomplete-box-shadow',\n borderRadius: '--plasma-autocomplete-border-radius',\n padding: '--plasma-autocomplete-padding',\n\n dropdownBorderColor: '--plasma-select-dropdown-border-color',\n dropdownBorderWidth: '--plasma-select-dropdown-border-width',\n\n itemPadding: '--plasma-autocomplete-item-padding',\n itemBorderRadius: '--plasma-autocomplete-item-border-radius',\n\n itemFontFamily: '--plasma-autocomplete-item-font-family',\n itemFontSize: '--plasma-autocomplete-item-font-size',\n itemFontStyle: '--plasma-autocomplete-item-font-style',\n itemFontWeight: '--plasma-autocomplete-item-font-weight',\n itemFontLetterSpacing: '--plasma-autocomplete-item-font-letter-spacing',\n itemFontLineHeight: '--plasma-autocomplete-item-font-line-height',\n\n itemBackground: '--plasma-autocomplete-item-background',\n itemBackgroundHover: '--plasma-autocomplete-item-background-hover',\n itemColor: '--plasma-autocomplete-item-color',\n\n focusColor: '--plasma-autocomplete-focus-color',\n\n infiniteLoaderSpinnerColor: '--plasma-autocomplete-infinite-loader-spinner-color',\n infiniteLoaderSpinnerSize: '--plasma-autocomplete-infinite-loader-spinner-size',\n infiniteLoaderGap: '--plasma-autocomplete-infinite-loader-gap',\n\n emptyStateGap: '--plasma-autocomplete-empty-state-gap',\n emptyStatePadding: '--plasma-autocomplete-empty-state-padding',\n};\n"],"names":["classes","suggestionItemIsFocused","tokens","textFieldColor","textFieldPlaceholderColorFocus","textFieldBackgroundColor","textFieldBackgroundColorHover","textFieldBackgroundColorFocus","textFieldBorderColor","textFieldBorderColorHover","textFieldBorderColorFocus","textFieldColorReadOnly","textFieldBackgroundColorReadOnly","textFieldBorderColorReadOnly","textFieldPlaceholderColorReadOnly","textFieldCaretColor","textFieldPlaceholderColor","textFieldHeight","textFieldBorderWidth","textFieldBorderRadius","textFieldPadding","textFieldLeftContentMargin","textFieldRightContentMargin","textFieldFontFamily","textFieldFontStyle","textFieldFontSize","textFieldFontWeight","textFieldLetterSpacing","textFieldLineHeight","textFieldLabelColor","textFieldLabelColorReadOnly","textFieldLabelOffset","textFieldLabelFontFamily","textFieldLabelFontStyle","textFieldLabelFontSize","textFieldLabelFontWeight","textFieldLabelLetterSpacing","textFieldLabelLineHeight","textFieldLabelInnerFontFamily","textFieldLabelInnerFontStyle","textFieldLabelInnerFontSize","textFieldLabelInnerFontWeight","textFieldLabelInnerLetterSpacing","textFieldLabelInnerLineHeight","textFieldLabelInnerPadding","textFieldContentLabelInnerPadding","textFieldLeftHelperColor","textFieldLeftHelperColorReadOnly","textFieldLeftHelperOffset","textFieldLeftHelperFontFamily","textFieldLeftHelperFontStyle","textFieldLeftHelperFontSize","textFieldLeftHelperFontWeight","textFieldLeftHelperLetterSpacing","textFieldLeftHelperLineHeight","textFieldTextBeforeColor","textFieldTextAfterColor","textFieldTextBeforeMargin","textFieldTextAfterMargin","textFieldDisabledOpacity","textFieldFocusColor","textFieldContentSlotColor","textFieldContentSlotRightColor","background","boxShadow","borderRadius","padding","dropdownBorderColor","dropdownBorderWidth","itemPadding","itemBorderRadius","itemFontFamily","itemFontSize","itemFontStyle","itemFontWeight","itemFontLetterSpacing","itemFontLineHeight","itemBackground","itemBackgroundHover","itemColor","focusColor","infiniteLoaderSpinnerColor","infiniteLoaderSpinnerSize","infiniteLoaderGap","emptyStateGap","emptyStatePadding"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,uBAAuB,EAAE,4BAAA;AAC7B,EAAC;AAEM,IAAMC,MAAM,GAAG;AAClB;AACAC,EAAAA,cAAc,EAAE,uCAAuC;AACvDC,EAAAA,8BAA8B,EAAE,0DAA0D;AAC1FC,EAAAA,wBAAwB,EAAE,kDAAkD;AAC5EC,EAAAA,6BAA6B,EAAE,wDAAwD;AACvFC,EAAAA,6BAA6B,EAAE,wDAAwD;AACvFC,EAAAA,oBAAoB,EAAE,8CAA8C;AACpEC,EAAAA,yBAAyB,EAAE,oDAAoD;AAC/EC,EAAAA,yBAAyB,EAAE,oDAAoD;AAC/EC,EAAAA,sBAAsB,EAAE,gDAAgD;AACxEC,EAAAA,gCAAgC,EAAE,mDAAmD;AACrFC,EAAAA,4BAA4B,EAAE,uDAAuD;AACrFC,EAAAA,iCAAiC,EAAE,6DAA6D;AAChGC,EAAAA,mBAAmB,EAAE,6C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qDAAqD;AACjFC,EAAAA,yBAAyB,EAAE,oDAAoD;AAC/EC,EAAAA,iBAAiB,EAAE,2CAA2C;AAE9DC,EAAAA,aAAa,EAAE,uCAAuC;AACtDC,EAAAA,iBAAiB,EAAE,2CAAA;AACvB;;;;"}
@@ -1,8 +1,7 @@
1
- import './TextField.styles_1csckkd.css';
1
+ import './TextField.styles_1ye9068.css';
2
2
  import { styled } from '@linaria/react';
3
- import { textFieldConfig } from '../../../TextField/TextField.js';
4
- import '@linaria/core';
5
3
  import { component, mergeConfig } from '../../../../engines/common.js';
4
+ import { textFieldConfig } from '../../../TextField/TextField.js';
6
5
 
7
6
  var mergedConfig = /*#__PURE__*/mergeConfig(textFieldConfig);
8
7
  var TextField = /*#__PURE__*/component(mergedConfig);
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.styles.js","sources":["../../../../../src/components/Autocomplete/ui/TextField/TextField.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { textFieldConfig, textFieldTokens } from '../../../TextField';\nimport { component, mergeConfig } from '../../../../engines';\nimport { tokens as autocompleteTokens } from '../../Autocomplete.tokens';\n\nconst mergedConfig = mergeConfig(textFieldConfig);\nconst TextField = component(mergedConfig);\n\nexport const StyledTextField = styled(TextField)`\n ${textFieldTokens.color}: var(${autocompleteTokens.textFieldColor});\n ${textFieldTokens.placeholderColorFocus}: var(${autocompleteTokens.textFieldPlaceholderColorFocus});\n ${textFieldTokens.backgroundColor}: var(${autocompleteTokens.textFieldBackgroundColor});\n ${textFieldTokens.backgroundColorHover}: var(${autocompleteTokens.textFieldBackgroundColorHover});\n ${textFieldTokens.backgroundColorFocus}: var(${autocompleteTokens.textFieldBackgroundColorFocus});\n ${textFieldTokens.borderColor}: var(${autocompleteTokens.textFieldBorderColor});\n ${textFieldTokens.borderColorHover}: var(${autocompleteTokens.textFieldBorderColorHover});\n ${textFieldTokens.borderColorFocus}: var(${autocompleteTokens.textFieldBorderColorFocus});\n ${textFieldTokens.colorReadOnly}: var(${autocompleteTokens.textFieldColorReadOnly});\n ${textFieldTokens.backgroundColorReadOnly}: var(${autocompleteTokens.textFieldBackgroundColorReadOnly});\n ${textFieldTokens.borderColorReadOnly}: var(${autocompleteTokens.textFieldBorderColorReadOnly});\n ${textFieldTokens.placeholderColorReadOnly}: var(${autocompleteTokens.textFieldPlaceholderColorReadOnly});\n ${textFieldTokens.caretColor}: var(${autocompleteTokens.textFieldCaretColor});\n ${textFieldTokens.placeholderColor}: var(${autocompleteTokens.textFieldPlaceholderColor});\n ${textFieldTokens.height}: var(${autocompleteTokens.textFieldHeight});\n ${textFieldTokens.borderWidth}: var(${autocompleteTokens.textFieldBorderWidth});\n ${textFieldTokens.borderRadius}: var(${autocompleteTokens.textFieldBorderRadius});\n ${textFieldTokens.padding}: var(${autocompleteTokens.textFieldPadding});\n ${textFieldTokens.leftContentMargin}: var(${autocompleteTokens.textFieldLeftContentMargin});\n ${textFieldTokens.rightContentMargin}: var(${autocompleteTokens.textFieldRightContentMargin});\n ${textFieldTokens.fontFamily}: var(${autocompleteTokens.textFieldFontFamily});\n ${textFieldTokens.fontStyle}: var(${autocompleteTokens.textFieldFontStyle});\n ${textFieldTokens.fontSize}: var(${autocompleteTokens.textFieldFontSize});\n ${textFieldTokens.fontWeight}: var(${autocompleteTokens.textFieldFontWeight});\n ${textFieldTokens.letterSpacing}: var(${autocompleteTokens.textFieldLetterSpacing});\n ${textFieldTokens.lineHeight}: var(${autocompleteTokens.textFieldLineHeight});\n ${textFieldTokens.labelColor}: var(${autocompleteTokens.textFieldLabelColor});\n ${textFieldTokens.labelColorReadOnly}: var(${autocompleteTokens.textFieldLabelColorReadOnly});\n ${textFieldTokens.labelOffset}: var(${autocompleteTokens.textFieldLabelOffset});\n ${textFieldTokens.labelFontFamily}: var(${autocompleteTokens.textFieldLabelFontFamily});\n ${textFieldTokens.labelFontStyle}: var(${autocompleteTokens.textFieldLabelFontStyle});\n ${textFieldTokens.labelFontSize}: var(${autocompleteTokens.textFieldLabelFontSize});\n ${textFieldTokens.labelFontWeight}: var(${autocompleteTokens.textFieldLabelFontWeight});\n ${textFieldTokens.labelLetterSpacing}: var(${autocompleteTokens.textFieldLabelLetterSpacing});\n ${textFieldTokens.labelLineHeight}: var(${autocompleteTokens.textFieldLabelLineHeight});\n ${textFieldTokens.labelInnerFontFamily}: var(${autocompleteTokens.textFieldLabelInnerFontFamily});\n ${textFieldTokens.labelInnerFontStyle}: var(${autocompleteTokens.textFieldLabelInnerFontStyle});\n ${textFieldTokens.labelInnerFontSize}: var(${autocompleteTokens.textFieldLabelInnerFontSize});\n ${textFieldTokens.labelInnerFontWeight}: var(${autocompleteTokens.textFieldLabelInnerFontWeight});\n ${textFieldTokens.labelInnerLetterSpacing}: var(${autocompleteTokens.textFieldLabelInnerLetterSpacing});\n ${textFieldTokens.labelInnerLineHeight}: var(${autocompleteTokens.textFieldLabelInnerLineHeight});\n ${textFieldTokens.labelInnerPadding}: var(${autocompleteTokens.textFieldLabelInnerPadding});\n ${textFieldTokens.contentLabelInnerPadding}: var(${autocompleteTokens.textFieldContentLabelInnerPadding});\n ${textFieldTokens.leftHelperColor}: var(${autocompleteTokens.textFieldLeftHelperColor});\n ${textFieldTokens.leftHelperColorReadOnly}: var(${autocompleteTokens.textFieldLeftHelperColorReadOnly});\n ${textFieldTokens.leftHelperOffset}: var(${autocompleteTokens.textFieldLeftHelperOffset});\n ${textFieldTokens.leftHelperFontFamily}: var(${autocompleteTokens.textFieldLeftHelperFontFamily});\n ${textFieldTokens.leftHelperFontStyle}: var(${autocompleteTokens.textFieldLeftHelperFontStyle});\n ${textFieldTokens.leftHelperFontSize}: var(${autocompleteTokens.textFieldLeftHelperFontSize});\n ${textFieldTokens.leftHelperFontWeight}: var(${autocompleteTokens.textFieldLeftHelperFontWeight});\n ${textFieldTokens.leftHelperLetterSpacing}: var(${autocompleteTokens.textFieldLeftHelperLetterSpacing});\n ${textFieldTokens.leftHelperLineHeight}: var(${autocompleteTokens.textFieldLeftHelperLineHeight});\n ${textFieldTokens.textBeforeColor}: var(${autocompleteTokens.textFieldTextBeforeColor});\n ${textFieldTokens.textAfterColor}: var(${autocompleteTokens.textFieldTextAfterColor});\n ${textFieldTokens.textBeforeMargin}: var(${autocompleteTokens.textFieldTextBeforeMargin});\n ${textFieldTokens.textAfterMargin}: var(${autocompleteTokens.textFieldTextAfterMargin});\n ${textFieldTokens.disabledOpacity}: var(${autocompleteTokens.textFieldDisabledOpacity});\n ${textFieldTokens.focusColor}: var(${autocompleteTokens.textFieldFocusColor});\n ${textFieldTokens.contentSlotColor}: var(${autocompleteTokens.textFieldContentSlotColor}, var(${autocompleteTokens.textFieldColor}));\n`;\n"],"names":["mergedConfig","mergeConfig","textFieldConfig","TextField","component","_exp","StyledTextField","styled","name","class","propsAsIs"],"mappings":";;;;;AAMA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,eAAe,CAAC,CAAA;AACjD,IAAMC,SAAS,gBAAGC,SAAS,CAACJ,YAAY,CAAC,CAAA;AAAC,IAAAK,IAAA,GANxBA,SAMwBA,IAAAA,GAAA;AAAA,EAAA,OAEJF,SAAS,CAAA;AAAA,CAAA,CAAA;AAAxC,IAAMG,eAAe,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,iBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CA4DpC;;;;"}
1
+ {"version":3,"file":"TextField.styles.js","sources":["../../../../../src/components/Autocomplete/ui/TextField/TextField.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { textFieldConfig, textFieldTokens } from '../../../TextField';\nimport { component, mergeConfig } from '../../../../engines';\nimport { tokens as autocompleteTokens } from '../../Autocomplete.tokens';\n\nconst mergedConfig = mergeConfig(textFieldConfig);\nconst TextField = component(mergedConfig);\n\nexport const StyledTextField = styled(TextField)`\n ${textFieldTokens.color}: var(${autocompleteTokens.textFieldColor});\n ${textFieldTokens.placeholderColorFocus}: var(${autocompleteTokens.textFieldPlaceholderColorFocus});\n ${textFieldTokens.backgroundColor}: var(${autocompleteTokens.textFieldBackgroundColor});\n ${textFieldTokens.backgroundColorHover}: var(${autocompleteTokens.textFieldBackgroundColorHover});\n ${textFieldTokens.backgroundColorFocus}: var(${autocompleteTokens.textFieldBackgroundColorFocus});\n ${textFieldTokens.borderColor}: var(${autocompleteTokens.textFieldBorderColor});\n ${textFieldTokens.borderColorHover}: var(${autocompleteTokens.textFieldBorderColorHover});\n ${textFieldTokens.borderColorFocus}: var(${autocompleteTokens.textFieldBorderColorFocus});\n ${textFieldTokens.colorReadOnly}: var(${autocompleteTokens.textFieldColorReadOnly});\n ${textFieldTokens.backgroundColorReadOnly}: var(${autocompleteTokens.textFieldBackgroundColorReadOnly});\n ${textFieldTokens.borderColorReadOnly}: var(${autocompleteTokens.textFieldBorderColorReadOnly});\n ${textFieldTokens.placeholderColorReadOnly}: var(${autocompleteTokens.textFieldPlaceholderColorReadOnly});\n ${textFieldTokens.caretColor}: var(${autocompleteTokens.textFieldCaretColor});\n ${textFieldTokens.placeholderColor}: var(${autocompleteTokens.textFieldPlaceholderColor});\n ${textFieldTokens.height}: var(${autocompleteTokens.textFieldHeight});\n ${textFieldTokens.borderWidth}: var(${autocompleteTokens.textFieldBorderWidth});\n ${textFieldTokens.borderRadius}: var(${autocompleteTokens.textFieldBorderRadius});\n ${textFieldTokens.padding}: var(${autocompleteTokens.textFieldPadding});\n ${textFieldTokens.leftContentMargin}: var(${autocompleteTokens.textFieldLeftContentMargin});\n ${textFieldTokens.rightContentMargin}: var(${autocompleteTokens.textFieldRightContentMargin});\n ${textFieldTokens.fontFamily}: var(${autocompleteTokens.textFieldFontFamily});\n ${textFieldTokens.fontStyle}: var(${autocompleteTokens.textFieldFontStyle});\n ${textFieldTokens.fontSize}: var(${autocompleteTokens.textFieldFontSize});\n ${textFieldTokens.fontWeight}: var(${autocompleteTokens.textFieldFontWeight});\n ${textFieldTokens.letterSpacing}: var(${autocompleteTokens.textFieldLetterSpacing});\n ${textFieldTokens.lineHeight}: var(${autocompleteTokens.textFieldLineHeight});\n ${textFieldTokens.labelColor}: var(${autocompleteTokens.textFieldLabelColor});\n ${textFieldTokens.labelColorReadOnly}: var(${autocompleteTokens.textFieldLabelColorReadOnly});\n ${textFieldTokens.labelOffset}: var(${autocompleteTokens.textFieldLabelOffset});\n ${textFieldTokens.labelFontFamily}: var(${autocompleteTokens.textFieldLabelFontFamily});\n ${textFieldTokens.labelFontStyle}: var(${autocompleteTokens.textFieldLabelFontStyle});\n ${textFieldTokens.labelFontSize}: var(${autocompleteTokens.textFieldLabelFontSize});\n ${textFieldTokens.labelFontWeight}: var(${autocompleteTokens.textFieldLabelFontWeight});\n ${textFieldTokens.labelLetterSpacing}: var(${autocompleteTokens.textFieldLabelLetterSpacing});\n ${textFieldTokens.labelLineHeight}: var(${autocompleteTokens.textFieldLabelLineHeight});\n ${textFieldTokens.labelInnerFontFamily}: var(${autocompleteTokens.textFieldLabelInnerFontFamily});\n ${textFieldTokens.labelInnerFontStyle}: var(${autocompleteTokens.textFieldLabelInnerFontStyle});\n ${textFieldTokens.labelInnerFontSize}: var(${autocompleteTokens.textFieldLabelInnerFontSize});\n ${textFieldTokens.labelInnerFontWeight}: var(${autocompleteTokens.textFieldLabelInnerFontWeight});\n ${textFieldTokens.labelInnerLetterSpacing}: var(${autocompleteTokens.textFieldLabelInnerLetterSpacing});\n ${textFieldTokens.labelInnerLineHeight}: var(${autocompleteTokens.textFieldLabelInnerLineHeight});\n ${textFieldTokens.labelInnerPadding}: var(${autocompleteTokens.textFieldLabelInnerPadding});\n ${textFieldTokens.contentLabelInnerPadding}: var(${autocompleteTokens.textFieldContentLabelInnerPadding});\n ${textFieldTokens.leftHelperColor}: var(${autocompleteTokens.textFieldLeftHelperColor});\n ${textFieldTokens.leftHelperColorReadOnly}: var(${autocompleteTokens.textFieldLeftHelperColorReadOnly});\n ${textFieldTokens.leftHelperOffset}: var(${autocompleteTokens.textFieldLeftHelperOffset});\n ${textFieldTokens.leftHelperFontFamily}: var(${autocompleteTokens.textFieldLeftHelperFontFamily});\n ${textFieldTokens.leftHelperFontStyle}: var(${autocompleteTokens.textFieldLeftHelperFontStyle});\n ${textFieldTokens.leftHelperFontSize}: var(${autocompleteTokens.textFieldLeftHelperFontSize});\n ${textFieldTokens.leftHelperFontWeight}: var(${autocompleteTokens.textFieldLeftHelperFontWeight});\n ${textFieldTokens.leftHelperLetterSpacing}: var(${autocompleteTokens.textFieldLeftHelperLetterSpacing});\n ${textFieldTokens.leftHelperLineHeight}: var(${autocompleteTokens.textFieldLeftHelperLineHeight});\n ${textFieldTokens.textBeforeColor}: var(${autocompleteTokens.textFieldTextBeforeColor});\n ${textFieldTokens.textAfterColor}: var(${autocompleteTokens.textFieldTextAfterColor});\n ${textFieldTokens.textBeforeMargin}: var(${autocompleteTokens.textFieldTextBeforeMargin});\n ${textFieldTokens.textAfterMargin}: var(${autocompleteTokens.textFieldTextAfterMargin});\n ${textFieldTokens.disabledOpacity}: var(${autocompleteTokens.textFieldDisabledOpacity});\n ${textFieldTokens.focusColor}: var(${autocompleteTokens.textFieldFocusColor});\n ${textFieldTokens.contentSlotColor}: var(${autocompleteTokens.textFieldContentSlotColor}, var(${autocompleteTokens.textFieldColor}));\n ${textFieldTokens.contentSlotRightColor}: var(${autocompleteTokens.textFieldContentSlotRightColor}, var(${autocompleteTokens.textFieldColor}));\n`;\n"],"names":["mergedConfig","mergeConfig","textFieldConfig","TextField","component","_exp","StyledTextField","styled","name","class","propsAsIs"],"mappings":";;;;AAMA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,eAAe,CAAC,CAAA;AACjD,IAAMC,SAAS,gBAAGC,SAAS,CAACJ,YAAY,CAAC,CAAA;AAAC,IAAAK,IAAA,GANxBA,SAMwBA,IAAAA,GAAA;AAAA,EAAA,OAEJF,SAAS,CAAA;AAAA,CAAA,CAAA;AAAxC,IAAMG,eAAe,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,iBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CA6DpC;;;;"}
@@ -1 +1 @@
1
- .sxqyqmu{--plasma-textfield-color:var(--plasma-autocomplete-textfield-color);--plasma-textfield__placeholder-color-focus:var(--plasma-autocomplete-textfield__placeholder-color-focus);--plasma-textfield-bg-color:var(--plasma-autocomplete-textfield-background-color);--plasma-textfield-bg-color-hover:var(--plasma-autocomplete-textfield-background-color-hover);--plasma-textfield-bg-color-focus:var(--plasma-autocomplete-textfield-background-color-focus);--plasma-textfield-border-color:var(--plasma-autocomplete-textfield-border-color);--plasma-textfield-border-color-hover:var(--plasma-autocomplete-textfield-border-color-hover);--plasma-textfield-border-color-focus:var(--plasma-autocomplete-textfield-border-color-focus);--plasma-textfield-color-readonly:var(--plasma-autocomplete-textfield-color-readonly);--plasma-textfield-bg-color-readonly:var(--plasma-autocomplete-textfield-bg-color-readonly);--plasma-textfield-border-color-readonly:var(--plasma-autocomplete-textfield-border-color-readonly);--plasma-textfield__placeholder-color-readonly:var(--plasma-autocomplete-textfield__placeholder-color-readonly);--plasma-textfield__caret-color:var(--plasma-autocomplete-textfield-caret-color);--plasma-textfield__placeholder-color:var(--plasma-autocomplete-textfield-placeholder-color);--plasma-textfield-height:var(--plasma-autocomplete-textfield-height);--plasma-textfield-border-width:var(--plasma-autocomplete-textfield-border-width);--plasma-textfield-border-radius:var(--plasma-autocomplete-textfield-border-radius);--plasma-textfield-padding:var(--plasma-autocomplete-textfield-padding);--plasma-textfield__left-content-margin:var(--plasma-autocomplete-textfield__left-content-margin);--plasma-textfield__right-content-margin:var(--plasma-autocomplete-textfield__right-content-margin);--plasma-textfield-font-family:var(--plasma-autocomplete-textfield-font-family);--plasma-textfield-font-style:var(--plasma-autocomplete-textfield-font-style);--plasma-textfield-font-size:var(--plasma-autocomplete-textfield-font-size);--plasma-textfield-font-weight:var(--plasma-autocomplete-textfield-font-weight);--plasma-textfield-letter-spacing:var(--plasma-autocomplete-textfield-letter-spacing);--plasma-textfield-line-height:var(--plasma-autocomplete-textfield-line-height);--plasma-textfield__label-color:var(--plasma-autocomplete-textfield-label-color);--plasma-textfield__label-color-readonly:var(--plasma-autocomplete-textfield__label-color-readonly);--plasma-textfield__label-offset:var(--plasma-autocomplete-textfield__label-offset);--plasma-textfield__label-font-family:var(--plasma-autocomplete-textfield__label-font-family);--plasma-textfield__label-font-style:var(--plasma-autocomplete-textfield__label-font-style);--plasma-textfield__label-font-size:var(--plasma-autocomplete-textfield__label-font-size);--plasma-textfield__label-font-weight:var(--plasma-autocomplete-textfield__label-font-weight);--plasma-textfield__label-letter-spacing:var(--plasma-autocomplete-textfield__label-letter-spacing);--plasma-textfield__label-line-height:var(--plasma-autocomplete-textfield__label-line-height);--plasma-textfield-placement_inner__label-font-family:var(--plasma-autocomplete-textfield-placement_inner__label-font-family);--plasma-textfield-placement_inner__label-font-style:var(--plasma-autocomplete-textfield-placement_inner__label-font-style);--plasma-textfield-placement_inner__label-font-size:var(--plasma-autocomplete-textfield-placement_inner__label-font-size);--plasma-textfield-placement_inner__label-font-weight:var(--plasma-autocomplete-textfield-placement_inner__label-font-weight);--plasma-textfield-placement_inner__label-letter-spacing:var(--plasma-autocomplete-textfield-placement_inner__label-letter-spacing);--plasma-textfield-placement_inner__label-line-height:var(--plasma-autocomplete-textfield-placement_inner__label-line-height);--plasma-textfield-placement_inner__label-padding:var(--plasma-autocomplete-textfield-placement_inner__label-padding);--plasma-textfield-placement_inner__content-padding:var(--plasma-autocomplete-textfield-placement_inner__content-padding);--plasma-textfield__left-helper-color:var(--plasma-autocomplete-textfield__left-helper-color);--plasma-textfield__left-helper-color-readonly:var(--plasma-autocomplete-textfield__left-helper-color-readonly);--plasma-textfield__left-helper-offset:var(--plasma-autocomplete-textfield__left-helper-offset);--plasma-textfield__left-helper-font-family:var(--plasma-autocomplete-textfield__left-helper-font-family);--plasma-textfield__left-helper-font-style:var(--plasma-autocomplete-textfield__left-helper-font-style);--plasma-textfield__left-helper-font-size:var(--plasma-autocomplete-textfield__left-helper-font-size);--plasma-textfield__left-helper-font-weight:var(--plasma-autocomplete-textfield__left-helper-font-weight);--plasma-textfield__left-helper-letter-spacing:var(--plasma-autocomplete-textfield__left-helper-letter-spacing);--plasma-textfield__left-helper-line-height:var(--plasma-autocomplete-textfield__left-helper-line-height);--plasma-textfield__before-text-color:var(--plasma-autocomplete-textfield__before-text-color);--plasma-textfield__after-text-color:var(--plasma-autocomplete-textfield__after-text-color);--plasma-textfield__before-text-margin:var(--plasma-autocomplete-textfield__before-text-margin);--plasma-textfield__after-text-margin:var(--plasma-autocomplete-textfield__after-text-margin);--plasma-textfield-disabled-opacity:var(--plasma-autocomplete-textfield-disabled-opacity);--plasma-textfield-focus-color:var(--plasma-autocomplete-textfield-focus-color);--plasma-textfield-content-slot-color:var(--plasma-autocomplete-content-color,var(--plasma-autocomplete-textfield-color));}
1
+ .sxqyqmu{--plasma-textfield-color:var(--plasma-autocomplete-textfield-color);--plasma-textfield__placeholder-color-focus:var(--plasma-autocomplete-textfield__placeholder-color-focus);--plasma-textfield-bg-color:var(--plasma-autocomplete-textfield-background-color);--plasma-textfield-bg-color-hover:var(--plasma-autocomplete-textfield-background-color-hover);--plasma-textfield-bg-color-focus:var(--plasma-autocomplete-textfield-background-color-focus);--plasma-textfield-border-color:var(--plasma-autocomplete-textfield-border-color);--plasma-textfield-border-color-hover:var(--plasma-autocomplete-textfield-border-color-hover);--plasma-textfield-border-color-focus:var(--plasma-autocomplete-textfield-border-color-focus);--plasma-textfield-color-readonly:var(--plasma-autocomplete-textfield-color-readonly);--plasma-textfield-bg-color-readonly:var(--plasma-autocomplete-textfield-bg-color-readonly);--plasma-textfield-border-color-readonly:var(--plasma-autocomplete-textfield-border-color-readonly);--plasma-textfield__placeholder-color-readonly:var(--plasma-autocomplete-textfield__placeholder-color-readonly);--plasma-textfield__caret-color:var(--plasma-autocomplete-textfield-caret-color);--plasma-textfield__placeholder-color:var(--plasma-autocomplete-textfield-placeholder-color);--plasma-textfield-height:var(--plasma-autocomplete-textfield-height);--plasma-textfield-border-width:var(--plasma-autocomplete-textfield-border-width);--plasma-textfield-border-radius:var(--plasma-autocomplete-textfield-border-radius);--plasma-textfield-padding:var(--plasma-autocomplete-textfield-padding);--plasma-textfield__left-content-margin:var(--plasma-autocomplete-textfield__left-content-margin);--plasma-textfield__right-content-margin:var(--plasma-autocomplete-textfield__right-content-margin);--plasma-textfield-font-family:var(--plasma-autocomplete-textfield-font-family);--plasma-textfield-font-style:var(--plasma-autocomplete-textfield-font-style);--plasma-textfield-font-size:var(--plasma-autocomplete-textfield-font-size);--plasma-textfield-font-weight:var(--plasma-autocomplete-textfield-font-weight);--plasma-textfield-letter-spacing:var(--plasma-autocomplete-textfield-letter-spacing);--plasma-textfield-line-height:var(--plasma-autocomplete-textfield-line-height);--plasma-textfield__label-color:var(--plasma-autocomplete-textfield-label-color);--plasma-textfield__label-color-readonly:var(--plasma-autocomplete-textfield__label-color-readonly);--plasma-textfield__label-offset:var(--plasma-autocomplete-textfield__label-offset);--plasma-textfield__label-font-family:var(--plasma-autocomplete-textfield__label-font-family);--plasma-textfield__label-font-style:var(--plasma-autocomplete-textfield__label-font-style);--plasma-textfield__label-font-size:var(--plasma-autocomplete-textfield__label-font-size);--plasma-textfield__label-font-weight:var(--plasma-autocomplete-textfield__label-font-weight);--plasma-textfield__label-letter-spacing:var(--plasma-autocomplete-textfield__label-letter-spacing);--plasma-textfield__label-line-height:var(--plasma-autocomplete-textfield__label-line-height);--plasma-textfield-placement_inner__label-font-family:var(--plasma-autocomplete-textfield-placement_inner__label-font-family);--plasma-textfield-placement_inner__label-font-style:var(--plasma-autocomplete-textfield-placement_inner__label-font-style);--plasma-textfield-placement_inner__label-font-size:var(--plasma-autocomplete-textfield-placement_inner__label-font-size);--plasma-textfield-placement_inner__label-font-weight:var(--plasma-autocomplete-textfield-placement_inner__label-font-weight);--plasma-textfield-placement_inner__label-letter-spacing:var(--plasma-autocomplete-textfield-placement_inner__label-letter-spacing);--plasma-textfield-placement_inner__label-line-height:var(--plasma-autocomplete-textfield-placement_inner__label-line-height);--plasma-textfield-placement_inner__label-padding:var(--plasma-autocomplete-textfield-placement_inner__label-padding);--plasma-textfield-placement_inner__content-padding:var(--plasma-autocomplete-textfield-placement_inner__content-padding);--plasma-textfield__left-helper-color:var(--plasma-autocomplete-textfield__left-helper-color);--plasma-textfield__left-helper-color-readonly:var(--plasma-autocomplete-textfield__left-helper-color-readonly);--plasma-textfield__left-helper-offset:var(--plasma-autocomplete-textfield__left-helper-offset);--plasma-textfield__left-helper-font-family:var(--plasma-autocomplete-textfield__left-helper-font-family);--plasma-textfield__left-helper-font-style:var(--plasma-autocomplete-textfield__left-helper-font-style);--plasma-textfield__left-helper-font-size:var(--plasma-autocomplete-textfield__left-helper-font-size);--plasma-textfield__left-helper-font-weight:var(--plasma-autocomplete-textfield__left-helper-font-weight);--plasma-textfield__left-helper-letter-spacing:var(--plasma-autocomplete-textfield__left-helper-letter-spacing);--plasma-textfield__left-helper-line-height:var(--plasma-autocomplete-textfield__left-helper-line-height);--plasma-textfield__before-text-color:var(--plasma-autocomplete-textfield__before-text-color);--plasma-textfield__after-text-color:var(--plasma-autocomplete-textfield__after-text-color);--plasma-textfield__before-text-margin:var(--plasma-autocomplete-textfield__before-text-margin);--plasma-textfield__after-text-margin:var(--plasma-autocomplete-textfield__after-text-margin);--plasma-textfield-disabled-opacity:var(--plasma-autocomplete-textfield-disabled-opacity);--plasma-textfield-focus-color:var(--plasma-autocomplete-textfield-focus-color);--plasma-textfield-content-slot-color:var(--plasma-autocomplete-content-color,var(--plasma-autocomplete-textfield-color));--plasma-textfield-content-right-slot-color:var(--plasma-autocomplete-content-right-color,var(--plasma-autocomplete-textfield-color));}
@@ -2,15 +2,14 @@ import './Avatar_13f2qzh.css';
2
2
  import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
3
3
  import React, { forwardRef, useMemo } from 'react';
4
4
  import { styled } from '@linaria/react';
5
- import '@linaria/core';
6
- import { component, mergeConfig } from '../../engines/common.js';
7
5
  import { cx } from '../../utils/index.js';
8
- import { indicatorConfig } from '../Indicator/Indicator.js';
9
6
  import { classes, tokens } from './Avatar.tokens.js';
10
7
  import { Wrapper, StatusIcon, base, Text, Image } from './Avatar.styles.js';
11
8
  import { base as base$1 } from './variations/_size/base.js';
12
9
  import { base as base$2 } from './variations/_focused/base.js';
13
10
  import { getInitialsForName } from './utils/getInitialsForName.js';
11
+ import { component, mergeConfig } from '../../engines/common.js';
12
+ import { indicatorConfig } from '../Indicator/Indicator.js';
14
13
 
15
14
  var _excluded = ["size", "name", "url", "customText", "status", "className", "focused", "isScalable", "statusLabels"];
16
15
  var StatusLabelsDefault = {
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.js","sources":["../../../src/components/Avatar/Avatar.tsx"],"sourcesContent":["import React, { forwardRef, useMemo, ReactElement } from 'react';\nimport { styled } from '@linaria/react';\n\nimport { RootProps, component, mergeConfig } from '../../engines';\nimport { cx } from '../../utils';\nimport { indicatorConfig, indicatorTokens } from '../Indicator';\n\nimport { classes, tokens } from './Avatar.tokens';\nimport { base, Wrapper, Image, StatusIcon, Text } from './Avatar.styles';\nimport { base as viewCSS } from './variations/_size/base';\nimport { base as focusedCSS } from './variations/_focused/base';\nimport { getInitialsForName } from './utils';\nimport type { AvatarProps, StatusLabels } from './Avatar.types';\n\nconst StatusLabelsDefault: StatusLabels = {\n active: 'Активен',\n inactive: 'Неактивен',\n};\n\nconst getAvatarContent = ({\n customText,\n url,\n initials,\n name,\n}: Omit<AvatarProps, 'size'> & { initials?: string }): ReactElement => {\n if (customText) {\n return <Text>{customText}</Text>;\n }\n\n if (url) {\n return <Image src={url} alt={name} />;\n }\n\n return <Text>{initials}</Text>;\n};\n\nconst getAriaLabel = ({\n url,\n name,\n status,\n 'aria-label': ariaLabelProp,\n statusLabels,\n}: Pick<AvatarProps, 'url' | 'status' | 'name' | 'aria-label'> & {\n statusLabels: StatusLabels;\n}) => {\n if (!url) {\n return;\n }\n\n // INFO: включаем aria-label чтобы озвучить что на изображении\n const ariaLabel = !ariaLabelProp || ariaLabelProp.trim() === '' ? name : ariaLabelProp;\n\n return status ? `${ariaLabel}. ${statusLabels[status]}` : ariaLabel;\n};\n\nconst mergedConfig = mergeConfig(indicatorConfig);\n\nconst Indicator: React.FunctionComponent<\n React.HTMLAttributes<HTMLDivElement> & { status: AvatarProps['status'] }\n> = component(mergedConfig) as never;\n\nconst StyledIndicator = styled(Indicator)`\n ${indicatorTokens.size}: var(${tokens.statusIconSize});\n ${indicatorTokens.color}: ${({ status }) =>\n status === 'active' ? `var(${tokens.statusOnlineColor})` : `var(${tokens.statusOfflineColor})`}\n`;\n\nexport const avatarRoot = (Root: RootProps<HTMLDivElement, AvatarProps>) => {\n return forwardRef<HTMLDivElement, AvatarProps>((props, ref) => {\n const {\n size: avatarSize,\n name,\n url,\n customText,\n status,\n className,\n focused = true,\n isScalable,\n statusLabels = StatusLabelsDefault,\n ...rest\n } = props;\n\n const initials = useMemo(() => getInitialsForName(name), [name]);\n const ariaLabel = getAriaLabel({\n ...props,\n statusLabels,\n });\n\n return (\n <Root\n ref={ref}\n size={avatarSize}\n className={cx(classes.avatarItem, className)}\n aria-label={ariaLabel}\n focused={focused}\n {...rest}\n >\n <Wrapper isScalable={isScalable}>{getAvatarContent({ customText, url, initials, name })}</Wrapper>\n\n {status && (\n <StatusIcon>\n <StyledIndicator aria-label={statusLabels[status]} status={status} />\n </StatusIcon>\n )}\n </Root>\n );\n });\n};\n\nexport const avatarConfig = {\n name: 'Avatar',\n tag: 'div',\n layout: avatarRoot,\n base,\n variations: {\n size: {\n css: viewCSS,\n },\n focused: {\n css: focusedCSS,\n },\n },\n defaults: {\n size: 'm',\n },\n};\n"],"names":["StatusLabelsDefault","active","inactive","getAvatarContent","_ref","customText","url","initials","name","React","createElement","Text","Image","src","alt","getAriaLabel","_ref2","status","ariaLabelProp","statusLabels","ariaLabel","trim","concat","mergedConfig","mergeConfig","indicatorConfig","Indicator","component","_exp","_exp5","_ref3","tokens","statusOnlineColor","statusOfflineColor","StyledIndicator","styled","class","propsAsIs","vars","avatarRoot","Root","forwardRef","props","ref","avatarSize","size","className","_props$focused","focused","isScalable","_props$statusLabels","rest","_excluded","useMemo","getInitialsForName","_objectSpread","_extends","cx","classes","avatarItem","Wrapper","StatusIcon","avatarConfig","tag","layout","base","variations","css","viewCSS","focusedCSS","defaults"],"mappings":";;;;;;;;;;;;;;AAcA,IAAMA,mBAAiC,GAAG;AACtCC,EAAAA,MAAM,EAAE,SAAS;AACjBC,EAAAA,QAAQ,EAAE,WAAA;AACd,CAAC,CAAA;AAED,IAAMC,gBAAgB,GAAGA,SAAnBA,gBAAgBA,CAAAC,IAAA,EAKiD;AAAA,EAAA,IAJnEC,UAAU,GAAAD,IAAA,CAAVC,UAAU;IACVC,GAAG,GAAAF,IAAA,CAAHE,GAAG;IACHC,QAAQ,GAAAH,IAAA,CAARG,QAAQ;IACRC,IAAAA,GAAAA,IAAAA,CAAAA,IAAAA,CAAAA;AAEA,EAAA,IAAIH,UAAU,EAAE;AACZ,IAAA,oBAAOI,KAAA,CAAAC,aAAA,CAACC,IAAI,EAAA,IAAA,EAAEN,UAAiB,CAAC,CAAA;AACpC,GAAA;AAEA,EAAA,IAAIC,GAAG,EAAE;AACL,IAAA,oBAAOG,KAAA,CAAAC,aAAA,CAACE,KAAK,EAAA;AAACC,MAAAA,GAAG,EAAEP,GAAI;AAACQ,MAAAA,GAAG,EAAEN,IAAAA;AAAK,KAAG,CAAA,CAAA;AACzC,GAAA;AAEA,EAAA,oBAAOC,KAAA,CAAAC,aAAA,CAACC,IAAI,EAAA,IAAA,EAAEJ,QAAe,CAAC,CAAA;AAClC,CAAC,CAAA;AAED,IAAMQ,Y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AE;AACNzB,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Avatar.js","sources":["../../../src/components/Avatar/Avatar.tsx"],"sourcesContent":["import React, { forwardRef, useMemo, ReactElement } from 'react';\nimport { styled } from '@linaria/react';\n\nimport { RootProps, component, mergeConfig } from '../../engines';\nimport { cx } from '../../utils';\nimport { indicatorConfig, indicatorTokens } from '../Indicator';\n\nimport { classes, tokens } from './Avatar.tokens';\nimport { base, Wrapper, Image, StatusIcon, Text } from './Avatar.styles';\nimport { base as viewCSS } from './variations/_size/base';\nimport { base as focusedCSS } from './variations/_focused/base';\nimport { getInitialsForName } from './utils';\nimport type { AvatarProps, StatusLabels } from './Avatar.types';\n\nconst StatusLabelsDefault: StatusLabels = {\n active: 'Активен',\n inactive: 'Неактивен',\n};\n\nconst getAvatarContent = ({\n customText,\n url,\n initials,\n name,\n}: Omit<AvatarProps, 'size'> & { initials?: string }): ReactElement => {\n if (customText) {\n return <Text>{customText}</Text>;\n }\n\n if (url) {\n return <Image src={url} alt={name} />;\n }\n\n return <Text>{initials}</Text>;\n};\n\nconst getAriaLabel = ({\n url,\n name,\n status,\n 'aria-label': ariaLabelProp,\n statusLabels,\n}: Pick<AvatarProps, 'url' | 'status' | 'name' | 'aria-label'> & {\n statusLabels: StatusLabels;\n}) => {\n if (!url) {\n return;\n }\n\n // INFO: включаем aria-label чтобы озвучить что на изображении\n const ariaLabel = !ariaLabelProp || ariaLabelProp.trim() === '' ? name : ariaLabelProp;\n\n return status ? `${ariaLabel}. ${statusLabels[status]}` : ariaLabel;\n};\n\nconst mergedConfig = mergeConfig(indicatorConfig);\n\nconst Indicator: React.FunctionComponent<\n React.HTMLAttributes<HTMLDivElement> & { status: AvatarProps['status'] }\n> = component(mergedConfig) as never;\n\nconst StyledIndicator = styled(Indicator)`\n ${indicatorTokens.size}: var(${tokens.statusIconSize});\n ${indicatorTokens.color}: ${({ status }) =>\n status === 'active' ? `var(${tokens.statusOnlineColor})` : `var(${tokens.statusOfflineColor})`}\n`;\n\nexport const avatarRoot = (Root: RootProps<HTMLDivElement, AvatarProps>) => {\n return forwardRef<HTMLDivElement, AvatarProps>((props, ref) => {\n const {\n size: avatarSize,\n name,\n url,\n customText,\n status,\n className,\n focused = true,\n isScalable,\n statusLabels = StatusLabelsDefault,\n ...rest\n } = props;\n\n const initials = useMemo(() => getInitialsForName(name), [name]);\n const ariaLabel = getAriaLabel({\n ...props,\n statusLabels,\n });\n\n return (\n <Root\n ref={ref}\n size={avatarSize}\n className={cx(classes.avatarItem, className)}\n aria-label={ariaLabel}\n focused={focused}\n {...rest}\n >\n <Wrapper isScalable={isScalable}>{getAvatarContent({ customText, url, initials, name })}</Wrapper>\n\n {status && (\n <StatusIcon>\n <StyledIndicator aria-label={statusLabels[status]} status={status} />\n </StatusIcon>\n )}\n </Root>\n );\n });\n};\n\nexport const avatarConfig = {\n name: 'Avatar',\n tag: 'div',\n layout: avatarRoot,\n base,\n variations: {\n size: {\n css: viewCSS,\n },\n focused: {\n css: focusedCSS,\n },\n },\n defaults: {\n size: 'm',\n },\n};\n"],"names":["StatusLabelsDefault","active","inactive","getAvatarContent","_ref","customText","url","initials","name","React","createElement","Text","Image","src","alt","getAriaLabel","_ref2","status","ariaLabelProp","statusLabels","ariaLabel","trim","concat","mergedConfig","mergeConfig","indicatorConfig","Indicator","component","_exp","_exp5","_ref3","tokens","statusOnlineColor","statusOfflineColor","StyledIndicator","styled","class","propsAsIs","vars","avatarRoot","Root","forwardRef","props","ref","avatarSize","size","className","_props$focused","focused","isScalable","_props$statusLabels","rest","_excluded","useMemo","getInitialsForName","_objectSpread","_extends","cx","classes","avatarItem","Wrapper","StatusIcon","avatarConfig","tag","layout","base","variations","css","viewCSS","focusedCSS","defaults"],"mappings":";;;;;;;;;;;;;AAcA,IAAMA,mBAAiC,GAAG;AACtCC,EAAAA,MAAM,EAAE,SAAS;AACjBC,EAAAA,QAAQ,EAAE,WAAA;AACd,CAAC,CAAA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AA,QAAQ,EAARA,QAAQ;AAAEC,MAAAA,IAAAA,EAAAA,IAAAA;AAAK,KAAC,CAAW,CAAA,EAEhGS,MAAM,iBACHR,KAAA,CAAAC,aAAA,CAACmD,UAAU,EACPpD,IAAAA,eAAAA,KAAA,CAAAC,aAAA,CAACwB,eAAe,EAAA;MAAC,YAAYf,EAAAA,YAAY,CAACF,MAAM,CAAE;AAACA,MAAAA,MAAM,EAAEA,MAAAA;KAAO,CAC1D,CAEd,CAAC,CAAA;AAEf,GAAC,CAAC,CAAA;AACN,EAAC;AAEM,IAAM6C,YAAY,GAAG;AACxBtD,EAAAA,IAAI,EAAE,QAAQ;AACduD,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEzB,UAAU;AAClB0B,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACRrB,IAAAA,IAAI,EAAE;AACFsB,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACDpB,IAAAA,OAAO,EAAE;AACLmB,MAAAA,GAAG,EAAEE,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNzB,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
@@ -1,11 +1,9 @@
1
1
  import './Breadcrumbs.styles_19b6ey4.css';
2
2
  import { styled } from '@linaria/react';
3
- import { linkConfig } from '../Link/Link.js';
4
- import '@linaria/core';
3
+ import { tokens } from './Breadcrumbs.tokens.js';
5
4
  import { component, mergeConfig } from '../../engines/common.js';
6
- import 'react';
7
5
  import { IconDisclosureRight } from '../_Icon/Icons/IconDisclosureRight.js';
8
- import { tokens } from './Breadcrumbs.tokens.js';
6
+ import { linkConfig } from '../Link/Link.js';
9
7
 
10
8
  var mergedLinkConfig = /*#__PURE__*/mergeConfig(linkConfig);
11
9
  var Link = /*#__PURE__*/component(mergedLinkConfig);
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumbs.styles.js","sources":["../../../src/components/Breadcrumbs/Breadcrumbs.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { css } from '@linaria/core';\n\nimport { linkConfig } from '../Link';\nimport { component, mergeConfig } from '../../engines';\nimport { IconDisclosureRight } from '../_Icon';\nimport { addFocus } from '../../mixins';\n\nimport { tokens } from './Breadcrumbs.tokens';\n\nconst mergedLinkConfig = mergeConfig(linkConfig);\nconst Link = component(mergedLinkConfig);\n\nexport const StyledLink = styled(Link)<{ isHref: boolean }>`\n opacity: ${({ isHref }) => (isHref ? 1 : `var(${tokens.breadcrumbsOpacity})`)};\n cursor: ${({ isHref }) => (isHref ? 'pointer' : 'auto')};\n color: ${({ isHref }) => (isHref ? `var(${tokens.breadcrumbsColor})` : `var(${tokens.breadcrumbsColorText})`)};\n\n --plasma-link-disabled-opacity: var(${tokens.breadcrumbsOpacity});\n\n ${addFocus({\n outlineOffset: '0rem',\n outlineSize: '0.125rem',\n outlineRadius: '0rem',\n outlineColor: `var(${tokens.breadcrumbsFocusOutlineColor})`,\n })}\n`;\n\nexport const base = css`\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: var(${tokens.breadcrumbsGap});\n\n color: var(${tokens.breadcrumbsColor});\n font-family: var(${tokens.breadcrumbsFontFamily});\n font-size: var(${tokens.breadcrumbsFontSize});\n font-weight: var(${tokens.breadcrumbsFontWeight});\n font-style: var(${tokens.breadcrumbsFontStyle});\n letter-spacing: var(${tokens.breadcrumbsLetterSpacing});\n line-height: var(${tokens.breadcrumbsLineHeight});\n`;\n\nexport const Separator = styled(IconDisclosureRight)`\n color: var(${tokens.breadcrumbsColorSeparator});\n opacity: var(${tokens.breadcrumbsOpacity});\n`;\n"],"names":["mergedLinkConfig","mergeConfig","linkConfig","Link","component","_exp","_exp2","_ref","isHref","concat","tokens","breadcrumbsOpacity","_exp3","_ref2","_exp4","_ref3","breadcrumbsColor","breadcrumbsColorText","StyledLink","styled","name","class","propsAsIs","vars","base","_exp15","IconDisclosureRight","Separator"],"mappings":";;;;;;;;AAUA,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,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAAC,EAAAA,IAAA,EAAA;AAAA,IAAA,WAAA,EAAA,cACjBjB,KAAkE,EAAA,CAAA;AAAA,IAAA,WAAA,EAAA,cACnEM,KAA6C,EAAA,CAAA;AAAA,IAAA,WAAA,EAAA,cAC9CE,KAAoG,EAAA,CAAA;AAAA,GAAA;AAAA,CAUhH,EAAA;AAEM,IAAMU,IAAI,GAahB,UAAA;AAAC,IAAAC,MAAA,GAxCgBA,SAwChBA,MAAAA,GAAA;AAAA,EAAA,OAE8BC,mBAAmB,CAAA;AAAA,CAAA,CAAA;AAA5C,IAAMC,SAAS,gBAAGR,MAAM,CAAAM,MAAA,EAAA,CAAA,CAAA;AAAAL,EAAAA,IAAA,EAAA,WAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAG9B;;;;"}
1
+ {"version":3,"file":"Breadcrumbs.styles.js","sources":["../../../src/components/Breadcrumbs/Breadcrumbs.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { css } from '@linaria/core';\n\nimport { linkConfig } from '../Link';\nimport { component, mergeConfig } from '../../engines';\nimport { IconDisclosureRight } from '../_Icon';\nimport { addFocus } from '../../mixins';\n\nimport { tokens } from './Breadcrumbs.tokens';\n\nconst mergedLinkConfig = mergeConfig(linkConfig);\nconst Link = component(mergedLinkConfig);\n\nexport const StyledLink = styled(Link)<{ isHref: boolean }>`\n opacity: ${({ isHref }) => (isHref ? 1 : `var(${tokens.breadcrumbsOpacity})`)};\n cursor: ${({ isHref }) => (isHref ? 'pointer' : 'auto')};\n color: ${({ isHref }) => (isHref ? `var(${tokens.breadcrumbsColor})` : `var(${tokens.breadcrumbsColorText})`)};\n\n --plasma-link-disabled-opacity: var(${tokens.breadcrumbsOpacity});\n\n ${addFocus({\n outlineOffset: '0rem',\n outlineSize: '0.125rem',\n outlineRadius: '0rem',\n outlineColor: `var(${tokens.breadcrumbsFocusOutlineColor})`,\n })}\n`;\n\nexport const base = css`\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: var(${tokens.breadcrumbsGap});\n\n color: var(${tokens.breadcrumbsColor});\n font-family: var(${tokens.breadcrumbsFontFamily});\n font-size: var(${tokens.breadcrumbsFontSize});\n font-weight: var(${tokens.breadcrumbsFontWeight});\n font-style: var(${tokens.breadcrumbsFontStyle});\n letter-spacing: var(${tokens.breadcrumbsLetterSpacing});\n line-height: var(${tokens.breadcrumbsLineHeight});\n`;\n\nexport const Separator = styled(IconDisclosureRight)`\n color: var(${tokens.breadcrumbsColorSeparator});\n opacity: var(${tokens.breadcrumbsOpacity});\n`;\n"],"names":["mergedLinkConfig","mergeConfig","linkConfig","Link","component","_exp","_exp2","_ref","isHref","concat","tokens","breadcrumbsOpacity","_exp3","_ref2","_exp4","_ref3","breadcrumbsColor","breadcrumbsColorText","StyledLink","styled","name","class","propsAsIs","vars","base","_exp15","IconDisclosureRight","Separator"],"mappings":";;;;;;AAUA,IAAMA,gBAAgB,gBAAGC,WAAW,CAACC,UAAU,CAAC,CAAA;AAChD,IAAMC,IAAI,gBAAGC,SAAS,CAACJ,gBAAgB,CAAC,CAAA;AAAC,IAAAK,IAAA,GAVvBA,SAUuBA,IAAAA,GAAA;AAAA,EAAA,OAERF,IAAI,CAAA;AAAA,CAAA,CAAA;AAAA,IAAAG,KAAA,GAZnBA,SAYmBA,KAAAA,GAAA;AAAA,EAAA,OACtB,UAAAC,IAAA,EAAA;AAAA,IAAA,IAAGC,MAAAA,GAAAA,IAAAA,CAAAA,MAAAA,CAAAA;IAAAA,OAAcA,MAAM,GAAG,CAAC,GAAA,MAAA,CAAAC,MAAA,CAAUC,MAAM,CAACC,kBAAmB,EAAG,GAAA,CAAA,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAAA,IAAAC,KAAA,GAb/DA,SAa+DA,KAAAA,GAAA;AAAA,EAAA,OACnE,UAAAC,KAAA,EAAA;AAAA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1
  import './Button.styles_1sopr3d.css';
2
2
  import { styled } from '@linaria/react';
3
- import 'focus-visible';
4
- import 'styled-components';
5
- import '@linaria/core';
6
3
  import { component, mergeConfig } from '../../engines/common.js';
7
4
  import { spinnerConfig } from '../Spinner/Spinner.js';
8
5
 
@@ -1 +1 @@
1
- {"version":3,"file":"Button.styles.js","sources":["../../../src/components/Button/Button.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\nimport { styled } from '@linaria/react';\n\nimport { applyEllipsis, addFocus } from '../../mixins';\nimport { component, mergeConfig } from '../../engines';\nimport { spinnerConfig, spinnerTokens } from '../Spinner';\n\nimport { classes, tokens } from './Button.tokens';\n\n// issue #823\nconst mergedConfig = mergeConfig(spinnerConfig);\nconst Spinner = component(mergedConfig);\n\nexport const ButtonText = styled.span`\n min-width: 4ch;\n flex-shrink: 2;\n\n ${applyEllipsis()}\n\n\n &.${String(classes.contentRelaxed)} {\n text-align: start;\n flex-grow: 2;\n }\n`;\n\nexport const ButtonValue = styled.span`\n color: var(${tokens.buttonValueColor});\n\n margin: var(${tokens.buttonValueMargin});\n\n min-width: 4ch;\n\n ${applyEllipsis()}\n`;\n\n// TODO: #720\nexport const LoadWrap = styled.div<{ contentPlacing: string; isLoading?: boolean }>`\n opacity: ${({ isLoading }) => (isLoading ? '0' : '1')};\n display: flex;\n align-items: inherit;\n justify-content: ${({ contentPlacing }) => contentPlacing};\n height: 100%;\n width: 100%;\n`;\n\nexport const Loader = styled.div`\n position: absolute;\n`;\n\nexport const StyledSpinner = styled(Spinner)`\n ${spinnerTokens.size}: var(${tokens.buttonSpinnerSize});\n ${spinnerTokens.color}: var(${tokens.buttonSpinnerColor});\n`;\n\nexport const StyledContentLeft = styled.div`\n display: flex;\n margin: var(${tokens.buttonLeftContentMargin});\n align-self: var(${tokens.buttonLeftContentAlignSelf});\n`;\n\nexport const StyledContentRight = styled.div`\n display: flex;\n margin: var(${tokens.buttonRightContentMargin});\n align-self: var(${tokens.buttonRightContentAlignSelf});\n`;\n\nexport const base = css`\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE:\n --plasma_computed-btn-br-radius is defined in Button.tsx\n */\n --plasma_private-btn-br: var(--plasma_computed-btn-br);\n border-radius: var(--plasma_private-btn-br);\n\n &&.${String(classes.buttonSquare)} {\n width: var(${tokens.buttonHeight});\n padding: 0;\n }\n`;\n\n// INFO: Для возможности переиспользования стилей в других компонентах\nexport const baseContent = `\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE:\n --plasma_computed-btn-br-radius is defined in Button.tsx\n */\n --plasma_private-btn-br: var(--plasma_computed-btn-br);\n border-radius: var(--plasma_private-btn-br);\n\n &&.${String(classes.buttonSquare)} {\n width: var(${tokens.buttonHeight});\n padding: 0;\n }\n\n color: var(${tokens.buttonColor});\n background-color: var(${tokens.buttonBackgroundColor});\n\n :hover {\n color: var(${tokens.buttonColorHover}, var(${tokens.buttonColor}));\n background-color: var(${tokens.buttonBackgroundColorHover}, var(${tokens.buttonBackgroundColor}));\n\n scale: var(${tokens.buttonScaleHover});\n }\n\n :active {\n color: var(${tokens.buttonColorActive}, var(${tokens.buttonColor}));\n background-color: var(${tokens.buttonBackgroundColorActive}, var(${tokens.buttonBackgroundColor}));\n\n scale: var(${tokens.buttonScaleActive});\n }\n\n height: var(${tokens.buttonHeight});\n width: var(${tokens.buttonWidth});\n\n /* TODO: #714 move these calc's to plasma-mapping | ds-generator and add Math.round() */\n padding: 0 var(${tokens.buttonPadding}, calc(var(${tokens.buttonHeight}) * 1.618 / 4));\n\n font-family: var(${tokens.buttonFontFamily});\n font-size: var(${tokens.buttonFontSize});\n font-style: var(${tokens.buttonFontStyle});\n font-weight: var(${tokens.buttonFontWeight});\n letter-spacing: var(${tokens.buttonLetterSpacing});\n line-height: var(${tokens.buttonLineHeight});\n\n /* TODO: #710 make it token API ? */\n --plasma_private-btn-outline-size: var(--plasma-button-outline-size, 0.0625rem);\n\n :focus {\n outline: none;\n }\n\n ${addFocus({\n outlineOffset: '-0.125rem',\n outlineSize: 'var(--plasma_private-btn-outline-size)',\n outlineRadius: 'calc(0.125rem + var(--plasma_private-btn-br))',\n outlineColor: `var(${tokens.buttonFocusColor})`,\n })}\n\n &[disabled] {\n opacity: var(${tokens.buttonDisabledOpacity});\n cursor: not-allowed;\n\n :hover,\n :active {\n scale: none;\n\n color: var(${tokens.buttonColor});\n background-color: var(${tokens.buttonBackgroundColor});\n }\n }\n\n &.${classes.fixedStretching} {\n width: var(${tokens.buttonWidth});\n }\n &.${classes.filledStretching} {\n width: 100%;\n }\n &.${classes.autoStretching} {\n width: fit-content;\n }\n`;\n"],"names":["mergedConfig","mergeConfig","spinnerConfig","Spinner","component","ButtonText","styled","name","class","propsAsIs","ButtonValue","_exp6","_ref","isLoading","_exp7","_ref2","contentPlacing","LoadWrap","vars","Loader","_exp8","StyledSpinner","StyledContentLeft","StyledContentRight","base"],"mappings":";;;;;;;AASA;AACA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,aAAa,CAAC,CAAA;AAC/C,IAAMC,OAAO,gBAAGC,SAAS,CAACJ,YAAY,CAAC,CAAA;AAEhC,IAAMK,UAAU,gBAAGC,MAAM,CAAA,MAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAW/B,EAAA;AAEM,IAAMC,WAAW,gBAAGJ,MAAM,CAAA,MAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC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AAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAGlC,EAAA;AAEM,IAAMa,iBAAiB,gBAAGhB,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,mBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAItC,EAAA;AAEM,IAAMc,kBAAkB,gBAAGjB,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,oBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAIvC,EAAA;AAEM,IAAMe,IAAI,GA0BhB;;;;"}
1
+ {"version":3,"file":"Button.styles.js","sources":["../../../src/components/Button/Button.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\nimport { styled } from '@linaria/react';\n\nimport { applyEllipsis, addFocus } from '../../mixins';\nimport { component, mergeConfig } from '../../engines';\nimport { spinnerConfig, spinnerTokens } from '../Spinner';\n\nimport { classes, tokens } from './Button.tokens';\n\n// issue #823\nconst mergedConfig = mergeConfig(spinnerConfig);\nconst Spinner = component(mergedConfig);\n\nexport const ButtonText = styled.span`\n min-width: 4ch;\n flex-shrink: 2;\n\n ${applyEllipsis()}\n\n\n &.${String(classes.contentRelaxed)} {\n text-align: start;\n flex-grow: 2;\n }\n`;\n\nexport const ButtonValue = styled.span`\n color: var(${tokens.buttonValueColor});\n\n margin: var(${tokens.buttonValueMargin});\n\n min-width: 4ch;\n\n ${applyEllipsis()}\n`;\n\n// TODO: #720\nexport const LoadWrap = styled.div<{ contentPlacing: string; isLoading?: boolean }>`\n opacity: ${({ isLoading }) => (isLoading ? '0' : '1')};\n display: flex;\n align-items: inherit;\n justify-content: ${({ contentPlacing }) => contentPlacing};\n height: 100%;\n width: 100%;\n`;\n\nexport const Loader = styled.div`\n position: absolute;\n`;\n\nexport const StyledSpinner = styled(Spinner)`\n ${spinnerTokens.size}: var(${tokens.buttonSpinnerSize});\n ${spinnerTokens.color}: var(${tokens.buttonSpinnerColor});\n`;\n\nexport const StyledContentLeft = styled.div`\n display: flex;\n margin: var(${tokens.buttonLeftContentMargin});\n align-self: var(${tokens.buttonLeftContentAlignSelf});\n`;\n\nexport const StyledContentRight = styled.div`\n display: flex;\n margin: var(${tokens.buttonRightContentMargin});\n align-self: var(${tokens.buttonRightContentAlignSelf});\n`;\n\nexport const base = css`\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE:\n --plasma_computed-btn-br-radius is defined in Button.tsx\n */\n --plasma_private-btn-br: var(--plasma_computed-btn-br);\n border-radius: var(--plasma_private-btn-br);\n\n &&.${String(classes.buttonSquare)} {\n width: var(${tokens.buttonHeight});\n padding: 0;\n }\n`;\n\n// INFO: Для возможности переиспользования стилей в других компонентах\nexport const baseContent = `\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE:\n --plasma_computed-btn-br-radius is defined in Button.tsx\n */\n --plasma_private-btn-br: var(--plasma_computed-btn-br);\n border-radius: var(--plasma_private-btn-br);\n\n &&.${String(classes.buttonSquare)} {\n width: var(${tokens.buttonHeight});\n padding: 0;\n }\n\n color: var(${tokens.buttonColor});\n background-color: var(${tokens.buttonBackgroundColor});\n\n :hover {\n color: var(${tokens.buttonColorHover}, var(${tokens.buttonColor}));\n background-color: var(${tokens.buttonBackgroundColorHover}, var(${tokens.buttonBackgroundColor}));\n\n scale: var(${tokens.buttonScaleHover});\n }\n\n :active {\n color: var(${tokens.buttonColorActive}, var(${tokens.buttonColor}));\n background-color: var(${tokens.buttonBackgroundColorActive}, var(${tokens.buttonBackgroundColor}));\n\n scale: var(${tokens.buttonScaleActive});\n }\n\n height: var(${tokens.buttonHeight});\n width: var(${tokens.buttonWidth});\n\n /* TODO: #714 move these calc's to plasma-mapping | ds-generator and add Math.round() */\n padding: 0 var(${tokens.buttonPadding}, calc(var(${tokens.buttonHeight}) * 1.618 / 4));\n\n font-family: var(${tokens.buttonFontFamily});\n font-size: var(${tokens.buttonFontSize});\n font-style: var(${tokens.buttonFontStyle});\n font-weight: var(${tokens.buttonFontWeight});\n letter-spacing: var(${tokens.buttonLetterSpacing});\n line-height: var(${tokens.buttonLineHeight});\n\n /* TODO: #710 make it token API ? */\n --plasma_private-btn-outline-size: var(--plasma-button-outline-size, 0.0625rem);\n\n :focus {\n outline: none;\n }\n\n ${addFocus({\n outlineOffset: '-0.125rem',\n outlineSize: 'var(--plasma_private-btn-outline-size)',\n outlineRadius: 'calc(0.125rem + var(--plasma_private-btn-br))',\n outlineColor: `var(${tokens.buttonFocusColor})`,\n })}\n\n &[disabled] {\n opacity: var(${tokens.buttonDisabledOpacity});\n cursor: not-allowed;\n\n :hover,\n :active {\n scale: none;\n\n color: var(${tokens.buttonColor});\n background-color: var(${tokens.buttonBackgroundColor});\n }\n }\n\n &.${classes.fixedStretching} {\n width: var(${tokens.buttonWidth});\n }\n &.${classes.filledStretching} {\n width: 100%;\n }\n &.${classes.autoStretching} {\n width: fit-content;\n }\n`;\n"],"names":["mergedConfig","mergeConfig","spinnerConfig","Spinner","component","ButtonText","styled","name","class","propsAsIs","ButtonValue","_exp6","_ref","isLoading","_exp7","_ref2","contentPlacing","LoadWrap","vars","Loader","_exp8","StyledSpinner","StyledContentLeft","StyledContentRight","base"],"mappings":";;;;AASA;AACA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,aAAa,CAAC,CAAA;AAC/C,IAAMC,OAAO,gBAAGC,SAAS,CAACJ,YAAY,CAAC,CAAA;AAEhC,IAAMK,UAAU,gBAAGC,MAAM,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A;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAE3B,EAAA;AAAC,IAAAW,KAAA,GA/CgBA,SA+ChBA,KAAAA,GAAA;AAAA,EAAA,OAEkCjB,OAAO,CAAA;AAAA,CAAA,CAAA;AAApC,IAAMkB,aAAa,gBAAGf,MAAM,CAAAc,KAAA,EAAA,CAAA,CAAA;AAAAb,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAGlC,EAAA;AAEM,IAAMa,iBAAiB,gBAAGhB,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,mBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAItC,EAAA;AAEM,IAAMc,kBAAkB,gBAAGjB,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,oBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAIvC,EAAA;AAEM,IAAMe,IAAI,GA0BhB;;;;"}
@@ -29,6 +29,8 @@ var innerTokens = {
29
29
  var tokens = {
30
30
  calendarWidth: '--plasma-calendar-width',
31
31
  calendarHeight: '--plasma-calendar-height',
32
+ calendarBorderWidth: '--plasma-calendar-border-width',
33
+ calendarBorderColor: '--plasma-calendar-border-color',
32
34
  /* Токены размера сетки лет */
33
35
  calendarYearsPadding: '--plasma-calendar-years-padding',
34
36
  calendarYearItemBorderRadius: '--plasma-calendar-year-item-border-radius',
@@ -91,6 +93,7 @@ var tokens = {
91
93
  calendarHeaderFontLineHeight: '--plasma-calendar-header-line-height',
92
94
  calendarHeaderFontWeight: '--plasma-calendar-header-font-weight',
93
95
  calendarHeaderFontWeightBold: '--plasma-calendar-header-font-weight-bold',
96
+ calendarHeaderArrowColor: '--plasma-calendar-header-arrow-color',
94
97
  /* Токены стрелок навигации календаря */
95
98
  iconButtonColor: '--plasma-calendar-icon-button-color',
96
99
  iconButtonBackgroundColor: '--plasma-calendar-icon-button-background',
@@ -1 +1 @@
1
- {"version":3,"file":"Calendar.tokens.js","sources":["../../../src/components/Calendar/Calendar.tokens.ts"],"sourcesContent":["export const classes = {\n dayOfWeek: 'day-of-week',\n dayInCurrentMonth: 'day-in-current-month',\n disabled: 'item-disabled',\n disabledCurrent: 'item-disabled-current',\n sideInRange: 'item-side-in-range',\n inRange: 'item-in-range',\n sideLeft: 'item-side-left',\n sideRight: 'item-side-right',\n selectableItem: 'item-selectable',\n selectedItem: 'item-selected',\n currentItem: 'item-current',\n hoveredItem: 'item-hovered',\n doubleHeaderDate: 'double-header-date',\n doubleHeaderLastDateWrapper: 'double-header--last-date-wrapper',\n};\n\nexport const innerTokens = {\n dateStructureFontFamily: '--plasma-calendar-date-structure-font-family',\n dateStructureFontSize: '--plasma-calendar-date-structure-font-size',\n dateStructureFontStyle: '--plasma-calendar-date-structure-font-style',\n dateStructureFontWeight: '--plasma-calendar-date-structure-font-weight',\n dateStructureFontLetterSpacing: '--plasma-calendar-date-structure-font-letter-spacing',\n dateStructureFontLineHeight: '--plasma-calendar-date-structure-line-height',\n\n dateStructureSelectedFontWeight: '--plasma-calendar-date-structure-selected-font-weight',\n\n dateStructureWidth: '--plasma-calendar-date-structure-width',\n dateStructureHeight: '--plasma-calendar-date-structure-height',\n\n dateStructureBorderRadius: '--plasma-calendar-date-structure-border-radius',\n};\n\nexport const tokens = {\n calendarWidth: '--plasma-calendar-width',\n calendarHeight: '--plasma-calendar-height',\n\n /* Токены размера сетки лет */\n calendarYearsPadding: '--plasma-calendar-years-padding',\n calendarYearItemBorderRadius: '--plasma-calendar-year-item-border-radius',\n calendarYearItemWidth: '--plasma-calendar-year-item-width',\n calendarYearItemHeight: '--plasma-calendar-year-item-height',\n\n calendarYearFontFamily: '--plasma-calendar-year-font-family',\n calendarYearFontSize: '--plasma-calendar-year-font-size',\n calendarYearFontStyle: '--plasma-calendar-year-font-style',\n calendarYearFontLetterSpacing: '--plasma-calendar-year-font-letter-spacing',\n calendarYearFontLineHeight: '--plasma-calendar-year-line-height',\n calendarYearFontWeight: '--plasma-calendar-year-font-weight',\n calendarYearSelectedFontWeight: '--plasma-calendar-year-selected-font-weight',\n\n /* Токены размера сетки дней */\n calendarQuartersPadding: '--plasma-calendar-quarters-padding',\n calendarQuarterItemBorderRadius: '--plasma-calendar-quarter-item-border-radius',\n calendarQuarterItemWidth: '--plasma-calendar-quarter-item-width',\n calendarQuarterItemHeight: '--plasma-calendar-quarter-item-height',\n\n calendarQuarterFontFamily: '--plasma-calendar-quarter-font-family',\n calendarQuarterFontSize: '--plasma-calendar-quarter-font-size',\n calendarQuarterFontStyle: '--plasma-calendar-quarter-font-style',\n calendarQuarterFontLetterSpacing: '--plasma-calendar-quarter-font-letter-spacing',\n calendarQuarterFontLineHeight: '--plasma-calendar-quarter-line-height',\n calendarQuarterFontWeight: '--plasma-calendar-quarter-font-weight',\n calendarQuarterSelectedFontWeight: '--plasma-calendar-quarter-selected-font-weight',\n\n /* Токены размера сетки месяцев */\n calendarMonthsPadding: '--plasma-calendar-months-padding',\n calendarMonthItemBorderRadius: '--plasma-calendar-month-item-border-radius',\n calendarMonthItemWidth: '--plasma-calendar-month-item-width',\n calendarMonthItemHeight: '--plasma-calendar-month-item-height',\n\n calendarMonthFontFamily: '--plasma-calendar-month-font-family',\n calendarMonthFontSize: '--plasma-calendar-month-font-size',\n calendarMonthFontStyle: '--plasma-calendar-month-font-style',\n calendarMonthFontLetterSpacing: '--plasma-calendar-month-font-letter-spacing',\n calendarMonthFontLineHeight: '--plasma-calendar-month-line-height',\n calendarMonthFontWeight: '--plasma-calendar-month-font-weight',\n calendarMonthSelectedFontWeight: '--plasma-calendar-month-selected-font-weight',\n\n /* Токены размера сетки дней */\n calendarDaysPadding: '--plasma-calendar-days-padding',\n calendarDayItemBorderRadius: '--plasma-calendar-day-item-border-radius',\n calendarDayItemWidth: '--plasma-calendar-day-item-width',\n calendarDayItemHeight: '--plasma-calendar-day-item-height',\n\n calendarDayFontFamily: '--plasma-calendar-day-font-family',\n calendarDayFontSize: '--plasma-calendar-day-font-size',\n calendarDayFontStyle: '--plasma-calendar-day-font-style',\n calendarDayFontLetterSpacing: '--plasma-calendar-day-font-letter-spacing',\n calendarDayFontLineHeight: '--plasma-calendar-day-line-height',\n calendarDayFontWeight: '--plasma-calendar-day-font-weight',\n calendarDaySelectedFontWeight: '--plasma-calendar-day-selected-font-weight',\n\n calendarDayOfWeekColor: '--plasma-calendar-day-of-the-week-color',\n\n /* Токены шапки календаря */\n calendarHeaderWrapperPadding: '--plasma-calendar-header-wrapper-padding',\n calendarHeaderArrowGap: '--plasma-calendar-arrow-container-gap',\n calendarHeaderArrowPadding: '--plasma-calendar-arrow-container-padding',\n\n calendarHeaderPadding: '--plasma-calendar-header-padding',\n calendarHeaderDateGap: '--plasma-calendar-header-date-gap',\n\n calendarHeaderFontFamily: '--plasma-calendar-header-font-family',\n calendarHeaderFontSize: '--plasma-calendar-header-font-size',\n calendarHeaderFontStyle: '--plasma-calendar-header-font-style',\n calendarHeaderFontLetterSpacing: '--plasma-calendar-header-font-letter-spacing',\n calendarHeaderFontLineHeight: '--plasma-calendar-header-line-height',\n calendarHeaderFontWeight: '--plasma-calendar-header-font-weight',\n calendarHeaderFontWeightBold: '--plasma-calendar-header-font-weight-bold',\n\n /* Токены стрелок навигации календаря */\n iconButtonColor: '--plasma-calendar-icon-button-color',\n iconButtonBackgroundColor: '--plasma-calendar-icon-button-background',\n iconButtonColorHover: '--plasma-calendar-icon-button-color-hover',\n iconButtonBackgroundColorHover: '--plasma-calendar-icon-button-background-hover',\n iconButtonColorActive: '--plasma-calendar-icon-button-color-active',\n iconButtonBackgroundColorActive: '--plasma-calendar-icon-button-background-active',\n iconButtonHeight: '--plasma-calendar-icon-button-height',\n iconButtonWidth: '--plasma-calendar-icon-button-width',\n iconButtonPadding: '--plasma-calendar-icon-button-padding',\n iconButtonRadius: '--plasma-calendar-icon-button-radius',\n iconButtonFocusColor: '--plasma-calendar-icon-button-focus-color',\n\n calendarBackgroundColor: '--plasma-calendar-background',\n calendarSelectedItemBackground: '--plasma-calendar-selected-item-background',\n calendarSelectedItemColor: '--plasma-calendar-selected-item-color',\n calendarSelectableItemBackgroundHover: '--plasma-calendar-selectable-item-bg-hover',\n calendarCurrentItemBorderColor: '--plasma-calendar-current-item-border-color',\n calendarCurrentItemBackgroundHover: '--plasma-calendar-current-item-bg-hover',\n calendarCurrentItemColorHover: '--plasma-calendar-current-item-color-hover',\n calendarCurrentItemChildBackgroundHover: '--plasma-calendar-current-item-child-bg-hover',\n calendarActiveItemBackground: '--plasma-calendar-active-item-bg',\n calendarActiveItemColor: '--plasma-calendar-active-item-color',\n calendarHoveredItemBackground: '--plasma-calendar-hovered-item-bg',\n calendarHoveredItemColor: '--plasma-calendar-hovered-item-color',\n calendarSeparatorBackground: '--plasma-calendar-separator-background',\n calendarRangeBackground: '--plasma-calendar-range-background',\n calendarOutlineFocusColor: '--plasma-calendar-outline-focus-color',\n calendarContentPrimaryColor: '--plasma-calendar-content-primary-color',\n calendarContentSecondaryColor: '--plasma-calendar-content-secondary-color',\n};\n"],"names":["classes","dayOfWeek","dayInCurrentMonth","disabled","disabledCurrent","sideInRange","inRange","sideLeft","sideRight","selectableItem","selectedItem","currentItem","hoveredItem","doubleHeaderDate","doubleHeaderLastDateWrapper","innerTokens","dateStructureFontFamily","dateStructureFontSize","dateStructureFontStyle","dateStructureFontWeight","dateStructureFontLetterSpacing","dateStructureFontLineHeight","dateStructureSelectedFontWeight","dateStructureWidth","dateStructureHeight","dateStructureBorderRadius","tokens","calendarWidth","calendarHeight","calendarYearsPadding","calendarYearItemBorderRadius","calendarYearItemWidth","calendarYearItemHeight","calendarYearFontFamily","calendarYearFontSize","calendarYearFontStyle","calendarYearFontLetterSpacing","calendarYearFontLineHeight","calendarYearFontWeight","calendarYearSelectedFontWeight","calendarQuartersPadding","calendarQuarterItemBorderRadius","calendarQuarterItemWidth","calendarQuarterItemHeight","calendarQuarterFontFamily","calendarQuarterFontSize","calendarQuarterFontStyle","calendarQuarterFontLetterSpacing","calendarQuarterFontLineHeight","calendarQuarterFontWeight","calendarQuarterSelectedFontWeight","calendarMonthsPadding","calendarMonthItemBorderRadius","calendarMonthItemWidth","calendarMonthItemHeight","calendarMonthFontFamily","calendarMonthFontSize","calendarMonthFontStyle","calendarMonthFontLetterSpacing","calendarMonthFontLineHeight","calendarMonthFontWeight","calendarMonthSelectedFontWeight","calendarDaysPadding","calendarDayItemBorderRadius","calendarDayItemWidth","calendarDayItemHeight","calendarDayFontFamily","calendarDayFontSize","calendarDayFontStyle","calendarDayFontLetterSpacing","calendarDayFontLineHeight","calendarDayFontWeight","calendarDaySelectedFontWeight","calendarDayOfWeekColor","calendarHeaderWrapperPadding","calendarHeaderArrowGap","calendarHeaderArrowPadding","calendarHeaderPadding","calendarHeaderDateGap","calendarHeaderFontFamily","calendarHeaderFontSize","calendarHeaderFontStyle","calendarHeaderFontLetterSpacing","calendarHeaderFontLineHeight","calendarHeaderFontWeight","calendarHeaderFontWeightBold","iconButtonColor","iconButtonBackgroundColor","iconButtonColorHover","iconButtonBackgroundColorHover","iconButtonColorActive","iconButtonBackgroundColorActive","iconButtonHeight","iconButtonWidth","iconButtonPadding","iconButtonRadius","iconButtonFocusColor","calendarBackgroundColor","calendarSelectedItemBackground","calendarSelectedItemColor","calendarSelectableItemBackgroundHover","calendarCurrentItemBorderColor","calendarCurrentItemBackgroundHover","calendarCurrentItemColorHover","calendarCurrentItemChildBackgroundHover","calendarActiveItemBackground","calendarActiveItemColor","calendarHoveredItemBackground","calendarHoveredItemColor","calendarSeparatorBackground","calendarRangeBackground","calendarOutlineFocusColor","calendarContentPrimaryColor","calendarContentSecondaryColor"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,SAAS,EAAE,aAAa;AACxBC,EAAAA,iBAAiB,E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E,4CAA4C;AACnFC,EAAAA,8BAA8B,EAAE,6CAA6C;AAC7EC,EAAAA,kCAAkC,EAAE,yCAAyC;AAC7EC,EAAAA,6BAA6B,EAAE,4CAA4C;AAC3EC,EAAAA,uCAAuC,EAAE,+CAA+C;AACxFC,EAAAA,4BAA4B,EAAE,kCAAkC;AAChEC,EAAAA,uBAAuB,EAAE,qCAAqC;AAC9DC,EAAAA,6BAA6B,EAAE,mCAAmC;AAClEC,EAAAA,wBAAwB,EAAE,sCAAsC;AAChEC,EAAAA,2BAA2B,EAAE,wCAAwC;AACrEC,EAAAA,uBAAuB,EAAE,oCAAoC;AAC7DC,EAAAA,yBAAyB,EAAE,uCAAuC;AAClEC,EAAAA,2BAA2B,EAAE,yCAAyC;AACtEC,EAAAA,6BAA6B,EAAE,2CAAA;AACnC;;;;"}
1
+ {"version":3,"file":"Calendar.tokens.js","sources":["../../../src/components/Calendar/Calendar.tokens.ts"],"sourcesContent":["export const classes = {\n dayOfWeek: 'day-of-week',\n dayInCurrentMonth: 'day-in-current-month',\n disabled: 'item-disabled',\n disabledCurrent: 'item-disabled-current',\n sideInRange: 'item-side-in-range',\n inRange: 'item-in-range',\n sideLeft: 'item-side-left',\n sideRight: 'item-side-right',\n selectableItem: 'item-selectable',\n selectedItem: 'item-selected',\n currentItem: 'item-current',\n hoveredItem: 'item-hovered',\n doubleHeaderDate: 'double-header-date',\n doubleHeaderLastDateWrapper: 'double-header--last-date-wrapper',\n};\n\nexport const innerTokens = {\n dateStructureFontFamily: '--plasma-calendar-date-structure-font-family',\n dateStructureFontSize: '--plasma-calendar-date-structure-font-size',\n dateStructureFontStyle: '--plasma-calendar-date-structure-font-style',\n dateStructureFontWeight: '--plasma-calendar-date-structure-font-weight',\n dateStructureFontLetterSpacing: '--plasma-calendar-date-structure-font-letter-spacing',\n dateStructureFontLineHeight: '--plasma-calendar-date-structure-line-height',\n\n dateStructureSelectedFontWeight: '--plasma-calendar-date-structure-selected-font-weight',\n\n dateStructureWidth: '--plasma-calendar-date-structure-width',\n dateStructureHeight: '--plasma-calendar-date-structure-height',\n\n dateStructureBorderRadius: '--plasma-calendar-date-structure-border-radius',\n};\n\nexport const tokens = {\n calendarWidth: '--plasma-calendar-width',\n calendarHeight: '--plasma-calendar-height',\n calendarBorderWidth: '--plasma-calendar-border-width',\n calendarBorderColor: '--plasma-calendar-border-color',\n\n /* Токены размера сетки лет */\n calendarYearsPadding: '--plasma-calendar-years-padding',\n calendarYearItemBorderRadius: '--plasma-calendar-year-item-border-radius',\n calendarYearItemWidth: '--plasma-calendar-year-item-width',\n calendarYearItemHeight: '--plasma-calendar-year-item-height',\n\n calendarYearFontFamily: '--plasma-calendar-year-font-family',\n calendarYearFontSize: '--plasma-calendar-year-font-size',\n calendarYearFontStyle: '--plasma-calendar-year-font-style',\n calendarYearFontLetterSpacing: '--plasma-calendar-year-font-letter-spacing',\n calendarYearFontLineHeight: '--plasma-calendar-year-line-height',\n calendarYearFontWeight: '--plasma-calendar-year-font-weight',\n calendarYearSelectedFontWeight: '--plasma-calendar-year-selected-font-weight',\n\n /* Токены размера сетки дней */\n calendarQuartersPadding: '--plasma-calendar-quarters-padding',\n calendarQuarterItemBorderRadius: '--plasma-calendar-quarter-item-border-radius',\n calendarQuarterItemWidth: '--plasma-calendar-quarter-item-width',\n calendarQuarterItemHeight: '--plasma-calendar-quarter-item-height',\n\n calendarQuarterFontFamily: '--plasma-calendar-quarter-font-family',\n calendarQuarterFontSize: '--plasma-calendar-quarter-font-size',\n calendarQuarterFontStyle: '--plasma-calendar-quarter-font-style',\n calendarQuarterFontLetterSpacing: '--plasma-calendar-quarter-font-letter-spacing',\n calendarQuarterFontLineHeight: '--plasma-calendar-quarter-line-height',\n calendarQuarterFontWeight: '--plasma-calendar-quarter-font-weight',\n calendarQuarterSelectedFontWeight: '--plasma-calendar-quarter-selected-font-weight',\n\n /* Токены размера сетки месяцев */\n calendarMonthsPadding: '--plasma-calendar-months-padding',\n calendarMonthItemBorderRadius: '--plasma-calendar-month-item-border-radius',\n calendarMonthItemWidth: '--plasma-calendar-month-item-width',\n calendarMonthItemHeight: '--plasma-calendar-month-item-height',\n\n calendarMonthFontFamily: '--plasma-calendar-month-font-family',\n calendarMonthFontSize: '--plasma-calendar-month-font-size',\n calendarMonthFontStyle: '--plasma-calendar-month-font-style',\n calendarMonthFontLetterSpacing: '--plasma-calendar-month-font-letter-spacing',\n calendarMonthFontLineHeight: '--plasma-calendar-month-line-height',\n calendarMonthFontWeight: '--plasma-calendar-month-font-weight',\n calendarMonthSelectedFontWeight: '--plasma-calendar-month-selected-font-weight',\n\n /* Токены размера сетки дней */\n calendarDaysPadding: '--plasma-calendar-days-padding',\n calendarDayItemBorderRadius: '--plasma-calendar-day-item-border-radius',\n calendarDayItemWidth: '--plasma-calendar-day-item-width',\n calendarDayItemHeight: '--plasma-calendar-day-item-height',\n\n calendarDayFontFamily: '--plasma-calendar-day-font-family',\n calendarDayFontSize: '--plasma-calendar-day-font-size',\n calendarDayFontStyle: '--plasma-calendar-day-font-style',\n calendarDayFontLetterSpacing: '--plasma-calendar-day-font-letter-spacing',\n calendarDayFontLineHeight: '--plasma-calendar-day-line-height',\n calendarDayFontWeight: '--plasma-calendar-day-font-weight',\n calendarDaySelectedFontWeight: '--plasma-calendar-day-selected-font-weight',\n\n calendarDayOfWeekColor: '--plasma-calendar-day-of-the-week-color',\n\n /* Токены шапки календаря */\n calendarHeaderWrapperPadding: '--plasma-calendar-header-wrapper-padding',\n calendarHeaderArrowGap: '--plasma-calendar-arrow-container-gap',\n calendarHeaderArrowPadding: '--plasma-calendar-arrow-container-padding',\n\n calendarHeaderPadding: '--plasma-calendar-header-padding',\n calendarHeaderDateGap: '--plasma-calendar-header-date-gap',\n\n calendarHeaderFontFamily: '--plasma-calendar-header-font-family',\n calendarHeaderFontSize: '--plasma-calendar-header-font-size',\n calendarHeaderFontStyle: '--plasma-calendar-header-font-style',\n calendarHeaderFontLetterSpacing: '--plasma-calendar-header-font-letter-spacing',\n calendarHeaderFontLineHeight: '--plasma-calendar-header-line-height',\n calendarHeaderFontWeight: '--plasma-calendar-header-font-weight',\n calendarHeaderFontWeightBold: '--plasma-calendar-header-font-weight-bold',\n calendarHeaderArrowColor: '--plasma-calendar-header-arrow-color',\n\n /* Токены стрелок навигации календаря */\n iconButtonColor: '--plasma-calendar-icon-button-color',\n iconButtonBackgroundColor: '--plasma-calendar-icon-button-background',\n iconButtonColorHover: '--plasma-calendar-icon-button-color-hover',\n iconButtonBackgroundColorHover: '--plasma-calendar-icon-button-background-hover',\n iconButtonColorActive: '--plasma-calendar-icon-button-color-active',\n iconButtonBackgroundColorActive: '--plasma-calendar-icon-button-background-active',\n iconButtonHeight: '--plasma-calendar-icon-button-height',\n iconButtonWidth: '--plasma-calendar-icon-button-width',\n iconButtonPadding: '--plasma-calendar-icon-button-padding',\n iconButtonRadius: '--plasma-calendar-icon-button-radius',\n iconButtonFocusColor: '--plasma-calendar-icon-button-focus-color',\n\n calendarBackgroundColor: '--plasma-calendar-background',\n calendarSelectedItemBackground: '--plasma-calendar-selected-item-background',\n calendarSelectedItemColor: '--plasma-calendar-selected-item-color',\n calendarSelectableItemBackgroundHover: '--plasma-calendar-selectable-item-bg-hover',\n calendarCurrentItemBorderColor: '--plasma-calendar-current-item-border-color',\n calendarCurrentItemBackgroundHover: '--plasma-calendar-current-item-bg-hover',\n calendarCurrentItemColorHover: '--plasma-calendar-current-item-color-hover',\n calendarCurrentItemChildBackgroundHover: '--plasma-calendar-current-item-child-bg-hover',\n calendarActiveItemBackground: '--plasma-calendar-active-item-bg',\n calendarActiveItemColor: '--plasma-calendar-active-item-color',\n calendarHoveredItemBackground: '--plasma-calendar-hovered-item-bg',\n calendarHoveredItemColor: '--plasma-calendar-hovered-item-color',\n calendarSeparatorBackground: '--plasma-calendar-separator-background',\n calendarRangeBackground: '--plasma-calendar-range-background',\n calendarOutlineFocusColor: '--plasma-calendar-outline-focus-color',\n calendarContentPrimaryColor: '--plasma-calendar-content-primary-color',\n calendarContentSecondaryColor: '--plasma-calendar-content-secondary-color',\n};\n"],"names":["classes","dayOfWeek","dayInCurrentMonth","disabled","disabledCurrent","sideInRange","inRange","sideLeft","sideRight","selectableItem","selectedItem","currentItem","hoveredItem","doubleHeaderDate","doubleHeaderLastDateWrapper","innerTokens","dateStructureFontFamily","dateStructureFontSize","dateStructureFontStyle","dateStructureFontWeight","dateStructureFontLetterSpacing","dateStructureFontLineHeight","dateStructureSelectedFontWeight","dateStructureWidth","dateStructureHeight","dateStructureBorderRadius","tokens","calendarWidth","calendarHeight","calendarBorderWidth","calendarBorderColor","calendarYearsPadding","calendarYearItemBorderRadius","calendarYearItemWidth","calendarYearItemHeight","calendarYearFontFamily","calendarYearFontSize","calendarYearFontStyle","calendarYearFontLetterSpacing","calendarYearFontLineHeight","calendarYearFontWeight","calendarYearSelectedFontWeight","calendarQuartersPadding","calendarQuarterItemBorderRadius","calendarQuarterItemWidth","calendarQuarterItemHeight","calendarQuarterFontFamily","calendarQuarterFontSize","calendarQuarterFontStyle","calendarQuarterFontLetterSpacing","calendarQuarterFontLineHeight","calendarQuarterFontWeight","calendarQuarterSelectedFontWeight","calendarMonthsPadding","calendarMonthItemBorderRadius","calendarMonthItemWidth","calendarMonthItemHeight","calendarMonthFontFamily","calendarMonthFontSize","calendarMonthFontStyle","calendarMonthFontLetterSpacing","calendarMonthFontLineHeight","calendarMonthFontWeight","calendarMonthSelectedFontWeight","calendarDaysPadding","calendarDayItemBorderRadius","calendarDayItemWidth","calendarDayItemHeight","calendarDayFontFamily","calendarDayFontSize","calendarDayFontStyle","calendarDayFontLetterSpacing","calendarDayFontLineHeight","calendarDayFontWeight","calendarDaySelectedFontWeight","calendarDayOfWeekColor","calendarHeaderWrapperPadding","calendarHeaderArrowGap","calendarHeaderArrowPadding","calendarHeaderPadding","calendarHeaderDateGap","calendarHeaderFontFamily","calendarHeaderFontSize","calendarHeaderFontStyle","calendarHeaderFontLetterSpacing","calendarHeaderFontLineHeight","calendarHeaderFontWeight","calendarHeaderFontWeightBold","calendarHeaderArrowColor","iconButtonColor","iconButtonBackgroundColor","iconButtonColorHover","iconButtonBackgroundColorHover","iconButtonColorActive","iconButtonBackgroundColorActive","iconButtonHeight","iconButtonWidth","iconButtonPadding","iconButtonRadius","iconButtonFocusColor","calendarBackgroundColor","calendarSelectedItemBackground","calendarSelectedItemColor","calendarSelectableItemBackgroundHover","calendarCurrentItemBorderColor","calendarCurrentItemBackgroundHover","calendarCurrentItemColorHover","calendarCurrentItemChildBackgroundHover","calendarActiveItemBackground","calendarActiveItemColor","calendarHoveredItemBackground","calendarHoveredItemColor","calendarSeparatorBackground","calendarRangeBackground","calendarOutlineFocusColor","calendarContentPrimaryColor","calendarContentSecondaryColor"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,SAAS,EAAE,aAAa;AACxBC,EAAAA,iBAAiB,EAAE,sBAAsB;AACzCC,EAAAA,QAAQ,EAAE,eAAe;AACzBC,EAAAA,eAAe,EAAE,uBAAuB;AACxCC,EAAAA,WAAW,EAAE,oBAAoB;AACjCC,EAAAA,OAAO,EAAE,eAAe;AACxBC,EAAAA,QAAQ,EAAE,gBAAgB;AAC1BC,EAAAA,SAAS,EAAE,iBAAiB;AAC5BC,EAAAA,cAAc,EAAE,iBAAiB;AACjCC,EAAAA,YAAY,EAAE,eAAe;AAC7BC,EAAAA,WAAW,EAAE,cAAc;AAC3BC,EAAAA,WAAW,EAAE,cAAc;AAC3BC,EAAAA,gBAAgB,EAAE,oBAAoB;AACtCC,EAAAA,2BAA2B,EAAE,kCAAA;AACjC,EAAC;AAEM,IAAMC,WAAW,GAAG;AACvBC,EAAAA,uBAAuB,EAAE,8CAA8C;AACvEC,EAAAA,qBAAqB,EAAE,4CAA4C;AACnEC,EAAAA,sBAAsB,EAAE,6CAA6C;AACrEC,EAAAA,uBAAuB,EAAE,8CAA8C;AACvEC,EAAAA,8BAA8B,EAAE,sDAAsD;AACtFC,EAAAA,2BAA2B,EAAE,8CAA8C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