@simpli-route/apollo-ds 0.0.17 → 0.0.18

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 (64) hide show
  1. package/dist/index.cjs.js +1 -1
  2. package/dist/index.cjs10.js +1 -1
  3. package/dist/index.cjs11.js +1 -1
  4. package/dist/index.cjs12.js +1 -1
  5. package/dist/index.cjs13.js +1 -1
  6. package/dist/index.cjs15.js +1 -1
  7. package/dist/index.cjs16.js +1 -1
  8. package/dist/index.cjs17.js +1 -1
  9. package/dist/index.cjs18.js +1 -1
  10. package/dist/index.cjs19.js +1 -1
  11. package/dist/index.cjs2.js +1 -1
  12. package/dist/index.cjs20.js +1 -1
  13. package/dist/index.cjs21.js +1 -1
  14. package/dist/index.cjs22.js +9 -1
  15. package/dist/index.cjs23.js +19 -1
  16. package/dist/index.cjs24.js +1 -9
  17. package/dist/index.cjs25.js +1 -19
  18. package/dist/index.cjs26.js +1 -1
  19. package/dist/index.cjs27.js +1 -1
  20. package/dist/index.cjs28.js +1 -1
  21. package/dist/index.cjs3.js +1 -1
  22. package/dist/index.cjs4.js +1 -1
  23. package/dist/index.cjs5.js +1 -1
  24. package/dist/index.cjs6.js +1 -1
  25. package/dist/index.cjs7.js +1 -1
  26. package/dist/index.cjs8.js +1 -1
  27. package/dist/index.cjs9.js +1 -1
  28. package/dist/index.d.ts +1 -7
  29. package/dist/index.es.js +14 -15
  30. package/dist/index.es10.js +6 -33
  31. package/dist/index.es11.js +6 -6
  32. package/dist/index.es12.js +22 -6
  33. package/dist/index.es13.js +173 -30
  34. package/dist/index.es15.js +92 -22
  35. package/dist/index.es16.js +22 -15
  36. package/dist/index.es17.js +15 -20
  37. package/dist/index.es18.js +17 -89
  38. package/dist/index.es19.js +29 -9
  39. package/dist/index.es2.js +3 -3
  40. package/dist/index.es20.js +152 -10
  41. package/dist/index.es21.js +2 -31
  42. package/dist/index.es22.js +29 -21
  43. package/dist/index.es23.js +599 -2
  44. package/dist/index.es24.js +5 -30
  45. package/dist/index.es25.js +2 -599
  46. package/dist/index.es26.js +2 -5
  47. package/dist/index.es27.js +21 -152
  48. package/dist/index.es28.js +21 -173
  49. package/dist/index.es3.js +5 -5
  50. package/dist/index.es4.js +3 -3
  51. package/dist/index.es5.js +22 -19
  52. package/dist/index.es6.js +2 -2
  53. package/dist/index.es7.js +5 -5
  54. package/dist/index.es8.js +3 -3
  55. package/dist/index.es9.js +3 -3
  56. package/package.json +1 -1
  57. package/dist/index.cjs29.js +0 -1
  58. package/dist/index.cjs30.js +0 -1
  59. package/dist/index.cjs31.js +0 -1
  60. package/dist/index.cjs32.js +0 -1
  61. package/dist/index.es29.js +0 -4
  62. package/dist/index.es30.js +0 -4
  63. package/dist/index.es31.js +0 -23
  64. package/dist/index.es32.js +0 -23
