@simpli-route/apollo-ds 0.1.6 → 0.1.7

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 (76) hide show
  1. package/dist/components/ProgressBar/types.d.ts +2 -2
  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.cjs14.js +1 -1
  7. package/dist/index.cjs18.js +1 -1
  8. package/dist/index.cjs21.js +1 -1
  9. package/dist/index.cjs30.js +1 -1
  10. package/dist/index.cjs31.js +1 -1
  11. package/dist/index.cjs32.js +1 -1
  12. package/dist/index.cjs33.js +1 -1
  13. package/dist/index.cjs34.js +1 -1
  14. package/dist/index.cjs35.js +1 -1
  15. package/dist/index.cjs36.js +1 -1
  16. package/dist/index.cjs37.js +1 -1
  17. package/dist/index.cjs38.js +1 -1
  18. package/dist/index.cjs39.js +1 -1
  19. package/dist/index.cjs4.js +1 -1
  20. package/dist/index.cjs40.js +1 -1
  21. package/dist/index.cjs41.js +1 -1
  22. package/dist/index.cjs42.js +1 -1
  23. package/dist/index.cjs43.js +1 -1
  24. package/dist/index.cjs45.js +1 -1
  25. package/dist/index.cjs46.js +1 -1
  26. package/dist/index.cjs47.js +1 -1
  27. package/dist/index.cjs48.js +1 -1
  28. package/dist/index.cjs49.js +1 -1
  29. package/dist/index.cjs50.js +1 -1
  30. package/dist/index.cjs51.js +1 -1
  31. package/dist/index.cjs52.js +1 -1
  32. package/dist/index.cjs53.js +1 -1
  33. package/dist/index.cjs54.js +1 -1
  34. package/dist/index.cjs55.js +1 -1
  35. package/dist/index.cjs6.js +1 -1
  36. package/dist/index.cjs7.js +1 -1
  37. package/dist/index.cjs9.js +1 -1
  38. package/dist/index.es10.js +2 -2
  39. package/dist/index.es11.js +2 -2
  40. package/dist/index.es12.js +2 -2
  41. package/dist/index.es13.js +3 -3
  42. package/dist/index.es14.js +1 -1
  43. package/dist/index.es18.js +24 -24
  44. package/dist/index.es21.js +1 -1
  45. package/dist/index.es30.js +163 -30
  46. package/dist/index.es31.js +30 -163
  47. package/dist/index.es32.js +11 -10
  48. package/dist/index.es33.js +10 -11
  49. package/dist/index.es34.js +19 -10
  50. package/dist/index.es35.js +20 -10
  51. package/dist/index.es36.js +10 -31
  52. package/dist/index.es37.js +12 -10
  53. package/dist/index.es38.js +96 -12
  54. package/dist/index.es39.js +12 -95
  55. package/dist/index.es4.js +1 -1
  56. package/dist/index.es40.js +44 -12
  57. package/dist/index.es41.js +10 -19
  58. package/dist/index.es42.js +10 -20
  59. package/dist/index.es43.js +22 -36
  60. package/dist/index.es45.js +1 -1
  61. package/dist/index.es46.js +1 -1
  62. package/dist/index.es47.js +2 -30
  63. package/dist/index.es48.js +2 -19
  64. package/dist/index.es49.js +7 -7
  65. package/dist/index.es50.js +13 -15
  66. package/dist/index.es51.js +8 -8
  67. package/dist/index.es52.js +11 -9
  68. package/dist/index.es53.js +19 -56
  69. package/dist/index.es54.js +30 -2
  70. package/dist/index.es55.js +56 -2
  71. package/dist/index.es6.js +1 -1
  72. package/dist/index.es7.js +1 -1
  73. package/dist/index.es9.js +1 -1
  74. package/dist/stories/ProgressBar.stories.d.ts +1 -0
  75. package/dist/style.css +6 -0
  76. package/package.json +1 -1
@@ -1,58 +1,21 @@
1
- import { j as r } from "./index.es19.js";
2
- import { SliderThumb as l } from "react-aria-components";
3
- import { cn as i } from "./index.es20.js";
4
- import { Tooltip as d } from "./index.es14.js";
5
- import { TooltipTrigger as g } from "./index.es15.js";
6
- const j = ({
7
- index: e,
8
- valuePercent: m,
9
- value: n,
10
- suffix: a,
11
- modeTooltip: p,
12
- positionTooltip: o,
13
- showTypeValue: s,
14
- classNameThumb: t
15
- }) => /* @__PURE__ */ r.jsx(
16
- "div",
17
- {
18
- className: i("absolute", s === "tooltip" ? "top-[-6px]" : "top-1/2"),
19
- style: { left: `${m * 100}%`, transform: "translate(-50%, -50%)" },
20
- children: s === "tooltip" ? /* @__PURE__ */ r.jsxs(g, { closeDelay: 100, delay: 100, children: [
21
- /* @__PURE__ */ r.jsx("div", { children: /* @__PURE__ */ r.jsx(
22
- l,
23
- {
24
- index: e,
25
- className: i(
26
- "dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",
27
- t
28
- )
29
- }
30
- ) }),
31
- /* @__PURE__ */ r.jsxs(
32
- d,
33
- {
34
- mode: p,
35
- placement: o,
36
- size: "sm",
37
- className: i("!text-sm", o === "top" ? "!mb-6" : "!mt-6"),
38
- children: [
39
- n,
40
- a
41
- ]
42
- }
43
- )
44
- ] }) : /* @__PURE__ */ r.jsx(
45
- l,
46
- {
47
- index: e,
48
- className: i(
49
- "dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",
50
- t
51
- )
52
- }
53
- )
54
- }
55
- );
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;
56
19
  export {
57
- j as SliderThumb
20
+ i as U
58
21
  };
