@salutejs/plasma-new-hope 0.69.0-canary.1155.8506197081.0 → 0.70.0-canary.1160.8541256541.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Cell/Cell.css +3 -0
- package/cjs/components/Cell/Cell.js +71 -0
- package/cjs/components/Cell/Cell.js.map +1 -0
- package/cjs/components/Cell/Cell.styles.js +39 -0
- package/cjs/components/Cell/Cell.styles.js.map +1 -0
- package/cjs/components/Cell/Cell.styles_ygfo1w.css +1 -0
- package/cjs/components/Cell/Cell.tokens.js +50 -0
- package/cjs/components/Cell/Cell.tokens.js.map +1 -0
- package/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +20 -0
- package/cjs/components/Cell/ui/CellTextbox/CellTextbox.js.map +1 -0
- package/cjs/components/Cell/ui/CellTextbox/CellTextbox.styles.js +13 -0
- package/cjs/components/Cell/ui/CellTextbox/CellTextbox.styles.js.map +1 -0
- package/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js +13 -0
- package/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js.map +1 -0
- package/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.js +13 -0
- package/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.js.map +1 -0
- package/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js +13 -0
- package/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js.map +1 -0
- package/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js +13 -0
- package/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js.map +1 -0
- package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +13 -0
- package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js.map +1 -0
- package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.js +13 -0
- package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.js.map +1 -0
- package/cjs/components/{TextField/_view → Cell/variations/_size}/base.js +2 -2
- package/cjs/components/Cell/variations/_size/base.js.map +1 -0
- package/cjs/components/{TextField/_size → Cell/variations/_view}/base.js +2 -2
- package/cjs/components/Cell/variations/_view/base.js.map +1 -0
- package/cjs/components/Cell/variations/_view/base_pir0qf.css +1 -0
- package/cjs/components/Pagination/Pagination.js +14 -13
- package/cjs/components/Pagination/Pagination.js.map +1 -1
- package/cjs/components/TextField/TextField.js +155 -29
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/cjs/components/TextField/TextField.styles.js +27 -11
- package/cjs/components/TextField/TextField.styles.js.map +1 -1
- package/cjs/components/TextField/TextField.styles_1b1mddp.css +8 -0
- package/cjs/components/TextField/TextField.tokens.js +68 -20
- package/cjs/components/TextField/TextField.tokens.js.map +1 -1
- package/cjs/components/TextField/TextField_wctd2m.css +1 -0
- package/cjs/components/TextField/hooks/useKeyNavigation.js +133 -0
- package/cjs/components/TextField/hooks/useKeyNavigation.js.map +1 -0
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +19 -0
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +38 -0
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -0
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +26 -0
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -0
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles_1rauupp.css +1 -0
- package/cjs/components/TextField/variations/_disabled/base.js +9 -0
- package/cjs/components/TextField/variations/_disabled/base.js.map +1 -0
- package/cjs/components/TextField/variations/_disabled/base_1tnjoy9.css +1 -0
- package/cjs/components/TextField/{_label-placement → variations/_label-placement}/base.js +1 -1
- package/cjs/components/TextField/variations/_label-placement/base.js.map +1 -0
- package/cjs/components/TextField/{_label-placement → variations/_label-placement}/inner.js +2 -2
- package/cjs/components/TextField/variations/_label-placement/inner.js.map +1 -0
- package/cjs/components/TextField/variations/_label-placement/inner_gqlcj2.css +1 -0
- package/cjs/components/TextField/{_label-placement → variations/_label-placement}/outer.js +2 -2
- package/cjs/components/TextField/variations/_label-placement/outer.js.map +1 -0
- package/cjs/components/TextField/variations/_label-placement/outer_is41nj.css +1 -0
- package/cjs/components/TextField/variations/_read-only/base.js +9 -0
- package/cjs/components/TextField/variations/_read-only/base.js.map +1 -0
- package/cjs/components/TextField/variations/_read-only/base_134hshp.css +1 -0
- package/cjs/components/TextField/variations/_size/base.js +9 -0
- package/cjs/components/TextField/variations/_size/base.js.map +1 -0
- package/cjs/components/TextField/variations/_size/base_1khzr9t.css +1 -0
- package/cjs/components/TextField/{_disabled → variations/_view}/base.js +2 -2
- package/cjs/components/TextField/variations/_view/base.js.map +1 -0
- package/cjs/components/TextField/variations/_view/base_1qd77x6.css +1 -0
- package/cjs/index.css +20 -9
- package/cjs/index.js +16 -2
- package/cjs/index.js.map +1 -1
- package/es/components/Cell/Cell.css +3 -0
- package/es/components/Cell/Cell.js +66 -0
- package/es/components/Cell/Cell.js.map +1 -0
- package/es/components/Cell/Cell.styles.js +31 -0
- package/es/components/Cell/Cell.styles.js.map +1 -0
- package/es/components/Cell/Cell.styles_ygfo1w.css +1 -0
- package/es/components/Cell/Cell.tokens.js +45 -0
- package/es/components/Cell/Cell.tokens.js.map +1 -0
- package/es/components/Cell/ui/CellTextbox/CellTextbox.js +16 -0
- package/es/components/Cell/ui/CellTextbox/CellTextbox.js.map +1 -0
- package/es/components/Cell/ui/CellTextbox/CellTextbox.styles.js +9 -0
- package/es/components/Cell/ui/CellTextbox/CellTextbox.styles.js.map +1 -0
- package/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js +9 -0
- package/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js.map +1 -0
- package/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.js +9 -0
- package/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.js.map +1 -0
- package/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js +9 -0
- package/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js.map +1 -0
- package/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js +9 -0
- package/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js.map +1 -0
- package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +9 -0
- package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js.map +1 -0
- package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.js +9 -0
- package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.js.map +1 -0
- package/es/components/{TextField/_view → Cell/variations/_size}/base.js +2 -2
- package/es/components/Cell/variations/_size/base.js.map +1 -0
- package/es/components/Cell/variations/_size/base_x642ct.css +1 -0
- package/es/components/{TextField/_disabled → Cell/variations/_view}/base.js +2 -2
- package/es/components/Cell/variations/_view/base.js.map +1 -0
- package/es/components/Cell/variations/_view/base_pir0qf.css +1 -0
- package/es/components/Pagination/Pagination.js +15 -14
- package/es/components/Pagination/Pagination.js.map +1 -1
- package/es/components/TextField/TextField.js +158 -33
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/components/TextField/TextField.styles.js +25 -12
- package/es/components/TextField/TextField.styles.js.map +1 -1
- package/es/components/TextField/TextField.styles_1b1mddp.css +8 -0
- package/es/components/TextField/TextField.tokens.js +68 -21
- package/es/components/TextField/TextField.tokens.js.map +1 -1
- package/es/components/TextField/TextField_wctd2m.css +1 -0
- package/es/components/TextField/hooks/useKeyNavigation.js +128 -0
- package/es/components/TextField/hooks/useKeyNavigation.js.map +1 -0
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +19 -0
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +34 -0
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -0
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +22 -0
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -0
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles_1rauupp.css +1 -0
- package/es/components/TextField/variations/_disabled/base.js +5 -0
- package/es/components/TextField/variations/_disabled/base.js.map +1 -0
- package/es/components/TextField/variations/_disabled/base_1tnjoy9.css +1 -0
- package/es/components/TextField/{_label-placement → variations/_label-placement}/base.js +1 -1
- package/es/components/TextField/variations/_label-placement/base.js.map +1 -0
- package/es/components/TextField/variations/_label-placement/base_x642ct.css +1 -0
- package/es/components/TextField/variations/_label-placement/inner.js +5 -0
- package/es/components/TextField/variations/_label-placement/inner.js.map +1 -0
- package/es/components/TextField/variations/_label-placement/inner_gqlcj2.css +1 -0
- package/es/components/TextField/variations/_label-placement/outer.js +5 -0
- package/es/components/TextField/variations/_label-placement/outer.js.map +1 -0
- package/es/components/TextField/variations/_label-placement/outer_is41nj.css +1 -0
- package/es/components/TextField/variations/_read-only/base.js +5 -0
- package/es/components/TextField/variations/_read-only/base.js.map +1 -0
- package/es/components/TextField/variations/_read-only/base_134hshp.css +1 -0
- package/es/components/TextField/variations/_size/base.js +5 -0
- package/es/components/TextField/variations/_size/base.js.map +1 -0
- package/es/components/TextField/variations/_size/base_1khzr9t.css +1 -0
- package/es/components/TextField/{_size → variations/_view}/base.js +2 -2
- package/es/components/TextField/variations/_view/base.js.map +1 -0
- package/es/components/TextField/variations/_view/base_1qd77x6.css +1 -0
- package/es/index.css +20 -9
- package/es/index.js +8 -2
- package/es/index.js.map +1 -1
- package/package.json +4 -4
- package/styled-components/cjs/components/Cell/Cell.js +71 -0
- package/styled-components/cjs/components/Cell/Cell.styles.js +35 -0
- package/styled-components/cjs/components/Cell/Cell.tokens.js +48 -0
- package/styled-components/cjs/components/Cell/Cell.types.js +5 -0
- package/styled-components/cjs/components/Cell/index.js +59 -0
- package/styled-components/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +19 -0
- package/styled-components/cjs/components/Cell/ui/CellTextbox/CellTextbox.styles.js +12 -0
- package/styled-components/cjs/components/Cell/ui/CellTextbox/CellTextbox.types.js +5 -0
- package/styled-components/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js +12 -0
- package/styled-components/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.js +12 -0
- package/styled-components/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js +12 -0
- package/styled-components/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js +12 -0
- package/styled-components/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +12 -0
- package/styled-components/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.js +12 -0
- package/styled-components/cjs/components/{TextField/_disabled → Cell/variations/_size}/base.js +1 -2
- package/styled-components/cjs/components/Cell/variations/_size/tokens.json +1 -0
- package/styled-components/cjs/components/Cell/variations/_stretching/base.js +9 -0
- package/styled-components/cjs/components/Cell/variations/_stretching/tokens.json +1 -0
- package/styled-components/cjs/components/Cell/variations/_view/base.js +9 -0
- package/styled-components/cjs/components/Cell/variations/_view/tokens.json +1 -0
- package/styled-components/cjs/components/Pagination/Pagination.js +14 -13
- package/styled-components/cjs/components/TextField/TextField.js +162 -32
- package/styled-components/cjs/components/TextField/TextField.styles.js +18 -10
- package/styled-components/cjs/components/TextField/TextField.tokens.js +68 -21
- package/styled-components/cjs/components/TextField/hooks/index.js +12 -0
- package/styled-components/cjs/components/TextField/hooks/useKeyNavigation.js +139 -0
- package/styled-components/cjs/components/TextField/hooks/useKeyNavigation.types.js +5 -0
- package/styled-components/cjs/components/TextField/index.js +2 -2
- package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +39 -0
- package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +25 -0
- package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.types.js +5 -0
- package/styled-components/cjs/components/TextField/ui/index.js +12 -0
- package/styled-components/cjs/components/TextField/variations/_disabled/base.js +10 -0
- package/styled-components/cjs/components/TextField/variations/_label-placement/inner.js +10 -0
- package/styled-components/cjs/components/TextField/{_label-placement → variations/_label-placement}/outer.js +3 -3
- package/styled-components/cjs/components/TextField/variations/_read-only/base.js +10 -0
- package/styled-components/cjs/components/TextField/variations/_read-only/tokens.json +1 -0
- package/styled-components/cjs/components/TextField/variations/_size/base.js +10 -0
- package/styled-components/cjs/components/TextField/variations/_view/base.js +10 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.config.js +21 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.js +35 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.stories.tsx +128 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Chip/Chip.config.js +1 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.config.js +4 -4
- package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +14 -7
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +43 -0
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.js +11 -0
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +123 -0
- package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.config.js +21 -0
- package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.js +35 -0
- package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.stories.tsx +128 -0
- package/styled-components/cjs/examples/plasma_web/components/Chip/Chip.config.js +1 -2
- package/styled-components/cjs/examples/plasma_web/components/Pagination/Pagination.config.js +4 -4
- package/styled-components/cjs/examples/plasma_web/components/Pagination/Pagination.stories.tsx +14 -7
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +40 -0
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.js +11 -0
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +123 -0
- package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.config.js +43 -0
- package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.js +11 -0
- package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.stories.tsx +123 -0
- package/styled-components/cjs/index.js +11 -0
- package/styled-components/es/components/Cell/Cell.js +62 -0
- package/styled-components/es/components/Cell/Cell.styles.js +27 -0
- package/styled-components/es/components/Cell/Cell.tokens.js +42 -0
- package/styled-components/es/components/Cell/Cell.types.js +1 -0
- package/styled-components/es/components/Cell/index.js +6 -0
- package/styled-components/es/components/Cell/ui/CellTextbox/CellTextbox.js +12 -0
- package/styled-components/es/components/Cell/ui/CellTextbox/CellTextbox.styles.js +5 -0
- package/styled-components/es/components/Cell/ui/CellTextbox/CellTextbox.types.js +1 -0
- package/styled-components/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js +5 -0
- package/styled-components/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.js +5 -0
- package/styled-components/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js +5 -0
- package/styled-components/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js +5 -0
- package/styled-components/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +5 -0
- package/styled-components/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.js +5 -0
- package/styled-components/es/components/Cell/variations/_size/base.js +2 -0
- package/styled-components/es/components/Cell/variations/_size/tokens.json +1 -0
- package/styled-components/es/components/Cell/variations/_stretching/base.js +3 -0
- package/styled-components/es/components/Cell/variations/_stretching/tokens.json +1 -0
- package/styled-components/es/components/Cell/variations/_view/base.js +3 -0
- package/styled-components/es/components/Cell/variations/_view/tokens.json +1 -0
- package/styled-components/es/components/Pagination/Pagination.js +14 -13
- package/styled-components/es/components/TextField/TextField.js +166 -36
- package/styled-components/es/components/TextField/TextField.styles.js +17 -9
- package/styled-components/es/components/TextField/TextField.tokens.js +67 -20
- package/styled-components/es/components/TextField/hooks/index.js +1 -0
- package/styled-components/es/components/TextField/hooks/useKeyNavigation.js +133 -0
- package/styled-components/es/components/TextField/hooks/useKeyNavigation.types.js +1 -0
- package/styled-components/es/components/TextField/index.js +2 -2
- package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +30 -0
- package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +19 -0
- package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.types.js +1 -0
- package/styled-components/es/components/TextField/ui/index.js +1 -0
- package/styled-components/es/components/TextField/variations/_disabled/base.js +4 -0
- package/styled-components/es/components/TextField/variations/_label-placement/inner.js +4 -0
- package/styled-components/es/components/TextField/variations/_label-placement/outer.js +4 -0
- package/styled-components/es/components/TextField/variations/_read-only/base.js +4 -0
- package/styled-components/es/components/TextField/variations/_read-only/tokens.json +1 -0
- package/styled-components/es/components/TextField/variations/_size/base.js +4 -0
- package/styled-components/es/components/TextField/variations/_view/base.js +4 -0
- package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.config.js +15 -0
- package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.js +6 -0
- package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.stories.tsx +128 -0
- package/styled-components/es/examples/plasma_b2c/components/Chip/Chip.config.js +1 -2
- package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.config.js +4 -4
- package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +14 -7
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +37 -0
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.js +5 -0
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +123 -0
- package/styled-components/es/examples/plasma_web/components/Cell/Cell.config.js +15 -0
- package/styled-components/es/examples/plasma_web/components/Cell/Cell.js +6 -0
- package/styled-components/es/examples/plasma_web/components/Cell/Cell.stories.tsx +128 -0
- package/styled-components/es/examples/plasma_web/components/Chip/Chip.config.js +1 -2
- package/styled-components/es/examples/plasma_web/components/Pagination/Pagination.config.js +4 -4
- package/styled-components/es/examples/plasma_web/components/Pagination/Pagination.stories.tsx +14 -7
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +34 -0
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.js +5 -0
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +123 -0
- package/styled-components/es/examples/sds_engineer/components/TextField/TextField.config.js +37 -0
- package/styled-components/es/examples/sds_engineer/components/TextField/TextField.js +5 -0
- package/styled-components/es/examples/sds_engineer/components/TextField/TextField.stories.tsx +123 -0
- package/styled-components/es/index.js +1 -0
- package/types/components/Cell/Cell.d.ts +23 -0
- package/types/components/Cell/Cell.d.ts.map +1 -0
- package/types/components/Cell/Cell.styles.d.ts +11 -0
- package/types/components/Cell/Cell.styles.d.ts.map +1 -0
- package/types/components/Cell/Cell.tokens.d.ts +43 -0
- package/types/components/Cell/Cell.tokens.d.ts.map +1 -0
- package/types/components/Cell/Cell.types.d.ts +51 -0
- package/types/components/Cell/Cell.types.d.ts.map +1 -0
- package/types/components/Cell/index.d.ts +9 -0
- package/types/components/Cell/index.d.ts.map +1 -0
- package/types/components/Cell/ui/CellTextbox/CellTextbox.d.ts +4 -0
- package/types/components/Cell/ui/CellTextbox/CellTextbox.d.ts.map +1 -0
- package/types/components/Cell/ui/CellTextbox/CellTextbox.styles.d.ts +2 -0
- package/types/components/Cell/ui/CellTextbox/CellTextbox.styles.d.ts.map +1 -0
- package/types/components/Cell/ui/CellTextbox/CellTextbox.types.d.ts +33 -0
- package/types/components/Cell/ui/CellTextbox/CellTextbox.types.d.ts.map +1 -0
- package/types/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.d.ts +3 -0
- package/types/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.d.ts.map +1 -0
- package/types/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.d.ts +2 -0
- package/types/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.d.ts.map +1 -0
- package/types/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.d.ts +3 -0
- package/types/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.d.ts.map +1 -0
- package/types/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.d.ts +2 -0
- package/types/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.d.ts.map +1 -0
- package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.d.ts +3 -0
- package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.d.ts.map +1 -0
- package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.d.ts +2 -0
- package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.d.ts.map +1 -0
- package/types/components/Cell/variations/_size/base.d.ts.map +1 -0
- package/types/components/Cell/variations/_stretching/base.d.ts.map +1 -0
- package/types/components/Cell/variations/_view/base.d.ts.map +1 -0
- package/types/components/Chip/Chip.d.ts +26 -2
- package/types/components/Chip/Chip.d.ts.map +1 -1
- package/types/components/Chip/Chip.types.d.ts +6 -5
- package/types/components/Chip/Chip.types.d.ts.map +1 -1
- package/types/components/Combobox/ui/ComboboxChip/ComboboxChip.styles.d.ts +13 -1
- package/types/components/Combobox/ui/ComboboxChip/ComboboxChip.styles.d.ts.map +1 -1
- package/types/components/Indicator/Indicator.d.ts +2 -2
- package/types/components/Pagination/Pagination.d.ts.map +1 -1
- package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts +13 -1
- package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts.map +1 -1
- package/types/components/TextField/TextField.d.ts +8 -3
- package/types/components/TextField/TextField.d.ts.map +1 -1
- package/types/components/TextField/TextField.styles.d.ts +6 -3
- package/types/components/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/TextField/TextField.tokens.d.ts +57 -8
- package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
- package/types/components/TextField/TextField.types.d.ts +29 -2
- package/types/components/TextField/TextField.types.d.ts.map +1 -1
- package/types/components/TextField/hooks/index.d.ts +2 -0
- package/types/components/TextField/hooks/index.d.ts.map +1 -0
- package/types/components/TextField/hooks/useKeyNavigation.d.ts +17 -0
- package/types/components/TextField/hooks/useKeyNavigation.d.ts.map +1 -0
- package/types/components/TextField/hooks/useKeyNavigation.types.d.ts +18 -0
- package/types/components/TextField/hooks/useKeyNavigation.types.d.ts.map +1 -0
- package/types/components/TextField/index.d.ts +3 -2
- package/types/components/TextField/index.d.ts.map +1 -1
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts +7 -0
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -0
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts +15 -0
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +1 -0
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts +37 -0
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts.map +1 -0
- package/types/components/TextField/ui/index.d.ts +2 -0
- package/types/components/TextField/ui/index.d.ts.map +1 -0
- package/types/components/TextField/variations/_disabled/base.d.ts.map +1 -0
- package/types/components/TextField/variations/_label-placement/base.d.ts +2 -0
- package/types/components/TextField/variations/_label-placement/base.d.ts.map +1 -0
- package/types/components/TextField/variations/_label-placement/index.d.ts.map +1 -0
- package/types/components/TextField/variations/_label-placement/inner.d.ts.map +1 -0
- package/types/components/TextField/variations/_label-placement/outer.d.ts.map +1 -0
- package/types/components/TextField/variations/_read-only/base.d.ts +2 -0
- package/types/components/TextField/variations/_read-only/base.d.ts.map +1 -0
- package/types/components/TextField/variations/_size/base.d.ts +2 -0
- package/types/components/TextField/variations/_size/base.d.ts.map +1 -0
- package/types/components/TextField/variations/_view/base.d.ts +2 -0
- package/types/components/TextField/variations/_view/base.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts +14 -0
- package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Cell/Cell.d.ts +45 -0
- package/types/examples/plasma_b2c/components/Cell/Cell.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Chip/Chip.config.d.ts +0 -1
- package/types/examples/plasma_b2c/components/Chip/Chip.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Chip/Chip.d.ts +13 -2
- package/types/examples/plasma_b2c/components/Chip/Chip.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +2 -2
- package/types/examples/plasma_b2c/components/Indicator/Indicator.d.ts +2 -2
- package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts +32 -0
- package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +26 -0
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -0
- package/types/examples/plasma_web/components/Cell/Cell.config.d.ts +14 -0
- package/types/examples/plasma_web/components/Cell/Cell.config.d.ts.map +1 -0
- package/types/examples/plasma_web/components/Cell/Cell.d.ts +45 -0
- package/types/examples/plasma_web/components/Cell/Cell.d.ts.map +1 -0
- package/types/examples/plasma_web/components/Chip/Chip.config.d.ts +0 -1
- package/types/examples/plasma_web/components/Chip/Chip.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Chip/Chip.d.ts +13 -2
- package/types/examples/plasma_web/components/Chip/Chip.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +2 -2
- package/types/examples/plasma_web/components/Indicator/Indicator.d.ts +2 -2
- package/types/examples/plasma_web/components/TextField/TextField.config.d.ts +32 -0
- package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +1 -0
- package/types/examples/plasma_web/components/TextField/TextField.d.ts +26 -0
- package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -0
- package/types/examples/sds_engineer/components/Chip/Chip.d.ts +13 -1
- package/types/examples/sds_engineer/components/Chip/Chip.d.ts.map +1 -1
- package/types/examples/sds_engineer/components/TextField/TextField.config.d.ts +32 -0
- package/types/examples/sds_engineer/components/TextField/TextField.config.d.ts.map +1 -0
- package/types/examples/sds_engineer/components/TextField/TextField.d.ts +26 -0
- package/types/examples/sds_engineer/components/TextField/TextField.d.ts.map +1 -0
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/cjs/components/TextField/TextField.styles_2qw1n8.css +0 -5
- package/cjs/components/TextField/TextField_1lzb2r1.css +0 -1
- package/cjs/components/TextField/_disabled/base.js.map +0 -1
- package/cjs/components/TextField/_disabled/base_so3w81.css +0 -1
- package/cjs/components/TextField/_label-placement/base.js.map +0 -1
- package/cjs/components/TextField/_label-placement/inner.js.map +0 -1
- package/cjs/components/TextField/_label-placement/inner_1tyuicp.css +0 -1
- package/cjs/components/TextField/_label-placement/outer.js.map +0 -1
- package/cjs/components/TextField/_label-placement/outer_19ekaek.css +0 -1
- package/cjs/components/TextField/_size/base.js.map +0 -1
- package/cjs/components/TextField/_size/base_b5smyu.css +0 -1
- package/cjs/components/TextField/_view/base.js.map +0 -1
- package/cjs/components/TextField/_view/base_5bqzed.css +0 -1
- package/es/components/TextField/TextField.styles_2qw1n8.css +0 -5
- package/es/components/TextField/TextField_1lzb2r1.css +0 -1
- package/es/components/TextField/_disabled/base.js.map +0 -1
- package/es/components/TextField/_disabled/base_so3w81.css +0 -1
- package/es/components/TextField/_label-placement/base.js.map +0 -1
- package/es/components/TextField/_label-placement/inner.js +0 -5
- package/es/components/TextField/_label-placement/inner.js.map +0 -1
- package/es/components/TextField/_label-placement/inner_1tyuicp.css +0 -1
- package/es/components/TextField/_label-placement/outer.js +0 -5
- package/es/components/TextField/_label-placement/outer.js.map +0 -1
- package/es/components/TextField/_label-placement/outer_19ekaek.css +0 -1
- package/es/components/TextField/_size/base.js.map +0 -1
- package/es/components/TextField/_size/base_b5smyu.css +0 -1
- package/es/components/TextField/_view/base.js.map +0 -1
- package/es/components/TextField/_view/base_5bqzed.css +0 -1
- package/styled-components/cjs/components/TextField/_label-placement/inner.js +0 -10
- package/styled-components/cjs/components/TextField/_size/base.js +0 -10
- package/styled-components/cjs/components/TextField/_view/base.js +0 -10
- package/styled-components/es/components/TextField/_disabled/base.js +0 -3
- package/styled-components/es/components/TextField/_label-placement/inner.js +0 -4
- package/styled-components/es/components/TextField/_label-placement/outer.js +0 -4
- package/styled-components/es/components/TextField/_size/base.js +0 -4
- package/styled-components/es/components/TextField/_view/base.js +0 -4
- package/types/components/TextField/_disabled/base.d.ts.map +0 -1
- package/types/components/TextField/_label-placement/base.d.ts.map +0 -1
- package/types/components/TextField/_label-placement/index.d.ts.map +0 -1
- package/types/components/TextField/_label-placement/inner.d.ts.map +0 -1
- package/types/components/TextField/_label-placement/outer.d.ts.map +0 -1
- package/types/components/TextField/_size/base.d.ts.map +0 -1
- package/types/components/TextField/_view/base.d.ts.map +0 -1
- /package/cjs/components/{TextField/_label-placement → Cell/variations/_size}/base_x642ct.css +0 -0
- /package/{es/components/TextField → cjs/components/TextField/variations}/_label-placement/base_x642ct.css +0 -0
- /package/styled-components/cjs/components/TextField/{_disabled → variations/_disabled}/tokens.json +0 -0
- /package/styled-components/cjs/components/TextField/{_label-placement → variations/_label-placement}/base.js +0 -0
- /package/styled-components/cjs/components/TextField/{_label-placement → variations/_label-placement}/index.js +0 -0
- /package/styled-components/cjs/components/TextField/{_size → variations/_size}/tokens.json +0 -0
- /package/styled-components/cjs/components/TextField/{_view → variations/_view}/tokens.json +0 -0
- /package/styled-components/es/components/TextField/{_disabled → variations/_disabled}/tokens.json +0 -0
- /package/styled-components/es/components/TextField/{_label-placement → variations/_label-placement}/base.js +0 -0
- /package/styled-components/es/components/TextField/{_label-placement → variations/_label-placement}/index.js +0 -0
- /package/styled-components/es/components/TextField/{_size → variations/_size}/tokens.json +0 -0
- /package/styled-components/es/components/TextField/{_view → variations/_view}/tokens.json +0 -0
- /package/types/components/{TextField/_disabled → Cell/variations/_size}/base.d.ts +0 -0
- /package/types/components/{TextField/_label-placement → Cell/variations/_stretching}/base.d.ts +0 -0
- /package/types/components/{TextField/_size → Cell/variations/_view}/base.d.ts +0 -0
- /package/types/components/TextField/{_view → variations/_disabled}/base.d.ts +0 -0
- /package/types/components/TextField/{_label-placement → variations/_label-placement}/index.d.ts +0 -0
- /package/types/components/TextField/{_label-placement → variations/_label-placement}/inner.d.ts +0 -0
- /package/types/components/TextField/{_label-placement → variations/_label-placement}/outer.d.ts +0 -0
@@ -1,7 +1,10 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
export declare const Input: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Record<never, unknown>>;
|
3
|
-
export declare const InputLabelWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
4
2
|
export declare const InputWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
5
|
-
export declare const
|
3
|
+
export declare const InputLabelWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
4
|
+
export declare const StyledChips: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
5
|
+
export declare const Input: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Record<never, unknown>>;
|
6
|
+
export declare const Label: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLabelElement> & import("react").LabelHTMLAttributes<HTMLLabelElement> & Record<never, unknown>>;
|
7
|
+
export declare const StyledContentLeft: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
8
|
+
export declare const StyledContentRight: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
6
9
|
export declare const LeftHelper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
7
10
|
//# sourceMappingURL=TextField.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.styles.ts"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.styles.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,YAAY,qKAKxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAoB7B,CAAC;AAEF,eAAO,MAAM,WAAW,qKAKvB,CAAC;AAEF,eAAO,MAAM,KAAK,8KASjB,CAAC;AAEF,eAAO,MAAM,KAAK,8KAAiB,CAAC;AAEpC,eAAO,MAAM,iBAAiB,qKAE7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAE9B,CAAC;AAEF,eAAO,MAAM,UAAU,qKAAe,CAAC"}
|
@@ -1,29 +1,41 @@
|
|
1
|
+
export declare const classes: {
|
2
|
+
hasChips: string;
|
3
|
+
hasEmptyContentLeft: string;
|
4
|
+
hasEmptyContentRight: string;
|
5
|
+
};
|
1
6
|
export declare const tokens: {
|
2
7
|
color: string;
|
3
8
|
backgroundColor: string;
|
4
9
|
backgroundColorHover: string;
|
5
10
|
backgroundColorFocus: string;
|
6
|
-
/** Цвет каретки */
|
7
|
-
caretColor: string;
|
8
|
-
placeholderColor: string;
|
9
11
|
borderColor: string;
|
10
12
|
borderColorHover: string;
|
11
13
|
borderColorFocus: string;
|
14
|
+
/** Цвета для read-only состояния */
|
15
|
+
colorReadOnly: string;
|
16
|
+
backgroundColorReadOnly: string;
|
17
|
+
borderColorReadOnly: string;
|
18
|
+
placeholderColorReadOnly: string;
|
19
|
+
/** Цвет каретки */
|
20
|
+
caretColor: string;
|
21
|
+
placeholderColor: string;
|
12
22
|
height: string;
|
13
23
|
borderWidth: string;
|
14
24
|
borderRadius: string;
|
15
|
-
/**
|
25
|
+
/** Отступ от границы ТextField */
|
16
26
|
padding: string;
|
17
|
-
|
18
|
-
|
27
|
+
paddingWithChips: string;
|
28
|
+
leftContentMargin: string;
|
29
|
+
rightContentMargin: string;
|
19
30
|
fontFamily: string;
|
20
31
|
fontStyle: string;
|
21
32
|
fontSize: string;
|
22
33
|
fontWeight: string;
|
23
34
|
letterSpacing: string;
|
24
35
|
lineHeight: string;
|
25
|
-
/**
|
36
|
+
/** Токены лейбла */
|
26
37
|
labelColor: string;
|
38
|
+
labelColorReadOnly: string;
|
27
39
|
labelOffset: string;
|
28
40
|
labelFontFamily: string;
|
29
41
|
labelFontStyle: string;
|
@@ -37,7 +49,10 @@ export declare const tokens: {
|
|
37
49
|
labelInnerFontWeight: string;
|
38
50
|
labelInnerLetterSpacing: string;
|
39
51
|
labelInnerLineHeight: string;
|
52
|
+
labelInnerPadding: string;
|
53
|
+
contentLabelInnerPadding: string;
|
40
54
|
leftHelperColor: string;
|
55
|
+
leftHelperColorReadOnly: string;
|
41
56
|
leftHelperOffset: string;
|
42
57
|
leftHelperFontFamily: string;
|
43
58
|
leftHelperFontStyle: string;
|
@@ -45,8 +60,42 @@ export declare const tokens: {
|
|
45
60
|
leftHelperFontWeight: string;
|
46
61
|
leftHelperLetterSpacing: string;
|
47
62
|
leftHelperLineHeight: string;
|
48
|
-
contentColor: string;
|
49
63
|
/** Прозрачность для всего компонента в состоянии disabled */
|
50
64
|
disabledOpacity: string;
|
65
|
+
/** Токены чипа */
|
66
|
+
chipHeight: string;
|
67
|
+
chipBorderRadius: string;
|
68
|
+
chipGap: string;
|
69
|
+
chipBackground: string;
|
70
|
+
chipColor: string;
|
71
|
+
chipBackgroundHover: string;
|
72
|
+
chipColorHover: string;
|
73
|
+
chipScaleHover: string;
|
74
|
+
chipBackgroundReadOnly: string;
|
75
|
+
chipColorReadOnly: string;
|
76
|
+
chipBackgroundReadOnlyHover: string;
|
77
|
+
chipColorReadOnlyHover: string;
|
78
|
+
chipBackgroundActive: string;
|
79
|
+
chipColorActive: string;
|
80
|
+
chipScaleActive: string;
|
81
|
+
chipFocusColor: string;
|
82
|
+
chipCloseIconColor: string;
|
83
|
+
chipOutlineSize: string;
|
84
|
+
chipWidth: string;
|
85
|
+
chipPaddingTop: string;
|
86
|
+
chipPaddingRight: string;
|
87
|
+
chipPaddingBottom: string;
|
88
|
+
chipPaddingLeft: string;
|
89
|
+
chipCloseIconSize: string;
|
90
|
+
chipFontFamily: string;
|
91
|
+
chipFontSize: string;
|
92
|
+
chipFontStyle: string;
|
93
|
+
chipFontWeight: string;
|
94
|
+
chipLetterSpacing: string;
|
95
|
+
chipLineHeight: string;
|
96
|
+
chipClearContentMarginLeft: string;
|
97
|
+
chipClearContentMarginRight: string;
|
98
|
+
chipOpacityReadonly: string;
|
99
|
+
focusColor: string;
|
51
100
|
};
|
52
101
|
//# sourceMappingURL=TextField.tokens.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextField.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;
|
1
|
+
{"version":3,"file":"TextField.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;IAWf,oCAAoC;;;;;IAMpC,mBAAmB;;;;;;IAQnB,kCAAkC;;;;;;;;;;;IAelC,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkCpB,6DAA6D;;IAG7D,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCrB,CAAC"}
|
@@ -1,5 +1,10 @@
|
|
1
1
|
import type { InputHTMLAttributes, KeyboardEvent } from 'react';
|
2
|
-
|
2
|
+
export declare type TextFieldPrimitiveValue = string | number | boolean;
|
3
|
+
export declare type ChipValues = {
|
4
|
+
id: string;
|
5
|
+
text: TextFieldPrimitiveValue;
|
6
|
+
};
|
7
|
+
export declare type EnumerationType = 'plain' | 'chip';
|
3
8
|
export interface TextFieldPropsBase {
|
4
9
|
/**
|
5
10
|
* Метка-подпись к элементу
|
@@ -21,10 +26,23 @@ export interface TextFieldPropsBase {
|
|
21
26
|
* Слот для контента справа.
|
22
27
|
*/
|
23
28
|
contentRight?: React.ReactElement;
|
29
|
+
/**
|
30
|
+
* Тип перечисления значений.
|
31
|
+
* Варианты: plain, chips
|
32
|
+
*/
|
33
|
+
enumerationType?: EnumerationType;
|
34
|
+
/**
|
35
|
+
* Выбранные значения.
|
36
|
+
*/
|
37
|
+
values?: Array<TextFieldPrimitiveValue>;
|
24
38
|
/**
|
25
39
|
* Callback по нажатию Enter
|
26
40
|
*/
|
27
41
|
onSearch?: (value: string, event?: KeyboardEvent<HTMLInputElement>) => void;
|
42
|
+
/**
|
43
|
+
* Обработчик изменения выбранных значений.
|
44
|
+
*/
|
45
|
+
onChangeChips?: (value: Array<TextFieldPrimitiveValue>) => void;
|
28
46
|
}
|
29
47
|
export interface TextFieldPropsVariations extends TextFieldPropsBase {
|
30
48
|
/**
|
@@ -35,6 +53,15 @@ export interface TextFieldPropsVariations extends TextFieldPropsBase {
|
|
35
53
|
* Вид контрола.
|
36
54
|
*/
|
37
55
|
view?: string;
|
56
|
+
/**
|
57
|
+
* Компонент доступен только для чтения.
|
58
|
+
*/
|
59
|
+
readOnly?: boolean;
|
60
|
+
/**
|
61
|
+
* Компонент неактивен.
|
62
|
+
*/
|
63
|
+
disabled?: boolean;
|
64
|
+
}
|
65
|
+
export interface TextFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>, TextFieldPropsVariations {
|
38
66
|
}
|
39
|
-
export declare type TextFieldProps = Filter<InputHTMLAttributes<HTMLInputElement>, 'size'> & TextFieldPropsVariations;
|
40
67
|
//# sourceMappingURL=TextField.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextField.types.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEhE,OAAO,
|
1
|
+
{"version":3,"file":"TextField.types.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEhE,oBAAY,uBAAuB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAEhE,oBAAY,UAAU,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,uBAAuB,CAAC;CACjC,CAAC;AAEF,oBAAY,eAAe,GAAG,OAAO,GAAG,MAAM,CAAC;AAE/C,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAClC;;;OAGG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5E;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,uBAAuB,CAAC,KAAK,IAAI,CAAC;CACnE;AAED,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB;IAChE;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,EAAE,wBAAwB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import type { ChangeEvent, KeyboardEvent } from 'react';
|
2
|
+
import type { UseKeyNavigationProps } from './useKeyNavigation.types';
|
3
|
+
export declare const Keys: {
|
4
|
+
Enter: string;
|
5
|
+
Tab: string;
|
6
|
+
Escape: string;
|
7
|
+
ArrowLeft: string;
|
8
|
+
ArrowRight: string;
|
9
|
+
Backspace: string;
|
10
|
+
};
|
11
|
+
export declare const useKeyNavigation: ({ controlledRefs: { chipsRefs, contentRef, inputRef }, disabled, readOnly, chips, enumerationType, updateChips, onChange, onSearch, }: UseKeyNavigationProps) => {
|
12
|
+
readonly handleInputKeydown: (event: ChangeEvent<HTMLInputElement> & KeyboardEvent<HTMLInputElement>) => void;
|
13
|
+
readonly handleChipKeyDown: (event: KeyboardEvent<HTMLButtonElement>, chipId: string) => void;
|
14
|
+
readonly onChipClear: (clearId: string) => void;
|
15
|
+
readonly handleContentKeyDown: (event: KeyboardEvent<HTMLDivElement>) => void;
|
16
|
+
};
|
17
|
+
//# sourceMappingURL=useKeyNavigation.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useKeyNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/hooks/useKeyNavigation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAExD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAEtE,eAAO,MAAM,IAAI;;;;;;;CAOhB,CAAC;AAEF,eAAO,MAAM,gBAAgB,0IAS1B,qBAAqB;yCAGe,YAAY,gBAAgB,CAAC,GAAG,cAAc,gBAAgB,CAAC;wCA8ChE,cAAc,iBAAiB,CAAC,UAAU,MAAM;oCAXpD,MAAM;2CAqBC,cAAc,cAAc,CAAC;CAkDrE,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import type { MutableRefObject, KeyboardEvent, ChangeEvent } from 'react';
|
2
|
+
import type { ChipValues, EnumerationType, TextFieldPrimitiveValue } from '../TextField.types';
|
3
|
+
export interface ControlledRefs {
|
4
|
+
chipsRefs: MutableRefObject<Array<HTMLButtonElement>>;
|
5
|
+
inputRef?: MutableRefObject<HTMLInputElement | null>;
|
6
|
+
contentRef?: MutableRefObject<HTMLDivElement | null>;
|
7
|
+
}
|
8
|
+
export interface UseKeyNavigationProps {
|
9
|
+
controlledRefs: ControlledRefs;
|
10
|
+
disabled: boolean;
|
11
|
+
readOnly: boolean;
|
12
|
+
chips: Array<ChipValues>;
|
13
|
+
enumerationType: EnumerationType;
|
14
|
+
updateChips: (newChips: Array<ChipValues>, newValues: Array<TextFieldPrimitiveValue>) => void;
|
15
|
+
onSearch?: (value: string, event?: KeyboardEvent<HTMLInputElement>) => void;
|
16
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
17
|
+
}
|
18
|
+
//# sourceMappingURL=useKeyNavigation.types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useKeyNavigation.types.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/hooks/useKeyNavigation.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAE1E,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAE/F,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,gBAAgB,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,QAAQ,CAAC,EAAE,gBAAgB,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACrD,UAAU,CAAC,EAAE,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CACxD;AAED,MAAM,WAAW,qBAAqB;IAClC,cAAc,EAAE,cAAc,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IACzB,eAAe,EAAE,eAAe,CAAC;IACjC,WAAW,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,uBAAuB,CAAC,KAAK,IAAI,CAAC;IAC9F,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5E,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC7D"}
|
@@ -1,5 +1,6 @@
|
|
1
|
-
export { labelPlacement_inner as textField_labelPlacement_inner } from './_label-placement/inner';
|
2
|
-
export { labelPlacement_outer as textField_labelPlacement_outer } from './_label-placement/outer';
|
1
|
+
export { labelPlacement_inner as textField_labelPlacement_inner } from './variations/_label-placement/inner';
|
2
|
+
export { labelPlacement_outer as textField_labelPlacement_outer } from './variations/_label-placement/outer';
|
3
3
|
export { textFieldRoot, textFieldConfig } from './TextField';
|
4
4
|
export { tokens as textFieldTokens } from './TextField.tokens';
|
5
|
+
export type { TextFieldProps } from './TextField.types';
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,IAAI,8BAA8B,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,IAAI,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAC7G,OAAO,EAAE,oBAAoB,IAAI,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAE7G,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC/D,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { TextFieldChipProps } from './TextFieldChip.types';
|
3
|
+
/**
|
4
|
+
* Чип, отображающий выбранный элемент
|
5
|
+
*/
|
6
|
+
export declare const TextFieldChip: React.ForwardRefExoticComponent<TextFieldChipProps & React.RefAttributes<HTMLButtonElement>>;
|
7
|
+
//# sourceMappingURL=TextFieldChip.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TextFieldChip.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/ui/TextFieldChip/TextFieldChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,aAAa,8FAqBzB,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const StyledChip: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
3
|
+
text?: string | undefined;
|
4
|
+
contentLeft?: import("react").ReactNode;
|
5
|
+
contentRight?: import("react").ReactNode;
|
6
|
+
contentClearButton?: import("react").ReactNode;
|
7
|
+
disabled?: boolean | undefined;
|
8
|
+
readOnly?: boolean | undefined;
|
9
|
+
size?: ("m" | "s" | "xs" | "l") | undefined;
|
10
|
+
view?: ("secondary" | "default" | "positive") | undefined;
|
11
|
+
onClear?: (() => void) | undefined;
|
12
|
+
} & {
|
13
|
+
children?: import("react").ReactNode;
|
14
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|
15
|
+
//# sourceMappingURL=TextFieldChip.styles.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TextFieldChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/ui/TextFieldChip/TextFieldChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU;;;;;;;;;;;;qDA2CtB,CAAC"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { TextFieldPrimitiveValue } from '../../TextField.types';
|
3
|
+
export interface TextFieldChipProps {
|
4
|
+
/**
|
5
|
+
* ID для чипа.
|
6
|
+
*/
|
7
|
+
chipId: string;
|
8
|
+
/**
|
9
|
+
* Отображаемый текст.
|
10
|
+
*/
|
11
|
+
text: TextFieldPrimitiveValue;
|
12
|
+
/**
|
13
|
+
* Выбранное значение.
|
14
|
+
*/
|
15
|
+
value: TextFieldPrimitiveValue;
|
16
|
+
/**
|
17
|
+
* Компонент неактивен
|
18
|
+
*/
|
19
|
+
disabled?: boolean;
|
20
|
+
/**
|
21
|
+
* Элемент формы не может изменяться пользователем
|
22
|
+
*/
|
23
|
+
readOnly?: boolean;
|
24
|
+
/**
|
25
|
+
* Обработчик удаления выбранного значения.
|
26
|
+
*/
|
27
|
+
onClear: (id: string) => void;
|
28
|
+
/**
|
29
|
+
* Обработчик клика на выбранное значение.
|
30
|
+
*/
|
31
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
32
|
+
/**
|
33
|
+
* Обработчик нажатия клавиши.
|
34
|
+
*/
|
35
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLButtonElement>, chipId: string) => void;
|
36
|
+
}
|
37
|
+
//# sourceMappingURL=TextFieldChip.types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TextFieldChip.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/ui/TextFieldChip/TextFieldChip.types.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAErE,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,uBAAuB,CAAC;IAC9B;;OAEG;IACH,KAAK,EAAE,uBAAuB,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACvF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_disabled/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAUhB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_label-placement/base.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_label-placement/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"inner.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_label-placement/inner.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,0CA4ChC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"outer.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_label-placement/outer.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,0CAMhC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_read-only/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CA8BhB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_size/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAgDhB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAmChB,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export declare const config: {
|
2
|
+
variations: {
|
3
|
+
view: {
|
4
|
+
default: import("@linaria/core").LinariaClassName;
|
5
|
+
};
|
6
|
+
size: {
|
7
|
+
l: import("@linaria/core").LinariaClassName;
|
8
|
+
m: import("@linaria/core").LinariaClassName;
|
9
|
+
s: import("@linaria/core").LinariaClassName;
|
10
|
+
xs: import("@linaria/core").LinariaClassName;
|
11
|
+
};
|
12
|
+
};
|
13
|
+
};
|
14
|
+
//# sourceMappingURL=Cell.config.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Cell.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Cell/Cell.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;CA8IlB,CAAC"}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { CellTextbox, CellTextboxLabel, CellTextboxSubtitle, CellTextboxTitle } from '../../../../components/Cell';
|
3
|
+
export declare const Cell: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
4
|
+
view: {
|
5
|
+
default: import("@linaria/core").LinariaClassName;
|
6
|
+
};
|
7
|
+
size: {
|
8
|
+
l: import("@linaria/core").LinariaClassName;
|
9
|
+
m: import("@linaria/core").LinariaClassName;
|
10
|
+
s: import("@linaria/core").LinariaClassName;
|
11
|
+
xs: import("@linaria/core").LinariaClassName;
|
12
|
+
};
|
13
|
+
}> & (({
|
14
|
+
size?: string | undefined;
|
15
|
+
view: string;
|
16
|
+
contentLeft?: import("react").ReactNode;
|
17
|
+
contentRight?: import("react").ReactNode;
|
18
|
+
alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
19
|
+
alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
20
|
+
stretching?: "fixed" | "auto" | "filled" | undefined;
|
21
|
+
content?: import("react").ReactNode;
|
22
|
+
description?: string | undefined;
|
23
|
+
} & {
|
24
|
+
title?: string | undefined;
|
25
|
+
subtitle?: string | undefined;
|
26
|
+
label?: string | undefined;
|
27
|
+
children?: undefined;
|
28
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>) | ({
|
29
|
+
size?: string | undefined;
|
30
|
+
view: string;
|
31
|
+
contentLeft?: import("react").ReactNode;
|
32
|
+
contentRight?: import("react").ReactNode;
|
33
|
+
alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
34
|
+
alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
35
|
+
stretching?: "fixed" | "auto" | "filled" | undefined;
|
36
|
+
content?: import("react").ReactNode;
|
37
|
+
description?: string | undefined;
|
38
|
+
} & {
|
39
|
+
title?: undefined;
|
40
|
+
subtitle?: undefined;
|
41
|
+
label?: undefined;
|
42
|
+
children?: import("react").ReactNode;
|
43
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>))>;
|
44
|
+
export { CellTextbox, CellTextboxLabel, CellTextboxSubtitle, CellTextboxTitle };
|
45
|
+
//# sourceMappingURL=Cell.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Cell/Cell.ts"],"names":[],"mappings":";AAAA,OAAO,EAEH,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EACnB,MAAM,6BAA6B,CAAC;AAMrC,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qGAA0B,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,CAAC"}
|
@@ -6,7 +6,6 @@ export declare const config: {
|
|
6
6
|
};
|
7
7
|
variations: {
|
8
8
|
view: {
|
9
|
-
default: import("@linaria/core").LinariaClassName;
|
10
9
|
primary: import("@linaria/core").LinariaClassName;
|
11
10
|
secondary: import("@linaria/core").LinariaClassName;
|
12
11
|
positive: import("@linaria/core").LinariaClassName;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Chip.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Chip/Chip.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM
|
1
|
+
{"version":3,"file":"Chip.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Chip/Chip.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;CA8KlB,CAAC"}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
export declare const Chip: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
3
3
|
view: {
|
4
|
-
default: import("@linaria/core").LinariaClassName;
|
5
4
|
primary: import("@linaria/core").LinariaClassName;
|
6
5
|
secondary: import("@linaria/core").LinariaClassName;
|
7
6
|
positive: import("@linaria/core").LinariaClassName;
|
@@ -18,5 +17,17 @@ export declare const Chip: import("react").FunctionComponent<import("../../../..
|
|
18
17
|
focused: {
|
19
18
|
true: import("@linaria/core").LinariaClassName;
|
20
19
|
};
|
21
|
-
}> & import("
|
20
|
+
}> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
21
|
+
text?: string | undefined;
|
22
|
+
contentLeft?: import("react").ReactNode;
|
23
|
+
contentRight?: import("react").ReactNode;
|
24
|
+
contentClearButton?: import("react").ReactNode;
|
25
|
+
disabled?: boolean | undefined;
|
26
|
+
readOnly?: boolean | undefined;
|
27
|
+
size?: ("m" | "s" | "xs" | "l") | undefined;
|
28
|
+
view?: ("secondary" | "default" | "positive") | undefined;
|
29
|
+
onClear?: (() => void) | undefined;
|
30
|
+
} & {
|
31
|
+
children?: import("react").ReactNode;
|
32
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|
22
33
|
//# sourceMappingURL=Chip.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Chip/Chip.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Chip/Chip.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAA0B,CAAC"}
|
@@ -9,11 +9,11 @@ export declare const Combobox: import("react").FunctionComponent<import("../../.
|
|
9
9
|
view: {
|
10
10
|
default: import("@linaria/core").LinariaClassName;
|
11
11
|
};
|
12
|
-
}> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "
|
12
|
+
}> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "maxLength" | "minLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
|
13
13
|
valueType?: "single" | undefined;
|
14
14
|
value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined;
|
15
15
|
onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined) => void) | undefined;
|
16
|
-
} & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "
|
16
|
+
} & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "maxLength" | "minLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
|
17
17
|
valueType: "multiple";
|
18
18
|
value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined;
|
19
19
|
onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined) => void) | undefined;
|
@@ -33,7 +33,7 @@ declare const mergedConfig: import("../../../../engines").ComponentConfig<string
|
|
33
33
|
};
|
34
34
|
}>, import("react").HTMLAttributes<HTMLDivElement> & {
|
35
35
|
size: "m" | "s" | "l";
|
36
|
-
view: "accent" | "black" | "white" | "default" | "inactive" | "
|
36
|
+
view: "accent" | "black" | "white" | "default" | "inactive" | "positive" | "warning" | "negative";
|
37
37
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
38
38
|
declare const Indicator: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
39
39
|
view: {
|
@@ -53,7 +53,7 @@ declare const Indicator: import("react").FunctionComponent<import("../../../../e
|
|
53
53
|
};
|
54
54
|
}> & import("react").HTMLAttributes<HTMLDivElement> & {
|
55
55
|
size: "m" | "s" | "l";
|
56
|
-
view: "accent" | "black" | "white" | "default" | "inactive" | "
|
56
|
+
view: "accent" | "black" | "white" | "default" | "inactive" | "positive" | "warning" | "negative";
|
57
57
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
58
58
|
export { Indicator, mergedConfig };
|
59
59
|
//# sourceMappingURL=Indicator.d.ts.map
|
@@ -0,0 +1,32 @@
|
|
1
|
+
export declare const config: {
|
2
|
+
defaults: {
|
3
|
+
view: string;
|
4
|
+
size: string;
|
5
|
+
labelPlacement: string;
|
6
|
+
};
|
7
|
+
variations: {
|
8
|
+
view: {
|
9
|
+
default: import("@linaria/core").LinariaClassName;
|
10
|
+
positive: import("@linaria/core").LinariaClassName;
|
11
|
+
warning: import("@linaria/core").LinariaClassName;
|
12
|
+
negative: import("@linaria/core").LinariaClassName;
|
13
|
+
};
|
14
|
+
size: {
|
15
|
+
l: import("@linaria/core").LinariaClassName;
|
16
|
+
m: import("@linaria/core").LinariaClassName;
|
17
|
+
s: import("@linaria/core").LinariaClassName;
|
18
|
+
xs: import("@linaria/core").LinariaClassName;
|
19
|
+
};
|
20
|
+
labelPlacement: {
|
21
|
+
inner: import("@linaria/core").LinariaClassName[];
|
22
|
+
outer: import("@linaria/core").LinariaClassName[];
|
23
|
+
};
|
24
|
+
disabled: {
|
25
|
+
true: import("@linaria/core").LinariaClassName;
|
26
|
+
};
|
27
|
+
readOnly: {
|
28
|
+
true: import("@linaria/core").LinariaClassName;
|
29
|
+
};
|
30
|
+
};
|
31
|
+
};
|
32
|
+
//# sourceMappingURL=TextField.config.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TextField.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextField/TextField.config.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiWlB,CAAC"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const TextField: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
3
|
+
view: {
|
4
|
+
default: import("@linaria/core").LinariaClassName;
|
5
|
+
positive: import("@linaria/core").LinariaClassName;
|
6
|
+
warning: import("@linaria/core").LinariaClassName;
|
7
|
+
negative: import("@linaria/core").LinariaClassName;
|
8
|
+
};
|
9
|
+
size: {
|
10
|
+
l: import("@linaria/core").LinariaClassName;
|
11
|
+
m: import("@linaria/core").LinariaClassName;
|
12
|
+
s: import("@linaria/core").LinariaClassName;
|
13
|
+
xs: import("@linaria/core").LinariaClassName;
|
14
|
+
};
|
15
|
+
labelPlacement: {
|
16
|
+
inner: import("@linaria/core").LinariaClassName[];
|
17
|
+
outer: import("@linaria/core").LinariaClassName[];
|
18
|
+
};
|
19
|
+
disabled: {
|
20
|
+
true: import("@linaria/core").LinariaClassName;
|
21
|
+
};
|
22
|
+
readOnly: {
|
23
|
+
true: import("@linaria/core").LinariaClassName;
|
24
|
+
};
|
25
|
+
}> & import("../../../../components/TextField").TextFieldProps & import("react").RefAttributes<HTMLDivElement>>;
|
26
|
+
//# sourceMappingURL=TextField.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;+GAA0B,CAAC"}
|