@@ -1,12 +1,154 @@
1
- import { j as m } from "./index.es11.js";
2
- import { useRef as l } from "react";
3
- import { useTabPanel as p } from "react-aria";
4
- import { cn as i } from "./index.es12.js";
5
- const P = (r) => {
6
- var t;
7
- const { className: o, state: s, ...n } = r, e = l(null), { tabPanelProps: a } = p(n, s, e), c = i("", o);
8
- return /* @__PURE__ */ m.jsx("div", { ...a, ref: e, className: c, children: (t = s.selectedItem) == null ? void 0 : t.props.children });
9
- };
1
+ import { cva as e } from "class-variance-authority";
2
+ const i = [
3
+ {
4
+ intent: "primary",
5
+ isHovered: !0,
6
+ isDisabled: !1,
7
+ isActive: !1,
8
+ class: "bg-primary-100"
9
+ },
10
+ {
11
+ intent: "primary",
12
+ isHovered: !0,
13
+ isDisabled: !1,
14
+ isActive: !0,
15
+ class: "bg-primary-700 text-primary-50"
16
+ },
17
+ {
18
+ intent: "secondary",
19
+ isHovered: !0,
20
+ isDisabled: !1,
21
+ isActive: !1,
22
+ class: "bg-primary-300"
23
+ },
24
+ {
25
+ intent: "secondary",
26
+ isHovered: !0,
27
+ isDisabled: !1,
28
+ isActive: !0,
29
+ class: "bg-primary-700 text-primary-50"
30
+ },
31
+ {
32
+ intent: "minimal",
33
+ isHovered: !0,
34
+ isDisabled: !1,
35
+ isActive: !1,
36
+ class: "bg-neutral-200 text-neutral-800"
37
+ },
38
+ {
39
+ intent: "minimal",
40
+ isHovered: !0,
41
+ isDisabled: !1,
42
+ isActive: !0,
43
+ class: "bg-neutral-200 text-primary-700"
44
+ }
45
+ ], t = [
46
+ {
47
+ intent: "primary",
48
+ isActive: !0,
49
+ isDisabled: !1,
50
+ class: "bg-primary-500 text-primary-50"
51
+ },
52
+ {
53
+ intent: "primary",
54
+ isActive: !0,
55
+ isDisabled: !0,
56
+ class: "bg-primary-300 text-primary-100"
57
+ },
58
+ {
59
+ intent: "secondary",
60
+ isActive: !0,
61
+ isDisabled: !1,
62
+ class: "bg-primary-700 text-primary-50"
63
+ },
64
+ {
65
+ intent: "secondary",
66
+ isActive: !0,
67
+ isDisabled: !0,
68
+ class: "bg-primary-100 text-primary-300"
69
+ },
70
+ {
71
+ intent: "minimal",
72
+ isActive: !0,
73
+ isDisabled: !1,
74
+ class: "text-primary-500"
75
+ },
76
+ {
77
+ intent: "minimal",
78
+ isActive: !0,
79
+ isDisabled: !0,
80
+ class: "text-neutral-700"
81
+ }
82
+ ], s = [
83
+ {
84
+ intent: "primary",
85
+ isDisabled: !0,
86
+ isActive: !1,
87
+ class: "text-neutral-600"
88
+ },
89
+ {
90
+ intent: "primary",
91
+ isDisabled: !0,
92
+ isActive: !0,
93
+ class: "bg-primary-300 text-primary-100"
94
+ },
95
+ {
96
+ intent: "secondary",
97
+ isDisabled: !0,
98
+ isActive: !1,
99
+ class: "bg-neutral-400 text-neutral-600"
100
+ },
101
+ {
102
+ intent: "secondary",
103
+ isDisabled: !0,
104
+ isActive: !0,
105
+ class: "bg-primary-100 text-primary-300"
106
+ },
107
+ {
108
+ intent: "minimal",
109
+ isDisabled: !0,
110
+ isActive: !1,
111
+ class: "text-neutral-600"
112
+ },
113
+ {
114
+ intent: "minimal",
115
+ isDisabled: !0,
116
+ isActive: !0,
117
+ class: "text-neutral-700"
118
+ }
119
+ ], a = e(
120
+ "inline-flex items-center justify-center border border-transparent transition duration-150 ease-in-out",
121
+ {
122
+ variants: {
123
+ intent: {
124
+ primary: "bg-transparent text-primary-500",
125
+ secondary: "bg-primary-200 text-primary-500",
126
+ minimal: "bg-transparent text-neutral-700"
127
+ },
128
+ size: {
129
+ xxs: "p-1",
130
+ xs: "p-2",
131
+ sm: "p-2.5",
132
+ md: "p-3",
133
+ lg: "p-4"
134
+ },
135
+ isDisabled: {
136
+ true: "pointer-events-none cursor-not-allowed"
137
+ },
138
+ isHovered: {
139
+ true: ""
140
+ },
141
+ isActive: {
142
+ true: ""
143
+ },
144
+ isFocused: {
145
+ false: "",
146
+ true: "focus:outline-none focus:ring-offset-2 outline-none ring-2 ring-sky-400"
147
+ }
148
+ },
149
+ compoundVariants: [...i, ...t, ...s]
150
+ }
151
+ );
10
152
  export {
11
- P as TabPanel
153
+ a as buttonVariants
12
154
  };
