@simpli-route/apollo-ds 0.1.4 → 0.1.6

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 (139) hide show
  1. package/dist/components/Accordion/types.d.ts +1 -0
  2. package/dist/components/Chips/AssistChip.d.ts +3 -0
  3. package/dist/components/Chips/Chips.test.d.ts +1 -0
  4. package/dist/components/Chips/index.d.ts +2 -0
  5. package/dist/components/Chips/types.d.ts +44 -0
  6. package/dist/components/Chips/variants.d.ts +9 -0
  7. package/dist/components/IconButton/types.d.ts +1 -1
  8. package/dist/components/IconButton/variants.d.ts +1 -1
  9. package/dist/components/LoadingOverlay/LoadingOverlay.d.ts +4 -0
  10. package/dist/components/LoadingOverlay/LoadingOverlay.test.d.ts +1 -0
  11. package/dist/components/LoadingOverlay/Overlay.d.ts +4 -0
  12. package/dist/components/LoadingOverlay/index.d.ts +2 -0
  13. package/dist/components/LoadingOverlay/types.d.ts +47 -0
  14. package/dist/components/LoadingOverlay/variants.d.ts +6 -0
  15. package/dist/components/ProgressBar/ProgressBar.d.ts +12 -0
  16. package/dist/components/ProgressBar/ProgressBar.test.d.ts +1 -0
  17. package/dist/components/ProgressBar/index.d.ts +2 -0
  18. package/dist/components/ProgressBar/types.d.ts +59 -0
  19. package/dist/components/ProgressBar/variants.d.ts +6 -0
  20. package/dist/components/Tabs/types.d.ts +8 -2
  21. package/dist/components/Tooltip/types.d.ts +1 -0
  22. package/dist/components/Typography/types.d.ts +1 -0
  23. package/dist/components/index.d.ts +3 -0
  24. package/dist/index.cjs.js +1 -1
  25. package/dist/index.cjs10.js +1 -1
  26. package/dist/index.cjs11.js +1 -1
  27. package/dist/index.cjs12.js +1 -1
  28. package/dist/index.cjs13.js +1 -1
  29. package/dist/index.cjs14.js +1 -1
  30. package/dist/index.cjs15.js +1 -1
  31. package/dist/index.cjs16.js +1 -1
  32. package/dist/index.cjs17.js +1 -1
  33. package/dist/index.cjs18.js +1 -1
  34. package/dist/index.cjs19.js +1 -1
  35. package/dist/index.cjs2.js +1 -1
  36. package/dist/index.cjs20.js +1 -1
  37. package/dist/index.cjs21.js +1 -1
  38. package/dist/index.cjs22.js +1 -1
  39. package/dist/index.cjs23.js +1 -1
  40. package/dist/index.cjs24.js +1 -1
  41. package/dist/index.cjs25.js +1 -1
  42. package/dist/index.cjs26.js +1 -1
  43. package/dist/index.cjs27.js +1 -1
  44. package/dist/index.cjs28.js +1 -1
  45. package/dist/index.cjs29.js +1 -1
  46. package/dist/index.cjs3.js +1 -1
  47. package/dist/index.cjs30.js +1 -1
  48. package/dist/index.cjs31.js +1 -1
  49. package/dist/index.cjs32.js +1 -1
  50. package/dist/index.cjs33.js +1 -1
  51. package/dist/index.cjs34.js +1 -1
  52. package/dist/index.cjs35.js +1 -1
  53. package/dist/index.cjs37.js +1 -1
  54. package/dist/index.cjs38.js +1 -1
  55. package/dist/index.cjs39.js +1 -9
  56. package/dist/index.cjs4.js +1 -1
  57. package/dist/index.cjs40.js +1 -19
  58. package/dist/index.cjs41.js +1 -1
  59. package/dist/index.cjs42.js +1 -1
  60. package/dist/index.cjs43.js +1 -1
  61. package/dist/index.cjs44.js +1 -1
  62. package/dist/index.cjs45.js +9 -1
  63. package/dist/index.cjs46.js +19 -1
  64. package/dist/index.cjs47.js +1 -1
  65. package/dist/index.cjs48.js +1 -1
  66. package/dist/index.cjs49.js +1 -0
  67. package/dist/index.cjs5.js +1 -1
  68. package/dist/index.cjs50.js +1 -0
  69. package/dist/index.cjs51.js +1 -0
  70. package/dist/index.cjs52.js +1 -0
  71. package/dist/index.cjs53.js +1 -0
  72. package/dist/index.cjs54.js +1 -0
  73. package/dist/index.cjs55.js +1 -0
  74. package/dist/index.cjs6.js +1 -1
  75. package/dist/index.cjs7.js +1 -1
  76. package/dist/index.cjs8.js +1 -1
  77. package/dist/index.cjs9.js +1 -1
  78. package/dist/index.es.js +27 -21
  79. package/dist/index.es10.js +78 -66
  80. package/dist/index.es11.js +68 -30
  81. package/dist/index.es12.js +77 -23
  82. package/dist/index.es13.js +28 -23
  83. package/dist/index.es14.js +24 -8
  84. package/dist/index.es15.js +28 -8
  85. package/dist/index.es16.js +8 -6
  86. package/dist/index.es17.js +7 -5
  87. package/dist/index.es18.js +87 -21
  88. package/dist/index.es19.js +6 -173
  89. package/dist/index.es2.js +3 -3
  90. package/dist/index.es20.js +6 -43
  91. package/dist/index.es21.js +22 -59
  92. package/dist/index.es22.js +173 -3
  93. package/dist/index.es23.js +27 -76
  94. package/dist/index.es24.js +29 -17
  95. package/dist/index.es25.js +59 -30
  96. package/dist/index.es26.js +3 -11
  97. package/dist/index.es27.js +92 -10
  98. package/dist/index.es28.js +22 -12
  99. package/dist/index.es29.js +32 -129
  100. package/dist/index.es3.js +31 -27
  101. package/dist/index.es30.js +30 -19
  102. package/dist/index.es31.js +161 -18
  103. package/dist/index.es32.js +10 -96
  104. package/dist/index.es33.js +11 -13
  105. package/dist/index.es34.js +2 -2
  106. package/dist/index.es35.js +2 -2
  107. package/dist/index.es37.js +10 -45
  108. package/dist/index.es38.js +12 -2
  109. package/dist/index.es39.js +96 -30
  110. package/dist/index.es4.js +4 -4
  111. package/dist/index.es40.js +13 -599
  112. package/dist/index.es41.js +19 -19
  113. package/dist/index.es42.js +20 -19
  114. package/dist/index.es43.js +45 -21
  115. package/dist/index.es44.js +2 -21
  116. package/dist/index.es45.js +30 -19
  117. package/dist/index.es46.js +599 -56
  118. package/dist/index.es47.js +30 -2
  119. package/dist/index.es48.js +19 -2
  120. package/dist/index.es49.js +21 -0
  121. package/dist/index.es5.js +42 -38
  122. package/dist/index.es50.js +23 -0
  123. package/dist/index.es51.js +23 -0
  124. package/dist/index.es52.js +21 -0
  125. package/dist/index.es53.js +58 -0
  126. package/dist/index.es54.js +4 -0
  127. package/dist/index.es55.js +4 -0
  128. package/dist/index.es6.js +38 -31
  129. package/dist/index.es7.js +31 -49
  130. package/dist/index.es8.js +46 -86
  131. package/dist/index.es9.js +36 -69
  132. package/dist/stories/Chips.stories.d.ts +22 -0
  133. package/dist/stories/IconButton.stories.d.ts +1 -0
  134. package/dist/stories/LoadingOverlay.stories.d.ts +17 -0
  135. package/dist/stories/ProgressBar.stories.d.ts +29 -0
  136. package/dist/style.css +225 -0
  137. package/dist/testing/tests/itRendersChildren.d.ts +1 -0
  138. package/dist/testing/tests/itSupportsClassName.d.ts +1 -0
  139. package/package.json +4 -3
