@salutejs/plasma-new-hope 0.339.0-canary.2299.18780728888.0 → 0.339.0-canary.2299.18840379933.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/components/Calendar/Calendar.tokens.js +24 -1
- 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 +18 -4
- package/cjs/components/Calendar/CalendarBase/CalendarBase.js +48 -5
- package/cjs/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
- package/cjs/components/Calendar/CalendarBase/variations/_tooltip-size/base.js +9 -0
- package/cjs/components/Calendar/CalendarBase/variations/_tooltip-size/base.js.map +1 -0
- package/cjs/components/Calendar/CalendarBase/variations/_tooltip-size/base_x642ct.css +1 -0
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +18 -4
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +61 -11
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
- package/cjs/components/Calendar/CalendarDouble/variations/_size/base.js +9 -0
- package/cjs/components/Calendar/CalendarDouble/variations/_size/base.js.map +1 -0
- package/cjs/components/Calendar/CalendarDouble/variations/_size/base_x642ct.css +1 -0
- package/cjs/components/Calendar/CalendarDouble/variations/_tooltip-size/base.js +9 -0
- package/cjs/components/Calendar/CalendarDouble/variations/_tooltip-size/base.js.map +1 -0
- package/cjs/components/Calendar/CalendarDouble/variations/_tooltip-size/base_x642ct.css +1 -0
- package/cjs/components/Calendar/hooks/useKeyNavigation.js +3 -0
- package/cjs/components/Calendar/hooks/useKeyNavigation.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.css +4 -4
- package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +5 -1
- package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
- package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +5 -1
- package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +4 -4
- package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +5 -1
- package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
- package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +5 -1
- package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
- package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
- package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.js +23 -6
- package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.js.map +1 -1
- package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +3 -3
- package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
- package/cjs/components/Calendar/ui/DateStructureItem/{DateStructureItem.styles_z3dhwf.css → DateStructureItem.styles_1jogt74.css} +1 -1
- package/cjs/components/Calendar/ui/EventTooltip/EventTooltip.styles.js +22 -0
- package/cjs/components/Calendar/ui/EventTooltip/EventTooltip.styles.js.map +1 -0
- package/cjs/components/Calendar/ui/EventTooltip/EventTooltip.styles_dh6nzd.css +1 -0
- package/cjs/components/DatePicker/DatePicker.tokens.js +24 -1
- package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -1
- package/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
- package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
- package/{es/components/DatePicker/DatePickerBase.styles_6x4unn.css → cjs/components/DatePicker/DatePickerBase.styles_1rfomby.css} +1 -1
- package/cjs/components/DatePicker/RangeDate/RangeDate.css +15 -13
- package/cjs/components/DatePicker/RangeDate/RangeDate.js +15 -6
- package/cjs/components/DatePicker/RangeDate/RangeDate.js.map +1 -1
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +13 -11
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +3 -0
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
- package/{es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1wt56uj.css → cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_k6m3t6.css} +2 -2
- package/cjs/components/DatePicker/RangeDate/variations/_tooltip-size/base.js +9 -0
- package/cjs/components/DatePicker/RangeDate/variations/_tooltip-size/base.js.map +1 -0
- package/cjs/components/DatePicker/RangeDate/variations/_tooltip-size/base_x642ct.css +1 -0
- package/cjs/components/DatePicker/SingleDate/SingleDate.css +8 -6
- package/cjs/components/DatePicker/SingleDate/SingleDate.js +15 -12
- package/cjs/components/DatePicker/SingleDate/SingleDate.js.map +1 -1
- package/cjs/components/DatePicker/SingleDate/variations/_tooltip-size/base.js +9 -0
- package/cjs/components/DatePicker/SingleDate/variations/_tooltip-size/base.js.map +1 -0
- package/cjs/components/DatePicker/SingleDate/variations/_tooltip-size/base_x642ct.css +1 -0
- package/cjs/components/Loader/Loader.js +6 -4
- package/cjs/components/Loader/Loader.js.map +1 -1
- package/cjs/components/Popover/Popover.js +1 -0
- package/cjs/components/Popover/Popover.js.map +1 -1
- package/cjs/components/ProgressBarCircular/ProgressBarCircular.js +7 -5
- package/cjs/components/ProgressBarCircular/ProgressBarCircular.js.map +1 -1
- package/cjs/index.css +10 -8
- package/emotion/cjs/components/Calendar/Calendar.tokens.js +23 -1
- package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.js +44 -5
- package/emotion/cjs/components/Calendar/CalendarBase/variations/_tooltip-size/base.js +12 -0
- package/emotion/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +53 -7
- package/emotion/cjs/components/Calendar/CalendarDouble/variations/_tooltip-size/base.js +12 -0
- package/emotion/cjs/components/Calendar/hooks/useKeyNavigation.js +3 -0
- package/emotion/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +5 -2
- package/emotion/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +5 -2
- package/emotion/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +5 -2
- package/emotion/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +5 -2
- package/emotion/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.js +23 -6
- package/emotion/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +9 -8
- package/emotion/cjs/components/Calendar/ui/EventTooltip/EventTooltip.js +11 -0
- package/emotion/cjs/components/Calendar/ui/EventTooltip/EventTooltip.styles.js +25 -0
- package/emotion/cjs/components/Calendar/ui/index.js +4 -0
- package/emotion/cjs/components/DatePicker/DatePicker.tokens.js +23 -1
- package/emotion/cjs/components/DatePicker/DatePickerBase.styles.js +5 -5
- package/emotion/cjs/components/DatePicker/RangeDate/RangeDate.js +15 -6
- package/emotion/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +3 -1
- package/emotion/cjs/components/DatePicker/RangeDate/variations/_tooltip-size/base.js +12 -0
- package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.js +15 -12
- package/emotion/cjs/components/DatePicker/SingleDate/variations/_tooltip-size/base.js +12 -0
- package/emotion/cjs/components/Loader/Loader.js +6 -4
- package/emotion/cjs/components/Popover/Popover.js +1 -0
- package/emotion/cjs/components/ProgressBarCircular/ProgressBarCircular.js +6 -5
- package/emotion/cjs/examples/components/Calendar/CalendarBase.config.js +11 -6
- package/emotion/cjs/examples/components/Calendar/CalendarDouble.config.js +11 -6
- package/emotion/cjs/examples/components/DatePicker/DatePicker.config.js +11 -7
- package/emotion/es/components/Calendar/Calendar.tokens.js +23 -1
- package/emotion/es/components/Calendar/CalendarBase/CalendarBase.js +46 -7
- package/emotion/es/components/Calendar/CalendarBase/variations/_tooltip-size/base.js +2 -0
- package/emotion/es/components/Calendar/CalendarDouble/CalendarDouble.js +55 -9
- package/emotion/es/components/Calendar/CalendarDouble/variations/_tooltip-size/base.js +2 -0
- package/emotion/es/components/Calendar/hooks/useKeyNavigation.js +3 -0
- package/emotion/es/components/Calendar/ui/CalendarDays/CalendarDays.js +5 -2
- package/emotion/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +5 -2
- package/emotion/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +5 -2
- package/emotion/es/components/Calendar/ui/CalendarYears/CalendarYears.js +5 -2
- package/emotion/es/components/Calendar/ui/DateStructureItem/DateStructureItem.js +24 -7
- package/emotion/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +9 -8
- package/emotion/es/components/Calendar/ui/EventTooltip/EventTooltip.js +1 -0
- package/emotion/es/components/Calendar/ui/EventTooltip/EventTooltip.styles.js +10 -0
- package/emotion/es/components/Calendar/ui/index.js +1 -0
- package/emotion/es/components/DatePicker/DatePicker.tokens.js +23 -1
- package/emotion/es/components/DatePicker/DatePickerBase.styles.js +5 -5
- package/emotion/es/components/DatePicker/RangeDate/RangeDate.js +11 -2
- package/emotion/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +3 -1
- package/emotion/es/components/DatePicker/RangeDate/variations/_tooltip-size/base.js +2 -0
- package/emotion/es/components/DatePicker/SingleDate/SingleDate.js +11 -8
- package/emotion/es/components/DatePicker/SingleDate/variations/_tooltip-size/base.js +2 -0
- package/emotion/es/components/Loader/Loader.js +6 -4
- package/emotion/es/components/Popover/Popover.js +1 -0
- package/emotion/es/components/ProgressBarCircular/ProgressBarCircular.js +6 -5
- package/emotion/es/examples/components/Calendar/CalendarBase.config.js +11 -6
- package/emotion/es/examples/components/Calendar/CalendarDouble.config.js +11 -6
- package/emotion/es/examples/components/Combobox/Combobox.js +7 -0
- package/emotion/es/examples/components/DatePicker/DatePicker.config.js +11 -7
- package/es/components/Calendar/Calendar.tokens.js +24 -1
- 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 +18 -4
- package/es/components/Calendar/CalendarBase/CalendarBase.js +49 -6
- package/es/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
- package/es/components/Calendar/CalendarBase/variations/_tooltip-size/base.js +5 -0
- package/es/components/Calendar/CalendarBase/variations/_tooltip-size/base.js.map +1 -0
- package/es/components/Calendar/CalendarBase/variations/_tooltip-size/base_x642ct.css +1 -0
- package/es/components/Calendar/CalendarDouble/CalendarDouble.css +18 -4
- package/es/components/Calendar/CalendarDouble/CalendarDouble.js +62 -12
- package/es/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
- package/es/components/Calendar/CalendarDouble/variations/_size/base.js +5 -0
- package/es/components/Calendar/CalendarDouble/variations/_size/base.js.map +1 -0
- package/es/components/Calendar/CalendarDouble/variations/_size/base_x642ct.css +1 -0
- package/es/components/Calendar/CalendarDouble/variations/_tooltip-size/base.js +5 -0
- package/es/components/Calendar/CalendarDouble/variations/_tooltip-size/base.js.map +1 -0
- package/es/components/Calendar/CalendarDouble/variations/_tooltip-size/base_x642ct.css +1 -0
- package/es/components/Calendar/hooks/useKeyNavigation.js +3 -0
- package/es/components/Calendar/hooks/useKeyNavigation.js.map +1 -1
- package/es/components/Calendar/ui/CalendarDays/CalendarDays.css +4 -4
- package/es/components/Calendar/ui/CalendarDays/CalendarDays.js +5 -1
- package/es/components/Calendar/ui/CalendarDays/CalendarDays.js.map +1 -1
- package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
- package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +5 -1
- package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
- package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +4 -4
- package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +5 -1
- package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js.map +1 -1
- package/es/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
- package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +5 -1
- package/es/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
- package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
- package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.js +24 -7
- package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.js.map +1 -1
- package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +3 -3
- package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
- package/es/components/Calendar/ui/DateStructureItem/{DateStructureItem.styles_z3dhwf.css → DateStructureItem.styles_1jogt74.css} +1 -1
- package/es/components/Calendar/ui/EventTooltip/EventTooltip.styles.js +18 -0
- package/es/components/Calendar/ui/EventTooltip/EventTooltip.styles.js.map +1 -0
- package/es/components/Calendar/ui/EventTooltip/EventTooltip.styles_dh6nzd.css +1 -0
- package/es/components/DatePicker/DatePicker.tokens.js +24 -1
- package/es/components/DatePicker/DatePicker.tokens.js.map +1 -1
- package/es/components/DatePicker/DatePickerBase.styles.js +1 -1
- package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
- package/{cjs/components/DatePicker/DatePickerBase.styles_6x4unn.css → es/components/DatePicker/DatePickerBase.styles_1rfomby.css} +1 -1
- package/es/components/DatePicker/RangeDate/RangeDate.css +15 -13
- package/es/components/DatePicker/RangeDate/RangeDate.js +15 -6
- package/es/components/DatePicker/RangeDate/RangeDate.js.map +1 -1
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +13 -11
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +3 -0
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
- package/{cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1wt56uj.css → es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_k6m3t6.css} +2 -2
- package/es/components/DatePicker/RangeDate/variations/_tooltip-size/base.js +5 -0
- package/es/components/DatePicker/RangeDate/variations/_tooltip-size/base.js.map +1 -0
- package/es/components/DatePicker/RangeDate/variations/_tooltip-size/base_x642ct.css +1 -0
- package/es/components/DatePicker/SingleDate/SingleDate.css +8 -6
- package/es/components/DatePicker/SingleDate/SingleDate.js +15 -12
- package/es/components/DatePicker/SingleDate/SingleDate.js.map +1 -1
- package/es/components/DatePicker/SingleDate/variations/_tooltip-size/base.js +5 -0
- package/es/components/DatePicker/SingleDate/variations/_tooltip-size/base.js.map +1 -0
- package/es/components/DatePicker/SingleDate/variations/_tooltip-size/base_x642ct.css +1 -0
- package/es/components/Loader/Loader.js +6 -4
- package/es/components/Loader/Loader.js.map +1 -1
- package/es/components/Popover/Popover.js +1 -0
- package/es/components/Popover/Popover.js.map +1 -1
- package/es/components/ProgressBarCircular/ProgressBarCircular.js +7 -5
- package/es/components/ProgressBarCircular/ProgressBarCircular.js.map +1 -1
- package/es/index.css +10 -8
- package/package.json +4 -4
- package/styled-components/cjs/components/Calendar/Calendar.tokens.js +23 -1
- package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.js +44 -5
- package/styled-components/cjs/components/Calendar/CalendarBase/variations/_tooltip-size/base.js +14 -0
- package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +53 -7
- package/styled-components/cjs/components/Calendar/CalendarDouble/variations/_tooltip-size/base.js +14 -0
- package/styled-components/cjs/components/Calendar/hooks/useKeyNavigation.js +3 -0
- package/styled-components/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +5 -2
- package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +5 -2
- package/styled-components/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +5 -2
- package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +5 -2
- package/styled-components/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.js +23 -6
- package/styled-components/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +9 -6
- package/styled-components/cjs/components/Calendar/ui/EventTooltip/EventTooltip.js +11 -0
- package/styled-components/cjs/components/Calendar/ui/EventTooltip/EventTooltip.styles.js +71 -0
- package/styled-components/cjs/components/Calendar/ui/index.js +4 -0
- package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +23 -1
- package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +3 -3
- package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.js +15 -6
- package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +3 -1
- package/styled-components/cjs/components/DatePicker/RangeDate/variations/_tooltip-size/base.js +14 -0
- package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.js +15 -12
- package/styled-components/cjs/components/DatePicker/SingleDate/variations/_tooltip-size/base.js +14 -0
- package/styled-components/cjs/components/Loader/Loader.js +6 -4
- package/styled-components/cjs/components/Popover/Popover.js +1 -0
- package/styled-components/cjs/components/ProgressBarCircular/ProgressBarCircular.js +6 -5
- package/styled-components/cjs/examples/components/Calendar/CalendarBase.config.js +53 -3
- package/styled-components/cjs/examples/components/Calendar/CalendarDouble.config.js +53 -3
- package/styled-components/cjs/examples/components/DatePicker/DatePicker.config.js +51 -2
- package/styled-components/es/components/Calendar/Calendar.tokens.js +23 -1
- package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.js +46 -7
- package/styled-components/es/components/Calendar/CalendarBase/variations/_tooltip-size/base.js +4 -0
- package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +55 -9
- package/styled-components/es/components/Calendar/CalendarDouble/variations/_tooltip-size/base.js +4 -0
- package/styled-components/es/components/Calendar/hooks/useKeyNavigation.js +3 -0
- package/styled-components/es/components/Calendar/ui/CalendarDays/CalendarDays.js +5 -2
- package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +5 -2
- package/styled-components/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +5 -2
- package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.js +5 -2
- package/styled-components/es/components/Calendar/ui/DateStructureItem/DateStructureItem.js +24 -7
- package/styled-components/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +9 -6
- package/styled-components/es/components/Calendar/ui/EventTooltip/EventTooltip.js +1 -0
- package/styled-components/es/components/Calendar/ui/EventTooltip/EventTooltip.styles.js +56 -0
- package/styled-components/es/components/Calendar/ui/index.js +1 -0
- package/styled-components/es/components/DatePicker/DatePicker.tokens.js +23 -1
- package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +3 -3
- package/styled-components/es/components/DatePicker/RangeDate/RangeDate.js +11 -2
- package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +3 -1
- package/styled-components/es/components/DatePicker/RangeDate/variations/_tooltip-size/base.js +4 -0
- package/styled-components/es/components/DatePicker/SingleDate/SingleDate.js +11 -8
- package/styled-components/es/components/DatePicker/SingleDate/variations/_tooltip-size/base.js +4 -0
- package/styled-components/es/components/Loader/Loader.js +6 -4
- package/styled-components/es/components/Popover/Popover.js +1 -0
- package/styled-components/es/components/ProgressBarCircular/ProgressBarCircular.js +6 -5
- package/styled-components/es/examples/components/Calendar/CalendarBase.config.js +53 -3
- package/styled-components/es/examples/components/Calendar/CalendarDouble.config.js +53 -3
- package/styled-components/es/examples/components/DatePicker/DatePicker.config.js +51 -2
- package/types/components/Calendar/Calendar.tokens.d.ts +22 -0
- package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
- package/types/components/Calendar/Calendar.types.d.ts +43 -1
- package/types/components/Calendar/Calendar.types.d.ts.map +1 -1
- package/types/components/Calendar/CalendarBase/CalendarBase.d.ts +10 -2
- package/types/components/Calendar/CalendarBase/CalendarBase.d.ts.map +1 -1
- package/types/components/Calendar/CalendarBase/variations/_tooltip-size/base.d.ts +2 -0
- package/types/components/Calendar/CalendarBase/variations/_tooltip-size/base.d.ts.map +1 -0
- package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts +13 -2
- package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts.map +1 -1
- package/types/components/Calendar/CalendarDouble/variations/_tooltip-size/base.d.ts +2 -0
- package/types/components/Calendar/CalendarDouble/variations/_tooltip-size/base.d.ts.map +1 -0
- package/types/components/Calendar/hooks/useKeyNavigation.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarDays/CalendarDays.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarDays/CalendarDays.types.d.ts +3 -2
- package/types/components/Calendar/ui/CalendarDays/CalendarDays.types.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarMonths/CalendarMonths.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarMonths/CalendarMonths.types.d.ts +2 -1
- package/types/components/Calendar/ui/CalendarMonths/CalendarMonths.types.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarQuarters/CalendarQuarters.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarQuarters/CalendarQuarters.types.d.ts +2 -1
- package/types/components/Calendar/ui/CalendarQuarters/CalendarQuarters.types.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarYears/CalendarYears.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarYears/CalendarYears.types.d.ts +2 -1
- package/types/components/Calendar/ui/CalendarYears/CalendarYears.types.d.ts.map +1 -1
- package/types/components/Calendar/ui/DateStructureItem/DateStructureItem.d.ts.map +1 -1
- package/types/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.d.ts.map +1 -1
- package/types/components/Calendar/ui/DateStructureItem/DateStructureItem.types.d.ts +2 -1
- package/types/components/Calendar/ui/DateStructureItem/DateStructureItem.types.d.ts.map +1 -1
- package/types/components/Calendar/ui/EventTooltip/EventTooltip.d.ts +2 -0
- package/types/components/Calendar/ui/EventTooltip/EventTooltip.d.ts.map +1 -0
- package/types/components/Calendar/ui/EventTooltip/EventTooltip.styles.d.ts +2 -0
- package/types/components/Calendar/ui/EventTooltip/EventTooltip.styles.d.ts.map +1 -0
- package/types/components/Calendar/ui/index.d.ts +1 -0
- package/types/components/Calendar/ui/index.d.ts.map +1 -1
- package/types/components/DatePicker/DatePicker.tokens.d.ts +22 -0
- package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -1
- package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -1
- package/types/components/DatePicker/DatePickerBase.types.d.ts +5 -1
- package/types/components/DatePicker/DatePickerBase.types.d.ts.map +1 -1
- package/types/components/DatePicker/RangeDate/RangeDate.d.ts +7 -3
- package/types/components/DatePicker/RangeDate/RangeDate.d.ts.map +1 -1
- package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts +3 -0
- package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts.map +1 -1
- package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.d.ts +1 -1
- package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.d.ts.map +1 -1
- package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.d.ts.map +1 -1
- package/types/components/DatePicker/RangeDate/variations/_tooltip-size/base.d.ts +2 -0
- package/types/components/DatePicker/RangeDate/variations/_tooltip-size/base.d.ts.map +1 -0
- package/types/components/DatePicker/SingleDate/SingleDate.d.ts +7 -3
- package/types/components/DatePicker/SingleDate/SingleDate.d.ts.map +1 -1
- package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts +3 -0
- package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts.map +1 -1
- package/types/components/DatePicker/SingleDate/variations/_tooltip-size/base.d.ts +2 -0
- package/types/components/DatePicker/SingleDate/variations/_tooltip-size/base.d.ts.map +1 -0
- package/types/components/Loader/Loader.d.ts.map +1 -1
- package/types/components/Loader/Loader.types.d.ts +5 -1
- package/types/components/Loader/Loader.types.d.ts.map +1 -1
- package/types/components/Popover/Popover.d.ts.map +1 -1
- package/types/components/ProgressBarCircular/ProgressBarCircular.d.ts.map +1 -1
- package/types/components/ProgressBarCircular/ProgressBarCircular.types.d.ts +5 -1
- package/types/components/ProgressBarCircular/ProgressBarCircular.types.d.ts.map +1 -1
- package/types/components/Tooltip/Tooltip.types.d.ts +3 -3
- package/types/components/Tooltip/Tooltip.types.d.ts.map +1 -1
- package/types/examples/components/Calendar/Calendar.d.ts +8 -0
- package/types/examples/components/Calendar/Calendar.d.ts.map +1 -1
- package/types/examples/components/Calendar/CalendarBase.config.d.ts +5 -0
- package/types/examples/components/Calendar/CalendarBase.config.d.ts.map +1 -1
- package/types/examples/components/Calendar/CalendarDouble.config.d.ts +5 -0
- package/types/examples/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
- package/types/examples/components/DatePicker/DatePicker.config.d.ts +4 -0
- package/types/examples/components/DatePicker/DatePicker.config.d.ts.map +1 -1
- package/types/examples/components/DatePicker/DatePicker.d.ts +8 -0
- package/types/examples/components/DatePicker/DatePicker.d.ts.map +1 -1
|
@@ -110,12 +110,13 @@ import { keys, useKeyNavigation } from "../hooks/useKeyboardNavigation";
|
|
|
110
110
|
import { getFormattedDates } from "../utils";
|
|
111
111
|
import { base as sizeCSS } from "./variations/_size/base";
|
|
112
112
|
import { base as viewCSS } from "./variations/_view/base";
|
|
113
|
+
import { base as eventTooltipSizeCSS } from "./variations/_tooltip-size/base";
|
|
113
114
|
import { base as disabledCSS } from "./variations/_disabled/base";
|
|
114
115
|
import { base as readOnlyCSS } from "./variations/_readonly/base";
|
|
115
116
|
import { LeftHelper, StyledInput, StyledPopover, base } from "./SingleDate.styles";
|
|
116
117
|
export var datePickerRoot = function(Root) {
|
|
117
118
|
return /*#__PURE__*/ forwardRef(function(_param, ref) {
|
|
118
|
-
var className = _param.className, _param_opened = _param.opened, opened = _param_opened === void 0 ? false : _param_opened, outerValue = _param.value, _param_defaultDate = _param.defaultDate, defaultDate = _param_defaultDate === void 0 ? '' : _param_defaultDate, preserveInvalidOnBlur = _param.preserveInvalidOnBlur, label = _param.label, _param_labelPlacement = _param.labelPlacement, labelPlacement = _param_labelPlacement === void 0 ? 'outer' : _param_labelPlacement, keepPlaceholder = _param.keepPlaceholder, _param_required = _param.required, required = _param_required === void 0 ? false : _param_required, _param_requiredPlacement = _param.requiredPlacement, requiredPlacement = _param_requiredPlacement === void 0 ? 'right' : _param_requiredPlacement, _param_hasRequiredIndicator = _param.hasRequiredIndicator, hasRequiredIndicator = _param_hasRequiredIndicator === void 0 ? true : _param_hasRequiredIndicator, placeholder = _param.placeholder, leftHelper = _param.leftHelper, contentLeft = _param.contentLeft, contentRight = _param.contentRight, textBefore = _param.textBefore, textAfter = _param.textAfter, view = _param.view, size = _param.size, _param_readOnly = _param.readOnly, readOnly = _param_readOnly === void 0 ? false : _param_readOnly, _param_disabled = _param.disabled, disabled = _param_disabled === void 0 ? false : _param_disabled, name = _param.name, valueError = _param.valueError, valueSuccess = _param.valueSuccess, _param_format = _param.format, format = _param_format === void 0 ? 'DD.MM.YYYY' : _param_format, _param_lang = _param.lang, lang = _param_lang === void 0 ? 'ru' : _param_lang, maskWithFormat = _param.maskWithFormat, min = _param.min, max = _param.max, renderFromDate = _param.renderFromDate, _param_includeEdgeDates = _param.includeEdgeDates, includeEdgeDates = _param_includeEdgeDates === void 0 ? false : _param_includeEdgeDates, eventList = _param.eventList, disabledList = _param.disabledList, eventMonthList = _param.eventMonthList, disabledMonthList = _param.disabledMonthList, eventQuarterList = _param.eventQuarterList, disabledQuarterList = _param.disabledQuarterList, eventYearList = _param.eventYearList, disabledYearList = _param.disabledYearList, _param_type = _param.type, type = _param_type === void 0 ? 'Days' : _param_type, _param_frame = _param.frame, frame = _param_frame === void 0 ? 'document' : _param_frame, _param_usePortal = _param.usePortal, usePortal = _param_usePortal === void 0 ? false : _param_usePortal, zIndex = _param.zIndex, _param_placement = _param.placement, placement = _param_placement === void 0 ? [
|
|
119
|
+
var className = _param.className, _param_opened = _param.opened, opened = _param_opened === void 0 ? false : _param_opened, outerValue = _param.value, _param_defaultDate = _param.defaultDate, defaultDate = _param_defaultDate === void 0 ? '' : _param_defaultDate, preserveInvalidOnBlur = _param.preserveInvalidOnBlur, label = _param.label, _param_labelPlacement = _param.labelPlacement, labelPlacement = _param_labelPlacement === void 0 ? 'outer' : _param_labelPlacement, keepPlaceholder = _param.keepPlaceholder, _param_required = _param.required, required = _param_required === void 0 ? false : _param_required, _param_requiredPlacement = _param.requiredPlacement, requiredPlacement = _param_requiredPlacement === void 0 ? 'right' : _param_requiredPlacement, _param_hasRequiredIndicator = _param.hasRequiredIndicator, hasRequiredIndicator = _param_hasRequiredIndicator === void 0 ? true : _param_hasRequiredIndicator, placeholder = _param.placeholder, leftHelper = _param.leftHelper, contentLeft = _param.contentLeft, contentRight = _param.contentRight, textBefore = _param.textBefore, textAfter = _param.textAfter, view = _param.view, size = _param.size, _param_readOnly = _param.readOnly, readOnly = _param_readOnly === void 0 ? false : _param_readOnly, _param_disabled = _param.disabled, disabled = _param_disabled === void 0 ? false : _param_disabled, name = _param.name, valueError = _param.valueError, valueSuccess = _param.valueSuccess, _param_format = _param.format, format = _param_format === void 0 ? 'DD.MM.YYYY' : _param_format, _param_lang = _param.lang, lang = _param_lang === void 0 ? 'ru' : _param_lang, maskWithFormat = _param.maskWithFormat, min = _param.min, max = _param.max, renderFromDate = _param.renderFromDate, _param_includeEdgeDates = _param.includeEdgeDates, includeEdgeDates = _param_includeEdgeDates === void 0 ? false : _param_includeEdgeDates, eventTooltipOptions = _param.eventTooltipOptions, eventList = _param.eventList, disabledList = _param.disabledList, eventMonthList = _param.eventMonthList, disabledMonthList = _param.disabledMonthList, eventQuarterList = _param.eventQuarterList, disabledQuarterList = _param.disabledQuarterList, eventYearList = _param.eventYearList, disabledYearList = _param.disabledYearList, _param_type = _param.type, type = _param_type === void 0 ? 'Days' : _param_type, _param_frame = _param.frame, frame = _param_frame === void 0 ? 'document' : _param_frame, _param_usePortal = _param.usePortal, usePortal = _param_usePortal === void 0 ? false : _param_usePortal, zIndex = _param.zIndex, _param_placement = _param.placement, placement = _param_placement === void 0 ? [
|
|
119
120
|
'top',
|
|
120
121
|
'bottom'
|
|
121
122
|
] : _param_placement, _param_closeOnOverlayClick = _param.closeOnOverlayClick, closeOnOverlayClick = _param_closeOnOverlayClick === void 0 ? true : _param_closeOnOverlayClick, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_closeAfterDateSelect = _param.closeAfterDateSelect, closeAfterDateSelect = _param_closeAfterDateSelect === void 0 ? true : _param_closeAfterDateSelect, offset = _param.offset, calendarContainerWidth = _param.calendarContainerWidth, calendarContainerHeight = _param.calendarContainerHeight, stretched = _param.stretched, onChangeValue = _param.onChangeValue, onCommitDate = _param.onCommitDate, onToggle = _param.onToggle, onFocus = _param.onFocus, onBlur = _param.onBlur, onChange = _param.onChange, autoComplete = _param.autoComplete, rest = _object_without_properties(_param, [
|
|
@@ -150,6 +151,7 @@ export var datePickerRoot = function(Root) {
|
|
|
150
151
|
"max",
|
|
151
152
|
"renderFromDate",
|
|
152
153
|
"includeEdgeDates",
|
|
154
|
+
"eventTooltipOptions",
|
|
153
155
|
"eventList",
|
|
154
156
|
"disabledList",
|
|
155
157
|
"eventMonthList",
|
|
@@ -228,11 +230,6 @@ export var datePickerRoot = function(Root) {
|
|
|
228
230
|
return;
|
|
229
231
|
}
|
|
230
232
|
var isCalendarOpen = (event === null || event === void 0 ? void 0 : event.target) === (inputRef === null || inputRef === void 0 ? void 0 : inputRef.current) && event.code !== keys.Escape ? true : innerOpened;
|
|
231
|
-
if (!innerOpened && !calendarValue) {
|
|
232
|
-
setInnerDate(function(prevValue) {
|
|
233
|
-
return prevValue === undefined ? null : undefined;
|
|
234
|
-
});
|
|
235
|
-
}
|
|
236
233
|
if (onToggle) {
|
|
237
234
|
onToggle(isCalendarOpen, event);
|
|
238
235
|
return;
|
|
@@ -337,7 +334,8 @@ export var datePickerRoot = function(Root) {
|
|
|
337
334
|
className: cls(classes.datePickerRoot, className, _define_property({}, classes.datePickerstretched, stretched)),
|
|
338
335
|
disabled: disabled,
|
|
339
336
|
readOnly: !disabled && readOnly,
|
|
340
|
-
ref: ref
|
|
337
|
+
ref: ref,
|
|
338
|
+
eventTooltipSize: eventTooltipOptions === null || eventTooltipOptions === void 0 ? void 0 : eventTooltipOptions.size
|
|
341
339
|
}, rest), /*#__PURE__*/ React.createElement(StyledPopover, {
|
|
342
340
|
opened: isInnerOpen,
|
|
343
341
|
usePortal: usePortal,
|
|
@@ -366,6 +364,7 @@ export var datePickerRoot = function(Root) {
|
|
|
366
364
|
size: size,
|
|
367
365
|
value: calendarValue,
|
|
368
366
|
type: type,
|
|
367
|
+
eventTooltipOptions: eventTooltipOptions,
|
|
369
368
|
eventList: eventList,
|
|
370
369
|
disabledList: disabledList,
|
|
371
370
|
eventMonthList: eventMonthList,
|
|
@@ -404,6 +403,9 @@ export var datePickerConfig = {
|
|
|
404
403
|
size: {
|
|
405
404
|
css: sizeCSS
|
|
406
405
|
},
|
|
406
|
+
eventTooltipSize: {
|
|
407
|
+
css: eventTooltipSizeCSS
|
|
408
|
+
},
|
|
407
409
|
disabled: {
|
|
408
410
|
css: disabledCSS,
|
|
409
411
|
attrs: true
|
|
@@ -415,6 +417,7 @@ export var datePickerConfig = {
|
|
|
415
417
|
},
|
|
416
418
|
defaults: {
|
|
417
419
|
size: 'm',
|
|
418
|
-
view: 'default'
|
|
420
|
+
view: 'default',
|
|
421
|
+
eventTooltipSizeCSS: 'm'
|
|
419
422
|
}
|
|
420
423
|
};
|
|
@@ -85,7 +85,7 @@ import { base, StyledProgressBarCircular, StyledSpinner } from "./Loader.styles"
|
|
|
85
85
|
import { classes, tokens } from "./Loader.tokens";
|
|
86
86
|
export var loaderRoot = function(Root) {
|
|
87
87
|
return /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
88
|
-
var _props_type = props.type, type = _props_type === void 0 ? 'spinner' : _props_type, _props_hasBlur = props.hasBlur, hasBlur = _props_hasBlur === void 0 ? false : _props_hasBlur, _props_hasOverlay = props.hasOverlay, hasOverlay = _props_hasOverlay === void 0 ? false : _props_hasOverlay, _props_value = props.value, value = _props_value === void 0 ? 0 : _props_value, _props_blur = props.blur, blur = _props_blur === void 0 ? 'medium' : _props_blur, overlayColor = props.overlayColor, _props_maxValue = props.maxValue, maxValue = _props_maxValue === void 0 ? 100 : _props_maxValue, size = props.size, view = props.view, children = props.children, className = props.className,
|
|
88
|
+
var _props_type = props.type, type = _props_type === void 0 ? 'spinner' : _props_type, _props_hasBlur = props.hasBlur, hasBlur = _props_hasBlur === void 0 ? false : _props_hasBlur, _props_hasOverlay = props.hasOverlay, hasOverlay = _props_hasOverlay === void 0 ? false : _props_hasOverlay, _props_value = props.value, value = _props_value === void 0 ? 0 : _props_value, _props_blur = props.blur, blur = _props_blur === void 0 ? 'medium' : _props_blur, overlayColor = props.overlayColor, _props_maxValue = props.maxValue, maxValue = _props_maxValue === void 0 ? 100 : _props_maxValue, size = props.size, view = props.view, children = props.children, className = props.className, strokeSize = props.strokeSize, hasTrack = props.hasTrack, style = props.style, rest = _object_without_properties(props, [
|
|
89
89
|
"type",
|
|
90
90
|
"hasBlur",
|
|
91
91
|
"hasOverlay",
|
|
@@ -97,7 +97,8 @@ export var loaderRoot = function(Root) {
|
|
|
97
97
|
"view",
|
|
98
98
|
"children",
|
|
99
99
|
"className",
|
|
100
|
-
"
|
|
100
|
+
"strokeSize",
|
|
101
|
+
"hasTrack",
|
|
101
102
|
"style"
|
|
102
103
|
]);
|
|
103
104
|
var blurClass = hasBlur ? classes["".concat(blur, "LoaderBlur")] : '';
|
|
@@ -115,9 +116,10 @@ export var loaderRoot = function(Root) {
|
|
|
115
116
|
}) : /*#__PURE__*/ React.createElement(StyledProgressBarCircular, {
|
|
116
117
|
value: value,
|
|
117
118
|
maxValue: maxValue,
|
|
118
|
-
|
|
119
|
+
strokeSize: strokeSize,
|
|
119
120
|
size: size,
|
|
120
|
-
view: view
|
|
121
|
+
view: view,
|
|
122
|
+
hasTrack: hasTrack
|
|
121
123
|
}, children));
|
|
122
124
|
});
|
|
123
125
|
};
|
|
@@ -255,6 +255,7 @@ export var POPOVER_PORTAL_ID = 'plasma-popover-root';
|
|
|
255
255
|
onToggle
|
|
256
256
|
]);
|
|
257
257
|
var onClick = useCallback(function(event) {
|
|
258
|
+
event.persist();
|
|
258
259
|
if (trigger === 'click') {
|
|
259
260
|
var _popoverRef_current;
|
|
260
261
|
var targetIsPopover = event.target === popoverRef.current;
|
|
@@ -60,14 +60,15 @@ import { base, StyledSVG, StyledBackgroundCircle, StyledProgressCircle, StyledCo
|
|
|
60
60
|
import { classes } from "./ProgressBarCircular.tokens";
|
|
61
61
|
export var progressBarCircularRoot = function(Root) {
|
|
62
62
|
return /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
63
|
-
var _props_value = props.value, value = _props_value === void 0 ? 0 : _props_value, _props_maxValue = props.maxValue, maxValue = _props_maxValue === void 0 ? 100 : _props_maxValue, size = props.size, view = props.view, children = props.children, className = props.className,
|
|
63
|
+
var _props_value = props.value, value = _props_value === void 0 ? 0 : _props_value, _props_maxValue = props.maxValue, maxValue = _props_maxValue === void 0 ? 100 : _props_maxValue, size = props.size, view = props.view, children = props.children, className = props.className, strokeSize = props.strokeSize, _props_hasTrack = props.hasTrack, hasTrack = _props_hasTrack === void 0 ? true : _props_hasTrack, rest = _object_without_properties(props, [
|
|
64
64
|
"value",
|
|
65
65
|
"maxValue",
|
|
66
66
|
"size",
|
|
67
67
|
"view",
|
|
68
68
|
"children",
|
|
69
69
|
"className",
|
|
70
|
-
"
|
|
70
|
+
"strokeSize",
|
|
71
|
+
"hasTrack"
|
|
71
72
|
]);
|
|
72
73
|
var clampedValue = Math.min(Math.max(value, 0), maxValue);
|
|
73
74
|
var percentage = clampedValue / maxValue * 100;
|
|
@@ -82,15 +83,15 @@ export var progressBarCircularRoot = function(Root) {
|
|
|
82
83
|
height: "100%",
|
|
83
84
|
viewBox: "0 0 100 100",
|
|
84
85
|
className: classes.svg
|
|
85
|
-
}, /*#__PURE__*/ React.createElement(StyledBackgroundCircle, {
|
|
86
|
-
customStrokeWidth:
|
|
86
|
+
}, hasTrack && /*#__PURE__*/ React.createElement(StyledBackgroundCircle, {
|
|
87
|
+
customStrokeWidth: strokeSize,
|
|
87
88
|
cx: center,
|
|
88
89
|
cy: center,
|
|
89
90
|
className: classes.backgroundCircle
|
|
90
91
|
}), /*#__PURE__*/ React.createElement(StyledProgressCircle, {
|
|
91
92
|
cx: center,
|
|
92
93
|
cy: center,
|
|
93
|
-
customStrokeWidth:
|
|
94
|
+
customStrokeWidth: strokeSize,
|
|
94
95
|
className: classes.progressCircle,
|
|
95
96
|
percent: percentage,
|
|
96
97
|
transform: "rotate(-90 50 50)"
|
|
@@ -3,7 +3,8 @@ import { tokens as calendarBaseTokens } from "../../../components/Calendar/Calen
|
|
|
3
3
|
export var config = {
|
|
4
4
|
defaults: {
|
|
5
5
|
view: 'default',
|
|
6
|
-
size: 'm'
|
|
6
|
+
size: 'm',
|
|
7
|
+
tooltipSize: 'm'
|
|
7
8
|
},
|
|
8
9
|
variations: {
|
|
9
10
|
view: {
|
|
@@ -36,8 +37,11 @@ export var config = {
|
|
|
36
37
|
":var(--surface-clear);",
|
|
37
38
|
":var(--text-primary-hover);",
|
|
38
39
|
":var(--surface-clear);",
|
|
39
|
-
":var(--surface-accent);"
|
|
40
|
-
|
|
40
|
+
":var(--surface-accent);",
|
|
41
|
+
":var(--surface-solid-card-brightness);",
|
|
42
|
+
":var(--shadow-down-hard-s);",
|
|
43
|
+
":var(--text-primary);"
|
|
44
|
+
], calendarBaseTokens.calendarSelectedItemBackground, calendarBaseTokens.calendarSelectedItemColor, calendarBaseTokens.calendarSelectableItemBackgroundHover, calendarBaseTokens.calendarCurrentItemBorderColor, calendarBaseTokens.calendarCurrentItemBackgroundHover, calendarBaseTokens.calendarCurrentItemColorHover, calendarBaseTokens.calendarCurrentItemChildBackgroundHover, calendarBaseTokens.calendarActiveItemBackground, calendarBaseTokens.calendarActiveItemColor, calendarBaseTokens.calendarHoveredItemBackground, calendarBaseTokens.calendarHoveredItemColor, calendarBaseTokens.calendarRangeBackground, calendarBaseTokens.calendarOutlineFocusColor, calendarBaseTokens.calendarContentPrimaryColor, calendarBaseTokens.calendarContentPrimaryDisabledColor, calendarBaseTokens.calendarContentSecondaryColor, calendarBaseTokens.calendarContentSecondaryDisabledColor, calendarBaseTokens.calendarHeaderArrowColor, calendarBaseTokens.calendarContentPrimaryColor, calendarBaseTokens.calendarDayOfWeekColor, calendarBaseTokens.calendarDisabledOpacity, calendarBaseTokens.iconButtonColor, calendarBaseTokens.iconButtonBackgroundColor, calendarBaseTokens.iconButtonColorHover, calendarBaseTokens.iconButtonBackgroundColorHover, calendarBaseTokens.iconButtonColorActive, calendarBaseTokens.iconButtonBackgroundColorActive, calendarBaseTokens.iconButtonFocusColor, calendarBaseTokens.tooltipBackgroundColor, calendarBaseTokens.tooltipBoxShadow, calendarBaseTokens.tooltipColor)
|
|
41
45
|
},
|
|
42
46
|
size: {
|
|
43
47
|
l: css([
|
|
@@ -268,6 +272,52 @@ export var config = {
|
|
|
268
272
|
":0.75rem;",
|
|
269
273
|
":0.5rem;"
|
|
270
274
|
], calendarBaseTokens.calendarContainerWidth, calendarBaseTokens.calendarContainerHeight, calendarBaseTokens.calendarYearsPadding, calendarBaseTokens.calendarYearItemBorderRadius, calendarBaseTokens.calendarYearFontFamily, calendarBaseTokens.calendarYearFontSize, calendarBaseTokens.calendarYearFontStyle, calendarBaseTokens.calendarYearFontLetterSpacing, calendarBaseTokens.calendarYearFontLineHeight, calendarBaseTokens.calendarYearFontWeight, calendarBaseTokens.calendarYearSelectedFontWeight, calendarBaseTokens.calendarQuartersPadding, calendarBaseTokens.calendarQuarterItemBorderRadius, calendarBaseTokens.calendarQuarterFontFamily, calendarBaseTokens.calendarQuarterFontSize, calendarBaseTokens.calendarQuarterFontStyle, calendarBaseTokens.calendarQuarterFontLetterSpacing, calendarBaseTokens.calendarQuarterFontLineHeight, calendarBaseTokens.calendarQuarterFontWeight, calendarBaseTokens.calendarQuarterSelectedFontWeight, calendarBaseTokens.calendarMonthsPadding, calendarBaseTokens.calendarMonthItemBorderRadius, calendarBaseTokens.calendarMonthFontFamily, calendarBaseTokens.calendarMonthFontSize, calendarBaseTokens.calendarMonthFontStyle, calendarBaseTokens.calendarMonthFontLetterSpacing, calendarBaseTokens.calendarMonthFontLineHeight, calendarBaseTokens.calendarMonthFontWeight, calendarBaseTokens.calendarMonthSelectedFontWeight, calendarBaseTokens.calendarDaysPadding, calendarBaseTokens.calendarDayItemBorderRadius, calendarBaseTokens.calendarDayFontFamily, calendarBaseTokens.calendarDayFontSize, calendarBaseTokens.calendarDayFontStyle, calendarBaseTokens.calendarDayFontLetterSpacing, calendarBaseTokens.calendarDayFontLineHeight, calendarBaseTokens.calendarDayFontWeight, calendarBaseTokens.calendarDaySelectedFontWeight, calendarBaseTokens.calendarCurrentItemBorderWidth, calendarBaseTokens.calendarHeaderArrowGap, calendarBaseTokens.calendarArrowHeaderCustomSize, calendarBaseTokens.calendarHeaderPadding, calendarBaseTokens.calendarHeaderDateGap, calendarBaseTokens.calendarHeaderFontFamily, calendarBaseTokens.calendarHeaderFontSize, calendarBaseTokens.calendarHeaderFontStyle, calendarBaseTokens.calendarHeaderFontLetterSpacing, calendarBaseTokens.calendarHeaderFontLineHeight, calendarBaseTokens.calendarHeaderFontWeight, calendarBaseTokens.calendarHeaderFontWeightBold, calendarBaseTokens.iconButtonHeight, calendarBaseTokens.iconButtonWidth, calendarBaseTokens.iconButtonPadding, calendarBaseTokens.iconButtonRadius)
|
|
275
|
+
},
|
|
276
|
+
eventTooltipSize: {
|
|
277
|
+
m: css([
|
|
278
|
+
"",
|
|
279
|
+
":0.6875rem;",
|
|
280
|
+
":0.875rem;",
|
|
281
|
+
":0.6875rem;",
|
|
282
|
+
":0.875rem;",
|
|
283
|
+
":2.5rem;",
|
|
284
|
+
":0.625rem;",
|
|
285
|
+
":var(--plasma-typo-body-s-font-family);",
|
|
286
|
+
":var(--plasma-typo-body-s-font-size);",
|
|
287
|
+
":var(--plasma-typo-body-s-font-style);",
|
|
288
|
+
":var(--plasma-typo-body-s-font-weight);",
|
|
289
|
+
":var(--plasma-typo-body-s-letter-spacing);",
|
|
290
|
+
":var(--plasma-typo-body-s-line-height);",
|
|
291
|
+
":0.375rem;",
|
|
292
|
+
":1.25rem;",
|
|
293
|
+
":1.25rem;",
|
|
294
|
+
':url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMC4xNywxMS44M2wyMCwwYy01LjUyLDAgLTEwLDMuNTkgLTEwLDhjMCwtNC40MSAtNC40OCwtOCAtMTAsLTh6IiBmaWxsPSIjMTcxNzE3IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGlkPSJUYWlsIi8+Cjwvc3ZnPg==");',
|
|
295
|
+
":0.5rem;",
|
|
296
|
+
":0.625rem;",
|
|
297
|
+
":var(--surface-solid-card-brightness);"
|
|
298
|
+
], calendarBaseTokens.tooltipPaddingTop, calendarBaseTokens.tooltipPaddingRight, calendarBaseTokens.tooltipPaddingBottom, calendarBaseTokens.tooltipPaddingLeft, calendarBaseTokens.tooltipMinHeight, calendarBaseTokens.tooltipBorderRadius, calendarBaseTokens.tooltipTextFontFamily, calendarBaseTokens.tooltipTextFontSize, calendarBaseTokens.tooltipTextFontStyle, calendarBaseTokens.tooltipTextFontWeight, calendarBaseTokens.tooltipTextFontLetterSpacing, calendarBaseTokens.tooltipTextFontLineHeight, calendarBaseTokens.tooltipContentLeftMargin, calendarBaseTokens.tooltipArrowMaskWidth, calendarBaseTokens.tooltipArrowMaskHeight, calendarBaseTokens.tooltipArrowMaskImage, calendarBaseTokens.tooltipArrowHeight, calendarBaseTokens.tooltipArrowEdgeMargin, calendarBaseTokens.tooltipArrowBackground),
|
|
299
|
+
s: css([
|
|
300
|
+
"",
|
|
301
|
+
":0.5rem;",
|
|
302
|
+
":0.75rem;",
|
|
303
|
+
":0.5rem;",
|
|
304
|
+
":0.75rem;",
|
|
305
|
+
":2rem;",
|
|
306
|
+
":0.5rem;",
|
|
307
|
+
":var(--plasma-typo-body-xs-font-family);",
|
|
308
|
+
":var(--plasma-typo-body-xs-font-size);",
|
|
309
|
+
":var(--plasma-typo-body-xs-font-style);",
|
|
310
|
+
":var(--plasma-typo-body-xs-font-weight);",
|
|
311
|
+
":var(--plasma-typo-body-xs-letter-spacing);",
|
|
312
|
+
":var(--plasma-typo-body-xs-line-height);",
|
|
313
|
+
":0.25rem;",
|
|
314
|
+
":1rem;",
|
|
315
|
+
":1rem;",
|
|
316
|
+
':url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMCw5Ljg1bDE2LDBjLTQuNDEsMCAtOCwyLjY5IC04LDZjMCwtMy4zMSAtMy41OSwtNiAtOCwtNnoiIGZpbGw9IiMxNzE3MTciIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IlRhaWwiLz4KPC9zdmc+");',
|
|
317
|
+
":0.375rem;",
|
|
318
|
+
":0.5625rem;",
|
|
319
|
+
":var(--surface-solid-card-brightness);"
|
|
320
|
+
], calendarBaseTokens.tooltipPaddingTop, calendarBaseTokens.tooltipPaddingRight, calendarBaseTokens.tooltipPaddingBottom, calendarBaseTokens.tooltipPaddingLeft, calendarBaseTokens.tooltipMinHeight, calendarBaseTokens.tooltipBorderRadius, calendarBaseTokens.tooltipTextFontFamily, calendarBaseTokens.tooltipTextFontSize, calendarBaseTokens.tooltipTextFontStyle, calendarBaseTokens.tooltipTextFontWeight, calendarBaseTokens.tooltipTextFontLetterSpacing, calendarBaseTokens.tooltipTextFontLineHeight, calendarBaseTokens.tooltipContentLeftMargin, calendarBaseTokens.tooltipArrowMaskWidth, calendarBaseTokens.tooltipArrowMaskHeight, calendarBaseTokens.tooltipArrowMaskImage, calendarBaseTokens.tooltipArrowHeight, calendarBaseTokens.tooltipArrowEdgeMargin, calendarBaseTokens.tooltipArrowBackground)
|
|
271
321
|
}
|
|
272
322
|
}
|
|
273
323
|
};
|
|
@@ -3,7 +3,8 @@ import { tokens as calendarDoubleTokens } from "../../../components/Calendar/Cal
|
|
|
3
3
|
export var config = {
|
|
4
4
|
defaults: {
|
|
5
5
|
view: 'default',
|
|
6
|
-
size: 'm'
|
|
6
|
+
size: 'm',
|
|
7
|
+
tooltipSize: 'm'
|
|
7
8
|
},
|
|
8
9
|
variations: {
|
|
9
10
|
view: {
|
|
@@ -37,8 +38,11 @@ export var config = {
|
|
|
37
38
|
":var(--surface-clear);",
|
|
38
39
|
":var(--text-primary-hover);",
|
|
39
40
|
":var(--surface-clear);",
|
|
40
|
-
":var(--surface-accent);"
|
|
41
|
-
|
|
41
|
+
":var(--surface-accent);",
|
|
42
|
+
":var(--surface-solid-card-brightness);",
|
|
43
|
+
":var(--shadow-down-hard-s);",
|
|
44
|
+
":var(--text-primary);"
|
|
45
|
+
], calendarDoubleTokens.calendarSeparatorBackground, calendarDoubleTokens.calendarBackgroundColor, calendarDoubleTokens.calendarSelectedItemBackground, calendarDoubleTokens.calendarSelectedItemColor, calendarDoubleTokens.calendarSelectableItemBackgroundHover, calendarDoubleTokens.calendarCurrentItemBorderColor, calendarDoubleTokens.calendarCurrentItemBackgroundHover, calendarDoubleTokens.calendarCurrentItemColorHover, calendarDoubleTokens.calendarCurrentItemChildBackgroundHover, calendarDoubleTokens.calendarActiveItemBackground, calendarDoubleTokens.calendarActiveItemColor, calendarDoubleTokens.calendarHoveredItemBackground, calendarDoubleTokens.calendarHoveredItemColor, calendarDoubleTokens.calendarRangeBackground, calendarDoubleTokens.calendarOutlineFocusColor, calendarDoubleTokens.calendarContentPrimaryColor, calendarDoubleTokens.calendarContentPrimaryDisabledColor, calendarDoubleTokens.calendarHeaderArrowColor, calendarDoubleTokens.calendarContentPrimaryColor, calendarDoubleTokens.calendarContentSecondaryColor, calendarDoubleTokens.calendarContentSecondaryDisabledColor, calendarDoubleTokens.calendarDisabledOpacity, calendarDoubleTokens.iconButtonColor, calendarDoubleTokens.iconButtonBackgroundColor, calendarDoubleTokens.iconButtonColorHover, calendarDoubleTokens.iconButtonBackgroundColorHover, calendarDoubleTokens.iconButtonColorActive, calendarDoubleTokens.iconButtonBackgroundColorActive, calendarDoubleTokens.iconButtonFocusColor, calendarDoubleTokens.tooltipBackgroundColor, calendarDoubleTokens.tooltipBoxShadow, calendarDoubleTokens.tooltipColor)
|
|
42
46
|
},
|
|
43
47
|
size: {
|
|
44
48
|
l: css([
|
|
@@ -270,6 +274,52 @@ export var config = {
|
|
|
270
274
|
":0.75rem;",
|
|
271
275
|
":0.5rem;"
|
|
272
276
|
], calendarDoubleTokens.calendarContainerWidth, calendarDoubleTokens.calendarContainerHeight, calendarDoubleTokens.calendarYearsPadding, calendarDoubleTokens.calendarYearItemBorderRadius, calendarDoubleTokens.calendarYearFontFamily, calendarDoubleTokens.calendarYearFontSize, calendarDoubleTokens.calendarYearFontStyle, calendarDoubleTokens.calendarYearFontLetterSpacing, calendarDoubleTokens.calendarYearFontLineHeight, calendarDoubleTokens.calendarYearFontWeight, calendarDoubleTokens.calendarYearSelectedFontWeight, calendarDoubleTokens.calendarQuartersPadding, calendarDoubleTokens.calendarQuarterItemBorderRadius, calendarDoubleTokens.calendarQuarterFontFamily, calendarDoubleTokens.calendarQuarterFontSize, calendarDoubleTokens.calendarQuarterFontStyle, calendarDoubleTokens.calendarQuarterFontLetterSpacing, calendarDoubleTokens.calendarQuarterFontLineHeight, calendarDoubleTokens.calendarQuarterFontWeight, calendarDoubleTokens.calendarQuarterSelectedFontWeight, calendarDoubleTokens.calendarMonthsPadding, calendarDoubleTokens.calendarMonthItemBorderRadius, calendarDoubleTokens.calendarMonthFontFamily, calendarDoubleTokens.calendarMonthFontSize, calendarDoubleTokens.calendarMonthFontStyle, calendarDoubleTokens.calendarMonthFontLetterSpacing, calendarDoubleTokens.calendarMonthFontLineHeight, calendarDoubleTokens.calendarMonthFontWeight, calendarDoubleTokens.calendarMonthSelectedFontWeight, calendarDoubleTokens.calendarDaysPadding, calendarDoubleTokens.calendarDayItemBorderRadius, calendarDoubleTokens.calendarDayFontFamily, calendarDoubleTokens.calendarDayFontSize, calendarDoubleTokens.calendarDayFontStyle, calendarDoubleTokens.calendarDayFontLetterSpacing, calendarDoubleTokens.calendarDayFontLineHeight, calendarDoubleTokens.calendarDayFontWeight, calendarDoubleTokens.calendarDaySelectedFontWeight, calendarDoubleTokens.calendarCurrentItemBorderWidth, calendarDoubleTokens.calendarHeaderArrowGap, calendarDoubleTokens.calendarArrowHeaderCustomSize, calendarDoubleTokens.calendarHeaderPadding, calendarDoubleTokens.calendarHeaderDateGap, calendarDoubleTokens.calendarHeaderFontFamily, calendarDoubleTokens.calendarHeaderFontSize, calendarDoubleTokens.calendarHeaderFontStyle, calendarDoubleTokens.calendarHeaderFontLetterSpacing, calendarDoubleTokens.calendarHeaderFontLineHeight, calendarDoubleTokens.calendarHeaderFontWeight, calendarDoubleTokens.calendarHeaderFontWeightBold, calendarDoubleTokens.iconButtonHeight, calendarDoubleTokens.iconButtonWidth, calendarDoubleTokens.iconButtonPadding, calendarDoubleTokens.iconButtonRadius)
|
|
277
|
+
},
|
|
278
|
+
eventTooltipSize: {
|
|
279
|
+
m: css([
|
|
280
|
+
"",
|
|
281
|
+
":0.6875rem;",
|
|
282
|
+
":0.875rem;",
|
|
283
|
+
":0.6875rem;",
|
|
284
|
+
":0.875rem;",
|
|
285
|
+
":2.5rem;",
|
|
286
|
+
":0.625rem;",
|
|
287
|
+
":var(--plasma-typo-body-s-font-family);",
|
|
288
|
+
":var(--plasma-typo-body-s-font-size);",
|
|
289
|
+
":var(--plasma-typo-body-s-font-style);",
|
|
290
|
+
":var(--plasma-typo-body-s-font-weight);",
|
|
291
|
+
":var(--plasma-typo-body-s-letter-spacing);",
|
|
292
|
+
":var(--plasma-typo-body-s-line-height);",
|
|
293
|
+
":0.375rem;",
|
|
294
|
+
":1.25rem;",
|
|
295
|
+
":1.25rem;",
|
|
296
|
+
':url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMC4xNywxMS44M2wyMCwwYy01LjUyLDAgLTEwLDMuNTkgLTEwLDhjMCwtNC40MSAtNC40OCwtOCAtMTAsLTh6IiBmaWxsPSIjMTcxNzE3IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGlkPSJUYWlsIi8+Cjwvc3ZnPg==");',
|
|
297
|
+
":0.5rem;",
|
|
298
|
+
":0.625rem;",
|
|
299
|
+
":var(--surface-solid-card-brightness);"
|
|
300
|
+
], calendarDoubleTokens.tooltipPaddingTop, calendarDoubleTokens.tooltipPaddingRight, calendarDoubleTokens.tooltipPaddingBottom, calendarDoubleTokens.tooltipPaddingLeft, calendarDoubleTokens.tooltipMinHeight, calendarDoubleTokens.tooltipBorderRadius, calendarDoubleTokens.tooltipTextFontFamily, calendarDoubleTokens.tooltipTextFontSize, calendarDoubleTokens.tooltipTextFontStyle, calendarDoubleTokens.tooltipTextFontWeight, calendarDoubleTokens.tooltipTextFontLetterSpacing, calendarDoubleTokens.tooltipTextFontLineHeight, calendarDoubleTokens.tooltipContentLeftMargin, calendarDoubleTokens.tooltipArrowMaskWidth, calendarDoubleTokens.tooltipArrowMaskHeight, calendarDoubleTokens.tooltipArrowMaskImage, calendarDoubleTokens.tooltipArrowHeight, calendarDoubleTokens.tooltipArrowEdgeMargin, calendarDoubleTokens.tooltipArrowBackground),
|
|
301
|
+
s: css([
|
|
302
|
+
"",
|
|
303
|
+
":0.5rem;",
|
|
304
|
+
":0.75rem;",
|
|
305
|
+
":0.5rem;",
|
|
306
|
+
":0.75rem;",
|
|
307
|
+
":2rem;",
|
|
308
|
+
":0.5rem;",
|
|
309
|
+
":var(--plasma-typo-body-xs-font-family);",
|
|
310
|
+
":var(--plasma-typo-body-xs-font-size);",
|
|
311
|
+
":var(--plasma-typo-body-xs-font-style);",
|
|
312
|
+
":var(--plasma-typo-body-xs-font-weight);",
|
|
313
|
+
":var(--plasma-typo-body-xs-letter-spacing);",
|
|
314
|
+
":var(--plasma-typo-body-xs-line-height);",
|
|
315
|
+
":0.25rem;",
|
|
316
|
+
":1rem;",
|
|
317
|
+
":1rem;",
|
|
318
|
+
':url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMCw5Ljg1bDE2LDBjLTQuNDEsMCAtOCwyLjY5IC04LDZjMCwtMy4zMSAtMy41OSwtNiAtOCwtNnoiIGZpbGw9IiMxNzE3MTciIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IlRhaWwiLz4KPC9zdmc+");',
|
|
319
|
+
":0.375rem;",
|
|
320
|
+
":0.5625rem;",
|
|
321
|
+
":var(--surface-solid-card-brightness);"
|
|
322
|
+
], calendarDoubleTokens.tooltipPaddingTop, calendarDoubleTokens.tooltipPaddingRight, calendarDoubleTokens.tooltipPaddingBottom, calendarDoubleTokens.tooltipPaddingLeft, calendarDoubleTokens.tooltipMinHeight, calendarDoubleTokens.tooltipBorderRadius, calendarDoubleTokens.tooltipTextFontFamily, calendarDoubleTokens.tooltipTextFontSize, calendarDoubleTokens.tooltipTextFontStyle, calendarDoubleTokens.tooltipTextFontWeight, calendarDoubleTokens.tooltipTextFontLetterSpacing, calendarDoubleTokens.tooltipTextFontLineHeight, calendarDoubleTokens.tooltipContentLeftMargin, calendarDoubleTokens.tooltipArrowMaskWidth, calendarDoubleTokens.tooltipArrowMaskHeight, calendarDoubleTokens.tooltipArrowMaskImage, calendarDoubleTokens.tooltipArrowHeight, calendarDoubleTokens.tooltipArrowEdgeMargin, calendarDoubleTokens.tooltipArrowBackground)
|
|
273
323
|
}
|
|
274
324
|
}
|
|
275
325
|
};
|
|
@@ -66,8 +66,11 @@ export var config = {
|
|
|
66
66
|
":var(--surface-clear);",
|
|
67
67
|
":var(--text-primary-hover);",
|
|
68
68
|
":var(--surface-clear);",
|
|
69
|
-
":var(--surface-accent);"
|
|
70
|
-
|
|
69
|
+
":var(--surface-accent);",
|
|
70
|
+
":var(--surface-solid-card-brightness);",
|
|
71
|
+
":var(--shadow-down-hard-s);",
|
|
72
|
+
":var(--text-primary);"
|
|
73
|
+
], tokens.background, tokens.backgroundError, tokens.backgroundSuccess, tokens.dividerColor, tokens.labelColor, tokens.leftHelperColor, tokens.leftHelperColorError, tokens.leftHelperColorSuccess, tokens.textFieldColor, tokens.textFieldPlaceholderColor, tokens.textFieldCaretColor, tokens.labelInnerFontFamily, tokens.labelInnerFontSize, tokens.labelInnerFontStyle, tokens.labelInnerFontWeight, tokens.labelInnerLetterSpacing, tokens.labelInnerLineHeight, tokens.indicatorColor, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldBackgroundErrorColor, tokens.textFieldBackgroundErrorColorFocus, tokens.textFieldBackgroundSuccessColor, tokens.textFieldBackgroundSuccessColorFocus, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.focusColor, tokens.textFieldPlaceholderColorFocus, tokens.calendarShadow, tokens.calendarSeparatorBackground, tokens.calendarBackgroundColor, tokens.calendarSelectedItemBackground, tokens.calendarSelectedItemColor, tokens.calendarSelectableItemBackgroundHover, tokens.calendarCurrentItemBorderColor, tokens.calendarCurrentItemBackgroundHover, tokens.calendarCurrentItemColorHover, tokens.calendarCurrentItemChildBackgroundHover, tokens.calendarActiveItemBackground, tokens.calendarActiveItemColor, tokens.calendarHoveredItemBackground, tokens.calendarHoveredItemColor, tokens.calendarRangeBackground, tokens.calendarOutlineFocusColor, tokens.calendarContentPrimaryColor, tokens.calendarContentPrimaryDisabledColor, tokens.calendarHeaderArrowColor, tokens.calendarContentPrimaryColor, tokens.calendarContentSecondaryColor, tokens.calendarContentSecondaryDisabledColor, tokens.calendarDisabledOpacity, tokens.iconButtonColor, tokens.iconButtonBackgroundColor, tokens.iconButtonColorHover, tokens.iconButtonBackgroundColorHover, tokens.iconButtonColorActive, tokens.iconButtonBackgroundColorActive, tokens.iconButtonFocusColor, tokens.tooltipBackgroundColor, tokens.tooltipBoxShadow, tokens.tooltipColor)
|
|
71
74
|
},
|
|
72
75
|
size: {
|
|
73
76
|
l: css([
|
|
@@ -491,6 +494,52 @@ export var config = {
|
|
|
491
494
|
":0.5rem;"
|
|
492
495
|
], tokens.width, tokens.borderRadius, tokens.dividerPadding, tokens.dividerFontFamily, tokens.dividerFontStyle, tokens.dividerFontSize, tokens.dividerFontWeight, tokens.dividerLetterSpacing, tokens.dividerLineHeight, tokens.leftContentMargin, tokens.rightContentMargin, tokens.labelOffset, tokens.labelInnerPadding, tokens.contentLabelInnerPadding, tokens.labelFontFamily, tokens.labelFontStyle, tokens.labelFontSize, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.indicatorSize, tokens.indicatorSizeOuter, tokens.indicatorPlacement, tokens.indicatorOuterPlacement, tokens.indicatorPlacementRight, tokens.indicatorOuterPlacementRight, tokens.textFieldHeight, tokens.textFieldBorderRadius, tokens.textFieldPadding, tokens.textFieldFontFamily, tokens.textFieldFontStyle, tokens.textFieldFontSize, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontStyle, tokens.leftHelperFontSize, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.calendarContainerWidth, tokens.calendarContainerHeight, tokens.calendarBorderRadius, tokens.calendarYearsPadding, tokens.calendarYearItemBorderRadius, tokens.calendarYearFontFamily, tokens.calendarYearFontSize, tokens.calendarYearFontStyle, tokens.calendarYearFontLetterSpacing, tokens.calendarYearFontLineHeight, tokens.calendarYearFontWeight, tokens.calendarYearSelectedFontWeight, tokens.calendarQuartersPadding, tokens.calendarQuarterItemBorderRadius, tokens.calendarQuarterFontFamily, tokens.calendarQuarterFontSize, tokens.calendarQuarterFontStyle, tokens.calendarQuarterFontLetterSpacing, tokens.calendarQuarterFontLineHeight, tokens.calendarQuarterFontWeight, tokens.calendarQuarterSelectedFontWeight, tokens.calendarMonthsPadding, tokens.calendarMonthItemBorderRadius, tokens.calendarMonthFontFamily, tokens.calendarMonthFontSize, tokens.calendarMonthFontStyle, tokens.calendarMonthFontLetterSpacing, tokens.calendarMonthFontLineHeight, tokens.calendarMonthFontWeight, tokens.calendarMonthSelectedFontWeight, tokens.calendarDaysPadding, tokens.calendarDayItemBorderRadius, tokens.calendarDayFontFamily, tokens.calendarDayFontSize, tokens.calendarDayFontStyle, tokens.calendarDayFontLetterSpacing, tokens.calendarDayFontLineHeight, tokens.calendarDayFontWeight, tokens.calendarDaySelectedFontWeight, tokens.calendarCurrentItemBorderWidth, tokens.calendarHeaderWrapperPadding, tokens.calendarHeaderArrowGap, tokens.calendarHeaderArrowCustomSize, tokens.calendarHeaderPadding, tokens.calendarHeaderDateGap, tokens.calendarHeaderFontFamily, tokens.calendarHeaderFontSize, tokens.calendarHeaderFontStyle, tokens.calendarHeaderFontLetterSpacing, tokens.calendarHeaderFontLineHeight, tokens.calendarHeaderFontWeight, tokens.calendarHeaderFontWeightBold, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonRadius)
|
|
493
496
|
},
|
|
497
|
+
eventTooltipSize: {
|
|
498
|
+
m: css([
|
|
499
|
+
"",
|
|
500
|
+
":0.6875rem;",
|
|
501
|
+
":0.875rem;",
|
|
502
|
+
":0.6875rem;",
|
|
503
|
+
":0.875rem;",
|
|
504
|
+
":2.5rem;",
|
|
505
|
+
":0.625rem;",
|
|
506
|
+
":var(--plasma-typo-body-s-font-family);",
|
|
507
|
+
":var(--plasma-typo-body-s-font-size);",
|
|
508
|
+
":var(--plasma-typo-body-s-font-style);",
|
|
509
|
+
":var(--plasma-typo-body-s-font-weight);",
|
|
510
|
+
":var(--plasma-typo-body-s-letter-spacing);",
|
|
511
|
+
":var(--plasma-typo-body-s-line-height);",
|
|
512
|
+
":0.375rem;",
|
|
513
|
+
":1.25rem;",
|
|
514
|
+
":1.25rem;",
|
|
515
|
+
':url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMC4xNywxMS44M2wyMCwwYy01LjUyLDAgLTEwLDMuNTkgLTEwLDhjMCwtNC40MSAtNC40OCwtOCAtMTAsLTh6IiBmaWxsPSIjMTcxNzE3IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGlkPSJUYWlsIi8+Cjwvc3ZnPg==");',
|
|
516
|
+
":0.5rem;",
|
|
517
|
+
":0.625rem;",
|
|
518
|
+
":var(--surface-solid-card-brightness);"
|
|
519
|
+
], tokens.tooltipPaddingTop, tokens.tooltipPaddingRight, tokens.tooltipPaddingBottom, tokens.tooltipPaddingLeft, tokens.tooltipMinHeight, tokens.tooltipBorderRadius, tokens.tooltipTextFontFamily, tokens.tooltipTextFontSize, tokens.tooltipTextFontStyle, tokens.tooltipTextFontWeight, tokens.tooltipTextFontLetterSpacing, tokens.tooltipTextFontLineHeight, tokens.tooltipContentLeftMargin, tokens.tooltipArrowMaskWidth, tokens.tooltipArrowMaskHeight, tokens.tooltipArrowMaskImage, tokens.tooltipArrowHeight, tokens.tooltipArrowEdgeMargin, tokens.tooltipArrowBackground),
|
|
520
|
+
s: css([
|
|
521
|
+
"",
|
|
522
|
+
":0.5rem;",
|
|
523
|
+
":0.75rem;",
|
|
524
|
+
":0.5rem;",
|
|
525
|
+
":0.75rem;",
|
|
526
|
+
":2rem;",
|
|
527
|
+
":0.5rem;",
|
|
528
|
+
":var(--plasma-typo-body-xs-font-family);",
|
|
529
|
+
":var(--plasma-typo-body-xs-font-size);",
|
|
530
|
+
":var(--plasma-typo-body-xs-font-style);",
|
|
531
|
+
":var(--plasma-typo-body-xs-font-weight);",
|
|
532
|
+
":var(--plasma-typo-body-xs-letter-spacing);",
|
|
533
|
+
":var(--plasma-typo-body-xs-line-height);",
|
|
534
|
+
":0.25rem;",
|
|
535
|
+
":1rem;",
|
|
536
|
+
":1rem;",
|
|
537
|
+
':url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMCw5Ljg1bDE2LDBjLTQuNDEsMCAtOCwyLjY5IC04LDZjMCwtMy4zMSAtMy41OSwtNiAtOCwtNnoiIGZpbGw9IiMxNzE3MTciIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IlRhaWwiLz4KPC9zdmc+");',
|
|
538
|
+
":0.375rem;",
|
|
539
|
+
":0.5625rem;",
|
|
540
|
+
":var(--surface-solid-card-brightness);"
|
|
541
|
+
], tokens.tooltipPaddingTop, tokens.tooltipPaddingRight, tokens.tooltipPaddingBottom, tokens.tooltipPaddingLeft, tokens.tooltipMinHeight, tokens.tooltipBorderRadius, tokens.tooltipTextFontFamily, tokens.tooltipTextFontSize, tokens.tooltipTextFontStyle, tokens.tooltipTextFontWeight, tokens.tooltipTextFontLetterSpacing, tokens.tooltipTextFontLineHeight, tokens.tooltipContentLeftMargin, tokens.tooltipArrowMaskWidth, tokens.tooltipArrowMaskHeight, tokens.tooltipArrowMaskImage, tokens.tooltipArrowHeight, tokens.tooltipArrowEdgeMargin, tokens.tooltipArrowBackground)
|
|
542
|
+
},
|
|
494
543
|
disabled: {
|
|
495
544
|
true: css([
|
|
496
545
|
"",
|
|
@@ -115,5 +115,27 @@ export declare const tokens: {
|
|
|
115
115
|
calendarContentSecondaryColor: string;
|
|
116
116
|
calendarContentSecondaryDisabledColor: string;
|
|
117
117
|
calendarDisabledOpacity: string;
|
|
118
|
+
tooltipPaddingTop: string;
|
|
119
|
+
tooltipPaddingRight: string;
|
|
120
|
+
tooltipPaddingBottom: string;
|
|
121
|
+
tooltipPaddingLeft: string;
|
|
122
|
+
tooltipMinHeight: string;
|
|
123
|
+
tooltipBackgroundColor: string;
|
|
124
|
+
tooltipBoxShadow: string;
|
|
125
|
+
tooltipBorderRadius: string;
|
|
126
|
+
tooltipColor: string;
|
|
127
|
+
tooltipTextFontFamily: string;
|
|
128
|
+
tooltipTextFontSize: string;
|
|
129
|
+
tooltipTextFontStyle: string;
|
|
130
|
+
tooltipTextFontWeight: string;
|
|
131
|
+
tooltipTextFontLetterSpacing: string;
|
|
132
|
+
tooltipTextFontLineHeight: string;
|
|
133
|
+
tooltipContentLeftMargin: string;
|
|
134
|
+
tooltipArrowMaskWidth: string;
|
|
135
|
+
tooltipArrowMaskHeight: string;
|
|
136
|
+
tooltipArrowMaskImage: string;
|
|
137
|
+
tooltipArrowBackground: string;
|
|
138
|
+
tooltipArrowHeight: string;
|
|
139
|
+
tooltipArrowEdgeMargin: string;
|
|
118
140
|
};
|
|
119
141
|
//# sourceMappingURL=Calendar.tokens.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Calendar/Calendar.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;CAiBnB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;CAWvB,CAAC;AAEF,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"Calendar.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Calendar/Calendar.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;CAiBnB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;CAWvB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsIlB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { HTMLAttributes, MutableRefObject } from 'react';
|
|
1
|
+
import type { FC, HTMLAttributes, MutableRefObject, PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
import type { PopoverPlacement, PopoverPlacementBasic } from '../Popover';
|
|
2
3
|
import type { CalendarBaseProps } from './CalendarBase/CalendarBase';
|
|
3
4
|
import type { CalendarDoubleProps } from './CalendarDouble/CalendarDouble';
|
|
4
5
|
import type { CalendarStateType } from './store/types';
|
|
@@ -74,6 +75,7 @@ export interface YearsItem extends ItemProps {
|
|
|
74
75
|
export interface EventDay {
|
|
75
76
|
date: Date;
|
|
76
77
|
color?: string;
|
|
78
|
+
eventInfo?: ReactNode;
|
|
77
79
|
}
|
|
78
80
|
export interface DisabledDay {
|
|
79
81
|
date: Date;
|
|
@@ -85,6 +87,42 @@ export type DateInfo = {
|
|
|
85
87
|
fullValue: CalendarValueType;
|
|
86
88
|
};
|
|
87
89
|
export type Locales = 'ru' | 'en';
|
|
90
|
+
export type EventTooltipOptions = {
|
|
91
|
+
/**
|
|
92
|
+
* Обертка для всплывающей подсказки для событий.
|
|
93
|
+
*/
|
|
94
|
+
bodyWrapper?: FC<PropsWithChildren>;
|
|
95
|
+
/**
|
|
96
|
+
* Размер всплывающей подсказки для событий.
|
|
97
|
+
*/
|
|
98
|
+
size?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Направление раскрытия тултипа.
|
|
101
|
+
*/
|
|
102
|
+
placement?: PopoverPlacement | Array<PopoverPlacementBasic>;
|
|
103
|
+
/**
|
|
104
|
+
* Отступ окна относительно элемента, у которого оно вызвано.
|
|
105
|
+
* @default
|
|
106
|
+
* [0, 8]
|
|
107
|
+
*/
|
|
108
|
+
offset?: [number, number];
|
|
109
|
+
/**
|
|
110
|
+
* Видимость стрелки (хвоста).
|
|
111
|
+
*/
|
|
112
|
+
hasArrow?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Анимированное появление/сокрытие.
|
|
115
|
+
*/
|
|
116
|
+
animated?: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* Минимальная ширина окна (в rem).
|
|
119
|
+
*/
|
|
120
|
+
minWidth?: number | string;
|
|
121
|
+
/**
|
|
122
|
+
* Максимальная ширина окна (в rem).
|
|
123
|
+
*/
|
|
124
|
+
maxWidth?: number | string;
|
|
125
|
+
};
|
|
88
126
|
export interface Calendar extends HTMLAttributes<HTMLDivElement> {
|
|
89
127
|
/**
|
|
90
128
|
* Выбранное значение.
|
|
@@ -114,6 +152,10 @@ export interface Calendar extends HTMLAttributes<HTMLDivElement> {
|
|
|
114
152
|
* Должны ли значения минимального и максимального дня включаться в диапазон.
|
|
115
153
|
*/
|
|
116
154
|
includeEdgeDates?: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* Свойства всплывающей подсказки для событий.
|
|
157
|
+
*/
|
|
158
|
+
eventTooltipOptions?: EventTooltipOptions;
|
|
117
159
|
/**
|
|
118
160
|
* Список событий.
|
|
119
161
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.types.d.ts","sourceRoot":"","sources":["../../../src/components/Calendar/Calendar.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Calendar.types.d.ts","sourceRoot":"","sources":["../../../src/components/Calendar/Calendar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhG,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAE1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEvD,oBAAY,IAAI;IACZ,MAAM,KAAK;IACX,QAAQ,KAAK;IACb,IAAI,KAAK;IACT,GAAG,KAAK;IACR,IAAI,KAAK;IACT,KAAK,KAAK;IACV,EAAE,KAAK;IACP,IAAI,KAAK;IACT,KAAK,KAAK;IACV,KAAK,KAAK;CACb;AAED,MAAM,WAAW,UAAU;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,SAAS;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,QAAS,SAAQ,SAAS;IACvC,IAAI,EAAE,UAAU,CAAC;IACjB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,QAAQ,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,MAAM,aAAa,GAAG;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,kBAAmB,SAAQ,OAAO,CAAC,SAAS,CAAC,EAAE,aAAa;IACzE,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,WAAW,YAAa,SAAQ,OAAO,CAAC,SAAS,CAAC,EAAE,aAAa;IACnE,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,WAAY,SAAQ,OAAO,CAAC,SAAS,CAAC,EAAE,aAAa;CAAG;AAEzE,MAAM,WAAW,UAAW,SAAQ,SAAS;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,UAAW,SAAQ,SAAS;CAAG;AAEhD,MAAM,WAAW,SAAU,SAAQ,SAAS;IACxC,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,QAAQ;IACrB,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,IAAI,CAAC;CACd;AAED,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAEhE,MAAM,MAAM,QAAQ,GAAG;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,iBAAiB,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,IAAI,GAAG,IAAI,CAAC;AAElC,MAAM,MAAM,mBAAmB,GAAG;IAC9B;;OAEG;IACH,WAAW,CAAC,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC;IACpC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,gBAAgB,GAAG,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC5D;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC9B,CAAC;AAEF,MAAM,WAAW,QAAS,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC5D;;OAEG;IACH,KAAK,EAAE,iBAAiB,CAAC;IACzB;;OAEG;IACH,aAAa,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,QAAQ,CAAC,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC1D;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;OAEG;IACH,GAAG,CAAC,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,GAAG,CAAC,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B;;OAEG;IACH,cAAc,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC5B;;OAEG;IACH,iBAAiB,CAAC,EAAE,WAAW,EAAE,CAAC;IAClC;;OAEG;IACH,gBAAgB,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,WAAW,EAAE,CAAC;IACpC;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC3B;;OAEG;IACH,gBAAgB,CAAC,EAAE,WAAW,EAAE,CAAC;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,MAAM,mBAAmB,GAAG;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,OAAO,GAAG,eAAe,CAAC,GAAG;IAChE;;OAEG;IACH,KAAK,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAC5B;;OAEG;IACH,aAAa,EAAE,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,QAAQ,CAAC,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC3E;;OAEG;IACH,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,QAAQ,CAAC,EAAE,QAAQ,KAAK,IAAI,CAAC;CACrE,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,gBAAgB,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,MAAM,CAAC;AAEhE,KAAK,SAAS,GAAG;IACb;;OAEG;IACH,KAAK,EAAE,IAAI,CAAC;IACZ;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;CACpB,GAAG,iBAAiB,CAAC;AAEtB,KAAK,cAAc,GAAG;IAClB;;OAEG;IACH,OAAO,EAAE,IAAI,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;CACpB,GAAG,aAAa,CAAC,iBAAiB,CAAC,CAAC;AAErC,KAAK,WAAW,GAAG;IACf;;OAEG;IACH,KAAK,EAAE,IAAI,CAAC;IACZ;;OAEG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC;CACnB,GAAG,mBAAmB,CAAC;AAExB,KAAK,gBAAgB,GAAG;IACpB;;OAEG;IACH,OAAO,EAAE,IAAI,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC;CACnB,GAAG,aAAa,CAAC,mBAAmB,CAAC,CAAC;AAEvC,MAAM,MAAM,kBAAkB,GAAG;IAC7B,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC;IAClC,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC;IACtC,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC,CAAC;CAC7D,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,cAAc,GAAG,WAAW,GAAG,gBAAgB,CAAC"}
|
|
@@ -5,11 +5,15 @@ export type CalendarBaseProps = Calendar & CalendarConfigProps;
|
|
|
5
5
|
/**
|
|
6
6
|
* Компонент календаря.
|
|
7
7
|
*/
|
|
8
|
-
export declare const calendarBaseRoot: (Root: RootProps<HTMLDivElement, HTMLAttributes<HTMLDivElement
|
|
8
|
+
export declare const calendarBaseRoot: (Root: RootProps<HTMLDivElement, HTMLAttributes<HTMLDivElement> & {
|
|
9
|
+
eventTooltipSize?: string;
|
|
10
|
+
}>) => React.ForwardRefExoticComponent<Calendar & CalendarConfigProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
11
|
export declare const calendarBaseConfig: {
|
|
10
12
|
name: string;
|
|
11
13
|
tag: string;
|
|
12
|
-
layout: (Root: RootProps<HTMLDivElement, HTMLAttributes<HTMLDivElement
|
|
14
|
+
layout: (Root: RootProps<HTMLDivElement, HTMLAttributes<HTMLDivElement> & {
|
|
15
|
+
eventTooltipSize?: string;
|
|
16
|
+
}>) => React.ForwardRefExoticComponent<Calendar & CalendarConfigProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
17
|
base: import("@linaria/core").LinariaClassName;
|
|
14
18
|
variations: {
|
|
15
19
|
view: {
|
|
@@ -18,10 +22,14 @@ export declare const calendarBaseConfig: {
|
|
|
18
22
|
size: {
|
|
19
23
|
css: import("@linaria/core").LinariaClassName;
|
|
20
24
|
};
|
|
25
|
+
eventTooltipSize: {
|
|
26
|
+
css: import("@linaria/core").LinariaClassName;
|
|
27
|
+
};
|
|
21
28
|
};
|
|
22
29
|
defaults: {
|
|
23
30
|
view: string;
|
|
24
31
|
size: string;
|
|
32
|
+
eventTooltipSizeCSS: string;
|
|
25
33
|
};
|
|
26
34
|
};
|
|
27
35
|
//# sourceMappingURL=CalendarBase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalendarBase.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarBase/CalendarBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAMV,cAAc,
|
|
1
|
+
{"version":3,"file":"CalendarBase.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarBase/CalendarBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAMV,cAAc,EAMjB,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAc,MAAM,mBAAmB,CAAC;AAMnF,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAQ7C,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,mBAAmB,CAAC;AAE/D;;GAEG;AACH,eAAO,MAAM,gBAAgB,SACnB,SAAS,CAAC,cAAc,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG;IAAE,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,0GA6Q9F,CAAC;AAEN,eAAO,MAAM,kBAAkB;;;mBA/QrB,SAAS,CAAC,cAAc,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG;QAAE,gBAAgB,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;;;;;;;;;;;;;;;;;;CAoSlG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Calendar/CalendarBase/variations/_tooltip-size/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
|