@salutejs/plasma-new-hope 0.338.0-canary.2271.18277060318.0 → 0.338.0-canary.2271.18468902280.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -8
- package/cjs/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
- package/cjs/components/Autocomplete/Autocomplete.css +11 -11
- package/cjs/components/Calendar/Calendar.tokens.js +1 -0
- package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
- package/cjs/components/Calendar/CalendarBase/CalendarBase.css +4 -4
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +4 -4
- package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.css +4 -4
- package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
- package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +4 -4
- package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
- package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
- package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +4 -4
- package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
- package/cjs/components/Calendar/ui/DateStructureItem/{DateStructureItem.styles_12b03hz.css → DateStructureItem.styles_z3dhwf.css} +1 -1
- package/cjs/components/Chip/Chip.css +7 -7
- package/cjs/components/Chip/Chip.js +6 -4
- package/cjs/components/Chip/Chip.js.map +1 -1
- package/cjs/components/Chip/Chip.styles.js +1 -1
- package/cjs/components/Chip/Chip.styles.js.map +1 -1
- package/{es/components/Chip/Chip.styles_fnd4j5.css → cjs/components/Chip/Chip.styles_d9y94l.css} +1 -1
- package/cjs/components/Chip/Chip.tokens.js +1 -0
- package/cjs/components/Chip/Chip.tokens.js.map +1 -1
- package/cjs/components/Chip/variations/_disabled/base.js +1 -1
- package/cjs/components/Chip/variations/_disabled/base.js.map +1 -1
- package/{es/components/Chip/variations/_disabled/base_rmcs0j.css → cjs/components/Chip/variations/_disabled/base_1j4s925.css} +1 -1
- package/cjs/components/Chip/variations/_readonly/base.js +1 -1
- package/cjs/components/Chip/variations/_readonly/base.js.map +1 -1
- package/{es/components/Chip/variations/_readonly/base_1nfit77.css → cjs/components/Chip/variations/_readonly/base_1xublmy.css} +1 -1
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +12 -12
- package/cjs/components/Combobox/ComboboxNew/Combobox.js +6 -3
- package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
- package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Target/{Target.styles_1c4vtoy.css → Target.styles_ycaw31.css} +1 -1
- package/cjs/components/Combobox/ComboboxOld/Combobox.css +7 -7
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.css +7 -7
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.css +7 -7
- package/cjs/components/DatePicker/DatePicker.tokens.js +3 -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_1fnt3hc.css → DatePickerBase.styles_6x4unn.css} +1 -1
- package/cjs/components/DatePicker/RangeDate/RangeDate.css +19 -19
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +17 -17
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/{RangeDatePopover.styles_160e4y4.css → RangeDatePopover.styles_1wt56uj.css} +2 -2
- package/cjs/components/DatePicker/SingleDate/SingleDate.css +20 -20
- package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
- package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
- package/cjs/components/DatePicker/SingleDate/{SingleDate.styles_15voqba.css → SingleDate.styles_5c37vu.css} +1 -1
- package/cjs/components/Drawer/Drawer.js +4 -1
- package/cjs/components/Drawer/Drawer.js.map +1 -1
- package/cjs/components/Modal/Modal.css +2 -2
- package/cjs/components/Modal/Modal.js +5 -4
- package/cjs/components/Modal/Modal.js.map +1 -1
- package/cjs/components/Pagination/Pagination.css +15 -15
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +15 -15
- package/cjs/components/Popup/Popup.styles.js +3 -2
- package/cjs/components/Popup/Popup.styles.js.map +1 -1
- package/cjs/components/Range/Range.css +11 -11
- package/cjs/components/Select/Select.css +15 -15
- package/cjs/components/Select/Select.js +2 -2
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Select/Select.tokens.js +2 -0
- package/cjs/components/Select/Select.tokens.js.map +1 -1
- package/cjs/components/Select/ui/Target/Target.css +15 -15
- package/cjs/components/Select/ui/Target/Target.js +2 -1
- package/cjs/components/Select/ui/Target/Target.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +15 -15
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +13 -13
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/{Textfield.styles_1mikp58.css → Textfield.styles_19e9015.css} +1 -1
- package/cjs/components/Slider/Slider.css +11 -11
- package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +11 -11
- package/cjs/components/Table/Table.css +15 -15
- package/cjs/components/Table/ui/Cell/Cell.css +15 -15
- package/cjs/components/Table/ui/EditableCell/EditableCell.css +15 -15
- package/cjs/components/Table/ui/HeadCell/HeadCell.css +15 -15
- package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +15 -15
- package/cjs/components/TextField/TextField.js +8 -4
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/cjs/components/TextField/TextField.tokens.js +2 -0
- package/cjs/components/TextField/TextField.tokens.js.map +1 -1
- package/cjs/components/TextField/hooks/useKeyNavigation.js +15 -6
- package/cjs/components/TextField/hooks/useKeyNavigation.js.map +1 -1
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +9 -9
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -1
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
- package/{es/components/TextField/ui/TextFieldChip/TextFieldChip.styles_14q069b.css → cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles_8puilg.css} +1 -1
- package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.css +11 -11
- package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +26 -12
- package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js.map +1 -1
- package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +33 -2
- package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js.map +1 -1
- package/cjs/components/TextField/ui/TextFieldChipNew/{TextFieldChipNew.styles_y9tozi.css → TextFieldChipNew.styles_1hj7e4k.css} +1 -1
- package/cjs/components/TimePicker/TimePicker.css +11 -11
- package/cjs/components/Tree/utils/traverseTree.js +1 -1
- package/cjs/components/Tree/utils/traverseTree.js.map +1 -1
- package/cjs/index.css +27 -27
- package/cjs/index.js +0 -2
- package/cjs/index.js.map +1 -1
- package/emotion/cjs/components/Calendar/Calendar.tokens.js +1 -0
- package/emotion/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +9 -9
- package/emotion/cjs/components/Chip/Chip.js +9 -5
- package/emotion/cjs/components/Chip/Chip.styles.js +9 -9
- package/emotion/cjs/components/Chip/Chip.tokens.js +1 -0
- package/emotion/cjs/components/Chip/variations/_disabled/base.js +2 -1
- package/emotion/cjs/components/Chip/variations/_readonly/base.js +2 -1
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +5 -3
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
- package/emotion/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +2 -2
- package/emotion/cjs/components/DatePicker/DatePicker.tokens.js +3 -0
- package/emotion/cjs/components/DatePicker/DatePickerBase.styles.js +5 -5
- package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +7 -7
- package/emotion/cjs/components/Drawer/Drawer.js +3 -1
- package/emotion/cjs/components/Modal/Modal.js +7 -6
- package/emotion/cjs/components/Popup/Popup.styles.js +13 -13
- package/emotion/cjs/components/Select/Select.js +3 -2
- package/emotion/cjs/components/Select/Select.tokens.js +2 -0
- package/emotion/cjs/components/Select/ui/Target/Target.js +2 -1
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -2
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +9 -9
- package/emotion/cjs/components/TextField/TextField.js +10 -5
- package/emotion/cjs/components/TextField/TextField.tokens.js +2 -0
- package/emotion/cjs/components/TextField/hooks/useKeyNavigation.js +11 -4
- package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
- package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +5 -5
- package/emotion/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +74 -10
- package/emotion/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +18 -5
- package/emotion/cjs/components/Tree/utils/traverseTree.js +1 -1
- package/emotion/cjs/examples/components/Chip/Chip.config.js +14 -14
- package/emotion/cjs/examples/components/Combobox/Combobox.config.js +15 -15
- package/emotion/cjs/examples/components/Select/Select.config.js +24 -24
- package/emotion/cjs/examples/components/TextField/TextField.config.js +23 -23
- package/emotion/cjs/mixins/index.js +0 -1
- package/emotion/es/components/Calendar/Calendar.tokens.js +1 -0
- package/emotion/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +9 -9
- package/emotion/es/components/Chip/Chip.js +9 -5
- package/emotion/es/components/Chip/Chip.styles.js +9 -9
- package/emotion/es/components/Chip/Chip.tokens.js +1 -0
- package/emotion/es/components/Chip/variations/_disabled/base.js +2 -1
- package/emotion/es/components/Chip/variations/_readonly/base.js +2 -1
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +5 -3
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
- package/emotion/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +2 -2
- package/emotion/es/components/DatePicker/DatePicker.tokens.js +3 -0
- package/emotion/es/components/DatePicker/DatePickerBase.styles.js +5 -5
- package/emotion/es/components/DatePicker/SingleDate/SingleDate.styles.js +7 -7
- package/emotion/es/components/Drawer/Drawer.js +3 -1
- package/emotion/es/components/Modal/Modal.js +6 -5
- package/emotion/es/components/Popup/Popup.styles.js +13 -13
- package/emotion/es/components/Select/Select.js +3 -2
- package/emotion/es/components/Select/Select.tokens.js +2 -0
- package/emotion/es/components/Select/ui/Target/Target.js +2 -1
- package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -2
- package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +9 -9
- package/emotion/es/components/TextField/TextField.js +10 -5
- package/emotion/es/components/TextField/TextField.tokens.js +2 -0
- package/emotion/es/components/TextField/hooks/useKeyNavigation.js +11 -4
- package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
- package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +5 -5
- package/emotion/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +74 -10
- package/emotion/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +18 -5
- package/emotion/es/components/Tree/utils/traverseTree.js +1 -1
- package/emotion/es/examples/components/Chip/Chip.config.js +14 -14
- package/emotion/es/examples/components/Combobox/Combobox.config.js +15 -15
- package/emotion/es/examples/components/Select/Select.config.js +24 -24
- package/emotion/es/examples/components/TextField/TextField.config.js +23 -23
- package/emotion/es/mixins/index.js +0 -1
- package/es/_virtual/_rollupPluginBabelHelpers.js +1 -8
- package/es/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
- package/es/components/Autocomplete/Autocomplete.css +11 -11
- package/es/components/Calendar/Calendar.tokens.js +1 -0
- package/es/components/Calendar/Calendar.tokens.js.map +1 -1
- package/es/components/Calendar/CalendarBase/CalendarBase.css +4 -4
- package/es/components/Calendar/CalendarDouble/CalendarDouble.css +4 -4
- package/es/components/Calendar/ui/CalendarDays/CalendarDays.css +4 -4
- package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
- package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +4 -4
- package/es/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
- package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
- package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +4 -4
- package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
- package/es/components/Calendar/ui/DateStructureItem/{DateStructureItem.styles_12b03hz.css → DateStructureItem.styles_z3dhwf.css} +1 -1
- package/es/components/Chip/Chip.css +7 -7
- package/es/components/Chip/Chip.js +6 -4
- package/es/components/Chip/Chip.js.map +1 -1
- package/es/components/Chip/Chip.styles.js +1 -1
- package/es/components/Chip/Chip.styles.js.map +1 -1
- package/{cjs/components/Chip/Chip.styles_fnd4j5.css → es/components/Chip/Chip.styles_d9y94l.css} +1 -1
- package/es/components/Chip/Chip.tokens.js +1 -0
- package/es/components/Chip/Chip.tokens.js.map +1 -1
- package/es/components/Chip/variations/_disabled/base.js +1 -1
- package/es/components/Chip/variations/_disabled/base.js.map +1 -1
- package/{cjs/components/Chip/variations/_disabled/base_rmcs0j.css → es/components/Chip/variations/_disabled/base_1j4s925.css} +1 -1
- package/es/components/Chip/variations/_readonly/base.js +1 -1
- package/es/components/Chip/variations/_readonly/base.js.map +1 -1
- package/{cjs/components/Chip/variations/_readonly/base_1nfit77.css → es/components/Chip/variations/_readonly/base_1xublmy.css} +1 -1
- package/es/components/Combobox/ComboboxNew/Combobox.css +12 -12
- package/es/components/Combobox/ComboboxNew/Combobox.js +6 -3
- package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
- package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Target/{Target.styles_1c4vtoy.css → Target.styles_ycaw31.css} +1 -1
- package/es/components/Combobox/ComboboxOld/Combobox.css +7 -7
- package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.css +7 -7
- package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.css +7 -7
- package/es/components/DatePicker/DatePicker.tokens.js +3 -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_1fnt3hc.css → DatePickerBase.styles_6x4unn.css} +1 -1
- package/es/components/DatePicker/RangeDate/RangeDate.css +19 -19
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +17 -17
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
- package/es/components/DatePicker/RangeDate/RangeDatePopover/{RangeDatePopover.styles_160e4y4.css → RangeDatePopover.styles_1wt56uj.css} +2 -2
- package/es/components/DatePicker/SingleDate/SingleDate.css +20 -20
- package/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
- package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
- package/es/components/DatePicker/SingleDate/{SingleDate.styles_15voqba.css → SingleDate.styles_5c37vu.css} +1 -1
- package/es/components/Drawer/Drawer.js +4 -1
- package/es/components/Drawer/Drawer.js.map +1 -1
- package/es/components/Modal/Modal.css +2 -2
- package/es/components/Modal/Modal.js +5 -4
- package/es/components/Modal/Modal.js.map +1 -1
- package/es/components/Pagination/Pagination.css +15 -15
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +15 -15
- package/es/components/Popup/Popup.styles.js +3 -2
- package/es/components/Popup/Popup.styles.js.map +1 -1
- package/es/components/Range/Range.css +11 -11
- package/es/components/Select/Select.css +15 -15
- package/es/components/Select/Select.js +2 -2
- package/es/components/Select/Select.js.map +1 -1
- package/es/components/Select/Select.tokens.js +2 -0
- package/es/components/Select/Select.tokens.js.map +1 -1
- package/es/components/Select/ui/Target/Target.css +15 -15
- package/es/components/Select/ui/Target/Target.js +2 -1
- package/es/components/Select/ui/Target/Target.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +15 -15
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -2
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +13 -13
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/{Textfield.styles_1mikp58.css → Textfield.styles_19e9015.css} +1 -1
- package/es/components/Slider/Slider.css +11 -11
- package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +11 -11
- package/es/components/Table/Table.css +15 -15
- package/es/components/Table/ui/Cell/Cell.css +15 -15
- package/es/components/Table/ui/EditableCell/EditableCell.css +15 -15
- package/es/components/Table/ui/HeadCell/HeadCell.css +15 -15
- package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +15 -15
- package/es/components/TextField/TextField.js +8 -4
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/components/TextField/TextField.tokens.js +2 -0
- package/es/components/TextField/TextField.tokens.js.map +1 -1
- package/es/components/TextField/hooks/useKeyNavigation.js +15 -6
- package/es/components/TextField/hooks/useKeyNavigation.js.map +1 -1
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +9 -9
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -1
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
- package/{cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles_14q069b.css → es/components/TextField/ui/TextFieldChip/TextFieldChip.styles_8puilg.css} +1 -1
- package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.css +11 -11
- package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +26 -12
- package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js.map +1 -1
- package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +33 -2
- package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js.map +1 -1
- package/es/components/TextField/ui/TextFieldChipNew/{TextFieldChipNew.styles_y9tozi.css → TextFieldChipNew.styles_1hj7e4k.css} +1 -1
- package/es/components/TimePicker/TimePicker.css +11 -11
- package/es/components/Tree/utils/traverseTree.js +1 -1
- package/es/components/Tree/utils/traverseTree.js.map +1 -1
- package/es/index.css +27 -27
- package/es/index.js +0 -1
- package/es/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Calendar/Calendar.tokens.js +1 -0
- package/styled-components/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +8 -7
- package/styled-components/cjs/components/Chip/Chip.js +9 -5
- package/styled-components/cjs/components/Chip/Chip.styles.js +7 -6
- package/styled-components/cjs/components/Chip/Chip.tokens.js +1 -0
- package/styled-components/cjs/components/Chip/variations/_disabled/base.js +6 -2
- package/styled-components/cjs/components/Chip/variations/_readonly/base.js +6 -2
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +5 -3
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
- package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +6 -2
- package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +3 -0
- package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +3 -3
- package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +10 -4
- package/styled-components/cjs/components/Drawer/Drawer.js +3 -1
- package/styled-components/cjs/components/Modal/Modal.js +7 -6
- package/styled-components/cjs/components/Popup/Popup.styles.js +7 -7
- package/styled-components/cjs/components/Select/Select.js +3 -2
- package/styled-components/cjs/components/Select/Select.tokens.js +2 -0
- package/styled-components/cjs/components/Select/ui/Target/Target.js +2 -1
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -2
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +11 -5
- package/styled-components/cjs/components/TextField/TextField.js +9 -4
- package/styled-components/cjs/components/TextField/TextField.tokens.js +2 -0
- package/styled-components/cjs/components/TextField/hooks/useKeyNavigation.js +11 -4
- package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
- package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +5 -3
- package/styled-components/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +74 -10
- package/styled-components/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +28 -5
- package/styled-components/cjs/components/Tree/utils/traverseTree.js +1 -1
- package/styled-components/cjs/examples/components/Chip/Chip.config.js +24 -12
- package/styled-components/cjs/examples/components/Combobox/Combobox.config.js +12 -4
- package/styled-components/cjs/examples/components/Select/Select.config.js +10 -4
- package/styled-components/cjs/examples/components/TextField/TextField.config.js +18 -6
- package/styled-components/cjs/mixins/index.js +0 -1
- package/styled-components/es/components/Calendar/Calendar.tokens.js +1 -0
- package/styled-components/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +8 -7
- package/styled-components/es/components/Chip/Chip.js +9 -5
- package/styled-components/es/components/Chip/Chip.styles.js +7 -6
- package/styled-components/es/components/Chip/Chip.tokens.js +1 -0
- package/styled-components/es/components/Chip/variations/_disabled/base.js +6 -2
- package/styled-components/es/components/Chip/variations/_readonly/base.js +6 -2
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +5 -3
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
- package/styled-components/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +6 -2
- package/styled-components/es/components/DatePicker/DatePicker.tokens.js +3 -0
- package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +3 -3
- package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +10 -4
- package/styled-components/es/components/Drawer/Drawer.js +3 -1
- package/styled-components/es/components/Modal/Modal.js +6 -5
- package/styled-components/es/components/Popup/Popup.styles.js +7 -7
- package/styled-components/es/components/Select/Select.js +3 -2
- package/styled-components/es/components/Select/Select.tokens.js +2 -0
- package/styled-components/es/components/Select/ui/Target/Target.js +2 -1
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -2
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +11 -5
- package/styled-components/es/components/TextField/TextField.js +9 -4
- package/styled-components/es/components/TextField/TextField.tokens.js +2 -0
- package/styled-components/es/components/TextField/hooks/useKeyNavigation.js +11 -4
- package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -0
- package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +5 -3
- package/styled-components/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +74 -10
- package/styled-components/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js +28 -5
- package/styled-components/es/components/Tree/utils/traverseTree.js +1 -1
- package/styled-components/es/examples/components/Chip/Chip.config.js +24 -12
- package/styled-components/es/examples/components/Combobox/Combobox.config.js +12 -4
- package/styled-components/es/examples/components/Combobox/Combobox.js +0 -7
- package/styled-components/es/examples/components/Select/Select.config.js +10 -4
- package/styled-components/es/examples/components/TextField/TextField.config.js +18 -6
- package/styled-components/es/mixins/index.js +0 -1
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts +1 -1
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +8 -8
- package/types/components/Calendar/Calendar.tokens.d.ts +1 -0
- package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
- package/types/components/Chip/Chip.d.ts.map +1 -1
- package/types/components/Chip/Chip.styles.d.ts.map +1 -1
- package/types/components/Chip/Chip.tokens.d.ts +1 -0
- package/types/components/Chip/Chip.tokens.d.ts.map +1 -1
- package/types/components/Chip/Chip.types.d.ts +1 -1
- package/types/components/Chip/variations/_disabled/base.d.ts.map +1 -1
- package/types/components/Chip/variations/_readonly/base.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts +2 -2
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +2 -0
- package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +9 -0
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.d.ts +1 -1
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +8 -8
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
- package/types/components/DatePicker/DatePicker.tokens.d.ts +3 -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/RangeDate/RangeDate.d.ts +6 -6
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +8 -8
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
- package/types/components/Drawer/Drawer.d.ts.map +1 -1
- package/types/components/Modal/Modal.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +12 -6
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
- package/types/components/Popup/Popup.types.d.ts +8 -1
- package/types/components/Popup/Popup.types.d.ts.map +1 -1
- package/types/components/Radiobox/Radiobox.d.ts +2 -2
- package/types/components/Range/Range.styles.d.ts +8 -8
- package/types/components/Select/Select.d.ts.map +1 -1
- package/types/components/Select/Select.tokens.d.ts +2 -0
- package/types/components/Select/Select.tokens.d.ts.map +1 -1
- package/types/components/Select/Select.types.d.ts +7 -0
- package/types/components/Select/Select.types.d.ts.map +1 -1
- package/types/components/Select/ui/Target/Target.d.ts +2 -1
- package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
- package/types/components/Select/ui/Target/Target.types.d.ts +3 -2
- package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +8 -8
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
- package/types/components/Select/utils/getView.d.ts +1 -1
- package/types/components/Slider/components/Double/Double.styles.d.ts +8 -8
- package/types/components/Table/ui/HeadCell/ui/Filter/Filter.styles.d.ts +12 -6
- package/types/components/Table/ui/HeadCell/ui/Filter/Filter.styles.d.ts.map +1 -1
- package/types/components/TextField/TextField.d.ts.map +1 -1
- package/types/components/TextField/TextField.tokens.d.ts +2 -0
- package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
- package/types/components/TextField/hooks/useKeyNavigation.d.ts +11 -2
- package/types/components/TextField/hooks/useKeyNavigation.d.ts.map +1 -1
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +1 -1
- package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.d.ts +2 -1
- package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.d.ts.map +1 -1
- package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.d.ts +3 -1
- package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.d.ts.map +1 -1
- package/types/components/TimePicker/TimePicker.styles.d.ts +8 -8
- package/types/components/Tree/utils/traverseTree.d.ts.map +1 -1
- package/types/examples/components/Autocomplete/Autocomplete.d.ts +8 -8
- package/types/examples/components/Chip/Chip.config.d.ts.map +1 -1
- package/types/examples/components/Combobox/Combobox.config.d.ts.map +1 -1
- package/types/examples/components/Combobox/Combobox.d.ts +24 -0
- package/types/examples/components/Combobox/Combobox.d.ts.map +1 -1
- package/types/examples/components/Combobox/Legacy/Combobox.d.ts +2 -2
- package/types/examples/components/DatePicker/DatePicker.d.ts +3 -3
- package/types/examples/components/Mask/Mask.d.ts +8 -8
- package/types/examples/components/NumberFormat/NumberFormat.d.ts +8 -8
- package/types/examples/components/NumberInput/NumberInput.d.ts +2 -2
- package/types/examples/components/Radiobox/Radiobox.d.ts +2 -2
- package/types/examples/components/Select/Select.config.d.ts.map +1 -1
- package/types/examples/components/Select/Select.d.ts +12 -6
- package/types/examples/components/Select/Select.d.ts.map +1 -1
- package/types/examples/components/TextArea/TextArea.d.ts +8 -8
- package/types/examples/components/TextField/TextField.config.d.ts.map +1 -1
- package/types/examples/components/TextField/TextField.d.ts +8 -8
- package/types/examples/components/Tokens/Colors/Colors.styles.d.ts +1 -1
- package/types/examples/components/Tokens/Typography/Typography.styles.d.ts +1 -1
- package/types/mixins/index.d.ts +0 -1
- package/types/mixins/index.d.ts.map +1 -1
- package/types/types/InputHTMLAttributes.d.ts +9 -3
- package/types/types/InputHTMLAttributes.d.ts.map +1 -1
- package/types/types/TextareaHTMLAttributes.d.ts +9 -3
- package/types/types/TextareaHTMLAttributes.d.ts.map +1 -1
- package/cjs/mixins/applyDisabled.js +0 -22
- package/cjs/mixins/applyDisabled.js.map +0 -1
- package/emotion/cjs/mixins/applyDisabled.js +0 -47
- package/emotion/es/mixins/applyDisabled.js +0 -39
- package/es/mixins/applyDisabled.js +0 -18
- package/es/mixins/applyDisabled.js.map +0 -1
- package/styled-components/cjs/mixins/applyDisabled.js +0 -23
- package/styled-components/es/mixins/applyDisabled.js +0 -15
- package/types/mixins/applyDisabled.d.ts +0 -14
- package/types/mixins/applyDisabled.d.ts.map +0 -1
|
@@ -66,10 +66,10 @@ export var Keys = {
|
|
|
66
66
|
Backspace: 'Backspace'
|
|
67
67
|
};
|
|
68
68
|
export var useKeyNavigation = function(param) {
|
|
69
|
-
var _param_controlledRefs = param.controlledRefs, chipsRefs = _param_controlledRefs.chipsRefs, contentRef = _param_controlledRefs.contentRef, inputRef = _param_controlledRefs.inputRef, disabled = param.disabled, readOnly = param.readOnly, chips = param.chips, enumerationType = param.enumerationType, updateChips = param.updateChips, onChange = param.onChange, onSearch = param.onSearch, _param_onEnterDisabled = param.onEnterDisabled, onEnterDisabled = _param_onEnterDisabled === void 0 ? false : _param_onEnterDisabled;
|
|
69
|
+
var _param_controlledRefs = param.controlledRefs, chipsRefs = _param_controlledRefs.chipsRefs, contentRef = _param_controlledRefs.contentRef, inputRef = _param_controlledRefs.inputRef, disabled = param.disabled, readOnly = param.readOnly, chips = param.chips, newCustomChips = param.newCustomChips, enumerationType = param.enumerationType, updateChips = param.updateChips, onChange = param.onChange, onSearch = param.onSearch, _param_onEnterDisabled = param.onEnterDisabled, onEnterDisabled = _param_onEnterDisabled === void 0 ? false : _param_onEnterDisabled, onChipCloseClick = param.onChipCloseClick;
|
|
70
70
|
var _useState = _sliced_to_array(useState(-1), 2), activeChipIndex = _useState[0], setActiveChipIndex = _useState[1];
|
|
71
71
|
var handleInputKeydown = function(event) {
|
|
72
|
-
var _inputRef_current;
|
|
72
|
+
var _inputRef_current, _inputRef_current1;
|
|
73
73
|
var value = event.target.value;
|
|
74
74
|
if (disabled || readOnly) {
|
|
75
75
|
return;
|
|
@@ -95,7 +95,14 @@ export var useKeyNavigation = function(param) {
|
|
|
95
95
|
onSearch(value, event);
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
if (event.key === Keys.Backspace &&
|
|
98
|
+
if (event.key === Keys.Backspace && (newCustomChips === null || newCustomChips === void 0 ? void 0 : newCustomChips.length) && (inputRef === null || inputRef === void 0 ? void 0 : (_inputRef_current = inputRef.current) === null || _inputRef_current === void 0 ? void 0 : _inputRef_current.selectionStart) === 0) {
|
|
99
|
+
var lastChip = newCustomChips.at(-1);
|
|
100
|
+
if (onChipCloseClick && lastChip) {
|
|
101
|
+
onChipCloseClick(lastChip);
|
|
102
|
+
chipsRefs === null || chipsRefs === void 0 ? void 0 : chipsRefs.current.pop();
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
if (event.key === Keys.Backspace && chips.length && (inputRef === null || inputRef === void 0 ? void 0 : (_inputRef_current1 = inputRef.current) === null || _inputRef_current1 === void 0 ? void 0 : _inputRef_current1.selectionStart) === 0) {
|
|
99
106
|
var newChips1 = _to_consumable_array(chips);
|
|
100
107
|
newChips1 === null || newChips1 === void 0 ? void 0 : newChips1.pop();
|
|
101
108
|
chipsRefs === null || chipsRefs === void 0 ? void 0 : chipsRefs.current.pop();
|
|
@@ -107,7 +114,7 @@ export var useKeyNavigation = function(param) {
|
|
|
107
114
|
}
|
|
108
115
|
};
|
|
109
116
|
var onChipClear = function(clearId, index) {
|
|
110
|
-
if (!chips.length) {
|
|
117
|
+
if (!chips.length && !(newCustomChips === null || newCustomChips === void 0 ? void 0 : newCustomChips.length)) {
|
|
111
118
|
return;
|
|
112
119
|
}
|
|
113
120
|
var newChips = (chips === null || chips === void 0 ? void 0 : chips.filter(function(param) {
|
|
@@ -9,7 +9,7 @@ var Chip = component(mergedConfig);
|
|
|
9
9
|
// NOTE: Необходимое переопределение токенов из компонента Chip т.к. используются его части
|
|
10
10
|
export var StyledChip = styled(Chip).withConfig({
|
|
11
11
|
displayName: "TextFieldChip.styles__StyledChip",
|
|
12
|
-
componentId: "sc-
|
|
12
|
+
componentId: "sc-b645c28d-0"
|
|
13
13
|
})([
|
|
14
14
|
"",
|
|
15
15
|
":var(",
|
|
@@ -61,10 +61,12 @@ export var StyledChip = styled(Chip).withConfig({
|
|
|
61
61
|
":var(",
|
|
62
62
|
");",
|
|
63
63
|
":var(",
|
|
64
|
+
");",
|
|
65
|
+
":var(",
|
|
64
66
|
");scroll-snap-align:center;scroll-snap-stop:normal;",
|
|
65
67
|
" &[readonly]{opacity:var(",
|
|
66
68
|
");}"
|
|
67
|
-
], chipTokens.color, tokens.chipColor, chipTokens.background, tokens.chipBackground, chipTokens.colorHover, tokens.chipColorHover, chipTokens.backgroundHover, tokens.chipBackgroundHover, chipTokens.colorActive, tokens.chipColorActive, chipTokens.backgroundActive, tokens.chipBackgroundActive, chipTokens.backgroundReadOnly, tokens.chipBackgroundReadOnly, chipTokens.colorReadOnly, tokens.chipColorReadOnly, chipTokens.backgroundReadOnlyHover, tokens.chipBackgroundReadOnlyHover, chipTokens.colorReadOnlyHover, tokens.chipColorReadOnlyHover, chipTokens.borderRadius, tokens.chipBorderRadius, chipTokens.width, tokens.chipWidth, chipTokens.height, tokens.chipHeight, chipTokens.padding, tokens.chipPadding, chipTokens.fontFamily, tokens.chipFontFamily, chipTokens.fontSize, tokens.chipFontSize, chipTokens.fontStyle, tokens.chipFontStyle, chipTokens.fontWeight, tokens.chipFontWeight, chipTokens.letterSpacing, tokens.chipLetterSpacing, chipTokens.lineHeight, tokens.chipLineHeight, chipTokens.clearContentMarginLeft, tokens.chipClearContentMarginLeft, chipTokens.clearContentMarginRight, tokens.chipClearContentMarginRight, chipTokens.closeIconSize, tokens.chipCloseIconSize, chipTokens.closeIconColor, tokens.chipCloseIconColor, chipTokens.focusColor, tokens.focusColor, addFocus({
|
|
69
|
+
], chipTokens.color, tokens.chipColor, chipTokens.background, tokens.chipBackground, chipTokens.colorHover, tokens.chipColorHover, chipTokens.backgroundHover, tokens.chipBackgroundHover, chipTokens.colorActive, tokens.chipColorActive, chipTokens.backgroundActive, tokens.chipBackgroundActive, chipTokens.backgroundReadOnly, tokens.chipBackgroundReadOnly, chipTokens.colorReadOnly, tokens.chipColorReadOnly, chipTokens.backgroundReadOnlyHover, tokens.chipBackgroundReadOnlyHover, chipTokens.colorReadOnlyHover, tokens.chipColorReadOnlyHover, chipTokens.borderRadius, tokens.chipBorderRadius, chipTokens.width, tokens.chipWidth, chipTokens.height, tokens.chipHeight, chipTokens.padding, tokens.chipPadding, chipTokens.fontFamily, tokens.chipFontFamily, chipTokens.fontSize, tokens.chipFontSize, chipTokens.fontStyle, tokens.chipFontStyle, chipTokens.fontWeight, tokens.chipFontWeight, chipTokens.letterSpacing, tokens.chipLetterSpacing, chipTokens.lineHeight, tokens.chipLineHeight, chipTokens.clearContentMarginLeft, tokens.chipClearContentMarginLeft, chipTokens.clearContentMarginRight, tokens.chipClearContentMarginRight, chipTokens.closeIconSize, tokens.chipCloseIconSize, chipTokens.closeIconColor, tokens.chipCloseIconColor, chipTokens.closeIconColorHover, tokens.chipCloseIconColorHover, chipTokens.focusColor, tokens.focusColor, addFocus({
|
|
68
70
|
outlineOffset: '0.0625rem',
|
|
69
71
|
outlineSize: '0.0625rem',
|
|
70
72
|
outlineRadius: "calc(var(".concat(tokens.chipBorderRadius, ") - 0.1rem)"),
|
|
@@ -72,7 +74,7 @@ export var StyledChip = styled(Chip).withConfig({
|
|
|
72
74
|
}), tokens.chipOpacityReadonly);
|
|
73
75
|
export var TextChip = styled.button.withConfig({
|
|
74
76
|
displayName: "TextFieldChip.styles__TextChip",
|
|
75
|
-
componentId: "sc-
|
|
77
|
+
componentId: "sc-b645c28d-1"
|
|
76
78
|
})([
|
|
77
79
|
"display:block;flex:none;background:none;border:none;outline:none;padding:0;white-space:nowrap;cursor:pointer;font-family:var(",
|
|
78
80
|
");font-size:var(",
|
|
@@ -1,22 +1,77 @@
|
|
|
1
|
+
function _define_property(obj, key, value) {
|
|
2
|
+
if (key in obj) {
|
|
3
|
+
Object.defineProperty(obj, key, {
|
|
4
|
+
value: value,
|
|
5
|
+
enumerable: true,
|
|
6
|
+
configurable: true,
|
|
7
|
+
writable: true
|
|
8
|
+
});
|
|
9
|
+
} else {
|
|
10
|
+
obj[key] = value;
|
|
11
|
+
}
|
|
12
|
+
return obj;
|
|
13
|
+
}
|
|
14
|
+
function _object_spread(target) {
|
|
15
|
+
for(var i = 1; i < arguments.length; i++){
|
|
16
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
+
var ownKeys = Object.keys(source);
|
|
18
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
ownKeys.forEach(function(key) {
|
|
24
|
+
_define_property(target, key, source[key]);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return target;
|
|
28
|
+
}
|
|
29
|
+
function ownKeys(object, enumerableOnly) {
|
|
30
|
+
var keys = Object.keys(object);
|
|
31
|
+
if (Object.getOwnPropertySymbols) {
|
|
32
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
33
|
+
if (enumerableOnly) {
|
|
34
|
+
symbols = symbols.filter(function(sym) {
|
|
35
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
keys.push.apply(keys, symbols);
|
|
39
|
+
}
|
|
40
|
+
return keys;
|
|
41
|
+
}
|
|
42
|
+
function _object_spread_props(target, source) {
|
|
43
|
+
source = source != null ? source : {};
|
|
44
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
45
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
46
|
+
} else {
|
|
47
|
+
ownKeys(Object(source)).forEach(function(key) {
|
|
48
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
return target;
|
|
52
|
+
}
|
|
1
53
|
import React from "react";
|
|
2
54
|
import { TextChip } from "../TextFieldChip/TextFieldChip.styles";
|
|
3
55
|
import { StyledChips } from "../../TextField.styles";
|
|
4
56
|
import { classes } from "../../TextField.tokens";
|
|
5
57
|
import { StyledChip } from "./TextFieldChipNew.styles";
|
|
6
58
|
export var TextFieldChipNew = function(param) {
|
|
7
|
-
var chips = param.chips,
|
|
59
|
+
var chips = param.chips, onChipCloseClick = param.onChipCloseClick, getRef = param.getRef, handleChipKeyDown = param.handleChipKeyDown, onChipClear = param.onChipClear, readOnly = param.readOnly, chipType = param.chipType, view = param.view, _param_chipClickArea = param.chipClickArea, chipClickArea = _param_chipClickArea === void 0 ? 'full' : _param_chipClickArea, _forceChipManipulationWithReadonly = param._forceChipManipulationWithReadonly;
|
|
8
60
|
return /*#__PURE__*/ React.createElement(StyledChips, {
|
|
9
61
|
className: classes.chipsWrapper
|
|
10
62
|
}, chips.map(function(param, index) {
|
|
11
63
|
var value = param.value, label = param.label, disabled = param.disabled;
|
|
12
64
|
var chipId = "".concat(index, "_").concat(value);
|
|
65
|
+
var handleChipClick = function(event) {
|
|
66
|
+
event.stopPropagation();
|
|
67
|
+
};
|
|
13
68
|
var onKeyDownHandle = function(event) {
|
|
14
69
|
if (handleChipKeyDown) {
|
|
15
70
|
handleChipKeyDown(event, chipId, index);
|
|
16
71
|
}
|
|
17
72
|
if (event.key === 'Enter' || event.key === 'Backspace') {
|
|
18
|
-
if (
|
|
19
|
-
|
|
73
|
+
if (onChipCloseClick) {
|
|
74
|
+
onChipCloseClick({
|
|
20
75
|
value: value,
|
|
21
76
|
label: label,
|
|
22
77
|
disabled: disabled
|
|
@@ -24,10 +79,10 @@ export var TextFieldChipNew = function(param) {
|
|
|
24
79
|
}
|
|
25
80
|
}
|
|
26
81
|
};
|
|
27
|
-
var
|
|
82
|
+
var handleCloseClick = function(event) {
|
|
28
83
|
event.stopPropagation();
|
|
29
|
-
if (
|
|
30
|
-
|
|
84
|
+
if (onChipCloseClick) {
|
|
85
|
+
onChipCloseClick({
|
|
31
86
|
value: value,
|
|
32
87
|
label: label,
|
|
33
88
|
disabled: disabled
|
|
@@ -37,7 +92,7 @@ export var TextFieldChipNew = function(param) {
|
|
|
37
92
|
onChipClear(chipId, index);
|
|
38
93
|
}
|
|
39
94
|
};
|
|
40
|
-
return chipType === 'default' ? /*#__PURE__*/ React.createElement(StyledChip, {
|
|
95
|
+
return chipType === 'default' ? /*#__PURE__*/ React.createElement(StyledChip, _object_spread_props(_object_spread({
|
|
41
96
|
key: chipId,
|
|
42
97
|
ref: function(element) {
|
|
43
98
|
return getRef(element, index);
|
|
@@ -46,17 +101,26 @@ export var TextFieldChipNew = function(param) {
|
|
|
46
101
|
disabled: disabled,
|
|
47
102
|
hasClear: !disabled,
|
|
48
103
|
readOnly: readOnly,
|
|
49
|
-
onClick: handleClick,
|
|
50
104
|
onKeyDown: onKeyDownHandle,
|
|
105
|
+
onClear: function() {
|
|
106
|
+
return onChipClear(chipId, index);
|
|
107
|
+
},
|
|
51
108
|
text: label,
|
|
52
109
|
view: view,
|
|
110
|
+
chipClickArea: chipClickArea
|
|
111
|
+
}, chipClickArea === 'full' ? {
|
|
112
|
+
onClick: handleCloseClick
|
|
113
|
+
} : {
|
|
114
|
+
onClick: handleChipClick,
|
|
115
|
+
onClickClose: handleCloseClick
|
|
116
|
+
}), {
|
|
53
117
|
// TODO: #1547
|
|
54
118
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
55
119
|
// @ts-ignore
|
|
56
120
|
_forceChipManipulationWithReadonly: _forceChipManipulationWithReadonly
|
|
57
|
-
}) : /*#__PURE__*/ React.createElement(TextChip, {
|
|
121
|
+
})) : /*#__PURE__*/ React.createElement(TextChip, {
|
|
58
122
|
tabIndex: -1,
|
|
59
|
-
onClick:
|
|
123
|
+
onClick: handleCloseClick,
|
|
60
124
|
onKeyDown: onKeyDownHandle
|
|
61
125
|
}, label);
|
|
62
126
|
}));
|
package/styled-components/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.styles.js
CHANGED
|
@@ -2,6 +2,7 @@ import styled from "styled-components";
|
|
|
2
2
|
import { component, mergeConfig } from "../../../../engines";
|
|
3
3
|
import { addFocus } from "../../../../mixins";
|
|
4
4
|
import { chipConfig, chipTokens } from "../../../Chip";
|
|
5
|
+
import { StyledContentClear } from "../../../Chip/Chip.styles";
|
|
5
6
|
import { tokens } from "../../TextField.tokens";
|
|
6
7
|
// issue #823
|
|
7
8
|
var mergedConfig = mergeConfig(chipConfig);
|
|
@@ -9,7 +10,7 @@ var Chip = component(mergedConfig);
|
|
|
9
10
|
// NOTE: Необходимое переопределение токенов из компонента Chip т.к. используются его части
|
|
10
11
|
export var StyledChip = styled(Chip).withConfig({
|
|
11
12
|
displayName: "TextFieldChipNew.styles__StyledChip",
|
|
12
|
-
componentId: "sc-
|
|
13
|
+
componentId: "sc-92ebcae4-0"
|
|
13
14
|
})([
|
|
14
15
|
"",
|
|
15
16
|
":var(",
|
|
@@ -62,18 +63,40 @@ export var StyledChip = styled(Chip).withConfig({
|
|
|
62
63
|
");",
|
|
63
64
|
":var(",
|
|
64
65
|
");",
|
|
66
|
+
":var(",
|
|
67
|
+
");",
|
|
68
|
+
":var(",
|
|
69
|
+
");",
|
|
65
70
|
":0.4;",
|
|
66
71
|
" &[readonly]{opacity:var(",
|
|
67
|
-
");}"
|
|
68
|
-
|
|
72
|
+
");}&:not([readonly]):hover,&:not([readonly]):active{color:",
|
|
73
|
+
";background-color:",
|
|
74
|
+
";cursor:",
|
|
75
|
+
";",
|
|
76
|
+
"{color:",
|
|
77
|
+
";:hover{cursor:pointer;color:var(",
|
|
78
|
+
");}}}"
|
|
79
|
+
], chipTokens.color, tokens.chipColor, chipTokens.background, tokens.chipBackground, chipTokens.colorHover, tokens.chipColorHover, chipTokens.backgroundHover, tokens.chipBackgroundHover, chipTokens.colorActive, tokens.chipColorActive, chipTokens.backgroundActive, tokens.chipBackgroundActive, chipTokens.backgroundReadOnly, tokens.chipBackgroundReadOnly, chipTokens.colorReadOnly, tokens.chipColorReadOnly, chipTokens.backgroundReadOnlyHover, tokens.chipBackgroundReadOnlyHover, chipTokens.colorReadOnlyHover, tokens.chipColorReadOnlyHover, chipTokens.borderRadius, tokens.chipBorderRadius, chipTokens.width, tokens.chipWidth, chipTokens.height, tokens.chipHeight, chipTokens.padding, tokens.chipPadding, chipTokens.fontFamily, tokens.chipFontFamily, chipTokens.fontSize, tokens.chipFontSize, chipTokens.fontStyle, tokens.chipFontStyle, chipTokens.fontWeight, tokens.chipFontWeight, chipTokens.letterSpacing, tokens.chipLetterSpacing, chipTokens.lineHeight, tokens.chipLineHeight, chipTokens.clearContentMarginLeft, tokens.chipClearContentMarginLeft, chipTokens.clearContentMarginRight, tokens.chipClearContentMarginRight, chipTokens.closeIconSize, tokens.chipCloseIconSize, chipTokens.closeIconColor, tokens.chipCloseIconColor, chipTokens.closeIconColorHover, tokens.chipCloseIconColorHover, chipTokens.closeIconColorReadonly, tokens.chipCloseIconColorReadonly, chipTokens.focusColor, tokens.focusColor, chipTokens.disabledOpacity, addFocus({
|
|
69
80
|
outlineOffset: '0.0625rem',
|
|
70
81
|
outlineSize: '0.0625rem',
|
|
71
82
|
outlineRadius: "calc(var(".concat(tokens.chipBorderRadius, ") - 0.1rem)"),
|
|
72
83
|
outlineColor: "var(".concat(tokens.focusColor, ")")
|
|
73
|
-
}), tokens.chipOpacityReadonly)
|
|
84
|
+
}), tokens.chipOpacityReadonly, function(param) {
|
|
85
|
+
var chipClickArea = param.chipClickArea;
|
|
86
|
+
return chipClickArea === 'full' ? "var(".concat(tokens.chipColorHover, ")") : "var(".concat(tokens.chipColor, ")");
|
|
87
|
+
}, function(param) {
|
|
88
|
+
var chipClickArea = param.chipClickArea;
|
|
89
|
+
return chipClickArea === 'full' ? "var(".concat(tokens.chipBackgroundHover, ")") : "var(".concat(tokens.chipBackground, ")");
|
|
90
|
+
}, function(param) {
|
|
91
|
+
var chipClickArea = param.chipClickArea;
|
|
92
|
+
return chipClickArea === 'full' ? 'pointer' : 'default';
|
|
93
|
+
}, StyledContentClear, function(param) {
|
|
94
|
+
var chipClickArea = param.chipClickArea;
|
|
95
|
+
return chipClickArea === 'full' ? "var(".concat(tokens.chipCloseIconColorHover, ")") : "var(".concat(tokens.chipCloseIconColor, ")");
|
|
96
|
+
}, tokens.chipCloseIconColorHover);
|
|
74
97
|
export var TextChip = styled.button.withConfig({
|
|
75
98
|
displayName: "TextFieldChipNew.styles__TextChip",
|
|
76
|
-
componentId: "sc-
|
|
99
|
+
componentId: "sc-92ebcae4-1"
|
|
77
100
|
})([
|
|
78
101
|
"display:block;flex:none;background:none;border:none;outline:none;padding:0;white-space:nowrap;cursor:pointer;font-family:var(",
|
|
79
102
|
");font-size:var(",
|
|
@@ -73,7 +73,7 @@ var deepCopy = function(obj) {
|
|
|
73
73
|
return deepCopy(item);
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
|
-
if (obj
|
|
76
|
+
if (obj.$$typeof === Symbol.for('react.element') || obj.$$typeof === Symbol.for('react.fragment') || _type_of(obj === null || obj === void 0 ? void 0 : obj.$$typeof) === 'symbol') {
|
|
77
77
|
return obj;
|
|
78
78
|
}
|
|
79
79
|
return Object.fromEntries(Object.entries(obj).map(function(param) {
|
|
@@ -19,8 +19,10 @@ export var config = {
|
|
|
19
19
|
":var(--surface-solid-default);",
|
|
20
20
|
":var(--inverse-text-primary);",
|
|
21
21
|
":var(--surface-solid-default);",
|
|
22
|
-
":var(--inverse-text-primary);"
|
|
23
|
-
|
|
22
|
+
":var(--inverse-text-primary);",
|
|
23
|
+
":var(--inverse-text-secondary);",
|
|
24
|
+
":var(--inverse-text-secondary-hover);"
|
|
25
|
+
], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.closeIconColorHover),
|
|
24
26
|
secondary: css([
|
|
25
27
|
"",
|
|
26
28
|
":var(--text-primary);",
|
|
@@ -32,8 +34,10 @@ export var config = {
|
|
|
32
34
|
":var(--surface-transparent-secondary);",
|
|
33
35
|
":var(--text-primary);",
|
|
34
36
|
":var(--surface-transparent-secondary);",
|
|
35
|
-
":var(--text-primary);"
|
|
36
|
-
|
|
37
|
+
":var(--text-primary);",
|
|
38
|
+
":var(--text-secondary);",
|
|
39
|
+
":var(--text-secondary-hover);"
|
|
40
|
+
], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.closeIconColorHover),
|
|
37
41
|
accent: css([
|
|
38
42
|
"",
|
|
39
43
|
":var(--on-dark-text-primary);",
|
|
@@ -45,8 +49,10 @@ export var config = {
|
|
|
45
49
|
":var(--surface-accent);",
|
|
46
50
|
":var(--on-dark-text-primary);",
|
|
47
51
|
":var(--surface-accent);",
|
|
48
|
-
":var(--on-dark-text-primary);"
|
|
49
|
-
|
|
52
|
+
":var(--on-dark-text-primary);",
|
|
53
|
+
":var(--on-dark-text-secondary);",
|
|
54
|
+
":var(--on-dark-text-secondary-hover);"
|
|
55
|
+
], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.closeIconColorHover),
|
|
50
56
|
positive: css([
|
|
51
57
|
"",
|
|
52
58
|
":var(--on-dark-text-primary);",
|
|
@@ -58,8 +64,10 @@ export var config = {
|
|
|
58
64
|
":var(--surface-positive);",
|
|
59
65
|
":var(--on-dark-text-primary);",
|
|
60
66
|
":var(--surface-positive);",
|
|
61
|
-
":var(--on-dark-text-primary);"
|
|
62
|
-
|
|
67
|
+
":var(--on-dark-text-primary);",
|
|
68
|
+
":var(--on-dark-text-secondary);",
|
|
69
|
+
":var(--on-dark-text-secondary-hover);"
|
|
70
|
+
], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.closeIconColorHover),
|
|
63
71
|
warning: css([
|
|
64
72
|
"",
|
|
65
73
|
":var(--on-dark-text-primary);",
|
|
@@ -71,8 +79,10 @@ export var config = {
|
|
|
71
79
|
":var(--surface-warning);",
|
|
72
80
|
":var(--on-dark-text-primary);",
|
|
73
81
|
":var(--surface-warning);",
|
|
74
|
-
":var(--on-dark-text-primary);"
|
|
75
|
-
|
|
82
|
+
":var(--on-dark-text-primary);",
|
|
83
|
+
":var(--on-dark-text-secondary);",
|
|
84
|
+
":var(--on-dark-text-secondary-hover);"
|
|
85
|
+
], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.closeIconColorHover),
|
|
76
86
|
negative: css([
|
|
77
87
|
"",
|
|
78
88
|
":var(--on-dark-text-primary);",
|
|
@@ -84,8 +94,10 @@ export var config = {
|
|
|
84
94
|
":var(--surface-negative);",
|
|
85
95
|
":var(--on-dark-text-primary);",
|
|
86
96
|
":var(--surface-negative);",
|
|
87
|
-
":var(--on-dark-text-primary);"
|
|
88
|
-
|
|
97
|
+
":var(--on-dark-text-primary);",
|
|
98
|
+
":var(--on-dark-text-secondary);",
|
|
99
|
+
":var(--on-dark-text-secondary-hover);"
|
|
100
|
+
], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover, chipTokens.closeIconColor, chipTokens.closeIconColorHover)
|
|
89
101
|
},
|
|
90
102
|
size: {
|
|
91
103
|
l: css([
|
|
@@ -30,6 +30,8 @@ export var config = {
|
|
|
30
30
|
":var(--surface-negative);",
|
|
31
31
|
":var(--text-tertiary);",
|
|
32
32
|
":var(--text-secondary);",
|
|
33
|
+
":var(--text-secondary-hover);",
|
|
34
|
+
":var(--text-secondary);",
|
|
33
35
|
":var(--text-primary);",
|
|
34
36
|
":var(--surface-transparent-secondary);",
|
|
35
37
|
":var(--text-primary);",
|
|
@@ -51,7 +53,7 @@ export var config = {
|
|
|
51
53
|
":var(--on-dark-text-primary);",
|
|
52
54
|
":transparent;",
|
|
53
55
|
":var(--text-secondary);"
|
|
54
|
-
], tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.textFieldHintIconColor, tokens.dividerColor, tokens.itemIconColor, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderColor),
|
|
56
|
+
], tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipCloseIconColorHover, tokens.textFieldChipCloseIconColorReadonly, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.textFieldHintIconColor, tokens.dividerColor, tokens.itemIconColor, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderColor),
|
|
55
57
|
positive: css([
|
|
56
58
|
"",
|
|
57
59
|
":var(--text-primary);",
|
|
@@ -74,6 +76,8 @@ export var config = {
|
|
|
74
76
|
":var(--surface-negative);",
|
|
75
77
|
":var(--text-tertiary);",
|
|
76
78
|
":var(--text-secondary);",
|
|
79
|
+
":var(--text-secondary-hover);",
|
|
80
|
+
":var(--text-secondary);",
|
|
77
81
|
":var(--text-primary);",
|
|
78
82
|
":var(--surface-transparent-secondary);",
|
|
79
83
|
":var(--text-primary);",
|
|
@@ -95,7 +99,7 @@ export var config = {
|
|
|
95
99
|
":var(--on-dark-text-primary);",
|
|
96
100
|
":transparent;",
|
|
97
101
|
":var(--text-secondary);"
|
|
98
|
-
], tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.textFieldHintIconColor, tokens.dividerColor, tokens.itemIconColor, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderColor),
|
|
102
|
+
], tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipCloseIconColorHover, tokens.textFieldChipCloseIconColorReadonly, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.textFieldHintIconColor, tokens.dividerColor, tokens.itemIconColor, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderColor),
|
|
99
103
|
warning: css([
|
|
100
104
|
"",
|
|
101
105
|
":var(--text-primary);",
|
|
@@ -118,6 +122,8 @@ export var config = {
|
|
|
118
122
|
":var(--surface-negative);",
|
|
119
123
|
":var(--text-tertiary);",
|
|
120
124
|
":var(--text-secondary);",
|
|
125
|
+
":var(--text-secondary-hover);",
|
|
126
|
+
":var(--text-secondary);",
|
|
121
127
|
":var(--text-primary);",
|
|
122
128
|
":var(--surface-transparent-secondary);",
|
|
123
129
|
":var(--text-primary);",
|
|
@@ -139,7 +145,7 @@ export var config = {
|
|
|
139
145
|
":var(--on-dark-text-primary);",
|
|
140
146
|
":transparent;",
|
|
141
147
|
":var(--text-secondary);"
|
|
142
|
-
], tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.textFieldHintIconColor, tokens.dividerColor, tokens.itemIconColor, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderColor),
|
|
148
|
+
], tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipCloseIconColorHover, tokens.textFieldChipCloseIconColorReadonly, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.textFieldHintIconColor, tokens.dividerColor, tokens.itemIconColor, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderColor),
|
|
143
149
|
negative: css([
|
|
144
150
|
"",
|
|
145
151
|
":var(--text-primary);",
|
|
@@ -162,6 +168,8 @@ export var config = {
|
|
|
162
168
|
":var(--surface-negative);",
|
|
163
169
|
":var(--text-tertiary);",
|
|
164
170
|
":var(--text-secondary);",
|
|
171
|
+
":var(--text-secondary-hover);",
|
|
172
|
+
":var(--text-secondary);",
|
|
165
173
|
":var(--text-primary);",
|
|
166
174
|
":var(--surface-transparent-secondary);",
|
|
167
175
|
":var(--text-primary);",
|
|
@@ -183,7 +191,7 @@ export var config = {
|
|
|
183
191
|
":var(--on-dark-text-primary);",
|
|
184
192
|
":transparent;",
|
|
185
193
|
":var(--text-secondary);"
|
|
186
|
-
], tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.textFieldHintIconColor, tokens.dividerColor, tokens.itemIconColor, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderColor)
|
|
194
|
+
], tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipCloseIconColorHover, tokens.textFieldChipCloseIconColorReadonly, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.textFieldHintIconColor, tokens.dividerColor, tokens.itemIconColor, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderColor)
|
|
187
195
|
},
|
|
188
196
|
size: {
|
|
189
197
|
l: css([
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { component, mergeConfig } from "../../../engines";
|
|
2
|
-
import { comboboxNewConfig } from "../../..";
|
|
3
|
-
import { config } from "./Combobox.config";
|
|
4
|
-
var mergedConfig = mergeConfig(comboboxNewConfig, config);
|
|
5
|
-
var ComboboxComponent = component(mergedConfig);
|
|
6
|
-
var Combobox = ComboboxComponent;
|
|
7
|
-
export { Combobox };
|
|
@@ -747,37 +747,43 @@ export var config = {
|
|
|
747
747
|
":var(--inverse-text-primary);",
|
|
748
748
|
":var(--surface-solid-default);",
|
|
749
749
|
":var(--surface-solid-default-hover);",
|
|
750
|
+
":var(--inverse-text-secondary);",
|
|
751
|
+
":var(--inverse-text-secondary);",
|
|
750
752
|
":var(--inverse-text-primary);",
|
|
751
753
|
":var(--surface-solid-default);",
|
|
752
754
|
":var(--inverse-text-primary);",
|
|
753
755
|
":var(--surface-solid-default);",
|
|
754
756
|
":var(--inverse-text-primary);",
|
|
755
757
|
":1;"
|
|
756
|
-
], tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly),
|
|
758
|
+
], tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipCloseIconColorReadonly, tokens.textFieldChipCloseIconColorHover, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly),
|
|
757
759
|
secondary: css([
|
|
758
760
|
"",
|
|
759
761
|
":var(--text-primary);",
|
|
760
762
|
":var(--surface-transparent-secondary);",
|
|
761
763
|
":var(--surface-transparent-secondary-hover);",
|
|
762
|
-
":var(--text-
|
|
764
|
+
":var(--text-secondary);",
|
|
765
|
+
":var(--text-secondary-hover);",
|
|
766
|
+
":var(--text-secondary);",
|
|
763
767
|
":var(--surface-transparent-secondary);",
|
|
764
768
|
":var(--text-primary);",
|
|
765
769
|
":var(--surface-transparent-secondary);",
|
|
766
770
|
":var(--text-primary);",
|
|
767
771
|
":1;"
|
|
768
|
-
], tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly),
|
|
772
|
+
], tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipCloseIconColorHover, tokens.textFieldChipCloseIconColorReadonly, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly),
|
|
769
773
|
accent: css([
|
|
770
774
|
"",
|
|
771
775
|
":var(--on-dark-text-primary);",
|
|
772
776
|
":var(--surface-accent);",
|
|
773
777
|
":var(--surface-accent-hover);",
|
|
778
|
+
":var(--on-dark-text-secondary);",
|
|
779
|
+
":var(--on-dark-text-secondary);",
|
|
774
780
|
":var(--on-dark-text-primary);",
|
|
775
781
|
":var(--surface-accent);",
|
|
776
782
|
":var(--on-dark-text-primary);",
|
|
777
783
|
":var(--surface-accent);",
|
|
778
784
|
":var(--on-dark-text-primary);",
|
|
779
785
|
":1;"
|
|
780
|
-
], tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly)
|
|
786
|
+
], tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipCloseIconColorReadonly, tokens.textFieldChipCloseIconColorHover, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly)
|
|
781
787
|
},
|
|
782
788
|
hintView: {
|
|
783
789
|
default: css([
|
|
@@ -520,8 +520,10 @@ export var config = {
|
|
|
520
520
|
":var(--surface-solid-default);",
|
|
521
521
|
":var(--inverse-text-primary);",
|
|
522
522
|
":var(--inverse-text-secondary);",
|
|
523
|
+
":var(--inverse-text-secondary);",
|
|
524
|
+
":var(--inverse-text-secondary-hover);",
|
|
523
525
|
":1;"
|
|
524
|
-
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
|
|
526
|
+
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipCloseIconColorReadonly, tokens.chipCloseIconColorHover, tokens.chipOpacityReadonly),
|
|
525
527
|
secondary: css([
|
|
526
528
|
"",
|
|
527
529
|
":var(--text-primary);",
|
|
@@ -535,8 +537,10 @@ export var config = {
|
|
|
535
537
|
":var(--surface-transparent-secondary);",
|
|
536
538
|
":var(--text-primary);",
|
|
537
539
|
":var(--text-secondary);",
|
|
540
|
+
":var(--text-secondary);",
|
|
541
|
+
":var(--text-secondary-hover);",
|
|
538
542
|
":1;"
|
|
539
|
-
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
|
|
543
|
+
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipCloseIconColorReadonly, tokens.chipCloseIconColorHover, tokens.chipOpacityReadonly),
|
|
540
544
|
accent: css([
|
|
541
545
|
"",
|
|
542
546
|
":var(--on-dark-text-primary);",
|
|
@@ -550,8 +554,10 @@ export var config = {
|
|
|
550
554
|
":var(--surface-accent);",
|
|
551
555
|
":var(--on-dark-text-primary);",
|
|
552
556
|
":var(--on-dark-text-secondary);",
|
|
557
|
+
":var(--on-dark-text-secondary);",
|
|
558
|
+
":var(--on-dark-text-secondary-hover);",
|
|
553
559
|
":1;"
|
|
554
|
-
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
|
|
560
|
+
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipCloseIconColorReadonly, tokens.chipCloseIconColorHover, tokens.chipOpacityReadonly),
|
|
555
561
|
positive: css([
|
|
556
562
|
"",
|
|
557
563
|
":var(--on-dark-text-primary);",
|
|
@@ -565,8 +571,10 @@ export var config = {
|
|
|
565
571
|
":var(--surface-positive);",
|
|
566
572
|
":var(--on-dark-text-primary);",
|
|
567
573
|
":var(--on-dark-text-secondary);",
|
|
574
|
+
":var(--on-dark-text-secondary);",
|
|
575
|
+
":var(--on-dark-text-secondary-hover);",
|
|
568
576
|
":1;"
|
|
569
|
-
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
|
|
577
|
+
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipCloseIconColorReadonly, tokens.chipCloseIconColorHover, tokens.chipOpacityReadonly),
|
|
570
578
|
warning: css([
|
|
571
579
|
"",
|
|
572
580
|
":var(--on-dark-text-primary);",
|
|
@@ -580,8 +588,10 @@ export var config = {
|
|
|
580
588
|
":var(--surface-warning);",
|
|
581
589
|
":var(--on-dark-text-primary);",
|
|
582
590
|
":var(--on-dark-text-secondary);",
|
|
591
|
+
":var(--on-dark-text-secondary);",
|
|
592
|
+
":var(--on-dark-text-secondary-hover);",
|
|
583
593
|
":1;"
|
|
584
|
-
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly),
|
|
594
|
+
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipCloseIconColorReadonly, tokens.chipCloseIconColorHover, tokens.chipOpacityReadonly),
|
|
585
595
|
negative: css([
|
|
586
596
|
"",
|
|
587
597
|
":var(--on-dark-text-primary);",
|
|
@@ -595,8 +605,10 @@ export var config = {
|
|
|
595
605
|
":var(--surface-negative);",
|
|
596
606
|
":var(--on-dark-text-primary);",
|
|
597
607
|
":var(--on-dark-text-secondary);",
|
|
608
|
+
":var(--on-dark-text-secondary);",
|
|
609
|
+
":var(--on-dark-text-secondary-hover);",
|
|
598
610
|
":1;"
|
|
599
|
-
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipOpacityReadonly)
|
|
611
|
+
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipCloseIconColorReadonly, tokens.chipCloseIconColorHover, tokens.chipOpacityReadonly)
|
|
600
612
|
},
|
|
601
613
|
hintView: {
|
|
602
614
|
default: css([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const AccordionItem: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "
|
|
2
|
+
export declare const AccordionItem: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "onChange" | "title"> & {
|
|
3
3
|
value?: boolean;
|
|
4
4
|
type?: "clear" | "arrow" | "sign";
|
|
5
5
|
contentLeft?: React.ReactNode;
|