@simpli-route/apollo-ds 0.1.28 → 0.1.30

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 (250) hide show
  1. package/dist/components/Input/InputInvisible.d.ts +12 -0
  2. package/dist/components/Input/index.d.ts +2 -1
  3. package/dist/components/Input/types.d.ts +29 -1
  4. package/dist/components/Input/variants.d.ts +14 -0
  5. package/dist/components/NumberField/variants.d.ts +1 -1
  6. package/dist/index.cjs.js +1 -1
  7. package/dist/index.cjs10.js +1 -1
  8. package/dist/index.cjs100.js +1 -1
  9. package/dist/index.cjs101.js +1 -1
  10. package/dist/index.cjs102.js +1 -1
  11. package/dist/index.cjs103.js +1 -1
  12. package/dist/index.cjs104.js +1 -1
  13. package/dist/index.cjs105.js +1 -1
  14. package/dist/index.cjs11.js +1 -1
  15. package/dist/index.cjs116.js +1 -1
  16. package/dist/index.cjs117.js +1 -1
  17. package/dist/index.cjs118.js +1 -1
  18. package/dist/index.cjs119.js +1 -1
  19. package/dist/index.cjs12.js +1 -1
  20. package/dist/index.cjs120.js +1 -1
  21. package/dist/index.cjs121.js +1 -1
  22. package/dist/index.cjs122.js +1 -1
  23. package/dist/index.cjs123.js +1 -1
  24. package/dist/index.cjs124.js +1 -1
  25. package/dist/index.cjs13.js +1 -1
  26. package/dist/index.cjs134.js +1 -1
  27. package/dist/index.cjs135.js +1 -1
  28. package/dist/index.cjs136.js +1 -1
  29. package/dist/index.cjs14.js +1 -1
  30. package/dist/index.cjs143.js +1 -0
  31. package/dist/index.cjs15.js +1 -1
  32. package/dist/index.cjs16.js +1 -1
  33. package/dist/index.cjs17.js +1 -1
  34. package/dist/index.cjs18.js +1 -1
  35. package/dist/index.cjs19.js +1 -1
  36. package/dist/index.cjs2.js +1 -1
  37. package/dist/index.cjs20.js +1 -1
  38. package/dist/index.cjs21.js +1 -1
  39. package/dist/index.cjs22.js +1 -1
  40. package/dist/index.cjs23.js +1 -1
  41. package/dist/index.cjs24.js +1 -1
  42. package/dist/index.cjs25.js +1 -1
  43. package/dist/index.cjs26.js +1 -1
  44. package/dist/index.cjs27.js +1 -1
  45. package/dist/index.cjs28.js +1 -1
  46. package/dist/index.cjs29.js +1 -1
  47. package/dist/index.cjs3.js +1 -1
  48. package/dist/index.cjs30.js +1 -1
  49. package/dist/index.cjs31.js +1 -1
  50. package/dist/index.cjs32.js +1 -1
  51. package/dist/index.cjs33.js +1 -1
  52. package/dist/index.cjs34.js +1 -1
  53. package/dist/index.cjs35.js +1 -1
  54. package/dist/index.cjs36.js +1 -1
  55. package/dist/index.cjs37.js +1 -1
  56. package/dist/index.cjs38.js +1 -1
  57. package/dist/index.cjs39.js +1 -1
  58. package/dist/index.cjs4.js +1 -1
  59. package/dist/index.cjs40.js +1 -1
  60. package/dist/index.cjs41.js +1 -1
  61. package/dist/index.cjs42.js +1 -1
  62. package/dist/index.cjs43.js +1 -1
  63. package/dist/index.cjs44.js +1 -1
  64. package/dist/index.cjs45.js +1 -1
  65. package/dist/index.cjs46.js +1 -1
  66. package/dist/index.cjs47.js +1 -1
  67. package/dist/index.cjs48.js +1 -1
  68. package/dist/index.cjs49.js +1 -1
  69. package/dist/index.cjs5.js +1 -1
  70. package/dist/index.cjs50.js +1 -1
  71. package/dist/index.cjs51.js +1 -1
  72. package/dist/index.cjs52.js +1 -1
  73. package/dist/index.cjs53.js +1 -1
  74. package/dist/index.cjs54.js +1 -1
  75. package/dist/index.cjs55.js +1 -1
  76. package/dist/index.cjs56.js +1 -1
  77. package/dist/index.cjs57.js +1 -1
  78. package/dist/index.cjs58.js +1 -1
  79. package/dist/index.cjs59.js +1 -1
  80. package/dist/index.cjs6.js +1 -1
  81. package/dist/index.cjs60.js +1 -1
  82. package/dist/index.cjs61.js +1 -1
  83. package/dist/index.cjs62.js +1 -1
  84. package/dist/index.cjs63.js +1 -1
  85. package/dist/index.cjs64.js +1 -9
  86. package/dist/index.cjs65.js +3 -13
  87. package/dist/index.cjs66.js +19 -1
  88. package/dist/index.cjs67.js +1 -1
  89. package/dist/index.cjs68.js +1 -1
  90. package/dist/index.cjs69.js +1 -1
  91. package/dist/index.cjs7.js +1 -1
  92. package/dist/index.cjs70.js +1 -1
  93. package/dist/index.cjs71.js +1 -1
  94. package/dist/index.cjs72.js +1 -1
  95. package/dist/index.cjs73.js +1 -1
  96. package/dist/index.cjs74.js +1 -1
  97. package/dist/index.cjs75.js +1 -1
  98. package/dist/index.cjs76.js +1 -1
  99. package/dist/index.cjs77.js +1 -1
  100. package/dist/index.cjs78.js +1 -1
  101. package/dist/index.cjs79.js +1 -1
  102. package/dist/index.cjs8.js +1 -1
  103. package/dist/index.cjs80.js +1 -1
  104. package/dist/index.cjs81.js +1 -1
  105. package/dist/index.cjs82.js +1 -1
  106. package/dist/index.cjs84.js +1 -1
  107. package/dist/index.cjs85.js +1 -1
  108. package/dist/index.cjs86.js +1 -1
  109. package/dist/index.cjs88.js +1 -1
  110. package/dist/index.cjs89.js +1 -1
  111. package/dist/index.cjs9.js +1 -1
  112. package/dist/index.cjs90.js +1 -1
  113. package/dist/index.cjs91.js +1 -1
  114. package/dist/index.cjs92.js +1 -1
  115. package/dist/index.cjs93.js +1 -1
  116. package/dist/index.cjs94.js +1 -1
  117. package/dist/index.cjs95.js +1 -1
  118. package/dist/index.cjs96.js +1 -1
  119. package/dist/index.cjs97.js +1 -1
  120. package/dist/index.cjs98.js +1 -1
  121. package/dist/index.cjs99.js +1 -1
  122. package/dist/index.es.js +39 -37
  123. package/dist/index.es10.js +31 -49
  124. package/dist/index.es100.js +147 -10
  125. package/dist/index.es101.js +11 -11
  126. package/dist/index.es102.js +13 -207
  127. package/dist/index.es103.js +199 -56
  128. package/dist/index.es104.js +64 -10
  129. package/dist/index.es105.js +14 -4
  130. package/dist/index.es106.js +2 -2
  131. package/dist/index.es107.js +2 -2
  132. package/dist/index.es108.js +2 -2
  133. package/dist/index.es11.js +49 -37
  134. package/dist/index.es110.js +2 -2
  135. package/dist/index.es111.js +2 -2
  136. package/dist/index.es112.js +2 -2
  137. package/dist/index.es113.js +2 -2
  138. package/dist/index.es114.js +2 -2
  139. package/dist/index.es115.js +2 -2
  140. package/dist/index.es116.js +2 -2
  141. package/dist/index.es117.js +2 -1063
  142. package/dist/index.es118.js +1064 -76
  143. package/dist/index.es119.js +77 -4
  144. package/dist/index.es12.js +34 -87
  145. package/dist/index.es120.js +2 -57
  146. package/dist/index.es121.js +59 -20
  147. package/dist/index.es122.js +20 -4
  148. package/dist/index.es123.js +2 -8
  149. package/dist/index.es124.js +1 -1
  150. package/dist/index.es13.js +82 -90
  151. package/dist/index.es134.js +10 -28
  152. package/dist/index.es135.js +28 -4
  153. package/dist/index.es136.js +2 -2
  154. package/dist/index.es14.js +98 -72
  155. package/dist/index.es143.js +4 -0
  156. package/dist/index.es15.js +74 -141
  157. package/dist/index.es16.js +135 -31
  158. package/dist/index.es17.js +37 -75
  159. package/dist/index.es18.js +78 -48
  160. package/dist/index.es19.js +48 -3
  161. package/dist/index.es2.js +2 -2
  162. package/dist/index.es20.js +3 -100
  163. package/dist/index.es21.js +99 -77
  164. package/dist/index.es22.js +76 -43
  165. package/dist/index.es23.js +41 -20
  166. package/dist/index.es24.js +21 -25
  167. package/dist/index.es25.js +28 -8
  168. package/dist/index.es26.js +7 -7
  169. package/dist/index.es27.js +8 -6
  170. package/dist/index.es28.js +6 -6
  171. package/dist/index.es29.js +6 -171
  172. package/dist/index.es3.js +3 -3
  173. package/dist/index.es30.js +17 -43
  174. package/dist/index.es31.js +29 -33
  175. package/dist/index.es32.js +20 -36
  176. package/dist/index.es33.js +29 -29
  177. package/dist/index.es34.js +145 -25
  178. package/dist/index.es35.js +42 -23
  179. package/dist/index.es36.js +26 -47
  180. package/dist/index.es37.js +106 -29
  181. package/dist/index.es38.js +40 -3
  182. package/dist/index.es39.js +41 -78
  183. package/dist/index.es4.js +20 -19
  184. package/dist/index.es40.js +39 -21
  185. package/dist/index.es41.js +3 -17
  186. package/dist/index.es42.js +86 -95
  187. package/dist/index.es43.js +20 -11
  188. package/dist/index.es44.js +3 -3
  189. package/dist/index.es45.js +2 -2
  190. package/dist/index.es46.js +3 -3
  191. package/dist/index.es47.js +163 -13
  192. package/dist/index.es48.js +100 -136
  193. package/dist/index.es49.js +12 -19
  194. package/dist/index.es5.js +4 -4
  195. package/dist/index.es50.js +7 -163
  196. package/dist/index.es51.js +16 -28
  197. package/dist/index.es52.js +147 -16
  198. package/dist/index.es53.js +15 -14
  199. package/dist/index.es54.js +14 -13
  200. package/dist/index.es55.js +16 -10
  201. package/dist/index.es56.js +19 -10
  202. package/dist/index.es57.js +17 -42
  203. package/dist/index.es58.js +13 -7
  204. package/dist/index.es59.js +9 -17
  205. package/dist/index.es6.js +3 -3
  206. package/dist/index.es60.js +10 -149
  207. package/dist/index.es61.js +45 -19
  208. package/dist/index.es62.js +133 -16
  209. package/dist/index.es63.js +20 -2
  210. package/dist/index.es64.js +2 -30
  211. package/dist/index.es65.js +21 -590
  212. package/dist/index.es66.js +599 -21
  213. package/dist/index.es67.js +4 -4
  214. package/dist/index.es68.js +11 -9
  215. package/dist/index.es69.js +7 -7
  216. package/dist/index.es7.js +15 -15
  217. package/dist/index.es70.js +13 -15
  218. package/dist/index.es71.js +8 -8
  219. package/dist/index.es72.js +10 -8
  220. package/dist/index.es73.js +10 -10
  221. package/dist/index.es74.js +19 -30
  222. package/dist/index.es75.js +29 -56
  223. package/dist/index.es76.js +57 -4
  224. package/dist/index.es77.js +6 -28
  225. package/dist/index.es78.js +28 -4
  226. package/dist/index.es79.js +2 -8
  227. package/dist/index.es8.js +3 -3
  228. package/dist/index.es80.js +8 -340
  229. package/dist/index.es81.js +336 -162
  230. package/dist/index.es82.js +166 -2
  231. package/dist/index.es83.js +2 -2
  232. package/dist/index.es84.js +4 -190
  233. package/dist/index.es85.js +178 -39
  234. package/dist/index.es86.js +51 -4
  235. package/dist/index.es88.js +4 -21
  236. package/dist/index.es89.js +21 -4
  237. package/dist/index.es9.js +77 -32
  238. package/dist/index.es90.js +2 -43
  239. package/dist/index.es91.js +43 -5
  240. package/dist/index.es92.js +5 -5
  241. package/dist/index.es93.js +7 -27
  242. package/dist/index.es94.js +22 -187
  243. package/dist/index.es95.js +184 -8
  244. package/dist/index.es96.js +10 -347
  245. package/dist/index.es97.js +347 -18
  246. package/dist/index.es98.js +18 -13
  247. package/dist/index.es99.js +12 -147
  248. package/dist/stories/InputInvisible.stories.d.ts +45 -0
  249. package/dist/style.css +76 -0
  250. package/package.json +1 -1
