@salutejs/plasma-new-hope 0.174.0-canary.1497.11463811587.0 → 0.174.0-canary.1497.11500952087.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (555) 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.js +5 -6
  18. package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
  19. package/cjs/components/Autocomplete/Autocomplete.styles.js +2 -3
  20. package/cjs/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  21. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -2
  22. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  23. package/cjs/components/Avatar/Avatar.js +2 -3
  24. package/cjs/components/Avatar/Avatar.js.map +1 -1
  25. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +2 -4
  26. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  27. package/cjs/components/Button/Button.styles.js +0 -3
  28. package/cjs/components/Button/Button.styles.js.map +1 -1
  29. package/cjs/components/Calendar/CalendarBase/CalendarBase.js +5 -5
  30. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
  31. package/cjs/components/Calendar/hooks/useDays.js +2 -2
  32. package/cjs/components/Calendar/hooks/useKeyNavigation.js +1 -1
  33. package/cjs/components/Calendar/hooks/useMonths.js +2 -2
  34. package/cjs/components/Calendar/hooks/useQuarters.js +2 -2
  35. package/cjs/components/Calendar/hooks/useYears.js +2 -2
  36. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +9 -5
  37. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js.map +1 -1
  38. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -6
  39. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  40. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +0 -1
  41. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  42. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +9 -5
  43. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
  44. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +9 -5
  45. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js.map +1 -1
  46. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +9 -5
  47. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
  48. package/cjs/components/Combobox/ComboboxNew/Combobox.css +10 -10
  49. package/cjs/components/Combobox/ComboboxNew/Combobox.js +11 -12
  50. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  51. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -4
  52. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  53. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js +0 -2
  54. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  55. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +10 -10
  56. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js +1 -2
  57. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
  58. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +10 -10
  59. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +6 -8
  60. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  61. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +7 -23
  62. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  63. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_1us8jz1.css → Item.styles_y71664.css} +1 -1
  64. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -2
  65. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  66. package/cjs/components/Combobox/ComboboxOld/Combobox.css +1 -1
  67. package/cjs/components/Combobox/ComboboxOld/Combobox.js +4 -11
  68. package/cjs/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  69. package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js +0 -1
  70. package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
  71. package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js +0 -1
  72. package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
  73. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +1 -2
  74. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
  75. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +1 -1
  76. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +1 -11
  77. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  78. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +1 -1
  79. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +1 -11
  80. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  81. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +1 -1
  82. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +1 -11
  83. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  84. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +1 -1
  85. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +1 -11
  86. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  87. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +0 -2
  88. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  89. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  90. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +1 -2
  91. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
  92. package/cjs/components/DatePicker/DatePickerBase.styles.js +1 -7
  93. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  94. package/cjs/components/DatePicker/RangeDate/RangeDate.js +1 -1
  95. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +0 -1
  96. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  97. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -2
  98. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  99. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +2 -5
  100. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  101. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +0 -1
  102. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  103. package/cjs/components/Drawer/Drawer.js +5 -10
  104. package/cjs/components/Drawer/Drawer.js.map +1 -1
  105. package/cjs/components/Drawer/Drawer.styles.js +0 -4
  106. package/cjs/components/Drawer/Drawer.styles.js.map +1 -1
  107. package/cjs/components/Drawer/hooks/useDrawer.js +0 -4
  108. package/cjs/components/Drawer/hooks/useDrawer.js.map +1 -1
  109. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js +0 -7
  110. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  111. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js +0 -7
  112. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  113. package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js +0 -3
  114. package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
  115. package/cjs/components/Dropdown/Dropdown.css +1 -1
  116. package/cjs/components/Dropdown/Dropdown.js +3 -9
  117. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  118. package/cjs/components/Dropdown/Dropdown.styles.js +1 -1
  119. package/cjs/components/Dropdown/{Dropdown.styles_18f0qpm.css → Dropdown.styles_1ix6io8.css} +1 -1
  120. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  121. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -8
  122. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  123. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +1 -1
  124. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +2 -3
  125. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  126. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -3
  127. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  128. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -2
  129. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  130. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +0 -1
  131. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
  132. package/cjs/components/Editable/Editable.js +3 -4
  133. package/cjs/components/Editable/Editable.js.map +1 -1
  134. package/cjs/components/Editable/utils/clearSelection.js +0 -2
  135. package/cjs/components/Editable/utils/clearSelection.js.map +1 -1
  136. package/cjs/components/Editable/utils/selectText.js +0 -2
  137. package/cjs/components/Editable/utils/selectText.js.map +1 -1
  138. package/cjs/components/EmptyState/EmptyState.styles.js +1 -2
  139. package/cjs/components/EmptyState/EmptyState.styles.js.map +1 -1
  140. package/cjs/components/IconButton/IconButton.js +1 -1
  141. package/cjs/components/IconButton/IconButton.styles.js +0 -8
  142. package/cjs/components/IconButton/IconButton.styles.js.map +1 -1
  143. package/cjs/components/Modal/Modal.js +6 -8
  144. package/cjs/components/Modal/Modal.js.map +1 -1
  145. package/cjs/components/Modal/hooks/useModal.js +0 -4
  146. package/cjs/components/Modal/hooks/useModal.js.map +1 -1
  147. package/cjs/components/Notification/Notification.styles.js +2 -3
  148. package/cjs/components/Notification/Notification.styles.js.map +1 -1
  149. package/cjs/components/Notification/NotificationsPortal.js +3 -4
  150. package/cjs/components/Notification/NotificationsPortal.js.map +1 -1
  151. package/cjs/components/Pagination/Pagination.styles.js +1 -2
  152. package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
  153. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -2
  154. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  155. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js +1 -2
  156. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
  157. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -2
  158. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
  159. package/cjs/components/Popover/Popover.js +1 -1
  160. package/cjs/components/Popup/Popup.js +2 -2
  161. package/cjs/components/Popup/PopupContext.js +1 -1
  162. package/cjs/components/Range/Range.styles.js +0 -1
  163. package/cjs/components/Range/Range.styles.js.map +1 -1
  164. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +4 -5
  165. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  166. package/cjs/components/Select/Select.js +11 -12
  167. package/cjs/components/Select/Select.js.map +1 -1
  168. package/cjs/components/Select/Select.styles.js +2 -5
  169. package/cjs/components/Select/Select.styles.js.map +1 -1
  170. package/cjs/components/Select/hooks/usePathMaps.js +0 -2
  171. package/cjs/components/Select/hooks/usePathMaps.js.map +1 -1
  172. package/cjs/components/Select/ui/Inner/Inner.js +1 -2
  173. package/cjs/components/Select/ui/Inner/Inner.js.map +1 -1
  174. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +4 -5
  175. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  176. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +0 -1
  177. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  178. package/cjs/components/Select/ui/Target/ui/Button/Button.js +1 -1
  179. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +1 -3
  180. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  181. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
  182. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -4
  183. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  184. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +1 -2
  185. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
  186. package/cjs/components/Select/utils/getButtonLabel.js +0 -2
  187. package/cjs/components/Select/utils/getButtonLabel.js.map +1 -1
  188. package/cjs/components/Sheet/Sheet.js +3 -3
  189. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js +2 -4
  190. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  191. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js +2 -4
  192. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  193. package/cjs/components/Slider/Slider.js +0 -8
  194. package/cjs/components/Slider/Slider.js.map +1 -1
  195. package/cjs/components/Slider/components/Double/Double.js +1 -2
  196. package/cjs/components/Slider/components/Double/Double.js.map +1 -1
  197. package/cjs/components/Slider/components/Double/Double.styles.js +0 -1
  198. package/cjs/components/Slider/components/Double/Double.styles.js.map +1 -1
  199. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +0 -3
  200. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  201. package/cjs/components/Slider/components/Single/Single.js +1 -2
  202. package/cjs/components/Slider/components/Single/Single.js.map +1 -1
  203. package/cjs/components/Slider/components/SliderBase/SliderBase.js +1 -1
  204. package/cjs/components/Steps/Steps.js +1 -1
  205. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js +0 -1
  206. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  207. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +2 -3
  208. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  209. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -3
  210. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  211. package/cjs/components/TextArea/TextArea.js +3 -3
  212. package/cjs/components/TextArea/TextArea.js.map +1 -1
  213. package/cjs/components/TextArea/TextArea.styles.js +4 -5
  214. package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
  215. package/cjs/components/TextArea/ui/Hint/Hint.js +1 -2
  216. package/cjs/components/TextArea/ui/Hint/Hint.js.map +1 -1
  217. package/cjs/components/TextField/TextField.js +4 -4
  218. package/cjs/components/TextField/TextField.js.map +1 -1
  219. package/cjs/components/TextField/TextField.styles.js +3 -4
  220. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  221. package/cjs/components/TextField/ui/Hint/Hint.js +1 -2
  222. package/cjs/components/TextField/ui/Hint/Hint.js.map +1 -1
  223. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -2
  224. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  225. package/cjs/components/Toast/Toast.styles.js +1 -1
  226. package/cjs/components/Toast/ToastController.js +1 -1
  227. package/cjs/components/Toast/utils.js +1 -2
  228. package/cjs/components/Toast/utils.js.map +1 -1
  229. package/cjs/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
  230. package/cjs/components/Tooltip/Tooltip.js +2 -3
  231. package/cjs/components/Tooltip/Tooltip.js.map +1 -1
  232. package/cjs/engines/index.js +0 -2
  233. package/cjs/engines/index.js.map +1 -1
  234. package/cjs/hooks/useIsomorphicLayoutEffect.js +0 -1
  235. package/cjs/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  236. package/cjs/index.css +10 -10
  237. package/cjs/index.js +48 -51
  238. package/cjs/index.js.map +1 -1
  239. package/cjs/utils/index.js +0 -5
  240. package/cjs/utils/index.js.map +1 -1
  241. package/emotion/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +5 -1
  242. package/emotion/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +5 -1
  243. package/emotion/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +5 -1
  244. package/emotion/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +5 -1
  245. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  246. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +14 -20
  247. package/emotion/cjs/components/Dropdown/Dropdown.tokens.js +1 -1
  248. package/emotion/cjs/components/TextArea/TextArea.js +2 -2
  249. package/emotion/cjs/components/TextArea/TextArea.styles.js +20 -20
  250. package/emotion/cjs/components/TextField/TextField.js +2 -2
  251. package/emotion/cjs/components/TextField/TextField.styles.js +24 -24
  252. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  253. package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  254. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  255. package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  256. package/emotion/es/components/Calendar/ui/CalendarDays/CalendarDays.js +5 -1
  257. package/emotion/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +5 -1
  258. package/emotion/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +5 -1
  259. package/emotion/es/components/Calendar/ui/CalendarYears/CalendarYears.js +5 -1
  260. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  261. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +14 -20
  262. package/emotion/es/components/Dropdown/Dropdown.tokens.js +1 -1
  263. package/emotion/es/components/TextArea/TextArea.js +2 -2
  264. package/emotion/es/components/TextArea/TextArea.styles.js +20 -20
  265. package/emotion/es/components/TextField/TextField.js +2 -2
  266. package/emotion/es/components/TextField/TextField.styles.js +24 -24
  267. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  268. package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  269. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  270. package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  271. package/emotion/package.json +2 -1
  272. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -1
  273. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
  274. package/es/components/Attach/Attach.js +3 -4
  275. package/es/components/Attach/Attach.js.map +1 -1
  276. package/es/components/Attach/components/AttachButton/AttachButton.js +0 -1
  277. package/es/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
  278. package/es/components/Attach/ui/Button/Button.styles.js +0 -1
  279. package/es/components/Attach/ui/Button/Button.styles.js.map +1 -1
  280. package/es/components/Attach/ui/Cell/Cell.styles.js +0 -2
  281. package/es/components/Attach/ui/Cell/Cell.styles.js.map +1 -1
  282. package/es/components/Attach/ui/IconButton/IconButton.styles.js +0 -1
  283. package/es/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -1
  284. package/es/components/Attach/utils/getFileicon.js +3 -4
  285. package/es/components/Attach/utils/getFileicon.js.map +1 -1
  286. package/es/components/Attach/utils/index.js +0 -3
  287. package/es/components/Attach/utils/index.js.map +1 -1
  288. package/es/components/Autocomplete/Autocomplete.js +5 -6
  289. package/es/components/Autocomplete/Autocomplete.js.map +1 -1
  290. package/es/components/Autocomplete/Autocomplete.styles.js +2 -3
  291. package/es/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  292. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -2
  293. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  294. package/es/components/Avatar/Avatar.js +2 -3
  295. package/es/components/Avatar/Avatar.js.map +1 -1
  296. package/es/components/Breadcrumbs/Breadcrumbs.styles.js +2 -4
  297. package/es/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  298. package/es/components/Button/Button.styles.js +0 -3
  299. package/es/components/Button/Button.styles.js.map +1 -1
  300. package/es/components/Calendar/CalendarBase/CalendarBase.js +5 -5
  301. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
  302. package/es/components/Calendar/hooks/useDays.js +2 -2
  303. package/es/components/Calendar/hooks/useKeyNavigation.js +1 -1
  304. package/es/components/Calendar/hooks/useMonths.js +2 -2
  305. package/es/components/Calendar/hooks/useQuarters.js +2 -2
  306. package/es/components/Calendar/hooks/useYears.js +2 -2
  307. package/es/components/Calendar/ui/CalendarDays/CalendarDays.js +9 -5
  308. package/es/components/Calendar/ui/CalendarDays/CalendarDays.js.map +1 -1
  309. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -6
  310. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  311. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +0 -1
  312. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  313. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +9 -5
  314. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
  315. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +9 -5
  316. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js.map +1 -1
  317. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +9 -5
  318. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
  319. package/es/components/Combobox/ComboboxNew/Combobox.css +10 -10
  320. package/es/components/Combobox/ComboboxNew/Combobox.js +11 -12
  321. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  322. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -4
  323. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  324. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js +0 -2
  325. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  326. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +10 -10
  327. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js +1 -2
  328. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
  329. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +10 -10
  330. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +6 -8
  331. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  332. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +7 -23
  333. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  334. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_1us8jz1.css → Item.styles_y71664.css} +1 -1
  335. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -2
  336. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  337. package/es/components/Combobox/ComboboxOld/Combobox.css +1 -1
  338. package/es/components/Combobox/ComboboxOld/Combobox.js +4 -11
  339. package/es/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  340. package/es/components/Combobox/ComboboxOld/Combobox.styles.js +0 -1
  341. package/es/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
  342. package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js +0 -1
  343. package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
  344. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +1 -2
  345. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
  346. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +1 -1
  347. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +1 -11
  348. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  349. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +1 -1
  350. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +1 -11
  351. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  352. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +1 -1
  353. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +1 -11
  354. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  355. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +1 -1
  356. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +1 -11
  357. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  358. package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +0 -2
  359. package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  360. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  361. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +1 -2
  362. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
  363. package/es/components/DatePicker/DatePickerBase.styles.js +1 -7
  364. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  365. package/es/components/DatePicker/RangeDate/RangeDate.js +1 -1
  366. package/es/components/DatePicker/RangeDate/RangeDate.styles.js +0 -1
  367. package/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  368. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -2
  369. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  370. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +2 -5
  371. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  372. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +0 -1
  373. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  374. package/es/components/Drawer/Drawer.js +5 -10
  375. package/es/components/Drawer/Drawer.js.map +1 -1
  376. package/es/components/Drawer/Drawer.styles.js +0 -4
  377. package/es/components/Drawer/Drawer.styles.js.map +1 -1
  378. package/es/components/Drawer/hooks/useDrawer.js +0 -4
  379. package/es/components/Drawer/hooks/useDrawer.js.map +1 -1
  380. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js +0 -7
  381. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  382. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js +0 -7
  383. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  384. package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js +0 -3
  385. package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
  386. package/es/components/Dropdown/Dropdown.css +1 -1
  387. package/es/components/Dropdown/Dropdown.js +3 -9
  388. package/es/components/Dropdown/Dropdown.js.map +1 -1
  389. package/es/components/Dropdown/Dropdown.styles.js +1 -1
  390. package/es/components/Dropdown/{Dropdown.styles_18f0qpm.css → Dropdown.styles_1ix6io8.css} +1 -1
  391. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  392. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -8
  393. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  394. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +1 -1
  395. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +2 -3
  396. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  397. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -3
  398. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  399. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -2
  400. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  401. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +0 -1
  402. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
  403. package/es/components/Editable/Editable.js +3 -4
  404. package/es/components/Editable/Editable.js.map +1 -1
  405. package/es/components/Editable/utils/clearSelection.js +0 -2
  406. package/es/components/Editable/utils/clearSelection.js.map +1 -1
  407. package/es/components/Editable/utils/selectText.js +0 -2
  408. package/es/components/Editable/utils/selectText.js.map +1 -1
  409. package/es/components/EmptyState/EmptyState.styles.js +1 -2
  410. package/es/components/EmptyState/EmptyState.styles.js.map +1 -1
  411. package/es/components/IconButton/IconButton.js +1 -1
  412. package/es/components/IconButton/IconButton.styles.js +0 -8
  413. package/es/components/IconButton/IconButton.styles.js.map +1 -1
  414. package/es/components/Modal/Modal.js +6 -8
  415. package/es/components/Modal/Modal.js.map +1 -1
  416. package/es/components/Modal/hooks/useModal.js +0 -4
  417. package/es/components/Modal/hooks/useModal.js.map +1 -1
  418. package/es/components/Notification/Notification.styles.js +2 -3
  419. package/es/components/Notification/Notification.styles.js.map +1 -1
  420. package/es/components/Notification/NotificationsPortal.js +3 -4
  421. package/es/components/Notification/NotificationsPortal.js.map +1 -1
  422. package/es/components/Pagination/Pagination.styles.js +1 -2
  423. package/es/components/Pagination/Pagination.styles.js.map +1 -1
  424. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -2
  425. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  426. package/es/components/Panel/ui/PanelHeader/PanelHeader.js +1 -2
  427. package/es/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
  428. package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -2
  429. package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
  430. package/es/components/Popover/Popover.js +1 -1
  431. package/es/components/Popup/Popup.js +2 -2
  432. package/es/components/Popup/PopupContext.js +1 -1
  433. package/es/components/Range/Range.styles.js +0 -1
  434. package/es/components/Range/Range.styles.js.map +1 -1
  435. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +4 -5
  436. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  437. package/es/components/Select/Select.js +11 -12
  438. package/es/components/Select/Select.js.map +1 -1
  439. package/es/components/Select/Select.styles.js +2 -5
  440. package/es/components/Select/Select.styles.js.map +1 -1
  441. package/es/components/Select/hooks/usePathMaps.js +0 -2
  442. package/es/components/Select/hooks/usePathMaps.js.map +1 -1
  443. package/es/components/Select/ui/Inner/Inner.js +1 -2
  444. package/es/components/Select/ui/Inner/Inner.js.map +1 -1
  445. package/es/components/Select/ui/Inner/ui/Item/Item.js +4 -5
  446. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  447. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +0 -1
  448. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  449. package/es/components/Select/ui/Target/ui/Button/Button.js +1 -1
  450. package/es/components/Select/ui/Target/ui/Button/Button.styles.js +1 -3
  451. package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  452. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
  453. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -4
  454. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  455. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +1 -2
  456. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
  457. package/es/components/Select/utils/getButtonLabel.js +0 -2
  458. package/es/components/Select/utils/getButtonLabel.js.map +1 -1
  459. package/es/components/Sheet/Sheet.js +3 -3
  460. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js +2 -4
  461. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  462. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js +2 -4
  463. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  464. package/es/components/Slider/Slider.js +0 -8
  465. package/es/components/Slider/Slider.js.map +1 -1
  466. package/es/components/Slider/components/Double/Double.js +1 -2
  467. package/es/components/Slider/components/Double/Double.js.map +1 -1
  468. package/es/components/Slider/components/Double/Double.styles.js +0 -1
  469. package/es/components/Slider/components/Double/Double.styles.js.map +1 -1
  470. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +0 -3
  471. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  472. package/es/components/Slider/components/Single/Single.js +1 -2
  473. package/es/components/Slider/components/Single/Single.js.map +1 -1
  474. package/es/components/Slider/components/SliderBase/SliderBase.js +1 -1
  475. package/es/components/Steps/Steps.js +1 -1
  476. package/es/components/Steps/ui/StepItem/StepItem.styles.js +0 -1
  477. package/es/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  478. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +2 -3
  479. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  480. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -3
  481. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  482. package/es/components/TextArea/TextArea.js +3 -3
  483. package/es/components/TextArea/TextArea.js.map +1 -1
  484. package/es/components/TextArea/TextArea.styles.js +4 -5
  485. package/es/components/TextArea/TextArea.styles.js.map +1 -1
  486. package/es/components/TextArea/ui/Hint/Hint.js +1 -2
  487. package/es/components/TextArea/ui/Hint/Hint.js.map +1 -1
  488. package/es/components/TextField/TextField.js +4 -4
  489. package/es/components/TextField/TextField.js.map +1 -1
  490. package/es/components/TextField/TextField.styles.js +3 -4
  491. package/es/components/TextField/TextField.styles.js.map +1 -1
  492. package/es/components/TextField/ui/Hint/Hint.js +1 -2
  493. package/es/components/TextField/ui/Hint/Hint.js.map +1 -1
  494. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -2
  495. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  496. package/es/components/Toast/Toast.styles.js +1 -1
  497. package/es/components/Toast/ToastController.js +1 -1
  498. package/es/components/Toast/utils.js +1 -2
  499. package/es/components/Toast/utils.js.map +1 -1
  500. package/es/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
  501. package/es/components/Tooltip/Tooltip.js +2 -3
  502. package/es/components/Tooltip/Tooltip.js.map +1 -1
  503. package/es/engines/index.js +0 -2
  504. package/es/engines/index.js.map +1 -1
  505. package/es/hooks/useIsomorphicLayoutEffect.js +0 -1
  506. package/es/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  507. package/es/index.css +10 -10
  508. package/es/index.js +21 -24
  509. package/es/index.js.map +1 -1
  510. package/es/utils/index.js +0 -3
  511. package/es/utils/index.js.map +1 -1
  512. package/package.json +5 -2
  513. package/styled-components/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +5 -1
  514. package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +5 -1
  515. package/styled-components/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +5 -1
  516. package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +5 -1
  517. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  518. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +4 -10
  519. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +1 -1
  520. package/styled-components/cjs/components/TextArea/TextArea.js +1 -1
  521. package/styled-components/cjs/components/TextArea/TextArea.styles.js +2 -2
  522. package/styled-components/cjs/components/TextField/TextField.js +1 -1
  523. package/styled-components/cjs/components/TextField/TextField.styles.js +2 -2
  524. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  525. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +4 -4
  526. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  527. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +4 -4
  528. package/styled-components/es/components/Calendar/ui/CalendarDays/CalendarDays.js +5 -1
  529. package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +5 -1
  530. package/styled-components/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +5 -1
  531. package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.js +5 -1
  532. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  533. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +4 -10
  534. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +1 -1
  535. package/styled-components/es/components/TextArea/TextArea.js +1 -1
  536. package/styled-components/es/components/TextArea/TextArea.styles.js +2 -2
  537. package/styled-components/es/components/TextField/TextField.js +1 -1
  538. package/styled-components/es/components/TextField/TextField.styles.js +2 -2
  539. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  540. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +4 -4
  541. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  542. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +4 -4
  543. package/styled-components/package.json +2 -1
  544. package/types/components/Calendar/ui/CalendarDays/CalendarDays.d.ts.map +1 -1
  545. package/types/components/Calendar/ui/CalendarMonths/CalendarMonths.d.ts.map +1 -1
  546. package/types/components/Calendar/ui/CalendarQuarters/CalendarQuarters.d.ts.map +1 -1
  547. package/types/components/Calendar/ui/CalendarYears/CalendarYears.d.ts.map +1 -1
  548. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  549. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
  550. package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts +4 -0
  551. package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts.map +1 -1
  552. package/types/components/TextArea/TextArea.styles.d.ts +1 -1
  553. package/types/components/TextArea/TextArea.styles.d.ts.map +1 -1
  554. package/types/components/TextField/TextField.styles.d.ts +1 -1
  555. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
