@simpli-route/apollo-ds 0.1.50 → 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 +12 -0
- package/dist/components/RangeCalendar/index.d.ts +2 -0
- package/dist/components/RangeCalendar/types.d.ts +28 -0
- package/dist/components/RangeCalendar/variants.d.ts +4 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs100.js +1 -1
- package/dist/index.cjs101.js +1 -1
- package/dist/index.cjs102.js +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs104.js +1 -1
- package/dist/index.cjs105.js +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs108.js +1 -1
- package/dist/index.cjs109.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs110.js +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs112.js +1 -1
- package/dist/index.cjs113.js +1 -1
- package/dist/index.cjs114.js +1 -1
- package/dist/index.cjs115.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs118.js +1 -1
- package/dist/index.cjs119.js +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs120.js +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs124.js +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs126.js +1 -1
- package/dist/index.cjs127.js +1 -1
- package/dist/index.cjs128.js +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs130.js +1 -1
- package/dist/index.cjs131.js +1 -1
- package/dist/index.cjs132.js +1 -1
- package/dist/index.cjs133.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs145.js +1 -1
- package/dist/index.cjs146.js +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs154.js +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs169.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs170.js +1 -0
- package/dist/index.cjs171.js +1 -0
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs2.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs21.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.cjs29.js +1 -1
- package/dist/index.cjs3.js +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs32.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.cjs40.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.cjs68.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.cjs73.js +1 -1
- package/dist/index.cjs74.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 -9
- package/dist/index.cjs85.js +1 -19
- package/dist/index.cjs86.js +9 -1
- package/dist/index.cjs87.js +19 -1
- package/dist/index.cjs88.js +1 -1
- package/dist/index.cjs89.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.cjs90.js +1 -1
- package/dist/index.cjs91.js +1 -1
- package/dist/index.cjs92.js +1 -1
- package/dist/index.cjs93.js +1 -1
- package/dist/index.cjs94.js +1 -1
- package/dist/index.cjs95.js +1 -1
- package/dist/index.cjs96.js +1 -1
- package/dist/index.cjs97.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.es.js +45 -43
- package/dist/index.es10.js +3 -3
- package/dist/index.es100.js +10 -10
- package/dist/index.es101.js +19 -2
- package/dist/index.es102.js +19 -2
- package/dist/index.es103.js +2 -30
- package/dist/index.es104.js +2 -57
- package/dist/index.es105.js +30 -4
- package/dist/index.es106.js +58 -27
- package/dist/index.es107.js +4 -2
- package/dist/index.es108.js +28 -10
- package/dist/index.es109.js +2 -340
- package/dist/index.es11.js +5 -5
- package/dist/index.es110.js +8 -166
- package/dist/index.es111.js +338 -186
- package/dist/index.es112.js +164 -47
- package/dist/index.es113.js +190 -4
- package/dist/index.es114.js +51 -4
- package/dist/index.es115.js +4 -21
- package/dist/index.es117.js +20 -44
- package/dist/index.es118.js +2 -5
- package/dist/index.es119.js +43 -5
- package/dist/index.es12.js +2 -2
- package/dist/index.es120.js +7 -27
- package/dist/index.es121.js +7 -192
- package/dist/index.es122.js +20 -9
- package/dist/index.es123.js +187 -348
- package/dist/index.es124.js +10 -18
- package/dist/index.es125.js +347 -13
- package/dist/index.es126.js +15 -145
- package/dist/index.es127.js +11 -9
- package/dist/index.es128.js +148 -11
- package/dist/index.es129.js +13 -207
- package/dist/index.es13.js +2 -2
- package/dist/index.es130.js +13 -64
- package/dist/index.es131.js +207 -10
- package/dist/index.es132.js +68 -4
- package/dist/index.es133.js +14 -4
- package/dist/index.es134.js +2 -2
- package/dist/index.es135.js +2 -2
- package/dist/index.es136.js +2 -2
- package/dist/index.es137.js +2 -2
- package/dist/index.es138.js +2 -2
- package/dist/index.es139.js +2 -2
- package/dist/index.es14.js +4 -4
- package/dist/index.es140.js +2 -2
- package/dist/index.es141.js +2 -2
- package/dist/index.es142.js +2 -2
- package/dist/index.es143.js +2 -2
- package/dist/index.es144.js +2 -1063
- package/dist/index.es145.js +4 -77
- package/dist/index.es146.js +1063 -2
- package/dist/index.es147.js +77 -59
- package/dist/index.es148.js +4 -20
- package/dist/index.es149.js +57 -2
- package/dist/index.es15.js +3 -3
- package/dist/index.es150.js +15 -56
- package/dist/index.es151.js +2 -2
- package/dist/index.es152.js +57 -10
- package/dist/index.es153.js +4 -311
- package/dist/index.es154.js +8 -20
- package/dist/index.es155.js +311 -4
- package/dist/index.es156.js +26 -4
- package/dist/index.es158.js +4 -94
- package/dist/index.es159.js +2 -2
- package/dist/index.es16.js +4 -4
- package/dist/index.es160.js +94 -10
- package/dist/index.es161.js +4 -28
- package/dist/index.es162.js +8 -2
- package/dist/index.es163.js +24 -47
- package/dist/index.es164.js +4 -19
- package/dist/index.es165.js +51 -4
- package/dist/index.es166.js +19 -4
- package/dist/index.es167.js +4 -753
- package/dist/index.es168.js +2 -2
- package/dist/index.es169.js +753 -4
- package/dist/index.es17.js +2 -2
- package/dist/index.es170.js +4 -0
- package/dist/index.es171.js +4 -0
- package/dist/index.es18.js +4 -4
- package/dist/index.es19.js +2 -2
- package/dist/index.es2.js +1 -1
- package/dist/index.es20.js +1 -1
- package/dist/index.es21.js +1 -1
- package/dist/index.es22.js +2 -2
- package/dist/index.es23.js +4 -4
- package/dist/index.es24.js +4 -4
- package/dist/index.es25.js +25 -24
- package/dist/index.es26.js +97 -74
- package/dist/index.es27.js +71 -89
- package/dist/index.es28.js +93 -77
- package/dist/index.es29.js +74 -44
- package/dist/index.es3.js +2 -2
- package/dist/index.es30.js +48 -48
- package/dist/index.es31.js +48 -3
- package/dist/index.es32.js +3 -100
- package/dist/index.es33.js +99 -77
- package/dist/index.es34.js +76 -43
- package/dist/index.es35.js +40 -19
- package/dist/index.es36.js +21 -25
- package/dist/index.es37.js +28 -8
- package/dist/index.es38.js +7 -7
- package/dist/index.es39.js +8 -6
- package/dist/index.es4.js +2 -2
- package/dist/index.es40.js +6 -31
- package/dist/index.es43.js +167 -30
- package/dist/index.es44.js +43 -18
- package/dist/index.es45.js +33 -16
- package/dist/index.es46.js +79 -15
- package/dist/index.es47.js +128 -63
- package/dist/index.es48.js +48 -44
- package/dist/index.es49.js +3 -130
- package/dist/index.es5.js +25 -24
- package/dist/index.es50.js +18 -107
- package/dist/index.es51.js +128 -154
- package/dist/index.es52.js +116 -23
- package/dist/index.es53.js +90 -59
- package/dist/index.es54.js +114 -3
- package/dist/index.es55.js +31 -25
- package/dist/index.es56.js +7 -144
- package/dist/index.es57.js +84 -103
- package/dist/index.es58.js +22 -97
- package/dist/index.es59.js +131 -85
- package/dist/index.es6.js +3 -3
- package/dist/index.es60.js +86 -28
- package/dist/index.es61.js +21 -39
- package/dist/index.es62.js +29 -159
- package/dist/index.es63.js +31 -92
- package/dist/index.es64.js +17 -21
- package/dist/index.es65.js +14 -27
- package/dist/index.es66.js +16 -163
- package/dist/index.es67.js +65 -13
- package/dist/index.es68.js +161 -86
- package/dist/index.es69.js +13 -10
- package/dist/index.es7.js +2 -2
- package/dist/index.es70.js +10 -10
- package/dist/index.es71.js +10 -12
- package/dist/index.es72.js +12 -101
- package/dist/index.es73.js +100 -12
- package/dist/index.es74.js +12 -39
- package/dist/index.es75.js +88 -19
- package/dist/index.es76.js +19 -20
- package/dist/index.es77.js +20 -7
- package/dist/index.es78.js +7 -18
- package/dist/index.es79.js +15 -146
- package/dist/index.es8.js +4 -4
- package/dist/index.es80.js +149 -10
- package/dist/index.es81.js +9 -9
- package/dist/index.es82.js +10 -45
- package/dist/index.es83.js +45 -2
- package/dist/index.es84.js +39 -29
- package/dist/index.es85.js +2 -599
- package/dist/index.es86.js +30 -21
- package/dist/index.es87.js +599 -21
- package/dist/index.es88.js +14 -18
- package/dist/index.es89.js +7 -9
- package/dist/index.es9.js +5 -5
- package/dist/index.es90.js +19 -15
- package/dist/index.es91.js +14 -10
- package/dist/index.es92.js +12 -10
- package/dist/index.es93.js +8 -8
- package/dist/index.es94.js +6 -6
- package/dist/index.es95.js +11 -13
- package/dist/index.es96.js +12 -12
- package/dist/index.es97.js +8 -8
- package/dist/index.es98.js +12 -12
- package/dist/index.es99.js +10 -8
- package/dist/style.css +58 -0
- package/package.json +1 -1
package/dist/index.es17.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as e } from "./index.
|
|
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
|
-
import { j as e } from "./index.
|
|
2
|
-
import { ClockIcon as J } from "./index.
|
|
1
|
+
import { j as e } from "./index.es40.js";
|
|
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
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { j as n } from "./index.
|
|
1
|
+
import { j as n } from "./index.es40.js";
|
|
2
2
|
import { Time as O } from "@internationalized/date";
|
|
3
3
|
import { useRef as M, useState as P, useCallback as d, useEffect as j } from "react";
|
|
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.es2.js
CHANGED
package/dist/index.es20.js
CHANGED
package/dist/index.es21.js
CHANGED
package/dist/index.es22.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as e } from "./index.
|
|
1
|
+
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
|
-
import { j as e } from "./index.
|
|
2
|
-
import { UpChevronIcon as B, DownChevronIcon as R } from "./index.
|
|
1
|
+
import { j as e } from "./index.es40.js";
|
|
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
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { j as r } from "./index.
|
|
1
|
+
import { j as r } from "./index.es40.js";
|
|
2
2
|
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
|
@@ -1,45 +1,46 @@
|
|
|
1
|
-
import { j as t } from "./index.
|
|
1
|
+
import { j as t } from "./index.es40.js";
|
|
2
2
|
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
6
|
import "./index.es42.js";
|
|
7
|
-
import "./index.es51.js";
|
|
8
|
-
import "./index.es52.js";
|
|
9
|
-
import "react-aria";
|
|
10
7
|
import "./index.es43.js";
|
|
8
|
+
import "./index.es44.js";
|
|
9
|
+
import "react-aria";
|
|
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.es53.js";
|
|
15
15
|
import "./index.es13.js";
|
|
16
16
|
import { Label as M } from "./index.es14.js";
|
|
17
|
-
import { Tooltip as S } from "./index.
|
|
18
|
-
import { TooltipTrigger as $ } from "./index.
|
|
19
|
-
import "./index.
|
|
17
|
+
import { Tooltip as S } from "./index.es36.js";
|
|
18
|
+
import { TooltipTrigger as $ } from "./index.es37.js";
|
|
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";
|
|
31
|
+
import "./index.es56.js";
|
|
32
|
+
import "./index.es57.js";
|
|
33
|
+
import "./index.es58.js";
|
|
34
|
+
import "./index.es28.js";
|
|
29
35
|
import "./index.es59.js";
|
|
30
|
-
import { progressBarVariants as k, progressFillVariants as z } from "./index.es60.js";
|
|
31
|
-
import "./index.es50.js";
|
|
32
|
-
import "./index.es61.js";
|
|
33
|
-
import "./index.es27.js";
|
|
34
|
-
import "./index.es62.js";
|
|
35
|
-
import "./index.es30.js";
|
|
36
36
|
import "./index.es31.js";
|
|
37
37
|
import "./index.es32.js";
|
|
38
|
-
import "./index.
|
|
39
|
-
import "./index.
|
|
40
|
-
import
|
|
41
|
-
import "./index.
|
|
42
|
-
|
|
38
|
+
import "./index.es33.js";
|
|
39
|
+
import "./index.es60.js";
|
|
40
|
+
import "./index.es35.js";
|
|
41
|
+
import { Text as d } from "./index.es38.js";
|
|
42
|
+
import "./index.es61.js";
|
|
43
|
+
const Tt = (f) => {
|
|
43
44
|
const {
|
|
44
45
|
className: h,
|
|
45
46
|
classNameLabel: N,
|
|
@@ -111,5 +112,5 @@ const Ct = (f) => {
|
|
|
111
112
|
) });
|
|
112
113
|
};
|
|
113
114
|
export {
|
|
114
|
-
|
|
115
|
+
Tt as ProgressBar
|
|
115
116
|
};
|
package/dist/index.es26.js
CHANGED
|
@@ -1,78 +1,101 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
1
|
+
import { j as e } from "./index.es40.js";
|
|
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
|
+
return null;
|
|
11
|
+
const u = a.visibleRange.start, f = O(u).add({ months: d }).toDate(V()).toLocaleDateString(o, {
|
|
12
|
+
month: "long",
|
|
13
|
+
year: "numeric"
|
|
14
|
+
});
|
|
15
|
+
return /* @__PURE__ */ e.jsx("h2", { className: g(Z(), "lowercase first-letter:uppercase"), children: f });
|
|
16
|
+
} }), ee = ({
|
|
17
|
+
className: d,
|
|
18
|
+
visibleDuration: o = { months: 2 },
|
|
19
|
+
firstDayOfWeek: a = "sun",
|
|
20
|
+
pageBehavior: u = "visible",
|
|
21
|
+
...y
|
|
22
|
+
}) => {
|
|
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
|
+
sun: 0,
|
|
25
|
+
mon: 1,
|
|
26
|
+
tue: 2,
|
|
27
|
+
wed: 3,
|
|
28
|
+
thu: 4,
|
|
29
|
+
fri: 5,
|
|
30
|
+
sat: 6
|
|
31
|
+
}[a] ?? 0, b = (C + 6) % 7;
|
|
32
|
+
return /* @__PURE__ */ e.jsx(
|
|
33
|
+
I,
|
|
34
|
+
{
|
|
35
|
+
className: g("rounded bg-neutral-50 px-2.5 py-2", d),
|
|
36
|
+
style: { boxShadow: "0px 0px 4px 0px #00000040" },
|
|
37
|
+
visibleDuration: o,
|
|
38
|
+
firstDayOfWeek: a,
|
|
39
|
+
pageBehavior: u,
|
|
40
|
+
...y,
|
|
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: D(), children: [
|
|
43
|
+
r === 0 && /* @__PURE__ */ e.jsx(N, { slot: "previous", className: R(), children: /* @__PURE__ */ e.jsx(B, { className: "size-5" }) }),
|
|
44
|
+
r !== 0 && /* @__PURE__ */ e.jsx("div", { className: "w-8" }),
|
|
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
|
+
r !== x.length - 1 && /* @__PURE__ */ e.jsx("div", { className: "w-8" })
|
|
48
|
+
] }),
|
|
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
|
+
return null;
|
|
54
|
+
const w = l.visibleRange.start.add(r > 0 ? { months: r } : {}), M = !L(w, n);
|
|
55
|
+
return /* @__PURE__ */ e.jsx(
|
|
56
|
+
A,
|
|
57
|
+
{
|
|
58
|
+
date: n,
|
|
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
|
+
"relative my-[1.5px] flex h-10 w-10 items-center justify-center outline-none",
|
|
63
|
+
p ? "z-10" : "z-0",
|
|
64
|
+
S && "rounded-l-full",
|
|
65
|
+
H && "rounded-r-full",
|
|
66
|
+
t && "bg-primary-100",
|
|
67
|
+
M && "invisible",
|
|
68
|
+
i && "cursor-not-allowed text-neutral-400"
|
|
69
|
+
);
|
|
70
|
+
},
|
|
71
|
+
children: ({ isSelected: t, isDisabled: i, isFocusVisible: p }) => /* @__PURE__ */ e.jsx(j.Consumer, { children: (s) => {
|
|
72
|
+
if (!s)
|
|
73
|
+
return null;
|
|
74
|
+
const c = s.highlightedRange ? m(n, s.highlightedRange.start) : t, h = s.highlightedRange ? m(n, s.highlightedRange.end) : t;
|
|
75
|
+
return /* @__PURE__ */ e.jsx(
|
|
76
|
+
"div",
|
|
77
|
+
{
|
|
78
|
+
className: g(
|
|
79
|
+
"flex h-full w-full items-center justify-center rounded-full text-sm font-normal",
|
|
80
|
+
i && "text-neutral-400",
|
|
81
|
+
p && "ring-2 ring-blue-600 ring-offset-2",
|
|
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
|
+
),
|
|
87
|
+
children: n.day
|
|
88
|
+
}
|
|
89
|
+
);
|
|
90
|
+
} })
|
|
91
|
+
}
|
|
92
|
+
);
|
|
93
|
+
} }) })
|
|
94
|
+
] })
|
|
95
|
+
] }, r)) })
|
|
96
|
+
}
|
|
46
97
|
);
|
|
47
|
-
return /* @__PURE__ */ s.jsxs(D, { inputValue: h, isDisabled: l, ...L, children: [
|
|
48
|
-
n && /* @__PURE__ */ s.jsx($, { children: n }),
|
|
49
|
-
/* @__PURE__ */ s.jsxs("div", { className: "relative flex items-center", children: [
|
|
50
|
-
/* @__PURE__ */ s.jsx(
|
|
51
|
-
H,
|
|
52
|
-
{
|
|
53
|
-
placeholder: f,
|
|
54
|
-
className: k({ size: N, isDisabled: l, hasIcon: !0 }),
|
|
55
|
-
disabled: l,
|
|
56
|
-
readOnly: i.isReadOnly
|
|
57
|
-
}
|
|
58
|
-
),
|
|
59
|
-
/* @__PURE__ */ s.jsx("span", { className: S("absolute right-2 top-1/2 -translate-y-1/2", u && "top-[53%]"), children: V })
|
|
60
|
-
] }),
|
|
61
|
-
d && !m && /* @__PURE__ */ s.jsx(R, { slot: "description", className: "text-xs leading-5 text-neutral-700", children: d }),
|
|
62
|
-
x && m && /* @__PURE__ */ s.jsx(E, { className: "text-sm leading-6 text-error-500", children: x }),
|
|
63
|
-
/* @__PURE__ */ s.jsx(O, { className: q(), children: /* @__PURE__ */ s.jsx(F, { items: B, className: "max-h-60 overflow-auto outline-none", children: (e) => /* @__PURE__ */ s.jsx(
|
|
64
|
-
M,
|
|
65
|
-
{
|
|
66
|
-
id: e.id,
|
|
67
|
-
textValue: e.label,
|
|
68
|
-
className: ({ isDisabled: t, isSelected: o, isFocused: p }) => A({ isFocused: p, isSelected: o, isDisabled: t }),
|
|
69
|
-
children: e.shouldHighlight ? /* @__PURE__ */ s.jsx("span", { children: e.highlightedParts.map(
|
|
70
|
-
(t, o) => t.highlight ? /* @__PURE__ */ s.jsx("span", { className: "font-bold text-neutral-900", children: t.text }, t.text + o) : t.text
|
|
71
|
-
) }) : e.label
|
|
72
|
-
}
|
|
73
|
-
) }) })
|
|
74
|
-
] });
|
|
75
98
|
};
|
|
76
99
|
export {
|
|
77
|
-
|
|
100
|
+
ee as RangeCalendar
|
|
78
101
|
};
|
package/dist/index.es27.js
CHANGED
|
@@ -1,96 +1,78 @@
|
|
|
1
|
-
import { j as s } from "./index.
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { j as s } from "./index.es40.js";
|
|
2
|
+
import { SearchIcon as P, CrossIcon as y } from "./index.es63.js";
|
|
3
|
+
import { useMemo as z } from "react";
|
|
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
|
+
import { cn as S } from "./index.es41.js";
|
|
6
|
+
import { useDebouncedValue as _ } from "./index.es69.js";
|
|
7
|
+
import { IconButton as T } from "./index.es12.js";
|
|
5
8
|
import "./index.es13.js";
|
|
6
|
-
import { Label as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
const W = (S, b) => {
|
|
9
|
+
import { Label as $ } from "./index.es14.js";
|
|
10
|
+
import { inputVariants as k } from "./index.es57.js";
|
|
11
|
+
import { popoverVariants as q, searchOptionVariants as A } from "./index.es58.js";
|
|
12
|
+
const te = (i) => {
|
|
11
13
|
const {
|
|
12
|
-
label:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
14
|
+
label: n,
|
|
15
|
+
onReset: c,
|
|
16
|
+
placeholder: f,
|
|
17
|
+
isDisabled: l,
|
|
18
|
+
delay: b = 300,
|
|
19
|
+
searchIcon: j,
|
|
20
|
+
clearIcon: I,
|
|
21
|
+
size: N = "md",
|
|
22
|
+
description: d,
|
|
23
|
+
inputValue: h,
|
|
24
|
+
isInvalid: m,
|
|
25
|
+
errorMessage: x,
|
|
26
|
+
items: r,
|
|
27
|
+
...L
|
|
28
|
+
} = i, w = j ?? /* @__PURE__ */ s.jsx(P, { className: "size-6 text-neutral-700", "data-testid": "search-icon" }), C = /* @__PURE__ */ s.jsx(T, { intent: "minimal", size: "md", className: "p-0", "data-testid": "clear-icon-button", onPress: c, children: I ?? /* @__PURE__ */ s.jsx(y, { className: "size-5 text-neutral-700", "data-testid": "clear-icon" }) }), a = _(h, b), u = a && c, V = u ? C : w, v = (e, t) => {
|
|
29
|
+
if (!t.trim())
|
|
30
|
+
return [{ text: e, highlight: !1 }];
|
|
31
|
+
const o = new RegExp(`(${t})`, "gi");
|
|
32
|
+
return e.split(o).filter(Boolean).map((g) => ({
|
|
33
|
+
text: g,
|
|
34
|
+
highlight: g.toLowerCase() === t.toLowerCase()
|
|
35
|
+
}));
|
|
36
|
+
}, B = z(
|
|
37
|
+
() => a ? r.filter((e) => e.label.toLowerCase().includes(a.toLowerCase())).map((e) => {
|
|
38
|
+
const t = a && e.label.toLowerCase().includes(a.toLowerCase()), o = v(e.label, a ?? "");
|
|
39
|
+
return { ...e, shouldHighlight: t, highlightedParts: o };
|
|
40
|
+
}) : r.map((e) => ({
|
|
41
|
+
...e,
|
|
42
|
+
shouldHighlight: !1,
|
|
43
|
+
highlightedParts: [{ text: e.label, highlight: !1 }]
|
|
44
|
+
})),
|
|
45
|
+
[a, r]
|
|
46
|
+
);
|
|
47
|
+
return /* @__PURE__ */ s.jsxs(D, { inputValue: h, isDisabled: l, ...L, children: [
|
|
48
|
+
n && /* @__PURE__ */ s.jsx($, { children: n }),
|
|
49
|
+
/* @__PURE__ */ s.jsxs("div", { className: "relative flex items-center", children: [
|
|
50
|
+
/* @__PURE__ */ s.jsx(
|
|
51
|
+
H,
|
|
52
|
+
{
|
|
53
|
+
placeholder: f,
|
|
54
|
+
className: k({ size: N, isDisabled: l, hasIcon: !0 }),
|
|
55
|
+
disabled: l,
|
|
56
|
+
readOnly: i.isReadOnly
|
|
57
|
+
}
|
|
58
|
+
),
|
|
59
|
+
/* @__PURE__ */ s.jsx("span", { className: S("absolute right-2 top-1/2 -translate-y-1/2", u && "top-[53%]"), children: V })
|
|
60
|
+
] }),
|
|
61
|
+
d && !m && /* @__PURE__ */ s.jsx(R, { slot: "description", className: "text-xs leading-5 text-neutral-700", children: d }),
|
|
62
|
+
x && m && /* @__PURE__ */ s.jsx(E, { className: "text-sm leading-6 text-error-500", children: x }),
|
|
63
|
+
/* @__PURE__ */ s.jsx(O, { className: q(), children: /* @__PURE__ */ s.jsx(F, { items: B, className: "max-h-60 overflow-auto outline-none", children: (e) => /* @__PURE__ */ s.jsx(
|
|
64
|
+
M,
|
|
54
65
|
{
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
tooltipSupportText: y,
|
|
62
|
-
tooltipProps: A,
|
|
63
|
-
children: p
|
|
66
|
+
id: e.id,
|
|
67
|
+
textValue: e.label,
|
|
68
|
+
className: ({ isDisabled: t, isSelected: o, isFocused: p }) => A({ isFocused: p, isSelected: o, isDisabled: t }),
|
|
69
|
+
children: e.shouldHighlight ? /* @__PURE__ */ s.jsx("span", { children: e.highlightedParts.map(
|
|
70
|
+
(t, o) => t.highlight ? /* @__PURE__ */ s.jsx("span", { className: "font-bold text-neutral-900", children: t.text }, t.text + o) : t.text
|
|
71
|
+
) }) : e.label
|
|
64
72
|
}
|
|
65
|
-
)
|
|
66
|
-
/* @__PURE__ */ s.jsx(
|
|
67
|
-
Q,
|
|
68
|
-
{
|
|
69
|
-
ref: b,
|
|
70
|
-
isOpen: d,
|
|
71
|
-
setIsOpen: n,
|
|
72
|
-
size: C,
|
|
73
|
-
isDisabled: r,
|
|
74
|
-
classNameButton: I,
|
|
75
|
-
selectionMode: l,
|
|
76
|
-
maxLengthTextOption: L,
|
|
77
|
-
handleDeleteOptionSelected: B,
|
|
78
|
-
placeholder: N
|
|
79
|
-
}
|
|
80
|
-
),
|
|
81
|
-
/* @__PURE__ */ s.jsx(H, { className: c(U(), P), isOpen: d, onOpenChange: n, children: /* @__PURE__ */ s.jsx(
|
|
82
|
-
K,
|
|
83
|
-
{
|
|
84
|
-
enableSearch: F,
|
|
85
|
-
contains: q,
|
|
86
|
-
classNameSearchField: R,
|
|
87
|
-
classNameSearchFieldInput: T,
|
|
88
|
-
placeholderSearch: V,
|
|
89
|
-
items: v
|
|
90
|
-
}
|
|
91
|
-
) })
|
|
73
|
+
) }) })
|
|
92
74
|
] });
|
|
93
|
-
}
|
|
75
|
+
};
|
|
94
76
|
export {
|
|
95
|
-
|
|
77
|
+
te as SearchField
|
|
96
78
|
};
|