@@ -1,4 +1,77 @@
1
- var a = {};
2
- export {
3
- a as __exports
4
- };
1
+ import { __exports as h } from "./index.es120.js";
2
+ import { p as D } from "./index.es134.js";
3
+ import "./index.es124.js";
4
+ import { __exports as O } from "./index.es125.js";
5
+ (function(o) {
6
+ Object.defineProperty(o, "__esModule", {
7
+ value: !0
8
+ });
9
+ function m(e, t) {
10
+ for (var l in t)
11
+ Object.defineProperty(e, l, {
12
+ enumerable: !0,
13
+ get: t[l]
14
+ });
15
+ }
16
+ m(o, {
17
+ flagEnabled: function() {
18
+ return y;
19
+ },
20
+ issueFlagNotices: function() {
21
+ return x;
22
+ },
23
+ default: function() {
24
+ return b;
25
+ }
26
+ });
27
+ const f = /* @__PURE__ */ d(D), c = /* @__PURE__ */ d(O);
28
+ function d(e) {
29
+ return e && e.__esModule ? e : {
30
+ default: e
31
+ };
32
+ }
33
+ let p = {
34
+ optimizeUniversalDefaults: !1,
35
+ generalizedModifiers: !0,
36
+ disableColorOpacityUtilitiesByDefault: !1,
37
+ relativeContentPathsByDefault: !1
38
+ }, r = {
39
+ future: [
40
+ "hoverOnlyWhenSupported",
41
+ "respectDefaultRingColorOpacity",
42
+ "disableColorOpacityUtilitiesByDefault",
43
+ "relativeContentPathsByDefault"
44
+ ],
45
+ experimental: [
46
+ "optimizeUniversalDefaults",
47
+ "generalizedModifiers"
48
+ ]
49
+ };
50
+ function y(e, t) {
51
+ if (r.future.includes(t)) {
52
+ var l, a, i;
53
+ return e.future === "all" || ((i = (a = e == null || (l = e.future) === null || l === void 0 ? void 0 : l[t]) !== null && a !== void 0 ? a : p[t]) !== null && i !== void 0 ? i : !1);
54
+ }
55
+ if (r.experimental.includes(t)) {
56
+ var n, u, s;
57
+ return e.experimental === "all" || ((s = (u = e == null || (n = e.experimental) === null || n === void 0 ? void 0 : n[t]) !== null && u !== void 0 ? u : p[t]) !== null && s !== void 0 ? s : !1);
58
+ }
59
+ return !1;
60
+ }
61
+ function v(e) {
62
+ if (e.experimental === "all")
63
+ return r.experimental;
64
+ var t;
65
+ return Object.keys((t = e == null ? void 0 : e.experimental) !== null && t !== void 0 ? t : {}).filter((l) => r.experimental.includes(l) && e.experimental[l]);
66
+ }
67
+ function x(e) {
68
+ if (process.env.JEST_WORKER_ID === void 0 && v(e).length > 0) {
69
+ let t = v(e).map((l) => f.default.yellow(l)).join(", ");
70
+ c.default.warn("experimental-flags-enabled", [
71
+ `You have enabled experimental features: ${t}`,
72
+ "Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."
73
+ ]);
74
+ }
75
+ }
76
+ const b = r;
77
+ })(h);
@@ -1,93 +1,40 @@
1
- import { j as r } from "./index.es27.js";
2
- import { NumberField as w, Group as B, Input as E } from "react-aria-components";
3
- import { cn as l } from "./index.es28.js";
4
- import { Label as G } from "./index.es9.js";
5
- import { CaptionNumberField as S } from "./index.es45.js";
6
- import { StepperButton as V } from "./index.es46.js";
7
- import { inputNumberVariant as _ } from "./index.es32.js";
8
- const J = ({
9
- size: o = "sm",
10
- label: i,
11
- description: s,
12
- errorMessage: n,
13
- isDisabled: e = !1,
14
- isReadOnly: t = !1,
15
- isRequired: p = !1,
16
- tooltipText: f,
17
- tooltipSupportText: u,
18
- tooltipProps: d,
19
- className: x,
20
- descriptionClasses: c,
21
- errorClasses: N,
22
- validationState: a = "default",
23
- inputClassName: j,
24
- maxValue: v,
25
- minValue: b = 0,
26
- autoFocus: F = !1,
27
- maxLength: h,
28
- classNameNumberField: C,
29
- ...I
30
- }) => {
31
- const m = a === "invalid" && !e;
32
- return /* @__PURE__ */ r.jsx("div", { className: l("flex", x), children: /* @__PURE__ */ r.jsxs(
33
- w,
1
+ import { j as e } from "./index.es28.js";
2
+ import { forwardRef as x } from "react";
3
+ import { cn as y } from "./index.es29.js";
4
+ import { Loader as f } from "./index.es11.js";
5
+ import { Overlay as u } from "./index.es44.js";
6
+ const v = (s, a) => {
7
+ const {
8
+ className: l,
9
+ visible: t,
10
+ loaderProps: i = { size: "lg" },
11
+ overlayProps: n = { opacity: "2xl" },
12
+ zIndex: r = 1e3,
13
+ loader: o,
14
+ keepMounted: d,
15
+ blur: m = 4,
16
+ ...c
17
+ } = s, p = `calc(${r} + 1)`;
18
+ return !d && !t ? null : /* @__PURE__ */ e.jsxs(
19
+ "div",
34
20
  {
35
- autoFocus: F,
36
- className: l(e ? "opacity-70" : "", C),
37
- isDisabled: e,
38
- isReadOnly: t,
39
- maxValue: v,
40
- minValue: b,
41
- ...I,
21
+ ref: a,
22
+ className: y(
23
+ "absolute inset-0 z-50 flex items-center justify-center rounded-sm",
24
+ `backdrop-blur-[${m}px]`,
25
+ "bg-white/50",
26
+ l
27
+ ),
28
+ style: { zIndex: r },
29
+ ...c,
42
30
  children: [
43
- /* @__PURE__ */ r.jsx(
44
- G,
45
- {
46
- labelClassName: l("leading-[19.07px] text-left mb-0.5", {
47
- "text-neutral-700": e
48
- }),
49
- isRequired: p,
50
- tooltipText: f,
51
- tooltipSupportText: u,
52
- tooltipProps: d,
53
- children: i
54
- }
55
- ),
56
- /* @__PURE__ */ r.jsxs(B, { className: "relative mb-0.5 w-full rounded", children: [
57
- /* @__PURE__ */ r.jsx(
58
- E,
59
- {
60
- disabled: e,
61
- maxLength: h,
62
- className: ({ isFocused: L, isHovered: g }) => l(
63
- _({
64
- size: o,
65
- isDisabled: e,
66
- isReadOnly: t,
67
- isHovered: g,
68
- isFocused: L,
69
- validationState: a === "valid" ? "valid" : m ? "invalid" : "default"
70
- }),
71
- j
72
- )
73
- }
74
- ),
75
- /* @__PURE__ */ r.jsx(V, { isDisabled: e })
76
- ] }),
77
- /* @__PURE__ */ r.jsx(
78
- S,
79
- {
80
- description: s,
81
- descriptionClasses: c,
82
- errorMessage: n,
83
- errorClasses: N,
84
- isInvalidField: m
85
- }
86
- )
31
+ /* @__PURE__ */ e.jsx("div", { style: { zIndex: p }, children: o || /* @__PURE__ */ e.jsx(f, { ...i }) }),
32
+ /* @__PURE__ */ e.jsx(u, { zIndex: r, ...n })
87
33
  ]
88
34
  }
89
- ) });
90
- };
35
+ );
36
+ }, j = x(v);
37
+ j.displayName = "LoadingOverlay";
91
38
  export {
92
- J as NumberField
39
+ j as LoadingOverlay
93
40
  };
