@levo-so/react 0.1.49 → 0.1.50

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 (65) hide show
  1. package/dist/components/Dialog.d.ts +2 -3
  2. package/dist/components/Tabs.d.ts +1 -1
  3. package/dist/components/Tooltip.d.ts +2 -1
  4. package/dist/components/button/buttonVariants.d.ts +2 -2
  5. package/dist/constants/fileUploadPresets.d.ts +1 -0
  6. package/dist/index.css +1 -1
  7. package/dist/index.d.ts +3 -3
  8. package/dist/index.js +1609 -91
  9. package/package.json +21 -43
  10. package/dist/Sonner-BzW9wsXf.js +0 -39
  11. package/dist/Spinner-DBvVyDMF.js +0 -119
  12. package/dist/Tooltip-BeY_STLA.js +0 -281
  13. package/dist/audience/components/block.d.ts.map +0 -1
  14. package/dist/audience/components/component.d.ts.map +0 -1
  15. package/dist/audience/components/page.d.ts.map +0 -1
  16. package/dist/audience/hooks/useBounce.d.ts.map +0 -1
  17. package/dist/audience/hooks/useCurrentTab.d.ts.map +0 -1
  18. package/dist/audience/hooks/useDownloadSpeed.d.ts.map +0 -1
  19. package/dist/audience/hooks/useIdentifyAudience.d.ts.map +0 -1
  20. package/dist/audience/hooks/useOpenTabs.d.ts.map +0 -1
  21. package/dist/audience/hooks/usePerformanceMetrics.d.ts.map +0 -1
  22. package/dist/audience/hooks/useScrollBehavior.d.ts.map +0 -1
  23. package/dist/audience/hooks/useTextSelection.d.ts.map +0 -1
  24. package/dist/audience/hooks/useTrackClicks.d.ts.map +0 -1
  25. package/dist/audience/index.d.ts.map +0 -1
  26. package/dist/audience/index.js +0 -6
  27. package/dist/audience/utils/autocapture.d.ts.map +0 -1
  28. package/dist/audience/utils/rageclick.d.ts.map +0 -1
  29. package/dist/cn-C9QoOYNG.js +0 -6
  30. package/dist/components/Dialog.d.ts.map +0 -1
  31. package/dist/components/DialogWrapper.d.ts.map +0 -1
  32. package/dist/components/Sonner.d.ts.map +0 -1
  33. package/dist/components/Spinner.d.ts.map +0 -1
  34. package/dist/components/Table.d.ts.map +0 -1
  35. package/dist/components/Tabs.d.ts.map +0 -1
  36. package/dist/components/Tooltip.d.ts.map +0 -1
  37. package/dist/components/button/Button.d.ts.map +0 -1
  38. package/dist/components/button/buttonVariants.d.ts.map +0 -1
  39. package/dist/components/button/index.d.ts.map +0 -1
  40. package/dist/components/index.d.ts.map +0 -1
  41. package/dist/components/index.js +0 -34
  42. package/dist/constants/fileUploadPresets.d.ts.map +0 -1
  43. package/dist/constants/index.d.ts.map +0 -1
  44. package/dist/isEmptyObject-BoIi0jMB.js +0 -21
  45. package/dist/jsx-runtime-D0AQ1Mn7.js +0 -633
  46. package/dist/membership/components/Button.d.ts.map +0 -1
  47. package/dist/membership/components/Container.d.ts.map +0 -1
  48. package/dist/membership/components/Core.d.ts.map +0 -1
  49. package/dist/membership/components/Popup.d.ts.map +0 -1
  50. package/dist/membership/index.d.ts.map +0 -1
  51. package/dist/membership/index.js +0 -221
  52. package/dist/membership/useLevoOAuth.d.ts.map +0 -1
  53. package/dist/page-DweUjn1K.js +0 -627
  54. package/dist/providers/LevoProvider.d.ts.map +0 -1
  55. package/dist/providers/index.d.ts +0 -2
  56. package/dist/providers/index.js +0 -13
  57. package/dist/utils/byteToSize.d.ts.map +0 -1
  58. package/dist/utils/cn.d.ts.map +0 -1
  59. package/dist/utils/errorHandler.d.ts.map +0 -1
  60. package/dist/utils/index.d.ts.map +0 -1
  61. package/dist/utils/index.js +0 -12
  62. package/dist/utils/isDateObject.d.ts.map +0 -1
  63. package/dist/utils/isEmptyObject.d.ts.map +0 -1
  64. package/dist/utils/isNullOrUndefined.d.ts.map +0 -1
  65. package/dist/utils/isObject.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levo-so/react",
