@simpli-route/apollo-ds 0.1.38 → 0.1.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.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.cjs11.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs19.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.cjs25.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs30.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.cjs4.js +1 -1
- package/dist/index.cjs40.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.cjs70.js +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs73.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.cjs93.js +1 -1
- package/dist/index.cjs94.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.es10.js +1 -1
- package/dist/index.es100.js +340 -2
- package/dist/index.es101.js +166 -2
- package/dist/index.es102.js +56 -29
- package/dist/index.es11.js +1 -1
- package/dist/index.es13.js +1 -1
- package/dist/index.es14.js +2 -2
- package/dist/index.es18.js +1 -1
- package/dist/index.es19.js +2 -2
- package/dist/index.es20.js +3 -3
- package/dist/index.es21.js +10 -10
- package/dist/index.es22.js +3 -3
- package/dist/index.es23.js +2 -2
- package/dist/index.es25.js +2 -2
- package/dist/index.es26.js +1 -1
- package/dist/index.es29.js +3 -3
- package/dist/index.es30.js +1 -1
- package/dist/index.es32.js +2 -2
- package/dist/index.es33.js +1 -1
- package/dist/index.es34.js +1 -1
- package/dist/index.es35.js +1 -1
- package/dist/index.es4.js +63 -37
- package/dist/index.es40.js +30 -171
- package/dist/index.es44.js +147 -129
- package/dist/index.es45.js +115 -84
- package/dist/index.es46.js +105 -22
- package/dist/index.es47.js +29 -73
- package/dist/index.es48.js +153 -22
- package/dist/index.es49.js +94 -35
- package/dist/index.es5.js +11 -11
- package/dist/index.es50.js +33 -39
- package/dist/index.es51.js +40 -3
- package/dist/index.es52.js +41 -146
- package/dist/index.es53.js +26 -78
- package/dist/index.es54.js +3 -22
- package/dist/index.es55.js +159 -17
- package/dist/index.es56.js +90 -15
- package/dist/index.es57.js +21 -15
- package/dist/index.es58.js +18 -163
- package/dist/index.es59.js +13 -26
- package/dist/index.es6.js +1 -1
- package/dist/index.es60.js +16 -7
- package/dist/index.es61.js +10 -18
- package/dist/index.es62.js +10 -149
- package/dist/index.es63.js +12 -13
- package/dist/index.es64.js +7 -137
- package/dist/index.es65.js +16 -18
- package/dist/index.es66.js +144 -96
- package/dist/index.es67.js +13 -13
- package/dist/index.es68.js +137 -10
- package/dist/index.es69.js +19 -72
- package/dist/index.es70.js +101 -10
- package/dist/index.es71.js +12 -11
- package/dist/index.es73.js +1 -1
- package/dist/index.es78.js +1 -1
- package/dist/index.es79.js +1 -1
- package/dist/index.es8.js +3 -3
- package/dist/index.es93.js +30 -4
- package/dist/index.es94.js +4 -28
- package/dist/index.es96.js +4 -8
- package/dist/index.es97.js +27 -341
- package/dist/index.es98.js +2 -166
- package/dist/index.es99.js +8 -57
- package/dist/style.css +19 -0
- package/package.json +1 -1
package/dist/index.es21.js
CHANGED
|
@@ -4,7 +4,7 @@ import { ProgressBar as I } from "react-aria-components";
|
|
|
4
4
|
import "react";
|
|
5
5
|
import { cn as s } from "./index.es37.js";
|
|
6
6
|
import "./index.es39.js";
|
|
7
|
-
import "./index.
|
|
7
|
+
import "./index.es48.js";
|
|
8
8
|
import "./index.es41.js";
|
|
9
9
|
import "react-aria";
|
|
10
10
|
import "./index.es42.js";
|
|
@@ -14,26 +14,26 @@ import "./index.es10.js";
|
|
|
14
14
|
import "./index.es11.js";
|
|
15
15
|
import { Label as M } from "./index.es12.js";
|
|
16
16
|
import "@internationalized/date";
|
|
17
|
-
import "./index.
|
|
17
|
+
import "./index.es45.js";
|
|
18
18
|
import "./index.es14.js";
|
|
19
19
|
import "./index.es18.js";
|
|
20
20
|
import "./index.es19.js";
|
|
21
|
-
import "./index.es45.js";
|
|
22
|
-
import { progressBarVariants as S, progressFillVariants as $ } from "./index.es46.js";
|
|
23
|
-
import "./index.es47.js";
|
|
24
|
-
import "./index.es48.js";
|
|
25
21
|
import "./index.es49.js";
|
|
26
|
-
import "./index.es50.js";
|
|
22
|
+
import { progressBarVariants as S, progressFillVariants as $ } from "./index.es50.js";
|
|
23
|
+
import "./index.es46.js";
|
|
24
|
+
import "./index.es51.js";
|
|
25
|
+
import "./index.es52.js";
|
|
26
|
+
import "./index.es53.js";
|
|
27
27
|
import { Tooltip as k } from "./index.es32.js";
|
|
28
28
|
import { TooltipTrigger as z } from "./index.es33.js";
|
|
29
|
-
import "./index.
|
|
29
|
+
import "./index.es55.js";
|
|
30
30
|
import "./index.es27.js";
|
|
31
31
|
import "./index.es28.js";
|
|
32
32
|
import "./index.es29.js";
|
|
33
|
-
import "./index.
|
|
33
|
+
import "./index.es56.js";
|
|
34
34
|
import "./index.es31.js";
|
|
35
35
|
import { Text as d } from "./index.es34.js";
|
|
36
|
-
import "./index.
|
|
36
|
+
import "./index.es57.js";
|
|
37
37
|
const jt = (f) => {
|
|
38
38
|
const {
|
|
39
39
|
className: h,
|
package/dist/index.es22.js
CHANGED
|
@@ -3,12 +3,12 @@ import { SearchIcon as P, CrossIcon as y } from "./index.es38.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.es37.js";
|
|
6
|
-
import { useDebouncedValue as _ } from "./index.
|
|
6
|
+
import { useDebouncedValue as _ } from "./index.es67.js";
|
|
7
7
|
import { IconButton as T } from "./index.es10.js";
|
|
8
8
|
import "./index.es11.js";
|
|
9
9
|
import { Label as $ } from "./index.es12.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.es46.js";
|
|
11
|
+
import { popoverVariants as q, searchOptionVariants as A } from "./index.es51.js";
|
|
12
12
|
const te = (i) => {
|
|
13
13
|
const {
|
|
14
14
|
label: n,
|
package/dist/index.es23.js
CHANGED
|
@@ -4,9 +4,9 @@ import { Select as S, Popover as tt, ListBox as st } from "react-aria-components
|
|
|
4
4
|
import { cn as P } from "./index.es37.js";
|
|
5
5
|
import "./index.es11.js";
|
|
6
6
|
import { Label as it } from "./index.es12.js";
|
|
7
|
-
import { SelectContent as rt } from "./index.
|
|
7
|
+
import { SelectContent as rt } from "./index.es68.js";
|
|
8
8
|
import { SelectItem as lt } from "./index.es24.js";
|
|
9
|
-
import { TooltipSelect as ot } from "./index.
|
|
9
|
+
import { TooltipSelect as ot } from "./index.es69.js";
|
|
10
10
|
const b = "all-select-option", bt = ({
|
|
11
11
|
mode: e = "single",
|
|
12
12
|
keyLabelName: V,
|
package/dist/index.es25.js
CHANGED
|
@@ -2,8 +2,8 @@ import { j as m } from "./index.es36.js";
|
|
|
2
2
|
import { useState as q, useEffect as x } from "react";
|
|
3
3
|
import { Slider as z, SliderTrack as B } from "react-aria-components";
|
|
4
4
|
import { cn as F } from "./index.es37.js";
|
|
5
|
-
import { SliderContainerTrack as G } from "./index.
|
|
6
|
-
import { validateMinDistance as H } from "./index.
|
|
5
|
+
import { SliderContainerTrack as G } from "./index.es70.js";
|
|
6
|
+
import { validateMinDistance as H } from "./index.es71.js";
|
|
7
7
|
const U = ({
|
|
8
8
|
type: r = "single",
|
|
9
9
|
showTypeValue: A = "default",
|
package/dist/index.es26.js
CHANGED
|
@@ -3,7 +3,7 @@ import { CheckIcon as h } from "./index.es38.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.es37.js";
|
|
6
|
-
import { statusChipVariants as I } from "./index.
|
|
6
|
+
import { statusChipVariants as I } from "./index.es55.js";
|
|
7
7
|
const F = ({
|
|
8
8
|
size: m = "sm",
|
|
9
9
|
label: n,
|
package/dist/index.es29.js
CHANGED
|
@@ -3,10 +3,10 @@ import { CheckIcon as I } from "./index.es38.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.es64.js";
|
|
7
|
+
import B from "./index.es65.js";
|
|
8
8
|
import { cn as H } from "./index.es37.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.es66.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.es30.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Switch as u } from "react-aria-components";
|
|
|
3
3
|
import { cn as c } from "./index.es37.js";
|
|
4
4
|
import { ContentSwitch as L } from "./index.es72.js";
|
|
5
5
|
import { SwitchIndicator as v } from "./index.es73.js";
|
|
6
|
-
import { switchVariants as b } from "./index.
|
|
6
|
+
import { switchVariants as b } from "./index.es56.js";
|
|
7
7
|
const E = ({
|
|
8
8
|
children: f,
|
|
9
9
|
label: m,
|
package/dist/index.es32.js
CHANGED
|
@@ -2,8 +2,8 @@ import { j as s } from "./index.es36.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.es37.js";
|
|
5
|
-
import { TooltipContext as j } from "./index.
|
|
6
|
-
import { tooltipVariants as N } from "./index.
|
|
5
|
+
import { TooltipContext as j } from "./index.es54.js";
|
|
6
|
+
import { tooltipVariants as N } from "./index.es53.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.es33.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.es37.js";
|
|
6
|
-
import { TooltipContext as d } from "./index.
|
|
6
|
+
import { TooltipContext as d } from "./index.es54.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.es34.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as m } from "./index.es36.js";
|
|
2
2
|
import { cn as n } from "./index.es37.js";
|
|
3
|
-
import { textVariants as a } from "./index.
|
|
3
|
+
import { textVariants as a } from "./index.es57.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.es35.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as m } from "./index.es36.js";
|
|
2
2
|
import { cn as c } from "./index.es37.js";
|
|
3
|
-
import { titleVariants as l } from "./index.
|
|
3
|
+
import { titleVariants as l } from "./index.es57.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,62 +1,88 @@
|
|
|
1
1
|
import { j as r } from "./index.es36.js";
|
|
2
|
-
import { LeftArrowIcon as
|
|
3
|
-
import { Breadcrumbs as C, Breadcrumb as
|
|
2
|
+
import { LeftArrowIcon as m } from "./index.es38.js";
|
|
3
|
+
import { Breadcrumbs as C, Breadcrumb as F, Link as f } from "react-aria-components";
|
|
4
4
|
import { cn as s } from "./index.es37.js";
|
|
5
|
-
import { breadcrumbsContainerVariants as V, breadcrumbItemVariants as
|
|
6
|
-
const
|
|
5
|
+
import { breadcrumbsContainerVariants as V, breadcrumbItemVariants as o, breadcrumbSeparatorVariants as y } from "./index.es39.js";
|
|
6
|
+
const S = ({
|
|
7
7
|
items: a = [],
|
|
8
|
-
className:
|
|
9
|
-
onAction:
|
|
10
|
-
linkComponent:
|
|
11
|
-
hiddenIconArrow:
|
|
12
|
-
isDisabled:
|
|
13
|
-
classNameLink:
|
|
14
|
-
classNameCurrentLink:
|
|
15
|
-
...
|
|
8
|
+
className: h,
|
|
9
|
+
onAction: p,
|
|
10
|
+
linkComponent: l,
|
|
11
|
+
hiddenIconArrow: b,
|
|
12
|
+
isDisabled: t = !1,
|
|
13
|
+
classNameLink: n,
|
|
14
|
+
classNameCurrentLink: d,
|
|
15
|
+
...j
|
|
16
16
|
}) => {
|
|
17
17
|
if (!a || a.length === 0)
|
|
18
18
|
return null;
|
|
19
|
-
const
|
|
19
|
+
const x = l || f, N = l && l !== f;
|
|
20
20
|
return /* @__PURE__ */ r.jsx(
|
|
21
21
|
C,
|
|
22
22
|
{
|
|
23
|
-
className: s(V(),
|
|
24
|
-
isDisabled:
|
|
25
|
-
onAction:
|
|
26
|
-
...
|
|
27
|
-
children: a.map((e,
|
|
28
|
-
const
|
|
29
|
-
return /* @__PURE__ */ r.jsx(
|
|
23
|
+
className: s(V(), h),
|
|
24
|
+
isDisabled: t,
|
|
25
|
+
onAction: p,
|
|
26
|
+
...j,
|
|
27
|
+
children: a.map((e, v) => {
|
|
28
|
+
const i = v === 0;
|
|
29
|
+
return /* @__PURE__ */ r.jsx(F, { className: "flex items-center", children: ({ isCurrent: g }) => g ? /* @__PURE__ */ r.jsx(
|
|
30
30
|
"span",
|
|
31
31
|
{
|
|
32
32
|
className: s(
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
o({ isCurrent: !0, isDisabled: t }),
|
|
34
|
+
n,
|
|
35
|
+
d
|
|
36
36
|
),
|
|
37
37
|
children: e.label
|
|
38
38
|
}
|
|
39
39
|
) : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
40
|
-
/* @__PURE__ */ r.
|
|
41
|
-
|
|
40
|
+
N ? /* @__PURE__ */ r.jsxs(
|
|
41
|
+
x,
|
|
42
42
|
{
|
|
43
43
|
href: e.href,
|
|
44
|
-
className:
|
|
45
|
-
|
|
46
|
-
isHovered: t,
|
|
47
|
-
isFocusVisible: l,
|
|
44
|
+
className: s(
|
|
45
|
+
o({
|
|
48
46
|
isCurrent: !1,
|
|
49
|
-
isDisabled:
|
|
47
|
+
isDisabled: t
|
|
50
48
|
}),
|
|
51
|
-
|
|
49
|
+
// Estados CSS para Next.js Link
|
|
50
|
+
"group hover:text-blue-500 focus-visible:border focus-visible:border-primary-500 focus-visible:outline-none",
|
|
51
|
+
n
|
|
52
52
|
),
|
|
53
|
-
children:
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
children: [
|
|
54
|
+
i && !b && /* @__PURE__ */ r.jsx(
|
|
55
|
+
m,
|
|
56
56
|
{
|
|
57
57
|
className: s(
|
|
58
58
|
"size-4 text-blue-700",
|
|
59
|
-
t
|
|
59
|
+
t ? "text-neutral-600" : "focus-visible:text-blue-500 group-hover:text-blue-500"
|
|
60
|
+
)
|
|
61
|
+
}
|
|
62
|
+
),
|
|
63
|
+
e.label
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
) : /* @__PURE__ */ r.jsx(
|
|
67
|
+
x,
|
|
68
|
+
{
|
|
69
|
+
href: e.href,
|
|
70
|
+
className: ({ isHovered: c, isFocusVisible: u }) => s(
|
|
71
|
+
o({
|
|
72
|
+
isHovered: c,
|
|
73
|
+
isFocusVisible: u,
|
|
74
|
+
isCurrent: !1,
|
|
75
|
+
isDisabled: t
|
|
76
|
+
}),
|
|
77
|
+
n
|
|
78
|
+
),
|
|
79
|
+
children: ({ isHovered: c, isDisabled: u, isFocusVisible: B }) => /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
80
|
+
i && !b && /* @__PURE__ */ r.jsx(
|
|
81
|
+
m,
|
|
82
|
+
{
|
|
83
|
+
className: s(
|
|
84
|
+
"size-4 text-blue-700",
|
|
85
|
+
c || B ? "text-blue-500" : u ? "text-neutral-600" : ""
|
|
60
86
|
)
|
|
61
87
|
}
|
|
62
88
|
),
|
|
@@ -64,12 +90,12 @@ const A = ({
|
|
|
64
90
|
] })
|
|
65
91
|
}
|
|
66
92
|
),
|
|
67
|
-
/* @__PURE__ */ r.jsx("span", { className:
|
|
93
|
+
/* @__PURE__ */ r.jsx("span", { className: y(), children: "/" })
|
|
68
94
|
] }) }, e.key || e.label);
|
|
69
95
|
})
|
|
70
96
|
}
|
|
71
97
|
);
|
|
72
98
|
};
|
|
73
99
|
export {
|
|
74
|
-
|
|
100
|
+
S as Breadcrumbs
|
|
75
101
|
};
|
package/dist/index.es40.js
CHANGED
|
@@ -1,173 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
true: ""
|
|
31
|
-
},
|
|
32
|
-
fullWidth: {
|
|
33
|
-
true: "w-full",
|
|
34
|
-
false: "w-fit"
|
|
35
|
-
},
|
|
36
|
-
isLoading: {
|
|
37
|
-
true: "pointer-events-none cursor-not-allowed opacity-70"
|
|
38
|
-
},
|
|
39
|
-
isFocused: {
|
|
40
|
-
true: "focus:outline-none focus:ring-2 focus:ring-sky-400 focus:ring-offset-[0.4px] border-none",
|
|
41
|
-
false: ""
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
defaultVariants: {
|
|
45
|
-
intent: "primary",
|
|
46
|
-
size: "md"
|
|
47
|
-
},
|
|
48
|
-
compoundVariants: [
|
|
49
|
-
/* Hover State */
|
|
50
|
-
{
|
|
51
|
-
intent: "primary",
|
|
52
|
-
isHovered: !0,
|
|
53
|
-
class: "bg-primary-700"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
intent: "secondary",
|
|
57
|
-
isHovered: !0,
|
|
58
|
-
class: "bg-primary-200"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
intent: "tertiary",
|
|
62
|
-
isHovered: !0,
|
|
63
|
-
class: "bg-primary-300 text-primary-800"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
intent: "outline",
|
|
67
|
-
isHovered: !0,
|
|
68
|
-
class: "bg-primary-500 text-primary-50"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
intent: "success",
|
|
72
|
-
isHovered: !0,
|
|
73
|
-
class: "bg-success-700 text-neutral-50"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
intent: "error",
|
|
77
|
-
isHovered: !0,
|
|
78
|
-
class: "bg-error-700 text-error-50"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
intent: "orangeWarning",
|
|
82
|
-
isHovered: !0,
|
|
83
|
-
class: "bg-orange-warning-700 text-orange-warning-50"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
intent: "yellowWarning",
|
|
87
|
-
isHovered: !0,
|
|
88
|
-
class: "bg-yellow-warning-700 text-neutral-50"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
intent: "info",
|
|
92
|
-
isHovered: !0,
|
|
93
|
-
class: "bg-blue-700 text-blue-50"
|
|
94
|
-
},
|
|
95
|
-
/* /Focus State */
|
|
96
|
-
{
|
|
97
|
-
intent: "success",
|
|
98
|
-
isFocused: !0,
|
|
99
|
-
class: "border-[1.5px] focus:ring-success-500"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
intent: "error",
|
|
103
|
-
isFocused: !0,
|
|
104
|
-
class: "border-[1.5px] focus:ring-error-500"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
intent: "orangeWarning",
|
|
108
|
-
isFocused: !0,
|
|
109
|
-
class: "border-[1.5px] focus:ring-orange-500"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
intent: "yellowWarning",
|
|
113
|
-
isFocused: !0,
|
|
114
|
-
class: "border-[1.5px] focus:ring-yellow-500"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
intent: "info",
|
|
118
|
-
isFocused: !0,
|
|
119
|
-
class: "border-[1.5px] focus:ring-blue-500"
|
|
120
|
-
},
|
|
121
|
-
/* Active State */
|
|
122
|
-
{
|
|
123
|
-
intent: "primary",
|
|
124
|
-
isActive: !0,
|
|
125
|
-
class: "bg-primary-900"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
intent: "secondary",
|
|
129
|
-
isActive: !0,
|
|
130
|
-
class: "bg-primary-300"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
intent: "tertiary",
|
|
134
|
-
isActive: !0,
|
|
135
|
-
class: "bg-primary-500 text-white"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
intent: "outline",
|
|
139
|
-
isActive: !0,
|
|
140
|
-
class: "border border-primary-500 bg-primary-300 text-primary-500"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
intent: "success",
|
|
144
|
-
isActive: !0,
|
|
145
|
-
class: "border border-transparent bg-success-300 text-success-900"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
intent: "error",
|
|
149
|
-
isActive: !0,
|
|
150
|
-
class: "border border-transparent bg-error-300 text-error-900"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
intent: "orangeWarning",
|
|
154
|
-
isActive: !0,
|
|
155
|
-
class: "border border-transparent bg-orange-warning-300 text-orange-warning-900"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
intent: "yellowWarning",
|
|
159
|
-
isActive: !0,
|
|
160
|
-
class: "border border-transparent bg-yellow-warning-300 text-yellow-warning-900"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
intent: "info",
|
|
164
|
-
isActive: !0,
|
|
165
|
-
class: "border border-transparent bg-blue-200 text-blue-900"
|
|
166
|
-
}
|
|
167
|
-
/* /Active State */
|
|
168
|
-
]
|
|
169
|
-
}
|
|
170
|
-
);
|
|
1
|
+
import { j as e } from "./index.es36.js";
|
|
2
|
+
import { cn as l } from "./index.es37.js";
|
|
3
|
+
const m = (r) => {
|
|
4
|
+
const { isIndeterminate: t, isSelected: s, className: n, isHovered: a } = r, o = a && !s && !t ? "text-neutral-500" : "", i = !!(o || s);
|
|
5
|
+
return /* @__PURE__ */ e.jsx("svg", { className: l("stroke-current", o, n), viewBox: "-1 1 17 17", children: t ? /* @__PURE__ */ e.jsx(
|
|
6
|
+
"line",
|
|
7
|
+
{
|
|
8
|
+
x1: 1,
|
|
9
|
+
y1: 10,
|
|
10
|
+
x2: 14,
|
|
11
|
+
y2: 10,
|
|
12
|
+
fill: "none",
|
|
13
|
+
strokeWidth: 2,
|
|
14
|
+
strokeDasharray: 14,
|
|
15
|
+
strokeDashoffset: s ? 28 : 42,
|
|
16
|
+
style: { transition: "all 400ms" }
|
|
17
|
+
}
|
|
18
|
+
) : /* @__PURE__ */ e.jsx(
|
|
19
|
+
"polyline",
|
|
20
|
+
{
|
|
21
|
+
points: "1 9 7 14 15 4",
|
|
22
|
+
fill: "none",
|
|
23
|
+
strokeWidth: 2,
|
|
24
|
+
strokeDasharray: 22,
|
|
25
|
+
strokeDashoffset: i ? 44 : 66,
|
|
26
|
+
style: { transition: "all 400ms" }
|
|
27
|
+
}
|
|
28
|
+
) });
|
|
29
|
+
};
|
|
171
30
|
export {
|
|
172
|
-
|
|
31
|
+
m as MarkIcon
|
|
173
32
|
};
|