@@ -1,59 +1,4 @@
1
- var f = {
2
- aqua: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
3
- azure: /#f0ffff(ff)?(?!\w)/gi,
4
- beige: /#f5f5dc(ff)?(?!\w)/gi,
5
- bisque: /#ffe4c4(ff)?(?!\w)/gi,
6
- black: /#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,
7
- blue: /#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,
8
- brown: /#a52a2a(ff)?(?!\w)/gi,
9
- coral: /#ff7f50(ff)?(?!\w)/gi,
10
- cornsilk: /#fff8dc(ff)?(?!\w)/gi,
11
- crimson: /#dc143c(ff)?(?!\w)/gi,
12
- cyan: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
13
- darkblue: /#00008b(ff)?(?!\w)/gi,
14
- darkcyan: /#008b8b(ff)?(?!\w)/gi,
15
- darkgrey: /#a9a9a9(ff)?(?!\w)/gi,
16
- darkred: /#8b0000(ff)?(?!\w)/gi,
17
- deeppink: /#ff1493(ff)?(?!\w)/gi,
18
- dimgrey: /#696969(ff)?(?!\w)/gi,
19
- gold: /#ffd700(ff)?(?!\w)/gi,
20
- green: /#008000(ff)?(?!\w)/gi,
21
- grey: /#808080(ff)?(?!\w)/gi,
22
- honeydew: /#f0fff0(ff)?(?!\w)/gi,
23
- hotpink: /#ff69b4(ff)?(?!\w)/gi,
24
- indigo: /#4b0082(ff)?(?!\w)/gi,
25
- ivory: /#fffff0(ff)?(?!\w)/gi,
26
- khaki: /#f0e68c(ff)?(?!\w)/gi,
27
- lavender: /#e6e6fa(ff)?(?!\w)/gi,
28
- lime: /#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,
29
- linen: /#faf0e6(ff)?(?!\w)/gi,
30
- maroon: /#800000(ff)?(?!\w)/gi,
31
- moccasin: /#ffe4b5(ff)?(?!\w)/gi,
32
- navy: /#000080(ff)?(?!\w)/gi,
33
- oldlace: /#fdf5e6(ff)?(?!\w)/gi,
34
- olive: /#808000(ff)?(?!\w)/gi,
35
- orange: /#ffa500(ff)?(?!\w)/gi,
36
- orchid: /#da70d6(ff)?(?!\w)/gi,
37
- peru: /#cd853f(ff)?(?!\w)/gi,
38
- pink: /#ffc0cb(ff)?(?!\w)/gi,
39
- plum: /#dda0dd(ff)?(?!\w)/gi,
40
- purple: /#800080(ff)?(?!\w)/gi,
41
- red: /#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,
42
- salmon: /#fa8072(ff)?(?!\w)/gi,
43
- seagreen: /#2e8b57(ff)?(?!\w)/gi,
44
- seashell: /#fff5ee(ff)?(?!\w)/gi,
45
- sienna: /#a0522d(ff)?(?!\w)/gi,
46
- silver: /#c0c0c0(ff)?(?!\w)/gi,
47
- skyblue: /#87ceeb(ff)?(?!\w)/gi,
48
- snow: /#fffafa(ff)?(?!\w)/gi,
49
- tan: /#d2b48c(ff)?(?!\w)/gi,
50
- teal: /#008080(ff)?(?!\w)/gi,
51
- thistle: /#d8bfd8(ff)?(?!\w)/gi,
52
- tomato: /#ff6347(ff)?(?!\w)/gi,
53
- violet: /#ee82ee(ff)?(?!\w)/gi,
54
- wheat: /#f5deb3(ff)?(?!\w)/gi,
55
- white: /#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi
56
- };
1
+ var a = {};
57
2
  export {
58
- f as s
3
+ a as __exports
59
4
  };
