@salutejs/plasma-new-hope 0.93.0-canary.1224.9678231866.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/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/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_107vqka.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_107vqka.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
@@ -8,7 +8,8 @@ exports.comboboxRoot = exports.comboboxConfig = void 0;
|
|
8
8
|
var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
|
9
9
|
var _plasmaCore = /*#__PURE__*/require("@salutejs/plasma-core");
|
10
10
|
var _utils = /*#__PURE__*/require("../../utils");
|
11
|
-
var _utils2 = /*#__PURE__*/require("../
|
11
|
+
var _utils2 = /*#__PURE__*/require("../Dropdown/utils");
|
12
|
+
var _utils3 = /*#__PURE__*/require("../Select/utils");
|
12
13
|
var _hooks = /*#__PURE__*/require("../Select/hooks");
|
13
14
|
var _hooks2 = /*#__PURE__*/require("../../hooks");
|
14
15
|
var _base = /*#__PURE__*/require("./variations/_view/base");
|
@@ -137,11 +138,11 @@ var comboboxRoot = exports.comboboxRoot = function comboboxRoot(Root) {
|
|
137
138
|
var newValue = item.dataset.value;
|
138
139
|
if (rest.valueType === 'multiple') {
|
139
140
|
var _rest$onChangeValue;
|
140
|
-
var _newSelected = (0,
|
141
|
+
var _newSelected = (0, _utils3.getNewSelected)(rest.value, newValue, rest.valueType);
|
141
142
|
(_rest$onChangeValue = rest.onChangeValue) === null || _rest$onChangeValue === void 0 || _rest$onChangeValue.call(rest, _newSelected);
|
142
143
|
return;
|
143
144
|
}
|
144
|
-
var newSelected = (0,
|
145
|
+
var newSelected = (0, _utils3.getNewSelected)(rest.value, newValue, 'single');
|
145
146
|
(_rest$onChangeValue2 = rest.onChangeValue) === null || _rest$onChangeValue2 === void 0 || _rest$onChangeValue2.call(rest, newSelected);
|
146
147
|
onInnerToggle === null || onInnerToggle === void 0 || onInnerToggle(false, event);
|
147
148
|
closedWithoutChanges.current = false;
|
@@ -173,11 +174,11 @@ var comboboxRoot = exports.comboboxRoot = function comboboxRoot(Root) {
|
|
173
174
|
onKeyDownTarget = _useKeyNavigation.onKeyDownTarget,
|
174
175
|
onKeyDownSelect = _useKeyNavigation.onKeyDownSelect;
|
175
176
|
var childrenArray = _react.Children.toArray(children);
|
176
|
-
var childrenMemo = (0,
|
177
|
+
var childrenMemo = (0, _utils3.getChildren)(childrenArray, {
|
177
178
|
onClick: onClickChildrenItem,
|
178
179
|
childrenRefs: itemsRefs
|
179
180
|
}, value, filterValue, filterFunction).filter(Boolean);
|
180
|
-
var values = (0,
|
181
|
+
var values = (0, _utils3.getValues)(childrenArray, value);
|
181
182
|
var onSearch = function onSearch(newSearch, newOpened) {
|
182
183
|
setSearch(newSearch);
|
183
184
|
setFilterValue(newSearch);
|
@@ -226,7 +227,7 @@ var comboboxRoot = exports.comboboxRoot = function comboboxRoot(Root) {
|
|
226
227
|
,
|
227
228
|
id: innerId,
|
228
229
|
offset: offset,
|
229
|
-
placement: (0,
|
230
|
+
placement: (0, _utils2.getPlacements)(placement),
|
230
231
|
usePortal: usePortal,
|
231
232
|
selectWidth: dynamicTargetWidth,
|
232
233
|
frame: frame,
|
@@ -124,7 +124,7 @@ var dropdownRoot = exports.dropdownRoot = function dropdownRoot(Root) {
|
|
124
124
|
usePortal: false,
|
125
125
|
onToggle: handleGlobalToggle,
|
126
126
|
offset: offset,
|
127
|
-
placement: (0,
|
127
|
+
placement: (0, _utils2.getPlacements)(placement),
|
128
128
|
trigger: trigger,
|
129
129
|
closeOnOverlayClick: closeOnOverlayClick,
|
130
130
|
isFocusTrapped: false,
|
@@ -162,8 +162,7 @@ var dropdownRoot = exports.dropdownRoot = function dropdownRoot(Root) {
|
|
162
162
|
onItemClick: onItemClick,
|
163
163
|
listWidth: listWidth,
|
164
164
|
variant: variant,
|
165
|
-
hasArrow: hasArrow
|
166
|
-
size: size
|
165
|
+
hasArrow: hasArrow
|
167
166
|
});
|
168
167
|
}))));
|
169
168
|
});
|
@@ -26,8 +26,7 @@ var DropdownInner = exports.DropdownInner = function DropdownInner(_ref) {
|
|
26
26
|
onItemClick = _ref.onItemClick,
|
27
27
|
listWidth = _ref.listWidth,
|
28
28
|
variant = _ref.variant,
|
29
|
-
hasArrow = _ref.hasArrow
|
30
|
-
size = _ref.size;
|
29
|
+
hasArrow = _ref.hasArrow;
|
31
30
|
var handleToggle = function handleToggle(opened) {
|
32
31
|
if (opened) {
|
33
32
|
dispatchPath({
|
@@ -66,8 +65,7 @@ var DropdownInner = exports.DropdownInner = function DropdownInner(_ref) {
|
|
66
65
|
ariaControls: listId,
|
67
66
|
ariaExpanded: isCurrentListOpen,
|
68
67
|
ariaLevel: nextLevel,
|
69
|
-
ariaLabel: item.label
|
70
|
-
size: size
|
68
|
+
ariaLabel: item.label
|
71
69
|
}),
|
72
70
|
onToggle: handleToggle,
|
73
71
|
isFocusTrapped: false,
|
@@ -99,8 +97,7 @@ var DropdownInner = exports.DropdownInner = function DropdownInner(_ref) {
|
|
99
97
|
onItemClick: onItemClick,
|
100
98
|
listWidth: listWidth,
|
101
99
|
variant: variant,
|
102
|
-
hasArrow: hasArrow
|
103
|
-
size: size
|
100
|
+
hasArrow: hasArrow
|
104
101
|
});
|
105
102
|
})));
|
106
103
|
}
|
@@ -115,7 +112,6 @@ var DropdownInner = exports.DropdownInner = function DropdownInner(_ref) {
|
|
115
112
|
onHover: onHover,
|
116
113
|
onItemSelect: onItemSelect,
|
117
114
|
onItemClick: onItemClick,
|
118
|
-
variant: variant
|
119
|
-
size: size
|
115
|
+
variant: variant
|
120
116
|
});
|
121
117
|
};
|
@@ -10,6 +10,7 @@ var _Dropdown = /*#__PURE__*/require("../../Dropdown.tokens");
|
|
10
10
|
var _utils = /*#__PURE__*/require("../../../../utils");
|
11
11
|
var _Icon = /*#__PURE__*/require("../../../_Icon");
|
12
12
|
var _DropdownItem = /*#__PURE__*/require("./DropdownItem.styles");
|
13
|
+
var _DisclosureIconWrappe;
|
13
14
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
14
15
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
15
16
|
var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
|
@@ -30,8 +31,7 @@ var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
|
|
30
31
|
ariaLevel = _ref.ariaLevel,
|
31
32
|
ariaLabel = _ref.ariaLabel,
|
32
33
|
variant = _ref.variant,
|
33
|
-
hasArrow = _ref.hasArrow
|
34
|
-
size = _ref.size;
|
34
|
+
hasArrow = _ref.hasArrow;
|
35
35
|
var value = item.value,
|
36
36
|
label = item.label,
|
37
37
|
disabled = item.disabled,
|
@@ -39,7 +39,6 @@ var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
|
|
39
39
|
contentLeft = item.contentLeft,
|
40
40
|
contentRight = item.contentRight;
|
41
41
|
var ref = (0, _react.useRef)(null);
|
42
|
-
var disclosureIconSize = size === 'xs' ? 'xs' : 's';
|
43
42
|
var isDisabledClassName = disabled || isDisabled ? _Dropdown.classes.dropdownItemIsDisabled : undefined;
|
44
43
|
var focusedClass = currentLevel === focusedPath.length - 1 && index === (focusedPath === null || focusedPath === void 0 ? void 0 : focusedPath[currentLevel]) ? _Dropdown.classes.dropdownItemIsFocused : undefined;
|
45
44
|
var activeClass = value === (path === null || path === void 0 ? void 0 : path[currentLevel + 1]) ? _Dropdown.classes.dropdownItemIsActive : undefined;
|
@@ -85,8 +84,8 @@ var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
|
|
85
84
|
"aria-haspopup": ariaHasPopup,
|
86
85
|
"aria-level": ariaLevel,
|
87
86
|
"aria-label": ariaLabel
|
88
|
-
}, contentLeft && /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledContentLeft, null, contentLeft), /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledText, null, label), contentRight && /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledContentRight, null, contentRight), item.items && hasArrow && /*#__PURE__*/_react["default"].createElement(_DropdownItem.DisclosureIconWrapper, null, /*#__PURE__*/_react["default"].createElement(_Icon.IconDisclosureRight, {
|
89
|
-
size:
|
87
|
+
}, contentLeft && /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledContentLeft, null, contentLeft), /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledText, null, label), contentRight && /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledContentRight, null, contentRight), item.items && hasArrow && (_DisclosureIconWrappe || (_DisclosureIconWrappe = /*#__PURE__*/_react["default"].createElement(_DropdownItem.DisclosureIconWrapper, null, /*#__PURE__*/_react["default"].createElement(_Icon.IconDisclosureRight, {
|
88
|
+
size: "xs",
|
90
89
|
color: "inherit"
|
91
|
-
})));
|
90
|
+
})))));
|
92
91
|
};
|
@@ -3,11 +3,26 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.getValidComponent = exports.getCorrectHeight = exports.childrenWithProps = void 0;
|
6
|
+
exports.getValidComponent = exports.getPlacements = exports.getPlacement = exports.getCorrectHeight = exports.childrenWithProps = void 0;
|
7
7
|
var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
|
8
8
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
9
9
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
10
10
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
11
|
+
var getPlacement = exports.getPlacement = function getPlacement(placement) {
|
12
|
+
return "".concat(placement, "-start");
|
13
|
+
};
|
14
|
+
var getPlacements = exports.getPlacements = function getPlacements(placements) {
|
15
|
+
if (!placements) {
|
16
|
+
return;
|
17
|
+
}
|
18
|
+
var isArray = Array.isArray(placements);
|
19
|
+
if (!isArray) {
|
20
|
+
return getPlacement(placements);
|
21
|
+
}
|
22
|
+
return (placements || []).map(function (placement) {
|
23
|
+
return getPlacement(placement);
|
24
|
+
});
|
25
|
+
};
|
11
26
|
var getCorrectHeight = exports.getCorrectHeight = function getCorrectHeight(listHeight) {
|
12
27
|
if (Number.isNaN(Number(listHeight))) {
|
13
28
|
return listHeight.toString();
|
@@ -62,9 +62,6 @@ var rangeRoot = exports.rangeRoot = function rangeRoot(Root) {
|
|
62
62
|
onBlurFirstTextfield = _ref.onBlurFirstTextfield,
|
63
63
|
onBlurSecondTextfield = _ref.onBlurSecondTextfield,
|
64
64
|
rest = _objectWithoutProperties(_ref, _excluded);
|
65
|
-
var rangeRef = (0, _react.useRef)(null);
|
66
|
-
var firstTextFieldRef = (0, _react.useRef)(null);
|
67
|
-
var secondTextFieldRef = (0, _react.useRef)(null);
|
68
65
|
var rangeErrorClass = firstValueError && secondValueError ? _Range2.classes.rangeError : undefined;
|
69
66
|
var firstValueErrorClass = !rangeErrorClass && firstValueError ? _Range2.classes.rangeValueError : undefined;
|
70
67
|
var secondValueErrorClass = !rangeErrorClass && secondValueError ? _Range2.classes.rangeValueError : undefined;
|
@@ -75,16 +72,6 @@ var rangeRoot = exports.rangeRoot = function rangeRoot(Root) {
|
|
75
72
|
var handleChangeSecondValue = (0, _utils2.getChangeHandler)(onChangeSecondValue, disabled, readOnly);
|
76
73
|
var handleSearchFirstValue = (0, _utils2.getSearchHandler)(onSearchFirstValue, disabled, readOnly);
|
77
74
|
var handleSearchSecondValue = (0, _utils2.getSearchHandler)(onSearchSecondValue, disabled, readOnly);
|
78
|
-
(0, _react.useImperativeHandle)(ref, function () {
|
79
|
-
return {
|
80
|
-
firstTextField: function firstTextField() {
|
81
|
-
return firstTextFieldRef;
|
82
|
-
},
|
83
|
-
secondTextField: function secondTextField() {
|
84
|
-
return secondTextFieldRef;
|
85
|
-
}
|
86
|
-
};
|
87
|
-
}, [firstTextFieldRef, secondTextFieldRef]);
|
88
75
|
var Divider = (0, _react.useMemo)(function () {
|
89
76
|
if (dividerVariant === 'none') {
|
90
77
|
return null;
|
@@ -95,15 +82,14 @@ var rangeRoot = exports.rangeRoot = function rangeRoot(Root) {
|
|
95
82
|
return _StyledDivider2 || (_StyledDivider2 = /*#__PURE__*/_react["default"].createElement(_Range.StyledDivider, null, dividerIcon));
|
96
83
|
}, [dividerVariant, dividerIcon]);
|
97
84
|
return /*#__PURE__*/_react["default"].createElement(Root, _extends({
|
98
|
-
ref: rangeRef,
|
99
85
|
view: view,
|
100
86
|
size: size,
|
101
87
|
disabled: disabled,
|
102
|
-
readOnly: !disabled && readOnly
|
88
|
+
readOnly: !disabled && readOnly,
|
89
|
+
ref: ref
|
103
90
|
}, rest), label && /*#__PURE__*/_react["default"].createElement(_Range.StyledLabel, null, label), /*#__PURE__*/_react["default"].createElement(_Range.ContentWrapper, {
|
104
91
|
className: (0, _utils.cx)(rangeErrorClass, rangeSuccessClass)
|
105
92
|
}, contentLeft && /*#__PURE__*/_react["default"].createElement(_Range.StyledContentLeft, null, contentLeft), /*#__PURE__*/_react["default"].createElement(_Range.StyledInput, {
|
106
|
-
ref: firstTextFieldRef,
|
107
93
|
className: (0, _utils.cx)(firstValueErrorClass, firstValueSuccessClass),
|
108
94
|
value: firstValue,
|
109
95
|
readOnly: readOnly,
|
@@ -118,7 +104,6 @@ var rangeRoot = exports.rangeRoot = function rangeRoot(Root) {
|
|
118
104
|
onFocus: onFocusFirstTextfield,
|
119
105
|
onBlur: onBlurFirstTextfield
|
120
106
|
}), Divider, /*#__PURE__*/_react["default"].createElement(_Range.StyledInput, {
|
121
|
-
ref: secondTextFieldRef,
|
122
107
|
className: (0, _utils.cx)(secondValueErrorClass, secondValueSuccessClass),
|
123
108
|
value: secondValue,
|
124
109
|
readOnly: readOnly,
|
@@ -8,7 +8,6 @@ exports.base = exports.StyledLabel = exports.StyledInput = exports.StyledDivider
|
|
8
8
|
var _styledComponents = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("styled-components"));
|
9
9
|
var _engines = /*#__PURE__*/require("../../engines");
|
10
10
|
var _TextField = /*#__PURE__*/require("../TextField");
|
11
|
-
var _Popover = /*#__PURE__*/require("../Popover");
|
12
11
|
var _Range = /*#__PURE__*/require("./Range.tokens");
|
13
12
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
14
13
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
@@ -18,8 +17,8 @@ var TextField = /*#__PURE__*/(0, _engines.component)(mergedConfig);
|
|
18
17
|
// NOTE: переопределение токенов TextField
|
19
18
|
var StyledInput = exports.StyledInput = /*#__PURE__*/(0, _styledComponents["default"])(TextField).withConfig({
|
20
19
|
componentId: "plasma-new-hope__sc-xpkrak-0"
|
21
|
-
})(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}"], _TextField.textFieldTokens.color, _Range.tokens.textFieldColor, _TextField.textFieldTokens.placeholderColor, _Range.tokens.textFieldPlaceholderColor, _TextField.textFieldTokens.caretColor, _Range.tokens.textFieldCaretColor, _TextField.textFieldTokens.focusColor, _Range.tokens.textFieldFocusColor, _TextField.textFieldTokens.backgroundColor, _Range.tokens.textFieldBackgroundColor, _TextField.textFieldTokens.backgroundColorHover, _Range.tokens.textFieldBackgroundColorHover, _TextField.textFieldTokens.backgroundColorFocus, _Range.tokens.textFieldBackgroundColorFocus, _TextField.textFieldTokens.borderColor, _Range.tokens.textFieldBorderColor, _TextField.textFieldTokens.borderColorHover, _Range.tokens.textFieldBorderColorHover, _TextField.textFieldTokens.borderColorFocus, _Range.tokens.textFieldBorderColorFocus, _TextField.textFieldTokens.colorReadOnly, _Range.tokens.textFieldColorReadOnly, _TextField.textFieldTokens.backgroundColorReadOnly, _Range.tokens.textFieldBackgroundColorReadOnly, _TextField.textFieldTokens.borderColorReadOnly, _Range.tokens.textFieldBorderColorReadOnly, _TextField.textFieldTokens.placeholderColorReadOnly, _Range.tokens.textFieldPlaceholderColorReadOnly, _TextField.textFieldTokens.height, _Range.tokens.textFieldHeight, _TextField.textFieldTokens.borderWidth, _Range.tokens.textFieldBorderWidth, _TextField.textFieldTokens.borderRadius, _Range.tokens.textFieldBorderRadius, _TextField.textFieldTokens.padding, _Range.tokens.textFieldPadding, _TextField.textFieldTokens.leftContentMargin, _Range.tokens.textFieldLeftContentMargin, _TextField.textFieldTokens.rightContentMargin, _Range.tokens.textFieldRightContentMargin, _TextField.textFieldTokens.fontFamily, _Range.tokens.textFieldFontFamily, _TextField.textFieldTokens.fontSize, _Range.tokens.textFieldFontSize, _TextField.textFieldTokens.fontStyle, _Range.tokens.textFieldFontStyle, _TextField.textFieldTokens.fontWeight, _Range.tokens.textFieldFontWeight, _TextField.textFieldTokens.letterSpacing, _Range.tokens.textFieldLetterSpacing, _TextField.textFieldTokens.lineHeight, _Range.tokens.textFieldLineHeight, _TextField.textFieldTokens.disabledOpacity, _Range.tokens.disabledOpacity, _TextField.textFieldTokens.textBeforeColor, _Range.tokens.textFieldTextBeforeColor, _TextField.textFieldTokens.textAfterColor, _Range.tokens.textFieldTextAfterColor, _TextField.textFieldTokens.textBeforeMargin, _Range.tokens.textFieldTextBeforeMargin, _TextField.textFieldTokens.textAfterMargin, _Range.tokens.textFieldTextAfterMargin, _Range.classes.rangeValueError, _TextField.textFieldTokens.backgroundColor, _Range.tokens.textFieldBackgroundErrorColor, _TextField.textFieldTokens.backgroundColorHover, _Range.tokens.textFieldBackgroundErrorColorHover, _TextField.textFieldTokens.backgroundColorFocus, _Range.tokens.textFieldBackgroundErrorColorFocus, _TextField.textFieldTokens.borderColor, _Range.tokens.textFieldBorderColorError, _TextField.textFieldTokens.borderColorHover, _Range.tokens.textFieldBorderColorErrorHover, _TextField.textFieldTokens.borderColorFocus, _Range.tokens.textFieldBorderColorErrorFocus, _Range.classes.rangeValueSuccess, _TextField.textFieldTokens.backgroundColor, _Range.tokens.textFieldBackgroundSuccessColor, _TextField.textFieldTokens.backgroundColorHover, _Range.tokens.textFieldBackgroundSuccessColorHover, _TextField.textFieldTokens.backgroundColorFocus, _Range.tokens.textFieldBackgroundSuccessColorFocus, _TextField.textFieldTokens.borderColor, _Range.tokens.textFieldBorderColorSuccess, _TextField.textFieldTokens.borderColorHover, _Range.tokens.textFieldBorderColorSuccessHover, _TextField.textFieldTokens.borderColorFocus, _Range.tokens.textFieldBorderColorSuccessFocus);
|
22
|
-
var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["
|
20
|
+
})(["flex:1;", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}"], _TextField.textFieldTokens.color, _Range.tokens.textFieldColor, _TextField.textFieldTokens.placeholderColor, _Range.tokens.textFieldPlaceholderColor, _TextField.textFieldTokens.caretColor, _Range.tokens.textFieldCaretColor, _TextField.textFieldTokens.focusColor, _Range.tokens.textFieldFocusColor, _TextField.textFieldTokens.backgroundColor, _Range.tokens.textFieldBackgroundColor, _TextField.textFieldTokens.backgroundColorHover, _Range.tokens.textFieldBackgroundColorHover, _TextField.textFieldTokens.backgroundColorFocus, _Range.tokens.textFieldBackgroundColorFocus, _TextField.textFieldTokens.borderColor, _Range.tokens.textFieldBorderColor, _TextField.textFieldTokens.borderColorHover, _Range.tokens.textFieldBorderColorHover, _TextField.textFieldTokens.borderColorFocus, _Range.tokens.textFieldBorderColorFocus, _TextField.textFieldTokens.colorReadOnly, _Range.tokens.textFieldColorReadOnly, _TextField.textFieldTokens.backgroundColorReadOnly, _Range.tokens.textFieldBackgroundColorReadOnly, _TextField.textFieldTokens.borderColorReadOnly, _Range.tokens.textFieldBorderColorReadOnly, _TextField.textFieldTokens.placeholderColorReadOnly, _Range.tokens.textFieldPlaceholderColorReadOnly, _TextField.textFieldTokens.height, _Range.tokens.textFieldHeight, _TextField.textFieldTokens.borderWidth, _Range.tokens.textFieldBorderWidth, _TextField.textFieldTokens.borderRadius, _Range.tokens.textFieldBorderRadius, _TextField.textFieldTokens.padding, _Range.tokens.textFieldPadding, _TextField.textFieldTokens.leftContentMargin, _Range.tokens.textFieldLeftContentMargin, _TextField.textFieldTokens.rightContentMargin, _Range.tokens.textFieldRightContentMargin, _TextField.textFieldTokens.fontFamily, _Range.tokens.textFieldFontFamily, _TextField.textFieldTokens.fontSize, _Range.tokens.textFieldFontSize, _TextField.textFieldTokens.fontStyle, _Range.tokens.textFieldFontStyle, _TextField.textFieldTokens.fontWeight, _Range.tokens.textFieldFontWeight, _TextField.textFieldTokens.letterSpacing, _Range.tokens.textFieldLetterSpacing, _TextField.textFieldTokens.lineHeight, _Range.tokens.textFieldLineHeight, _TextField.textFieldTokens.disabledOpacity, _Range.tokens.disabledOpacity, _TextField.textFieldTokens.textBeforeColor, _Range.tokens.textFieldTextBeforeColor, _TextField.textFieldTokens.textAfterColor, _Range.tokens.textFieldTextAfterColor, _TextField.textFieldTokens.textBeforeMargin, _Range.tokens.textFieldTextBeforeMargin, _TextField.textFieldTokens.textAfterMargin, _Range.tokens.textFieldTextAfterMargin, _Range.classes.rangeValueError, _TextField.textFieldTokens.backgroundColor, _Range.tokens.textFieldBackgroundErrorColor, _TextField.textFieldTokens.backgroundColorHover, _Range.tokens.textFieldBackgroundErrorColorHover, _TextField.textFieldTokens.backgroundColorFocus, _Range.tokens.textFieldBackgroundErrorColorFocus, _TextField.textFieldTokens.borderColor, _Range.tokens.textFieldBorderColorError, _TextField.textFieldTokens.borderColorHover, _Range.tokens.textFieldBorderColorErrorHover, _TextField.textFieldTokens.borderColorFocus, _Range.tokens.textFieldBorderColorErrorFocus, _Range.classes.rangeValueSuccess, _TextField.textFieldTokens.backgroundColor, _Range.tokens.textFieldBackgroundSuccessColor, _TextField.textFieldTokens.backgroundColorHover, _Range.tokens.textFieldBackgroundSuccessColorHover, _TextField.textFieldTokens.backgroundColorFocus, _Range.tokens.textFieldBackgroundSuccessColorFocus, _TextField.textFieldTokens.borderColor, _Range.tokens.textFieldBorderColorSuccess, _TextField.textFieldTokens.borderColorHover, _Range.tokens.textFieldBorderColorSuccessHover, _TextField.textFieldTokens.borderColorFocus, _Range.tokens.textFieldBorderColorSuccessFocus);
|
21
|
+
var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)([""]);
|
23
22
|
var StyledLabel = exports.StyledLabel = /*#__PURE__*/_styledComponents["default"].label.withConfig({
|
24
23
|
componentId: "plasma-new-hope__sc-xpkrak-1"
|
25
24
|
})([""]);
|
@@ -24,6 +24,11 @@ import { PropsTable, Description } from '@site/src/components';
|
|
24
24
|
Оберните в `SegmentProvider` компонент, в котором будут использованы SegmentGroup с SegmentItem.
|
25
25
|
Внутри данного провайдера есть доступ к хуку `useSegment`.
|
26
26
|
|
27
|
+
### Выбранные по умолчанию SegmentItem
|
28
|
+
|
29
|
+
Можно задать выбранные по умолчанию сегменты с помощью свойства `defaultSelected`.
|
30
|
+
Оно передается в `SegmentProvider`, в виде массива `value` элеметов.
|
31
|
+
|
27
32
|
```tsx live
|
28
33
|
import React from 'react';
|
29
34
|
import { SegmentGroup, SegmentItem, SegmentProvider, useSegment } from '@salutejs/{{ package }}';
|
@@ -37,7 +42,7 @@ export function App() {
|
|
37
42
|
return (
|
38
43
|
<>
|
39
44
|
<div>Выбранные элементы: {selectedSegmentItems.join(', ')}</div>
|
40
|
-
<SegmentGroup
|
45
|
+
<SegmentGroup view='filled' selectionMode='multiple' filledBackground pilled>
|
41
46
|
{items.map((_, i) => (
|
42
47
|
<SegmentItem
|
43
48
|
label={`Label ${i}`}
|
@@ -54,7 +59,7 @@ export function App() {
|
|
54
59
|
|
55
60
|
return (
|
56
61
|
<div style=\{{ display: "block" }} >
|
57
|
-
<SegmentProvider>
|
62
|
+
<SegmentProvider defaultSelected={['label_1']}>
|
58
63
|
<SegmentTemplate/>
|
59
64
|
</SegmentProvider>
|
60
65
|
</div>
|
@@ -34,8 +34,9 @@ var useSegment = exports.useSegment = function useSegment() {
|
|
34
34
|
};
|
35
35
|
};
|
36
36
|
var SegmentProvider = exports.SegmentProvider = function SegmentProvider(_ref) {
|
37
|
-
var children = _ref.children
|
38
|
-
|
37
|
+
var children = _ref.children,
|
38
|
+
defaultSelected = _ref.defaultSelected;
|
39
|
+
var _useState = (0, _react.useState)(defaultSelected || []),
|
39
40
|
_useState2 = _slicedToArray(_useState, 2),
|
40
41
|
selectedSegmentItems = _useState2[0],
|
41
42
|
setSelectedSegmentItems = _useState2[1];
|
@@ -62,6 +63,7 @@ var SegmentProvider = exports.SegmentProvider = function SegmentProvider(_ref) {
|
|
62
63
|
}, [selectionMode, setSelectedSegmentItems]);
|
63
64
|
var contextValue = {
|
64
65
|
selectedSegmentItems: selectedSegmentItems,
|
66
|
+
setSelectedSegmentItems: setSelectedSegmentItems,
|
65
67
|
handleSelect: handleSelect,
|
66
68
|
selectionMode: selectionMode,
|
67
69
|
setSelectionMode: setSelectionMode,
|
@@ -69,7 +71,9 @@ var SegmentProvider = exports.SegmentProvider = function SegmentProvider(_ref) {
|
|
69
71
|
setDisabledGroup: setDisabledGroup
|
70
72
|
};
|
71
73
|
(0, _react.useEffect)(function () {
|
72
|
-
|
74
|
+
if (selectionMode === 'single' && (selectedSegmentItems === null || selectedSegmentItems === void 0 ? void 0 : selectedSegmentItems.length) > 0) {
|
75
|
+
setSelectedSegmentItems([selectedSegmentItems[0]]);
|
76
|
+
}
|
73
77
|
}, [selectionMode]);
|
74
78
|
return /*#__PURE__*/_react["default"].createElement(SegmentContext.Provider, {
|
75
79
|
value: contextValue
|
@@ -8,12 +8,13 @@ exports.selectRoot = exports.selectConfig = void 0;
|
|
8
8
|
var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
|
9
9
|
var _plasmaCore = /*#__PURE__*/require("@salutejs/plasma-core");
|
10
10
|
var _utils = /*#__PURE__*/require("../../utils");
|
11
|
+
var _utils2 = /*#__PURE__*/require("../Dropdown/utils");
|
11
12
|
var _hooks = /*#__PURE__*/require("../../hooks");
|
12
13
|
var _base = /*#__PURE__*/require("./variations/_target/base");
|
13
14
|
var _base2 = /*#__PURE__*/require("./variations/_view/base");
|
14
15
|
var _base3 = /*#__PURE__*/require("./variations/_size/base");
|
15
16
|
var _ui = /*#__PURE__*/require("./ui");
|
16
|
-
var
|
17
|
+
var _utils3 = /*#__PURE__*/require("./utils");
|
17
18
|
var _Select = /*#__PURE__*/require("./Select.tokens");
|
18
19
|
var _Select2 = /*#__PURE__*/require("./Select.styles");
|
19
20
|
var _hooks2 = /*#__PURE__*/require("./hooks");
|
@@ -115,11 +116,11 @@ var selectRoot = exports.selectRoot = function selectRoot(Root) {
|
|
115
116
|
var newValue = item.dataset.value;
|
116
117
|
if (rest.valueType === 'multiple') {
|
117
118
|
var _rest$onChangeValue;
|
118
|
-
var _newSelected = (0,
|
119
|
+
var _newSelected = (0, _utils3.getNewSelected)(rest.value, newValue, rest.valueType);
|
119
120
|
(_rest$onChangeValue = rest.onChangeValue) === null || _rest$onChangeValue === void 0 || _rest$onChangeValue.call(rest, _newSelected);
|
120
121
|
return;
|
121
122
|
}
|
122
|
-
var newSelected = (0,
|
123
|
+
var newSelected = (0, _utils3.getNewSelected)(rest.value, newValue, 'single');
|
123
124
|
(_rest$onChangeValue2 = rest.onChangeValue) === null || _rest$onChangeValue2 === void 0 || _rest$onChangeValue2.call(rest, newSelected);
|
124
125
|
onInnerToggle === null || onInnerToggle === void 0 || onInnerToggle(false, event);
|
125
126
|
}, [rest.value, rest.valueType, rest.onChangeValue, onToggle, onInnerToggle]);
|
@@ -135,7 +136,7 @@ var selectRoot = exports.selectRoot = function selectRoot(Root) {
|
|
135
136
|
return;
|
136
137
|
}
|
137
138
|
var newValue = event.target.value;
|
138
|
-
var newSelected = (0,
|
139
|
+
var newSelected = (0, _utils3.getNewSelected)(rest.value, newValue, 'native');
|
139
140
|
(_rest$onChangeValue3 = rest.onChangeValue) === null || _rest$onChangeValue3 === void 0 || _rest$onChangeValue3.call(rest, newSelected);
|
140
141
|
}, [rest.value, rest.valueType, rest.onChangeValue]);
|
141
142
|
var onChangeChipValue = (0, _react.useCallback)(function (newValue) {
|
@@ -160,13 +161,13 @@ var selectRoot = exports.selectRoot = function selectRoot(Root) {
|
|
160
161
|
return _react.Children.toArray(children);
|
161
162
|
}, [children]);
|
162
163
|
var childrenMemo = (0, _react.useMemo)(function () {
|
163
|
-
return (0,
|
164
|
+
return (0, _utils3.getChildren)(childrenArray, {
|
164
165
|
onClick: onClickChildrenItem,
|
165
166
|
childrenRefs: itemsRefs
|
166
167
|
}, value);
|
167
168
|
}, [childrenArray, value, innerOpened]);
|
168
169
|
var values = (0, _react.useMemo)(function () {
|
169
|
-
return (0,
|
170
|
+
return (0, _utils3.getValues)(childrenArray, value);
|
170
171
|
}, [childrenArray, value]);
|
171
172
|
return /*#__PURE__*/_react["default"].createElement(_Select2.StyledRoot, {
|
172
173
|
ref: selectRef
|
@@ -207,7 +208,7 @@ var selectRoot = exports.selectRoot = function selectRoot(Root) {
|
|
207
208
|
id: innerId,
|
208
209
|
offset: offset,
|
209
210
|
frame: frame,
|
210
|
-
placement: (0,
|
211
|
+
placement: (0, _utils2.getPlacements)(placement),
|
211
212
|
trigger: "click",
|
212
213
|
usePortal: usePortal,
|
213
214
|
selectWidth: dynamicTargetWidth,
|
@@ -26,7 +26,7 @@ var tokens = exports.tokens = {
|
|
26
26
|
caretColor: '--plasma-textfield__caret-color',
|
27
27
|
placeholderColor: '--plasma-textfield__placeholder-color',
|
28
28
|
height: '--plasma-textfield-height',
|
29
|
-
borderWidth: '--
|
29
|
+
borderWidth: '--plasmas-textfield-border-width',
|
30
30
|
borderRadius: '--plasma-textfield-border-radius',
|
31
31
|
/** Отступ от границы ТextField */
|
32
32
|
padding: '--plasma-textfield-padding',
|
@@ -7,4 +7,4 @@ exports.base = void 0;
|
|
7
7
|
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
8
|
var _TextField = /*#__PURE__*/require("../../TextField.tokens");
|
9
9
|
var _TextField2 = /*#__PURE__*/require("../../TextField.styles");
|
10
|
-
var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["", "{
|
10
|
+
var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["", "{font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{height:var(", ");border-radius:var(", ");padding:var(", ");&.", "{padding-top:var(", ");padding-bottom:var(", ");}&.", "{padding-left:var(", ");}&.", "{padding-right:var(", ");}}", "{font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{margin-top:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", ",", "{font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{margin:var(", ");}", "{margin:var(", ");}"], _TextField2.Input, _TextField.tokens.fontFamily, _TextField.tokens.fontSize, _TextField.tokens.fontStyle, _TextField.tokens.fontWeight, _TextField.tokens.letterSpacing, _TextField.tokens.lineHeight, _TextField2.InputWrapper, _TextField.tokens.height, _TextField.tokens.borderRadius, _TextField.tokens.padding, _TextField.classes.hasChips, _TextField.tokens.paddingWithChips, _TextField.tokens.paddingWithChips, _TextField.classes.hasEmptyContentLeft, _TextField.tokens.paddingWithChips, _TextField.classes.hasEmptyContentRight, _TextField.tokens.paddingWithChips, _TextField2.Label, _TextField.tokens.labelFontFamily, _TextField.tokens.labelFontSize, _TextField.tokens.labelFontStyle, _TextField.tokens.labelFontWeight, _TextField.tokens.labelLetterSpacing, _TextField.tokens.labelLineHeight, _TextField2.LeftHelper, _TextField.tokens.leftHelperOffset, _TextField.tokens.leftHelperFontFamily, _TextField.tokens.leftHelperFontSize, _TextField.tokens.leftHelperFontStyle, _TextField.tokens.leftHelperFontWeight, _TextField.tokens.leftHelperLetterSpacing, _TextField.tokens.leftHelperLineHeight, _TextField2.StyledTextBefore, _TextField2.StyledTextAfter, _TextField.tokens.fontFamily, _TextField.tokens.fontSize, _TextField.tokens.fontStyle, _TextField.tokens.fontWeight, _TextField.tokens.letterSpacing, _TextField.tokens.lineHeight, _TextField2.StyledTextBefore, _TextField.tokens.textBeforeMargin, _TextField2.StyledTextAfter, _TextField.tokens.textAfterMargin);
|
@@ -16,7 +16,7 @@ var DisclosureLeft = exports.DisclosureLeft = function DisclosureLeft(props) {
|
|
16
16
|
}, props), _path || (_path = /*#__PURE__*/_react["default"].createElement("path", {
|
17
17
|
fillRule: "evenodd",
|
18
18
|
clipRule: "evenodd",
|
19
|
-
d: "M14.
|
19
|
+
d: "M14.117 8.707a1 1 0 10-1.414-1.414L7.996 12l4.707 4.707a1 1 0 001.414-1.414L10.824 12l3.293-3.293z",
|
20
20
|
fill: "currentColor"
|
21
21
|
})));
|
22
22
|
};
|
@@ -5,18 +5,28 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.DisclosureRight = void 0;
|
7
7
|
var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
|
8
|
-
var _path;
|
8
|
+
var _path, _path2;
|
9
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
10
10
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
11
11
|
var DisclosureRight = exports.DisclosureRight = function DisclosureRight(props) {
|
12
|
+
if (props.size === 'xs') {
|
13
|
+
return /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
14
|
+
width: "100%",
|
15
|
+
viewBox: "0 0 17 16",
|
16
|
+
fill: "none"
|
17
|
+
}, props), _path || (_path = /*#__PURE__*/_react["default"].createElement("path", {
|
18
|
+
fillRule: "evenodd",
|
19
|
+
clipRule: "evenodd",
|
20
|
+
d: "M9.883 4.707a1 1 0 011.414-1.414L16.004 8l-4.707 4.707a1 1 0 01-1.414-1.414L13.176 8 9.883 4.707z",
|
21
|
+
fill: "currentColor"
|
22
|
+
})));
|
23
|
+
}
|
12
24
|
return /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
13
25
|
width: "100%",
|
14
26
|
viewBox: "0 0 24 24",
|
15
27
|
fill: "none"
|
16
|
-
}, props),
|
17
|
-
|
18
|
-
clipRule: "evenodd",
|
19
|
-
d: "M9.46967 6.96967C9.17678 7.26256 9.17678 7.73744 9.46967 8.03033L13.4393 12L9.46967 15.9697C9.17678 16.2626 9.17678 16.7374 9.46967 17.0303C9.76256 17.3232 10.2374 17.3232 10.5303 17.0303L15.5607 12L10.5303 6.96967C10.2374 6.67678 9.76256 6.67678 9.46967 6.96967Z",
|
28
|
+
}, props), _path2 || (_path2 = /*#__PURE__*/_react["default"].createElement("path", {
|
29
|
+
d: "M9.883 8.707a1 1 0 011.414-1.414L16.004 12l-4.707 4.707a1 1 0 01-1.414-1.414L13.176 12 9.883 8.707z",
|
20
30
|
fill: "currentColor"
|
21
31
|
})));
|
22
32
|
};
|
@@ -39,12 +39,6 @@ Object.defineProperty(exports, "IconCross", {
|
|
39
39
|
return _IconCross.IconCross;
|
40
40
|
}
|
41
41
|
});
|
42
|
-
Object.defineProperty(exports, "IconDisclosureDownFill", {
|
43
|
-
enumerable: true,
|
44
|
-
get: function get() {
|
45
|
-
return _IconDisclosureDownFill.IconDisclosureDownFill;
|
46
|
-
}
|
47
|
-
});
|
48
42
|
Object.defineProperty(exports, "IconDisclosureLeft", {
|
49
43
|
enumerable: true,
|
50
44
|
get: function get() {
|
@@ -77,7 +71,6 @@ Object.defineProperty(exports, "IconMinus", {
|
|
77
71
|
});
|
78
72
|
var _IconDisclosureLeft = /*#__PURE__*/require("./Icons/IconDisclosureLeft");
|
79
73
|
var _IconDisclosureRight = /*#__PURE__*/require("./Icons/IconDisclosureRight");
|
80
|
-
var _IconDisclosureDownFill = /*#__PURE__*/require("./Icons/IconDisclosureDownFill");
|
81
74
|
var _IconMic = /*#__PURE__*/require("./Icons/IconMic");
|
82
75
|
var _IconChevronLeft = /*#__PURE__*/require("./Icons/IconChevronLeft");
|
83
76
|
var _IconChevronDoubleLeft = /*#__PURE__*/require("./Icons/IconChevronDoubleLeft");
|