@salutejs/plasma-new-hope 0.337.0-canary.2184.18005913845.0 → 0.337.0-canary.2237.17801180282.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/components/Autocomplete/Autocomplete.css +9 -9
- package/cjs/components/Chip/Chip.css +5 -5
- package/cjs/components/Chip/Chip.js +4 -2
- 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/cjs/components/Chip/{Chip.styles_fnd4j5.css → Chip.styles_d9y94l.css} +1 -1
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +10 -10
- package/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -1
- package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -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/{es/components/Combobox/ComboboxNew/ui/Target/Target.styles_13wbfyq.css → cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles_11eakiz.css} +1 -1
- package/cjs/components/Combobox/ComboboxOld/Combobox.css +5 -5
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.css +5 -5
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.css +5 -5
- package/cjs/components/DatePicker/RangeDate/RangeDate.css +9 -9
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +9 -9
- package/cjs/components/DatePicker/SingleDate/SingleDate.css +9 -9
- package/cjs/components/InformationWrapper/InformationWrapper.css +2 -2
- package/cjs/components/InformationWrapper/ui/Label/Label.css +2 -2
- package/cjs/components/Modal/Modal.js +2 -4
- package/cjs/components/Modal/Modal.js.map +1 -1
- package/cjs/components/Note/Note.css +1 -1
- package/cjs/components/Note/Note.js +1 -1
- package/cjs/components/Note/Note.js.map +1 -1
- package/cjs/components/Note/variations/_size/base.js +1 -1
- package/cjs/components/Note/variations/_size/base.js.map +1 -1
- package/{es/components/Note/variations/_size/base_12cn7f7.css → cjs/components/Note/variations/_size/base_111wwzs.css} +1 -1
- package/cjs/components/Pagination/Pagination.css +13 -13
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +13 -13
- package/cjs/components/Range/Range.css +9 -9
- package/cjs/components/Select/Select.css +13 -13
- package/cjs/components/Select/Select.tokens.js +1 -0
- package/cjs/components/Select/Select.tokens.js.map +1 -1
- package/cjs/components/Select/ui/Target/Target.css +13 -13
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +13 -13
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
- 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/{es/components/Select/ui/Target/ui/Textfield/Textfield.styles_1mikp58.css → cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_1jxlt0y.css} +1 -1
- package/cjs/components/Slider/Slider.css +9 -9
- package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +9 -9
- package/cjs/components/Table/Table.css +13 -13
- package/cjs/components/Table/ui/Cell/Cell.css +13 -13
- package/cjs/components/Table/ui/EditableCell/EditableCell.css +13 -13
- package/cjs/components/Table/ui/HeadCell/HeadCell.css +13 -13
- package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +13 -13
- package/cjs/components/TextArea/ui/Hint/Hint.css +2 -2
- package/cjs/components/TextField/TextField.js +6 -4
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/cjs/components/TextField/TextField.tokens.js +1 -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/Hint/Hint.css +2 -2
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +8 -8
- 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/cjs/components/TextField/ui/TextFieldChip/{TextFieldChip.styles_14q069b.css → TextFieldChip.styles_8puilg.css} +1 -1
- package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.css +9 -9
- package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +15 -8
- package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js.map +1 -1
- package/cjs/components/Tooltip/Tooltip.styles.js +5 -5
- package/cjs/components/Tooltip/Tooltip.styles.js.map +1 -1
- package/cjs/components/Tooltip/Tooltip.styles_1bh0sd0.css +2 -0
- package/cjs/hooks/useFocusTrap.js +5 -11
- package/cjs/hooks/useFocusTrap.js.map +1 -1
- package/cjs/index.css +15 -32
- package/cjs/index.js +0 -6
- package/cjs/index.js.map +1 -1
- package/cjs/utils/scopeTab.js +2 -2
- package/cjs/utils/scopeTab.js.map +1 -1
- package/emotion/cjs/components/Chip/Chip.js +4 -2
- package/emotion/cjs/components/Chip/Chip.styles.js +9 -9
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -1
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
- package/emotion/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +2 -2
- package/emotion/cjs/components/Modal/Modal.js +2 -3
- package/emotion/cjs/components/Note/Note.js +1 -1
- package/emotion/cjs/components/Note/variations/_size/base.js +1 -1
- package/emotion/cjs/components/Select/Select.tokens.js +1 -0
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +9 -9
- package/emotion/cjs/components/TextField/TextField.js +7 -5
- package/emotion/cjs/components/TextField/TextField.tokens.js +1 -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 +15 -8
- package/emotion/cjs/components/Tooltip/Tooltip.styles.js +5 -5
- 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/hooks/useFocusTrap.js +5 -12
- package/emotion/cjs/index.js +0 -1
- package/emotion/cjs/utils/scopeTab.js +2 -2
- package/emotion/es/components/Chip/Chip.js +4 -2
- package/emotion/es/components/Chip/Chip.styles.js +9 -9
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +1 -1
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
- package/emotion/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +2 -2
- package/emotion/es/components/Modal/Modal.js +2 -3
- package/emotion/es/components/Note/Note.js +1 -1
- package/emotion/es/components/Note/variations/_size/base.js +1 -1
- package/emotion/es/components/Select/Select.tokens.js +1 -0
- package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
- package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +9 -9
- package/emotion/es/components/TextField/TextField.js +7 -5
- package/emotion/es/components/TextField/TextField.tokens.js +1 -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 +15 -8
- package/emotion/es/components/Tooltip/Tooltip.styles.js +5 -5
- 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/Combobox/Combobox.js +7 -0
- 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/hooks/useFocusTrap.js +5 -12
- package/emotion/es/index.js +0 -1
- package/emotion/es/utils/scopeTab.js +2 -2
- package/es/components/Autocomplete/Autocomplete.css +9 -9
- package/es/components/Chip/Chip.css +5 -5
- package/es/components/Chip/Chip.js +4 -2
- 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/es/components/Chip/{Chip.styles_fnd4j5.css → Chip.styles_d9y94l.css} +1 -1
- package/es/components/Combobox/ComboboxNew/Combobox.css +10 -10
- package/es/components/Combobox/ComboboxNew/Combobox.js +1 -1
- package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -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/{cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles_13wbfyq.css → es/components/Combobox/ComboboxNew/ui/Target/Target.styles_11eakiz.css} +1 -1
- package/es/components/Combobox/ComboboxOld/Combobox.css +5 -5
- package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.css +5 -5
- package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.css +5 -5
- package/es/components/DatePicker/RangeDate/RangeDate.css +9 -9
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +9 -9
- package/es/components/DatePicker/SingleDate/SingleDate.css +9 -9
- package/es/components/InformationWrapper/InformationWrapper.css +2 -2
- package/es/components/InformationWrapper/ui/Label/Label.css +2 -2
- package/es/components/Modal/Modal.js +2 -4
- package/es/components/Modal/Modal.js.map +1 -1
- package/es/components/Note/Note.css +1 -1
- package/es/components/Note/Note.js +1 -1
- package/es/components/Note/Note.js.map +1 -1
- package/es/components/Note/variations/_size/base.js +1 -1
- package/es/components/Note/variations/_size/base.js.map +1 -1
- package/{cjs/components/Note/variations/_size/base_12cn7f7.css → es/components/Note/variations/_size/base_111wwzs.css} +1 -1
- package/es/components/Pagination/Pagination.css +13 -13
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +13 -13
- package/es/components/Range/Range.css +9 -9
- package/es/components/Select/Select.css +13 -13
- package/es/components/Select/Select.tokens.js +1 -0
- package/es/components/Select/Select.tokens.js.map +1 -1
- package/es/components/Select/ui/Target/Target.css +13 -13
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +13 -13
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
- 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/{cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_1mikp58.css → es/components/Select/ui/Target/ui/Textfield/Textfield.styles_1jxlt0y.css} +1 -1
- package/es/components/Slider/Slider.css +9 -9
- package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +9 -9
- package/es/components/Table/Table.css +13 -13
- package/es/components/Table/ui/Cell/Cell.css +13 -13
- package/es/components/Table/ui/EditableCell/EditableCell.css +13 -13
- package/es/components/Table/ui/HeadCell/HeadCell.css +13 -13
- package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +13 -13
- package/es/components/TextArea/ui/Hint/Hint.css +2 -2
- package/es/components/TextField/TextField.js +6 -4
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/components/TextField/TextField.tokens.js +1 -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/Hint/Hint.css +2 -2
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +8 -8
- 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/es/components/TextField/ui/TextFieldChip/{TextFieldChip.styles_14q069b.css → TextFieldChip.styles_8puilg.css} +1 -1
- package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.css +9 -9
- package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js +15 -8
- package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.js.map +1 -1
- package/es/components/Tooltip/Tooltip.styles.js +5 -5
- package/es/components/Tooltip/Tooltip.styles.js.map +1 -1
- package/es/components/Tooltip/Tooltip.styles_1bh0sd0.css +2 -0
- package/es/hooks/useFocusTrap.js +5 -11
- package/es/hooks/useFocusTrap.js.map +1 -1
- package/es/index.css +15 -32
- package/es/index.js +0 -2
- package/es/index.js.map +1 -1
- package/es/utils/scopeTab.js +2 -2
- package/es/utils/scopeTab.js.map +1 -1
- package/package.json +5 -5
- package/styled-components/cjs/components/Chip/Chip.js +4 -2
- package/styled-components/cjs/components/Chip/Chip.styles.js +7 -6
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -1
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
- package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +4 -2
- package/styled-components/cjs/components/Modal/Modal.js +2 -3
- package/styled-components/cjs/components/Note/Note.js +1 -1
- package/styled-components/cjs/components/Note/variations/_size/base.js +1 -1
- package/styled-components/cjs/components/Select/Select.tokens.js +1 -0
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +7 -5
- package/styled-components/cjs/components/TextField/TextField.js +6 -4
- package/styled-components/cjs/components/TextField/TextField.tokens.js +1 -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 +15 -8
- package/styled-components/cjs/components/Tooltip/Tooltip.styles.js +9 -9
- package/styled-components/cjs/examples/components/Chip/Chip.config.js +18 -6
- package/styled-components/cjs/examples/components/Combobox/Combobox.config.js +8 -4
- package/styled-components/cjs/examples/components/Combobox/Combobox.js +15 -0
- package/styled-components/cjs/examples/components/Select/Select.config.js +6 -3
- package/styled-components/cjs/examples/components/TextField/TextField.config.js +10 -5
- package/styled-components/cjs/hooks/useFocusTrap.js +5 -12
- package/styled-components/cjs/index.js +0 -1
- package/styled-components/cjs/utils/scopeTab.js +2 -2
- package/styled-components/es/components/Chip/Chip.js +4 -2
- package/styled-components/es/components/Chip/Chip.styles.js +7 -6
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +1 -1
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
- package/styled-components/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +4 -2
- package/styled-components/es/components/Modal/Modal.js +2 -3
- package/styled-components/es/components/Note/Note.js +1 -1
- package/styled-components/es/components/Note/variations/_size/base.js +1 -1
- package/styled-components/es/components/Select/Select.tokens.js +1 -0
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +7 -5
- package/styled-components/es/components/TextField/TextField.js +6 -4
- package/styled-components/es/components/TextField/TextField.tokens.js +1 -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 +15 -8
- package/styled-components/es/components/Tooltip/Tooltip.styles.js +9 -9
- package/styled-components/es/examples/components/Chip/Chip.config.js +18 -6
- package/styled-components/es/examples/components/Combobox/Combobox.config.js +8 -4
- package/styled-components/es/examples/components/Combobox/Combobox.js +7 -0
- package/styled-components/es/examples/components/Select/Select.config.js +6 -3
- package/styled-components/es/examples/components/TextField/TextField.config.js +10 -5
- package/styled-components/es/hooks/useFocusTrap.js +5 -12
- package/styled-components/es/index.js +0 -1
- package/styled-components/es/utils/scopeTab.js +2 -2
- package/types/components/Avatar/Avatar.types.d.ts +1 -26
- package/types/components/Avatar/Avatar.types.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.types.d.ts +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +1 -0
- package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
- package/types/components/Modal/Modal.d.ts.map +1 -1
- package/types/components/Modal/Modal.types.d.ts +0 -5
- package/types/components/Modal/Modal.types.d.ts.map +1 -1
- package/types/components/Note/Note.d.ts +4 -4
- package/types/components/Note/Note.d.ts.map +1 -1
- package/types/components/Note/Note.types.d.ts +2 -2
- package/types/components/Note/Note.types.d.ts.map +1 -1
- package/types/components/Select/Select.tokens.d.ts +1 -0
- package/types/components/Select/Select.tokens.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
- package/types/components/TextField/TextField.d.ts.map +1 -1
- package/types/components/TextField/TextField.tokens.d.ts +1 -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 +1 -1
- package/types/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.d.ts.map +1 -1
- package/types/components/Tooltip/Tooltip.styles.d.ts.map +1 -1
- package/types/examples/components/Avatar/Avatar.d.ts +4 -4
- 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/Note/Note.d.ts +2 -2
- package/types/examples/components/Select/Select.config.d.ts.map +1 -1
- package/types/examples/components/TextField/TextField.config.d.ts.map +1 -1
- package/types/hooks/useFocusTrap.d.ts +1 -1
- package/types/hooks/useFocusTrap.d.ts.map +1 -1
- package/types/index.d.ts +0 -1
- package/types/index.d.ts.map +1 -1
- package/types/utils/scopeTab.d.ts +1 -1
- package/types/utils/scopeTab.d.ts.map +1 -1
- package/cjs/components/TimePicker/TimePicker.css +0 -93
- package/cjs/components/TimePicker/TimePicker.js +0 -732
- package/cjs/components/TimePicker/TimePicker.js.map +0 -1
- package/cjs/components/TimePicker/TimePicker.styles.js +0 -54
- package/cjs/components/TimePicker/TimePicker.styles.js.map +0 -1
- package/cjs/components/TimePicker/TimePicker.styles_ar3obv.css +0 -4
- package/cjs/components/TimePicker/TimePicker.tokens.js +0 -133
- package/cjs/components/TimePicker/TimePicker.tokens.js.map +0 -1
- package/cjs/components/TimePicker/hooks/useKeyboardNavigation.js +0 -32
- package/cjs/components/TimePicker/hooks/useKeyboardNavigation.js.map +0 -1
- package/cjs/components/TimePicker/ui/TimeColumn/TimeColumn.css +0 -7
- package/cjs/components/TimePicker/ui/TimeColumn/TimeColumn.js +0 -65
- package/cjs/components/TimePicker/ui/TimeColumn/TimeColumn.js.map +0 -1
- package/cjs/components/TimePicker/ui/TimeColumn/TimeColumn.styles.js +0 -61
- package/cjs/components/TimePicker/ui/TimeColumn/TimeColumn.styles.js.map +0 -1
- package/cjs/components/TimePicker/ui/TimeColumn/TimeColumn.styles_juymyb.css +0 -7
- package/cjs/components/TimePicker/utils/index.js +0 -139
- package/cjs/components/TimePicker/utils/index.js.map +0 -1
- package/cjs/components/TimePicker/variations/_disabled/base.js +0 -9
- package/cjs/components/TimePicker/variations/_disabled/base.js.map +0 -1
- package/cjs/components/TimePicker/variations/_disabled/base_nyid0i.css +0 -1
- package/cjs/components/TimePicker/variations/_readonly/base.js +0 -9
- package/cjs/components/TimePicker/variations/_readonly/base.js.map +0 -1
- package/cjs/components/TimePicker/variations/_readonly/base_zalfas.css +0 -1
- package/cjs/components/TimePicker/variations/_size/base.js +0 -9
- package/cjs/components/TimePicker/variations/_size/base.js.map +0 -1
- package/cjs/components/TimePicker/variations/_size/base_x642ct.css +0 -1
- package/cjs/components/TimePicker/variations/_view/base.js +0 -9
- package/cjs/components/TimePicker/variations/_view/base.js.map +0 -1
- package/cjs/components/TimePicker/variations/_view/base_x642ct.css +0 -1
- package/cjs/components/Tooltip/Tooltip.styles_uldg0s.css +0 -2
- package/emotion/cjs/components/TimePicker/TimePicker.js +0 -916
- package/emotion/cjs/components/TimePicker/TimePicker.styles.js +0 -55
- package/emotion/cjs/components/TimePicker/TimePicker.tokens.js +0 -142
- package/emotion/cjs/components/TimePicker/TimePicker.types.js +0 -4
- package/emotion/cjs/components/TimePicker/hooks/useKeyboardNavigation.js +0 -30
- package/emotion/cjs/components/TimePicker/index.js +0 -26
- package/emotion/cjs/components/TimePicker/ui/TimeColumn/TimeColumn.js +0 -65
- package/emotion/cjs/components/TimePicker/ui/TimeColumn/TimeColumn.styles.js +0 -71
- package/emotion/cjs/components/TimePicker/ui/TimeColumn/TimeColumn.types.js +0 -4
- package/emotion/cjs/components/TimePicker/utils/index.js +0 -152
- package/emotion/cjs/components/TimePicker/variations/_disabled/base.js +0 -13
- package/emotion/cjs/components/TimePicker/variations/_readonly/base.js +0 -12
- package/emotion/cjs/components/TimePicker/variations/_size/base.js +0 -12
- package/emotion/cjs/components/TimePicker/variations/_view/base.js +0 -12
- package/emotion/cjs/examples/components/TimePicker/TimePicker.config.js +0 -35
- package/emotion/cjs/examples/components/TimePicker/TimePicker.js +0 -15
- package/emotion/es/components/TimePicker/TimePicker.js +0 -852
- package/emotion/es/components/TimePicker/TimePicker.styles.js +0 -27
- package/emotion/es/components/TimePicker/TimePicker.tokens.js +0 -124
- package/emotion/es/components/TimePicker/TimePicker.types.js +0 -1
- package/emotion/es/components/TimePicker/hooks/useKeyboardNavigation.js +0 -20
- package/emotion/es/components/TimePicker/index.js +0 -2
- package/emotion/es/components/TimePicker/ui/TimeColumn/TimeColumn.js +0 -50
- package/emotion/es/components/TimePicker/ui/TimeColumn/TimeColumn.styles.js +0 -33
- package/emotion/es/components/TimePicker/ui/TimeColumn/TimeColumn.types.js +0 -1
- package/emotion/es/components/TimePicker/utils/index.js +0 -125
- package/emotion/es/components/TimePicker/variations/_disabled/base.js +0 -3
- package/emotion/es/components/TimePicker/variations/_readonly/base.js +0 -2
- package/emotion/es/components/TimePicker/variations/_size/base.js +0 -2
- package/emotion/es/components/TimePicker/variations/_view/base.js +0 -2
- package/emotion/es/examples/components/TimePicker/TimePicker.config.js +0 -25
- package/emotion/es/examples/components/TimePicker/TimePicker.js +0 -5
- package/es/components/TimePicker/TimePicker.css +0 -93
- package/es/components/TimePicker/TimePicker.js +0 -722
- package/es/components/TimePicker/TimePicker.js.map +0 -1
- package/es/components/TimePicker/TimePicker.styles.js +0 -47
- package/es/components/TimePicker/TimePicker.styles.js.map +0 -1
- package/es/components/TimePicker/TimePicker.styles_ar3obv.css +0 -4
- package/es/components/TimePicker/TimePicker.tokens.js +0 -128
- package/es/components/TimePicker/TimePicker.tokens.js.map +0 -1
- package/es/components/TimePicker/hooks/useKeyboardNavigation.js +0 -28
- package/es/components/TimePicker/hooks/useKeyboardNavigation.js.map +0 -1
- package/es/components/TimePicker/ui/TimeColumn/TimeColumn.css +0 -7
- package/es/components/TimePicker/ui/TimeColumn/TimeColumn.js +0 -56
- package/es/components/TimePicker/ui/TimeColumn/TimeColumn.js.map +0 -1
- package/es/components/TimePicker/ui/TimeColumn/TimeColumn.styles.js +0 -51
- package/es/components/TimePicker/ui/TimeColumn/TimeColumn.styles.js.map +0 -1
- package/es/components/TimePicker/ui/TimeColumn/TimeColumn.styles_juymyb.css +0 -7
- package/es/components/TimePicker/utils/index.js +0 -131
- package/es/components/TimePicker/utils/index.js.map +0 -1
- package/es/components/TimePicker/variations/_disabled/base.js +0 -5
- package/es/components/TimePicker/variations/_disabled/base.js.map +0 -1
- package/es/components/TimePicker/variations/_disabled/base_nyid0i.css +0 -1
- package/es/components/TimePicker/variations/_readonly/base.js +0 -5
- package/es/components/TimePicker/variations/_readonly/base.js.map +0 -1
- package/es/components/TimePicker/variations/_readonly/base_zalfas.css +0 -1
- package/es/components/TimePicker/variations/_size/base.js +0 -5
- package/es/components/TimePicker/variations/_size/base.js.map +0 -1
- package/es/components/TimePicker/variations/_size/base_x642ct.css +0 -1
- package/es/components/TimePicker/variations/_view/base.js +0 -5
- package/es/components/TimePicker/variations/_view/base.js.map +0 -1
- package/es/components/TimePicker/variations/_view/base_x642ct.css +0 -1
- package/es/components/Tooltip/Tooltip.styles_uldg0s.css +0 -2
- package/styled-components/cjs/components/TimePicker/TimePicker.js +0 -916
- package/styled-components/cjs/components/TimePicker/TimePicker.styles.js +0 -258
- package/styled-components/cjs/components/TimePicker/TimePicker.tokens.js +0 -142
- package/styled-components/cjs/components/TimePicker/TimePicker.types.js +0 -4
- package/styled-components/cjs/components/TimePicker/hooks/useKeyboardNavigation.js +0 -30
- package/styled-components/cjs/components/TimePicker/index.js +0 -26
- package/styled-components/cjs/components/TimePicker/ui/TimeColumn/TimeColumn.js +0 -65
- package/styled-components/cjs/components/TimePicker/ui/TimeColumn/TimeColumn.styles.js +0 -112
- package/styled-components/cjs/components/TimePicker/ui/TimeColumn/TimeColumn.types.js +0 -4
- package/styled-components/cjs/components/TimePicker/utils/index.js +0 -152
- package/styled-components/cjs/components/TimePicker/variations/_disabled/base.js +0 -16
- package/styled-components/cjs/components/TimePicker/variations/_readonly/base.js +0 -14
- package/styled-components/cjs/components/TimePicker/variations/_size/base.js +0 -14
- package/styled-components/cjs/components/TimePicker/variations/_view/base.js +0 -14
- package/styled-components/cjs/examples/components/TimePicker/TimePicker.config.js +0 -289
- package/styled-components/cjs/examples/components/TimePicker/TimePicker.js +0 -15
- package/styled-components/es/components/TimePicker/TimePicker.js +0 -852
- package/styled-components/es/components/TimePicker/TimePicker.styles.js +0 -195
- package/styled-components/es/components/TimePicker/TimePicker.tokens.js +0 -124
- package/styled-components/es/components/TimePicker/TimePicker.types.js +0 -1
- package/styled-components/es/components/TimePicker/hooks/useKeyboardNavigation.js +0 -20
- package/styled-components/es/components/TimePicker/index.js +0 -2
- package/styled-components/es/components/TimePicker/ui/TimeColumn/TimeColumn.js +0 -50
- package/styled-components/es/components/TimePicker/ui/TimeColumn/TimeColumn.styles.js +0 -74
- package/styled-components/es/components/TimePicker/ui/TimeColumn/TimeColumn.types.js +0 -1
- package/styled-components/es/components/TimePicker/utils/index.js +0 -125
- package/styled-components/es/components/TimePicker/variations/_disabled/base.js +0 -6
- package/styled-components/es/components/TimePicker/variations/_readonly/base.js +0 -4
- package/styled-components/es/components/TimePicker/variations/_size/base.js +0 -4
- package/styled-components/es/components/TimePicker/variations/_view/base.js +0 -4
- package/styled-components/es/examples/components/TimePicker/TimePicker.config.js +0 -279
- package/styled-components/es/examples/components/TimePicker/TimePicker.js +0 -5
- package/types/components/TimePicker/TimePicker.d.ts +0 -81
- package/types/components/TimePicker/TimePicker.d.ts.map +0 -1
- package/types/components/TimePicker/TimePicker.styles.d.ts +0 -303
- package/types/components/TimePicker/TimePicker.styles.d.ts.map +0 -1
- package/types/components/TimePicker/TimePicker.tokens.d.ts +0 -126
- package/types/components/TimePicker/TimePicker.tokens.d.ts.map +0 -1
- package/types/components/TimePicker/TimePicker.types.d.ts +0 -139
- package/types/components/TimePicker/TimePicker.types.d.ts.map +0 -1
- package/types/components/TimePicker/hooks/useKeyboardNavigation.d.ts +0 -14
- package/types/components/TimePicker/hooks/useKeyboardNavigation.d.ts.map +0 -1
- package/types/components/TimePicker/index.d.ts +0 -4
- package/types/components/TimePicker/index.d.ts.map +0 -1
- package/types/components/TimePicker/ui/TimeColumn/TimeColumn.d.ts +0 -3
- package/types/components/TimePicker/ui/TimeColumn/TimeColumn.d.ts.map +0 -1
- package/types/components/TimePicker/ui/TimeColumn/TimeColumn.styles.d.ts +0 -10
- package/types/components/TimePicker/ui/TimeColumn/TimeColumn.styles.d.ts.map +0 -1
- package/types/components/TimePicker/ui/TimeColumn/TimeColumn.types.d.ts +0 -35
- package/types/components/TimePicker/ui/TimeColumn/TimeColumn.types.d.ts.map +0 -1
- package/types/components/TimePicker/utils/index.d.ts +0 -20
- package/types/components/TimePicker/utils/index.d.ts.map +0 -1
- package/types/components/TimePicker/variations/_disabled/base.d.ts +0 -2
- package/types/components/TimePicker/variations/_disabled/base.d.ts.map +0 -1
- package/types/components/TimePicker/variations/_readonly/base.d.ts +0 -2
- package/types/components/TimePicker/variations/_readonly/base.d.ts.map +0 -1
- package/types/components/TimePicker/variations/_size/base.d.ts +0 -2
- package/types/components/TimePicker/variations/_size/base.d.ts.map +0 -1
- package/types/components/TimePicker/variations/_view/base.d.ts +0 -2
- package/types/components/TimePicker/variations/_view/base.d.ts.map +0 -1
- package/types/examples/components/TimePicker/TimePicker.config.d.ts +0 -24
- package/types/examples/components/TimePicker/TimePicker.config.d.ts.map +0 -1
- package/types/examples/components/TimePicker/TimePicker.d.ts +0 -43
- package/types/examples/components/TimePicker/TimePicker.d.ts.map +0 -1
|
@@ -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(",
|
|
@@ -4,19 +4,22 @@ import { StyledChips } from "../../TextField.styles";
|
|
|
4
4
|
import { classes } from "../../TextField.tokens";
|
|
5
5
|
import { StyledChip } from "./TextFieldChipNew.styles";
|
|
6
6
|
export var TextFieldChipNew = function(param) {
|
|
7
|
-
var chips = param.chips,
|
|
7
|
+
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, _forceChipManipulationWithReadonly = param._forceChipManipulationWithReadonly;
|
|
8
8
|
return /*#__PURE__*/ React.createElement(StyledChips, {
|
|
9
9
|
className: classes.chipsWrapper
|
|
10
10
|
}, chips.map(function(param, index) {
|
|
11
11
|
var value = param.value, label = param.label, disabled = param.disabled;
|
|
12
12
|
var chipId = "".concat(index, "_").concat(value);
|
|
13
|
+
var handleChipClick = function(event) {
|
|
14
|
+
event.stopPropagation();
|
|
15
|
+
};
|
|
13
16
|
var onKeyDownHandle = function(event) {
|
|
14
17
|
if (handleChipKeyDown) {
|
|
15
18
|
handleChipKeyDown(event, chipId, index);
|
|
16
19
|
}
|
|
17
20
|
if (event.key === 'Enter' || event.key === 'Backspace') {
|
|
18
|
-
if (
|
|
19
|
-
|
|
21
|
+
if (onChipCloseClick) {
|
|
22
|
+
onChipCloseClick({
|
|
20
23
|
value: value,
|
|
21
24
|
label: label,
|
|
22
25
|
disabled: disabled
|
|
@@ -24,10 +27,10 @@ export var TextFieldChipNew = function(param) {
|
|
|
24
27
|
}
|
|
25
28
|
}
|
|
26
29
|
};
|
|
27
|
-
var
|
|
30
|
+
var handleCloseClick = function(event) {
|
|
28
31
|
event.stopPropagation();
|
|
29
|
-
if (
|
|
30
|
-
|
|
32
|
+
if (onChipCloseClick) {
|
|
33
|
+
onChipCloseClick({
|
|
31
34
|
value: value,
|
|
32
35
|
label: label,
|
|
33
36
|
disabled: disabled
|
|
@@ -46,8 +49,12 @@ export var TextFieldChipNew = function(param) {
|
|
|
46
49
|
disabled: disabled,
|
|
47
50
|
hasClear: !disabled,
|
|
48
51
|
readOnly: readOnly,
|
|
49
|
-
|
|
52
|
+
onClickClose: handleCloseClick,
|
|
53
|
+
onClick: handleChipClick,
|
|
50
54
|
onKeyDown: onKeyDownHandle,
|
|
55
|
+
onClear: function() {
|
|
56
|
+
return onChipClear(chipId, index);
|
|
57
|
+
},
|
|
51
58
|
text: label,
|
|
52
59
|
view: view,
|
|
53
60
|
// TODO: #1547
|
|
@@ -56,7 +63,7 @@ export var TextFieldChipNew = function(param) {
|
|
|
56
63
|
_forceChipManipulationWithReadonly: _forceChipManipulationWithReadonly
|
|
57
64
|
}) : /*#__PURE__*/ React.createElement(TextChip, {
|
|
58
65
|
tabIndex: -1,
|
|
59
|
-
onClick:
|
|
66
|
+
onClick: handleCloseClick,
|
|
60
67
|
onKeyDown: onKeyDownHandle
|
|
61
68
|
}, label);
|
|
62
69
|
}));
|
|
@@ -2,16 +2,14 @@ import styled from "styled-components";
|
|
|
2
2
|
import { tokens } from "./Tooltip.tokens";
|
|
3
3
|
export var TooltipRoot = styled.div.withConfig({
|
|
4
4
|
displayName: "Tooltip.styles__TooltipRoot",
|
|
5
|
-
componentId: "sc-
|
|
5
|
+
componentId: "sc-e6446bfb-0"
|
|
6
6
|
})([
|
|
7
|
-
"
|
|
7
|
+
"padding:var(",
|
|
8
8
|
") var(",
|
|
9
9
|
") var(",
|
|
10
10
|
") var(",
|
|
11
11
|
");min-height:var(",
|
|
12
|
-
");
|
|
13
|
-
";min-width:",
|
|
14
|
-
";width:max-content;background-color:var(",
|
|
12
|
+
");box-sizing:border-box;background-color:var(",
|
|
15
13
|
");border-radius:var(",
|
|
16
14
|
");box-shadow:var(",
|
|
17
15
|
");color:var(",
|
|
@@ -21,17 +19,19 @@ export var TooltipRoot = styled.div.withConfig({
|
|
|
21
19
|
");font-weight:var(",
|
|
22
20
|
");letter-spacing:var(",
|
|
23
21
|
");line-height:var(",
|
|
24
|
-
");
|
|
25
|
-
|
|
22
|
+
");max-width:",
|
|
23
|
+
";min-width:",
|
|
24
|
+
";width:max-content;word-break:break-word;pointer-events:none;display:flex;align-items:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;"
|
|
25
|
+
], tokens.paddingTop, tokens.paddingRight, tokens.paddingBottom, tokens.paddingLeft, tokens.minHeight, tokens.backgroundColor, tokens.borderRadius, tokens.boxShadow, tokens.color, tokens.textFontFamily, tokens.textFontSize, tokens.textFontStyle, tokens.textFontWeight, tokens.textFontLetterSpacing, tokens.textFontLineHeight, function(param) {
|
|
26
26
|
var maxWidth = param.maxWidth;
|
|
27
27
|
return maxWidth || 'unset';
|
|
28
28
|
}, function(param) {
|
|
29
29
|
var minWidth = param.minWidth;
|
|
30
30
|
return minWidth || 'unset';
|
|
31
|
-
}
|
|
31
|
+
});
|
|
32
32
|
export var StyledContentLeft = styled.div.withConfig({
|
|
33
33
|
displayName: "Tooltip.styles__StyledContentLeft",
|
|
34
|
-
componentId: "sc-
|
|
34
|
+
componentId: "sc-e6446bfb-1"
|
|
35
35
|
})([
|
|
36
36
|
"display:flex;align-items:center;margin-right:var(",
|
|
37
37
|
");height:var(",
|
|
@@ -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
|
+
":var(--inverse-text-secondary);",
|
|
22
24
|
":var(--inverse-text-primary);"
|
|
23
|
-
], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover),
|
|
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);",
|
|
37
|
+
":var(--text-primary);",
|
|
38
|
+
":var(--text-secondary);",
|
|
35
39
|
":var(--text-primary);"
|
|
36
|
-
], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover),
|
|
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);",
|
|
52
|
+
":var(--on-dark-text-primary);",
|
|
53
|
+
":var(--on-dark-text-secondary);",
|
|
48
54
|
":var(--on-dark-text-primary);"
|
|
49
|
-
], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover),
|
|
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);",
|
|
67
|
+
":var(--on-dark-text-primary);",
|
|
68
|
+
":var(--on-dark-text-secondary);",
|
|
61
69
|
":var(--on-dark-text-primary);"
|
|
62
|
-
], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover),
|
|
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);",
|
|
82
|
+
":var(--on-dark-text-primary);",
|
|
83
|
+
":var(--on-dark-text-secondary);",
|
|
74
84
|
":var(--on-dark-text-primary);"
|
|
75
|
-
], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover),
|
|
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);",
|
|
97
|
+
":var(--on-dark-text-primary);",
|
|
98
|
+
":var(--on-dark-text-secondary);",
|
|
87
99
|
":var(--on-dark-text-primary);"
|
|
88
|
-
], chipTokens.color, chipTokens.background, chipTokens.colorHover, chipTokens.backgroundHover, chipTokens.colorActive, chipTokens.backgroundActive, chipTokens.backgroundReadOnly, chipTokens.colorReadOnly, chipTokens.backgroundReadOnlyHover, chipTokens.colorReadOnlyHover)
|
|
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([
|
|
@@ -31,6 +31,7 @@ export var config = {
|
|
|
31
31
|
":var(--text-tertiary);",
|
|
32
32
|
":var(--text-secondary);",
|
|
33
33
|
":var(--text-primary);",
|
|
34
|
+
":var(--text-primary);",
|
|
34
35
|
":var(--surface-transparent-secondary);",
|
|
35
36
|
":var(--text-primary);",
|
|
36
37
|
":var(--surface-transparent-secondary-hover);",
|
|
@@ -51,7 +52,7 @@ export var config = {
|
|
|
51
52
|
":var(--on-dark-text-primary);",
|
|
52
53
|
":transparent;",
|
|
53
54
|
":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),
|
|
55
|
+
], 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.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
56
|
positive: css([
|
|
56
57
|
"",
|
|
57
58
|
":var(--text-primary);",
|
|
@@ -75,6 +76,7 @@ export var config = {
|
|
|
75
76
|
":var(--text-tertiary);",
|
|
76
77
|
":var(--text-secondary);",
|
|
77
78
|
":var(--text-primary);",
|
|
79
|
+
":var(--text-primary);",
|
|
78
80
|
":var(--surface-transparent-secondary);",
|
|
79
81
|
":var(--text-primary);",
|
|
80
82
|
":var(--surface-transparent-secondary-hover);",
|
|
@@ -95,7 +97,7 @@ export var config = {
|
|
|
95
97
|
":var(--on-dark-text-primary);",
|
|
96
98
|
":transparent;",
|
|
97
99
|
":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),
|
|
100
|
+
], 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.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
101
|
warning: css([
|
|
100
102
|
"",
|
|
101
103
|
":var(--text-primary);",
|
|
@@ -119,6 +121,7 @@ export var config = {
|
|
|
119
121
|
":var(--text-tertiary);",
|
|
120
122
|
":var(--text-secondary);",
|
|
121
123
|
":var(--text-primary);",
|
|
124
|
+
":var(--text-primary);",
|
|
122
125
|
":var(--surface-transparent-secondary);",
|
|
123
126
|
":var(--text-primary);",
|
|
124
127
|
":var(--surface-transparent-secondary-hover);",
|
|
@@ -139,7 +142,7 @@ export var config = {
|
|
|
139
142
|
":var(--on-dark-text-primary);",
|
|
140
143
|
":transparent;",
|
|
141
144
|
":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),
|
|
145
|
+
], 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.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
146
|
negative: css([
|
|
144
147
|
"",
|
|
145
148
|
":var(--text-primary);",
|
|
@@ -163,6 +166,7 @@ export var config = {
|
|
|
163
166
|
":var(--text-tertiary);",
|
|
164
167
|
":var(--text-secondary);",
|
|
165
168
|
":var(--text-primary);",
|
|
169
|
+
":var(--text-primary);",
|
|
166
170
|
":var(--surface-transparent-secondary);",
|
|
167
171
|
":var(--text-primary);",
|
|
168
172
|
":var(--surface-transparent-secondary-hover);",
|
|
@@ -183,7 +187,7 @@ export var config = {
|
|
|
183
187
|
":var(--on-dark-text-primary);",
|
|
184
188
|
":transparent;",
|
|
185
189
|
":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)
|
|
190
|
+
], 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.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
191
|
},
|
|
188
192
|
size: {
|
|
189
193
|
l: css([
|
|
@@ -0,0 +1,7 @@
|
|
|
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,40 @@ 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);",
|
|
750
751
|
":var(--inverse-text-primary);",
|
|
751
752
|
":var(--surface-solid-default);",
|
|
752
753
|
":var(--inverse-text-primary);",
|
|
753
754
|
":var(--surface-solid-default);",
|
|
754
755
|
":var(--inverse-text-primary);",
|
|
755
756
|
":1;"
|
|
756
|
-
], tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly),
|
|
757
|
+
], tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipCloseIconColorHover, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly),
|
|
757
758
|
secondary: css([
|
|
758
759
|
"",
|
|
759
760
|
":var(--text-primary);",
|
|
760
761
|
":var(--surface-transparent-secondary);",
|
|
761
762
|
":var(--surface-transparent-secondary-hover);",
|
|
763
|
+
":var(--text-secondary);",
|
|
762
764
|
":var(--text-primary);",
|
|
763
765
|
":var(--surface-transparent-secondary);",
|
|
764
766
|
":var(--text-primary);",
|
|
765
767
|
":var(--surface-transparent-secondary);",
|
|
766
768
|
":var(--text-primary);",
|
|
767
769
|
":1;"
|
|
768
|
-
], tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly),
|
|
770
|
+
], tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipCloseIconColorHover, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly),
|
|
769
771
|
accent: css([
|
|
770
772
|
"",
|
|
771
773
|
":var(--on-dark-text-primary);",
|
|
772
774
|
":var(--surface-accent);",
|
|
773
775
|
":var(--surface-accent-hover);",
|
|
776
|
+
":var(--on-dark-text-secondary);",
|
|
774
777
|
":var(--on-dark-text-primary);",
|
|
775
778
|
":var(--surface-accent);",
|
|
776
779
|
":var(--on-dark-text-primary);",
|
|
777
780
|
":var(--surface-accent);",
|
|
778
781
|
":var(--on-dark-text-primary);",
|
|
779
782
|
":1;"
|
|
780
|
-
], tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly)
|
|
783
|
+
], tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipCloseIconColorHover, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly)
|
|
781
784
|
},
|
|
782
785
|
hintView: {
|
|
783
786
|
default: css([
|
|
@@ -520,8 +520,9 @@ 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-primary);",
|
|
523
524
|
":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),
|
|
525
|
+
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipCloseIconColorHover, tokens.chipOpacityReadonly),
|
|
525
526
|
secondary: css([
|
|
526
527
|
"",
|
|
527
528
|
":var(--text-primary);",
|
|
@@ -550,8 +551,9 @@ export var config = {
|
|
|
550
551
|
":var(--surface-accent);",
|
|
551
552
|
":var(--on-dark-text-primary);",
|
|
552
553
|
":var(--on-dark-text-secondary);",
|
|
554
|
+
":var(--on-dark-text-primary);",
|
|
553
555
|
":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),
|
|
556
|
+
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipCloseIconColorHover, tokens.chipOpacityReadonly),
|
|
555
557
|
positive: css([
|
|
556
558
|
"",
|
|
557
559
|
":var(--on-dark-text-primary);",
|
|
@@ -565,8 +567,9 @@ export var config = {
|
|
|
565
567
|
":var(--surface-positive);",
|
|
566
568
|
":var(--on-dark-text-primary);",
|
|
567
569
|
":var(--on-dark-text-secondary);",
|
|
570
|
+
":var(--on-dark-text-primary);",
|
|
568
571
|
":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),
|
|
572
|
+
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipCloseIconColorHover, tokens.chipOpacityReadonly),
|
|
570
573
|
warning: css([
|
|
571
574
|
"",
|
|
572
575
|
":var(--on-dark-text-primary);",
|
|
@@ -580,8 +583,9 @@ export var config = {
|
|
|
580
583
|
":var(--surface-warning);",
|
|
581
584
|
":var(--on-dark-text-primary);",
|
|
582
585
|
":var(--on-dark-text-secondary);",
|
|
586
|
+
":var(--on-dark-text-primary);",
|
|
583
587
|
":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),
|
|
588
|
+
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipCloseIconColorHover, tokens.chipOpacityReadonly),
|
|
585
589
|
negative: css([
|
|
586
590
|
"",
|
|
587
591
|
":var(--on-dark-text-primary);",
|
|
@@ -595,8 +599,9 @@ export var config = {
|
|
|
595
599
|
":var(--surface-negative);",
|
|
596
600
|
":var(--on-dark-text-primary);",
|
|
597
601
|
":var(--on-dark-text-secondary);",
|
|
602
|
+
":var(--on-dark-text-primary);",
|
|
598
603
|
":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)
|
|
604
|
+
], tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipCloseIconColor, tokens.chipCloseIconColorHover, tokens.chipOpacityReadonly)
|
|
600
605
|
},
|
|
601
606
|
hintView: {
|
|
602
607
|
default: css([
|
|
@@ -39,14 +39,14 @@ var focusManager = new FocusManager();
|
|
|
39
39
|
/**
|
|
40
40
|
* Захватывает фокус внутри DOM node.
|
|
41
41
|
* */ export var useFocusTrap = function() {
|
|
42
|
-
var active = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : true, firstFocusSelector = arguments.length > 1 ? arguments[1] : void 0, focusAfterNode = arguments.length > 2 ? arguments[2] : void 0, focusAfterAnimation = arguments.length > 3 ? arguments[3] : void 0
|
|
42
|
+
var active = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : true, firstFocusSelector = arguments.length > 1 ? arguments[1] : void 0, focusAfterNode = arguments.length > 2 ? arguments[2] : void 0, focusAfterAnimation = arguments.length > 3 ? arguments[3] : void 0;
|
|
43
43
|
var ref = useRef();
|
|
44
44
|
var setRef = useCallback(function(node) {
|
|
45
45
|
if (ref.current) {
|
|
46
46
|
focusManager.teardownScopedFocus();
|
|
47
47
|
focusManager.returnFocus();
|
|
48
48
|
}
|
|
49
|
-
if (
|
|
49
|
+
if (active && node) {
|
|
50
50
|
focusManager.setupScopedFocus(node);
|
|
51
51
|
focusManager.markForFocusAfter(focusAfterNode);
|
|
52
52
|
// Delay processing the HTML node by a frame. This ensures focus is assigned correctly.
|
|
@@ -65,21 +65,15 @@ var focusManager = new FocusManager();
|
|
|
65
65
|
ref.current = null;
|
|
66
66
|
}, [
|
|
67
67
|
active,
|
|
68
|
-
enableOnFirstMount,
|
|
69
68
|
firstFocusSelector
|
|
70
69
|
]);
|
|
71
70
|
useEffect(function() {
|
|
72
|
-
if (!active
|
|
71
|
+
if (!active) {
|
|
73
72
|
return;
|
|
74
73
|
}
|
|
75
74
|
var handleKeyDown = function(event) {
|
|
76
75
|
if (event.key === 'Tab' && ref.current) {
|
|
77
|
-
scopeTab(ref.current, event
|
|
78
|
-
if (enableOnFirstMount) {
|
|
79
|
-
setTimeout(function() {
|
|
80
|
-
focusManager.teardownScopedFocus();
|
|
81
|
-
});
|
|
82
|
-
}
|
|
76
|
+
scopeTab(ref.current, event);
|
|
83
77
|
}
|
|
84
78
|
};
|
|
85
79
|
document.addEventListener('keydown', handleKeyDown);
|
|
@@ -87,8 +81,7 @@ var focusManager = new FocusManager();
|
|
|
87
81
|
document.removeEventListener('keydown', handleKeyDown);
|
|
88
82
|
};
|
|
89
83
|
}, [
|
|
90
|
-
active
|
|
91
|
-
enableOnFirstMount
|
|
84
|
+
active
|
|
92
85
|
]);
|
|
93
86
|
return setRef;
|
|
94
87
|
};
|
|
@@ -3,7 +3,7 @@ import { findTabbableDescendants } from "./tabbable";
|
|
|
3
3
|
* Управлление фокусом лишь внутри ноды через tab
|
|
4
4
|
* @param node
|
|
5
5
|
* @param event
|
|
6
|
-
*/ export var scopeTab = function(node, event
|
|
6
|
+
*/ export var scopeTab = function(node, event) {
|
|
7
7
|
var tabbable = findTabbableDescendants(node);
|
|
8
8
|
if (!tabbable.length) {
|
|
9
9
|
event.preventDefault();
|
|
@@ -13,7 +13,7 @@ import { findTabbableDescendants } from "./tabbable";
|
|
|
13
13
|
var finalTabbable = tabbable[event.shiftKey ? 0 : tabbable.length - 1];
|
|
14
14
|
var leavingFinalTabbable = finalTabbable === document.activeElement || node === document.activeElement;
|
|
15
15
|
// если не является, то передаем обработку таба самому браузеру
|
|
16
|
-
if (!leavingFinalTabbable
|
|
16
|
+
if (!leavingFinalTabbable) {
|
|
17
17
|
return;
|
|
18
18
|
}
|
|
19
19
|
// иначе зацкливаемся
|
|
@@ -33,38 +33,13 @@ type ExtraCounterProps = {
|
|
|
33
33
|
} & Omit<CustomCounterProps, 'size' | 'view' | 'count'>;
|
|
34
34
|
type ExtraProps = OneOf<ExtraBadgeProps, ExtraCounterProps>;
|
|
35
35
|
type CustomAvatarProps = {
|
|
36
|
-
|
|
37
|
-
* Форма аватара. Возможные значения: 'circled', 'rounded'.
|
|
38
|
-
* @default circled
|
|
39
|
-
*/
|
|
40
|
-
shape?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Размер аватара
|
|
43
|
-
*/
|
|
36
|
+
shape?: 'string';
|
|
44
37
|
size?: string;
|
|
45
|
-
/**
|
|
46
|
-
* ФИО человека
|
|
47
|
-
*/
|
|
48
38
|
name?: string;
|
|
49
|
-
/**
|
|
50
|
-
* Ссылка на фотографию
|
|
51
|
-
*/
|
|
52
39
|
url?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Кастомный текст вместо фотографии
|
|
55
|
-
*/
|
|
56
40
|
customText?: string;
|
|
57
|
-
/**
|
|
58
|
-
* Статус профиля
|
|
59
|
-
*/
|
|
60
41
|
status?: 'active' | 'inactive';
|
|
61
|
-
/**
|
|
62
|
-
* Масштабируемый при наведении
|
|
63
|
-
*/
|
|
64
42
|
isScalable?: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Фокус
|
|
67
|
-
*/
|
|
68
43
|
focused?: boolean;
|
|
69
44
|
/**
|
|
70
45
|
* Словарь для озвучивания значений свойства status [a11y]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.types.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,KAAK,IAAI,CAAC,CAAC,EAAE,CAAC,IAAI;KACb,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACvB,GACG;KACK,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK;CACzB,CAAC;AAEN,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAE3C,KAAK,eAAe,GAAG;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC,CAAC;AAEzD,KAAK,iBAAiB,GAAG;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;AAExD,KAAK,UAAU,GAAG,KAAK,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;AAE5D,KAAK,iBAAiB,GAAG;
|
|
1
|
+
{"version":3,"file":"Avatar.types.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,KAAK,IAAI,CAAC,CAAC,EAAE,CAAC,IAAI;KACb,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACvB,GACG;KACK,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK;CACzB,CAAC;AAEN,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAE3C,KAAK,eAAe,GAAG;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC,CAAC;AAEzD,KAAK,iBAAiB,GAAG;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;AAExD,KAAK,UAAU,GAAG,KAAK,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;AAE5D,KAAK,iBAAiB,GAAG;IAErB,KAAK,CAAC,EAAE,QAAQ,CAAC;IAEjB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,MAAM,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;IAE/B,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,cAAc,CAAC,EAAE,UAAU,GAAG,WAAW,GAAG,aAAa,GAAG,cAAc,CAAC;CAC9E,GAAG,UAAU,CAAC;AAEf,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,QAAQ,GAAG,UAAU,EAAE,MAAM,CAAC,CAAC;AAEjE,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAU/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,eAAO,MAAM,QAAQ,SAAU,SAAS,CAAC,iBAAiB,EAAE,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAU/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,eAAO,MAAM,QAAQ,SAAU,SAAS,CAAC,iBAAiB,EAAE,SAAS,CAAC,wFAuEhE,CAAC;AAEP,eAAO,MAAM,UAAU;;;mBAzEQ,SAAS,CAAC,iBAAiB,EAAE,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyGrE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chip.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.styles.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI,0CAUhB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAK7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAE7B,CAAC;AAEF,eAAO,MAAM,kBAAkB;eAA2B,OAAO;EAIhE,CAAC;AAEF,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"Chip.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.styles.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI,0CAUhB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAK7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAE7B,CAAC;AAEF,eAAO,MAAM,kBAAkB;eAA2B,OAAO;EAIhE,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAS9B,CAAC"}
|
|
@@ -179,6 +179,7 @@ export declare const tokens: {
|
|
|
179
179
|
textFieldChipBackgroundActive: string;
|
|
180
180
|
textFieldChipColorActive: string;
|
|
181
181
|
textFieldChipCloseIconColor: string;
|
|
182
|
+
textFieldChipCloseIconColorHover: string;
|
|
182
183
|
textFieldChipOutlineSize: string;
|
|
183
184
|
textFieldChipWidth: string;
|
|
184
185
|
textFieldChipPadding: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Combobox.tokens.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2Jf,yBAAyB
|
|
1
|
+
{"version":3,"file":"Combobox.tokens.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2Jf,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsG5B,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;CAoBrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Target.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Combobox/ComboboxNew/ui/Target/Target.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,eAAe;;;;;;;;kBA4E4B,MAAO,YAAY;mBACxC,MAAO,YAAY;;;oCAG4C,CAAC;;;;;;;;;;;;;;;;;;;;oCAtE5C,CAAC;;;;;;;;;;;;wBAkEO,YAAY;yBACjC,YAAY;;;oCAG4C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAJpC,YAAY;yBACjC,YAAY;;;oCAG4C,CAAC;;;;;;;;;;;;;;;;;;;;oCAtE5C,CAAC;;;;;;;;;;;;wBAkEO,YAAY;yBACjC,YAAY;;;oCAG4C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAJpC,YAAY;yBACjC,YAAY;;;oCAG4C,CAAC;;;;;;;;;;;;;;;;;;;;oCAtE5C,CAAC;;;;;;;;;;;;wBAkEO,YAAY;yBACjC,YAAY;;;oCAG4C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAJpC,YAAY;yBACjC,YAAY;;;oCAG4C,CAAC;;;;;;;;;;;;;;;;;;;;oCAtE5C,CAAC;;;;;;;;;;;;wBAkEO,YAAY;yBACjC,YAAY;;;oCAG4C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Target.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Combobox/ComboboxNew/ui/Target/Target.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,eAAe;;;;;;;;kBA4E4B,MAAO,YAAY;mBACxC,MAAO,YAAY;;;oCAG4C,CAAC;;;;;;;;;;;;;;;;;;;;oCAtE5C,CAAC;;;;;;;;;;;;wBAkEO,YAAY;yBACjC,YAAY;;;oCAG4C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAJpC,YAAY;yBACjC,YAAY;;;oCAG4C,CAAC;;;;;;;;;;;;;;;;;;;;oCAtE5C,CAAC;;;;;;;;;;;;wBAkEO,YAAY;yBACjC,YAAY;;;oCAG4C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAJpC,YAAY;yBACjC,YAAY;;;oCAG4C,CAAC;;;;;;;;;;;;;;;;;;;;oCAtE5C,CAAC;;;;;;;;;;;;wBAkEO,YAAY;yBACjC,YAAY;;;oCAG4C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAJpC,YAAY;yBACjC,YAAY;;;oCAG4C,CAAC;;;;;;;;;;;;;;;;;;;;oCAtE5C,CAAC;;;;;;;;;;;;wBAkEO,YAAY;yBACjC,YAAY;;;oCAG4C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;kJA+FlG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,SAAS,EAAa,MAAM,aAAa,CAAC;AASnD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C;;;GAGG;AACH,eAAO,MAAM,SAAS,SAAU,SAAS,CAAC,cAAc,EAAE,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,SAAS,EAAa,MAAM,aAAa,CAAC;AASnD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C;;;GAGG;AACH,eAAO,MAAM,SAAS,SAAU,SAAS,CAAC,cAAc,EAAE,UAAU,CAAC,sFAiHhE,CAAC;AAEN,eAAO,MAAM,WAAW;;;mBAnHQ,SAAS,CAAC,cAAc,EAAE,UAAU,CAAC;;;;;;;;;;CAgIpE,CAAC"}
|
|
@@ -33,11 +33,6 @@ export interface CommonModalProps extends PopupProps {
|
|
|
33
33
|
* Обработчик клика при нажатии вне области модального окна(если не передан, то при нажатии используется onClose).
|
|
34
34
|
*/
|
|
35
35
|
onOverlayClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
36
|
-
/**
|
|
37
|
-
* Фокус элементов будет происходить только внутри модального окна
|
|
38
|
-
* @default true
|
|
39
|
-
*/
|
|
40
|
-
isFocusTrapped?: boolean;
|
|
41
36
|
/**
|
|
42
37
|
* Первый элемент для фокуса внутри модального окна.
|
|
43
38
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.types.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEjF,MAAM,MAAM,cAAc,GACpB;IACI;;OAEG;IACH,OAAO,EAAE,IAAI,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,GACD;IACI,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC;CACpB,CAAC;AAER,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAChD;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC9C;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACnE
|
|
1
|
+
{"version":3,"file":"Modal.types.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEjF,MAAM,MAAM,cAAc,GACpB;IACI;;OAEG;IACH,OAAO,EAAE,IAAI,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,GACD;IACI,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC;CACpB,CAAC;AAER,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAChD;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC9C;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACnE;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC/C;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC7C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,UAAU,GAAG,gBAAgB,GAAG,cAAc,CAAC;AAE3D,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAAG,IAAI,CAAC,UAAU,EAAE,iBAAiB,GAAG,eAAe,GAAG,SAAS,CAAC,CAAC;AAEpH,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,cAAc,EAAE,IAAI,GAAG,QAAQ,CAAC,GACjE,IAAI,CAAC,UAAU,EAAE,UAAU,GAAG,qBAAqB,GAAG,gBAAgB,GAAG,SAAS,CAAC,CAAC;AAExF,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,aAAa,EAAE,IAAI,GAAG,WAAW,GAAG,QAAQ,CAAC,GAC1E,IAAI,CAAC,UAAU,EAAE,YAAY,GAAG,cAAc,GAAG,SAAS,CAAC,CAAC"}
|