@@ -1,20 +1,59 @@
1
- import { __exports as i } from "./index.es122.js";
2
- import "./index.es134.js";
3
- import { __exports as o } from "./index.es135.js";
4
- (function(t) {
5
- Object.defineProperty(t, "__esModule", {
6
- value: !0
7
- }), Object.defineProperty(t, "default", {
8
- enumerable: !0,
9
- get: function() {
10
- return n;
11
- }
12
- });
13
- const r = /* @__PURE__ */ u(o);
14
- function u(e) {
15
- return e && e.__esModule ? e : {
16
- default: e
17
- };
18
- }
19
- const n = r.default;
20
- })(i);
1
+ var f = {
2
+ aqua: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
3
+ azure: /#f0ffff(ff)?(?!\w)/gi,
4
+ beige: /#f5f5dc(ff)?(?!\w)/gi,
5
+ bisque: /#ffe4c4(ff)?(?!\w)/gi,
6
+ black: /#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,
7
+ blue: /#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,
8
+ brown: /#a52a2a(ff)?(?!\w)/gi,
9
+ coral: /#ff7f50(ff)?(?!\w)/gi,
10
+ cornsilk: /#fff8dc(ff)?(?!\w)/gi,
11
+ crimson: /#dc143c(ff)?(?!\w)/gi,
12
+ cyan: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
13
+ darkblue: /#00008b(ff)?(?!\w)/gi,
14
+ darkcyan: /#008b8b(ff)?(?!\w)/gi,
15
+ darkgrey: /#a9a9a9(ff)?(?!\w)/gi,
16
+ darkred: /#8b0000(ff)?(?!\w)/gi,
17
+ deeppink: /#ff1493(ff)?(?!\w)/gi,
18
+ dimgrey: /#696969(ff)?(?!\w)/gi,
19
+ gold: /#ffd700(ff)?(?!\w)/gi,
20
+ green: /#008000(ff)?(?!\w)/gi,
21
+ grey: /#808080(ff)?(?!\w)/gi,
22
+ honeydew: /#f0fff0(ff)?(?!\w)/gi,
23
+ hotpink: /#ff69b4(ff)?(?!\w)/gi,
24
+ indigo: /#4b0082(ff)?(?!\w)/gi,
25
+ ivory: /#fffff0(ff)?(?!\w)/gi,
26
+ khaki: /#f0e68c(ff)?(?!\w)/gi,
27
+ lavender: /#e6e6fa(ff)?(?!\w)/gi,
28
+ lime: /#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,
29
+ linen: /#faf0e6(ff)?(?!\w)/gi,
30
+ maroon: /#800000(ff)?(?!\w)/gi,
31
+ moccasin: /#ffe4b5(ff)?(?!\w)/gi,
32
+ navy: /#000080(ff)?(?!\w)/gi,
33
+ oldlace: /#fdf5e6(ff)?(?!\w)/gi,
34
+ olive: /#808000(ff)?(?!\w)/gi,
35
+ orange: /#ffa500(ff)?(?!\w)/gi,
36
+ orchid: /#da70d6(ff)?(?!\w)/gi,
37
+ peru: /#cd853f(ff)?(?!\w)/gi,
38
+ pink: /#ffc0cb(ff)?(?!\w)/gi,
39
+ plum: /#dda0dd(ff)?(?!\w)/gi,
40
+ purple: /#800080(ff)?(?!\w)/gi,
41
+ red: /#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,
42
+ salmon: /#fa8072(ff)?(?!\w)/gi,
43
+ seagreen: /#2e8b57(ff)?(?!\w)/gi,
44
+ seashell: /#fff5ee(ff)?(?!\w)/gi,
45
+ sienna: /#a0522d(ff)?(?!\w)/gi,
46
+ silver: /#c0c0c0(ff)?(?!\w)/gi,
47
+ skyblue: /#87ceeb(ff)?(?!\w)/gi,
48
+ snow: /#fffafa(ff)?(?!\w)/gi,
49
+ tan: /#d2b48c(ff)?(?!\w)/gi,
50
+ teal: /#008080(ff)?(?!\w)/gi,
51
+ thistle: /#d8bfd8(ff)?(?!\w)/gi,
52
+ tomato: /#ff6347(ff)?(?!\w)/gi,
53
+ violet: /#ee82ee(ff)?(?!\w)/gi,
54
+ wheat: /#f5deb3(ff)?(?!\w)/gi,
55
+ white: /#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi
56
+ };
57
+ export {
58
+ f as s
59
+ };
@@ -1,4 +1,20 @@
1
- var e = {};
2
- export {
3
- e as __exports
4
- };
1
+ import { __exports as i } from "./index.es123.js";
2
+ import "./index.es135.js";
3
+ import { __exports as o } from "./index.es136.js";
4
+ (function(t) {
5
+ Object.defineProperty(t, "__esModule", {
6
+ value: !0
7
+ }), Object.defineProperty(t, "default", {
8
+ enumerable: !0,
9
+ get: function() {
10
+ return n;
11
+ }
12
+ });
13
+ const r = /* @__PURE__ */ u(o);
14
+ function u(e) {
15
+ return e && e.__esModule ? e : {
16
+ default: e
17
+ };
18
+ }
19
+ const n = r.default;
20
+ })(i);
@@ -1,10 +1,4 @@
1
- import { __module as r } from "./index.es136.js";
2
- var e = String, o = function() {
3
- return { isColorSupported: !1, reset: e, bold: e, dim: e, italic: e, underline: e, inverse: e, hidden: e, strikethrough: e, black: e, red: e, green: e, yellow: e, blue: e, magenta: e, cyan: e, white: e, gray: e, bgBlack: e, bgRed: e, bgGreen: e, bgYellow: e, bgBlue: e, bgMagenta: e, bgCyan: e, bgWhite: e };
4
- };
5
- r.exports = o();
6
- r.exports.createColors = o;
7
- var a = r.exports;
1
+ var e = {};
8
2
  export {
9
- a as p
3
+ e as __exports
10
4
  };