@@ -1,4 +1,4 @@
1
- .Dropdown_styles_18f0qpm_un7uamp__64c00440{box-sizing:border-box;width:var(--un7uamp-0);height:var(--un7uamp-1);margin:var(--un7uamp-2);padding:var(--plasma-dropdown-padding) 0;overflow:var(--un7uamp-3);background:var(--surface-solid-card);box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);border-radius:var(--plasma-dropdown-border-radius);}
1
+ .Dropdown_styles_1ix6io8_un7uamp__de6f45f2{box-sizing:border-box;width:var(--un7uamp-0);height:var(--un7uamp-1);margin:var(--un7uamp-2);padding:var(--plasma-dropdown-padding) 0;overflow:var(--un7uamp-3);background:var(--surface-solid-card-brightness);box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);border-radius:var(--plasma-dropdown-border-radius);}
2
2
 
3
3
 
4
4
  .DropdownDivider_styles_v3xor1_s1brpi5d__3a791565{background:var(--plasma-dropdown-divider-color);width:var(--plasma-dropdown-divider-width);height:var(--plasma-dropdown-divider-height);margin:var(--plasma-dropdown-divider-margin-top) var(--plasma-dropdown-divider-margin-right) var(--plasma-dropdown-divider-margin-bottom) var(--plasma-dropdown-divider-margin-left);}
@@ -1,17 +1,7 @@
1
- import 'react';
2
- import '@salutejs/plasma-core';
3
- import '../../../../../utils/react.js';
4
- import '@linaria/react';
5
- import { dropdownFooterRoot } from '../../../../Dropdown/ui/DropdownFooter/DropdownFooter.js';
6
- import '@linaria/core';
7
- import 'focus-visible';
8
- import '@floating-ui/react';
9
- import 'styled-components';
10
- import 'react-popper';
11
- import 'react-dom';
12
1
  import { base as base$1 } from './variations/_view/base.js';
13
2
  import { base as base$2 } from './variations/_size/base.js';
14
3
  import { base } from './ComboboxFooter.styles.js';
4
+ import { dropdownFooterRoot } from '../../../../Dropdown/ui/DropdownFooter/DropdownFooter.js';
15
5
 
16
6
  var comboboxFooterRoot = dropdownFooterRoot;
17
7
  var comboboxFooterConfig = {
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxFooter.js","sources":["../../../../../../src/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.tsx"],"sourcesContent":["import { dropdownFooterRoot } from '../../../../Dropdown';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base } from './ComboboxFooter.styles';\n\nexport const comboboxFooterRoot = dropdownFooterRoot;\n\nexport const comboboxFooterConfig = {\n name: 'ComboboxFooter',\n tag: 'div',\n layout: comboboxFooterRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'primary',\n size: 'm',\n },\n};\n"],"names":["comboboxFooterRoot","dropdownFooterRoot","comboboxFooterConfig","name","tag","layout","base","variations","view","css","viewCSS","size","sizeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;AAMO,IAAMA,kBAAkB,GAAGC,mBAAkB;AAE7C,IAAMC,oBAAoB,GAAG;AAChCC,EAAAA,IAAI,EAAE,gBAAgB;AACtBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEL,kBAAkB;AAC1BM,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACRC,IAAAA,IAAI,EAAE;AACFC,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACDC,IAAAA,IAAI,EAAE;AACFF,MAAAA,GAAG,EAAEG,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNL,IAAAA,IAAI,EAAE,SAAS;AACfG,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"ComboboxFooter.js","sources":["../../../../../../src/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.tsx"],"sourcesContent":["import { dropdownFooterRoot } from '../../../../Dropdown';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base } from './ComboboxFooter.styles';\n\nexport const comboboxFooterRoot = dropdownFooterRoot;\n\nexport const comboboxFooterConfig = {\n name: 'ComboboxFooter',\n tag: 'div',\n layout: comboboxFooterRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'primary',\n size: 'm',\n },\n};\n"],"names":["comboboxFooterRoot","dropdownFooterRoot","comboboxFooterConfig","name","tag","layout","base","variations","view","css","viewCSS","size","sizeCSS","defaults"],"mappings":";;;;;AAMO,IAAMA,kBAAkB,GAAGC,mBAAkB;AAE7C,IAAMC,oBAAoB,GAAG;AAChCC,EAAAA,IAAI,EAAE,gBAAgB;AACtBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEL,kBAAkB;AAC1BM,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACRC,IAAAA,IAAI,EAAE;AACFC,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACDC,IAAAA,IAAI,EAAE;AACFF,MAAAA,GAAG,EAAEG,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNL,IAAAA,IAAI,EAAE,SAAS;AACfG,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
@@ -1,4 +1,4 @@
1
- .Dropdown_styles_18f0qpm_un7uamp__64c00440{box-sizing:border-box;width:var(--un7uamp-0);height:var(--un7uamp-1);margin:var(--un7uamp-2);padding:var(--plasma-dropdown-padding) 0;overflow:var(--un7uamp-3);background:var(--surface-solid-card);box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);border-radius:var(--plasma-dropdown-border-radius);}
1
+ .Dropdown_styles_1ix6io8_un7uamp__de6f45f2{box-sizing:border-box;width:var(--un7uamp-0);height:var(--un7uamp-1);margin:var(--un7uamp-2);padding:var(--plasma-dropdown-padding) 0;overflow:var(--un7uamp-3);background:var(--surface-solid-card-brightness);box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);border-radius:var(--plasma-dropdown-border-radius);}
2
2
 
3
3
 
4
4
  .DropdownDivider_styles_v3xor1_s1brpi5d__3a791565{background:var(--plasma-dropdown-divider-color);width:var(--plasma-dropdown-divider-width);height:var(--plasma-dropdown-divider-height);margin:var(--plasma-dropdown-divider-margin-top) var(--plasma-dropdown-divider-margin-right) var(--plasma-dropdown-divider-margin-bottom) var(--plasma-dropdown-divider-margin-left);}
@@ -1,17 +1,7 @@
1
- import 'react';
2
- import '@salutejs/plasma-core';
3
- import '../../../../../utils/react.js';
4
- import '@linaria/react';
5
- import { dropdownGroupRoot } from '../../../../Dropdown/ui/DropdownGroup/DropdownGroup.js';
6
- import '@linaria/core';
7
- import 'focus-visible';
8
- import '@floating-ui/react';
9
- import 'styled-components';
10
- import 'react-popper';
11
- import 'react-dom';
12
1
  import { base as base$1 } from './variations/_view/base.js';
13
2
  import { base as base$2 } from './variations/_size/base.js';
14
3
  import { base } from './ComboboxGroup.styles.js';
4
+ import { dropdownGroupRoot } from '../../../../Dropdown/ui/DropdownGroup/DropdownGroup.js';
15
5
 
16
6
  var comboboxGroupRoot = dropdownGroupRoot;
17
7
  var comboboxGroupConfig = {
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxGroup.js","sources":["../../../../../../src/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.tsx"],"sourcesContent":["import { dropdownGroupRoot } from '../../../../Dropdown';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base } from './ComboboxGroup.styles';\n\nexport const comboboxGroupRoot = dropdownGroupRoot;\n\nexport const comboboxGroupConfig = {\n name: 'ComboboxGroup',\n tag: 'div',\n layout: comboboxGroupRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'primary',\n size: 'm',\n },\n};\n"],"names":["comboboxGroupRoot","dropdownGroupRoot","comboboxGroupConfig","name","tag","layout","base","variations","view","css","viewCSS","size","sizeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;AAMO,IAAMA,iBAAiB,GAAGC,kBAAiB;AAE3C,IAAMC,mBAAmB,GAAG;AAC/BC,EAAAA,IAAI,EAAE,eAAe;AACrBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEL,iBAAiB;AACzBM,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACRC,IAAAA,IAAI,EAAE;AACFC,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACDC,IAAAA,IAAI,EAAE;AACFF,MAAAA,GAAG,EAAEG,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNL,IAAAA,IAAI,EAAE,SAAS;AACfG,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"ComboboxGroup.js","sources":["../../../../../../src/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.tsx"],"sourcesContent":["import { dropdownGroupRoot } from '../../../../Dropdown';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base } from './ComboboxGroup.styles';\n\nexport const comboboxGroupRoot = dropdownGroupRoot;\n\nexport const comboboxGroupConfig = {\n name: 'ComboboxGroup',\n tag: 'div',\n layout: comboboxGroupRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'primary',\n size: 'm',\n },\n};\n"],"names":["comboboxGroupRoot","dropdownGroupRoot","comboboxGroupConfig","name","tag","layout","base","variations","view","css","viewCSS","size","sizeCSS","defaults"],"mappings":";;;;;AAMO,IAAMA,iBAAiB,GAAGC,kBAAiB;AAE3C,IAAMC,mBAAmB,GAAG;AAC/BC,EAAAA,IAAI,EAAE,eAAe;AACrBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEL,iBAAiB;AACzBM,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACRC,IAAAA,IAAI,EAAE;AACFC,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACDC,IAAAA,IAAI,EAAE;AACFF,MAAAA,GAAG,EAAEG,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNL,IAAAA,IAAI,EAAE,SAAS;AACfG,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
@@ -1,4 +1,4 @@
1
- .Dropdown_styles_18f0qpm_un7uamp__64c00440{box-sizing:border-box;width:var(--un7uamp-0);height:var(--un7uamp-1);margin:var(--un7uamp-2);padding:var(--plasma-dropdown-padding) 0;overflow:var(--un7uamp-3);background:var(--surface-solid-card);box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);border-radius:var(--plasma-dropdown-border-radius);}
1
+ .Dropdown_styles_1ix6io8_un7uamp__de6f45f2{box-sizing:border-box;width:var(--un7uamp-0);height:var(--un7uamp-1);margin:var(--un7uamp-2);padding:var(--plasma-dropdown-padding) 0;overflow:var(--un7uamp-3);background:var(--surface-solid-card-brightness);box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);border-radius:var(--plasma-dropdown-border-radius);}
2
2
 
3
3
 
4
4
  .DropdownDivider_styles_v3xor1_s1brpi5d__3a791565{background:var(--plasma-dropdown-divider-color);width:var(--plasma-dropdown-divider-width);height:var(--plasma-dropdown-divider-height);margin:var(--plasma-dropdown-divider-margin-top) var(--plasma-dropdown-divider-margin-right) var(--plasma-dropdown-divider-margin-bottom) var(--plasma-dropdown-divider-margin-left);}
@@ -1,17 +1,7 @@
1
- import 'react';
2
- import '@salutejs/plasma-core';
3
- import '../../../../../utils/react.js';
4
- import '@linaria/react';
5
- import { dropdownHeaderRoot } from '../../../../Dropdown/ui/DropdownHeader/DropdownHeader.js';
6
- import '@linaria/core';
7
- import 'focus-visible';
8
- import '@floating-ui/react';
9
- import 'styled-components';
10
- import 'react-popper';
11
- import 'react-dom';
12
1
  import { base as base$1 } from './variations/_view/base.js';
13
2
  import { base as base$2 } from './variations/_size/base.js';
14
3
  import { base } from './ComboboxHeader.styles.js';
4
+ import { dropdownHeaderRoot } from '../../../../Dropdown/ui/DropdownHeader/DropdownHeader.js';
15
5
 
16
6
  var comboboxHeaderRoot = dropdownHeaderRoot;
17
7
  var comboboxHeaderConfig = {
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxHeader.js","sources":["../../../../../../src/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.tsx"],"sourcesContent":["import { dropdownHeaderRoot } from '../../../../Dropdown';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base } from './ComboboxHeader.styles';\n\nexport const comboboxHeaderRoot = dropdownHeaderRoot;\n\nexport const comboboxHeaderConfig = {\n name: 'ComboboxHeader',\n tag: 'div',\n layout: comboboxHeaderRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'primary',\n size: 'm',\n },\n};\n"],"names":["comboboxHeaderRoot","dropdownHeaderRoot","comboboxHeaderConfig","name","tag","layout","base","variations","view","css","viewCSS","size","sizeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;AAMO,IAAMA,kBAAkB,GAAGC,mBAAkB;AAE7C,IAAMC,oBAAoB,GAAG;AAChCC,EAAAA,IAAI,EAAE,gBAAgB;AACtBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEL,kBAAkB;AAC1BM,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACRC,IAAAA,IAAI,EAAE;AACFC,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACDC,IAAAA,IAAI,EAAE;AACFF,MAAAA,GAAG,EAAEG,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNL,IAAAA,IAAI,EAAE,SAAS;AACfG,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"ComboboxHeader.js","sources":["../../../../../../src/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.tsx"],"sourcesContent":["import { dropdownHeaderRoot } from '../../../../Dropdown';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base } from './ComboboxHeader.styles';\n\nexport const comboboxHeaderRoot = dropdownHeaderRoot;\n\nexport const comboboxHeaderConfig = {\n name: 'ComboboxHeader',\n tag: 'div',\n layout: comboboxHeaderRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'primary',\n size: 'm',\n },\n};\n"],"names":["comboboxHeaderRoot","dropdownHeaderRoot","comboboxHeaderConfig","name","tag","layout","base","variations","view","css","viewCSS","size","sizeCSS","defaults"],"mappings":";;;;;AAMO,IAAMA,kBAAkB,GAAGC,mBAAkB;AAE7C,IAAMC,oBAAoB,GAAG;AAChCC,EAAAA,IAAI,EAAE,gBAAgB;AACtBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEL,kBAAkB;AAC1BM,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACRC,IAAAA,IAAI,EAAE;AACFC,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACDC,IAAAA,IAAI,EAAE;AACFF,MAAAA,GAAG,EAAEG,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNL,IAAAA,IAAI,EAAE,SAAS;AACfG,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
@@ -1,7 +1,5 @@
1
1
  import './ComboboxItem.styles_7ufukp.css';
2
2
  import { styled } from '@linaria/react';
3
- import 'focus-visible';
4
- import 'styled-components';
5
3
 
