@salutejs/plasma-new-hope 0.195.2-canary.1580.11946918297.0 → 0.196.0-canary.1552.11952949201.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +2 -0
- package/cjs/components/Combobox/ComboboxNew/Combobox.js +41 -8
- package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +2 -0
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +2 -0
- package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.css +1 -0
- package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +39 -0
- package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js.map +1 -0
- package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +15 -0
- package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js.map +1 -0
- package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles_18yw2bf.css +1 -0
- package/cjs/index.css +2 -0
- package/cjs/index.js +2 -0
- package/cjs/index.js.map +1 -1
- package/cjs/utils/createEvent.js +54 -0
- package/cjs/utils/createEvent.js.map +1 -0
- package/cjs/utils/index.js.map +1 -1
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +42 -9
- package/emotion/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +40 -0
- package/emotion/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +13 -0
- package/emotion/cjs/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Attach/Attach.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Avatar/Avatar.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Button/Button.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Cell/Cell.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Chip/Chip.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/ChipGroup /ChipGroup.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +2 -2
- package/emotion/cjs/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Counter/Counter.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Divider/Divider.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Editable/Editable.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/EmptyState/EmptyState.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Grid/Grid.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Image/Image.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Indicator/Indicator.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Link/Link.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Mask/Mask.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Modal/Modal.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Overlay/Overlay.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Popover/Popover.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Popup/Popup.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Price/Price.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Progress/Progress.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Range/Range.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Segment/Segment.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Skeleton/Skeleton.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Spinner/Spinner.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Toast/Toast.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Toolbar/Toolbar.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Accordion/Accordion.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Attach/Attach.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Avatar/Avatar.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Button/Button.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Cell/Cell.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Chip/Chip.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/ChipGroup /ChipGroup.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Counter/Counter.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Divider/Divider.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Editable/Editable.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/EmptyState/EmptyState.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Grid/Grid.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/IconButton/IconButton.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Image/Image.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Indicator/Indicator.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Link/Link.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Mask/Mask.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Modal/Modal.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Overlay/Overlay.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Pagination/Pagination.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Popover/Popover.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Popup/Popup.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Price/Price.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Progress/Progress.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Range/Range.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Segment/Segment.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Skeleton/Skeleton.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Spinner/Spinner.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Toast/Toast.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Toolbar/Toolbar.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx +1 -1
- package/emotion/cjs/examples/typograpy/components/Body/Body.stories.tsx +1 -1
- package/emotion/cjs/examples/typograpy/components/Dspl/Dspl.stories.tsx +1 -1
- package/emotion/cjs/examples/typograpy/components/Heading/Heading.stories.tsx +1 -1
- package/emotion/cjs/examples/typograpy/components/Old/Body/Body.stories.tsx +1 -1
- package/emotion/cjs/examples/typograpy/components/Old/Button/Button.stories.tsx +1 -1
- package/emotion/cjs/examples/typograpy/components/Old/Caption/Caption.stories.tsx +1 -1
- package/emotion/cjs/examples/typograpy/components/Old/Display/Display.stories.tsx +1 -1
- package/emotion/cjs/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +1 -1
- package/emotion/cjs/examples/typograpy/components/Old/Headline/Headline.stories.tsx +1 -1
- package/emotion/cjs/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +1 -1
- package/emotion/cjs/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +1 -1
- package/emotion/cjs/examples/typograpy/components/Old/Underline/Underline.stories.tsx +1 -1
- package/emotion/cjs/examples/typograpy/components/Text/Text.stories.tsx +1 -1
- package/emotion/cjs/utils/createEvent.js +53 -0
- package/emotion/cjs/utils/index.js +10 -1
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +43 -9
- package/emotion/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +31 -0
- package/emotion/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +6 -0
- package/emotion/es/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Attach/Attach.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Avatar/Avatar.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Button/Button.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Cell/Cell.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Chip/Chip.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/ChipGroup /ChipGroup.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +2 -2
- package/emotion/es/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Counter/Counter.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Divider/Divider.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Editable/Editable.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/EmptyState/EmptyState.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Grid/Grid.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Image/Image.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Indicator/Indicator.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Link/Link.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Mask/Mask.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Modal/Modal.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Overlay/Overlay.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Popover/Popover.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Popup/Popup.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Price/Price.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Progress/Progress.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Range/Range.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Segment/Segment.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Skeleton/Skeleton.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Spinner/Spinner.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Toast/Toast.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Toolbar/Toolbar.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Accordion/Accordion.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Attach/Attach.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Autocomplete/Autocomplete.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Avatar/Avatar.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Badge/Badge.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Button/Button.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Cell/Cell.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Chip/Chip.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/ChipGroup /ChipGroup.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Counter/Counter.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Divider/Divider.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Editable/Editable.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/EmptyState/EmptyState.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Grid/Grid.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/IconButton/IconButton.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Image/Image.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Indicator/Indicator.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Link/Link.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Mask/Mask.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Modal/Modal.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Notification/Notification.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Overlay/Overlay.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Pagination/Pagination.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Popover/Popover.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Popup/Popup.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Price/Price.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Progress/Progress.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Range/Range.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Segment/Segment.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Skeleton/Skeleton.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Slider/Slider.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Spinner/Spinner.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Toast/Toast.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Toolbar/Toolbar.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx +1 -1
- package/emotion/es/examples/typograpy/components/Body/Body.stories.tsx +1 -1
- package/emotion/es/examples/typograpy/components/Dspl/Dspl.stories.tsx +1 -1
- package/emotion/es/examples/typograpy/components/Heading/Heading.stories.tsx +1 -1
- package/emotion/es/examples/typograpy/components/Old/Body/Body.stories.tsx +1 -1
- package/emotion/es/examples/typograpy/components/Old/Button/Button.stories.tsx +1 -1
- package/emotion/es/examples/typograpy/components/Old/Caption/Caption.stories.tsx +1 -1
- package/emotion/es/examples/typograpy/components/Old/Display/Display.stories.tsx +1 -1
- package/emotion/es/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +1 -1
- package/emotion/es/examples/typograpy/components/Old/Headline/Headline.stories.tsx +1 -1
- package/emotion/es/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +1 -1
- package/emotion/es/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +1 -1
- package/emotion/es/examples/typograpy/components/Old/Underline/Underline.stories.tsx +1 -1
- package/emotion/es/examples/typograpy/components/Text/Text.stories.tsx +1 -1
- package/emotion/es/utils/createEvent.js +47 -0
- package/emotion/es/utils/index.js +1 -0
- package/es/components/Combobox/ComboboxNew/Combobox.css +2 -0
- package/es/components/Combobox/ComboboxNew/Combobox.js +43 -10
- package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +2 -0
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +2 -0
- package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.css +1 -0
- package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +35 -0
- package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js.map +1 -0
- package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +11 -0
- package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js.map +1 -0
- package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles_18yw2bf.css +1 -0
- package/es/index.css +2 -0
- package/es/index.js +1 -0
- package/es/index.js.map +1 -1
- package/es/utils/createEvent.js +50 -0
- package/es/utils/createEvent.js.map +1 -0
- package/es/utils/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +42 -9
- package/styled-components/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +40 -0
- package/styled-components/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +12 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Attach/Attach.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Avatar/Avatar.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Button/Button.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Chip/Chip.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/ChipGroup /ChipGroup.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +2 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Counter/Counter.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Divider/Divider.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Editable/Editable.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/EmptyState/EmptyState.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Grid/Grid.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Image/Image.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Indicator/Indicator.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Link/Link.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Mask/Mask.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Modal/Modal.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Overlay/Overlay.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Popover/Popover.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Popup/Popup.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Price/Price.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Progress/Progress.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Segment/Segment.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Skeleton/Skeleton.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Spinner/Spinner.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Toast/Toast.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Toolbar/Toolbar.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Attach/Attach.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Avatar/Avatar.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Button/Button.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Chip/Chip.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/ChipGroup /ChipGroup.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Counter/Counter.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Divider/Divider.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Editable/Editable.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/EmptyState/EmptyState.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Grid/Grid.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/IconButton/IconButton.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Image/Image.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Indicator/Indicator.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Link/Link.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Mask/Mask.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Modal/Modal.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Overlay/Overlay.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Pagination/Pagination.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Popover/Popover.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Popup/Popup.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Price/Price.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Progress/Progress.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Range/Range.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Segment/Segment.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Skeleton/Skeleton.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Spinner/Spinner.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Toast/Toast.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Toolbar/Toolbar.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx +1 -1
- package/styled-components/cjs/examples/typograpy/components/Body/Body.stories.tsx +1 -1
- package/styled-components/cjs/examples/typograpy/components/Dspl/Dspl.stories.tsx +1 -1
- package/styled-components/cjs/examples/typograpy/components/Heading/Heading.stories.tsx +1 -1
- package/styled-components/cjs/examples/typograpy/components/Old/Body/Body.stories.tsx +1 -1
- package/styled-components/cjs/examples/typograpy/components/Old/Button/Button.stories.tsx +1 -1
- package/styled-components/cjs/examples/typograpy/components/Old/Caption/Caption.stories.tsx +1 -1
- package/styled-components/cjs/examples/typograpy/components/Old/Display/Display.stories.tsx +1 -1
- package/styled-components/cjs/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +1 -1
- package/styled-components/cjs/examples/typograpy/components/Old/Headline/Headline.stories.tsx +1 -1
- package/styled-components/cjs/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +1 -1
- package/styled-components/cjs/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +1 -1
- package/styled-components/cjs/examples/typograpy/components/Old/Underline/Underline.stories.tsx +1 -1
- package/styled-components/cjs/examples/typograpy/components/Text/Text.stories.tsx +1 -1
- package/styled-components/cjs/utils/createEvent.js +53 -0
- package/styled-components/cjs/utils/index.js +10 -1
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +43 -9
- package/styled-components/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +31 -0
- package/styled-components/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +5 -0
- package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Attach/Attach.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Avatar/Avatar.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Button/Button.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Chip/Chip.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/ChipGroup /ChipGroup.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Counter/Counter.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Divider/Divider.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Editable/Editable.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/EmptyState/EmptyState.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Grid/Grid.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Image/Image.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Indicator/Indicator.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Link/Link.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Mask/Mask.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Modal/Modal.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Overlay/Overlay.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Popover/Popover.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Popup/Popup.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Price/Price.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Progress/Progress.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Range/Range.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Segment/Segment.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Skeleton/Skeleton.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Spinner/Spinner.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Toast/Toast.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Toolbar/Toolbar.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Attach/Attach.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Autocomplete/Autocomplete.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Avatar/Avatar.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Badge/Badge.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Button/Button.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Cell/Cell.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Chip/Chip.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/ChipGroup /ChipGroup.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Counter/Counter.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Divider/Divider.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Editable/Editable.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/EmptyState/EmptyState.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Grid/Grid.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/IconButton/IconButton.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Image/Image.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Indicator/Indicator.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Link/Link.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Mask/Mask.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Modal/Modal.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Notification/Notification.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Overlay/Overlay.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Pagination/Pagination.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Popover/Popover.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Popup/Popup.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Price/Price.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Progress/Progress.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Range/Range.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Segment/Segment.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Skeleton/Skeleton.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Slider/Slider.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Spinner/Spinner.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Toast/Toast.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Toolbar/Toolbar.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx +1 -1
- package/styled-components/es/examples/typograpy/components/Body/Body.stories.tsx +1 -1
- package/styled-components/es/examples/typograpy/components/Dspl/Dspl.stories.tsx +1 -1
- package/styled-components/es/examples/typograpy/components/Heading/Heading.stories.tsx +1 -1
- package/styled-components/es/examples/typograpy/components/Old/Body/Body.stories.tsx +1 -1
- package/styled-components/es/examples/typograpy/components/Old/Button/Button.stories.tsx +1 -1
- package/styled-components/es/examples/typograpy/components/Old/Caption/Caption.stories.tsx +1 -1
- package/styled-components/es/examples/typograpy/components/Old/Display/Display.stories.tsx +1 -1
- package/styled-components/es/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +1 -1
- package/styled-components/es/examples/typograpy/components/Old/Headline/Headline.stories.tsx +1 -1
- package/styled-components/es/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +1 -1
- package/styled-components/es/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +1 -1
- package/styled-components/es/examples/typograpy/components/Old/Underline/Underline.stories.tsx +1 -1
- package/styled-components/es/examples/typograpy/components/Text/Text.stories.tsx +1 -1
- package/styled-components/es/utils/createEvent.js +47 -0
- package/styled-components/es/utils/index.js +1 -0
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +28 -9
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.d.ts +6 -0
- package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.d.ts.map +1 -0
- package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.d.ts +3 -0
- package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +1174 -166
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +1174 -166
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
- package/types/utils/createEvent.d.ts +3 -0
- package/types/utils/createEvent.d.ts.map +1 -0
- package/types/utils/index.d.ts +1 -0
- package/types/utils/index.d.ts.map +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-new-hope",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.196.0-canary.1552.11952949201.0",
|
4
4
|
"description": "Salute Design System blueprint",
|
5
5
|
"main": "cjs/index.js",
|
6
6
|
"module": "es/index.js",
|
@@ -129,5 +129,5 @@
|
|
129
129
|
"sideEffects": [
|
130
130
|
"*.css"
|
131
131
|
],
|
132
|
-
"gitHead": "
|
132
|
+
"gitHead": "ccfb71eceec7dd2705c2d9bf3f9ca39604f9cbfe"
|
133
133
|
}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
5
4
|
value: true
|
6
5
|
});
|
@@ -20,7 +19,8 @@ var _getPathMaps = /*#__PURE__*/require("./hooks/getPathMaps");
|
|
20
19
|
var _Combobox2 = /*#__PURE__*/require("./Combobox.styles");
|
21
20
|
var _base = /*#__PURE__*/require("./variations/_view/base");
|
22
21
|
var _base2 = /*#__PURE__*/require("./variations/_size/base");
|
23
|
-
var
|
22
|
+
var _SelectNative = /*#__PURE__*/require("./ui/SelectNative/SelectNative");
|
23
|
+
var _excluded = ["name", "multiple", "value", "onChange", "defaultValue", "isTargetAmount", "targetAmount", "items", "placement", "label", "placeholder", "helperText", "contentLeft", "textBefore", "textAfter", "variant", "listOverflow", "listHeight", "listWidth", "portal", "renderItem", "view", "size", "labelPlacement", "readOnly", "disabled", "alwaysOpened", "filter", "closeAfterSelect", "renderValue"];
|
24
24
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
25
25
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
26
26
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
@@ -28,6 +28,7 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableTo
|
|
28
28
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
29
29
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
30
30
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
31
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
31
32
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
32
33
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
33
34
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
@@ -41,12 +42,15 @@ var Context = exports.Context = /*#__PURE__*/(0, _react.createContext)({});
|
|
41
42
|
/**
|
42
43
|
* Поле ввода с выпадающим списком и возможностью фильтрации и выбора элементов.
|
43
44
|
*/
|
45
|
+
|
44
46
|
var comboboxRoot = exports.comboboxRoot = function comboboxRoot(Root) {
|
45
47
|
return /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
46
48
|
var _valueToItemMap$get, _valueToItemMap$get2, _getItemByFocused;
|
47
|
-
var
|
49
|
+
var name = props.name,
|
50
|
+
multiple = props.multiple,
|
48
51
|
outerValue = props.value,
|
49
52
|
outerOnChange = props.onChange,
|
53
|
+
defaultValue = props.defaultValue,
|
50
54
|
isTargetAmount = props.isTargetAmount,
|
51
55
|
targetAmount = props.targetAmount,
|
52
56
|
items = props.items,
|
@@ -153,11 +157,27 @@ var comboboxRoot = exports.comboboxRoot = function comboboxRoot(Root) {
|
|
153
157
|
}
|
154
158
|
}
|
155
159
|
}, floatingPopoverRef);
|
160
|
+
|
161
|
+
// Эта функция срабатывает при изменении Combobox и
|
162
|
+
// при изменении нативного Select для формы (срабатывает только после изменения internalValue и рендера).
|
156
163
|
var onChange = function onChange(newValue) {
|
164
|
+
// Условие для отправки изменений наружу
|
157
165
|
if (outerOnChange) {
|
158
|
-
|
166
|
+
// Условие для отправки если комбобокс используется без формы.
|
167
|
+
if (!name && (typeof newValue === 'string' || Array.isArray(newValue))) {
|
168
|
+
outerOnChange(newValue);
|
169
|
+
}
|
170
|
+
|
171
|
+
// Условие для отправки если комбобокс используется с формой.
|
172
|
+
if (name && _typeof(newValue) === 'object' && !Array.isArray(newValue)) {
|
173
|
+
outerOnChange(newValue);
|
174
|
+
}
|
175
|
+
}
|
176
|
+
|
177
|
+
// Условие для изменения внутреннего значения (только если newValue строка или массив строк).
|
178
|
+
if (typeof newValue === 'string' || Array.isArray(newValue)) {
|
179
|
+
setInternalValue(newValue);
|
159
180
|
}
|
160
|
-
setInternalValue(newValue);
|
161
181
|
};
|
162
182
|
var handleClickArrow = function handleClickArrow() {
|
163
183
|
if (disabled || readOnly) {
|
@@ -360,13 +380,25 @@ var comboboxRoot = exports.comboboxRoot = function comboboxRoot(Root) {
|
|
360
380
|
// Т.к. вначале нужно отфильтровать и провалидировать outerValue и результат положить в переменную.
|
361
381
|
// А переменную, содержащую сложные типы данных, нельзя помещать в deps.
|
362
382
|
}, [outerValue, internalValue, items]);
|
383
|
+
(0, _react.useEffect)(function () {
|
384
|
+
if (defaultValue) {
|
385
|
+
setInternalValue(defaultValue);
|
386
|
+
}
|
387
|
+
}, [defaultValue]);
|
363
388
|
return /*#__PURE__*/_react["default"].createElement(Root, {
|
364
389
|
size: size,
|
365
390
|
view: view,
|
366
391
|
labelPlacement: labelPlacement,
|
367
392
|
disabled: disabled,
|
368
|
-
readOnly: readOnly
|
369
|
-
|
393
|
+
readOnly: readOnly,
|
394
|
+
name: name
|
395
|
+
}, name && /*#__PURE__*/_react["default"].createElement(_SelectNative.SelectNative, {
|
396
|
+
name: name,
|
397
|
+
value: internalValue,
|
398
|
+
multiple: multiple,
|
399
|
+
onChange: onChange,
|
400
|
+
ref: ref
|
401
|
+
}), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(Context.Provider, {
|
370
402
|
value: {
|
371
403
|
focusedPath: focusedPath,
|
372
404
|
checked: checked,
|
@@ -389,7 +421,7 @@ var comboboxRoot = exports.comboboxRoot = function comboboxRoot(Root) {
|
|
389
421
|
listWidth: listWidth,
|
390
422
|
target: function target(referenceRef) {
|
391
423
|
return /*#__PURE__*/_react["default"].createElement(_ui.StyledTextField, _extends({
|
392
|
-
ref: inputForkRef,
|
424
|
+
ref: name ? inputRef : inputForkRef,
|
393
425
|
inputWrapperRef: referenceRef,
|
394
426
|
value: textValue,
|
395
427
|
onChange: handleTextValueChange,
|
@@ -433,7 +465,8 @@ var comboboxRoot = exports.comboboxRoot = function comboboxRoot(Root) {
|
|
433
465
|
view: view,
|
434
466
|
labelPlacement: labelPlacement,
|
435
467
|
disabled: disabled,
|
436
|
-
readOnly: readOnly
|
468
|
+
readOnly: readOnly,
|
469
|
+
name: name
|
437
470
|
}, /*#__PURE__*/_react["default"].createElement(_Combobox2.Ul, {
|
438
471
|
role: "tree",
|
439
472
|
id: "".concat(treeId, "_tree_level_1"),
|
@@ -0,0 +1,40 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports.SelectNative = void 0;
|
8
|
+
var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
|
9
|
+
var _plasmaCore = /*#__PURE__*/require("@salutejs/plasma-core");
|
10
|
+
var _utils = /*#__PURE__*/require("../../../../../utils");
|
11
|
+
var _SelectNative = /*#__PURE__*/require("./SelectNative.styles");
|
12
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
13
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
14
|
+
var SelectNative = exports.SelectNative = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
15
|
+
var name = _ref.name,
|
16
|
+
multiple = _ref.multiple,
|
17
|
+
value = _ref.value,
|
18
|
+
onChange = _ref.onChange;
|
19
|
+
var values = multiple ? value : [value];
|
20
|
+
var selectRef = (0, _react.useRef)(null);
|
21
|
+
var forkRef = (0, _plasmaCore.useForkRef)(selectRef, ref);
|
22
|
+
(0, _react.useEffect)(function () {
|
23
|
+
var event = (0, _utils.createEvent)(selectRef);
|
24
|
+
if (onChange) {
|
25
|
+
onChange(event);
|
26
|
+
}
|
27
|
+
}, [values]);
|
28
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_SelectNative.SelectHidden, {
|
29
|
+
ref: forkRef,
|
30
|
+
multiple: multiple,
|
31
|
+
name: name,
|
32
|
+
hidden: true,
|
33
|
+
value: multiple ? values : values[0]
|
34
|
+
}, values.map(function (v) {
|
35
|
+
return /*#__PURE__*/_react["default"].createElement("option", {
|
36
|
+
key: v,
|
37
|
+
value: v
|
38
|
+
}, v);
|
39
|
+
})));
|
40
|
+
});
|
package/styled-components/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.SelectHidden = void 0;
|
7
|
+
var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
|
8
|
+
var _mixins = /*#__PURE__*/require("../../../../../mixins");
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
10
|
+
var SelectHidden = exports.SelectHidden = /*#__PURE__*/_styledComponents["default"].select.withConfig({
|
11
|
+
componentId: "plasma-new-hope__sc-w046ru-0"
|
12
|
+
})(["", ";"], /*#__PURE__*/(0, _mixins.applyHidden)());
|
package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx
CHANGED
@@ -24,7 +24,7 @@ type AccordionItemCustomProps = {
|
|
24
24
|
type AccordionProps = ComponentProps<typeof Accordion> & AccordionItemCustomProps;
|
25
25
|
|
26
26
|
const meta: Meta<AccordionProps> = {
|
27
|
-
title: '
|
27
|
+
title: 'plasma_b2c/Accordion',
|
28
28
|
decorators: [WithTheme],
|
29
29
|
component: Accordion,
|
30
30
|
args: {
|
@@ -7,7 +7,7 @@ import { argTypesFromConfig, WithTheme } from '../../../_helpers';
|
|
7
7
|
import { Avatar, mergedConfig } from './Avatar';
|
8
8
|
|
9
9
|
const meta: Meta<typeof Avatar> = {
|
10
|
-
title: '
|
10
|
+
title: 'plasma_b2c/Avatar',
|
11
11
|
decorators: [WithTheme],
|
12
12
|
component: Avatar,
|
13
13
|
argTypes: {
|
package/styled-components/cjs/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx
CHANGED
@@ -11,7 +11,7 @@ type Story = StoryObj<ComponentProps<typeof AvatarGroup>>;
|
|
11
11
|
type Avatar = ComponentProps<typeof Avatar>;
|
12
12
|
|
13
13
|
const meta: Meta<typeof AvatarGroup> = {
|
14
|
-
title: '
|
14
|
+
title: 'plasma_b2c/AvatarGroup',
|
15
15
|
decorators: [WithTheme],
|
16
16
|
component: AvatarGroup,
|
17
17
|
};
|
package/styled-components/cjs/examples/plasma_b2c/components/Breadcrumbs/Breadcrumbs.stories.tsx
CHANGED
@@ -13,7 +13,7 @@ import { Breadcrumbs } from './Breadcrumbs';
|
|
13
13
|
type BreadcrumbsProps = ComponentProps<typeof Breadcrumbs>;
|
14
14
|
|
15
15
|
const meta: Meta<BreadcrumbsProps> = {
|
16
|
-
title: '
|
16
|
+
title: 'plasma_b2c/Breadcrumbs',
|
17
17
|
decorators: [WithTheme],
|
18
18
|
component: Breadcrumbs,
|
19
19
|
args: {
|
package/styled-components/cjs/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx
CHANGED
@@ -19,7 +19,7 @@ const shapeValues = ['segmented', 'default'];
|
|
19
19
|
const stretchingValues = ['auto', 'filled'];
|
20
20
|
|
21
21
|
const meta: Meta<typeof ButtonGroup> = {
|
22
|
-
title: '
|
22
|
+
title: 'plasma_b2c/ButtonGroup',
|
23
23
|
decorators: [WithTheme],
|
24
24
|
argTypes: {
|
25
25
|
size: {
|
@@ -13,7 +13,7 @@ import { Calendar, CalendarBase, CalendarBaseRange, CalendarDouble, CalendarDoub
|
|
13
13
|
const onChangeValue = action('onChangeValue');
|
14
14
|
|
15
15
|
const meta: Meta<typeof CalendarBase> = {
|
16
|
-
title: '
|
16
|
+
title: 'plasma_b2c/Calendar',
|
17
17
|
decorators: [WithTheme],
|
18
18
|
argTypes: {
|
19
19
|
min: {
|
@@ -16,7 +16,7 @@ const onFocus = action('onFocus');
|
|
16
16
|
const onBlur = action('onBlur');
|
17
17
|
|
18
18
|
const meta: Meta<typeof Checkbox> = {
|
19
|
-
title: '
|
19
|
+
title: 'plasma_b2c/Checkbox',
|
20
20
|
decorators: [WithTheme],
|
21
21
|
component: Checkbox,
|
22
22
|
argTypes: argTypesFromConfig(mergeConfig(checkboxConfig, config)),
|
@@ -17,7 +17,7 @@ const labelPlacement = ['inner', 'outer'];
|
|
17
17
|
const variant = ['normal', 'tight'];
|
18
18
|
|
19
19
|
const meta: Meta<StorySelectProps> = {
|
20
|
-
title: '
|
20
|
+
title: 'plasma_b2c/Combobox',
|
21
21
|
decorators: [WithTheme],
|
22
22
|
component: Combobox,
|
23
23
|
argTypes: {
|
@@ -353,11 +353,11 @@ const items = [
|
|
353
353
|
|
354
354
|
const SingleStory = (args: StorySelectProps) => {
|
355
355
|
const [value, setValue] = useState('');
|
356
|
-
|
357
356
|
return (
|
358
357
|
<div style={{ width: '400px' }}>
|
359
358
|
<Combobox
|
360
359
|
{...args}
|
360
|
+
name="mau"
|
361
361
|
items={items}
|
362
362
|
value={value}
|
363
363
|
onChange={setValue}
|
package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx
CHANGED
@@ -25,7 +25,7 @@ type StorySelectPropsCustom = {
|
|
25
25
|
type StorySelectProps = ComponentProps<typeof Combobox> & StorySelectPropsCustom;
|
26
26
|
|
27
27
|
const meta: Meta<StorySelectProps> = {
|
28
|
-
title: '
|
28
|
+
title: 'plasma_b2c/Combobox',
|
29
29
|
decorators: [WithTheme],
|
30
30
|
component: Combobox,
|
31
31
|
argTypes: {
|
@@ -9,7 +9,7 @@ const sizes = ['l', 'm', 's', 'xs', 'xxs'];
|
|
9
9
|
const views = ['default', 'accent', 'positive', 'warning', 'negative', 'dark', 'light'];
|
10
10
|
|
11
11
|
const meta: Meta<typeof Counter> = {
|
12
|
-
title: '
|
12
|
+
title: 'plasma_b2c/Counter',
|
13
13
|
component: Counter,
|
14
14
|
decorators: [WithTheme],
|
15
15
|
argTypes: {
|
@@ -14,7 +14,7 @@ import type { ClosePlacementType } from '../../../../components/Drawer';
|
|
14
14
|
import { Drawer, DrawerContent, DrawerFooter, DrawerHeader } from './Drawer';
|
15
15
|
|
16
16
|
export default {
|
17
|
-
title: '
|
17
|
+
title: 'plasma_b2c/Drawer',
|
18
18
|
decorators: [WithTheme],
|
19
19
|
argTypes: {
|
20
20
|
placement: {
|
@@ -11,7 +11,7 @@ import { Editable, typographyVariants } from './Editable';
|
|
11
11
|
const iconSizes = ['s', 'xs'] as const;
|
12
12
|
|
13
13
|
const meta: Meta<typeof Editable> = {
|
14
|
-
title: '
|
14
|
+
title: 'plasma_b2c/Editable',
|
15
15
|
decorators: [WithTheme],
|
16
16
|
component: Editable,
|
17
17
|
argTypes: {
|
package/styled-components/cjs/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx
CHANGED
@@ -11,7 +11,7 @@ import { config } from './IconButton.config';
|
|
11
11
|
import { IconButton } from './IconButton';
|
12
12
|
|
13
13
|
const meta: Meta<typeof IconButton> = {
|
14
|
-
title: '
|
14
|
+
title: 'plasma_b2c/IconButton',
|
15
15
|
decorators: [WithTheme],
|
16
16
|
component: IconButton,
|
17
17
|
argTypes: {
|
@@ -10,7 +10,7 @@ const bases = ['div', 'img'];
|
|
10
10
|
const ratios = ['1/1', '3/4', '4/3', '9/16', '16/9', '1/2', '2/1'];
|
11
11
|
|
12
12
|
const meta: Meta<ImageProps> = {
|
13
|
-
title: '
|
13
|
+
title: 'plasma_b2c/Image',
|
14
14
|
component: Image,
|
15
15
|
decorators: [InSpacingDecorator],
|
16
16
|
argTypes: {
|
package/styled-components/cjs/examples/plasma_b2c/components/Indicator/Indicator.stories.tsx
CHANGED
@@ -6,7 +6,7 @@ import { argTypesFromConfig, WithTheme } from '../../../_helpers';
|
|
6
6
|
import { Indicator, mergedConfig } from './Indicator';
|
7
7
|
|
8
8
|
const meta: Meta<typeof Indicator> = {
|
9
|
-
title: '
|
9
|
+
title: 'plasma_b2c/Indicator',
|
10
10
|
decorators: [WithTheme],
|
11
11
|
component: Indicator,
|
12
12
|
argTypes: {
|
@@ -10,7 +10,7 @@ import { config } from './Link.config';
|
|
10
10
|
import { Link } from './Link';
|
11
11
|
|
12
12
|
const meta: Meta<typeof Link> = {
|
13
|
-
title: '
|
13
|
+
title: 'plasma_b2c/Link',
|
14
14
|
decorators: [WithTheme],
|
15
15
|
component: Link,
|
16
16
|
argTypes: argTypesFromConfig(mergeConfig(linkConfig, config)),
|
@@ -13,7 +13,7 @@ const sizes = ['l', 'm', 's', 'xs'];
|
|
13
13
|
const views = ['default', 'positive', 'warning', 'negative'];
|
14
14
|
|
15
15
|
const meta: Meta<typeof Mask> = {
|
16
|
-
title: '
|
16
|
+
title: 'plasma_b2c/Mask',
|
17
17
|
component: Mask,
|
18
18
|
decorators: [WithTheme],
|
19
19
|
argTypes: {
|
@@ -12,7 +12,7 @@ import { WithTheme } from '../../../_helpers';
|
|
12
12
|
import { Modal, modalClasses } from './Modal';
|
13
13
|
|
14
14
|
export default {
|
15
|
-
title: '
|
15
|
+
title: 'plasma_b2c/Modal',
|
16
16
|
decorators: [WithTheme],
|
17
17
|
parameters: {
|
18
18
|
docs: { story: { inline: false, iframeHeight: '30rem' } },
|
package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx
CHANGED
@@ -17,7 +17,7 @@ const inputBackgroundTypes = ['fill', 'clear'];
|
|
17
17
|
const segmentation = ['default', 'segmented', 'solid'];
|
18
18
|
|
19
19
|
const meta: Meta<typeof NumberInput> = {
|
20
|
-
title: '
|
20
|
+
title: 'plasma_b2c/NumberInput',
|
21
21
|
component: NumberInput,
|
22
22
|
decorators: [WithTheme],
|
23
23
|
argTypes: {
|
@@ -14,7 +14,7 @@ const onOverlayClick = action('onOverlayClick');
|
|
14
14
|
type StoryOverlayProps = ComponentProps<typeof Overlay>;
|
15
15
|
|
16
16
|
const meta: Meta<StoryOverlayProps> = {
|
17
|
-
title: '
|
17
|
+
title: 'plasma_b2c/Overlay',
|
18
18
|
decorators: [WithTheme],
|
19
19
|
argTypes: {
|
20
20
|
isClickable: {
|
package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx
CHANGED
@@ -8,7 +8,7 @@ import { Button } from '../Button/Button';
|
|
8
8
|
import { Pagination } from './Pagination';
|
9
9
|
|
10
10
|
const meta: Meta<typeof Pagination> = {
|
11
|
-
title: '
|
11
|
+
title: 'plasma_b2c/Pagination',
|
12
12
|
component: Pagination,
|
13
13
|
decorators: [WithTheme],
|
14
14
|
argTypes: {
|
@@ -13,7 +13,7 @@ import { SSRProvider } from '../../../../components/SSRProvider';
|
|
13
13
|
import { Panel, PanelContent, PanelFooter, PanelHeader } from './Panel';
|
14
14
|
|
15
15
|
export default {
|
16
|
-
title: '
|
16
|
+
title: 'plasma_b2c/Panel',
|
17
17
|
decorators: [WithTheme],
|
18
18
|
argTypes: {
|
19
19
|
borderRadius: {
|
@@ -10,7 +10,7 @@ import { WithTheme } from '../../../_helpers';
|
|
10
10
|
import { Popup, popupClasses, PopupProvider } from './Popup';
|
11
11
|
|
12
12
|
const meta: Meta<typeof Popup> = {
|
13
|
-
title: '
|
13
|
+
title: 'plasma_b2c/Popup',
|
14
14
|
decorators: [WithTheme],
|
15
15
|
parameters: {
|
16
16
|
docs: { story: { inline: false, iframeHeight: '30rem' } },
|
@@ -9,7 +9,7 @@ import { Body } from '../../../typograpy/components/Body/Body';
|
|
9
9
|
import { Portal } from '../../../../components/Portal';
|
10
10
|
|
11
11
|
const meta: Meta<typeof Portal> = {
|
12
|
-
title: '
|
12
|
+
title: 'plasma_b2c/Portal',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
args: {
|
15
15
|
disabled: false,
|
@@ -9,7 +9,7 @@ import { Progress } from './Progress';
|
|
9
9
|
const views = ['default', 'secondary', 'primary', 'accent', 'success', 'warning', 'error'];
|
10
10
|
|
11
11
|
const meta: Meta<typeof Progress> = {
|
12
|
-
title: '
|
12
|
+
title: 'plasma_b2c/Progress',
|
13
13
|
component: Progress,
|
14
14
|
decorators: [WithTheme],
|
15
15
|
argTypes: {
|
@@ -16,7 +16,7 @@ const onFocus = action('onFocus');
|
|
16
16
|
const onBlur = action('onBlur');
|
17
17
|
|
18
18
|
const meta: Meta<typeof Radiobox> = {
|
19
|
-
title: '
|
19
|
+
title: 'plasma_b2c/Radiobox',
|
20
20
|
decorators: [WithTheme],
|
21
21
|
component: Radiobox,
|
22
22
|
argTypes: argTypesFromConfig(mergeConfig(radioboxConfig, config)),
|