@salutejs/plasma-new-hope 0.166.0-canary.1459.11345044568.0 → 0.166.0-canary.1470.11343749799.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Attach/Attach.js +8 -17
- package/cjs/components/Attach/Attach.js.map +1 -1
- package/cjs/components/Autocomplete/Autocomplete.css +19 -34
- package/cjs/components/Autocomplete/Autocomplete.js +2 -6
- package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +18 -38
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +18 -38
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +18 -38
- package/cjs/components/Combobox/ComboboxNew/utils/filterItems.js +4 -5
- package/cjs/components/Combobox/ComboboxNew/utils/filterItems.js.map +1 -1
- package/cjs/components/DatePicker/RangeDate/RangeDate.css +18 -33
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +18 -33
- package/cjs/components/DatePicker/SingleDate/SingleDate.css +20 -35
- package/cjs/components/Range/Range.css +19 -39
- package/cjs/components/Slider/Slider.css +19 -39
- package/cjs/components/Slider/Slider.js +0 -2
- package/cjs/components/Slider/Slider.js.map +1 -1
- package/cjs/components/Slider/components/Double/Double.css +19 -39
- package/cjs/components/TextArea/TextArea.js +18 -129
- package/cjs/components/TextArea/TextArea.js.map +1 -1
- package/cjs/components/TextArea/TextArea.styles.js +63 -160
- package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
- package/cjs/components/TextArea/TextArea.styles_es0miz.css +11 -0
- package/cjs/components/TextArea/TextArea.tokens.js +4 -43
- package/cjs/components/TextArea/TextArea.tokens.js.map +1 -1
- package/cjs/components/TextArea/hooks/useAutoResize.js +4 -2
- package/cjs/components/TextArea/hooks/useAutoResize.js.map +1 -1
- package/cjs/components/TextArea/variations/_clear/base.js +1 -1
- package/cjs/components/TextArea/variations/_clear/base.js.map +1 -1
- package/cjs/components/TextArea/variations/_clear/base_vidplj.css +1 -0
- package/cjs/components/TextArea/variations/_view/base.js +1 -1
- package/cjs/components/TextArea/variations/_view/base.js.map +1 -1
- package/cjs/components/TextArea/variations/_view/base_td55th.css +1 -0
- package/cjs/components/TextField/TextField.js +9 -117
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/cjs/components/TextField/TextField.styles.js +23 -76
- package/cjs/components/TextField/TextField.styles.js.map +1 -1
- package/cjs/components/TextField/TextField.styles_1d2ryq.css +15 -0
- package/cjs/components/TextField/TextField.tokens.js +1 -40
- package/cjs/components/TextField/TextField.tokens.js.map +1 -1
- package/cjs/components/TextField/variations/_clear/base.js +1 -1
- package/cjs/components/TextField/variations/_clear/base.js.map +1 -1
- package/cjs/components/TextField/variations/_clear/base_rit6gc.css +1 -0
- package/cjs/components/TextField/variations/_disabled/base.js +1 -1
- package/cjs/components/TextField/variations/_disabled/{base_4d3opa.css → base_2tv0nz.css} +1 -1
- package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
- package/cjs/components/TextField/variations/_label-placement/base.js.map +1 -1
- package/cjs/components/TextField/variations/_label-placement/base_1ghihns.css +1 -0
- package/cjs/components/TextField/variations/_read-only/base.js +1 -1
- package/cjs/components/TextField/variations/_read-only/base.js.map +1 -1
- package/cjs/components/TextField/variations/_read-only/base_1n7tghz.css +1 -0
- package/cjs/components/TextField/variations/_size/base.js +1 -1
- package/cjs/components/TextField/variations/_size/base.js.map +1 -1
- package/cjs/components/TextField/variations/_size/base_1h8l0kj.css +1 -0
- package/cjs/components/TextField/variations/_view/base.js +1 -1
- package/cjs/components/TextField/variations/_view/base.js.map +1 -1
- package/cjs/components/TextField/variations/_view/base_1noe46b.css +1 -0
- package/cjs/components/TextFieldGroup/TextFieldGroup.css +1 -1
- package/cjs/components/TextFieldGroup/variations/_shape/base.js +1 -1
- package/cjs/components/TextFieldGroup/variations/_shape/base_1e0je21.css +1 -0
- package/cjs/index.css +34 -54
- package/emotion/cjs/components/Attach/Attach.js +8 -17
- package/emotion/cjs/components/Attach/Attach.template-doc.mdx +0 -69
- package/emotion/cjs/components/Autocomplete/Autocomplete.js +2 -6
- package/emotion/cjs/components/Combobox/ComboboxNew/utils/filterItems.js +4 -5
- package/emotion/cjs/components/TextArea/TextArea.js +23 -132
- package/emotion/cjs/components/TextArea/TextArea.styles.js +41 -99
- package/emotion/cjs/components/TextArea/TextArea.template-doc.mdx +1 -6
- package/emotion/cjs/components/TextArea/TextArea.tokens.js +4 -43
- package/emotion/cjs/components/TextArea/hooks/useAutoResize.js +4 -2
- package/emotion/cjs/components/TextArea/variations/_clear/base.js +1 -1
- package/emotion/cjs/components/TextArea/variations/_view/base.js +1 -2
- package/emotion/cjs/components/TextField/TextField.js +12 -119
- package/emotion/cjs/components/TextField/TextField.styles.js +37 -84
- package/emotion/cjs/components/TextField/TextField.template-doc.mdx +1 -7
- package/emotion/cjs/components/TextField/TextField.tokens.js +1 -40
- package/emotion/cjs/components/TextField/variations/_clear/base.js +1 -1
- package/emotion/cjs/components/TextField/variations/_label-placement/base.js +1 -1
- package/emotion/cjs/components/TextField/variations/_read-only/base.js +1 -1
- package/emotion/cjs/components/TextField/variations/_size/base.js +1 -1
- package/emotion/cjs/components/TextField/variations/_view/base.js +1 -1
- package/emotion/cjs/components/_Icon/index.js +1 -8
- package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +10 -19
- package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +0 -70
- package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +13 -22
- package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -71
- package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +10 -19
- package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +0 -70
- package/emotion/cjs/examples/plasma_web/components/TextField/TextField.config.js +13 -22
- package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -80
- package/emotion/es/components/Attach/Attach.js +8 -17
- package/emotion/es/components/Attach/Attach.template-doc.mdx +0 -69
- package/emotion/es/components/Autocomplete/Autocomplete.js +2 -6
- package/emotion/es/components/Combobox/ComboboxNew/utils/filterItems.js +4 -5
- package/emotion/es/components/TextArea/TextArea.js +24 -133
- package/emotion/es/components/TextArea/TextArea.styles.js +40 -98
- package/emotion/es/components/TextArea/TextArea.template-doc.mdx +1 -6
- package/emotion/es/components/TextArea/TextArea.tokens.js +4 -43
- package/emotion/es/components/TextArea/hooks/useAutoResize.js +4 -2
- package/emotion/es/components/TextArea/variations/_clear/base.js +2 -2
- package/emotion/es/components/TextArea/variations/_view/base.js +1 -2
- package/emotion/es/components/TextField/TextField.js +11 -118
- package/emotion/es/components/TextField/TextField.styles.js +36 -83
- package/emotion/es/components/TextField/TextField.template-doc.mdx +1 -7
- package/emotion/es/components/TextField/TextField.tokens.js +1 -40
- package/emotion/es/components/TextField/variations/_clear/base.js +2 -2
- package/emotion/es/components/TextField/variations/_label-placement/base.js +1 -1
- package/emotion/es/components/TextField/variations/_read-only/base.js +2 -2
- package/emotion/es/components/TextField/variations/_size/base.js +2 -2
- package/emotion/es/components/TextField/variations/_view/base.js +2 -2
- package/emotion/es/components/_Icon/index.js +1 -2
- package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +10 -19
- package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +0 -70
- package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +13 -22
- package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -71
- package/emotion/es/examples/plasma_web/components/TextArea/TextArea.config.js +10 -19
- package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +0 -70
- package/emotion/es/examples/plasma_web/components/TextField/TextField.config.js +13 -22
- package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -80
- package/es/components/Attach/Attach.js +8 -17
- package/es/components/Attach/Attach.js.map +1 -1
- package/es/components/Autocomplete/Autocomplete.css +19 -34
- package/es/components/Autocomplete/Autocomplete.js +2 -6
- package/es/components/Autocomplete/Autocomplete.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/Combobox.css +18 -38
- package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +18 -38
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +18 -38
- package/es/components/Combobox/ComboboxNew/utils/filterItems.js +4 -5
- package/es/components/Combobox/ComboboxNew/utils/filterItems.js.map +1 -1
- package/es/components/DatePicker/RangeDate/RangeDate.css +18 -33
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +18 -33
- package/es/components/DatePicker/SingleDate/SingleDate.css +20 -35
- package/es/components/Range/Range.css +19 -39
- package/es/components/Slider/Slider.css +19 -39
- package/es/components/Slider/Slider.js +0 -2
- package/es/components/Slider/Slider.js.map +1 -1
- package/es/components/Slider/components/Double/Double.css +19 -39
- package/es/components/TextArea/TextArea.js +22 -133
- package/es/components/TextArea/TextArea.js.map +1 -1
- package/es/components/TextArea/TextArea.styles.js +64 -155
- package/es/components/TextArea/TextArea.styles.js.map +1 -1
- package/es/components/TextArea/TextArea.styles_es0miz.css +11 -0
- package/es/components/TextArea/TextArea.tokens.js +4 -43
- package/es/components/TextArea/TextArea.tokens.js.map +1 -1
- package/es/components/TextArea/hooks/useAutoResize.js +4 -2
- package/es/components/TextArea/hooks/useAutoResize.js.map +1 -1
- package/es/components/TextArea/variations/_clear/base.js +1 -1
- package/es/components/TextArea/variations/_clear/base.js.map +1 -1
- package/es/components/TextArea/variations/_clear/base_vidplj.css +1 -0
- package/es/components/TextArea/variations/_view/base.js +1 -1
- package/es/components/TextArea/variations/_view/base.js.map +1 -1
- package/es/components/TextArea/variations/_view/base_td55th.css +1 -0
- package/es/components/TextField/TextField.js +10 -118
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/components/TextField/TextField.styles.js +24 -71
- package/es/components/TextField/TextField.styles.js.map +1 -1
- package/es/components/TextField/TextField.styles_1d2ryq.css +15 -0
- package/es/components/TextField/TextField.tokens.js +1 -40
- package/es/components/TextField/TextField.tokens.js.map +1 -1
- package/es/components/TextField/variations/_clear/base.js +1 -1
- package/es/components/TextField/variations/_clear/base.js.map +1 -1
- package/es/components/TextField/variations/_clear/base_rit6gc.css +1 -0
- package/es/components/TextField/variations/_disabled/base.js +1 -1
- package/es/components/TextField/variations/_disabled/{base_4d3opa.css → base_2tv0nz.css} +1 -1
- package/es/components/TextField/variations/_label-placement/base.js +1 -1
- package/es/components/TextField/variations/_label-placement/base.js.map +1 -1
- package/es/components/TextField/variations/_label-placement/base_1ghihns.css +1 -0
- package/es/components/TextField/variations/_read-only/base.js +1 -1
- package/es/components/TextField/variations/_read-only/base.js.map +1 -1
- package/es/components/TextField/variations/_read-only/base_1n7tghz.css +1 -0
- package/es/components/TextField/variations/_size/base.js +1 -1
- package/es/components/TextField/variations/_size/base.js.map +1 -1
- package/es/components/TextField/variations/_size/base_1h8l0kj.css +1 -0
- package/es/components/TextField/variations/_view/base.js +1 -1
- package/es/components/TextField/variations/_view/base.js.map +1 -1
- package/es/components/TextField/variations/_view/base_1noe46b.css +1 -0
- package/es/components/TextFieldGroup/TextFieldGroup.css +1 -1
- package/es/components/TextFieldGroup/variations/_shape/base.js +1 -1
- package/es/components/TextFieldGroup/variations/_shape/base_1e0je21.css +1 -0
- package/es/index.css +34 -54
- package/package.json +2 -2
- package/styled-components/cjs/components/Attach/Attach.js +8 -17
- package/styled-components/cjs/components/Attach/Attach.template-doc.mdx +0 -69
- package/styled-components/cjs/components/Autocomplete/Autocomplete.js +2 -6
- package/styled-components/cjs/components/Combobox/ComboboxNew/utils/filterItems.js +4 -5
- package/styled-components/cjs/components/TextArea/TextArea.js +22 -131
- package/styled-components/cjs/components/TextArea/TextArea.styles.js +42 -85
- package/styled-components/cjs/components/TextArea/TextArea.template-doc.mdx +1 -6
- package/styled-components/cjs/components/TextArea/TextArea.tokens.js +4 -43
- package/styled-components/cjs/components/TextArea/hooks/useAutoResize.js +4 -2
- package/styled-components/cjs/components/TextArea/variations/_clear/base.js +1 -1
- package/styled-components/cjs/components/TextArea/variations/_view/base.js +1 -2
- package/styled-components/cjs/components/TextField/TextField.js +11 -118
- package/styled-components/cjs/components/TextField/TextField.styles.js +21 -46
- package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +1 -7
- package/styled-components/cjs/components/TextField/TextField.tokens.js +1 -40
- package/styled-components/cjs/components/TextField/variations/_clear/base.js +1 -1
- package/styled-components/cjs/components/TextField/variations/_label-placement/base.js +1 -1
- package/styled-components/cjs/components/TextField/variations/_read-only/base.js +1 -1
- package/styled-components/cjs/components/TextField/variations/_size/base.js +1 -1
- package/styled-components/cjs/components/TextField/variations/_view/base.js +1 -1
- package/styled-components/cjs/components/_Icon/index.js +1 -8
- package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +9 -18
- package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +0 -70
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +9 -18
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -71
- package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +9 -18
- package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +0 -70
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +9 -18
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -80
- package/styled-components/es/components/Attach/Attach.js +8 -17
- package/styled-components/es/components/Attach/Attach.template-doc.mdx +0 -69
- package/styled-components/es/components/Autocomplete/Autocomplete.js +2 -6
- package/styled-components/es/components/Combobox/ComboboxNew/utils/filterItems.js +4 -5
- package/styled-components/es/components/TextArea/TextArea.js +23 -132
- package/styled-components/es/components/TextArea/TextArea.styles.js +41 -84
- package/styled-components/es/components/TextArea/TextArea.template-doc.mdx +1 -6
- package/styled-components/es/components/TextArea/TextArea.tokens.js +4 -43
- package/styled-components/es/components/TextArea/hooks/useAutoResize.js +4 -2
- package/styled-components/es/components/TextArea/variations/_clear/base.js +2 -2
- package/styled-components/es/components/TextArea/variations/_view/base.js +1 -2
- package/styled-components/es/components/TextField/TextField.js +10 -117
- package/styled-components/es/components/TextField/TextField.styles.js +20 -45
- package/styled-components/es/components/TextField/TextField.template-doc.mdx +1 -7
- package/styled-components/es/components/TextField/TextField.tokens.js +1 -40
- package/styled-components/es/components/TextField/variations/_clear/base.js +2 -2
- package/styled-components/es/components/TextField/variations/_label-placement/base.js +1 -1
- package/styled-components/es/components/TextField/variations/_read-only/base.js +2 -2
- package/styled-components/es/components/TextField/variations/_size/base.js +2 -2
- package/styled-components/es/components/TextField/variations/_view/base.js +2 -2
- package/styled-components/es/components/_Icon/index.js +1 -2
- package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +9 -18
- package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +0 -70
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +9 -18
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -71
- package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.config.js +9 -18
- package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +0 -70
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +9 -18
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -80
- package/types/components/Attach/Attach.d.ts.map +1 -1
- package/types/components/Attach/Attach.types.d.ts +0 -4
- package/types/components/Attach/Attach.types.d.ts.map +1 -1
- package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +0 -424
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts +2 -2
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +6 -7
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/index.d.ts +2 -0
- package/types/components/Combobox/ComboboxNew/index.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +0 -424
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/utils/filterItems.d.ts +2 -2
- package/types/components/Combobox/ComboboxNew/utils/filterItems.d.ts.map +1 -1
- package/types/components/Combobox/index.d.ts +1 -0
- package/types/components/Combobox/index.d.ts.map +1 -1
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +0 -424
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
- package/types/components/Range/Range.styles.d.ts +0 -424
- package/types/components/Range/Range.styles.d.ts.map +1 -1
- package/types/components/Slider/components/Double/Double.styles.d.ts +0 -424
- package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.d.ts +3 -9
- package/types/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.styles.d.ts +1 -11
- package/types/components/TextArea/TextArea.styles.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.tokens.d.ts +0 -39
- package/types/components/TextArea/TextArea.tokens.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.types.d.ts +3 -83
- package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
- package/types/components/TextArea/hooks/useAutoResize.d.ts.map +1 -1
- package/types/components/TextArea/variations/_clear/base.d.ts.map +1 -1
- package/types/components/TextArea/variations/_view/base.d.ts.map +1 -1
- package/types/components/TextField/TextField.d.ts +3 -9
- package/types/components/TextField/TextField.d.ts.map +1 -1
- package/types/components/TextField/TextField.styles.d.ts +0 -8
- package/types/components/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/TextField/TextField.tokens.d.ts +0 -39
- package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
- package/types/components/TextField/TextField.types.d.ts +2 -78
- package/types/components/TextField/TextField.types.d.ts.map +1 -1
- package/types/components/TextField/variations/_clear/base.d.ts.map +1 -1
- package/types/components/TextField/variations/_label-placement/base.d.ts.map +1 -1
- package/types/components/TextField/variations/_read-only/base.d.ts.map +1 -1
- package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
- package/types/components/TextField/variations/_view/base.d.ts.map +1 -1
- package/types/components/_Icon/index.d.ts +0 -1
- package/types/components/_Icon/index.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +126 -6
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +12 -788
- package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts +0 -9
- package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +0 -473
- package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts +0 -9
- package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +0 -433
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +126 -6
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Mask/Mask.d.ts +12 -788
- package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
- package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts +0 -9
- package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +0 -473
- package/types/examples/plasma_web/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/examples/plasma_web/components/TextField/TextField.config.d.ts +0 -9
- package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/TextField/TextField.d.ts +0 -433
- package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
- package/cjs/components/TextArea/TextArea.styles_mcxlmk.css +0 -17
- package/cjs/components/TextArea/variations/_clear/base_1ezvvtt.css +0 -1
- package/cjs/components/TextArea/variations/_hint-size/base.js +0 -9
- package/cjs/components/TextArea/variations/_hint-size/base.js.map +0 -1
- package/cjs/components/TextArea/variations/_hint-size/base_1ipgv90.css +0 -1
- package/cjs/components/TextArea/variations/_hint-view/base.js +0 -9
- package/cjs/components/TextArea/variations/_hint-view/base.js.map +0 -1
- package/cjs/components/TextArea/variations/_hint-view/base_111a0qe.css +0 -1
- package/cjs/components/TextArea/variations/_view/base_1xgrm3x.css +0 -1
- package/cjs/components/TextField/TextField.styles_17xt45g.css +0 -21
- package/cjs/components/TextField/variations/_clear/base_1pkwm4m.css +0 -1
- package/cjs/components/TextField/variations/_hint-size/base.js +0 -9
- package/cjs/components/TextField/variations/_hint-size/base.js.map +0 -1
- package/cjs/components/TextField/variations/_hint-size/base_1x99605.css +0 -1
- package/cjs/components/TextField/variations/_hint-view/base.js +0 -9
- package/cjs/components/TextField/variations/_hint-view/base.js.map +0 -1
- package/cjs/components/TextField/variations/_hint-view/base_l8etux.css +0 -1
- package/cjs/components/TextField/variations/_label-placement/base_3domm.css +0 -1
- package/cjs/components/TextField/variations/_read-only/base_17ypmu7.css +0 -1
- package/cjs/components/TextField/variations/_size/base_1xdmaqh.css +0 -1
- package/cjs/components/TextField/variations/_view/base_qhyte8.css +0 -1
- package/cjs/components/TextFieldGroup/variations/_shape/base_52bndd.css +0 -1
- package/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +0 -23
- package/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js.map +0 -1
- package/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +0 -23
- package/cjs/components/_Icon/Icons/IconInfoCircleOutline.js.map +0 -1
- package/emotion/cjs/components/TextArea/variations/_hint-size/base.js +0 -11
- package/emotion/cjs/components/TextArea/variations/_hint-size/tokens.json +0 -21
- package/emotion/cjs/components/TextArea/variations/_hint-view/base.js +0 -11
- package/emotion/cjs/components/TextArea/variations/_hint-view/tokens.json +0 -5
- package/emotion/cjs/components/TextField/variations/_hint-size/base.js +0 -11
- package/emotion/cjs/components/TextField/variations/_hint-size/tokens.json +0 -21
- package/emotion/cjs/components/TextField/variations/_hint-view/base.js +0 -11
- package/emotion/cjs/components/TextField/variations/_hint-view/tokens.json +0 -5
- package/emotion/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +0 -22
- package/emotion/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +0 -22
- package/emotion/es/components/TextArea/variations/_hint-size/base.js +0 -5
- package/emotion/es/components/TextArea/variations/_hint-size/tokens.json +0 -21
- package/emotion/es/components/TextArea/variations/_hint-view/base.js +0 -5
- package/emotion/es/components/TextArea/variations/_hint-view/tokens.json +0 -5
- package/emotion/es/components/TextField/variations/_hint-size/base.js +0 -5
- package/emotion/es/components/TextField/variations/_hint-size/tokens.json +0 -21
- package/emotion/es/components/TextField/variations/_hint-view/base.js +0 -5
- package/emotion/es/components/TextField/variations/_hint-view/tokens.json +0 -5
- package/emotion/es/components/_Icon/Icon.assets/InfoCircleOutline.js +0 -15
- package/emotion/es/components/_Icon/Icons/IconInfoCircleOutline.js +0 -15
- package/es/components/TextArea/TextArea.styles_mcxlmk.css +0 -17
- package/es/components/TextArea/variations/_clear/base_1ezvvtt.css +0 -1
- package/es/components/TextArea/variations/_hint-size/base.js +0 -5
- package/es/components/TextArea/variations/_hint-size/base.js.map +0 -1
- package/es/components/TextArea/variations/_hint-size/base_1ipgv90.css +0 -1
- package/es/components/TextArea/variations/_hint-view/base.js +0 -5
- package/es/components/TextArea/variations/_hint-view/base.js.map +0 -1
- package/es/components/TextArea/variations/_hint-view/base_111a0qe.css +0 -1
- package/es/components/TextArea/variations/_view/base_1xgrm3x.css +0 -1
- package/es/components/TextField/TextField.styles_17xt45g.css +0 -21
- package/es/components/TextField/variations/_clear/base_1pkwm4m.css +0 -1
- package/es/components/TextField/variations/_hint-size/base.js +0 -5
- package/es/components/TextField/variations/_hint-size/base.js.map +0 -1
- package/es/components/TextField/variations/_hint-size/base_1x99605.css +0 -1
- package/es/components/TextField/variations/_hint-view/base.js +0 -5
- package/es/components/TextField/variations/_hint-view/base.js.map +0 -1
- package/es/components/TextField/variations/_hint-view/base_l8etux.css +0 -1
- package/es/components/TextField/variations/_label-placement/base_3domm.css +0 -1
- package/es/components/TextField/variations/_read-only/base_17ypmu7.css +0 -1
- package/es/components/TextField/variations/_size/base_1xdmaqh.css +0 -1
- package/es/components/TextField/variations/_view/base_qhyte8.css +0 -1
- package/es/components/TextFieldGroup/variations/_shape/base_52bndd.css +0 -1
- package/es/components/_Icon/Icon.assets/InfoCircleOutline.js +0 -19
- package/es/components/_Icon/Icon.assets/InfoCircleOutline.js.map +0 -1
- package/es/components/_Icon/Icons/IconInfoCircleOutline.js +0 -19
- package/es/components/_Icon/Icons/IconInfoCircleOutline.js.map +0 -1
- package/styled-components/cjs/components/TextArea/variations/_hint-size/base.js +0 -11
- package/styled-components/cjs/components/TextArea/variations/_hint-size/tokens.json +0 -21
- package/styled-components/cjs/components/TextArea/variations/_hint-view/base.js +0 -11
- package/styled-components/cjs/components/TextArea/variations/_hint-view/tokens.json +0 -5
- package/styled-components/cjs/components/TextField/variations/_hint-size/base.js +0 -11
- package/styled-components/cjs/components/TextField/variations/_hint-size/tokens.json +0 -21
- package/styled-components/cjs/components/TextField/variations/_hint-view/base.js +0 -11
- package/styled-components/cjs/components/TextField/variations/_hint-view/tokens.json +0 -5
- package/styled-components/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +0 -22
- package/styled-components/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +0 -22
- package/styled-components/es/components/TextArea/variations/_hint-size/base.js +0 -5
- package/styled-components/es/components/TextArea/variations/_hint-size/tokens.json +0 -21
- package/styled-components/es/components/TextArea/variations/_hint-view/base.js +0 -5
- package/styled-components/es/components/TextArea/variations/_hint-view/tokens.json +0 -5
- package/styled-components/es/components/TextField/variations/_hint-size/base.js +0 -5
- package/styled-components/es/components/TextField/variations/_hint-size/tokens.json +0 -21
- package/styled-components/es/components/TextField/variations/_hint-view/base.js +0 -5
- package/styled-components/es/components/TextField/variations/_hint-view/tokens.json +0 -5
- package/styled-components/es/components/_Icon/Icon.assets/InfoCircleOutline.js +0 -15
- package/styled-components/es/components/_Icon/Icons/IconInfoCircleOutline.js +0 -15
- package/types/components/TextArea/variations/_hint-size/base.d.ts +0 -2
- package/types/components/TextArea/variations/_hint-size/base.d.ts.map +0 -1
- package/types/components/TextArea/variations/_hint-view/base.d.ts +0 -2
- package/types/components/TextArea/variations/_hint-view/base.d.ts.map +0 -1
- package/types/components/TextField/variations/_hint-size/base.d.ts +0 -2
- package/types/components/TextField/variations/_hint-size/base.d.ts.map +0 -1
- package/types/components/TextField/variations/_hint-view/base.d.ts +0 -2
- package/types/components/TextField/variations/_hint-view/base.d.ts.map +0 -1
- package/types/components/_Icon/Icon.assets/InfoCircleOutline.d.ts +0 -4
- package/types/components/_Icon/Icon.assets/InfoCircleOutline.d.ts.map +0 -1
- package/types/components/_Icon/Icons/IconInfoCircleOutline.d.ts +0 -4
- package/types/components/_Icon/Icons/IconInfoCircleOutline.d.ts.map +0 -1
@@ -8,16 +8,16 @@ export var config = {
|
|
8
8
|
},
|
9
9
|
variations: {
|
10
10
|
view: {
|
11
|
-
"default": /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-secondary
|
12
|
-
positive: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--text-positive);", ":var(--text-positive);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-positive);", ":var(--text-primary);", ":var(--text-positive);", ":var(--text-secondary);", ":var(--text-secondary
|
13
|
-
warning: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--text-warning);", ":var(--text-warning);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-warning);", ":var(--text-primary);", ":var(--text-warning);", ":var(--text-secondary);", ":var(--text-secondary
|
14
|
-
negative: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--text-negative);", ":var(--text-negative);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-negative);", ":var(--text-primary);", ":var(--text-negative);", ":var(--text-secondary);", ":var(--text-secondary
|
11
|
+
"default": /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-secondary-hover);", ":var(--text-secondary-active);", ":var(--surface-transparent-tertiary);", ":var(--text-secondary);", ":var(--surface-accent);", ":var(--surface-transparent-tertiary);", ":var(--text-secondary);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.clearColor, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.clearPlaceholderColor, tokens.placeholderColorFocus, tokens.clearPlaceholderColorFocus, tokens.labelColor, tokens.leftHelperColor, tokens.contentSlotColor, tokens.contentSlotColorHover, tokens.contentSlotColorActive, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.dividerColor, tokens.dividerColorHover, tokens.dividerColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.textBeforeColor, tokens.textAfterColor, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor),
|
12
|
+
positive: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--text-positive);", ":var(--text-positive);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-positive);", ":var(--text-primary);", ":var(--text-positive);", ":var(--text-secondary);", ":var(--text-secondary-hover);", ":var(--text-secondary-active);", ":var(--surface-positive);", ":var(--surface-positive);", ":var(--surface-accent);", ":var(--surface-positive);", ":var(--surface-positive);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.clearColor, tokens.clearPlaceholderColor, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.placeholderColorFocus, tokens.clearPlaceholderColorFocus, tokens.labelColor, tokens.leftHelperColor, tokens.contentSlotColor, tokens.contentSlotColorHover, tokens.contentSlotColorActive, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.dividerColor, tokens.dividerColorHover, tokens.dividerColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.textBeforeColor, tokens.textAfterColor, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor),
|
13
|
+
warning: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--text-warning);", ":var(--text-warning);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-warning);", ":var(--text-primary);", ":var(--text-warning);", ":var(--text-secondary);", ":var(--text-secondary-hover);", ":var(--text-secondary-active);", ":var(--surface-warning);", ":var(--surface-warning);", ":var(--surface-accent);", ":var(--surface-warning);", ":var(--surface-warning);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.clearColor, tokens.clearPlaceholderColor, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.placeholderColorFocus, tokens.clearPlaceholderColorFocus, tokens.labelColor, tokens.leftHelperColor, tokens.contentSlotColor, tokens.contentSlotColorHover, tokens.contentSlotColorActive, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.dividerColor, tokens.dividerColorHover, tokens.dividerColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.textBeforeColor, tokens.textAfterColor, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor),
|
14
|
+
negative: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--text-negative);", ":var(--text-negative);", ":var(--surface-clear);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-negative);", ":var(--text-primary);", ":var(--text-negative);", ":var(--text-secondary);", ":var(--text-secondary-hover);", ":var(--text-secondary-active);", ":var(--surface-negative);", ":var(--surface-negative);", ":var(--surface-accent);", ":var(--surface-negative);", ":var(--surface-negative);", ":var(--surface-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-accent);", ":var(--surface-negative);", ":var(--text-tertiary);"], tokens.color, tokens.clearColor, tokens.clearPlaceholderColor, tokens.backgroundColor, tokens.caretColor, tokens.placeholderColor, tokens.placeholderColorFocus, tokens.clearPlaceholderColorFocus, tokens.labelColor, tokens.leftHelperColor, tokens.contentSlotColor, tokens.contentSlotColorHover, tokens.contentSlotColorActive, tokens.borderColor, tokens.borderColorHover, tokens.borderColorFocus, tokens.dividerColor, tokens.dividerColorHover, tokens.dividerColorFocus, tokens.chipCloseIconColor, tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive, tokens.chipBackgroundReadOnly, tokens.chipColorReadOnly, tokens.chipBackgroundReadOnlyHover, tokens.chipColorReadOnlyHover, tokens.chipOpacityReadonly, tokens.textBeforeColor, tokens.textAfterColor, tokens.focusColor, tokens.indicatorColor, tokens.optionalColor)
|
15
15
|
},
|
16
16
|
size: {
|
17
|
-
l: /*#__PURE__*/css(["", ":3.5rem;", ":1.0625rem 1.125rem 1.0625rem 1.125rem;", ":0.375rem;", ":0.875rem;", ":0.0625rem;", ":-0.0625rem 0.5rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.75rem;", ":0.25rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", "
|
18
|
-
m: /*#__PURE__*/css(["", ":3rem;", ":0.875rem 1rem 0.875rem 1rem;", ":0.375rem;", ":0.75rem;", ":0.0625rem;", ":-0.125rem 0.375rem -0.125rem -0.125rem;", ":-0.125rem -0.125rem -0.125rem 0.75rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.625rem;", ":0.25rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", "
|
19
|
-
s: /*#__PURE__*/css(["", ":2.5rem;", ":0.6875rem 0.875rem 0.6875rem 0.875rem;", ":0.375rem;", ":0.625rem;", ":0.0625rem;", ":-0.1875rem 0.25rem -0.1875rem -0.125rem;", ":-0.1875rem -0.125rem -0.1875rem 0.75rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.5rem;", ":0.25rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", "
|
20
|
-
xs: /*#__PURE__*/css(["", ":2rem;", ":0.5625rem 0.625rem 0.5625rem 0.625rem;", ":0.375rem;", ":0.5rem;", ":0.0625rem;", ":-0.0625rem 0.25rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem;", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", "
|
17
|
+
l: /*#__PURE__*/css(["", ":3.5rem;", ":1.0625rem 1.125rem 1.0625rem 1.125rem;", ":0.375rem;", ":0.875rem;", ":0.0625rem;", ":-0.0625rem 0.5rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.75rem;", ":0.25rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.5625rem 0 0.125rem 0;", ":1.5625rem 0 0.5625rem 0;", ":0.25rem;", ":0.5rem;", ":auto;", ":2.75rem;", ":0.75rem;", ":1rem;", ":0.625rem;", ":0rem;", ":1.5rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.5rem;", ":0.375rem;", ":0 0 0 0;", ":0.5rem auto auto -0.75rem;", ":0 0 auto auto;", ":0.25rem -0.625rem auto auto;", ":1.5rem auto auto -0.875rem;", ":1.5rem -0.875rem auto auto;"], tokens.height, tokens.padding, tokens.paddingWithChips, tokens.borderRadius, tokens.borderWidth, tokens.leftContentMargin, tokens.rightContentMargin, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.labelOffset, tokens.clearLabelOffset, tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.labelInnerPadding, tokens.contentLabelInnerPadding, tokens.chipGap, tokens.chipBorderRadius, tokens.chipWidth, tokens.chipHeight, tokens.chipPaddingRight, tokens.chipPaddingLeft, tokens.chipClearContentMarginLeft, tokens.chipClearContentMarginRight, tokens.chipCloseIconSize, tokens.chipFontFamily, tokens.chipFontSize, tokens.chipFontStyle, tokens.chipFontWeight, tokens.chipLetterSpacing, tokens.chipLineHeight, tokens.indicatorSizeInner, tokens.indicatorSizeOuter, tokens.indicatorLabelPlacementInner, tokens.indicatorLabelPlacementOuter, tokens.indicatorLabelPlacementInnerRight, tokens.indicatorLabelPlacementOuterRight, tokens.clearIndicatorLabelPlacementInner, tokens.clearIndicatorLabelPlacementInnerRight),
|
18
|
+
m: /*#__PURE__*/css(["", ":3rem;", ":0.875rem 1rem 0.875rem 1rem;", ":0.375rem;", ":0.75rem;", ":0.0625rem;", ":-0.125rem 0.375rem -0.125rem -0.125rem;", ":-0.125rem -0.125rem -0.125rem 0.75rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.625rem;", ":0.25rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem 0 0.125rem 0;", ":1.375rem 0 0.375rem 0;", ":0.25rem;", ":0.375rem;", ":auto;", ":2.25rem;", ":0.625rem;", ":0.875rem;", ":0.5rem;", ":0rem;", ":1.25rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.5rem;", ":0.375rem;", ":0 0 0 0;", ":0.375rem auto auto -0.75rem;", ":0 0 auto auto;", ":0.25rem -0.6875rem auto auto;", ":1.25rem auto auto -0.875rem;", ":1.25rem -0.875rem auto auto;"], tokens.height, tokens.padding, tokens.paddingWithChips, tokens.borderRadius, tokens.borderWidth, tokens.leftContentMargin, tokens.rightContentMargin, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.labelOffset, tokens.clearLabelOffset, tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.labelInnerPadding, tokens.contentLabelInnerPadding, tokens.chipGap, tokens.chipBorderRadius, tokens.chipWidth, tokens.chipHeight, tokens.chipPaddingRight, tokens.chipPaddingLeft, tokens.chipClearContentMarginLeft, tokens.chipClearContentMarginRight, tokens.chipCloseIconSize, tokens.chipFontFamily, tokens.chipFontSize, tokens.chipFontStyle, tokens.chipFontWeight, tokens.chipLetterSpacing, tokens.chipLineHeight, tokens.indicatorSizeInner, tokens.indicatorSizeOuter, tokens.indicatorLabelPlacementInner, tokens.indicatorLabelPlacementOuter, tokens.indicatorLabelPlacementInnerRight, tokens.indicatorLabelPlacementOuterRight, tokens.clearIndicatorLabelPlacementInner, tokens.clearIndicatorLabelPlacementInnerRight),
|
19
|
+
s: /*#__PURE__*/css(["", ":2.5rem;", ":0.6875rem 0.875rem 0.6875rem 0.875rem;", ":0.375rem;", ":0.625rem;", ":0.0625rem;", ":-0.1875rem 0.25rem -0.1875rem -0.125rem;", ":-0.1875rem -0.125rem -0.1875rem 0.75rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.5rem;", ":0.25rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.3125rem 0 0 0;", ":1.0625rem 0 0.3125rem 0;", ":0.25rem;", ":0.25rem;", ":auto;", ":1.75rem;", ":0.5rem;", ":0.75rem;", ":0.375rem;", ":0rem;", ":1rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.375rem;", ":0.375rem;", ":0 0 0 0;", ":0.3125rem auto auto -0.6875rem;", ":0 0 auto auto;", ":0.25rem -0.625rem auto auto;", ":1.063rem auto auto -0.75rem;", ":1.063rem -0.75rem auto auto;"], tokens.height, tokens.padding, tokens.paddingWithChips, tokens.borderRadius, tokens.borderWidth, tokens.leftContentMargin, tokens.rightContentMargin, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.labelOffset, tokens.clearLabelOffset, tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.labelInnerPadding, tokens.contentLabelInnerPadding, tokens.chipGap, tokens.chipBorderRadius, tokens.chipWidth, tokens.chipHeight, tokens.chipPaddingRight, tokens.chipPaddingLeft, tokens.chipClearContentMarginLeft, tokens.chipClearContentMarginRight, tokens.chipCloseIconSize, tokens.chipFontFamily, tokens.chipFontSize, tokens.chipFontStyle, tokens.chipFontWeight, tokens.chipLetterSpacing, tokens.chipLineHeight, tokens.indicatorSizeInner, tokens.indicatorSizeOuter, tokens.indicatorLabelPlacementInner, tokens.indicatorLabelPlacementOuter, tokens.indicatorLabelPlacementInnerRight, tokens.indicatorLabelPlacementOuterRight, tokens.clearIndicatorLabelPlacementInner, tokens.clearIndicatorLabelPlacementInnerRight),
|
20
|
+
xs: /*#__PURE__*/css(["", ":2rem;", ":0.5625rem 0.625rem 0.5625rem 0.625rem;", ":0.375rem;", ":0.5rem;", ":0.0625rem;", ":-0.0625rem 0.25rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem;", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.3125rem 0 0 0;", ":1.0625rem 0 0.3125rem 0;", ":0.25rem;", ":0.125rem;", ":auto;", ":1.25rem;", ":0.375rem;", ":0.625rem;", ":0.25rem;", ":0rem;", ":0.75rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem;", ":0.375rem;", ":0 0 0 0;", ":0.25rem auto auto -0.625rem;", ":0 0 auto auto;", ":0.125rem -0.6875rem auto auto;", ":0.813rem auto auto -0.625rem;", ":0.813rem -0.625rem auto auto;"], tokens.height, tokens.padding, tokens.paddingWithChips, tokens.borderRadius, tokens.borderWidth, tokens.leftContentMargin, tokens.rightContentMargin, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.labelOffset, tokens.clearLabelOffset, tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.labelInnerPadding, tokens.contentLabelInnerPadding, tokens.chipGap, tokens.chipBorderRadius, tokens.chipWidth, tokens.chipHeight, tokens.chipPaddingRight, tokens.chipPaddingLeft, tokens.chipClearContentMarginLeft, tokens.chipClearContentMarginRight, tokens.chipCloseIconSize, tokens.chipFontFamily, tokens.chipFontSize, tokens.chipFontStyle, tokens.chipFontWeight, tokens.chipLetterSpacing, tokens.chipLineHeight, tokens.indicatorSizeInner, tokens.indicatorSizeOuter, tokens.indicatorLabelPlacementInner, tokens.indicatorLabelPlacementOuter, tokens.indicatorLabelPlacementInnerRight, tokens.indicatorLabelPlacementOuterRight, tokens.clearIndicatorLabelPlacementInner, tokens.clearIndicatorLabelPlacementInnerRight)
|
21
21
|
},
|
22
22
|
labelPlacement: {
|
23
23
|
inner: /*#__PURE__*/css(["", ":var(--plasma-input-label-color,var(--plasma-input-placeholder-color,var(--text-secondary)));", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], tokens.placeholderColor, tokens.labelInnerFontFamily, tokens.labelInnerFontSize, tokens.labelInnerFontStyle, tokens.labelInnerFontWeight, tokens.labelInnerLetterSpacing, tokens.labelInnerLineHeight),
|
@@ -26,20 +26,11 @@ export var config = {
|
|
26
26
|
clear: {
|
27
27
|
"true": /*#__PURE__*/css([""])
|
28
28
|
},
|
29
|
-
hintView: {
|
30
|
-
"default": /*#__PURE__*/css(["", ":var(--surface-solid-card);", ":var(--shadow-down-hard-m);", ":var(--text-primary);"], tokens.tooltipBackgroundColor, tokens.tooltipBoxShadow, tokens.tooltipColor),
|
31
|
-
onDark: /*#__PURE__*/css(["", ":var(--on-dark-surface-solid-card);", ":var(--shadow-down-hard-m);", ":var(--on-dark-text-primary);"], tokens.tooltipBackgroundColor, tokens.tooltipBoxShadow, tokens.tooltipColor),
|
32
|
-
onLight: /*#__PURE__*/css(["", ":var(--on-light-surface-solid-card);", ":var(--shadow-down-hard-m);", ":var(--on-light-text-primary);"], tokens.tooltipBackgroundColor, tokens.tooltipBoxShadow, tokens.tooltipColor)
|
33
|
-
},
|
34
|
-
hintSize: {
|
35
|
-
m: /*#__PURE__*/css(["", ":0.6875rem;", ":0.875rem;", ":0.6875rem;", ":0.875rem;", ":2.5rem;", ":0.625rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.375rem;", ":1.25rem;", ":1.25rem;", ":url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMC4xNywxMS44M2wyMCwwYy01LjUyLDAgLTEwLDMuNTkgLTEwLDhjMCwtNC40MSAtNC40OCwtOCAtMTAsLTh6IiBmaWxsPSIjMTcxNzE3IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGlkPSJUYWlsIi8+Cjwvc3ZnPg==\");", ":0.5rem;", ":0.625rem;", ":var(--surface-solid-card);"], tokens.tooltipPaddingTop, tokens.tooltipPaddingRight, tokens.tooltipPaddingBottom, tokens.tooltipPaddingLeft, tokens.tooltipMinHeight, tokens.tooltipBorderRadius, tokens.tooltipTextFontFamily, tokens.tooltipTextFontSize, tokens.tooltipTextFontStyle, tokens.tooltipTextFontWeight, tokens.tooltipTextFontLetterSpacing, tokens.tooltipTextFontLineHeight, tokens.tooltipContentLeftMargin, tokens.tooltipArrowMaskWidth, tokens.tooltipArrowMaskHeight, tokens.tooltipArrowMaskImage, tokens.tooltipArrowHeight, tokens.tooltipArrowEdgeMargin, tokens.tooltipArrowBackground),
|
36
|
-
s: /*#__PURE__*/css(["", ":0.5rem;", ":0.75rem;", ":0.5rem;", ":0.75rem;", ":2rem;", ":0.5rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.25rem;", ":1rem;", ":1rem;", ":url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMCw5Ljg1bDE2LDBjLTQuNDEsMCAtOCwyLjY5IC04LDZjMCwtMy4zMSAtMy41OSwtNiAtOCwtNnoiIGZpbGw9IiMxNzE3MTciIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IlRhaWwiLz4KPC9zdmc+\");", ":0.375rem;", ":0.5625rem;", ":var(--surface-solid-card);"], tokens.tooltipPaddingTop, tokens.tooltipPaddingRight, tokens.tooltipPaddingBottom, tokens.tooltipPaddingLeft, tokens.tooltipMinHeight, tokens.tooltipBorderRadius, tokens.tooltipTextFontFamily, tokens.tooltipTextFontSize, tokens.tooltipTextFontStyle, tokens.tooltipTextFontWeight, tokens.tooltipTextFontLetterSpacing, tokens.tooltipTextFontLineHeight, tokens.tooltipContentLeftMargin, tokens.tooltipArrowMaskWidth, tokens.tooltipArrowMaskHeight, tokens.tooltipArrowMaskImage, tokens.tooltipArrowHeight, tokens.tooltipArrowEdgeMargin, tokens.tooltipArrowBackground)
|
37
|
-
},
|
38
29
|
disabled: {
|
39
30
|
"true": /*#__PURE__*/css(["", ":0.4;"], tokens.disabledOpacity)
|
40
31
|
},
|
41
32
|
readOnly: {
|
42
|
-
"true": /*#__PURE__*/css(["", ":var(--text-secondary);", ":var(--surface-clear);", ":var(--surface-transparent-tertiary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-secondary);"
|
33
|
+
"true": /*#__PURE__*/css(["", ":var(--text-secondary);", ":var(--surface-clear);", ":var(--surface-transparent-tertiary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-secondary);"], tokens.colorReadOnly, tokens.backgroundColorReadOnly, tokens.borderColorReadOnly, tokens.placeholderColorReadOnly, tokens.leftHelperColorReadOnly, tokens.labelColorReadOnly)
|
43
34
|
}
|
44
35
|
}
|
45
36
|
};
|
@@ -4,8 +4,7 @@ import { action } from '@storybook/addon-actions';
|
|
4
4
|
import { IconPlaceholder } from '@salutejs/plasma-sb-utils';
|
5
5
|
|
6
6
|
import { WithTheme } from '../../../_helpers';
|
7
|
-
import {
|
8
|
-
import type { PopoverPlacement } from '../Popover/Popover';
|
7
|
+
import { IconChevronLeft } from '../../../../components/_Icon';
|
9
8
|
|
10
9
|
import { TextField } from './TextField';
|
11
10
|
|
@@ -17,29 +16,7 @@ const onChipsChange = action('onChipsChange');
|
|
17
16
|
|
18
17
|
const sizes = ['l', 'm', 's', 'xs'];
|
19
18
|
const views = ['default', 'positive', 'warning', 'negative'];
|
20
|
-
const hintViews = ['default', 'onDark', 'onLight'];
|
21
|
-
const hintSizes = ['m', 's'];
|
22
|
-
const hintTriggers = ['hover', 'click'];
|
23
19
|
const labelPlacements = ['outer', 'inner'];
|
24
|
-
const placements: Array<PopoverPlacement> = [
|
25
|
-
'top',
|
26
|
-
'top-start',
|
27
|
-
'top-end',
|
28
|
-
|
29
|
-
'bottom',
|
30
|
-
'bottom-start',
|
31
|
-
'bottom-end',
|
32
|
-
|
33
|
-
'left',
|
34
|
-
'left-start',
|
35
|
-
'left-end',
|
36
|
-
|
37
|
-
'right',
|
38
|
-
'right-start',
|
39
|
-
'right-end',
|
40
|
-
|
41
|
-
'auto',
|
42
|
-
];
|
43
20
|
|
44
21
|
const meta: Meta<typeof TextField> = {
|
45
22
|
title: 'plasma_web/TextField',
|
@@ -93,43 +70,6 @@ const meta: Meta<typeof TextField> = {
|
|
93
70
|
type: 'inline-radio',
|
94
71
|
},
|
95
72
|
},
|
96
|
-
hintView: {
|
97
|
-
options: hintViews,
|
98
|
-
control: {
|
99
|
-
type: 'select',
|
100
|
-
},
|
101
|
-
if: { arg: 'hasHint', truthy: true },
|
102
|
-
},
|
103
|
-
hintSize: {
|
104
|
-
options: hintSizes,
|
105
|
-
control: {
|
106
|
-
type: 'select',
|
107
|
-
},
|
108
|
-
if: { arg: 'hasHint', truthy: true },
|
109
|
-
},
|
110
|
-
hintTrigger: {
|
111
|
-
options: hintTriggers,
|
112
|
-
control: {
|
113
|
-
type: 'inline-radio',
|
114
|
-
},
|
115
|
-
if: { arg: 'hasHint', truthy: true },
|
116
|
-
},
|
117
|
-
hintText: {
|
118
|
-
control: { type: 'text' },
|
119
|
-
if: { arg: 'hasHint', truthy: true },
|
120
|
-
},
|
121
|
-
hintPlacement: {
|
122
|
-
options: placements,
|
123
|
-
control: {
|
124
|
-
type: 'select',
|
125
|
-
},
|
126
|
-
if: { arg: 'hasHint', truthy: true },
|
127
|
-
mappers: placements,
|
128
|
-
},
|
129
|
-
hintHasArrow: {
|
130
|
-
control: { type: 'boolean' },
|
131
|
-
if: { arg: 'hasHint', truthy: true },
|
132
|
-
},
|
133
73
|
},
|
134
74
|
};
|
135
75
|
|
@@ -165,13 +105,13 @@ const StoryDemo = ({ enableContentLeft, enableContentRight, view, ...rest }: Sto
|
|
165
105
|
const iconSize = rest.size === 'xs' ? 'xs' : 's';
|
166
106
|
|
167
107
|
return (
|
168
|
-
<div style={{ display: 'flex', flexDirection: 'column', gap: '2rem'
|
108
|
+
<div style={{ display: 'flex', flexDirection: 'column', gap: '2rem' }}>
|
169
109
|
<TextField
|
170
110
|
{...rest}
|
171
111
|
enumerationType="plain"
|
172
112
|
value={text}
|
173
|
-
contentLeft={enableContentLeft ? <
|
174
|
-
contentRight={enableContentRight ? <
|
113
|
+
contentLeft={enableContentLeft ? <IconPlaceholder size={iconSize} /> : undefined}
|
114
|
+
contentRight={enableContentRight ? <IconPlaceholder size={iconSize} /> : undefined}
|
175
115
|
view={view}
|
176
116
|
onChange={(e) => {
|
177
117
|
setText(e.target.value);
|
@@ -205,28 +145,17 @@ export const Default: StoryObj<StoryPropsDefault> = {
|
|
205
145
|
view: 'default',
|
206
146
|
label: 'Лейбл',
|
207
147
|
labelPlacement: 'outer',
|
208
|
-
titleCaption: 'Подпись к полю',
|
209
|
-
textBefore: '',
|
210
|
-
textAfter: '',
|
211
148
|
placeholder: 'Заполните поле',
|
212
149
|
leftHelper: 'Подсказка к полю',
|
213
150
|
disabled: false,
|
214
151
|
readOnly: false,
|
152
|
+
required: false,
|
153
|
+
requiredPlacement: 'right',
|
154
|
+
optional: false,
|
215
155
|
enableContentLeft: true,
|
216
156
|
enableContentRight: true,
|
217
157
|
clear: false,
|
218
158
|
hasDivider: false,
|
219
|
-
optional: false,
|
220
|
-
required: false,
|
221
|
-
requiredPlacement: 'right',
|
222
|
-
hasHint: false,
|
223
|
-
hintTrigger: 'hover',
|
224
|
-
hintText: 'Текст подсказки',
|
225
|
-
hintView: 'default',
|
226
|
-
hintSize: 'm',
|
227
|
-
hintPlacement: 'auto',
|
228
|
-
hintWidth: '10rem',
|
229
|
-
hintHasArrow: true,
|
230
159
|
},
|
231
160
|
render: (args) => <StoryDemo {...args} />,
|
232
161
|
};
|
@@ -247,6 +176,8 @@ type StoryPropsChips = Omit<
|
|
247
176
|
| 'checked'
|
248
177
|
| 'maxLength'
|
249
178
|
| 'minLength'
|
179
|
+
| 'required'
|
180
|
+
| 'optional'
|
250
181
|
| 'enumerationType'
|
251
182
|
> & {
|
252
183
|
enableContentLeft: boolean;
|
@@ -263,7 +194,7 @@ const StoryChips = ({ enableContentLeft, enableContentRight, view, ...rest }: St
|
|
263
194
|
{...rest}
|
264
195
|
enumerationType="chip"
|
265
196
|
value={text}
|
266
|
-
contentLeft={enableContentLeft ? <
|
197
|
+
contentLeft={enableContentLeft ? <IconChevronLeft color="inherit" size={iconSize} /> : undefined}
|
267
198
|
contentRight={enableContentRight ? <IconPlaceholder size={iconSize} /> : undefined}
|
268
199
|
view={view}
|
269
200
|
onChange={(e) => {
|
@@ -273,7 +204,6 @@ const StoryChips = ({ enableContentLeft, enableContentRight, view, ...rest }: St
|
|
273
204
|
onFocus={onFocus}
|
274
205
|
onBlur={onBlur}
|
275
206
|
onChangeChips={onChipsChange}
|
276
|
-
style={{ width: '70%', margin: '0 auto' }}
|
277
207
|
/>
|
278
208
|
);
|
279
209
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Attach.d.ts","sourceRoot":"","sources":["../../../src/components/Attach/Attach.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"Attach.d.ts","sourceRoot":"","sources":["../../../src/components/Attach/Attach.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAGvE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI1C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAU7C,eAAO,MAAM,UAAU,SAAU,UAAU,cAAc,EAAE,WAAW,CAAC,uFAqKjE,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBAvKQ,UAAU,cAAc,EAAE,WAAW,CAAC;;;;;;;;;;;;;;CAwLtE,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Attach.types.d.ts","sourceRoot":"","sources":["../../../src/components/Attach/Attach.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,oBAAY,eAAe,GAAG;IAC1B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,IAAI,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,MAAM,CAAC;IAC1C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"Attach.types.d.ts","sourceRoot":"","sources":["../../../src/components/Attach/Attach.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,oBAAY,eAAe,GAAG;IAC1B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,IAAI,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,MAAM,CAAC;IAC1C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,iBAAiB,GAAG,CAC1B;IACI;;;OAGG;IACH,UAAU,CAAC,EAAE,QAAQ,CAAC;CACzB,GACD;IACI,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CACN,GACG,WAAW,CAAC;AAEhB,oBAAY,WAAW,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,WAAW,GAAG,eAAe,GAAG,iBAAiB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../src/components/Autocomplete/Autocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAIhE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,OAAO,KAAK,EAAE,iBAAiB,EAAsB,MAAM,sBAAsB,CAAC;AAGlF;;GAEG;AACH,eAAO,MAAM,gBAAgB,SAAU,UAAU,gBAAgB,EAAE,iBAAiB,CAAC,
|
1
|
+
{"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../src/components/Autocomplete/Autocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAIhE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,OAAO,KAAK,EAAE,iBAAiB,EAAsB,MAAM,sBAAsB,CAAC;AAGlF;;GAEG;AACH,eAAO,MAAM,gBAAgB,SAAU,UAAU,gBAAgB,EAAE,iBAAiB,CAAC,gWAmLhF,CAAC;AAEN,eAAO,MAAM,kBAAkB;;;mBArLQ,UAAU,gBAAgB,EAAE,iBAAiB,CAAC;;;;;;;;;;;;CAoMpF,CAAC"}
|