3
- "version": "0.1.49",
3
+ "version": "0.1.50",
4
4
  "author": "Levo Engineering <devs@theinternetfolks.com>",
5
5
  "description": "Levo suite for React based applications",
6
6
  "type": "module",
@@ -13,22 +13,26 @@
13
13
  "!dist/**/*.d.ts.map",
14
14
  "package.json"
15
15
  ],
16
+ "scripts": {
17
+ "clean": "rimraf dist node_modules .turbo",
18
+ "check-types": "tsc --noEmit",
19
+ "lint": "eslint",
20
+ "build": "vite build",
21
+ "dev": "vite build --watch"
22
+ },
16
23
  "peerDependencies": {
24
+ "@levo-so/core": "workspace:*",
17
25
  "react": ">=18",
18
- "react-dom": ">=18",
19
- "@levo-so/core": "0.1.49"
26
+ "react-dom": ">=18"
20
27
  },
21
28
  "dependencies": {
22
- "@radix-ui/react-dialog": "1.1.1",
23
- "@radix-ui/react-slot": "1.1.0",
24
- "@radix-ui/react-tabs": "1.1.0",
25
- "@radix-ui/react-tooltip": "1.1.2",
26
29
  "class-variance-authority": "0.7.0",
27
30
  "clsx": "2.1.1",
28
31
  "lodash-es": "4.17.21",
29
32
  "lucide-react": "0.424.0",
30
- "react": "18.3.1",
31
- "react-dom": "18.3.1",
33
+ "radix-ui": "1.4.3",
34
+ "react": "19.1.0",
35
+ "react-dom": "19.1.0",
32
36
  "react-icons": "5.2.1",
33
37
  "react-intersection-observer": "9.13.0",
34
38
  "sonner": "1.5.0",
@@ -36,19 +40,20 @@
36
40
  "use-page-lifecycle": "1.1.2"
37
41
  },
38
42
  "devDependencies": {
43
+ "@levo/eslint-config": "workspace:*",
44
+ "@levo/ts-config": "workspace:*",
45
+ "@levo/tw-config": "workspace:*",
46
+ "@tailwindcss/typography": "0.5.16",
39
47
  "@types/lodash-es": "4.17.12",
40
- "@types/react": "18.3.18",
41
- "@types/react-dom": "18.3.5",
48
+ "@types/react": "19.1.8",
49
+ "@types/react-dom": "19.1.6",
42
50
  "@vitejs/plugin-react": "4.3.4",
43
51
  "clsx": "2.1.1",
44
52
  "rollup-preserve-directives": "1.1.1",
45
53
  "tailwind-merge": "2.4.0",
46
54
  "typescript": "5.8.2",
47
55
  "vite": "6.0.5",
48
- "vite-plugin-dts": "4.1.0",
49
- "@levo/tw-config": "0.0.0",
50
- "@levo/ts-config": "0.0.0",
51
- "@levo/eslint-config": "0.0.0"
56
+ "vite-plugin-dts": "4.1.0"
52
57
  },
53
58
  "main": "./dist/index.js",
54
59
  "module": "./dist/index.js",
@@ -58,33 +63,6 @@
58
63
  ".": {
59
64
  "types": "./dist/index.d.ts",
60
65
  "default": "./dist/index.js"
61
- },
62
- "./components": {
63
- "types": "./dist/components/index.d.ts",
64
- "default": "./dist/components/index.js"
65
- },
66
- "./audience": {
67
- "types": "./dist/audience/index.d.ts",
68
- "default": "./dist/audience/index.js"
69
- },
70
- "./membership": {
71
- "types": "./dist/membership/index.d.ts",
72
- "default": "./dist/membership/index.js"
73
- },
74
- "./utils": {
75
- "types": "./dist/utils/index.d.ts",
76
- "default": "./dist/utils/index.js"
77
- },
78
- "./provider": {
79
- "types": "./dist/providers/index.d.ts",
80
- "default": "./dist/providers/index.js"
81
66
  }
