@salutejs/plasma-new-hope 0.143.0-canary.1430.10827337218.0 → 0.143.0-dev.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Autocomplete/Autocomplete.css +16 -15
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +16 -15
- package/cjs/components/Combobox/ComboboxNew/Combobox.js +8 -6
- package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +16 -15
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +16 -15
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
- package/cjs/components/Combobox/ComboboxOld/Combobox.js +15 -8
- package/cjs/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
- package/cjs/components/DatePicker/RangeDate/RangeDate.css +16 -15
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +16 -15
- package/cjs/components/DatePicker/SingleDate/SingleDate.css +16 -15
- package/cjs/components/Range/Range.css +16 -15
- package/cjs/components/Slider/Slider.css +16 -15
- package/cjs/components/Slider/components/Double/Double.css +16 -15
- package/cjs/components/TextField/TextField.js +1 -1
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/cjs/components/TextField/TextField.styles.js +22 -11
- package/cjs/components/TextField/TextField.styles.js.map +1 -1
- package/cjs/components/TextField/{TextField.styles_u6pm7v.css → TextField.styles_ht6ibd.css} +5 -4
- package/cjs/components/TextField/TextField.tokens.js +5 -1
- package/cjs/components/TextField/TextField.tokens.js.map +1 -1
- package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
- package/cjs/components/TextField/variations/_label-placement/{base_1dbnupp.css → base_6k17xp.css} +1 -1
- package/cjs/components/TextField/variations/_read-only/base.js +1 -1
- package/cjs/components/TextField/variations/_read-only/{base_4tqave.css → base_8onybn.css} +1 -1
- package/cjs/components/TextField/variations/_size/base.js +1 -1
- package/cjs/components/TextField/variations/_size/{base_uk56yo.css → base_1h8l0kj.css} +1 -1
- package/cjs/components/TextField/variations/_view/base.js +1 -1
- package/cjs/components/TextField/variations/_view/{base_uszjx8.css → base_1ph5cr0.css} +1 -1
- package/cjs/index.css +16 -23
- package/cjs/index.js +0 -7
- package/cjs/index.js.map +1 -1
- package/cjs/utils/index.js.map +1 -1
- package/emotion/cjs/components/Combobox/Combobox.template-doc.mdx +347 -0
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +8 -6
- package/emotion/cjs/components/Combobox/ComboboxOld/Combobox.js +15 -8
- package/emotion/cjs/components/TextField/TextField.js +2 -2
- package/emotion/cjs/components/TextField/TextField.styles.js +27 -23
- package/emotion/cjs/components/TextField/TextField.template-doc.mdx +2 -2
- package/emotion/cjs/components/TextField/TextField.tokens.js +5 -1
- package/emotion/cjs/components/TextFieldGroup/TextFieldGroup.template-doc.mdx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +39 -0
- package/emotion/cjs/examples/{plasma_web/components/Combobox/ComboboxNew → plasma_b2c/components/Combobox}/Combobox.js +2 -2
- package/emotion/{es/examples/plasma_b2c/components/Combobox/ComboboxNew → cjs/examples/plasma_b2c/components/Combobox}/Combobox.stories.tsx +13 -3
- package/emotion/cjs/examples/plasma_b2c/components/Combobox/Legacy/Combobox.config.js +25 -0
- package/emotion/{es/examples/plasma_b2c/components/Combobox/ComboboxOld → cjs/examples/plasma_b2c/components/Combobox/Legacy}/Combobox.stories.tsx +18 -16
- package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +12 -12
- package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +3 -2
- package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +39 -0
- package/{styled-components/cjs/examples/plasma_web/components/Combobox/ComboboxNew → emotion/cjs/examples/plasma_web/components/Combobox}/Combobox.js +2 -2
- package/emotion/cjs/examples/plasma_web/components/Combobox/{ComboboxNew/Combobox.stories.tsx → Combobox.stories.tsx} +13 -3
- package/emotion/cjs/examples/plasma_web/components/Combobox/Legacy/Combobox.config.js +25 -0
- package/emotion/cjs/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.stories.tsx +18 -16
- package/emotion/cjs/examples/plasma_web/components/TextField/TextField.config.js +12 -12
- package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +2 -1
- package/emotion/cjs/index.js +0 -11
- package/emotion/cjs/utils/index.js +2 -8
- package/emotion/es/components/Combobox/Combobox.template-doc.mdx +347 -0
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +8 -6
- package/emotion/es/components/Combobox/ComboboxOld/Combobox.js +15 -8
- package/emotion/es/components/TextField/TextField.js +2 -2
- package/emotion/es/components/TextField/TextField.styles.js +27 -23
- package/emotion/es/components/TextField/TextField.template-doc.mdx +2 -2
- package/emotion/es/components/TextField/TextField.tokens.js +5 -1
- package/emotion/es/components/TextFieldGroup/TextFieldGroup.template-doc.mdx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +33 -0
- package/emotion/es/examples/plasma_b2c/components/Combobox/{ComboboxNew/Combobox.js → Combobox.js} +2 -2
- package/emotion/es/examples/{plasma_web/components/Combobox/ComboboxNew → plasma_b2c/components/Combobox}/Combobox.stories.tsx +13 -3
- package/emotion/es/examples/plasma_b2c/components/Combobox/Legacy/Combobox.config.js +19 -0
- package/emotion/{cjs/examples/plasma_b2c/components/Combobox/ComboboxOld → es/examples/plasma_b2c/components/Combobox/Legacy}/Combobox.stories.tsx +18 -16
- package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +12 -12
- package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +3 -2
- package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +33 -0
- package/emotion/es/examples/plasma_web/components/Combobox/{ComboboxNew/Combobox.js → Combobox.js} +2 -2
- package/emotion/{cjs/examples/plasma_b2c/components/Combobox/ComboboxNew → es/examples/plasma_web/components/Combobox}/Combobox.stories.tsx +13 -3
- package/emotion/es/examples/plasma_web/components/Combobox/Legacy/Combobox.config.js +19 -0
- package/emotion/es/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.stories.tsx +18 -16
- package/emotion/es/examples/plasma_web/components/TextField/TextField.config.js +12 -12
- package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +2 -1
- package/emotion/es/index.js +1 -2
- package/emotion/es/utils/index.js +0 -2
- package/es/components/Autocomplete/Autocomplete.css +16 -15
- package/es/components/Combobox/ComboboxNew/Combobox.css +16 -15
- package/es/components/Combobox/ComboboxNew/Combobox.js +8 -6
- package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +16 -15
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +16 -15
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
- package/es/components/Combobox/ComboboxOld/Combobox.js +15 -8
- package/es/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
- package/es/components/DatePicker/RangeDate/RangeDate.css +16 -15
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +16 -15
- package/es/components/DatePicker/SingleDate/SingleDate.css +16 -15
- package/es/components/Range/Range.css +16 -15
- package/es/components/Slider/Slider.css +16 -15
- package/es/components/Slider/components/Double/Double.css +16 -15
- package/es/components/TextField/TextField.js +1 -1
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/components/TextField/TextField.styles.js +22 -11
- package/es/components/TextField/TextField.styles.js.map +1 -1
- package/es/components/TextField/{TextField.styles_u6pm7v.css → TextField.styles_ht6ibd.css} +5 -4
- package/es/components/TextField/TextField.tokens.js +5 -1
- package/es/components/TextField/TextField.tokens.js.map +1 -1
- package/es/components/TextField/variations/_label-placement/base.js +1 -1
- package/es/components/TextField/variations/_label-placement/{base_1dbnupp.css → base_6k17xp.css} +1 -1
- package/es/components/TextField/variations/_read-only/base.js +1 -1
- package/es/components/TextField/variations/_read-only/{base_4tqave.css → base_8onybn.css} +1 -1
- package/es/components/TextField/variations/_size/base.js +1 -1
- package/es/components/TextField/variations/_size/{base_uk56yo.css → base_1h8l0kj.css} +1 -1
- package/es/components/TextField/variations/_view/base.js +1 -1
- package/es/components/TextField/variations/_view/{base_uszjx8.css → base_1ph5cr0.css} +1 -1
- package/es/index.css +16 -23
- package/es/index.js +0 -4
- package/es/index.js.map +1 -1
- package/es/utils/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Combobox/Combobox.template-doc.mdx +347 -0
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +8 -6
- package/styled-components/cjs/components/Combobox/ComboboxOld/Combobox.js +15 -8
- package/styled-components/cjs/components/TextField/TextField.js +1 -1
- package/styled-components/cjs/components/TextField/TextField.styles.js +12 -9
- package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +2 -2
- package/styled-components/cjs/components/TextField/TextField.tokens.js +5 -1
- package/styled-components/cjs/components/TextFieldGroup/TextFieldGroup.template-doc.mdx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/{ComboboxNew/Combobox.config.js → Combobox.config.js} +2 -2
- package/{emotion/cjs/examples/plasma_b2c/components/Combobox/ComboboxNew → styled-components/cjs/examples/plasma_b2c/components/Combobox}/Combobox.js +2 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +376 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/{ComboboxOld → Legacy}/Combobox.config.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx +256 -0
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +4 -4
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +3 -2
- package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +39 -0
- package/styled-components/cjs/examples/{plasma_b2c/components/Combobox/ComboboxNew → plasma_web/components/Combobox}/Combobox.js +2 -2
- package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +376 -0
- package/styled-components/cjs/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.config.js +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx +256 -0
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +4 -4
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +2 -1
- package/styled-components/cjs/index.js +0 -11
- package/styled-components/cjs/utils/index.js +2 -8
- package/styled-components/es/components/Combobox/Combobox.template-doc.mdx +347 -0
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +8 -6
- package/styled-components/es/components/Combobox/ComboboxOld/Combobox.js +15 -8
- package/styled-components/es/components/TextField/TextField.js +1 -1
- package/styled-components/es/components/TextField/TextField.styles.js +12 -9
- package/styled-components/es/components/TextField/TextField.template-doc.mdx +2 -2
- package/styled-components/es/components/TextField/TextField.tokens.js +5 -1
- package/styled-components/es/components/TextFieldGroup/TextFieldGroup.template-doc.mdx +1 -1
- package/styled-components/es/examples/{plasma_web/components/Combobox/ComboboxNew → plasma_b2c/components/Combobox}/Combobox.config.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Combobox/{ComboboxNew/Combobox.js → Combobox.js} +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +376 -0
- package/styled-components/es/examples/plasma_b2c/components/Combobox/{ComboboxOld → Legacy}/Combobox.config.js +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx +256 -0
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +4 -4
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +3 -2
- package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +33 -0
- package/styled-components/es/examples/plasma_web/components/Combobox/{ComboboxNew/Combobox.js → Combobox.js} +2 -2
- package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +376 -0
- package/styled-components/es/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.config.js +1 -1
- package/styled-components/es/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx +256 -0
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +4 -4
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +2 -1
- package/styled-components/es/index.js +1 -2
- package/styled-components/es/utils/index.js +0 -2
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +4 -4
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +42 -10
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +4 -4
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxOld/Combobox.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxOld/Combobox.types.d.ts +6 -0
- package/types/components/Combobox/ComboboxOld/Combobox.types.d.ts.map +1 -1
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +4 -4
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
- package/types/components/Pagination/utils/index.d.ts +1 -1
- package/types/components/Range/Range.styles.d.ts +4 -4
- package/types/components/Range/Range.styles.d.ts.map +1 -1
- package/types/components/Slider/components/Double/Double.styles.d.ts +4 -4
- package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
- package/types/components/TextField/TextField.styles.d.ts +6 -2
- package/types/components/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/TextField/TextField.tokens.d.ts +3 -0
- package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
- package/types/components/TextField/TextField.types.d.ts +2 -1
- package/types/components/TextField/TextField.types.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Combobox/Combobox.config.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +81 -0
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Combobox/{ComboboxOld → Legacy}/Combobox.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Combobox/Legacy/Combobox.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +4 -4
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Combobox/Combobox.config.d.ts.map +1 -0
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +81 -0
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -0
- package/types/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Combobox/Legacy/Combobox.d.ts.map +1 -0
- package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/TextField/TextField.d.ts +4 -4
- package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
- package/types/index.d.ts +0 -1
- package/types/index.d.ts.map +1 -1
- package/types/utils/index.d.ts +0 -1
- package/types/utils/index.d.ts.map +1 -1
- package/cjs/components/Editable/Editable.css +0 -7
- package/cjs/components/Editable/Editable.js +0 -154
- package/cjs/components/Editable/Editable.js.map +0 -1
- package/cjs/components/Editable/Editable.styles.js +0 -32
- package/cjs/components/Editable/Editable.styles.js.map +0 -1
- package/cjs/components/Editable/Editable.styles_40s761.css +0 -3
- package/cjs/components/Editable/Editable.tokens.js +0 -21
- package/cjs/components/Editable/Editable.tokens.js.map +0 -1
- package/cjs/components/Editable/utils/clearSelection.js +0 -23
- package/cjs/components/Editable/utils/clearSelection.js.map +0 -1
- package/cjs/components/Editable/utils/selectText.js +0 -30
- package/cjs/components/Editable/utils/selectText.js.map +0 -1
- package/cjs/components/Editable/variations/_size/base.js +0 -9
- package/cjs/components/Editable/variations/_size/base.js.map +0 -1
- package/cjs/components/Editable/variations/_size/base_54y6eh.css +0 -1
- package/cjs/components/Editable/variations/_view/base.js +0 -9
- package/cjs/components/Editable/variations/_view/base.js.map +0 -1
- package/cjs/components/Editable/variations/_view/base_11fpjfv.css +0 -1
- package/cjs/utils/constants.js +0 -20
- package/cjs/utils/constants.js.map +0 -1
- package/emotion/cjs/components/Editable/Editable.js +0 -159
- package/emotion/cjs/components/Editable/Editable.styles.js +0 -22
- package/emotion/cjs/components/Editable/Editable.tokens.js +0 -19
- package/emotion/cjs/components/Editable/Editable.types.js +0 -5
- package/emotion/cjs/components/Editable/index.js +0 -25
- package/emotion/cjs/components/Editable/utils/clearSelection.js +0 -19
- package/emotion/cjs/components/Editable/utils/index.js +0 -19
- package/emotion/cjs/components/Editable/utils/selectText.js +0 -26
- package/emotion/cjs/components/Editable/variations/_size/base.js +0 -10
- package/emotion/cjs/components/Editable/variations/_size/tokens.json +0 -1
- package/emotion/cjs/components/Editable/variations/_view/base.js +0 -10
- package/emotion/cjs/components/Editable/variations/_view/tokens.json +0 -5
- package/emotion/cjs/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.config.js +0 -39
- package/emotion/cjs/examples/plasma_b2c/components/Combobox/ComboboxOld/Combobox.config.js +0 -25
- package/emotion/cjs/examples/plasma_b2c/components/Editable/Editable.config.js +0 -22
- package/emotion/cjs/examples/plasma_b2c/components/Editable/Editable.js +0 -22
- package/emotion/cjs/examples/plasma_b2c/components/Editable/Editable.stories.tsx +0 -81
- package/emotion/cjs/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.config.js +0 -39
- package/emotion/cjs/examples/plasma_web/components/Combobox/ComboboxOld/Combobox.config.js +0 -25
- package/emotion/cjs/examples/plasma_web/components/Editable/Editable.config.js +0 -22
- package/emotion/cjs/examples/plasma_web/components/Editable/Editable.js +0 -22
- package/emotion/cjs/examples/plasma_web/components/Editable/Editable.stories.tsx +0 -81
- package/emotion/cjs/utils/constants.js +0 -19
- package/emotion/es/components/Editable/Editable.js +0 -150
- package/emotion/es/components/Editable/Editable.styles.js +0 -15
- package/emotion/es/components/Editable/Editable.tokens.js +0 -13
- package/emotion/es/components/Editable/Editable.types.js +0 -1
- package/emotion/es/components/Editable/index.js +0 -2
- package/emotion/es/components/Editable/utils/clearSelection.js +0 -13
- package/emotion/es/components/Editable/utils/index.js +0 -2
- package/emotion/es/components/Editable/utils/selectText.js +0 -20
- package/emotion/es/components/Editable/variations/_size/base.js +0 -4
- package/emotion/es/components/Editable/variations/_size/tokens.json +0 -1
- package/emotion/es/components/Editable/variations/_view/base.js +0 -4
- package/emotion/es/components/Editable/variations/_view/tokens.json +0 -5
- package/emotion/es/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.config.js +0 -33
- package/emotion/es/examples/plasma_b2c/components/Combobox/ComboboxOld/Combobox.config.js +0 -19
- package/emotion/es/examples/plasma_b2c/components/Editable/Editable.config.js +0 -16
- package/emotion/es/examples/plasma_b2c/components/Editable/Editable.js +0 -16
- package/emotion/es/examples/plasma_b2c/components/Editable/Editable.stories.tsx +0 -81
- package/emotion/es/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.config.js +0 -33
- package/emotion/es/examples/plasma_web/components/Combobox/ComboboxOld/Combobox.config.js +0 -19
- package/emotion/es/examples/plasma_web/components/Editable/Editable.config.js +0 -16
- package/emotion/es/examples/plasma_web/components/Editable/Editable.js +0 -16
- package/emotion/es/examples/plasma_web/components/Editable/Editable.stories.tsx +0 -81
- package/emotion/es/utils/constants.js +0 -13
- package/es/components/Editable/Editable.css +0 -7
- package/es/components/Editable/Editable.js +0 -149
- package/es/components/Editable/Editable.js.map +0 -1
- package/es/components/Editable/Editable.styles.js +0 -26
- package/es/components/Editable/Editable.styles.js.map +0 -1
- package/es/components/Editable/Editable.styles_40s761.css +0 -3
- package/es/components/Editable/Editable.tokens.js +0 -16
- package/es/components/Editable/Editable.tokens.js.map +0 -1
- package/es/components/Editable/utils/clearSelection.js +0 -19
- package/es/components/Editable/utils/clearSelection.js.map +0 -1
- package/es/components/Editable/utils/selectText.js +0 -26
- package/es/components/Editable/utils/selectText.js.map +0 -1
- package/es/components/Editable/variations/_size/base.js +0 -5
- package/es/components/Editable/variations/_size/base.js.map +0 -1
- package/es/components/Editable/variations/_size/base_54y6eh.css +0 -1
- package/es/components/Editable/variations/_view/base.js +0 -5
- package/es/components/Editable/variations/_view/base.js.map +0 -1
- package/es/components/Editable/variations/_view/base_11fpjfv.css +0 -1
- package/es/utils/constants.js +0 -16
- package/es/utils/constants.js.map +0 -1
- package/styled-components/cjs/components/Editable/Editable.js +0 -159
- package/styled-components/cjs/components/Editable/Editable.styles.js +0 -23
- package/styled-components/cjs/components/Editable/Editable.tokens.js +0 -19
- package/styled-components/cjs/components/Editable/Editable.types.js +0 -5
- package/styled-components/cjs/components/Editable/index.js +0 -25
- package/styled-components/cjs/components/Editable/utils/clearSelection.js +0 -19
- package/styled-components/cjs/components/Editable/utils/index.js +0 -19
- package/styled-components/cjs/components/Editable/utils/selectText.js +0 -26
- package/styled-components/cjs/components/Editable/variations/_size/base.js +0 -10
- package/styled-components/cjs/components/Editable/variations/_size/tokens.json +0 -1
- package/styled-components/cjs/components/Editable/variations/_view/base.js +0 -10
- package/styled-components/cjs/components/Editable/variations/_view/tokens.json +0 -5
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.stories.tsx +0 -366
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/ComboboxOld/Combobox.stories.tsx +0 -254
- package/styled-components/cjs/examples/plasma_b2c/components/Editable/Editable.config.js +0 -22
- package/styled-components/cjs/examples/plasma_b2c/components/Editable/Editable.js +0 -22
- package/styled-components/cjs/examples/plasma_b2c/components/Editable/Editable.stories.tsx +0 -81
- package/styled-components/cjs/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.config.js +0 -39
- package/styled-components/cjs/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.stories.tsx +0 -366
- package/styled-components/cjs/examples/plasma_web/components/Combobox/ComboboxOld/Combobox.stories.tsx +0 -254
- package/styled-components/cjs/examples/plasma_web/components/Editable/Editable.config.js +0 -22
- package/styled-components/cjs/examples/plasma_web/components/Editable/Editable.js +0 -22
- package/styled-components/cjs/examples/plasma_web/components/Editable/Editable.stories.tsx +0 -81
- package/styled-components/cjs/utils/constants.js +0 -19
- package/styled-components/es/components/Editable/Editable.js +0 -150
- package/styled-components/es/components/Editable/Editable.styles.js +0 -15
- package/styled-components/es/components/Editable/Editable.tokens.js +0 -13
- package/styled-components/es/components/Editable/Editable.types.js +0 -1
- package/styled-components/es/components/Editable/index.js +0 -2
- package/styled-components/es/components/Editable/utils/clearSelection.js +0 -13
- package/styled-components/es/components/Editable/utils/index.js +0 -2
- package/styled-components/es/components/Editable/utils/selectText.js +0 -20
- package/styled-components/es/components/Editable/variations/_size/base.js +0 -4
- package/styled-components/es/components/Editable/variations/_size/tokens.json +0 -1
- package/styled-components/es/components/Editable/variations/_view/base.js +0 -4
- package/styled-components/es/components/Editable/variations/_view/tokens.json +0 -5
- package/styled-components/es/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.config.js +0 -33
- package/styled-components/es/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.stories.tsx +0 -366
- package/styled-components/es/examples/plasma_b2c/components/Combobox/ComboboxOld/Combobox.stories.tsx +0 -254
- package/styled-components/es/examples/plasma_b2c/components/Editable/Editable.config.js +0 -16
- package/styled-components/es/examples/plasma_b2c/components/Editable/Editable.js +0 -16
- package/styled-components/es/examples/plasma_b2c/components/Editable/Editable.stories.tsx +0 -81
- package/styled-components/es/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.stories.tsx +0 -366
- package/styled-components/es/examples/plasma_web/components/Combobox/ComboboxOld/Combobox.stories.tsx +0 -254
- package/styled-components/es/examples/plasma_web/components/Editable/Editable.config.js +0 -16
- package/styled-components/es/examples/plasma_web/components/Editable/Editable.js +0 -16
- package/styled-components/es/examples/plasma_web/components/Editable/Editable.stories.tsx +0 -81
- package/styled-components/es/utils/constants.js +0 -13
- package/types/components/Editable/Editable.d.ts +0 -23
- package/types/components/Editable/Editable.d.ts.map +0 -1
- package/types/components/Editable/Editable.styles.d.ts +0 -7
- package/types/components/Editable/Editable.styles.d.ts.map +0 -1
- package/types/components/Editable/Editable.tokens.d.ts +0 -14
- package/types/components/Editable/Editable.tokens.d.ts.map +0 -1
- package/types/components/Editable/Editable.types.d.ts +0 -39
- package/types/components/Editable/Editable.types.d.ts.map +0 -1
- package/types/components/Editable/index.d.ts +0 -3
- package/types/components/Editable/index.d.ts.map +0 -1
- package/types/components/Editable/utils/clearSelection.d.ts +0 -2
- package/types/components/Editable/utils/clearSelection.d.ts.map +0 -1
- package/types/components/Editable/utils/index.d.ts +0 -3
- package/types/components/Editable/utils/index.d.ts.map +0 -1
- package/types/components/Editable/utils/selectText.d.ts +0 -2
- package/types/components/Editable/utils/selectText.d.ts.map +0 -1
- package/types/components/Editable/variations/_size/base.d.ts +0 -2
- package/types/components/Editable/variations/_size/base.d.ts.map +0 -1
- package/types/components/Editable/variations/_view/base.d.ts +0 -2
- package/types/components/Editable/variations/_view/base.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.config.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.d.ts +0 -37
- package/types/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/Combobox/ComboboxOld/Combobox.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/Editable/Editable.config.d.ts +0 -15
- package/types/examples/plasma_b2c/components/Editable/Editable.config.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/Editable/Editable.d.ts +0 -57
- package/types/examples/plasma_b2c/components/Editable/Editable.d.ts.map +0 -1
- package/types/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.config.d.ts.map +0 -1
- package/types/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.d.ts +0 -37
- package/types/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.d.ts.map +0 -1
- package/types/examples/plasma_web/components/Combobox/ComboboxOld/Combobox.d.ts.map +0 -1
- package/types/examples/plasma_web/components/Editable/Editable.config.d.ts +0 -15
- package/types/examples/plasma_web/components/Editable/Editable.config.d.ts.map +0 -1
- package/types/examples/plasma_web/components/Editable/Editable.d.ts +0 -57
- package/types/examples/plasma_web/components/Editable/Editable.d.ts.map +0 -1
- package/types/utils/constants.d.ts +0 -14
- package/types/utils/constants.d.ts.map +0 -1
- /package/emotion/cjs/examples/plasma_b2c/components/Combobox/{ComboboxOld → Legacy}/Combobox.js +0 -0
- /package/emotion/cjs/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.js +0 -0
- /package/emotion/es/examples/plasma_b2c/components/Combobox/{ComboboxOld → Legacy}/Combobox.js +0 -0
- /package/emotion/es/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.js +0 -0
- /package/styled-components/cjs/examples/plasma_b2c/components/Combobox/{ComboboxOld → Legacy}/Combobox.js +0 -0
- /package/styled-components/cjs/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.js +0 -0
- /package/styled-components/es/examples/plasma_b2c/components/Combobox/{ComboboxOld → Legacy}/Combobox.js +0 -0
- /package/styled-components/es/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.js +0 -0
- /package/types/examples/plasma_b2c/components/Combobox/{ComboboxNew/Combobox.config.d.ts → Combobox.config.d.ts} +0 -0
- /package/types/examples/plasma_b2c/components/Combobox/{ComboboxOld → Legacy}/Combobox.config.d.ts +0 -0
- /package/types/examples/plasma_b2c/components/Combobox/{ComboboxOld → Legacy}/Combobox.d.ts +0 -0
- /package/types/examples/plasma_web/components/Combobox/{ComboboxNew/Combobox.config.d.ts → Combobox.config.d.ts} +0 -0
- /package/types/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.config.d.ts +0 -0
- /package/types/examples/plasma_web/components/Combobox/{ComboboxOld → Legacy}/Combobox.d.ts +0 -0
package/styled-components/es/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx
ADDED
@@ -0,0 +1,256 @@
|
|
1
|
+
import React, { useState } from 'react';
|
2
|
+
import type { ComponentProps } from 'react';
|
3
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
4
|
+
import { action } from '@storybook/addon-actions';
|
5
|
+
|
6
|
+
import { mergeConfig } from '../../../../../engines';
|
7
|
+
import { Checkbox } from '../../Checkbox/Checkbox';
|
8
|
+
import { comboboxOldConfig } from '../../../../../components/Combobox';
|
9
|
+
import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
|
10
|
+
import { IconDone } from '../../../../../components/_Icon';
|
11
|
+
|
12
|
+
import { Combobox, ComboboxDivider, ComboboxItem } from './Combobox';
|
13
|
+
import { config } from './Combobox.config';
|
14
|
+
|
15
|
+
const placements: Array<string> = ['top', 'bottom', 'right', 'left', 'auto'];
|
16
|
+
const enumerations: Array<string> = ['comma', 'chip'];
|
17
|
+
|
18
|
+
type ComboboxPrimitiveValue = string | number | boolean;
|
19
|
+
|
20
|
+
type StorySelectPropsCustom = {
|
21
|
+
skidding?: number;
|
22
|
+
distance?: number;
|
23
|
+
};
|
24
|
+
|
25
|
+
type StorySelectProps = ComponentProps<typeof Combobox> & StorySelectPropsCustom;
|
26
|
+
|
27
|
+
const meta: Meta<StorySelectProps> = {
|
28
|
+
title: 'plasma_web/Combobox',
|
29
|
+
decorators: [WithTheme],
|
30
|
+
component: Combobox,
|
31
|
+
argTypes: {
|
32
|
+
placement: {
|
33
|
+
options: placements,
|
34
|
+
control: {
|
35
|
+
type: 'select',
|
36
|
+
},
|
37
|
+
},
|
38
|
+
enumerationType: {
|
39
|
+
options: enumerations,
|
40
|
+
control: {
|
41
|
+
type: 'select',
|
42
|
+
},
|
43
|
+
},
|
44
|
+
...argTypesFromConfig(mergeConfig(comboboxOldConfig, config)),
|
45
|
+
},
|
46
|
+
args: {
|
47
|
+
usePortal: false,
|
48
|
+
disabled: false,
|
49
|
+
readOnly: false,
|
50
|
+
label: 'Label',
|
51
|
+
placeholder: 'Placeholder',
|
52
|
+
enumerationType: 'comma',
|
53
|
+
size: 'm',
|
54
|
+
view: 'default',
|
55
|
+
placement: 'bottom',
|
56
|
+
},
|
57
|
+
};
|
58
|
+
|
59
|
+
export default meta;
|
60
|
+
|
61
|
+
const onChangeAction = action('onChange');
|
62
|
+
|
63
|
+
const iconDoneToSelectSizeMap: Record<string, 'xs' | 's'> = {
|
64
|
+
xs: 'xs',
|
65
|
+
s: 's',
|
66
|
+
m: 's',
|
67
|
+
l: 's',
|
68
|
+
};
|
69
|
+
|
70
|
+
const checkboxToSelectSizeMap: Record<string, 's' | 'm'> = {
|
71
|
+
xs: 's',
|
72
|
+
s: 'm',
|
73
|
+
m: 'm',
|
74
|
+
l: 'm',
|
75
|
+
};
|
76
|
+
|
77
|
+
const getSelectItems = (slug: string, elemCount: number) =>
|
78
|
+
[...Array(elemCount).keys()].map((num) => ({
|
79
|
+
value: `${slug}_${num}`,
|
80
|
+
child: `${slug} ${num}`,
|
81
|
+
}));
|
82
|
+
|
83
|
+
const SingleDemo = (args: StorySelectProps) => {
|
84
|
+
const { usePortal, placement, label, placeholder, readOnly, disabled, size = 'm', view } = args;
|
85
|
+
|
86
|
+
const [value, setValue] = useState<ComboboxPrimitiveValue | undefined>('item_0');
|
87
|
+
|
88
|
+
const onChangeValue = (newValue?: ComboboxPrimitiveValue) => {
|
89
|
+
setValue(newValue);
|
90
|
+
onChangeAction(newValue);
|
91
|
+
};
|
92
|
+
|
93
|
+
return (
|
94
|
+
<div style={{ width: '50%', margin: '3rem 0' }}>
|
95
|
+
<h4>Combobox с единичным выбором</h4>
|
96
|
+
<Combobox
|
97
|
+
frame="theme-root"
|
98
|
+
usePortal={usePortal}
|
99
|
+
valueType="single"
|
100
|
+
value={value}
|
101
|
+
placement={placement}
|
102
|
+
label={label}
|
103
|
+
placeholder={placeholder}
|
104
|
+
size={size}
|
105
|
+
view={view}
|
106
|
+
disabled={disabled}
|
107
|
+
readOnly={readOnly}
|
108
|
+
onChangeValue={onChangeValue}
|
109
|
+
>
|
110
|
+
<ComboboxItem value={undefined} text="Clear" />
|
111
|
+
{getSelectItems('item', 6).map((item) => (
|
112
|
+
<ComboboxItem
|
113
|
+
key={item.value}
|
114
|
+
contentLeft={
|
115
|
+
item.value === value ? (
|
116
|
+
<IconDone size={iconDoneToSelectSizeMap[size]} color="inherit" />
|
117
|
+
) : undefined
|
118
|
+
}
|
119
|
+
value={item.value}
|
120
|
+
text={item.child}
|
121
|
+
/>
|
122
|
+
))}
|
123
|
+
</Combobox>
|
124
|
+
</div>
|
125
|
+
);
|
126
|
+
};
|
127
|
+
|
128
|
+
const MultipleDemo = (args: StorySelectProps) => {
|
129
|
+
const { usePortal, placement, label, placeholder, readOnly, disabled, enumerationType, size = 'm', view } = args;
|
130
|
+
|
131
|
+
const [value, setValue] = useState<Array<ComboboxPrimitiveValue> | undefined>(['item_2', 'item_3']);
|
132
|
+
|
133
|
+
const onChangeValue = (newValue?: Array<ComboboxPrimitiveValue>) => {
|
134
|
+
setValue(newValue);
|
135
|
+
onChangeAction(newValue);
|
136
|
+
};
|
137
|
+
|
138
|
+
return (
|
139
|
+
<div style={{ width: '50%', marginBottom: '3rem' }}>
|
140
|
+
<h4>Combobox с множественным выбором</h4>
|
141
|
+
<Combobox
|
142
|
+
frame="theme-root"
|
143
|
+
usePortal={usePortal}
|
144
|
+
valueType="multiple"
|
145
|
+
enumerationType={enumerationType}
|
146
|
+
value={value}
|
147
|
+
placement={placement}
|
148
|
+
label={label}
|
149
|
+
placeholder={placeholder}
|
150
|
+
size={size}
|
151
|
+
view={view}
|
152
|
+
disabled={disabled}
|
153
|
+
readOnly={readOnly}
|
154
|
+
onChangeValue={onChangeValue}
|
155
|
+
>
|
156
|
+
<ComboboxItem value={undefined} text="Clear" />
|
157
|
+
{getSelectItems('item', 6).map((item) => (
|
158
|
+
<ComboboxItem
|
159
|
+
key={item.value}
|
160
|
+
contentLeft={<Checkbox size={checkboxToSelectSizeMap[size]} />}
|
161
|
+
value={item.value}
|
162
|
+
text={item.child}
|
163
|
+
/>
|
164
|
+
))}
|
165
|
+
</Combobox>
|
166
|
+
</div>
|
167
|
+
);
|
168
|
+
};
|
169
|
+
|
170
|
+
const AddCustomItemDemo = (args: StorySelectProps) => {
|
171
|
+
const { usePortal, placement, label, placeholder, readOnly, disabled, size = 'm', view } = args;
|
172
|
+
|
173
|
+
const [opened, setOpened] = useState(false);
|
174
|
+
const [items, setItems] = useState(getSelectItems('item', 1));
|
175
|
+
const [value, setValue] = useState<ComboboxPrimitiveValue | undefined>('item_0');
|
176
|
+
|
177
|
+
const onChangeValue = (newValue?: ComboboxPrimitiveValue) => {
|
178
|
+
setValue(newValue);
|
179
|
+
onChangeAction(newValue);
|
180
|
+
};
|
181
|
+
|
182
|
+
const onToggle = (openValue: boolean) => setOpened(openValue);
|
183
|
+
|
184
|
+
const onKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => {
|
185
|
+
const { code } = event;
|
186
|
+
|
187
|
+
if (code === 'Enter') {
|
188
|
+
const newValue = (event.target as HTMLInputElement).value;
|
189
|
+
const newItems = [...items];
|
190
|
+
|
191
|
+
if (newItems.find((item) => item.child === newValue)) {
|
192
|
+
return;
|
193
|
+
}
|
194
|
+
|
195
|
+
newItems.push({
|
196
|
+
value: `${newValue}_`,
|
197
|
+
child: (newValue || '').toString(),
|
198
|
+
});
|
199
|
+
|
200
|
+
setOpened(false);
|
201
|
+
setItems(newItems);
|
202
|
+
}
|
203
|
+
};
|
204
|
+
|
205
|
+
const filterFunction = () => true;
|
206
|
+
|
207
|
+
return (
|
208
|
+
<div style={{ width: '50%' }}>
|
209
|
+
<h4>Combobox с добавлением пользовательского элемента</h4>
|
210
|
+
<Combobox
|
211
|
+
frame="theme-root"
|
212
|
+
usePortal={usePortal}
|
213
|
+
valueType="single"
|
214
|
+
value={value}
|
215
|
+
placement={placement}
|
216
|
+
label={label}
|
217
|
+
placeholder={placeholder}
|
218
|
+
size={size}
|
219
|
+
view={view}
|
220
|
+
disabled={disabled}
|
221
|
+
readOnly={readOnly}
|
222
|
+
opened={opened}
|
223
|
+
onToggle={onToggle}
|
224
|
+
onChangeValue={onChangeValue}
|
225
|
+
onKeyDown={onKeyDown}
|
226
|
+
filterFunction={filterFunction}
|
227
|
+
>
|
228
|
+
<ComboboxItem value={undefined} text="Clear" />
|
229
|
+
<ComboboxDivider />
|
230
|
+
{items.map((item) => (
|
231
|
+
<ComboboxItem
|
232
|
+
key={item.value}
|
233
|
+
contentLeft={
|
234
|
+
item.value === value ? (
|
235
|
+
<IconDone size={iconDoneToSelectSizeMap[size]} color="inherit" />
|
236
|
+
) : undefined
|
237
|
+
}
|
238
|
+
value={item.value}
|
239
|
+
text={item.child}
|
240
|
+
/>
|
241
|
+
))}
|
242
|
+
</Combobox>
|
243
|
+
</div>
|
244
|
+
);
|
245
|
+
};
|
246
|
+
|
247
|
+
export const Legacy: StoryObj<StorySelectProps> = {
|
248
|
+
render: (args) => (
|
249
|
+
<>
|
250
|
+
<h3>Combobox на композиционной архитектуре (deprecated)</h3>
|
251
|
+
<SingleDemo {...args} />
|
252
|
+
<MultipleDemo {...args} />
|
253
|
+
<AddCustomItemDemo {...args} />
|
254
|
+
</>
|
255
|
+
),
|
256
|
+
};
|
@@ -8,10 +8,10 @@ export var config = {
|
|
8
8
|
},
|
9
9
|
variations: {
|
10
10
|
view: {
|
11
|
-
"default": /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--surface-transparent-tertiary);", ":var(--text-secondary);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.labelColor, tokens.leftHelperColor, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor),
|
12
|
-
positive: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-positive);", ":var(--surface-positive);", ":var(--surface-positive);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.labelColor, tokens.leftHelperColor, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor),
|
13
|
-
warning: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-warning);", ":var(--surface-warning);", ":var(--surface-warning);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.labelColor, tokens.leftHelperColor, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor),
|
14
|
-
negative: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-negative);", ":var(--surface-negative);", ":var(--surface-negative);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.labelColor, tokens.leftHelperColor, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor)
|
11
|
+
"default": /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-secondary-hover);", ":var(--text-secondary-active);", ":var(--surface-transparent-tertiary);", ":var(--text-secondary);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.labelColor, tokens.leftHelperColor, tokens.contentSlotColor, tokens.contentSlotColorHover, tokens.contentSlotColorActive, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor),
|
12
|
+
positive: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-positive);", ":var(--text-secondary);", ":var(--text-secondary-hover);", ":var(--text-secondary-active);", ":var(--surface-positive);", ":var(--surface-positive);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.labelColor, tokens.leftHelperColor, tokens.contentSlotColor, tokens.contentSlotColorHover, tokens.contentSlotColorActive, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor),
|
13
|
+
warning: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-warning);", ":var(--text-secondary);", ":var(--text-secondary-hover);", ":var(--text-secondary-active);", ":var(--surface-warning);", ":var(--surface-warning);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.labelColor, tokens.leftHelperColor, tokens.contentSlotColor, tokens.contentSlotColorHover, tokens.contentSlotColorActive, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor),
|
14
|
+
negative: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-negative);", ":var(--text-secondary);", ":var(--text-secondary-hover);", ":var(--text-secondary-active);", ":var(--surface-negative);", ":var(--surface-negative);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.labelColor, tokens.leftHelperColor, tokens.contentSlotColor, tokens.contentSlotColorHover, tokens.contentSlotColorActive, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor)
|
15
15
|
},
|
16
16
|
size: {
|
17
17
|
l: /*#__PURE__*/css(["", ":3.5rem;", ":1.0625rem 1.125rem 1.0625rem 1.125rem;", ":0.375rem;", ":0.875rem;", ":0.0625rem;", ":-0.0625rem 0.5rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.75rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.5625rem 0 0.125rem 0;", ":1.5625rem 0 0.5625rem 0;", ":0.25rem;", ":0.5rem;", ":auto;", ":2.75rem;", ":0.75rem;", ":1rem;", ":0.625rem;", ":0rem;", ":1.5rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.5rem;", ":0.375rem;", ":0 0 0 0;", ":0.5rem auto auto -0.75rem;", ":0 0 auto auto;", ":0.25rem -0.625rem auto auto;"], tokens.height, tokens.padding, tokens.paddingWithChips, tokens.borderRadius, tokens.borderWidth, tokens.leftContentMargin, tokens.rightContentMargin, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.labelOffset, tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.labelInnerPadding, tokens.contentLabelInnerPadding, tokens.chipGap, tokens.chipBorderRadius, tokens.chipWidth, tokens.chipHeight, tokens.chipPaddingRight, tokens.chipPaddingLeft, tokens.chipClearContentMarginLeft, tokens.chipClearContentMarginRight, tokens.chipCloseIconSize, tokens.chipFontFamily, tokens.chipFontSize, tokens.chipFontStyle, tokens.chipFontWeight, tokens.chipLetterSpacing, tokens.chipLineHeight, tokens.indicatorSizeInner, tokens.indicatorSizeOuter, tokens.indicatorLabelPlacementInner, tokens.indicatorLabelPlacementOuter, tokens.indicatorLabelPlacementInnerRight, tokens.indicatorLabelPlacementOuterRight),
|
@@ -4,6 +4,7 @@ import { action } from '@storybook/addon-actions';
|
|
4
4
|
import { IconPlaceholder } from '@salutejs/plasma-sb-utils';
|
5
5
|
|
6
6
|
import { WithTheme } from '../../../_helpers';
|
7
|
+
import { IconChevronLeft } from '../../../../components/_Icon';
|
7
8
|
|
8
9
|
import { TextField } from './TextField';
|
9
10
|
|
@@ -185,7 +186,7 @@ const StoryChips = ({ enableContentLeft, enableContentRight, view, ...rest }: St
|
|
185
186
|
{...rest}
|
186
187
|
enumerationType="chip"
|
187
188
|
value={text}
|
188
|
-
contentLeft={enableContentLeft ? <
|
189
|
+
contentLeft={enableContentLeft ? <IconChevronLeft color="inherit" size={iconSize} /> : undefined}
|
189
190
|
contentRight={enableContentRight ? <IconPlaceholder size={iconSize} /> : undefined}
|
190
191
|
view={view}
|
191
192
|
onChange={(e) => {
|
@@ -55,5 +55,4 @@ export * from './components/DatePicker';
|
|
55
55
|
export * from './components/Portal';
|
56
56
|
export * from './components/Price';
|
57
57
|
export * from './components/Autocomplete';
|
58
|
-
export * from './components/EmptyState';
|
59
|
-
export * from './components/Editable';
|
58
|
+
export * from './components/EmptyState';
|
@@ -4,8 +4,6 @@ export { getSizeValueFromProp } from './getSizeValueFromProp';
|
|
4
4
|
export { IS_REACT_18, safeUseId } from './react';
|
5
5
|
export { isNumber } from './isNumber';
|
6
6
|
export { isEmpty } from './isEmpty';
|
7
|
-
import * as _constants from './constants';
|
8
|
-
export { _constants as constants };
|
9
7
|
export * from './getPopoverPlacement';
|
10
8
|
export var cx = function cx() {
|
11
9
|
for (var _len = arguments.length, classes = new Array(_len), _key = 0; _key < _len; _key++) {
|
@@ -23,7 +23,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
23
23
|
onChangeChips?: undefined;
|
24
24
|
enumerationType?: "plain" | undefined;
|
25
25
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
26
|
-
} & Omit<import("
|
26
|
+
} & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
27
27
|
size?: string | undefined;
|
28
28
|
view?: string | undefined;
|
29
29
|
readOnly?: boolean | undefined;
|
@@ -47,7 +47,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
47
47
|
onSearch?: undefined;
|
48
48
|
chips?: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
49
49
|
onChangeChips?: ((value: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
50
|
-
} & Omit<import("
|
50
|
+
} & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
51
51
|
size?: string | undefined;
|
52
52
|
view?: string | undefined;
|
53
53
|
readOnly?: boolean | undefined;
|
@@ -71,7 +71,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
71
71
|
onChangeChips?: undefined;
|
72
72
|
enumerationType?: "plain" | undefined;
|
73
73
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
74
|
-
} & Omit<import("
|
74
|
+
} & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
75
75
|
size?: string | undefined;
|
76
76
|
view?: string | undefined;
|
77
77
|
readOnly?: boolean | undefined;
|
@@ -95,5 +95,5 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
95
95
|
onSearch?: undefined;
|
96
96
|
chips?: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
97
97
|
onChangeChips?: ((value: import("../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
98
|
-
} & Omit<import("
|
98
|
+
} & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
99
99
|
//# sourceMappingURL=TextField.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Autocomplete/ui/TextField/TextField.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Autocomplete/ui/TextField/TextField.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qJA0D3B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4F,MAAM,OAAO,CAAC;AAIjH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAoB7C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKnE,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC,
|
1
|
+
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4F,MAAM,OAAO,CAAC;AAIjH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAoB7C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKnE,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC,2FAuYtF,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAzYQ,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;CA8Z3F,CAAC"}
|
@@ -19,6 +19,46 @@ declare type IsMultiselect = {
|
|
19
19
|
onChange?: (value: Array<string>) => void;
|
20
20
|
isTargetAmount?: boolean;
|
21
21
|
};
|
22
|
+
declare type ViewStateProps = {
|
23
|
+
/**
|
24
|
+
* Компонент доступен только для чтения.
|
25
|
+
*/
|
26
|
+
readOnly?: boolean;
|
27
|
+
/**
|
28
|
+
* Компонент неактивен.
|
29
|
+
*/
|
30
|
+
disabled?: true;
|
31
|
+
/**
|
32
|
+
* Дропдаун открыт всегда.
|
33
|
+
*/
|
34
|
+
alwaysOpened?: false;
|
35
|
+
} | {
|
36
|
+
/**
|
37
|
+
* Компонент доступен только для чтения.
|
38
|
+
*/
|
39
|
+
readOnly?: true;
|
40
|
+
/**
|
41
|
+
* Компонент неактивен.
|
42
|
+
*/
|
43
|
+
disabled?: boolean;
|
44
|
+
/**
|
45
|
+
* Дропдаун открыт всегда.
|
46
|
+
*/
|
47
|
+
alwaysOpened?: false;
|
48
|
+
} | {
|
49
|
+
/**
|
50
|
+
* Компонент доступен только для чтения.
|
51
|
+
*/
|
52
|
+
readOnly?: false;
|
53
|
+
/**
|
54
|
+
* Компонент неактивен.
|
55
|
+
*/
|
56
|
+
disabled?: false;
|
57
|
+
/**
|
58
|
+
* Дропдаун открыт всегда.
|
59
|
+
*/
|
60
|
+
alwaysOpened?: true;
|
61
|
+
};
|
22
62
|
export interface BasicProps {
|
23
63
|
/**
|
24
64
|
* Список элементов.
|
@@ -86,7 +126,7 @@ export interface BasicProps {
|
|
86
126
|
filter?: (label: string, textValue: string) => boolean;
|
87
127
|
/**
|
88
128
|
* Закрывать ли выпадающий список после выбора элемента.
|
89
|
-
* @default если single, то true; если multiple, то false
|
129
|
+
* @default если single, то true; если multiple, то false; если передан alwaysOpened, то false
|
90
130
|
*/
|
91
131
|
closeAfterSelect?: boolean;
|
92
132
|
/**
|
@@ -102,16 +142,8 @@ export interface BasicProps {
|
|
102
142
|
* @default outer
|
103
143
|
*/
|
104
144
|
labelPlacement?: 'outer' | 'inner';
|
105
|
-
/**
|
106
|
-
* Компонент доступен только для чтения.
|
107
|
-
*/
|
108
|
-
readOnly?: boolean;
|
109
|
-
/**
|
110
|
-
* Компонент неактивен.
|
111
|
-
*/
|
112
|
-
disabled?: boolean;
|
113
145
|
}
|
114
|
-
export declare type ComboboxProps = BasicProps & IsMultiselect & Omit<ButtonHTMLAttributes<HTMLInputElement>, 'value' | 'onChange'>;
|
146
|
+
export declare type ComboboxProps = BasicProps & ViewStateProps & IsMultiselect & Omit<ButtonHTMLAttributes<HTMLInputElement>, 'value' | 'onChange'>;
|
115
147
|
export declare type FloatingPopoverProps = {
|
116
148
|
target: React.ReactNode | ((ref: React.MutableRefObject<HTMLElement | null>) => React.ReactNode);
|
117
149
|
children: React.ReactNode;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAClF,OAAO,KAAK,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAErF,aAAK,SAAS,GACR,KAAK,GACL,WAAW,GACX,SAAS,GACT,OAAO,GACP,aAAa,GACb,WAAW,GACX,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,MAAM,GACN,YAAY,GACZ,UAAU,CAAC;AAEjB,aAAK,aAAa,GACZ;IACI,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;;OAGG;IACH,cAAc,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;CAClC,GACD;IACI,QAAQ,EAAE,IAAI,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,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xC,cAAc,EAAE,kBAAkB,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAU,EAAE,EAAc,MAAM,OAAO,CAAC;AAStD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAazC,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,
|
1
|
+
{"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAU,EAAE,EAAc,MAAM,OAAO,CAAC;AAStD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAazC,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAsH9B,CAAC"}
|
@@ -23,7 +23,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
23
23
|
onChangeChips?: undefined;
|
24
24
|
enumerationType?: "plain" | undefined;
|
25
25
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
26
|
-
} & Omit<import("
|
26
|
+
} & Omit<import("../../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
27
27
|
size?: string | undefined;
|
28
28
|
view?: string | undefined;
|
29
29
|
readOnly?: boolean | undefined;
|
@@ -47,7 +47,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
47
47
|
onSearch?: undefined;
|
48
48
|
chips?: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
49
49
|
onChangeChips?: ((value: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
50
|
-
} & Omit<import("
|
50
|
+
} & Omit<import("../../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
51
51
|
size?: string | undefined;
|
52
52
|
view?: string | undefined;
|
53
53
|
readOnly?: boolean | undefined;
|
@@ -71,7 +71,7 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
71
71
|
onChangeChips?: undefined;
|
72
72
|
enumerationType?: "plain" | undefined;
|
73
73
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
74
|
-
} & Omit<import("
|
74
|
+
} & Omit<import("../../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
75
75
|
size?: string | undefined;
|
76
76
|
view?: string | undefined;
|
77
77
|
readOnly?: boolean | undefined;
|
@@ -95,5 +95,5 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
|
|
95
95
|
onSearch?: undefined;
|
96
96
|
chips?: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
97
97
|
onChangeChips?: ((value: import("../../../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
98
|
-
} & Omit<import("
|
98
|
+
} & Omit<import("../../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
99
99
|
//# sourceMappingURL=Target.styles.d.ts.map
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wJAuF3B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxOld/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAGjF,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAU7C,OAAO,KAAK,EAA0B,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE9E;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,aAAa,CAAC,
|
1
|
+
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxOld/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAGjF,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAU7C,OAAO,KAAK,EAA0B,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE9E;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,aAAa,CAAC,2FA+OxE,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBAjPQ,UAAU,gBAAgB,EAAE,aAAa,CAAC;;;;;;;;;;;;;;CAkQ5E,CAAC"}
|
@@ -32,6 +32,12 @@ export interface CustomComboboxProps {
|
|
32
32
|
* false
|
33
33
|
*/
|
34
34
|
opened?: boolean;
|
35
|
+
/**
|
36
|
+
* Дропдаун открыт всегда.
|
37
|
+
* @default
|
38
|
+
* false
|
39
|
+
*/
|
40
|
+
alwaysOpened?: boolean;
|
35
41
|
/**
|
36
42
|
* Сторона открытия дропдауна относительно target элемента.
|
37
43
|
* @default
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxOld/Combobox.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAE1F,oBAAY,aAAa,GAAG,QAAQ,GAAG,UAAU,CAAC;AAElD,oBAAY,oBAAoB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAE7D,oBAAY,WAAW,GAAG,oBAAoB,GAAG,KAAK,CAAC,oBAAoB,CAAC,CAAC;AAE7E,oBAAY,sBAAsB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAE/D,oBAAY,aAAa,GAAG,sBAAsB,GAAG,KAAK,CAAC,sBAAsB,CAAC,CAAC;AAEnF,oBAAY,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE9C,oBAAY,eAAe,GAAG,OAAO,GAAG,MAAM,CAAC;AAE/C,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,iBAAiB,GAAG,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC9D;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,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AE,gBAAgB,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;CACxD;AAED,MAAM,WAAW,qBAAqB;IAClC,cAAc,EAAE,oBAAoB,CAAC;IACrC,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,KAAK,CAAC,EAAE,sBAAsB,GAAG,sBAAsB,EAAE,CAAC;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,WAAW,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACxE,YAAY,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;CACzE"}
|
@@ -24,7 +24,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
24
24
|
onChangeChips?: undefined;
|
25
25
|
enumerationType?: "plain" | undefined;
|
26
26
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
27
|
-
} & Omit<import("
|
27
|
+
} & Omit<import("../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
28
28
|
size?: string | undefined;
|
29
29
|
view?: string | undefined;
|
30
30
|
readOnly?: boolean | undefined;
|
@@ -48,7 +48,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
48
48
|
onSearch?: undefined;
|
49
49
|
chips?: import("../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
50
50
|
onChangeChips?: ((value: import("../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
51
|
-
} & Omit<import("
|
51
|
+
} & Omit<import("../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
52
52
|
size?: string | undefined;
|
53
53
|
view?: string | undefined;
|
54
54
|
readOnly?: boolean | undefined;
|
@@ -72,7 +72,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
72
72
|
onChangeChips?: undefined;
|
73
73
|
enumerationType?: "plain" | undefined;
|
74
74
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
75
|
-
} & Omit<import("
|
75
|
+
} & Omit<import("../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
76
76
|
size?: string | undefined;
|
77
77
|
view?: string | undefined;
|
78
78
|
readOnly?: boolean | undefined;
|
@@ -96,7 +96,7 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
|
|
96
96
|
onSearch?: undefined;
|
97
97
|
chips?: import("../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
98
98
|
onChangeChips?: ((value: import("../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
99
|
-
} & Omit<import("
|
99
|
+
} & Omit<import("../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
100
100
|
export declare const base: import("@linaria/core").LinariaClassName;
|
101
101
|
export declare const StyledLabel: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLabelElement> & import("react").LabelHTMLAttributes<HTMLLabelElement> & Record<never, unknown>>;
|
102
102
|
export declare const LeftHelper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SingleDate.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.styles.ts"],"names":[],"mappings":";AAcA,eAAO,MAAM,aAAa,4TAAoB,CAAC;AAG/C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"SingleDate.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.styles.ts"],"names":[],"mappings":";AAcA,eAAO,MAAM,aAAa,4TAAoB,CAAC;AAG/C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kJAuEvB,CAAC;AAEF,eAAO,MAAM,IAAI,0CAMhB,CAAC;AAEF,eAAO,MAAM,WAAW,8KAAiB,CAAC;AAE1C,eAAO,MAAM,UAAU,qKAAe,CAAC"}
|
@@ -14,5 +14,5 @@ export declare const defaultValues: {
|
|
14
14
|
textQuickJump: string;
|
15
15
|
textPerPage: string;
|
16
16
|
};
|
17
|
-
export declare const getSections: (value?: number | undefined, pages?: number | undefined, slots?: 8 | 10 | 12 | 14 |
|
17
|
+
export declare const getSections: (value?: number | undefined, pages?: number | undefined, slots?: 8 | 10 | 12 | 14 | 7 | 9 | 11 | 13 | 15 | undefined) => number[][];
|
18
18
|
//# sourceMappingURL=index.d.ts.map
|