@salutejs/plasma-new-hope 0.94.0-canary.1274.9714331676.0 → 0.94.0-dev.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 +67 -28
- 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 +57 -29
- package/cjs/components/Calendar/CalendarBase/CalendarBase.js +6 -0
- 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_rv9ax9.css → CalendarBase.styles_1m6uih1.css} +1 -1
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +58 -30
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +6 -0
- 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_1rc2ejs.css → cjs/components/Calendar/CalendarDouble/CalendarDouble.styles_e9ada0.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/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_107vqka.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/cjs/components/Calendar/ui/CalendarDays/{CalendarDays.styles_bnrjbd.css → CalendarDays.styles_1oq8sud.css} +1 -1
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +36 -8
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +31 -17
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +27 -12
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_gnorek.css +8 -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_7jeg2n.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_4z2ki7.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/DatePicker/DatePicker.tokens.js +189 -0
- package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -0
- package/cjs/components/DatePicker/DatePickerBase.styles.js +30 -0
- package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -0
- package/cjs/components/DatePicker/DatePickerBase.styles_1thp2xv.css +1 -0
- package/cjs/components/DatePicker/RangeDate/RangeDate.css +152 -0
- package/cjs/components/DatePicker/RangeDate/RangeDate.js +285 -0
- package/cjs/components/DatePicker/RangeDate/RangeDate.js.map +1 -0
- package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +51 -0
- package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -0
- package/cjs/components/DatePicker/RangeDate/RangeDate.styles_ww61h9.css +5 -0
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +144 -0
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +83 -0
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -0
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +42 -0
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -0
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_wp3vfj.css +2 -0
- package/cjs/components/DatePicker/RangeDate/variations/_disabled/base.js +9 -0
- package/cjs/components/DatePicker/RangeDate/variations/_disabled/base.js.map +1 -0
- package/cjs/components/DatePicker/RangeDate/variations/_disabled/base_tl4jc7.css +1 -0
- package/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js +9 -0
- package/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js.map +1 -0
- package/cjs/components/DatePicker/RangeDate/variations/_readonly/base_f58pkk.css +1 -0
- package/cjs/components/DatePicker/RangeDate/variations/_size/base.js +9 -0
- package/cjs/components/DatePicker/RangeDate/variations/_size/base.js.map +1 -0
- package/cjs/components/DatePicker/RangeDate/variations/_size/base_1911nyw.css +1 -0
- package/cjs/components/DatePicker/RangeDate/variations/_view/base.js +9 -0
- package/cjs/components/DatePicker/RangeDate/variations/_view/base.js.map +1 -0
- package/cjs/components/DatePicker/RangeDate/variations/_view/base_11yn9y8.css +1 -0
- package/cjs/components/DatePicker/SingleDate/SingleDate.css +134 -0
- package/cjs/components/DatePicker/SingleDate/SingleDate.js +183 -0
- package/cjs/components/DatePicker/SingleDate/SingleDate.js.map +1 -0
- package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +51 -0
- package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -0
- package/cjs/components/DatePicker/SingleDate/SingleDate.styles_18b5qkz.css +5 -0
- package/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js +9 -0
- package/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js.map +1 -0
- package/cjs/components/DatePicker/SingleDate/variations/_disabled/base_1rfgfsz.css +1 -0
- package/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js +9 -0
- package/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js.map +1 -0
- package/cjs/components/DatePicker/SingleDate/variations/_readonly/base_1jucwp.css +1 -0
- package/cjs/components/DatePicker/SingleDate/variations/_size/base.js +9 -0
- package/cjs/components/DatePicker/SingleDate/variations/_size/base.js.map +1 -0
- package/cjs/components/DatePicker/SingleDate/variations/_size/base_lf7y25.css +1 -0
- package/cjs/components/DatePicker/SingleDate/variations/_view/base.js +9 -0
- package/cjs/components/DatePicker/SingleDate/variations/_view/base.js.map +1 -0
- package/cjs/components/DatePicker/SingleDate/variations/_view/base_15vaheb.css +1 -0
- package/cjs/components/DatePicker/hooks/useDatePicker.js +79 -0
- package/cjs/components/DatePicker/hooks/useDatePicker.js.map +1 -0
- package/cjs/components/DatePicker/utils/dateHelper.js +84 -0
- package/cjs/components/DatePicker/utils/dateHelper.js.map +1 -0
- package/cjs/components/Dropdown/Dropdown.js +4 -2
- package/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +8 -4
- package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +6 -5
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
- package/cjs/components/Dropdown/utils/index.js +0 -17
- package/cjs/components/Dropdown/utils/index.js.map +1 -1
- package/cjs/components/Range/Range.css +6 -6
- package/cjs/components/Range/Range.js +17 -2
- 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_9rort8.css +8 -0
- 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_1vu13zn.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_orwx1f.css +1 -0
- package/cjs/components/TextField/variations/_view/base.js +1 -1
- package/cjs/components/TextField/variations/_view/base_18ea6z7.css +1 -0
- package/cjs/components/_Icon/Icon.assets/DisclosureDownFill.js +23 -0
- package/cjs/components/_Icon/Icon.assets/DisclosureDownFill.js.map +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 +5 -15
- package/cjs/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
- package/cjs/components/_Icon/Icons/IconDisclosureDownFill.js +23 -0
- package/cjs/components/_Icon/Icons/IconDisclosureDownFill.js.map +1 -0
- package/cjs/index.css +71 -38
- package/cjs/index.js +12 -0
- package/cjs/index.js.map +1 -1
- package/cjs/utils/datejs.js +12 -0
- package/cjs/utils/datejs.js.map +1 -0
- package/cjs/utils/getPopoverPlacement.js +23 -0
- package/cjs/utils/getPopoverPlacement.js.map +1 -0
- package/cjs/utils/index.js.map +1 -1
- package/es/components/Calendar/Calendar.tokens.js +67 -28
- 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 +57 -29
- package/es/components/Calendar/CalendarBase/CalendarBase.js +7 -1
- 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_rv9ax9.css → CalendarBase.styles_1m6uih1.css} +1 -1
- package/es/components/Calendar/CalendarDouble/CalendarDouble.css +58 -30
- package/es/components/Calendar/CalendarDouble/CalendarDouble.js +7 -1
- 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_1rc2ejs.css → es/components/Calendar/CalendarDouble/CalendarDouble.styles_e9ada0.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/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_107vqka.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/es/components/Calendar/ui/CalendarDays/{CalendarDays.styles_bnrjbd.css → CalendarDays.styles_1oq8sud.css} +1 -1
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +36 -8
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +32 -18
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +26 -13
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_gnorek.css +8 -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_7jeg2n.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_4z2ki7.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/DatePicker/DatePicker.tokens.js +184 -0
- package/es/components/DatePicker/DatePicker.tokens.js.map +1 -0
- package/es/components/DatePicker/DatePickerBase.styles.js +26 -0
- package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -0
- package/es/components/DatePicker/DatePickerBase.styles_1thp2xv.css +1 -0
- package/es/components/DatePicker/RangeDate/RangeDate.css +152 -0
- package/es/components/DatePicker/RangeDate/RangeDate.js +280 -0
- package/es/components/DatePicker/RangeDate/RangeDate.js.map +1 -0
- package/es/components/DatePicker/RangeDate/RangeDate.styles.js +43 -0
- package/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -0
- package/es/components/DatePicker/RangeDate/RangeDate.styles_ww61h9.css +5 -0
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +144 -0
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +79 -0
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -0
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +37 -0
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -0
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_wp3vfj.css +2 -0
- package/es/components/DatePicker/RangeDate/variations/_disabled/base.js +5 -0
- package/es/components/DatePicker/RangeDate/variations/_disabled/base.js.map +1 -0
- package/es/components/DatePicker/RangeDate/variations/_disabled/base_tl4jc7.css +1 -0
- package/es/components/DatePicker/RangeDate/variations/_readonly/base.js +5 -0
- package/es/components/DatePicker/RangeDate/variations/_readonly/base.js.map +1 -0
- package/es/components/DatePicker/RangeDate/variations/_readonly/base_f58pkk.css +1 -0
- package/es/components/DatePicker/RangeDate/variations/_size/base.js +5 -0
- package/es/components/DatePicker/RangeDate/variations/_size/base.js.map +1 -0
- package/es/components/DatePicker/RangeDate/variations/_size/base_1911nyw.css +1 -0
- package/es/components/DatePicker/RangeDate/variations/_view/base.js +5 -0
- package/es/components/DatePicker/RangeDate/variations/_view/base.js.map +1 -0
- package/es/components/DatePicker/RangeDate/variations/_view/base_11yn9y8.css +1 -0
- package/es/components/DatePicker/SingleDate/SingleDate.css +134 -0
- package/es/components/DatePicker/SingleDate/SingleDate.js +178 -0
- package/es/components/DatePicker/SingleDate/SingleDate.js.map +1 -0
- package/es/components/DatePicker/SingleDate/SingleDate.styles.js +43 -0
- package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -0
- package/es/components/DatePicker/SingleDate/SingleDate.styles_18b5qkz.css +5 -0
- package/es/components/DatePicker/SingleDate/variations/_disabled/base.js +5 -0
- package/es/components/DatePicker/SingleDate/variations/_disabled/base.js.map +1 -0
- package/es/components/DatePicker/SingleDate/variations/_disabled/base_1rfgfsz.css +1 -0
- package/es/components/DatePicker/SingleDate/variations/_readonly/base.js +5 -0
- package/es/components/DatePicker/SingleDate/variations/_readonly/base.js.map +1 -0
- package/es/components/DatePicker/SingleDate/variations/_readonly/base_1jucwp.css +1 -0
- package/es/components/DatePicker/SingleDate/variations/_size/base.js +5 -0
- package/es/components/DatePicker/SingleDate/variations/_size/base.js.map +1 -0
- package/es/components/DatePicker/SingleDate/variations/_size/base_lf7y25.css +1 -0
- package/es/components/DatePicker/SingleDate/variations/_view/base.js +5 -0
- package/es/components/DatePicker/SingleDate/variations/_view/base.js.map +1 -0
- package/es/components/DatePicker/SingleDate/variations/_view/base_15vaheb.css +1 -0
- package/es/components/DatePicker/hooks/useDatePicker.js +75 -0
- package/es/components/DatePicker/hooks/useDatePicker.js.map +1 -0
- package/es/components/DatePicker/utils/dateHelper.js +76 -0
- package/es/components/DatePicker/utils/dateHelper.js.map +1 -0
- package/es/components/Dropdown/Dropdown.js +4 -2
- package/es/components/Dropdown/Dropdown.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +8 -4
- package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +6 -5
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
- package/es/components/Dropdown/utils/index.js +1 -16
- package/es/components/Dropdown/utils/index.js.map +1 -1
- package/es/components/Range/Range.css +6 -6
- package/es/components/Range/Range.js +18 -3
- 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_9rort8.css +8 -0
- 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_1vu13zn.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_orwx1f.css +1 -0
- package/es/components/TextField/variations/_view/base.js +1 -1
- package/es/components/TextField/variations/_view/base_18ea6z7.css +1 -0
- package/es/components/_Icon/Icon.assets/DisclosureDownFill.js +19 -0
- package/es/components/_Icon/Icon.assets/DisclosureDownFill.js.map +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 +5 -15
- package/es/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
- package/es/components/_Icon/Icons/IconDisclosureDownFill.js +19 -0
- package/es/components/_Icon/Icons/IconDisclosureDownFill.js.map +1 -0
- package/es/index.css +71 -38
- package/es/index.js +4 -0
- package/es/index.js.map +1 -1
- package/es/utils/datejs.js +8 -0
- package/es/utils/datejs.js.map +1 -0
- package/es/utils/getPopoverPlacement.js +18 -0
- package/es/utils/getPopoverPlacement.js.map +1 -0
- package/es/utils/index.js.map +1 -1
- package/package.json +5 -4
- package/styled-components/cjs/components/Calendar/Calendar.tokens.js +67 -28
- package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.js +6 -0
- package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -1
- package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +6 -0
- 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/active.js +12 -0
- package/styled-components/cjs/components/Calendar/mixins/flex.js +8 -0
- package/styled-components/cjs/components/Calendar/mixins/index.js +30 -29
- package/styled-components/cjs/components/Calendar/mixins/selected.js +24 -0
- package/styled-components/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +27 -20
- package/styled-components/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +2 -1
- package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +30 -16
- package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +29 -11
- package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
- package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +26 -12
- package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
- package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +26 -14
- package/styled-components/cjs/components/Combobox/Combobox.js +6 -7
- package/styled-components/cjs/components/DatePicker/DatePicker.template-doc.mdx +150 -0
- package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +187 -0
- package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +19 -0
- package/styled-components/cjs/components/DatePicker/DatePickerBase.types.js +5 -0
- package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.js +293 -0
- package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +33 -0
- package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.types.js +5 -0
- package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +81 -0
- package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +26 -0
- package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.js +5 -0
- package/styled-components/cjs/components/DatePicker/RangeDate/variations/_disabled/base.js +9 -0
- package/styled-components/cjs/components/DatePicker/RangeDate/variations/_disabled/tokens.json +0 -0
- package/styled-components/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js +10 -0
- package/styled-components/cjs/components/DatePicker/RangeDate/variations/_readonly/tokens.json +4 -0
- package/styled-components/cjs/components/DatePicker/RangeDate/variations/_size/base.js +10 -0
- package/styled-components/cjs/components/DatePicker/RangeDate/variations/_size/tokens.json +0 -0
- package/styled-components/cjs/components/DatePicker/RangeDate/variations/_view/base.js +10 -0
- package/styled-components/cjs/components/DatePicker/RangeDate/variations/_view/tokens.json +0 -0
- package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.js +190 -0
- package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +33 -0
- package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.types.js +5 -0
- package/styled-components/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js +9 -0
- package/styled-components/cjs/components/DatePicker/SingleDate/variations/_disabled/tokens.json +4 -0
- package/styled-components/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js +10 -0
- package/styled-components/cjs/components/DatePicker/SingleDate/variations/_readonly/tokens.json +4 -0
- package/styled-components/cjs/components/DatePicker/SingleDate/variations/_size/base.js +10 -0
- package/styled-components/cjs/components/DatePicker/SingleDate/variations/_size/tokens.json +16 -0
- package/styled-components/cjs/components/DatePicker/SingleDate/variations/_view/base.js +10 -0
- package/styled-components/cjs/components/DatePicker/SingleDate/variations/_view/tokens.json +1 -0
- package/styled-components/cjs/components/DatePicker/hooks/useDatePicker.js +77 -0
- package/styled-components/cjs/components/DatePicker/index.js +44 -0
- package/styled-components/cjs/components/DatePicker/utils/dateHelper.js +78 -0
- package/styled-components/cjs/components/Dropdown/Dropdown.js +3 -2
- package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +8 -4
- package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +6 -5
- package/styled-components/cjs/components/Dropdown/utils/index.js +1 -16
- package/styled-components/cjs/components/Range/Range.js +17 -2
- package/styled-components/cjs/components/Range/Range.styles.js +3 -2
- package/styled-components/cjs/components/Select/Select.js +7 -8
- 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/DisclosureDownFill.js +22 -0
- package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
- package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRight.js +5 -15
- package/styled-components/cjs/components/_Icon/Icons/IconDisclosureDownFill.js +22 -0
- package/styled-components/cjs/components/_Icon/index.js +7 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +24 -6
- package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -2
- package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +31 -0
- package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.js +13 -0
- package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +257 -0
- 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 +24 -6
- package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -2
- package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -2
- package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +31 -0
- package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.js +13 -0
- package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +257 -0
- 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 +24 -6
- package/styled-components/cjs/examples/sds_engineer/components/Calendar/CalendarBase.config.js +5 -2
- package/styled-components/cjs/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +5 -2
- package/styled-components/cjs/index.js +11 -0
- package/styled-components/cjs/utils/datejs.js +11 -0
- package/styled-components/cjs/utils/getPopoverPlacement.js +21 -0
- package/styled-components/cjs/utils/index.js +22 -0
- package/styled-components/es/components/Calendar/Calendar.tokens.js +67 -28
- package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.js +7 -1
- package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -1
- package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +7 -1
- 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/active.js +6 -0
- package/styled-components/es/components/Calendar/mixins/flex.js +2 -0
- package/styled-components/es/components/Calendar/mixins/index.js +3 -27
- package/styled-components/es/components/Calendar/mixins/selected.js +18 -0
- package/styled-components/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +26 -19
- package/styled-components/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +2 -1
- package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +32 -18
- package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +29 -11
- package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
- package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +25 -11
- package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
- package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +25 -13
- package/styled-components/es/components/Combobox/Combobox.js +1 -2
- package/styled-components/es/components/DatePicker/DatePicker.template-doc.mdx +150 -0
- package/styled-components/es/components/DatePicker/DatePicker.tokens.js +181 -0
- package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +12 -0
- package/styled-components/es/components/DatePicker/DatePickerBase.types.js +1 -0
- package/styled-components/es/components/DatePicker/RangeDate/RangeDate.js +284 -0
- package/styled-components/es/components/DatePicker/RangeDate/RangeDate.styles.js +25 -0
- package/styled-components/es/components/DatePicker/RangeDate/RangeDate.types.js +1 -0
- package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +74 -0
- package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +19 -0
- package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.js +1 -0
- package/styled-components/es/components/DatePicker/RangeDate/variations/_disabled/base.js +3 -0
- package/styled-components/es/components/DatePicker/RangeDate/variations/_disabled/tokens.json +0 -0
- package/styled-components/es/components/DatePicker/RangeDate/variations/_readonly/base.js +4 -0
- package/styled-components/es/components/DatePicker/RangeDate/variations/_readonly/tokens.json +4 -0
- package/styled-components/es/components/DatePicker/RangeDate/variations/_size/base.js +4 -0
- package/styled-components/es/components/DatePicker/RangeDate/variations/_size/tokens.json +0 -0
- package/styled-components/es/components/DatePicker/RangeDate/variations/_view/base.js +4 -0
- package/styled-components/es/components/DatePicker/RangeDate/variations/_view/tokens.json +0 -0
- package/styled-components/es/components/DatePicker/SingleDate/SingleDate.js +181 -0
- package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +25 -0
- package/styled-components/es/components/DatePicker/SingleDate/SingleDate.types.js +1 -0
- package/styled-components/es/components/DatePicker/SingleDate/variations/_disabled/base.js +3 -0
- package/styled-components/es/components/DatePicker/SingleDate/variations/_disabled/tokens.json +4 -0
- package/styled-components/es/components/DatePicker/SingleDate/variations/_readonly/base.js +4 -0
- package/styled-components/es/components/DatePicker/SingleDate/variations/_readonly/tokens.json +4 -0
- package/styled-components/es/components/DatePicker/SingleDate/variations/_size/base.js +4 -0
- package/styled-components/es/components/DatePicker/SingleDate/variations/_size/tokens.json +16 -0
- package/styled-components/es/components/DatePicker/SingleDate/variations/_view/base.js +4 -0
- package/styled-components/es/components/DatePicker/SingleDate/variations/_view/tokens.json +1 -0
- package/styled-components/es/components/DatePicker/hooks/useDatePicker.js +71 -0
- package/styled-components/es/components/DatePicker/index.js +3 -0
- package/styled-components/es/components/DatePicker/utils/dateHelper.js +72 -0
- package/styled-components/es/components/Dropdown/Dropdown.js +4 -3
- package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +8 -4
- package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +6 -5
- package/styled-components/es/components/Dropdown/utils/index.js +0 -15
- package/styled-components/es/components/Range/Range.js +18 -3
- package/styled-components/es/components/Range/Range.styles.js +3 -2
- package/styled-components/es/components/Select/Select.js +1 -2
- 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/DisclosureDownFill.js +15 -0
- package/styled-components/es/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
- package/styled-components/es/components/_Icon/Icon.assets/DisclosureRight.js +5 -15
- package/styled-components/es/components/_Icon/Icons/IconDisclosureDownFill.js +15 -0
- package/styled-components/es/components/_Icon/index.js +1 -0
- package/styled-components/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +24 -6
- package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -2
- package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -2
- package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +25 -0
- package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.js +7 -0
- package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +257 -0
- 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 +24 -6
- package/styled-components/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -2
- package/styled-components/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -2
- package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +25 -0
- package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.js +7 -0
- package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +257 -0
- 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 +24 -6
- package/styled-components/es/examples/sds_engineer/components/Calendar/CalendarBase.config.js +5 -2
- package/styled-components/es/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +5 -2
- package/styled-components/es/index.js +2 -1
- package/styled-components/es/utils/datejs.js +4 -0
- package/styled-components/es/utils/getPopoverPlacement.js +15 -0
- package/styled-components/es/utils/index.js +1 -0
- package/types/components/Accordion/utils/index.d.ts +1 -1
- package/types/components/Calendar/Calendar.tokens.d.ts +60 -26
- 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 +27 -3
- 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 +30 -3
- 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/active.d.ts +17 -0
- package/types/components/Calendar/mixins/active.d.ts.map +1 -0
- package/types/components/Calendar/mixins/flex.d.ts +3 -0
- package/types/components/Calendar/mixins/flex.d.ts.map +1 -0
- package/types/components/Calendar/mixins/index.d.ts +3 -8
- package/types/components/Calendar/mixins/index.d.ts.map +1 -1
- package/types/components/Calendar/mixins/selected.d.ts +40 -0
- package/types/components/Calendar/mixins/selected.d.ts.map +1 -0
- 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 +47 -7
- package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.types.d.ts +1 -0
- 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/DatePicker/DatePicker.tokens.d.ts +182 -0
- package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -0
- package/types/components/DatePicker/DatePickerBase.styles.d.ts +8 -0
- package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -0
- package/types/components/DatePicker/DatePickerBase.types.d.ts +37 -0
- package/types/components/DatePicker/DatePickerBase.types.d.ts.map +1 -0
- package/types/components/DatePicker/RangeDate/RangeDate.d.ts +110 -0
- package/types/components/DatePicker/RangeDate/RangeDate.d.ts.map +1 -0
- package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts +115 -0
- package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts.map +1 -0
- package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts +76 -0
- package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts.map +1 -0
- package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.d.ts +4 -0
- package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.d.ts.map +1 -0
- package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.d.ts +5 -0
- package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.d.ts.map +1 -0
- package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.d.ts +29 -0
- package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.d.ts.map +1 -0
- package/types/components/DatePicker/RangeDate/variations/_disabled/base.d.ts +2 -0
- package/types/components/DatePicker/RangeDate/variations/_disabled/base.d.ts.map +1 -0
- package/types/components/DatePicker/RangeDate/variations/_readonly/base.d.ts +2 -0
- package/types/components/DatePicker/RangeDate/variations/_readonly/base.d.ts.map +1 -0
- package/types/components/DatePicker/RangeDate/variations/_size/base.d.ts +2 -0
- package/types/components/DatePicker/RangeDate/variations/_size/base.d.ts.map +1 -0
- package/types/components/DatePicker/RangeDate/variations/_view/base.d.ts +2 -0
- package/types/components/DatePicker/RangeDate/variations/_view/base.d.ts.map +1 -0
- package/types/components/DatePicker/SingleDate/SingleDate.d.ts +31 -0
- package/types/components/DatePicker/SingleDate/SingleDate.d.ts.map +1 -0
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +45 -0
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -0
- package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts +120 -0
- package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts.map +1 -0
- package/types/components/DatePicker/SingleDate/variations/_disabled/base.d.ts +2 -0
- package/types/components/DatePicker/SingleDate/variations/_disabled/base.d.ts.map +1 -0
- package/types/components/DatePicker/SingleDate/variations/_readonly/base.d.ts +2 -0
- package/types/components/DatePicker/SingleDate/variations/_readonly/base.d.ts.map +1 -0
- package/types/components/DatePicker/SingleDate/variations/_size/base.d.ts +2 -0
- package/types/components/DatePicker/SingleDate/variations/_size/base.d.ts.map +1 -0
- package/types/components/DatePicker/SingleDate/variations/_view/base.d.ts +2 -0
- package/types/components/DatePicker/SingleDate/variations/_view/base.d.ts.map +1 -0
- package/types/components/DatePicker/hooks/useDatePicker.d.ts +10 -0
- package/types/components/DatePicker/hooks/useDatePicker.d.ts.map +1 -0
- package/types/components/DatePicker/index.d.ts +6 -0
- package/types/components/DatePicker/index.d.ts.map +1 -0
- package/types/components/DatePicker/utils/dateHelper.d.ts +10 -0
- package/types/components/DatePicker/utils/dateHelper.d.ts.map +1 -0
- 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 +1 -0
- 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 +1 -0
- package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts.map +1 -1
- package/types/components/Dropdown/utils/index.d.ts +1 -3
- 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 +8 -3
- 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/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/DisclosureDownFill.d.ts +4 -0
- package/types/components/_Icon/Icon.assets/DisclosureDownFill.d.ts.map +1 -0
- package/types/components/_Icon/Icon.assets/DisclosureRight.d.ts.map +1 -1
- package/types/components/_Icon/Icons/IconDisclosureDownFill.d.ts +4 -0
- package/types/components/_Icon/Icons/IconDisclosureDownFill.d.ts.map +1 -0
- package/types/components/_Icon/index.d.ts +1 -0
- package/types/components/_Icon/index.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Calendar/Calendar.d.ts +15 -4
- package/types/examples/plasma_b2c/components/Calendar/Calendar.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts +3 -0
- 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 +3 -0
- package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/DatePicker/DatePicker.config.d.ts +24 -0
- package/types/examples/plasma_b2c/components/DatePicker/DatePicker.config.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts +75 -0
- package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts.map +1 -0
- 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 +15 -4
- package/types/examples/plasma_web/components/Calendar/Calendar.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts +3 -0
- 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 +3 -0
- package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/DatePicker/DatePicker.config.d.ts +24 -0
- package/types/examples/plasma_web/components/DatePicker/DatePicker.config.d.ts.map +1 -0
- package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts +75 -0
- package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts.map +1 -0
- 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 +15 -4
- package/types/examples/sds_engineer/components/Calendar/Calendar.d.ts.map +1 -1
- package/types/examples/sds_engineer/components/Calendar/CalendarBase.config.d.ts +3 -0
- 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 +3 -0
- package/types/examples/sds_engineer/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/types/utils/datejs.d.ts +3 -0
- package/types/utils/datejs.d.ts.map +1 -0
- package/types/utils/getPopoverPlacement.d.ts +5 -0
- package/types/utils/getPopoverPlacement.d.ts.map +1 -0
- package/types/utils/index.d.ts +1 -0
- package/types/utils/index.d.ts.map +1 -1
- package/cjs/components/Calendar/mixins/index.js +0 -18
- package/cjs/components/Calendar/mixins/index.js.map +0 -1
- package/cjs/components/Calendar/mixins/index_o3bz9l.css +0 -1
- package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_xf9c5e.css +0 -4
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1c4p417.css +0 -6
- package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_1jnzviu.css +0 -4
- package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles_1lubnwe.css +0 -4
- package/cjs/components/Range/Range.styles_mc4w65.css +0 -8
- package/cjs/components/TextField/variations/_read-only/base_134hshp.css +0 -1
- package/cjs/components/TextField/variations/_size/base_ntoddv.css +0 -1
- package/cjs/components/TextField/variations/_view/base_19gxyva.css +0 -1
- package/es/components/Calendar/mixins/index.js +0 -14
- package/es/components/Calendar/mixins/index.js.map +0 -1
- package/es/components/Calendar/mixins/index_o3bz9l.css +0 -1
- package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_xf9c5e.css +0 -4
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1c4p417.css +0 -6
- package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_1jnzviu.css +0 -4
- package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles_1lubnwe.css +0 -4
- package/es/components/Range/Range.styles_mc4w65.css +0 -8
- package/es/components/TextField/variations/_read-only/base_134hshp.css +0 -1
- package/es/components/TextField/variations/_size/base_ntoddv.css +0 -1
- package/es/components/TextField/variations/_view/base_19gxyva.css +0 -1
@@ -22,7 +22,7 @@ export declare const isSelectedYear: (date: DateObject, year: number) => boolean
|
|
22
22
|
export declare const getSortedValues: (values: [Date | undefined, (Date | undefined)?]) => [Date | undefined, (Date | undefined)?];
|
23
23
|
export declare const isDayInRange: (year: number, monthIndex: number, currentDay: number, values: [Date | undefined, Date?]) => boolean;
|
24
24
|
export declare const isSameDay: (firstDate: DateObject, secondDate?: DateObject | undefined) => boolean | undefined;
|
25
|
-
export declare const isValueUpdate: (value: Date | [Date
|
25
|
+
export declare const isValueUpdate: (value: Date | [Date?, Date?], prevValue: Date | [Date?, Date?]) => boolean;
|
26
26
|
/**
|
27
27
|
* Метод проверяет, находится ли календарь в режиме выбора второго значения.
|
28
28
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE/F,eAAO,MAAM,QAAQ,IAAI,CAAC;AAE1B,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC,eAAO,MAAM,eAAe,qDAAsD,CAAC;AAEnF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,OAAO,eAAe,CAAC,MAAM,CAAC,EAAE,MAAM,CAQzE,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAA0F,CAAC;AAExH,eAAO,MAAM,WAAW,UAavB,CAAC;AAEF,eAAO,MAAM,cAAc,eAAgB,MAAM,QAAQ,MAAM,WAAgD,CAAC;AAEhH,eAAO,MAAM,kBAAkB,eAAgB,MAAM,QAAQ,MAAM,WAAmD,CAAC;AAEvH,eAAO,MAAM,YAAY,SAAU,MAAM,WAA0C,CAAC;AAEpF,eAAO,MAAM,WAAW,gBAAiB,MAAM,gBAAgB,MAAM,aAC+B,CAAC;AAErG,eAAO,MAAM,WAAW,gBAAiB,MAAM,gBAAgB,MAAM,aACa,CAAC;AAEnF,eAAO,MAAM,gBAAgB,SAAU,IAAI,GAAG,SAAS,KAAG,UAQzD,CAAC;AAEF,eAAO,MAAM,cAAc,QAAO,UAQjC,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,UAAU,cAAc,MAAM,YAGhE,CAAC;AAEF,eAAO,MAAM,aAAa,SAAU,UAAU,cAAc,MAAM,sCAOjE,CAAC;AAEF,eAAO,MAAM,cAAc,SAAU,UAAU,cAAc,MAAM,YAGlE,CAAC;AAEF,eAAO,MAAM,eAAe,SAAU,UAAU,cAAc,MAAM,YAAmC,CAAC;AAExG,eAAO,MAAM,aAAa,SAAU,MAAM,YAGzC,CAAC;AAEF,eAAO,MAAM,cAAc,SAAU,UAAU,QAAQ,MAAM,YAAuB,CAAC;AAErF,eAAO,MAAM,eAAe,WAAY,CAAC,IAAI,GAAG,SAAS,EAAE,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC,CAAC,4CAOzE,CAAC;AAEP,eAAO,MAAM,YAAY,SACf,MAAM,cACA,MAAM,cACN,MAAM,UACV,CAAC,IAAI,GAAG,SAAS,EAAE,IAAI,CAAC,CAAC,YAUpC,CAAC;AAEF,eAAO,MAAM,SAAS,cAAe,UAAU,6DAIT,CAAC;AAEvC,eAAO,MAAM,aAAa,UAAW,IAAI,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,aAAa,IAAI,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE/F,eAAO,MAAM,QAAQ,IAAI,CAAC;AAE1B,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC,eAAO,MAAM,eAAe,qDAAsD,CAAC;AAEnF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,OAAO,eAAe,CAAC,MAAM,CAAC,EAAE,MAAM,CAQzE,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAA0F,CAAC;AAExH,eAAO,MAAM,WAAW,UAavB,CAAC;AAEF,eAAO,MAAM,cAAc,eAAgB,MAAM,QAAQ,MAAM,WAAgD,CAAC;AAEhH,eAAO,MAAM,kBAAkB,eAAgB,MAAM,QAAQ,MAAM,WAAmD,CAAC;AAEvH,eAAO,MAAM,YAAY,SAAU,MAAM,WAA0C,CAAC;AAEpF,eAAO,MAAM,WAAW,gBAAiB,MAAM,gBAAgB,MAAM,aAC+B,CAAC;AAErG,eAAO,MAAM,WAAW,gBAAiB,MAAM,gBAAgB,MAAM,aACa,CAAC;AAEnF,eAAO,MAAM,gBAAgB,SAAU,IAAI,GAAG,SAAS,KAAG,UAQzD,CAAC;AAEF,eAAO,MAAM,cAAc,QAAO,UAQjC,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,UAAU,cAAc,MAAM,YAGhE,CAAC;AAEF,eAAO,MAAM,aAAa,SAAU,UAAU,cAAc,MAAM,sCAOjE,CAAC;AAEF,eAAO,MAAM,cAAc,SAAU,UAAU,cAAc,MAAM,YAGlE,CAAC;AAEF,eAAO,MAAM,eAAe,SAAU,UAAU,cAAc,MAAM,YAAmC,CAAC;AAExG,eAAO,MAAM,aAAa,SAAU,MAAM,YAGzC,CAAC;AAEF,eAAO,MAAM,cAAc,SAAU,UAAU,QAAQ,MAAM,YAAuB,CAAC;AAErF,eAAO,MAAM,eAAe,WAAY,CAAC,IAAI,GAAG,SAAS,EAAE,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC,CAAC,4CAOzE,CAAC;AAEP,eAAO,MAAM,YAAY,SACf,MAAM,cACA,MAAM,cACN,MAAM,UACV,CAAC,IAAI,GAAG,SAAS,EAAE,IAAI,CAAC,CAAC,YAUpC,CAAC;AAEF,eAAO,MAAM,SAAS,cAAe,UAAU,6DAIT,CAAC;AAEvC,eAAO,MAAM,aAAa,UAAW,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,aAAa,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,YAU3F,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,UAAW,OAAO,GAAG,OAAO,EAAE,yCACrB,CAAC;AAEtC;;GAEG;AACH,eAAO,MAAM,kBAAkB,SAAU,UAAU,cAAc,IAAI,YAAY,IAAI,iCAcpF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,SAAU,UAAU,cAAc,UAAU,cAAc,IAAI,mEAa3F,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,UAChB,iBAAiB,QAClB,UAAU,wGAmBnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,UAAW,iBAAiB,QAAQ,UAAU,4FAiBpE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,8BACK,UAAU,SAC9B,iBAAiB,sDAmB3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,+FAoBrB,CAAC;AAEF,eAAO,MAAM,eAAe,SAAU,iBAAiB,+BAStD,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAGjF,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;
|
1
|
+
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAGjF,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAU1C,OAAO,KAAK,EAA0B,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE9E;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,aAAa,CAAC,2FAwOxE,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBA1OQ,UAAU,gBAAgB,EAAE,aAAa,CAAC;;;;;;;;;;;;;;CA2P5E,CAAC"}
|
@@ -0,0 +1,182 @@
|
|
1
|
+
export declare const classes: {
|
2
|
+
datePickerError: string;
|
3
|
+
datePickerSuccess: string;
|
4
|
+
datePickerRoot: string;
|
5
|
+
};
|
6
|
+
export declare const tokens: {
|
7
|
+
width: string;
|
8
|
+
/** Токены полей ввода в рендже */
|
9
|
+
background: string;
|
10
|
+
backgroundError: string;
|
11
|
+
backgroundSuccess: string;
|
12
|
+
backgroundReadOnly: string;
|
13
|
+
borderRadius: string;
|
14
|
+
borderWidth: string;
|
15
|
+
borderColor: string;
|
16
|
+
borderColorHover: string;
|
17
|
+
borderColorFocus: string;
|
18
|
+
borderColorError: string;
|
19
|
+
borderColorSuccess: string;
|
20
|
+
borderColorReadOnly: string;
|
21
|
+
/** Токены разделителя */
|
22
|
+
dividerColor: string;
|
23
|
+
dividerColorReadOnly: string;
|
24
|
+
dividerPadding: string;
|
25
|
+
dividerFontFamily: string;
|
26
|
+
dividerFontStyle: string;
|
27
|
+
dividerFontSize: string;
|
28
|
+
dividerFontWeight: string;
|
29
|
+
dividerLetterSpacing: string;
|
30
|
+
dividerLineHeight: string;
|
31
|
+
/** Токены слотов для контента в рендже */
|
32
|
+
leftContentMargin: string;
|
33
|
+
rightContentMargin: string;
|
34
|
+
/** Токены лейбла */
|
35
|
+
labelColor: string;
|
36
|
+
labelColorReadOnly: string;
|
37
|
+
labelOffset: string;
|
38
|
+
labelFontFamily: string;
|
39
|
+
labelFontStyle: string;
|
40
|
+
labelFontSize: string;
|
41
|
+
labelFontWeight: string;
|
42
|
+
labelLetterSpacing: string;
|
43
|
+
labelLineHeight: string;
|
44
|
+
/** Токены вспомогательного текста */
|
45
|
+
leftHelperColor: string;
|
46
|
+
leftHelperColorReadOnly: string;
|
47
|
+
leftHelperOffset: string;
|
48
|
+
leftHelperFontFamily: string;
|
49
|
+
leftHelperFontStyle: string;
|
50
|
+
leftHelperFontSize: string;
|
51
|
+
leftHelperFontWeight: string;
|
52
|
+
leftHelperLetterSpacing: string;
|
53
|
+
leftHelperLineHeight: string;
|
54
|
+
/** Прозрачность для всего компонента в состоянии disabled */
|
55
|
+
disabledOpacity: string;
|
56
|
+
/** Цвет обводки поля ввода при фокусе */
|
57
|
+
focusColor: string;
|
58
|
+
/** Токены полей ввода */
|
59
|
+
textFieldColor: string;
|
60
|
+
textFieldFocusColor: string;
|
61
|
+
textFieldPlaceholderColor: string;
|
62
|
+
textFieldCaretColor: string;
|
63
|
+
textFieldBackgroundColor: string;
|
64
|
+
textFieldBackgroundColorHover: string;
|
65
|
+
textFieldBackgroundColorFocus: string;
|
66
|
+
textFieldBackgroundErrorColor: string;
|
67
|
+
textFieldBackgroundErrorColorHover: string;
|
68
|
+
textFieldBackgroundErrorColorFocus: string;
|
69
|
+
textFieldBackgroundSuccessColor: string;
|
70
|
+
textFieldBackgroundSuccessColorHover: string;
|
71
|
+
textFieldBackgroundSuccessColorFocus: string;
|
72
|
+
textFieldBorderColor: string;
|
73
|
+
textFieldBorderColorHover: string;
|
74
|
+
textFieldBorderColorFocus: string;
|
75
|
+
textFieldBorderColorError: string;
|
76
|
+
textFieldBorderColorErrorHover: string;
|
77
|
+
textFieldBorderColorErrorFocus: string;
|
78
|
+
textFieldBorderColorSuccess: string;
|
79
|
+
textFieldBorderColorSuccessHover: string;
|
80
|
+
textFieldBorderColorSuccessFocus: string;
|
81
|
+
textFieldColorReadOnly: string;
|
82
|
+
textFieldBackgroundColorReadOnly: string;
|
83
|
+
textFieldBorderColorReadOnly: string;
|
84
|
+
textFieldPlaceholderColorReadOnly: string;
|
85
|
+
textFieldHeight: string;
|
86
|
+
textFieldBorderWidth: string;
|
87
|
+
textFieldBorderRadius: string;
|
88
|
+
textFieldPadding: string;
|
89
|
+
textFieldLeftContentMargin: string;
|
90
|
+
textFieldRightContentMargin: string;
|
91
|
+
textFieldFontFamily: string;
|
92
|
+
textFieldFontStyle: string;
|
93
|
+
textFieldFontSize: string;
|
94
|
+
textFieldFontWeight: string;
|
95
|
+
textFieldLetterSpacing: string;
|
96
|
+
textFieldLineHeight: string;
|
97
|
+
textFieldTextBeforeColor: string;
|
98
|
+
textFieldTextAfterColor: string;
|
99
|
+
textFieldTextBeforeMargin: string;
|
100
|
+
textFieldTextAfterMargin: string;
|
101
|
+
/** Токены календаря */
|
102
|
+
calendarPaddingTop: string;
|
103
|
+
calendarShadow: string;
|
104
|
+
calendarBorderRadius: string;
|
105
|
+
calendarWidth: string;
|
106
|
+
calendarHeight: string;
|
107
|
+
calendarYearsPadding: string;
|
108
|
+
calendarYearItemBorderRadius: string;
|
109
|
+
calendarYearItemWidth: string;
|
110
|
+
calendarYearItemHeight: string;
|
111
|
+
calendarYearFontFamily: string;
|
112
|
+
calendarYearFontSize: string;
|
113
|
+
calendarYearFontStyle: string;
|
114
|
+
calendarYearFontLetterSpacing: string;
|
115
|
+
calendarYearFontLineHeight: string;
|
116
|
+
calendarYearFontWeight: string;
|
117
|
+
calendarYearSelectedFontWeight: string;
|
118
|
+
calendarMonthsPadding: string;
|
119
|
+
calendarMonthItemBorderRadius: string;
|
120
|
+
calendarMonthItemWidth: string;
|
121
|
+
calendarMonthItemHeight: string;
|
122
|
+
calendarMonthFontFamily: string;
|
123
|
+
calendarMonthFontSize: string;
|
124
|
+
calendarMonthFontStyle: string;
|
125
|
+
calendarMonthFontLetterSpacing: string;
|
126
|
+
calendarMonthFontLineHeight: string;
|
127
|
+
calendarMonthFontWeight: string;
|
128
|
+
calendarMonthSelectedFontWeight: string;
|
129
|
+
calendarDaysPadding: string;
|
130
|
+
calendarDayItemBorderRadius: string;
|
131
|
+
calendarDayItemWidth: string;
|
132
|
+
calendarDayItemHeight: string;
|
133
|
+
calendarDayFontFamily: string;
|
134
|
+
calendarDayFontSize: string;
|
135
|
+
calendarDayFontStyle: string;
|
136
|
+
calendarDayFontLetterSpacing: string;
|
137
|
+
calendarDayFontLineHeight: string;
|
138
|
+
calendarDayFontWeight: string;
|
139
|
+
calendarDaySelectedFontWeight: string;
|
140
|
+
calendarDayOfWeekColor: string;
|
141
|
+
calendarHeaderWrapperPadding: string;
|
142
|
+
calendarHeaderArrowGap: string;
|
143
|
+
calendarHeaderArrowPadding: string;
|
144
|
+
calendarHeaderPadding: string;
|
145
|
+
calendarHeaderDateGap: string;
|
146
|
+
calendarHeaderFontFamily: string;
|
147
|
+
calendarHeaderFontSize: string;
|
148
|
+
calendarHeaderFontStyle: string;
|
149
|
+
calendarHeaderFontLetterSpacing: string;
|
150
|
+
calendarHeaderFontLineHeight: string;
|
151
|
+
calendarHeaderFontWeight: string;
|
152
|
+
calendarHeaderFontWeightBold: string;
|
153
|
+
iconButtonColor: string;
|
154
|
+
iconButtonBackgroundColor: string;
|
155
|
+
iconButtonColorHover: string;
|
156
|
+
iconButtonBackgroundColorHover: string;
|
157
|
+
iconButtonColorActive: string;
|
158
|
+
iconButtonBackgroundColorActive: string;
|
159
|
+
iconButtonHeight: string;
|
160
|
+
iconButtonWidth: string;
|
161
|
+
iconButtonPadding: string;
|
162
|
+
iconButtonRadius: string;
|
163
|
+
iconButtonFocusColor: string;
|
164
|
+
calendarBackgroundColor: string;
|
165
|
+
calendarSelectedItemBackground: string;
|
166
|
+
calendarSelectedItemColor: string;
|
167
|
+
calendarSelectableItemBackgroundHover: string;
|
168
|
+
calendarCurrentItemBorderColor: string;
|
169
|
+
calendarCurrentItemBackgroundHover: string;
|
170
|
+
calendarCurrentItemColorHover: string;
|
171
|
+
calendarCurrentItemChildBackgroundHover: string;
|
172
|
+
calendarActiveItemBackground: string;
|
173
|
+
calendarActiveItemColor: string;
|
174
|
+
calendarHoveredItemBackground: string;
|
175
|
+
calendarHoveredItemColor: string;
|
176
|
+
calendarSeparatorBackground: string;
|
177
|
+
calendarRangeBackground: string;
|
178
|
+
calendarOutlineFocusColor: string;
|
179
|
+
calendarContentPrimaryColor: string;
|
180
|
+
calendarContentSecondaryColor: string;
|
181
|
+
};
|
182
|
+
//# sourceMappingURL=DatePicker.tokens.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DatePicker.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePicker.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAEF,eAAO,MAAM,MAAM;;IAGf,kCAAkC;;;;;;;;;;;;;IAclC,yBAAyB;;;;;;;;;;IAWzB,0CAA0C;;;IAI1C,oBAAoB;;;;;;;;;;IAYpB,qCAAqC;;;;;;;;;;IAYrC,6DAA6D;;IAG7D,yCAAyC;;IAGzC,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiDzB,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgF1B,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const baseCalendarTokens: string;
|
3
|
+
export declare const StyledCalendar: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../engines/types").PropsType<import("../../engines/types").Variants> & import("../Calendar/Calendar.types").Calendar & {
|
4
|
+
type?: "Days" | "Months" | "Years" | undefined;
|
5
|
+
size?: string | undefined;
|
6
|
+
view?: string | undefined;
|
7
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
8
|
+
//# sourceMappingURL=DatePickerBase.styles.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DatePickerBase.styles.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePickerBase.styles.ts"],"names":[],"mappings":";AAUA,eAAO,MAAM,kBAAkB,QAiF9B,CAAC;AAGF,eAAO,MAAM,cAAc;;;;kDAE1B,CAAC"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import type { Dispatch, MutableRefObject, SetStateAction, SyntheticEvent, ChangeEvent } from 'react';
|
2
|
+
export declare type DatePickerdVariationProps = {
|
3
|
+
/**
|
4
|
+
* Размер контрола.
|
5
|
+
*/
|
6
|
+
size?: string;
|
7
|
+
/**
|
8
|
+
* Вид контрола.
|
9
|
+
*/
|
10
|
+
view?: string;
|
11
|
+
/**
|
12
|
+
* Компонент доступен только для чтения.
|
13
|
+
*/
|
14
|
+
readOnly?: boolean;
|
15
|
+
/**
|
16
|
+
* Компонент неактивен.
|
17
|
+
*/
|
18
|
+
disabled?: boolean;
|
19
|
+
};
|
20
|
+
export declare type UseDatePickerProps = {
|
21
|
+
currentValue: string;
|
22
|
+
setInputValue: Dispatch<SetStateAction<string>>;
|
23
|
+
setCalendarValue: Dispatch<SetStateAction<Date | undefined>>;
|
24
|
+
setIsInnerOpen: Dispatch<SetStateAction<boolean>>;
|
25
|
+
dateFormatDelimiter: () => string;
|
26
|
+
format?: string;
|
27
|
+
disabled?: boolean;
|
28
|
+
readOnly?: boolean;
|
29
|
+
maskWithFormat?: boolean;
|
30
|
+
valueError?: boolean;
|
31
|
+
valueSuccess?: boolean;
|
32
|
+
inputRef?: MutableRefObject<HTMLInputElement | null>;
|
33
|
+
onToggle?: (isOpen: boolean, event: SyntheticEvent | Event) => void;
|
34
|
+
onChangeValue?: (event: ChangeEvent<HTMLInputElement>, value?: string) => void;
|
35
|
+
onCommitDate?: (value: Date | string, error?: boolean, success?: boolean) => void;
|
36
|
+
};
|
37
|
+
//# sourceMappingURL=DatePickerBase.types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DatePickerBase.types.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePickerBase.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAErG,oBAAY,yBAAyB,GAAG;IACpC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,oBAAY,kBAAkB,GAAG;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAChD,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC,CAAC;IAC7D,cAAc,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAClD,mBAAmB,EAAE,MAAM,MAAM,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,gBAAgB,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACrD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACpE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/E,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,GAAG,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CACrF,CAAC"}
|
@@ -0,0 +1,110 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { RootProps } from '../../../engines';
|
3
|
+
import type { RangeInputRefs } from '../../Range/Range.types';
|
4
|
+
import type { DatePickerRangeProps } from './RangeDate.types';
|
5
|
+
export declare const datePickerRangeRoot: (Root: RootProps<HTMLDivElement, Omit<DatePickerRangeProps, 'isOpen' | 'defaultValue' | 'onChangeValue'>>) => React.ForwardRefExoticComponent<import("../DatePickerBase.types").DatePickerdVariationProps & {
|
6
|
+
defaultFirstDate?: Date | undefined;
|
7
|
+
defaultSecondDate?: Date | undefined;
|
8
|
+
onCommitFirstDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined) => void) | undefined;
|
9
|
+
onCommitSecondDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined) => void) | undefined;
|
10
|
+
} & {
|
11
|
+
label?: string | undefined;
|
12
|
+
view?: string | undefined;
|
13
|
+
disabled?: boolean | undefined;
|
14
|
+
readOnly?: boolean | undefined;
|
15
|
+
size?: string | undefined;
|
16
|
+
contentLeft?: React.ReactNode;
|
17
|
+
contentRight?: React.ReactNode;
|
18
|
+
leftHelper?: string | undefined;
|
19
|
+
dividerVariant?: "none" | "icon" | "dash" | undefined;
|
20
|
+
dividerIcon?: React.ReactNode;
|
21
|
+
firstValueError?: boolean | undefined;
|
22
|
+
secondValueError?: boolean | undefined;
|
23
|
+
firstValueSuccess?: boolean | undefined;
|
24
|
+
secondValueSuccess?: boolean | undefined;
|
25
|
+
firstPlaceholder?: string | undefined;
|
26
|
+
secondPlaceholder?: string | undefined;
|
27
|
+
firstTextfieldContentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
28
|
+
firstTextfieldContentRight?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
29
|
+
secondTextfieldContentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
30
|
+
secondTextfieldContentRight?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
31
|
+
firstTextfieldTextBefore?: string | undefined;
|
32
|
+
secondTextfieldTextBefore?: string | undefined;
|
33
|
+
firstTextfieldTextAfter?: string | undefined;
|
34
|
+
secondTextfieldTextAfter?: string | undefined;
|
35
|
+
onChangeFirstValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
|
36
|
+
onChangeSecondValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
|
37
|
+
onFocusFirstTextfield?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
|
38
|
+
onFocusSecondTextfield?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
|
39
|
+
onBlurFirstTextfield?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
|
40
|
+
onBlurSecondTextfield?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
|
41
|
+
} & import("./RangeDate.types").DatePickerCalendarProps & Omit<import("../SingleDate/SingleDate.types").DatePickerPopoverProps, "placement"> & {
|
42
|
+
placement?: import("./RangeDate.types").DatePickerRangePlacement | import("./RangeDate.types").DatePickerRangePlacement[] | undefined;
|
43
|
+
isDoubleCalendar?: boolean | undefined;
|
44
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<RangeInputRefs>>;
|
45
|
+
export declare const datePickerRangeConfig: {
|
46
|
+
name: string;
|
47
|
+
tag: string;
|
48
|
+
layout: (Root: RootProps<HTMLDivElement, Omit<DatePickerRangeProps, 'isOpen' | 'defaultValue' | 'onChangeValue'>>) => React.ForwardRefExoticComponent<import("../DatePickerBase.types").DatePickerdVariationProps & {
|
49
|
+
defaultFirstDate?: Date | undefined;
|
50
|
+
defaultSecondDate?: Date | undefined;
|
51
|
+
onCommitFirstDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined) => void) | undefined;
|
52
|
+
onCommitSecondDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined) => void) | undefined;
|
53
|
+
} & {
|
54
|
+
label?: string | undefined;
|
55
|
+
view?: string | undefined;
|
56
|
+
disabled?: boolean | undefined;
|
57
|
+
readOnly?: boolean | undefined;
|
58
|
+
size?: string | undefined;
|
59
|
+
contentLeft?: React.ReactNode;
|
60
|
+
contentRight?: React.ReactNode;
|
61
|
+
leftHelper?: string | undefined;
|
62
|
+
dividerVariant?: "none" | "icon" | "dash" | undefined;
|
63
|
+
dividerIcon?: React.ReactNode;
|
64
|
+
firstValueError?: boolean | undefined;
|
65
|
+
secondValueError?: boolean | undefined;
|
66
|
+
firstValueSuccess?: boolean | undefined;
|
67
|
+
secondValueSuccess?: boolean | undefined;
|
68
|
+
firstPlaceholder?: string | undefined;
|
69
|
+
secondPlaceholder?: string | undefined;
|
70
|
+
firstTextfieldContentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
71
|
+
firstTextfieldContentRight?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
72
|
+
secondTextfieldContentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
73
|
+
secondTextfieldContentRight?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
74
|
+
firstTextfieldTextBefore?: string | undefined;
|
75
|
+
secondTextfieldTextBefore?: string | undefined;
|
76
|
+
firstTextfieldTextAfter?: string | undefined;
|
77
|
+
secondTextfieldTextAfter?: string | undefined;
|
78
|
+
onChangeFirstValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
|
79
|
+
onChangeSecondValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
|
80
|
+
onFocusFirstTextfield?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
|
81
|
+
onFocusSecondTextfield?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
|
82
|
+
onBlurFirstTextfield?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
|
83
|
+
onBlurSecondTextfield?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
|
84
|
+
} & import("./RangeDate.types").DatePickerCalendarProps & Omit<import("../SingleDate/SingleDate.types").DatePickerPopoverProps, "placement"> & {
|
85
|
+
placement?: import("./RangeDate.types").DatePickerRangePlacement | import("./RangeDate.types").DatePickerRangePlacement[] | undefined;
|
86
|
+
isDoubleCalendar?: boolean | undefined;
|
87
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<RangeInputRefs>>;
|
88
|
+
base: import("@linaria/core").LinariaClassName;
|
89
|
+
variations: {
|
90
|
+
view: {
|
91
|
+
css: import("@linaria/core").LinariaClassName;
|
92
|
+
};
|
93
|
+
size: {
|
94
|
+
css: import("@linaria/core").LinariaClassName;
|
95
|
+
};
|
96
|
+
disabled: {
|
97
|
+
css: import("@linaria/core").LinariaClassName;
|
98
|
+
attrs: boolean;
|
99
|
+
};
|
100
|
+
readOnly: {
|
101
|
+
css: import("@linaria/core").LinariaClassName;
|
102
|
+
attrs: boolean;
|
103
|
+
};
|
104
|
+
};
|
105
|
+
defaults: {
|
106
|
+
size: string;
|
107
|
+
view: string;
|
108
|
+
};
|
109
|
+
};
|
110
|
+
//# sourceMappingURL=RangeDate.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RangeDate.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/RangeDate/RangeDate.tsx"],"names":[],"mappings":"AAAA,OAAO,KASN,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAIlD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAG9D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAQ9D,eAAO,MAAM,mBAAmB,SACtB,UAAU,cAAc,EAAE,KAAK,oBAAoB,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+EAwPvG,CAAC;AAEN,eAAO,MAAM,qBAAqB;;;mBA1PxB,UAAU,cAAc,EAAE,KAAK,oBAAoB,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmR3G,CAAC"}
|
@@ -0,0 +1,115 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const StyledPopover: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../engines/types").PropsType<import("../../../engines/types").Variants> & import("react").HTMLAttributes<HTMLDivElement> & import("../../Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
|
3
|
+
export declare const StyledRange: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../engines/types").PropsType<import("../../../engines/types").Variants> & (({
|
4
|
+
label?: string | undefined;
|
5
|
+
leftHelper?: string | undefined;
|
6
|
+
contentLeft?: import("react").ReactNode;
|
7
|
+
contentRight?: import("react").ReactNode;
|
8
|
+
firstValue?: import("../../Range/Range.types").TextfieldPrimitiveValue | undefined;
|
9
|
+
secondValue?: import("../../Range/Range.types").TextfieldPrimitiveValue | undefined;
|
10
|
+
firstValueError?: boolean | undefined;
|
11
|
+
secondValueError?: boolean | undefined;
|
12
|
+
firstValueSuccess?: boolean | undefined;
|
13
|
+
secondValueSuccess?: boolean | undefined;
|
14
|
+
firstPlaceholder?: string | undefined;
|
15
|
+
secondPlaceholder?: string | undefined;
|
16
|
+
firstTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
17
|
+
firstTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
18
|
+
secondTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
19
|
+
secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
20
|
+
firstTextfieldTextAfter?: string | undefined;
|
21
|
+
secondTextfieldTextAfter?: string | undefined;
|
22
|
+
view?: string | undefined;
|
23
|
+
size?: string | undefined;
|
24
|
+
readOnly?: boolean | undefined;
|
25
|
+
disabled?: boolean | undefined;
|
26
|
+
onChangeFirstValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
|
27
|
+
onChangeSecondValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
|
28
|
+
onSearchFirstValue?: import("../../Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
29
|
+
onSearchSecondValue?: import("../../Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
30
|
+
onFocusFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
31
|
+
onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
32
|
+
onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
33
|
+
onBlurSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
34
|
+
} & {
|
35
|
+
firstTextfieldTextBefore: string;
|
36
|
+
secondTextfieldTextBefore: string;
|
37
|
+
dividerVariant?: "none" | undefined;
|
38
|
+
dividerIcon?: undefined;
|
39
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<import("../../Range").RangeInputRefs>) | ({
|
40
|
+
label?: string | undefined;
|
41
|
+
leftHelper?: string | undefined;
|
42
|
+
contentLeft?: import("react").ReactNode;
|
43
|
+
contentRight?: import("react").ReactNode;
|
44
|
+
firstValue?: import("../../Range/Range.types").TextfieldPrimitiveValue | undefined;
|
45
|
+
secondValue?: import("../../Range/Range.types").TextfieldPrimitiveValue | undefined;
|
46
|
+
firstValueError?: boolean | undefined;
|
47
|
+
secondValueError?: boolean | undefined;
|
48
|
+
firstValueSuccess?: boolean | undefined;
|
49
|
+
secondValueSuccess?: boolean | undefined;
|
50
|
+
firstPlaceholder?: string | undefined;
|
51
|
+
secondPlaceholder?: string | undefined;
|
52
|
+
firstTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
53
|
+
firstTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
54
|
+
secondTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
55
|
+
secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
56
|
+
firstTextfieldTextAfter?: string | undefined;
|
57
|
+
secondTextfieldTextAfter?: string | undefined;
|
58
|
+
view?: string | undefined;
|
59
|
+
size?: string | undefined;
|
60
|
+
readOnly?: boolean | undefined;
|
61
|
+
disabled?: boolean | undefined;
|
62
|
+
onChangeFirstValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
|
63
|
+
onChangeSecondValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
|
64
|
+
onSearchFirstValue?: import("../../Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
65
|
+
onSearchSecondValue?: import("../../Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
66
|
+
onFocusFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
67
|
+
onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
68
|
+
onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
69
|
+
onBlurSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
70
|
+
} & {
|
71
|
+
dividerVariant?: "dash" | undefined;
|
72
|
+
dividerIcon?: undefined;
|
73
|
+
firstTextfieldTextBefore?: string | undefined;
|
74
|
+
secondTextfieldTextBefore?: string | undefined;
|
75
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<import("../../Range").RangeInputRefs>) | ({
|
76
|
+
label?: string | undefined;
|
77
|
+
leftHelper?: string | undefined;
|
78
|
+
contentLeft?: import("react").ReactNode;
|
79
|
+
contentRight?: import("react").ReactNode;
|
80
|
+
firstValue?: import("../../Range/Range.types").TextfieldPrimitiveValue | undefined;
|
81
|
+
secondValue?: import("../../Range/Range.types").TextfieldPrimitiveValue | undefined;
|
82
|
+
firstValueError?: boolean | undefined;
|
83
|
+
secondValueError?: boolean | undefined;
|
84
|
+
firstValueSuccess?: boolean | undefined;
|
85
|
+
secondValueSuccess?: boolean | undefined;
|
86
|
+
firstPlaceholder?: string | undefined;
|
87
|
+
secondPlaceholder?: string | undefined;
|
88
|
+
firstTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
89
|
+
firstTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
90
|
+
secondTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
91
|
+
secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
92
|
+
firstTextfieldTextAfter?: string | undefined;
|
93
|
+
secondTextfieldTextAfter?: string | undefined;
|
94
|
+
view?: string | undefined;
|
95
|
+
size?: string | undefined;
|
96
|
+
readOnly?: boolean | undefined;
|
97
|
+
disabled?: boolean | undefined;
|
98
|
+
onChangeFirstValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
|
99
|
+
onChangeSecondValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
|
100
|
+
onSearchFirstValue?: import("../../Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
101
|
+
onSearchSecondValue?: import("../../Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
102
|
+
onFocusFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
103
|
+
onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
104
|
+
onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
105
|
+
onBlurSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
106
|
+
} & {
|
107
|
+
dividerIcon?: import("react").ReactNode;
|
108
|
+
dividerVariant?: "icon" | undefined;
|
109
|
+
firstTextfieldTextBefore?: string | undefined;
|
110
|
+
secondTextfieldTextBefore?: string | undefined;
|
111
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<import("../../Range").RangeInputRefs>))>;
|
112
|
+
export declare const base: import("@linaria/core").LinariaClassName;
|
113
|
+
export declare const StyledLabel: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLabelElement> & import("react").LabelHTMLAttributes<HTMLLabelElement> & Record<never, unknown>>;
|
114
|
+
export declare const LeftHelper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
115
|
+
//# sourceMappingURL=RangeDate.styles.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RangeDate.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/RangeDate/RangeDate.styles.ts"],"names":[],"mappings":";AAcA,eAAO,MAAM,aAAa,4TAAoB,CAAC;AAG/C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2HA0FvB,CAAC;AAEF,eAAO,MAAM,IAAI,0CAEhB,CAAC;AAEF,eAAO,MAAM,WAAW,8KAAiB,CAAC;AAE1C,eAAO,MAAM,UAAU,qKAAe,CAAC"}
|
@@ -0,0 +1,76 @@
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
2
|
+
import type { CalendarStateType } from '../../Calendar';
|
3
|
+
import type { DisabledDay, EventDay } from '../../Calendar/Calendar.types';
|
4
|
+
import type { RangeInnerProps } from '../../Range/Range.types';
|
5
|
+
import type { DatePickerdVariationProps } from '../DatePickerBase.types';
|
6
|
+
import { DatePickerPopoverProps } from '../SingleDate/SingleDate.types';
|
7
|
+
export declare type DatePickerRangePlacement = 'top' | 'bottom';
|
8
|
+
declare type BaseRangeProps = Omit<RangeInnerProps, 'firstValue' | 'secondValue' | 'onSearchFirstValue' | 'onSearchSecondValue'>;
|
9
|
+
export declare type DatePickerRangeFieldProps = {
|
10
|
+
/**
|
11
|
+
* Значение по умолчанию для первого поля.
|
12
|
+
*/
|
13
|
+
defaultFirstDate?: Date;
|
14
|
+
/**
|
15
|
+
* Значение по умолчанию для второго поля.
|
16
|
+
*/
|
17
|
+
defaultSecondDate?: Date;
|
18
|
+
/**
|
19
|
+
* Callback по нажатию Enter в поле ввода или выборе дня на календаре для первой даты.
|
20
|
+
*/
|
21
|
+
onCommitFirstDate?: (value: Date | string, error?: boolean, success?: boolean) => void;
|
22
|
+
/**
|
23
|
+
* Callback по нажатию Enter в поле ввода или выборе дня на календаре для первой даты.
|
24
|
+
*/
|
25
|
+
onCommitSecondDate?: (value: Date | string, error?: boolean, success?: boolean) => void;
|
26
|
+
} & BaseRangeProps;
|
27
|
+
export declare type DatePickerCalendarProps = {
|
28
|
+
/**
|
29
|
+
* Формат даты.
|
30
|
+
* @default `DD.MM.YYYY`
|
31
|
+
*/
|
32
|
+
format?: string;
|
33
|
+
/**
|
34
|
+
* Формат применяется в качестве маски ввода.
|
35
|
+
*/
|
36
|
+
maskWithFormat?: boolean;
|
37
|
+
/**
|
38
|
+
* Минимальное значение даты.
|
39
|
+
*/
|
40
|
+
min?: Date;
|
41
|
+
/**
|
42
|
+
* Максимальное значение даты.
|
43
|
+
*/
|
44
|
+
max?: Date;
|
45
|
+
/**
|
46
|
+
* Должны ли значения минимального и максимального дня включаться в диапазон.
|
47
|
+
*/
|
48
|
+
includeEdgeDates?: boolean;
|
49
|
+
/**
|
50
|
+
* Список событий.
|
51
|
+
*/
|
52
|
+
eventList?: EventDay[];
|
53
|
+
/**
|
54
|
+
* Список отключенных дней.
|
55
|
+
*/
|
56
|
+
disabledList?: DisabledDay[];
|
57
|
+
/**
|
58
|
+
* Тип отображения календаря: дни, месяца, года.
|
59
|
+
*/
|
60
|
+
type?: CalendarStateType;
|
61
|
+
};
|
62
|
+
export declare type DatePickerDoublePopoverProps = Omit<DatePickerPopoverProps, 'placement'> & {
|
63
|
+
/**
|
64
|
+
* Сторона открытия календаря относительно поля ввода.
|
65
|
+
* @default
|
66
|
+
* ["bottom", "top"]
|
67
|
+
*/
|
68
|
+
placement?: DatePickerRangePlacement | Array<DatePickerRangePlacement>;
|
69
|
+
/**
|
70
|
+
* Отобразить двойной календарь
|
71
|
+
*/
|
72
|
+
isDoubleCalendar?: boolean;
|
73
|
+
};
|
74
|
+
export declare type DatePickerRangeProps = DatePickerdVariationProps & DatePickerRangeFieldProps & DatePickerCalendarProps & DatePickerDoublePopoverProps & HTMLAttributes<HTMLDivElement>;
|
75
|
+
export {};
|
76
|
+
//# sourceMappingURL=RangeDate.types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RangeDate.types.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/RangeDate/RangeDate.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAExE,oBAAY,wBAAwB,GAAG,KAAK,GAAG,QAAQ,CAAC;AAExD,aAAK,cAAc,GAAG,IAAI,CACtB,eAAe,EACf,YAAY,GAAG,aAAa,GAAG,oBAAoB,GAAG,qBAAqB,CAC9E,CAAC;AAEF,oBAAY,yBAAyB,GAAG;IACpC;;OAEG;IACH,gBAAgB,CAAC,EAAE,IAAI,CAAC;IACxB;;OAEG;IACH,iBAAiB,CAAC,EAAE,IAAI,CAAC;IACzB;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,GAAG,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACvF;;OAEG;IACH,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,GAAG,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3F,GAAG,cAAc,CAAC;AAEnB,oBAAY,uBAAuB,GAAG;IAClC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,GAAG,CAAC,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,GAAG,CAAC,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC;CAC5B,CAAC;AAEF,oBAAY,4BAA4B,GAAG,IAAI,CAAC,sBAAsB,EAAE,WAAW,CAAC,GAAG;IACnF;;;;OAIG;IACH,SAAS,CAAC,EAAE,wBAAwB,GAAG,KAAK,CAAC,wBAAwB,CAAC,CAAC;IACvE;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF,oBAAY,oBAAoB,GAAG,yBAAyB,GACxD,yBAAyB,GACzB,uBAAuB,GACvB,4BAA4B,GAC5B,cAAc,CAAC,cAAc,CAAC,CAAC"}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { RangeDatePopoverProps } from './RangeDatePopover.types';
|
3
|
+
export declare const RangeDatePopover: ({ target, isOpen, isDoubleCalendar, calendarValue, min, max, includeEdgeDates, eventList, disabledList, placement, closeOnOverlayClick, closeOnEsc, offset, type, size, onChangeValue, onChangeStartOfRange, onToggle, }: RangeDatePopoverProps) => JSX.Element;
|
4
|
+
//# sourceMappingURL=RangeDatePopover.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RangeDatePopover.d.ts","sourceRoot":"","sources":["../../../../../src/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAGtE,eAAO,MAAM,gBAAgB,6NAuB1B,qBAAqB,gBA0DvB,CAAC"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { CalendarDoubleProps, CalendarBaseProps } from '../../../Calendar';
|
3
|
+
export declare const StyledCalendarDouble: import("@linaria/react").StyledMeta & (({ value, disabledList, eventList, min, max, onChangeValue, onChangeStartOfRange, ...rest }: import("../../../Calendar/Calendar.types").CalendarRange<CalendarDoubleProps>) => import("react").ReactElement<CalendarDoubleProps, string | import("react").JSXElementConstructor<any>>);
|
4
|
+
export declare const StyledCalendar: import("@linaria/react").StyledMeta & (({ value, disabledList, eventList, min, max, onChangeValue, onChangeStartOfRange, ...rest }: import("../../../Calendar/Calendar.types").CalendarRange<CalendarBaseProps>) => import("react").ReactElement<CalendarBaseProps, string | import("react").JSXElementConstructor<any>>);
|
5
|
+
//# sourceMappingURL=RangeDatePopover.styles.d.ts.map
|
package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.d.ts.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RangeDatePopover.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.ts"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAehF,eAAO,MAAM,oBAAoB,+TAKhC,CAAC;AAEF,eAAO,MAAM,cAAc,2TAE1B,CAAC"}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import type { ReactNode } from 'react';
|
2
|
+
import type { DatePickerCalendarProps, DatePickerPopoverProps } from '../../SingleDate/SingleDate.types';
|
3
|
+
export declare type RangeDatePopoverProps = DatePickerCalendarProps & DatePickerPopoverProps & {
|
4
|
+
/**
|
5
|
+
* Обработчик изменения значения.
|
6
|
+
*/
|
7
|
+
onChangeValue: (values: [Date, Date?]) => void;
|
8
|
+
/**
|
9
|
+
* Выбранное значение.
|
10
|
+
*/
|
11
|
+
calendarValue: [Date?, Date?];
|
12
|
+
/**
|
13
|
+
* Отобразить двойной календарь
|
14
|
+
*/
|
15
|
+
isDoubleCalendar?: boolean;
|
16
|
+
/**
|
17
|
+
* Компонент для отображения диапазона.
|
18
|
+
*/
|
19
|
+
target?: ReactNode;
|
20
|
+
/**
|
21
|
+
* Обработчик для выбора стартового значения в диапазоне.
|
22
|
+
*/
|
23
|
+
onChangeStartOfRange?: (value: Date) => void;
|
24
|
+
/**
|
25
|
+
* Размер контрола.
|
26
|
+
*/
|
27
|
+
size?: string;
|
28
|
+
};
|
29
|
+
//# sourceMappingURL=RangeDatePopover.types.d.ts.map
|