@@ -1,23 +1,47 @@
1
- import t from "react";
2
- const e = t, a = ({
3
- title: r,
4
- titleId: n,
5
- ...l
6
- }, o) => /* @__PURE__ */ e.createElement("svg", Object.assign({
7
- fill: "currentColor",
8
- "aria-hidden": "true",
9
- viewBox: "0 0 24 24",
10
- xmlns: "http://www.w3.org/2000/svg",
11
- ref: o,
12
- "aria-labelledby": n
13
- }, l), r ? /* @__PURE__ */ e.createElement("title", {
14
- id: n
15
- }, r) : null, /* @__PURE__ */ e.createElement("path", {
16
- fillRule: "evenodd",
17
- d: "M2 11.85c0-.47.35-.85.783-.85h18.434c.432 0 .783.38.783.85s-.35.85-.783.85H2.783c-.432 0-.783-.38-.783-.85",
18
- clipRule: "evenodd"
19
- })), c = e.forwardRef(a);
20
- var s = c;
1
+ import { cva as e } from "class-variance-authority";
2
+ const t = 'after:content-[""] after:absolute after:border-8 after:border-x-transparent', o = `${t} after:left-4 after:top-[100%] after:border-b-transparent`, a = `${t} after:left-1/2 after:top-[100%] after:-translate-x-1/2 after:border-b-transparent`, b = `${t} after:right-4 after:top-[100%] after:border-b-transparent`, l = `${t} after:left-4 after:bottom-[100%] after:border-t-transparent`, f = `${t} after:left-1/2 after:bottom-[100%] after:-translate-x-1/2 after:border-t-transparent`, n = `${t} after:right-4 after:bottom-[100%] after:border-t-transparent`, r = 'before:content-[""] before:absolute before:top-1/2 before:-translate-y-1/2 before:border-8 before:border-y-transparent', s = `${r} before:right-[100%] before:border-l-transparent`, p = `${r} before:left-[100%] before:border-r-transparent`, m = e(
3
+ "absolute z-20 w-max max-w-[250px] whitespace-normal break-words rounded-lg transition duration-150 ease-in-out shadow-[0px_2px_4px_-2px_#22242A0F,0px_4px_8px_-2px_#22242A1A]",
4
+ {
5
+ variants: {
6
+ mode: {
7
+ light: "bg-blue-50 text-neutral-900 after:border-t-blue-50 after:border-b-blue-50 before:border-r-blue-50 before:border-l-blue-50",
8
+ dark: "bg-blue-900 text-blue-50 after:border-t-blue-900 after:border-b-blue-900 before:border-r-blue-900 before:border-l-blue-900"
9
+ },
10
+ hasSupportText: {
11
+ true: "",
12
+ false: ""
13
+ },
14
+ placement: {
15
+ none: "bottom-full left-1/2 mb-3 -translate-x-1/2",
16
+ "top-start": `bottom-full left-0 mb-3 ${o}`,
17
+ top: `bottom-full left-1/2 mb-3 -translate-x-1/2 ${a}`,
18
+ "top-end": `bottom-full right-0 mb-3 ${b}`,
19
+ right: `left-full top-1/2 ml-3 -translate-y-1/2 ${s}`,
20
+ "bottom-start": `left-0 top-full mt-3 ${l}`,
21
+ bottom: `left-1/2 top-full mt-3 -translate-x-1/2 ${f}`,
22
+ "bottom-end": `right-0 top-full mt-3 ${n}`,
23
+ left: `right-full top-1/2 mr-3 -translate-y-1/2 ${p}`
24
+ },
25
+ size: {
26
+ sm: "px-4 py-2",
27
+ md: "px-4 py-3",
28
+ lg: "p-4"
29
+ }
30
+ },
31
+ compoundVariants: [
32
+ {
33
+ hasSupportText: !0,
34
+ mode: "dark",
35
+ class: "text-[16px] text-blue-50 font-semibold leading-5"
36
+ },
37
+ {
38
+ hasSupportText: !0,
39
+ mode: "light",
40
+ class: "text-[16px] text-neutral-900 font-semibold leading-5"
41
+ }
42
+ ]
43
+ }
44
+ );
21
45
  export {
22
- s as M
46
+ m as tooltipVariants
23
47
  };
