@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
@@ -18,7 +18,7 @@ type StoryRectSkeletonProps = ComponentProps<typeof RectSkeleton>;
|
|
18
18
|
type BasicButtonProps = ComponentProps<typeof BasicButton>;
|
19
19
|
|
20
20
|
const meta: Meta = {
|
21
|
-
title: '
|
21
|
+
title: 'plasma_web/Skeleton',
|
22
22
|
decorators: [WithTheme],
|
23
23
|
};
|
24
24
|
|
@@ -18,7 +18,7 @@ const scaleAligns = ['side', 'bottom'];
|
|
18
18
|
const orientations: Array<string> = ['vertical', 'horizontal'];
|
19
19
|
|
20
20
|
const meta: Meta<typeof Slider> = {
|
21
|
-
title: '
|
21
|
+
title: 'plasma_web/Slider',
|
22
22
|
component: Slider,
|
23
23
|
decorators: [WithTheme],
|
24
24
|
argTypes: {
|
@@ -10,7 +10,7 @@ import { StepItemProps } from '../../../../components/Steps/ui';
|
|
10
10
|
import { Steps, mergedConfig } from './Steps';
|
11
11
|
|
12
12
|
const meta: Meta<typeof Steps> = {
|
13
|
-
title: '
|
13
|
+
title: 'plasma_web/Steps',
|
14
14
|
decorators: [WithTheme],
|
15
15
|
component: Steps,
|
16
16
|
argTypes: {
|
@@ -14,7 +14,7 @@ import { Switch, SwitchOutline } from './Switch';
|
|
14
14
|
type SwitchProps = ComponentProps<typeof Switch>;
|
15
15
|
|
16
16
|
const meta: Meta<SwitchProps> = {
|
17
|
-
title: '
|
17
|
+
title: 'plasma_web/Switch',
|
18
18
|
decorators: [WithTheme],
|
19
19
|
component: Switch,
|
20
20
|
argTypes: {
|
@@ -56,7 +56,7 @@ type HorizontalStoryTabsProps = StoryTabsProps & { width: string };
|
|
56
56
|
type VerticalStoryTabsProps = StoryTabsProps & { height: string };
|
57
57
|
|
58
58
|
const meta: Meta<StoryTabsProps> = {
|
59
|
-
title: '
|
59
|
+
title: 'plasma_web/Tabs',
|
60
60
|
component: Tabs,
|
61
61
|
decorators: [WithTheme],
|
62
62
|
argTypes: {
|
@@ -44,7 +44,7 @@ type StoryTextAreaPropsCustom = {
|
|
44
44
|
type StoryTextAreaProps = ComponentProps<typeof TextArea> & StoryTextAreaPropsCustom;
|
45
45
|
|
46
46
|
const meta: Meta<StoryTextAreaProps> = {
|
47
|
-
title: '
|
47
|
+
title: 'plasma_web/TextArea',
|
48
48
|
decorators: [WithTheme],
|
49
49
|
component: TextArea,
|
50
50
|
argTypes: {
|
package/emotion/cjs/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.stories.tsx
CHANGED
@@ -23,7 +23,7 @@ const shapeValues = ['segmented', 'default'];
|
|
23
23
|
const stretchingValues = ['auto', 'filled'];
|
24
24
|
|
25
25
|
const meta: Meta<typeof TextFieldGroup> = {
|
26
|
-
title: '
|
26
|
+
title: 'plasma_web/TextFieldGroup',
|
27
27
|
decorators: [WithTheme],
|
28
28
|
argTypes: {
|
29
29
|
size: {
|
@@ -17,7 +17,7 @@ import { config } from './Toast.config';
|
|
17
17
|
import { Toast, ToastController, ToastProvider, useToast } from './Toast';
|
18
18
|
|
19
19
|
const meta: Meta<typeof ToastController> = {
|
20
|
-
title: '
|
20
|
+
title: 'plasma_web/Toast',
|
21
21
|
decorators: [WithTheme],
|
22
22
|
};
|
23
23
|
|
@@ -10,7 +10,7 @@ import { ViewContainer } from './ViewContainer';
|
|
10
10
|
type StoryViewProps = ComponentProps<typeof ViewContainer>;
|
11
11
|
|
12
12
|
const meta: Meta<StoryViewProps> = {
|
13
|
-
title: '
|
13
|
+
title: 'plasma_web/ViewContainer',
|
14
14
|
};
|
15
15
|
|
16
16
|
export default meta;
|
@@ -9,7 +9,7 @@ import { Body } from './Body';
|
|
9
9
|
import { config } from './Body.config';
|
10
10
|
|
11
11
|
const meta: Meta<typeof Body> = {
|
12
|
-
title: '
|
12
|
+
title: 'typography/Body',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Body,
|
15
15
|
argTypes: argTypesFromConfig(mergeConfig(bodyConfig, config)),
|
@@ -9,7 +9,7 @@ import { Dspl } from './Dspl';
|
|
9
9
|
import { config } from './Dspl.config';
|
10
10
|
|
11
11
|
const meta: Meta<typeof Dspl> = {
|
12
|
-
title: '
|
12
|
+
title: 'typography/Dspl',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Dspl,
|
15
15
|
argTypes: argTypesFromConfig(mergeConfig(dsplConfig, config)),
|
@@ -9,7 +9,7 @@ import { Heading } from './Heading';
|
|
9
9
|
import { config } from './Heading.config';
|
10
10
|
|
11
11
|
const meta: Meta<typeof Heading> = {
|
12
|
-
title: '
|
12
|
+
title: 'typography/Heading',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Heading,
|
15
15
|
argTypes: argTypesFromConfig(mergeConfig(dsplConfig, config)),
|
@@ -9,7 +9,7 @@ import { OldBody } from './Body';
|
|
9
9
|
import { config } from './Body.config';
|
10
10
|
|
11
11
|
const meta: Meta<typeof OldBody> = {
|
12
|
-
title: '
|
12
|
+
title: 'typography/Old/Body',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: OldBody,
|
15
15
|
argTypes: argTypesFromConfig(mergeConfig(oldBodyConfig, config)),
|
@@ -9,7 +9,7 @@ import { Button } from './Button';
|
|
9
9
|
import { config } from './Button.config';
|
10
10
|
|
11
11
|
const meta: Meta<typeof Button> = {
|
12
|
-
title: '
|
12
|
+
title: 'typography/Old/Button',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Button,
|
15
15
|
argTypes: argTypesFromConfig(mergeConfig(buttonTypographyConfig, config)),
|
@@ -9,7 +9,7 @@ import { Caption } from './Caption';
|
|
9
9
|
import { config } from './Caption.config';
|
10
10
|
|
11
11
|
const meta: Meta<typeof Caption> = {
|
12
|
-
title: '
|
12
|
+
title: 'typography/Old/Caption',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Caption,
|
15
15
|
argTypes: argTypesFromConfig(mergeConfig(captionConfig, config)),
|
@@ -9,7 +9,7 @@ import { Display } from './Display';
|
|
9
9
|
import { config } from './Display.config';
|
10
10
|
|
11
11
|
const meta: Meta<typeof Display> = {
|
12
|
-
title: '
|
12
|
+
title: 'typography/Old/Display',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Display,
|
15
15
|
argTypes: argTypesFromConfig(mergeConfig(displayConfig, config)),
|
@@ -9,7 +9,7 @@ import { Footnote } from './Footnote';
|
|
9
9
|
import { config } from './Footnote.config';
|
10
10
|
|
11
11
|
const meta: Meta<typeof Footnote> = {
|
12
|
-
title: '
|
12
|
+
title: 'typography/Old/Footnote',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Footnote,
|
15
15
|
argTypes: argTypesFromConfig(mergeConfig(footnoteConfig, config)),
|
@@ -9,7 +9,7 @@ import { Headline } from './Headline';
|
|
9
9
|
import { config } from './Headline.config';
|
10
10
|
|
11
11
|
const meta: Meta<typeof Headline> = {
|
12
|
-
title: '
|
12
|
+
title: 'typography/Old/Headline',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Headline,
|
15
15
|
argTypes: argTypesFromConfig(mergeConfig(headlineConfig, config)),
|
@@ -9,7 +9,7 @@ import { Paragraph } from './Paragraph';
|
|
9
9
|
import { config } from './Paragraph.config';
|
10
10
|
|
11
11
|
const meta: Meta<typeof Paragraph> = {
|
12
|
-
title: '
|
12
|
+
title: 'typography/Old/Paragraph',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Paragraph,
|
15
15
|
argTypes: argTypesFromConfig(mergeConfig(paragraphConfig, config)),
|
@@ -9,7 +9,7 @@ import { Subtitle } from './Subtitle';
|
|
9
9
|
import { config } from './Subtitle.config';
|
10
10
|
|
11
11
|
const meta: Meta<typeof Subtitle> = {
|
12
|
-
title: '
|
12
|
+
title: 'typography/Old/Subtitle',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Subtitle,
|
15
15
|
argTypes: argTypesFromConfig(mergeConfig(subtitleConfig, config)),
|
@@ -9,7 +9,7 @@ import { Underline } from './Underline';
|
|
9
9
|
import { config } from './Underline.config';
|
10
10
|
|
11
11
|
const meta: Meta<typeof Underline> = {
|
12
|
-
title: '
|
12
|
+
title: 'typography/Old/Underline',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Underline,
|
15
15
|
argTypes: argTypesFromConfig(mergeConfig(underlineConfig, config)),
|
@@ -9,7 +9,7 @@ import { Text } from './Text';
|
|
9
9
|
import { config } from './Text.config';
|
10
10
|
|
11
11
|
const meta: Meta<typeof Text> = {
|
12
|
-
title: '
|
12
|
+
title: 'typography/Text',
|
13
13
|
decorators: [WithTheme],
|
14
14
|
component: Text,
|
15
15
|
argTypes: argTypesFromConfig(mergeConfig(textConfig, config)),
|
@@ -0,0 +1,53 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.createEvent = void 0;
|
7
|
+
var createEvent = exports.createEvent = function createEvent(ref) {
|
8
|
+
if (ref.current) {
|
9
|
+
var event = new Event('change', {
|
10
|
+
bubbles: true
|
11
|
+
});
|
12
|
+
Object.defineProperty(event, 'target', {
|
13
|
+
writable: false,
|
14
|
+
value: ref.current
|
15
|
+
});
|
16
|
+
var syntheticEvent = createSyntheticEvent(event);
|
17
|
+
return syntheticEvent;
|
18
|
+
}
|
19
|
+
return null;
|
20
|
+
};
|
21
|
+
var createSyntheticEvent = function createSyntheticEvent(event) {
|
22
|
+
var _isDefaultPrevented = false;
|
23
|
+
var _isPropagationStopped = false;
|
24
|
+
var preventDefault = function preventDefault() {
|
25
|
+
_isDefaultPrevented = true;
|
26
|
+
event.preventDefault();
|
27
|
+
};
|
28
|
+
var stopPropagation = function stopPropagation() {
|
29
|
+
_isPropagationStopped = true;
|
30
|
+
event.stopPropagation();
|
31
|
+
};
|
32
|
+
return {
|
33
|
+
nativeEvent: event,
|
34
|
+
currentTarget: event.currentTarget,
|
35
|
+
target: event.target,
|
36
|
+
bubbles: event.bubbles,
|
37
|
+
cancelable: event.cancelable,
|
38
|
+
defaultPrevented: event.defaultPrevented,
|
39
|
+
eventPhase: event.eventPhase,
|
40
|
+
isTrusted: event.isTrusted,
|
41
|
+
preventDefault: preventDefault,
|
42
|
+
isDefaultPrevented: function isDefaultPrevented() {
|
43
|
+
return _isDefaultPrevented;
|
44
|
+
},
|
45
|
+
stopPropagation: stopPropagation,
|
46
|
+
isPropagationStopped: function isPropagationStopped() {
|
47
|
+
return _isPropagationStopped;
|
48
|
+
},
|
49
|
+
persist: function persist() {},
|
50
|
+
timeStamp: event.timeStamp,
|
51
|
+
type: event.type
|
52
|
+
};
|
53
|
+
};
|
@@ -16,6 +16,7 @@ var _exportNames = {
|
|
16
16
|
mergeRefs: true,
|
17
17
|
setRefList: true,
|
18
18
|
isEmpty: true,
|
19
|
+
createEvent: true,
|
19
20
|
constants: true,
|
20
21
|
noop: true,
|
21
22
|
fixedForwardRef: true
|
@@ -32,7 +33,14 @@ Object.defineProperty(exports, "canUseDOM", {
|
|
32
33
|
return _canUseDOM.canUseDOM;
|
33
34
|
}
|
34
35
|
});
|
35
|
-
exports.
|
36
|
+
exports.constants = exports.composableStyle = void 0;
|
37
|
+
Object.defineProperty(exports, "createEvent", {
|
38
|
+
enumerable: true,
|
39
|
+
get: function get() {
|
40
|
+
return _createEvent.createEvent;
|
41
|
+
}
|
42
|
+
});
|
43
|
+
exports.cx = void 0;
|
36
44
|
Object.defineProperty(exports, "extractTextFrom", {
|
37
45
|
enumerable: true,
|
38
46
|
get: function get() {
|
@@ -94,6 +102,7 @@ var _react = /*#__PURE__*/require("./react");
|
|
94
102
|
var _isNumber = /*#__PURE__*/require("./isNumber");
|
95
103
|
var _setRefList = /*#__PURE__*/require("./setRefList");
|
96
104
|
var _isEmpty = /*#__PURE__*/require("./isEmpty");
|
105
|
+
var _createEvent = /*#__PURE__*/require("./createEvent");
|
97
106
|
var _constants = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("./constants"));
|
98
107
|
exports.constants = _constants;
|
99
108
|
var _getPopoverPlacement = /*#__PURE__*/require("./getPopoverPlacement");
|
@@ -1,9 +1,10 @@
|
|
1
|
-
var _excluded = ["multiple", "value", "onChange", "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"];
|
1
|
+
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"];
|
2
2
|
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); }
|
3
3
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
4
4
|
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."); }
|
5
5
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
6
6
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
7
|
+
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); }
|
7
8
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
8
9
|
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."); }
|
9
10
|
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); }
|
@@ -12,7 +13,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
12
13
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
13
14
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
14
15
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
15
|
-
import React, { forwardRef, useState, useReducer, useMemo, createContext, useLayoutEffect, useRef } from 'react';
|
16
|
+
import React, { forwardRef, useState, useReducer, useMemo, createContext, useLayoutEffect, useRef, useEffect } from 'react';
|
16
17
|
import { safeUseId, useForkRef } from '@salutejs/plasma-core';
|
17
18
|
import { isEmpty } from '../../../utils';
|
18
19
|
import { useOutsideClick } from '../../../hooks';
|
@@ -27,17 +28,21 @@ import { getPathMap, getTreeMaps } from './hooks/getPathMaps';
|
|
27
28
|
import { Ul, base, StyledArrow, IconArrowWrapper, StyledEmptyState } from './Combobox.styles';
|
28
29
|
import { base as viewCSS } from './variations/_view/base';
|
29
30
|
import { base as sizeCSS } from './variations/_size/base';
|
31
|
+
import { SelectNative } from './ui/SelectNative/SelectNative';
|
30
32
|
export var Context = /*#__PURE__*/createContext({});
|
31
33
|
|
32
34
|
/**
|
33
35
|
* Поле ввода с выпадающим списком и возможностью фильтрации и выбора элементов.
|
34
36
|
*/
|
37
|
+
|
35
38
|
export var comboboxRoot = function comboboxRoot(Root) {
|
36
39
|
return /*#__PURE__*/forwardRef(function (props, ref) {
|
37
40
|
var _valueToItemMap$get, _valueToItemMap$get2, _getItemByFocused;
|
38
|
-
var
|
41
|
+
var name = props.name,
|
42
|
+
multiple = props.multiple,
|
39
43
|
outerValue = props.value,
|
40
44
|
outerOnChange = props.onChange,
|
45
|
+
defaultValue = props.defaultValue,
|
41
46
|
isTargetAmount = props.isTargetAmount,
|
42
47
|
targetAmount = props.targetAmount,
|
43
48
|
items = props.items,
|
@@ -144,11 +149,27 @@ export var comboboxRoot = function comboboxRoot(Root) {
|
|
144
149
|
}
|
145
150
|
}
|
146
151
|
}, floatingPopoverRef);
|
152
|
+
|
153
|
+
// Эта функция срабатывает при изменении Combobox и
|
154
|
+
// при изменении нативного Select для формы (срабатывает только после изменения internalValue и рендера).
|
147
155
|
var onChange = function onChange(newValue) {
|
156
|
+
// Условие для отправки изменений наружу
|
148
157
|
if (outerOnChange) {
|
149
|
-
|
158
|
+
// Условие для отправки если комбобокс используется без формы.
|
159
|
+
if (!name && (typeof newValue === 'string' || Array.isArray(newValue))) {
|
160
|
+
outerOnChange(newValue);
|
161
|
+
}
|
162
|
+
|
163
|
+
// Условие для отправки если комбобокс используется с формой.
|
164
|
+
if (name && _typeof(newValue) === 'object' && !Array.isArray(newValue)) {
|
165
|
+
outerOnChange(newValue);
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
// Условие для изменения внутреннего значения (только если newValue строка или массив строк).
|
170
|
+
if (typeof newValue === 'string' || Array.isArray(newValue)) {
|
171
|
+
setInternalValue(newValue);
|
150
172
|
}
|
151
|
-
setInternalValue(newValue);
|
152
173
|
};
|
153
174
|
var handleClickArrow = function handleClickArrow() {
|
154
175
|
if (disabled || readOnly) {
|
@@ -351,13 +372,25 @@ export var comboboxRoot = function comboboxRoot(Root) {
|
|
351
372
|
// Т.к. вначале нужно отфильтровать и провалидировать outerValue и результат положить в переменную.
|
352
373
|
// А переменную, содержащую сложные типы данных, нельзя помещать в deps.
|
353
374
|
}, [outerValue, internalValue, items]);
|
375
|
+
useEffect(function () {
|
376
|
+
if (defaultValue) {
|
377
|
+
setInternalValue(defaultValue);
|
378
|
+
}
|
379
|
+
}, [defaultValue]);
|
354
380
|
return /*#__PURE__*/React.createElement(Root, {
|
355
381
|
size: size,
|
356
382
|
view: view,
|
357
383
|
labelPlacement: labelPlacement,
|
358
384
|
disabled: disabled,
|
359
|
-
readOnly: readOnly
|
360
|
-
|
385
|
+
readOnly: readOnly,
|
386
|
+
name: name
|
387
|
+
}, name && /*#__PURE__*/React.createElement(SelectNative, {
|
388
|
+
name: name,
|
389
|
+
value: internalValue,
|
390
|
+
multiple: multiple,
|
391
|
+
onChange: onChange,
|
392
|
+
ref: ref
|
393
|
+
}), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Context.Provider, {
|
361
394
|
value: {
|
362
395
|
focusedPath: focusedPath,
|
363
396
|
checked: checked,
|
@@ -380,7 +413,7 @@ export var comboboxRoot = function comboboxRoot(Root) {
|
|
380
413
|
listWidth: listWidth,
|
381
414
|
target: function target(referenceRef) {
|
382
415
|
return /*#__PURE__*/React.createElement(StyledTextField, _extends({
|
383
|
-
ref: inputForkRef,
|
416
|
+
ref: name ? inputRef : inputForkRef,
|
384
417
|
inputWrapperRef: referenceRef,
|
385
418
|
value: textValue,
|
386
419
|
onChange: handleTextValueChange,
|
@@ -424,7 +457,8 @@ export var comboboxRoot = function comboboxRoot(Root) {
|
|
424
457
|
view: view,
|
425
458
|
labelPlacement: labelPlacement,
|
426
459
|
disabled: disabled,
|
427
|
-
readOnly: readOnly
|
460
|
+
readOnly: readOnly,
|
461
|
+
name: name
|
428
462
|
}, /*#__PURE__*/React.createElement(Ul, {
|
429
463
|
role: "tree",
|
430
464
|
id: "".concat(treeId, "_tree_level_1"),
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import React, { forwardRef, useEffect, useRef } from 'react';
|
2
|
+
import { useForkRef } from '@salutejs/plasma-core';
|
3
|
+
import { createEvent } from '../../../../../utils';
|
4
|
+
import { SelectHidden } from './SelectNative.styles';
|
5
|
+
export var SelectNative = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
6
|
+
var name = _ref.name,
|
7
|
+
multiple = _ref.multiple,
|
8
|
+
value = _ref.value,
|
9
|
+
onChange = _ref.onChange;
|
10
|
+
var values = multiple ? value : [value];
|
11
|
+
var selectRef = useRef(null);
|
12
|
+
var forkRef = useForkRef(selectRef, ref);
|
13
|
+
useEffect(function () {
|
14
|
+
var event = createEvent(selectRef);
|
15
|
+
if (onChange) {
|
16
|
+
onChange(event);
|
17
|
+
}
|
18
|
+
}, [values]);
|
19
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SelectHidden, {
|
20
|
+
ref: forkRef,
|
21
|
+
multiple: multiple,
|
22
|
+
name: name,
|
23
|
+
hidden: true,
|
24
|
+
value: multiple ? values : values[0]
|
25
|
+
}, values.map(function (v) {
|
26
|
+
return /*#__PURE__*/React.createElement("option", {
|
27
|
+
key: v,
|
28
|
+
value: v
|
29
|
+
}, v);
|
30
|
+
})));
|
31
|
+
});
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import _styled from "@emotion/styled/base";
|
2
|
+
import { applyHidden } from '../../../../../mixins';
|
3
|
+
export var SelectHidden = /*#__PURE__*/_styled("select", {
|
4
|
+
target: "eywcm6j0",
|
5
|
+
label: "plasma-new-hope__SelectHidden"
|
6
|
+
})( /*#__PURE__*/applyHidden(), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ29tYm9ib3gvQ29tYm9ib3hOZXcvdWkvU2VsZWN0TmF0aXZlL1NlbGVjdE5hdGl2ZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSXlDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ29tYm9ib3gvQ29tYm9ib3hOZXcvdWkvU2VsZWN0TmF0aXZlL1NlbGVjdE5hdGl2ZS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGFwcGx5SGlkZGVuIH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vbWl4aW5zJztcblxuZXhwb3J0IGNvbnN0IFNlbGVjdEhpZGRlbiA9IHN0eWxlZC5zZWxlY3RgXG4gICAgJHthcHBseUhpZGRlbigpfTtcbmA7XG4iXX0= */"));
|
@@ -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: {
|
@@ -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
|
};
|
@@ -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: {
|
@@ -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: {
|