@salutejs/plasma-new-hope 0.93.0-canary.1224.9666441939.0 → 0.93.0-canary.1252.9677594480.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Calendar/Calendar.tokens.js +28 -67
- package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
- package/cjs/components/Calendar/Calendar.types.js.map +1 -1
- package/cjs/components/Calendar/CalendarBase/CalendarBase.css +29 -57
- package/cjs/components/Calendar/CalendarBase/CalendarBase.js +0 -6
- package/cjs/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
- package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
- package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
- package/cjs/components/Calendar/CalendarBase/{CalendarBase.styles_1m6uih1.css → CalendarBase.styles_rv9ax9.css} +1 -1
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +30 -58
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +0 -6
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js +1 -1
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js.map +1 -1
- package/{es/components/Calendar/CalendarDouble/CalendarDouble.styles_e9ada0.css → cjs/components/Calendar/CalendarDouble/CalendarDouble.styles_1rc2ejs.css} +2 -2
- package/cjs/components/Calendar/hoc/withRange.js.map +1 -1
- package/cjs/components/Calendar/hooks/useDays.js +1 -1
- package/cjs/components/Calendar/hooks/useDays.js.map +1 -1
- package/cjs/components/Calendar/mixins/index.js +18 -0
- package/cjs/components/Calendar/mixins/index.js.map +1 -0
- package/cjs/components/Calendar/mixins/index_o3bz9l.css +1 -0
- package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.css +4 -4
- package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +9 -9
- package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_xf9c5e.css +4 -0
- package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.css +7 -7
- package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +1 -1
- package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js.map +1 -1
- package/{es/components/Calendar/ui/CalendarDays/CalendarDays.styles_1oq8sud.css → cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles_bnrjbd.css} +1 -1
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +8 -36
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +17 -31
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +12 -27
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1c4p417.css +6 -0
- package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
- package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
- package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +1 -1
- package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_1jnzviu.css +4 -0
- package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
- package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
- package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +1 -1
- package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles_1lubnwe.css +4 -0
- package/cjs/components/Calendar/utils/index.js.map +1 -1
- package/cjs/components/Combobox/Combobox.js +2 -2
- package/cjs/components/Combobox/Combobox.js.map +1 -1
- package/cjs/components/Dropdown/Dropdown.js +2 -4
- package/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +4 -8
- package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -6
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
- package/cjs/components/Dropdown/utils/index.js +17 -0
- package/cjs/components/Dropdown/utils/index.js.map +1 -1
- package/cjs/components/Range/Range.css +6 -6
- package/cjs/components/Range/Range.js +2 -17
- package/cjs/components/Range/Range.js.map +1 -1
- package/cjs/components/Range/Range.styles.js +1 -1
- package/cjs/components/Range/Range.styles.js.map +1 -1
- package/cjs/components/Range/Range.styles_mc4w65.css +8 -0
- package/cjs/components/Segment/SegmentProvider/SegmentProvider.js +7 -3
- package/cjs/components/Segment/SegmentProvider/SegmentProvider.js.map +1 -1
- package/cjs/components/Select/Select.js +2 -2
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Slider/Slider.css +3 -3
- package/cjs/components/Slider/components/Double/Double.css +3 -3
- package/cjs/components/TextField/TextField.tokens.js +1 -1
- package/cjs/components/TextField/TextField.tokens.js.map +1 -1
- package/cjs/components/TextField/variations/_read-only/base.js +1 -1
- package/cjs/components/TextField/variations/_read-only/base_134hshp.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_ntoddv.css +1 -0
- package/cjs/components/TextField/variations/_view/base.js +1 -1
- package/cjs/components/TextField/variations/_view/base_19gxyva.css +1 -0
- package/cjs/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
- package/cjs/components/_Icon/Icon.assets/DisclosureLeft.js.map +1 -1
- package/cjs/components/_Icon/Icon.assets/DisclosureRight.js +15 -5
- package/cjs/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
- package/cjs/index.css +38 -71
- package/cjs/index.js +0 -12
- package/cjs/index.js.map +1 -1
- package/cjs/utils/index.js.map +1 -1
- package/es/components/Calendar/Calendar.tokens.js +28 -67
- package/es/components/Calendar/Calendar.tokens.js.map +1 -1
- package/es/components/Calendar/Calendar.types.js.map +1 -1
- package/es/components/Calendar/CalendarBase/CalendarBase.css +29 -57
- package/es/components/Calendar/CalendarBase/CalendarBase.js +1 -7
- package/es/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
- package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
- package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
- package/es/components/Calendar/CalendarBase/{CalendarBase.styles_1m6uih1.css → CalendarBase.styles_rv9ax9.css} +1 -1
- package/es/components/Calendar/CalendarDouble/CalendarDouble.css +30 -58
- package/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -7
- package/es/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
- package/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js +1 -1
- package/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js.map +1 -1
- package/{cjs/components/Calendar/CalendarDouble/CalendarDouble.styles_e9ada0.css → es/components/Calendar/CalendarDouble/CalendarDouble.styles_1rc2ejs.css} +2 -2
- package/es/components/Calendar/hoc/withRange.js.map +1 -1
- package/es/components/Calendar/hooks/useDays.js +1 -1
- package/es/components/Calendar/hooks/useDays.js.map +1 -1
- package/es/components/Calendar/mixins/index.js +14 -0
- package/es/components/Calendar/mixins/index.js.map +1 -0
- package/es/components/Calendar/mixins/index_o3bz9l.css +1 -0
- package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.css +4 -4
- package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +9 -9
- package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js.map +1 -1
- package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_xf9c5e.css +4 -0
- package/es/components/Calendar/ui/CalendarDays/CalendarDays.css +7 -7
- package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +1 -1
- package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js.map +1 -1
- package/{cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles_1oq8sud.css → es/components/Calendar/ui/CalendarDays/CalendarDays.styles_bnrjbd.css} +1 -1
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +8 -36
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +18 -32
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +13 -26
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1c4p417.css +6 -0
- package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
- package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
- package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
- package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +1 -1
- package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js.map +1 -1
- package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_1jnzviu.css +4 -0
- package/es/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
- package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
- package/es/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
- package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +1 -1
- package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js.map +1 -1
- package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles_1lubnwe.css +4 -0
- package/es/components/Calendar/utils/index.js.map +1 -1
- package/es/components/Combobox/Combobox.js +1 -1
- package/es/components/Combobox/Combobox.js.map +1 -1
- package/es/components/Dropdown/Dropdown.js +2 -4
- package/es/components/Dropdown/Dropdown.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +4 -8
- package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -6
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
- package/es/components/Dropdown/utils/index.js +16 -1
- package/es/components/Dropdown/utils/index.js.map +1 -1
- package/es/components/Range/Range.css +6 -6
- package/es/components/Range/Range.js +3 -18
- package/es/components/Range/Range.js.map +1 -1
- package/es/components/Range/Range.styles.js +1 -1
- package/es/components/Range/Range.styles.js.map +1 -1
- package/es/components/Range/Range.styles_mc4w65.css +8 -0
- package/es/components/Segment/SegmentProvider/SegmentProvider.js +7 -3
- package/es/components/Segment/SegmentProvider/SegmentProvider.js.map +1 -1
- package/es/components/Select/Select.js +1 -1
- package/es/components/Select/Select.js.map +1 -1
- package/es/components/Slider/Slider.css +3 -3
- package/es/components/Slider/components/Double/Double.css +3 -3
- package/es/components/TextField/TextField.tokens.js +1 -1
- package/es/components/TextField/TextField.tokens.js.map +1 -1
- package/es/components/TextField/variations/_read-only/base.js +1 -1
- package/es/components/TextField/variations/_read-only/base_134hshp.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_ntoddv.css +1 -0
- package/es/components/TextField/variations/_view/base.js +1 -1
- package/es/components/TextField/variations/_view/base_19gxyva.css +1 -0
- package/es/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
- package/es/components/_Icon/Icon.assets/DisclosureLeft.js.map +1 -1
- package/es/components/_Icon/Icon.assets/DisclosureRight.js +15 -5
- package/es/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
- package/es/index.css +38 -71
- package/es/index.js +0 -4
- package/es/index.js.map +1 -1
- package/es/utils/index.js.map +1 -1
- package/package.json +2 -3
- package/styled-components/cjs/components/Calendar/Calendar.tokens.js +28 -67
- package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.js +0 -6
- package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -2
- package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +0 -6
- package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js +2 -2
- package/styled-components/cjs/components/Calendar/hooks/useDays.js +1 -1
- package/styled-components/cjs/components/Calendar/mixins/index.js +29 -30
- package/styled-components/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +20 -27
- package/styled-components/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +1 -2
- package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +16 -30
- package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -29
- package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
- package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +12 -26
- package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
- package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +14 -26
- package/styled-components/cjs/components/Combobox/Combobox.js +7 -6
- package/styled-components/cjs/components/Dropdown/Dropdown.js +2 -3
- package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +4 -8
- package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -6
- package/styled-components/cjs/components/Dropdown/utils/index.js +16 -1
- package/styled-components/cjs/components/Range/Range.js +2 -17
- package/styled-components/cjs/components/Range/Range.styles.js +2 -3
- package/styled-components/cjs/components/Segment/Segment.template-doc.mdx +7 -2
- package/styled-components/cjs/components/Segment/SegmentProvider/SegmentProvider.js +7 -3
- package/styled-components/cjs/components/Select/Select.js +8 -7
- package/styled-components/cjs/components/TextArea/TextArea.template-doc.mdx +0 -1
- package/styled-components/cjs/components/TextField/TextField.tokens.js +1 -1
- package/styled-components/cjs/components/TextField/variations/_size/base.js +1 -1
- package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
- package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRight.js +15 -5
- package/styled-components/cjs/components/_Icon/index.js +0 -7
- package/styled-components/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +6 -24
- package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +2 -5
- package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +2 -5
- package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.config.js +4 -4
- package/styled-components/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +6 -24
- package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +2 -5
- package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +2 -5
- package/styled-components/cjs/examples/plasma_web/components/Range/Range.config.js +4 -4
- package/styled-components/cjs/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +6 -24
- package/styled-components/cjs/examples/sds_engineer/components/Calendar/CalendarBase.config.js +2 -5
- package/styled-components/cjs/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +2 -5
- package/styled-components/cjs/index.js +0 -11
- package/styled-components/cjs/utils/index.js +0 -22
- package/styled-components/es/components/Calendar/Calendar.tokens.js +28 -67
- package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.js +1 -7
- package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -2
- package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -7
- package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js +2 -2
- package/styled-components/es/components/Calendar/hooks/useDays.js +1 -1
- package/styled-components/es/components/Calendar/mixins/index.js +27 -3
- package/styled-components/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +19 -26
- package/styled-components/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +1 -2
- package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +18 -32
- package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -29
- package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
- package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +11 -25
- package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
- package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +13 -25
- package/styled-components/es/components/Combobox/Combobox.js +2 -1
- package/styled-components/es/components/Dropdown/Dropdown.js +3 -4
- package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +4 -8
- package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -6
- package/styled-components/es/components/Dropdown/utils/index.js +15 -0
- package/styled-components/es/components/Range/Range.js +3 -18
- package/styled-components/es/components/Range/Range.styles.js +2 -3
- package/styled-components/es/components/Segment/Segment.template-doc.mdx +7 -2
- package/styled-components/es/components/Segment/SegmentProvider/SegmentProvider.js +7 -3
- package/styled-components/es/components/Select/Select.js +2 -1
- package/styled-components/es/components/TextArea/TextArea.template-doc.mdx +0 -1
- package/styled-components/es/components/TextField/TextField.tokens.js +1 -1
- package/styled-components/es/components/TextField/variations/_size/base.js +1 -1
- package/styled-components/es/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
- package/styled-components/es/components/_Icon/Icon.assets/DisclosureRight.js +15 -5
- package/styled-components/es/components/_Icon/index.js +0 -1
- package/styled-components/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +6 -24
- package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +2 -5
- package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +2 -5
- package/styled-components/es/examples/plasma_b2c/components/Range/Range.config.js +4 -4
- package/styled-components/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +6 -24
- package/styled-components/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +2 -5
- package/styled-components/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +2 -5
- package/styled-components/es/examples/plasma_web/components/Range/Range.config.js +4 -4
- package/styled-components/es/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +6 -24
- package/styled-components/es/examples/sds_engineer/components/Calendar/CalendarBase.config.js +2 -5
- package/styled-components/es/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +2 -5
- package/styled-components/es/index.js +1 -2
- package/styled-components/es/utils/index.js +0 -1
- package/types/components/Accordion/utils/index.d.ts +1 -1
- package/types/components/Calendar/Calendar.tokens.d.ts +26 -60
- package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
- package/types/components/Calendar/Calendar.types.d.ts +1 -1
- package/types/components/Calendar/Calendar.types.d.ts.map +1 -1
- package/types/components/Calendar/CalendarBase/CalendarBase.d.ts +3 -27
- package/types/components/Calendar/CalendarBase/CalendarBase.d.ts.map +1 -1
- package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
- package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts +3 -30
- package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts.map +1 -1
- package/types/components/Calendar/hooks/useDays.d.ts.map +1 -1
- package/types/components/Calendar/mixins/index.d.ts +8 -3
- package/types/components/Calendar/mixins/index.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarDays/CalendarDays.styles.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +7 -47
- package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.types.d.ts +0 -1
- package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.types.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarYears/CalendarYears.styles.d.ts.map +1 -1
- package/types/components/Calendar/utils/index.d.ts +1 -1
- package/types/components/Calendar/utils/index.d.ts.map +1 -1
- package/types/components/Combobox/Combobox.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts.map +1 -1
- package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts +0 -1
- package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts.map +1 -1
- package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
- package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts +0 -1
- package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts.map +1 -1
- package/types/components/Dropdown/utils/index.d.ts +3 -1
- package/types/components/Dropdown/utils/index.d.ts.map +1 -1
- package/types/components/Range/Range.d.ts +3 -3
- package/types/components/Range/Range.d.ts.map +1 -1
- package/types/components/Range/Range.styles.d.ts.map +1 -1
- package/types/components/Range/Range.types.d.ts +3 -8
- package/types/components/Range/Range.types.d.ts.map +1 -1
- package/types/components/Range/index.d.ts +1 -1
- package/types/components/Range/index.d.ts.map +1 -1
- package/types/components/Segment/SegmentProvider/SegmentProvider.d.ts +3 -3
- package/types/components/Segment/SegmentProvider/SegmentProvider.d.ts.map +1 -1
- package/types/components/Segment/SegmentProvider/SegmentProvider.types.d.ts +11 -3
- package/types/components/Segment/SegmentProvider/SegmentProvider.types.d.ts.map +1 -1
- package/types/components/Segment/SegmentProvider/index.d.ts +1 -0
- package/types/components/Segment/SegmentProvider/index.d.ts.map +1 -1
- package/types/components/Segment/index.d.ts +1 -0
- package/types/components/Segment/index.d.ts.map +1 -1
- package/types/components/Select/Select.d.ts.map +1 -1
- package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
- package/types/components/_Icon/Icon.assets/DisclosureRight.d.ts.map +1 -1
- package/types/components/_Icon/index.d.ts +0 -1
- package/types/components/_Icon/index.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Calendar/Calendar.d.ts +4 -15
- package/types/examples/plasma_b2c/components/Calendar/Calendar.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts +0 -3
- package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts +0 -3
- package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Range/Range.d.ts +3 -3
- package/types/examples/plasma_b2c/components/Range/Range.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Calendar/Calendar.d.ts +4 -15
- package/types/examples/plasma_web/components/Calendar/Calendar.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts +0 -3
- package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts +0 -3
- package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Range/Range.d.ts +3 -3
- package/types/examples/plasma_web/components/Range/Range.d.ts.map +1 -1
- package/types/examples/sds_engineer/components/Calendar/Calendar.d.ts +4 -15
- package/types/examples/sds_engineer/components/Calendar/Calendar.d.ts.map +1 -1
- package/types/examples/sds_engineer/components/Calendar/CalendarBase.config.d.ts +0 -3
- package/types/examples/sds_engineer/components/Calendar/CalendarBase.config.d.ts.map +1 -1
- package/types/examples/sds_engineer/components/Calendar/CalendarDouble.config.d.ts +0 -3
- package/types/examples/sds_engineer/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
- package/types/index.d.ts +0 -1
- package/types/index.d.ts.map +1 -1
- package/types/utils/index.d.ts +0 -1
- package/types/utils/index.d.ts.map +1 -1
- package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_fznpy7.css +0 -4
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_gnorek.css +0 -8
- package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_wmlwil.css +0 -4
- package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles_f2aje6.css +0 -4
- package/cjs/components/DatePicker/DatePicker.tokens.js +0 -189
- package/cjs/components/DatePicker/DatePicker.tokens.js.map +0 -1
- package/cjs/components/DatePicker/DatePickerBase.styles.js +0 -30
- package/cjs/components/DatePicker/DatePickerBase.styles.js.map +0 -1
- package/cjs/components/DatePicker/DatePickerBase.styles_1thp2xv.css +0 -1
- package/cjs/components/DatePicker/RangeDate/RangeDate.css +0 -152
- package/cjs/components/DatePicker/RangeDate/RangeDate.js +0 -285
- package/cjs/components/DatePicker/RangeDate/RangeDate.js.map +0 -1
- package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +0 -51
- package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +0 -1
- package/cjs/components/DatePicker/RangeDate/RangeDate.styles_ww61h9.css +0 -5
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +0 -144
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +0 -83
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +0 -1
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +0 -42
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +0 -1
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_wp3vfj.css +0 -2
- package/cjs/components/DatePicker/RangeDate/variations/_disabled/base.js +0 -9
- package/cjs/components/DatePicker/RangeDate/variations/_disabled/base.js.map +0 -1
- package/cjs/components/DatePicker/RangeDate/variations/_disabled/base_tl4jc7.css +0 -1
- package/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js +0 -9
- package/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js.map +0 -1
- package/cjs/components/DatePicker/RangeDate/variations/_readonly/base_f58pkk.css +0 -1
- package/cjs/components/DatePicker/RangeDate/variations/_size/base.js +0 -9
- package/cjs/components/DatePicker/RangeDate/variations/_size/base.js.map +0 -1
- package/cjs/components/DatePicker/RangeDate/variations/_size/base_1911nyw.css +0 -1
- package/cjs/components/DatePicker/RangeDate/variations/_view/base.js +0 -9
- package/cjs/components/DatePicker/RangeDate/variations/_view/base.js.map +0 -1
- package/cjs/components/DatePicker/RangeDate/variations/_view/base_11yn9y8.css +0 -1
- package/cjs/components/DatePicker/SingleDate/SingleDate.css +0 -134
- package/cjs/components/DatePicker/SingleDate/SingleDate.js +0 -183
- package/cjs/components/DatePicker/SingleDate/SingleDate.js.map +0 -1
- package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +0 -51
- package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +0 -1
- package/cjs/components/DatePicker/SingleDate/SingleDate.styles_18b5qkz.css +0 -5
- package/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js +0 -9
- package/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js.map +0 -1
- package/cjs/components/DatePicker/SingleDate/variations/_disabled/base_1rfgfsz.css +0 -1
- package/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js +0 -9
- package/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js.map +0 -1
- package/cjs/components/DatePicker/SingleDate/variations/_readonly/base_1jucwp.css +0 -1
- package/cjs/components/DatePicker/SingleDate/variations/_size/base.js +0 -9
- package/cjs/components/DatePicker/SingleDate/variations/_size/base.js.map +0 -1
- package/cjs/components/DatePicker/SingleDate/variations/_size/base_lf7y25.css +0 -1
- package/cjs/components/DatePicker/SingleDate/variations/_view/base.js +0 -9
- package/cjs/components/DatePicker/SingleDate/variations/_view/base.js.map +0 -1
- package/cjs/components/DatePicker/SingleDate/variations/_view/base_15vaheb.css +0 -1
- package/cjs/components/DatePicker/hooks/useDatePicker.js +0 -79
- package/cjs/components/DatePicker/hooks/useDatePicker.js.map +0 -1
- package/cjs/components/DatePicker/utils/dateHelper.js +0 -84
- package/cjs/components/DatePicker/utils/dateHelper.js.map +0 -1
- package/cjs/components/Range/Range.styles_9rort8.css +0 -8
- package/cjs/components/TextField/variations/_read-only/base_1vu13zn.css +0 -1
- package/cjs/components/TextField/variations/_size/base_orwx1f.css +0 -1
- package/cjs/components/TextField/variations/_view/base_18ea6z7.css +0 -1
- package/cjs/components/_Icon/Icon.assets/DisclosureDownFill.js +0 -23
- package/cjs/components/_Icon/Icon.assets/DisclosureDownFill.js.map +0 -1
- package/cjs/components/_Icon/Icons/IconDisclosureDownFill.js +0 -23
- package/cjs/components/_Icon/Icons/IconDisclosureDownFill.js.map +0 -1
- package/cjs/utils/datejs.js +0 -12
- package/cjs/utils/datejs.js.map +0 -1
- package/cjs/utils/getPopoverPlacement.js +0 -23
- package/cjs/utils/getPopoverPlacement.js.map +0 -1
- package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_fznpy7.css +0 -4
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_gnorek.css +0 -8
- package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_wmlwil.css +0 -4
- package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles_f2aje6.css +0 -4
- package/es/components/DatePicker/DatePicker.tokens.js +0 -184
- package/es/components/DatePicker/DatePicker.tokens.js.map +0 -1
- package/es/components/DatePicker/DatePickerBase.styles.js +0 -26
- package/es/components/DatePicker/DatePickerBase.styles.js.map +0 -1
- package/es/components/DatePicker/DatePickerBase.styles_1thp2xv.css +0 -1
- package/es/components/DatePicker/RangeDate/RangeDate.css +0 -152
- package/es/components/DatePicker/RangeDate/RangeDate.js +0 -280
- package/es/components/DatePicker/RangeDate/RangeDate.js.map +0 -1
- package/es/components/DatePicker/RangeDate/RangeDate.styles.js +0 -43
- package/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +0 -1
- package/es/components/DatePicker/RangeDate/RangeDate.styles_ww61h9.css +0 -5
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +0 -144
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +0 -79
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +0 -1
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +0 -37
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +0 -1
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_wp3vfj.css +0 -2
- package/es/components/DatePicker/RangeDate/variations/_disabled/base.js +0 -5
- package/es/components/DatePicker/RangeDate/variations/_disabled/base.js.map +0 -1
- package/es/components/DatePicker/RangeDate/variations/_disabled/base_tl4jc7.css +0 -1
- package/es/components/DatePicker/RangeDate/variations/_readonly/base.js +0 -5
- package/es/components/DatePicker/RangeDate/variations/_readonly/base.js.map +0 -1
- package/es/components/DatePicker/RangeDate/variations/_readonly/base_f58pkk.css +0 -1
- package/es/components/DatePicker/RangeDate/variations/_size/base.js +0 -5
- package/es/components/DatePicker/RangeDate/variations/_size/base.js.map +0 -1
- package/es/components/DatePicker/RangeDate/variations/_size/base_1911nyw.css +0 -1
- package/es/components/DatePicker/RangeDate/variations/_view/base.js +0 -5
- package/es/components/DatePicker/RangeDate/variations/_view/base.js.map +0 -1
- package/es/components/DatePicker/RangeDate/variations/_view/base_11yn9y8.css +0 -1
- package/es/components/DatePicker/SingleDate/SingleDate.css +0 -134
- package/es/components/DatePicker/SingleDate/SingleDate.js +0 -178
- package/es/components/DatePicker/SingleDate/SingleDate.js.map +0 -1
- package/es/components/DatePicker/SingleDate/SingleDate.styles.js +0 -43
- package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +0 -1
- package/es/components/DatePicker/SingleDate/SingleDate.styles_18b5qkz.css +0 -5
- package/es/components/DatePicker/SingleDate/variations/_disabled/base.js +0 -5
- package/es/components/DatePicker/SingleDate/variations/_disabled/base.js.map +0 -1
- package/es/components/DatePicker/SingleDate/variations/_disabled/base_1rfgfsz.css +0 -1
- package/es/components/DatePicker/SingleDate/variations/_readonly/base.js +0 -5
- package/es/components/DatePicker/SingleDate/variations/_readonly/base.js.map +0 -1
- package/es/components/DatePicker/SingleDate/variations/_readonly/base_1jucwp.css +0 -1
- package/es/components/DatePicker/SingleDate/variations/_size/base.js +0 -5
- package/es/components/DatePicker/SingleDate/variations/_size/base.js.map +0 -1
- package/es/components/DatePicker/SingleDate/variations/_size/base_lf7y25.css +0 -1
- package/es/components/DatePicker/SingleDate/variations/_view/base.js +0 -5
- package/es/components/DatePicker/SingleDate/variations/_view/base.js.map +0 -1
- package/es/components/DatePicker/SingleDate/variations/_view/base_15vaheb.css +0 -1
- package/es/components/DatePicker/hooks/useDatePicker.js +0 -75
- package/es/components/DatePicker/hooks/useDatePicker.js.map +0 -1
- package/es/components/DatePicker/utils/dateHelper.js +0 -76
- package/es/components/DatePicker/utils/dateHelper.js.map +0 -1
- package/es/components/Range/Range.styles_9rort8.css +0 -8
- package/es/components/TextField/variations/_read-only/base_1vu13zn.css +0 -1
- package/es/components/TextField/variations/_size/base_orwx1f.css +0 -1
- package/es/components/TextField/variations/_view/base_18ea6z7.css +0 -1
- package/es/components/_Icon/Icon.assets/DisclosureDownFill.js +0 -19
- package/es/components/_Icon/Icon.assets/DisclosureDownFill.js.map +0 -1
- package/es/components/_Icon/Icons/IconDisclosureDownFill.js +0 -19
- package/es/components/_Icon/Icons/IconDisclosureDownFill.js.map +0 -1
- package/es/utils/datejs.js +0 -8
- package/es/utils/datejs.js.map +0 -1
- package/es/utils/getPopoverPlacement.js +0 -18
- package/es/utils/getPopoverPlacement.js.map +0 -1
- package/styled-components/cjs/components/Calendar/mixins/active.js +0 -12
- package/styled-components/cjs/components/Calendar/mixins/flex.js +0 -8
- package/styled-components/cjs/components/Calendar/mixins/selected.js +0 -24
- package/styled-components/cjs/components/DatePicker/DatePicker.template-doc.mdx +0 -150
- package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +0 -187
- package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +0 -19
- package/styled-components/cjs/components/DatePicker/DatePickerBase.types.js +0 -5
- package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.js +0 -293
- package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +0 -33
- package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.types.js +0 -5
- package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +0 -81
- package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +0 -26
- package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.js +0 -5
- package/styled-components/cjs/components/DatePicker/RangeDate/variations/_disabled/base.js +0 -9
- package/styled-components/cjs/components/DatePicker/RangeDate/variations/_disabled/tokens.json +0 -0
- package/styled-components/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js +0 -10
- package/styled-components/cjs/components/DatePicker/RangeDate/variations/_readonly/tokens.json +0 -4
- package/styled-components/cjs/components/DatePicker/RangeDate/variations/_size/base.js +0 -10
- package/styled-components/cjs/components/DatePicker/RangeDate/variations/_size/tokens.json +0 -0
- package/styled-components/cjs/components/DatePicker/RangeDate/variations/_view/base.js +0 -10
- package/styled-components/cjs/components/DatePicker/RangeDate/variations/_view/tokens.json +0 -0
- package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.js +0 -190
- package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +0 -33
- package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.types.js +0 -5
- package/styled-components/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js +0 -9
- package/styled-components/cjs/components/DatePicker/SingleDate/variations/_disabled/tokens.json +0 -4
- package/styled-components/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js +0 -10
- package/styled-components/cjs/components/DatePicker/SingleDate/variations/_readonly/tokens.json +0 -4
- package/styled-components/cjs/components/DatePicker/SingleDate/variations/_size/base.js +0 -10
- package/styled-components/cjs/components/DatePicker/SingleDate/variations/_size/tokens.json +0 -16
- package/styled-components/cjs/components/DatePicker/SingleDate/variations/_view/base.js +0 -10
- package/styled-components/cjs/components/DatePicker/SingleDate/variations/_view/tokens.json +0 -1
- package/styled-components/cjs/components/DatePicker/hooks/useDatePicker.js +0 -77
- package/styled-components/cjs/components/DatePicker/index.js +0 -44
- package/styled-components/cjs/components/DatePicker/utils/dateHelper.js +0 -78
- package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureDownFill.js +0 -22
- package/styled-components/cjs/components/_Icon/Icons/IconDisclosureDownFill.js +0 -22
- package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +0 -31
- package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.js +0 -13
- package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +0 -257
- package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +0 -31
- package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.js +0 -13
- package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +0 -257
- package/styled-components/cjs/utils/datejs.js +0 -11
- package/styled-components/cjs/utils/getPopoverPlacement.js +0 -21
- package/styled-components/es/components/Calendar/mixins/active.js +0 -6
- package/styled-components/es/components/Calendar/mixins/flex.js +0 -2
- package/styled-components/es/components/Calendar/mixins/selected.js +0 -18
- package/styled-components/es/components/DatePicker/DatePicker.template-doc.mdx +0 -150
- package/styled-components/es/components/DatePicker/DatePicker.tokens.js +0 -181
- package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +0 -12
- package/styled-components/es/components/DatePicker/DatePickerBase.types.js +0 -1
- package/styled-components/es/components/DatePicker/RangeDate/RangeDate.js +0 -284
- package/styled-components/es/components/DatePicker/RangeDate/RangeDate.styles.js +0 -25
- package/styled-components/es/components/DatePicker/RangeDate/RangeDate.types.js +0 -1
- package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +0 -74
- package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +0 -19
- package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.js +0 -1
- package/styled-components/es/components/DatePicker/RangeDate/variations/_disabled/base.js +0 -3
- package/styled-components/es/components/DatePicker/RangeDate/variations/_disabled/tokens.json +0 -0
- package/styled-components/es/components/DatePicker/RangeDate/variations/_readonly/base.js +0 -4
- package/styled-components/es/components/DatePicker/RangeDate/variations/_readonly/tokens.json +0 -4
- package/styled-components/es/components/DatePicker/RangeDate/variations/_size/base.js +0 -4
- package/styled-components/es/components/DatePicker/RangeDate/variations/_size/tokens.json +0 -0
- package/styled-components/es/components/DatePicker/RangeDate/variations/_view/base.js +0 -4
- package/styled-components/es/components/DatePicker/RangeDate/variations/_view/tokens.json +0 -0
- package/styled-components/es/components/DatePicker/SingleDate/SingleDate.js +0 -181
- package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +0 -25
- package/styled-components/es/components/DatePicker/SingleDate/SingleDate.types.js +0 -1
- package/styled-components/es/components/DatePicker/SingleDate/variations/_disabled/base.js +0 -3
- package/styled-components/es/components/DatePicker/SingleDate/variations/_disabled/tokens.json +0 -4
- package/styled-components/es/components/DatePicker/SingleDate/variations/_readonly/base.js +0 -4
- package/styled-components/es/components/DatePicker/SingleDate/variations/_readonly/tokens.json +0 -4
- package/styled-components/es/components/DatePicker/SingleDate/variations/_size/base.js +0 -4
- package/styled-components/es/components/DatePicker/SingleDate/variations/_size/tokens.json +0 -16
- package/styled-components/es/components/DatePicker/SingleDate/variations/_view/base.js +0 -4
- package/styled-components/es/components/DatePicker/SingleDate/variations/_view/tokens.json +0 -1
- package/styled-components/es/components/DatePicker/hooks/useDatePicker.js +0 -71
- package/styled-components/es/components/DatePicker/index.js +0 -3
- package/styled-components/es/components/DatePicker/utils/dateHelper.js +0 -72
- package/styled-components/es/components/_Icon/Icon.assets/DisclosureDownFill.js +0 -15
- package/styled-components/es/components/_Icon/Icons/IconDisclosureDownFill.js +0 -15
- package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +0 -25
- package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.js +0 -7
- package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +0 -257
- package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +0 -25
- package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.js +0 -7
- package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +0 -257
- package/styled-components/es/utils/datejs.js +0 -4
- package/styled-components/es/utils/getPopoverPlacement.js +0 -15
- package/types/components/Calendar/mixins/active.d.ts +0 -17
- package/types/components/Calendar/mixins/active.d.ts.map +0 -1
- package/types/components/Calendar/mixins/flex.d.ts +0 -3
- package/types/components/Calendar/mixins/flex.d.ts.map +0 -1
- package/types/components/Calendar/mixins/selected.d.ts +0 -40
- package/types/components/Calendar/mixins/selected.d.ts.map +0 -1
- package/types/components/DatePicker/DatePicker.tokens.d.ts +0 -182
- package/types/components/DatePicker/DatePicker.tokens.d.ts.map +0 -1
- package/types/components/DatePicker/DatePickerBase.styles.d.ts +0 -8
- package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +0 -1
- package/types/components/DatePicker/DatePickerBase.types.d.ts +0 -37
- package/types/components/DatePicker/DatePickerBase.types.d.ts.map +0 -1
- package/types/components/DatePicker/RangeDate/RangeDate.d.ts +0 -110
- package/types/components/DatePicker/RangeDate/RangeDate.d.ts.map +0 -1
- package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts +0 -115
- package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts.map +0 -1
- package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts +0 -76
- package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts.map +0 -1
- package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.d.ts +0 -4
- package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.d.ts.map +0 -1
- package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.d.ts +0 -5
- package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.d.ts.map +0 -1
- package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.d.ts +0 -29
- package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.d.ts.map +0 -1
- package/types/components/DatePicker/RangeDate/variations/_disabled/base.d.ts +0 -2
- package/types/components/DatePicker/RangeDate/variations/_disabled/base.d.ts.map +0 -1
- package/types/components/DatePicker/RangeDate/variations/_readonly/base.d.ts +0 -2
- package/types/components/DatePicker/RangeDate/variations/_readonly/base.d.ts.map +0 -1
- package/types/components/DatePicker/RangeDate/variations/_size/base.d.ts +0 -2
- package/types/components/DatePicker/RangeDate/variations/_size/base.d.ts.map +0 -1
- package/types/components/DatePicker/RangeDate/variations/_view/base.d.ts +0 -2
- package/types/components/DatePicker/RangeDate/variations/_view/base.d.ts.map +0 -1
- package/types/components/DatePicker/SingleDate/SingleDate.d.ts +0 -31
- package/types/components/DatePicker/SingleDate/SingleDate.d.ts.map +0 -1
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +0 -45
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +0 -1
- package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts +0 -120
- package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts.map +0 -1
- package/types/components/DatePicker/SingleDate/variations/_disabled/base.d.ts +0 -2
- package/types/components/DatePicker/SingleDate/variations/_disabled/base.d.ts.map +0 -1
- package/types/components/DatePicker/SingleDate/variations/_readonly/base.d.ts +0 -2
- package/types/components/DatePicker/SingleDate/variations/_readonly/base.d.ts.map +0 -1
- package/types/components/DatePicker/SingleDate/variations/_size/base.d.ts +0 -2
- package/types/components/DatePicker/SingleDate/variations/_size/base.d.ts.map +0 -1
- package/types/components/DatePicker/SingleDate/variations/_view/base.d.ts +0 -2
- package/types/components/DatePicker/SingleDate/variations/_view/base.d.ts.map +0 -1
- package/types/components/DatePicker/hooks/useDatePicker.d.ts +0 -10
- package/types/components/DatePicker/hooks/useDatePicker.d.ts.map +0 -1
- package/types/components/DatePicker/index.d.ts +0 -6
- package/types/components/DatePicker/index.d.ts.map +0 -1
- package/types/components/DatePicker/utils/dateHelper.d.ts +0 -10
- package/types/components/DatePicker/utils/dateHelper.d.ts.map +0 -1
- package/types/components/_Icon/Icon.assets/DisclosureDownFill.d.ts +0 -4
- package/types/components/_Icon/Icon.assets/DisclosureDownFill.d.ts.map +0 -1
- package/types/components/_Icon/Icons/IconDisclosureDownFill.d.ts +0 -4
- package/types/components/_Icon/Icons/IconDisclosureDownFill.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/DatePicker/DatePicker.config.d.ts +0 -24
- package/types/examples/plasma_b2c/components/DatePicker/DatePicker.config.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts +0 -75
- package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts.map +0 -1
- package/types/examples/plasma_web/components/DatePicker/DatePicker.config.d.ts +0 -24
- package/types/examples/plasma_web/components/DatePicker/DatePicker.config.d.ts.map +0 -1
- package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts +0 -75
- package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts.map +0 -1
- package/types/utils/datejs.d.ts +0 -3
- package/types/utils/datejs.d.ts.map +0 -1
- package/types/utils/getPopoverPlacement.d.ts +0 -5
- package/types/utils/getPopoverPlacement.d.ts.map +0 -1
package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx
DELETED
@@ -1,257 +0,0 @@
|
|
1
|
-
import React, { ComponentProps, useRef, useState } from 'react';
|
2
|
-
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
-
import { action } from '@storybook/addon-actions';
|
4
|
-
import { IconPlaceholder } from '@salutejs/plasma-sb-utils';
|
5
|
-
|
6
|
-
import { WithTheme } from '../../../_helpers';
|
7
|
-
import { IconButton } from '../IconButton/IconButton';
|
8
|
-
import { RangeInputRefs } from '../../../../components/Range/Range.types';
|
9
|
-
|
10
|
-
import { DatePicker, DatePickerRange } from './DatePicker';
|
11
|
-
|
12
|
-
const onChangeValue = action('onChangeValue');
|
13
|
-
const onBlur = action('onBlur');
|
14
|
-
const onFocus = action('onFocus');
|
15
|
-
|
16
|
-
const onChangeFirstValue = action('onChangeFirstValue');
|
17
|
-
const onChangeSecondValue = action('onChangeSecondValue');
|
18
|
-
|
19
|
-
const sizes = ['l', 'm', 's', 'xs'];
|
20
|
-
const views = ['default'];
|
21
|
-
const dividers = ['none', 'dash', 'icon'];
|
22
|
-
|
23
|
-
const meta: Meta = {
|
24
|
-
title: 'plasma_b2c/DatePicker',
|
25
|
-
decorators: [WithTheme],
|
26
|
-
argTypes: {
|
27
|
-
view: {
|
28
|
-
options: views,
|
29
|
-
control: {
|
30
|
-
type: 'inline-radio',
|
31
|
-
},
|
32
|
-
},
|
33
|
-
size: {
|
34
|
-
options: sizes,
|
35
|
-
control: {
|
36
|
-
type: 'inline-radio',
|
37
|
-
},
|
38
|
-
},
|
39
|
-
min: {
|
40
|
-
control: {
|
41
|
-
type: 'date',
|
42
|
-
},
|
43
|
-
},
|
44
|
-
max: {
|
45
|
-
control: {
|
46
|
-
type: 'date',
|
47
|
-
},
|
48
|
-
},
|
49
|
-
},
|
50
|
-
};
|
51
|
-
|
52
|
-
export default meta;
|
53
|
-
|
54
|
-
type StoryPropsDefault = ComponentProps<typeof DatePicker> & {
|
55
|
-
enableContentLeft: boolean;
|
56
|
-
enableContentRight: boolean;
|
57
|
-
};
|
58
|
-
|
59
|
-
const StoryDefault = ({
|
60
|
-
enableContentLeft,
|
61
|
-
enableContentRight,
|
62
|
-
valueError,
|
63
|
-
valueSuccess,
|
64
|
-
size,
|
65
|
-
...rest
|
66
|
-
}: StoryPropsDefault) => {
|
67
|
-
const [isOpen, setIsOpen] = useState(false);
|
68
|
-
|
69
|
-
const iconSize = size === 'xs' ? 'xs' : 's';
|
70
|
-
|
71
|
-
return (
|
72
|
-
<DatePicker
|
73
|
-
isOpen={isOpen}
|
74
|
-
size={size}
|
75
|
-
valueError={valueError}
|
76
|
-
valueSuccess={valueSuccess}
|
77
|
-
contentLeft={enableContentLeft ? <IconPlaceholder size={iconSize} /> : undefined}
|
78
|
-
contentRight={enableContentRight ? <IconPlaceholder size={iconSize} /> : undefined}
|
79
|
-
onBlur={onBlur}
|
80
|
-
onFocus={onFocus}
|
81
|
-
onToggle={(is) => setIsOpen(is)}
|
82
|
-
onChangeValue={(e, currentValue) => {
|
83
|
-
onChangeValue(e, currentValue);
|
84
|
-
}}
|
85
|
-
onCommitDate={() => setIsOpen(false)}
|
86
|
-
{...rest}
|
87
|
-
/>
|
88
|
-
);
|
89
|
-
};
|
90
|
-
|
91
|
-
export const Default: StoryObj<StoryPropsDefault> = {
|
92
|
-
argTypes: {
|
93
|
-
defaultDate: {
|
94
|
-
control: {
|
95
|
-
type: 'date',
|
96
|
-
},
|
97
|
-
},
|
98
|
-
},
|
99
|
-
args: {
|
100
|
-
label: 'Лейбл',
|
101
|
-
leftHelper: 'Подсказка к полю',
|
102
|
-
placeholder: '30.05.2024',
|
103
|
-
size: 'l',
|
104
|
-
view: 'default',
|
105
|
-
defaultDate: new Date(2024, 5, 14),
|
106
|
-
min: new Date(2024, 1, 1),
|
107
|
-
max: new Date(2024, 12, 29),
|
108
|
-
maskWithFormat: false,
|
109
|
-
disabled: false,
|
110
|
-
readOnly: false,
|
111
|
-
textBefore: '',
|
112
|
-
enableContentLeft: true,
|
113
|
-
enableContentRight: true,
|
114
|
-
valueError: false,
|
115
|
-
valueSuccess: false,
|
116
|
-
},
|
117
|
-
render: (args) => <StoryDefault {...args} />,
|
118
|
-
};
|
119
|
-
|
120
|
-
type StoryPropsRange = ComponentProps<typeof DatePickerRange> & {
|
121
|
-
enableContentLeft: boolean;
|
122
|
-
enableContentRight: boolean;
|
123
|
-
enableFirstTextfieldContentLeft: boolean;
|
124
|
-
enableSecondTextfieldContentLeft: boolean;
|
125
|
-
enableFirstTextfieldContentRight: boolean;
|
126
|
-
enableSecondTextfieldContentRight: boolean;
|
127
|
-
};
|
128
|
-
|
129
|
-
const ActionButton = ({ size }) => {
|
130
|
-
const iconSize = size === 'xs' ? 'xs' : 's';
|
131
|
-
return (
|
132
|
-
<IconButton view="clear" size={size}>
|
133
|
-
<IconPlaceholder size={iconSize} />
|
134
|
-
</IconButton>
|
135
|
-
);
|
136
|
-
};
|
137
|
-
|
138
|
-
const StoryRange = ({
|
139
|
-
dividerVariant,
|
140
|
-
enableContentLeft,
|
141
|
-
enableContentRight,
|
142
|
-
firstTextfieldTextBefore,
|
143
|
-
secondTextfieldTextBefore,
|
144
|
-
enableFirstTextfieldContentLeft,
|
145
|
-
enableSecondTextfieldContentLeft,
|
146
|
-
enableFirstTextfieldContentRight,
|
147
|
-
enableSecondTextfieldContentRight,
|
148
|
-
firstValueError,
|
149
|
-
firstValueSuccess,
|
150
|
-
secondValueError,
|
151
|
-
secondValueSuccess,
|
152
|
-
size,
|
153
|
-
...rest
|
154
|
-
}: StoryPropsRange) => {
|
155
|
-
const rangeRef = useRef<RangeInputRefs>(null);
|
156
|
-
|
157
|
-
const [isOpen, setIsOpen] = useState(false);
|
158
|
-
const [firstDate, setFirstDate] = useState<string | Date>('');
|
159
|
-
|
160
|
-
const iconSize = size === 'xs' ? 'xs' : 's';
|
161
|
-
const showDividerIcon = dividerVariant === 'icon';
|
162
|
-
const showDefaultTextBefore = dividerVariant === 'none';
|
163
|
-
|
164
|
-
const dividerIconProps = {
|
165
|
-
dividerIcon: showDividerIcon ? <IconPlaceholder size={iconSize} /> : null,
|
166
|
-
dividerVariant,
|
167
|
-
};
|
168
|
-
|
169
|
-
return (
|
170
|
-
<DatePickerRange
|
171
|
-
size={size}
|
172
|
-
ref={rangeRef}
|
173
|
-
isOpen={isOpen}
|
174
|
-
firstValueError={firstValueError}
|
175
|
-
firstValueSuccess={firstValueSuccess}
|
176
|
-
secondValueError={secondValueError}
|
177
|
-
secondValueSuccess={secondValueSuccess}
|
178
|
-
contentLeft={enableContentLeft ? <IconPlaceholder size={iconSize} /> : undefined}
|
179
|
-
contentRight={enableContentRight ? <ActionButton size={size} /> : undefined}
|
180
|
-
firstTextfieldContentLeft={
|
181
|
-
enableFirstTextfieldContentLeft ? <IconPlaceholder size={iconSize} /> : undefined
|
182
|
-
}
|
183
|
-
firstTextfieldContentRight={
|
184
|
-
enableFirstTextfieldContentRight ? <IconPlaceholder size={iconSize} /> : undefined
|
185
|
-
}
|
186
|
-
secondTextfieldContentLeft={
|
187
|
-
enableSecondTextfieldContentLeft ? <IconPlaceholder size={iconSize} /> : undefined
|
188
|
-
}
|
189
|
-
secondTextfieldContentRight={
|
190
|
-
enableSecondTextfieldContentRight ? <IconPlaceholder size={iconSize} /> : undefined
|
191
|
-
}
|
192
|
-
firstTextfieldTextBefore={
|
193
|
-
showDefaultTextBefore ? firstTextfieldTextBefore || 'С' : firstTextfieldTextBefore
|
194
|
-
}
|
195
|
-
secondTextfieldTextBefore={
|
196
|
-
showDefaultTextBefore ? secondTextfieldTextBefore || 'ПО' : secondTextfieldTextBefore
|
197
|
-
}
|
198
|
-
onToggle={(is) => setIsOpen(is)}
|
199
|
-
onChangeFirstValue={(e, currentValue) => {
|
200
|
-
onChangeFirstValue(e, currentValue);
|
201
|
-
}}
|
202
|
-
onChangeSecondValue={(e, currentValue) => {
|
203
|
-
onChangeSecondValue(e, currentValue);
|
204
|
-
}}
|
205
|
-
onCommitFirstDate={(currentValue) => {
|
206
|
-
setFirstDate(currentValue);
|
207
|
-
}}
|
208
|
-
onCommitSecondDate={(currentValue) => {
|
209
|
-
firstDate && currentValue && setIsOpen(false);
|
210
|
-
}}
|
211
|
-
{...dividerIconProps}
|
212
|
-
{...rest}
|
213
|
-
/>
|
214
|
-
);
|
215
|
-
};
|
216
|
-
|
217
|
-
export const Range: StoryObj<StoryPropsRange> = {
|
218
|
-
argTypes: {
|
219
|
-
dividerVariant: {
|
220
|
-
options: dividers,
|
221
|
-
control: {
|
222
|
-
type: 'inline-radio',
|
223
|
-
},
|
224
|
-
},
|
225
|
-
},
|
226
|
-
args: {
|
227
|
-
label: 'Лейбл',
|
228
|
-
leftHelper: 'Подсказка к полю',
|
229
|
-
firstPlaceholder: '30.05.2024',
|
230
|
-
secondPlaceholder: '04.06.2024',
|
231
|
-
firstTextfieldTextBefore: '',
|
232
|
-
secondTextfieldTextBefore: '',
|
233
|
-
firstTextfieldTextAfter: '',
|
234
|
-
secondTextfieldTextAfter: '',
|
235
|
-
size: 'l',
|
236
|
-
view: 'default',
|
237
|
-
isDoubleCalendar: false,
|
238
|
-
dividerVariant: 'dash',
|
239
|
-
min: new Date(2024, 1, 1),
|
240
|
-
max: new Date(2024, 12, 29),
|
241
|
-
maskWithFormat: false,
|
242
|
-
disabled: false,
|
243
|
-
readOnly: false,
|
244
|
-
enableContentLeft: true,
|
245
|
-
enableContentRight: true,
|
246
|
-
enableFirstTextfieldContentLeft: false,
|
247
|
-
enableFirstTextfieldContentRight: false,
|
248
|
-
enableSecondTextfieldContentLeft: false,
|
249
|
-
enableSecondTextfieldContentRight: false,
|
250
|
-
|
251
|
-
firstValueError: false,
|
252
|
-
firstValueSuccess: false,
|
253
|
-
secondValueError: false,
|
254
|
-
secondValueSuccess: false,
|
255
|
-
},
|
256
|
-
render: (args) => <StoryRange {...args} />,
|
257
|
-
};
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { css } from 'styled-components';
|
2
|
-
import { datePickerTokens as tokens } from '../../../../components/DatePicker';
|
3
|
-
export var config = {
|
4
|
-
defaults: {
|
5
|
-
view: 'default',
|
6
|
-
size: 'm'
|
7
|
-
},
|
8
|
-
variations: {
|
9
|
-
view: {
|
10
|
-
"default": /*#__PURE__*/css(["", ":var(--surface-clear);", ":var(--surface-transparent-tertiary);", ":var(--surface-negative);", ":var(--surface-positive);", ":var(--plasma-colors-secondary);", ":var(--surface-accent);", ":var(--text-primary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-accent);", ":var(--surface-accent);", ":var(--surface-negative);", ":var(--surface-accent);", ":var(--surface-positive);", ":var(--surface-accent);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-accent);", ":var(--shadow-down-soft-s);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-card);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":transparent;", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-accent);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-accent);", ":var(--surface-solid-default);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--surface-accent);"], tokens.background, tokens.borderColor, tokens.borderColorError, tokens.borderColorSuccess, tokens.borderColorHover, tokens.borderColorFocus, tokens.dividerColor, tokens.labelColor, tokens.leftHelperColor, tokens.textFieldColor, tokens.textFieldPlaceholderColor, tokens.textFieldCaretColor, tokens.textFieldBorderColorFocus, tokens.textFieldBorderColorError, tokens.textFieldBorderColorErrorFocus, tokens.textFieldBorderColorSuccess, tokens.textFieldBorderColorSuccessFocus, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.focusColor, tokens.calendarShadow, tokens.calendarSeparatorBackground, tokens.calendarBackgroundColor, tokens.calendarSelectedItemBackground, tokens.calendarSelectedItemColor, tokens.calendarSelectableItemBackgroundHover, tokens.calendarCurrentItemBorderColor, tokens.calendarCurrentItemBackgroundHover, tokens.calendarCurrentItemColorHover, tokens.calendarCurrentItemChildBackgroundHover, tokens.calendarActiveItemBackground, tokens.calendarActiveItemColor, tokens.calendarHoveredItemBackground, tokens.calendarHoveredItemColor, tokens.calendarRangeBackground, tokens.calendarOutlineFocusColor, tokens.calendarContentPrimaryColor, tokens.calendarContentSecondaryColor, tokens.iconButtonColor, tokens.iconButtonBackgroundColor, tokens.iconButtonColorHover, tokens.iconButtonBackgroundColorHover, tokens.iconButtonColorActive, tokens.iconButtonBackgroundColorActive, tokens.iconButtonFocusColor)
|
11
|
-
},
|
12
|
-
size: {
|
13
|
-
l: /*#__PURE__*/css(["", ":26.5rem;", ":0.875rem;", ":0.0625rem;", ":0 0.375rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0 0 0 1rem;", ":0;", ":0 0 0.75rem 0;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":3.5rem;", ":0.875rem;", ":0.0625rem;", ":1.0625rem 1.125rem 1.0625rem 1.125rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.25rem 0 0 0;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":-0.0625rem 0.5rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":0.875rem;", ":0.875rem ", ":26.5rem;", ":0.5rem 1rem 1.125rem 1rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 1rem 1.125rem 1rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 1rem 1.125rem 1rem;", ":0.75rem;", ":3.5rem;", ":3rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.875rem 1rem 0 1rem;", ":0.5rem;", ":0 0 0 1rem;", ":0.5rem;", ":var(--plasma-typo-h3-font-family);", ":var(--plasma-typo-h3-font-size);", ":var(--plasma-typo-h3-font-style);", ":var(--plasma-typo-h3-letter-spacing);", ":var(--plasma-typo-h3-line-height);", ":var(--plasma-typo-h3-font-weight);", ":var(--plasma-typo-h3-bold-font-weight);", ":3.5rem;", ":3.5rem;", ":1.5rem;", ":0.875rem;"], tokens.width, tokens.borderRadius, tokens.borderWidth, tokens.dividerPadding, tokens.dividerFontFamily, tokens.dividerFontStyle, tokens.dividerFontSize, tokens.dividerFontWeight, tokens.dividerLetterSpacing, tokens.dividerLineHeight, tokens.leftContentMargin, tokens.rightContentMargin, tokens.labelOffset, tokens.labelFontFamily, tokens.labelFontStyle, tokens.labelFontSize, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.textFieldHeight, tokens.textFieldBorderRadius, tokens.textFieldBorderWidth, tokens.textFieldPadding, tokens.textFieldFontFamily, tokens.textFieldFontStyle, tokens.textFieldFontSize, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontStyle, tokens.leftHelperFontSize, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.calendarBorderRadius, tokens.calendarPaddingTop, tokens.calendarWidth, tokens.calendarYearsPadding, tokens.calendarYearItemBorderRadius, tokens.calendarYearItemWidth, tokens.calendarYearItemHeight, tokens.calendarYearFontFamily, tokens.calendarYearFontSize, tokens.calendarYearFontStyle, tokens.calendarYearFontLetterSpacing, tokens.calendarYearFontLineHeight, tokens.calendarYearFontWeight, tokens.calendarYearSelectedFontWeight, tokens.calendarMonthsPadding, tokens.calendarMonthItemBorderRadius, tokens.calendarMonthItemWidth, tokens.calendarMonthItemHeight, tokens.calendarMonthFontFamily, tokens.calendarMonthFontSize, tokens.calendarMonthFontStyle, tokens.calendarMonthFontLetterSpacing, tokens.calendarMonthFontLineHeight, tokens.calendarMonthFontWeight, tokens.calendarMonthSelectedFontWeight, tokens.calendarDaysPadding, tokens.calendarDayItemBorderRadius, tokens.calendarDayItemWidth, tokens.calendarDayItemHeight, tokens.calendarDayFontFamily, tokens.calendarDayFontSize, tokens.calendarDayFontStyle, tokens.calendarDayFontLetterSpacing, tokens.calendarDayFontLineHeight, tokens.calendarDayFontWeight, tokens.calendarDaySelectedFontWeight, tokens.calendarHeaderWrapperPadding, tokens.calendarHeaderArrowGap, tokens.calendarHeaderPadding, tokens.calendarHeaderDateGap, tokens.calendarHeaderFontFamily, tokens.calendarHeaderFontSize, tokens.calendarHeaderFontStyle, tokens.calendarHeaderFontLetterSpacing, tokens.calendarHeaderFontLineHeight, tokens.calendarHeaderFontWeight, tokens.calendarHeaderFontWeightBold, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonRadius),
|
14
|
-
m: /*#__PURE__*/css(["", ":23rem;", ":0.75rem;", ":0.0625rem;", ":0 0.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0 0 0 0.875rem;", ":0;", ":0 0 0.625rem 0;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":3rem;", ":0.75rem;", ":0.0625rem;", ":0.875rem 1rem 0.875rem 1rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.25rem 0 0 0;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":-0.125rem 0.375rem -0.125rem -0.125rem;", ":-0.125rem -0.125rem -0.125rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":23rem;", ":0.875rem;", ":0.5rem 1rem 1.125rem 1rem;", ":0.625rem;", ":6.688rem;", ":4.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-bold-font-weight);", ":0.5rem 1rem 1.125rem 1rem;", ":0.625rem;", ":6.688rem;", ":4.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-bold-font-weight);", ":0.5rem 1rem 1.125rem 1rem;", ":0.625rem;", ":3rem;", ":2.5rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-bold-font-weight);", ":0.75rem 1rem 0 1rem;", ":0.5rem;", ":0 0 0 0.875rem;", ":0.375rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":3rem;", ":3rem;", ":1.25rem;", ":0.75rem;"], tokens.width, tokens.borderRadius, tokens.borderWidth, tokens.dividerPadding, tokens.dividerFontFamily, tokens.dividerFontStyle, tokens.dividerFontSize, tokens.dividerFontWeight, tokens.dividerLetterSpacing, tokens.dividerLineHeight, tokens.leftContentMargin, tokens.rightContentMargin, tokens.labelOffset, tokens.labelFontFamily, tokens.labelFontStyle, tokens.labelFontSize, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.textFieldHeight, tokens.textFieldBorderRadius, tokens.textFieldBorderWidth, tokens.textFieldPadding, tokens.textFieldFontFamily, tokens.textFieldFontStyle, tokens.textFieldFontSize, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontStyle, tokens.leftHelperFontSize, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.calendarWidth, tokens.calendarBorderRadius, tokens.calendarYearsPadding, tokens.calendarYearItemBorderRadius, tokens.calendarYearItemWidth, tokens.calendarYearItemHeight, tokens.calendarYearFontFamily, tokens.calendarYearFontSize, tokens.calendarYearFontStyle, tokens.calendarYearFontLetterSpacing, tokens.calendarYearFontLineHeight, tokens.calendarYearFontWeight, tokens.calendarYearSelectedFontWeight, tokens.calendarMonthsPadding, tokens.calendarMonthItemBorderRadius, tokens.calendarMonthItemWidth, tokens.calendarMonthItemHeight, tokens.calendarMonthFontFamily, tokens.calendarMonthFontSize, tokens.calendarMonthFontStyle, tokens.calendarMonthFontLetterSpacing, tokens.calendarMonthFontLineHeight, tokens.calendarMonthFontWeight, tokens.calendarMonthSelectedFontWeight, tokens.calendarDaysPadding, tokens.calendarDayItemBorderRadius, tokens.calendarDayItemWidth, tokens.calendarDayItemHeight, tokens.calendarDayFontFamily, tokens.calendarDayFontSize, tokens.calendarDayFontStyle, tokens.calendarDayFontLetterSpacing, tokens.calendarDayFontLineHeight, tokens.calendarDayFontWeight, tokens.calendarDaySelectedFontWeight, tokens.calendarHeaderWrapperPadding, tokens.calendarHeaderArrowGap, tokens.calendarHeaderPadding, tokens.calendarHeaderDateGap, tokens.calendarHeaderFontFamily, tokens.calendarHeaderFontSize, tokens.calendarHeaderFontStyle, tokens.calendarHeaderFontLetterSpacing, tokens.calendarHeaderFontLineHeight, tokens.calendarHeaderFontWeight, tokens.calendarHeaderFontWeightBold, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonRadius),
|
15
|
-
s: /*#__PURE__*/css(["", ":19.5rem;", ":0.625rem;", ":0.0625rem;", ":0 0.375rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0 0.375rem 0 0.75rem;", ":0;", ":0 0 0.5rem 0;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":2.5rem;", ":0.625rem;", ":0.0625rem;", ":0.6875rem 0.875rem 0.6875rem 0.875rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.25rem 0 0 0;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":-0.1875rem 0.25rem -0.1875rem -0.125rem;", ":-0.1875rem -0.125rem -0.1875rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":19.5rem;", ":0.875rem;", ":0.5rem 1rem 0.875rem 1rem;", ":0.5rem;", ":5.5rem;", ":3.5rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-bold-font-weight);", ":0.5rem 1rem 0.875rem 1rem;", ":0.5rem;", ":5.5rem;", ":3.5rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-bold-font-weight);", ":0.5rem 1rem 0.875rem 1rem;", ":0.5rem;", ":2.5rem;", ":2rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-bold-font-weight);", ":0.75rem 1rem 0 1rem;", ":0.5rem;", ":0 0 0 0.5rem;", ":0.25rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":2rem;", ":2rem;", ":0.75rem;", ":0.5rem;"], tokens.width, tokens.borderRadius, tokens.borderWidth, tokens.dividerPadding, tokens.dividerFontFamily, tokens.dividerFontStyle, tokens.dividerFontSize, tokens.dividerFontWeight, tokens.dividerLetterSpacing, tokens.dividerLineHeight, tokens.leftContentMargin, tokens.rightContentMargin, tokens.labelOffset, tokens.labelFontFamily, tokens.labelFontStyle, tokens.labelFontSize, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.textFieldHeight, tokens.textFieldBorderRadius, tokens.textFieldBorderWidth, tokens.textFieldPadding, tokens.textFieldFontFamily, tokens.textFieldFontStyle, tokens.textFieldFontSize, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontStyle, tokens.leftHelperFontSize, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.calendarWidth, tokens.calendarBorderRadius, tokens.calendarYearsPadding, tokens.calendarYearItemBorderRadius, tokens.calendarYearItemWidth, tokens.calendarYearItemHeight, tokens.calendarYearFontFamily, tokens.calendarYearFontSize, tokens.calendarYearFontStyle, tokens.calendarYearFontLetterSpacing, tokens.calendarYearFontLineHeight, tokens.calendarYearFontWeight, tokens.calendarYearSelectedFontWeight, tokens.calendarMonthsPadding, tokens.calendarMonthItemBorderRadius, tokens.calendarMonthItemWidth, tokens.calendarMonthItemHeight, tokens.calendarMonthFontFamily, tokens.calendarMonthFontSize, tokens.calendarMonthFontStyle, tokens.calendarMonthFontLetterSpacing, tokens.calendarMonthFontLineHeight, tokens.calendarMonthFontWeight, tokens.calendarMonthSelectedFontWeight, tokens.calendarDaysPadding, tokens.calendarDayItemBorderRadius, tokens.calendarDayItemWidth, tokens.calendarDayItemHeight, tokens.calendarDayFontFamily, tokens.calendarDayFontSize, tokens.calendarDayFontStyle, tokens.calendarDayFontLetterSpacing, tokens.calendarDayFontLineHeight, tokens.calendarDayFontWeight, tokens.calendarDaySelectedFontWeight, tokens.calendarHeaderWrapperPadding, tokens.calendarHeaderArrowGap, tokens.calendarHeaderPadding, tokens.calendarHeaderDateGap, tokens.calendarHeaderFontFamily, tokens.calendarHeaderFontSize, tokens.calendarHeaderFontStyle, tokens.calendarHeaderFontLetterSpacing, tokens.calendarHeaderFontLineHeight, tokens.calendarHeaderFontWeight, tokens.calendarHeaderFontWeightBold, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonRadius),
|
16
|
-
xs: /*#__PURE__*/css(["", ":19rem;", ":0.5rem;", ":0.0625rem;", ":0 0.375rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0 0 0 0.5rem;", ":0;", ":0 0 0.375rem 0;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":2rem;", ":0.5rem;", ":0.0625rem;", ":0.5625rem 0.625rem 0.5625rem 0.625rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.25rem 0 0 0;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":-0.0625rem 0.25rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":19rem;", ":0.5rem;", ":0.5rem ", ":0.5rem 0.75rem 0.625rem 0.75rem;", ":0.375rem;", ":5.625rem;", ":3.281rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":0.5rem 0.75rem 0.625rem 0.75rem;", ":0.375rem;", ":5.625rem;", ":3.281rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":0.375rem 0.75rem 0.625rem 0.75rem;", ":0.375rem;", ":2.5rem;", ":2rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":0.5rem 0.75rem 0 0.75rem;", ":0;", ":0 0 0 0.5rem;", ":0.25rem;", ":var(--plasma-typo-h5-font-family);", ":var(--plasma-typo-h5-font-size);", ":var(--plasma-typo-h5-font-style);", ":var(--plasma-typo-h5-letter-spacing);", ":var(--plasma-typo-h5-line-height);", ":var(--plasma-typo-h5-font-weight);", ":var(--plasma-typo-h5-bold-font-weight);", ":2rem;", ":2rem;", ":0.75rem;", ":0.5rem;"], tokens.width, tokens.borderRadius, tokens.borderWidth, tokens.dividerPadding, tokens.dividerFontFamily, tokens.dividerFontStyle, tokens.dividerFontSize, tokens.dividerFontWeight, tokens.dividerLetterSpacing, tokens.dividerLineHeight, tokens.leftContentMargin, tokens.rightContentMargin, tokens.labelOffset, tokens.labelFontFamily, tokens.labelFontStyle, tokens.labelFontSize, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.textFieldHeight, tokens.textFieldBorderRadius, tokens.textFieldBorderWidth, tokens.textFieldPadding, tokens.textFieldFontFamily, tokens.textFieldFontStyle, tokens.textFieldFontSize, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontStyle, tokens.leftHelperFontSize, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.calendarWidth, tokens.calendarBorderRadius, tokens.calendarPaddingTop, tokens.calendarYearsPadding, tokens.calendarYearItemBorderRadius, tokens.calendarYearItemWidth, tokens.calendarYearItemHeight, tokens.calendarYearFontFamily, tokens.calendarYearFontSize, tokens.calendarYearFontStyle, tokens.calendarYearFontLetterSpacing, tokens.calendarYearFontLineHeight, tokens.calendarYearFontWeight, tokens.calendarYearSelectedFontWeight, tokens.calendarMonthsPadding, tokens.calendarMonthItemBorderRadius, tokens.calendarMonthItemWidth, tokens.calendarMonthItemHeight, tokens.calendarMonthFontFamily, tokens.calendarMonthFontSize, tokens.calendarMonthFontStyle, tokens.calendarMonthFontLetterSpacing, tokens.calendarMonthFontLineHeight, tokens.calendarMonthFontWeight, tokens.calendarMonthSelectedFontWeight, tokens.calendarDaysPadding, tokens.calendarDayItemBorderRadius, tokens.calendarDayItemWidth, tokens.calendarDayItemHeight, tokens.calendarDayFontFamily, tokens.calendarDayFontSize, tokens.calendarDayFontStyle, tokens.calendarDayFontLetterSpacing, tokens.calendarDayFontLineHeight, tokens.calendarDayFontWeight, tokens.calendarDaySelectedFontWeight, tokens.calendarHeaderWrapperPadding, tokens.calendarHeaderArrowGap, tokens.calendarHeaderPadding, tokens.calendarHeaderDateGap, tokens.calendarHeaderFontFamily, tokens.calendarHeaderFontSize, tokens.calendarHeaderFontStyle, tokens.calendarHeaderFontLetterSpacing, tokens.calendarHeaderFontLineHeight, tokens.calendarHeaderFontWeight, tokens.calendarHeaderFontWeightBold, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonRadius)
|
17
|
-
},
|
18
|
-
disabled: {
|
19
|
-
"true": /*#__PURE__*/css(["", ":0.4;"], tokens.disabledOpacity)
|
20
|
-
},
|
21
|
-
readOnly: {
|
22
|
-
"true": /*#__PURE__*/css(["", ":var(--surface-clear);", ":var(--surface-transparent-tertiary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--surface-clear);", ":var(--text-secondary);"], tokens.backgroundReadOnly, tokens.borderColorReadOnly, tokens.labelColorReadOnly, tokens.leftHelperColorReadOnly, tokens.dividerColorReadOnly, tokens.textFieldColorReadOnly, tokens.textFieldBackgroundColorReadOnly, tokens.textFieldPlaceholderColorReadOnly)
|
23
|
-
}
|
24
|
-
}
|
25
|
-
};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { component, mergeConfig } from '../../../../engines';
|
2
|
-
import { datePickerConfig, datePickerRangeConfig } from '../../../../components/DatePicker';
|
3
|
-
import { config } from './DatePicker.config';
|
4
|
-
var mergedConfig = /*#__PURE__*/mergeConfig(datePickerConfig, config);
|
5
|
-
export var DatePicker = /*#__PURE__*/component(mergedConfig);
|
6
|
-
var mergedRangeConfig = /*#__PURE__*/mergeConfig(datePickerRangeConfig, config);
|
7
|
-
export var DatePickerRange = /*#__PURE__*/component(mergedRangeConfig);
|
package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx
DELETED
@@ -1,257 +0,0 @@
|
|
1
|
-
import React, { ComponentProps, useRef, useState } from 'react';
|
2
|
-
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
-
import { action } from '@storybook/addon-actions';
|
4
|
-
import { IconPlaceholder } from '@salutejs/plasma-sb-utils';
|
5
|
-
|
6
|
-
import { WithTheme } from '../../../_helpers';
|
7
|
-
import { IconButton } from '../IconButton/IconButton';
|
8
|
-
import { RangeInputRefs } from '../../../../components/Range/Range.types';
|
9
|
-
|
10
|
-
import { DatePicker, DatePickerRange } from './DatePicker';
|
11
|
-
|
12
|
-
const onChangeValue = action('onChangeValue');
|
13
|
-
const onBlur = action('onBlur');
|
14
|
-
const onFocus = action('onFocus');
|
15
|
-
|
16
|
-
const onChangeFirstValue = action('onChangeFirstValue');
|
17
|
-
const onChangeSecondValue = action('onChangeSecondValue');
|
18
|
-
|
19
|
-
const sizes = ['l', 'm', 's', 'xs'];
|
20
|
-
const views = ['default'];
|
21
|
-
const dividers = ['none', 'dash', 'icon'];
|
22
|
-
|
23
|
-
const meta: Meta = {
|
24
|
-
title: 'plasma_web/DatePicker',
|
25
|
-
decorators: [WithTheme],
|
26
|
-
argTypes: {
|
27
|
-
view: {
|
28
|
-
options: views,
|
29
|
-
control: {
|
30
|
-
type: 'inline-radio',
|
31
|
-
},
|
32
|
-
},
|
33
|
-
size: {
|
34
|
-
options: sizes,
|
35
|
-
control: {
|
36
|
-
type: 'inline-radio',
|
37
|
-
},
|
38
|
-
},
|
39
|
-
min: {
|
40
|
-
control: {
|
41
|
-
type: 'date',
|
42
|
-
},
|
43
|
-
},
|
44
|
-
max: {
|
45
|
-
control: {
|
46
|
-
type: 'date',
|
47
|
-
},
|
48
|
-
},
|
49
|
-
},
|
50
|
-
};
|
51
|
-
|
52
|
-
export default meta;
|
53
|
-
|
54
|
-
type StoryPropsDefault = ComponentProps<typeof DatePicker> & {
|
55
|
-
enableContentLeft: boolean;
|
56
|
-
enableContentRight: boolean;
|
57
|
-
};
|
58
|
-
|
59
|
-
const StoryDefault = ({
|
60
|
-
enableContentLeft,
|
61
|
-
enableContentRight,
|
62
|
-
valueError,
|
63
|
-
valueSuccess,
|
64
|
-
size,
|
65
|
-
...rest
|
66
|
-
}: StoryPropsDefault) => {
|
67
|
-
const [isOpen, setIsOpen] = useState(false);
|
68
|
-
|
69
|
-
const iconSize = size === 'xs' ? 'xs' : 's';
|
70
|
-
|
71
|
-
return (
|
72
|
-
<DatePicker
|
73
|
-
isOpen={isOpen}
|
74
|
-
size={size}
|
75
|
-
valueError={valueError}
|
76
|
-
valueSuccess={valueSuccess}
|
77
|
-
contentLeft={enableContentLeft ? <IconPlaceholder size={iconSize} /> : undefined}
|
78
|
-
contentRight={enableContentRight ? <IconPlaceholder size={iconSize} /> : undefined}
|
79
|
-
onBlur={onBlur}
|
80
|
-
onFocus={onFocus}
|
81
|
-
onToggle={(is) => setIsOpen(is)}
|
82
|
-
onChangeValue={(e, currentValue) => {
|
83
|
-
onChangeValue(e, currentValue);
|
84
|
-
}}
|
85
|
-
onCommitDate={() => setIsOpen(false)}
|
86
|
-
{...rest}
|
87
|
-
/>
|
88
|
-
);
|
89
|
-
};
|
90
|
-
|
91
|
-
export const Default: StoryObj<StoryPropsDefault> = {
|
92
|
-
argTypes: {
|
93
|
-
defaultDate: {
|
94
|
-
control: {
|
95
|
-
type: 'date',
|
96
|
-
},
|
97
|
-
},
|
98
|
-
},
|
99
|
-
args: {
|
100
|
-
label: 'Лейбл',
|
101
|
-
leftHelper: 'Подсказка к полю',
|
102
|
-
placeholder: '30.05.2024',
|
103
|
-
size: 'l',
|
104
|
-
view: 'default',
|
105
|
-
defaultDate: new Date(2024, 5, 14),
|
106
|
-
min: new Date(2024, 1, 1),
|
107
|
-
max: new Date(2024, 12, 29),
|
108
|
-
maskWithFormat: false,
|
109
|
-
disabled: false,
|
110
|
-
readOnly: false,
|
111
|
-
textBefore: '',
|
112
|
-
enableContentLeft: true,
|
113
|
-
enableContentRight: true,
|
114
|
-
valueError: false,
|
115
|
-
valueSuccess: false,
|
116
|
-
},
|
117
|
-
render: (args) => <StoryDefault {...args} />,
|
118
|
-
};
|
119
|
-
|
120
|
-
type StoryPropsRange = ComponentProps<typeof DatePickerRange> & {
|
121
|
-
enableContentLeft: boolean;
|
122
|
-
enableContentRight: boolean;
|
123
|
-
enableFirstTextfieldContentLeft: boolean;
|
124
|
-
enableSecondTextfieldContentLeft: boolean;
|
125
|
-
enableFirstTextfieldContentRight: boolean;
|
126
|
-
enableSecondTextfieldContentRight: boolean;
|
127
|
-
};
|
128
|
-
|
129
|
-
const ActionButton = ({ size }) => {
|
130
|
-
const iconSize = size === 'xs' ? 'xs' : 's';
|
131
|
-
return (
|
132
|
-
<IconButton view="clear" size={size}>
|
133
|
-
<IconPlaceholder size={iconSize} />
|
134
|
-
</IconButton>
|
135
|
-
);
|
136
|
-
};
|
137
|
-
|
138
|
-
const StoryRange = ({
|
139
|
-
dividerVariant,
|
140
|
-
enableContentLeft,
|
141
|
-
enableContentRight,
|
142
|
-
firstTextfieldTextBefore,
|
143
|
-
secondTextfieldTextBefore,
|
144
|
-
enableFirstTextfieldContentLeft,
|
145
|
-
enableSecondTextfieldContentLeft,
|
146
|
-
enableFirstTextfieldContentRight,
|
147
|
-
enableSecondTextfieldContentRight,
|
148
|
-
firstValueError,
|
149
|
-
firstValueSuccess,
|
150
|
-
secondValueError,
|
151
|
-
secondValueSuccess,
|
152
|
-
size,
|
153
|
-
...rest
|
154
|
-
}: StoryPropsRange) => {
|
155
|
-
const rangeRef = useRef<RangeInputRefs>(null);
|
156
|
-
|
157
|
-
const [isOpen, setIsOpen] = useState(false);
|
158
|
-
const [firstDate, setFirstDate] = useState<string | Date>('');
|
159
|
-
|
160
|
-
const iconSize = size === 'xs' ? 'xs' : 's';
|
161
|
-
const showDividerIcon = dividerVariant === 'icon';
|
162
|
-
const showDefaultTextBefore = dividerVariant === 'none';
|
163
|
-
|
164
|
-
const dividerIconProps = {
|
165
|
-
dividerIcon: showDividerIcon ? <IconPlaceholder size={iconSize} /> : null,
|
166
|
-
dividerVariant,
|
167
|
-
};
|
168
|
-
|
169
|
-
return (
|
170
|
-
<DatePickerRange
|
171
|
-
size={size}
|
172
|
-
ref={rangeRef}
|
173
|
-
isOpen={isOpen}
|
174
|
-
firstValueError={firstValueError}
|
175
|
-
firstValueSuccess={firstValueSuccess}
|
176
|
-
secondValueError={secondValueError}
|
177
|
-
secondValueSuccess={secondValueSuccess}
|
178
|
-
contentLeft={enableContentLeft ? <IconPlaceholder size={iconSize} /> : undefined}
|
179
|
-
contentRight={enableContentRight ? <ActionButton size={size} /> : undefined}
|
180
|
-
firstTextfieldContentLeft={
|
181
|
-
enableFirstTextfieldContentLeft ? <IconPlaceholder size={iconSize} /> : undefined
|
182
|
-
}
|
183
|
-
firstTextfieldContentRight={
|
184
|
-
enableFirstTextfieldContentRight ? <IconPlaceholder size={iconSize} /> : undefined
|
185
|
-
}
|
186
|
-
secondTextfieldContentLeft={
|
187
|
-
enableSecondTextfieldContentLeft ? <IconPlaceholder size={iconSize} /> : undefined
|
188
|
-
}
|
189
|
-
secondTextfieldContentRight={
|
190
|
-
enableSecondTextfieldContentRight ? <IconPlaceholder size={iconSize} /> : undefined
|
191
|
-
}
|
192
|
-
firstTextfieldTextBefore={
|
193
|
-
showDefaultTextBefore ? firstTextfieldTextBefore || 'С' : firstTextfieldTextBefore
|
194
|
-
}
|
195
|
-
secondTextfieldTextBefore={
|
196
|
-
showDefaultTextBefore ? secondTextfieldTextBefore || 'ПО' : secondTextfieldTextBefore
|
197
|
-
}
|
198
|
-
onToggle={(is) => setIsOpen(is)}
|
199
|
-
onChangeFirstValue={(e, currentValue) => {
|
200
|
-
onChangeFirstValue(e, currentValue);
|
201
|
-
}}
|
202
|
-
onChangeSecondValue={(e, currentValue) => {
|
203
|
-
onChangeSecondValue(e, currentValue);
|
204
|
-
}}
|
205
|
-
onCommitFirstDate={(currentValue) => {
|
206
|
-
setFirstDate(currentValue);
|
207
|
-
}}
|
208
|
-
onCommitSecondDate={(currentValue) => {
|
209
|
-
firstDate && currentValue && setIsOpen(false);
|
210
|
-
}}
|
211
|
-
{...dividerIconProps}
|
212
|
-
{...rest}
|
213
|
-
/>
|
214
|
-
);
|
215
|
-
};
|
216
|
-
|
217
|
-
export const Range: StoryObj<StoryPropsRange> = {
|
218
|
-
argTypes: {
|
219
|
-
dividerVariant: {
|
220
|
-
options: dividers,
|
221
|
-
control: {
|
222
|
-
type: 'inline-radio',
|
223
|
-
},
|
224
|
-
},
|
225
|
-
},
|
226
|
-
args: {
|
227
|
-
label: 'Лейбл',
|
228
|
-
leftHelper: 'Подсказка к полю',
|
229
|
-
firstPlaceholder: '30.05.2024',
|
230
|
-
secondPlaceholder: '04.06.2024',
|
231
|
-
firstTextfieldTextBefore: '',
|
232
|
-
secondTextfieldTextBefore: '',
|
233
|
-
firstTextfieldTextAfter: '',
|
234
|
-
secondTextfieldTextAfter: '',
|
235
|
-
size: 'l',
|
236
|
-
view: 'default',
|
237
|
-
isDoubleCalendar: false,
|
238
|
-
dividerVariant: 'dash',
|
239
|
-
min: new Date(2024, 1, 1),
|
240
|
-
max: new Date(2024, 12, 29),
|
241
|
-
maskWithFormat: false,
|
242
|
-
disabled: false,
|
243
|
-
readOnly: false,
|
244
|
-
enableContentLeft: true,
|
245
|
-
enableContentRight: true,
|
246
|
-
enableFirstTextfieldContentLeft: false,
|
247
|
-
enableFirstTextfieldContentRight: false,
|
248
|
-
enableSecondTextfieldContentLeft: false,
|
249
|
-
enableSecondTextfieldContentRight: false,
|
250
|
-
|
251
|
-
firstValueError: false,
|
252
|
-
firstValueSuccess: false,
|
253
|
-
secondValueError: false,
|
254
|
-
secondValueSuccess: false,
|
255
|
-
},
|
256
|
-
render: (args) => <StoryRange {...args} />,
|
257
|
-
};
|
@@ -1,15 +0,0 @@
|
|
1
|
-
export var getPlacement = function getPlacement(placement) {
|
2
|
-
return "".concat(placement, "-start");
|
3
|
-
};
|
4
|
-
export var getPlacements = function getPlacements(placements) {
|
5
|
-
if (!placements) {
|
6
|
-
return;
|
7
|
-
}
|
8
|
-
var isArray = Array.isArray(placements);
|
9
|
-
if (!isArray) {
|
10
|
-
return getPlacement(placements);
|
11
|
-
}
|
12
|
-
return (placements || []).map(function (placement) {
|
13
|
-
return getPlacement(placement);
|
14
|
-
});
|
15
|
-
};
|
@@ -1,17 +0,0 @@
|
|
1
|
-
declare type ActiveProps = {
|
2
|
-
/**
|
3
|
-
* Цвет фона нажатого элемента.
|
4
|
-
*/
|
5
|
-
activeBackground?: string;
|
6
|
-
/**
|
7
|
-
* Цвет текста нажатого элемента.
|
8
|
-
*/
|
9
|
-
activeColor?: string;
|
10
|
-
/**
|
11
|
-
* Начертание шрифта.
|
12
|
-
*/
|
13
|
-
activeFontWeight?: string;
|
14
|
-
};
|
15
|
-
export declare const addActive: (args: ActiveProps) => string;
|
16
|
-
export {};
|
17
|
-
//# sourceMappingURL=active.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"active.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/mixins/active.ts"],"names":[],"mappings":"AAAA,aAAK,WAAW,GAAG;IACf;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,SAAS,SAAU,WAAW,WAU1C,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"flex.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/mixins/flex.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,mFAItB,CAAC;AAEF,eAAO,MAAM,gBAAgB,0FAI5B,CAAC"}
|