@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.
Files changed (128) hide show
  1. package/dist/index.cjs10.js +1 -1
  2. package/dist/index.cjs100.js +1 -1
  3. package/dist/index.cjs101.js +1 -1
  4. package/dist/index.cjs102.js +1 -1
  5. package/dist/index.cjs11.js +1 -1
  6. package/dist/index.cjs13.js +1 -1
  7. package/dist/index.cjs14.js +1 -1
  8. package/dist/index.cjs18.js +1 -1
  9. package/dist/index.cjs19.js +1 -1
  10. package/dist/index.cjs20.js +1 -1
  11. package/dist/index.cjs21.js +1 -1
  12. package/dist/index.cjs22.js +1 -1
  13. package/dist/index.cjs23.js +1 -1
  14. package/dist/index.cjs25.js +1 -1
  15. package/dist/index.cjs26.js +1 -1
  16. package/dist/index.cjs29.js +1 -1
  17. package/dist/index.cjs30.js +1 -1
  18. package/dist/index.cjs32.js +1 -1
  19. package/dist/index.cjs33.js +1 -1
  20. package/dist/index.cjs34.js +1 -1
  21. package/dist/index.cjs35.js +1 -1
  22. package/dist/index.cjs4.js +1 -1
  23. package/dist/index.cjs40.js +1 -1
  24. package/dist/index.cjs44.js +1 -1
  25. package/dist/index.cjs45.js +1 -1
  26. package/dist/index.cjs46.js +1 -1
  27. package/dist/index.cjs47.js +1 -1
  28. package/dist/index.cjs48.js +1 -1
  29. package/dist/index.cjs49.js +1 -1
  30. package/dist/index.cjs5.js +1 -1
  31. package/dist/index.cjs50.js +1 -1
  32. package/dist/index.cjs51.js +1 -1
  33. package/dist/index.cjs52.js +1 -1
  34. package/dist/index.cjs53.js +1 -1
  35. package/dist/index.cjs54.js +1 -1
  36. package/dist/index.cjs55.js +1 -1
  37. package/dist/index.cjs56.js +1 -1
  38. package/dist/index.cjs57.js +1 -1
  39. package/dist/index.cjs58.js +1 -1
  40. package/dist/index.cjs59.js +1 -1
  41. package/dist/index.cjs6.js +1 -1
  42. package/dist/index.cjs60.js +1 -1
  43. package/dist/index.cjs61.js +1 -1
  44. package/dist/index.cjs62.js +1 -1
  45. package/dist/index.cjs63.js +1 -1
  46. package/dist/index.cjs64.js +1 -1
  47. package/dist/index.cjs65.js +1 -1
  48. package/dist/index.cjs66.js +1 -1
  49. package/dist/index.cjs67.js +1 -1
  50. package/dist/index.cjs68.js +1 -1
  51. package/dist/index.cjs69.js +1 -1
  52. package/dist/index.cjs70.js +1 -1
  53. package/dist/index.cjs71.js +1 -1
  54. package/dist/index.cjs73.js +1 -1
  55. package/dist/index.cjs78.js +1 -1
  56. package/dist/index.cjs79.js +1 -1
  57. package/dist/index.cjs8.js +1 -1
  58. package/dist/index.cjs93.js +1 -1
  59. package/dist/index.cjs94.js +1 -1
  60. package/dist/index.cjs96.js +1 -1
  61. package/dist/index.cjs97.js +1 -1
  62. package/dist/index.cjs98.js +1 -1
  63. package/dist/index.cjs99.js +1 -1
  64. package/dist/index.es10.js +1 -1
  65. package/dist/index.es100.js +340 -2
  66. package/dist/index.es101.js +166 -2
  67. package/dist/index.es102.js +56 -29
  68. package/dist/index.es11.js +1 -1
  69. package/dist/index.es13.js +1 -1
  70. package/dist/index.es14.js +2 -2
  71. package/dist/index.es18.js +1 -1
  72. package/dist/index.es19.js +2 -2
  73. package/dist/index.es20.js +3 -3
  74. package/dist/index.es21.js +10 -10
  75. package/dist/index.es22.js +3 -3
  76. package/dist/index.es23.js +2 -2
  77. package/dist/index.es25.js +2 -2
  78. package/dist/index.es26.js +1 -1
  79. package/dist/index.es29.js +3 -3
  80. package/dist/index.es30.js +1 -1
  81. package/dist/index.es32.js +2 -2
  82. package/dist/index.es33.js +1 -1
  83. package/dist/index.es34.js +1 -1
  84. package/dist/index.es35.js +1 -1
  85. package/dist/index.es4.js +63 -37
  86. package/dist/index.es40.js +30 -171
  87. package/dist/index.es44.js +147 -129
  88. package/dist/index.es45.js +115 -84
  89. package/dist/index.es46.js +105 -22
  90. package/dist/index.es47.js +29 -73
  91. package/dist/index.es48.js +153 -22
  92. package/dist/index.es49.js +94 -35
  93. package/dist/index.es5.js +11 -11
  94. package/dist/index.es50.js +33 -39
  95. package/dist/index.es51.js +40 -3
  96. package/dist/index.es52.js +41 -146
  97. package/dist/index.es53.js +26 -78
  98. package/dist/index.es54.js +3 -22
  99. package/dist/index.es55.js +159 -17
  100. package/dist/index.es56.js +90 -15
  101. package/dist/index.es57.js +21 -15
  102. package/dist/index.es58.js +18 -163
  103. package/dist/index.es59.js +13 -26
  104. package/dist/index.es6.js +1 -1
  105. package/dist/index.es60.js +16 -7
  106. package/dist/index.es61.js +10 -18
  107. package/dist/index.es62.js +10 -149
  108. package/dist/index.es63.js +12 -13
  109. package/dist/index.es64.js +7 -137
  110. package/dist/index.es65.js +16 -18
  111. package/dist/index.es66.js +144 -96
  112. package/dist/index.es67.js +13 -13
  113. package/dist/index.es68.js +137 -10
  114. package/dist/index.es69.js +19 -72
  115. package/dist/index.es70.js +101 -10
  116. package/dist/index.es71.js +12 -11
  117. package/dist/index.es73.js +1 -1
  118. package/dist/index.es78.js +1 -1
  119. package/dist/index.es79.js +1 -1
  120. package/dist/index.es8.js +3 -3
  121. package/dist/index.es93.js +30 -4
  122. package/dist/index.es94.js +4 -28
  123. package/dist/index.es96.js +4 -8
  124. package/dist/index.es97.js +27 -341
  125. package/dist/index.es98.js +2 -166
  126. package/dist/index.es99.js +8 -57
  127. package/dist/style.css +19 -0
  128. package/package.json +1 -1
