@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
@@ -0,0 +1,123 @@
|
|
1
|
+
import React, { ComponentProps, useState } from 'react';
|
2
|
+
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
+
import { action } from '@storybook/addon-actions';
|
4
|
+
import { IconPlaceholder } from '@salutejs/plasma-sb-utils';
|
5
|
+
|
6
|
+
import { WithTheme } from '../../../_helpers';
|
7
|
+
|
8
|
+
import { TextField } from './TextField';
|
9
|
+
|
10
|
+
const onChange = action('onChange');
|
11
|
+
const onFocus = action('onFocus');
|
12
|
+
const onBlur = action('onBlur');
|
13
|
+
const onSearch = action('onSearch');
|
14
|
+
|
15
|
+
const sizes = ['l', 'm', 's', 'xs'];
|
16
|
+
const views = ['default', 'positive', 'warning', 'negative'];
|
17
|
+
const enumerationTypes = ['plain', 'chip'];
|
18
|
+
|
19
|
+
const meta: Meta<typeof TextField> = {
|
20
|
+
title: 'sds_engineer/TextField',
|
21
|
+
component: TextField,
|
22
|
+
decorators: [WithTheme],
|
23
|
+
argTypes: {
|
24
|
+
view: {
|
25
|
+
options: views,
|
26
|
+
control: {
|
27
|
+
type: 'select',
|
28
|
+
},
|
29
|
+
},
|
30
|
+
maxLength: {
|
31
|
+
control: {
|
32
|
+
type: 'number',
|
33
|
+
},
|
34
|
+
},
|
35
|
+
enumerationType: {
|
36
|
+
options: enumerationTypes,
|
37
|
+
control: {
|
38
|
+
type: 'select',
|
39
|
+
},
|
40
|
+
},
|
41
|
+
size: {
|
42
|
+
options: sizes,
|
43
|
+
control: {
|
44
|
+
type: 'inline-radio',
|
45
|
+
},
|
46
|
+
},
|
47
|
+
},
|
48
|
+
};
|
49
|
+
|
50
|
+
export default meta;
|
51
|
+
|
52
|
+
type StoryPropsDefault = Omit<
|
53
|
+
ComponentProps<typeof TextField>,
|
54
|
+
| 'helperBlock'
|
55
|
+
| 'contentLeft'
|
56
|
+
| 'htmlSize'
|
57
|
+
| 'contentRight'
|
58
|
+
| 'type'
|
59
|
+
| 'name'
|
60
|
+
| 'onFocus'
|
61
|
+
| 'onBlur'
|
62
|
+
| 'onChange'
|
63
|
+
| 'value'
|
64
|
+
| 'checked'
|
65
|
+
| 'maxLength'
|
66
|
+
| 'minLength'
|
67
|
+
| 'required'
|
68
|
+
> & {
|
69
|
+
'storybook:contentLeft': boolean;
|
70
|
+
'storybook:contentRight': boolean;
|
71
|
+
};
|
72
|
+
|
73
|
+
const StoryDefault = ({
|
74
|
+
'storybook:contentLeft': enableContentLeft,
|
75
|
+
'storybook:contentRight': enableContentRight,
|
76
|
+
view,
|
77
|
+
...rest
|
78
|
+
}: StoryPropsDefault) => {
|
79
|
+
const [text, setText] = useState('Значение поля');
|
80
|
+
|
81
|
+
return (
|
82
|
+
<TextField
|
83
|
+
{...rest}
|
84
|
+
value={text}
|
85
|
+
contentLeft={enableContentLeft ? <IconPlaceholder /> : undefined}
|
86
|
+
contentRight={enableContentRight ? <IconPlaceholder /> : undefined}
|
87
|
+
view={view}
|
88
|
+
onChange={(_, value) => {
|
89
|
+
setText(value);
|
90
|
+
onChange(value);
|
91
|
+
}}
|
92
|
+
onFocus={onFocus}
|
93
|
+
onBlur={onBlur}
|
94
|
+
onSearch={onSearch}
|
95
|
+
/>
|
96
|
+
);
|
97
|
+
};
|
98
|
+
|
99
|
+
export const Default: StoryObj<StoryPropsDefault> = {
|
100
|
+
argTypes: {
|
101
|
+
labelPlacement: {
|
102
|
+
options: ['outer', 'inner'],
|
103
|
+
control: {
|
104
|
+
type: 'inline-radio',
|
105
|
+
},
|
106
|
+
},
|
107
|
+
},
|
108
|
+
args: {
|
109
|
+
id: 'example-text-field',
|
110
|
+
size: 'l',
|
111
|
+
view: 'default',
|
112
|
+
label: 'Лейбл',
|
113
|
+
labelPlacement: 'outer',
|
114
|
+
placeholder: 'Заполните поле',
|
115
|
+
leftHelper: 'Подсказка к полю',
|
116
|
+
enumerationType: 'plain',
|
117
|
+
disabled: false,
|
118
|
+
readOnly: false,
|
119
|
+
'storybook:contentLeft': true,
|
120
|
+
'storybook:contentRight': true,
|
121
|
+
},
|
122
|
+
render: (args) => <StoryDefault {...args} />,
|
123
|
+
};
|
@@ -6,6 +6,7 @@ export * from './hooks';
|
|
6
6
|
export * from './components/Button';
|
7
7
|
export * from './components/ButtonGroup';
|
8
8
|
export * from './components/Chip';
|
9
|
+
export * from './components/Cell';
|
9
10
|
export * from './components/Link';
|
10
11
|
export * from './components/Spinner';
|
11
12
|
export * from './components/Checkbox';
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { RootProps } from '../../engines';
|
3
|
+
import type { CellProps } from './Cell.types';
|
4
|
+
export declare const cellRoot: (Root: RootProps<HTMLDivElement, CellProps>) => React.ForwardRefExoticComponent<CellProps & React.RefAttributes<HTMLDivElement>>;
|
5
|
+
export declare const cellConfig: {
|
6
|
+
name: string;
|
7
|
+
tag: string;
|
8
|
+
layout: (Root: RootProps<HTMLDivElement, CellProps>) => React.ForwardRefExoticComponent<CellProps & React.RefAttributes<HTMLDivElement>>;
|
9
|
+
base: import("@linaria/core").LinariaClassName;
|
10
|
+
variations: {
|
11
|
+
view: {
|
12
|
+
css: import("@linaria/core").LinariaClassName;
|
13
|
+
};
|
14
|
+
size: {
|
15
|
+
css: import("@linaria/core").LinariaClassName;
|
16
|
+
};
|
17
|
+
};
|
18
|
+
defaults: {
|
19
|
+
view: string;
|
20
|
+
size: string;
|
21
|
+
};
|
22
|
+
};
|
23
|
+
//# sourceMappingURL=Cell.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAO9C,eAAO,MAAM,QAAQ,SAAU,UAAU,cAAc,EAAE,SAAS,CAAC,qFAwC9D,CAAC;AAEN,eAAO,MAAM,UAAU;;;mBA1CQ,UAAU,cAAc,EAAE,SAAS,CAAC;;;;;;;;;;;;;;CA2DlE,CAAC"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { AlignProp } from './Cell.types';
|
2
|
+
export declare const base: import("@linaria/core").LinariaClassName;
|
3
|
+
export declare const CellContentWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
4
|
+
export declare const CellContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
5
|
+
export declare const CellLeft: import("styled-components").StyledComponent<"div", any, {
|
6
|
+
align: AlignProp;
|
7
|
+
}, never>;
|
8
|
+
export declare const CellRight: import("styled-components").StyledComponent<"div", any, {
|
9
|
+
align: AlignProp;
|
10
|
+
}, never>;
|
11
|
+
//# sourceMappingURL=Cell.styles.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Cell.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.styles.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAS9C,eAAO,MAAM,IAAI,0CAUhB,CAAC;AAEF,eAAO,MAAM,kBAAkB,oEAO9B,CAAC;AAEF,eAAO,MAAM,WAAW,oEAIvB,CAAC;AAEF,eAAO,MAAM,QAAQ;WAAuB,SAAS;SAGpD,CAAC;AAEF,eAAO,MAAM,SAAS;WAAuB,SAAS;SAIrD,CAAC"}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
export declare const tokens: {
|
2
|
+
cellColor: string;
|
3
|
+
cellBackgroundColor: string;
|
4
|
+
cellPadding: string;
|
5
|
+
cellPaddingLeftContent: string;
|
6
|
+
cellPaddingContent: string;
|
7
|
+
cellPaddingRightContent: string;
|
8
|
+
cellTextboxGap: string;
|
9
|
+
cellGap: string;
|
10
|
+
cellWidth: string;
|
11
|
+
cellLabelColor: string;
|
12
|
+
cellLabelFontFamily: string;
|
13
|
+
cellLabelFontSize: string;
|
14
|
+
cellLabelFontStyle: string;
|
15
|
+
cellLabelFontWeight: string;
|
16
|
+
cellLabelLetterSpacing: string;
|
17
|
+
cellLabelLineHeight: string;
|
18
|
+
cellTitleColor: string;
|
19
|
+
cellTitleFontFamily: string;
|
20
|
+
cellTitleFontSize: string;
|
21
|
+
cellTitleFontStyle: string;
|
22
|
+
cellTitleFontWeight: string;
|
23
|
+
cellTitleLetterSpacing: string;
|
24
|
+
cellTitleLineHeight: string;
|
25
|
+
cellSubtitleColor: string;
|
26
|
+
cellSubtitleFontFamily: string;
|
27
|
+
cellSubtitleFontSize: string;
|
28
|
+
cellSubtitleFontStyle: string;
|
29
|
+
cellSubtitleFontWeight: string;
|
30
|
+
cellSubtitleLetterSpacing: string;
|
31
|
+
cellSubtitleLineHeight: string;
|
32
|
+
};
|
33
|
+
export declare const classes: {
|
34
|
+
autoStretching: string;
|
35
|
+
filledStretching: string;
|
36
|
+
fixedStretching: string;
|
37
|
+
cellWrapper: string;
|
38
|
+
cellRoot: string;
|
39
|
+
cellContent: string;
|
40
|
+
cellLeftContent: string;
|
41
|
+
cellRightContent: string;
|
42
|
+
};
|
43
|
+
//# sourceMappingURL=Cell.tokens.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Cell.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqClB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;;;CAUnB,CAAC"}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import type { ReactNode } from 'react';
|
2
|
+
import type { CellTextboxProps } from './ui/CellTextbox/CellTextbox.types';
|
3
|
+
export declare type AlignProp = 'center' | 'top' | 'bottom';
|
4
|
+
declare type CustomCellProps = {
|
5
|
+
/**
|
6
|
+
* Размер
|
7
|
+
*/
|
8
|
+
size?: string;
|
9
|
+
/**
|
10
|
+
* Размер
|
11
|
+
*/
|
12
|
+
view: string;
|
13
|
+
/**
|
14
|
+
* Слот для контента слева, например `Icon`
|
15
|
+
*/
|
16
|
+
contentLeft?: ReactNode;
|
17
|
+
/**
|
18
|
+
* Слот для контента спарва, например `Icon`
|
19
|
+
*/
|
20
|
+
contentRight?: ReactNode;
|
21
|
+
/**
|
22
|
+
* Вертикальное выравнивание контента слева.
|
23
|
+
*/
|
24
|
+
alignContentLeft?: AlignProp;
|
25
|
+
/**
|
26
|
+
* Вертикальное выравнивание контента справа.
|
27
|
+
*/
|
28
|
+
alignContentRight?: AlignProp;
|
29
|
+
/**
|
30
|
+
* Ширина cell
|
31
|
+
* @description
|
32
|
+
* Может принимать три значения:
|
33
|
+
* fixed - кнопка фиксированной ширины;
|
34
|
+
* filled - кнопка занимает всю доступную ширину
|
35
|
+
* auto - кнопка растягивается в зависимости от контента
|
36
|
+
*/
|
37
|
+
stretching?: 'fixed' | 'filled' | 'auto';
|
38
|
+
/**
|
39
|
+
* Свойство устарело, вместо этого нужно использовать contentLeft
|
40
|
+
* @deprecated
|
41
|
+
*/
|
42
|
+
content?: ReactNode;
|
43
|
+
/**
|
44
|
+
* Свойство устарело, вместо этого нужно использовать title
|
45
|
+
* @deprecated
|
46
|
+
*/
|
47
|
+
description?: string;
|
48
|
+
};
|
49
|
+
export declare type CellProps = CustomCellProps & CellTextboxProps;
|
50
|
+
export {};
|
51
|
+
//# sourceMappingURL=Cell.types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Cell.types.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAE3E,oBAAY,SAAS,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEpD,aAAK,eAAe,GAAG;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAE7B;;OAEG;IACH,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAE9B;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAEzC;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,oBAAY,SAAS,GAAG,eAAe,GAAG,gBAAgB,CAAC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export { CellTextboxLabel } from './ui/CellTextboxLabel/CellTextboxLabel';
|
2
|
+
export { CellTextboxTitle } from './ui/CellTextboxTitle/CellTextboxTitle';
|
3
|
+
export { CellTextboxSubtitle } from './ui/CellTextboxSubtitle/CellTextboxSubtitle';
|
4
|
+
export { cellRoot, cellConfig } from './Cell';
|
5
|
+
export type { CellProps } from './Cell.types';
|
6
|
+
export { tokens as cellTokens, classes as cellClasses } from './Cell.tokens';
|
7
|
+
export { CellTextbox } from './ui/CellTextbox/CellTextbox';
|
8
|
+
export type { CellTextboxProps } from './ui/CellTextbox/CellTextbox.types';
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAEnF,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAC9C,YAAY,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AAE7E,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,YAAY,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CellTextbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextbox/CellTextbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAO9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,gBAAgB,CAmBnF,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CellTextbox.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextbox/CellTextbox.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,oEAI7B,CAAC"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import type { HTMLAttributes, ReactNode } from 'react';
|
2
|
+
declare type CustomTextboxProps = {
|
3
|
+
/**
|
4
|
+
* Слот для Title
|
5
|
+
*/
|
6
|
+
title?: string;
|
7
|
+
/**
|
8
|
+
* Слот для Subtitle
|
9
|
+
*/
|
10
|
+
subtitle?: string;
|
11
|
+
/**
|
12
|
+
* Слот для Label
|
13
|
+
*/
|
14
|
+
label?: string;
|
15
|
+
children?: never;
|
16
|
+
} | {
|
17
|
+
/**
|
18
|
+
* Слот для Title
|
19
|
+
*/
|
20
|
+
title?: never;
|
21
|
+
/**
|
22
|
+
* Слот для Subtitle
|
23
|
+
*/
|
24
|
+
subtitle?: never;
|
25
|
+
/**
|
26
|
+
* Слот для Label
|
27
|
+
*/
|
28
|
+
label?: never;
|
29
|
+
children?: ReactNode;
|
30
|
+
};
|
31
|
+
export declare type CellTextboxProps = CustomTextboxProps & HTMLAttributes<HTMLDivElement>;
|
32
|
+
export {};
|
33
|
+
//# sourceMappingURL=CellTextbox.types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CellTextbox.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextbox/CellTextbox.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,aAAK,kBAAkB,GACjB;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,QAAQ,CAAC,EAAE,KAAK,CAAC;CACpB,GACD;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAER,oBAAY,gBAAgB,GAAG,kBAAkB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CellTextboxLabel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI9C,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,CAErE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CellTextboxLabel.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,oEAQ9B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CellTextboxSubtitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI9C,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,CAExE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CellTextboxSubtitle.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB,oEAQjC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CellTextboxTitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI9C,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,CAErE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CellTextboxTitle.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,oEAQ9B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/variations/_size/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/variations/_stretching/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAUhB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/variations/_view/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAYhB,CAAC"}
|
@@ -1,11 +1,35 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import type { RootProps } from '../../engines';
|
3
3
|
import type { ChipProps } from './Chip.types';
|
4
|
-
export declare const chipRoot: (Root: RootProps<HTMLButtonElement, ChipProps>) => React.ForwardRefExoticComponent<
|
4
|
+
export declare const chipRoot: (Root: RootProps<HTMLButtonElement, ChipProps>) => React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
5
|
+
text?: string | undefined;
|
6
|
+
contentLeft?: React.ReactNode;
|
7
|
+
contentRight?: React.ReactNode;
|
8
|
+
contentClearButton?: React.ReactNode;
|
9
|
+
disabled?: boolean | undefined;
|
10
|
+
readOnly?: boolean | undefined;
|
11
|
+
size?: ("m" | "s" | "xs" | "l") | undefined;
|
12
|
+
view?: ("secondary" | "default" | "positive") | undefined;
|
13
|
+
onClear?: (() => void) | undefined;
|
14
|
+
} & {
|
15
|
+
children?: React.ReactNode;
|
16
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
5
17
|
export declare const chipConfig: {
|
6
18
|
name: string;
|
7
19
|
tag: string;
|
8
|
-
layout: (Root: RootProps<HTMLButtonElement, ChipProps>) => React.ForwardRefExoticComponent<
|
20
|
+
layout: (Root: RootProps<HTMLButtonElement, ChipProps>) => React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
21
|
+
text?: string | undefined;
|
22
|
+
contentLeft?: React.ReactNode;
|
23
|
+
contentRight?: React.ReactNode;
|
24
|
+
contentClearButton?: 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?: React.ReactNode;
|
32
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
9
33
|
base: import("@linaria/core").LinariaClassName;
|
10
34
|
variations: {
|
11
35
|
view: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,eAAO,MAAM,QAAQ,SAAU,UAAU,iBAAiB,EAAE,SAAS,CAAC,
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,eAAO,MAAM,QAAQ,SAAU,UAAU,iBAAiB,EAAE,SAAS,CAAC;;;;;;;;;;;;2CAsDhE,CAAC;AAEP,eAAO,MAAM,UAAU;;;mBAxDQ,UAAU,iBAAiB,EAAE,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoFrE,CAAC"}
|
@@ -1,4 +1,6 @@
|
|
1
1
|
import type { ButtonHTMLAttributes, PropsWithChildren, ReactNode } from 'react';
|
2
|
+
declare type ChipSize = 'l' | 'm' | 's' | 'xs';
|
3
|
+
declare type ChipView = 'default' | 'secondary' | 'positive';
|
2
4
|
declare type CustomChipProps = {
|
3
5
|
/**
|
4
6
|
* Текстовая надпись
|
@@ -33,19 +35,18 @@ declare type CustomChipProps = {
|
|
33
35
|
* @default
|
34
36
|
* m
|
35
37
|
*/
|
36
|
-
size?:
|
38
|
+
size?: ChipSize;
|
37
39
|
/**
|
38
40
|
* Вид Chip
|
39
41
|
* @default
|
40
|
-
*
|
42
|
+
* default
|
41
43
|
*/
|
42
|
-
view?:
|
44
|
+
view?: ChipView;
|
43
45
|
/**
|
44
46
|
* Коллбек при взаимодействии с элементом
|
45
47
|
*/
|
46
48
|
onClear?: () => void;
|
47
49
|
} & PropsWithChildren;
|
48
|
-
export
|
49
|
-
}
|
50
|
+
export declare type ChipProps = ButtonHTMLAttributes<HTMLButtonElement> & CustomChipProps;
|
50
51
|
export {};
|
51
52
|
//# sourceMappingURL=Chip.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Chip.types.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhF,aAAK,eAAe,GAAG;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,
|
1
|
+
{"version":3,"file":"Chip.types.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhF,aAAK,QAAQ,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;AACvC,aAAK,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;AAErD,aAAK,eAAe,GAAG;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,GAAG,iBAAiB,CAAC;AAEtB,oBAAY,SAAS,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GAAG,eAAe,CAAC"}
|
@@ -1,3 +1,15 @@
|
|
1
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("
|
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>>;
|
3
15
|
//# sourceMappingURL=ComboboxChip.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ComboboxChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/ui/ComboboxChip/ComboboxChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU,
|
1
|
+
{"version":3,"file":"ComboboxChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/ui/ComboboxChip/ComboboxChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU;;;;;;;;;;;;qDAwCtB,CAAC"}
|
@@ -3,14 +3,14 @@ import { RootProps } from '../../engines';
|
|
3
3
|
import { IndicatorProps } from './Indicator.types';
|
4
4
|
export declare const indicatorRoot: (Root: RootProps<HTMLDivElement, IndicatorProps>) => React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
5
5
|
size: "m" | "s" | "l";
|
6
|
-
view: "accent" | "black" | "white" | "default" | "inactive" | "
|
6
|
+
view: "accent" | "black" | "white" | "default" | "inactive" | "positive" | "warning" | "negative";
|
7
7
|
} & React.RefAttributes<HTMLDivElement>>;
|
8
8
|
export declare const indicatorConfig: {
|
9
9
|
name: string;
|
10
10
|
tag: string;
|
11
11
|
layout: (Root: RootProps<HTMLDivElement, IndicatorProps>) => React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
12
12
|
size: "m" | "s" | "l";
|
13
|
-
view: "accent" | "black" | "white" | "default" | "inactive" | "
|
13
|
+
view: "accent" | "black" | "white" | "default" | "inactive" | "positive" | "warning" | "negative";
|
14
14
|
} & React.RefAttributes<HTMLDivElement>>;
|
15
15
|
base: import("@linaria/core").LinariaClassName;
|
16
16
|
variations: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAG/D,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAW1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAS1D,eAAO,MAAM,cAAc,SAAU,UAAU,cAAc,EAAE,eAAe,CAAC,
|
1
|
+
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAG/D,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAW1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAS1D,eAAO,MAAM,cAAc,SAAU,UAAU,cAAc,EAAE,eAAe,CAAC,2FAoK1E,CAAC;AAEN,eAAO,MAAM,gBAAgB;;;mBAtKQ,UAAU,cAAc,EAAE,eAAe,CAAC;;;;;;;;;;;;;;;;;CA0L9E,CAAC"}
|
@@ -1,3 +1,15 @@
|
|
1
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("
|
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>>;
|
3
15
|
//# sourceMappingURL=SelectChip.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/SelectChip/SelectChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU,
|
1
|
+
{"version":3,"file":"SelectChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/SelectChip/SelectChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU;;;;;;;;;;;;qDAwCtB,CAAC"}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import type { LabelHTMLAttributes } from 'react';
|
3
2
|
import type { RootProps } from '../../engines';
|
4
3
|
import type { TextFieldProps } from './TextField.types';
|
5
|
-
export declare const
|
4
|
+
export declare const base: import("@linaria/core").LinariaClassName;
|
5
|
+
export declare const textFieldRoot: (Root: RootProps<HTMLDivElement, TextFieldProps>) => React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLDivElement>>;
|
6
6
|
export declare const textFieldConfig: {
|
7
7
|
name: string;
|
8
8
|
tag: string;
|
9
|
-
layout: (Root: RootProps<
|
9
|
+
layout: (Root: RootProps<HTMLDivElement, TextFieldProps>) => React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLDivElement>>;
|
10
10
|
base: import("@linaria/core").LinariaClassName;
|
11
11
|
variations: {
|
12
12
|
view: {
|
@@ -19,12 +19,17 @@ export declare const textFieldConfig: {
|
|
19
19
|
css: import("@linaria/core").LinariaClassName;
|
20
20
|
attrs: boolean;
|
21
21
|
};
|
22
|
+
readOnly: {
|
23
|
+
css: import("@linaria/core").LinariaClassName;
|
24
|
+
attrs: boolean;
|
25
|
+
};
|
22
26
|
labelPlacement: {
|
23
27
|
css: import("@linaria/core").LinariaClassName;
|
24
28
|
};
|
25
29
|
};
|
26
30
|
defaults: {
|
27
31
|
size: string;
|
32
|
+
view: string;
|
28
33
|
};
|
29
34
|
};
|
30
35
|
//# sourceMappingURL=TextField.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAKvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG/C,OAAO,KAAK,EAAuC,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAoB7F,eAAO,MAAM,IAAI,0CAIhB,CAAC;AAEF,eAAO,MAAM,aAAa,SAAU,UAAU,cAAc,EAAE,cAAc,CAAC,0FA4LvE,CAAC;AAEP,eAAO,MAAM,eAAe;;;mBA9LQ,UAAU,cAAc,EAAE,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;CA0N5E,CAAC"}
|