82
- },
83
- "scripts": {
84
- "clean": "rimraf dist node_modules .turbo",
85
- "check-types": "tsc --noEmit",
86
- "lint": "eslint",
87
- "build": "vite build",
88
- "dev": "vite build --watch"
89
67
  }
90
- }
68
+ }
@@ -1,39 +0,0 @@
1
- "use client";
2
- import { j as a } from "./jsx-runtime-D0AQ1Mn7.js";
3
- import { Toaster as o, toast as e } from "sonner";
4
- const g = ({ ...t }) => /* @__PURE__ */ a.jsx(
5
- o,
6
- {
7
- closeButton: !0,
8
- richColors: !0,
9
- className: "toaster group",
10
- toastOptions: {
11
- classNames: {
12
- toast: "group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",
13
- description: "group-[.toast]:text-muted-foreground",
14
- actionButton: "group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",
15
- cancelButton: "group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"
16
- }
17
- },
18
- ...t
19
- }
20
- ), c = (t, s = "Error", r = {}) => {
21
- r != null && r.id && e.dismiss(r == null ? void 0 : r.id), e.error(s, {
22
- description: t,
23
- duration: 4e3,
24
- position: "bottom-right",
25
- ...r
26
- });
27
- }, m = (t, s = "Success", r = {}) => {
28
- r != null && r.id && e.dismiss(r == null ? void 0 : r.id), e.success(s, {
29
- description: t,
30
- duration: 4e3,
31
- position: "bottom-right",
32
- ...r
33
- });
34
- };
35
- export {
36
- g as T,
37
- c as e,
38
- m as s
39
- };
@@ -1,119 +0,0 @@
1
- import { j as d } from "./jsx-runtime-D0AQ1Mn7.js";
2
- import a from "react";
3
- import { c as v } from "./cn-C9QoOYNG.js";
4
- var p = {
5
- color: void 0,
6
- size: void 0,
7
- className: void 0,
8
- style: void 0,
9
- attr: void 0
10
- }, f = a.createContext && /* @__PURE__ */ a.createContext(p), O = ["attr", "size", "title"];
11
- function y(t, e) {
12
- if (t == null) return {};
13
- var r = h(t, e), n, i;
14
- if (Object.getOwnPropertySymbols) {
15
- var o = Object.getOwnPropertySymbols(t);
16
- for (i = 0; i < o.length; i++)
17
- n = o[i], !(e.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(t, n) && (r[n] = t[n]);
18
- }
19
- return r;
20
- }
21
- function h(t, e) {
22
- if (t == null) return {};
23
- var r = {};
24
- for (var n in t)
25
- if (Object.prototype.hasOwnProperty.call(t, n)) {
26
- if (e.indexOf(n) >= 0) continue;
27
- r[n] = t[n];
28
- }
29
- return r;
30
- }
31
- function l() {
32
- return l = Object.assign ? Object.assign.bind() : function(t) {
33
- for (var e = 1; e < arguments.length; e++) {
34
- var r = arguments[e];
35
- for (var n in r)
36
- Object.prototype.hasOwnProperty.call(r, n) && (t[n] = r[n]);
37
- }
38
- return t;
39
- }, l.apply(this, arguments);
40
- }
41
- function m(t, e) {
42
- var r = Object.keys(t);
43
- if (Object.getOwnPropertySymbols) {
44
- var n = Object.getOwnPropertySymbols(t);
45
- e && (n = n.filter(function(i) {
46
- return Object.getOwnPropertyDescriptor(t, i).enumerable;
47
- })), r.push.apply(r, n);
48
- }
49
- return r;
50
- }
51
- function u(t) {
52
- for (var e = 1; e < arguments.length; e++) {
53
- var r = arguments[e] != null ? arguments[e] : {};
54
- e % 2 ? m(Object(r), !0).forEach(function(n) {
55
- j(t, n, r[n]);
56
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : m(Object(r)).forEach(function(n) {
57
- Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(r, n));
58
- });
59
- }
60
- return t;
61
- }
62
- function j(t, e, r) {
63
- return e = w(e), e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
64
- }
65
- function w(t) {
66
- var e = P(t, "string");
67
- return typeof e == "symbol" ? e : e + "";
68
- }
69
- function P(t, e) {
70
- if (typeof t != "object" || !t) return t;
71
- var r = t[Symbol.toPrimitive];
72
- if (r !== void 0) {
73
- var n = r.call(t, e || "default");
74
- if (typeof n != "object") return n;
75
- throw new TypeError("@@toPrimitive must return a primitive value.");
76
- }
77
- return (e === "string" ? String : Number)(t);
78
- }
79
- function g(t) {
80
- return t && t.map((e, r) => /* @__PURE__ */ a.createElement(e.tag, u({
81
- key: r
82
- }, e.attr), g(e.child)));
83
- }
84
- function x(t) {
85
- return (e) => /* @__PURE__ */ a.createElement(E, l({
86
- attr: u({}, t.attr)
87
- }, e), g(t.child));
88
- }
89
- function E(t) {
90
- var e = (r) => {
91
- var {
92
- attr: n,
93
- size: i,
94
- title: o
95
- } = t, b = y(t, O), s = i || r.size || "1em", c;
96
- return r.className && (c = r.className), t.className && (c = (c ? c + " " : "") + t.className), /* @__PURE__ */ a.createElement("svg", l({
97
- stroke: "currentColor",
98
- fill: "currentColor",
99
- strokeWidth: "0"
100
- }, r.attr, n, b, {
101
- className: c,
102
- style: u(u({
103
- color: t.color || r.color
104
- }, r.style), t.style),
105
- height: s,
106
- width: s,
107
- xmlns: "http://www.w3.org/2000/svg"
108
- }), o && /* @__PURE__ */ a.createElement("title", null, o), t.children);
109
- };
110
- return f !== void 0 ? /* @__PURE__ */ a.createElement(f.Consumer, null, (r) => e(r)) : e(p);
111
- }
112
- function _(t) {
113
- return x({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M12 22c5.421 0 10-4.579 10-10h-2c0 4.337-3.663 8-8 8s-8-3.663-8-8c0-4.336 3.663-8 8-8V2C6.579 2 2 6.58 2 12c0 5.421 4.579 10 10 10z" }, child: [] }] })(t);
114
- }
115
- const z = ({ className: t }) => /* @__PURE__ */ d.jsx(_, { className: v("h-8 w-8 animate-spin font-light", t) });
116
- export {
117
- _ as B,
118
- z as S
119
- };
@@ -1,281 +0,0 @@
1
- "use client";
2
- import { j as e } from "./jsx-runtime-D0AQ1Mn7.js";
3
- import { Slot as w } from "@radix-ui/react-slot";
4
- import * as n from "react";
5
- import { B as T } from "./Spinner-DBvVyDMF.js";
6
- import { twMerge as D } from "tailwind-merge";
7
- import { c as r } from "./cn-C9QoOYNG.js";
8
- import { cva as C } from "class-variance-authority";
9
- import * as s from "@radix-ui/react-dialog";
10
- import { X as R } from "lucide-react";
11
- import * as c from "@radix-ui/react-tabs";
12
- import * as f from "@radix-ui/react-tooltip";
13
- const k = C(
14
- "inline-flex items-center justify-center text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 disabled:cursor-not-allowed",
15
- {
16
- variants: {
17
- variant: {
18
- default: "bg-primary text-primary-foreground hover:bg-primary/90",
19
- destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
20
- destructiveOutline: "border border-red-500 text-destructive bg-transparent shadow-sm hover:bg-destructive hover:text-destructive-foreground",
21
- outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
22
- secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
23
- secondaryOutline: "bg-transparent border-[1px] border-solid border-white hover:bg-white hover:border-input",
24
- ghost: "hover:bg-accent hover:text-accent-foreground",
25
- link: "text-primary underline-offset-4 hover:underline"
26
- },
27
- size: {
28
- default: "h-10 px-4 py-2",
29
- xs: "h-8 px-3 text-xs",
30
- sm: "h-9 px-3",
31
- lg: "h-11 px-8",
32
- icon: "h-10 w-10",
33
- "icon-small": "h-8 w-8"
34
- },
35
- rounded: {
36
- small: "rounded",
37
- default: "rounded-md",
38
- large: "rounded-lg",
39
- full: "rounded-full"
40
- }
41
- },
42
- defaultVariants: {
43
- variant: "default",
44
- size: "default",
45
- rounded: "default"
46
- }
47
- }
48
- ), z = n.forwardRef(
49
- ({
50
- className: a,
51
- variant: t,
52
- size: o,
53
- rounded: i,
54
- asChild: l = !1,
55
- isLoading: d = !1,
56
- loadingText: m,
57
- disabled: y,
58
- ...u
59
- }, N) => {
60
- const j = l ? w : "button";
61
- return /* @__PURE__ */ e.jsx(
62
- j,
63
- {
64
- className: r(k({ variant: t, size: o, rounded: i, className: a })),
65
- ref: N,
66
- disabled: y || d,
67
- type: "button",
68
- ...u,
69
- children: d ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
70
- /* @__PURE__ */ e.jsx(
71
- T,
72
- {
73
- className: D(
74
- "h-4 w-4 animate-spin",
75
- m ? "mr-2" : ""
76
- )
77
- }
78
- ),
79
- m
80
- ] }) : u.children
81
- }
82
- );
83
- }
84
- );
85
- z.displayName = "Button";
86
- const P = s.Root, J = s.Trigger, O = s.Portal, K = s.Close, g = n.forwardRef(({ className: a, ...t }, o) => /* @__PURE__ */ e.jsx(
87
- s.Overlay,
88
- {
89
- ref: o,
90
- className: r(
91
- "fixed inset-0 z-50 grid max-h-screen place-items-center overflow-y-auto bg-background/80 py-10 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
92
- a
93
- ),
94
- ...t
95
- }
96
- ));
97
- g.displayName = s.Overlay.displayName;
98
- const p = n.forwardRef(
99
- ({
100
- className: a,
101
- children: t,
102
- container: o,
103
- hideCloseButton: i,
104
- overlayStyles: l,
105
- ...d
106
- }, m) => /* @__PURE__ */ e.jsx(O, { container: o, children: /* @__PURE__ */ e.jsx(g, { className: l, children: /* @__PURE__ */ e.jsxs(
107
- s.Content,
108
- {
109
- ref: m,
110
- className: r(
111
- "relative z-50 grid w-full max-w-lg gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 sm:rounded-lg",
112
- a
113
- ),
114
- ...d,
115
- children: [
116
- t,
117
- !i && /* @__PURE__ */ e.jsxs(
118
- s.Close,
119
- {
120
- type: "button",
121
- className: "absolute right-4 top-4 rounded-sm p-1 opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",
122
- children: [
123
- /* @__PURE__ */ e.jsx(R, { className: "h-4 w-4" }),
124
- /* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Close" })
125
- ]
126
- }
127
- )
128
- ]
129
- }
130
- ) }) })
131
- );
132
- p.displayName = s.Content.displayName;
133
- const x = ({
134
- className: a,
135
- ...t
136
- }) => /* @__PURE__ */ e.jsx(
137
- "div",
138
- {
139
- className: r(
140
- "flex flex-col space-y-1.5 text-center sm:text-left",
141
- a
142
- ),
143
- ...t
144
- }
145
- );
146
- x.displayName = "DialogHeader";
147
- const B = ({
148
- className: a,
149
- ...t
150
- }) => /* @__PURE__ */ e.jsx(
151
- "div",
152
- {
153
- className: r(
154
- "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
155
- a
156
- ),
157
- ...t
158
- }
159
- );
160
- B.displayName = "DialogFooter";
161
- const b = n.forwardRef(({ className: a, ...t }, o) => /* @__PURE__ */ e.jsx(
162
- s.Title,
163
- {
164
- ref: o,
165
- className: r(
166
- "text-lg font-semibold leading-none tracking-tight",
167
- a
168
- ),
169
- ...t
170
- }
171
- ));
172
- b.displayName = s.Title.displayName;
173
- const v = n.forwardRef(({ className: a, ...t }, o) => /* @__PURE__ */ e.jsx(
174
- s.Description,
175
- {
176
- ref: o,
177
- className: r("text-sm text-muted-foreground", a),
178
- ...t
179
- }
180
- ));
181
- v.displayName = s.Description.displayName;
182
- const Q = ({
183
- isOpen: a,
184
- onClose: t,
185
- children: o,
186
- title: i,
187
- description: l = "",
188
- contentClassName: d,
189
- modal: m = !0
190
- }) => /* @__PURE__ */ e.jsx(P, { open: a, onOpenChange: t, modal: m, children: /* @__PURE__ */ e.jsxs(p, { className: d, children: [
191
- i && /* @__PURE__ */ e.jsxs(x, { className: "flex-1 font-medium", children: [
192
- /* @__PURE__ */ e.jsx(b, { children: i }),
193
- /* @__PURE__ */ e.jsx(v, { children: l })
194
- ] }),
195
- /* @__PURE__ */ e.jsx("div", { className: "w-full", children: o })
196
- ] }) }), U = c.Root, F = n.forwardRef(({ className: a, ...t }, o) => /* @__PURE__ */ e.jsx(
197
- c.List,
198
- {
199
- ref: o,
200
- className: r(
201
- "inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",
202
- a
203
- ),
204
- ...t
205
- }
206
- ));
207
- F.displayName = c.List.displayName;
208
- const L = n.forwardRef(({ className: a, ...t }, o) => /* @__PURE__ */ e.jsx(
209
- c.Trigger,
210
- {
211
- ref: o,
212
- className: r(
213
- "inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",
214
- a
215
- ),
216
- "data-levo-studio-interactive": "true",
217
- ...t
218
- }
219
- ));
220
- L.displayName = c.Trigger.displayName;
221
- const S = n.forwardRef(({ className: a, ...t }, o) => /* @__PURE__ */ e.jsx(
222
- c.Content,
223
- {
224
- ref: o,
225
- className: r(
226
- "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
227
- a
228
- ),
229
- ...t
230
- }
231
- ));
232
- S.displayName = c.Content.displayName;
233
- const Y = f.Provider, H = f.Root, V = f.Trigger, W = f.Portal, h = n.forwardRef(({ className: a, sideOffset: t = 4, ...o }, i) => /* @__PURE__ */ e.jsx(
234
- f.Content,
235
- {
236
- ref: i,
237
- sideOffset: t,
238
- className: r(
239
- "z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-xs text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
240
- a
241
- ),
242
- ...o
243
- }
244
- ));
245
- h.displayName = f.Content.displayName;
246
- const Z = ({
247
- children: a,
248
- label: t,
249
- labelClassName: o,
250
- contentClassName: i,
251
- asChild: l = !0,
252
- contentProps: d = {}
253
- }) => /* @__PURE__ */ e.jsxs(H, { children: [
254
- t && /* @__PURE__ */ e.jsx(W, { children: /* @__PURE__ */ e.jsx(h, { className: o, ...d, children: /* @__PURE__ */ e.jsx("p", { className: i, children: t }) }) }),
255
- /* @__PURE__ */ e.jsx(V, { asChild: l, children: a })
256
- ] });
257
- export {
258
- z as B,
259
- P as D,
260
- Z as S,
261
- U as T,
262
- O as a,
263
- k as b,
264
- g as c,
265
- J as d,
266
- p as e,
267
- x as f,
268
- B as g,
269
- b as h,
270
- v as i,
271
- K as j,
272
- Q as k,
273
- F as l,
274
- L as m,
275
- S as n,
276
- H as o,
277
- V as p,
278
- h as q,
279
- Y as r,
280
- W as s
281
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../../src/audience/components/block.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAIpE,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC;CACvC,CAkBA,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/audience/components/component.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAKvE,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC;IAC3C,KAAK,EAAE,kBAAkB,CAAC;IAC1B,UAAU,EAAE,aAAa,CAAC,UAAU,CAAC;CACtC,CAUA,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../src/audience/components/page.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAEV,aAAa,EACb,WAAW,EACZ,MAAM,eAAe,CAAC;AAcvB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,WAAW,CAAC,EAAE,WAAW,CAAC;QAC1B,aAAa,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;KACzC;CACF;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC;IACtC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC;CACvC,CA+IA,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useBounce.d.ts","sourceRoot":"","sources":["../../../src/audience/hooks/useBounce.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,GAAI,QAAQ;IAAE,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,SA2FhD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCurrentTab.d.ts","sourceRoot":"","sources":["../../../src/audience/hooks/useCurrentTab.tsx"],"names":[],"mappings":"AAMA,QAAA,MAAM,aAAa,QAAO,MAAM,GAAG,IA6DlC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useDownloadSpeed.d.ts","sourceRoot":"","sources":["../../../src/audience/hooks/useDownloadSpeed.tsx"],"names":[],"mappings":"AAMA,QAAA,MAAM,gBAAgB,GACpB,UAAS,MAAiD,kBAkE3D,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useIdentifyAudience.d.ts","sourceRoot":"","sources":["../../../src/audience/hooks/useIdentifyAudience.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAInD,eAAO,MAAM,mBAAmB,GAAI,2BAIjC;IACD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,SAkDA,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOpenTabs.d.ts","sourceRoot":"","sources":["../../../src/audience/hooks/useOpenTabs.tsx"],"names":[],"mappings":"AAMA,QAAA,MAAM,WAAW,QAAO,MAkDvB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePerformanceMetrics.d.ts","sourceRoot":"","sources":["../../../src/audience/hooks/usePerformanceMetrics.tsx"],"names":[],"mappings":"AAIA,KAAK,cAAc,GAAG,MAAM,GAAG,IAAI,CAAC;AAYpC,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,cAAc,CAAC;IACtB,SAAS,EAAE,cAAc,CAAC;CAC3B,CAAC;AAIF,QAAA,MAAM,qBAAqB,GAAI,GAAG,MAAM;;;;CAsFvC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useScrollBehavior.d.ts","sourceRoot":"","sources":["../../../src/audience/hooks/useScrollBehavior.tsx"],"names":[],"mappings":"AAKA;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;CA4C7B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTextSelection.d.ts","sourceRoot":"","sources":["../../../src/audience/hooks/useTextSelection.tsx"],"names":[],"mappings":"AAKA,QAAA,MAAM,gBAAgB,YA2BrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTrackClicks.d.ts","sourceRoot":"","sources":["../../../src/audience/hooks/useTrackClicks.tsx"],"names":[],"mappings":"AASA,QAAA,MAAM,cAAc,YA4FnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/audience/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -1,6 +0,0 @@
1
- import { L as e, a, b as n } from "../page-DweUjn1K.js";
2
- export {
3
- e as LevoInsightsBlock,
4
- a as LevoInsightsComponent,
5
- n as LevoInsightsPage
6
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"autocapture.d.ts","sourceRoot":"","sources":["../../../src/audience/utils/autocapture.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,UAAU,GACrB,IAAI,OAAO,GAAG,SAAS,GAAG,IAAI,KAC7B,EAAE,IAAI,WAER,CAAC;AA2DF,eAAO,MAAM,YAAY,GACvB,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,EAC5B,eAAY,KACX,MAiBF,CAAC;AAWF,eAAO,MAAM,WAAW,GAAI,IAAI,OAAO,KAAG,MAiBzC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,GAAG,KAAK,KAAG,OAAO,GAAG,IASnD,CAAC;AAYF,eAAO,MAAM,qBAAqB,GAAI,IAAI,OAAO,EAAE,OAAO,KAAK,KAAG,OA2BjE,CAAC;AAoFF,eAAO,MAAM,kBAAkB,GAC7B,OAAO,MAAM,EACb,uBAAoB,KACnB,OAuBF,CAAC;AASF,eAAO,MAAM,kBAAkB,GAAI,eAAe,MAAM,KAAG,OAQ1D,CAAC;AASF,eAAO,MAAM,0BAA0B,GAAI,QAAQ,OAAO,KAAG,MAI5D,CAAC;AA6BF,MAAM,MAAM,QAAQ,GAAG,GAAG,CAAC;AAC3B,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;AAIlD,eAAO,MAAM,aAAa,GAAI,SAAS,OAAO,KAAG,UAwFhD,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,GAAG,KAAK,EAAE,WAAW,MAAM,sBA4BjE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"rageclick.d.ts","sourceRoot":"","sources":["../../../src/audience/utils/rageclick.ts"],"names":[],"mappings":"AAQA,cAAM,SAAS;IACb,MAAM,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;;IAMtD,WAAW,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO;CAmB9D;AAED,eAAO,MAAM,SAAS,WAAkB,CAAC"}
@@ -1,6 +0,0 @@
1
- import { clsx as o } from "clsx";
2
- import { twMerge as t } from "tailwind-merge";
3
- const m = (...r) => t(o(r));
4
- export {
5
- m as c
6
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../src/components/Dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,MAAM,uCAAuB,CAAC;AAEpC,QAAA,MAAM,aAAa,8GAA0B,CAAC;AAE9C,QAAA,MAAM,YAAY,6CAAyB,CAAC;AAE5C,QAAA,MAAM,WAAW,4GAAwB,CAAC;AAE1C,QAAA,MAAM,aAAa,8JAYjB,CAAC;AAIH,QAAA,MAAM,aAAa;sBAGG,OAAO;oBACT,MAAM;gBACV,iBAAiB,CAAC,WAAW,CAAC;wCAsC7C,CAAC;AAGF,QAAA,MAAM,YAAY;8BAGf,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAC;AAIF,QAAA,MAAM,YAAY;8BAGf,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAC;AAGF,QAAA,MAAM,WAAW,oKAYf,CAAC;AAIH,QAAA,MAAM,iBAAiB,8KASrB,CAAC;AAIH,OAAO,EACL,MAAM,EACN,YAAY,EACZ,aAAa,EACb,aAAa,EACb,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,WAAW,GACZ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DialogWrapper.d.ts","sourceRoot":"","sources":["../../src/components/DialogWrapper.tsx"],"names":[],"mappings":"AAQA,UAAU,gBAAgB;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAoBpD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Sonner.d.ts","sourceRoot":"","sources":["../../src/components/Sonner.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,OAAO,IAAI,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAEtE,KAAK,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AAExD,eAAO,MAAM,OAAO,GAAI,cAAc,YAAY,4CAkBjD,CAAC;AAEF,eAAO,MAAM,UAAU,GACrB,SAAS,MAAM,EACf,cAAe,EACf,UAAS,aAAkB,SAY5B,CAAC;AAEF,eAAO,MAAM,YAAY,GACvB,SAAS,MAAM,EACf,cAAiB,EACjB,UAAS,aAAkB,SAY5B,CAAC;AAEF,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../src/components/Spinner.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO,GAAI,eAAe;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,4CAE5D,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../src/components/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,KAAK,iHAST,CAAC;AAGH,QAAA,MAAM,WAAW,+HAKf,CAAC;AAGH,QAAA,MAAM,SAAS,+HASb,CAAC;AAGH,QAAA,MAAM,WAAW,+HASf,CAAC;AAGH,QAAA,MAAM,QAAQ,uHAYZ,CAAC;AAGH,QAAA,MAAM,SAAS,2HAYb,CAAC;AAGH,QAAA,MAAM,SAAS,2HASb,CAAC;AAGH,QAAA,MAAM,YAAY,+HAShB,CAAC;AAGH,OAAO,EACL,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,YAAY,GACb,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../src/components/Tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,IAAI,gGAAqB,CAAC;AAEhC,QAAA,MAAM,QAAQ,uJAYZ,CAAC;AAGH,QAAA,MAAM,WAAW,gKAaf,CAAC;AAGH,QAAA,MAAM,WAAW,0JAYf,CAAC;AAGH,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../src/components/Tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,eAAe,iDAA4B,CAAC;AAElD,QAAA,MAAM,OAAO,yCAAwB,CAAC;AAEtC,QAAA,MAAM,cAAc,gHAA2B,CAAC;AAChD,QAAA,MAAM,aAAa,+CAA0B,CAAC;AAE9C,QAAA,MAAM,cAAc,gKAalB,CAAC;AAIH,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC;IACnC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,CAAC;CAC5D,CAoBA,CAAC;AAEF,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,EACd,eAAe,EACf,oBAAoB,EACpB,aAAa,GACd,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/button/Button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,MAAM,uFAwClB,CAAC;AAGF,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"buttonVariants.d.ts","sourceRoot":"","sources":["../../../src/components/button/buttonVariants.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;8EAwC1B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/button/index.tsx"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC"}