@@ -1,23 +1,4 @@
1
- import t from "react";
2
- const e = t, n = ({
3
- title: r,
4
- titleId: a,
5
- ...l
6
- }, o) => /* @__PURE__ */ e.createElement("svg", Object.assign({
7
- fill: "currentColor",
8
- "aria-hidden": "true",
9
- viewBox: "0 0 24 24",
10
- xmlns: "http://www.w3.org/2000/svg",
11
- ref: o,
12
- "aria-labelledby": a
13
- }, l), r ? /* @__PURE__ */ e.createElement("title", {
14
- id: a
15
- }, r) : null, /* @__PURE__ */ e.createElement("path", {
16
- fillRule: "evenodd",
17
- d: "M11.885 2c.433 0 .783.35.783.783v8.434h8.549a.783.783 0 1 1 0 1.566h-8.549v8.434a.783.783 0 1 1-1.567 0v-8.434H2.783a.783.783 0 1 1 0-1.566h8.318V2.783c0-.432.351-.783.784-.783",
18
- clipRule: "evenodd"
19
- })), c = e.forwardRef(n);
20
- var d = c;
1
+ var e = { exports: {} };
21
2
  export {
22
- d as P
3
+ e as __module
23
4
  };
@@ -1,21 +1,32 @@
1
- import l from "react";
2
- const e = l, n = ({
3
- title: r,
4
- titleId: a,
5
- ...o
6
- }, t) => /* @__PURE__ */ e.createElement("svg", Object.assign({
7
- fill: "currentColor",
8
- "aria-hidden": "true",
9
- viewBox: "0 0 24 24",
10
- xmlns: "http://www.w3.org/2000/svg",
11
- ref: t,
12
- "aria-labelledby": a
13
- }, o), r ? /* @__PURE__ */ e.createElement("title", {
14
- id: a
15
- }, r) : null, /* @__PURE__ */ e.createElement("path", {
16
- d: "M2 15.892a.83.83 0 0 1 .242-.591l6.807-6.807a4.166 4.166 0 0 1 5.899 0l6.807 6.806a.835.835 0 0 1-.912 1.365.8.8 0 0 1-.271-.181l-6.807-6.807a2.5 2.5 0 0 0-3.533 0l-6.807 6.806A.833.833 0 0 1 2 15.893Z"
17
- })), c = e.forwardRef(n);
18
- var i = c;
1
+ import { __exports as t } from "./index.es54.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 };
27
+ }
28
+ return t.Fragment = l, t.jsx = i, t.jsxs = i, t;
29
+ }
19
30
  export {
20
- i as U
31
+ v as __require
21
32
  };