@betterinternship/components 1.7.0 → 2.0.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/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/src/index.d.ts +19 -20
- package/package.json +5 -3
- package/theme.css +223 -0
- package/dist/components/Accordion.d.ts +0 -7
- package/dist/components/Avatar.d.ts +0 -6
- package/dist/components/Badge.d.ts +0 -21
- package/dist/components/Button.d.ts +0 -12
- package/dist/components/Button.js +0 -77
- package/dist/components/Button.js.map +0 -1
- package/dist/components/Calendar.d.ts +0 -7
- package/dist/components/Input.d.ts +0 -3
- package/dist/components/ui/accordion.d.ts +0 -7
- package/dist/components/ui/avatar.d.ts +0 -6
- package/dist/components/ui/badge.d.ts +0 -22
- package/dist/components/ui/button.d.ts +0 -13
- package/dist/components/ui/calendar.d.ts +0 -7
- package/dist/components/ui/calendar.js +0 -51
- package/dist/components/ui/calendar.js.map +0 -1
- package/dist/components/ui/card.d.ts +0 -9
- package/dist/components/ui/checkbox.d.ts +0 -4
- package/dist/components/ui/dialog.d.ts +0 -18
- package/dist/components/ui/icons.d.ts +0 -10
- package/dist/components/ui/input.d.ts +0 -3
- package/dist/components/ui/label.d.ts +0 -4
- package/dist/components/ui/popover.d.ts +0 -7
- package/dist/components/ui/separator.d.ts +0 -4
- package/dist/components/ui/skeleton.d.ts +0 -2
- package/dist/components/ui/switch.d.ts +0 -4
- package/dist/components/ui/table.d.ts +0 -10
- package/dist/components/ui/textarea.d.ts +0 -3
- package/dist/components/ui/tooltip.d.ts +0 -9
- package/dist/config.d.ts +0 -6
- package/dist/hooks/useClientProcess.d.ts +0 -69
- package/dist/index.css.js +0 -7
- package/dist/index.css.js.map +0 -1
- package/dist/index.d.ts +0 -21
- package/dist/index.esm.js +0 -3761
- package/dist/index.esm.js.map +0 -1
- package/dist/node_modules/@date-fns/tz/date/index.js +0 -84
- package/dist/node_modules/@date-fns/tz/date/index.js.map +0 -1
- package/dist/node_modules/@date-fns/tz/date/mini.js +0 -451
- package/dist/node_modules/@date-fns/tz/date/mini.js.map +0 -1
- package/dist/node_modules/@date-fns/tz/tzName/index.js +0 -40
- package/dist/node_modules/@date-fns/tz/tzName/index.js.map +0 -1
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -57
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -8
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -8
- package/dist/node_modules/date-fns/_lib/defaultOptions.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -776
- package/dist/node_modules/date-fns/_lib/format/formatters.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -95
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -67
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -32
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -12
- package/dist/node_modules/date-fns/_lib/normalizeDates.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js +0 -9
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -26
- package/dist/node_modules/date-fns/_lib/protectedTokens.js.map +0 -1
- package/dist/node_modules/date-fns/addDays.js +0 -61
- package/dist/node_modules/date-fns/addDays.js.map +0 -1
- package/dist/node_modules/date-fns/addMonths.js +0 -76
- package/dist/node_modules/date-fns/addMonths.js.map +0 -1
- package/dist/node_modules/date-fns/addWeeks.js +0 -34
- package/dist/node_modules/date-fns/addWeeks.js.map +0 -1
- package/dist/node_modules/date-fns/addYears.js +0 -34
- package/dist/node_modules/date-fns/addYears.js.map +0 -1
- package/dist/node_modules/date-fns/constants.js +0 -47
- package/dist/node_modules/date-fns/constants.js.map +0 -1
- package/dist/node_modules/date-fns/constructFrom.js +0 -50
- package/dist/node_modules/date-fns/constructFrom.js.map +0 -1
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -63
- package/dist/node_modules/date-fns/differenceInCalendarDays.js.map +0 -1
- package/dist/node_modules/date-fns/differenceInCalendarMonths.js +0 -43
- package/dist/node_modules/date-fns/differenceInCalendarMonths.js.map +0 -1
- package/dist/node_modules/date-fns/eachMonthOfInterval.js +0 -66
- package/dist/node_modules/date-fns/eachMonthOfInterval.js.map +0 -1
- package/dist/node_modules/date-fns/eachYearOfInterval.js +0 -66
- package/dist/node_modules/date-fns/eachYearOfInterval.js.map +0 -1
- package/dist/node_modules/date-fns/endOfISOWeek.js +0 -36
- package/dist/node_modules/date-fns/endOfISOWeek.js.map +0 -1
- package/dist/node_modules/date-fns/endOfMonth.js +0 -38
- package/dist/node_modules/date-fns/endOfMonth.js.map +0 -1
- package/dist/node_modules/date-fns/endOfWeek.js +0 -54
- package/dist/node_modules/date-fns/endOfWeek.js.map +0 -1
- package/dist/node_modules/date-fns/endOfYear.js +0 -38
- package/dist/node_modules/date-fns/endOfYear.js.map +0 -1
- package/dist/node_modules/date-fns/format.js +0 -424
- package/dist/node_modules/date-fns/format.js.map +0 -1
- package/dist/node_modules/date-fns/getDayOfYear.js +0 -35
- package/dist/node_modules/date-fns/getDayOfYear.js.map +0 -1
- package/dist/node_modules/date-fns/getDaysInMonth.js +0 -37
- package/dist/node_modules/date-fns/getDaysInMonth.js.map +0 -1
- package/dist/node_modules/date-fns/getISOWeek.js +0 -41
- package/dist/node_modules/date-fns/getISOWeek.js.map +0 -1
- package/dist/node_modules/date-fns/getISOWeekYear.js +0 -53
- package/dist/node_modules/date-fns/getISOWeekYear.js.map +0 -1
- package/dist/node_modules/date-fns/getMonth.js +0 -30
- package/dist/node_modules/date-fns/getMonth.js.map +0 -1
- package/dist/node_modules/date-fns/getWeek.js +0 -55
- package/dist/node_modules/date-fns/getWeek.js.map +0 -1
- package/dist/node_modules/date-fns/getWeekYear.js +0 -76
- package/dist/node_modules/date-fns/getWeekYear.js.map +0 -1
- package/dist/node_modules/date-fns/getYear.js +0 -30
- package/dist/node_modules/date-fns/getYear.js.map +0 -1
- package/dist/node_modules/date-fns/isAfter.js +0 -26
- package/dist/node_modules/date-fns/isAfter.js.map +0 -1
- package/dist/node_modules/date-fns/isBefore.js +0 -26
- package/dist/node_modules/date-fns/isBefore.js.map +0 -1
- package/dist/node_modules/date-fns/isDate.js +0 -42
- package/dist/node_modules/date-fns/isDate.js.map +0 -1
- package/dist/node_modules/date-fns/isSameDay.js +0 -47
- package/dist/node_modules/date-fns/isSameDay.js.map +0 -1
- package/dist/node_modules/date-fns/isSameMonth.js +0 -44
- package/dist/node_modules/date-fns/isSameMonth.js.map +0 -1
- package/dist/node_modules/date-fns/isSameYear.js +0 -36
- package/dist/node_modules/date-fns/isSameYear.js.map +0 -1
- package/dist/node_modules/date-fns/isValid.js +0 -40
- package/dist/node_modules/date-fns/isValid.js.map +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -11
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -65
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -60
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -23
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -104
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -42
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -14
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -190
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -135
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US.js +0 -29
- package/dist/node_modules/date-fns/locale/en-US.js.map +0 -1
- package/dist/node_modules/date-fns/max.js +0 -50
- package/dist/node_modules/date-fns/max.js.map +0 -1
- package/dist/node_modules/date-fns/min.js +0 -50
- package/dist/node_modules/date-fns/min.js.map +0 -1
- package/dist/node_modules/date-fns/setMonth.js +0 -47
- package/dist/node_modules/date-fns/setMonth.js.map +0 -1
- package/dist/node_modules/date-fns/setYear.js +0 -41
- package/dist/node_modules/date-fns/setYear.js.map +0 -1
- package/dist/node_modules/date-fns/startOfDay.js +0 -36
- package/dist/node_modules/date-fns/startOfDay.js.map +0 -1
- package/dist/node_modules/date-fns/startOfISOWeek.js +0 -36
- package/dist/node_modules/date-fns/startOfISOWeek.js.map +0 -1
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -43
- package/dist/node_modules/date-fns/startOfISOWeekYear.js.map +0 -1
- package/dist/node_modules/date-fns/startOfMonth.js +0 -38
- package/dist/node_modules/date-fns/startOfMonth.js.map +0 -1
- package/dist/node_modules/date-fns/startOfWeek.js +0 -54
- package/dist/node_modules/date-fns/startOfWeek.js.map +0 -1
- package/dist/node_modules/date-fns/startOfWeekYear.js +0 -65
- package/dist/node_modules/date-fns/startOfWeekYear.js.map +0 -1
- package/dist/node_modules/date-fns/startOfYear.js +0 -37
- package/dist/node_modules/date-fns/startOfYear.js.map +0 -1
- package/dist/node_modules/date-fns/toDate.js +0 -47
- package/dist/node_modules/date-fns/toDate.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -347
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -123
- package/dist/node_modules/react-day-picker/dist/esm/UI.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -34
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -600
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -20
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -24
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -32
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -26
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -21
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -20
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -22
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -20
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -74
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -96
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -23
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -29
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -34
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -21
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -28
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -60
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -20
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -34
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -25
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -47
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -28
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getLabels.js +0 -54
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getLabels.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -34
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -70
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -32
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -41
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -37
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -38
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -28
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -27
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -37
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -28
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -32
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -28
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -21
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -23
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -17
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/locale/en-US.js +0 -68
- package/dist/node_modules/react-day-picker/dist/esm/locale/en-US.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/noonDateLib.js +0 -164
- package/dist/node_modules/react-day-picker/dist/esm/noonDateLib.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -58
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -64
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -45
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -174
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -114
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -26
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -57
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -32
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -96
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.js +0 -62
- package/dist/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -63
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -31
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -75
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -36
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -22
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/toTimeZone.js +0 -17
- package/dist/node_modules/react-day-picker/dist/esm/utils/toTimeZone.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -67
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js.map +0 -1
- package/dist/node_modules/style-inject/dist/style-inject.es.js +0 -29
- package/dist/node_modules/style-inject/dist/style-inject.es.js.map +0 -1
- package/dist/utilities/Icons.d.ts +0 -33
- package/dist/utils.d.ts +0 -2
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rangeContainsModifiers.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\nimport { dateMatchModifiers } from \"./dateMatchModifiers.js\";\nimport { rangeContainsDayOfWeek } from \"./rangeContainsDayOfWeek.js\";\nimport { rangeIncludesDate } from \"./rangeIncludesDate.js\";\nimport { rangeOverlaps } from \"./rangeOverlaps.js\";\nimport { isDateAfterType, isDateBeforeType, isDateInterval, isDateRange, isDatesArray, isDayOfWeekType, } from \"./typeguards.js\";\n/**\n * Checks if a date range contains dates that match the given modifiers.\n *\n * @since 9.2.2\n * @param range - The date range to check.\n * @param modifiers - The modifiers to match against.\n * @param dateLib - The date utility library instance.\n * @returns `true` if the range contains matching dates, otherwise `false`.\n * @group Utilities\n */\nexport function rangeContainsModifiers(range, modifiers, dateLib = defaultDateLib) {\n const matchers = Array.isArray(modifiers) ? modifiers : [modifiers];\n // Defer function matchers evaluation as they are the least performant.\n const nonFunctionMatchers = matchers.filter((matcher) => typeof matcher !== \"function\");\n const nonFunctionMatchersResult = nonFunctionMatchers.some((matcher) => {\n if (typeof matcher === \"boolean\")\n return matcher;\n if (dateLib.isDate(matcher)) {\n return rangeIncludesDate(range, matcher, false, dateLib);\n }\n if (isDatesArray(matcher, dateLib)) {\n return matcher.some((date) => rangeIncludesDate(range, date, false, dateLib));\n }\n if (isDateRange(matcher)) {\n if (matcher.from && matcher.to) {\n return rangeOverlaps(range, { from: matcher.from, to: matcher.to }, dateLib);\n }\n return false;\n }\n if (isDayOfWeekType(matcher)) {\n return rangeContainsDayOfWeek(range, matcher.dayOfWeek, dateLib);\n }\n if (isDateInterval(matcher)) {\n const isClosedInterval = dateLib.isAfter(matcher.before, matcher.after);\n if (isClosedInterval) {\n return rangeOverlaps(range, {\n from: dateLib.addDays(matcher.after, 1),\n to: dateLib.addDays(matcher.before, -1),\n }, dateLib);\n }\n return (dateMatchModifiers(range.from, matcher, dateLib) ||\n dateMatchModifiers(range.to, matcher, dateLib));\n }\n if (isDateAfterType(matcher) || isDateBeforeType(matcher)) {\n return (dateMatchModifiers(range.from, matcher, dateLib) ||\n dateMatchModifiers(range.to, matcher, dateLib));\n }\n return false;\n });\n if (nonFunctionMatchersResult) {\n return true;\n }\n const functionMatchers = matchers.filter((matcher) => typeof matcher === \"function\");\n if (functionMatchers.length) {\n let date = range.from;\n const totalDays = dateLib.differenceInCalendarDays(range.to, range.from);\n for (let i = 0; i <= totalDays; i++) {\n if (functionMatchers.some((matcher) => matcher(date))) {\n return true;\n }\n date = dateLib.addDays(date, 1);\n }\n }\n return false;\n}\n"],"names":[],"mappings":"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","x_google_ignoreList":[0]}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { defaultDateLib } from '../classes/DateLib.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Checks if a given date is within a specified date range.
|
|
5
|
-
*
|
|
6
|
-
* @since 9.0.0
|
|
7
|
-
* @param range - The date range to check against.
|
|
8
|
-
* @param date - The date to check.
|
|
9
|
-
* @param excludeEnds - If `true`, the range's start and end dates are excluded.
|
|
10
|
-
* @param dateLib - The date utility library instance.
|
|
11
|
-
* @returns `true` if the date is within the range, otherwise `false`.
|
|
12
|
-
* @group Utilities
|
|
13
|
-
*/
|
|
14
|
-
function rangeIncludesDate(range, date, excludeEnds = false, dateLib = defaultDateLib) {
|
|
15
|
-
let { from, to } = range;
|
|
16
|
-
const { differenceInCalendarDays, isSameDay } = dateLib;
|
|
17
|
-
if (from && to) {
|
|
18
|
-
const isRangeInverted = differenceInCalendarDays(to, from) < 0;
|
|
19
|
-
if (isRangeInverted) {
|
|
20
|
-
[from, to] = [to, from];
|
|
21
|
-
}
|
|
22
|
-
const isInRange = differenceInCalendarDays(date, from) >= (excludeEnds ? 1 : 0) &&
|
|
23
|
-
differenceInCalendarDays(to, date) >= (excludeEnds ? 1 : 0);
|
|
24
|
-
return isInRange;
|
|
25
|
-
}
|
|
26
|
-
if (!excludeEnds && to) {
|
|
27
|
-
return isSameDay(to, date);
|
|
28
|
-
}
|
|
29
|
-
if (!excludeEnds && from) {
|
|
30
|
-
return isSameDay(from, date);
|
|
31
|
-
}
|
|
32
|
-
return false;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export { rangeIncludesDate };
|
|
36
|
-
//# sourceMappingURL=rangeIncludesDate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rangeIncludesDate.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/index.js\";\n/**\n * Checks if a given date is within a specified date range.\n *\n * @since 9.0.0\n * @param range - The date range to check against.\n * @param date - The date to check.\n * @param excludeEnds - If `true`, the range's start and end dates are excluded.\n * @param dateLib - The date utility library instance.\n * @returns `true` if the date is within the range, otherwise `false`.\n * @group Utilities\n */\nexport function rangeIncludesDate(range, date, excludeEnds = false, dateLib = defaultDateLib) {\n let { from, to } = range;\n const { differenceInCalendarDays, isSameDay } = dateLib;\n if (from && to) {\n const isRangeInverted = differenceInCalendarDays(to, from) < 0;\n if (isRangeInverted) {\n [from, to] = [to, from];\n }\n const isInRange = differenceInCalendarDays(date, from) >= (excludeEnds ? 1 : 0) &&\n differenceInCalendarDays(to, date) >= (excludeEnds ? 1 : 0);\n return isInRange;\n }\n if (!excludeEnds && to) {\n return isSameDay(to, date);\n }\n if (!excludeEnds && from) {\n return isSameDay(from, date);\n }\n return false;\n}\n"],"names":[],"mappings":";;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,iBAAiB,CAAC,KAAK,EAAE,IAAI,EAAE,WAAW,GAAG,KAAK,EAAE,OAAO,GAAG,cAAc,EAAE;AAC9F,IAAI,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,KAAK;AAC5B,IAAI,MAAM,EAAE,wBAAwB,EAAE,SAAS,EAAE,GAAG,OAAO;AAC3D,IAAI,IAAI,IAAI,IAAI,EAAE,EAAE;AACpB,QAAQ,MAAM,eAAe,GAAG,wBAAwB,CAAC,EAAE,EAAE,IAAI,CAAC,GAAG,CAAC;AACtE,QAAQ,IAAI,eAAe,EAAE;AAC7B,YAAY,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,EAAE,IAAI,CAAC;AACnC,QAAQ;AACR,QAAQ,MAAM,SAAS,GAAG,wBAAwB,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,WAAW,GAAG,CAAC,GAAG,CAAC,CAAC;AACvF,YAAY,wBAAwB,CAAC,EAAE,EAAE,IAAI,CAAC,KAAK,WAAW,GAAG,CAAC,GAAG,CAAC,CAAC;AACvE,QAAQ,OAAO,SAAS;AACxB,IAAI;AACJ,IAAI,IAAI,CAAC,WAAW,IAAI,EAAE,EAAE;AAC5B,QAAQ,OAAO,SAAS,CAAC,EAAE,EAAE,IAAI,CAAC;AAClC,IAAI;AACJ,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;AAC9B,QAAQ,OAAO,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC;AACpC,IAAI;AACJ,IAAI,OAAO,KAAK;AAChB;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { rangeIncludesDate } from './rangeIncludesDate.js';
|
|
2
|
-
import { defaultDateLib } from '../classes/DateLib.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Determines if two date ranges overlap.
|
|
6
|
-
*
|
|
7
|
-
* @since 9.2.2
|
|
8
|
-
* @param rangeLeft - The first date range.
|
|
9
|
-
* @param rangeRight - The second date range.
|
|
10
|
-
* @param dateLib - The date utility library instance.
|
|
11
|
-
* @returns `true` if the ranges overlap, otherwise `false`.
|
|
12
|
-
* @group Utilities
|
|
13
|
-
*/
|
|
14
|
-
function rangeOverlaps(rangeLeft, rangeRight, dateLib = defaultDateLib) {
|
|
15
|
-
return (rangeIncludesDate(rangeLeft, rangeRight.from, false, dateLib) ||
|
|
16
|
-
rangeIncludesDate(rangeLeft, rangeRight.to, false, dateLib) ||
|
|
17
|
-
rangeIncludesDate(rangeRight, rangeLeft.from, false, dateLib) ||
|
|
18
|
-
rangeIncludesDate(rangeRight, rangeLeft.to, false, dateLib));
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { rangeOverlaps };
|
|
22
|
-
//# sourceMappingURL=rangeOverlaps.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rangeOverlaps.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/index.js\";\nimport { rangeIncludesDate } from \"./rangeIncludesDate.js\";\n/**\n * Determines if two date ranges overlap.\n *\n * @since 9.2.2\n * @param rangeLeft - The first date range.\n * @param rangeRight - The second date range.\n * @param dateLib - The date utility library instance.\n * @returns `true` if the ranges overlap, otherwise `false`.\n * @group Utilities\n */\nexport function rangeOverlaps(rangeLeft, rangeRight, dateLib = defaultDateLib) {\n return (rangeIncludesDate(rangeLeft, rangeRight.from, false, dateLib) ||\n rangeIncludesDate(rangeLeft, rangeRight.to, false, dateLib) ||\n rangeIncludesDate(rangeRight, rangeLeft.from, false, dateLib) ||\n rangeIncludesDate(rangeRight, rangeLeft.to, false, dateLib));\n}\n"],"names":[],"mappings":";;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,aAAa,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,cAAc,EAAE;AAC/E,IAAI,QAAQ,iBAAiB,CAAC,SAAS,EAAE,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC;AACzE,QAAQ,iBAAiB,CAAC,SAAS,EAAE,UAAU,CAAC,EAAE,EAAE,KAAK,EAAE,OAAO,CAAC;AACnE,QAAQ,iBAAiB,CAAC,UAAU,EAAE,SAAS,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC;AACrE,QAAQ,iBAAiB,CAAC,UAAU,EAAE,SAAS,CAAC,EAAE,EAAE,KAAK,EAAE,OAAO,CAAC;AACnE;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { TZDate } from '../../../../@date-fns/tz/date/index.js';
|
|
2
|
-
import '../../../../@date-fns/tz/date/mini.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Convert a {@link Date} or {@link TZDate} instance to the given time zone.
|
|
6
|
-
* Reuses the same instance when it is already a {@link TZDate} using the target
|
|
7
|
-
* time zone to avoid extra allocations.
|
|
8
|
-
*/
|
|
9
|
-
function toTimeZone(date, timeZone) {
|
|
10
|
-
if (date instanceof TZDate && date.timeZone === timeZone) {
|
|
11
|
-
return date;
|
|
12
|
-
}
|
|
13
|
-
return new TZDate(date, timeZone);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export { toTimeZone };
|
|
17
|
-
//# sourceMappingURL=toTimeZone.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"toTimeZone.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/utils/toTimeZone.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\n/**\n * Convert a {@link Date} or {@link TZDate} instance to the given time zone.\n * Reuses the same instance when it is already a {@link TZDate} using the target\n * time zone to avoid extra allocations.\n */\nexport function toTimeZone(date, timeZone) {\n if (date instanceof TZDate && date.timeZone === timeZone) {\n return date;\n }\n return new TZDate(date, timeZone);\n}\n"],"names":[],"mappings":";;;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,UAAU,CAAC,IAAI,EAAE,QAAQ,EAAE;AAC3C,IAAI,IAAI,IAAI,YAAY,MAAM,IAAI,IAAI,CAAC,QAAQ,KAAK,QAAQ,EAAE;AAC9D,QAAQ,OAAO,IAAI;AACnB,IAAI;AACJ,IAAI,OAAO,IAAI,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC;AACrC;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Checks if the given value is of type {@link DateInterval}.
|
|
3
|
-
*
|
|
4
|
-
* @param matcher - The value to check.
|
|
5
|
-
* @returns `true` if the value is a {@link DateInterval}, otherwise `false`.
|
|
6
|
-
* @group Utilities
|
|
7
|
-
*/
|
|
8
|
-
function isDateInterval(matcher) {
|
|
9
|
-
return Boolean(matcher &&
|
|
10
|
-
typeof matcher === "object" &&
|
|
11
|
-
"before" in matcher &&
|
|
12
|
-
"after" in matcher);
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Checks if the given value is of type {@link DateRange}.
|
|
16
|
-
*
|
|
17
|
-
* @param value - The value to check.
|
|
18
|
-
* @returns `true` if the value is a {@link DateRange}, otherwise `false`.
|
|
19
|
-
* @group Utilities
|
|
20
|
-
*/
|
|
21
|
-
function isDateRange(value) {
|
|
22
|
-
return Boolean(value && typeof value === "object" && "from" in value);
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Checks if the given value is of type {@link DateAfter}.
|
|
26
|
-
*
|
|
27
|
-
* @param value - The value to check.
|
|
28
|
-
* @returns `true` if the value is a {@link DateAfter}, otherwise `false`.
|
|
29
|
-
* @group Utilities
|
|
30
|
-
*/
|
|
31
|
-
function isDateAfterType(value) {
|
|
32
|
-
return Boolean(value && typeof value === "object" && "after" in value);
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Checks if the given value is of type {@link DateBefore}.
|
|
36
|
-
*
|
|
37
|
-
* @param value - The value to check.
|
|
38
|
-
* @returns `true` if the value is a {@link DateBefore}, otherwise `false`.
|
|
39
|
-
* @group Utilities
|
|
40
|
-
*/
|
|
41
|
-
function isDateBeforeType(value) {
|
|
42
|
-
return Boolean(value && typeof value === "object" && "before" in value);
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Checks if the given value is of type {@link DayOfWeek}.
|
|
46
|
-
*
|
|
47
|
-
* @param value - The value to check.
|
|
48
|
-
* @returns `true` if the value is a {@link DayOfWeek}, otherwise `false`.
|
|
49
|
-
* @group Utilities
|
|
50
|
-
*/
|
|
51
|
-
function isDayOfWeekType(value) {
|
|
52
|
-
return Boolean(value && typeof value === "object" && "dayOfWeek" in value);
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Checks if the given value is an array of valid dates.
|
|
56
|
-
*
|
|
57
|
-
* @private
|
|
58
|
-
* @param value - The value to check.
|
|
59
|
-
* @param dateLib - The date utility library instance.
|
|
60
|
-
* @returns `true` if the value is an array of valid dates, otherwise `false`.
|
|
61
|
-
*/
|
|
62
|
-
function isDatesArray(value, dateLib) {
|
|
63
|
-
return Array.isArray(value) && value.every(dateLib.isDate);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export { isDateAfterType, isDateBeforeType, isDateInterval, isDateRange, isDatesArray, isDayOfWeekType };
|
|
67
|
-
//# sourceMappingURL=typeguards.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typeguards.js","sources":["../../../../../../node_modules/react-day-picker/dist/esm/utils/typeguards.js"],"sourcesContent":["/**\n * Checks if the given value is of type {@link DateInterval}.\n *\n * @param matcher - The value to check.\n * @returns `true` if the value is a {@link DateInterval}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateInterval(matcher) {\n return Boolean(matcher &&\n typeof matcher === \"object\" &&\n \"before\" in matcher &&\n \"after\" in matcher);\n}\n/**\n * Checks if the given value is of type {@link DateRange}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DateRange}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateRange(value) {\n return Boolean(value && typeof value === \"object\" && \"from\" in value);\n}\n/**\n * Checks if the given value is of type {@link DateAfter}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DateAfter}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateAfterType(value) {\n return Boolean(value && typeof value === \"object\" && \"after\" in value);\n}\n/**\n * Checks if the given value is of type {@link DateBefore}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DateBefore}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateBeforeType(value) {\n return Boolean(value && typeof value === \"object\" && \"before\" in value);\n}\n/**\n * Checks if the given value is of type {@link DayOfWeek}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DayOfWeek}, otherwise `false`.\n * @group Utilities\n */\nexport function isDayOfWeekType(value) {\n return Boolean(value && typeof value === \"object\" && \"dayOfWeek\" in value);\n}\n/**\n * Checks if the given value is an array of valid dates.\n *\n * @private\n * @param value - The value to check.\n * @param dateLib - The date utility library instance.\n * @returns `true` if the value is an array of valid dates, otherwise `false`.\n */\nexport function isDatesArray(value, dateLib) {\n return Array.isArray(value) && value.every(dateLib.isDate);\n}\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,cAAc,CAAC,OAAO,EAAE;AACxC,IAAI,OAAO,OAAO,CAAC,OAAO;AAC1B,QAAQ,OAAO,OAAO,KAAK,QAAQ;AACnC,QAAQ,QAAQ,IAAI,OAAO;AAC3B,QAAQ,OAAO,IAAI,OAAO,CAAC;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,OAAO,OAAO,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,IAAI,KAAK,CAAC;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,eAAe,CAAC,KAAK,EAAE;AACvC,IAAI,OAAO,OAAO,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,IAAI,KAAK,CAAC;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,gBAAgB,CAAC,KAAK,EAAE;AACxC,IAAI,OAAO,OAAO,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,QAAQ,IAAI,KAAK,CAAC;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,eAAe,CAAC,KAAK,EAAE;AACvC,IAAI,OAAO,OAAO,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,WAAW,IAAI,KAAK,CAAC;AAC9E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,YAAY,CAAC,KAAK,EAAE,OAAO,EAAE;AAC7C,IAAI,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;AAC9D;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
function styleInject(css, ref) {
|
|
2
|
-
if ( ref === void 0 ) ref = {};
|
|
3
|
-
var insertAt = ref.insertAt;
|
|
4
|
-
|
|
5
|
-
if (typeof document === 'undefined') { return; }
|
|
6
|
-
|
|
7
|
-
var head = document.head || document.getElementsByTagName('head')[0];
|
|
8
|
-
var style = document.createElement('style');
|
|
9
|
-
style.type = 'text/css';
|
|
10
|
-
|
|
11
|
-
if (insertAt === 'top') {
|
|
12
|
-
if (head.firstChild) {
|
|
13
|
-
head.insertBefore(style, head.firstChild);
|
|
14
|
-
} else {
|
|
15
|
-
head.appendChild(style);
|
|
16
|
-
}
|
|
17
|
-
} else {
|
|
18
|
-
head.appendChild(style);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
if (style.styleSheet) {
|
|
22
|
-
style.styleSheet.cssText = css;
|
|
23
|
-
} else {
|
|
24
|
-
style.appendChild(document.createTextNode(css));
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export { styleInject as default };
|
|
29
|
-
//# sourceMappingURL=style-inject.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"style-inject.es.js","sources":["../../../../node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":"AAAA,SAAS,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE;AAC/B,EAAE,KAAK,GAAG,KAAK,MAAM,GAAG,GAAG,GAAG,EAAE;AAChC,EAAE,IAAI,QAAQ,GAAG,GAAG,CAAC,QAAQ;;AAE7B,EAAE,IAAY,OAAO,QAAQ,KAAK,WAAW,EAAE,EAAE,OAAO,CAAC;;AAEzD,EAAE,IAAI,IAAI,GAAG,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AACtE,EAAE,IAAI,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC;AAC7C,EAAE,KAAK,CAAC,IAAI,GAAG,UAAU;;AAEzB,EAAE,IAAI,QAAQ,KAAK,KAAK,EAAE;AAC1B,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE;AACzB,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC;AAC/C,IAAI,CAAC,MAAM;AACX,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;AAC7B,IAAI;AACJ,EAAE,CAAC,MAAM;AACT,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;AAC3B,EAAE;;AAEF,EAAE,IAAI,KAAK,CAAC,UAAU,EAAE;AACxB,IAAI,KAAK,CAAC,UAAU,CAAC,OAAO,GAAG,GAAG;AAClC,EAAE,CAAC,MAAM;AACT,IAAI,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;AACnD,EAAE;AACF;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A collection of the icons we use for different indicators.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Component for indicated job mode (face-to-face, hybrid, etc.)
|
|
6
|
-
*
|
|
7
|
-
* @component
|
|
8
|
-
*/
|
|
9
|
-
export declare const JobModeIcon: ({ mode }: {
|
|
10
|
-
mode: number | null | undefined;
|
|
11
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
/**
|
|
13
|
-
* Returns the icon associated with the given job type.
|
|
14
|
-
*
|
|
15
|
-
* @component
|
|
16
|
-
*/
|
|
17
|
-
export declare const JobTypeIcon: ({ type }: {
|
|
18
|
-
type: number | null | undefined;
|
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
/**
|
|
21
|
-
* The icon we use for salaries
|
|
22
|
-
*
|
|
23
|
-
* @component
|
|
24
|
-
*/
|
|
25
|
-
export declare const SalaryIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
/**
|
|
27
|
-
* Just so we can keep this consistent
|
|
28
|
-
*
|
|
29
|
-
* @component
|
|
30
|
-
*/
|
|
31
|
-
export declare const BooleanCheckIcon: ({ checked }: {
|
|
32
|
-
checked?: boolean | null;
|
|
33
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
package/dist/utils.d.ts
DELETED