@@ -1,5 +1,5 @@
1
1
  import { __exports as c } from "./index.es125.js";
2
- import { p as _ } from "./index.es123.js";
2
+ import { p as _ } from "./index.es134.js";
3
3
  (function(a) {
4
4
  Object.defineProperty(a, "__esModule", {
5
5
  value: !0
@@ -1,102 +1,94 @@
1
- import { j as t } from "./index.es27.js";
2
- import { motion as D } from "framer-motion";
3
- import { ProgressBar as I } from "react-aria-components";
4
- import "react";
5
- import { cn as s } from "./index.es28.js";
6
- import "./index.es29.js";
7
- import "./index.es30.js";
8
- import "react-aria";
9
- import "./index.es31.js";
10
- import "@react-stately/color";
11
- import "./index.es8.js";
12
- import { Label as M } from "./index.es9.js";
13
- import "./index.es11.js";
14
- import "./index.es32.js";
15
- import { progressBarVariants as S, progressFillVariants as $ } from "./index.es33.js";
16
- import "./index.es34.js";
17
- import "./index.es35.js";
18
- import "./index.es36.js";
19
- import "./index.es37.js";
20
- import { Tooltip as k } from "./index.es23.js";
21
- import { TooltipTrigger as z } from "./index.es24.js";
22
- import "./index.es18.js";
23
- import "./index.es19.js";
24
- import "./index.es20.js";
25
- import "./index.es39.js";
26
- import "./index.es22.js";
27
- import { Text as d } from "./index.es25.js";
28
- import "./index.es40.js";
29
- const xt = (f) => {
30
- const {
31
- className: h,
32
- classNameLabel: N,
33
- label: r,
34
- variant: p = "primary",
35
- barClassName: u,
36
- fillClassName: g,
37
- valueTextClassName: n,
38
- isLoading: e = !1,
39
- showPercentage: x = !0,
40
- percentageDisplayMode: l = "text",
41
- positionTooltip: j = "top",
42
- modeTooltip: b = "dark",
43
- maxValue: w = 100,
44
- minValue: y = 0,
45
- valueCustomLabel: a,
46
- valuePosition: c = "right",
47
- classNameTooltip: v,
48
- tooltipMessage: i,
49
- barStyle: C = {},
50
- fillStyle: T = {},
51
- ...L
52
- } = f, P = s("flex w-full flex-col gap-2 text-neutral-900", h), B = s(S({ variant: p }), u), V = s($({ variant: p }), g);
53
- return /* @__PURE__ */ t.jsx(I, { className: P, maxValue: w, minValue: y, ...L, children: ({ percentage: o, valueText: m }) => /* @__PURE__ */ t.jsxs(
54
- "div",
1
+ import { j as r } from "./index.es28.js";
2
+ import { NumberField as w, Group as B, Input as E } from "react-aria-components";
3
+ import { cn as t } from "./index.es29.js";
4
+ import "./index.es9.js";
5
+ import { Label as G } from "./index.es10.js";
6
+ import { CaptionNumberField as S } from "./index.es45.js";
7
+ import { StepperButton as V } from "./index.es46.js";
8
+ import { inputNumberVariant as _ } from "./index.es35.js";
9
+ const K = ({
10
+ size: o = "sm",
11
+ label: i,
12
+ description: s,
13
+ errorMessage: n,
14
+ isDisabled: e = !1,
15
+ isReadOnly: l = !1,
16
+ isRequired: p = !1,
17
+ tooltipText: f,
18
+ tooltipSupportText: u,
19
+ tooltipProps: d,
20
+ className: x,
21
+ descriptionClasses: c,
22
+ errorClasses: N,
23
+ validationState: m = "default",
24
+ inputClassName: j,
25
+ maxValue: v,
26
+ minValue: b = 0,
27
+ autoFocus: F = !1,
28
+ maxLength: h,
29
+ classNameNumberField: C,
30
+ ...I
31
+ }) => {
32
+ const a = m === "invalid" && !e;
33
+ return /* @__PURE__ */ r.jsx("div", { className: t("flex", x), children: /* @__PURE__ */ r.jsxs(
34
+ w,
55
35
  {
56
- className: s("flex w-full items-center gap-2", {
57
- "items-end": r
58
- }),
36
+ autoFocus: F,
37
+ className: t(e ? "opacity-70" : "", C),
38
+ isDisabled: e,
39
+ isReadOnly: l,
40
+ maxValue: v,
41
+ minValue: b,
42
+ ...I,
59
43
  children: [
60
- /* @__PURE__ */ t.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
61
- r ? /* @__PURE__ */ t.jsx(M, { labelClassName: s("leading-[19.07px] text-left", N), children: r }) : null,
62
- /* @__PURE__ */ t.jsxs(
63
- z,
44
+ /* @__PURE__ */ r.jsx(
45
+ G,
46
+ {
47
+ labelClassName: t("leading-[19.07px] text-left mb-0.5", {
48
+ "text-neutral-700": e
49
+ }),
50
+ isRequired: p,
51
+ tooltipText: f,
52
+ tooltipSupportText: u,
53
+ tooltipProps: d,
54
+ children: i
55
+ }
56
+ ),
57
+ /* @__PURE__ */ r.jsxs(B, { className: "relative mb-0.5 w-full rounded", children: [
58
+ /* @__PURE__ */ r.jsx(
59
+ E,
64
60
  {
65
- isDisabled: l === "text" && !i || e,
66
- className: "items-start",
67
- delay: 90,
68
- closeDelay: 200,
69
- children: [
70
- /* @__PURE__ */ t.jsx("div", { className: B, style: C, children: /* @__PURE__ */ t.jsx(
71
- D.div,
72
- {
73
- className: V,
74
- style: { width: e ? "100%" : `${o}%`, ...T },
75
- animate: e ? { x: ["-100%", "100%"] } : { width: o + "%", x: [0, 0] },
76
- transition: e ? { repeat: 1 / 0, duration: 1, ease: "easeInOut" } : {}
77
- }
78
- ) }),
79
- /* @__PURE__ */ t.jsx(
80
- k,
81
- {
82
- className: s("text-xs", v),
83
- style: l === "tooltip" ? { left: o + "%" } : {},
84
- mode: b,
85
- size: "sm",
86
- placement: j,
87
- children: i && l === "text" ? i : a || m
88
- }
89
- )
90
- ]
61
+ disabled: e,
62
+ maxLength: h,
63
+ className: ({ isFocused: L, isHovered: g }) => t(
64
+ _({
65
+ size: o,
66
+ isDisabled: e,
67
+ isReadOnly: l,
68
+ isHovered: g,
69
+ isFocused: L,
70
+ validationState: m === "valid" ? "valid" : a ? "invalid" : "default"
71
+ }),
72
+ j
73
+ )
91
74
  }
92
75
  ),
93
- !e && x && l === "text" && c === "bottom" && /* @__PURE__ */ t.jsx("div", { className: "mt-0.5 self-end", children: /* @__PURE__ */ t.jsx(d, { className: s("whitespace-nowrap text-xs text-neutral-900", n), children: a || m }) })
76
+ /* @__PURE__ */ r.jsx(V, { isDisabled: e })
94
77
  ] }),
95
- !e && x && l === "text" && c === "right" && /* @__PURE__ */ t.jsx("div", { className: r ? "-mb-0.5" : "", children: /* @__PURE__ */ t.jsx(d, { className: s("whitespace-nowrap text-xs text-neutral-900", n), children: a || m }) })
78
+ /* @__PURE__ */ r.jsx(
79
+ S,
80
+ {
81
+ description: s,
82
+ descriptionClasses: c,
83
+ errorMessage: n,
84
+ errorClasses: N,
85
+ isInvalidField: a
86
+ }
87
+ )
96
88
  ]
97
89
  }
98
90
  ) });
99
91
  };
100
92
  export {
101
- xt as ProgressBar
93
+ K as NumberField
102
94
  };
@@ -1,28 +1,10 @@
1
- import { __exports as c } from "./index.es135.js";
2
- (function(u) {
3
- Object.defineProperty(u, "__esModule", {
4
- value: !0
5
- }), Object.defineProperty(u, "default", {
6
- enumerable: !0,
7
- get: function() {
8
- return o;
9
- }
10
- });
11
- function i(e, n) {
12
- return {
13
- handler: e,
14
- config: n
15
- };
16
- }
17
- i.withOptions = function(e, n = () => ({})) {
18
- const t = function(r) {
19
- return {
20
- __options: r,
21
- handler: e(r),
22
- config: n(r)
23
- };
24
- };
25
- return t.__isOptionsFunction = !0, t.__pluginFunction = e, t.__configFunction = n, t;
26
- };
27
- const o = i;
28
- })(c);
1
+ import { __module as r } from "./index.es143.js";
2
+ var e = String, o = function() {
3
+ return { isColorSupported: !1, reset: e, bold: e, dim: e, italic: e, underline: e, inverse: e, hidden: e, strikethrough: e, black: e, red: e, green: e, yellow: e, blue: e, magenta: e, cyan: e, white: e, gray: e, bgBlack: e, bgRed: e, bgGreen: e, bgYellow: e, bgBlue: e, bgMagenta: e, bgCyan: e, bgWhite: e };
4
+ };
5
+ r.exports = o();
6
+ r.exports.createColors = o;
7
+ var a = r.exports;
8
+ export {
9
+ a as p
10
+ };
@@ -1,4 +1,28 @@
1
- var e = {};
2
- export {
3
- e as __exports
4
- };
1
+ import { __exports as c } from "./index.es136.js";
2
+ (function(u) {
3
+ Object.defineProperty(u, "__esModule", {
4
+ value: !0
5
+ }), Object.defineProperty(u, "default", {
6
+ enumerable: !0,
7
+ get: function() {
8
+ return o;
9
+ }
10
+ });
11
+ function i(e, n) {
12
+ return {
13
+ handler: e,
14
+ config: n
15
+ };
16
+ }
17
+ i.withOptions = function(e, n = () => ({})) {
18
+ const t = function(r) {
19
+ return {
20
+ __options: r,
21
+ handler: e(r),
22
+ config: n(r)
23
+ };
24
+ };
25
+ return t.__isOptionsFunction = !0, t.__pluginFunction = e, t.__configFunction = n, t;
26
+ };
27
+ const o = i;
28
+ })(c);
@@ -1,4 +1,4 @@
1
- var o = { exports: {} };
1
+ var e = {};
2
2
  export {
3
- o as __module
3
+ e as __exports
4
4
  };