@@ -1,33 +1,4 @@
1
- import { cva as r } from "class-variance-authority";
2
- const e = r("flex h-full max-h-12", {
3
- variants: {
4
- orientation: {
5
- horizontal: "flex-col",
6
- vertical: "flex-row"
7
- }
8
- }
9
- }), i = r(
10
- "group inline-flex cursor-pointer items-center px-4 py-3 text-base font-semibold focus-visible:outline-none",
11
- {
12
- variants: {
13
- isActive: {
14
- true: "bg-primary-50 text-primary-600 ",
15
- false: "text-neutral-500 hover:text-primary-900"
16
- },
17
- orientation: {
18
- horizontal: "border-b-2 border-transparent",
19
- vertical: "border-r-2 border-transparent"
20
- }
21
- },
22
- compoundVariants: [
23
- { isActive: !0, orientation: "horizontal", class: "border-b-2 border-primary-500" },
24
- { isActive: !1, orientation: "horizontal", class: "border-b-2 border-primary-200" },
25
- { isActive: !1, orientation: "vertical", class: "border-r-2 border-primary-200" },
26
- { isActive: !0, orientation: "vertical", class: "border-r-2 border-primary-500" }
27
- ]
28
- }
29
- );
1
+ var e = { exports: {} };
30
2
  export {
31
- i as tabVariants,
32
- e as tabsVariants
3
+ e as __module
33
4
  };
@@ -1,24 +1,32 @@
1
- import { cva as t } from "class-variance-authority";
2
- const o = t("scroll-m-12 text-neutral-900", {
3
- variants: {
4
- size: {
5
- h1: "text-[2rem] font-bold leading-10",
6
- h2: "text-[1.75rem] font-bold leading-9",
7
- h3: "text-2xl font-semibold",
8
- h4: "text-[1.375rem] font-semibold leading-7",
9
- h5: "text-xl font-semibold",
10
- h6: "text-lg font-semibold"
11
- }
1
+ import { __exports as t } from "./index.es25.js";
2
+ import R from "react";
3
+ /**
4
+ * @license React
5
+ * react-jsx-runtime.production.min.js
6
+ *
7
+ * Copyright (c) Facebook, Inc. and its affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+ var p;
13
+ function v() {
14
+ if (p)
15
+ return t;
16
+ p = 1;
17
+ var s = R, m = Symbol.for("react.element"), l = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
18
+ function i(o, r, u) {
19
+ var e, n = {}, _ = null, f = null;
20
+ u !== void 0 && (_ = "" + u), r.key !== void 0 && (_ = "" + r.key), r.ref !== void 0 && (f = r.ref);
21
+ for (e in r)
22
+ c.call(r, e) && !y.hasOwnProperty(e) && (n[e] = r[e]);
23
+ if (o && o.defaultProps)
24
+ for (e in r = o.defaultProps, r)
25
+ n[e] === void 0 && (n[e] = r[e]);
26
+ return { $$typeof: m, type: o, key: _, ref: f, props: n, _owner: d.current };
12
27
  }
13
- }), n = t("", {
14
- variants: {
15
- type: {
16
- body: "text-base text-neutral-900",
17
- caption: "text-xs text-neutral-700"
18
- }
19
- }
20
- });
28
+ return t.Fragment = l, t.jsx = i, t.jsxs = i, t;
29
+ }
21
30
  export {
22
- n as textVariants,
23
- o as titleVariants
31
+ v as __require
24
32
  };