@@ -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.es40.js";
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.es44.js";
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.es52.js";
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.es53.js";
33
+ import "./index.es56.js";
34
34
  import "./index.es31.js";
35
35
  import { Text as d } from "./index.es34.js";
36
- import "./index.es54.js";
36
+ import "./index.es57.js";
37
37
  const jt = (f) => {
38
38
  const {
39
39
  className: h,
@@ -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.es63.js";
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.es47.js";
11
- import { popoverVariants as q, searchOptionVariants as A } from "./index.es48.js";
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,
@@ -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.es64.js";
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.es65.js";
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,
@@ -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.es66.js";
6
- import { validateMinDistance as H } from "./index.es67.js";
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",
@@ -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.es52.js";
6
+ import { statusChipVariants as I } from "./index.es55.js";
7
7
  const F = ({
8
8
  size: m = "sm",
9
9
  label: n,
@@ -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.es60.js";
7
- import B from "./index.es61.js";
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.es62.js";
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;
@@ -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.es53.js";
6
+ import { switchVariants as b } from "./index.es56.js";
7
7
  const E = ({
8
8
  children: f,
9
9
  label: m,
@@ -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.es51.js";
6
- import { tooltipVariants as N } from "./index.es50.js";
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: [
@@ -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.es51.js";
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)
@@ -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.es54.js";
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 });
@@ -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.es54.js";
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 B } from "./index.es38.js";
3
- import { Breadcrumbs as C, Breadcrumb as g, Link as F } from "react-aria-components";
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 m, breadcrumbSeparatorVariants as k } from "./index.es39.js";
6
- const A = ({
5
+ import { breadcrumbsContainerVariants as V, breadcrumbItemVariants as o, breadcrumbSeparatorVariants as y } from "./index.es39.js";
6
+ const S = ({
7
7
  items: a = [],
8
- className: o,
9
- onAction: u,
10
- linkComponent: i,
11
- hiddenIconArrow: x,
12
- isDisabled: n = !1,
13
- classNameLink: c,
14
- classNameCurrentLink: b,
15
- ...d
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 f = i || F;
19
+ const x = l || f, N = l && l !== f;
20
20
  return /* @__PURE__ */ r.jsx(
21
21
  C,
22
22
  {
23
- className: s(V(), o),
24
- isDisabled: n,
25
- onAction: u,
26
- ...d,
27
- children: a.map((e, p) => {
28
- const h = p === 0;
29
- return /* @__PURE__ */ r.jsx(g, { className: "flex items-center", children: ({ isCurrent: j }) => j ? /* @__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
- m({ isCurrent: !0, isDisabled: n }),
34
- c,
35
- b
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.jsx(
41
- f,
40
+ N ? /* @__PURE__ */ r.jsxs(
41
+ x,
42
42
  {
43
43
  href: e.href,
44
- className: ({ isHovered: t, isFocusVisible: l }) => s(
45
- m({
46
- isHovered: t,
47
- isFocusVisible: l,
44
+ className: s(
45
+ o({
48
46
  isCurrent: !1,
49
- isDisabled: n
47
+ isDisabled: t
50
48
  }),
51
- c
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: ({ isHovered: t, isDisabled: l, isFocusVisible: N }) => /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
54
- h && !x && /* @__PURE__ */ r.jsx(
55
- B,
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 || N ? "text-blue-500" : l ? "text-neutral-600" : ""
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: k(), children: "/" })
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
- A as Breadcrumbs
100
+ S as Breadcrumbs
75
101
  };
@@ -1,173 +1,32 @@
1
- import { cva as r } from "class-variance-authority";
2
- const t = r(
3
- "inline-flex select-none items-center justify-center text-center text-xs font-semibold leading-6 transition duration-150 ease-in-out focus:outline-none",
4
- {
5
- variants: {
6
- intent: {
7
- primary: "bg-primary-500 text-primary-50",
8
- secondary: "border border-primary-500 bg-primary-50 text-primary-500",
9
- tertiary: "text-primary-500",
10
- outline: "border border-primary-500 text-primary-500",
11
- success: "border bg-success-500 text-success-50",
12
- error: "border bg-error-500 text-error-50",
13
- orangeWarning: "border bg-orange-warning-500 text-orange-warning-50",
14
- yellowWarning: "border bg-yellow-warning-500 text-yellow-warning-900",
15
- info: "border bg-blue-500 text-blue-50"
16
- },
17
- size: {
18
- xs: "rounded px-3 py-1",
19
- sm: "rounded px-3 py-2",
20
- md: "rounded px-4 py-3",
21
- lg: "rounded-lg px-6 py-4"
22
- },
23
- isDisabled: {
24
- true: "pointer-events-none cursor-not-allowed border-none bg-neutral-400 text-neutral-600"
25
- },
26
- isHovered: {
27
- true: ""
28
- },
29
- isActive: {
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
- t as buttonVariants
31
+ m as MarkIcon
173
32
  };