@@ -1,4 +1,32 @@
1
- var r = {};
1
+ import { cva as l } from "class-variance-authority";
2
+ const e = l("absolute inset-0 z-[1000px] overflow-hidden", {
3
+ variants: {
4
+ opacity: {
5
+ sm: "bg-neutral-50/10",
6
+ md: "bg-neutral-50/20",
7
+ lg: "bg-neutral-50/30",
8
+ xl: "bg-neutral-50/50",
9
+ "2xl": "bg-neutral-50/60",
10
+ "3xl": "bg-neutral-50/75"
11
+ },
12
+ fixed: {
13
+ true: "fixed",
14
+ false: ""
15
+ },
16
+ center: {
17
+ true: "flex items-center justify-center",
18
+ false: ""
19
+ },
20
+ blur: {
21
+ sm: "backdrop-blur-sm",
22
+ md: "backdrop-blur-md",
23
+ lg: "backdrop-blur-lg",
24
+ xl: "backdrop-blur-xl",
25
+ "2xl": "backdrop-blur-2xl",
26
+ "3xl": "backdrop-blur-3xl"
27
+ }
28
+ }
29
+ });
2
30
  export {
3
- r as __exports
31
+ e as overlayVariants
4
32
  };
@@ -1,4 +1,58 @@
1
- var e = {};
1
+ import { j as r } from "./index.es19.js";
2
+ import { SliderThumb as l } from "react-aria-components";
3
+ import { cn as i } from "./index.es20.js";
4
+ import { Tooltip as d } from "./index.es14.js";
5
+ import { TooltipTrigger as g } from "./index.es15.js";
6
+ const j = ({
7
+ index: e,
8
+ valuePercent: m,
9
+ value: n,
10
+ suffix: a,
11
+ modeTooltip: p,
12
+ positionTooltip: o,
13
+ showTypeValue: s,
14
+ classNameThumb: t
15
+ }) => /* @__PURE__ */ r.jsx(
16
+ "div",
17
+ {
18
+ className: i("absolute", s === "tooltip" ? "top-[-6px]" : "top-1/2"),
19
+ style: { left: `${m * 100}%`, transform: "translate(-50%, -50%)" },
20
+ children: s === "tooltip" ? /* @__PURE__ */ r.jsxs(g, { closeDelay: 100, delay: 100, children: [
21
+ /* @__PURE__ */ r.jsx("div", { children: /* @__PURE__ */ r.jsx(
22
+ l,
23
+ {
24
+ index: e,
25
+ className: i(
26
+ "dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",
27
+ t
28
+ )
29
+ }
30
+ ) }),
31
+ /* @__PURE__ */ r.jsxs(
32
+ d,
33
+ {
34
+ mode: p,
35
+ placement: o,
36
+ size: "sm",
37
+ className: i("!text-sm", o === "top" ? "!mb-6" : "!mt-6"),
38
+ children: [
39
+ n,
40
+ a
41
+ ]
42
+ }
43
+ )
44
+ ] }) : /* @__PURE__ */ r.jsx(
45
+ l,
46
+ {
47
+ index: e,
48
+ className: i(
49
+ "dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",
50
+ t
51
+ )
52
+ }
53
+ )
54
+ }
55
+ );
2
56
  export {
3
- e as __exports
57
+ j as SliderThumb
4
58
  };
package/dist/index.es6.js CHANGED
@@ -2,7 +2,7 @@ import { j as o } from "./index.es19.js";
2
2
  import { forwardRef as h } from "react";
3
3
  import { useContextProps as B, ButtonContext as j, Button as N } from "react-aria-components";
4
4
  import { cn as w } from "./index.es20.js";
5
- import { buttonVariants as C } from "./index.es31.js";
5
+ import { buttonVariants as C } from "./index.es30.js";
6
6
  function I(r, i) {
7
7
  const [a, c] = B(r, i, j), {
8
8
  intent: m = "secondary",
package/dist/index.es7.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { j as t } from "./index.es19.js";
2
- import { InfoIcon as p } from "./index.es33.js";
2
+ import { InfoIcon as p } from "./index.es32.js";
3
3
  import { forwardRef as u } from "react";
4
4
  import { useContextProps as d, LabelContext as b, Label as j } from "react-aria-components";
5
5
  import { cn as L } from "./index.es20.js";
package/dist/index.es9.js CHANGED
@@ -2,7 +2,7 @@ import { j as e } from "./index.es19.js";
2
2
  import { forwardRef as x } from "react";
3
3
  import { cn as y } from "./index.es20.js";
4
4
  import { Loader as f } from "./index.es8.js";
5
- import { Overlay as u } from "./index.es32.js";
5
+ import { Overlay as u } from "./index.es33.js";
6
6
  const v = (s, a) => {
7
7
  const {
8
8
  className: l,
@@ -15,6 +15,7 @@ declare const meta: {
15
15
  export default meta;
16
16
  type Story = StoryObj<typeof meta>;
17
17
  export declare const Default: Story;
18
+ export declare const Loading: Story;
18
19
  export declare const WithPercentageText: Story;
19
20
  export declare const WithPercentageTextBottom: Story;
20
21
  export declare const WithValueCustomLabel: Story;
package/dist/style.css CHANGED
@@ -816,6 +816,12 @@ select {
816
816
  .\!mt-6 {
817
817
  margin-top: 1.5rem !important;
818
818
  }
819
+ .-mb-0 {
820
+ margin-bottom: -0px;
821
+ }
822
+ .-mb-0\.5 {
823
+ margin-bottom: -0.125rem;
824
+ }
819
825
  .mb-0 {
820
826
  margin-bottom: 0px;
821
827
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simpli-route/apollo-ds",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"