@simpli-route/apollo-ds 0.1.51 → 0.1.52
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/components/RangeCalendar/RangeCalendar.d.ts +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs105.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs3.js +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs5.js +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs83.js +1 -1
- package/dist/index.cjs84.js +1 -1
- package/dist/index.cjs86.js +1 -1
- package/dist/index.cjs87.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.es10.js +2 -2
- package/dist/index.es103.js +2 -30
- package/dist/index.es104.js +2 -2
- package/dist/index.es105.js +30 -2
- package/dist/index.es11.js +2 -2
- package/dist/index.es13.js +1 -1
- package/dist/index.es14.js +1 -1
- package/dist/index.es15.js +2 -2
- package/dist/index.es16.js +3 -3
- package/dist/index.es17.js +1 -1
- package/dist/index.es18.js +3 -3
- package/dist/index.es19.js +1 -1
- package/dist/index.es22.js +1 -1
- package/dist/index.es23.js +3 -3
- package/dist/index.es24.js +3 -3
- package/dist/index.es25.js +15 -15
- package/dist/index.es26.js +47 -47
- package/dist/index.es27.js +4 -4
- package/dist/index.es28.js +2 -2
- package/dist/index.es3.js +1 -1
- package/dist/index.es30.js +2 -2
- package/dist/index.es33.js +4 -4
- package/dist/index.es34.js +3 -3
- package/dist/index.es35.js +3 -3
- package/dist/index.es36.js +2 -2
- package/dist/index.es37.js +1 -1
- package/dist/index.es38.js +1 -1
- package/dist/index.es39.js +1 -1
- package/dist/index.es4.js +2 -2
- package/dist/index.es42.js +45 -31
- package/dist/index.es43.js +157 -31
- package/dist/index.es44.js +43 -30
- package/dist/index.es45.js +31 -40
- package/dist/index.es46.js +58 -149
- package/dist/index.es47.js +126 -30
- package/dist/index.es48.js +48 -44
- package/dist/index.es49.js +3 -130
- package/dist/index.es5.js +17 -17
- package/dist/index.es50.js +13 -69
- package/dist/index.es51.js +145 -3
- package/dist/index.es52.js +122 -14
- package/dist/index.es53.js +52 -82
- package/dist/index.es54.js +84 -106
- package/dist/index.es55.js +24 -105
- package/dist/index.es56.js +8 -114
- package/dist/index.es57.js +105 -22
- package/dist/index.es58.js +39 -7
- package/dist/index.es59.js +137 -94
- package/dist/index.es6.js +2 -2
- package/dist/index.es60.js +75 -23
- package/dist/index.es61.js +20 -158
- package/dist/index.es62.js +27 -89
- package/dist/index.es63.js +31 -22
- package/dist/index.es64.js +16 -63
- package/dist/index.es65.js +14 -15
- package/dist/index.es66.js +13 -14
- package/dist/index.es67.js +63 -14
- package/dist/index.es69.js +13 -10
- package/dist/index.es7.js +1 -1
- package/dist/index.es70.js +10 -10
- package/dist/index.es71.js +10 -12
- package/dist/index.es72.js +12 -13
- package/dist/index.es75.js +2 -2
- package/dist/index.es76.js +19 -7
- package/dist/index.es77.js +19 -17
- package/dist/index.es78.js +7 -149
- package/dist/index.es79.js +17 -9
- package/dist/index.es8.js +3 -3
- package/dist/index.es80.js +149 -10
- package/dist/index.es81.js +10 -45
- package/dist/index.es82.js +10 -40
- package/dist/index.es83.js +45 -19
- package/dist/index.es84.js +37 -17
- package/dist/index.es86.js +1 -1
- package/dist/index.es87.js +1 -1
- package/dist/index.es9.js +4 -4
- package/package.json +1 -1
package/dist/index.es15.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as e } from "./index.es40.js";
|
|
2
2
|
import { today as k, getLocalTimeZone as G } from "@internationalized/date";
|
|
3
|
-
import { CalendarIcon as I, LeftChevronIcon as H, RightChevronIcon as z } from "./index.
|
|
3
|
+
import { CalendarIcon as I, LeftChevronIcon as H, RightChevronIcon as z } from "./index.es63.js";
|
|
4
4
|
import { DatePicker as L, Label as P, Group as B, DateInput as w, DateSegment as R, Button as c, FieldError as T, Popover as F, Dialog as Z, Calendar as q, Heading as A, CalendarGrid as J, CalendarGridHeader as K, CalendarHeaderCell as M, CalendarGridBody as O, CalendarCell as Q } from "react-aria-components";
|
|
5
5
|
import { cn as r } from "./index.es41.js";
|
|
6
|
-
import { datepickerLabelVariants as S, datepickerGroupVariants as U, datepickerInputVariants as W, datepickerSegmentVariants as X, datepickerButtonVariants as d, datepickerCaptionVariants as Y, popoverVariants as _, calendarVariants as $, calendarHeaderVariants as E, calendarHeadingVariants as ee, calendarGridVariants as ae, calendarHeaderCellVariants as se, calendarCellVariants as re } from "./index.
|
|
6
|
+
import { datepickerLabelVariants as S, datepickerGroupVariants as U, datepickerInputVariants as W, datepickerSegmentVariants as X, datepickerButtonVariants as d, datepickerCaptionVariants as Y, popoverVariants as _, calendarVariants as $, calendarHeaderVariants as E, calendarHeadingVariants as ee, calendarGridVariants as ae, calendarHeaderCellVariants as se, calendarCellVariants as re } from "./index.es51.js";
|
|
7
7
|
const oe = ({
|
|
8
8
|
label: o,
|
|
9
9
|
size: l = "bodyDefault",
|
package/dist/index.es16.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { j as e } from "./index.es40.js";
|
|
2
|
-
import { DownChevronIcon as O } from "./index.
|
|
2
|
+
import { DownChevronIcon as O } from "./index.es63.js";
|
|
3
3
|
import { forwardRef as F, useState as P } from "react";
|
|
4
4
|
import { useLocale as R } from "react-aria";
|
|
5
5
|
import { Select as _, Button as k, SelectValue as z, FieldError as A, Popover as D, ListBox as G } from "react-aria-components";
|
|
6
6
|
import { cn as s } from "./index.es41.js";
|
|
7
7
|
import "./index.es13.js";
|
|
8
8
|
import { Label as H } from "./index.es14.js";
|
|
9
|
-
import { invisibleInputLabelVariants as J, invisibleInputCaptionVariants as K } from "./index.
|
|
10
|
-
import { invisibleSelectContainerVariants as M, invisibleSelectButtonVariants as Q, invisibleSelectValueVariants as T, invisibleSelectChevronVariants as U, invisibleSelectPopoverVariants as W, invisibleSelectListBoxVariants as X } from "./index.
|
|
9
|
+
import { invisibleInputLabelVariants as J, invisibleInputCaptionVariants as K } from "./index.es57.js";
|
|
10
|
+
import { invisibleSelectContainerVariants as M, invisibleSelectButtonVariants as Q, invisibleSelectValueVariants as T, invisibleSelectChevronVariants as U, invisibleSelectPopoverVariants as W, invisibleSelectListBoxVariants as X } from "./index.es52.js";
|
|
11
11
|
const Y = ({
|
|
12
12
|
size: a = "bodyDefault",
|
|
13
13
|
orientation: o = "vertical",
|
package/dist/index.es17.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as e } from "./index.es40.js";
|
|
2
2
|
import { ListBoxItem as a } from "react-aria-components";
|
|
3
3
|
import { cn as i } from "./index.es41.js";
|
|
4
|
-
import { invisibleSelectItemVariants as c } from "./index.
|
|
4
|
+
import { invisibleSelectItemVariants as c } from "./index.es52.js";
|
|
5
5
|
const j = (r) => {
|
|
6
6
|
const { children: s, textValue: l, ...n } = r, m = l || (typeof s == "string" ? s : void 0);
|
|
7
7
|
return /* @__PURE__ */ e.jsx(
|
package/dist/index.es18.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { j as e } from "./index.es40.js";
|
|
2
|
-
import { ClockIcon as J } from "./index.
|
|
2
|
+
import { ClockIcon as J } from "./index.es63.js";
|
|
3
3
|
import { forwardRef as K, useState as I, useRef as M, useEffect as Q } from "react";
|
|
4
4
|
import { TimeField as S, Group as U, DateInput as W, Button as X, FieldError as Y } from "react-aria-components";
|
|
5
5
|
import { cn as s } from "./index.es41.js";
|
|
6
6
|
import "./index.es13.js";
|
|
7
7
|
import { Label as Z } from "./index.es14.js";
|
|
8
|
-
import { invisibleInputLabelVariants as $, invisibleInputCaptionVariants as q } from "./index.
|
|
8
|
+
import { invisibleInputLabelVariants as $, invisibleInputCaptionVariants as q } from "./index.es57.js";
|
|
9
9
|
import { TimePickerPopover as z } from "./index.es19.js";
|
|
10
10
|
import { TimeSegment as ee } from "./index.es20.js";
|
|
11
|
-
import { invisibleTimeFieldContainerVariants as ie, invisibleTimeFieldGroupVariants as se, invisibleTimeFieldInputVariants as le, timeFieldButtonVariants as ne } from "./index.
|
|
11
|
+
import { invisibleTimeFieldContainerVariants as ie, invisibleTimeFieldGroupVariants as se, invisibleTimeFieldInputVariants as le, timeFieldButtonVariants as ne } from "./index.es53.js";
|
|
12
12
|
const re = K(
|
|
13
13
|
({
|
|
14
14
|
size: l = "bodyDefault",
|
package/dist/index.es19.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useRef as M, useState as P, useCallback as d, useEffect as j } from "re
|
|
|
4
4
|
import { Popover as $, ListBox as k, ListBoxItem as N } from "react-aria-components";
|
|
5
5
|
import { cn as x } from "./index.es41.js";
|
|
6
6
|
import { Button as H } from "./index.es5.js";
|
|
7
|
-
import { timePickerListItemVariants as A } from "./index.
|
|
7
|
+
import { timePickerListItemVariants as A } from "./index.es53.js";
|
|
8
8
|
function U(C) {
|
|
9
9
|
const { isOpen: i, onOpenChange: a, value: r, onChange: h, hourCycle: l = 12, containerRef: K, confirmButtonLabel: R } = C, y = M(null), g = M(null), S = M(null), [s, b] = P((r == null ? void 0 : r.hour) ?? 0), [m, v] = P((r == null ? void 0 : r.minute) ?? 0), V = Array.from({ length: l === 12 ? 12 : 24 }, (e, t) => l === 12 ? t + 1 : t), E = Array.from({ length: 60 }, (e, t) => t), f = l === 12 ? s === 0 ? 12 : s > 12 ? s - 12 : s : s, T = s >= 12 ? "PM" : "AM", [u, L] = P(T), w = d(() => {
|
|
10
10
|
const e = new O(s, m, 0);
|
package/dist/index.es22.js
CHANGED
|
@@ -2,7 +2,7 @@ import { j as e } from "./index.es40.js";
|
|
|
2
2
|
import { forwardRef as x } from "react";
|
|
3
3
|
import { cn as y } from "./index.es41.js";
|
|
4
4
|
import { Loader as f } from "./index.es21.js";
|
|
5
|
-
import { Overlay as u } from "./index.
|
|
5
|
+
import { Overlay as u } from "./index.es70.js";
|
|
6
6
|
const v = (s, a) => {
|
|
7
7
|
const {
|
|
8
8
|
className: l,
|
package/dist/index.es23.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { j as e } from "./index.es40.js";
|
|
2
|
-
import { UpChevronIcon as B, DownChevronIcon as R } from "./index.
|
|
2
|
+
import { UpChevronIcon as B, DownChevronIcon as R } from "./index.es63.js";
|
|
3
3
|
import { forwardRef as U } from "react";
|
|
4
4
|
import { NumberField as _, Group as k, Input as A, Button as d, FieldError as H } from "react-aria-components";
|
|
5
5
|
import { cn as r } from "./index.es41.js";
|
|
6
6
|
import "./index.es13.js";
|
|
7
7
|
import { Label as J } from "./index.es14.js";
|
|
8
|
-
import { invisibleInputContainerVariants as K, invisibleInputLabelVariants as M, invisibleInputCaptionVariants as O } from "./index.
|
|
9
|
-
import { invisibleNumberFieldGroupVariants as P, invisibleNumberFieldVariants as Q, invisibleNumberFieldStepperVariants as t } from "./index.
|
|
8
|
+
import { invisibleInputContainerVariants as K, invisibleInputLabelVariants as M, invisibleInputCaptionVariants as O } from "./index.es57.js";
|
|
9
|
+
import { invisibleNumberFieldGroupVariants as P, invisibleNumberFieldVariants as Q, invisibleNumberFieldStepperVariants as t } from "./index.es54.js";
|
|
10
10
|
const T = U(
|
|
11
11
|
({
|
|
12
12
|
size: l = "bodyDefault",
|
package/dist/index.es24.js
CHANGED
|
@@ -3,9 +3,9 @@ import { NumberField as w, Group as B, Input as E } from "react-aria-components"
|
|
|
3
3
|
import { cn as t } from "./index.es41.js";
|
|
4
4
|
import "./index.es13.js";
|
|
5
5
|
import { Label as G } from "./index.es14.js";
|
|
6
|
-
import { CaptionNumberField as S } from "./index.
|
|
7
|
-
import { StepperButton as V } from "./index.
|
|
8
|
-
import { inputNumberVariant as _ } from "./index.
|
|
6
|
+
import { CaptionNumberField as S } from "./index.es71.js";
|
|
7
|
+
import { StepperButton as V } from "./index.es72.js";
|
|
8
|
+
import { inputNumberVariant as _ } from "./index.es54.js";
|
|
9
9
|
const K = ({
|
|
10
10
|
size: o = "sm",
|
|
11
11
|
label: i,
|
package/dist/index.es25.js
CHANGED
|
@@ -3,43 +3,43 @@ import { motion as D } from "framer-motion";
|
|
|
3
3
|
import { ProgressBar as I } from "react-aria-components";
|
|
4
4
|
import "react";
|
|
5
5
|
import { cn as s } from "./index.es41.js";
|
|
6
|
+
import "./index.es42.js";
|
|
6
7
|
import "./index.es43.js";
|
|
7
|
-
import "./index.
|
|
8
|
-
import "./index.es45.js";
|
|
8
|
+
import "./index.es44.js";
|
|
9
9
|
import "react-aria";
|
|
10
|
-
import "./index.
|
|
10
|
+
import "./index.es45.js";
|
|
11
11
|
import "@react-stately/color";
|
|
12
|
+
import "./index.es46.js";
|
|
13
|
+
import "./index.es47.js";
|
|
12
14
|
import "./index.es48.js";
|
|
13
|
-
import "./index.es49.js";
|
|
14
|
-
import "./index.es50.js";
|
|
15
15
|
import "./index.es13.js";
|
|
16
16
|
import { Label as M } from "./index.es14.js";
|
|
17
17
|
import { Tooltip as S } from "./index.es36.js";
|
|
18
18
|
import { TooltipTrigger as $ } from "./index.es37.js";
|
|
19
|
-
import "./index.
|
|
19
|
+
import "./index.es50.js";
|
|
20
20
|
import "./index.es12.js";
|
|
21
21
|
import "@internationalized/date";
|
|
22
|
-
import "./index.
|
|
22
|
+
import "./index.es51.js";
|
|
23
23
|
import "./index.es16.js";
|
|
24
|
-
import "./index.
|
|
24
|
+
import "./index.es52.js";
|
|
25
25
|
import "./index.es18.js";
|
|
26
|
-
import "./index.
|
|
26
|
+
import "./index.es53.js";
|
|
27
27
|
import "./index.es22.js";
|
|
28
28
|
import "./index.es23.js";
|
|
29
|
+
import "./index.es54.js";
|
|
30
|
+
import { progressBarVariants as k, progressFillVariants as z } from "./index.es55.js";
|
|
29
31
|
import "./index.es56.js";
|
|
30
|
-
import
|
|
32
|
+
import "./index.es57.js";
|
|
31
33
|
import "./index.es58.js";
|
|
32
|
-
import "./index.es59.js";
|
|
33
|
-
import "./index.es60.js";
|
|
34
34
|
import "./index.es28.js";
|
|
35
|
-
import "./index.
|
|
35
|
+
import "./index.es59.js";
|
|
36
36
|
import "./index.es31.js";
|
|
37
37
|
import "./index.es32.js";
|
|
38
38
|
import "./index.es33.js";
|
|
39
|
-
import "./index.
|
|
39
|
+
import "./index.es60.js";
|
|
40
40
|
import "./index.es35.js";
|
|
41
41
|
import { Text as d } from "./index.es38.js";
|
|
42
|
-
import "./index.
|
|
42
|
+
import "./index.es61.js";
|
|
43
43
|
const Tt = (f) => {
|
|
44
44
|
const {
|
|
45
45
|
className: h,
|
package/dist/index.es26.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { j as e } from "./index.es40.js";
|
|
2
|
-
import { isSameMonth as
|
|
3
|
-
import { LeftChevronIcon as
|
|
4
|
-
import { useLocale as
|
|
5
|
-
import { RangeCalendar as
|
|
6
|
-
import { cn as
|
|
7
|
-
import { rangeCalendarHeaderVariants as
|
|
8
|
-
const
|
|
9
|
-
if (!
|
|
2
|
+
import { isSameMonth as L, isSameDay as m, getDayOfWeek as z, startOfMonth as O, getLocalTimeZone as V } from "@internationalized/date";
|
|
3
|
+
import { LeftChevronIcon as B, RightChevronIcon as E } from "./index.es63.js";
|
|
4
|
+
import { useLocale as G } from "react-aria";
|
|
5
|
+
import { RangeCalendar as I, Button as N, CalendarGrid as F, CalendarGridHeader as T, CalendarHeaderCell as U, CalendarGridBody as k, RangeCalendarStateContext as j, CalendarCell as A } from "react-aria-components";
|
|
6
|
+
import { cn as g } from "./index.es41.js";
|
|
7
|
+
import { rangeCalendarHeaderVariants as D, rangeCalendarButtonVariants as R, rangeCalendarHeaderCellVariants as W, rangeCalendarHeadingVariants as Z } from "./index.es56.js";
|
|
8
|
+
const _ = ({ monthOffset: d, locale: o }) => /* @__PURE__ */ e.jsx(j.Consumer, { children: (a) => {
|
|
9
|
+
if (!a)
|
|
10
10
|
return null;
|
|
11
|
-
const u =
|
|
11
|
+
const u = a.visibleRange.start, f = O(u).add({ months: d }).toDate(V()).toLocaleDateString(o, {
|
|
12
12
|
month: "long",
|
|
13
13
|
year: "numeric"
|
|
14
14
|
});
|
|
15
|
-
return /* @__PURE__ */ e.jsx("h2", { className:
|
|
16
|
-
} }),
|
|
17
|
-
className:
|
|
15
|
+
return /* @__PURE__ */ e.jsx("h2", { className: g(Z(), "lowercase first-letter:uppercase"), children: f });
|
|
16
|
+
} }), ee = ({
|
|
17
|
+
className: d,
|
|
18
18
|
visibleDuration: o = { months: 2 },
|
|
19
|
-
firstDayOfWeek:
|
|
19
|
+
firstDayOfWeek: a = "sun",
|
|
20
20
|
pageBehavior: u = "visible",
|
|
21
|
-
...
|
|
21
|
+
...y
|
|
22
22
|
}) => {
|
|
23
|
-
const f = (o == null ? void 0 : o.months) || 2, x = Array.from({ length: f }, (r, n) => n), { locale:
|
|
23
|
+
const f = (o == null ? void 0 : o.months) || 2, x = Array.from({ length: f }, (r, n) => n), { locale: v = "en-US" } = G(), C = typeof a == "number" ? a : {
|
|
24
24
|
sun: 0,
|
|
25
25
|
mon: 1,
|
|
26
26
|
tue: 2,
|
|
@@ -28,61 +28,61 @@ const J = ({ monthOffset: m, locale: o }) => /* @__PURE__ */ e.jsx(y.Consumer, {
|
|
|
28
28
|
thu: 4,
|
|
29
29
|
fri: 5,
|
|
30
30
|
sat: 6
|
|
31
|
-
}[
|
|
31
|
+
}[a] ?? 0, b = (C + 6) % 7;
|
|
32
32
|
return /* @__PURE__ */ e.jsx(
|
|
33
|
-
|
|
33
|
+
I,
|
|
34
34
|
{
|
|
35
|
-
className:
|
|
35
|
+
className: g("rounded bg-neutral-50 px-2.5 py-2", d),
|
|
36
36
|
style: { boxShadow: "0px 0px 4px 0px #00000040" },
|
|
37
37
|
visibleDuration: o,
|
|
38
|
-
firstDayOfWeek:
|
|
38
|
+
firstDayOfWeek: a,
|
|
39
39
|
pageBehavior: u,
|
|
40
|
-
...
|
|
40
|
+
...y,
|
|
41
41
|
children: /* @__PURE__ */ e.jsx("div", { className: "flex items-start gap-8 overflow-auto", children: x.map((r) => /* @__PURE__ */ e.jsxs("div", { className: "flex min-w-[280px] flex-col", children: [
|
|
42
|
-
/* @__PURE__ */ e.jsxs("header", { className:
|
|
43
|
-
r === 0 && /* @__PURE__ */ e.jsx(N, { slot: "previous", className:
|
|
42
|
+
/* @__PURE__ */ e.jsxs("header", { className: D(), children: [
|
|
43
|
+
r === 0 && /* @__PURE__ */ e.jsx(N, { slot: "previous", className: R(), children: /* @__PURE__ */ e.jsx(B, { className: "size-5" }) }),
|
|
44
44
|
r !== 0 && /* @__PURE__ */ e.jsx("div", { className: "w-8" }),
|
|
45
|
-
/* @__PURE__ */ e.jsx(
|
|
46
|
-
r === x.length - 1 && /* @__PURE__ */ e.jsx(N, { slot: "next", className:
|
|
45
|
+
/* @__PURE__ */ e.jsx(_, { monthOffset: r, locale: v }),
|
|
46
|
+
r === x.length - 1 && /* @__PURE__ */ e.jsx(N, { slot: "next", className: R(), children: /* @__PURE__ */ e.jsx(E, { className: "size-5" }) }),
|
|
47
47
|
r !== x.length - 1 && /* @__PURE__ */ e.jsx("div", { className: "w-8" })
|
|
48
48
|
] }),
|
|
49
|
-
/* @__PURE__ */ e.jsxs(
|
|
50
|
-
/* @__PURE__ */ e.jsx(
|
|
51
|
-
/* @__PURE__ */ e.jsx(
|
|
52
|
-
if (!
|
|
49
|
+
/* @__PURE__ */ e.jsxs(F, { offset: r > 0 ? { months: r } : void 0, children: [
|
|
50
|
+
/* @__PURE__ */ e.jsx(T, { children: (n) => /* @__PURE__ */ e.jsx(U, { className: W(), children: n }) }),
|
|
51
|
+
/* @__PURE__ */ e.jsx(k, { children: (n) => /* @__PURE__ */ e.jsx(j.Consumer, { children: (l) => {
|
|
52
|
+
if (!l)
|
|
53
53
|
return null;
|
|
54
|
-
const
|
|
54
|
+
const w = l.visibleRange.start.add(r > 0 ? { months: r } : {}), M = !L(w, n);
|
|
55
55
|
return /* @__PURE__ */ e.jsx(
|
|
56
|
-
|
|
56
|
+
A,
|
|
57
57
|
{
|
|
58
58
|
date: n,
|
|
59
|
-
className: ({ isSelected:
|
|
60
|
-
const
|
|
61
|
-
return
|
|
59
|
+
className: ({ isSelected: t, isDisabled: i, isFocusVisible: p }) => {
|
|
60
|
+
const s = l.highlightedRange ? m(n, l.highlightedRange.start) : t, c = l.highlightedRange ? m(n, l.highlightedRange.end) : t, h = z(n, "en-US"), S = t && (s || h === C || n.day === 1), H = t && (c || h === b || n.day === n.calendar.getDaysInMonth(n));
|
|
61
|
+
return g(
|
|
62
62
|
"relative my-[1.5px] flex h-10 w-10 items-center justify-center outline-none",
|
|
63
63
|
p ? "z-10" : "z-0",
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
S && "rounded-l-full",
|
|
65
|
+
H && "rounded-r-full",
|
|
66
|
+
t && "bg-primary-100",
|
|
67
67
|
M && "invisible",
|
|
68
|
-
|
|
68
|
+
i && "cursor-not-allowed text-neutral-400"
|
|
69
69
|
);
|
|
70
70
|
},
|
|
71
|
-
children: ({ isSelected:
|
|
72
|
-
if (!
|
|
71
|
+
children: ({ isSelected: t, isDisabled: i, isFocusVisible: p }) => /* @__PURE__ */ e.jsx(j.Consumer, { children: (s) => {
|
|
72
|
+
if (!s)
|
|
73
73
|
return null;
|
|
74
|
-
const
|
|
74
|
+
const c = s.highlightedRange ? m(n, s.highlightedRange.start) : t, h = s.highlightedRange ? m(n, s.highlightedRange.end) : t;
|
|
75
75
|
return /* @__PURE__ */ e.jsx(
|
|
76
76
|
"div",
|
|
77
77
|
{
|
|
78
|
-
className:
|
|
78
|
+
className: g(
|
|
79
79
|
"flex h-full w-full items-center justify-center rounded-full text-sm font-normal",
|
|
80
|
-
|
|
80
|
+
i && "text-neutral-400",
|
|
81
81
|
p && "ring-2 ring-blue-600 ring-offset-2",
|
|
82
|
-
(
|
|
83
|
-
|
|
84
|
-
!
|
|
85
|
-
!
|
|
82
|
+
(c || h) && "bg-primary-500 text-neutral-50 hover:bg-primary-600",
|
|
83
|
+
t && !(c || h) && "text-neutral-900 hover:bg-primary-200",
|
|
84
|
+
!t && !i && "hover:bg-neutral-200",
|
|
85
|
+
!i && "cursor-pointer"
|
|
86
86
|
),
|
|
87
87
|
children: n.day
|
|
88
88
|
}
|
|
@@ -97,5 +97,5 @@ const J = ({ monthOffset: m, locale: o }) => /* @__PURE__ */ e.jsx(y.Consumer, {
|
|
|
97
97
|
);
|
|
98
98
|
};
|
|
99
99
|
export {
|
|
100
|
-
|
|
100
|
+
ee as RangeCalendar
|
|
101
101
|
};
|
package/dist/index.es27.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { j as s } from "./index.es40.js";
|
|
2
|
-
import { SearchIcon as P, CrossIcon as y } from "./index.
|
|
2
|
+
import { SearchIcon as P, CrossIcon as y } from "./index.es63.js";
|
|
3
3
|
import { useMemo as z } from "react";
|
|
4
4
|
import { ComboBox as D, Input as H, Text as R, FieldError as E, Popover as O, ListBox as F, ListBoxItem as M } from "react-aria-components";
|
|
5
5
|
import { cn as S } from "./index.es41.js";
|
|
6
|
-
import { useDebouncedValue as _ } from "./index.
|
|
6
|
+
import { useDebouncedValue as _ } from "./index.es69.js";
|
|
7
7
|
import { IconButton as T } from "./index.es12.js";
|
|
8
8
|
import "./index.es13.js";
|
|
9
9
|
import { Label as $ } from "./index.es14.js";
|
|
10
|
-
import { inputVariants as k } from "./index.
|
|
11
|
-
import { popoverVariants as q, searchOptionVariants as A } from "./index.
|
|
10
|
+
import { inputVariants as k } from "./index.es57.js";
|
|
11
|
+
import { popoverVariants as q, searchOptionVariants as A } from "./index.es58.js";
|
|
12
12
|
const te = (i) => {
|
|
13
13
|
const {
|
|
14
14
|
label: n,
|
package/dist/index.es28.js
CHANGED
|
@@ -4,9 +4,9 @@ import { useFilter as w, Select as G, Popover as H } from "react-aria-components
|
|
|
4
4
|
import { cn as c } from "./index.es41.js";
|
|
5
5
|
import "./index.es13.js";
|
|
6
6
|
import { Label as J } from "./index.es14.js";
|
|
7
|
-
import { PopoverContent as K } from "./index.
|
|
7
|
+
import { PopoverContent as K } from "./index.es67.js";
|
|
8
8
|
import { SelectContent as Q } from "./index.es75.js";
|
|
9
|
-
import { selectInputPopoverVariants as U } from "./index.
|
|
9
|
+
import { selectInputPopoverVariants as U } from "./index.es46.js";
|
|
10
10
|
const W = (S, b) => {
|
|
11
11
|
const {
|
|
12
12
|
label: p,
|
package/dist/index.es3.js
CHANGED
package/dist/index.es30.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as c } from "./index.es40.js";
|
|
2
|
-
import { CheckIcon as h } from "./index.
|
|
2
|
+
import { CheckIcon as h } from "./index.es63.js";
|
|
3
3
|
import { useState as j } from "react";
|
|
4
4
|
import { Button as S } from "react-aria-components";
|
|
5
5
|
import { cn as k } from "./index.es41.js";
|
|
6
|
-
import { statusChipVariants as I } from "./index.
|
|
6
|
+
import { statusChipVariants as I } from "./index.es59.js";
|
|
7
7
|
const F = ({
|
|
8
8
|
size: m = "sm",
|
|
9
9
|
label: n,
|
package/dist/index.es33.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { j as n } from "./index.es40.js";
|
|
2
|
-
import { CheckIcon as I } from "./index.
|
|
2
|
+
import { CheckIcon as I } from "./index.es63.js";
|
|
3
3
|
import { motion as f } from "framer-motion";
|
|
4
4
|
import { useRef as k } from "react";
|
|
5
5
|
import { useButton as D, useHover as V } from "react-aria";
|
|
6
|
-
import z from "./index.
|
|
7
|
-
import B from "./index.
|
|
6
|
+
import z from "./index.es78.js";
|
|
7
|
+
import B from "./index.es79.js";
|
|
8
8
|
import { cn as H } from "./index.es41.js";
|
|
9
|
-
import { stepVariants as R, iconVariants as $, labelVariants as E } from "./index.
|
|
9
|
+
import { stepVariants as R, iconVariants as $, labelVariants as E } from "./index.es80.js";
|
|
10
10
|
const c = z(B), x = (s, e) => typeof s == "function" ? /* @__PURE__ */ n.jsx(s, { step: e || 0 }) : s, C = (s) => {
|
|
11
11
|
var t, r, o, a, i;
|
|
12
12
|
const e = (t = c == null ? void 0 : c.theme) == null ? void 0 : t.colors;
|
package/dist/index.es34.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as o } from "./index.es40.js";
|
|
2
2
|
import { Switch as u } from "react-aria-components";
|
|
3
3
|
import { cn as c } from "./index.es41.js";
|
|
4
|
-
import { ContentSwitch as L } from "./index.
|
|
5
|
-
import { SwitchIndicator as v } from "./index.
|
|
6
|
-
import { switchVariants as b } from "./index.
|
|
4
|
+
import { ContentSwitch as L } from "./index.es76.js";
|
|
5
|
+
import { SwitchIndicator as v } from "./index.es77.js";
|
|
6
|
+
import { switchVariants as b } from "./index.es60.js";
|
|
7
7
|
const E = ({
|
|
8
8
|
children: f,
|
|
9
9
|
label: m,
|
package/dist/index.es35.js
CHANGED
|
@@ -3,9 +3,9 @@ import { useRef as b } from "react";
|
|
|
3
3
|
import { useTabList as d } from "react-aria";
|
|
4
4
|
import { useTabListState as u, Item as N } from "react-stately";
|
|
5
5
|
import { cn as e } from "./index.es41.js";
|
|
6
|
-
import { Tab as j } from "./index.
|
|
7
|
-
import { TabPanel as h } from "./index.
|
|
8
|
-
import { tabsVariants as T } from "./index.
|
|
6
|
+
import { Tab as j } from "./index.es81.js";
|
|
7
|
+
import { TabPanel as h } from "./index.es82.js";
|
|
8
|
+
import { tabsVariants as T } from "./index.es83.js";
|
|
9
9
|
const v = (a) => {
|
|
10
10
|
var l;
|
|
11
11
|
const {
|
package/dist/index.es36.js
CHANGED
|
@@ -2,8 +2,8 @@ import { j as s } from "./index.es40.js";
|
|
|
2
2
|
import { forwardRef as f, useContext as u } from "react";
|
|
3
3
|
import { useTooltip as T, mergeProps as h } from "react-aria";
|
|
4
4
|
import { cn as e } from "./index.es41.js";
|
|
5
|
-
import { TooltipContext as j } from "./index.
|
|
6
|
-
import { tooltipVariants as N } from "./index.
|
|
5
|
+
import { TooltipContext as j } from "./index.es49.js";
|
|
6
|
+
import { tooltipVariants as N } from "./index.es84.js";
|
|
7
7
|
const P = f((p, i) => {
|
|
8
8
|
const { placement: l = "bottom", className: m, mode: o = "dark", supportText: t, children: a, ...r } = p, { state: n, ...c } = u(j), { tooltipProps: x } = T(r, n), d = e(N({ placement: l, mode: o, hasSupportText: !!t }), m);
|
|
9
9
|
return /* @__PURE__ */ s.jsxs("span", { className: d, ...h(r, x, c), ref: i, children: [
|
package/dist/index.es37.js
CHANGED
|
@@ -3,7 +3,7 @@ import { useRef as a, Children as f, cloneElement as u } from "react";
|
|
|
3
3
|
import { useTooltipTrigger as T } from "react-aria";
|
|
4
4
|
import { useTooltipTriggerState as h } from "react-stately";
|
|
5
5
|
import { cn as x } from "./index.es41.js";
|
|
6
|
-
import { TooltipContext as d } from "./index.
|
|
6
|
+
import { TooltipContext as d } from "./index.es49.js";
|
|
7
7
|
const w = (e) => {
|
|
8
8
|
const { children: r, isDisabled: s, trigger: l, className: n } = e, t = h(e), o = a(null), { triggerProps: g, tooltipProps: m } = T({ isDisabled: s, trigger: l }, t, o), [c, p] = f.toArray(r);
|
|
9
9
|
if (!Array.isArray(r) || r.length > 2)
|
package/dist/index.es38.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as m } from "./index.es40.js";
|
|
2
2
|
import { cn as n } from "./index.es41.js";
|
|
3
|
-
import { textVariants as a } from "./index.
|
|
3
|
+
import { textVariants as a } from "./index.es61.js";
|
|
4
4
|
function x(t) {
|
|
5
5
|
const { children: s, type: o = "body", className: r } = t, e = n(a({ type: o }), r);
|
|
6
6
|
return /* @__PURE__ */ m.jsx("p", { className: e, children: s });
|
package/dist/index.es39.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as m } from "./index.es40.js";
|
|
2
2
|
import { cn as c } from "./index.es41.js";
|
|
3
|
-
import { titleVariants as l } from "./index.
|
|
3
|
+
import { titleVariants as l } from "./index.es61.js";
|
|
4
4
|
function j(s) {
|
|
5
5
|
const { children: e, type: t = "h1", size: r = t, className: i, ...o } = s, n = t, a = c(l({ size: r }), i);
|
|
6
6
|
return /* @__PURE__ */ m.jsx(n, { className: a, ...o, children: e });
|
package/dist/index.es4.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as r } from "./index.es40.js";
|
|
2
|
-
import { LeftArrowIcon as m } from "./index.
|
|
2
|
+
import { LeftArrowIcon as m } from "./index.es63.js";
|
|
3
3
|
import { Breadcrumbs as C, Breadcrumb as F, Link as f } from "react-aria-components";
|
|
4
4
|
import { cn as s } from "./index.es41.js";
|
|
5
|
-
import { breadcrumbsContainerVariants as V, breadcrumbItemVariants as o, breadcrumbSeparatorVariants as y } from "./index.
|
|
5
|
+
import { breadcrumbsContainerVariants as V, breadcrumbItemVariants as o, breadcrumbSeparatorVariants as y } from "./index.es42.js";
|
|
6
6
|
const S = ({
|
|
7
7
|
items: a = [],
|
|
8
8
|
className: h,
|
package/dist/index.es42.js
CHANGED
|
@@ -1,33 +1,47 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { cva as e } from "class-variance-authority";
|
|
2
|
+
const t = e("flex items-center gap-0.5", {
|
|
3
|
+
variants: {},
|
|
4
|
+
defaultVariants: {}
|
|
5
|
+
}), a = e(
|
|
6
|
+
"inline-flex items-center gap-1 py-1 px-2 rounded text-xs font-semibold text-blue-700 outline-none transition-colors duration-200",
|
|
7
|
+
{
|
|
8
|
+
variants: {
|
|
9
|
+
isHovered: {
|
|
10
|
+
true: "text-blue-500",
|
|
11
|
+
false: ""
|
|
12
|
+
},
|
|
13
|
+
isFocusVisible: {
|
|
14
|
+
true: "border border-primary-500 text-blue-500",
|
|
15
|
+
false: "border border-transparent"
|
|
16
|
+
},
|
|
17
|
+
isCurrent: {
|
|
18
|
+
true: "cursor-default text-blue-400",
|
|
19
|
+
false: "cursor-pointer"
|
|
20
|
+
},
|
|
21
|
+
isDisabled: {
|
|
22
|
+
true: "!cursor-not-allowed !text-neutral-600",
|
|
23
|
+
false: ""
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
compoundVariants: [
|
|
27
|
+
{
|
|
28
|
+
isHovered: !0,
|
|
29
|
+
isCurrent: !1,
|
|
30
|
+
class: "text-blue-500"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
defaultVariants: {
|
|
34
|
+
isHovered: !1,
|
|
35
|
+
isFocusVisible: !1,
|
|
36
|
+
isCurrent: !1
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
), s = e("text-neutral-700 font-normal text-sm", {
|
|
40
|
+
variants: {},
|
|
41
|
+
defaultVariants: {}
|
|
42
|
+
});
|
|
17
43
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
b as CrossCircleIcon,
|
|
22
|
-
j as CrossIcon,
|
|
23
|
-
q as DownChevronIcon,
|
|
24
|
-
y as InfoIcon,
|
|
25
|
-
z as LeftArrowIcon,
|
|
26
|
-
B as LeftChevronIcon,
|
|
27
|
-
E as MinusIcon,
|
|
28
|
-
F as OptionsIcon,
|
|
29
|
-
G as PlusIcon,
|
|
30
|
-
H as RightChevronIcon,
|
|
31
|
-
J as SearchIcon,
|
|
32
|
-
K as UpChevronIcon
|
|
44
|
+
a as breadcrumbItemVariants,
|
|
45
|
+
s as breadcrumbSeparatorVariants,
|
|
46
|
+
t as breadcrumbsContainerVariants
|
|
33
47
|
};
|