@levo-so/studio 0.1.68 → 0.1.71
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.
- package/dist/{Beams-nmNmDhrm.js → Beams-BoTjCZZp.js} +1 -1
- package/dist/{BillingStep-CUrykLb4.js → BillingStep-D5H53cpd.js} +1 -1
- package/dist/Dots-BMO07Hua.js +173 -0
- package/dist/{Gradient-Ciw_vJDx.js → Gradient-hcsjtkBF.js} +1 -1
- package/dist/{Grid-BqYjfOaX.js → Grid-DfbEN546.js} +47 -47
- package/dist/{MessageCard-B4szjq4V.js → MessageCard-BbH_7KC6.js} +1 -1
- package/dist/{Waves-BJBLHT4h.js → Waves-Bv__LQuD.js} +61 -49
- package/dist/components/backgroundPresets/Dots.d.ts +1 -1
- package/dist/components/backgroundPresets/Dots.d.ts.map +1 -1
- package/dist/components/backgroundPresets/Grid.d.ts +1 -1
- package/dist/components/backgroundPresets/Grid.d.ts.map +1 -1
- package/dist/components/backgroundPresets/Waves.d.ts +1 -1
- package/dist/components/backgroundPresets/Waves.d.ts.map +1 -1
- package/dist/elements/forum/utility/index.d.ts.map +1 -1
- package/dist/{elements-BFZyX9xz.js → elements-CwgcXTS3.js} +1 -1
- package/dist/{index-DWpliAOR.js → index-BB4L-WKS.js} +1 -1
- package/dist/{index-djT9Bhvi.js → index-BZ8ZDo4y.js} +1 -1
- package/dist/{index-DDc-37FN.js → index-CdoDKwyl.js} +2 -2
- package/dist/{index-gIohjnj8.js → index-DHkXvwjx.js} +1 -1
- package/dist/{index-C75foZeA.js → index-Dkqp_Zzx.js} +33 -26
- package/dist/{index-BxyIkcWw.js → index-Dlpy6D2C.js} +2 -2
- package/dist/{index-CpNa1Kv5.js → index-upYjoEEp.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/interfaces/sites.d.ts +1 -0
- package/dist/interfaces/sites.d.ts.map +1 -1
- package/dist/pixel/propertyMap.d.ts +1 -1
- package/dist/pixel/propertyMap.d.ts.map +1 -1
- package/dist/studio.css +1 -1
- package/package.json +5 -5
- package/dist/Dots-dNvykqVn.js +0 -168
package/dist/Dots-dNvykqVn.js
DELETED
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as l, jsxs as m } from "react/jsx-runtime";
|
|
3
|
-
import h from "react";
|
|
4
|
-
import { b as x } from "./elements-BFZyX9xz.js";
|
|
5
|
-
const g = h.memo(
|
|
6
|
-
({
|
|
7
|
-
className: i,
|
|
8
|
-
dotColor: n = "#00ff00",
|
|
9
|
-
dotSize: o = 2,
|
|
10
|
-
spacing: e = 30,
|
|
11
|
-
isAnimated: d = !1,
|
|
12
|
-
speed: u = 1
|
|
13
|
-
}) => {
|
|
14
|
-
const a = h.useMemo(
|
|
15
|
-
() => ({
|
|
16
|
-
cx: e / 2,
|
|
17
|
-
cy: e / 2,
|
|
18
|
-
r: o,
|
|
19
|
-
width: e,
|
|
20
|
-
height: e
|
|
21
|
-
}),
|
|
22
|
-
[e, o]
|
|
23
|
-
), c = h.useMemo(
|
|
24
|
-
() => `dots-pattern-${Math.random().toString(36).substring(2, 11)}`,
|
|
25
|
-
[]
|
|
26
|
-
), y = h.useMemo(() => {
|
|
27
|
-
if (!d) return [];
|
|
28
|
-
const t = [], f = Math.ceil(100 / (e / 10)), w = Math.ceil(100 / (e / 10));
|
|
29
|
-
for (let s = 0; s < f; s++)
|
|
30
|
-
for (let r = 0; r < w; r++)
|
|
31
|
-
t.push({
|
|
32
|
-
id: `${s}-${r}`,
|
|
33
|
-
x: r * e / 10 + Math.random() * 5,
|
|
34
|
-
y: s * e / 10 + Math.random() * 5,
|
|
35
|
-
delay: Math.random() * 3,
|
|
36
|
-
amplitude: 2 + Math.random() * 3
|
|
37
|
-
});
|
|
38
|
-
return t;
|
|
39
|
-
}, [d, e]);
|
|
40
|
-
return d ? /* @__PURE__ */ l(
|
|
41
|
-
"div",
|
|
42
|
-
{
|
|
43
|
-
className: i,
|
|
44
|
-
style: {
|
|
45
|
-
position: "absolute",
|
|
46
|
-
inset: 0,
|
|
47
|
-
display: "flex",
|
|
48
|
-
height: "100%",
|
|
49
|
-
width: "100%",
|
|
50
|
-
alignItems: "center",
|
|
51
|
-
justifyContent: "center",
|
|
52
|
-
overflow: "hidden",
|
|
53
|
-
zIndex: -1
|
|
54
|
-
},
|
|
55
|
-
children: /* @__PURE__ */ m(
|
|
56
|
-
"svg",
|
|
57
|
-
{
|
|
58
|
-
style: {
|
|
59
|
-
pointerEvents: "none",
|
|
60
|
-
position: "absolute",
|
|
61
|
-
zIndex: 0,
|
|
62
|
-
height: "100%",
|
|
63
|
-
width: "100%"
|
|
64
|
-
},
|
|
65
|
-
width: "100%",
|
|
66
|
-
height: "100%",
|
|
67
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
68
|
-
children: [
|
|
69
|
-
/* @__PURE__ */ l("title", { children: "Animated Dots" }),
|
|
70
|
-
y.map((t) => /* @__PURE__ */ l(
|
|
71
|
-
x,
|
|
72
|
-
{
|
|
73
|
-
cx: `${t.x}%`,
|
|
74
|
-
cy: `${t.y}%`,
|
|
75
|
-
r: o,
|
|
76
|
-
fill: n,
|
|
77
|
-
initial: { opacity: 0.3 },
|
|
78
|
-
animate: {
|
|
79
|
-
opacity: [0.3, 0.8, 0.3],
|
|
80
|
-
cx: [
|
|
81
|
-
`${t.x}%`,
|
|
82
|
-
`${t.x + t.amplitude}%`,
|
|
83
|
-
`${t.x - t.amplitude}%`,
|
|
84
|
-
`${t.x}%`
|
|
85
|
-
],
|
|
86
|
-
cy: [
|
|
87
|
-
`${t.y}%`,
|
|
88
|
-
`${t.y - t.amplitude}%`,
|
|
89
|
-
`${t.y + t.amplitude}%`,
|
|
90
|
-
`${t.y}%`
|
|
91
|
-
]
|
|
92
|
-
},
|
|
93
|
-
transition: {
|
|
94
|
-
duration: 8 / u,
|
|
95
|
-
repeat: 1 / 0,
|
|
96
|
-
ease: "easeInOut",
|
|
97
|
-
delay: t.delay
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
t.id
|
|
101
|
-
))
|
|
102
|
-
]
|
|
103
|
-
}
|
|
104
|
-
)
|
|
105
|
-
}
|
|
106
|
-
) : /* @__PURE__ */ l(
|
|
107
|
-
"div",
|
|
108
|
-
{
|
|
109
|
-
className: i,
|
|
110
|
-
style: {
|
|
111
|
-
position: "absolute",
|
|
112
|
-
inset: 0,
|
|
113
|
-
display: "flex",
|
|
114
|
-
height: "100%",
|
|
115
|
-
width: "100%",
|
|
116
|
-
alignItems: "center",
|
|
117
|
-
justifyContent: "center",
|
|
118
|
-
zIndex: -1
|
|
119
|
-
},
|
|
120
|
-
children: /* @__PURE__ */ m(
|
|
121
|
-
"svg",
|
|
122
|
-
{
|
|
123
|
-
style: {
|
|
124
|
-
pointerEvents: "none",
|
|
125
|
-
position: "absolute",
|
|
126
|
-
zIndex: 0,
|
|
127
|
-
height: "100%",
|
|
128
|
-
width: "100%"
|
|
129
|
-
},
|
|
130
|
-
width: "100%",
|
|
131
|
-
height: "100%",
|
|
132
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
133
|
-
children: [
|
|
134
|
-
/* @__PURE__ */ l("title", { children: "Static Dots" }),
|
|
135
|
-
/* @__PURE__ */ l("defs", { children: /* @__PURE__ */ l(
|
|
136
|
-
"pattern",
|
|
137
|
-
{
|
|
138
|
-
id: c,
|
|
139
|
-
x: "0",
|
|
140
|
-
y: "0",
|
|
141
|
-
width: a.width,
|
|
142
|
-
height: a.height,
|
|
143
|
-
patternUnits: "userSpaceOnUse",
|
|
144
|
-
children: /* @__PURE__ */ l(
|
|
145
|
-
"circle",
|
|
146
|
-
{
|
|
147
|
-
cx: a.cx,
|
|
148
|
-
cy: a.cy,
|
|
149
|
-
r: a.r,
|
|
150
|
-
fill: n
|
|
151
|
-
}
|
|
152
|
-
)
|
|
153
|
-
}
|
|
154
|
-
) }),
|
|
155
|
-
/* @__PURE__ */ l("rect", { width: "100%", height: "100%", fill: `url(#${c})` })
|
|
156
|
-
]
|
|
157
|
-
}
|
|
158
|
-
)
|
|
159
|
-
}
|
|
160
|
-
);
|
|
161
|
-
},
|
|
162
|
-
// Custom comparison function for better memoization
|
|
163
|
-
(i, n) => i.className === n.className && i.dotColor === n.dotColor && i.dotSize === n.dotSize && i.spacing === n.spacing && i.isAnimated === n.isAnimated && i.speed === n.speed
|
|
164
|
-
);
|
|
165
|
-
g.displayName = "BackgroundDots";
|
|
166
|
-
export {
|
|
167
|
-
g as BackgroundDots
|
|
168
|
-
};
|