@salutejs/plasma-new-hope 0.175.1-canary.1497.11552145733.0 → 0.175.1-canary.1506.11553215359.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Autocomplete/Autocomplete.css +1 -1
- package/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
- package/cjs/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
- package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
- package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
- package/cjs/components/Autocomplete/ui/TextField/{TextField.styles_1csckkd.css → TextField.styles_1ye9068.css} +1 -1
- package/cjs/components/Calendar/Calendar.tokens.js +3 -0
- package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
- package/cjs/components/Calendar/CalendarBase/CalendarBase.css +11 -10
- package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
- package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
- package/{es/components/Calendar/CalendarBase/CalendarBase.styles_1m6uih1.css → cjs/components/Calendar/CalendarBase/CalendarBase.styles_ni8729.css} +1 -1
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +11 -10
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -8
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -4
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -1
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
- package/{es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1jfelqf.css → cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1xijs8w.css} +1 -0
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +12 -12
- package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +10 -10
- package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
- package/{es/components/Combobox/ComboboxNew/Combobox.styles_1s09ifw.css → cjs/components/Combobox/ComboboxNew/Combobox.styles_1nqrvms.css} +1 -1
- package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
- package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +21 -7
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_y71664.css → Item.styles_1njzasn.css} +3 -3
- package/cjs/components/Combobox/ComboboxOld/Combobox.css +14 -28
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +18 -32
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +18 -32
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +18 -32
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +18 -32
- package/cjs/components/DatePicker/DatePicker.tokens.js +5 -0
- package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -1
- package/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
- package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
- package/cjs/components/DatePicker/DatePickerBase.styles_1x090si.css +2 -0
- package/cjs/components/DatePicker/RangeDate/RangeDate.css +15 -14
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +13 -12
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1i6gpss.css +2 -0
- package/cjs/components/DatePicker/SingleDate/SingleDate.css +15 -14
- package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
- package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
- package/{es/components/DatePicker/SingleDate/SingleDate.styles_1rrq00l.css → cjs/components/DatePicker/SingleDate/SingleDate.styles_e72b5o.css} +1 -1
- package/cjs/components/Dropdown/Dropdown.css +16 -30
- package/cjs/components/Dropdown/Dropdown.js +37 -60
- package/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/cjs/components/Dropdown/Dropdown.styles.js +26 -14
- package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
- package/cjs/components/Dropdown/Dropdown.styles_zvi9m3.css +3 -0
- package/cjs/components/Dropdown/Dropdown.tokens.js +3 -24
- package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +51 -17
- package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +6 -46
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +18 -29
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +31 -25
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles_blclup.css +6 -0
- package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +1 -1
- package/cjs/components/Dropdown/ui/DropdownItemOld/{DropdownItem.styles_1lyg81y.css → DropdownItem.styles_12e50g5.css} +1 -1
- package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.css +4 -4
- package/cjs/components/Dropdown/utils/index.js.map +1 -1
- package/cjs/components/Notification/Notification.css +11 -11
- package/cjs/components/Notification/Notification.styles.js +15 -15
- package/cjs/components/Notification/Notification.styles.js.map +1 -1
- package/cjs/components/Notification/{Notification.styles_7h8hp0.css → Notification.styles_1g34msm.css} +1 -1
- package/cjs/components/Notification/Notification.tokens.js +2 -0
- package/cjs/components/Notification/Notification.tokens.js.map +1 -1
- package/cjs/components/Notification/NotificationsProvider.css +11 -11
- package/cjs/components/Pagination/Pagination.css +10 -10
- package/cjs/components/Pagination/Pagination.js +5 -5
- package/cjs/components/Pagination/Pagination.js.map +1 -1
- package/cjs/components/Pagination/Pagination.styles.js +3 -3
- package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
- package/cjs/components/Pagination/{Pagination.styles_y6gcva.css → Pagination.styles_1w5oej6.css} +1 -1
- package/cjs/components/Pagination/Pagination.tokens.js +4 -1
- package/cjs/components/Pagination/Pagination.tokens.js.map +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_187mk6b.css → PaginationSelectPerPage.styles_1fesyfv.css} +1 -1
- package/cjs/components/Select/Select.js +1 -1
- package/cjs/components/Select/utils/getCorrectHeight.js.map +1 -1
- package/cjs/components/Tabs/tokens.js +7 -1
- package/cjs/components/Tabs/tokens.js.map +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -5
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
- package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/{HorizontalTabItem.styles_hfqv5b.css → HorizontalTabItem.styles_uaaqqg.css} +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -5
- package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabItem/{VerticalTabItem.styles_16d3lah.css → VerticalTabItem.styles_1g7zipg.css} +1 -1
- package/cjs/hooks/useOutsideClick.js +1 -1
- package/cjs/hooks/useOutsideClick.js.map +1 -1
- package/cjs/index.css +74 -71
- package/emotion/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
- package/emotion/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
- package/emotion/cjs/components/Calendar/Calendar.tokens.js +3 -0
- package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
- package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
- package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +22 -17
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
- package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
- package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +21 -15
- package/emotion/cjs/components/DatePicker/DatePicker.tokens.js +5 -0
- package/emotion/cjs/components/DatePicker/DatePickerBase.styles.js +3 -3
- package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
- package/emotion/cjs/components/Dropdown/Dropdown.js +37 -58
- package/emotion/cjs/components/Dropdown/Dropdown.styles.js +25 -9
- package/emotion/cjs/components/Dropdown/Dropdown.tokens.js +4 -36
- package/emotion/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +51 -17
- package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +18 -29
- package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +41 -21
- package/emotion/cjs/components/Dropdown/utils/index.js +1 -23
- package/emotion/cjs/components/Notification/Notification.styles.js +11 -11
- package/emotion/cjs/components/Notification/Notification.tokens.js +2 -0
- package/emotion/cjs/components/Pagination/Pagination.js +5 -5
- package/emotion/cjs/components/Pagination/Pagination.styles.js +8 -8
- package/emotion/cjs/components/Pagination/Pagination.tokens.js +4 -1
- package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
- package/emotion/cjs/components/Tabs/tokens.js +7 -1
- package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +5 -5
- package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
- package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
- package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
- package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +5 -6
- package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
- package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
- package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +5 -6
- package/emotion/cjs/hooks/useOutsideClick.js +1 -1
- package/emotion/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
- package/emotion/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
- package/emotion/es/components/Calendar/Calendar.tokens.js +3 -0
- package/emotion/es/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
- package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
- package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +21 -16
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
- package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
- package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +21 -15
- package/emotion/es/components/DatePicker/DatePicker.tokens.js +5 -0
- package/emotion/es/components/DatePicker/DatePickerBase.styles.js +3 -3
- package/emotion/es/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
- package/emotion/es/components/Dropdown/Dropdown.js +40 -60
- package/emotion/es/components/Dropdown/Dropdown.styles.js +25 -9
- package/emotion/es/components/Dropdown/Dropdown.tokens.js +3 -35
- package/emotion/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +52 -18
- package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +20 -31
- package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +42 -22
- package/emotion/es/components/Dropdown/utils/index.js +1 -4
- package/emotion/es/components/Notification/Notification.styles.js +11 -11
- package/emotion/es/components/Notification/Notification.tokens.js +2 -0
- package/emotion/es/components/Pagination/Pagination.js +5 -5
- package/emotion/es/components/Pagination/Pagination.styles.js +8 -8
- package/emotion/es/components/Pagination/Pagination.tokens.js +4 -1
- package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
- package/emotion/es/components/Tabs/tokens.js +7 -1
- package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +5 -5
- package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
- package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
- package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +6 -6
- package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +5 -6
- package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
- package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +6 -6
- package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +5 -6
- package/emotion/es/hooks/useOutsideClick.js +1 -1
- package/es/components/Autocomplete/Autocomplete.css +1 -1
- package/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
- package/es/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
- package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
- package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
- package/es/components/Autocomplete/ui/TextField/{TextField.styles_1csckkd.css → TextField.styles_1ye9068.css} +1 -1
- package/es/components/Calendar/Calendar.tokens.js +3 -0
- package/es/components/Calendar/Calendar.tokens.js.map +1 -1
- package/es/components/Calendar/CalendarBase/CalendarBase.css +11 -10
- package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
- package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
- package/{cjs/components/Calendar/CalendarBase/CalendarBase.styles_1m6uih1.css → es/components/Calendar/CalendarBase/CalendarBase.styles_ni8729.css} +1 -1
- package/es/components/Calendar/CalendarDouble/CalendarDouble.css +11 -10
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -8
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +4 -5
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -2
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
- package/{cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1jfelqf.css → es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1xijs8w.css} +1 -0
- package/es/components/Combobox/ComboboxNew/Combobox.css +12 -12
- package/es/components/Combobox/ComboboxNew/Combobox.styles.js +10 -10
- package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
- package/{cjs/components/Combobox/ComboboxNew/Combobox.styles_1s09ifw.css → es/components/Combobox/ComboboxNew/Combobox.styles_1nqrvms.css} +1 -1
- package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
- package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +21 -7
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_y71664.css → Item.styles_1njzasn.css} +3 -3
- package/es/components/Combobox/ComboboxOld/Combobox.css +14 -28
- package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +18 -32
- package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +18 -32
- package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +18 -32
- package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +18 -32
- package/es/components/DatePicker/DatePicker.tokens.js +5 -0
- package/es/components/DatePicker/DatePicker.tokens.js.map +1 -1
- package/es/components/DatePicker/DatePickerBase.styles.js +1 -1
- package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
- package/es/components/DatePicker/DatePickerBase.styles_1x090si.css +2 -0
- package/es/components/DatePicker/RangeDate/RangeDate.css +15 -14
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +13 -12
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1i6gpss.css +2 -0
- package/es/components/DatePicker/SingleDate/SingleDate.css +15 -14
- package/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
- package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
- package/{cjs/components/DatePicker/SingleDate/SingleDate.styles_1rrq00l.css → es/components/DatePicker/SingleDate/SingleDate.styles_e72b5o.css} +1 -1
- package/es/components/Dropdown/Dropdown.css +16 -30
- package/es/components/Dropdown/Dropdown.js +40 -62
- package/es/components/Dropdown/Dropdown.js.map +1 -1
- package/es/components/Dropdown/Dropdown.styles.js +26 -15
- package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
- package/es/components/Dropdown/Dropdown.styles_zvi9m3.css +3 -0
- package/es/components/Dropdown/Dropdown.tokens.js +3 -24
- package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +52 -18
- package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +6 -46
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +20 -31
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +29 -24
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles_blclup.css +6 -0
- package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +1 -1
- package/es/components/Dropdown/ui/DropdownItemOld/{DropdownItem.styles_1lyg81y.css → DropdownItem.styles_12e50g5.css} +1 -1
- package/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.css +4 -4
- package/es/components/Dropdown/utils/index.js.map +1 -1
- package/es/components/Notification/Notification.css +11 -11
- package/es/components/Notification/Notification.styles.js +15 -15
- package/es/components/Notification/Notification.styles.js.map +1 -1
- package/es/components/Notification/{Notification.styles_7h8hp0.css → Notification.styles_1g34msm.css} +1 -1
- package/es/components/Notification/Notification.tokens.js +2 -0
- package/es/components/Notification/Notification.tokens.js.map +1 -1
- package/es/components/Notification/NotificationsProvider.css +11 -11
- package/es/components/Pagination/Pagination.css +10 -10
- package/es/components/Pagination/Pagination.js +5 -5
- package/es/components/Pagination/Pagination.js.map +1 -1
- package/es/components/Pagination/Pagination.styles.js +3 -3
- package/es/components/Pagination/Pagination.styles.js.map +1 -1
- package/es/components/Pagination/{Pagination.styles_y6gcva.css → Pagination.styles_1w5oej6.css} +1 -1
- package/es/components/Pagination/Pagination.tokens.js +4 -1
- package/es/components/Pagination/Pagination.tokens.js.map +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_187mk6b.css → PaginationSelectPerPage.styles_1fesyfv.css} +1 -1
- package/es/components/Select/Select.js +1 -1
- package/es/components/Select/utils/getCorrectHeight.js.map +1 -1
- package/es/components/Tabs/tokens.js +7 -1
- package/es/components/Tabs/tokens.js.map +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -5
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
- package/es/components/Tabs/ui/horizontal/HorizontalTabItem/{HorizontalTabItem.styles_hfqv5b.css → HorizontalTabItem.styles_uaaqqg.css} +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -5
- package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabItem/{VerticalTabItem.styles_16d3lah.css → VerticalTabItem.styles_1g7zipg.css} +1 -1
- package/es/hooks/useOutsideClick.js +1 -1
- package/es/hooks/useOutsideClick.js.map +1 -1
- package/es/index.css +74 -71
- package/package.json +2 -2
- package/styled-components/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
- package/styled-components/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
- package/styled-components/cjs/components/Calendar/Calendar.tokens.js +3 -0
- package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
- package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
- package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +6 -2
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
- package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
- package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -6
- package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +5 -0
- package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
- package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
- package/styled-components/cjs/components/Dropdown/Dropdown.js +37 -58
- package/styled-components/cjs/components/Dropdown/Dropdown.styles.js +15 -9
- package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +4 -36
- package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +51 -17
- package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +18 -29
- package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +19 -17
- package/styled-components/cjs/components/Dropdown/utils/index.js +1 -23
- package/styled-components/cjs/components/Notification/Notification.styles.js +1 -1
- package/styled-components/cjs/components/Notification/Notification.tokens.js +2 -0
- package/styled-components/cjs/components/Pagination/Pagination.js +5 -5
- package/styled-components/cjs/components/Pagination/Pagination.styles.js +1 -1
- package/styled-components/cjs/components/Pagination/Pagination.tokens.js +4 -1
- package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
- package/styled-components/cjs/components/Tabs/tokens.js +7 -1
- package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
- package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
- package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
- package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +5 -6
- package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
- package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
- package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +5 -6
- package/styled-components/cjs/hooks/useOutsideClick.js +1 -1
- package/styled-components/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
- package/styled-components/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
- package/styled-components/es/components/Calendar/Calendar.tokens.js +3 -0
- package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
- package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
- package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +5 -1
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
- package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
- package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -6
- package/styled-components/es/components/DatePicker/DatePicker.tokens.js +5 -0
- package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +1 -1
- package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
- package/styled-components/es/components/Dropdown/Dropdown.js +40 -60
- package/styled-components/es/components/Dropdown/Dropdown.styles.js +15 -9
- package/styled-components/es/components/Dropdown/Dropdown.tokens.js +3 -35
- package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +52 -18
- package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +20 -31
- package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +20 -18
- package/styled-components/es/components/Dropdown/utils/index.js +1 -4
- package/styled-components/es/components/Notification/Notification.styles.js +1 -1
- package/styled-components/es/components/Notification/Notification.tokens.js +2 -0
- package/styled-components/es/components/Pagination/Pagination.js +5 -5
- package/styled-components/es/components/Pagination/Pagination.styles.js +1 -1
- package/styled-components/es/components/Pagination/Pagination.tokens.js +4 -1
- package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
- package/styled-components/es/components/Tabs/tokens.js +7 -1
- package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
- package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
- package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +6 -6
- package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +5 -6
- package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
- package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +6 -6
- package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +5 -6
- package/styled-components/es/hooks/useOutsideClick.js +1 -1
- package/types/components/Autocomplete/Autocomplete.tokens.d.ts +1 -0
- package/types/components/Autocomplete/Autocomplete.tokens.d.ts.map +1 -1
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/Calendar/Calendar.tokens.d.ts +3 -0
- package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
- package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +1 -0
- package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.styles.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +4 -0
- package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxOld/Combobox.types.d.ts +1 -2
- package/types/components/Combobox/ComboboxOld/Combobox.types.d.ts.map +1 -1
- package/types/components/DatePicker/DatePicker.tokens.d.ts +5 -0
- package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -1
- package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -1
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.d.ts +1 -2
- package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.styles.d.ts +6 -1
- package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.tokens.d.ts +2 -25
- package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.types.d.ts +4 -30
- package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
- package/types/components/Dropdown/index.d.ts +1 -1
- package/types/components/Dropdown/index.d.ts.map +1 -1
- package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts.map +1 -1
- package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts +12 -1
- package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts.map +1 -1
- package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
- package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +3 -32
- package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts.map +1 -1
- package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts +14 -1
- package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts.map +1 -1
- package/types/components/Dropdown/utils/index.d.ts +0 -3
- package/types/components/Dropdown/utils/index.d.ts.map +1 -1
- package/types/components/Notification/Notification.styles.d.ts.map +1 -1
- package/types/components/Notification/Notification.tokens.d.ts +2 -0
- package/types/components/Notification/Notification.tokens.d.ts.map +1 -1
- package/types/components/Pagination/Pagination.d.ts.map +1 -1
- package/types/components/Pagination/Pagination.styles.d.ts.map +1 -1
- package/types/components/Pagination/Pagination.tokens.d.ts +3 -0
- package/types/components/Pagination/Pagination.tokens.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
- package/types/components/Select/utils/getCorrectHeight.d.ts +2 -2
- package/types/components/Select/utils/getCorrectHeight.d.ts.map +1 -1
- package/types/components/Tabs/tokens.d.ts +6 -0
- package/types/components/Tabs/tokens.d.ts.map +1 -1
- package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts.map +1 -1
- package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts +3 -3
- package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts +4 -4
- package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Dropdown/Dropdown.config.d.ts +3 -3
- package/types/examples/plasma_web/components/Dropdown/Dropdown.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts +4 -4
- package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/hooks/useOutsideClick.d.ts +1 -1
- package/types/hooks/useOutsideClick.d.ts.map +1 -1
- package/cjs/components/DatePicker/DatePickerBase.styles_mjc9xz.css +0 -2
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +0 -2
- package/cjs/components/Dropdown/Dropdown.styles_1ix6io8.css +0 -2
- package/cjs/components/Dropdown/FloatingPopover.js +0 -104
- package/cjs/components/Dropdown/FloatingPopover.js.map +0 -1
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles_17va0nk.css +0 -5
- package/cjs/components/Dropdown/utils/getItemByFocused.js +0 -13
- package/cjs/components/Dropdown/utils/getItemByFocused.js.map +0 -1
- package/cjs/components/Dropdown/utils/getItemId.js +0 -10
- package/cjs/components/Dropdown/utils/getItemId.js.map +0 -1
- package/cjs/components/Dropdown/utils/getPlacement.js +0 -16
- package/cjs/components/Dropdown/utils/getPlacement.js.map +0 -1
- package/emotion/cjs/components/Dropdown/FloatingPopover.js +0 -109
- package/emotion/cjs/components/Dropdown/utils/getItemByFocused.js +0 -12
- package/emotion/cjs/components/Dropdown/utils/getItemId.js +0 -9
- package/emotion/cjs/components/Dropdown/utils/getPlacement.js +0 -15
- package/emotion/es/components/Dropdown/FloatingPopover.js +0 -102
- package/emotion/es/components/Dropdown/utils/getItemByFocused.js +0 -6
- package/emotion/es/components/Dropdown/utils/getItemId.js +0 -3
- package/emotion/es/components/Dropdown/utils/getPlacement.js +0 -9
- package/es/components/DatePicker/DatePickerBase.styles_mjc9xz.css +0 -2
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +0 -2
- package/es/components/Dropdown/Dropdown.styles_1ix6io8.css +0 -2
- package/es/components/Dropdown/FloatingPopover.js +0 -100
- package/es/components/Dropdown/FloatingPopover.js.map +0 -1
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles_17va0nk.css +0 -5
- package/es/components/Dropdown/utils/getItemByFocused.js +0 -9
- package/es/components/Dropdown/utils/getItemByFocused.js.map +0 -1
- package/es/components/Dropdown/utils/getItemId.js +0 -6
- package/es/components/Dropdown/utils/getItemId.js.map +0 -1
- package/es/components/Dropdown/utils/getPlacement.js +0 -12
- package/es/components/Dropdown/utils/getPlacement.js.map +0 -1
- package/styled-components/cjs/components/Dropdown/FloatingPopover.js +0 -109
- package/styled-components/cjs/components/Dropdown/utils/getItemByFocused.js +0 -12
- package/styled-components/cjs/components/Dropdown/utils/getItemId.js +0 -9
- package/styled-components/cjs/components/Dropdown/utils/getPlacement.js +0 -15
- package/styled-components/es/components/Dropdown/FloatingPopover.js +0 -102
- package/styled-components/es/components/Dropdown/utils/getItemByFocused.js +0 -6
- package/styled-components/es/components/Dropdown/utils/getItemId.js +0 -3
- package/styled-components/es/components/Dropdown/utils/getPlacement.js +0 -9
- package/types/components/Dropdown/FloatingPopover.d.ts +0 -5
- package/types/components/Dropdown/FloatingPopover.d.ts.map +0 -1
- package/types/components/Dropdown/utils/getItemByFocused.d.ts +0 -4
- package/types/components/Dropdown/utils/getItemByFocused.d.ts.map +0 -1
- package/types/components/Dropdown/utils/getItemId.d.ts +0 -2
- package/types/components/Dropdown/utils/getItemId.d.ts.map +0 -1
- package/types/components/Dropdown/utils/getPlacement.d.ts +0 -3
- package/types/components/Dropdown/utils/getPlacement.d.ts.map +0 -1
@@ -3,26 +3,42 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.base = exports.Ul = void 0;
|
6
|
+
exports.base = exports.Ul = exports.StyledPopover = void 0;
|
7
7
|
var _base = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("@emotion/styled/base"));
|
8
8
|
var _react = /*#__PURE__*/require("@emotion/react");
|
9
|
+
var _engines = /*#__PURE__*/require("../../engines");
|
10
|
+
var _Popover = /*#__PURE__*/require("../Popover");
|
9
11
|
var _utils = /*#__PURE__*/require("./utils");
|
10
12
|
var _Dropdown = /*#__PURE__*/require("./Dropdown.tokens");
|
11
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
14
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
15
|
+
var Popover = /*#__PURE__*/(0, _engines.component)(_Popover.popoverConfig);
|
16
|
+
var StyledPopover = exports.StyledPopover = /*#__PURE__*/(0, _base["default"])(Popover, {
|
17
|
+
target: "euqmbvx1",
|
18
|
+
label: "plasma-new-hope__StyledPopover"
|
19
|
+
})(".", /*#__PURE__*/String(_Popover.popoverClasses.wrapper), ",.", /*#__PURE__*/String(_Popover.popoverClasses.target), "{display:block;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vRHJvcGRvd24uc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVk0QyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0Ryb3Bkb3duL0Ryb3Bkb3duLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBz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uICAgIGJveC1zaGFkb3c6IHZhcigke3Rva2Vucy5ib3hTaGFkb3d9KTtcblxuICAgIGJvcmRlci1yYWRpdXM6IHZhcigke3Rva2Vucy5ib3JkZXJSYWRpdXN9KTtcbiAgICB3aWR0aDogJHsoeyBsaXN0V2lkdGggfSkgPT4gbGlzdFdpZHRoIHx8IGB2YXIoJHt0b2tlbnMud2lkdGh9KWB9O1xuICAgIGhlaWdodDogJHsoeyBsaXN0SGVpZ2h0IH0pID0+IChsaXN0SGVpZ2h0ID8gZ2V0Q29ycmVjdEhlaWdodChsaXN0SGVpZ2h0KSA6ICdhdXRvJyl9O1xuICAgIG92ZXJmbG93OiAkeyh7IGxpc3RPdmVyZmxvdyB9KSA9PiBsaXN0T3ZlcmZsb3cgfHwgJ2luaXRpYWwnfTtcblxuICAgIG1hcmdpbjogJHsoeyBpc0lubmVyVWwgfSkgPT4gKGlzSW5uZXJVbCA/IGBjYWxjKHZhcigke3Rva2Vucy5wYWRkaW5nfSkgKiAtMSkgMCAwIHZhcigke3Rva2Vucy5wYWRkaW5nfSlgIDogMCl9O1xuICAgIHBhZGRpbmc6IHZhcigke3Rva2Vucy5wYWRkaW5nfSk7XG4gICAgYm9yZGVyOiB2YXIoJHt0b2tlbnMuYm9yZGVyV2lkdGh9KSBzb2xpZCB2YXIoJHt0b2tlbnMuYm9yZGVyQ29sb3J9KTtcbmA7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbmA7XG4iXX0= */"));
|
12
20
|
var Ul = exports.Ul = /*#__PURE__*/(0, _base["default"])("ul", {
|
13
21
|
target: "euqmbvx0",
|
14
22
|
label: "plasma-new-hope__Ul"
|
15
|
-
})("box-sizing:border-box;width:", function (_ref) {
|
23
|
+
})("box-sizing:border-box;background:var(", _Dropdown.tokens.background, ");box-shadow:var(", _Dropdown.tokens.boxShadow, ");border-radius:var(", _Dropdown.tokens.borderRadius, ");width:", function (_ref) {
|
16
24
|
var listWidth = _ref.listWidth;
|
17
25
|
return listWidth || "var(".concat(_Dropdown.tokens.width, ")");
|
18
26
|
}, ";height:", function (_ref2) {
|
19
27
|
var listHeight = _ref2.listHeight;
|
20
28
|
return listHeight ? (0, _utils.getCorrectHeight)(listHeight) : 'auto';
|
21
|
-
}, ";
|
22
|
-
var
|
23
|
-
return isInnerUl ? "calc(var(".concat(_Dropdown.tokens.padding, ") * -1) 0.125rem 0") : 0;
|
24
|
-
}, ";padding:var(", _Dropdown.tokens.padding, ") 0;overflow:", function (_ref4) {
|
25
|
-
var listOverflow = _ref4.listOverflow;
|
29
|
+
}, ";overflow:", function (_ref3) {
|
30
|
+
var listOverflow = _ref3.listOverflow;
|
26
31
|
return listOverflow || 'initial';
|
27
|
-
}, ";
|
28
|
-
var
|
32
|
+
}, ";margin:", function (_ref4) {
|
33
|
+
var isInnerUl = _ref4.isInnerUl;
|
34
|
+
return isInnerUl ? "calc(var(".concat(_Dropdown.tokens.padding, ") * -1) 0 0 var(").concat(_Dropdown.tokens.padding, ")") : 0;
|
35
|
+
}, ";padding:var(", _Dropdown.tokens.padding, ");border:var(", _Dropdown.tokens.borderWidth, ") solid var(", _Dropdown.tokens.borderColor, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vRHJvcGRvd24uc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVCRSIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0Ryb3Bkb3duL0Ryb3Bkb3duLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IGNzcyB9IGZ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JvcmRlci1yYWRpdXM6IHZhcigke3Rva2Vucy5ib3JkZXJSYWRpdXN9KTtcbiAgICB3aWR0aDogJHsoeyBsaXN0V2lkdGggfSkgPT4gbGlzdFdpZHRoIHx8IGB2YXIoJHt0b2tlbnMud2lkdGh9KWB9O1xuICAgIGhlaWdodDogJHsoeyBsaXN0SGVpZ2h0IH0pID0+IChsaXN0SGVpZ2h0ID8gZ2V0Q29ycmVjdEhlaWdodChsaXN0SGVpZ2h0KSA6ICdhdXRvJyl9O1xuICAgIG92ZXJmbG93OiAkeyh7IGxpc3RPdmVyZmxvdyB9KSA9PiBsaXN0T3ZlcmZsb3cgfHwgJ2luaXRpYWwnfTtcblxuICAgIG1hcmdpbjogJHsoeyBpc0lubmVyVWwgfSkgPT4gKGlzSW5uZXJVbCA/IGBjYWxjKHZhcigke3Rva2Vucy5wYWRkaW5nfSkgKiAtMSkgMCAwIHZhcigke3Rva2Vucy5wYWRkaW5nfSlgIDogMCl9O1xuICAgIHBhZGRpbmc6IHZhcigke3Rva2Vucy5wYWRkaW5nfSk7XG4gICAgYm9yZGVyOiB2YXIoJHt0b2tlbnMuYm9yZGVyV2lkdGh9KSBzb2xpZCB2YXIoJHt0b2tlbnMuYm9yZGVyQ29sb3J9KTtcbmA7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbmA7XG4iXX0= */"));
|
36
|
+
var base = exports.base = process.env.NODE_ENV === "production" ? {
|
37
|
+
name: "1mufh2u-plasma-new-hope__base",
|
38
|
+
styles: "display:inline-block;label:plasma-new-hope__base;"
|
39
|
+
} : {
|
40
|
+
name: "1mufh2u-plasma-new-hope__base",
|
41
|
+
styles: "display:inline-block;label:plasma-new-hope__base;",
|
42
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvb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
|
44
|
+
};
|
@@ -3,13 +3,13 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.tokens = exports.
|
6
|
+
exports.tokens = exports.classes = void 0;
|
7
7
|
var classes = exports.classes = {
|
8
8
|
dropdownRoot: 'dropdown-root',
|
9
9
|
dropdownItemIsFocused: 'dropdown-item-is-focused',
|
10
10
|
dropdownItemIsDisabled: 'dropdown-item-is-disabled',
|
11
11
|
dropdownItemIsActive: 'dropdown-item-is-active',
|
12
|
-
dropdownItemIsSelected: '
|
12
|
+
dropdownItemIsSelected: 'dropdownItemIsSelected'
|
13
13
|
};
|
14
14
|
var tokens = exports.tokens = {
|
15
15
|
background: '--plasma-dropdown-background',
|
@@ -20,8 +20,8 @@ var tokens = exports.tokens = {
|
|
20
20
|
disclosureIconColor: '--plasma-dropdown-disclosure-icon-color',
|
21
21
|
disabledOpacity: '--plasma-dropdown-disabled-opacity',
|
22
22
|
focusColor: '--plasma-dropdown-focus-color',
|
23
|
-
|
24
|
-
|
23
|
+
borderColor: '--plasma-dropdown-border-color',
|
24
|
+
borderWidth: '--plasma-dropdown-border-width',
|
25
25
|
dividerColor: '--plasma-dropdown-divider-color',
|
26
26
|
dividerMarginTop: '--plasma-dropdown-divider-margin-top',
|
27
27
|
dividerMarginTopTight: '--plasma-dropdown-divider-margin-top-tight',
|
@@ -36,7 +36,6 @@ var tokens = exports.tokens = {
|
|
36
36
|
itemBackgroundSelectedHover: '--plasma-dropdown-item-background-selected-hover',
|
37
37
|
// Old
|
38
38
|
itemColor: '--plasma-dropdown-item-color',
|
39
|
-
// Old
|
40
39
|
itemColorSelected: '--plasma-dropdown-item-color-selected',
|
41
40
|
// Old
|
42
41
|
itemColorSelectedHover: '--plasma-dropdown-item-color-selected-hover',
|
@@ -55,17 +54,11 @@ var tokens = exports.tokens = {
|
|
55
54
|
itemMarginLeft: '--plasma-dropdown-item-margin-left',
|
56
55
|
// Old
|
57
56
|
itemPaddingTop: '--plasma-dropdown-item-padding-top',
|
58
|
-
// Old
|
59
57
|
itemPaddingTopTight: '--plasma-dropdown-item-padding-top-tight',
|
60
|
-
// Old
|
61
58
|
itemPaddingRight: '--plasma-dropdown-item-padding-right',
|
62
|
-
// Old
|
63
59
|
itemPaddingBottom: '--plasma-dropdown-item-padding-bottom',
|
64
|
-
// Old
|
65
60
|
itemPaddingBottomTight: '--plasma-dropdown-item-padding-bottom-tight',
|
66
|
-
// Old
|
67
61
|
itemPaddingLeft: '--plasma-dropdown-item-padding-left',
|
68
|
-
// Old
|
69
62
|
itemContentLeftWidth: '--plasma-dropdown-item-content-left-width',
|
70
63
|
// Old
|
71
64
|
itemContentLeftColor: '--plasma-dropdown-item-content-left-color',
|
@@ -80,20 +73,6 @@ var tokens = exports.tokens = {
|
|
80
73
|
itemFontWeightBold: '--plasma-dropdown-item-letter-spacing',
|
81
74
|
itemFontLetterSpacing: '--plasma-dropdown-item-line-height',
|
82
75
|
itemFontLineHeight: '--plasma-dropdown-item-font-weight',
|
83
|
-
itemPadding: '--plasma-dropdown-item-padding',
|
84
|
-
itemPaddingTight: '--plasma-dropdown-item-padding-tight',
|
85
|
-
cellPadding: '--plasma-dropdown-cell-padding',
|
86
|
-
cellPaddingLeftContent: '--plasma-dropdown-cell-padding-left-content',
|
87
|
-
cellPaddingContent: '--plasma-dropdown-cell-padding-content',
|
88
|
-
cellPaddingRightContent: '--plasma-dropdown-cell-padding-right-content',
|
89
|
-
cellTextboxGap: '--plasma-dropdown-cell-textbox-gap',
|
90
|
-
cellGap: '--plasma-dropdown-cell-gap',
|
91
|
-
cellTitleFontFamily: '--plasma-dropdown-cell-title-font-family',
|
92
|
-
cellTitleFontSize: '--plasma-dropdown-cell-title-font-size',
|
93
|
-
cellTitleFontStyle: '--plasma-dropdown-cell-title-font-style',
|
94
|
-
cellTitleFontWeight: '--plasma-dropdown-cell-title-font-weight',
|
95
|
-
cellTitleLetterSpacing: '--plasma-dropdown-cell-title-letter-spacing',
|
96
|
-
cellTitleLineHeight: '--plasma-dropdown-cell-title-line-height',
|
97
76
|
// TODO: Remove below tokens as soon as they are no longer needed
|
98
77
|
footerBackground: '--plasma-dropdown-footer-background',
|
99
78
|
footerWidth: '--plasma-dropdown-footer-width',
|
@@ -157,15 +136,4 @@ var tokens = exports.tokens = {
|
|
157
136
|
groupLabelMarginRight: '--plasma-dropdown-group-label-margin-right',
|
158
137
|
groupLabelMarginBottom: '--plasma-dropdown-group-label-margin-bottom',
|
159
138
|
groupLabelMarginLeft: '--plasma-dropdown-group-label-margin-left'
|
160
|
-
};
|
161
|
-
var constants = exports.constants = {
|
162
|
-
focusColor: '--surface-accent',
|
163
|
-
background: '--surface-solid-card-brightness',
|
164
|
-
boxShadow: '0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04)',
|
165
|
-
disclosureIconColor: '--text-secondary',
|
166
|
-
itemBackground: '--plasma-colors-transparent',
|
167
|
-
itemBackgroundHover: '--surface-transparent-secondary',
|
168
|
-
opacity: '0.4',
|
169
|
-
cellTitleColor: '--text-primary',
|
170
|
-
cellBackgroundColor: '--plasma-colors-transparent'
|
171
139
|
};
|
@@ -5,21 +5,29 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.DropdownInner = void 0;
|
7
7
|
var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
|
8
|
-
var _plasmaCore = /*#__PURE__*/require("@salutejs/plasma-core");
|
9
8
|
var _ = /*#__PURE__*/require("..");
|
10
9
|
var _Dropdown = /*#__PURE__*/require("../../Dropdown.styles");
|
11
|
-
var _FloatingPopover = /*#__PURE__*/require("../../FloatingPopover");
|
12
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
13
11
|
var DropdownInner = exports.DropdownInner = function DropdownInner(_ref) {
|
14
12
|
var item = _ref.item,
|
15
13
|
currentLevel = _ref.currentLevel,
|
14
|
+
focusedPath = _ref.focusedPath,
|
16
15
|
path = _ref.path,
|
17
16
|
dispatchPath = _ref.dispatchPath,
|
18
17
|
index = _ref.index,
|
19
18
|
trigger = _ref.trigger,
|
19
|
+
itemRole = _ref.itemRole,
|
20
20
|
listHeight = _ref.listHeight,
|
21
21
|
listOverflow = _ref.listOverflow,
|
22
|
-
|
22
|
+
handleGlobalToggle = _ref.handleGlobalToggle,
|
23
|
+
closeOnSelect = _ref.closeOnSelect,
|
24
|
+
onHover = _ref.onHover,
|
25
|
+
onItemSelect = _ref.onItemSelect,
|
26
|
+
onItemClick = _ref.onItemClick,
|
27
|
+
listWidth = _ref.listWidth,
|
28
|
+
variant = _ref.variant,
|
29
|
+
hasArrow = _ref.hasArrow,
|
30
|
+
size = _ref.size;
|
23
31
|
var handleToggle = function handleToggle(opened) {
|
24
32
|
if (opened) {
|
25
33
|
dispatchPath({
|
@@ -35,53 +43,79 @@ var DropdownInner = exports.DropdownInner = function DropdownInner(_ref) {
|
|
35
43
|
}
|
36
44
|
};
|
37
45
|
var isCurrentListOpen = path[currentLevel + 1] === item.value.toString();
|
38
|
-
var
|
39
|
-
var listId = "".concat(treeId, "_tree_level_").concat(currentLevel + 2);
|
46
|
+
var listId = "tree_level_".concat(currentLevel + 2);
|
40
47
|
var nextLevel = currentLevel + 1;
|
41
48
|
if (item !== null && item !== void 0 && item.items) {
|
42
|
-
return /*#__PURE__*/_react["default"].createElement(
|
43
|
-
placement: "right-start",
|
49
|
+
return /*#__PURE__*/_react["default"].createElement(_Dropdown.StyledPopover, {
|
44
50
|
opened: isCurrentListOpen,
|
45
|
-
|
51
|
+
usePortal: false,
|
52
|
+
placement: "right-start",
|
46
53
|
trigger: trigger,
|
47
54
|
target: /*#__PURE__*/_react["default"].createElement(_.DropdownItem, {
|
48
55
|
item: item,
|
49
56
|
index: index,
|
50
57
|
path: path,
|
58
|
+
focusedPath: focusedPath,
|
51
59
|
currentLevel: currentLevel,
|
60
|
+
itemRole: itemRole,
|
61
|
+
onHover: onHover,
|
62
|
+
onItemSelect: onItemSelect,
|
63
|
+
onItemClick: onItemClick,
|
64
|
+
variant: variant,
|
65
|
+
hasArrow: hasArrow,
|
52
66
|
ariaControls: listId,
|
53
67
|
ariaExpanded: isCurrentListOpen,
|
54
68
|
ariaLevel: nextLevel,
|
55
|
-
ariaLabel: item.label
|
69
|
+
ariaLabel: item.label,
|
70
|
+
size: size
|
56
71
|
}),
|
57
|
-
|
72
|
+
onToggle: handleToggle,
|
73
|
+
isFocusTrapped: false,
|
74
|
+
preventOverflow: false
|
58
75
|
}, /*#__PURE__*/_react["default"].createElement(_Dropdown.Ul, {
|
59
|
-
id: listId,
|
60
|
-
role: "group",
|
61
|
-
isInnerUl: true,
|
62
76
|
listHeight: listHeight,
|
63
77
|
listOverflow: listOverflow,
|
64
|
-
|
78
|
+
role: "group",
|
79
|
+
id: listId,
|
80
|
+
listWidth: listWidth,
|
81
|
+
isInnerUl: true
|
65
82
|
}, item.items.map(function (innerItem, innerIndex) {
|
66
83
|
return /*#__PURE__*/_react["default"].createElement(DropdownInner, {
|
67
84
|
key: "".concat(innerIndex, "/").concat(currentLevel),
|
68
85
|
item: innerItem,
|
69
86
|
currentLevel: nextLevel,
|
87
|
+
focusedPath: focusedPath,
|
70
88
|
path: path,
|
71
89
|
dispatchPath: dispatchPath,
|
72
90
|
index: innerIndex,
|
73
91
|
trigger: trigger,
|
92
|
+
itemRole: itemRole,
|
74
93
|
listHeight: listHeight,
|
75
94
|
listOverflow: listOverflow,
|
76
|
-
|
95
|
+
handleGlobalToggle: handleGlobalToggle,
|
96
|
+
closeOnSelect: closeOnSelect,
|
97
|
+
onHover: onHover,
|
98
|
+
onItemSelect: onItemSelect,
|
99
|
+
onItemClick: onItemClick,
|
100
|
+
listWidth: listWidth,
|
101
|
+
variant: variant,
|
102
|
+
hasArrow: hasArrow,
|
103
|
+
size: size
|
77
104
|
});
|
78
105
|
})));
|
79
106
|
}
|
80
107
|
return /*#__PURE__*/_react["default"].createElement(_.DropdownItem, {
|
81
108
|
item: item,
|
82
|
-
path: path,
|
83
109
|
index: index,
|
110
|
+
focusedPath: focusedPath,
|
84
111
|
currentLevel: currentLevel,
|
85
|
-
|
112
|
+
itemRole: itemRole,
|
113
|
+
handleGlobalToggle: handleGlobalToggle,
|
114
|
+
closeOnSelect: closeOnSelect,
|
115
|
+
onHover: onHover,
|
116
|
+
onItemSelect: onItemSelect,
|
117
|
+
onItemClick: onItemClick,
|
118
|
+
variant: variant,
|
119
|
+
size: size
|
86
120
|
});
|
87
121
|
};
|
@@ -9,20 +9,29 @@ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react")
|
|
9
9
|
var _Dropdown = /*#__PURE__*/require("../../Dropdown.tokens");
|
10
10
|
var _utils = /*#__PURE__*/require("../../../../utils");
|
11
11
|
var _Icon = /*#__PURE__*/require("../../../_Icon");
|
12
|
-
var _Dropdown2 = /*#__PURE__*/require("../../Dropdown");
|
13
|
-
var _utils2 = /*#__PURE__*/require("../../utils");
|
14
12
|
var _DropdownItem = /*#__PURE__*/require("./DropdownItem.styles");
|
15
13
|
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); }
|
16
14
|
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; }
|
17
15
|
var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
|
18
16
|
var item = _ref.item,
|
19
17
|
path = _ref.path,
|
18
|
+
focusedPath = _ref.focusedPath,
|
20
19
|
currentLevel = _ref.currentLevel,
|
21
20
|
index = _ref.index,
|
21
|
+
itemRole = _ref.itemRole,
|
22
|
+
closeOnSelect = _ref.closeOnSelect,
|
23
|
+
handleGlobalToggle = _ref.handleGlobalToggle,
|
24
|
+
onHover = _ref.onHover,
|
25
|
+
onItemSelect = _ref.onItemSelect,
|
26
|
+
onItemClick = _ref.onItemClick,
|
22
27
|
ariaControls = _ref.ariaControls,
|
23
28
|
ariaExpanded = _ref.ariaExpanded,
|
29
|
+
ariaHasPopup = _ref.ariaHasPopup,
|
24
30
|
ariaLevel = _ref.ariaLevel,
|
25
|
-
ariaLabel = _ref.ariaLabel
|
31
|
+
ariaLabel = _ref.ariaLabel,
|
32
|
+
variant = _ref.variant,
|
33
|
+
hasArrow = _ref.hasArrow,
|
34
|
+
size = _ref.size;
|
26
35
|
var value = item.value,
|
27
36
|
label = item.label,
|
28
37
|
disabled = item.disabled,
|
@@ -32,19 +41,6 @@ var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
|
|
32
41
|
dividerBefore = item.dividerBefore,
|
33
42
|
dividerAfter = item.dividerAfter;
|
34
43
|
var ref = (0, _react.useRef)(null);
|
35
|
-
var _useContext = (0, _react.useContext)(_Dropdown2.Context),
|
36
|
-
focusedPath = _useContext.focusedPath,
|
37
|
-
size = _useContext.size,
|
38
|
-
variant = _useContext.variant,
|
39
|
-
itemRole = _useContext.itemRole,
|
40
|
-
handleGlobalToggle = _useContext.handleGlobalToggle,
|
41
|
-
closeOnSelect = _useContext.closeOnSelect,
|
42
|
-
onHover = _useContext.onHover,
|
43
|
-
onItemSelect = _useContext.onItemSelect,
|
44
|
-
onItemClick = _useContext.onItemClick,
|
45
|
-
hasArrow = _useContext.hasArrow,
|
46
|
-
treeId = _useContext.treeId;
|
47
|
-
var hasDescendants = Boolean(item.items);
|
48
44
|
var disclosureIconSize = size === 'xs' ? 'xs' : 's';
|
49
45
|
var isDisabledClassName = disabled || isDisabled ? _Dropdown.classes.dropdownItemIsDisabled : undefined;
|
50
46
|
var focusedClass = currentLevel === focusedPath.length - 1 && index === (focusedPath === null || focusedPath === void 0 ? void 0 : focusedPath[currentLevel]) ? _Dropdown.classes.dropdownItemIsFocused : undefined;
|
@@ -68,9 +64,7 @@ var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
|
|
68
64
|
if (onItemClick) {
|
69
65
|
onItemClick(item, event);
|
70
66
|
}
|
71
|
-
|
72
|
-
// Закрываем весь дропдаун целиком при клике на айтем без потомков. Только при closeOnSelect === true.
|
73
|
-
if (closeOnSelect && !hasDescendants) {
|
67
|
+
if (handleGlobalToggle && closeOnSelect) {
|
74
68
|
handleGlobalToggle(false, event);
|
75
69
|
}
|
76
70
|
};
|
@@ -82,25 +76,20 @@ var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
|
|
82
76
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, dividerBefore && /*#__PURE__*/_react["default"].createElement(_DropdownItem.Divider, {
|
83
77
|
variant: variant
|
84
78
|
}), /*#__PURE__*/_react["default"].createElement(_DropdownItem.Wrapper, {
|
85
|
-
ref: ref,
|
86
79
|
className: (0, _utils.cx)(isDisabledClassName, focusedClass, activeClass),
|
87
|
-
id:
|
80
|
+
id: value.toString(),
|
88
81
|
role: itemRole,
|
82
|
+
ref: ref,
|
83
|
+
"aria-disabled": disabled || isDisabled,
|
89
84
|
onClick: handleClick,
|
90
85
|
onMouseEnter: handleHover,
|
91
86
|
variant: variant,
|
92
|
-
"aria-disabled": disabled || isDisabled,
|
93
87
|
"aria-controls": ariaControls,
|
94
88
|
"aria-expanded": ariaExpanded,
|
89
|
+
"aria-haspopup": ariaHasPopup,
|
95
90
|
"aria-level": ariaLevel,
|
96
91
|
"aria-label": ariaLabel
|
97
|
-
}, /*#__PURE__*/_react["default"].createElement(_DropdownItem.
|
98
|
-
contentLeft: contentLeft,
|
99
|
-
contentRight: contentRight,
|
100
|
-
alignContentLeft: "center",
|
101
|
-
alignContentRight: "center",
|
102
|
-
title: label
|
103
|
-
})), item.items && hasArrow && /*#__PURE__*/_react["default"].createElement(_DropdownItem.DisclosureIconWrapper, null, /*#__PURE__*/_react["default"].createElement(_Icon.IconDisclosureRight, {
|
92
|
+
}, contentLeft && /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledContentLeft, null, contentLeft), /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledText, null, label), contentRight && /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledContentRight, null, contentRight), item.items && hasArrow && /*#__PURE__*/_react["default"].createElement(_DropdownItem.DisclosureIconWrapper, null, /*#__PURE__*/_react["default"].createElement(_Icon.IconDisclosureRight, {
|
104
93
|
size: disclosureIconSize,
|
105
94
|
color: "inherit"
|
106
95
|
}))), dividerAfter && /*#__PURE__*/_react["default"].createElement(_DropdownItem.Divider, {
|
@@ -3,27 +3,44 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.Wrapper = exports.
|
6
|
+
exports.Wrapper = exports.StyledText = exports.StyledContentRight = exports.StyledContentLeft = exports.Divider = exports.DisclosureIconWrapper = void 0;
|
7
7
|
var _base = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("@emotion/styled/base"));
|
8
8
|
var _Dropdown = /*#__PURE__*/require("../../Dropdown.tokens");
|
9
9
|
var _mixins = /*#__PURE__*/require("../../../../mixins");
|
10
|
-
var _Cell = /*#__PURE__*/require("../../../Cell");
|
11
|
-
var _engines = /*#__PURE__*/require("../../../../engines");
|
12
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
13
|
-
|
14
|
-
var
|
15
|
-
|
11
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
12
|
+
var StyledContentLeft = exports.StyledContentLeft = /*#__PURE__*/(0, _base["default"])("div", {
|
13
|
+
target: "eh1hzhc5",
|
14
|
+
label: "plasma-new-hope__StyledContentLeft"
|
15
|
+
})(process.env.NODE_ENV === "production" ? {
|
16
|
+
name: "1lv1yo7",
|
17
|
+
styles: "display:inline-flex"
|
18
|
+
} : {
|
19
|
+
name: "1lv1yo7",
|
20
|
+
styles: "display:inline-flex",
|
21
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vdWkvRHJvcGRvd25JdGVtL0Ryb3Bkb3duSXRlbS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBTTJDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vdWkvRHJvcGRvd25JdGVtL0Ryb3Bkb3duSXRlbS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL0Ryb3Bkb3duLnRva2Vucyc7XG5pbXBvcnQgeyBhZGRGb2N1cywgYXBwbHlFbGxpcHNpcyB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5pbXBvcnQgeyBEcm9wZG93blByb3BzIH0gZnJvbSAnLi4vLi4vRHJvcGRvd24udHlwZXMnO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkQ29udGVudExlZnQgPSBzdHlsZWQuZGl2YFxuICAgIGRpc3BsYXk6IGlubGluZS1mbGV4O1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZENvbnRlbnRSaWdodC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ZGl1c30pYCxcbiAgICAgICAgaGFzVHJhbnNpdGlvbjogZmFsc2UsXG4gICAgICAgIGN1c3RvbUZvY3VzUnVsZXM6IGBcbiAgICAgICAgICAgICYuJHtjbGFzc2VzLmRyb3Bkb3duSXRlbUlzRm9jdXNlZH06YmVmb3JlIHtcbiAgICAgICAgICAgICAgICBvdXRsaW5lOiBub25lO1xuICAgICAgICAgICAgICAgIGJveC1zaGFkb3c6IDAgMCAwIDAuMDYyNXJlbSB2YXIoJHt0b2tlbnMuZm9jdXNDb2xvcn0pO1xuICAgICAgICAgICAgfVxuICAgICAgICBgLFxuICAgIH0pfTtcbmA7XG4iXX0= */",
|
22
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
23
|
+
});
|
24
|
+
var StyledContentRight = exports.StyledContentRight = /*#__PURE__*/(0, _base["default"])("div", {
|
16
25
|
target: "eh1hzhc4",
|
17
|
-
label: "plasma-new-
|
18
|
-
})(
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
26
|
+
label: "plasma-new-hope__StyledContentRight"
|
27
|
+
})(process.env.NODE_ENV === "production" ? {
|
28
|
+
name: "1j4k9nt",
|
29
|
+
styles: "margin-left:auto;display:inline-flex"
|
30
|
+
} : {
|
31
|
+
name: "1j4k9nt",
|
32
|
+
styles: "margin-left:auto;display:inline-flex",
|
33
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vdWkvRHJvcGRvd25JdGVtL0Ryb3Bkb3duSXRlbS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBVTRDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vdWkvRHJvcGRvd25JdGVtL0Ryb3Bkb3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G5cbiAgICAmLiR7Y2xhc3Nlcy5kcm9wZG93bkl0ZW1Jc0Rpc2FibGVkfSB7XG4gICAgICAgIG9wYWNpdHk6IHZhcigke3Rva2Vucy5kaXNhYmxlZE9wYWNpdHl9KTtcbiAgICAgICAgY3Vyc29yOiBub3QtYWxsb3dlZDtcbiAgICB9XG5cbiAgICA6Zm9jdXMge1xuICAgICAgICBvdXRsaW5lOiBub25lO1xuICAgIH1cblxuICAgICR7YWRkRm9jdXMoe1xuICAgICAgICBvdXRsaW5lU2l6ZTogJzAuMDYyNXJlbScsXG4gICAgICAgIG91dGxpbmVPZmZzZXQ6ICcwJyxcbiAgICAgICAgb3V0bGluZUNvbG9yOiBgdmFyKCR7dG9rZW5zLmZvY3VzQ29sb3J9KWAsXG4gICAgICAgIG91dGxpbmVSYWRpdXM6IGB2YXIoJHt0b2tlbnMuaXRlbUJvcmRlclJhZGl1c30pYCxcbiAgICAgICAgaGFzVHJhbnNpdGlvbjogZmFsc2UsXG4gICAgICAgIGN1c3RvbUZvY3VzUnVsZXM6IGBcbiAgICAgICAgICAgICYuJHtjbGFzc2VzLmRyb3Bkb3duSXRlbUlzRm9jdXNlZH06YmVmb3JlIHtcbiAgICAgICAgICAgICAgICBvdXRsaW5lOiBub25lO1xuICAgICAgICAgICAgICAgIGJveC1zaGFkb3c6IDAgMCAwIDAuMDYyNXJlbSB2YXIoJHt0b2tlbnMuZm9jdXNDb2xvcn0pO1xuICAgICAgICAgICAgfVxuICAgICAgICBgLFxuICAgIH0pfTtcbmA7XG4iXX0= */",
|
34
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
35
|
+
});
|
23
36
|
var DisclosureIconWrapper = exports.DisclosureIconWrapper = /*#__PURE__*/(0, _base["default"])("div", {
|
24
|
-
target: "
|
37
|
+
target: "eh1hzhc3",
|
25
38
|
label: "plasma-new-hope__DisclosureIconWrapper"
|
26
|
-
})("line-height:0;color:var(", _Dropdown.
|
39
|
+
})("line-height:0;color:var(", _Dropdown.tokens.disclosureIconColor, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vdWkvRHJvcGRvd25JdGVtL0Ryb3Bkb3duSXRlbS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZStDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vdWkvRHJvcGRvd25JdGVtL0Ryb3Bkb3duSXRlbS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL0Ryb3Bkb3duLnRva2Vucyc7XG5pbXBvcnQgeyBhZGRGb2N1cywgYXBwbHlFbGxpcHNpcyB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5pbXBvcnQgeyBEcm9wZG93blByb3BzIH0gZnJvbSAnLi4vLi4vRHJvcGRvd24udHlwZXMnO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkQ29udGVudExlZnQgPSBzdHlsZWQuZGl2YFxuICAgIGRpc3BsYXk6IGlubGluZS1mbGV4O1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZENvbnRlbnRSaWdodCA9IHN0eWxlZC5kaXZgXG4gICAgbWFyZ2luLWxlZnQ6IGF1dG87XG4gICAgZGlzcGxheTogaW5saW5lLWZsZXg7XG5gO1xuXG5leHBvcnQgY29uc3QgRGlzY2xvc3VyZUljb25XcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgICBsaW5lLWhlaWdodDogMDtcbiAgICBjb2xvcjogdmFyKCR7d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ICAgICAgICAgIGJveC1zaGFkb3c6IDAgMCAwIDAuMDYyNXJlbSB2YXIoJHt0b2tlbnMuZm9jdXNDb2xvcn0pO1xuICAgICAgICAgICAgfVxuICAgICAgICBgLFxuICAgIH0pfTtcbmA7XG4iXX0= */"));
|
40
|
+
var StyledText = exports.StyledText = /*#__PURE__*/(0, _base["default"])("div", {
|
41
|
+
target: "eh1hzhc2",
|
42
|
+
label: "plasma-new-hope__StyledText"
|
43
|
+
})( /*#__PURE__*/(0, _mixins.applyEllipsis)(), ";flex:1;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vdWkvRHJvcGRvd25JdGVtL0Ryb3Bkb3duSXRlbS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0JvQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0Ryb3Bkb3duL3VpL0Ryb3Bkb3duSXRlbS9Ecm9wZG93bkl0ZW0uc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9Ecm9wZG93bi50b2tlbnMnO1xuaW1wb3J0IHsgYWRkRm9jdXMsIGFwcGx5RWxsaXBzaXMgfSBmcm9tICcuLi8uLi8uLi8uLi9taXhpbnMnO1xuaW1wb3J0IHsgRHJvcGRvd25Qcm9wcyB9IGZyb20gJy4uLy4uL0Ryb3Bkb3duLnR5cGVzJztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZENvbnRlbnRMZWZ0ID0gc3R5bGVkLmRpdmBcbiAg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lgLFxuICAgICAgICBvdXRsaW5lUmFkaXVzOiBgdmFyKCR7dG9rZW5zLml0ZW1Cb3JkZXJSYWRpdXN9KWAsXG4gICAgICAgIGhhc1RyYW5zaXRpb246IGZhbHNlLFxuICAgICAgICBjdXN0b21Gb2N1c1J1bGVzOiBgXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5kcm9wZG93bkl0ZW1Jc0ZvY3VzZWR9OmJlZm9yZSB7XG4gICAgICAgICAgICAgICAgb3V0bGluZTogbm9uZTtcbiAgICAgICAgICAgICAgICBib3gtc2hhZG93OiAwIDAgMCAwLjA2MjVyZW0gdmFyKCR7dG9rZW5zLmZvY3VzQ29sb3J9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgYCxcbiAgICB9KX07XG5gO1xuIl19 */"));
|
27
44
|
var Divider = exports.Divider = /*#__PURE__*/(0, _base["default"])("div", {
|
28
45
|
target: "eh1hzhc1",
|
29
46
|
label: "plasma-new-hope__Divider"
|
@@ -33,18 +50,21 @@ var Divider = exports.Divider = /*#__PURE__*/(0, _base["default"])("div", {
|
|
33
50
|
}, ";margin-right:var(", _Dropdown.tokens.dividerMarginRight, ");margin-bottom:", function (_ref2) {
|
34
51
|
var variant = _ref2.variant;
|
35
52
|
return "var(".concat(variant === 'tight' ? _Dropdown.tokens.dividerMarginBottomTight : _Dropdown.tokens.dividerMarginBottom, ")");
|
36
|
-
}, ";margin-left:var(", _Dropdown.tokens.dividerMarginLeft, ");background:var(", _Dropdown.tokens.dividerColor, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
53
|
+
}, ";margin-left:var(", _Dropdown.tokens.dividerMarginLeft, ");background:var(", _Dropdown.tokens.dividerColor, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9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1xuIl19 */"));
|
37
54
|
var Wrapper = exports.Wrapper = /*#__PURE__*/(0, _base["default"])("li", {
|
38
55
|
target: "eh1hzhc0",
|
39
56
|
label: "plasma-new-hope__Wrapper"
|
40
|
-
})("display:flex;align-items:center;
|
57
|
+
})("display:flex;align-items:center;margin:0;box-sizing:content-box;padding-top:", function (_ref3) {
|
41
58
|
var variant = _ref3.variant;
|
42
|
-
return "var(".concat(variant === 'tight' ? _Dropdown.tokens.
|
43
|
-
}, ";
|
59
|
+
return "var(".concat(variant === 'tight' ? _Dropdown.tokens.itemPaddingTopTight : _Dropdown.tokens.itemPaddingTop, ")");
|
60
|
+
}, ";padding-right:var(", _Dropdown.tokens.itemPaddingRight, ");padding-bottom:", function (_ref4) {
|
61
|
+
var variant = _ref4.variant;
|
62
|
+
return "var(".concat(variant === 'tight' ? _Dropdown.tokens.itemPaddingBottomTight : _Dropdown.tokens.itemPaddingBottom, ")");
|
63
|
+
}, ";padding-left:var(", _Dropdown.tokens.itemPaddingLeft, ");font-family:var(", _Dropdown.tokens.itemFontFamily, ");font-size:var(", _Dropdown.tokens.itemFontSize, ");font-style:var(", _Dropdown.tokens.itemFontStyle, ");font-weight:var(", _Dropdown.tokens.itemFontWeightBold, ");letter-spacing:var(", _Dropdown.tokens.itemFontLetterSpacing, ");line-height:var(", _Dropdown.tokens.itemFontLineHeight, ");background:var(", _Dropdown.tokens.itemBackground, ");color:var(", _Dropdown.tokens.itemColor, ");border-radius:var(", _Dropdown.tokens.itemBorderRadius, ");user-select:none;&:hover:not(.", _Dropdown.classes.dropdownItemIsDisabled, "){cursor:pointer;background:var(", _Dropdown.tokens.itemBackgroundHover, ");}&.", _Dropdown.classes.dropdownItemIsActive, "{background:var(", _Dropdown.tokens.itemBackgroundHover, ");}&.", _Dropdown.classes.dropdownItemIsDisabled, "{opacity:var(", _Dropdown.tokens.disabledOpacity, ");cursor:not-allowed;}:focus{outline:none;}", /*#__PURE__*/(0, _mixins.addFocus)({
|
44
64
|
outlineSize: '0.0625rem',
|
45
65
|
outlineOffset: '0',
|
46
|
-
outlineColor: /*#__PURE__*/"var(".concat(_Dropdown.
|
66
|
+
outlineColor: /*#__PURE__*/"var(".concat(_Dropdown.tokens.focusColor, ")"),
|
47
67
|
outlineRadius: /*#__PURE__*/"var(".concat(_Dropdown.tokens.itemBorderRadius, ")"),
|
48
68
|
hasTransition: false,
|
49
|
-
customFocusRules: /*#__PURE__*/"\n &.".concat(_Dropdown.classes.dropdownItemIsFocused, ":before {\n outline: none;\n box-shadow: 0 0 0 0.0625rem var(").concat(_Dropdown.
|
50
|
-
}), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
69
|
+
customFocusRules: /*#__PURE__*/"\n &.".concat(_Dropdown.classes.dropdownItemIsFocused, ":before {\n outline: none;\n box-shadow: 0 0 0 0.0625rem var(").concat(_Dropdown.tokens.focusColor, ");\n }\n ")
|
70
|
+
}), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vdWkvRHJvcGRvd25JdGVtL0Ryb3Bkb3duSXRlbS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0N1RSIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0Ryb3Bkb3duL3VpL0Ryb3Bkb3duSXRlbS9Ecm9wZG93bkl0ZW0uc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9Ecm9wZG93bi50b2tlbnMnO1xuaW1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