@salutejs/plasma-new-hope 0.174.0-canary.1497.11463811587.0 → 0.174.0-canary.1497.11480463527.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -1
- package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
- package/cjs/components/Attach/Attach.js +3 -4
- package/cjs/components/Attach/Attach.js.map +1 -1
- package/cjs/components/Attach/components/AttachButton/AttachButton.js +0 -1
- package/cjs/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
- package/cjs/components/Attach/ui/Button/Button.styles.js +0 -1
- package/cjs/components/Attach/ui/Button/Button.styles.js.map +1 -1
- package/cjs/components/Attach/ui/Cell/Cell.styles.js +0 -2
- package/cjs/components/Attach/ui/Cell/Cell.styles.js.map +1 -1
- package/cjs/components/Attach/ui/IconButton/IconButton.styles.js +0 -1
- package/cjs/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -1
- package/cjs/components/Attach/utils/getFileicon.js +3 -4
- package/cjs/components/Attach/utils/getFileicon.js.map +1 -1
- package/cjs/components/Attach/utils/index.js +0 -3
- package/cjs/components/Attach/utils/index.js.map +1 -1
- package/cjs/components/Autocomplete/Autocomplete.js +5 -6
- package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
- package/cjs/components/Autocomplete/Autocomplete.styles.js +2 -3
- package/cjs/components/Autocomplete/Autocomplete.styles.js.map +1 -1
- package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -2
- package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
- package/cjs/components/Avatar/Avatar.js +2 -3
- package/cjs/components/Avatar/Avatar.js.map +1 -1
- package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +2 -4
- package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
- package/cjs/components/Button/Button.styles.js +0 -3
- package/cjs/components/Button/Button.styles.js.map +1 -1
- package/cjs/components/Calendar/CalendarBase/CalendarBase.js +5 -5
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
- package/cjs/components/Calendar/hooks/useDays.js +2 -2
- package/cjs/components/Calendar/hooks/useKeyNavigation.js +1 -1
- package/cjs/components/Calendar/hooks/useMonths.js +2 -2
- package/cjs/components/Calendar/hooks/useQuarters.js +2 -2
- package/cjs/components/Calendar/hooks/useYears.js +2 -2
- package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +4 -4
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -6
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +0 -1
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -4
- package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -4
- package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -4
- package/cjs/components/Combobox/ComboboxNew/Combobox.js +11 -12
- package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -4
- package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js +0 -2
- package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js +1 -2
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +5 -6
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -3
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -2
- package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
- package/cjs/components/Combobox/ComboboxOld/Combobox.css +1 -1
- package/cjs/components/Combobox/ComboboxOld/Combobox.js +4 -11
- package/cjs/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
- package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js +0 -1
- package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
- package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js +0 -1
- package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +1 -2
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +1 -1
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +1 -11
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +1 -1
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +1 -11
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +1 -1
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +1 -11
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +1 -1
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +1 -11
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +0 -2
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +1 -2
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
- package/cjs/components/DatePicker/DatePickerBase.styles.js +1 -7
- package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
- package/cjs/components/DatePicker/RangeDate/RangeDate.js +1 -1
- package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +0 -1
- package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -2
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +2 -5
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
- package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +0 -1
- package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
- package/cjs/components/Drawer/Drawer.js +5 -10
- package/cjs/components/Drawer/Drawer.js.map +1 -1
- package/cjs/components/Drawer/Drawer.styles.js +0 -4
- package/cjs/components/Drawer/Drawer.styles.js.map +1 -1
- package/cjs/components/Drawer/hooks/useDrawer.js +0 -4
- package/cjs/components/Drawer/hooks/useDrawer.js.map +1 -1
- package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js +0 -7
- package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
- package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js +0 -7
- package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
- package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js +0 -3
- package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
- package/cjs/components/Dropdown/Dropdown.css +1 -1
- package/cjs/components/Dropdown/Dropdown.js +3 -9
- package/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/cjs/components/Dropdown/Dropdown.styles.js +1 -1
- package/cjs/components/Dropdown/{Dropdown.styles_18f0qpm.css → Dropdown.styles_1ix6io8.css} +1 -1
- package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -8
- package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +1 -1
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +2 -3
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -3
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -2
- package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +0 -1
- package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
- package/cjs/components/Editable/Editable.js +3 -4
- package/cjs/components/Editable/Editable.js.map +1 -1
- package/cjs/components/Editable/utils/clearSelection.js +0 -2
- package/cjs/components/Editable/utils/clearSelection.js.map +1 -1
- package/cjs/components/Editable/utils/selectText.js +0 -2
- package/cjs/components/Editable/utils/selectText.js.map +1 -1
- package/cjs/components/EmptyState/EmptyState.styles.js +1 -2
- package/cjs/components/EmptyState/EmptyState.styles.js.map +1 -1
- package/cjs/components/IconButton/IconButton.js +1 -1
- package/cjs/components/IconButton/IconButton.styles.js +0 -8
- package/cjs/components/IconButton/IconButton.styles.js.map +1 -1
- package/cjs/components/Modal/Modal.js +6 -8
- package/cjs/components/Modal/Modal.js.map +1 -1
- package/cjs/components/Modal/hooks/useModal.js +0 -4
- package/cjs/components/Modal/hooks/useModal.js.map +1 -1
- package/cjs/components/Notification/Notification.styles.js +2 -3
- package/cjs/components/Notification/Notification.styles.js.map +1 -1
- package/cjs/components/Notification/NotificationsPortal.js +3 -4
- package/cjs/components/Notification/NotificationsPortal.js.map +1 -1
- package/cjs/components/Pagination/Pagination.styles.js +1 -2
- package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -2
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
- package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js +1 -2
- package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
- package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -2
- package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
- package/cjs/components/Popover/Popover.js +1 -1
- package/cjs/components/Popup/Popup.js +2 -2
- package/cjs/components/Popup/PopupContext.js +1 -1
- package/cjs/components/Range/Range.styles.js +0 -1
- package/cjs/components/Range/Range.styles.js.map +1 -1
- package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +4 -5
- package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
- package/cjs/components/Select/Select.js +11 -12
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Select/Select.styles.js +2 -5
- package/cjs/components/Select/Select.styles.js.map +1 -1
- package/cjs/components/Select/hooks/usePathMaps.js +0 -2
- package/cjs/components/Select/hooks/usePathMaps.js.map +1 -1
- package/cjs/components/Select/ui/Inner/Inner.js +1 -2
- package/cjs/components/Select/ui/Inner/Inner.js.map +1 -1
- package/cjs/components/Select/ui/Inner/ui/Item/Item.js +4 -5
- package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
- package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +0 -1
- package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Button/Button.js +1 -1
- package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +1 -3
- package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -4
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +1 -2
- package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
- package/cjs/components/Select/utils/getButtonLabel.js +0 -2
- package/cjs/components/Select/utils/getButtonLabel.js.map +1 -1
- package/cjs/components/Sheet/Sheet.js +3 -3
- package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js +2 -4
- package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
- package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js +2 -4
- package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
- package/cjs/components/Slider/Slider.js +0 -8
- package/cjs/components/Slider/Slider.js.map +1 -1
- package/cjs/components/Slider/components/Double/Double.js +1 -2
- package/cjs/components/Slider/components/Double/Double.js.map +1 -1
- package/cjs/components/Slider/components/Double/Double.styles.js +0 -1
- package/cjs/components/Slider/components/Double/Double.styles.js.map +1 -1
- package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +0 -3
- package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
- package/cjs/components/Slider/components/Single/Single.js +1 -2
- package/cjs/components/Slider/components/Single/Single.js.map +1 -1
- package/cjs/components/Slider/components/SliderBase/SliderBase.js +1 -1
- package/cjs/components/Steps/Steps.js +1 -1
- package/cjs/components/Steps/ui/StepItem/StepItem.styles.js +0 -1
- package/cjs/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +2 -3
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -3
- package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
- package/cjs/components/TextArea/TextArea.js +2 -2
- package/cjs/components/TextArea/TextArea.styles.js +2 -3
- package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
- package/cjs/components/TextArea/ui/Hint/Hint.js +1 -2
- package/cjs/components/TextArea/ui/Hint/Hint.js.map +1 -1
- package/cjs/components/TextField/TextField.js +3 -3
- package/cjs/components/TextField/TextField.styles.js +1 -2
- package/cjs/components/TextField/TextField.styles.js.map +1 -1
- package/cjs/components/TextField/ui/Hint/Hint.js +1 -2
- package/cjs/components/TextField/ui/Hint/Hint.js.map +1 -1
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -2
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
- package/cjs/components/Toast/Toast.styles.js +1 -1
- package/cjs/components/Toast/ToastController.js +1 -1
- package/cjs/components/Toast/utils.js +1 -2
- package/cjs/components/Toast/utils.js.map +1 -1
- package/cjs/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
- package/cjs/components/Tooltip/Tooltip.js +2 -3
- package/cjs/components/Tooltip/Tooltip.js.map +1 -1
- package/cjs/engines/index.js +0 -2
- package/cjs/engines/index.js.map +1 -1
- package/cjs/hooks/useIsomorphicLayoutEffect.js +0 -1
- package/cjs/hooks/useIsomorphicLayoutEffect.js.map +1 -1
- package/cjs/index.css +1 -1
- package/cjs/index.js +48 -51
- package/cjs/index.js.map +1 -1
- package/cjs/utils/index.js +0 -5
- package/cjs/utils/index.js.map +1 -1
- package/emotion/cjs/components/Dropdown/Dropdown.tokens.js +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
- package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
- package/emotion/es/components/Dropdown/Dropdown.tokens.js +1 -1
- package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
- package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
- package/emotion/package.json +2 -1
- package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -1
- package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
- package/es/components/Attach/Attach.js +3 -4
- package/es/components/Attach/Attach.js.map +1 -1
- package/es/components/Attach/components/AttachButton/AttachButton.js +0 -1
- package/es/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
- package/es/components/Attach/ui/Button/Button.styles.js +0 -1
- package/es/components/Attach/ui/Button/Button.styles.js.map +1 -1
- package/es/components/Attach/ui/Cell/Cell.styles.js +0 -2
- package/es/components/Attach/ui/Cell/Cell.styles.js.map +1 -1
- package/es/components/Attach/ui/IconButton/IconButton.styles.js +0 -1
- package/es/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -1
- package/es/components/Attach/utils/getFileicon.js +3 -4
- package/es/components/Attach/utils/getFileicon.js.map +1 -1
- package/es/components/Attach/utils/index.js +0 -3
- package/es/components/Attach/utils/index.js.map +1 -1
- package/es/components/Autocomplete/Autocomplete.js +5 -6
- package/es/components/Autocomplete/Autocomplete.js.map +1 -1
- package/es/components/Autocomplete/Autocomplete.styles.js +2 -3
- package/es/components/Autocomplete/Autocomplete.styles.js.map +1 -1
- package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -2
- package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
- package/es/components/Avatar/Avatar.js +2 -3
- package/es/components/Avatar/Avatar.js.map +1 -1
- package/es/components/Breadcrumbs/Breadcrumbs.styles.js +2 -4
- package/es/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
- package/es/components/Button/Button.styles.js +0 -3
- package/es/components/Button/Button.styles.js.map +1 -1
- package/es/components/Calendar/CalendarBase/CalendarBase.js +5 -5
- package/es/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
- package/es/components/Calendar/hooks/useDays.js +2 -2
- package/es/components/Calendar/hooks/useKeyNavigation.js +1 -1
- package/es/components/Calendar/hooks/useMonths.js +2 -2
- package/es/components/Calendar/hooks/useQuarters.js +2 -2
- package/es/components/Calendar/hooks/useYears.js +2 -2
- package/es/components/Calendar/ui/CalendarDays/CalendarDays.js +4 -4
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -6
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +0 -1
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
- package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -4
- package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -4
- package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -4
- package/es/components/Combobox/ComboboxNew/Combobox.js +11 -12
- package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -4
- package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js +0 -2
- package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js +1 -2
- package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +5 -6
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -3
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -2
- package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
- package/es/components/Combobox/ComboboxOld/Combobox.css +1 -1
- package/es/components/Combobox/ComboboxOld/Combobox.js +4 -11
- package/es/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
- package/es/components/Combobox/ComboboxOld/Combobox.styles.js +0 -1
- package/es/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
- package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js +0 -1
- package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
- package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +1 -2
- package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
- package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +1 -1
- package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +1 -11
- package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
- package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +1 -1
- package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +1 -11
- package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
- package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +1 -1
- package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +1 -11
- package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
- package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +1 -1
- package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +1 -11
- package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
- package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +0 -2
- package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
- package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
- package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +1 -2
- package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
- package/es/components/DatePicker/DatePickerBase.styles.js +1 -7
- package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
- package/es/components/DatePicker/RangeDate/RangeDate.js +1 -1
- package/es/components/DatePicker/RangeDate/RangeDate.styles.js +0 -1
- package/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -2
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +2 -5
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
- package/es/components/DatePicker/SingleDate/SingleDate.styles.js +0 -1
- package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
- package/es/components/Drawer/Drawer.js +5 -10
- package/es/components/Drawer/Drawer.js.map +1 -1
- package/es/components/Drawer/Drawer.styles.js +0 -4
- package/es/components/Drawer/Drawer.styles.js.map +1 -1
- package/es/components/Drawer/hooks/useDrawer.js +0 -4
- package/es/components/Drawer/hooks/useDrawer.js.map +1 -1
- package/es/components/Drawer/ui/DrawerContent/DrawerContent.js +0 -7
- package/es/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
- package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js +0 -7
- package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
- package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js +0 -3
- package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
- package/es/components/Dropdown/Dropdown.css +1 -1
- package/es/components/Dropdown/Dropdown.js +3 -9
- package/es/components/Dropdown/Dropdown.js.map +1 -1
- package/es/components/Dropdown/Dropdown.styles.js +1 -1
- package/es/components/Dropdown/{Dropdown.styles_18f0qpm.css → Dropdown.styles_1ix6io8.css} +1 -1
- package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -8
- package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +1 -1
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +2 -3
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -3
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -2
- package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +0 -1
- package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
- package/es/components/Editable/Editable.js +3 -4
- package/es/components/Editable/Editable.js.map +1 -1
- package/es/components/Editable/utils/clearSelection.js +0 -2
- package/es/components/Editable/utils/clearSelection.js.map +1 -1
- package/es/components/Editable/utils/selectText.js +0 -2
- package/es/components/Editable/utils/selectText.js.map +1 -1
- package/es/components/EmptyState/EmptyState.styles.js +1 -2
- package/es/components/EmptyState/EmptyState.styles.js.map +1 -1
- package/es/components/IconButton/IconButton.js +1 -1
- package/es/components/IconButton/IconButton.styles.js +0 -8
- package/es/components/IconButton/IconButton.styles.js.map +1 -1
- package/es/components/Modal/Modal.js +6 -8
- package/es/components/Modal/Modal.js.map +1 -1
- package/es/components/Modal/hooks/useModal.js +0 -4
- package/es/components/Modal/hooks/useModal.js.map +1 -1
- package/es/components/Notification/Notification.styles.js +2 -3
- package/es/components/Notification/Notification.styles.js.map +1 -1
- package/es/components/Notification/NotificationsPortal.js +3 -4
- package/es/components/Notification/NotificationsPortal.js.map +1 -1
- package/es/components/Pagination/Pagination.styles.js +1 -2
- package/es/components/Pagination/Pagination.styles.js.map +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -2
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
- package/es/components/Panel/ui/PanelHeader/PanelHeader.js +1 -2
- package/es/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
- package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -2
- package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
- package/es/components/Popover/Popover.js +1 -1
- package/es/components/Popup/Popup.js +2 -2
- package/es/components/Popup/PopupContext.js +1 -1
- package/es/components/Range/Range.styles.js +0 -1
- package/es/components/Range/Range.styles.js.map +1 -1
- package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +4 -5
- package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
- package/es/components/Select/Select.js +11 -12
- package/es/components/Select/Select.js.map +1 -1
- package/es/components/Select/Select.styles.js +2 -5
- package/es/components/Select/Select.styles.js.map +1 -1
- package/es/components/Select/hooks/usePathMaps.js +0 -2
- package/es/components/Select/hooks/usePathMaps.js.map +1 -1
- package/es/components/Select/ui/Inner/Inner.js +1 -2
- package/es/components/Select/ui/Inner/Inner.js.map +1 -1
- package/es/components/Select/ui/Inner/ui/Item/Item.js +4 -5
- package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
- package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +0 -1
- package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Button/Button.js +1 -1
- package/es/components/Select/ui/Target/ui/Button/Button.styles.js +1 -3
- package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -4
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +1 -2
- package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
- package/es/components/Select/utils/getButtonLabel.js +0 -2
- package/es/components/Select/utils/getButtonLabel.js.map +1 -1
- package/es/components/Sheet/Sheet.js +3 -3
- package/es/components/Skeleton/LineSkeleton/LineSkeleton.js +2 -4
- package/es/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
- package/es/components/Skeleton/RectSkeleton/RectSkeleton.js +2 -4
- package/es/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
- package/es/components/Slider/Slider.js +0 -8
- package/es/components/Slider/Slider.js.map +1 -1
- package/es/components/Slider/components/Double/Double.js +1 -2
- package/es/components/Slider/components/Double/Double.js.map +1 -1
- package/es/components/Slider/components/Double/Double.styles.js +0 -1
- package/es/components/Slider/components/Double/Double.styles.js.map +1 -1
- package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +0 -3
- package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
- package/es/components/Slider/components/Single/Single.js +1 -2
- package/es/components/Slider/components/Single/Single.js.map +1 -1
- package/es/components/Slider/components/SliderBase/SliderBase.js +1 -1
- package/es/components/Steps/Steps.js +1 -1
- package/es/components/Steps/ui/StepItem/StepItem.styles.js +0 -1
- package/es/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +2 -3
- package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -3
- package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
- package/es/components/TextArea/TextArea.js +2 -2
- package/es/components/TextArea/TextArea.styles.js +2 -3
- package/es/components/TextArea/TextArea.styles.js.map +1 -1
- package/es/components/TextArea/ui/Hint/Hint.js +1 -2
- package/es/components/TextArea/ui/Hint/Hint.js.map +1 -1
- package/es/components/TextField/TextField.js +3 -3
- package/es/components/TextField/TextField.styles.js +1 -2
- package/es/components/TextField/TextField.styles.js.map +1 -1
- package/es/components/TextField/ui/Hint/Hint.js +1 -2
- package/es/components/TextField/ui/Hint/Hint.js.map +1 -1
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -2
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
- package/es/components/Toast/Toast.styles.js +1 -1
- package/es/components/Toast/ToastController.js +1 -1
- package/es/components/Toast/utils.js +1 -2
- package/es/components/Toast/utils.js.map +1 -1
- package/es/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
- package/es/components/Tooltip/Tooltip.js +2 -3
- package/es/components/Tooltip/Tooltip.js.map +1 -1
- package/es/engines/index.js +0 -2
- package/es/engines/index.js.map +1 -1
- package/es/hooks/useIsomorphicLayoutEffect.js +0 -1
- package/es/hooks/useIsomorphicLayoutEffect.js.map +1 -1
- package/es/index.css +1 -1
- package/es/index.js +21 -24
- package/es/index.js.map +1 -1
- package/es/utils/index.js +0 -3
- package/es/utils/index.js.map +1 -1
- package/package.json +5 -2
- package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +4 -4
- package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +4 -4
- package/styled-components/es/components/Dropdown/Dropdown.tokens.js +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +4 -4
- package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +4 -4
- package/styled-components/package.json +2 -1
package/cjs/index.js
CHANGED
@@ -2,6 +2,9 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
+
var index = require('./engines/index.js');
|
6
|
+
var index$1 = require('./utils/index.js');
|
7
|
+
var index$2 = require('./components/ButtonBase/index.js');
|
5
8
|
var applyBlur = require('./mixins/applyBlur.js');
|
6
9
|
var applyEllipsis = require('./mixins/applyEllipsis.js');
|
7
10
|
var applySpacing = require('./mixins/applySpacing.js');
|
@@ -14,7 +17,7 @@ var applyRoundness = require('./mixins/applyRoundness.js');
|
|
14
17
|
var applySkeletonGradient = require('./mixins/applySkeletonGradient.js');
|
15
18
|
var applyDisabled = require('./mixins/applyDisabled.js');
|
16
19
|
var applyHidden = require('./mixins/applyHidden.js');
|
17
|
-
var
|
20
|
+
var common = require('./engines/common.js');
|
18
21
|
var useUniqId = require('./hooks/useUniqId.js');
|
19
22
|
var useFocusTrap = require('./hooks/useFocusTrap.js');
|
20
23
|
var usePreviousValue = require('./hooks/usePreviousValue.js');
|
@@ -22,7 +25,16 @@ var useForceUpdate = require('./hooks/useForceUpdate.js');
|
|
22
25
|
var useDidMountEffect = require('./hooks/useDidMountEffect.js');
|
23
26
|
var useOutsideClick = require('./hooks/useOutsideClick.js');
|
24
27
|
var useIsomorphicLayoutEffect = require('./hooks/useIsomorphicLayoutEffect.js');
|
25
|
-
var
|
28
|
+
var canUseDOM = require('./utils/canUseDOM.js');
|
29
|
+
var extractTextFrom = require('./utils/extractTextFrom.js');
|
30
|
+
var getSizeValueFromProp = require('./utils/getSizeValueFromProp.js');
|
31
|
+
var react = require('./utils/react.js');
|
32
|
+
var isNumber = require('./utils/isNumber.js');
|
33
|
+
var setRefList = require('./utils/setRefList.js');
|
34
|
+
var isEmpty = require('./utils/isEmpty.js');
|
35
|
+
var noop = require('./utils/noop.js');
|
36
|
+
var getPopoverPlacement = require('./utils/getPopoverPlacement.js');
|
37
|
+
var constants = require('./utils/constants.js');
|
26
38
|
var Button = require('./components/Button/Button.js');
|
27
39
|
var Button_tokens = require('./components/Button/Button.tokens.js');
|
28
40
|
var IconButton = require('./components/IconButton/IconButton.js');
|
@@ -71,6 +83,7 @@ var withRange = require('./components/Calendar/hoc/withRange.js');
|
|
71
83
|
var CalendarBase = require('./components/Calendar/CalendarBase/CalendarBase.js');
|
72
84
|
var CalendarDouble = require('./components/Calendar/CalendarDouble/CalendarDouble.js');
|
73
85
|
var Calendar_tokens = require('./components/Calendar/Calendar.tokens.js');
|
86
|
+
var tokens$1 = require('./components/Typography/tokens.js');
|
74
87
|
var Body = require('./components/Typography/Body/Body.js');
|
75
88
|
var Dspl = require('./components/Typography/Dspl/Dspl.js');
|
76
89
|
var Heading = require('./components/Typography/Heading/Heading.js');
|
@@ -85,7 +98,6 @@ var Paragraph = require('./components/Typography/Old/Paragraph/Paragraph.js');
|
|
85
98
|
var ParagraphText = require('./components/Typography/Old/ParagraphText/ParagraphText.js');
|
86
99
|
var Underline = require('./components/Typography/Old/Underline/Underline.js');
|
87
100
|
var Subtitle = require('./components/Typography/Old/Subtitle/Subtitle.js');
|
88
|
-
var tokens$1 = require('./components/Typography/tokens.js');
|
89
101
|
var PopupContext = require('./components/Popup/PopupContext.js');
|
90
102
|
var Popup = require('./components/Popup/Popup.js');
|
91
103
|
var usePopup = require('./components/Popup/hooks/usePopup.js');
|
@@ -97,10 +109,10 @@ var Notification = require('./components/Notification/Notification.js');
|
|
97
109
|
var NotificationsStore = require('./components/Notification/NotificationsStore.js');
|
98
110
|
var Notification_tokens = require('./components/Notification/Notification.tokens.js');
|
99
111
|
var Drawer = require('./components/Drawer/Drawer.js');
|
112
|
+
var Drawer_tokens = require('./components/Drawer/Drawer.tokens.js');
|
100
113
|
var DrawerContent = require('./components/Drawer/ui/DrawerContent/DrawerContent.js');
|
101
114
|
var DrawerFooter = require('./components/Drawer/ui/DrawerFooter/DrawerFooter.js');
|
102
115
|
var DrawerHeader = require('./components/Drawer/ui/DrawerHeader/DrawerHeader.js');
|
103
|
-
var Drawer_tokens = require('./components/Drawer/Drawer.tokens.js');
|
104
116
|
var Dropdown = require('./components/Dropdown/Dropdown.js');
|
105
117
|
var Dropdown_tokens = require('./components/Dropdown/Dropdown.tokens.js');
|
106
118
|
var useKeyboardNavigation = require('./components/Dropdown/hooks/useKeyboardNavigation.js');
|
@@ -115,8 +127,8 @@ var DropdownOld = require('./components/Dropdown/ui/DropdownOld/DropdownOld.js')
|
|
115
127
|
var DropdownOld_tokens = require('./components/Dropdown/ui/DropdownOld/DropdownOld.tokens.js');
|
116
128
|
var Tooltip = require('./components/Tooltip/Tooltip.js');
|
117
129
|
var Tooltip_tokens = require('./components/Tooltip/Tooltip.tokens.js');
|
118
|
-
var SegmentGroup = require('./components/Segment/ui/SegmentGroup/SegmentGroup.js');
|
119
130
|
var SegmentItem = require('./components/Segment/ui/SegmentItem/SegmentItem.js');
|
131
|
+
var SegmentGroup = require('./components/Segment/ui/SegmentGroup/SegmentGroup.js');
|
120
132
|
var SegmentProvider = require('./components/Segment/SegmentProvider/SegmentProvider.js');
|
121
133
|
var tokens$2 = require('./components/Segment/tokens.js');
|
122
134
|
var LineSkeleton = require('./components/Skeleton/LineSkeleton/LineSkeleton.js');
|
@@ -141,23 +153,22 @@ var Toast_tokens = require('./components/Toast/Toast.tokens.js');
|
|
141
153
|
var Overlay = require('./components/Overlay/Overlay.js');
|
142
154
|
var SSRProvider = require('./components/SSRProvider/SSRProvider.js');
|
143
155
|
var Combobox = require('./components/Combobox/ComboboxOld/Combobox.js');
|
144
|
-
var Combobox_tokens = require('./components/Combobox/ComboboxOld/Combobox.tokens.js');
|
145
156
|
var ComboboxDivider = require('./components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js');
|
146
157
|
var ComboboxFooter = require('./components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js');
|
147
158
|
var ComboboxGroup = require('./components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js');
|
148
159
|
var ComboboxHeader = require('./components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js');
|
149
160
|
var ComboboxItem = require('./components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.js');
|
150
161
|
var ComboboxTarget = require('./components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js');
|
151
|
-
var
|
162
|
+
var Combobox_tokens = require('./components/Combobox/ComboboxOld/Combobox.tokens.js');
|
152
163
|
var Combobox_tokens$1 = require('./components/Combobox/ComboboxNew/Combobox.tokens.js');
|
164
|
+
var Combobox$1 = require('./components/Combobox/ComboboxNew/Combobox.js');
|
153
165
|
var Indicator = require('./components/Indicator/Indicator.js');
|
154
166
|
var Indicator_tokens = require('./components/Indicator/Indicator.tokens.js');
|
155
|
-
var index$2 = require('./components/ButtonBase/index.js');
|
156
167
|
var Grid = require('./components/Grid/Grid.js');
|
157
168
|
var Grid_tokens = require('./components/Grid/Grid.tokens.js');
|
169
|
+
var index$3 = require('./components/Grid/utils/index.js');
|
158
170
|
var Row = require('./components/Grid/ui/Row/Row.js');
|
159
171
|
var Col = require('./components/Grid/ui/Col/Col.js');
|
160
|
-
var index$3 = require('./components/Grid/utils/index.js');
|
161
172
|
var Progress = require('./components/Progress/Progress.js');
|
162
173
|
var Progress_tokens = require('./components/Progress/Progress.tokens.js');
|
163
174
|
var Select = require('./components/Select/Select.js');
|
@@ -171,10 +182,7 @@ var Sheet = require('./components/Sheet/Sheet.js');
|
|
171
182
|
var Sheet_tokens = require('./components/Sheet/Sheet.tokens.js');
|
172
183
|
var Slider = require('./components/Slider/Slider.js');
|
173
184
|
var Slider_tokens = require('./components/Slider/Slider.tokens.js');
|
174
|
-
require('react');
|
175
|
-
require('react-draggable');
|
176
185
|
var Thumb_styles = require('./components/Slider/ui/Thumb/Thumb.styles.js');
|
177
|
-
require('@linaria/react');
|
178
186
|
var Steps = require('./components/Steps/Steps.js');
|
179
187
|
var Steps_tokens = require('./components/Steps/Steps.tokens.js');
|
180
188
|
var Range = require('./components/Range/Range.js');
|
@@ -197,20 +205,13 @@ var Editable_tokens = require('./components/Editable/Editable.tokens.js');
|
|
197
205
|
var Mask = require('./components/Mask/Mask.js');
|
198
206
|
var Attach = require('./components/Attach/Attach.js');
|
199
207
|
var Attach_tokens = require('./components/Attach/Attach.tokens.js');
|
200
|
-
var common = require('./engines/common.js');
|
201
|
-
var canUseDOM = require('./utils/canUseDOM.js');
|
202
|
-
var extractTextFrom = require('./utils/extractTextFrom.js');
|
203
|
-
var getSizeValueFromProp = require('./utils/getSizeValueFromProp.js');
|
204
|
-
var react = require('./utils/react.js');
|
205
|
-
var isNumber = require('./utils/isNumber.js');
|
206
|
-
var setRefList = require('./utils/setRefList.js');
|
207
|
-
var isEmpty = require('./utils/isEmpty.js');
|
208
|
-
var noop = require('./utils/noop.js');
|
209
|
-
var getPopoverPlacement = require('./utils/getPopoverPlacement.js');
|
210
|
-
var constants = require('./utils/constants.js');
|
211
208
|
|
212
209
|
|
213
210
|
|
211
|
+
exports.css = index.css;
|
212
|
+
exports.composableStyle = index$1.composableStyle;
|
213
|
+
exports.cx = index$1.cx;
|
214
|
+
exports.ButtonBase = index$2.ButtonBase;
|
214
215
|
exports.applyBlur = applyBlur.applyBlur;
|
215
216
|
exports.blurs = applyBlur.blurs;
|
216
217
|
exports.applyEllipsis = applyEllipsis.applyEllipsis;
|
@@ -286,7 +287,8 @@ exports.applySkeletonGradient = applySkeletonGradient.applySkeletonGradient;
|
|
286
287
|
exports.getSkeletonColor = applySkeletonGradient.getSkeletonColor;
|
287
288
|
exports.applyDisabled = applyDisabled.applyDisabled;
|
288
289
|
exports.applyHidden = applyHidden.applyHidden;
|
289
|
-
exports.
|
290
|
+
exports.component = common.component;
|
291
|
+
exports.mergeConfig = common.mergeConfig;
|
290
292
|
exports.useUniqId = useUniqId.useUniqId;
|
291
293
|
exports.useFocusTrap = useFocusTrap.useFocusTrap;
|
292
294
|
exports.usePreviousValue = usePreviousValue.usePreviousValue;
|
@@ -294,8 +296,19 @@ exports.useForceUpdate = useForceUpdate.useForceUpdate;
|
|
294
296
|
exports.useDidMountEffect = useDidMountEffect.useDidMountEffect;
|
295
297
|
exports.useOutsideClick = useOutsideClick.useOutsideClick;
|
296
298
|
exports.useIsomorphicLayoutEffect = useIsomorphicLayoutEffect.useIsomorphicLayoutEffect;
|
297
|
-
exports.
|
298
|
-
exports.
|
299
|
+
exports.canUseDOM = canUseDOM.canUseDOM;
|
300
|
+
exports.extractTextFrom = extractTextFrom.extractTextFrom;
|
301
|
+
exports.getSizeValueFromProp = getSizeValueFromProp.getSizeValueFromProp;
|
302
|
+
exports.IS_REACT_18 = react.IS_REACT_18;
|
303
|
+
exports.safeUseId = react.safeUseId;
|
304
|
+
exports.isNumber = isNumber.isNumber;
|
305
|
+
exports.mergeRefs = setRefList.mergeRefs;
|
306
|
+
exports.setRefList = setRefList.setRefList;
|
307
|
+
exports.isEmpty = isEmpty.isEmpty;
|
308
|
+
exports.noop = noop.noop;
|
309
|
+
exports.getPlacement = getPopoverPlacement.getPlacement;
|
310
|
+
exports.getPlacements = getPopoverPlacement.getPlacements;
|
311
|
+
exports.constants = constants;
|
299
312
|
exports.buttonConfig = Button.buttonConfig;
|
300
313
|
exports.buttonRoot = Button.buttonRoot;
|
301
314
|
exports.buttonClasses = Button_tokens.classes;
|
@@ -377,6 +390,7 @@ exports.calendarDoubleConfig = CalendarDouble.calendarDoubleConfig;
|
|
377
390
|
exports.calendarDoubleRoot = CalendarDouble.calendarDoubleRoot;
|
378
391
|
exports.calendarBaseTokens = Calendar_tokens.tokens;
|
379
392
|
exports.calendarDoubleTokens = Calendar_tokens.tokens;
|
393
|
+
exports.typographyTokens = tokens$1.tokens;
|
380
394
|
exports.bodyConfig = Body.bodyConfig;
|
381
395
|
exports.bodyRoot = Body.bodyRoot;
|
382
396
|
exports.dsplConfig = Dspl.dsplConfig;
|
@@ -405,7 +419,6 @@ exports.underlineConfig = Underline.underlineConfig;
|
|
405
419
|
exports.underlineRoot = Underline.underlineRoot;
|
406
420
|
exports.subtitleConfig = Subtitle.subtitleConfig;
|
407
421
|
exports.subtitleRoot = Subtitle.subtitleRoot;
|
408
|
-
exports.typographyTokens = tokens$1.tokens;
|
409
422
|
exports.PopupProvider = PopupContext.PopupProvider;
|
410
423
|
exports.usePopupContext = PopupContext.usePopupContext;
|
411
424
|
exports.popupConfig = Popup.popupConfig;
|
@@ -425,14 +438,14 @@ exports.notificationClasses = Notification_tokens.classes;
|
|
425
438
|
exports.notificationTokens = Notification_tokens.tokens;
|
426
439
|
exports.drawerConfig = Drawer.drawerConfig;
|
427
440
|
exports.drawerRoot = Drawer.drawerRoot;
|
441
|
+
exports.drawerClasses = Drawer_tokens.classes;
|
442
|
+
exports.drawerTokens = Drawer_tokens.tokens;
|
428
443
|
exports.drawerContentConfig = DrawerContent.drawerContentConfig;
|
429
444
|
exports.drawerContentRoot = DrawerContent.drawerContentRoot;
|
430
445
|
exports.drawerFooterConfig = DrawerFooter.drawerFooterConfig;
|
431
446
|
exports.drawerFooterRoot = DrawerFooter.drawerFooterRoot;
|
432
447
|
exports.drawerHeaderConfig = DrawerHeader.drawerHeaderConfig;
|
433
448
|
exports.drawerHeaderRoot = DrawerHeader.drawerHeaderRoot;
|
434
|
-
exports.drawerClasses = Drawer_tokens.classes;
|
435
|
-
exports.drawerTokens = Drawer_tokens.tokens;
|
436
449
|
exports.dropdownConfig = Dropdown.dropdownConfig;
|
437
450
|
exports.dropdownRoot = Dropdown.dropdownRoot;
|
438
451
|
exports.dropdownClasses = Dropdown_tokens.classes;
|
@@ -456,10 +469,10 @@ exports.dropdownOldTokens = DropdownOld_tokens.tokens;
|
|
456
469
|
exports.tooltipConfig = Tooltip.tooltipConfig;
|
457
470
|
exports.tooltipRoot = Tooltip.tooltipRoot;
|
458
471
|
exports.tooltipTokens = Tooltip_tokens.tokens;
|
459
|
-
exports.segmentGroupConfig = SegmentGroup.segmentGroupConfig;
|
460
|
-
exports.segmentGroupRoot = SegmentGroup.segmentGroupRoot;
|
461
472
|
exports.segmentItemConfig = SegmentItem.segmentItemConfig;
|
462
473
|
exports.segmentItemRoot = SegmentItem.segmentItemRoot;
|
474
|
+
exports.segmentGroupConfig = SegmentGroup.segmentGroupConfig;
|
475
|
+
exports.segmentGroupRoot = SegmentGroup.segmentGroupRoot;
|
463
476
|
exports.SegmentProvider = SegmentProvider.SegmentProvider;
|
464
477
|
exports.useSegment = SegmentProvider.useSegment;
|
465
478
|
exports.segmentClasses = tokens$2.classes;
|
@@ -501,8 +514,6 @@ exports.SSRContext = SSRProvider.SSRContext;
|
|
501
514
|
exports.SSRProvider = SSRProvider.SSRProvider;
|
502
515
|
exports.comboboxOldConfig = Combobox.comboboxConfig;
|
503
516
|
exports.comboboxOldRoot = Combobox.comboboxRoot;
|
504
|
-
exports.comboboxOldClasses = Combobox_tokens.classes;
|
505
|
-
exports.comboboxOldTokens = Combobox_tokens.tokens;
|
506
517
|
exports.comboboxDividerConfig = ComboboxDivider.comboboxDividerConfig;
|
507
518
|
exports.comboboxDividerRoot = ComboboxDivider.comboboxDividerRoot;
|
508
519
|
exports.comboboxFooterConfig = ComboboxFooter.comboboxFooterConfig;
|
@@ -514,19 +525,20 @@ exports.comboboxHeaderRoot = ComboboxHeader.comboboxHeaderRoot;
|
|
514
525
|
exports.comboboxItemConfig = ComboboxItem.comboboxItemConfig;
|
515
526
|
exports.comboboxItemRoot = ComboboxItem.comboboxItemRoot;
|
516
527
|
exports.ComboboxTarget = ComboboxTarget.ComboboxTarget;
|
528
|
+
exports.comboboxOldClasses = Combobox_tokens.classes;
|
529
|
+
exports.comboboxOldTokens = Combobox_tokens.tokens;
|
530
|
+
exports.comboboxNewTokens = Combobox_tokens$1.tokens;
|
517
531
|
exports.comboboxNewConfig = Combobox$1.comboboxConfig;
|
518
532
|
exports.comboboxNewRoot = Combobox$1.comboboxRoot;
|
519
|
-
exports.comboboxNewTokens = Combobox_tokens$1.tokens;
|
520
533
|
exports.indicatorConfig = Indicator.indicatorConfig;
|
521
534
|
exports.indicatorRoot = Indicator.indicatorRoot;
|
522
535
|
exports.indicatorTokens = Indicator_tokens.tokens;
|
523
|
-
exports.ButtonBase = index$2.ButtonBase;
|
524
536
|
exports.gridConfig = Grid.gridConfig;
|
525
537
|
exports.gridRoot = Grid.gridRoot;
|
526
538
|
exports.gridTokens = Grid_tokens.tokens;
|
539
|
+
exports.getBaseGridView = index$3.getBaseGridView;
|
527
540
|
exports.Row = Row.Row;
|
528
541
|
exports.Col = Col.Col;
|
529
|
-
exports.getBaseGridView = index$3.getBaseGridView;
|
530
542
|
exports.progressConfig = Progress.progressConfig;
|
531
543
|
exports.progressRoot = Progress.progressRoot;
|
532
544
|
exports.progressTokens = Progress_tokens.tokens;
|
@@ -584,19 +596,4 @@ exports.composeMask = Mask.composeMask;
|
|
584
596
|
exports.attachConfig = Attach.attachConfig;
|
585
597
|
exports.attachRoot = Attach.attachRoot;
|
586
598
|
exports.attachTokens = Attach_tokens.tokens;
|
587
|
-
exports.component = common.component;
|
588
|
-
exports.mergeConfig = common.mergeConfig;
|
589
|
-
exports.canUseDOM = canUseDOM.canUseDOM;
|
590
|
-
exports.extractTextFrom = extractTextFrom.extractTextFrom;
|
591
|
-
exports.getSizeValueFromProp = getSizeValueFromProp.getSizeValueFromProp;
|
592
|
-
exports.IS_REACT_18 = react.IS_REACT_18;
|
593
|
-
exports.safeUseId = react.safeUseId;
|
594
|
-
exports.isNumber = isNumber.isNumber;
|
595
|
-
exports.mergeRefs = setRefList.mergeRefs;
|
596
|
-
exports.setRefList = setRefList.setRefList;
|
597
|
-
exports.isEmpty = isEmpty.isEmpty;
|
598
|
-
exports.noop = noop.noop;
|
599
|
-
exports.getPlacement = getPopoverPlacement.getPlacement;
|
600
|
-
exports.getPlacements = getPopoverPlacement.getPlacements;
|
601
|
-
exports.constants = constants;
|
602
599
|
//# sourceMappingURL=index.js.map
|
package/cjs/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/cjs/utils/index.js
CHANGED
@@ -2,9 +2,6 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
require('react');
|
6
|
-
var react = require('./react.js');
|
7
|
-
|
8
5
|
var cx = function cx() {
|
9
6
|
for (var _len = arguments.length, classes = new Array(_len), _key = 0; _key < _len; _key++) {
|
10
7
|
classes[_key] = arguments[_key];
|
@@ -23,8 +20,6 @@ var composableStyle = function composableStyle(s) {
|
|
23
20
|
return res;
|
24
21
|
};
|
25
22
|
|
26
|
-
exports.IS_REACT_18 = react.IS_REACT_18;
|
27
|
-
exports.safeUseId = react.safeUseId;
|
28
23
|
exports.composableStyle = composableStyle;
|
29
24
|
exports.cx = cx;
|
30
25
|
//# sourceMappingURL=index.js.map
|
package/cjs/utils/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/utils/index.ts"],"sourcesContent":["import { CSSProperties } from '@linaria/core';\n\nexport { canUseDOM } from './canUseDOM';\nexport { extractTextFrom } from './extractTextFrom';\nexport { getSizeValueFromProp } from './getSizeValueFromProp';\nexport { IS_REACT_18, safeUseId } from './react';\nexport { isNumber } from './isNumber';\nexport { mergeRefs, setRefList } from './setRefList';\nexport { isEmpty } from './isEmpty';\nexport * as constants from './constants';\nexport * from './getPopoverPlacement';\nexport { noop } from './noop';\n\nexport const cx = (...classes: (string | undefined)[]) => classes.filter((classItem) => classItem).join(' ');\n\nexport const composableStyle = (s: TemplateStringsArray, ...expr: Array<string | number | CSSProperties>): string => {\n let res = '';\n for (let i = 0; i < Math.max(s.length, expr.length); ++i) {\n res += s[i] ?? '';\n res += expr[i] ?? '';\n }\n\n return res;\n};\n"],"names":["cx","_len","arguments","length","classes","Array","_key","filter","classItem","join","composableStyle","s","res","i","Math","max","_s$i","_ref","undefined"],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/utils/index.ts"],"sourcesContent":["import { CSSProperties } from '@linaria/core';\n\nexport { canUseDOM } from './canUseDOM';\nexport { extractTextFrom } from './extractTextFrom';\nexport { getSizeValueFromProp } from './getSizeValueFromProp';\nexport { IS_REACT_18, safeUseId } from './react';\nexport { isNumber } from './isNumber';\nexport { mergeRefs, setRefList } from './setRefList';\nexport { isEmpty } from './isEmpty';\nexport * as constants from './constants';\nexport * from './getPopoverPlacement';\nexport { noop } from './noop';\n\nexport const cx = (...classes: (string | undefined)[]) => classes.filter((classItem) => classItem).join(' ');\n\nexport const composableStyle = (s: TemplateStringsArray, ...expr: Array<string | number | CSSProperties>): string => {\n let res = '';\n for (let i = 0; i < Math.max(s.length, expr.length); ++i) {\n res += s[i] ?? '';\n res += expr[i] ?? '';\n }\n\n return res;\n};\n"],"names":["cx","_len","arguments","length","classes","Array","_key","filter","classItem","join","composableStyle","s","res","i","Math","max","_s$i","_ref","undefined"],"mappings":";;;;AAaaA,IAAAA,EAAE,GAAG,SAALA,EAAEA,GAAA;AAAA,EAAA,KAAA,IAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAAOC,OAAO,GAAAC,IAAAA,KAAA,CAAAJ,IAAA,GAAAK,IAAA,GAAA,CAAA,EAAAA,IAAA,GAAAL,IAAA,EAAAK,IAAA,EAAA,EAAA;AAAPF,IAAAA,OAAO,CAAAE,IAAA,CAAAJ,GAAAA,SAAA,CAAAI,IAAA,CAAA,CAAA;AAAA,GAAA;AAAA,EAAA,OAA6BF,OAAO,CAACG,MAAM,CAAC,UAACC,SAAS,EAAA;AAAA,IAAA,OAAKA,SAAS,CAAA;AAAA,GAAA,CAAC,CAACC,IAAI,CAAC,GAAG,CAAC,CAAA;AAAA,EAAA;IAE/FC,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,CAAuB,EAA8D;EACjH,IAAIC,GAAG,GAAG,EAAE,CAAA;EACZ,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGC,IAAI,CAACC,GAAG,CAACJ,CAAC,CAACR,MAAM,EAAAD,SAAA,CAAAC,MAAA,IAAA,CAAA,GAAA,CAAA,GAAAD,SAAA,CAAAC,MAAA,GAAA,CAAa,CAAC,EAAE,EAAEU,CAAC,EAAE;IAAA,IAAAG,IAAA,EAAAC,IAAA,CAAA;AACtDL,IAAAA,GAAG,IAAAI,CAAAA,IAAA,GAAIL,CAAC,CAACE,CAAC,CAAC,MAAA,IAAA,IAAAG,IAAA,KAAA,KAAA,CAAA,GAAAA,IAAA,GAAI,EAAE,CAAA;IACjBJ,GAAG,IAAA,CAAAK,IAAA,GAASJ,CAAC,YAAAX,SAAA,CAAAC,MAAA,IAADU,CAAC,OAAAK,SAAA,GAAAhB,SAAA,CAADW,CAAC,mBAAAI,IAAA,KAAA,KAAA,CAAA,GAAAA,IAAA,GAAK,EAAE,CAAA;AACxB,GAAA;AAEA,EAAA,OAAOL,GAAG,CAAA;AACd;;;;;"}
|
@@ -160,7 +160,7 @@ var tokens = exports.tokens = {
|
|
160
160
|
};
|
161
161
|
var constants = exports.constants = {
|
162
162
|
focusColor: '--surface-accent',
|
163
|
-
background: '--surface-solid-card',
|
163
|
+
background: '--surface-solid-card-brightness',
|
164
164
|
boxShadow: '0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04)',
|
165
165
|
disclosureIconColor: '--text-secondary',
|
166
166
|
itemBackground: '--plasma-colors-transparent',
|