@salutejs/plasma-new-hope 0.169.0-canary.1459.11364623616.0 → 0.169.0-canary.1485.11363524703.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Autocomplete/Autocomplete.css +19 -34
- package/cjs/components/Autocomplete/Autocomplete.js +2 -4
- package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +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/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/Segment/tokens.js +1 -15
- package/cjs/components/Segment/tokens.js.map +1 -1
- package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.css +7 -13
- package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +88 -180
- package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
- package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +1 -37
- package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js.map +1 -1
- package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles_m9i9p0.css +4 -0
- package/cjs/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base.js +1 -1
- package/cjs/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base.js.map +1 -1
- package/cjs/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base_escgtx.css +1 -0
- package/cjs/components/Segment/ui/SegmentGroup/variations/_pilled/base.js +1 -1
- package/cjs/components/Segment/ui/SegmentGroup/variations/_pilled/base.js.map +1 -1
- package/cjs/components/Segment/ui/SegmentGroup/variations/_pilled/base_fqbatz.css +1 -0
- package/cjs/components/Segment/ui/SegmentGroup/variations/_size/base.js +1 -1
- package/cjs/components/Segment/ui/SegmentGroup/variations/_size/base.js.map +1 -1
- package/cjs/components/Segment/ui/SegmentGroup/variations/_size/base_m358nl.css +1 -0
- package/cjs/components/Segment/ui/SegmentItem/SegmentItem.css +4 -6
- package/cjs/components/Segment/ui/SegmentItem/SegmentItem.js +9 -14
- package/cjs/components/Segment/ui/SegmentItem/SegmentItem.js.map +1 -1
- package/cjs/components/Segment/ui/SegmentItem/SegmentItem.styles.js +1 -30
- package/cjs/components/Segment/ui/SegmentItem/SegmentItem.styles.js.map +1 -1
- package/cjs/components/Segment/ui/SegmentItem/SegmentItem.styles_18h1p52.css +2 -0
- package/cjs/components/Segment/ui/SegmentItem/variations/_pilled/base.js +1 -1
- package/cjs/components/Segment/ui/SegmentItem/variations/_pilled/base.js.map +1 -1
- package/cjs/components/Segment/ui/SegmentItem/variations/_pilled/{base_omc5u1.css → base_15s0fel.css} +1 -1
- package/cjs/components/Segment/ui/SegmentItem/variations/_view/base.js +1 -1
- package/cjs/components/Segment/ui/SegmentItem/variations/_view/base.js.map +1 -1
- package/cjs/components/Segment/ui/SegmentItem/variations/_view/base_1m1u2ys.css +1 -0
- 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/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +1 -1
- package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +1 -1
- package/cjs/components/TextArea/TextArea.js +18 -109
- 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 -97
- 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 +45 -73
- package/emotion/cjs/components/Autocomplete/Autocomplete.js +2 -4
- package/emotion/cjs/components/Segment/Segment.template-doc.mdx +6 -49
- package/emotion/cjs/components/Segment/tokens.js +1 -15
- package/emotion/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +85 -174
- package/emotion/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +29 -29
- package/emotion/cjs/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base.js +1 -1
- package/emotion/cjs/components/Segment/ui/SegmentGroup/variations/_pilled/base.js +1 -1
- package/emotion/cjs/components/Segment/ui/SegmentGroup/variations/_size/base.js +1 -1
- package/emotion/cjs/components/Segment/ui/SegmentItem/SegmentItem.js +9 -14
- package/emotion/cjs/components/Segment/ui/SegmentItem/SegmentItem.styles.js +7 -21
- package/emotion/cjs/components/Segment/ui/SegmentItem/variations/_pilled/base.js +1 -1
- package/emotion/cjs/components/Segment/ui/SegmentItem/variations/_view/base.js +1 -2
- package/emotion/cjs/components/TextArea/TextArea.js +23 -112
- 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 -99
- package/emotion/cjs/components/TextField/TextField.styles.js +37 -84
- package/emotion/cjs/components/TextField/TextField.template-doc.mdx +1 -6
- 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 -36
- package/emotion/cjs/examples/plasma_b2c/components/Segment/Segment.stories.tsx +42 -118
- package/emotion/cjs/examples/plasma_b2c/components/Segment/SegmentGroup.config.js +10 -13
- package/emotion/cjs/examples/plasma_b2c/components/Segment/SegmentItem.config.js +9 -9
- 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 -72
- 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 -73
- package/emotion/cjs/examples/plasma_web/components/Segment/Segment.stories.tsx +42 -119
- package/emotion/cjs/examples/plasma_web/components/Segment/SegmentGroup.config.js +9 -15
- package/emotion/cjs/examples/plasma_web/components/Segment/SegmentItem.config.js +9 -9
- 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 -72
- 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 -82
- package/emotion/es/components/Autocomplete/Autocomplete.js +2 -4
- package/emotion/es/components/Segment/Segment.template-doc.mdx +6 -49
- package/emotion/es/components/Segment/tokens.js +1 -15
- package/emotion/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +88 -177
- package/emotion/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +29 -29
- package/emotion/es/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base.js +1 -1
- package/emotion/es/components/Segment/ui/SegmentGroup/variations/_pilled/base.js +1 -1
- package/emotion/es/components/Segment/ui/SegmentGroup/variations/_size/base.js +1 -1
- package/emotion/es/components/Segment/ui/SegmentItem/SegmentItem.js +10 -15
- package/emotion/es/components/Segment/ui/SegmentItem/SegmentItem.styles.js +7 -21
- package/emotion/es/components/Segment/ui/SegmentItem/variations/_pilled/base.js +1 -1
- package/emotion/es/components/Segment/ui/SegmentItem/variations/_view/base.js +1 -2
- package/emotion/es/components/TextArea/TextArea.js +24 -113
- 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 +12 -99
- package/emotion/es/components/TextField/TextField.styles.js +36 -83
- package/emotion/es/components/TextField/TextField.template-doc.mdx +1 -6
- 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 -6
- package/emotion/es/examples/plasma_b2c/components/Segment/Segment.stories.tsx +42 -118
- package/emotion/es/examples/plasma_b2c/components/Segment/SegmentGroup.config.js +10 -13
- package/emotion/es/examples/plasma_b2c/components/Segment/SegmentItem.config.js +9 -9
- 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 -72
- 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 -73
- package/emotion/es/examples/plasma_web/components/Segment/Segment.stories.tsx +42 -119
- package/emotion/es/examples/plasma_web/components/Segment/SegmentGroup.config.js +9 -15
- package/emotion/es/examples/plasma_web/components/Segment/SegmentItem.config.js +9 -9
- 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 -72
- 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 -82
- package/es/components/Autocomplete/Autocomplete.css +19 -34
- package/es/components/Autocomplete/Autocomplete.js +2 -4
- package/es/components/Autocomplete/Autocomplete.js.map +1 -1
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +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/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/Segment/tokens.js +1 -15
- package/es/components/Segment/tokens.js.map +1 -1
- package/es/components/Segment/ui/SegmentGroup/SegmentGroup.css +7 -13
- package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +92 -183
- package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
- package/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +2 -34
- package/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js.map +1 -1
- package/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles_m9i9p0.css +4 -0
- package/es/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base.js +1 -1
- package/es/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base.js.map +1 -1
- package/es/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base_escgtx.css +1 -0
- package/es/components/Segment/ui/SegmentGroup/variations/_pilled/base.js +1 -1
- package/es/components/Segment/ui/SegmentGroup/variations/_pilled/base.js.map +1 -1
- package/es/components/Segment/ui/SegmentGroup/variations/_pilled/base_fqbatz.css +1 -0
- package/es/components/Segment/ui/SegmentGroup/variations/_size/base.js +1 -1
- package/es/components/Segment/ui/SegmentGroup/variations/_size/base.js.map +1 -1
- package/es/components/Segment/ui/SegmentGroup/variations/_size/base_m358nl.css +1 -0
- package/es/components/Segment/ui/SegmentItem/SegmentItem.css +4 -6
- package/es/components/Segment/ui/SegmentItem/SegmentItem.js +10 -15
- package/es/components/Segment/ui/SegmentItem/SegmentItem.js.map +1 -1
- package/es/components/Segment/ui/SegmentItem/SegmentItem.styles.js +2 -29
- package/es/components/Segment/ui/SegmentItem/SegmentItem.styles.js.map +1 -1
- package/es/components/Segment/ui/SegmentItem/SegmentItem.styles_18h1p52.css +2 -0
- package/es/components/Segment/ui/SegmentItem/variations/_pilled/base.js +1 -1
- package/es/components/Segment/ui/SegmentItem/variations/_pilled/base.js.map +1 -1
- package/es/components/Segment/ui/SegmentItem/variations/_pilled/{base_omc5u1.css → base_15s0fel.css} +1 -1
- package/es/components/Segment/ui/SegmentItem/variations/_view/base.js +1 -1
- package/es/components/Segment/ui/SegmentItem/variations/_view/base.js.map +1 -1
- package/es/components/Segment/ui/SegmentItem/variations/_view/base_1m1u2ys.css +1 -0
- 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/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +1 -1
- package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +1 -1
- package/es/components/TextArea/TextArea.js +22 -113
- 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 +11 -99
- 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 +45 -73
- package/package.json +4 -4
- package/styled-components/cjs/components/Autocomplete/Autocomplete.js +2 -4
- package/styled-components/cjs/components/Segment/Segment.template-doc.mdx +6 -49
- package/styled-components/cjs/components/Segment/tokens.js +1 -15
- package/styled-components/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +85 -174
- package/styled-components/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +6 -18
- package/styled-components/cjs/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base.js +1 -1
- package/styled-components/cjs/components/Segment/ui/SegmentGroup/variations/_pilled/base.js +1 -1
- package/styled-components/cjs/components/Segment/ui/SegmentGroup/variations/_size/base.js +1 -1
- package/styled-components/cjs/components/Segment/ui/SegmentItem/SegmentItem.js +9 -14
- package/styled-components/cjs/components/Segment/ui/SegmentItem/SegmentItem.styles.js +5 -17
- package/styled-components/cjs/components/Segment/ui/SegmentItem/variations/_pilled/base.js +1 -1
- package/styled-components/cjs/components/Segment/ui/SegmentItem/variations/_view/base.js +1 -2
- package/styled-components/cjs/components/TextArea/TextArea.js +22 -111
- 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 -98
- package/styled-components/cjs/components/TextField/TextField.styles.js +21 -46
- package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +1 -6
- 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 -36
- package/styled-components/cjs/examples/plasma_b2c/components/Segment/Segment.stories.tsx +42 -118
- package/styled-components/cjs/examples/plasma_b2c/components/Segment/SegmentGroup.config.js +8 -11
- package/styled-components/cjs/examples/plasma_b2c/components/Segment/SegmentItem.config.js +8 -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 -72
- 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 -73
- package/styled-components/cjs/examples/plasma_web/components/Segment/Segment.stories.tsx +42 -119
- package/styled-components/cjs/examples/plasma_web/components/Segment/SegmentGroup.config.js +8 -14
- package/styled-components/cjs/examples/plasma_web/components/Segment/SegmentItem.config.js +8 -8
- 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 -72
- 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 -82
- package/styled-components/es/components/Autocomplete/Autocomplete.js +2 -4
- package/styled-components/es/components/Segment/Segment.template-doc.mdx +6 -49
- package/styled-components/es/components/Segment/tokens.js +1 -15
- package/styled-components/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +88 -177
- package/styled-components/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +6 -18
- package/styled-components/es/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base.js +1 -1
- package/styled-components/es/components/Segment/ui/SegmentGroup/variations/_pilled/base.js +1 -1
- package/styled-components/es/components/Segment/ui/SegmentGroup/variations/_size/base.js +1 -1
- package/styled-components/es/components/Segment/ui/SegmentItem/SegmentItem.js +10 -15
- package/styled-components/es/components/Segment/ui/SegmentItem/SegmentItem.styles.js +5 -17
- package/styled-components/es/components/Segment/ui/SegmentItem/variations/_pilled/base.js +1 -1
- package/styled-components/es/components/Segment/ui/SegmentItem/variations/_view/base.js +1 -2
- package/styled-components/es/components/TextArea/TextArea.js +23 -112
- 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 +11 -98
- package/styled-components/es/components/TextField/TextField.styles.js +20 -45
- package/styled-components/es/components/TextField/TextField.template-doc.mdx +1 -6
- 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 -6
- package/styled-components/es/examples/plasma_b2c/components/Segment/Segment.stories.tsx +42 -118
- package/styled-components/es/examples/plasma_b2c/components/Segment/SegmentGroup.config.js +8 -11
- package/styled-components/es/examples/plasma_b2c/components/Segment/SegmentItem.config.js +8 -8
- 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 -72
- 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 -73
- package/styled-components/es/examples/plasma_web/components/Segment/Segment.stories.tsx +42 -119
- package/styled-components/es/examples/plasma_web/components/Segment/SegmentGroup.config.js +8 -14
- package/styled-components/es/examples/plasma_web/components/Segment/SegmentItem.config.js +8 -8
- 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 -72
- 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 -82
- package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +0 -408
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +0 -408
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +0 -408
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
- package/types/components/Range/Range.styles.d.ts +0 -408
- package/types/components/Range/Range.styles.d.ts.map +1 -1
- package/types/components/Segment/tokens.d.ts +0 -14
- package/types/components/Segment/tokens.d.ts.map +1 -1
- package/types/components/Segment/ui/SegmentGroup/SegmentGroup.d.ts +18 -6
- package/types/components/Segment/ui/SegmentGroup/SegmentGroup.d.ts.map +1 -1
- package/types/components/Segment/ui/SegmentGroup/SegmentGroup.styles.d.ts +0 -12
- package/types/components/Segment/ui/SegmentGroup/SegmentGroup.styles.d.ts.map +1 -1
- package/types/components/Segment/ui/SegmentGroup/SegmentGroup.types.d.ts +3 -20
- package/types/components/Segment/ui/SegmentGroup/SegmentGroup.types.d.ts.map +1 -1
- package/types/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base.d.ts.map +1 -1
- package/types/components/Segment/ui/SegmentGroup/variations/_pilled/base.d.ts.map +1 -1
- package/types/components/Segment/ui/SegmentGroup/variations/_size/base.d.ts.map +1 -1
- package/types/components/Segment/ui/SegmentItem/SegmentItem.d.ts +0 -4
- package/types/components/Segment/ui/SegmentItem/SegmentItem.d.ts.map +1 -1
- package/types/components/Segment/ui/SegmentItem/SegmentItem.styles.d.ts +1 -7
- package/types/components/Segment/ui/SegmentItem/SegmentItem.styles.d.ts.map +1 -1
- package/types/components/Segment/ui/SegmentItem/SegmentItem.types.d.ts +0 -9
- package/types/components/Segment/ui/SegmentItem/SegmentItem.types.d.ts.map +1 -1
- package/types/components/Segment/ui/SegmentItem/variations/_pilled/base.d.ts.map +1 -1
- package/types/components/Segment/ui/SegmentItem/variations/_view/base.d.ts.map +1 -1
- package/types/components/Slider/components/Double/Double.styles.d.ts +0 -408
- 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 -78
- 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 -73
- 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 -5
- package/types/components/_Icon/index.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +12 -772
- package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Segment/Segment.d.ts +9 -6
- package/types/examples/plasma_b2c/components/Segment/Segment.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Segment/SegmentGroup.config.d.ts +0 -3
- package/types/examples/plasma_b2c/components/Segment/SegmentGroup.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Segment/SegmentItem.config.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 -457
- 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 -417
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Mask/Mask.d.ts +12 -772
- package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Segment/Segment.d.ts +9 -9
- package/types/examples/plasma_web/components/Segment/Segment.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Segment/SegmentGroup.config.d.ts +0 -6
- package/types/examples/plasma_web/components/Segment/SegmentGroup.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Segment/SegmentItem.config.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 -457
- 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 -417
- package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
- package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles_79d8q2.css +0 -8
- package/cjs/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base_a7w5s0.css +0 -1
- package/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/base.js +0 -9
- package/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/base.js.map +0 -1
- package/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/base_1ejecy9.css +0 -1
- package/cjs/components/Segment/ui/SegmentGroup/variations/_pilled/base_pxl3nb.css +0 -1
- package/cjs/components/Segment/ui/SegmentGroup/variations/_size/base_18cpjsq.css +0 -1
- package/cjs/components/Segment/ui/SegmentItem/SegmentItem.styles_19oo2vi.css +0 -4
- package/cjs/components/Segment/ui/SegmentItem/variations/_view/base_dettiq.css +0 -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/DisclosureDownWithOffset.js +0 -22
- package/cjs/components/_Icon/Icon.assets/DisclosureDownWithOffset.js.map +0 -1
- package/cjs/components/_Icon/Icon.assets/DisclosureLeftWithOffset.js +0 -22
- package/cjs/components/_Icon/Icon.assets/DisclosureLeftWithOffset.js.map +0 -1
- package/cjs/components/_Icon/Icon.assets/DisclosureRightWithOffset.js +0 -22
- package/cjs/components/_Icon/Icon.assets/DisclosureRightWithOffset.js.map +0 -1
- package/cjs/components/_Icon/Icon.assets/DisclosureUpWithOffset.js +0 -22
- package/cjs/components/_Icon/Icon.assets/DisclosureUpWithOffset.js.map +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/IconDisclosureDownWithOffset.js +0 -23
- package/cjs/components/_Icon/Icons/IconDisclosureDownWithOffset.js.map +0 -1
- package/cjs/components/_Icon/Icons/IconDisclosureLeftWithOffset.js +0 -23
- package/cjs/components/_Icon/Icons/IconDisclosureLeftWithOffset.js.map +0 -1
- package/cjs/components/_Icon/Icons/IconDisclosureRightWithOffset.js +0 -23
- package/cjs/components/_Icon/Icons/IconDisclosureRightWithOffset.js.map +0 -1
- package/cjs/components/_Icon/Icons/IconDisclosureUpWithOffset.js +0 -23
- package/cjs/components/_Icon/Icons/IconDisclosureUpWithOffset.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/Segment/ui/SegmentGroup/variations/_orientation/base.js +0 -10
- package/emotion/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/tokens.json +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/DisclosureDownWithOffset.js +0 -21
- package/emotion/cjs/components/_Icon/Icon.assets/DisclosureLeftWithOffset.js +0 -21
- package/emotion/cjs/components/_Icon/Icon.assets/DisclosureRightWithOffset.js +0 -21
- package/emotion/cjs/components/_Icon/Icon.assets/DisclosureUpWithOffset.js +0 -21
- package/emotion/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +0 -22
- package/emotion/cjs/components/_Icon/Icons/IconDisclosureDownWithOffset.js +0 -22
- package/emotion/cjs/components/_Icon/Icons/IconDisclosureLeftWithOffset.js +0 -22
- package/emotion/cjs/components/_Icon/Icons/IconDisclosureRightWithOffset.js +0 -22
- package/emotion/cjs/components/_Icon/Icons/IconDisclosureUpWithOffset.js +0 -22
- package/emotion/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +0 -22
- package/emotion/es/components/Segment/ui/SegmentGroup/variations/_orientation/base.js +0 -4
- package/emotion/es/components/Segment/ui/SegmentGroup/variations/_orientation/tokens.json +0 -1
- 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/DisclosureDownWithOffset.js +0 -14
- package/emotion/es/components/_Icon/Icon.assets/DisclosureLeftWithOffset.js +0 -14
- package/emotion/es/components/_Icon/Icon.assets/DisclosureRightWithOffset.js +0 -14
- package/emotion/es/components/_Icon/Icon.assets/DisclosureUpWithOffset.js +0 -14
- package/emotion/es/components/_Icon/Icon.assets/InfoCircleOutline.js +0 -15
- package/emotion/es/components/_Icon/Icons/IconDisclosureDownWithOffset.js +0 -15
- package/emotion/es/components/_Icon/Icons/IconDisclosureLeftWithOffset.js +0 -15
- package/emotion/es/components/_Icon/Icons/IconDisclosureRightWithOffset.js +0 -15
- package/emotion/es/components/_Icon/Icons/IconDisclosureUpWithOffset.js +0 -15
- package/emotion/es/components/_Icon/Icons/IconInfoCircleOutline.js +0 -15
- package/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles_79d8q2.css +0 -8
- package/es/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base_a7w5s0.css +0 -1
- package/es/components/Segment/ui/SegmentGroup/variations/_orientation/base.js +0 -5
- package/es/components/Segment/ui/SegmentGroup/variations/_orientation/base.js.map +0 -1
- package/es/components/Segment/ui/SegmentGroup/variations/_orientation/base_1ejecy9.css +0 -1
- package/es/components/Segment/ui/SegmentGroup/variations/_pilled/base_pxl3nb.css +0 -1
- package/es/components/Segment/ui/SegmentGroup/variations/_size/base_18cpjsq.css +0 -1
- package/es/components/Segment/ui/SegmentItem/SegmentItem.styles_19oo2vi.css +0 -4
- package/es/components/Segment/ui/SegmentItem/variations/_view/base_dettiq.css +0 -1
- 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/DisclosureDownWithOffset.js +0 -18
- package/es/components/_Icon/Icon.assets/DisclosureDownWithOffset.js.map +0 -1
- package/es/components/_Icon/Icon.assets/DisclosureLeftWithOffset.js +0 -18
- package/es/components/_Icon/Icon.assets/DisclosureLeftWithOffset.js.map +0 -1
- package/es/components/_Icon/Icon.assets/DisclosureRightWithOffset.js +0 -18
- package/es/components/_Icon/Icon.assets/DisclosureRightWithOffset.js.map +0 -1
- package/es/components/_Icon/Icon.assets/DisclosureUpWithOffset.js +0 -18
- package/es/components/_Icon/Icon.assets/DisclosureUpWithOffset.js.map +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/IconDisclosureDownWithOffset.js +0 -19
- package/es/components/_Icon/Icons/IconDisclosureDownWithOffset.js.map +0 -1
- package/es/components/_Icon/Icons/IconDisclosureLeftWithOffset.js +0 -19
- package/es/components/_Icon/Icons/IconDisclosureLeftWithOffset.js.map +0 -1
- package/es/components/_Icon/Icons/IconDisclosureRightWithOffset.js +0 -19
- package/es/components/_Icon/Icons/IconDisclosureRightWithOffset.js.map +0 -1
- package/es/components/_Icon/Icons/IconDisclosureUpWithOffset.js +0 -19
- package/es/components/_Icon/Icons/IconDisclosureUpWithOffset.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/Segment/ui/SegmentGroup/variations/_orientation/base.js +0 -10
- package/styled-components/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/tokens.json +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/DisclosureDownWithOffset.js +0 -21
- package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureLeftWithOffset.js +0 -21
- package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRightWithOffset.js +0 -21
- package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureUpWithOffset.js +0 -21
- package/styled-components/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +0 -22
- package/styled-components/cjs/components/_Icon/Icons/IconDisclosureDownWithOffset.js +0 -22
- package/styled-components/cjs/components/_Icon/Icons/IconDisclosureLeftWithOffset.js +0 -22
- package/styled-components/cjs/components/_Icon/Icons/IconDisclosureRightWithOffset.js +0 -22
- package/styled-components/cjs/components/_Icon/Icons/IconDisclosureUpWithOffset.js +0 -22
- package/styled-components/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +0 -22
- package/styled-components/es/components/Segment/ui/SegmentGroup/variations/_orientation/base.js +0 -4
- package/styled-components/es/components/Segment/ui/SegmentGroup/variations/_orientation/tokens.json +0 -1
- 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/DisclosureDownWithOffset.js +0 -14
- package/styled-components/es/components/_Icon/Icon.assets/DisclosureLeftWithOffset.js +0 -14
- package/styled-components/es/components/_Icon/Icon.assets/DisclosureRightWithOffset.js +0 -14
- package/styled-components/es/components/_Icon/Icon.assets/DisclosureUpWithOffset.js +0 -14
- package/styled-components/es/components/_Icon/Icon.assets/InfoCircleOutline.js +0 -15
- package/styled-components/es/components/_Icon/Icons/IconDisclosureDownWithOffset.js +0 -15
- package/styled-components/es/components/_Icon/Icons/IconDisclosureLeftWithOffset.js +0 -15
- package/styled-components/es/components/_Icon/Icons/IconDisclosureRightWithOffset.js +0 -15
- package/styled-components/es/components/_Icon/Icons/IconDisclosureUpWithOffset.js +0 -15
- package/styled-components/es/components/_Icon/Icons/IconInfoCircleOutline.js +0 -15
- package/types/components/Segment/ui/SegmentGroup/variations/_orientation/base.d.ts +0 -2
- package/types/components/Segment/ui/SegmentGroup/variations/_orientation/base.d.ts.map +0 -1
- 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/DisclosureDownWithOffset.d.ts +0 -4
- package/types/components/_Icon/Icon.assets/DisclosureDownWithOffset.d.ts.map +0 -1
- package/types/components/_Icon/Icon.assets/DisclosureLeftWithOffset.d.ts +0 -4
- package/types/components/_Icon/Icon.assets/DisclosureLeftWithOffset.d.ts.map +0 -1
- package/types/components/_Icon/Icon.assets/DisclosureRightWithOffset.d.ts +0 -4
- package/types/components/_Icon/Icon.assets/DisclosureRightWithOffset.d.ts.map +0 -1
- package/types/components/_Icon/Icon.assets/DisclosureUpWithOffset.d.ts +0 -4
- package/types/components/_Icon/Icon.assets/DisclosureUpWithOffset.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/IconDisclosureDownWithOffset.d.ts +0 -4
- package/types/components/_Icon/Icons/IconDisclosureDownWithOffset.d.ts.map +0 -1
- package/types/components/_Icon/Icons/IconDisclosureLeftWithOffset.d.ts +0 -4
- package/types/components/_Icon/Icons/IconDisclosureLeftWithOffset.d.ts.map +0 -1
- package/types/components/_Icon/Icons/IconDisclosureRightWithOffset.d.ts +0 -4
- package/types/components/_Icon/Icons/IconDisclosureRightWithOffset.d.ts.map +0 -1
- package/types/components/_Icon/Icons/IconDisclosureUpWithOffset.d.ts +0 -4
- package/types/components/_Icon/Icons/IconDisclosureUpWithOffset.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
@@ -125,8 +125,7 @@ export function App() {
|
|
125
125
|
```
|
126
126
|
|
127
127
|
### Подсказка
|
128
|
-
Для вывода подсказки снизу от поля используйте свойство `helperText
|
129
|
-
для подсказки в виде Tooltip - `hintText`, для подсказки сверху справа - `titleCaption`:
|
128
|
+
Для вывода подсказки снизу от поля используйте свойство `helperText`:
|
130
129
|
|
131
130
|
```tsx live
|
132
131
|
import React from 'react';
|
@@ -139,10 +138,6 @@ export function App() {
|
|
139
138
|
placeholder="Введите значение"
|
140
139
|
defaultValue="Значение"
|
141
140
|
helperText="Подсказка снизу"
|
142
|
-
titleCaption="Подсказка сверху"
|
143
|
-
hintText="Подсказка в виде Tooltip"
|
144
|
-
hintView="default"
|
145
|
-
hintSize="m"
|
146
141
|
/>
|
147
142
|
</div>
|
148
143
|
);
|
@@ -14,7 +14,6 @@ var classes = exports.classes = {
|
|
14
14
|
hideLabel: 'hide-label',
|
15
15
|
clear: 'textfield-clear',
|
16
16
|
hasDivider: 'textfield-has-divider',
|
17
|
-
hasHint: 'textfield-has-hint',
|
18
17
|
textFieldGroupItem: 'text-field-group-item'
|
19
18
|
};
|
20
19
|
var tokens = exports.tokens = {
|
@@ -84,15 +83,6 @@ var tokens = exports.tokens = {
|
|
84
83
|
labelInnerLineHeight: '--plasma-textfield-placement_inner__label-line-height',
|
85
84
|
labelInnerPadding: '--plasma-textfield-placement_inner__label-padding',
|
86
85
|
contentLabelInnerPadding: '--plasma-textfield-placement_inner__content-padding',
|
87
|
-
titleCaptionColor: '--plasma-textfield__title-caption-color',
|
88
|
-
titleCaptionColorReadOnly: '--plasma-textfield__title-caption-color-readonly',
|
89
|
-
titleCaptionInnerLabelOffset: '--plasma-textfield__title-caption-label-inner-offset',
|
90
|
-
titleCaptionFontFamily: '--plasma-textfield__title-caption-font-family',
|
91
|
-
titleCaptionFontStyle: '--plasma-textfield__title-caption-font-style',
|
92
|
-
titleCaptionFontSize: '--plasma-textfield__title-caption-font-size',
|
93
|
-
titleCaptionFontWeight: '--plasma-textfield__title-caption-font-weight',
|
94
|
-
titleCaptionLetterSpacing: '--plasma-textfield__title-caption-letter-spacing',
|
95
|
-
titleCaptionLineHeight: '--plasma-textfield__title-caption-line-height',
|
96
86
|
leftHelperColor: '--plasma-textfield__left-helper-color',
|
97
87
|
leftHelperColorReadOnly: '--plasma-textfield__left-helper-color-readonly',
|
98
88
|
leftHelperOffset: '--plasma-textfield__left-helper-offset',
|
@@ -109,34 +99,6 @@ var tokens = exports.tokens = {
|
|
109
99
|
textAfterMargin: '--plasma-textfield__after-text-margin',
|
110
100
|
/** Прозрачность для всего компонента в состоянии disabled */
|
111
101
|
disabledOpacity: '--plasma-textfield-disabled-opacity',
|
112
|
-
/** Токены для tooltip */
|
113
|
-
hintMargin: '--plasma-textfield__hint-margin',
|
114
|
-
hintTargetSize: '--plasma-textfield__hint-target-size',
|
115
|
-
hintIconColor: '--plasma-textfield__hint-icon-color',
|
116
|
-
hintInnerLabelPlacementOffset: '--plasma-textfield__hint-inner-label-placement-offset',
|
117
|
-
clearHintInnerLabelPlacementOffset: '--plasma-textfield__clear-hint-inner-label-placement-offset',
|
118
|
-
tooltipBackgroundColor: '--plasma-textfield__tooltip-background-color',
|
119
|
-
tooltipBoxShadow: '--plasma-textfield__tooltip-box-shadow',
|
120
|
-
tooltipColor: '--plasma-textfield__tooltip-color',
|
121
|
-
tooltipPaddingTop: '--plasma-textfield__tooltip-padding-top',
|
122
|
-
tooltipPaddingRight: '--plasma-textfield__tooltip-padding-right',
|
123
|
-
tooltipPaddingBottom: '--plasma-textfield__tooltip-padding-bottom',
|
124
|
-
tooltipPaddingLeft: '--plasma-textfield__tooltip-padding-left',
|
125
|
-
tooltipMinHeight: '--plasma-textfield__tooltip-min-height',
|
126
|
-
tooltipBorderRadius: '--plasma-textfield__tooltip-border-radius',
|
127
|
-
tooltipTextFontFamily: '--plasma-textfield__tooltip-text-font-family',
|
128
|
-
tooltipTextFontSize: '--plasma-textfield__tooltip-text-font-size',
|
129
|
-
tooltipTextFontStyle: '--plasma-textfield__tooltip-text-font-style',
|
130
|
-
tooltipTextFontWeight: '--plasma-textfield__tooltip-text-font-weight',
|
131
|
-
tooltipTextFontLetterSpacing: '--plasma-textfield__tooltip-text-font-letter-spacing',
|
132
|
-
tooltipTextFontLineHeight: '--plasma-textfield__tooltip-text-font-line-height',
|
133
|
-
tooltipContentLeftMargin: '--plasma-textfield__tooltip-content-left-margin',
|
134
|
-
tooltipArrowMaskWidth: '--plasma-textfield__tooltip-arrow-mask-width',
|
135
|
-
tooltipArrowMaskHeight: '--plasma-textfield__tooltip-arrow-mask-height',
|
136
|
-
tooltipArrowMaskImage: '--plasma-textfield__tooltip-arrow-mask-image',
|
137
|
-
tooltipArrowHeight: '--plasma-textfield__tooltip-arrow-height',
|
138
|
-
tooltipArrowEdgeMargin: '--plasma-textfield__tooltip-arrow-edge-margin',
|
139
|
-
tooltipArrowBackground: '--plasma-textfield__tooltip-arrow-background',
|
140
102
|
/** Токены чипа */
|
141
103
|
chipHeight: '--plasma-textfield__chip-height',
|
142
104
|
chipBorderRadius: '--plasma-textfield__chip-border-radius',
|
@@ -180,6 +142,5 @@ var tokens = exports.tokens = {
|
|
180
142
|
indicatorLabelPlacementInnerRight: '--plasma-textfield__indicator-placement-inner-right',
|
181
143
|
indicatorLabelPlacementOuterRight: '--plasma-textfield__indicator-placement-outer-right',
|
182
144
|
clearIndicatorLabelPlacementInner: '--plasma-textfield__clear-indicator-placement-inner',
|
183
|
-
clearIndicatorLabelPlacementInnerRight: '--plasma-textfield__clear-indicator-placement-inner-right'
|
184
|
-
clearIndicatorHintInnerRight: '--plasma-textfield__clear-indicator-hint-placement-inner-right'
|
145
|
+
clearIndicatorLabelPlacementInnerRight: '--plasma-textfield__clear-indicator-placement-inner-right'
|
185
146
|
};
|
@@ -7,4 +7,4 @@ exports.base = void 0;
|
|
7
7
|
var _react = /*#__PURE__*/require("@emotion/react");
|
8
8
|
var _TextField = /*#__PURE__*/require("../../TextField.tokens");
|
9
9
|
var _TextField2 = /*#__PURE__*/require("../../TextField.styles");
|
10
|
-
var base = exports.base = /*#__PURE__*/(0, _react.css)("&.", _TextField.classes.clear, "{&[readonly] ", _TextField2.InputWrapper, ",", _TextField2.InputWrapper, "{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;&:hover{background-color:unset;}}", _TextField2.StyledContentLeft, "{margin-left:0;}", _TextField2.StyledContentRight, "{margin-right:0;}&.", _TextField.classes.outerLabelPlacement, "{", _TextField2.
|
10
|
+
var base = exports.base = /*#__PURE__*/(0, _react.css)("&.", _TextField.classes.clear, "{&[readonly] ", _TextField2.InputWrapper, ",", _TextField2.InputWrapper, "{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;&:hover{background-color:unset;}}", _TextField2.StyledContentLeft, "{margin-left:0;}", _TextField2.StyledContentRight, "{margin-right:0;}&.", _TextField.classes.outerLabelPlacement, "{", _TextField2.Label, "{margin-bottom:var(", _TextField.tokens.clearLabelOffset, ");}}", _TextField2.Input, "{color:var(", _TextField.tokens.clearColor, ");}", _TextField2.InputPlaceholder, "{color:var(", _TextField.tokens.clearPlaceholderColor, ");}", _TextField2.StyledIndicator, "{&.", _TextField.classes.innerLabelPlacement, "{inset:var(", _TextField.tokens.clearIndicatorLabelPlacementInner, ");&.align-right{inset:var(", _TextField.tokens.clearIndicatorLabelPlacementInnerRight, ");}}}&.", _TextField.classes.hasDivider, "{", _TextField2.InputWrapper, "{--plasma_private-textfield-divider-color:var(", /*#__PURE__*/String(_TextField.tokens.dividerColor), ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", _TextField2.InputWrapper, ":hover{--plasma_private-textfield-divider-color:var(\n ", _TextField.tokens.dividerColorHover, ",\n var(", /*#__PURE__*/String(_TextField.tokens.dividerColor), ")\n );}&:not([readonly]) ", _TextField2.InputWrapper, ":focus-within{--plasma_private-textfield-divider-color:var(\n ", _TextField.tokens.dividerColorFocus, ",\n var(", /*#__PURE__*/String(_TextField.tokens.dividerColor), ")\n );", _TextField2.InputPlaceholder, "{color:var(", _TextField.tokens.clearPlaceholderColorFocus, ");}}}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEZpZWxkL3ZhcmlhdGlvbnMvX2NsZWFyL2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBYXVCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV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ICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMub3V0ZXJMYWJlbFBsYWNlbWVudH0ge1xuICAgICAgICAgICAgJHtMYWJlbH0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5jbGVhckxhYmVsT2Zmc2V0fSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAke0lucHV0fSB7XG4gICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmNsZWFyQ29sb3J9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICR7SW5wdXRQbGFjZWhvbGRlcn0ge1xuICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5jbGVhclBsYWNlaG9sZGVyQ29sb3J9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkSW5kaWNhdG9yfSB7XG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5pbm5lckxhYmVsUGxhY2VtZW50fSB7XG4gICAgICAgICAgICAgICAgaW5zZXQ6IHZhcigke3Rva2Vucy5jbGVhckluZGljYXRvckxhYmVsUGxhY2VtZW50SW5uZXJ9KTtcblxuICAgICAgICAgICAgICAgICYuYWxpZ24tcmlnaHQge1xuICAgICAgICAgICAgICAgICAgICBpbnNldDogdmFyKCR7dG9rZW5zLmNsZWFySW5kaWNhdG9yTGFiZWxQbGFjZW1lbnRJbm5lclJpZ2h0fSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMuaGFzRGl2aWRlcn0ge1xuICAgICAgICAgICAgJHtJbnB1dFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICAtLXBsYXNtYV9wcml2YXRlLXRleHRmaWVsZC1kaXZpZGVyLWNvbG9yOiB2YXIoJHtTdHJpbmcodG9rZW5zLmRpdmlkZXJDb2xvcil9KTtcblxuICAgICAgICAgICAgICAgICY6YmVmb3JlIHtcbiAgICAgICAgICAgICAgICAgICAgY29udGVudDogJyc7XG4gICAgICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICAgICAgICAgICAgaGVpZ2h0OiAwLjA2M3JlbTtcbiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICAgICAgbGVmdDogMDtcbiAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tcGxhc21hX3ByaXZhdGUtdGV4dGZpZWxkLWRpdmlkZXItY29sb3IpO1xuICAgICAgICAgICAgICAgICAgICB0cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDAuMXMgZWFzZS1pbjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICY6bm90KFtyZWFkb25seV0pICR7SW5wdXRXcmFwcGVyfTpob3ZlciB7XG4gICAgICAgICAgICAgICAgLS1wbGFzbWFfcHJpdmF0ZS10ZXh0ZmllbGQtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JIb3Zlcn0sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJjpub3QoW3JlYWRvbmx5XSkgJHtJbnB1dFdyYXBwZXJ9OmZvY3VzLXdpdGhpbiB7XG4gICAgICAgICAgICAgICAgLS1wbGFzbWFfcHJpdmF0ZS10ZXh0ZmllbGQtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JGb2N1c30sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcblxuICAgICAgICAgICAgICAgICR7SW5wdXRQbGFjZWhvbGRlcn0ge1xuICAgICAgICAgICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmNsZWFyUGxhY2Vob2xkZXJDb2xvckZvY3VzfSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuYDtcbiJdfQ== */"));
|
@@ -7,4 +7,4 @@ exports.base = void 0;
|
|
7
7
|
var _react = /*#__PURE__*/require("@emotion/react");
|
8
8
|
var _TextField = /*#__PURE__*/require("../../TextField.tokens");
|
9
9
|
var _TextField2 = /*#__PURE__*/require("../../TextField.styles");
|
10
|
-
var base = exports.base = /*#__PURE__*/(0, _react.css)("&.", _TextField.classes.outerLabelPlacement, "{", _TextField2.Label, "{position:relative;display:inline-block;color:var(", _TextField.tokens.labelColor, ");}}&.", _TextField.classes.innerLabelPlacement, "{", _TextField2.InputContainer, "{padding:var(", _TextField.tokens.contentLabelInnerPadding, ");}", _TextField2.StyledTextAfter, ",", _TextField2.StyledTextBefore, "{padding:var(", _TextField.tokens.contentLabelInnerPadding, ");}", _TextField2.Input, ":focus~", _TextField2.Label, ",", _TextField2.Input, ".", _TextField.classes.hasValue, "~", _TextField2.Label, "{color:var(", _TextField.tokens.placeholderColor, ");align-items:flex-start;padding:var(", _TextField.tokens.labelInnerPadding, ");font-family:var(", _TextField.tokens.labelInnerFontFamily, ");font-size:var(", _TextField.tokens.labelInnerFontSize, ");font-style:var(", _TextField.tokens.labelInnerFontStyle, ");font-weight:var(", _TextField.tokens.labelInnerFontWeight, ");letter-spacing:var(", _TextField.tokens.labelInnerLetterSpacing, ");line-height:var(", _TextField.tokens.labelInnerLineHeight, ");}", _TextField2.Label, "{color:var(", _TextField.tokens.placeholderColor, ");pointer-events:none;position:absolute;top:0;display:flex;align-items:center;box-sizing:border-box;height:var(", _TextField.tokens.height, ");padding-top:calc(calc(var(", _TextField.tokens.height, ") - var(", _TextField.tokens.labelLineHeight, ")) / 2);padding-bottom:calc(calc(var(", _TextField.tokens.height, ") - var(", _TextField.tokens.labelLineHeight, ")) / 2);}&.", _TextField.classes.clear, " ", _TextField2.Label, "{color:var(", _TextField.tokens.clearPlaceholderColor, ");}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
10
|
+
var base = exports.base = /*#__PURE__*/(0, _react.css)("&.", _TextField.classes.outerLabelPlacement, "{", _TextField2.Label, "{position:relative;display:inline-block;margin-bottom:var(", _TextField.tokens.labelOffset, ");color:var(", _TextField.tokens.labelColor, ");}}&.", _TextField.classes.innerLabelPlacement, "{", _TextField2.InputContainer, "{padding:var(", _TextField.tokens.contentLabelInnerPadding, ");}", _TextField2.StyledTextAfter, ",", _TextField2.StyledTextBefore, "{padding:var(", _TextField.tokens.contentLabelInnerPadding, ");}", _TextField2.Input, ":focus~", _TextField2.Label, ",", _TextField2.Input, ".", _TextField.classes.hasValue, "~", _TextField2.Label, "{color:var(", _TextField.tokens.placeholderColor, ");align-items:flex-start;padding:var(", _TextField.tokens.labelInnerPadding, ");font-family:var(", _TextField.tokens.labelInnerFontFamily, ");font-size:var(", _TextField.tokens.labelInnerFontSize, ");font-style:var(", _TextField.tokens.labelInnerFontStyle, ");font-weight:var(", _TextField.tokens.labelInnerFontWeight, ");letter-spacing:var(", _TextField.tokens.labelInnerLetterSpacing, ");line-height:var(", _TextField.tokens.labelInnerLineHeight, ");}", _TextField2.Label, "{color:var(", _TextField.tokens.placeholderColor, ");pointer-events:none;position:absolute;top:0;display:flex;align-items:center;box-sizing:border-box;height:var(", _TextField.tokens.height, ");padding-top:calc(calc(var(", _TextField.tokens.height, ") - var(", _TextField.tokens.labelLineHeight, ")) / 2);padding-bottom:calc(calc(var(", _TextField.tokens.height, ") - var(", _TextField.tokens.labelLineHeight, ")) / 2);}&.", _TextField.classes.clear, " ", _TextField2.Label, "{color:var(", _TextField.tokens.clearPlaceholderColor, ");}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEZpZWxkL3ZhcmlhdGlvbnMvX2xhYmVsLXBsYWNlbWVudC9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUt1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1RleHRGaWVsZC92YXJpYXRpb25zL19sYWJlbC1wbGFjZW1lbnQvYmFzZS50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vVGV4dEZpZWxkLnRva2Vucyc7XG5pbXBvcnQgeyBJbnB1dCwgSW5wdXRDb250YWluZXIsIExhYmVsLCBTdHlsZWRUZXh0QWZ0ZXIsIFN0eWxlZFRleHRCZWZvcmUgfSBmcm9tICcuLi8uLi9UZXh0RmllbGQuc3R5bGVzJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgJi4ke2NsYXNzZXMub3V0ZXJMYWJlbFBsYWNlbWVudH0ge1xuICAgICAgICAke0xhYmVsfSB7XG4gICAgICAgICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgICAgICAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiB2YXIoJHt0b2tlbnMubGFiZWxPZmZzZXR9KTtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMubGFiZWxDb2xvcn0pO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi4ke2NsYXNzZXMuaW5uZXJMYWJlbFBsYWNlbWVudH0ge1xuICAgICAgICAke0lucHV0Q29udGFpbmVyfSB7XG4gICAgICAgICAgICBwYWRkaW5nOiB2YXIoJHt0b2tlbnMuY29udGVudExhYmVsSW5uZXJQYWRkaW5nfSk7XG4gICAgICAgIH1cblxuICAgICAgICAke1N0eWxlZFRleHRBZnRlcn0sICR7U3R5bGVkVGV4dEJlZm9yZX0ge1xuICAgICAgICAgICAgcGFkZGluZzogdmFyKCR7dG9rZW5zLmNvbnRlbnRMYWJlbElubmVyUGFkZGluZ30pO1xuICAgICAgICB9XG5cbiAgICAgICAgLyog0L/QvtC00L3QuNC80LDQtdGCIGxhYmVsINCy0LLQtdGA0YUg0L/RgNC4INGE0L7QutGD0YHQtSwg0L3QsNC70LjRh9C40Lgg0LfQvdCw0YfQtdC90LjRjyAqL1xuICAgICAgICAke0lucHV0fTpmb2N1cyB+ICR7TGFiZWx9LCAke0lucHV0fS4ke2NsYXNzZXMuaGFzVmFsdWV9IH4gJHtMYWJlbH0ge1xuICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5wbGFjZWhvbGRlckNvbG9yfSk7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbiAgICAgICAgICAgIHBhZGRpbmc6IHZhcigke3Rva2Vucy5sYWJlbElubmVyUGFkZGluZ30pO1xuXG4gICAgICAgICAgICBmb250LWZhbWlseTogdmFyKCR7dG9rZW5zLmxhYmVsSW5uZXJGb250RmFtaWx5fSk7XG4gICAgICAgICAgICBmb250LXNpemU6IHZhcigke3Rva2Vucy5sYWJlbElubmVyRm9udFNpemV9KTtcbiAgICAgICAgICAgIGZvbnQtc3R5bGU6IHZhcigke3Rva2Vucy5sYWJlbElubmVyRm9udFN0eWxlfSk7XG4gICAgICAgICAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLmxhYmVsSW5uZXJGb250V2VpZ2h0fSk7XG4gICAgICAgICAgICBsZXR0ZXItc3BhY2luZzogdmFyKCR7dG9rZW5zLmxhYmVsSW5uZXJMZXR0ZXJTcGFjaW5nfSk7XG4gICAgICAgICAgICBsaW5lLWhlaWdodDogdmFyKCR7dG9rZW5zLmxhYmVsSW5uZXJMaW5lSGVpZ2h0fSk7XG4gICAgICAgIH1cblxuICAgICAgICAke0xhYmVsfSB7XG4gICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLnBsYWNlaG9sZGVyQ29sb3J9KTtcblxuICAgICAgICAgICAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgICAgICB0b3A6IDA7XG5cbiAgICAgICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuXG4gICAgICAgICAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuXG4gICAgICAgICAgICBoZWlnaHQ6IHZhcigke3Rva2Vucy5oZWlnaHR9KTtcblxuICAgICAgICAgICAgcGFkZGluZy10b3A6IGNhbGMoY2FsYyh2YXIoJHt0b2tlbnMuaGVpZ2h0fSkgLSB2YXIoJHt0b2tlbnMubGFiZWxMaW5lSGVpZ2h0fSkpIC8gMik7XG4gICAgICAgICAgICBwYWRkaW5nLWJvdHRvbTogY2FsYyhjYWxjKHZhcigke3Rva2Vucy5oZWlnaHR9KSAtIHZhcigke3Rva2Vucy5sYWJlbExpbmVIZWlnaHR9KSkgLyAyKTtcbiAgICAgICAgfVxuXG4gICAgICAgICYuJHtjbGFzc2VzLmNsZWFyfSAke0xhYmVsfSB7XG4gICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmNsZWFyUGxhY2Vob2xkZXJDb2xvcn0pO1xuICAgICAgICB9XG4gICAgfVxuYDtcbiJdfQ== */"));
|
@@ -7,4 +7,4 @@ exports.base = void 0;
|
|
7
7
|
var _react = /*#__PURE__*/require("@emotion/react");
|
8
8
|
var _TextField = /*#__PURE__*/require("../../TextField.tokens");
|
9
9
|
var _TextField2 = /*#__PURE__*/require("../../TextField.styles");
|
10
|
-
var base = exports.base = /*#__PURE__*/(0, _react.css)("&[readonly]{", _TextField2.InputWrapper, "{color:var(", _TextField.tokens.colorReadOnly, ");background-color:var(", /*#__PURE__*/String(_TextField.tokens.backgroundColorReadOnly), ");box-shadow:inset 0 0 0 var(", /*#__PURE__*/String(_TextField.tokens.borderWidth), ") var(", /*#__PURE__*/String(_TextField.tokens.borderColorReadOnly), ");}&.", _TextField.classes.hasDivider, " ", _TextField2.InputWrapper, "{&:before{background-color:var(", /*#__PURE__*/String(_TextField.tokens.dividerColorReadOnly), ");}}", _TextField2.InputWrapper, ":hover{background-color:var(", _TextField.tokens.backgroundColorReadOnly, ");}", _TextField2.InputWrapper, ":focus-within ", _TextField2.InputPlaceholder, ",", _TextField2.InputPlaceholder, "{color:var(", _TextField.tokens.placeholderColorReadOnly, ");}", _TextField2.Input, "{color:var(", _TextField.tokens.colorReadOnly, ");cursor:default;min-width:unset;}", _TextField2.
|
10
|
+
var base = exports.base = /*#__PURE__*/(0, _react.css)("&[readonly]{", _TextField2.InputWrapper, "{color:var(", _TextField.tokens.colorReadOnly, ");background-color:var(", /*#__PURE__*/String(_TextField.tokens.backgroundColorReadOnly), ");box-shadow:inset 0 0 0 var(", /*#__PURE__*/String(_TextField.tokens.borderWidth), ") var(", /*#__PURE__*/String(_TextField.tokens.borderColorReadOnly), ");}&.", _TextField.classes.hasDivider, " ", _TextField2.InputWrapper, "{&:before{background-color:var(", /*#__PURE__*/String(_TextField.tokens.dividerColorReadOnly), ");}}", _TextField2.InputWrapper, ":hover{background-color:var(", _TextField.tokens.backgroundColorReadOnly, ");}", _TextField2.InputWrapper, ":focus-within ", _TextField2.InputPlaceholder, ",", _TextField2.InputPlaceholder, "{color:var(", _TextField.tokens.placeholderColorReadOnly, ");}", _TextField2.Input, "{color:var(", _TextField.tokens.colorReadOnly, ");cursor:default;min-width:unset;}", _TextField2.LeftHelper, "{color:var(", _TextField.tokens.leftHelperColorReadOnly, ");}&.", _TextField.classes.outerLabelPlacement, " ", _TextField2.Label, "{color:var(", _TextField.tokens.labelColorReadOnly, ");}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEZpZWxkL3ZhcmlhdGlvbnMvX3JlYWQtb25seS9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUt1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1RleHRGaWVsZC92YXJpYXRpb25zL19yZWFkLW9ubHkvYmFzZS50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vVGV4dEZpZWxkLnRva2Vucyc7XG5pbXBvcnQgeyBJbnB1dCwgSW5wdXRQbGFjZWhvbGRlciwgSW5wdXRXcmFwcGVyLCBMYWJlbCwgTGVmdEhlbHBlciB9IGZyb20gJy4uLy4uL1RleHRGaWVsZC5zdHlsZXMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAmW3JlYWRvbmx5XSB7XG4gICAgICAgICR7SW5wdXRXcmFwcGVyfSB7XG4gICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmNvbG9yUmVhZE9ubHl9KTtcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke1N0cmluZyh0b2tlbnMuYmFja2dyb3VuZENvbG9y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xuICAgICAgICAmLiR7Y2xhc3Nlcy5vdXRlckxhYmVsUGxhY2VtZW50fSAke0xhYmVsfSB7XG4gICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmxhYmVsQ29sb3JSZWFkT25seX0pO1xuICAgICAgICB9XG4gICAgfVxuYDtcbiJdfQ== */"));
|
@@ -7,4 +7,4 @@ exports.base = void 0;
|
|
7
7
|
var _react = /*#__PURE__*/require("@emotion/react");
|
8
8
|
var _TextField = /*#__PURE__*/require("../../TextField.tokens");
|
9
9
|
var _TextField2 = /*#__PURE__*/require("../../TextField.styles");
|
10
|
-
var base = exports.base = /*#__PURE__*/(0, _react.css)(_TextField2.Input, "{width:100%;font:inherit;letter-spacing:inherit;line-height:inherit;}", _TextField2.InputContainer, "{width:100%;font-family:var(", _TextField.tokens.fontFamily, ");font-size:var(", _TextField.tokens.fontSize, ");font-style:var(", _TextField.tokens.fontStyle, ");font-weight:var(", _TextField.tokens.fontWeight, ");letter-spacing:var(", _TextField.tokens.letterSpacing, ");line-height:var(", _TextField.tokens.lineHeight, ");}", _TextField2.InputWrapper, "{height:var(", _TextField.tokens.height, ");border-radius:var(", _TextField.tokens.borderRadius, ");padding:var(", _TextField.tokens.padding, ");&.", _TextField.classes.hasChips, "{padding-top:var(", _TextField.tokens.paddingWithChips, ");padding-bottom:var(", _TextField.tokens.paddingWithChips, ");}&.", _TextField.classes.hasEmptyContentLeft, "{padding-left:var(", _TextField.tokens.paddingWithChips, ");}&.", _TextField.classes.hasEmptyContentRight, "{padding-right:var(", _TextField.tokens.paddingWithChips, ");}}", _TextField2.Label, "
|
10
|
+
var base = exports.base = /*#__PURE__*/(0, _react.css)(_TextField2.Input, "{width:100%;font:inherit;letter-spacing:inherit;line-height:inherit;}", _TextField2.InputContainer, "{width:100%;font-family:var(", _TextField.tokens.fontFamily, ");font-size:var(", _TextField.tokens.fontSize, ");font-style:var(", _TextField.tokens.fontStyle, ");font-weight:var(", _TextField.tokens.fontWeight, ");letter-spacing:var(", _TextField.tokens.letterSpacing, ");line-height:var(", _TextField.tokens.lineHeight, ");}", _TextField2.InputWrapper, "{height:var(", _TextField.tokens.height, ");border-radius:var(", _TextField.tokens.borderRadius, ");padding:var(", _TextField.tokens.padding, ");&.", _TextField.classes.hasChips, "{padding-top:var(", _TextField.tokens.paddingWithChips, ");padding-bottom:var(", _TextField.tokens.paddingWithChips, ");}&.", _TextField.classes.hasEmptyContentLeft, "{padding-left:var(", _TextField.tokens.paddingWithChips, ");}&.", _TextField.classes.hasEmptyContentRight, "{padding-right:var(", _TextField.tokens.paddingWithChips, ");}}", _TextField2.Label, "{font-family:var(", _TextField.tokens.labelFontFamily, ");font-size:var(", _TextField.tokens.labelFontSize, ");font-style:var(", _TextField.tokens.labelFontStyle, ");font-weight:var(", _TextField.tokens.labelFontWeight, ");letter-spacing:var(", _TextField.tokens.labelLetterSpacing, ");line-height:var(", _TextField.tokens.labelLineHeight, ");}", _TextField2.LeftHelper, "{margin-top:var(", _TextField.tokens.leftHelperOffset, ");font-family:var(", _TextField.tokens.leftHelperFontFamily, ");font-size:var(", _TextField.tokens.leftHelperFontSize, ");font-style:var(", _TextField.tokens.leftHelperFontStyle, ");font-weight:var(", _TextField.tokens.leftHelperFontWeight, ");letter-spacing:var(", _TextField.tokens.leftHelperLetterSpacing, ");line-height:var(", _TextField.tokens.leftHelperLineHeight, ");}", _TextField2.StyledTextBefore, ",", _TextField2.StyledTextAfter, "{font-family:var(", _TextField.tokens.fontFamily, ");font-size:var(", _TextField.tokens.fontSize, ");font-style:var(", _TextField.tokens.fontStyle, ");font-weight:var(", _TextField.tokens.fontWeight, ");letter-spacing:var(", _TextField.tokens.letterSpacing, ");line-height:var(", _TextField.tokens.lineHeight, ");}", _TextField2.StyledTextBefore, "{margin:var(", _TextField.tokens.textBeforeMargin, ");}", _TextField2.StyledTextAfter, "{margin:var(", _TextField.tokens.textAfterMargin, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceM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zLmZvbnRGYW1pbHl9KTtcbiAgICAgICAgZm9udC1zaXplOiB2YXIoJHt0b2tlbnMuZm9udFNpemV9KTtcbiAgICAgICAgZm9udC1zdHlsZTogdmFyKCR7dG9rZW5zLmZvbnRTdHlsZX0pO1xuICAgICAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLmZvbnRXZWlnaHR9KTtcbiAgICAgICAgbGV0dGVyLXNwYWNpbmc6IHZhcigke3Rva2Vucy5sZXR0ZXJTcGFjaW5nfSk7XG4gICAgICAgIGxpbmUtaGVpZ2h0OiB2YXIoJHt0b2tlbnMubGluZUhlaWdodH0pO1xuICAgIH1cblxuICAgICR7U3R5bGVkVGV4dEJlZm9yZX0ge1xuICAgICAgICBtYXJnaW46IHZhcigke3Rva2Vucy50ZXh0QmVmb3JlTWFyZ2lufSk7XG4gICAgfVxuXG4gICAgJHtTdHlsZWRUZXh0QWZ0ZXJ9IHtcbiAgICAgICAgbWFyZ2luOiB2YXIoJHt0b2tlbnMudGV4dEFmdGVyTWFyZ2lufSk7XG4gICAgfVxuYDtcbiJdfQ== */"));
|
@@ -7,4 +7,4 @@ exports.base = void 0;
|
|
7
7
|
var _react = /*#__PURE__*/require("@emotion/react");
|
8
8
|
var _TextField = /*#__PURE__*/require("../../TextField.tokens");
|
9
9
|
var _TextField2 = /*#__PURE__*/require("../../TextField.styles");
|
10
|
-
var base = exports.base = /*#__PURE__*/(0, _react.css)(_TextField2.InputWrapper, "{--plasma_private-textfield-border-color:var(", /*#__PURE__*/String(_TextField.tokens.borderColor), ");--plasma_private-textfield-bg-color:var(", /*#__PURE__*/String(_TextField.tokens.backgroundColor), ");color:var(", _TextField.tokens.color, ");background-color:var(--plasma_private-textfield-bg-color);box-shadow:inset 0 0 0 var(", _TextField.tokens.borderWidth, ") var(--plasma_private-textfield-border-color);caret-color:var(", _TextField.tokens.caretColor, ");transition:background-color 0.1s ease-in,color 0.1s ease-in,box-shadow 0.1s ease-in;}", _TextField2.InputWrapper, ":hover{--plasma_private-textfield-border-color:var(", _TextField.tokens.borderColorHover, ", var(", /*#__PURE__*/String(_TextField.tokens.borderColor), "));--plasma_private-textfield-bg-color:var(\n ", _TextField.tokens.backgroundColorHover, ",\n var(", /*#__PURE__*/String(_TextField.tokens.backgroundColor), ")\n );}", _TextField2.Input, "{color:var(", _TextField.tokens.color, ");}", _TextField2.InputPlaceholder, "{color:var(", _TextField.tokens.placeholderColor, ");}", _TextField2.InputWrapper, ":focus-within{--plasma_private-textfield-border-color:var(", _TextField.tokens.borderColorFocus, ", var(", /*#__PURE__*/String(_TextField.tokens.borderColor), "));--plasma_private-textfield-bg-color:var(\n ", _TextField.tokens.backgroundColorFocus, ",\n var(", /*#__PURE__*/String(_TextField.tokens.backgroundColor), ")\n );", _TextField2.InputPlaceholder, "{color:var(", _TextField.tokens.placeholderColorFocus, ");}}", _TextField2.
|
10
|
+
var base = exports.base = /*#__PURE__*/(0, _react.css)(_TextField2.InputWrapper, "{--plasma_private-textfield-border-color:var(", /*#__PURE__*/String(_TextField.tokens.borderColor), ");--plasma_private-textfield-bg-color:var(", /*#__PURE__*/String(_TextField.tokens.backgroundColor), ");color:var(", _TextField.tokens.color, ");background-color:var(--plasma_private-textfield-bg-color);box-shadow:inset 0 0 0 var(", _TextField.tokens.borderWidth, ") var(--plasma_private-textfield-border-color);caret-color:var(", _TextField.tokens.caretColor, ");transition:background-color 0.1s ease-in,color 0.1s ease-in,box-shadow 0.1s ease-in;}", _TextField2.InputWrapper, ":hover{--plasma_private-textfield-border-color:var(", _TextField.tokens.borderColorHover, ", var(", /*#__PURE__*/String(_TextField.tokens.borderColor), "));--plasma_private-textfield-bg-color:var(\n ", _TextField.tokens.backgroundColorHover, ",\n var(", /*#__PURE__*/String(_TextField.tokens.backgroundColor), ")\n );}", _TextField2.Input, "{color:var(", _TextField.tokens.color, ");}", _TextField2.InputPlaceholder, "{color:var(", _TextField.tokens.placeholderColor, ");}", _TextField2.InputWrapper, ":focus-within{--plasma_private-textfield-border-color:var(", _TextField.tokens.borderColorFocus, ", var(", /*#__PURE__*/String(_TextField.tokens.borderColor), "));--plasma_private-textfield-bg-color:var(\n ", _TextField.tokens.backgroundColorFocus, ",\n var(", /*#__PURE__*/String(_TextField.tokens.backgroundColor), ")\n );", _TextField2.InputPlaceholder, "{color:var(", _TextField.tokens.placeholderColorFocus, ");}}", _TextField2.LeftHelper, "{color:var(", _TextField.tokens.leftHelperColor, ");}", _TextField2.StyledTextBefore, "{color:var(", _TextField.tokens.textBeforeColor, ");}", _TextField2.StyledTextAfter, "{color:var(", _TextField.tokens.textAfterColor, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEZpZWxkL3ZhcmlhdGlvbnMvX3ZpZXcvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFZdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9UZXh0RmllbGQvdmFyaWF0aW9ucy9fdmlldy9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuLi8uLi9UZXh0RmllbGQudG9rZW5zJztcbmltcG9ydCB7XG4gICAgSW5wdXQsXG4gICAgSW5wdXRQbGFjZWhvbGRlcixcbiAgICBJbnB1dFdyYXBwZXIsXG4gICAgTGVmdEhlbHBlcixcbiAgICBTdHlsZWRUZXh0QWZ0ZXIsXG4gICAgU3R5bGVkVGV4dEJlZm9yZSxcbn0gZnJvbSAnLi4vLi4vVGV4dEZpZWxkLnN0eWxlcyc7XG5cbmV4cG9ydCBjb25zdCB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ICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLnRleHRBZnRlckNvbG9yfSk7XG4gICAgfVxuYDtcbiJdfQ== */"));
|
@@ -93,24 +93,12 @@ Object.defineProperty(exports, "IconDisclosureDownFill", {
|
|
93
93
|
return _IconDisclosureDownFill.IconDisclosureDownFill;
|
94
94
|
}
|
95
95
|
});
|
96
|
-
Object.defineProperty(exports, "IconDisclosureDownWithOffset", {
|
97
|
-
enumerable: true,
|
98
|
-
get: function get() {
|
99
|
-
return _IconDisclosureDownWithOffset.IconDisclosureDownWithOffset;
|
100
|
-
}
|
101
|
-
});
|
102
96
|
Object.defineProperty(exports, "IconDisclosureLeft", {
|
103
97
|
enumerable: true,
|
104
98
|
get: function get() {
|
105
99
|
return _IconDisclosureLeft.IconDisclosureLeft;
|
106
100
|
}
|
107
101
|
});
|
108
|
-
Object.defineProperty(exports, "IconDisclosureLeftWithOffset", {
|
109
|
-
enumerable: true,
|
110
|
-
get: function get() {
|
111
|
-
return _IconDisclosureLeftWithOffset.IconDisclosureLeftWithOffset;
|
112
|
-
}
|
113
|
-
});
|
114
102
|
Object.defineProperty(exports, "IconDisclosureRight", {
|
115
103
|
enumerable: true,
|
116
104
|
get: function get() {
|
@@ -123,30 +111,12 @@ Object.defineProperty(exports, "IconDisclosureRightCentered", {
|
|
123
111
|
return _IconDisclosureRightCentered.IconDisclosureRightCentered;
|
124
112
|
}
|
125
113
|
});
|
126
|
-
Object.defineProperty(exports, "IconDisclosureRightWithOffset", {
|
127
|
-
enumerable: true,
|
128
|
-
get: function get() {
|
129
|
-
return _IconDisclosureRightWithOffset.IconDisclosureRightWithOffset;
|
130
|
-
}
|
131
|
-
});
|
132
|
-
Object.defineProperty(exports, "IconDisclosureUpWithOffset", {
|
133
|
-
enumerable: true,
|
134
|
-
get: function get() {
|
135
|
-
return _IconDisclosureUpWithOffset.IconDisclosureUpWithOffset;
|
136
|
-
}
|
137
|
-
});
|
138
114
|
Object.defineProperty(exports, "IconDone", {
|
139
115
|
enumerable: true,
|
140
116
|
get: function get() {
|
141
117
|
return _IconDone.IconDone;
|
142
118
|
}
|
143
119
|
});
|
144
|
-
Object.defineProperty(exports, "IconInfoCircleOutline", {
|
145
|
-
enumerable: true,
|
146
|
-
get: function get() {
|
147
|
-
return _IconInfoCircleOutline.IconInfoCircleOutline;
|
148
|
-
}
|
149
|
-
});
|
150
120
|
Object.defineProperty(exports, "IconMic", {
|
151
121
|
enumerable: true,
|
152
122
|
get: function get() {
|
@@ -165,13 +135,9 @@ Object.defineProperty(exports, "IconPlus", {
|
|
165
135
|
return _IconPlus.IconPlus;
|
166
136
|
}
|
167
137
|
});
|
168
|
-
var _IconDisclosureLeftWithOffset = /*#__PURE__*/require("./Icons/IconDisclosureLeftWithOffset");
|
169
138
|
var _IconDisclosureLeft = /*#__PURE__*/require("./Icons/IconDisclosureLeft");
|
170
139
|
var _IconDisclosureRight = /*#__PURE__*/require("./Icons/IconDisclosureRight");
|
171
|
-
var _IconDisclosureRightWithOffset = /*#__PURE__*/require("./Icons/IconDisclosureRightWithOffset");
|
172
140
|
var _IconDisclosureDownFill = /*#__PURE__*/require("./Icons/IconDisclosureDownFill");
|
173
|
-
var _IconDisclosureDownWithOffset = /*#__PURE__*/require("./Icons/IconDisclosureDownWithOffset");
|
174
|
-
var _IconDisclosureUpWithOffset = /*#__PURE__*/require("./Icons/IconDisclosureUpWithOffset");
|
175
141
|
var _IconMic = /*#__PURE__*/require("./Icons/IconMic");
|
176
142
|
var _IconChevronLeft = /*#__PURE__*/require("./Icons/IconChevronLeft");
|
177
143
|
var _IconChevronDoubleLeft = /*#__PURE__*/require("./Icons/IconChevronDoubleLeft");
|
@@ -190,5 +156,4 @@ var _IconBlankDocOutline = /*#__PURE__*/require("./Icons/IconBlankDocOutline");
|
|
190
156
|
var _IconBlankOutline = /*#__PURE__*/require("./Icons/IconBlankOutline");
|
191
157
|
var _IconBlankPdfOutline = /*#__PURE__*/require("./Icons/IconBlankPdfOutline");
|
192
158
|
var _IconBlankTxtOutline = /*#__PURE__*/require("./Icons/IconBlankTxtOutline");
|
193
|
-
var _IconBlankXlsOutline = /*#__PURE__*/require("./Icons/IconBlankXlsOutline");
|
194
|
-
var _IconInfoCircleOutline = /*#__PURE__*/require("./Icons/IconInfoCircleOutline");
|
159
|
+
var _IconBlankXlsOutline = /*#__PURE__*/require("./Icons/IconBlankXlsOutline");
|
@@ -1,55 +1,23 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import type { ComponentProps } from 'react';
|
3
3
|
import type { StoryObj, Meta } from '@storybook/react';
|
4
|
-
import { disableProps } from '@salutejs/plasma-sb-utils';
|
5
4
|
|
6
5
|
import { segmentGroupConfig } from '../../../../components/Segment';
|
7
6
|
import { mergeConfig } from '../../../../engines';
|
8
7
|
import { WithTheme, argTypesFromConfig } from '../../../_helpers';
|
9
8
|
import { SegmentProvider } from '../../../../components/Segment/SegmentProvider';
|
10
|
-
import { Counter } from '../Counter/Counter';
|
11
|
-
import { IconMic } from '../../../../components/_Icon';
|
12
9
|
|
13
10
|
import { config } from './SegmentGroup.config';
|
14
11
|
import { SegmentItem, SegmentGroup } from './Segment';
|
15
12
|
|
16
|
-
const
|
17
|
-
const contentRightOptions = ['none', 'text', 'counter', 'icon'];
|
13
|
+
const segmentItemViews = ['clear', 'default', 'secondary'];
|
18
14
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
type CustomStoryProps = {
|
23
|
-
itemQuantity: number;
|
24
|
-
contentLeft: string;
|
25
|
-
contentRight: string;
|
26
|
-
segmentItemView?: 'default' | 'secondary';
|
27
|
-
};
|
28
|
-
|
29
|
-
type StorySegmentProps = ComponentProps<typeof SegmentGroup> & CustomStoryProps;
|
30
|
-
|
31
|
-
const sizes = ['xs', 's', 'm', 'l'] as const;
|
32
|
-
|
33
|
-
const getContentLeft = (contentLeftOption: string, size: Size) => {
|
34
|
-
const iconSize = size === 'xs' ? 'xs' : 's';
|
35
|
-
return contentLeftOption === 'icon' ? <IconMic size={iconSize} color="inherit" /> : undefined;
|
15
|
+
type CustomStorySegmentProps = {
|
16
|
+
segmentItemView?: string;
|
17
|
+
contentItemsNumber?: number;
|
36
18
|
};
|
37
19
|
|
38
|
-
|
39
|
-
const iconSize = size === 'xs' ? 'xs' : 's';
|
40
|
-
const counterSize = size === 'xs' ? 'xxs' : 'xs';
|
41
|
-
|
42
|
-
switch (contentRightOption) {
|
43
|
-
case 'icon':
|
44
|
-
return <IconMic size={iconSize} color="inherit" />;
|
45
|
-
case 'counter':
|
46
|
-
return <Counter size={counterSize} count={1} view="positive" />;
|
47
|
-
case 'text':
|
48
|
-
return 'Text';
|
49
|
-
default:
|
50
|
-
return undefined;
|
51
|
-
}
|
52
|
-
};
|
20
|
+
type StorySegmentProps = ComponentProps<typeof SegmentGroup> & CustomStorySegmentProps;
|
53
21
|
|
54
22
|
const meta: Meta<StorySegmentProps> = {
|
55
23
|
title: 'plasma_b2c/Segment',
|
@@ -57,19 +25,6 @@ const meta: Meta<StorySegmentProps> = {
|
|
57
25
|
component: SegmentGroup,
|
58
26
|
argTypes: {
|
59
27
|
...argTypesFromConfig(mergeConfig(segmentGroupConfig, config)),
|
60
|
-
...disableProps(['filledBackground', 'view', 'selectionMode', 'clip']),
|
61
|
-
stretch: {
|
62
|
-
control: {
|
63
|
-
type: 'boolean',
|
64
|
-
},
|
65
|
-
if: { arg: 'orientation', eq: 'horizontal' },
|
66
|
-
},
|
67
|
-
orientation: {
|
68
|
-
options: ['horizontal', 'vertical'],
|
69
|
-
control: {
|
70
|
-
type: 'select',
|
71
|
-
},
|
72
|
-
},
|
73
28
|
selectionMode: {
|
74
29
|
options: ['single', 'multiple'],
|
75
30
|
control: {
|
@@ -82,91 +37,60 @@ const meta: Meta<StorySegmentProps> = {
|
|
82
37
|
type: 'select',
|
83
38
|
},
|
84
39
|
},
|
85
|
-
contentLeft: {
|
86
|
-
options: contentLeftOptions,
|
87
|
-
control: {
|
88
|
-
type: 'select',
|
89
|
-
},
|
90
|
-
},
|
91
|
-
contentRight: {
|
92
|
-
options: contentRightOptions,
|
93
|
-
control: {
|
94
|
-
type: 'select',
|
95
|
-
},
|
96
|
-
},
|
97
|
-
size: {
|
98
|
-
options: sizes,
|
99
|
-
control: {
|
100
|
-
type: 'select',
|
101
|
-
},
|
102
|
-
},
|
103
40
|
},
|
104
41
|
};
|
105
42
|
|
106
43
|
export default meta;
|
107
44
|
|
108
|
-
const StoryDefault = (
|
109
|
-
const
|
110
|
-
disabled,
|
111
|
-
itemQuantity,
|
112
|
-
size,
|
113
|
-
stretch,
|
114
|
-
orientation,
|
115
|
-
|
116
|
-
segmentItemView,
|
117
|
-
contentLeft: contentLeftOption,
|
118
|
-
contentRight: contentRightOption,
|
119
|
-
...args
|
120
|
-
} = props;
|
121
|
-
const items = Array(itemQuantity).fill(0);
|
122
|
-
const isVertical = orientation === 'vertical';
|
45
|
+
const StoryDefault = ({ contentItemsNumber, selectionMode, segmentItemView, view, ...args }: StorySegmentProps) => {
|
46
|
+
const contentItems = Array(contentItemsNumber).fill(0);
|
123
47
|
|
124
48
|
return (
|
125
|
-
|
126
|
-
<
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
49
|
+
<>
|
50
|
+
<h3>Segment with auto width</h3>
|
51
|
+
<SegmentProvider>
|
52
|
+
<SegmentGroup view={view} selectionMode={selectionMode} {...args}>
|
53
|
+
{contentItems.map((_, i) => (
|
54
|
+
<SegmentItem
|
55
|
+
view={segmentItemView}
|
56
|
+
label={`Label ${i}`}
|
57
|
+
value={`label_${i}`}
|
58
|
+
key={`label_${i}`}
|
59
|
+
{...args}
|
60
|
+
/>
|
61
|
+
))}
|
62
|
+
</SegmentGroup>
|
63
|
+
</SegmentProvider>
|
64
|
+
|
65
|
+
<h3>Segment with fixed width</h3>
|
66
|
+
<SegmentProvider>
|
67
|
+
<SegmentGroup view={view} style={{ width: '28.5rem' }} selectionMode={selectionMode} {...args}>
|
68
|
+
{contentItems.map((_, i) => (
|
69
|
+
<SegmentItem
|
70
|
+
view={segmentItemView}
|
71
|
+
label={`Label ${i}`}
|
72
|
+
value={`label_${i}`}
|
73
|
+
key={`label_${i}`}
|
74
|
+
{...args}
|
75
|
+
/>
|
76
|
+
))}
|
77
|
+
</SegmentGroup>
|
78
|
+
</SegmentProvider>
|
79
|
+
</>
|
150
80
|
);
|
151
81
|
};
|
152
82
|
|
153
83
|
export const Default: StoryObj<StorySegmentProps> = {
|
154
84
|
args: {
|
155
|
-
|
85
|
+
view: 'clear',
|
156
86
|
size: 'xs',
|
157
|
-
segmentItemView: '
|
87
|
+
segmentItemView: 'clear',
|
158
88
|
selectionMode: 'single',
|
89
|
+
contentItemsNumber: 11,
|
159
90
|
pilled: false,
|
160
91
|
filledBackground: false,
|
161
|
-
hasBackground: false,
|
162
92
|
disabled: false,
|
163
93
|
stretch: false,
|
164
|
-
orientation: 'horizontal',
|
165
|
-
contentRight: 'none',
|
166
|
-
contentLeft: 'none',
|
167
|
-
},
|
168
|
-
argTypes: {
|
169
|
-
...disableProps(['filledBackground', 'view', 'selectionMode', 'clip']),
|
170
94
|
},
|
171
|
-
render: (args
|
95
|
+
render: (args) => <StoryDefault {...args} />,
|
172
96
|
};
|