@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,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,26 +3,25 @@
|
|
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 _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
|
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
|
-
var
|
14
|
-
var Cell = /*#__PURE__*/(0, _engines.component)(mergedCellConfig);
|
15
|
-
var CellWrapper = exports.CellWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
11
|
+
var StyledContentLeft = exports.StyledContentLeft = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
16
12
|
componentId: "plasma-new-hope__sc-hs0ek1-0"
|
17
|
-
})(["
|
18
|
-
var
|
13
|
+
})(["display:inline-flex;"]);
|
14
|
+
var StyledContentRight = exports.StyledContentRight = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
19
15
|
componentId: "plasma-new-hope__sc-hs0ek1-1"
|
20
|
-
})([""]);
|
16
|
+
})(["margin-left:auto;display:inline-flex;"]);
|
21
17
|
var DisclosureIconWrapper = exports.DisclosureIconWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
22
18
|
componentId: "plasma-new-hope__sc-hs0ek1-2"
|
23
|
-
})(["line-height:0;color:var(", ");"], _Dropdown.
|
24
|
-
var
|
19
|
+
})(["line-height:0;color:var(", ");"], _Dropdown.tokens.disclosureIconColor);
|
20
|
+
var StyledText = exports.StyledText = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
25
21
|
componentId: "plasma-new-hope__sc-hs0ek1-3"
|
22
|
+
})(["", ";flex:1;"], /*#__PURE__*/(0, _mixins.applyEllipsis)());
|
23
|
+
var Divider = exports.Divider = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
24
|
+
componentId: "plasma-new-hope__sc-hs0ek1-4"
|
26
25
|
})(["height:1px;margin-top:", ";margin-right:var(", ");margin-bottom:", ";margin-left:var(", ");background:var(", ");"], function (_ref) {
|
27
26
|
var variant = _ref.variant;
|
28
27
|
return "var(".concat(variant === 'tight' ? _Dropdown.tokens.dividerMarginTopTight : _Dropdown.tokens.dividerMarginTop, ")");
|
@@ -31,15 +30,18 @@ var Divider = exports.Divider = /*#__PURE__*/_styledComponents["default"].div.wi
|
|
31
30
|
return "var(".concat(variant === 'tight' ? _Dropdown.tokens.dividerMarginBottomTight : _Dropdown.tokens.dividerMarginBottom, ")");
|
32
31
|
}, _Dropdown.tokens.dividerMarginLeft, _Dropdown.tokens.dividerColor);
|
33
32
|
var Wrapper = exports.Wrapper = /*#__PURE__*/_styledComponents["default"].li.withConfig({
|
34
|
-
componentId: "plasma-new-hope__sc-hs0ek1-
|
35
|
-
})(["display:flex;align-items:center;
|
33
|
+
componentId: "plasma-new-hope__sc-hs0ek1-5"
|
34
|
+
})(["display:flex;align-items:center;margin:0;box-sizing:content-box;padding-top:", ";padding-right:var(", ");padding-bottom:", ";padding-left:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");background:var(", ");color:var(", ");border-radius:var(", ");user-select:none;&:hover:not(.", "){cursor:pointer;background:var(", ");}&.", "{background:var(", ");}&.", "{opacity:var(", ");cursor:not-allowed;}:focus{outline:none;}", ";"], function (_ref3) {
|
36
35
|
var variant = _ref3.variant;
|
37
|
-
return "var(".concat(variant === 'tight' ? _Dropdown.tokens.
|
38
|
-
}, _Dropdown.tokens.
|
36
|
+
return "var(".concat(variant === 'tight' ? _Dropdown.tokens.itemPaddingTopTight : _Dropdown.tokens.itemPaddingTop, ")");
|
37
|
+
}, _Dropdown.tokens.itemPaddingRight, function (_ref4) {
|
38
|
+
var variant = _ref4.variant;
|
39
|
+
return "var(".concat(variant === 'tight' ? _Dropdown.tokens.itemPaddingBottomTight : _Dropdown.tokens.itemPaddingBottom, ")");
|
40
|
+
}, _Dropdown.tokens.itemPaddingLeft, _Dropdown.tokens.itemFontFamily, _Dropdown.tokens.itemFontSize, _Dropdown.tokens.itemFontStyle, _Dropdown.tokens.itemFontWeightBold, _Dropdown.tokens.itemFontLetterSpacing, _Dropdown.tokens.itemFontLineHeight, _Dropdown.tokens.itemBackground, _Dropdown.tokens.itemColor, _Dropdown.tokens.itemBorderRadius, _Dropdown.classes.dropdownItemIsDisabled, _Dropdown.tokens.itemBackgroundHover, _Dropdown.classes.dropdownItemIsActive, _Dropdown.tokens.itemBackgroundHover, _Dropdown.classes.dropdownItemIsDisabled, _Dropdown.tokens.disabledOpacity, /*#__PURE__*/(0, _mixins.addFocus)({
|
39
41
|
outlineSize: '0.0625rem',
|
40
42
|
outlineOffset: '0',
|
41
|
-
outlineColor: /*#__PURE__*/"var(".concat(_Dropdown.
|
43
|
+
outlineColor: /*#__PURE__*/"var(".concat(_Dropdown.tokens.focusColor, ")"),
|
42
44
|
outlineRadius: /*#__PURE__*/"var(".concat(_Dropdown.tokens.itemBorderRadius, ")"),
|
43
45
|
hasTransition: false,
|
44
|
-
customFocusRules: /*#__PURE__*/"\n &.".concat(_Dropdown.classes.dropdownItemIsFocused, ":before {\n outline: none;\n box-shadow: 0 0 0 0.0625rem var(").concat(_Dropdown.
|
46
|
+
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 ")
|
45
47
|
}));
|
@@ -3,30 +3,8 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.getCorrectHeight = exports.childrenWithProps = void 0;
|
7
|
-
Object.defineProperty(exports, "getItemByFocused", {
|
8
|
-
enumerable: true,
|
9
|
-
get: function get() {
|
10
|
-
return _getItemByFocused.getItemByFocused;
|
11
|
-
}
|
12
|
-
});
|
13
|
-
Object.defineProperty(exports, "getItemId", {
|
14
|
-
enumerable: true,
|
15
|
-
get: function get() {
|
16
|
-
return _getItemId.getItemId;
|
17
|
-
}
|
18
|
-
});
|
19
|
-
Object.defineProperty(exports, "getPlacement", {
|
20
|
-
enumerable: true,
|
21
|
-
get: function get() {
|
22
|
-
return _getPlacement.getPlacement;
|
23
|
-
}
|
24
|
-
});
|
25
|
-
exports.getValidComponent = void 0;
|
6
|
+
exports.getValidComponent = exports.getCorrectHeight = exports.childrenWithProps = void 0;
|
26
7
|
var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
|
27
|
-
var _getItemId = /*#__PURE__*/require("./getItemId");
|
28
|
-
var _getItemByFocused = /*#__PURE__*/require("./getItemByFocused");
|
29
|
-
var _getPlacement = /*#__PURE__*/require("./getPlacement");
|
30
8
|
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); }
|
31
9
|
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; }
|
32
10
|
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); }
|
@@ -23,7 +23,7 @@ var CloseIconWrapper = exports.CloseIconWrapper = /*#__PURE__*/(0, _styledCompon
|
|
23
23
|
})(["position:absolute;width:1.5rem;height:1.5rem;color:var(", ");:hover{color:var(", ");}&.", "{position:relative;}"], _Notification.tokens.closeIconColor, _Notification.tokens.closeIconColorOnHover, _Notification.classes.horizontal);
|
24
24
|
var Wrapper = exports.Wrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
25
25
|
componentId: "plasma-new-hope__sc-1iufy9r-1"
|
26
|
-
})(["position:relative;box-sizing:border-box;background:var(", ");border-radius:var(", ");&.", "{display:flex;align-items:center;gap:var(", ");}"], _Notification.tokens.background, _Notification.tokens.borderRadius, _Notification.classes.horizontal, _Notification.tokens.horizontalLayoutGap);
|
26
|
+
})(["position:relative;box-sizing:border-box;background:var(", ");border-radius:var(", ");border:var(", ") solid var(", ");&.", "{display:flex;align-items:center;gap:var(", ");}"], _Notification.tokens.background, _Notification.tokens.borderRadius, _Notification.tokens.borderWidth, _Notification.tokens.borderColor, _Notification.classes.horizontal, _Notification.tokens.horizontalLayoutGap);
|
27
27
|
var ButtonsWrapper = exports.ButtonsWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
28
28
|
componentId: "plasma-new-hope__sc-1iufy9r-2"
|
29
29
|
})(["margin-top:var(", ");margin-left:", ";&.", "{margin-top:unset;margin-left:unset;}"], _Notification.tokens.buttonsMarginTop, function (_ref) {
|
@@ -27,6 +27,8 @@ var tokens = exports.tokens = {
|
|
27
27
|
horizontalLayoutPadding: '--plasma-notification-horizontal-layout-padding',
|
28
28
|
width: '--plasma-notification-width',
|
29
29
|
borderRadius: '--plasma-notification-border-radius',
|
30
|
+
borderWidth: '--plasma-notification-border-width',
|
31
|
+
borderColor: '--plasma-notification-border-color',
|
30
32
|
paddingOneLineTextbox: '--plasma-notification-padding-one-line-textbox',
|
31
33
|
horizontalLayoutGap: '--plasma-notification-horizontal-layout-gap',
|
32
34
|
horizontalLayoutLeftIconMargin: '--plasma-notification-horizontal-layout-left-icon-margin',
|
@@ -15,7 +15,6 @@ var _base3 = /*#__PURE__*/require("./variations/_size/base");
|
|
15
15
|
var _Pagination2 = /*#__PURE__*/require("./Pagination.tokens");
|
16
16
|
var _PaginationQuickJumpToPage = /*#__PURE__*/require("./ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage");
|
17
17
|
var _PaginationSelectPerPage = /*#__PURE__*/require("./ui/PaginationSelectPerPage/PaginationSelectPerPage");
|
18
|
-
var _PaginationShorter;
|
19
18
|
var _excluded = ["value", "perPage", "slots", "view", "viewCurrentPage", "type", "size", "pilled", "square", "disabledPages", "count", "hasQuickJump", "hasPerPage", "perPageList", "isCommonButtonStyles", "placeholderQuickJump", "textQuickJump", "textPerPage", "leftContent", "rightContent", "listWidth", "onChangePageValue", "onChangePerPageValue"];
|
20
19
|
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); }
|
21
20
|
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; }
|
@@ -141,10 +140,11 @@ var paginationRoot = exports.paginationRoot = function paginationRoot(Root) {
|
|
141
140
|
}, /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationPages, null, leftContent && /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationButtonGroup, {
|
142
141
|
isCommonButtonStyles: isCommonButtonStyles
|
143
142
|
}, leftContent), sections && sections.map(function (section, indexSection) {
|
144
|
-
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, indexSection !== 0 &&
|
143
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, indexSection !== 0 && /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationShorter, {
|
145
144
|
stretching: "fixed",
|
146
|
-
disabled: true
|
147
|
-
|
145
|
+
disabled: true,
|
146
|
+
className: _Pagination2.classes.buttonDisabled
|
147
|
+
}, "..."), /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationSection, {
|
148
148
|
key: indexSection
|
149
149
|
}, section.map(function (pageValue) {
|
150
150
|
return /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationButton, {
|
@@ -155,7 +155,7 @@ var paginationRoot = exports.paginationRoot = function paginationRoot(Root) {
|
|
155
155
|
return handlerSetPage(pageValue);
|
156
156
|
},
|
157
157
|
disabled: disabled.includes(pageValue),
|
158
|
-
className: (0, _utils.cx)(_Pagination2.classes.paginationPageButton, isActiveButton(pageValue))
|
158
|
+
className: (0, _utils.cx)(_Pagination2.classes.paginationPageButton, isActiveButton(pageValue), disabled.includes(pageValue) ? _Pagination2.classes.buttonDisabled : '')
|
159
159
|
}, pageValue);
|
160
160
|
})));
|
161
161
|
}), rightContent && /*#__PURE__*/_react["default"].createElement(_Pagination.PaginationButtonGroup, {
|
@@ -32,7 +32,7 @@ var PaginationButtonGroup = exports.PaginationButtonGroup = /*#__PURE__*/(0, _st
|
|
32
32
|
})(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");"], _ButtonGroup.buttonGroupTokens.buttonColor, _Pagination.tokens.buttonColor, _ButtonGroup.buttonGroupTokens.buttonBackgroundColor, _Pagination.tokens.buttonBackgroundColor, _ButtonGroup.buttonGroupTokens.buttonColorHover, _Pagination.tokens.buttonHoverColor, _ButtonGroup.buttonGroupTokens.buttonBackgroundColorHover, _Pagination.tokens.buttonBackgroundColorHover, _ButtonGroup.buttonGroupTokens.buttonColorActive, _Pagination.tokens.buttonActiveColor, _ButtonGroup.buttonGroupTokens.buttonBackgroundColorActive, _Pagination.tokens.buttonBackgroundColorActive, _ButtonGroup.buttonGroupTokens.buttonFontFamily, _Pagination.tokens.paginationFontFamily, _ButtonGroup.buttonGroupTokens.buttonFontSize, _Pagination.tokens.paginationFontSize, _ButtonGroup.buttonGroupTokens.buttonFontStyle, _Pagination.tokens.paginationFontStyle, _ButtonGroup.buttonGroupTokens.buttonFontWeight, _Pagination.tokens.paginationFontWeight, _ButtonGroup.buttonGroupTokens.buttonLetterSpacing, _Pagination.tokens.paginationLetterSpacing, _ButtonGroup.buttonGroupTokens.buttonLineHeight, _Pagination.tokens.paginationLineHeight, _ButtonGroup.buttonGroupTokens.buttonWidth, _Pagination.tokens.buttonWidth, _ButtonGroup.buttonGroupTokens.buttonHeight, _Pagination.tokens.buttonHeight, _ButtonGroup.buttonGroupTokens.buttonDefaultRadius, _Pagination.tokens.buttonRadius, _ButtonGroup.buttonGroupTokens.buttonSideRadius, _Pagination.tokens.buttonRadius, _ButtonGroup.buttonGroupTokens.buttonSegmentedRadius, _Pagination.tokens.buttonRadius, _ButtonGroup.buttonGroupTokens.buttonRadiusCircle, _Pagination.tokens.buttonRadius);
|
33
33
|
var PaginationButton = exports.PaginationButton = /*#__PURE__*/(0, _styledComponents["default"])(Button).withConfig({
|
34
34
|
componentId: "plasma-new-hope__sc-13na7gd-5"
|
35
|
-
})(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}:focus{outline:none;}", ""], _Button.buttonTokens.buttonColor, _Pagination.tokens.buttonColor, _Button.buttonTokens.buttonBackgroundColor, _Pagination.tokens.buttonBackgroundColor, _Button.buttonTokens.buttonColorHover, _Pagination.tokens.buttonHoverColor, _Button.buttonTokens.buttonBackgroundColorHover, _Pagination.tokens.buttonBackgroundColorHover, _Button.buttonTokens.buttonColorActive, _Pagination.tokens.buttonActiveColor, _Button.buttonTokens.buttonBackgroundColorActive, _Pagination.tokens.buttonBackgroundColorActive, _Button.buttonTokens.buttonFontFamily, _Pagination.tokens.paginationFontFamily, _Button.buttonTokens.buttonFontSize, _Pagination.tokens.paginationFontSize, _Button.buttonTokens.buttonFontStyle, _Pagination.tokens.paginationFontStyle, _Button.buttonTokens.buttonFontWeight, _Pagination.tokens.paginationFontWeight, _Button.buttonTokens.buttonLetterSpacing, _Pagination.tokens.paginationLetterSpacing, _Button.buttonTokens.buttonLineHeight, _Pagination.tokens.paginationLineHeight, _Button.buttonTokens.buttonWidth, _Pagination.tokens.buttonWidth, _Button.buttonTokens.buttonHeight, _Pagination.tokens.buttonHeight, _Button.buttonTokens.buttonRadius, _Pagination.tokens.buttonRadius, _Button.buttonTokens.buttonDisabledOpacity, _Pagination.tokens.buttonDisabledOpacity, _Button.buttonTokens.buttonFocusColor, _Pagination.tokens.buttonFocusColor, _Pagination.classes.paginationPageButtonActive, _Button.buttonTokens.buttonColor, _Pagination.tokens.paginationCurrentButtonColor, _Button.buttonTokens.buttonBackgroundColor, _Pagination.tokens.paginationCurrentButtonBackgroundColor, _Button.buttonTokens.buttonColorHover, _Pagination.tokens.paginationCurrentButtonHoverColor, _Button.buttonTokens.buttonBackgroundColorHover, _Pagination.tokens.paginationCurrentButtonHoverBackgroundColor, _Button.buttonTokens.buttonColorActive, _Pagination.tokens.paginationCurrentButtonActiveColor, _Button.buttonTokens.buttonBackgroundColorActive, _Pagination.tokens.paginationCurrentButtonActiveBackgroundColor, /*#__PURE__*/(0, _mixins.addFocus)({
|
35
|
+
})(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}&.", "{", ":var(", ",var(", "));", ":var(", ",var(", "));}:focus{outline:none;}", ""], _Button.buttonTokens.buttonColor, _Pagination.tokens.buttonColor, _Button.buttonTokens.buttonBackgroundColor, _Pagination.tokens.buttonBackgroundColor, _Button.buttonTokens.buttonColorHover, _Pagination.tokens.buttonHoverColor, _Button.buttonTokens.buttonBackgroundColorHover, _Pagination.tokens.buttonBackgroundColorHover, _Button.buttonTokens.buttonColorActive, _Pagination.tokens.buttonActiveColor, _Button.buttonTokens.buttonBackgroundColorActive, _Pagination.tokens.buttonBackgroundColorActive, _Button.buttonTokens.buttonFontFamily, _Pagination.tokens.paginationFontFamily, _Button.buttonTokens.buttonFontSize, _Pagination.tokens.paginationFontSize, _Button.buttonTokens.buttonFontStyle, _Pagination.tokens.paginationFontStyle, _Button.buttonTokens.buttonFontWeight, _Pagination.tokens.paginationFontWeight, _Button.buttonTokens.buttonLetterSpacing, _Pagination.tokens.paginationLetterSpacing, _Button.buttonTokens.buttonLineHeight, _Pagination.tokens.paginationLineHeight, _Button.buttonTokens.buttonWidth, _Pagination.tokens.buttonWidth, _Button.buttonTokens.buttonHeight, _Pagination.tokens.buttonHeight, _Button.buttonTokens.buttonRadius, _Pagination.tokens.buttonRadius, _Button.buttonTokens.buttonDisabledOpacity, _Pagination.tokens.buttonDisabledOpacity, _Button.buttonTokens.buttonFocusColor, _Pagination.tokens.buttonFocusColor, _Pagination.classes.paginationPageButtonActive, _Button.buttonTokens.buttonColor, _Pagination.tokens.paginationCurrentButtonColor, _Button.buttonTokens.buttonBackgroundColor, _Pagination.tokens.paginationCurrentButtonBackgroundColor, _Button.buttonTokens.buttonColorHover, _Pagination.tokens.paginationCurrentButtonHoverColor, _Button.buttonTokens.buttonBackgroundColorHover, _Pagination.tokens.paginationCurrentButtonHoverBackgroundColor, _Button.buttonTokens.buttonColorActive, _Pagination.tokens.paginationCurrentButtonActiveColor, _Button.buttonTokens.buttonBackgroundColorActive, _Pagination.tokens.paginationCurrentButtonActiveBackgroundColor, _Pagination.classes.buttonDisabled, _Button.buttonTokens.buttonColor, _Pagination.tokens.paginationDisabledButtonColor, _Pagination.tokens.buttonColor, _Button.buttonTokens.buttonBackgroundColor, _Pagination.tokens.paginationDisabledButtonBackgroundColor, _Pagination.tokens.buttonBackgroundColor, /*#__PURE__*/(0, _mixins.addFocus)({
|
36
36
|
outlineOffset: 'calc(-1 * var(--plasma_private-btn-outline-size))',
|
37
37
|
outlineSize: 'var(--plasma_private-btn-outline-size)',
|
38
38
|
outlineRadius: 'var(--plasma_private-btn-br)',
|
@@ -17,7 +17,8 @@ var classes = exports.classes = {
|
|
17
17
|
withHasPerPageSelect: 'pagination-has-perpage-select',
|
18
18
|
paginationPageButton: 'pagination-page-button',
|
19
19
|
paginationPageButtonActive: 'pagination-page-button-active',
|
20
|
-
paginationIconReverse: 'pagination-icon-reverse'
|
20
|
+
paginationIconReverse: 'pagination-icon-reverse',
|
21
|
+
buttonDisabled: 'pagination-button-disabled'
|
21
22
|
};
|
22
23
|
var tokens = exports.tokens = {
|
23
24
|
paginationWidth: '--plasma-pagination-width',
|
@@ -41,6 +42,8 @@ var tokens = exports.tokens = {
|
|
41
42
|
paginationCurrentButtonHoverColor: '--plasma-pagination-button-current-color-hover',
|
42
43
|
paginationCurrentButtonActiveBackgroundColor: '--plasma-pagination-button-current-bg-color-active',
|
43
44
|
paginationCurrentButtonActiveColor: '--plasma-pagination--button-current-color-active',
|
45
|
+
paginationDisabledButtonColor: '--plasma-pagination--button-color-disabled',
|
46
|
+
paginationDisabledButtonBackgroundColor: '--plasma-pagination--button-bg-color-disabled',
|
44
47
|
buttonDisabledOpacity: '--plasma-pagination-button-disabled-opacity',
|
45
48
|
buttonHeight: '--plasma-pagination-button-height',
|
46
49
|
buttonWidthShorter: '--plasma-pagination-button-width-shorter',
|
@@ -16,7 +16,7 @@ var SelectPerPageRoot = exports.SelectPerPageRoot = /*#__PURE__*/_styledComponen
|
|
16
16
|
})(["display:flex;align-items:center;gap:0.5rem;"]);
|
17
17
|
var SelectPerPageSelect = exports.SelectPerPageSelect = /*#__PURE__*/(0, _styledComponents["default"])(Select).withConfig({
|
18
18
|
componentId: "plasma-new-hope__sc-1g304l9-1"
|
19
|
-
})(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":0.125rem;", ":0.125rem;", ":var(", ");", ":calc(var(", ") - 0.125rem);", ":0 0.375rem 0 0;", ":1.5rem;", ":var(", ");"], _Select.selectTokens.targetButtonColor, _Pagination.tokens.buttonColor, _Select.selectTokens.targetButtonColorHover, _Pagination.tokens.buttonColorHover, _Select.selectTokens.targetButtonColorActive, _Pagination.tokens.buttonColorActive, _Select.selectTokens.targetButtonBackgroundColor, _Pagination.tokens.buttonBackgroundColor, _Select.selectTokens.targetButtonBackgroundColorHover, _Pagination.tokens.buttonBackgroundColorHover, _Select.selectTokens.targetButtonBackgroundColorActive, _Pagination.tokens.buttonBackgroundColorActive, _Select.selectTokens.targetHeight, _Pagination.tokens.buttonHeight, _Select.selectTokens.targetButtonPadding, _Pagination.tokens.selectTargetPadding, _Select.selectTokens.borderRadius, _Pagination.tokens.buttonRadius, _Select.selectTokens.targetButtonArrowColor, _Pagination.tokens.buttonArrowColor, _Select.selectTokens.targetButtonArrowColorHover, _Pagination.tokens.buttonArrowColorHover, _Select.selectTokens.targetButtonArrowColorActive, _Pagination.tokens.buttonArrowColorActive, _Select.selectTokens.targetButtonArrowMargin, _Pagination.tokens.buttonArrowMargin, _Select.selectTokens.padding, _Select.selectTokens.focusOffset, _Select.selectTokens.itemPadding, _Pagination.tokens.selectItemPadding, _Select.selectTokens.itemBorderRadius, _Pagination.tokens.buttonRadius, _Select.selectTokens.itemIconMargin, _Select.selectTokens.itemIconSize, _Select.selectTokens.itemHeight, _Pagination.tokens.selectItemHeight);
|
19
|
+
})(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":0.125rem;", ":0.125rem;", ":var(", ");", ":calc(var(", ") - 0.125rem);", ":0 0.375rem 0 0;", ":1.5rem;", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");"], _Select.selectTokens.targetButtonColor, _Pagination.tokens.buttonColor, _Select.selectTokens.targetButtonColorHover, _Pagination.tokens.buttonColorHover, _Select.selectTokens.targetButtonColorActive, _Pagination.tokens.buttonColorActive, _Select.selectTokens.targetButtonBackgroundColor, _Pagination.tokens.buttonBackgroundColor, _Select.selectTokens.targetButtonBackgroundColorHover, _Pagination.tokens.buttonBackgroundColorHover, _Select.selectTokens.targetButtonBackgroundColorActive, _Pagination.tokens.buttonBackgroundColorActive, _Select.selectTokens.targetHeight, _Pagination.tokens.buttonHeight, _Select.selectTokens.targetButtonPadding, _Pagination.tokens.selectTargetPadding, _Select.selectTokens.borderRadius, _Pagination.tokens.buttonRadius, _Select.selectTokens.targetButtonArrowColor, _Pagination.tokens.buttonArrowColor, _Select.selectTokens.targetButtonArrowColorHover, _Pagination.tokens.buttonArrowColorHover, _Select.selectTokens.targetButtonArrowColorActive, _Pagination.tokens.buttonArrowColorActive, _Select.selectTokens.targetButtonArrowMargin, _Pagination.tokens.buttonArrowMargin, _Select.selectTokens.padding, _Select.selectTokens.focusOffset, _Select.selectTokens.itemPadding, _Pagination.tokens.selectItemPadding, _Select.selectTokens.itemBorderRadius, _Pagination.tokens.buttonRadius, _Select.selectTokens.itemIconMargin, _Select.selectTokens.itemIconSize, _Select.selectTokens.itemHeight, _Pagination.tokens.selectItemHeight, _Select.selectTokens.fontFamily, _Pagination.tokens.paginationFontFamily, _Select.selectTokens.fontSize, _Pagination.tokens.paginationFontSize, _Select.selectTokens.fontStyle, _Pagination.tokens.paginationFontStyle, _Select.selectTokens.fontWeight, _Pagination.tokens.paginationFontWeight, _Select.selectTokens.fontLetterSpacing, _Pagination.tokens.paginationLetterSpacing, _Select.selectTokens.fontLineHeight, _Pagination.tokens.paginationLineHeight);
|
20
20
|
var SelectPerPageTypography = exports.SelectPerPageTypography = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
21
21
|
componentId: "plasma-new-hope__sc-1g304l9-2"
|
22
22
|
})(["font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], _Pagination.tokens.paginationFontFamily, _Pagination.tokens.paginationFontSize, _Pagination.tokens.paginationFontStyle, _Pagination.tokens.paginationFontWeight, _Pagination.tokens.paginationLetterSpacing, _Pagination.tokens.paginationLineHeight);
|
@@ -82,5 +82,11 @@ var tokens = exports.tokens = {
|
|
82
82
|
fontStyle: '--plasma-tab-item-font-style',
|
83
83
|
fontWeight: '--plasma-tab-item-font-weight',
|
84
84
|
letterSpacing: '--plasma-tab-item-letter-spacing',
|
85
|
-
lineHeight: '--plasma-tab-item-lineheight'
|
85
|
+
lineHeight: '--plasma-tab-item-lineheight',
|
86
|
+
valueFontFamily: '--plasma-tab-item-value-font-family',
|
87
|
+
valueFontSize: '--plasma-tab-item-value-font-size',
|
88
|
+
valueFontStyle: '--plasma-tab-item-value-font-style',
|
89
|
+
valueFontWeight: '--plasma-tab-item-value-font-weight',
|
90
|
+
valueLetterSpacing: '--plasma-tab-item-value-letter-spacing',
|
91
|
+
valueLineHeight: '--plasma-tab-item-value-lineheight'
|
86
92
|
};
|
@@ -22,7 +22,7 @@ var StyledContent = exports.StyledContent = /*#__PURE__*/_styledComponents["defa
|
|
22
22
|
})(["display:inline-block;width:fit-content;padding:0 var(", ",var(", "));"], _tokens.tokens.itemContentPaddingClear, _tokens.tokens.itemContentPadding);
|
23
23
|
var TabItemValue = exports.TabItemValue = /*#__PURE__*/_styledComponents["default"].span.withConfig({
|
24
24
|
componentId: "plasma-new-hope__sc-lremls-1"
|
25
|
-
})(["color:var(", ");"], _tokens.tokens.itemValueColor);
|
25
|
+
})(["color:var(", ");font-family:var(", ",var(", "));font-size:var(", ",var(", "));font-style:var(", ",var(", "));font-weight:var(", ",var(", "));letter-spacing:var(", ",var(", "));line-height:var(", ",var(", "));"], _tokens.tokens.itemValueColor, _tokens.tokens.valueFontFamily, _tokens.tokens.fontFamily, _tokens.tokens.valueFontSize, _tokens.tokens.fontSize, _tokens.tokens.valueFontStyle, _tokens.tokens.fontStyle, _tokens.tokens.valueFontWeight, _tokens.tokens.fontWeight, _tokens.tokens.valueLetterSpacing, _tokens.tokens.letterSpacing, _tokens.tokens.valueLineHeight, _tokens.tokens.lineHeight);
|
26
26
|
var RightContent = exports.RightContent = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
27
27
|
componentId: "plasma-new-hope__sc-lremls-2"
|
28
28
|
})(["display:flex;color:inherit;&:hover{color:inherit;}"]);
|
package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js
CHANGED
@@ -24,7 +24,7 @@ var StyledContent = exports.StyledContent = /*#__PURE__*/_styledComponents["defa
|
|
24
24
|
})(["display:inline-block;width:fit-content;padding:0 var(", ",var(", "));"], _tokens.tokens.itemContentPaddingClear, _tokens.tokens.itemContentPadding);
|
25
25
|
var TabItemValue = exports.TabItemValue = /*#__PURE__*/_styledComponents["default"].span.withConfig({
|
26
26
|
componentId: "plasma-new-hope__sc-1pflgj8-1"
|
27
|
-
})(["color:var(", ");"], _tokens.tokens.itemValueColor);
|
27
|
+
})(["color:var(", ");font-family:var(", ",var(", "));font-size:var(", ",var(", "));font-style:var(", ",var(", "));font-weight:var(", ",var(", "));letter-spacing:var(", ",var(", "));line-height:var(", ",var(", "));"], _tokens.tokens.itemValueColor, _tokens.tokens.valueFontFamily, _tokens.tokens.fontFamily, _tokens.tokens.valueFontSize, _tokens.tokens.fontSize, _tokens.tokens.valueFontStyle, _tokens.tokens.fontStyle, _tokens.tokens.valueFontWeight, _tokens.tokens.fontWeight, _tokens.tokens.valueLetterSpacing, _tokens.tokens.letterSpacing, _tokens.tokens.valueLineHeight, _tokens.tokens.lineHeight);
|
28
28
|
var RightContent = exports.RightContent = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
29
29
|
componentId: "plasma-new-hope__sc-1pflgj8-2"
|
30
30
|
})(["display:flex;color:inherit;&:hover{color:inherit;}"]);
|