@salutejs/plasma-new-hope 0.339.0-canary.2288.18653805742.0 → 0.339.0-canary.2289.18688678772.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/Attach/Attach.css +24 -68
- package/cjs/components/Attach/Attach.js +32 -177
- package/cjs/components/Attach/Attach.js.map +1 -1
- package/cjs/components/Attach/Attach.styles.js +5 -46
- package/cjs/components/Attach/Attach.styles.js.map +1 -1
- package/cjs/components/Attach/Attach.styles_pso18d.css +7 -0
- package/cjs/components/Attach/Attach.tokens.js +6 -21
- package/cjs/components/Attach/Attach.tokens.js.map +1 -1
- package/cjs/components/Attach/components/AttachButton/AttachButton.css +15 -82
- package/cjs/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
- package/cjs/components/Attach/ui/Cell/Cell.styles.js +1 -1
- package/cjs/components/Attach/ui/Cell/{Cell.styles_lpj30y.css → Cell.styles_69w962.css} +1 -1
- package/cjs/components/Attach/variations/_size/base.js +1 -1
- package/cjs/components/Attach/variations/_size/base.js.map +1 -1
- package/cjs/components/Attach/variations/_size/base_kpo9at.css +1 -0
- package/cjs/components/Attach/variations/_view/base.js +1 -1
- package/cjs/components/Attach/variations/_view/base_1nvsg1b.css +1 -0
- 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 +44 -4
- 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 +59 -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/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_1vl4r1x.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/cjs/components/DatePicker/{DatePickerBase.styles_6x4unn.css → DatePickerBase.styles_1rfomby.css} +1 -1
- package/cjs/components/DatePicker/RangeDate/RangeDate.css +15 -13
- package/cjs/components/DatePicker/RangeDate/RangeDate.js +16 -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/cjs/components/DatePicker/RangeDate/RangeDatePopover/{RangeDatePopover.styles_1wt56uj.css → 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 +16 -7
- 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/Popover/Popover.js +2 -0
- package/cjs/components/Popover/Popover.js.map +1 -1
- package/cjs/index.css +19 -25
- package/emotion/cjs/components/Attach/Attach.js +28 -190
- package/emotion/cjs/components/Attach/Attach.styles.js +14 -33
- package/emotion/cjs/components/Attach/Attach.tokens.js +6 -21
- package/emotion/cjs/components/Attach/components/AttachButton/AttachButton.js +4 -3
- package/emotion/cjs/components/Attach/ui/Cell/Cell.js +2 -67
- package/emotion/cjs/components/Attach/utils/index.js +0 -4
- package/emotion/cjs/components/Attach/variations/_size/base.js +1 -1
- package/emotion/cjs/components/Calendar/Calendar.tokens.js +23 -1
- package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.js +39 -4
- package/emotion/cjs/components/Calendar/CalendarBase/variations/_tooltip-size/base.js +12 -0
- package/emotion/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +50 -7
- package/emotion/cjs/components/Calendar/CalendarDouble/variations/_tooltip-size/base.js +12 -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 +16 -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 +16 -7
- package/emotion/cjs/components/DatePicker/SingleDate/variations/_tooltip-size/base.js +12 -0
- package/emotion/cjs/components/Popover/Popover.js +2 -0
- package/emotion/cjs/examples/components/Attach/Attach.config.js +18 -18
- 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/Attach/Attach.js +31 -193
- package/emotion/es/components/Attach/Attach.styles.js +14 -30
- package/emotion/es/components/Attach/Attach.tokens.js +6 -21
- package/emotion/es/components/Attach/components/AttachButton/AttachButton.js +2 -1
- package/emotion/es/components/Attach/ui/Cell/Cell.js +1 -25
- package/emotion/es/components/Attach/utils/index.js +0 -1
- package/emotion/es/components/Attach/variations/_size/base.js +1 -1
- package/emotion/es/components/Calendar/Calendar.tokens.js +23 -1
- package/emotion/es/components/Calendar/CalendarBase/CalendarBase.js +41 -6
- package/emotion/es/components/Calendar/CalendarBase/variations/_tooltip-size/base.js +2 -0
- package/emotion/es/components/Calendar/CalendarDouble/CalendarDouble.js +52 -9
- package/emotion/es/components/Calendar/CalendarDouble/variations/_tooltip-size/base.js +2 -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 +12 -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 +12 -3
- package/emotion/es/components/DatePicker/SingleDate/variations/_tooltip-size/base.js +2 -0
- package/emotion/es/components/Popover/Popover.js +2 -0
- package/emotion/es/examples/components/Attach/Attach.config.js +18 -18
- 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/DatePicker/DatePicker.config.js +11 -7
- package/es/components/Attach/Attach.css +24 -68
- package/es/components/Attach/Attach.js +35 -180
- package/es/components/Attach/Attach.js.map +1 -1
- package/es/components/Attach/Attach.styles.js +6 -46
- package/es/components/Attach/Attach.styles.js.map +1 -1
- package/es/components/Attach/Attach.styles_pso18d.css +7 -0
- package/es/components/Attach/Attach.tokens.js +6 -21
- package/es/components/Attach/Attach.tokens.js.map +1 -1
- package/es/components/Attach/components/AttachButton/AttachButton.css +15 -82
- package/es/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
- package/es/components/Attach/ui/Cell/Cell.styles.js +1 -1
- package/es/components/Attach/ui/Cell/{Cell.styles_lpj30y.css → Cell.styles_69w962.css} +1 -1
- package/es/components/Attach/variations/_size/base.js +1 -1
- package/es/components/Attach/variations/_size/base.js.map +1 -1
- package/es/components/Attach/variations/_size/base_kpo9at.css +1 -0
- package/es/components/Attach/variations/_view/base.js +1 -1
- package/es/components/Attach/variations/_view/base_1nvsg1b.css +1 -0
- 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 +45 -5
- 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 +60 -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/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_1vl4r1x.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/es/components/DatePicker/{DatePickerBase.styles_6x4unn.css → DatePickerBase.styles_1rfomby.css} +1 -1
- package/es/components/DatePicker/RangeDate/RangeDate.css +15 -13
- package/es/components/DatePicker/RangeDate/RangeDate.js +16 -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/es/components/DatePicker/RangeDate/RangeDatePopover/{RangeDatePopover.styles_1wt56uj.css → 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 +16 -7
- 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/Popover/Popover.js +2 -0
- package/es/components/Popover/Popover.js.map +1 -1
- package/es/index.css +19 -25
- package/package.json +4 -4
- package/styled-components/cjs/components/Attach/Attach.js +28 -190
- package/styled-components/cjs/components/Attach/Attach.styles.js +12 -40
- package/styled-components/cjs/components/Attach/Attach.tokens.js +6 -21
- package/styled-components/cjs/components/Attach/components/AttachButton/AttachButton.js +4 -3
- package/styled-components/cjs/components/Attach/ui/Cell/Cell.js +2 -67
- package/styled-components/cjs/components/Attach/utils/index.js +0 -4
- package/styled-components/cjs/components/Attach/variations/_size/base.js +2 -5
- package/styled-components/cjs/components/Calendar/Calendar.tokens.js +23 -1
- package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.js +39 -4
- package/styled-components/cjs/components/Calendar/CalendarBase/variations/_tooltip-size/base.js +14 -0
- package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +50 -7
- package/styled-components/cjs/components/Calendar/CalendarDouble/variations/_tooltip-size/base.js +14 -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 +8 -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 +16 -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 +16 -7
- package/styled-components/cjs/components/DatePicker/SingleDate/variations/_tooltip-size/base.js +14 -0
- package/styled-components/cjs/components/Popover/Popover.js +2 -0
- package/styled-components/cjs/examples/components/Attach/Attach.config.js +32 -64
- 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/Combobox/Combobox.js +15 -0
- package/styled-components/cjs/examples/components/DatePicker/DatePicker.config.js +51 -2
- package/styled-components/es/components/Attach/Attach.js +31 -193
- package/styled-components/es/components/Attach/Attach.styles.js +12 -37
- package/styled-components/es/components/Attach/Attach.tokens.js +6 -21
- package/styled-components/es/components/Attach/components/AttachButton/AttachButton.js +2 -1
- package/styled-components/es/components/Attach/ui/Cell/Cell.js +1 -25
- package/styled-components/es/components/Attach/utils/index.js +0 -1
- package/styled-components/es/components/Attach/variations/_size/base.js +2 -5
- package/styled-components/es/components/Calendar/Calendar.tokens.js +23 -1
- package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.js +41 -6
- package/styled-components/es/components/Calendar/CalendarBase/variations/_tooltip-size/base.js +4 -0
- package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +52 -9
- package/styled-components/es/components/Calendar/CalendarDouble/variations/_tooltip-size/base.js +4 -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 +8 -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 +12 -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 +12 -3
- package/styled-components/es/components/DatePicker/SingleDate/variations/_tooltip-size/base.js +4 -0
- package/styled-components/es/components/Popover/Popover.js +2 -0
- package/styled-components/es/examples/components/Attach/Attach.config.js +32 -64
- 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/Attach/Attach.d.ts.map +1 -1
- package/types/components/Attach/Attach.styles.d.ts +2 -9
- package/types/components/Attach/Attach.styles.d.ts.map +1 -1
- package/types/components/Attach/Attach.tokens.d.ts +0 -13
- package/types/components/Attach/Attach.tokens.d.ts.map +1 -1
- package/types/components/Attach/Attach.types.d.ts +9 -85
- package/types/components/Attach/Attach.types.d.ts.map +1 -1
- package/types/components/Attach/components/AttachButton/AttachButton.d.ts.map +1 -1
- package/types/components/Attach/ui/Cell/Cell.d.ts +1 -14
- package/types/components/Attach/ui/Cell/Cell.d.ts.map +1 -1
- package/types/components/Attach/utils/index.d.ts +0 -1
- package/types/components/Attach/utils/index.d.ts.map +1 -1
- package/types/components/Attach/variations/_size/base.d.ts.map +1 -1
- 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 +10 -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/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 +9 -1
- package/types/components/DatePicker/DatePickerBase.types.d.ts.map +1 -1
- package/types/components/DatePicker/RangeDate/RangeDate.d.ts +4 -0
- package/types/components/DatePicker/RangeDate/RangeDate.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 +4 -0
- package/types/components/DatePicker/SingleDate/SingleDate.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/Popover/Popover.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/Attach/Attach.config.d.ts.map +1 -1
- package/types/examples/components/Attach/Attach.d.ts +16 -448
- package/types/examples/components/Attach/Attach.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
- package/types/types/index.d.ts +0 -1
- package/types/types/index.d.ts.map +1 -1
- package/cjs/components/Attach/Attach.styles_14g2czk.css +0 -8
- package/cjs/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.css +0 -105
- package/cjs/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.js +0 -29
- package/cjs/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.js.map +0 -1
- package/cjs/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.styles.js +0 -21
- package/cjs/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.styles.js.map +0 -1
- package/cjs/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.styles_3t6n6e.css +0 -2
- package/cjs/components/Attach/ui/Cell/Cell.css +0 -60
- package/cjs/components/Attach/ui/Cell/Cell.js +0 -46
- package/cjs/components/Attach/ui/Cell/Cell.js.map +0 -1
- package/cjs/components/Attach/ui/Dropdown/Dropdown.css +0 -100
- package/cjs/components/Attach/ui/Dropdown/Dropdown.js +0 -69
- package/cjs/components/Attach/ui/Dropdown/Dropdown.js.map +0 -1
- package/cjs/components/Attach/ui/Dropdown/Dropdown.styles.js +0 -22
- package/cjs/components/Attach/ui/Dropdown/Dropdown.styles.js.map +0 -1
- package/cjs/components/Attach/ui/Dropdown/Dropdown.styles_1ge65dg.css +0 -1
- package/cjs/components/Attach/ui/MoreTrigger/MoreTrigger.css +0 -3
- package/cjs/components/Attach/ui/MoreTrigger/MoreTrigger.js +0 -23
- package/cjs/components/Attach/ui/MoreTrigger/MoreTrigger.js.map +0 -1
- package/cjs/components/Attach/ui/MoreTrigger/MoreTrigger.styles.js +0 -15
- package/cjs/components/Attach/ui/MoreTrigger/MoreTrigger.styles.js.map +0 -1
- package/cjs/components/Attach/ui/MoreTrigger/MoreTrigger.styles_5yseaa.css +0 -1
- package/cjs/components/Attach/utils/getFilenameParts.js +0 -21
- package/cjs/components/Attach/utils/getFilenameParts.js.map +0 -1
- package/cjs/components/Attach/variations/_size/base_1x0gzlt.css +0 -1
- package/cjs/components/Attach/variations/_view/base_d9xz7t.css +0 -1
- package/cjs/components/_Icon/Icon.assets/DotsHorizontalOutline.js +0 -27
- package/cjs/components/_Icon/Icon.assets/DotsHorizontalOutline.js.map +0 -1
- package/cjs/components/_Icon/Icons/IconDotsHorizontalOutline.js +0 -31
- package/cjs/components/_Icon/Icons/IconDotsHorizontalOutline.js.map +0 -1
- package/emotion/cjs/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.js +0 -64
- package/emotion/cjs/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.styles.js +0 -33
- package/emotion/cjs/components/Attach/components/HiddenWidthHelper/index.js +0 -11
- package/emotion/cjs/components/Attach/components/index.js +0 -19
- package/emotion/cjs/components/Attach/ui/Dropdown/Dropdown.js +0 -225
- package/emotion/cjs/components/Attach/ui/Dropdown/Dropdown.styles.js +0 -26
- package/emotion/cjs/components/Attach/ui/MoreTrigger/MoreTrigger.js +0 -26
- package/emotion/cjs/components/Attach/ui/MoreTrigger/MoreTrigger.styles.js +0 -21
- package/emotion/cjs/components/Attach/ui/index.js +0 -29
- package/emotion/cjs/components/Attach/utils/getFilenameParts.js +0 -23
- package/emotion/cjs/types/MakeNever.js +0 -4
- package/emotion/es/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.js +0 -13
- package/emotion/es/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.styles.js +0 -10
- package/emotion/es/components/Attach/components/HiddenWidthHelper/index.js +0 -1
- package/emotion/es/components/Attach/components/index.js +0 -2
- package/emotion/es/components/Attach/ui/Dropdown/Dropdown.js +0 -174
- package/emotion/es/components/Attach/ui/Dropdown/Dropdown.styles.js +0 -11
- package/emotion/es/components/Attach/ui/MoreTrigger/MoreTrigger.js +0 -11
- package/emotion/es/components/Attach/ui/MoreTrigger/MoreTrigger.styles.js +0 -6
- package/emotion/es/components/Attach/ui/index.js +0 -6
- package/emotion/es/components/Attach/utils/getFilenameParts.js +0 -13
- package/emotion/es/types/MakeNever.js +0 -1
- package/es/components/Attach/Attach.styles_14g2czk.css +0 -8
- package/es/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.css +0 -105
- package/es/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.js +0 -21
- package/es/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.js.map +0 -1
- package/es/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.styles.js +0 -16
- package/es/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.styles.js.map +0 -1
- package/es/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.styles_3t6n6e.css +0 -2
- package/es/components/Attach/ui/Cell/Cell.css +0 -60
- package/es/components/Attach/ui/Cell/Cell.js +0 -38
- package/es/components/Attach/ui/Cell/Cell.js.map +0 -1
- package/es/components/Attach/ui/Dropdown/Dropdown.css +0 -100
- package/es/components/Attach/ui/Dropdown/Dropdown.js +0 -61
- package/es/components/Attach/ui/Dropdown/Dropdown.js.map +0 -1
- package/es/components/Attach/ui/Dropdown/Dropdown.styles.js +0 -18
- package/es/components/Attach/ui/Dropdown/Dropdown.styles.js.map +0 -1
- package/es/components/Attach/ui/Dropdown/Dropdown.styles_1ge65dg.css +0 -1
- package/es/components/Attach/ui/MoreTrigger/MoreTrigger.css +0 -3
- package/es/components/Attach/ui/MoreTrigger/MoreTrigger.js +0 -15
- package/es/components/Attach/ui/MoreTrigger/MoreTrigger.js.map +0 -1
- package/es/components/Attach/ui/MoreTrigger/MoreTrigger.styles.js +0 -11
- package/es/components/Attach/ui/MoreTrigger/MoreTrigger.styles.js.map +0 -1
- package/es/components/Attach/ui/MoreTrigger/MoreTrigger.styles_5yseaa.css +0 -1
- package/es/components/Attach/utils/getFilenameParts.js +0 -17
- package/es/components/Attach/utils/getFilenameParts.js.map +0 -1
- package/es/components/Attach/variations/_size/base_1x0gzlt.css +0 -1
- package/es/components/Attach/variations/_view/base_d9xz7t.css +0 -1
- package/es/components/_Icon/Icon.assets/DotsHorizontalOutline.js +0 -19
- package/es/components/_Icon/Icon.assets/DotsHorizontalOutline.js.map +0 -1
- package/es/components/_Icon/Icons/IconDotsHorizontalOutline.js +0 -23
- package/es/components/_Icon/Icons/IconDotsHorizontalOutline.js.map +0 -1
- package/styled-components/cjs/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.js +0 -64
- package/styled-components/cjs/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.styles.js +0 -39
- package/styled-components/cjs/components/Attach/components/HiddenWidthHelper/index.js +0 -11
- package/styled-components/cjs/components/Attach/components/index.js +0 -19
- package/styled-components/cjs/components/Attach/ui/Dropdown/Dropdown.js +0 -225
- package/styled-components/cjs/components/Attach/ui/Dropdown/Dropdown.styles.js +0 -45
- package/styled-components/cjs/components/Attach/ui/MoreTrigger/MoreTrigger.js +0 -26
- package/styled-components/cjs/components/Attach/ui/MoreTrigger/MoreTrigger.styles.js +0 -24
- package/styled-components/cjs/components/Attach/ui/index.js +0 -29
- package/styled-components/cjs/components/Attach/utils/getFilenameParts.js +0 -23
- package/styled-components/cjs/types/MakeNever.js +0 -4
- package/styled-components/es/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.js +0 -13
- package/styled-components/es/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.styles.js +0 -16
- package/styled-components/es/components/Attach/components/HiddenWidthHelper/index.js +0 -1
- package/styled-components/es/components/Attach/components/index.js +0 -2
- package/styled-components/es/components/Attach/ui/Dropdown/Dropdown.js +0 -174
- package/styled-components/es/components/Attach/ui/Dropdown/Dropdown.styles.js +0 -30
- package/styled-components/es/components/Attach/ui/MoreTrigger/MoreTrigger.js +0 -11
- package/styled-components/es/components/Attach/ui/MoreTrigger/MoreTrigger.styles.js +0 -9
- package/styled-components/es/components/Attach/ui/index.js +0 -6
- package/styled-components/es/components/Attach/utils/getFilenameParts.js +0 -13
- package/styled-components/es/types/MakeNever.js +0 -1
- package/types/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.d.ts +0 -10
- package/types/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.d.ts.map +0 -1
- package/types/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.styles.d.ts +0 -3
- package/types/components/Attach/components/HiddenWidthHelper/HiddenWidthHelper.styles.d.ts.map +0 -1
- package/types/components/Attach/components/HiddenWidthHelper/index.d.ts +0 -2
- package/types/components/Attach/components/HiddenWidthHelper/index.d.ts.map +0 -1
- package/types/components/Attach/components/index.d.ts +0 -3
- package/types/components/Attach/components/index.d.ts.map +0 -1
- package/types/components/Attach/ui/Dropdown/Dropdown.d.ts +0 -12
- package/types/components/Attach/ui/Dropdown/Dropdown.d.ts.map +0 -1
- package/types/components/Attach/ui/Dropdown/Dropdown.styles.d.ts +0 -31
- package/types/components/Attach/ui/Dropdown/Dropdown.styles.d.ts.map +0 -1
- package/types/components/Attach/ui/MoreTrigger/MoreTrigger.d.ts +0 -6
- package/types/components/Attach/ui/MoreTrigger/MoreTrigger.d.ts.map +0 -1
- package/types/components/Attach/ui/MoreTrigger/MoreTrigger.styles.d.ts +0 -2
- package/types/components/Attach/ui/MoreTrigger/MoreTrigger.styles.d.ts.map +0 -1
- package/types/components/Attach/ui/index.d.ts +0 -7
- package/types/components/Attach/ui/index.d.ts.map +0 -1
- package/types/components/Attach/utils/getFilenameParts.d.ts +0 -8
- package/types/components/Attach/utils/getFilenameParts.d.ts.map +0 -1
- package/types/types/MakeNever.d.ts +0 -4
- package/types/types/MakeNever.d.ts.map +0 -1
|
@@ -61,30 +61,6 @@ function _object_spread(target) {
|
|
|
61
61
|
}
|
|
62
62
|
return target;
|
|
63
63
|
}
|
|
64
|
-
function ownKeys(object, enumerableOnly) {
|
|
65
|
-
var keys = Object.keys(object);
|
|
66
|
-
if (Object.getOwnPropertySymbols) {
|
|
67
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
68
|
-
if (enumerableOnly) {
|
|
69
|
-
symbols = symbols.filter(function(sym) {
|
|
70
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
keys.push.apply(keys, symbols);
|
|
74
|
-
}
|
|
75
|
-
return keys;
|
|
76
|
-
}
|
|
77
|
-
function _object_spread_props(target, source) {
|
|
78
|
-
source = source != null ? source : {};
|
|
79
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
80
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
81
|
-
} else {
|
|
82
|
-
ownKeys(Object(source)).forEach(function(key) {
|
|
83
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
return target;
|
|
87
|
-
}
|
|
88
64
|
function _object_without_properties(source, excluded) {
|
|
89
65
|
if (source == null) return {};
|
|
90
66
|
var target = _object_without_properties_loose(source, excluded);
|
|
@@ -123,26 +99,26 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
123
99
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
124
100
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
125
101
|
}
|
|
126
|
-
import React, { forwardRef,
|
|
102
|
+
import React, { forwardRef, useRef, useState } from "react";
|
|
127
103
|
import { useForkRef } from "@salutejs/plasma-core";
|
|
128
104
|
import { cx } from "../../utils";
|
|
105
|
+
import { IconCloseCircleOutline } from "../_Icon";
|
|
129
106
|
import { base as sizeCSS } from "./variations/_size/base";
|
|
130
107
|
import { base as viewCSS } from "./variations/_view/base";
|
|
131
108
|
import { base as helperTextViewCSS } from "./variations/_helperTextView/base";
|
|
132
|
-
import { base, StyledHelperText, StyledHiddenInput, StyledAttachButtonWrapper,
|
|
133
|
-
import {
|
|
109
|
+
import { base, StyledHelperText, StyledHiddenInput, StyledAttachButtonWrapper, FilenameWrapper, TruncatedFilenamePart, FilenameExtensionPart } from "./Attach.styles";
|
|
110
|
+
import { StyledCell } from "./ui/Cell/Cell";
|
|
111
|
+
import { extractExtension, getFileIcon } from "./utils";
|
|
134
112
|
import { classes } from "./Attach.tokens";
|
|
135
|
-
import { AttachButton
|
|
136
|
-
import {
|
|
113
|
+
import { AttachButton } from "./components/AttachButton";
|
|
114
|
+
import { StyledIconButtonCancel } from "./ui/IconButton/IconButton.styles";
|
|
137
115
|
export var attachRoot = function(Root) {
|
|
138
116
|
return /*#__PURE__*/ forwardRef(function(props, outerRef) {
|
|
139
|
-
var _props_flow = props.flow, flow = _props_flow === void 0 ? 'auto' : _props_flow, _props_buttonType = props.buttonType, buttonType = _props_buttonType === void 0 ? 'button' : _props_buttonType, _props_hideButtonOnAttach = props.hideButtonOnAttach, hideButtonOnAttach = _props_hideButtonOnAttach === void 0 ? false : _props_hideButtonOnAttach, _props_hasAttachment = props.hasAttachment, hasAttachment = _props_hasAttachment === void 0 ? true : _props_hasAttachment,
|
|
117
|
+
var _props_flow = props.flow, flow = _props_flow === void 0 ? 'auto' : _props_flow, _props_buttonType = props.buttonType, buttonType = _props_buttonType === void 0 ? 'button' : _props_buttonType, _props_hideButtonOnAttach = props.hideButtonOnAttach, hideButtonOnAttach = _props_hideButtonOnAttach === void 0 ? false : _props_hideButtonOnAttach, _props_hasAttachment = props.hasAttachment, hasAttachment = _props_hasAttachment === void 0 ? true : _props_hasAttachment, acceptedFileFormats = props.acceptedFileFormats, helperText = props.helperText, size = props.size, view = props.view, helperTextView = props.helperTextView, className = props.className, style = props.style, isLoading = props.isLoading, disabled = props.disabled, id = props.id, name = props.name, customIcon = props.customIcon, onClick = props.onClick, onChange = props.onChange, onClear = props.onClear, rest = _object_without_properties(props, [
|
|
140
118
|
"flow",
|
|
141
119
|
"buttonType",
|
|
142
120
|
"hideButtonOnAttach",
|
|
143
121
|
"hasAttachment",
|
|
144
|
-
"multiple",
|
|
145
|
-
"dropdownOptions",
|
|
146
122
|
"acceptedFileFormats",
|
|
147
123
|
"helperText",
|
|
148
124
|
"size",
|
|
@@ -162,18 +138,17 @@ export var attachRoot = function(Root) {
|
|
|
162
138
|
var innerRef = useRef(null);
|
|
163
139
|
var ref = useForkRef(outerRef, innerRef);
|
|
164
140
|
var inputRef = useRef(null);
|
|
141
|
+
var cellRef = useRef(null);
|
|
165
142
|
var buttonRef = useRef(null);
|
|
166
|
-
var
|
|
167
|
-
var fileWrapperHelperRef = useRef(null);
|
|
168
|
-
var cellHelperRefs = useRef({});
|
|
169
|
-
var _useState = _sliced_to_array(useState({}), 2), filesInfo = _useState[0], setFilesInfo = _useState[1];
|
|
170
|
-
var _useState1 = _sliced_to_array(useState(false), 2), hasHiddenFiles = _useState1[0], setHasHiddenFiles = _useState1[1];
|
|
171
|
-
var filesLength = Object.keys(filesInfo).length;
|
|
143
|
+
var _useState = _sliced_to_array(useState(''), 2), filename = _useState[0], setFilename = _useState[1];
|
|
172
144
|
var horizontalClass = flow === 'horizontal' ? classes.horizontal : undefined;
|
|
173
145
|
var verticalClass = flow === 'vertical' ? classes.vertical : undefined;
|
|
174
|
-
var autoClass = flow === 'auto' ? classes.auto : undefined;
|
|
175
146
|
var withHelperTextClass = helperText ? classes.withHelperText : undefined;
|
|
147
|
+
var autoClass = flow === 'auto' ? classes.auto : undefined;
|
|
176
148
|
var accept = acceptedFileFormats === null || acceptedFileFormats === void 0 ? void 0 : acceptedFileFormats.join(',');
|
|
149
|
+
var extension = extractExtension(filename);
|
|
150
|
+
var filenameWithoutExtension = filename.slice(0, -1 - ((extension === null || extension === void 0 ? void 0 : extension.length) || 0));
|
|
151
|
+
var cellContentLeft = customIcon || getFileIcon(extension, size);
|
|
177
152
|
var handleClick = function(e) {
|
|
178
153
|
if (!inputRef.current) {
|
|
179
154
|
return;
|
|
@@ -184,121 +159,24 @@ export var attachRoot = function(Root) {
|
|
|
184
159
|
inputRef.current.click();
|
|
185
160
|
};
|
|
186
161
|
var handleChange = function(e) {
|
|
187
|
-
|
|
188
|
-
if (!fileList || fileList.length === 0) {
|
|
162
|
+
if (!e.target.files) {
|
|
189
163
|
return;
|
|
190
164
|
}
|
|
191
165
|
if (onChange) {
|
|
192
166
|
onChange(e);
|
|
193
167
|
}
|
|
194
|
-
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
var fileArray = Array.from(fileList);
|
|
198
|
-
var filesData = fileArray.reduce(function(acc, file, ind) {
|
|
199
|
-
var fileKey = "".concat(ind, "_").concat(file.name);
|
|
200
|
-
acc[fileKey] = getFilenameParts(file.name, size, customIcon);
|
|
201
|
-
return acc;
|
|
202
|
-
}, {});
|
|
203
|
-
cellHelperRefs.current = {};
|
|
204
|
-
setFilesInfo(filesData);
|
|
205
|
-
setHasHiddenFiles(false);
|
|
168
|
+
setFilename(e.target.files[0].name);
|
|
206
169
|
};
|
|
207
|
-
var handleClear = function(
|
|
170
|
+
var handleClear = function() {
|
|
208
171
|
if (!inputRef.current) {
|
|
209
172
|
return;
|
|
210
173
|
}
|
|
211
174
|
if (onClear) {
|
|
212
175
|
onClear();
|
|
213
176
|
}
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
delete updatedFilesInfo[fileKey];
|
|
217
|
-
return updatedFilesInfo;
|
|
218
|
-
});
|
|
219
|
-
delete cellHelperRefs.current[fileKey];
|
|
220
|
-
setHasHiddenFiles(false);
|
|
221
|
-
};
|
|
222
|
-
var getCellRef = function(element, key) {
|
|
223
|
-
if (element && (cellHelperRefs === null || cellHelperRefs === void 0 ? void 0 : cellHelperRefs.current)) {
|
|
224
|
-
cellHelperRefs.current[key] = element;
|
|
225
|
-
}
|
|
177
|
+
inputRef.current.value = '';
|
|
178
|
+
setFilename('');
|
|
226
179
|
};
|
|
227
|
-
var updateHiddenFiles = function() {
|
|
228
|
-
var newFilesInfo = _object_spread({}, filesInfo);
|
|
229
|
-
if (!multiple || Object.keys(filesInfo).length === 0) {
|
|
230
|
-
setHasHiddenFiles(false);
|
|
231
|
-
return;
|
|
232
|
-
}
|
|
233
|
-
if (flow !== 'horizontal') {
|
|
234
|
-
Object.keys(newFilesInfo).forEach(function(key) {
|
|
235
|
-
newFilesInfo[key].isVisible = true;
|
|
236
|
-
});
|
|
237
|
-
setHasHiddenFiles(false);
|
|
238
|
-
setFilesInfo(newFilesInfo);
|
|
239
|
-
return;
|
|
240
|
-
}
|
|
241
|
-
if (!fileWrapperWidthRef.current || !fileWrapperHelperRef.current || !Object.keys(cellHelperRefs.current).length) {
|
|
242
|
-
return;
|
|
243
|
-
}
|
|
244
|
-
var fileWrapper = fileWrapperWidthRef.current;
|
|
245
|
-
var fileWrapperWidth = fileWrapper.clientWidth;
|
|
246
|
-
var _window_getComputedStyle_columnGap;
|
|
247
|
-
var fileWrapperGap = parseInt((_window_getComputedStyle_columnGap = window.getComputedStyle(fileWrapper).columnGap) !== null && _window_getComputedStyle_columnGap !== void 0 ? _window_getComputedStyle_columnGap : 0, 10);
|
|
248
|
-
var totalWidth = 0;
|
|
249
|
-
var firstHidden = Object.entries(cellHelperRefs.current).findIndex(function(param) {
|
|
250
|
-
var _param = _sliced_to_array(param, 2), _ = _param[0], cell = _param[1];
|
|
251
|
-
totalWidth += cell.clientWidth + fileWrapperGap;
|
|
252
|
-
if (totalWidth > fileWrapperWidth) {
|
|
253
|
-
setHasHiddenFiles(true);
|
|
254
|
-
return true;
|
|
255
|
-
}
|
|
256
|
-
return false;
|
|
257
|
-
});
|
|
258
|
-
var newKeys = Object.keys(newFilesInfo);
|
|
259
|
-
var filesInfoVisibleKeys = firstHidden >= 0 ? newKeys.slice(0, firstHidden) : newKeys;
|
|
260
|
-
var filesInfoHiddenKeys = firstHidden >= 0 ? newKeys.slice(firstHidden) : [];
|
|
261
|
-
filesInfoVisibleKeys.forEach(function(key) {
|
|
262
|
-
newFilesInfo[key].isVisible = true;
|
|
263
|
-
});
|
|
264
|
-
filesInfoHiddenKeys.forEach(function(key) {
|
|
265
|
-
newFilesInfo[key].isVisible = false;
|
|
266
|
-
});
|
|
267
|
-
setFilesInfo(newFilesInfo);
|
|
268
|
-
};
|
|
269
|
-
useLayoutEffect(function() {
|
|
270
|
-
updateHiddenFiles();
|
|
271
|
-
}, [
|
|
272
|
-
filesLength,
|
|
273
|
-
flow,
|
|
274
|
-
multiple
|
|
275
|
-
]);
|
|
276
|
-
useEffect(function() {
|
|
277
|
-
if (flow !== 'horizontal' || !multiple) {
|
|
278
|
-
return;
|
|
279
|
-
}
|
|
280
|
-
var observer = new ResizeObserver(function() {
|
|
281
|
-
updateHiddenFiles();
|
|
282
|
-
});
|
|
283
|
-
if (innerRef.current) {
|
|
284
|
-
observer.observe(innerRef.current);
|
|
285
|
-
}
|
|
286
|
-
return function() {
|
|
287
|
-
return observer.disconnect();
|
|
288
|
-
};
|
|
289
|
-
}, [
|
|
290
|
-
filesLength,
|
|
291
|
-
flow,
|
|
292
|
-
multiple
|
|
293
|
-
]);
|
|
294
|
-
var RootWrapper = function(param) {
|
|
295
|
-
var children = param.children;
|
|
296
|
-
return /*#__PURE__*/ React.createElement(Root, {
|
|
297
|
-
size: size,
|
|
298
|
-
view: view
|
|
299
|
-
}, children);
|
|
300
|
-
};
|
|
301
|
-
var _dropdownOptions_placement;
|
|
302
180
|
return /*#__PURE__*/ React.createElement(Root, {
|
|
303
181
|
className: cx(horizontalClass, verticalClass, autoClass, withHelperTextClass, className),
|
|
304
182
|
style: style,
|
|
@@ -312,65 +190,25 @@ export var attachRoot = function(Root) {
|
|
|
312
190
|
type: "file",
|
|
313
191
|
id: id,
|
|
314
192
|
name: name,
|
|
315
|
-
multiple: multiple,
|
|
316
193
|
onChange: handleChange
|
|
317
|
-
}), (!hideButtonOnAttach || !
|
|
194
|
+
}), (!hideButtonOnAttach || !filename) && /*#__PURE__*/ React.createElement(StyledAttachButtonWrapper, null, /*#__PURE__*/ React.createElement(AttachButton, _object_spread({
|
|
318
195
|
ref: buttonRef,
|
|
319
196
|
buttonType: buttonType,
|
|
320
197
|
isLoading: isLoading,
|
|
321
198
|
disabled: disabled,
|
|
322
199
|
onClick: handleClick
|
|
323
|
-
}, rest)), helperText && /*#__PURE__*/ React.createElement(StyledHelperText, null, helperText)), (hasAttachment || hideButtonOnAttach) &&
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
}, Object.entries(filesInfo).map(function(param) {
|
|
327
|
-
var _param = _sliced_to_array(param, 2), key = _param[0], _param_ = _param[1], extension = _param_.extension, filenameWithoutExtension = _param_.filenameWithoutExtension, cellContentLeft = _param_.cellContentLeft, isVisible = _param_.isVisible;
|
|
328
|
-
if (!isVisible) {
|
|
329
|
-
return;
|
|
330
|
-
}
|
|
331
|
-
return /*#__PURE__*/ React.createElement(CellUI, {
|
|
332
|
-
key: key,
|
|
333
|
-
filenameWithoutExtension: filenameWithoutExtension,
|
|
334
|
-
extension: extension,
|
|
335
|
-
size: size,
|
|
336
|
-
cellContentLeft: cellContentLeft,
|
|
337
|
-
multiple: multiple,
|
|
338
|
-
flow: flow,
|
|
339
|
-
onClick: function() {
|
|
340
|
-
return handleClear(key);
|
|
341
|
-
}
|
|
342
|
-
});
|
|
343
|
-
}))), (hasAttachment || hideButtonOnAttach) && hasHiddenFiles && /*#__PURE__*/ React.createElement(DropdownUI, _object_spread_props(_object_spread({
|
|
344
|
-
rootWrapper: RootWrapper,
|
|
200
|
+
}, rest)), helperText && /*#__PURE__*/ React.createElement(StyledHelperText, null, helperText)), (hasAttachment || hideButtonOnAttach) && filename && /*#__PURE__*/ React.createElement(StyledCell, {
|
|
201
|
+
stretching: "fixed",
|
|
202
|
+
ref: cellRef,
|
|
345
203
|
size: size,
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
size: size
|
|
355
|
-
}), multiple && flow === 'horizontal' && (hasAttachment || hideButtonOnAttach) && Boolean(filesLength) && /*#__PURE__*/ React.createElement(FilesWrapper, {
|
|
356
|
-
ref: fileWrapperHelperRef,
|
|
357
|
-
className: cx(horizontalClass, classes.horizontalHidden)
|
|
358
|
-
}, Object.entries(filesInfo).map(function(param) {
|
|
359
|
-
var _param = _sliced_to_array(param, 2), key = _param[0], _param_ = _param[1], extension = _param_.extension, filenameWithoutExtension = _param_.filenameWithoutExtension, cellContentLeft = _param_.cellContentLeft;
|
|
360
|
-
return /*#__PURE__*/ React.createElement(CellUI, {
|
|
361
|
-
key: key,
|
|
362
|
-
ref: function(el) {
|
|
363
|
-
return getCellRef(el, key);
|
|
364
|
-
},
|
|
365
|
-
filenameWithoutExtension: filenameWithoutExtension,
|
|
366
|
-
extension: extension,
|
|
367
|
-
size: size,
|
|
368
|
-
cellContentLeft: cellContentLeft,
|
|
369
|
-
multiple: multiple,
|
|
370
|
-
flow: flow,
|
|
371
|
-
isHelper: true
|
|
372
|
-
});
|
|
373
|
-
})));
|
|
204
|
+
contentLeft: cellContentLeft,
|
|
205
|
+
contentRight: /*#__PURE__*/ React.createElement(StyledIconButtonCancel, {
|
|
206
|
+
onClick: handleClear
|
|
207
|
+
}, /*#__PURE__*/ React.createElement(IconCloseCircleOutline, {
|
|
208
|
+
size: "xs",
|
|
209
|
+
color: "inherit"
|
|
210
|
+
}))
|
|
211
|
+
}, /*#__PURE__*/ React.createElement(FilenameWrapper, null, /*#__PURE__*/ React.createElement(TruncatedFilenamePart, null, filenameWithoutExtension.slice(0, -1)), /*#__PURE__*/ React.createElement(FilenameExtensionPart, null, filenameWithoutExtension.at(-1), ".", extension))));
|
|
374
212
|
});
|
|
375
213
|
};
|
|
376
214
|
export var attachConfig = {
|
|
@@ -1,44 +1,28 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
2
|
import { css } from "@emotion/react";
|
|
3
|
-
import {
|
|
4
|
-
export var base = /*#__PURE__*/ css("position:relative;display:flex;", "base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
3
|
+
import { applyEllipsis } from "../../mixins";
|
|
4
|
+
export var base = /*#__PURE__*/ css("position:relative;display:flex;", "base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9BdHRhY2gvQXR0YWNoLnN0eWxlcy50cyIsInNvdXJjZXMiOlsic3JjLWVtb3Rpb24vY29tcG9uZW50cy9BdHRhY2gvQXR0YWNoLnN0eWxlcy50cyJdL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kFBSW9CIn0= */");
|
|
5
5
|
export var StyledHiddenInput = /*#__PURE__*/ styled("input", {
|
|
6
|
-
target: "
|
|
6
|
+
target: "exbp6ag0",
|
|
7
7
|
label: "StyledHiddenInput"
|
|
8
|
-
})("display:none;", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
8
|
+
})("display:none;", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9BdHRhY2gvQXR0YWNoLnN0eWxlcy50cyIsInNvdXJjZXMiOlsic3JjLWVtb3Rpb24vY29tcG9uZW50cy9BdHRhY2gvQXR0YWNoLnN0eWxlcy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyBhcHBseUVsbGlwc2lzIH0gZnJvbSAnc3JjL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICBkaXNwbGF5OiBmbGV4O1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEhpZGRlbklucHV0ID0gc3R5bGVkLmlucHV0YFxuICAgIGRpc3BsYXk6IG5vbmU7XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkQXR0YWNoQnV0dG9uV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEhlbHBlclRleHQgPSBzdHlsZWQuZGl2YFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICBtYXJnaW4tdG9wOiAwLjI1cmVtO1xuYDtcblxuZXhwb3J0IGNvbnN0IEZpbGVuYW1lV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gICAgZGlzcGxheTogaW5saW5lLWdyaWQ7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICBncmlkLXRlbXBsYXRlLWNvbHVtbnM6IGF1dG8gMWZyO1xuICAgIG1pbi13aWR0aDogOGNoO1xuYDtcblxuZXhwb3J0IGNvbnN0IFRydW5jYXRlZEZpbGVuYW1lUGFydCA9IHN0eWxlZC5zcGFuYFxuICAgICR7YXBwbHlFbGxpcHNpcygpfVxuYDtcblxuZXhwb3J0IGNvbnN0IEZpbGVuYW1lRXh0ZW5zaW9uUGFydCA9IHN0eWxlZC5zcGFuYGA7XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBU2lDIn0= */");
|
|
9
9
|
export var StyledAttachButtonWrapper = /*#__PURE__*/ styled("div", {
|
|
10
|
-
target: "
|
|
10
|
+
target: "exbp6ag1",
|
|
11
11
|
label: "StyledAttachButtonWrapper"
|
|
12
|
-
})("position:relative;", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
12
|
+
})("position:relative;", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9BdHRhY2gvQXR0YWNoLnN0eWxlcy50cyIsInNvdXJjZXMiOlsic3JjLWVtb3Rpb24vY29tcG9uZW50cy9BdHRhY2gvQXR0YWNoLnN0eWxlcy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyBhcHBseUVsbGlwc2lzIH0gZnJvbSAnc3JjL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICBkaXNwbGF5OiBmbGV4O1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEhpZGRlbklucHV0ID0gc3R5bGVkLmlucHV0YFxuICAgIGRpc3BsYXk6IG5vbmU7XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkQXR0YWNoQnV0dG9uV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEhlbHBlclRleHQgPSBzdHlsZWQuZGl2YFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICBtYXJnaW4tdG9wOiAwLjI1cmVtO1xuYDtcblxuZXhwb3J0IGNvbnN0IEZpbGVuYW1lV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gICAgZGlzcGxheTogaW5saW5lLWdyaWQ7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICBncmlkLXRlbXBsYXRlLWNvbHVtbnM6IGF1dG8gMWZyO1xuICAgIG1pbi13aWR0aDogOGNoO1xuYDtcblxuZXhwb3J0IGNvbnN0IFRydW5jYXRlZEZpbGVuYW1lUGFydCA9IHN0eWxlZC5zcGFuYFxuICAgICR7YXBwbHlFbGxpcHNpcygpfVxuYDtcblxuZXhwb3J0IGNvbnN0IEZpbGVuYW1lRXh0ZW5zaW9uUGFydCA9IHN0eWxlZC5zcGFuYGA7XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBYXlDIn0= */");
|
|
13
13
|
export var StyledHelperText = /*#__PURE__*/ styled("div", {
|
|
14
|
-
target: "
|
|
14
|
+
target: "exbp6ag2",
|
|
15
15
|
label: "StyledHelperText"
|
|
16
|
-
})("position:absolute;margin-top:0.25rem;", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
16
|
+
})("position:absolute;margin-top:0.25rem;", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWV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wbHlFbGxpcHNpcygpfVxuYDtcblxuZXhwb3J0IGNvbnN0IEZpbGVuYW1lRXh0ZW5zaW9uUGFydCA9IHN0eWxlZC5zcGFuYGA7XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBaUJnQyJ9 */");
|
|
17
17
|
export var FilenameWrapper = /*#__PURE__*/ styled("div", {
|
|
18
|
-
target: "
|
|
18
|
+
target: "exbp6ag3",
|
|
19
19
|
label: "FilenameWrapper"
|
|
20
|
-
})("display:inline-grid;align-items:center;grid-template-columns:auto 1fr;min-width:8ch;
|
|
21
|
-
var isInsideDropdown = param.isInsideDropdown;
|
|
22
|
-
return isInsideDropdown ? "var(".concat(tokens.filenameDropdownWrapperHeight, ")") : "var(".concat(tokens.filenameWrapperHeight, ")");
|
|
23
|
-
}, ";", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9BdHRhY2gvQXR0YWNoLnN0eWxlcy50cyIsInNvdXJjZXMiOlsic3JjLWVtb3Rpb24vY29tcG9uZW50cy9BdHRhY2gvQXR0YWNoLnN0eWxlcy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4vQXR0YWNoLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICBkaXNwbGF5OiBmbGV4O1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEhpZGRlbklucHV0ID0gc3R5bGVkLmlucHV0YFxuICAgIGRpc3BsYXk6IG5vbmU7XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVk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VjdGlvbjogY29sdW1uO1xuICAgIH1cblxuICAgICYuJHtjbGFzc2VzLmF1dG99IHtcbiAgICAgICAgZmxleC13cmFwOiB3cmFwO1xuICAgIH1cblxuICAgICYuJHtjbGFzc2VzLmhvcml6b250YWxIaWRkZW59IHtcbiAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICB0b3A6IDA7XG4gICAgICAgIGxlZnQ6IDA7XG4gICAgICAgIHotaW5kZXg6IC05OTk7XG4gICAgICAgIHZpc2liaWxpdHk6IGhpZGRlbjtcbiAgICAgICAgb3BhY2l0eTogMDtcbiAgICB9XG5gO1xuXG5leHBvcnQgY29uc3QgVHJ1bmNhdGVkRmlsZW5hbWVQYXJ0ID0gc3R5bGVkLnNwYW48eyBhcHBseUVsbGlwc2lzOiBib29sZWFuIH0+YFxuICAgIG92ZXJmbG93OiAkeyh7IGFwcGx5RWxsaXBzaXMgfSkgPT4gKGFwcGx5RWxsaXBzaXMgPyAnaGlkZGVuJyA6ICd2aXNpYmxlJyl9O1xuICAgIHRleHQtb3ZlcmZsb3c6ICR7KHsgYXBwbHlFbGxpcHNpcyB9KSA9PiAoYXBwbHlFbGxpcHNpcyA/ICdlbGxpcHNpcycgOiAndW5zZXQnKX07XG4gICAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcbmA7XG5cbmV4cG9ydCBjb25zdCBGaWxlbmFtZUV4dGVuc2lvblBhcnQgPSBzdHlsZWQuc3BhbmBgO1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVCK0IifQ== */");
|
|
24
|
-
export var FilesWrapper = /*#__PURE__*/ styled("div", {
|
|
25
|
-
target: "e1cd0xsk4",
|
|
26
|
-
label: "FilesWrapper"
|
|
27
|
-
})("display:flex;overflow:", function(param) {
|
|
28
|
-
var applyOverflow = param.applyOverflow;
|
|
29
|
-
return applyOverflow ? 'hidden' : 'unset';
|
|
30
|
-
}, ";&.", classes.horizontal, "{flex-direction:row;}&.", classes.vertical, "{flex-direction:column;}&.", classes.auto, "{flex-wrap:wrap;}&.", classes.horizontalHidden, "{position:absolute;top:0;left:0;z-index:-999;visibility:hidden;opacity:0;}", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9BdHRhY2gvQXR0YWNoLnN0eWxlcy50cyIsInNvdXJjZXMiOlsic3JjLWVtb3Rpb24vY29tcG9uZW50cy9BdHRhY2gvQXR0YWNoLnN0eWxlcy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4vQXR0YWNoLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICBkaXNwbGF5OiBmbGV4O1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEhpZGRlbklucHV0ID0gc3R5bGVkLmlucHV0YFxuICAgIGRpc3BsYXk6IG5vbmU7XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkQXR0YWNoQnV0dG9uV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEhlbHBlclRleHQgPSBzdHlsZWQuZGl2YFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICBtYXJnaW4tdG9wOiAwLjI1cmVtO1xuYDtcblxuZXhwb3J0IGNvbnN0IEZpbGVuYW1lV3JhcHBlciA9IHN0eWxlZC5kaXY8eyBpc0luc2lkZURyb3Bkb3duPzogYm9vbGVhbiB9PmBcbiAgICBkaXNwbGF5OiBpbmxpb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uc3QgVHJ1bmNhdGVkRmlsZW5hbWVQYXJ0ID0gc3R5bGVkLnNwYW48eyBhcHBseUVsbGlwc2lzOiBib29sZWFuIH0+YFxuICAgIG92ZXJmbG93OiAkeyh7IGFwcGx5RWxsaXBzaXMgfSkgPT4gKGFwcGx5RWxsaXBzaXMgPyAnaGlkZGVuJyA6ICd2aXNpYmxlJyl9O1xuICAgIHRleHQtb3ZlcmZsb3c6ICR7KHsgYXBwbHlFbGxpcHNpcyB9KSA9PiAoYXBwbHlFbGxpcHNpcyA/ICdlbGxpcHNpcycgOiAndW5zZXQnKX07XG4gICAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcbmA7XG5cbmV4cG9ydCBjb25zdCBGaWxlbmFtZUV4dGVuc2lvblBhcnQgPSBzdHlsZWQuc3BhbmBgO1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWlDNEIifQ== */");
|
|
20
|
+
})("display:inline-grid;align-items:center;grid-template-columns:auto 1fr;min-width:8ch;", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9BdHRhY2gvQXR0YWNoLnN0eWxlcy50cyIsInNvdXJjZXMiOlsic3JjLWVtb3Rpb24vY29tcG9uZW50cy9BdHRhY2gvQXR0YWNoLnN0eWxlcy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyBhcHBseUVsbGlwc2lzIH0gZnJvbSAnc3JjL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICBkaXNwbGF5OiBmbGV4O1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEhpZGRlbklucHV0ID0gc3R5bGVkLmlucHV0YFxuICAgIGRpc3BsYXk6IG5vbmU7XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkQXR0YWNoQnV0dG9uV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEhlbHBlclRleHQgPSBzdHlsZWQuZGl2YFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICBtYXJnaW4tdG9wOiAwLjI1cmVtO1xuYDtcblxuZXhwb3J0IGNvbnN0IEZpbGVuYW1lV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gICAgZGlzcGxheTogaW5saW5lLWdyaWQ7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICBncmlkLXRlbXBsYXRlLWNvbHVtbnM6IGF1dG8gMWZyO1xuICAgIG1pbi13aWR0aDogOGNoO1xuYDtcblxuZXhwb3J0IGNvbnN0IFRydW5jYXRlZEZpbGVuYW1lUGFydCA9IHN0eWxlZC5zcGFuYFxuICAgICR7YXBwbHlFbGxpcHNpcygpfVxuYDtcblxuZXhwb3J0IGNvbnN0IEZpbGVuYW1lRXh0ZW5zaW9uUGFydCA9IHN0eWxlZC5zcGFuYGA7XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBc0IrQiJ9 */");
|
|
31
21
|
export var TruncatedFilenamePart = /*#__PURE__*/ styled("span", {
|
|
32
|
-
target: "
|
|
22
|
+
target: "exbp6ag4",
|
|
33
23
|
label: "TruncatedFilenamePart"
|
|
34
|
-
})("
|
|
35
|
-
var applyEllipsis = param.applyEllipsis;
|
|
36
|
-
return applyEllipsis ? 'hidden' : 'visible';
|
|
37
|
-
}, ";text-overflow:", function(param) {
|
|
38
|
-
var applyEllipsis = param.applyEllipsis;
|
|
39
|
-
return applyEllipsis ? 'ellipsis' : 'unset';
|
|
40
|
-
}, ";white-space:nowrap;",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A9IHN0eWxlZC5kaXZgXG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEhlbHBlclRleHQgPSBzdHlsZWQuZGl2YFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICBtYXJnaW4tdG9wOiAwLjI1cmVtO1xuYDtcblxuZXhwb3J0IGNvbnN0IEZpbGVuYW1lV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gICAgZGlzcGxheTogaW5saW5lLWdyaWQ7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICBncmlkLXRlbXBsYXRlLWNvbHVtbnM6IGF1dG8gMWZyO1xuICAgIG1pbi13aWR0aDogOGNoO1xuYDtcblxuZXhwb3J0IGNvbnN0IFRydW5jYXRlZEZpbGVuYW1lUGFydCA9IHN0eWxlZC5zcGFuYFxuICAgICR7YXBwbHlFbGxpcHNpcygpfVxuYDtcblxuZXhwb3J0IGNvbnN0IEZpbGVuYW1lRXh0ZW5zaW9uUGFydCA9IHN0eWxlZC5zcGFuYGA7XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBNkJxQyJ9 */");
|
|
41
25
|
export var FilenameExtensionPart = /*#__PURE__*/ styled("span", {
|
|
42
|
-
target: "
|
|
26
|
+
target: "exbp6ag5",
|
|
43
27
|
label: "FilenameExtensionPart"
|
|
44
|
-
})("/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
28
|
+
})("/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9BdHRhY2gvQXR0YWNoLnN0eWxlcy50cyIsInNvdXJjZXMiOlsic3JjLWVtb3Rpb24vY29tcG9uZW50cy9BdHRhY2gvQXR0YWNoLnN0eWxlcy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9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2
|
-
auto: '
|
|
3
|
-
horizontal: '
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
cellHidden: 'plasma-attach-cell-hidden'
|
|
2
|
+
auto: 'auto',
|
|
3
|
+
horizontal: 'horizontal',
|
|
4
|
+
vertical: 'vertical',
|
|
5
|
+
withHelperText: 'with-helper-text',
|
|
6
|
+
cellHidden: 'cell-hidden'
|
|
8
7
|
};
|
|
9
8
|
export var tokens = {
|
|
10
9
|
horizontalGap: '--plasma-attach-horizontal-gap',
|
|
11
10
|
verticalGap: '--plasma-attach-vertical-gap',
|
|
12
11
|
verticalGapWithHelperText: '--plasma-attach-vertical-gap-with-helper-text',
|
|
13
12
|
filenameWrapperHeight: '--plasma-attach-filename-wrapper-height',
|
|
14
|
-
filenameDropdownWrapperHeight: '--plasma-attach-filename-dropdown-wrapper-height',
|
|
15
13
|
helperTextColor: '--plasma-attach-helper-text-color',
|
|
16
14
|
// Токены для Button
|
|
17
15
|
buttonColor: '--plasma-attach-button-color',
|
|
@@ -124,18 +122,5 @@ export var tokens = {
|
|
|
124
122
|
iconButtonCancelDisabledOpacity: '--plasma-attach-icon-button-cancel-disabled-opacity',
|
|
125
123
|
iconButtonCancelFocusColor: '--plasma-attach-icon-button-cancel-focus-color',
|
|
126
124
|
iconButtonCancelSpinnerColor: '--plasma-attach-icon-button-cancel-spinner-color',
|
|
127
|
-
iconButtonCancelSpinnerSize: '--plasma-attach-icon-button-cancel-spinner-size'
|
|
128
|
-
// Токены для MoreIcon
|
|
129
|
-
moreIconPadding: '--plasma-attach-more-icon-padding',
|
|
130
|
-
moreIconColor: '--plasma-attach-more-icon-color',
|
|
131
|
-
moreIconColorHover: '--plasma-attach-more-icon-color-hover',
|
|
132
|
-
// Токены для Dropdown
|
|
133
|
-
dropdownBackground: '--plasma-attach-dropdown-background',
|
|
134
|
-
dropdownBoxShadow: '--plasma-attach-dropdown-box-shadow',
|
|
135
|
-
dropdownWidth: '--plasma-attach-dropdown-width',
|
|
136
|
-
dropdownBorderRadius: '--plasma-attach-dropdown-border-radius',
|
|
137
|
-
dropdownPadding: '--plasma-attach-dropdown-padding',
|
|
138
|
-
dropdownBorderColor: '--plasma-attach-dropdown-border-color',
|
|
139
|
-
dropdownBorderWidth: '--plasma-attach-dropdown-border-width',
|
|
140
|
-
dropdownItemPadding: '--plasma-attach-dropdown-item-padding'
|
|
125
|
+
iconButtonCancelSpinnerSize: '--plasma-attach-icon-button-cancel-spinner-size'
|
|
141
126
|
};
|
|
@@ -54,7 +54,8 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
54
54
|
return target;
|
|
55
55
|
}
|
|
56
56
|
import React, { forwardRef } from "react";
|
|
57
|
-
import { StyledIconButton
|
|
57
|
+
import { StyledIconButton } from "../../ui/IconButton/IconButton";
|
|
58
|
+
import { StyledButton } from "../../ui/Button/Button";
|
|
58
59
|
import { IconPlus } from "../../../_Icon";
|
|
59
60
|
var getDefaultIcon = function(size) {
|
|
60
61
|
var iconSize = size === 'xs' ? 'xs' : 's';
|
|
@@ -1,25 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { IconCloseCircleOutline } from "../../../_Icon";
|
|
3
|
-
import { StyledIconButtonCancel } from "../IconButton/IconButton.styles";
|
|
4
|
-
import { FilenameExtensionPart, FilenameWrapper, TruncatedFilenamePart } from "../../Attach.styles";
|
|
5
|
-
import { StyledCell } from "./Cell.styles";
|
|
6
|
-
export var CellUI = /*#__PURE__*/ forwardRef(function(param, ref) {
|
|
7
|
-
var size = param.size, cellContentLeft = param.cellContentLeft, multiple = param.multiple, flow = param.flow, filenameWithoutExtension = param.filenameWithoutExtension, extension = param.extension, isHelper = param.isHelper, isInsideDropdown = param.isInsideDropdown, onClick = param.onClick;
|
|
8
|
-
var textNode = isHelper ? /*#__PURE__*/ React.createElement(FilenameExtensionPart, null, filenameWithoutExtension, ".", extension) : /*#__PURE__*/ React.createElement(React.Fragment, null, /*#__PURE__*/ React.createElement(TruncatedFilenamePart, {
|
|
9
|
-
applyEllipsis: !multiple || flow !== 'horizontal'
|
|
10
|
-
}, filenameWithoutExtension.slice(0, -1)), /*#__PURE__*/ React.createElement(FilenameExtensionPart, null, filenameWithoutExtension.at(-1), ".", extension));
|
|
11
|
-
return /*#__PURE__*/ React.createElement(StyledCell, {
|
|
12
|
-
ref: ref,
|
|
13
|
-
stretching: "fixed",
|
|
14
|
-
size: size,
|
|
15
|
-
contentLeft: cellContentLeft,
|
|
16
|
-
contentRight: /*#__PURE__*/ React.createElement(StyledIconButtonCancel, {
|
|
17
|
-
onClick: onClick
|
|
18
|
-
}, /*#__PURE__*/ React.createElement(IconCloseCircleOutline, {
|
|
19
|
-
size: "xs",
|
|
20
|
-
color: "inherit"
|
|
21
|
-
}))
|
|
22
|
-
}, /*#__PURE__*/ React.createElement(FilenameWrapper, {
|
|
23
|
-
isInsideDropdown: isInsideDropdown
|
|
24
|
-
}, textNode));
|
|
25
|
-
});
|
|
1
|
+
export { StyledCell } from "./Cell.styles";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { css } from "@emotion/react";
|
|
2
2
|
import { tokens, classes } from "../../Attach.tokens";
|
|
3
3
|
import { FilenameWrapper, StyledHelperText } from "../../Attach.styles";
|
|
4
|
-
export var base = /*#__PURE__*/ css("&.", classes.horizontal, "{column-gap:var(", tokens.horizontalGap, ");}&.", classes.vertical, "{row-gap:var(", tokens.verticalGap, ");}&.", classes.auto, "{row-gap:var(", tokens.verticalGap, ");column-gap:var(", tokens.horizontalGap, ");}
|
|
4
|
+
export var base = /*#__PURE__*/ css("&.", classes.horizontal, "{column-gap:var(", tokens.horizontalGap, ");}&.", classes.vertical, "{row-gap:var(", tokens.verticalGap, ");}&.", classes.auto, "{row-gap:var(", tokens.verticalGap, ");column-gap:var(", tokens.horizontalGap, ");}&.", classes.withHelperText, "{row-gap:var(", tokens.verticalGapWithHelperText, ");}", FilenameWrapper, "{font-family:var(", tokens.cellTitleFontFamily, ");font-size:var(", tokens.cellTitleFontSize, ");font-style:var(", tokens.cellTitleFontStyle, ");font-weight:var(", tokens.cellTitleFontWeight, ");letter-spacing:var(", tokens.cellTitleLetterSpacing, ");line-height:var(", tokens.cellTitleLineHeight, ");height:var(", tokens.filenameWrapperHeight, ");}", StyledHelperText, "{font-family:var(--plasma-typo-body-xs-font-family);font-size:var(--plasma-typo-body-xs-font-size);font-style:var(--plasma-typo-body-xs-font-style);font-weight:var(--plasma-typo-body-xs-font-weight);letter-spacing:var(--plasma-typo-body-xs-letter-spacing);line-height:var(--plasma-typo-body-xs-line-height);}}", "base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9BdHRhY2gvdmFyaWF0aW9ucy9fc2l6ZS9iYXNlLnRzIiwic291cmNlcyI6WyJzcmMtZW1vdGlvbi9jb21wb25lbnRzL0F0dGFjaC92YXJpYXRpb25zL19zaXplL2Jhc2UudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyB0b2tlbnMsIGNsYXNzZXMgfSBmcm9tICcuLi8uLi9BdHRhY2gudG9rZW5zJztcbmltcG9ydCB7IEZpbGVuYW1lV3JhcHBlciwgU3R5bGVkSGVscGVyVGV4dCB9IGZyb20gJy4uLy4uL0F0dGFjaC5zdHlsZXMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAmLiR7Y2xhc3Nlcy5ob3Jpem9udGFsfSB7XG4gICAgICAgIGNvbHVtbi1nYXA6IHZhcigke3Rva2Vucy5ob3Jpem9udGFsR2FwfSk7XG4gICAgfVxuXG4gICAgJi4ke2NsYXNzZXMudmVydGljYWx9IHtcbiAgICAgICAgcm93LWdhcDogdmFyKCR7dG9rZW5zLnZlcnRpY2FsR2FwfSk7XG4gICAgfVxuXG4gICAgJi4ke2NsYXNzZXMuYXV0b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IHZhcigtLXBsYXNtYS10eXBvLWJvZHkteHMtZm9udC1zdHlsZSk7XG4gICAgICAgIGZvbnQtd2VpZ2h0OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXhzLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgbGV0dGVyLXNwYWNpbmc6IHZhcigtLXBsYXNtYS10eXBvLWJvZHkteHMtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICBsaW5lLWhlaWdodDogdmFyKC0tcGxhc21hLXR5cG8tYm9keS14cy1saW5lLWhlaWdodCk7XG4gICAgfVxufVxuYDtcbiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLb0IifQ== */");
|
|
@@ -114,5 +114,27 @@ export var tokens = {
|
|
|
114
114
|
calendarContentPrimaryDisabledColor: '--plasma-calendar-content-primary-disabled-color',
|
|
115
115
|
calendarContentSecondaryColor: '--plasma-calendar-content-secondary-color',
|
|
116
116
|
calendarContentSecondaryDisabledColor: '--plasma-calendar-content-secondary-disabled-color',
|
|
117
|
-
calendarDisabledOpacity: '--plasma-calendar-disabled-opacity'
|
|
117
|
+
calendarDisabledOpacity: '--plasma-calendar-disabled-opacity',
|
|
118
|
+
/* Токены тултипа для событий */ tooltipPaddingTop: '--plasma-calendar-tooltip-padding-top',
|
|
119
|
+
tooltipPaddingRight: '--plasma-calendar-tooltip-padding-right',
|
|
120
|
+
tooltipPaddingBottom: '--plasma-calendar-tooltip-padding-bottom',
|
|
121
|
+
tooltipPaddingLeft: '--plasma-calendar-tooltip-padding-left',
|
|
122
|
+
tooltipMinHeight: '--plasma-calendar-tooltip-min-height',
|
|
123
|
+
tooltipBackgroundColor: '--plasma-calendar-tooltip-background-color',
|
|
124
|
+
tooltipBoxShadow: '--plasma-calendar-tooltip-box-shadow',
|
|
125
|
+
tooltipBorderRadius: '--plasma-calendar-tooltip-border-radius',
|
|
126
|
+
tooltipColor: '--plasma-calendar-tooltip-color',
|
|
127
|
+
tooltipTextFontFamily: '--plasma-calendar-tooltip-text-font-family',
|
|
128
|
+
tooltipTextFontSize: '--plasma-calendar-tooltip-text-font-size',
|
|
129
|
+
tooltipTextFontStyle: '--plasma-calendar-tooltip-text-font-style',
|
|
130
|
+
tooltipTextFontWeight: '--plasma-calendar-tooltip-text-font-weight',
|
|
131
|
+
tooltipTextFontLetterSpacing: '--plasma-calendar-tooltip-text-font-letter-spacing',
|
|
132
|
+
tooltipTextFontLineHeight: '--plasma-calendar-tooltip-text-font-line-height',
|
|
133
|
+
tooltipContentLeftMargin: '--plasma-calendar-tooltip-content-left-margin',
|
|
134
|
+
tooltipArrowMaskWidth: '--plasma-calendar-tooltip-arrow-mask-width',
|
|
135
|
+
tooltipArrowMaskHeight: '--plasma-calendar-tooltip-arrow-mask-height',
|
|
136
|
+
tooltipArrowMaskImage: '--plasma-calendar-tooltip-arrow-mask-image',
|
|
137
|
+
tooltipArrowBackground: '--plasma-calendar-tooltip-arrow-background',
|
|
138
|
+
tooltipArrowHeight: '--plasma-calendar-tooltip-arrow-height',
|
|
139
|
+
tooltipArrowEdgeMargin: '--plasma-calendar-tooltip-arrow-edge-margin'
|
|
118
140
|
};
|