@react-spectrum/calendar 3.4.7 → 3.4.8
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/Calendar.main.js +78 -0
- package/dist/Calendar.main.js.map +1 -0
- package/dist/Calendar.mjs +69 -0
- package/dist/Calendar.module.js +69 -0
- package/dist/Calendar.module.js.map +1 -0
- package/dist/CalendarBase.main.js +116 -0
- package/dist/CalendarBase.main.js.map +1 -0
- package/dist/CalendarBase.mjs +111 -0
- package/dist/CalendarBase.module.js +111 -0
- package/dist/CalendarBase.module.js.map +1 -0
- package/dist/CalendarCell.main.js +95 -0
- package/dist/CalendarCell.main.js.map +1 -0
- package/dist/CalendarCell.mjs +90 -0
- package/dist/CalendarCell.module.js +90 -0
- package/dist/CalendarCell.module.js.map +1 -0
- package/dist/CalendarMonth.main.js +68 -0
- package/dist/CalendarMonth.main.js.map +1 -0
- package/dist/CalendarMonth.mjs +63 -0
- package/dist/CalendarMonth.module.js +63 -0
- package/dist/CalendarMonth.module.js.map +1 -0
- package/dist/RangeCalendar.main.js +78 -0
- package/dist/RangeCalendar.main.js.map +1 -0
- package/dist/RangeCalendar.mjs +69 -0
- package/dist/RangeCalendar.module.js +69 -0
- package/dist/RangeCalendar.module.js.map +1 -0
- package/dist/ar-AE.mjs +1 -1
- package/dist/bg-BG.mjs +1 -1
- package/dist/calendar_vars_css.main.js +116 -0
- package/dist/calendar_vars_css.main.js.map +1 -0
- package/dist/calendar_vars_css.mjs +118 -0
- package/dist/calendar_vars_css.module.js +118 -0
- package/dist/calendar_vars_css.module.js.map +1 -0
- package/dist/cs-CZ.mjs +1 -1
- package/dist/da-DK.mjs +1 -1
- package/dist/de-DE.mjs +1 -1
- package/dist/el-GR.mjs +1 -1
- package/dist/en-US.mjs +1 -1
- package/dist/es-ES.mjs +1 -1
- package/dist/et-EE.mjs +1 -1
- package/dist/fi-FI.mjs +1 -1
- package/dist/fr-FR.mjs +1 -1
- package/dist/he-IL.mjs +1 -1
- package/dist/hr-HR.mjs +1 -1
- package/dist/hu-HU.mjs +1 -1
- package/dist/import.mjs +2 -565
- package/dist/intlStrings.main.js +108 -0
- package/dist/intlStrings.main.js.map +1 -0
- package/dist/intlStrings.mjs +110 -0
- package/dist/intlStrings.module.js +110 -0
- package/dist/intlStrings.module.js.map +1 -0
- package/dist/it-IT.mjs +1 -1
- package/dist/ja-JP.mjs +1 -1
- package/dist/ko-KR.mjs +1 -1
- package/dist/lt-LT.mjs +1 -1
- package/dist/lv-LV.mjs +1 -1
- package/dist/main.js +4 -563
- package/dist/main.js.map +1 -1
- package/dist/module.js +2 -565
- package/dist/module.js.map +1 -1
- package/dist/nb-NO.mjs +1 -1
- package/dist/nl-NL.mjs +1 -1
- package/dist/pl-PL.mjs +1 -1
- package/dist/pt-BR.mjs +1 -1
- package/dist/pt-PT.mjs +1 -1
- package/dist/ro-RO.mjs +1 -1
- package/dist/ru-RU.mjs +1 -1
- package/dist/sk-SK.mjs +1 -1
- package/dist/sl-SI.mjs +1 -1
- package/dist/sr-SP.mjs +1 -1
- package/dist/sv-SE.mjs +1 -1
- package/dist/tr-TR.mjs +1 -1
- package/dist/uk-UA.mjs +1 -1
- package/dist/{main.css → vars.3977de0b.css} +45 -111
- package/dist/vars.3977de0b.css.map +1 -0
- package/dist/zh-CN.mjs +1 -1
- package/dist/zh-TW.mjs +1 -1
- package/package.json +18 -18
- package/dist/main.css.map +0 -1
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;ACAA;;;;;;;;;;CAUC;ACVD;;;;;;;;;;ACAA;;;;;;;;;;CAUC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACVD,IAAA;AACA,IAAA;AACA,IAAA;AACA,IA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C1B,gBAAgB,KAAK,GAAG,CAAC,eAAe;IACxC,IAAI,kBAAkB,CAAA,GAAA,cAAM,EAAE,IAAO,CAAA;YAAC,QAAQ;QAAa,CAAA,GAAI;QAAC;KAAc;IAC9E,IAAI,UAAC,MAAM,EAAC,GAAG,CAAA,GAAA,gBAAQ;IACvB,IAAI,QAAQ,CAAA,GAAA,4BAAoB,EAAE;QAChC,GAAG,KAAK;gBACR;yBACA;wBACA;IACF;IAEA,IAAI,SAAS,CAAA,GAAA,aAAK;IAClB,CAAA,GAAA,0BAAkB,EAAE,KAAK,IAAO,CAAA;YAC9B,GAAG,CAAA,GAAA,mBAAW,EAAE,OAAO;YACvB;gBACE,MAAM,UAAU,CAAC;YACnB;QACF,CAAA;IAEA,IAAI,iBAAC,aAAa,mBAAE,eAAe,mBAAE,eAAe,qBAAE,iBAAiB,EAAC,GAAG,CAAA,GAAA,uBAAe,EAAE,OAAO,OAAO;IAE1G,qBACE,gCAAC,CAAA,GAAA,yCAAW;QACT,GAAG,KAAK;QACT,eAAe;QACf,OAAO;QACP,aAAa;QACb,eAAe;QACf,iBAAiB;QACjB,iBAAiB;QACjB,mBAAmB;;AAEzB;AAEA;;CAEC,GACD,MAAM,0DAAiB,CAAA,GAAA,YAAI,EAAE,UAAU,CAAC;;","sources":["packages/@react-spectrum/calendar/src/index.ts","packages/@react-spectrum/calendar/src/Calendar.tsx","packages/@react-spectrum/calendar/src/CalendarBase.tsx","packages/@react-spectrum/calendar/src/CalendarMonth.tsx","packages/@react-spectrum/calendar/src/CalendarCell.tsx","packages/@adobe/spectrum-css-temp/components/calendar/vars.css","packages/@react-spectrum/calendar/src/*.js","packages/@react-spectrum/calendar/src/RangeCalendar.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Calendar} from './Calendar';\nexport {RangeCalendar} from './RangeCalendar';\nexport type {SpectrumCalendarProps, SpectrumRangeCalendarProps} from '@react-types/calendar';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {CalendarBase} from './CalendarBase';\nimport {createCalendar} from '@internationalized/date';\nimport {createDOMRef} from '@react-spectrum/utils';\nimport {DateValue, SpectrumCalendarProps} from '@react-types/calendar';\nimport {FocusableRef} from '@react-types/shared';\nimport React, {ReactElement, useImperativeHandle, useMemo, useRef} from 'react';\nimport {useCalendar} from '@react-aria/calendar';\nimport {useCalendarState} from '@react-stately/calendar';\nimport {useLocale} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\n\nfunction Calendar<T extends DateValue>(props: SpectrumCalendarProps<T>, ref: FocusableRef<HTMLElement>) {\n props = useProviderProps(props);\n let {visibleMonths = 1} = props;\n visibleMonths = Math.max(visibleMonths, 1);\n let visibleDuration = useMemo(() => ({months: visibleMonths}), [visibleMonths]);\n let {locale} = useLocale();\n let state = useCalendarState({\n ...props,\n locale,\n visibleDuration,\n createCalendar\n });\n\n let domRef = useRef();\n useImperativeHandle(ref, () => ({\n ...createDOMRef(domRef),\n focus() {\n state.setFocused(true);\n }\n }));\n\n let {calendarProps, prevButtonProps, nextButtonProps, errorMessageProps} = useCalendar(props, state);\n\n return (\n <CalendarBase\n {...props}\n visibleMonths={visibleMonths}\n state={state}\n calendarRef={domRef}\n calendarProps={calendarProps}\n prevButtonProps={prevButtonProps}\n nextButtonProps={nextButtonProps}\n errorMessageProps={errorMessageProps} />\n );\n}\n\n/**\n * Calendars display a grid of days in one or more months and allow users to select a single date.\n */\nconst _Calendar = React.forwardRef(Calendar) as <T extends DateValue>(props: SpectrumCalendarProps<T> & {ref?: FocusableRef<HTMLElement>}) => ReactElement;\nexport {_Calendar as Calendar};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {ActionButton} from '@react-spectrum/button';\nimport {AriaButtonProps} from '@react-types/button';\nimport {CalendarMonth} from './CalendarMonth';\nimport {CalendarPropsBase} from '@react-types/calendar';\nimport {CalendarState, RangeCalendarState} from '@react-stately/calendar';\nimport ChevronLeft from '@spectrum-icons/ui/ChevronLeftLarge';\nimport ChevronRight from '@spectrum-icons/ui/ChevronRightLarge';\nimport {classNames, useStyleProps} from '@react-spectrum/utils';\nimport {DOMProps, StyleProps} from '@react-types/shared';\nimport {HelpText} from '@react-spectrum/label';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React, {HTMLAttributes, RefObject} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/calendar/vars.css';\nimport {useDateFormatter, useLocale, useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {VisuallyHidden} from '@react-aria/visually-hidden';\n\ninterface CalendarBaseProps<T extends CalendarState | RangeCalendarState> extends CalendarPropsBase, DOMProps, StyleProps {\n state: T,\n visibleMonths?: number,\n calendarProps: HTMLAttributes<HTMLElement>,\n nextButtonProps: AriaButtonProps,\n prevButtonProps: AriaButtonProps,\n errorMessageProps: HTMLAttributes<HTMLElement>,\n calendarRef: RefObject<HTMLDivElement>\n}\n\nexport function CalendarBase<T extends CalendarState | RangeCalendarState>(props: CalendarBaseProps<T>) {\n let {\n state,\n calendarProps,\n nextButtonProps,\n prevButtonProps,\n errorMessageProps,\n calendarRef: ref,\n visibleMonths = 1\n } = props;\n let {styleProps} = useStyleProps(props);\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/calendar');\n let {direction} = useLocale();\n let currentMonth = state.visibleRange.start;\n let monthDateFormatter = useDateFormatter({\n month: 'long',\n year: 'numeric',\n era: currentMonth.calendar.identifier === 'gregory' && currentMonth.era === 'BC' ? 'short' : undefined,\n calendar: currentMonth.calendar.identifier,\n timeZone: state.timeZone\n });\n\n let titles = [];\n let calendars = [];\n for (let i = 0; i < visibleMonths; i++) {\n let d = currentMonth.add({months: i});\n titles.push(\n <div key={i} className={classNames(styles, 'spectrum-Calendar-monthHeader')}>\n {i === 0 &&\n <ActionButton\n {...prevButtonProps}\n UNSAFE_className={classNames(styles, 'spectrum-Calendar-prevMonth')}\n isQuiet>\n {direction === 'rtl' ? <ChevronRight /> : <ChevronLeft />}\n </ActionButton>\n }\n <h2\n // We have a visually hidden heading describing the entire visible range,\n // and the calendar itself describes the individual month\n // so we don't need to repeat that here for screen reader users.\n aria-hidden\n className={classNames(styles, 'spectrum-Calendar-title')}>\n {monthDateFormatter.format(d.toDate(state.timeZone))}\n </h2>\n {i === visibleMonths - 1 &&\n <ActionButton\n {...nextButtonProps}\n UNSAFE_className={classNames(styles, 'spectrum-Calendar-nextMonth')}\n isQuiet>\n {direction === 'rtl' ? <ChevronLeft /> : <ChevronRight />}\n </ActionButton>\n }\n </div>\n );\n\n calendars.push(\n <CalendarMonth\n {...props}\n key={i}\n state={state}\n startDate={d} />\n );\n }\n\n return (\n <div\n {...styleProps}\n {...calendarProps}\n ref={ref}\n className={\n classNames(styles,\n 'spectrum-Calendar',\n styleProps.className\n )\n }>\n {/* Add a screen reader only description of the entire visible range rather than\n * a separate heading above each month grid. This is placed first in the DOM order\n * so that it is the first thing a touch screen reader user encounters.\n * In addition, VoiceOver on iOS does not announce the aria-label of the grid\n * elements, so the aria-label of the Calendar is included here as well. */}\n <VisuallyHidden>\n <h2>{calendarProps['aria-label']}</h2>\n </VisuallyHidden>\n <div className={classNames(styles, 'spectrum-Calendar-header')}>\n {titles}\n </div>\n <div className={classNames(styles, 'spectrum-Calendar-months')}>\n {calendars}\n </div>\n {/* For touch screen readers, add a visually hidden next button after the month grid\n * so it's easy to navigate after reaching the end without going all the way\n * back to the start of the month. */}\n <VisuallyHidden>\n <button\n aria-label={nextButtonProps['aria-label']}\n disabled={nextButtonProps.isDisabled}\n onClick={() => state.focusNextPage()}\n tabIndex={-1} />\n </VisuallyHidden>\n {state.isValueInvalid &&\n <HelpText\n showErrorIcon\n errorMessage={props.errorMessage || stringFormatter.format('invalidSelection', {selectedCount: 'highlightedRange' in state ? 2 : 1})}\n errorMessageProps={errorMessageProps}\n isInvalid\n // Intentionally a global class name so it can be targeted in DatePicker CSS...\n UNSAFE_className=\"spectrum-Calendar-helpText\" />\n }\n </div>\n );\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {CalendarCell} from './CalendarCell';\nimport {CalendarDate, endOfMonth, getWeeksInMonth} from '@internationalized/date';\nimport {CalendarPropsBase} from '@react-types/calendar';\nimport {CalendarState, RangeCalendarState} from '@react-stately/calendar';\nimport {classNames} from '@react-spectrum/utils';\nimport {DOMProps, StyleProps} from '@react-types/shared';\nimport React from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/calendar/vars.css';\nimport {useCalendarGrid} from '@react-aria/calendar';\nimport {useLocale} from '@react-aria/i18n';\n\ninterface CalendarMonthProps extends CalendarPropsBase, DOMProps, StyleProps {\n state: CalendarState | RangeCalendarState,\n startDate: CalendarDate\n}\n\nexport function CalendarMonth(props: CalendarMonthProps) {\n let {\n state,\n startDate\n } = props;\n let {\n gridProps,\n headerProps,\n weekDays\n } = useCalendarGrid({\n ...props,\n endDate: endOfMonth(startDate)\n }, state);\n\n let {locale} = useLocale();\n let weeksInMonth = getWeeksInMonth(startDate, locale);\n\n return (\n <table\n {...gridProps}\n className={classNames(styles, 'spectrum-Calendar-body', 'spectrum-Calendar-table')}>\n <thead {...headerProps}>\n <tr>\n {weekDays.map((day, index) => (\n <th\n key={index}\n className={classNames(styles, 'spectrum-Calendar-tableCell')}>\n <span className={classNames(styles, 'spectrum-Calendar-dayOfWeek')}>\n {day}\n </span>\n </th>\n ))}\n </tr>\n </thead>\n <tbody>\n {[...new Array(weeksInMonth).keys()].map(weekIndex => (\n <tr key={weekIndex}>\n {state.getDatesInWeek(weekIndex, startDate).map((date, i) => (\n date ? (\n <CalendarCell\n key={i}\n state={state}\n date={date}\n currentMonth={startDate} />\n ) : <td key={i} />\n ))}\n </tr>\n ))}\n </tbody>\n </table>\n );\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaCalendarCellProps, useCalendarCell} from '@react-aria/calendar';\nimport {CalendarDate, getDayOfWeek, isSameDay, isSameMonth, isToday} from '@internationalized/date';\nimport {CalendarState, RangeCalendarState} from '@react-stately/calendar';\nimport {classNames} from '@react-spectrum/utils';\nimport {mergeProps} from '@react-aria/utils';\nimport React, {useRef} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/calendar/vars.css';\nimport {useFocusRing} from '@react-aria/focus';\nimport {useHover} from '@react-aria/interactions';\nimport {useLocale} from '@react-aria/i18n';\n\ninterface CalendarCellProps extends AriaCalendarCellProps {\n state: CalendarState | RangeCalendarState,\n currentMonth: CalendarDate\n}\n\nexport function CalendarCell({state, currentMonth, ...props}: CalendarCellProps) {\n let ref = useRef<HTMLElement>();\n let {\n cellProps,\n buttonProps,\n isPressed,\n isSelected,\n isDisabled,\n isFocused,\n isInvalid,\n formattedDate\n } = useCalendarCell({\n ...props,\n isDisabled: !isSameMonth(props.date, currentMonth)\n }, state, ref);\n let isUnavailable = state.isCellUnavailable(props.date) && !isDisabled;\n let isLastSelectedBeforeDisabled = !isDisabled && !isInvalid && state.isCellUnavailable(props.date.add({days: 1}));\n let isFirstSelectedAfterDisabled = !isDisabled && !isInvalid && state.isCellUnavailable(props.date.subtract({days: 1}));\n let highlightedRange = 'highlightedRange' in state && state.highlightedRange;\n let isSelectionStart = isSelected && highlightedRange && isSameDay(props.date, highlightedRange.start);\n let isSelectionEnd = isSelected && highlightedRange && isSameDay(props.date, highlightedRange.end);\n let {locale} = useLocale();\n let dayOfWeek = getDayOfWeek(props.date, locale);\n let isRangeStart = isSelected && (isFirstSelectedAfterDisabled || dayOfWeek === 0 || props.date.day === 1);\n let isRangeEnd = isSelected && (isLastSelectedBeforeDisabled || dayOfWeek === 6 || props.date.day === currentMonth.calendar.getDaysInMonth(currentMonth));\n let {focusProps, isFocusVisible} = useFocusRing();\n let {hoverProps, isHovered} = useHover({isDisabled: isDisabled || isUnavailable || state.isReadOnly});\n\n return (\n <td\n {...cellProps}\n className={classNames(styles, 'spectrum-Calendar-tableCell')}>\n <span\n {...mergeProps(buttonProps, hoverProps, focusProps)}\n ref={ref}\n className={classNames(styles, 'spectrum-Calendar-date', {\n 'is-today': isToday(props.date, state.timeZone),\n 'is-selected': isSelected,\n 'is-focused': isFocused && isFocusVisible,\n // Style disabled (i.e. out of min/max range), but selected dates as unavailable\n // since it is more clear than trying to dim the selection.\n 'is-disabled': isDisabled && !isInvalid,\n 'is-unavailable': isUnavailable || (isInvalid && isDisabled),\n 'is-outsideMonth': !isSameMonth(props.date, currentMonth),\n 'is-range-start': isRangeStart,\n 'is-range-end': isRangeEnd,\n 'is-range-selection': isSelected && 'highlightedRange' in state,\n 'is-selection-start': isSelectionStart,\n 'is-selection-end': isSelectionEnd,\n 'is-hovered': isHovered,\n 'is-pressed': isPressed && !state.isReadOnly,\n 'is-invalid': isInvalid\n })}>\n <span className={classNames(styles, 'spectrum-Calendar-dateText')}>\n <span>{formattedDate}</span>\n </span>\n </span>\n </td>\n );\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {CalendarBase} from './CalendarBase';\nimport {createCalendar} from '@internationalized/date';\nimport {createDOMRef} from '@react-spectrum/utils';\nimport {DateValue, SpectrumRangeCalendarProps} from '@react-types/calendar';\nimport {FocusableRef} from '@react-types/shared';\nimport React, {ReactElement, useImperativeHandle, useMemo, useRef} from 'react';\nimport {useLocale} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\nimport {useRangeCalendar} from '@react-aria/calendar';\nimport {useRangeCalendarState} from '@react-stately/calendar';\n\nfunction RangeCalendar<T extends DateValue>(props: SpectrumRangeCalendarProps<T>, ref: FocusableRef<HTMLElement>) {\n props = useProviderProps(props);\n let {visibleMonths = 1} = props;\n visibleMonths = Math.max(visibleMonths, 1);\n let visibleDuration = useMemo(() => ({months: visibleMonths}), [visibleMonths]);\n let {locale} = useLocale();\n let state = useRangeCalendarState({\n ...props,\n locale,\n visibleDuration,\n createCalendar\n });\n\n let domRef = useRef();\n useImperativeHandle(ref, () => ({\n ...createDOMRef(domRef),\n focus() {\n state.setFocused(true);\n }\n }));\n\n let {calendarProps, prevButtonProps, nextButtonProps, errorMessageProps} = useRangeCalendar(props, state, domRef);\n\n return (\n <CalendarBase\n {...props}\n visibleMonths={visibleMonths}\n state={state}\n calendarRef={domRef}\n calendarProps={calendarProps}\n prevButtonProps={prevButtonProps}\n nextButtonProps={nextButtonProps}\n errorMessageProps={errorMessageProps} />\n );\n}\n\n/**\n * RangeCalendars display a grid of days in one or more months and allow users to select a contiguous range of dates.\n */\nconst _RangeCalendar = React.forwardRef(RangeCalendar) as <T extends DateValue>(props: SpectrumRangeCalendarProps<T> & {ref?: FocusableRef<HTMLElement>}) => ReactElement;\nexport {_RangeCalendar as RangeCalendar};\n"],"names":[],"version":3,"file":"module.js.map"}
|
|
1
|
+
{"mappings":";;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/calendar/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Calendar} from './Calendar';\nexport {RangeCalendar} from './RangeCalendar';\nexport type {SpectrumCalendarProps, SpectrumRangeCalendarProps} from '@react-types/calendar';\n"],"names":[],"version":3,"file":"module.js.map"}
|
package/dist/nb-NO.mjs
CHANGED
package/dist/nl-NL.mjs
CHANGED
package/dist/pl-PL.mjs
CHANGED
package/dist/pt-BR.mjs
CHANGED
package/dist/pt-PT.mjs
CHANGED
package/dist/ro-RO.mjs
CHANGED
package/dist/ru-RU.mjs
CHANGED
package/dist/sk-SK.mjs
CHANGED
package/dist/sl-SI.mjs
CHANGED
package/dist/sr-SP.mjs
CHANGED
package/dist/sv-SE.mjs
CHANGED
package/dist/tr-TR.mjs
CHANGED
package/dist/uk-UA.mjs
CHANGED
|
@@ -23,11 +23,7 @@
|
|
|
23
23
|
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.EuwYBq_i18nFontFamily:lang(zh-SG) {
|
|
27
|
-
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.EuwYBq_i18nFontFamily:lang(zh-CN) {
|
|
26
|
+
.EuwYBq_i18nFontFamily:lang(zh-SG), .EuwYBq_i18nFontFamily:lang(zh-CN) {
|
|
31
27
|
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
|
32
28
|
}
|
|
33
29
|
|
|
@@ -55,13 +51,7 @@
|
|
|
55
51
|
transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
|
|
56
52
|
display: block;
|
|
57
53
|
position: absolute;
|
|
58
|
-
|
|
59
|
-
bottom: 0;
|
|
60
|
-
left: 0;
|
|
61
|
-
right: 0;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.EuwYBq_spectrum-FocusRing {
|
|
54
|
+
inset: 0;
|
|
65
55
|
}
|
|
66
56
|
|
|
67
57
|
.EuwYBq_spectrum-FocusRing.EuwYBq_focus-ring:after {
|
|
@@ -78,6 +68,16 @@
|
|
|
78
68
|
box-shadow: 0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color);
|
|
79
69
|
}
|
|
80
70
|
|
|
71
|
+
@media (forced-colors: active) {
|
|
72
|
+
.EuwYBq_spectrum-FocusRing, .EuwYBq_spectrum-FocusRing-ring, .EuwYBq_spectrum-FocusRing--quiet {
|
|
73
|
+
--spectrum-high-contrast-focus-ring-color: Highlight;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:is(.EuwYBq_spectrum-FocusRing, .EuwYBq_spectrum-FocusRing-ring, .EuwYBq_spectrum-FocusRing--quiet):after {
|
|
77
|
+
forced-color-adjust: none;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
81
|
.EuwYBq_spectrum-Calendar {
|
|
82
82
|
isolation: isolate;
|
|
83
83
|
display: block;
|
|
@@ -153,7 +153,6 @@
|
|
|
153
153
|
|
|
154
154
|
.EuwYBq_spectrum-Calendar-dayOfWeek[title] {
|
|
155
155
|
border-bottom: none;
|
|
156
|
-
-webkit-text-decoration: underline dotted;
|
|
157
156
|
text-decoration: underline dotted;
|
|
158
157
|
}
|
|
159
158
|
|
|
@@ -215,15 +214,7 @@
|
|
|
215
214
|
outline: 0;
|
|
216
215
|
}
|
|
217
216
|
|
|
218
|
-
.EuwYBq_spectrum-Calendar-date:lang(ja) {
|
|
219
|
-
font-size: var(--spectrum-calendar-day-text-size-han, var(--spectrum-global-dimension-font-size-50));
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.EuwYBq_spectrum-Calendar-date:lang(zh) {
|
|
223
|
-
font-size: var(--spectrum-calendar-day-text-size-han, var(--spectrum-global-dimension-font-size-50));
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.EuwYBq_spectrum-Calendar-date:lang(ko) {
|
|
217
|
+
.EuwYBq_spectrum-Calendar-date:lang(ja), .EuwYBq_spectrum-Calendar-date:lang(zh), .EuwYBq_spectrum-Calendar-date:lang(ko) {
|
|
227
218
|
font-size: var(--spectrum-calendar-day-text-size-han, var(--spectrum-global-dimension-font-size-50));
|
|
228
219
|
}
|
|
229
220
|
|
|
@@ -293,7 +284,7 @@
|
|
|
293
284
|
width: calc(100% - var(--margin));
|
|
294
285
|
}
|
|
295
286
|
|
|
296
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start:not(
|
|
287
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))):before {
|
|
297
288
|
left: 0;
|
|
298
289
|
}
|
|
299
290
|
|
|
@@ -309,7 +300,7 @@
|
|
|
309
300
|
right: 0;
|
|
310
301
|
}
|
|
311
302
|
|
|
312
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start:not(
|
|
303
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))):after {
|
|
313
304
|
left: 0;
|
|
314
305
|
}
|
|
315
306
|
|
|
@@ -325,7 +316,7 @@
|
|
|
325
316
|
right: 0;
|
|
326
317
|
}
|
|
327
318
|
|
|
328
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start .EuwYBq_spectrum-Calendar-dateText:not(
|
|
319
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start .EuwYBq_spectrum-Calendar-dateText:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
|
|
329
320
|
left: 0;
|
|
330
321
|
}
|
|
331
322
|
|
|
@@ -341,15 +332,11 @@
|
|
|
341
332
|
right: 0;
|
|
342
333
|
}
|
|
343
334
|
|
|
344
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start:after {
|
|
345
|
-
margin-inline-start: 0;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start .EuwYBq_spectrum-Calendar-dateText {
|
|
335
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start:after, .EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start .EuwYBq_spectrum-Calendar-dateText {
|
|
349
336
|
margin-inline-start: 0;
|
|
350
337
|
}
|
|
351
338
|
|
|
352
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start:not(
|
|
339
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
|
|
353
340
|
border-top-left-radius: var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));
|
|
354
341
|
border-bottom-left-radius: var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));
|
|
355
342
|
left: auto;
|
|
@@ -381,7 +368,7 @@
|
|
|
381
368
|
width: calc(100% - var(--margin));
|
|
382
369
|
}
|
|
383
370
|
|
|
384
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start:not(
|
|
371
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))):before {
|
|
385
372
|
left: 0;
|
|
386
373
|
}
|
|
387
374
|
|
|
@@ -397,7 +384,7 @@
|
|
|
397
384
|
right: 0;
|
|
398
385
|
}
|
|
399
386
|
|
|
400
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start:not(
|
|
387
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))):after {
|
|
401
388
|
left: 0;
|
|
402
389
|
}
|
|
403
390
|
|
|
@@ -413,7 +400,7 @@
|
|
|
413
400
|
right: 0;
|
|
414
401
|
}
|
|
415
402
|
|
|
416
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start .EuwYBq_spectrum-Calendar-dateText:not(
|
|
403
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start .EuwYBq_spectrum-Calendar-dateText:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
|
|
417
404
|
left: 0;
|
|
418
405
|
}
|
|
419
406
|
|
|
@@ -429,15 +416,11 @@
|
|
|
429
416
|
right: 0;
|
|
430
417
|
}
|
|
431
418
|
|
|
432
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start:after {
|
|
419
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start:after, .EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start .EuwYBq_spectrum-Calendar-dateText {
|
|
433
420
|
margin-inline-start: 0;
|
|
434
421
|
}
|
|
435
422
|
|
|
436
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start
|
|
437
|
-
margin-inline-start: 0;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start:not(:-webkit-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
|
|
423
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
|
|
441
424
|
border-top-left-radius: var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));
|
|
442
425
|
border-bottom-left-radius: var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));
|
|
443
426
|
left: auto;
|
|
@@ -469,7 +452,7 @@
|
|
|
469
452
|
width: auto;
|
|
470
453
|
}
|
|
471
454
|
|
|
472
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end:not(
|
|
455
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))):before {
|
|
473
456
|
left: auto;
|
|
474
457
|
right: 0;
|
|
475
458
|
}
|
|
@@ -489,7 +472,7 @@
|
|
|
489
472
|
right: auto;
|
|
490
473
|
}
|
|
491
474
|
|
|
492
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end:not(
|
|
475
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))):after {
|
|
493
476
|
left: auto;
|
|
494
477
|
right: 0;
|
|
495
478
|
}
|
|
@@ -509,7 +492,7 @@
|
|
|
509
492
|
right: auto;
|
|
510
493
|
}
|
|
511
494
|
|
|
512
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end .EuwYBq_spectrum-Calendar-dateText:not(
|
|
495
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end .EuwYBq_spectrum-Calendar-dateText:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
|
|
513
496
|
left: auto;
|
|
514
497
|
right: 0;
|
|
515
498
|
}
|
|
@@ -529,15 +512,11 @@
|
|
|
529
512
|
right: auto;
|
|
530
513
|
}
|
|
531
514
|
|
|
532
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end:after {
|
|
533
|
-
margin-inline-end: 0;
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end .EuwYBq_spectrum-Calendar-dateText {
|
|
515
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end:after, .EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end .EuwYBq_spectrum-Calendar-dateText {
|
|
537
516
|
margin-inline-end: 0;
|
|
538
517
|
}
|
|
539
518
|
|
|
540
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end:not(
|
|
519
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
|
|
541
520
|
border-top-right-radius: var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));
|
|
542
521
|
border-bottom-right-radius: var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));
|
|
543
522
|
left: 0;
|
|
@@ -569,7 +548,7 @@
|
|
|
569
548
|
width: auto;
|
|
570
549
|
}
|
|
571
550
|
|
|
572
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end:not(
|
|
551
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))):before {
|
|
573
552
|
left: auto;
|
|
574
553
|
right: 0;
|
|
575
554
|
}
|
|
@@ -589,7 +568,7 @@
|
|
|
589
568
|
right: auto;
|
|
590
569
|
}
|
|
591
570
|
|
|
592
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end:not(
|
|
571
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))):after {
|
|
593
572
|
left: auto;
|
|
594
573
|
right: 0;
|
|
595
574
|
}
|
|
@@ -609,7 +588,7 @@
|
|
|
609
588
|
right: auto;
|
|
610
589
|
}
|
|
611
590
|
|
|
612
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end .EuwYBq_spectrum-Calendar-dateText:not(
|
|
591
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end .EuwYBq_spectrum-Calendar-dateText:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
|
|
613
592
|
left: auto;
|
|
614
593
|
right: 0;
|
|
615
594
|
}
|
|
@@ -629,15 +608,11 @@
|
|
|
629
608
|
right: auto;
|
|
630
609
|
}
|
|
631
610
|
|
|
632
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end:after {
|
|
633
|
-
margin-inline-end: 0;
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end .EuwYBq_spectrum-Calendar-dateText {
|
|
611
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end:after, .EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end .EuwYBq_spectrum-Calendar-dateText {
|
|
637
612
|
margin-inline-end: 0;
|
|
638
613
|
}
|
|
639
614
|
|
|
640
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end:not(
|
|
615
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
|
|
641
616
|
border-top-right-radius: var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));
|
|
642
617
|
border-bottom-right-radius: var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));
|
|
643
618
|
left: 0;
|
|
@@ -674,12 +649,7 @@
|
|
|
674
649
|
right: 0;
|
|
675
650
|
}
|
|
676
651
|
|
|
677
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start.EuwYBq_is-selection-end:after {
|
|
678
|
-
margin-inline-start: auto;
|
|
679
|
-
margin-inline-end: var(--margin);
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start.EuwYBq_is-selection-end .EuwYBq_spectrum-Calendar-dateText {
|
|
652
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start.EuwYBq_is-selection-end:after, .EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start.EuwYBq_is-selection-end .EuwYBq_spectrum-Calendar-dateText {
|
|
683
653
|
margin-inline-start: auto;
|
|
684
654
|
margin-inline-end: var(--margin);
|
|
685
655
|
}
|
|
@@ -693,12 +663,7 @@
|
|
|
693
663
|
right: 0;
|
|
694
664
|
}
|
|
695
665
|
|
|
696
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start.EuwYBq_is-range-end:after {
|
|
697
|
-
margin-inline-start: auto;
|
|
698
|
-
margin-inline-end: var(--margin);
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start.EuwYBq_is-range-end .EuwYBq_spectrum-Calendar-dateText {
|
|
666
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start.EuwYBq_is-range-end:after, .EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start.EuwYBq_is-range-end .EuwYBq_spectrum-Calendar-dateText {
|
|
702
667
|
margin-inline-start: auto;
|
|
703
668
|
margin-inline-end: var(--margin);
|
|
704
669
|
}
|
|
@@ -712,12 +677,7 @@
|
|
|
712
677
|
right: 0;
|
|
713
678
|
}
|
|
714
679
|
|
|
715
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end.EuwYBq_is-range-start:after {
|
|
716
|
-
margin-inline-start: auto;
|
|
717
|
-
margin-inline-end: var(--margin);
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end.EuwYBq_is-range-start .EuwYBq_spectrum-Calendar-dateText {
|
|
680
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end.EuwYBq_is-range-start:after, .EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end.EuwYBq_is-range-start .EuwYBq_spectrum-Calendar-dateText {
|
|
721
681
|
margin-inline-start: auto;
|
|
722
682
|
margin-inline-end: var(--margin);
|
|
723
683
|
}
|
|
@@ -731,12 +691,7 @@
|
|
|
731
691
|
right: 0;
|
|
732
692
|
}
|
|
733
693
|
|
|
734
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start.EuwYBq_is-range-end:after {
|
|
735
|
-
margin-inline-start: auto;
|
|
736
|
-
margin-inline-end: var(--margin);
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start.EuwYBq_is-range-end .EuwYBq_spectrum-Calendar-dateText {
|
|
694
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start.EuwYBq_is-range-end:after, .EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start.EuwYBq_is-range-end .EuwYBq_spectrum-Calendar-dateText {
|
|
740
695
|
margin-inline-start: auto;
|
|
741
696
|
margin-inline-end: var(--margin);
|
|
742
697
|
}
|
|
@@ -906,19 +861,8 @@
|
|
|
906
861
|
box-shadow: 0 0 0 var(--spectrum-calendar-day-border-size-key-focus, 2px) var(--spectrum-calendar-day-border-color-key-focus, var(--spectrum-alias-focus-color));
|
|
907
862
|
}
|
|
908
863
|
|
|
909
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-disabled {
|
|
910
|
-
--background: var(--spectrum-calendar-day-background-color-disabled, transparent);
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-disabled.EuwYBq_is-today {
|
|
864
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-disabled, .EuwYBq_spectrum-Calendar-date.EuwYBq_is-disabled.EuwYBq_is-today {
|
|
914
865
|
--background: var(--spectrum-calendar-day-background-color-disabled, transparent);
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-disabled {
|
|
918
|
-
color: var(--spectrum-calendar-day-text-color-disabled, var(--spectrum-global-color-gray-500));
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-disabled.EuwYBq_is-today {
|
|
922
866
|
color: var(--spectrum-calendar-day-text-color-disabled, var(--spectrum-global-color-gray-500));
|
|
923
867
|
}
|
|
924
868
|
|
|
@@ -926,17 +870,13 @@
|
|
|
926
870
|
color: var(--spectrum-calendar-day-text-color-disabled, var(--spectrum-global-color-gray-500));
|
|
927
871
|
}
|
|
928
872
|
|
|
929
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-unavailable:not(.EuwYBq_is-selected) {
|
|
930
|
-
--background: transparent;
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-unavailable:not(.EuwYBq_is-selected).EuwYBq_is-today {
|
|
873
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-unavailable:not(.EuwYBq_is-selected), .EuwYBq_spectrum-Calendar-date.EuwYBq_is-unavailable:not(.EuwYBq_is-selected).EuwYBq_is-today {
|
|
934
874
|
--background: transparent;
|
|
935
875
|
}
|
|
936
876
|
|
|
937
877
|
@media (forced-colors: active) {
|
|
938
878
|
.EuwYBq_spectrum-Calendar-date {
|
|
939
|
-
color:
|
|
879
|
+
color: canvastext;
|
|
940
880
|
forced-color-adjust: none;
|
|
941
881
|
--spectrum-calendar-button-icon-color: ButtonText;
|
|
942
882
|
--spectrum-calendar-day-background-color-cap-selected: Highlight;
|
|
@@ -965,17 +905,12 @@
|
|
|
965
905
|
}
|
|
966
906
|
|
|
967
907
|
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection {
|
|
968
|
-
color:
|
|
908
|
+
color: highlighttext;
|
|
969
909
|
}
|
|
970
910
|
|
|
971
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-disabled.EuwYBq_is-range-selection {
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
}
|
|
975
|
-
|
|
976
|
-
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-disabled.EuwYBq_is-selected {
|
|
977
|
-
background: Highlight;
|
|
978
|
-
color: HighlightText;
|
|
911
|
+
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-disabled.EuwYBq_is-range-selection, .EuwYBq_spectrum-Calendar-date.EuwYBq_is-disabled.EuwYBq_is-selected {
|
|
912
|
+
color: highlighttext;
|
|
913
|
+
background: highlight;
|
|
979
914
|
}
|
|
980
915
|
|
|
981
916
|
.EuwYBq_spectrum-Calendar-date.EuwYBq_is-unavailable.EuwYBq_is-today {
|
|
@@ -986,5 +921,4 @@
|
|
|
986
921
|
color: var(--spectrum-calendar-day-today-text-color, var(--spectrum-global-color-gray-800));
|
|
987
922
|
}
|
|
988
923
|
}
|
|
989
|
-
|
|
990
|
-
/*# sourceMappingURL=main.css.map */
|
|
924
|
+
/*# sourceMappingURL=vars.3977de0b.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;EACE;;;;EAIE;;;;;AAMJ;;;;;AAKA;;;;AAIA;;;;;;;;AAQA;;;;;;;;;;;;AAYA;;;;;;;;;;;;AAcA;;;;;AAKA;;;;;AAKA;;;;;;;;AAQA;;;;;;;;;;;;;;AAiBE;;;;;AAWF;;;;AAIA;;;;;;;;;;;AAeA;;;;;;;;;;AASE;;;;AAKF;;;;;;;;;;;;;;;;;AAwBE;;;;;;;;AAQA;;;;AAIA;;;;AAIA;;;;;AAME;;;;AAGE;;;;;;;;;;;;AAcJ;;;;AAKA;;;;;;;;;;;;;;AAiBE;;;;AAMF;;;;;;;;;;;;AAgBA;;;;;;;AAOE;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MA;;;;;AAKA;;;;AAQA;;;;AAOJ;EACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BE;;;;EAIE;;;;;EAWA;;;;EAKA","sources":["packages/@adobe/spectrum-css-temp/components/calendar/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"vars.3977de0b.css.map"}
|
package/dist/zh-CN.mjs
CHANGED
package/dist/zh-TW.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-spectrum/calendar",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.8",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -36,26 +36,26 @@
|
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@internationalized/date": "^3.5.
|
|
40
|
-
"@react-aria/calendar": "^3.5.
|
|
41
|
-
"@react-aria/focus": "^3.
|
|
42
|
-
"@react-aria/i18n": "^3.
|
|
43
|
-
"@react-aria/interactions": "^3.21.
|
|
44
|
-
"@react-aria/utils": "^3.
|
|
45
|
-
"@react-aria/visually-hidden": "^3.8.
|
|
46
|
-
"@react-spectrum/button": "^3.16.
|
|
47
|
-
"@react-spectrum/label": "^3.16.
|
|
48
|
-
"@react-spectrum/utils": "^3.11.
|
|
49
|
-
"@react-stately/calendar": "^3.
|
|
50
|
-
"@react-types/button": "^3.9.
|
|
51
|
-
"@react-types/calendar": "^3.4.
|
|
52
|
-
"@react-types/shared": "^3.
|
|
53
|
-
"@spectrum-icons/ui": "^3.6.
|
|
39
|
+
"@internationalized/date": "^3.5.3",
|
|
40
|
+
"@react-aria/calendar": "^3.5.7",
|
|
41
|
+
"@react-aria/focus": "^3.17.0",
|
|
42
|
+
"@react-aria/i18n": "^3.11.0",
|
|
43
|
+
"@react-aria/interactions": "^3.21.2",
|
|
44
|
+
"@react-aria/utils": "^3.24.0",
|
|
45
|
+
"@react-aria/visually-hidden": "^3.8.11",
|
|
46
|
+
"@react-spectrum/button": "^3.16.3",
|
|
47
|
+
"@react-spectrum/label": "^3.16.5",
|
|
48
|
+
"@react-spectrum/utils": "^3.11.6",
|
|
49
|
+
"@react-stately/calendar": "^3.5.0",
|
|
50
|
+
"@react-types/button": "^3.9.3",
|
|
51
|
+
"@react-types/calendar": "^3.4.5",
|
|
52
|
+
"@react-types/shared": "^3.23.0",
|
|
53
|
+
"@spectrum-icons/ui": "^3.6.6",
|
|
54
54
|
"@swc/helpers": "^0.5.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@adobe/spectrum-css-temp": "3.0.0-alpha.1",
|
|
58
|
-
"@react-spectrum/test-utils": "3.0.0-alpha.1"
|
|
58
|
+
"@react-spectrum/test-utils-internal": "3.0.0-alpha.1"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"@react-spectrum/provider": "^3.0.0",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "f645f29edc1322153fd60af4640cbcab1d992dbd"
|
|
69
69
|
}
|
package/dist/main.css.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;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AAA;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAOA;;;;AAAA;;;;AAjBF;;;;;;;AAAA;;;;;;;AAAA;;;;;;;AAAA;;;;;;;AAuBA;;;;;;;;;AAWE;;;;;AAAA;;;;;AAXF;;;;;;;;;AAWE;;;;;AAAA;;;;;AAXF;;;;;;;;;AAWE;;;;;AAAA;;;;;AAXF;;;;;;;;;AAWE;;;;;AAAA;;;;;AAqBN;;;;AAQA;;;;AAIA;;;;;;;;;;;;;;;;;;AAiBE;;;;AAIA;;;;AAGE;;;;AAKF;;;;;;AAMA;;;;;AAME;;;;AANF;;;;;AAME;;;;AANF;;;;;AAME;;;;AAKF;;;;;AAIE;;;;;AAIE;;;;AAKF;;;;AAIA;;;;;AAME;;;;AANF;;;;;AAME;;;;AANF;;;;;AAME;;;;AAMJ;;;;;AAIE;;;;;AAIE;;;;AAKF;;;;AAIA;;;;;AAME;;;;AANF;;;;;AAME;;;;AANF;;;;;AAME;;;;AAOF;;;;AAMA;;;;AAAA;;;;AAKA;;;;AAAA;;;;AAAA;;;;AAQA;;;;AAAA;;;;AAOJ;EACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BE;;;;EAIE;;;;;EAKA;;;;;EAMA;;;;EAKA","sources":["packages/@adobe/spectrum-css-temp/components/calendar/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.css.map"}
|