6
4
  var StyledContentLeft = /*#__PURE__*/styled('div')({
7
5
  name: "StyledContentLeft",
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxItem.styles.js","sources":["../../../../../../src/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\nimport { styled } from '@linaria/react';\n\nimport { classes, tokens } from '../../Combobox.tokens';\nimport { addFocus, applyEllipsis } from '../../../../../mixins';\n\nexport const StyledContentLeft = styled.div`\n display: inline-flex;\n\n min-width: var(${tokens.itemContentLeftWidth});\n color: var(${tokens.itemContentLeftColor});\n`;\n\nexport const StyledContentRight = styled.div`\n margin-left: auto;\n display: inline-flex;\n\n min-width: var(${tokens.itemContentRightWidth});\n color: var(${tokens.itemContentRightColor});\n`;\n\nexport const StyledText = styled.div`\n ${applyEllipsis()};\n`;\n\n// INFO: Для возможности переиспользования стилей в других компонентах\nexport const baseContent = `\n box-sizing: content-box;\n display: flex;\n align-items: center;\n user-select: none;\n\n :focus {\n outline: none;\n }\n\n ${addFocus({\n outlineSize: '0.0625rem',\n outlineOffset: '0',\n outlineColor: `var(${tokens.focusColor})`,\n outlineRadius: `var(${tokens.itemBorderRadius})`,\n hasTransition: false,\n })};\n\n width: 100%;\n\n font-family: var(${tokens.itemFontFamily});\n font-size: var(${tokens.itemFontSize});\n font-style: var(${tokens.itemFontStyle});\n font-weight: var(${tokens.itemFontWeightBold});\n letter-spacing: var(${tokens.itemFontLetterSpacing});\n line-height: var(${tokens.itemFontLineHeight});\n\n background: var(${tokens.itemBackground});\n color: var(${tokens.itemColor});\n border-radius: var(${tokens.itemBorderRadius});\n\n width: var(${tokens.itemWidth});\n height: var(${tokens.itemHeight});\n\n padding: var(${tokens.itemPaddingTop}) var(${tokens.itemPaddingRight}) var(${tokens.itemPaddingBottom})\n var(${tokens.itemPaddingLeft});\n\n margin: var(${tokens.itemMarginTop}) var(${tokens.itemMarginRight}) var(${tokens.itemMarginBottom})\n var(${tokens.itemMarginLeft});\n\n &:hover:not(.${classes.comboboxItemIsDisabled}) {\n cursor: pointer;\n background: var(${tokens.itemBackgroundHover});\n }\n\n &.${String(classes.comboboxItemIsSelected)} {\n color: var(${tokens.itemColorSelected});\n background: var(${tokens.itemBackgroundSelected});\n\n &:hover:not(.${classes.comboboxItemIsDisabled}) {\n background: var(${tokens.itemBackgroundSelectedHover});\n }\n }\n\n &.${classes.comboboxItemIsDisabled} {\n opacity: var(${tokens.disabledOpacity});\n cursor: not-allowed;\n }\n`;\n\nexport const base = css`\n ${baseContent};\n`;\n"],"names":["StyledContentLeft","styled","name","class","propsAsIs","StyledContentRight","StyledText","base"],"mappings":";;;;AAMO,IAAMA,iBAAiB,gBAAGC,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,mBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAKtC,EAAA;AAEM,IAAMC,kBAAkB,gBAAGJ,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,oBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAMvC,EAAA;AAEM,IAAME,UAAU,gBAAGL,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAE/B,EAAA;AA+DM,IAAMG,IAAI,GAEhB;;;;"}
1
+ {"version":3,"file":"ComboboxItem.styles.js","sources":["../../../../../../src/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\nimport { styled } from '@linaria/react';\n\nimport { classes, tokens } from '../../Combobox.tokens';\nimport { addFocus, applyEllipsis } from '../../../../../mixins';\n\nexport const StyledContentLeft = styled.div`\n display: inline-flex;\n\n min-width: var(${tokens.itemContentLeftWidth});\n color: var(${tokens.itemContentLeftColor});\n`;\n\nexport const StyledContentRight = styled.div`\n margin-left: auto;\n display: inline-flex;\n\n min-width: var(${tokens.itemContentRightWidth});\n color: var(${tokens.itemContentRightColor});\n`;\n\nexport const StyledText = styled.div`\n ${applyEllipsis()};\n`;\n\n// INFO: Для возможности переиспользования стилей в других компонентах\nexport const baseContent = `\n box-sizing: content-box;\n display: flex;\n align-items: center;\n user-select: none;\n\n :focus {\n outline: none;\n }\n\n ${addFocus({\n outlineSize: '0.0625rem',\n outlineOffset: '0',\n outlineColor: `var(${tokens.focusColor})`,\n outlineRadius: `var(${tokens.itemBorderRadius})`,\n hasTransition: false,\n })};\n\n width: 100%;\n\n font-family: var(${tokens.itemFontFamily});\n font-size: var(${tokens.itemFontSize});\n font-style: var(${tokens.itemFontStyle});\n font-weight: var(${tokens.itemFontWeightBold});\n letter-spacing: var(${tokens.itemFontLetterSpacing});\n line-height: var(${tokens.itemFontLineHeight});\n\n background: var(${tokens.itemBackground});\n color: var(${tokens.itemColor});\n border-radius: var(${tokens.itemBorderRadius});\n\n width: var(${tokens.itemWidth});\n height: var(${tokens.itemHeight});\n\n padding: var(${tokens.itemPaddingTop}) var(${tokens.itemPaddingRight}) var(${tokens.itemPaddingBottom})\n var(${tokens.itemPaddingLeft});\n\n margin: var(${tokens.itemMarginTop}) var(${tokens.itemMarginRight}) var(${tokens.itemMarginBottom})\n var(${tokens.itemMarginLeft});\n\n &:hover:not(.${classes.comboboxItemIsDisabled}) {\n cursor: pointer;\n background: var(${tokens.itemBackgroundHover});\n }\n\n &.${String(classes.comboboxItemIsSelected)} {\n color: var(${tokens.itemColorSelected});\n background: var(${tokens.itemBackgroundSelected});\n\n &:hover:not(.${classes.comboboxItemIsDisabled}) {\n background: var(${tokens.itemBackgroundSelectedHover});\n }\n }\n\n &.${classes.comboboxItemIsDisabled} {\n opacity: var(${tokens.disabledOpacity});\n cursor: not-allowed;\n }\n`;\n\nexport const base = css`\n ${baseContent};\n`;\n"],"names":["StyledContentLeft","styled","name","class","propsAsIs","StyledContentRight","StyledText","base"],"mappings":";;AAMO,IAAMA,iBAAiB,gBAAGC,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,mBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAKtC,EAAA;AAEM,IAAMC,kBAAkB,gBAAGJ,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,oBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAMvC,EAAA;AAEM,IAAME,UAAU,gBAAGL,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAE/B,EAAA;AA+DM,IAAMG,IAAI,GAEhB;;;;"}
@@ -3,9 +3,9 @@ import React, { forwardRef, useRef, useState } from 'react';
3
3
  import { classes } from '../../Combobox.tokens.js';
4
4
  import { cx } from '../../../../../utils/index.js';
5
5
  import { ComboboxChip } from '../ComboboxChip/ComboboxChip.js';
6
+ import { StyledComboboxTarget, StyledContent, StyledText, StyledChips, StyledComboboxInput, StyledComboboxInputHelper, StyledLabel, StyledArrow } from './ComboboxTarget.styles.js';
6
7
  import { useFocusController } from '../../hooks/useFocusController.js';
7
8
  import { Keys } from '../../hooks/useKeyNavigation.js';
8
- import { StyledComboboxTarget, StyledContent, StyledText, StyledChips, StyledComboboxInput, StyledComboboxInputHelper, StyledLabel, StyledArrow } from './ComboboxTarget.styles.js';
9
9
 
10
10
  var _excluded = ["values", "search", "label", "placeholder", "opened", "readOnly", "disabled", "enumerationType", "valueType", "size", "closedWithoutChanges", "id", "chipsRefs", "inputRef", "onChange", "onSearch", "onKeyDown"];
11
11
  var hasChips = classes.hasChips,
@@ -1,8 +1,7 @@
1
1
  import './ComboboxTarget.styles_xnedmz.css';
2
2
  import { styled } from '@linaria/react';
3
- import 'react';
4
- import { IconChevronDown } from '../../../../_Icon/Icons/IconChevronDown.js';
5
3
  import { tokens } from '../../Combobox.tokens.js';
4
+ import { IconChevronDown } from '../../../../_Icon/Icons/IconChevronDown.js';
6
5
 
7
6
  var _exp10 = function _exp10() {
8
7
  return function (_ref) {
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxTarget.styles.js","sources":["../../../../../../src/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { IconChevronDown } from '../../../../_Icon';\nimport { addFocus, applyEllipsis } from '../../../../../mixins';\nimport { classes, tokens } from '../../Combobox.tokens';\n\nconst {\n hasChips,\n innerLabelUp,\n arrowInverse,\n comboboxTargetArrow,\n comboboxTargeText,\n comboboxTargetInput,\n comboboxTargetLabel,\n} = classes;\n\nexport const StyledComboboxTarget = styled.div<{\n opened?: boolean;\n readOnly?: boolean;\n disabled?: boolean;\n}>`\n display: flex;\n align-items: center;\n gap: 0.5rem;\n cursor: pointer;\n box-sizing: border-box;\n\n height: var(${tokens.targetHeight});\n width: var(${tokens.targetWidth});\n overflow: hidden;\n border-radius: var(${tokens.targetRadius});\n font-family: var(${tokens.targetFontFamily});\n font-size: var(${tokens.targetFontStyle});\n font-weight: var(${tokens.targetFontWeight});\n letter-spacing: var(${tokens.targetLetterSpacing});\n line-height: var(${tokens.targetLineHeight});\n\n color: var(${tokens.targetColor});\n\n background-color: ${({ opened }) =>\n opened ? `var(${tokens.targetBackgroundColorOpen})` : `var(${tokens.targetBackgroundColor})`};\n\n box-shadow: inset 0 0 0 0.0625rem\n ${({ opened }) => (opened ? `var(${tokens.targetBorderColorOpen})` : `var(${tokens.targetBorderColor})`)};\n\n &:hover:not([disabled]):not([readonly]) {\n background-color: ${({ opened }) =>\n opened ? `var(${tokens.targetBackgroundColorOpen})` : `var(${tokens.targetBackgroundColorHover})`};\n\n box-shadow: inset 0 0 0 0.0625rem\n ${({ opened }) =>\n opened ? `var(${tokens.targetBorderColorOpen})` : `var(${tokens.targetBorderColorHover})`};\n }\n\n &:active:not([disabled]):not([readonly]) {\n background-color: ${({ opened }) =>\n opened ? `var(${tokens.targetBackgroundColorOpen})` : `var(${tokens.targetBackgroundColorActive})`};\n\n box-shadow: inset 0 0 0 0.0625rem\n ${({ opened }) =>\n opened ? `var(${tokens.targetBorderColorOpen})` : `var(${tokens.targetBorderColorActive})`};\n }\n\n padding: var(${tokens.targetPaddingWithInput});\n\n display: flex;\n justify-content: flex-start;\n\n &[disabled] {\n cursor: not-allowed;\n\n opacity: var(${tokens.disabledOpacity});\n }\n\n &[readonly] {\n cursor: default;\n\n .${String(comboboxTargetArrow)} {\n opacity: 0.4;\n }\n }\n\n .${String(arrowInverse)} {\n transform: rotate(-180deg);\n }\n\n &.${String(hasChips)} {\n padding: var(${tokens.targetPaddingHasChips});\n }\n\n &.${String(innerLabelUp)} {\n .${String(comboboxTargetInput)}, .${String(comboboxTargeText)} {\n top: var(${tokens.targetInnerTop});\n }\n\n .${String(comboboxTargetLabel)} {\n top: var(${tokens.targetLabelInnerTop});\n font-family: var(${tokens.targetLabelInnerFontFamily});\n font-size: var(${tokens.targetLabelInnerFontSize});\n font-style: var(${tokens.targetLabelInnerFontStyle});\n font-weight: var(${tokens.targetLabelInnerFontWeight});\n letter-spacing: var(${tokens.targetLabelInnerLetterSpacing});\n line-height: var(${tokens.targetLabelInnerLineHeight});\n }\n }\n\n overflow: visible;\n\n --plasma_private-combobox-focus-size: 0.0625rem;\n\n ${addFocus({\n hasTransition: false,\n outlineOffset: 'calc(-1 * var(--plasma_private-combobox-focus-size))',\n outlineRadius: `calc(var(${tokens.targetRadius}) + var(--plasma_private-combobox-focus-size))`,\n outlineSize: 'var(--plasma_private-combobox-focus-size)',\n customFocusRules: `\n &:focus-within {\n box-shadow: none;\n background-color: var(${tokens.targetBackgroundColorOpen});\n\n &::before {\n box-shadow: inset 0 0 0 var(--plasma_private-combobox-focus-size) var(${tokens.targetBorderColorOpen});\n }\n }\n `,\n })}\n`;\n\nexport const StyledArrow = styled(IconChevronDown)`\n transition: color 0.3s ease-in, transform 0.15s ease-in;\n pointer-events: none;\n user-select: none;\n\n position: absolute;\n right: var(${tokens.targetArrowRight});\n color: var(${tokens.targetArrowColor});\n`;\n\nexport const StyledContent = styled.div`\n &.${String(hasChips)} {\n border-radius: var(${tokens.chipBorderRadius});\n }\n\n font-family: var(${tokens.targetFontFamily});\n font-size: var(${tokens.targetFontSize});\n font-style: var(${tokens.targetFontStyle});\n font-weight: var(${tokens.targetFontWeight});\n letter-spacing: var(${tokens.targetLetterSpacing});\n line-height: var(${tokens.targetLineHeight});\n\n overflow: scroll;\n position: relative;\n width: 100%;\n height: var(${tokens.chipHeight});\n display: inline-flex;\n align-items: center;\n gap: 0.5rem;\n\n ::-webkit-scrollbar {\n display: none;\n }\n\n scrollbar-width: none;\n\n overscroll-behavior: contain;\n`;\n\nexport const StyledComboboxInput = styled.input`\n position: relative;\n color: var(${tokens.targetColor});\n\n border: none;\n outline: none;\n caret-color: var(${tokens.focusColor});\n margin: 0;\n padding: 0;\n background: transparent;\n\n flex: 1;\n\n min-width: 50%;\n\n font-family: inherit;\n font-size: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n line-height: inherit;\n\n &::placeholder {\n color: var(${tokens.targetLabelColor});\n }\n\n &:disabled {\n cursor: not-allowed;\n }\n`;\n\nexport const StyledComboboxInputHelper = styled.div`\n position: absolute;\n\n font-family: inherit;\n font-size: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n line-height: inherit;\n\n white-space: pre-wrap;\n visibility: hidden;\n overflow: hidden;\n`;\n\nexport const StyledText = styled.span`\n white-space: nowrap;\n\n position: relative;\n user-select: none;\n\n color: var(${tokens.targetColor});\n`;\n\nexport const StyledChips = styled.div`\n display: flex;\n gap: var(${tokens.chipGap});\n\n user-select: none;\n`;\n\nexport const StyledLabel = styled.label`\n ${applyEllipsis()};\n\n box-sizing: border-box;\n position: absolute;\n pointer-events: none;\n display: inline-flex;\n align-items: center;\n\n transition: all 0.1s ease-in-out;\n transform-origin: top left;\n\n width: 100%;\n height: auto;\n\n color: var(${tokens.targetLabelColor});\n\n font-family: var(${tokens.targetFontFamily});\n font-size: var(${tokens.targetFontSize});\n font-style: var(${tokens.targetFontStyle});\n font-weight: var(${tokens.targetFontWeight});\n letter-spacing: var(${tokens.targetLetterSpacing});\n line-height: var(${tokens.targetLineHeight});\n`;\n"],"names":["_exp10","_ref","opened","concat","tokens","targetBackgroundColorOpen","targetBackgroundColor","_exp11","_ref2","targetBorderColorOpen","targetBorderColor","_exp12","_ref3","targetBackgroundColorHover","_exp13","_ref4","targetBorderColorHover","_exp14","_ref5","targetBackgroundColorActive","_exp15","_ref6","targetBorderColorActive","StyledComboboxTarget","styled","name","class","propsAsIs","vars","_exp35","IconChevronDown","StyledArrow","StyledContent","StyledComboboxInput","StyledComboboxInputHelper","StyledText","StyledChips","StyledLabel"],"mappings":";;;;;AAIwD,IAAAA,MAAA,GAHtCA,SAGsCA,MAAAA,GAAA;AAAA,EAAA,OAmChC,UAAAC,IAAA,EAAA;AAAA,IAAA,IAAGC,MAAAA,GAAAA,IAAAA,CAAAA,MAAAA,CAAAA;AAAAA,IAAAA,OACnBA,MAAM,GAAA,MAAA,CAAAC,MAAA,CAAUC,MAAM,CAACC,yBAA0B,EAAA,GAAA,CAAA,GAAA,MAAA,CAAAF,MAAA,CAAYC,MAAM,CAACE,qBAAsB,EAAE,GAAA,CAAA,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAAA,IAAAC,MAAA,GAvClFA,SAuCkFA,MAAAA,GAAA;AAAA,EAAA,OAG1F,UAAAC,KAAA,EAAA;AAAA,IAAA,IAAGN,MAAAA,GAAAA,KAAAA,CAAAA,MAAAA,CAAAA;AAAAA,IAAAA,OAAcA,MAAM,GAAA,MAAA,CAAAC,MAAA,CAAUC,MAAM,CAACK,qBAAsB,EAAA,GAAA,CAAA,GAAA,MAAA,CAAAN,MAAA,CAAYC,MAAM,CAACM,iBAAkB,EAAG,GAAA,CAAA,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAAA,IAAAC,MAAA,GA1C9FA,SA0C8FA,MAAAA,GAAA;AAAA,EAAA,OAGpF,UAAAC,KAAA,EAAA;AAAA,IAAA,IAAGV,MAAAA,GAAAA,KAAAA,CAAAA,MAAAA,CAAAA;AAAAA,IAAAA,OACnBA,MAAM,GAAA,MAAA,CAAAC,MAAA,CAAUC,MAAM,CAACC,yBAA0B,EAAA,GAAA,CAAA,GAAA,MAAA,CAAAF,MAAA,CAAYC,MAAM,CAACS,0BAA2B,EAAE,GAAA,CAAA,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAAA,IAAAC,MAAA,GA9C3FA,SA8C2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AAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAO/B,EAAA;AAEM,IAAMS,WAAW,gBAAGZ,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAKhC,EAAA;AAEM,IAAMU,WAAW,gBAAGb,MAAM,CAAA,OAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAuBhC;;;;"}
1
+ {"version":3,"file":"ComboboxTarget.styles.js","sources":["../../../../../../src/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { IconChevronDown } from '../../../../_Icon';\nimport { addFocus, applyEllipsis } from '../../../../../mixins';\nimport { classes, tokens } from '../../Combobox.tokens';\n\nconst {\n hasChips,\n innerLabelUp,\n arrowInverse,\n comboboxTargetArrow,\n comboboxTargeText,\n comboboxTargetInput,\n comboboxTargetLabel,\n} = classes;\n\nexport const StyledComboboxTarget = styled.div<{\n opened?: boolean;\n readOnly?: boolean;\n disabled?: boolean;\n}>`\n display: flex;\n align-items: center;\n gap: 0.5rem;\n cursor: pointer;\n box-sizing: border-box;\n\n height: var(${tokens.targetHeight});\n width: var(${tokens.targetWidth});\n overflow: hidden;\n border-radius: var(${tokens.targetRadius});\n font-family: var(${tokens.targetFontFamily});\n font-size: var(${tokens.targetFontStyle});\n font-weight: var(${tokens.targetFontWeight});\n letter-spacing: var(${tokens.targetLetterSpacing});\n line-height: var(${tokens.targetLineHeight});\n\n color: var(${tokens.targetColor});\n\n background-color: ${({ opened }) =>\n opened ? `var(${tokens.targetBackgroundColorOpen})` : `var(${tokens.targetBackgroundColor})`};\n\n box-shadow: inset 0 0 0 0.0625rem\n ${({ opened }) => (opened ? `var(${tokens.targetBorderColorOpen})` : `var(${tokens.targetBorderColor})`)};\n\n &:hover:not([disabled]):not([readonly]) {\n background-color: ${({ opened }) =>\n opened ? `var(${tokens.targetBackgroundColorOpen})` : `var(${tokens.targetBackgroundColorHover})`};\n\n box-shadow: inset 0 0 0 0.0625rem\n ${({ opened }) =>\n opened ? `var(${tokens.targetBorderColorOpen})` : `var(${tokens.targetBorderColorHover})`};\n }\n\n &:active:not([disabled]):not([readonly]) {\n background-color: ${({ opened }) =>\n opened ? `var(${tokens.targetBackgroundColorOpen})` : `var(${tokens.targetBackgroundColorActive})`};\n\n box-shadow: inset 0 0 0 0.0625rem\n ${({ opened }) =>\n opened ? `var(${tokens.targetBorderColorOpen})` : `var(${tokens.targetBorderColorActive})`};\n }\n\n padding: var(${tokens.targetPaddingWithInput});\n\n display: flex;\n justify-content: flex-start;\n\n &[disabled] {\n cursor: not-allowed;\n\n opacity: var(${tokens.disabledOpacity});\n }\n\n &[readonly] {\n cursor: default;\n\n .${String(comboboxTargetArrow)} {\n opacity: 0.4;\n }\n }\n\n .${String(arrowInverse)} {\n transform: rotate(-180deg);\n }\n\n &.${String(hasChips)} {\n padding: var(${tokens.targetPaddingHasChips});\n }\n\n &.${String(innerLabelUp)} {\n .${String(comboboxTargetInput)}, .${String(comboboxTargeText)} {\n top: var(${tokens.targetInnerTop});\n }\n\n .${String(comboboxTargetLabel)} {\n top: var(${tokens.targetLabelInnerTop});\n font-family: var(${tokens.targetLabelInnerFontFamily});\n font-size: var(${tokens.targetLabelInnerFontSize});\n font-style: var(${tokens.targetLabelInnerFontStyle});\n font-weight: var(${tokens.targetLabelInnerFontWeight});\n letter-spacing: var(${tokens.targetLabelInnerLetterSpacing});\n line-height: var(${tokens.targetLabelInnerLineHeight});\n }\n }\n\n overflow: visible;\n\n --plasma_private-combobox-focus-size: 0.0625rem;\n\n ${addFocus({\n hasTransition: false,\n outlineOffset: 'calc(-1 * var(--plasma_private-combobox-focus-size))',\n outlineRadius: `calc(var(${tokens.targetRadius}) + var(--plasma_private-combobox-focus-size))`,\n outlineSize: 'var(--plasma_private-combobox-focus-size)',\n customFocusRules: `\n &:focus-within {\n box-shadow: none;\n background-color: var(${tokens.targetBackgroundColorOpen});\n\n &::before {\n box-shadow: inset 0 0 0 var(--plasma_private-combobox-focus-size) var(${tokens.targetBorderColorOpen});\n }\n }\n `,\n })}\n`;\n\nexport const StyledArrow = styled(IconChevronDown)`\n transition: color 0.3s ease-in, transform 0.15s ease-in;\n pointer-events: none;\n user-select: none;\n\n position: absolute;\n right: var(${tokens.targetArrowRight});\n color: var(${tokens.targetArrowColor});\n`;\n\nexport const StyledContent = styled.div`\n &.${String(hasChips)} {\n border-radius: var(${tokens.chipBorderRadius});\n }\n\n font-family: var(${tokens.targetFontFamily});\n font-size: var(${tokens.targetFontSize});\n font-style: var(${tokens.targetFontStyle});\n font-weight: var(${tokens.targetFontWeight});\n letter-spacing: var(${tokens.targetLetterSpacing});\n line-height: var(${tokens.targetLineHeight});\n\n overflow: scroll;\n position: relative;\n width: 100%;\n height: var(${tokens.chipHeight});\n display: inline-flex;\n align-items: center;\n gap: 0.5rem;\n\n ::-webkit-scrollbar {\n display: none;\n }\n\n scrollbar-width: none;\n\n overscroll-behavior: contain;\n`;\n\nexport const StyledComboboxInput = styled.input`\n position: relative;\n color: var(${tokens.targetColor});\n\n border: none;\n outline: none;\n caret-color: var(${tokens.focusColor});\n margin: 0;\n padding: 0;\n background: transparent;\n\n flex: 1;\n\n min-width: 50%;\n\n font-family: inherit;\n font-size: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n line-height: inherit;\n\n &::placeholder {\n color: var(${tokens.targetLabelColor});\n }\n\n &:disabled {\n cursor: not-allowed;\n }\n`;\n\nexport const StyledComboboxInputHelper = styled.div`\n position: absolute;\n\n font-family: inherit;\n font-size: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n line-height: inherit;\n\n white-space: pre-wrap;\n visibility: hidden;\n overflow: hidden;\n`;\n\nexport const StyledText = styled.span`\n white-space: nowrap;\n\n position: relative;\n user-select: none;\n\n color: var(${tokens.targetColor});\n`;\n\nexport const StyledChips = styled.div`\n display: flex;\n gap: var(${tokens.chipGap});\n\n user-select: none;\n`;\n\nexport const StyledLabel = styled.label`\n ${applyEllipsis()};\n\n box-sizing: border-box;\n position: absolute;\n pointer-events: none;\n display: inline-flex;\n align-items: center;\n\n transition: all 0.1s ease-in-out;\n transform-origin: top left;\n\n width: 100%;\n height: auto;\n\n color: var(${tokens.targetLabelColor});\n\n font-family: var(${tokens.targetFontFamily});\n font-size: var(${tokens.targetFontSize});\n font-style: var(${tokens.targetFontStyle});\n font-weight: var(${tokens.targetFontWeight});\n letter-spacing: var(${tokens.targetLetterSpacing});\n line-height: var(${tokens.targetLineHeight});\n`;\n"],"names":["_exp10","_ref","opened","concat","tokens","targetBackgroundColorOpen","targetBackgroundColor","_exp11","_ref2","targetBorderColorOpen","targetBorderColor","_exp12","_ref3","targetBackgroundColorHover","_exp13","_ref4","targetBorderColorHover","_exp14","_ref5","targetBackgroundColorActive","_exp15","_ref6","targetBorderColorActive","StyledComboboxTarget","styled","name","class","propsAsIs","vars","_exp35","IconChevronDown","StyledArrow","StyledContent","StyledComboboxInput","StyledComboboxInputHelper","StyledText","StyledChips","StyledLabel"],"mappings":";;;;AAIwD,IAAAA,MAAA,GAHtCA,SAGsCA,MAAAA,GAAA;AAAA,EAAA,OAmChC,UAAAC,IAAA,EAAA;AAAA,IAAA,IAAGC,MAAAA,GAAAA,IAAAA,CAAAA,MAAAA,CAAAA;AAAAA,IAAAA,OACnBA,MAAM,GAAA,MAAA,CAAAC,MAAA,CAAUC,MAAM,CAACC,yBAA0B,EAAA,GAAA,CAAA,GAAA,MAAA,CAAAF,MAAA,CAAYC,MAAM,CAACE,qBAAsB,EAAE,GAAA,CAAA,CAAA;AAAA,GAAA,CAA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,EAAA,KAAA;AAAA,CAuBhC;;;;"}
@@ -1,13 +1,7 @@
1
1
  import './DatePickerBase.styles_mjc9xz.css';
2
2
  import { styled } from '@linaria/react';
3
- import 'react';
4
- import 'focus-visible';
5
- import { calendarBaseConfig } from '../Calendar/CalendarBase/CalendarBase.js';
6
- import '@linaria/core';
7
3
  import { component, mergeConfig } from '../../engines/common.js';
8
- import '../../utils/react.js';
9
- import 'styled-components';
10
- import '@salutejs/plasma-core';
4
+ import { calendarBaseConfig } from '../Calendar/CalendarBase/CalendarBase.js';
11
5
 
12
6
  var mergedCalendarConfig = /*#__PURE__*/mergeConfig(calendarBaseConfig);
13
7
  var Calendar = /*#__PURE__*/component(mergedCalendarConfig);
@@ -1 +1 @@
1
- {"version":3,"file":"DatePickerBase.styles.js","sources":["../../../src/components/DatePicker/DatePickerBase.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { calendarBaseConfig, calendarBaseTokens } from '../Calendar';\nimport { component, mergeConfig } from '../../engines';\nimport { applyHidden } from '../../mixins';\n\nimport { tokens } from './DatePicker.tokens';\n\nconst mergedCalendarConfig = mergeConfig(calendarBaseConfig);\nconst Calendar = component(mergedCalendarConfig);\n\nexport const baseCalendarTokens = `\n padding-top: var(${tokens.calendarPaddingTop});\n box-shadow: var(${tokens.calendarShadow});\n border-radius: var(${tokens.calendarBorderRadius});\n\n ${calendarBaseTokens.calendarBackgroundColor}: var(${tokens.calendarBackgroundColor});\n ${calendarBaseTokens.calendarSelectedItemBackground}: var(${tokens.calendarSelectedItemBackground});\n ${calendarBaseTokens.calendarSelectedItemColor}: var(${tokens.calendarSelectedItemColor});\n ${calendarBaseTokens.calendarSelectableItemBackgroundHover}: var(${tokens.calendarSelectableItemBackgroundHover});\n ${calendarBaseTokens.calendarCurrentItemBorderColor}: var(${tokens.calendarCurrentItemBorderColor});\n ${calendarBaseTokens.calendarCurrentItemBackgroundHover}: var(${tokens.calendarCurrentItemBackgroundHover});\n ${calendarBaseTokens.calendarCurrentItemColorHover}: var(${tokens.calendarCurrentItemColorHover});\n ${calendarBaseTokens.calendarCurrentItemChildBackgroundHover}: var(${tokens.calendarCurrentItemChildBackgroundHover});\n ${calendarBaseTokens.calendarActiveItemBackground}: var(${tokens.calendarActiveItemBackground});\n ${calendarBaseTokens.calendarActiveItemColor}: var(${tokens.calendarActiveItemColor});\n ${calendarBaseTokens.calendarHoveredItemBackground}: var(${tokens.calendarHoveredItemBackground});\n ${calendarBaseTokens.calendarHoveredItemColor}: var(${tokens.calendarHoveredItemColor});\n ${calendarBaseTokens.calendarRangeBackground}: var(${tokens.calendarRangeBackground});\n ${calendarBaseTokens.calendarOutlineFocusColor}: var(${tokens.calendarOutlineFocusColor});\n ${calendarBaseTokens.calendarContentPrimaryColor}: var(${tokens.calendarContentPrimaryColor});\n ${calendarBaseTokens.calendarContentSecondaryColor}: var(${tokens.calendarContentSecondaryColor});\n\n ${calendarBaseTokens.iconButtonColor}: var(${tokens.iconButtonColor});\n ${calendarBaseTokens.iconButtonBackgroundColor}: var(${tokens.iconButtonBackgroundColor});\n ${calendarBaseTokens.iconButtonColorHover}: var(${tokens.iconButtonColorHover});\n ${calendarBaseTokens.iconButtonBackgroundColorHover}: var(${tokens.iconButtonBackgroundColorHover});\n ${calendarBaseTokens.iconButtonColorActive}: var(${tokens.iconButtonColorActive});\n ${calendarBaseTokens.iconButtonBackgroundColorActive}: var(${tokens.iconButtonBackgroundColorActive});\n\n ${calendarBaseTokens.calendarWidth}: var(${tokens.calendarWidth});\n ${calendarBaseTokens.calendarHeight}: var(${tokens.calendarHeight});\n\n ${calendarBaseTokens.calendarYearsPadding}: var(${tokens.calendarYearsPadding});\n ${calendarBaseTokens.calendarYearItemBorderRadius}: var(${tokens.calendarYearItemBorderRadius});\n ${calendarBaseTokens.calendarYearItemWidth}: var(${tokens.calendarYearItemWidth});\n ${calendarBaseTokens.calendarYearItemHeight}: var(${tokens.calendarYearItemHeight});\n ${calendarBaseTokens.calendarYearFontFamily}: var(${tokens.calendarYearFontFamily});\n ${calendarBaseTokens.calendarYearFontSize}: var(${tokens.calendarYearFontSize});\n ${calendarBaseTokens.calendarYearFontStyle}: var(${tokens.calendarYearFontStyle});\n ${calendarBaseTokens.calendarYearFontLetterSpacing}: var(${tokens.calendarYearFontLetterSpacing});\n ${calendarBaseTokens.calendarYearFontLineHeight}: var(${tokens.calendarYearFontLineHeight});\n ${calendarBaseTokens.calendarYearFontWeight}: var(${tokens.calendarYearFontWeight});\n ${calendarBaseTokens.calendarYearSelectedFontWeight}: var(${tokens.calendarYearSelectedFontWeight});\n\n ${calendarBaseTokens.calendarMonthsPadding}: var(${tokens.calendarMonthsPadding});\n ${calendarBaseTokens.calendarMonthItemBorderRadius}: var(${tokens.calendarMonthItemBorderRadius});\n ${calendarBaseTokens.calendarMonthItemWidth}: var(${tokens.calendarMonthItemWidth});\n ${calendarBaseTokens.calendarMonthItemHeight}: var(${tokens.calendarMonthItemHeight});\n ${calendarBaseTokens.calendarMonthFontFamily}: var(${tokens.calendarMonthFontFamily});\n ${calendarBaseTokens.calendarMonthFontSize}: var(${tokens.calendarMonthFontSize});\n ${calendarBaseTokens.calendarMonthFontStyle}: var(${tokens.calendarMonthFontStyle});\n ${calendarBaseTokens.calendarMonthFontLetterSpacing}: var(${tokens.calendarMonthFontLetterSpacing});\n ${calendarBaseTokens.calendarMonthFontLineHeight}: var(${tokens.calendarMonthFontLineHeight});\n ${calendarBaseTokens.calendarMonthFontWeight}: var(${tokens.calendarMonthFontWeight});\n ${calendarBaseTokens.calendarMonthSelectedFontWeight}: var(${tokens.calendarMonthSelectedFontWeight});\n\n ${calendarBaseTokens.calendarQuartersPadding}: var(${tokens.calendarQuartersPadding});\n ${calendarBaseTokens.calendarQuarterItemBorderRadius}: var(${tokens.calendarQuarterItemBorderRadius});\n ${calendarBaseTokens.calendarQuarterItemWidth}: var(${tokens.calendarQuarterItemWidth});\n ${calendarBaseTokens.calendarQuarterItemHeight}: var(${tokens.calendarQuarterItemHeight});\n ${calendarBaseTokens.calendarQuarterFontFamily}: var(${tokens.calendarQuarterFontFamily});\n ${calendarBaseTokens.calendarQuarterFontSize}: var(${tokens.calendarQuarterFontSize});\n ${calendarBaseTokens.calendarQuarterFontStyle}: var(${tokens.calendarQuarterFontStyle});\n ${calendarBaseTokens.calendarQuarterFontLetterSpacing}: var(${tokens.calendarQuarterFontLetterSpacing});\n ${calendarBaseTokens.calendarQuarterFontLineHeight}: var(${tokens.calendarQuarterFontLineHeight});\n ${calendarBaseTokens.calendarQuarterFontWeight}: var(${tokens.calendarQuarterFontWeight});\n ${calendarBaseTokens.calendarQuarterSelectedFontWeight}: var(${tokens.calendarQuarterSelectedFontWeight});\n \n ${calendarBaseTokens.calendarDaysPadding}: var(${tokens.calendarDaysPadding});\n ${calendarBaseTokens.calendarDayItemBorderRadius}: var(${tokens.calendarDayItemBorderRadius});\n ${calendarBaseTokens.calendarDayItemWidth}: var(${tokens.calendarDayItemWidth});\n ${calendarBaseTokens.calendarDayItemHeight}: var(${tokens.calendarDayItemHeight});\n ${calendarBaseTokens.calendarDayFontFamily}: var(${tokens.calendarDayFontFamily});\n ${calendarBaseTokens.calendarDayFontSize}: var(${tokens.calendarDayFontSize});\n ${calendarBaseTokens.calendarDayFontStyle}: var(${tokens.calendarDayFontStyle});\n ${calendarBaseTokens.calendarDayFontLetterSpacing}: var(${tokens.calendarDayFontLetterSpacing});\n ${calendarBaseTokens.calendarDayFontLineHeight}: var(${tokens.calendarDayFontLineHeight});\n ${calendarBaseTokens.calendarDayFontWeight}: var(${tokens.calendarDayFontWeight});\n ${calendarBaseTokens.calendarDaySelectedFontWeight}: var(${tokens.calendarDaySelectedFontWeight});\n \n ${calendarBaseTokens.calendarHeaderWrapperPadding}: var(${tokens.calendarHeaderWrapperPadding});\n ${calendarBaseTokens.calendarHeaderArrowGap}: var(${tokens.calendarHeaderArrowGap});\n ${calendarBaseTokens.calendarHeaderArrowPadding}: var(${tokens.calendarHeaderArrowPadding});\n ${calendarBaseTokens.calendarHeaderPadding}: var(${tokens.calendarHeaderPadding});\n ${calendarBaseTokens.calendarHeaderDateGap}: var(${tokens.calendarHeaderDateGap});\n ${calendarBaseTokens.calendarHeaderFontFamily}: var(${tokens.calendarHeaderFontFamily});\n ${calendarBaseTokens.calendarHeaderFontSize}: var(${tokens.calendarHeaderFontSize});\n ${calendarBaseTokens.calendarHeaderFontStyle}: var(${tokens.calendarHeaderFontStyle});\n ${calendarBaseTokens.calendarHeaderFontLetterSpacing}: var(${tokens.calendarHeaderFontLetterSpacing});\n ${calendarBaseTokens.calendarHeaderFontLineHeight}: var(${tokens.calendarHeaderFontLineHeight});\n ${calendarBaseTokens.calendarHeaderFontWeight}: var(${tokens.calendarHeaderFontWeight});\n ${calendarBaseTokens.calendarHeaderFontWeightBold}: var(${tokens.calendarHeaderFontWeightBold});\n \n ${calendarBaseTokens.iconButtonHeight}: var(${tokens.iconButtonHeight});\n ${calendarBaseTokens.iconButtonWidth}: var(${tokens.iconButtonWidth});\n ${calendarBaseTokens.iconButtonPadding}: var(${tokens.iconButtonPadding});\n ${calendarBaseTokens.iconButtonRadius}: var(${tokens.iconButtonRadius});\n ${calendarBaseTokens.iconButtonFocusColor}: var(${tokens.iconButtonFocusColor});\n`;\n\n// NOTE: переопределение токенов Calendar\nexport const StyledCalendar = styled(Calendar)`\n width: var(${tokens.width});\n ${baseCalendarTokens}\n`;\n\nexport const InputHidden = styled.input`\n ${applyHidden()};\n`;\n"],"names":["mergedCalendarConfig","mergeConfig","calendarBaseConfig","Calendar","component","_exp","StyledCalendar","styled","name","class","propsAsIs","InputHidden"],"mappings":";;;;;;;;;;AAQA,IAAMA,oBAAoB,gBAAGC,WAAW,CAACC,kBAAkB,CAAC,CAAA;AAC5D,IAAMC,QAAQ,gBAAGC,SAAS,CAACJ,oBAAoB,CAAC,CAAA;;AAsGhD;AAAA,IAAAK,IAAA,GA9GkBA,SA8GlBA,IAAAA,GAAA;AAAA,EAAA,OACqCF,QAAQ,CAAA;AAAA,CAAA,CAAA;AAAtC,IAAMG,cAAc,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,gBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAGnC,EAAA;AAEM,IAAMC,WAAW,gBAAGJ,MAAM,CAAA,OAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAEhC;;;;"}
1
+ {"version":3,"file":"DatePickerBase.styles.js","sources":["../../../src/components/DatePicker/DatePickerBase.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { calendarBaseConfig, calendarBaseTokens } from '../Calendar';\nimport { component, mergeConfig } from '../../engines';\nimport { applyHidden } from '../../mixins';\n\nimport { tokens } from './DatePicker.tokens';\n\nconst mergedCalendarConfig = mergeConfig(calendarBaseConfig);\nconst Calendar = component(mergedCalendarConfig);\n\nexport const baseCalendarTokens = `\n padding-top: var(${tokens.calendarPaddingTop});\n box-shadow: var(${tokens.calendarShadow});\n border-radius: var(${tokens.calendarBorderRadius});\n\n ${calendarBaseTokens.calendarBackgroundColor}: var(${tokens.calendarBackgroundColor});\n ${calendarBaseTokens.calendarSelectedItemBackground}: var(${tokens.calendarSelectedItemBackground});\n ${calendarBaseTokens.calendarSelectedItemColor}: var(${tokens.calendarSelectedItemColor});\n ${calendarBaseTokens.calendarSelectableItemBackgroundHover}: var(${tokens.calendarSelectableItemBackgroundHover});\n ${calendarBaseTokens.calendarCurrentItemBorderColor}: var(${tokens.calendarCurrentItemBorderColor});\n ${calendarBaseTokens.calendarCurrentItemBackgroundHover}: var(${tokens.calendarCurrentItemBackgroundHover});\n ${calendarBaseTokens.calendarCurrentItemColorHover}: var(${tokens.calendarCurrentItemColorHover});\n ${calendarBaseTokens.calendarCurrentItemChildBackgroundHover}: var(${tokens.calendarCurrentItemChildBackgroundHover});\n ${calendarBaseTokens.calendarActiveItemBackground}: var(${tokens.calendarActiveItemBackground});\n ${calendarBaseTokens.calendarActiveItemColor}: var(${tokens.calendarActiveItemColor});\n ${calendarBaseTokens.calendarHoveredItemBackground}: var(${tokens.calendarHoveredItemBackground});\n ${calendarBaseTokens.calendarHoveredItemColor}: var(${tokens.calendarHoveredItemColor});\n ${calendarBaseTokens.calendarRangeBackground}: var(${tokens.calendarRangeBackground});\n ${calendarBaseTokens.calendarOutlineFocusColor}: var(${tokens.calendarOutlineFocusColor});\n ${calendarBaseTokens.calendarContentPrimaryColor}: var(${tokens.calendarContentPrimaryColor});\n ${calendarBaseTokens.calendarContentSecondaryColor}: var(${tokens.calendarContentSecondaryColor});\n\n ${calendarBaseTokens.iconButtonColor}: var(${tokens.iconButtonColor});\n ${calendarBaseTokens.iconButtonBackgroundColor}: var(${tokens.iconButtonBackgroundColor});\n ${calendarBaseTokens.iconButtonColorHover}: var(${tokens.iconButtonColorHover});\n ${calendarBaseTokens.iconButtonBackgroundColorHover}: var(${tokens.iconButtonBackgroundColorHover});\n ${calendarBaseTokens.iconButtonColorActive}: var(${tokens.iconButtonColorActive});\n ${calendarBaseTokens.iconButtonBackgroundColorActive}: var(${tokens.iconButtonBackgroundColorActive});\n\n ${calendarBaseTokens.calendarWidth}: var(${tokens.calendarWidth});\n ${calendarBaseTokens.calendarHeight}: var(${tokens.calendarHeight});\n\n ${calendarBaseTokens.calendarYearsPadding}: var(${tokens.calendarYearsPadding});\n ${calendarBaseTokens.calendarYearItemBorderRadius}: var(${tokens.calendarYearItemBorderRadius});\n ${calendarBaseTokens.calendarYearItemWidth}: var(${tokens.calendarYearItemWidth});\n ${calendarBaseTokens.calendarYearItemHeight}: var(${tokens.calendarYearItemHeight});\n ${calendarBaseTokens.calendarYearFontFamily}: var(${tokens.calendarYearFontFamily});\n ${calendarBaseTokens.calendarYearFontSize}: var(${tokens.calendarYearFontSize});\n ${calendarBaseTokens.calendarYearFontStyle}: var(${tokens.calendarYearFontStyle});\n ${calendarBaseTokens.calendarYearFontLetterSpacing}: var(${tokens.calendarYearFontLetterSpacing});\n ${calendarBaseTokens.calendarYearFontLineHeight}: var(${tokens.calendarYearFontLineHeight});\n ${calendarBaseTokens.calendarYearFontWeight}: var(${tokens.calendarYearFontWeight});\n ${calendarBaseTokens.calendarYearSelectedFontWeight}: var(${tokens.calendarYearSelectedFontWeight});\n\n ${calendarBaseTokens.calendarMonthsPadding}: var(${tokens.calendarMonthsPadding});\n ${calendarBaseTokens.calendarMonthItemBorderRadius}: var(${tokens.calendarMonthItemBorderRadius});\n ${calendarBaseTokens.calendarMonthItemWidth}: var(${tokens.calendarMonthItemWidth});\n ${calendarBaseTokens.calendarMonthItemHeight}: var(${tokens.calendarMonthItemHeight});\n ${calendarBaseTokens.calendarMonthFontFamily}: var(${tokens.calendarMonthFontFamily});\n ${calendarBaseTokens.calendarMonthFontSize}: var(${tokens.calendarMonthFontSize});\n ${calendarBaseTokens.calendarMonthFontStyle}: var(${tokens.calendarMonthFontStyle});\n ${calendarBaseTokens.calendarMonthFontLetterSpacing}: var(${tokens.calendarMonthFontLetterSpacing});\n ${calendarBaseTokens.calendarMonthFontLineHeight}: var(${tokens.calendarMonthFontLineHeight});\n ${calendarBaseTokens.calendarMonthFontWeight}: var(${tokens.calendarMonthFontWeight});\n ${calendarBaseTokens.calendarMonthSelectedFontWeight}: var(${tokens.calendarMonthSelectedFontWeight});\n\n ${calendarBaseTokens.calendarQuartersPadding}: var(${tokens.calendarQuartersPadding});\n ${calendarBaseTokens.calendarQuarterItemBorderRadius}: var(${tokens.calendarQuarterItemBorderRadius});\n ${calendarBaseTokens.calendarQuarterItemWidth}: var(${tokens.calendarQuarterItemWidth});\n ${calendarBaseTokens.calendarQuarterItemHeight}: var(${tokens.calendarQuarterItemHeight});\n ${calendarBaseTokens.calendarQuarterFontFamily}: var(${tokens.calendarQuarterFontFamily});\n ${calendarBaseTokens.calendarQuarterFontSize}: var(${tokens.calendarQuarterFontSize});\n ${calendarBaseTokens.calendarQuarterFontStyle}: var(${tokens.calendarQuarterFontStyle});\n ${calendarBaseTokens.calendarQuarterFontLetterSpacing}: var(${tokens.calendarQuarterFontLetterSpacing});\n ${calendarBaseTokens.calendarQuarterFontLineHeight}: var(${tokens.calendarQuarterFontLineHeight});\n ${calendarBaseTokens.calendarQuarterFontWeight}: var(${tokens.calendarQuarterFontWeight});\n ${calendarBaseTokens.calendarQuarterSelectedFontWeight}: var(${tokens.calendarQuarterSelectedFontWeight});\n \n ${calendarBaseTokens.calendarDaysPadding}: var(${tokens.calendarDaysPadding});\n ${calendarBaseTokens.calendarDayItemBorderRadius}: var(${tokens.calendarDayItemBorderRadius});\n ${calendarBaseTokens.calendarDayItemWidth}: var(${tokens.calendarDayItemWidth});\n ${calendarBaseTokens.calendarDayItemHeight}: var(${tokens.calendarDayItemHeight});\n ${calendarBaseTokens.calendarDayFontFamily}: var(${tokens.calendarDayFontFamily});\n ${calendarBaseTokens.calendarDayFontSize}: var(${tokens.calendarDayFontSize});\n ${calendarBaseTokens.calendarDayFontStyle}: var(${tokens.calendarDayFontStyle});\n ${calendarBaseTokens.calendarDayFontLetterSpacing}: var(${tokens.calendarDayFontLetterSpacing});\n ${calendarBaseTokens.calendarDayFontLineHeight}: var(${tokens.calendarDayFontLineHeight});\n ${calendarBaseTokens.calendarDayFontWeight}: var(${tokens.calendarDayFontWeight});\n ${calendarBaseTokens.calendarDaySelectedFontWeight}: var(${tokens.calendarDaySelectedFontWeight});\n \n ${calendarBaseTokens.calendarHeaderWrapperPadding}: var(${tokens.calendarHeaderWrapperPadding});\n ${calendarBaseTokens.calendarHeaderArrowGap}: var(${tokens.calendarHeaderArrowGap});\n ${calendarBaseTokens.calendarHeaderArrowPadding}: var(${tokens.calendarHeaderArrowPadding});\n ${calendarBaseTokens.calendarHeaderPadding}: var(${tokens.calendarHeaderPadding});\n ${calendarBaseTokens.calendarHeaderDateGap}: var(${tokens.calendarHeaderDateGap});\n ${calendarBaseTokens.calendarHeaderFontFamily}: var(${tokens.calendarHeaderFontFamily});\n ${calendarBaseTokens.calendarHeaderFontSize}: var(${tokens.calendarHeaderFontSize});\n ${calendarBaseTokens.calendarHeaderFontStyle}: var(${tokens.calendarHeaderFontStyle});\n ${calendarBaseTokens.calendarHeaderFontLetterSpacing}: var(${tokens.calendarHeaderFontLetterSpacing});\n ${calendarBaseTokens.calendarHeaderFontLineHeight}: var(${tokens.calendarHeaderFontLineHeight});\n ${calendarBaseTokens.calendarHeaderFontWeight}: var(${tokens.calendarHeaderFontWeight});\n ${calendarBaseTokens.calendarHeaderFontWeightBold}: var(${tokens.calendarHeaderFontWeightBold});\n \n ${calendarBaseTokens.iconButtonHeight}: var(${tokens.iconButtonHeight});\n ${calendarBaseTokens.iconButtonWidth}: var(${tokens.iconButtonWidth});\n ${calendarBaseTokens.iconButtonPadding}: var(${tokens.iconButtonPadding});\n ${calendarBaseTokens.iconButtonRadius}: var(${tokens.iconButtonRadius});\n ${calendarBaseTokens.iconButtonFocusColor}: var(${tokens.iconButtonFocusColor});\n`;\n\n// NOTE: переопределение токенов Calendar\nexport const StyledCalendar = styled(Calendar)`\n width: var(${tokens.width});\n ${baseCalendarTokens}\n`;\n\nexport const InputHidden = styled.input`\n ${applyHidden()};\n`;\n"],"names":["mergedCalendarConfig","mergeConfig","calendarBaseConfig","Calendar","component","_exp","StyledCalendar","styled","name","class","propsAsIs","InputHidden"],"mappings":";;;;AAQA,IAAMA,oBAAoB,gBAAGC,WAAW,CAACC,kBAAkB,CAAC,CAAA;AAC5D,IAAMC,QAAQ,gBAAGC,SAAS,CAACJ,oBAAoB,CAAC,CAAA;;AAsGhD;AAAA,IAAAK,IAAA,GA9GkBA,SA8GlBA,IAAAA,GAAA;AAAA,EAAA,OACqCF,QAAQ,CAAA;AAAA,CAAA,CAAA;AAAtC,IAAMG,cAAc,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,gBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAGnC,EAAA;AAEM,IAAMC,WAAW,gBAAGJ,MAAM,CAAA,OAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAEhC;;;;"}
@@ -6,7 +6,6 @@ import { useDatePicker } from '../hooks/useDatePicker.js';
6
6
  import { classes } from '../DatePicker.tokens.js';
7
7
  import { keys, useKeyNavigation } from '../hooks/useKeyboardNavigation.js';
8
8
  import { InputHidden } from '../DatePickerBase.styles.js';
9
- import { getSortedValues } from '../../Calendar/utils/calendarRangeHelper.js';
10
9
  import { base as base$2 } from './variations/_size/base.js';
11
10
  import { base as base$1 } from './variations/_view/base.js';
12
11
  import { base as base$3 } from './variations/_disabled/base.js';
@@ -14,6 +13,7 @@ import { base as base$4 } from './variations/_readonly/base.js';
14
13
  import { StyledLabel, LeftHelper, base, StyledRange } from './RangeDate.styles.js';
15
14
  import { RangeDatePopover } from './RangeDatePopover/RangeDatePopover.js';
16
15
  import { noop } from '../../../utils/noop.js';
16
+ import { getSortedValues } from '../../Calendar/utils/calendarRangeHelper.js';
17
17
 
18
18
  var _excluded = ["className", "isDoubleCalendar", "opened", "label", "leftHelper", "contentLeft", "contentRight", "view", "size", "readOnly", "disabled", "name", "dividerVariant", "dividerIcon", "defaultFirstDate", "defaultSecondDate", "firstValueError", "secondValueError", "firstValueSuccess", "secondValueSuccess", "firstPlaceholder", "secondPlaceholder", "firstTextfieldContentLeft", "firstTextfieldContentRight", "secondTextfieldContentLeft", "secondTextfieldContentRight", "firstTextfieldTextBefore", "secondTextfieldTextBefore", "firstTextfieldTextAfter", "secondTextfieldTextAfter", "format", "lang", "maskWithFormat", "min", "max", "includeEdgeDates", "eventList", "disabledList", "eventMonthList", "disabledMonthList", "eventQuarterList", "disabledQuarterList", "eventYearList", "disabledYearList", "type", "frame", "usePortal", "placement", "closeOnOverlayClick", "closeOnEsc", "offset", "onToggle", "onChange", "onChangeFirstValue", "onChangeSecondValue", "onCommitFirstDate", "onCommitSecondDate", "onFocusFirstTextfield", "onFocusSecondTextfield", "onBlurFirstTextfield", "onBlurSecondTextfield"];
19
19
  var datePickerRangeRoot = function datePickerRangeRoot(Root) {
@@ -1,6 +1,5 @@
1
1
  import './RangeDate.styles_19to6bu.css';
2
2
  import { styled } from '@linaria/react';
3
- import '@linaria/core';
4
3
  import { component, mergeConfig } from '../../../engines/common.js';
5
4
  import { rangeConfig } from '../../Range/Range.js';
6
5
  import { popoverConfig } from '../../Popover/Popover.js';
@@ -1 +1 @@
1
- {"version":3,"file":"RangeDate.styles.js","sources":["../../../../src/components/DatePicker/RangeDate/RangeDate.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { css } from '@linaria/core';\n\nimport { component, mergeConfig } from '../../../engines';\nimport { rangeConfig, rangeTokens } from '../../Range';\nimport { tokens } from '../DatePicker.tokens';\nimport { popoverConfig } from '../../Popover';\n\nconst mergedRangeConfig = mergeConfig(rangeConfig);\nconst Range = component(mergedRangeConfig);\n\nconst mergedPopoverConfig = mergeConfig(popoverConfig);\nconst Popover = component(mergedPopoverConfig);\n\nexport const StyledPopover = styled(Popover)``;\n\n// NOTE: переопределение токенов Range\nexport const StyledRange = styled(Range)`\n ${rangeTokens.background}: var(${tokens.background});\n ${rangeTokens.backgroundError}: var(${tokens.backgroundError});\n ${rangeTokens.backgroundSuccess}: var(${tokens.backgroundSuccess});\n \n ${rangeTokens.borderColor}: var(${tokens.borderColor});\n ${rangeTokens.borderColorError}: var(${tokens.borderColorError});\n ${rangeTokens.borderColorSuccess}: var(${tokens.borderColorSuccess});\n \n ${rangeTokens.borderWidth}: var(${tokens.textFieldBorderWidth});\n\n ${rangeTokens.dividerColor}: var(${tokens.dividerColor});\n ${rangeTokens.labelColor}: var(${tokens.labelColor});\n ${rangeTokens.leftHelperColor}: var(${tokens.leftHelperColor});\n\n ${rangeTokens.textFieldColor}: var(${tokens.textFieldColor});\n ${rangeTokens.textFieldPlaceholderColor}: var(${tokens.textFieldPlaceholderColor});\n ${rangeTokens.textFieldPlaceholderColorFocus}: var(${tokens.textFieldPlaceholderColorFocus});\n ${rangeTokens.textFieldCaretColor}: var(${tokens.textFieldCaretColor});\n\n ${rangeTokens.textFieldBackgroundColorFocus}: var(${tokens.textFieldBackgroundColorFocus});\n ${rangeTokens.textFieldBackgroundErrorColor}: var(${tokens.textFieldBackgroundErrorColor});\n ${rangeTokens.textFieldBackgroundErrorColorFocus}: var(${tokens.textFieldBackgroundErrorColorFocus});\n ${rangeTokens.textFieldBackgroundSuccessColor}: var(${tokens.textFieldBackgroundSuccessColor});\n ${rangeTokens.textFieldBackgroundSuccessColorFocus}: var(${tokens.textFieldBackgroundSuccessColorFocus});\n\n ${rangeTokens.textFieldBorderWidth}: var(${tokens.textFieldBorderWidth});\n ${rangeTokens.textFieldBorderColorFocus}: var(${tokens.textFieldBorderColorFocus});\n ${rangeTokens.textFieldBorderColorError}: var(${tokens.textFieldBorderColorError});\n ${rangeTokens.textFieldBorderColorErrorFocus}: var(${tokens.textFieldBorderColorErrorFocus});\n ${rangeTokens.textFieldBorderColorSuccess}: var(${tokens.textFieldBorderColorSuccess});\n ${rangeTokens.textFieldBorderColorSuccessFocus}: var(${tokens.textFieldBorderColorSuccessFocus});\n\n ${rangeTokens.textFieldTextBeforeColor}: var(${tokens.textFieldTextBeforeColor});\n ${rangeTokens.textFieldTextAfterColor}: var(${tokens.textFieldTextAfterColor});\n\n ${rangeTokens.focusColor}: var(${tokens.focusColor});\n\n ${rangeTokens.borderRadius}: var(${tokens.borderRadius});\n\n ${rangeTokens.dividerPadding}: var(${tokens.dividerPadding});\n ${rangeTokens.dividerFontFamily}: var(${tokens.dividerFontFamily});\n ${rangeTokens.dividerFontStyle}: var(${tokens.dividerFontStyle});\n ${rangeTokens.dividerFontSize}: var(${tokens.dividerFontSize});\n ${rangeTokens.dividerFontWeight}: var(${tokens.dividerFontWeight});\n ${rangeTokens.dividerLetterSpacing}: var(${tokens.dividerLetterSpacing});\n ${rangeTokens.dividerLineHeight}: var(${tokens.dividerLineHeight});\n\n ${rangeTokens.leftContentMargin}: var(${tokens.leftContentMargin});\n ${rangeTokens.rightContentMargin}: var(${tokens.rightContentMargin});\n\n ${rangeTokens.labelOffset}: var(${tokens.labelOffset});\n\n ${rangeTokens.labelFontFamily}: var(${tokens.labelFontFamily});\n ${rangeTokens.labelFontStyle}: var(${tokens.labelFontStyle});\n ${rangeTokens.labelFontSize}: var(${tokens.labelFontSize});\n ${rangeTokens.labelFontWeight}: var(${tokens.labelFontWeight});\n ${rangeTokens.labelLetterSpacing}: var(${tokens.labelLetterSpacing});\n ${rangeTokens.labelLineHeight}: var(${tokens.labelLineHeight});\n\n ${rangeTokens.textFieldHeight}: var(${tokens.textFieldHeight});\n ${rangeTokens.textFieldBorderRadius}: var(${tokens.textFieldBorderRadius});\n ${rangeTokens.textFieldPadding}: var(${tokens.textFieldPadding});\n ${rangeTokens.textFieldFontFamily}: var(${tokens.textFieldFontFamily});\n ${rangeTokens.textFieldFontStyle}: var(${tokens.textFieldFontStyle});\n ${rangeTokens.textFieldFontSize}: var(${tokens.textFieldFontSize});\n ${rangeTokens.textFieldFontWeight}: var(${tokens.textFieldFontWeight});\n ${rangeTokens.textFieldLetterSpacing}: var(${tokens.textFieldLetterSpacing});\n ${rangeTokens.textFieldLineHeight}: var(${tokens.textFieldLineHeight});\n\n ${rangeTokens.leftHelperOffset}: var(${tokens.leftHelperOffset});\n ${rangeTokens.leftHelperFontFamily}: var(${tokens.leftHelperFontFamily});\n ${rangeTokens.leftHelperFontStyle}: var(${tokens.leftHelperFontStyle});\n ${rangeTokens.leftHelperFontSize}: var(${tokens.leftHelperFontSize});\n ${rangeTokens.leftHelperFontWeight}: var(${tokens.leftHelperFontWeight});\n ${rangeTokens.leftHelperLetterSpacing}: var(${tokens.leftHelperLetterSpacing});\n ${rangeTokens.leftHelperLineHeight}: var(${tokens.leftHelperLineHeight});\n\n ${rangeTokens.textFieldLeftContentMargin}: var(${tokens.textFieldLeftContentMargin});\n ${rangeTokens.textFieldRightContentMargin}: var(${tokens.textFieldRightContentMargin});\n ${rangeTokens.textFieldTextBeforeMargin}: var(${tokens.textFieldTextBeforeMargin});\n ${rangeTokens.textFieldTextAfterMargin}: var(${tokens.textFieldTextAfterMargin});\n\n ${rangeTokens.backgroundReadOnly}: var(${tokens.backgroundReadOnly});\n ${rangeTokens.labelColorReadOnly}: var(${tokens.labelColorReadOnly});\n ${rangeTokens.leftHelperColorReadOnly}: var(${tokens.leftHelperColorReadOnly});\n ${rangeTokens.dividerColorReadOnly}: var(${tokens.dividerColorReadOnly});\n\n ${rangeTokens.textFieldColorReadOnly}: var(${tokens.textFieldColorReadOnly});\n ${rangeTokens.textFieldBackgroundColorReadOnly}: var(${tokens.textFieldBackgroundColorReadOnly});\n ${rangeTokens.textFieldPlaceholderColorReadOnly}: var(${tokens.textFieldPlaceholderColorReadOnly});\n`;\n\nexport const base = css`\n display: inline-block;\n`;\n\nexport const StyledLabel = styled.label``;\n\nexport const LeftHelper = styled.div``;\n"],"names":["mergedRangeConfig","mergeConfig","rangeConfig","Range","component","mergedPopoverConfig","popoverConfig","Popover","_exp","StyledPopover","styled","name","class","propsAsIs","_exp2","StyledRange","base","StyledLabel","LeftHelper"],"mappings":";;;;;;AAQA,IAAMA,iBAAiB,gBAAGC,WAAW,CAACC,WAAW,CAAC,CAAA;AAClD,IAAMC,KAAK,gBAAGC,SAAS,CAACJ,iBAAiB,CAAC,CAAA;AAE1C,IAAMK,mBAAmB,gBAAGJ,WAAW,CAACK,aAAa,CAAC,CAAA;AACtD,IAAMC,OAAO,gBAAGH,SAAS,CAACC,mBAAmB,CAAC,CAAA;AAAC,IAAAG,IAAA,GAX7BA,SAW6BA,IAAAA,GAAA;AAAA,EAAA,OAEXD,OAAO,CAAA;AAAA,CAAA,CAAA;AAApC,IAAME,aAAa,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAAW,EAAA;;AAE9C;AAAA,IAAAC,KAAA,GAfkBA,SAelBA,KAAAA,GAAA;AAAA,EAAA,OACkCX,KAAK,CAAA;AAAA,CAAA,CAAA;AAAhC,IAAMY,WAAW,gBAAGL,MAAM,CAAAI,KAAA,EAAA,CAAA,CAAA;AAAAH,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CA2FhC,EAAA;AAEM,IAAMG,IAAI,GAEhB,WAAA;AAEM,IAAMC,WAAW,gBAAGP,MAAM,CAAA,OAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAQ,EAAA;AAElC,IAAMK,UAAU,gBAAGR,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAM;;;;"}
1
+ {"version":3,"file":"RangeDate.styles.js","sources":["../../../../src/components/DatePicker/RangeDate/RangeDate.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { css } from '@linaria/core';\n\nimport { component, mergeConfig } from '../../../engines';\nimport { rangeConfig, rangeTokens } from '../../Range';\nimport { tokens } from '../DatePicker.tokens';\nimport { popoverConfig } from '../../Popover';\n\nconst mergedRangeConfig = mergeConfig(rangeConfig);\nconst Range = component(mergedRangeConfig);\n\nconst mergedPopoverConfig = mergeConfig(popoverConfig);\nconst Popover = component(mergedPopoverConfig);\n\nexport const StyledPopover = styled(Popover)``;\n\n// NOTE: переопределение токенов Range\nexport const StyledRange = styled(Range)`\n ${rangeTokens.background}: var(${tokens.background});\n ${rangeTokens.backgroundError}: var(${tokens.backgroundError});\n ${rangeTokens.backgroundSuccess}: var(${tokens.backgroundSuccess});\n \n ${rangeTokens.borderColor}: var(${tokens.borderColor});\n ${rangeTokens.borderColorError}: var(${tokens.borderColorError});\n ${rangeTokens.borderColorSuccess}: var(${tokens.borderColorSuccess});\n \n ${rangeTokens.borderWidth}: var(${tokens.textFieldBorderWidth});\n\n ${rangeTokens.dividerColor}: var(${tokens.dividerColor});\n ${rangeTokens.labelColor}: var(${tokens.labelColor});\n ${rangeTokens.leftHelperColor}: var(${tokens.leftHelperColor});\n\n ${rangeTokens.textFieldColor}: var(${tokens.textFieldColor});\n ${rangeTokens.textFieldPlaceholderColor}: var(${tokens.textFieldPlaceholderColor});\n ${rangeTokens.textFieldPlaceholderColorFocus}: var(${tokens.textFieldPlaceholderColorFocus});\n ${rangeTokens.textFieldCaretColor}: var(${tokens.textFieldCaretColor});\n\n ${rangeTokens.textFieldBackgroundColorFocus}: var(${tokens.textFieldBackgroundColorFocus});\n ${rangeTokens.textFieldBackgroundErrorColor}: var(${tokens.textFieldBackgroundErrorColor});\n ${rangeTokens.textFieldBackgroundErrorColorFocus}: var(${tokens.textFieldBackgroundErrorColorFocus});\n ${rangeTokens.textFieldBackgroundSuccessColor}: var(${tokens.textFieldBackgroundSuccessColor});\n ${rangeTokens.textFieldBackgroundSuccessColorFocus}: var(${tokens.textFieldBackgroundSuccessColorFocus});\n\n ${rangeTokens.textFieldBorderWidth}: var(${tokens.textFieldBorderWidth});\n ${rangeTokens.textFieldBorderColorFocus}: var(${tokens.textFieldBorderColorFocus});\n ${rangeTokens.textFieldBorderColorError}: var(${tokens.textFieldBorderColorError});\n ${rangeTokens.textFieldBorderColorErrorFocus}: var(${tokens.textFieldBorderColorErrorFocus});\n ${rangeTokens.textFieldBorderColorSuccess}: var(${tokens.textFieldBorderColorSuccess});\n ${rangeTokens.textFieldBorderColorSuccessFocus}: var(${tokens.textFieldBorderColorSuccessFocus});\n\n ${rangeTokens.textFieldTextBeforeColor}: var(${tokens.textFieldTextBeforeColor});\n ${rangeTokens.textFieldTextAfterColor}: var(${tokens.textFieldTextAfterColor});\n\n ${rangeTokens.focusColor}: var(${tokens.focusColor});\n\n ${rangeTokens.borderRadius}: var(${tokens.borderRadius});\n\n ${rangeTokens.dividerPadding}: var(${tokens.dividerPadding});\n ${rangeTokens.dividerFontFamily}: var(${tokens.dividerFontFamily});\n ${rangeTokens.dividerFontStyle}: var(${tokens.dividerFontStyle});\n ${rangeTokens.dividerFontSize}: var(${tokens.dividerFontSize});\n ${rangeTokens.dividerFontWeight}: var(${tokens.dividerFontWeight});\n ${rangeTokens.dividerLetterSpacing}: var(${tokens.dividerLetterSpacing});\n ${rangeTokens.dividerLineHeight}: var(${tokens.dividerLineHeight});\n\n ${rangeTokens.leftContentMargin}: var(${tokens.leftContentMargin});\n ${rangeTokens.rightContentMargin}: var(${tokens.rightContentMargin});\n\n ${rangeTokens.labelOffset}: var(${tokens.labelOffset});\n\n ${rangeTokens.labelFontFamily}: var(${tokens.labelFontFamily});\n ${rangeTokens.labelFontStyle}: var(${tokens.labelFontStyle});\n ${rangeTokens.labelFontSize}: var(${tokens.labelFontSize});\n ${rangeTokens.labelFontWeight}: var(${tokens.labelFontWeight});\n ${rangeTokens.labelLetterSpacing}: var(${tokens.labelLetterSpacing});\n ${rangeTokens.labelLineHeight}: var(${tokens.labelLineHeight});\n\n ${rangeTokens.textFieldHeight}: var(${tokens.textFieldHeight});\n ${rangeTokens.textFieldBorderRadius}: var(${tokens.textFieldBorderRadius});\n ${rangeTokens.textFieldPadding}: var(${tokens.textFieldPadding});\n ${rangeTokens.textFieldFontFamily}: var(${tokens.textFieldFontFamily});\n ${rangeTokens.textFieldFontStyle}: var(${tokens.textFieldFontStyle});\n ${rangeTokens.textFieldFontSize}: var(${tokens.textFieldFontSize});\n ${rangeTokens.textFieldFontWeight}: var(${tokens.textFieldFontWeight});\n ${rangeTokens.textFieldLetterSpacing}: var(${tokens.textFieldLetterSpacing});\n ${rangeTokens.textFieldLineHeight}: var(${tokens.textFieldLineHeight});\n\n ${rangeTokens.leftHelperOffset}: var(${tokens.leftHelperOffset});\n ${rangeTokens.leftHelperFontFamily}: var(${tokens.leftHelperFontFamily});\n ${rangeTokens.leftHelperFontStyle}: var(${tokens.leftHelperFontStyle});\n ${rangeTokens.leftHelperFontSize}: var(${tokens.leftHelperFontSize});\n ${rangeTokens.leftHelperFontWeight}: var(${tokens.leftHelperFontWeight});\n ${rangeTokens.leftHelperLetterSpacing}: var(${tokens.leftHelperLetterSpacing});\n ${rangeTokens.leftHelperLineHeight}: var(${tokens.leftHelperLineHeight});\n\n ${rangeTokens.textFieldLeftContentMargin}: var(${tokens.textFieldLeftContentMargin});\n ${rangeTokens.textFieldRightContentMargin}: var(${tokens.textFieldRightContentMargin});\n ${rangeTokens.textFieldTextBeforeMargin}: var(${tokens.textFieldTextBeforeMargin});\n ${rangeTokens.textFieldTextAfterMargin}: var(${tokens.textFieldTextAfterMargin});\n\n ${rangeTokens.backgroundReadOnly}: var(${tokens.backgroundReadOnly});\n ${rangeTokens.labelColorReadOnly}: var(${tokens.labelColorReadOnly});\n ${rangeTokens.leftHelperColorReadOnly}: var(${tokens.leftHelperColorReadOnly});\n ${rangeTokens.dividerColorReadOnly}: var(${tokens.dividerColorReadOnly});\n\n ${rangeTokens.textFieldColorReadOnly}: var(${tokens.textFieldColorReadOnly});\n ${rangeTokens.textFieldBackgroundColorReadOnly}: var(${tokens.textFieldBackgroundColorReadOnly});\n ${rangeTokens.textFieldPlaceholderColorReadOnly}: var(${tokens.textFieldPlaceholderColorReadOnly});\n`;\n\nexport const base = css`\n display: inline-block;\n`;\n\nexport const StyledLabel = styled.label``;\n\nexport const LeftHelper = styled.div``;\n"],"names":["mergedRangeConfig","mergeConfig","rangeConfig","Range","component","mergedPopoverConfig","popoverConfig","Popover","_exp","StyledPopover","styled","name","class","propsAsIs","_exp2","StyledRange","base","StyledLabel","LeftHelper"],"mappings":";;;;;AAQA,IAAMA,iBAAiB,gBAAGC,WAAW,CAACC,WAAW,CAAC,CAAA;AAClD,IAAMC,KAAK,gBAAGC,SAAS,CAACJ,iBAAiB,CAAC,CAAA;AAE1C,IAAMK,mBAAmB,gBAAGJ,WAAW,CAACK,aAAa,CAAC,CAAA;AACtD,IAAMC,OAAO,gBAAGH,SAAS,CAACC,mBAAmB,CAAC,CAAA;AAAC,IAAAG,IAAA,GAX7BA,SAW6BA,IAAAA,GAAA;AAAA,EAAA,OAEXD,OAAO,CAAA;AAAA,CAAA,CAAA;AAApC,IAAME,aAAa,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAAW,EAAA;;AAE9C;AAAA,IAAAC,KAAA,GAfkBA,SAelBA,KAAAA,GAAA;AAAA,EAAA,OACkCX,KAAK,CAAA;AAAA,CAAA,CAAA;AAAhC,IAAMY,WAAW,gBAAGL,MAAM,CAAAI,KAAA,EAAA,CAAA,CAAA;AAAAH,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CA2FhC,EAAA;AAEM,IAAMG,IAAI,GAEhB,WAAA;AAEM,IAAMC,WAAW,gBAAGP,MAAM,CAAA,OAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAQ,EAAA;AAElC,IAAMK,UAAU,gBAAGR,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAM;;;;"}
@@ -1,8 +1,7 @@
1
1
  import React from 'react';
2
- import '../../../../utils/react.js';
3
- import { getPlacements } from '../../../../utils/getPopoverPlacement.js';
4
2
  import { StyledPopover } from '../RangeDate.styles.js';
5
3
  import { StyledCalendarDouble, StyledCalendar } from './RangeDatePopover.styles.js';
4
+ import { getPlacements } from '../../../../utils/getPopoverPlacement.js';
6
5
 
7
6
  var RangeDatePopover = function RangeDatePopover(_ref) {
8
7
  var Root = _ref.rootWrapper,
@@ -1 +1 @@
1
- {"version":3,"file":"RangeDatePopover.js","sources":["../../../../../src/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.tsx"],"sourcesContent":["import React from 'react';\n\nimport { getPlacements } from '../../../../utils';\nimport { StyledPopover } from '../RangeDate.styles';\n\nimport type { RangeDatePopoverProps } from './RangeDatePopover.types';\nimport { StyledCalendar, StyledCalendarDouble } from './RangeDatePopover.styles';\n\nexport const RangeDatePopover = ({\n rootWrapper: Root,\n target,\n\n isOpen,\n opened,\n isDoubleCalendar,\n\n calendarValue,\n min,\n max,\n includeEdgeDates,\n eventList,\n disabledList,\n eventMonthList,\n disabledMonthList,\n eventQuarterList,\n disabledQuarterList,\n eventYearList,\n disabledYearList,\n\n frame = 'document',\n usePortal = false,\n placement = ['top', 'bottom'],\n closeOnOverlayClick = true,\n closeOnEsc,\n offset,\n\n type,\n size,\n lang = 'ru',\n\n onChangeValue,\n onChangeStartOfRange,\n\n onToggle,\n}: RangeDatePopoverProps) => {\n const innerIsOpen = Boolean(isOpen || opened);\n\n if (isDoubleCalendar) {\n return (\n <StyledPopover\n opened={innerIsOpen}\n frame={frame}\n usePortal={usePortal}\n onToggle={onToggle}\n offset={offset}\n placement={getPlacements(placement)}\n trigger=\"click\"\n closeOnOverlayClick={closeOnOverlayClick}\n isFocusTrapped={false}\n target={target}\n preventOverflow={false}\n >\n <Root>\n <StyledCalendarDouble\n size={size}\n value={calendarValue}\n eventList={eventList}\n disabledList={disabledList}\n eventMonthList={eventMonthList}\n disabledMonthList={disabledMonthList}\n eventQuarterList={eventQuarterList}\n disabledQuarterList={disabledQuarterList}\n eventYearList={eventYearList}\n disabledYearList={disabledYearList}\n min={min}\n max={max}\n locale={lang}\n includeEdgeDates={includeEdgeDates}\n onChangeValue={onChangeValue}\n onChangeStartOfRange={onChangeStartOfRange}\n />\n </Root>\n </StyledPopover>\n );\n }\n\n return (\n <StyledPopover\n opened={innerIsOpen}\n frame={frame}\n usePortal={usePortal}\n onToggle={onToggle}\n offset={offset}\n placement={getPlacements(placement)}\n trigger=\"click\"\n closeOnOverlayClick={closeOnOverlayClick}\n isFocusTrapped={false}\n target={target}\n preventOverflow={false}\n closeOnEsc={closeOnEsc}\n >\n <Root>\n <StyledCalendar\n size={size}\n value={calendarValue}\n eventList={eventList}\n disabledList={disabledList}\n eventMonthList={eventMonthList}\n disabledMonthList={disabledMonthList}\n eventQuarterList={eventQuarterList}\n disabledQuarterList={disabledQuarterList}\n eventYearList={eventYearList}\n disabledYearList={disabledYearList}\n min={min}\n max={max}\n type={type}\n locale={lang}\n includeEdgeDates={includeEdgeDates}\n onChangeValue={onChangeValue}\n onChangeStartOfRange={onChangeStartOfRange}\n />\n </Root>\n </StyledPopover>\n );\n};\n"],"names":["RangeDatePopover","_ref","Root","rootWrapper","target","isOpen","opened","isDoubleCalendar","calendarValue","min","max","includeEdgeDates","eventList","disabledList","eventMonthList","disabledMonthList","eventQuarterList","disabledQuarterList","eventYearList","disabledYearList","_ref$frame","frame","_ref$usePortal","usePortal","_ref$placement","placement","_ref$closeOnOverlayCl","closeOnOverlayClick","closeOnEsc","offset","type","size","_ref$lang","lang","onChangeValue","onChangeStartOfRange","onToggle","innerIsOpen","Boolean","React","createElement","StyledPopover","getPlacements","trigger","isFocusTrapped","preventOverflow","StyledCalendarDouble","value","locale","StyledCalendar"],"mappings":";;;;;;IAQaA,gBAAgB,GAA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cAAc,EAAEA,cAAe;AAC/BC,IAAAA,iBAAiB,EAAEA,iBAAkB;AACrCC,IAAAA,gBAAgB,EAAEA,gBAAiB;AACnCC,IAAAA,mBAAmB,EAAEA,mBAAoB;AACzCC,IAAAA,aAAa,EAAEA,aAAc;AAC7BC,IAAAA,gBAAgB,EAAEA,gBAAiB;AACnCV,IAAAA,GAAG,EAAEA,GAAI;AACTC,IAAAA,GAAG,EAAEA,GAAI;AACToB,IAAAA,IAAI,EAAEA,IAAK;AACXkB,IAAAA,MAAM,EAAEf,IAAK;AACbtB,IAAAA,gBAAgB,EAAEA,gBAAiB;AACnCuB,IAAAA,aAAa,EAAEA,aAAc;AAC7BC,IAAAA,oBAAoB,EAAEA,oBAAAA;GACzB,CACC,CACK,CAAC,CAAA;AAExB;;;;"}
1
+ {"version":3,"file":"RangeDatePopover.js","sources":["../../../../../src/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.tsx"],"sourcesContent":["import React from 'react';\n\nimport { getPlacements } from '../../../../utils';\nimport { StyledPopover } from '../RangeDate.styles';\n\nimport type { RangeDatePopoverProps } from './RangeDatePopover.types';\nimport { StyledCalendar, StyledCalendarDouble } from './RangeDatePopover.styles';\n\nexport const RangeDatePopover = ({\n rootWrapper: Root,\n target,\n\n isOpen,\n opened,\n isDoubleCalendar,\n\n calendarValue,\n min,\n max,\n includeEdgeDates,\n eventList,\n disabledList,\n eventMonthList,\n disabledMonthList,\n eventQuarterList,\n disabledQuarterList,\n eventYearList,\n disabledYearList,\n\n frame = 'document',\n usePortal = false,\n placement = ['top', 'bottom'],\n closeOnOverlayClick = true,\n closeOnEsc,\n offset,\n\n type,\n size,\n lang = 'ru',\n\n onChangeValue,\n onChangeStartOfRange,\n\n onToggle,\n}: RangeDatePopoverProps) => {\n const innerIsOpen = Boolean(isOpen || opened);\n\n if (isDoubleCalendar) {\n return (\n <StyledPopover\n opened={innerIsOpen}\n frame={frame}\n usePortal={usePortal}\n onToggle={onToggle}\n offset={offset}\n placement={getPlacements(placement)}\n trigger=\"click\"\n closeOnOverlayClick={closeOnOverlayClick}\n isFocusTrapped={false}\n target={target}\n preventOverflow={false}\n >\n <Root>\n <StyledCalendarDouble\n size={size}\n value={calendarValue}\n eventList={eventList}\n disabledList={disabledList}\n eventMonthList={eventMonthList}\n disabledMonthList={disabledMonthList}\n eventQuarterList={eventQuarterList}\n disabledQuarterList={disabledQuarterList}\n eventYearList={eventYearList}\n disabledYearList={disabledYearList}\n min={min}\n max={max}\n locale={lang}\n includeEdgeDates={includeEdgeDates}\n onChangeValue={onChangeValue}\n onChangeStartOfRange={onChangeStartOfRange}\n />\n </Root>\n </StyledPopover>\n );\n }\n\n return (\n <StyledPopover\n opened={innerIsOpen}\n frame={frame}\n usePortal={usePortal}\n onToggle={onToggle}\n offset={offset}\n placement={getPlacements(placement)}\n trigger=\"click\"\n closeOnOverlayClick={closeOnOverlayClick}\n isFocusTrapped={false}\n target={target}\n preventOverflow={false}\n closeOnEsc={closeOnEsc}\n >\n <Root>\n <StyledCalendar\n size={size}\n value={calendarValue}\n eventList={eventList}\n disabledList={disabledList}\n eventMonthList={eventMonthList}\n disabledMonthList={disabledMonthList}\n eventQuarterList={eventQuarterList}\n disabledQuarterList={disabledQuarterList}\n eventYearList={eventYearList}\n disabledYearList={disabledYearList}\n min={min}\n max={max}\n type={type}\n locale={lang}\n includeEdgeDates={includeEdgeDates}\n onChangeValue={onChangeValue}\n onChangeStartOfRange={onChangeStartOfRange}\n />\n </Root>\n </StyledPopover>\n );\n};\n"],"names":["RangeDatePopover","_ref","Root","rootWrapper","target","isOpen","opened","isDoubleCalendar","calendarValue","min","max","includeEdgeDates","eventList","disabledList","eventMonthList","disabledMonthList","eventQuarterList","disabledQuarterList","eventYearList","disabledYearList","_ref$frame","frame","_ref$usePortal","usePortal","_ref$placement","placement","_ref$closeOnOverlayCl","closeOnOverlayClick","closeOnEsc","offset","type","size","_ref$lang","lang","onChangeValue","onChangeStartOfRange","onToggle","innerIsOpen","Boolean","React","createElement","StyledPopover","getPlacements","trigger","isFocusTrapped","preventOverflow","StyledCalendarDouble","value","locale","StyledCalendar"],"mappings":";;;;;IAQaA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAAC,IAAA,EAoCA;AAAA,EAAA,IAnCZC,IAAI,GAAAD,IAAA,CAAjBE,WAAW;IACXC,MAAM,GAAAH,IAAA,CAANG,MAAM;IAENC,MAAM,GAAAJ,IAAA,CAANI,MAAM;IACNC,MAAM,GAAAL,IAAA,CAANK,MAAM;IACNC,gBAAgB,GAAAN,IAAA,CAAhBM,gBAAgB;IAEhBC,aAAa,GAAAP,IAAA,CAAbO,aAAa;IACbC,GAAG,GAAAR,IAAA,CAAHQ,GAAG;IACHC,GAAG,GAAAT,IAAA,CAAHS,GAAG;IACHC,gBAAgB,GAAAV,IAAA,CAAhBU,gBAAgB;IAChBC,SAAS,GAAAX,IAAA,CAATW,SAAS;IACTC,YAAY,GAAAZ,IAAA,CAAZY,YAAY;IACZC,cAAc,GAAAb,IAAA,CAAda,cAAc;IACdC,iBAAiB,GAAAd,IAAA,CAAjBc,iBAAiB;IACjBC,gBAAgB,GAAAf,IAAA,CAAhBe,gBAAgB;IAChBC,mBAAmB,GAAAhB,IAAA,CAAnBgB,mBAAmB;IACnBC,aAAa,GAAAjB,IAAA,CAAbiB,aAAa;IACbC,gBAAgB,GAAAlB,IAAA,CAAhBkB,gBAAgB;IAAAC,UAAA,GAAAnB,IAAA,CAEhBoB,KAAK;AAALA,IAAAA,KAAK,GAAAD,UAAA,KAAG,KAAA,CAAA,GAAA,UAAU,GAAAA,UAAA;IAAAE,cAAA,GAAArB,IAAA,CAClBsB,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAG,KAAA,CAAA,GAAA,KAAK,GAAAA,cAAA;IAAAE,cAAA,GAAAvB,IAAA,CACjBwB,SAAS;IAATA,SAAS,GAAAD,cAAA,KAAG,KAAA,CAAA,GAAA,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAA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AAAA,KAAK,EAAEvC,aAAc;AACrBI,IAAAA,SAAS,EAAEA,SAAU;AACrBC,IAAAA,YAAY,EAAEA,YAAa;AAC3BC,IAAAA,cAAc,EAAEA,cAAe;AAC/BC,IAAAA,iBAAiB,EAAEA,iBAAkB;AACrCC,IAAAA,gBAAgB,EAAEA,gBAAiB;AACnCC,IAAAA,mBAAmB,EAAEA,mBAAoB;AACzCC,IAAAA,aAAa,EAAEA,aAAc;AAC7BC,IAAAA,gBAAgB,EAAEA,gBAAiB;AACnCV,IAAAA,GAAG,EAAEA,GAAI;AACTC,IAAAA,GAAG,EAAEA,GAAI;AACToB,IAAAA,IAAI,EAAEA,IAAK;AACXkB,IAAAA,MAAM,EAAEf,IAAK;AACbtB,IAAAA,gBAAgB,EAAEA,gBAAiB;AACnCuB,IAAAA,aAAa,EAAEA,aAAc;AAC7BC,IAAAA,oBAAoB,EAAEA,oBAAAA;GACzB,CACC,CACK,CAAC,CAAA;AAExB;;;;"}
@@ -1,12 +1,9 @@
1
1
  import './RangeDatePopover.styles_1gljtdv.css';
2
2
  import { styled } from '@linaria/react';
3
- import 'react';
4
- import 'focus-visible';
5
3
  import { withRange } from '../../../Calendar/hoc/withRange.js';
6
- import { calendarBaseConfig } from '../../../Calendar/CalendarBase/CalendarBase.js';
7
- import { calendarDoubleConfig } from '../../../Calendar/CalendarDouble/CalendarDouble.js';
8
- import '@linaria/core';
9
4
  import { component, mergeConfig } from '../../../../engines/common.js';
5
+ import { calendarDoubleConfig } from '../../../Calendar/CalendarDouble/CalendarDouble.js';
6
+ import { calendarBaseConfig } from '../../../Calendar/CalendarBase/CalendarBase.js';
10
7
 
11
8
  var mergedCalendarDoubleConfig = /*#__PURE__*/mergeConfig(calendarDoubleConfig);
12
9
  var CalendarDouble = /*#__PURE__*/component(mergedCalendarDoubleConfig);
@@ -1 +1 @@
1
- {"version":3,"file":"RangeDatePopover.styles.js","sources":["../../../../../src/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { calendarDoubleConfig, calendarBaseTokens, withRange, calendarBaseConfig } from '../../../Calendar';\nimport type { CalendarDoubleProps, CalendarBaseProps } from '../../../Calendar';\nimport { tokens } from '../../DatePicker.tokens';\nimport { component, mergeConfig } from '../../../../engines';\nimport { baseCalendarTokens } from '../../DatePickerBase.styles';\n\nconst mergedCalendarDoubleConfig = mergeConfig(calendarDoubleConfig);\nconst CalendarDouble = component(mergedCalendarDoubleConfig);\n\nconst mergedCalendarConfig = mergeConfig(calendarBaseConfig);\nconst Calendar = component(mergedCalendarConfig);\n\nconst CalendarDoubleRange = withRange<CalendarDoubleProps>(CalendarDouble);\nconst CalendarRange = withRange<CalendarBaseProps>(Calendar);\n\n// NOTE: переопределение токенов Calendar\nexport const StyledCalendarDouble = styled(CalendarDoubleRange)`\n ${calendarBaseTokens.calendarSeparatorBackground}: var(${tokens.calendarSeparatorBackground});\n ${baseCalendarTokens}\n /* NOTE: помимо умножения ширины на 2, добавляется место под разделитель */\n ${calendarBaseTokens.calendarWidth}: calc(var(${tokens.calendarWidth}) * 2 + 2.063rem);\n`;\n\nexport const StyledCalendar = styled(CalendarRange)`\n ${baseCalendarTokens}\n`;\n"],"names":["mergedCalendarDoubleConfig","mergeConfig","calendarDoubleConfig","CalendarDouble","component","mergedCalendarConfig","calendarBaseConfig","Calendar","CalendarDoubleRange","withRange","CalendarRange","_exp","StyledCalendarDouble","styled","name","class","propsAsIs","_exp7","StyledCalendar"],"mappings":";;;;;;;;;AAQA,IAAMA,0BAA0B,gBAAGC,WAAW,CAACC,oBAAoB,CAAC,CAAA;AACpE,IAAMC,cAAc,gBAAGC,SAAS,CAACJ,0BAA0B,CAAC,CAAA;AAE5D,IAAMK,oBAAoB,gBAAGJ,WAAW,CAACK,kBAAkB,CAAC,CAAA;AAC5D,IAAMC,QAAQ,gBAAGH,SAAS,CAACC,oBAAoB,CAAC,CAAA;AAEhD,IAAMG,mBAAmB,gBAAGC,SAAS,CAAsBN,cAAc,CAAC,CAAA;AAC1E,IAAMO,aAAa,gBAAGD,SAAS,CAAoBF,QAAQ,CAAC,CAAA;;AAE5D;AAAA,IAAAI,IAAA,GAhBkBA,SAgBlBA,IAAAA,GAAA;AAAA,EAAA,OAC2CH,mBAAmB,CAAA;AAAA,CAAA,CAAA;AAAvD,IAAMI,oBAAoB,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,sBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAKzC,EAAA;AAAC,IAAAC,KAAA,GAtBgBA,SAsBhBA,KAAAA,GAAA;AAAA,EAAA,OAEmCP,aAAa,CAAA;AAAA,CAAA,CAAA;AAA3C,IAAMQ,cAAc,gBAAGL,MAAM,CAAAI,KAAA,EAAA,CAAA,CAAA;AAAAH,EAAAA,IAAA,EAAA,gBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAEnC;;;;"}
1
+ {"version":3,"file":"RangeDatePopover.styles.js","sources":["../../../../../src/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { calendarDoubleConfig, calendarBaseTokens, withRange, calendarBaseConfig } from '../../../Calendar';\nimport type { CalendarDoubleProps, CalendarBaseProps } from '../../../Calendar';\nimport { tokens } from '../../DatePicker.tokens';\nimport { component, mergeConfig } from '../../../../engines';\nimport { baseCalendarTokens } from '../../DatePickerBase.styles';\n\nconst mergedCalendarDoubleConfig = mergeConfig(calendarDoubleConfig);\nconst CalendarDouble = component(mergedCalendarDoubleConfig);\n\nconst mergedCalendarConfig = mergeConfig(calendarBaseConfig);\nconst Calendar = component(mergedCalendarConfig);\n\nconst CalendarDoubleRange = withRange<CalendarDoubleProps>(CalendarDouble);\nconst CalendarRange = withRange<CalendarBaseProps>(Calendar);\n\n// NOTE: переопределение токенов Calendar\nexport const StyledCalendarDouble = styled(CalendarDoubleRange)`\n ${calendarBaseTokens.calendarSeparatorBackground}: var(${tokens.calendarSeparatorBackground});\n ${baseCalendarTokens}\n /* NOTE: помимо умножения ширины на 2, добавляется место под разделитель */\n ${calendarBaseTokens.calendarWidth}: calc(var(${tokens.calendarWidth}) * 2 + 2.063rem);\n`;\n\nexport const StyledCalendar = styled(CalendarRange)`\n ${baseCalendarTokens}\n`;\n"],"names":["mergedCalendarDoubleConfig","mergeConfig","calendarDoubleConfig","CalendarDouble","component","mergedCalendarConfig","calendarBaseConfig","Calendar","CalendarDoubleRange","withRange","CalendarRange","_exp","StyledCalendarDouble","styled","name","class","propsAsIs","_exp7","StyledCalendar"],"mappings":";;;;;;AAQA,IAAMA,0BAA0B,gBAAGC,WAAW,CAACC,oBAAoB,CAAC,CAAA;AACpE,IAAMC,cAAc,gBAAGC,SAAS,CAACJ,0BAA0B,CAAC,CAAA;AAE5D,IAAMK,oBAAoB,gBAAGJ,WAAW,CAACK,kBAAkB,CAAC,CAAA;AAC5D,IAAMC,QAAQ,gBAAGH,SAAS,CAACC,oBAAoB,CAAC,CAAA;AAEhD,IAAMG,mBAAmB,gBAAGC,SAAS,CAAsBN,cAAc,CAAC,CAAA;AAC1E,IAAMO,aAAa,gBAAGD,SAAS,CAAoBF,QAAQ,CAAC,CAAA;;AAE5D;AAAA,IAAAI,IAAA,GAhBkBA,SAgBlBA,IAAAA,GAAA;AAAA,EAAA,OAC2CH,mBAAmB,CAAA;AAAA,CAAA,CAAA;AAAvD,IAAMI,oBAAoB,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,sBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAKzC,EAAA;AAAC,IAAAC,KAAA,GAtBgBA,SAsBhBA,KAAAA,GAAA;AAAA,EAAA,OAEmCP,aAAa,CAAA;AAAA,CAAA,CAAA;AAA3C,IAAMQ,cAAc,gBAAGL,MAAM,CAAAI,KAAA,EAAA,CAAA,CAAA;AAAAH,EAAAA,IAAA,EAAA,gBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAEnC;;;;"}
@@ -1,6 +1,5 @@
1
1
  import './SingleDate.styles_1rrq00l.css';
2
2
  import { styled } from '@linaria/react';
3
- import '@linaria/core';
4
3
  import { component, mergeConfig } from '../../../engines/common.js';
5
4
  import { textFieldConfig } from '../../TextField/TextField.js';
6
5
  import { popoverConfig } from '../../Popover/Popover.js';
@@ -1 +1 @@
1
- {"version":3,"file":"SingleDate.styles.js","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { css } from '@linaria/core';\n\nimport { component, mergeConfig } from '../../../engines';\nimport { textFieldConfig, textFieldTokens } from '../../TextField';\nimport { classes, tokens } from '../DatePicker.tokens';\nimport { popoverClasses, popoverConfig } from '../../Popover';\n\nconst mergedTextFieldConfig = mergeConfig(textFieldConfig);\nconst TextField = component(mergedTextFieldConfig);\n\nconst mergedPopoverConfig = mergeConfig(popoverConfig);\nconst Popover = component(mergedPopoverConfig);\n\nexport const StyledPopover = styled(Popover)``;\n\n// NOTE: переопределение токенов TextField\nexport const StyledInput = styled(TextField)`\n width: 100%;\n\n ${textFieldTokens.color}: var(${tokens.textFieldColor});\n ${textFieldTokens.placeholderColor}: var(${tokens.textFieldPlaceholderColor});\n ${textFieldTokens.placeholderColorFocus}: var(${tokens.textFieldPlaceholderColorFocus});\n ${textFieldTokens.caretColor}: var(${tokens.textFieldCaretColor});\n ${textFieldTokens.focusColor}: var(${tokens.textFieldFocusColor});\n\n ${textFieldTokens.backgroundColor}: var(${tokens.textFieldBackgroundColor});\n ${textFieldTokens.backgroundColorHover}: var(${tokens.textFieldBackgroundColorHover});\n ${textFieldTokens.backgroundColorFocus}: var(${tokens.textFieldBackgroundColorFocus});\n \n ${textFieldTokens.borderColor}: var(${tokens.borderColor});\n ${textFieldTokens.borderColorHover}: var(${tokens.borderColorHover});\n ${textFieldTokens.borderColorFocus}: var(${tokens.borderColorFocus});\n\n ${textFieldTokens.colorReadOnly}: var(${tokens.textFieldColorReadOnly});\n ${textFieldTokens.backgroundColorReadOnly}: var(${tokens.textFieldBackgroundColorReadOnly});\n ${textFieldTokens.borderColorReadOnly}: var(${tokens.textFieldBorderColorReadOnly});\n ${textFieldTokens.placeholderColorReadOnly}: var(${tokens.textFieldPlaceholderColorReadOnly});\n\n ${textFieldTokens.height}: var(${tokens.textFieldHeight});\n ${textFieldTokens.borderWidth}: var(${tokens.textFieldBorderWidth});\n ${textFieldTokens.borderRadius}: var(${tokens.textFieldBorderRadius});\n\n ${textFieldTokens.padding}: var(${tokens.textFieldPadding});\n ${textFieldTokens.labelInnerPadding}: var(${tokens.labelInnerPadding});\n ${textFieldTokens.contentLabelInnerPadding}: var(${tokens.contentLabelInnerPadding});\n ${textFieldTokens.labelInnerFontFamily}: var(${tokens.labelInnerFontFamily});\n ${textFieldTokens.labelInnerFontSize}: var(${tokens.labelInnerFontSize});\n ${textFieldTokens.labelInnerFontStyle}: var(${tokens.labelInnerFontStyle});\n ${textFieldTokens.labelInnerFontWeight}: var(${tokens.labelInnerFontWeight});\n ${textFieldTokens.labelInnerLetterSpacing}: var(${tokens.labelInnerLetterSpacing});\n ${textFieldTokens.labelInnerLineHeight}: var(${tokens.labelInnerLineHeight});\n\n ${textFieldTokens.leftContentMargin}: var(${tokens.textFieldLeftContentMargin});\n ${textFieldTokens.rightContentMargin}: var(${tokens.textFieldRightContentMargin});\n\n ${textFieldTokens.fontFamily}: var(${tokens.textFieldFontFamily});\n ${textFieldTokens.fontSize}: var(${tokens.textFieldFontSize});\n ${textFieldTokens.fontStyle}: var(${tokens.textFieldFontStyle});\n ${textFieldTokens.fontWeight}: var(${tokens.textFieldFontWeight});\n ${textFieldTokens.letterSpacing}: var(${tokens.textFieldLetterSpacing});\n ${textFieldTokens.lineHeight}: var(${tokens.textFieldLineHeight});\n\n ${textFieldTokens.disabledOpacity}: var(${tokens.disabledOpacity});\n \n ${textFieldTokens.textBeforeColor}: var(${tokens.textFieldTextBeforeColor});\n ${textFieldTokens.textAfterColor}: var(${tokens.textFieldTextAfterColor});\n ${textFieldTokens.textBeforeMargin}: var(${tokens.textFieldTextBeforeMargin});\n ${textFieldTokens.textAfterMargin}: var(${tokens.textFieldTextAfterMargin});\n ${textFieldTokens.contentSlotColor}: var(${tokens.textFieldContentSlotColor}, var(${tokens.textFieldColor}));\n\n &.${classes.datePickerError} {\n ${textFieldTokens.backgroundColor}: var(${tokens.textFieldBackgroundErrorColor});\n ${textFieldTokens.backgroundColorHover}: var(${tokens.textFieldBackgroundErrorColorHover});\n ${textFieldTokens.backgroundColorFocus}: var(${tokens.textFieldBackgroundErrorColorFocus});\n \n ${textFieldTokens.borderColor}: var(${tokens.textFieldBorderColorError});\n ${textFieldTokens.borderColorHover}: var(${tokens.textFieldBorderColorErrorHover});\n ${textFieldTokens.borderColorFocus}: var(${tokens.textFieldBorderColorErrorFocus});\n }\n\n &.${classes.datePickerSuccess} {\n ${textFieldTokens.backgroundColor}: var(${tokens.textFieldBackgroundSuccessColor});\n ${textFieldTokens.backgroundColorHover}: var(${tokens.textFieldBackgroundSuccessColorHover});\n ${textFieldTokens.backgroundColorFocus}: var(${tokens.textFieldBackgroundSuccessColorFocus});\n \n ${textFieldTokens.borderColor}: var(${tokens.textFieldBorderColorSuccess});\n ${textFieldTokens.borderColorHover}: var(${tokens.textFieldBorderColorSuccessHover});\n ${textFieldTokens.borderColorFocus}: var(${tokens.textFieldBorderColorSuccessFocus});\n }\n`;\n\nexport const base = css`\n display: inline-block;\n\n .${String(popoverClasses.wrapper)}, .${String(popoverClasses.target)} {\n width: inherit;\n }\n`;\n\nexport const StyledLabel = styled.label``;\n\nexport const LeftHelper = styled.div``;\n"],"names":["mergedTextFieldConfig","mergeConfig","textFieldConfig","TextField","component","mergedPopoverConfig","popoverConfig","Popover","_exp","StyledPopover","styled","name","class","propsAsIs","_exp2","StyledInput","base","StyledLabel","LeftHelper"],"mappings":";;;;;;AAQA,IAAMA,qBAAqB,gBAAGC,WAAW,CAACC,eAAe,CAAC,CAAA;AAC1D,IAAMC,SAAS,gBAAGC,SAAS,CAACJ,qBAAqB,CAAC,CAAA;AAElD,IAAMK,mBAAmB,gBAAGJ,WAAW,CAACK,aAAa,CAAC,CAAA;AACtD,IAAMC,OAAO,gBAAGH,SAAS,CAACC,mBAAmB,CAAC,CAAA;AAAC,IAAAG,IAAA,GAX7BA,SAW6BA,IAAAA,GAAA;AAAA,EAAA,OAEXD,OAAO,CAAA;AAAA,CAAA,CAAA;AAApC,IAAME,aAAa,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAAW,EAAA;;AAE9C;AAAA,IAAAC,KAAA,GAfkBA,SAelBA,KAAAA,GAAA;AAAA,EAAA,OACkCX,SAAS,CAAA;AAAA,CAAA,CAAA;AAApC,IAAMY,WAAW,gBAAGL,MAAM,CAAAI,KAAA,EAAA,CAAA,CAAA;AAAAH,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAyEhC,EAAA;AAEM,IAAMG,IAAI,GAMhB,UAAA;AAEM,IAAMC,WAAW,gBAAGP,MAAM,CAAA,OAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,QAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAQ,EAAA;AAElC,IAAMK,UAAU,gBAAGR,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAM;;;;"}
1
+ {"version":3,"file":"SingleDate.styles.js","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { css } from '@linaria/core';\n\nimport { component, mergeConfig } from '../../../engines';\nimport { textFieldConfig, textFieldTokens } from '../../TextField';\nimport { classes, tokens } from '../DatePicker.tokens';\nimport { popoverClasses, popoverConfig } from '../../Popover';\n\nconst mergedTextFieldConfig = mergeConfig(textFieldConfig);\nconst TextField = component(mergedTextFieldConfig);\n\nconst mergedPopoverConfig = mergeConfig(popoverConfig);\nconst Popover = component(mergedPopoverConfig);\n\nexport const StyledPopover = styled(Popover)``;\n\n// NOTE: переопределение токенов TextField\nexport const StyledInput = styled(TextField)`\n width: 100%;\n\n ${textFieldTokens.color}: var(${tokens.textFieldColor});\n ${textFieldTokens.placeholderColor}: var(${tokens.textFieldPlaceholderColor});\n ${textFieldTokens.placeholderColorFocus}: var(${tokens.textFieldPlaceholderColorFocus});\n ${textFieldTokens.caretColor}: var(${tokens.textFieldCaretColor});\n ${textFieldTokens.focusColor}: var(${tokens.textFieldFocusColor});\n\n ${textFieldTokens.backgroundColor}: var(${tokens.textFieldBackgroundColor});\n ${textFieldTokens.backgroundColorHover}: var(${tokens.textFieldBackgroundColorHover});\n ${textFieldTokens.backgroundColorFocus}: var(${tokens.textFieldBackgroundColorFocus});\n \n ${textFieldTokens.borderColor}: var(${tokens.borderColor});\n ${textFieldTokens.borderColorHover}: var(${tokens.borderColorHover});\n ${textFieldTokens.borderColorFocus}: var(${tokens.borderColorFocus});\n\n ${textFieldTokens.colorReadOnly}: var(${tokens.textFieldColorReadOnly});\n ${textFieldTokens.backgroundColorReadOnly}: var(${tokens.textFieldBackgroundColorReadOnly});\n ${textFieldTokens.borderColorReadOnly}: var(${tokens.textFieldBorderColorReadOnly});\n ${textFieldTokens.placeholderColorReadOnly}: var(${tokens.textFieldPlaceholderColorReadOnly});\n\n ${textFieldTokens.height}: var(${tokens.textFieldHeight});\n ${textFieldTokens.borderWidth}: var(${tokens.textFieldBorderWidth});\n ${textFieldTokens.borderRadius}: var(${tokens.textFieldBorderRadius});\n\n ${textFieldTokens.padding}: var(${tokens.textFieldPadding});\n ${textFieldTokens.labelInnerPadding}: var(${tokens.labelInnerPadding});\n ${textFieldTokens.contentLabelInnerPadding}: var(${tokens.contentLabelInnerPadding});\n ${textFieldTokens.labelInnerFontFamily}: var(${tokens.labelInnerFontFamily});\n ${textFieldTokens.labelInnerFontSize}: var(${tokens.labelInnerFontSize});\n ${textFieldTokens.labelInnerFontStyle}: var(${tokens.labelInnerFontStyle});\n ${textFieldTokens.labelInnerFontWeight}: var(${tokens.labelInnerFontWeight});\n ${textFieldTokens.labelInnerLetterSpacing}: var(${tokens.labelInnerLetterSpacing});\n ${textFieldTokens.labelInnerLineHeight}: var(${tokens.labelInnerLineHeight});\n\n ${textFieldTokens.leftContentMargin}: var(${tokens.textFieldLeftContentMargin});\n ${textFieldTokens.rightContentMargin}: var(${tokens.textFieldRightContentMargin});\n\n ${textFieldTokens.fontFamily}: var(${tokens.textFieldFontFamily});\n ${textFieldTokens.fontSize}: var(${tokens.textFieldFontSize});\n ${textFieldTokens.fontStyle}: var(${tokens.textFieldFontStyle});\n ${textFieldTokens.fontWeight}: var(${tokens.textFieldFontWeight});\n ${textFieldTokens.letterSpacing}: var(${tokens.textFieldLetterSpacing});\n ${textFieldTokens.lineHeight}: var(${tokens.textFieldLineHeight});\n\n ${textFieldTokens.disabledOpacity}: var(${tokens.disabledOpacity});\n \n ${textFieldTokens.textBeforeColor}: var(${tokens.textFieldTextBeforeColor});\n ${textFieldTokens.textAfterColor}: var(${tokens.textFieldTextAfterColor});\n ${textFieldTokens.textBeforeMargin}: var(${tokens.textFieldTextBeforeMargin});\n ${textFieldTokens.textAfterMargin}: var(${tokens.textFieldTextAfterMargin});\n ${textFieldTokens.contentSlotColor}: var(${tokens.textFieldContentSlotColor}, var(${tokens.textFieldColor}));\n\n &.${classes.datePickerError} {\n ${textFieldTokens.backgroundColor}: var(${tokens.textFieldBackgroundErrorColor});\n ${textFieldTokens.backgroundColorHover}: var(${tokens.textFieldBackgroundErrorColorHover});\n ${textFieldTokens.backgroundColorFocus}: var(${tokens.textFieldBackgroundErrorColorFocus});\n \n ${textFieldTokens.borderColor}: var(${tokens.textFieldBorderColorError});\n ${textFieldTokens.borderColorHover}: var(${tokens.textFieldBorderColorErrorHover});\n ${textFieldTokens.borderColorFocus}: var(${tokens.textFieldBorderColorErrorFocus});\n }\n\n &.${classes.datePickerSuccess} {\n ${textFieldTokens.backgroundColor}: var(${tokens.textFieldBackgroundSuccessColor});\n ${textFieldTokens.backgroundColorHover}: var(${tokens.textFieldBackgroundSuccessColorHover});\n ${textFieldTokens.backgroundColorFocus}: var(${tokens.textFieldBackgroundSuccessColorFocus});\n \n ${textFieldTokens.borderColor}: var(${tokens.textFieldBorderColorSuccess});\n ${textFieldTokens.borderColorHover}: var(${tokens.textFieldBorderColorSuccessHover});\n ${textFieldTokens.borderColorFocus}: var(${tokens.textFieldBorderColorSuccessFocus});\n }\n`;\n\nexport const base = css`\n display: inline-block;\n\n .${String(popoverClasses.wrapper)}, .${String(popoverClasses.target)} {\n width: inherit;\n }\n`;\n\nexport const StyledLabel = styled.label``;\n\nexport const LeftHelper = styled.div``;\n"],"names":["mergedTextFieldConfig","mergeConfig","textFieldConfig","TextField","component","mergedPopoverConfig","popoverConfig","Popover","_exp","StyledPopover","styled","name","class","propsAsIs","_exp2","StyledInput","base","StyledLabel","LeftHelper"],"mappings":";;;;;AAQA,IAAMA,qBAAqB,gBAAGC,WAAW,CAACC,eAAe,CAAC,CAAA;AAC1D,IAAMC,SAAS,gBAAGC,SAAS,CAACJ,qBAAqB,CAAC,CAAA;AAElD,IAAMK,mBAAmB,gBAAGJ,WAAW,CAACK,aAAa,CAAC,CAAA;AACtD,IAAMC,OAAO,gBAAGH,SAAS,CAACC,mBAAmB,CAAC,CAAA;AAAC,IAAAG,IAAA,GAX7BA,SAW6BA,IAAAA,GAAA;AAAA,EAAA,OAEXD,OAAO,CAAA;AAAA,CAAA,CAAA;AAApC,IAAME,aAAa,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAAW,EAAA;;AAE9C;AAAA,IAAAC,KAAA,GAfkBA,SAelBA,KAAAA,GAAA;AAAA,EAAA,OACkCX,SAAS,CAAA;AAAA,CAAA,CAAA;AAApC,IAAMY,WAAW,gBAAGL,MAAM,CAAAI,KAAA,EAAA,CAAA,CAAA;AAAAH,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAyEhC,EAAA;AAEM,IAAMG,IAAI,GAMhB,UAAA;AAEM,IAAMC,WAAW,gBAAGP,MAAM,CAAA,OAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,QAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAQ,EAAA;AAElC,IAAMK,UAAU,gBAAGR,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAM;;;;"}
@@ -1,25 +1,20 @@
1
1
  import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import React, { forwardRef, useMemo } from 'react';
3
3
  import { useFocusTrap, useForkRef, safeUseId } from '@salutejs/plasma-core';
4
- import '@linaria/core';
5
- import { component, mergeConfig } from '../../engines/common.js';
6
- import { usePopupContext } from '../Popup/PopupContext.js';
7
- import { cx } from '../../utils/index.js';
8
- import 'react-dom';
9
- import '@linaria/react';
10
4
  import { DEFAULT_Z_INDEX } from '../Popup/utils/index.js';
11
- import { Overlay } from '../Overlay/Overlay.js';
12
- import { panelConfig } from '../Panel/Panel.js';
13
- import 'focus-visible';
14
- import 'styled-components';
5
+ import { cx } from '../../utils/index.js';
15
6
  import { classes, tokens } from './Drawer.tokens.js';
16
7
  import { base } from './variations/_view/base.js';
17
8
  import { base as base$1 } from './variations/_size/base.js';
18
9
  import { base as base$2 } from './variations/_borderRadius/base.js';
19
10
  import { StyledPopup } from './Drawer.styles.js';
20
11
  import { getIdLastDrawer } from './DrawerContext.js';
12
+ import { usePopupContext } from '../Popup/PopupContext.js';
21
13
  import { useDrawer } from './hooks/useDrawer.js';
14
+ import { Overlay } from '../Overlay/Overlay.js';
15
+ import { component, mergeConfig } from '../../engines/common.js';
22
16
  import { getSizeValueFromProp } from '../../utils/getSizeValueFromProp.js';
17
+ import { panelConfig } from '../Panel/Panel.js';
23
18
 
24
19
  var _excluded = ["id", "zIndex", "popupInfo", "withBlur", "children", "view", "size", "width", "height", "isOpen", "opened", "initialFocusRef", "focusAfterRef", "className", "onClose", "onOverlayClick", "onEscKeyDown", "offset", "frame", "borderRadius", "placement", "closeOnEsc", "closeOnOverlayClick", "asModal"];
25
20