prometeo-design-system 2.5.7 → 2.6.0
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/Avatar.es.js +1 -1
- package/dist/{Button-DsbEyjth.js → Button-Bc0LYLfg.js} +1 -1
- package/dist/Button.es.js +1 -1
- package/dist/{CardProfile-DV3gwvqE.js → CardProfile-DA-HDUpi.js} +1 -1
- package/dist/CardProfile.es.js +1 -1
- package/dist/CheckBox.es.js +1 -1
- package/dist/CheckboxFormik.es.js +1 -1
- package/dist/DatePicker.es.js +3 -3
- package/dist/DialogModal.es.js +1 -1
- package/dist/DrawerDesktop.es.js +2 -2
- package/dist/DrawerMobile.es.js +88 -88
- package/dist/DropZone.es.js +1 -1
- package/dist/Header.es.js +1 -1
- package/dist/Icons.es.js +1 -1
- package/dist/Image.es.js +1 -1
- package/dist/{ImageGallery-DnoRTpCr.js → ImageGallery-BeADef_g.js} +2 -2
- package/dist/ImageGallery.es.js +1 -1
- package/dist/Input-DHdy-pWf.js +295 -0
- package/dist/Input.es.js +1 -1
- package/dist/InputFormik.es.js +94 -137
- package/dist/InputMultiple.es.js +1 -1
- package/dist/{LayoutGeneric-CbaoatQB.js → LayoutGeneric-B6E-yOYJ.js} +1 -1
- package/dist/LayoutGeneric.es.js +1 -1
- package/dist/Logo.es.js +1 -1
- package/dist/Menu.es.js +1 -1
- package/dist/OtpInput.es.js +1 -1
- package/dist/Pagination.es.js +1 -1
- package/dist/ProfilePictureUpload.es.js +1 -1
- package/dist/ProgressBar.es.js +1 -1
- package/dist/SegmentedButton.es.js +1 -1
- package/dist/{Select-CrTtTmXZ.js → Select-B5hkJ8Oy.js} +222 -238
- package/dist/Select.es.js +1 -1
- package/dist/SelectFormik.es.js +2 -2
- package/dist/SelectFormikLegacy.es.js +1 -1
- package/dist/SelectSearch.es.js +2 -2
- package/dist/Skeleton.es.js +1 -1
- package/dist/Spinner.es.js +1 -1
- package/dist/Steps.es.js +1 -1
- package/dist/SwipeContainer.es.js +1 -1
- package/dist/Switch.es.js +1 -1
- package/dist/TabLinks.es.js +1 -1
- package/dist/Table.es.js +1 -1
- package/dist/TextArea.es.js +1 -1
- package/dist/Toast.es.js +2 -2
- package/dist/ToastProvider.es.js +1 -1
- package/dist/Tooltip.es.js +1 -1
- package/dist/components/Drawer/DrawerMobile.d.ts +1 -1
- package/dist/components/Input/Input.d.ts +2 -2
- package/dist/components/InputFormik/InputFormik.d.ts +1 -2
- package/dist/components/InputFormik/InputFormikV2.d.ts +5 -0
- package/dist/exports/InputFormikV2.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/{jsx-runtime-DKDX3adD.js → jsx-runtime-ByW6EXIE.js} +96 -94
- package/dist/prometeo-design-system.css +1 -1
- package/dist/prometeo-design-system.es.js +279 -257
- package/package.json +17 -1
- package/dist/Input-PNwH7rb6.js +0 -270
package/dist/Avatar.es.js
CHANGED
package/dist/Button.es.js
CHANGED
package/dist/CardProfile.es.js
CHANGED
package/dist/CheckBox.es.js
CHANGED
package/dist/DatePicker.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { j as $ } from "./jsx-runtime-
|
|
1
|
+
import { j as $ } from "./jsx-runtime-ByW6EXIE.js";
|
|
2
2
|
import m, { createContext as mn, useContext as hn, useCallback as q, useRef as Se, useLayoutEffect as yn, useState as he, useEffect as _e, useMemo as fe, memo as pn } from "react";
|
|
3
3
|
import { InputMultiple as gn } from "./InputMultiple.es.js";
|
|
4
|
-
import { I as wn } from "./Input-
|
|
4
|
+
import { I as wn } from "./Input-DHdy-pWf.js";
|
|
5
5
|
import { createPortal as bn } from "react-dom";
|
|
6
6
|
import { Icons as Mt } from "./Icons.es.js";
|
|
7
7
|
import { c as Be } from "./cn-B6yFEsav.js";
|
|
8
|
-
import { B as vt } from "./Button-
|
|
8
|
+
import { B as vt } from "./Button-Bc0LYLfg.js";
|
|
9
9
|
function Mn(e, t, n = "long") {
|
|
10
10
|
return new Intl.DateTimeFormat("en-US", {
|
|
11
11
|
// Enforces engine to render the time. Without the option JavaScriptCore omits it.
|
package/dist/DialogModal.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as o } from "./jsx-runtime-
|
|
1
|
+
import { j as o } from "./jsx-runtime-ByW6EXIE.js";
|
|
2
2
|
import { forwardRef as h, memo as s, useState as D, useRef as p, useCallback as n, useImperativeHandle as R } from "react";
|
|
3
3
|
import { c as j } from "./cn-B6yFEsav.js";
|
|
4
4
|
const C = h(
|
package/dist/DrawerDesktop.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as s } from "./jsx-runtime-
|
|
1
|
+
import { j as s } from "./jsx-runtime-ByW6EXIE.js";
|
|
2
2
|
import { c as b } from "./cn-B6yFEsav.js";
|
|
3
|
-
import { c as y, B as h } from "./Button-
|
|
3
|
+
import { c as y, B as h } from "./Button-Bc0LYLfg.js";
|
|
4
4
|
import { createPortal as g } from "react-dom";
|
|
5
5
|
import { Icons as C } from "./Icons.es.js";
|
|
6
6
|
import { forwardRef as k, useState as j, useRef as x, useEffect as v, useCallback as l, useImperativeHandle as D } from "react";
|
package/dist/DrawerMobile.es.js
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import { j as g } from "./jsx-runtime-
|
|
2
|
-
import { c as
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
import { createPortal as
|
|
5
|
-
const
|
|
6
|
-
const { children:
|
|
7
|
-
|
|
8
|
-
s &&
|
|
1
|
+
import { j as g } from "./jsx-runtime-ByW6EXIE.js";
|
|
2
|
+
import { c as G } from "./cn-B6yFEsav.js";
|
|
3
|
+
import { forwardRef as J, useState as _, useRef as h, useEffect as F, useCallback as c, useMemo as q, useImperativeHandle as K } from "react";
|
|
4
|
+
import { createPortal as Q } from "react-dom";
|
|
5
|
+
const W = 44, U = "height 0.5s cubic-bezier(0.32, 0.72, 0, 1)", ee = J((a, o) => {
|
|
6
|
+
const { children: x, defaultOpen: s = !1, onClose: f, snapPoints: d = ["60%"], setSnap: v, snap: w, attachToParent: O = !1 } = a, [E, r] = _(w || "0%"), [C, Y] = _(null), u = h(f), p = h(v), b = h(C);
|
|
7
|
+
u.current = f, b.current = C, F(() => {
|
|
8
|
+
s && H();
|
|
9
9
|
}, [s]), F(() => {
|
|
10
|
-
|
|
11
|
-
}, [
|
|
10
|
+
p.current = v;
|
|
11
|
+
}, [v]);
|
|
12
12
|
const M = c(() => {
|
|
13
|
-
|
|
14
|
-
}, []),
|
|
15
|
-
console.log(
|
|
16
|
-
}, [d]), S =
|
|
17
|
-
|
|
18
|
-
open:
|
|
13
|
+
r("0%"), u.current?.(b.current), setTimeout(() => Y(null), 300);
|
|
14
|
+
}, []), H = c((L, R) => {
|
|
15
|
+
console.log(L || d[0] || "60%"), r(L || d[0] || "60%"), Y(R ?? null);
|
|
16
|
+
}, [d]), S = q(() => E !== "0%", [E]);
|
|
17
|
+
K(o, () => ({
|
|
18
|
+
open: H,
|
|
19
19
|
close: M,
|
|
20
20
|
isOpen: S,
|
|
21
|
-
getContext: () =>
|
|
22
|
-
}), [
|
|
23
|
-
const
|
|
24
|
-
return O ? /* @__PURE__ */ g.jsx(
|
|
25
|
-
}),
|
|
26
|
-
const r =
|
|
21
|
+
getContext: () => b.current
|
|
22
|
+
}), [H, M, S]);
|
|
23
|
+
const y = w || E;
|
|
24
|
+
return O ? /* @__PURE__ */ g.jsx(B, { ...a, snap: y, setSnap: r, children: x }) : Q(/* @__PURE__ */ g.jsx(B, { ...a, snap: y, setSnap: r, children: x }), document.body);
|
|
25
|
+
}), B = ({ children: a, attachToParent: o = !1, className: x, snap: s, snapPoints: f = ["60%"], setSnap: d, hideOnClose: v = !1, header: w, modal: O = !1, closeOnOverlayClick: E = !1 }) => {
|
|
26
|
+
const r = h(null), C = h(null), Y = h(null), u = h(null), p = h(null), b = c(() => {
|
|
27
27
|
if (!r.current) return [];
|
|
28
28
|
const e = o && r.current.parentElement?.offsetHeight || window.innerHeight;
|
|
29
29
|
return f?.map((t) => typeof t == "string" && t.endsWith("%") ? parseFloat(t) > 100 ? e : parseFloat(t) / 100 * e : typeof t == "string" && t.endsWith("px") ? parseFloat(t) : typeof t == "number" && t >= 0 && t <= 1 ? t * e : typeof t == "number" ? t : 0) || [];
|
|
30
|
-
}, [f, o]),
|
|
31
|
-
const n =
|
|
30
|
+
}, [f, o]), M = c((e, t) => {
|
|
31
|
+
const n = b();
|
|
32
32
|
if (n.length === 0) return e;
|
|
33
33
|
if (Math.abs(t) > 0.05)
|
|
34
34
|
if (t > 0) {
|
|
35
35
|
const l = n.filter((i) => i < e);
|
|
36
|
-
return l.length > 0 ? Math.max(...l) :
|
|
36
|
+
return l.length > 0 ? Math.max(...l) : v ? 0 : W;
|
|
37
37
|
} else {
|
|
38
38
|
const l = n.filter((i) => i > e);
|
|
39
39
|
if (l.length > 0)
|
|
40
40
|
return Math.min(...l);
|
|
41
41
|
}
|
|
42
42
|
return n.reduce((l, i) => Math.abs(i - e) < Math.abs(l - e) ? i : l);
|
|
43
|
-
}, [
|
|
43
|
+
}, [b]), H = c((e) => {
|
|
44
44
|
if (d && f) {
|
|
45
|
-
const t = o && r.current?.parentElement?.offsetHeight || window.innerHeight, n = e <=
|
|
45
|
+
const t = o && r.current?.parentElement?.offsetHeight || window.innerHeight, n = e <= W ? "0%" : `${Math.round(e / t * 100)}%`;
|
|
46
46
|
d(n);
|
|
47
47
|
}
|
|
48
|
-
}, [d, f, o]),
|
|
49
|
-
r.current && (r.current.style.transition =
|
|
50
|
-
}, [d, f, o]),
|
|
51
|
-
if (
|
|
52
|
-
const { scrollY: e } =
|
|
53
|
-
document.body.style.position = "", document.body.style.top = "", document.body.style.width = "", window.scrollTo(0, e),
|
|
48
|
+
}, [d, f, o]), S = c((e) => {
|
|
49
|
+
r.current && (r.current.style.transition = U, r.current.style.height = `${e}px`);
|
|
50
|
+
}, [d, f, o]), y = c(() => {
|
|
51
|
+
if (p.current && o) {
|
|
52
|
+
const { scrollY: e } = p.current;
|
|
53
|
+
document.body.style.position = "", document.body.style.top = "", document.body.style.width = "", window.scrollTo(0, e), p.current = null;
|
|
54
54
|
}
|
|
55
55
|
}, [o]);
|
|
56
56
|
F(() => () => {
|
|
57
|
-
|
|
58
|
-
}, [
|
|
57
|
+
y();
|
|
58
|
+
}, [y]), F(() => {
|
|
59
59
|
if (!r.current || !s) return;
|
|
60
60
|
const e = o && r.current.parentElement?.offsetHeight || window.innerHeight;
|
|
61
61
|
let t = 0;
|
|
62
|
-
typeof s == "string" && s.endsWith("%") ? parseFloat(s) <= 0 ? t =
|
|
62
|
+
typeof s == "string" && s.endsWith("%") ? parseFloat(s) <= 0 ? t = v ? 0 : W : t = parseFloat(s) / 100 * e : typeof s == "string" && s.endsWith("px") ? t = parseFloat(s) : typeof s == "number" && (s >= 0 && s <= 1 ? t = s * e : t = s), S(t);
|
|
63
63
|
}, [s, o]);
|
|
64
|
-
const
|
|
64
|
+
const N = c((e) => {
|
|
65
65
|
if (!r.current) return;
|
|
66
66
|
const t = e.touches[0], n = r.current.offsetHeight;
|
|
67
|
-
|
|
67
|
+
u.current = {
|
|
68
68
|
isDragging: !1,
|
|
69
69
|
startY: t.clientY,
|
|
70
70
|
startHeight: n,
|
|
@@ -72,10 +72,10 @@ const A = 44, V = "height 0.5s cubic-bezier(0.32, 0.72, 0, 1)", te = K((u, o) =>
|
|
|
72
72
|
lastTime: Date.now(),
|
|
73
73
|
velocity: 0
|
|
74
74
|
};
|
|
75
|
-
}, []),
|
|
75
|
+
}, []), L = c((e) => {
|
|
76
76
|
if (!r.current) return;
|
|
77
77
|
const t = e, n = r.current.offsetHeight;
|
|
78
|
-
|
|
78
|
+
u.current = {
|
|
79
79
|
isDragging: !1,
|
|
80
80
|
startY: t.clientY,
|
|
81
81
|
startHeight: n,
|
|
@@ -83,67 +83,67 @@ const A = 44, V = "height 0.5s cubic-bezier(0.32, 0.72, 0, 1)", te = K((u, o) =>
|
|
|
83
83
|
lastTime: Date.now(),
|
|
84
84
|
velocity: 0
|
|
85
85
|
};
|
|
86
|
-
}, []),
|
|
87
|
-
if (!
|
|
88
|
-
const t = e.touches[0], n =
|
|
86
|
+
}, []), R = c((e) => {
|
|
87
|
+
if (!u.current || !r.current) return;
|
|
88
|
+
const t = e.touches[0], n = u.current, D = n.startY - t.clientY, l = n.isDragging || Math.abs(D) > 5;
|
|
89
89
|
if (!n.isDragging && l && (n.isDragging = !0, o)) {
|
|
90
90
|
const i = window.scrollY;
|
|
91
|
-
|
|
91
|
+
p.current = { scrollY: i }, document.body.style.position = "fixed", document.body.style.top = `-${i}px`, document.body.style.width = "100%";
|
|
92
92
|
}
|
|
93
93
|
if (l) {
|
|
94
94
|
e.preventDefault();
|
|
95
95
|
const i = Date.now(), j = i - n.lastTime;
|
|
96
96
|
if (j > 0) {
|
|
97
|
-
const
|
|
98
|
-
n.velocity = n.velocity * 0.8 +
|
|
97
|
+
const z = (t.clientY - n.lastY) / j;
|
|
98
|
+
n.velocity = n.velocity * 0.8 + z * 0.2;
|
|
99
99
|
}
|
|
100
100
|
n.lastY = t.clientY, n.lastTime = i;
|
|
101
|
-
const
|
|
102
|
-
r.current.style.transition = "none", r.current.style.height = `${
|
|
101
|
+
const k = n.startHeight + D, T = o && r.current.parentElement?.offsetHeight || window.innerHeight, $ = Math.max(0, Math.min(k, T));
|
|
102
|
+
r.current.style.transition = "none", r.current.style.height = `${$}px`;
|
|
103
103
|
}
|
|
104
|
-
}, [o]),
|
|
105
|
-
if (!
|
|
106
|
-
const t = e, n =
|
|
104
|
+
}, [o]), A = c((e) => {
|
|
105
|
+
if (!u.current || !r.current) return;
|
|
106
|
+
const t = e, n = u.current, D = n.startY - t.clientY, l = n.isDragging || Math.abs(D) > 5;
|
|
107
107
|
if (!n.isDragging && l && (n.isDragging = !0, o)) {
|
|
108
108
|
const i = window.scrollY;
|
|
109
|
-
|
|
109
|
+
p.current = { scrollY: i }, document.body.style.position = "fixed", document.body.style.top = `-${i}px`, document.body.style.width = "100%";
|
|
110
110
|
}
|
|
111
111
|
if (l) {
|
|
112
112
|
e.preventDefault();
|
|
113
113
|
const i = Date.now(), j = i - n.lastTime;
|
|
114
114
|
if (j > 0) {
|
|
115
|
-
const
|
|
116
|
-
n.velocity = n.velocity * 0.8 +
|
|
115
|
+
const z = (t.clientY - n.lastY) / j;
|
|
116
|
+
n.velocity = n.velocity * 0.8 + z * 0.2;
|
|
117
117
|
}
|
|
118
118
|
n.lastY = t.clientY, n.lastTime = i;
|
|
119
|
-
const
|
|
120
|
-
r.current.style.transition = "none", r.current.style.height = `${
|
|
119
|
+
const k = n.startHeight + D, T = o && r.current.parentElement?.offsetHeight || window.innerHeight, $ = Math.max(0, Math.min(k, T));
|
|
120
|
+
r.current.style.transition = "none", r.current.style.height = `${$}px`;
|
|
121
121
|
}
|
|
122
|
-
}, [o]),
|
|
123
|
-
if (!
|
|
124
|
-
const e =
|
|
122
|
+
}, [o]), m = c(() => {
|
|
123
|
+
if (!u.current || !r.current) return;
|
|
124
|
+
const e = u.current;
|
|
125
125
|
if (e.isDragging) {
|
|
126
|
-
|
|
127
|
-
const t = r.current.offsetHeight, n =
|
|
128
|
-
|
|
126
|
+
y();
|
|
127
|
+
const t = r.current.offsetHeight, n = M(t, e.velocity);
|
|
128
|
+
H(n);
|
|
129
129
|
}
|
|
130
|
-
|
|
131
|
-
}, [
|
|
130
|
+
u.current = null;
|
|
131
|
+
}, [M, S, y]);
|
|
132
132
|
F(() => {
|
|
133
133
|
const e = Y.current;
|
|
134
134
|
if (e)
|
|
135
|
-
return e.addEventListener("touchstart",
|
|
136
|
-
e.removeEventListener("touchstart",
|
|
135
|
+
return e.addEventListener("touchstart", N, { passive: !1 }), e.addEventListener("touchmove", R, { passive: !1 }), e.addEventListener("touchend", m), e.addEventListener("touchcancel", m), e.addEventListener("mousedown", L, { passive: !1 }), e.addEventListener("mousemove", A, { passive: !1 }), e.addEventListener("mouseup", m), e.addEventListener("mouseleave", m), () => {
|
|
136
|
+
e.removeEventListener("touchstart", N), e.removeEventListener("touchmove", R), e.removeEventListener("touchend", m), e.removeEventListener("touchcancel", m), e.removeEventListener("mousedown", L), e.removeEventListener("mousemove", A), e.removeEventListener("mouseup", m), e.removeEventListener("mouseleave", m);
|
|
137
137
|
};
|
|
138
|
-
}, [
|
|
139
|
-
const
|
|
138
|
+
}, [N, R, m]);
|
|
139
|
+
const I = q(() => s !== "0%", [s]);
|
|
140
140
|
return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
141
141
|
O && /* @__PURE__ */ g.jsx(
|
|
142
142
|
"div",
|
|
143
143
|
{
|
|
144
|
-
className:
|
|
144
|
+
className: G(I ? "fixed inset-0 bg-black/40 z-55 cursor-default" : "hidden"),
|
|
145
145
|
onClick: (e) => {
|
|
146
|
-
e.preventDefault(), e.stopPropagation(), E &&
|
|
146
|
+
e.preventDefault(), e.stopPropagation(), E && H(0);
|
|
147
147
|
},
|
|
148
148
|
"aria-hidden": "true"
|
|
149
149
|
}
|
|
@@ -152,13 +152,13 @@ const A = 44, V = "height 0.5s cubic-bezier(0.32, 0.72, 0, 1)", te = K((u, o) =>
|
|
|
152
152
|
"div",
|
|
153
153
|
{
|
|
154
154
|
ref: r,
|
|
155
|
-
className:
|
|
155
|
+
className: G(
|
|
156
156
|
o ? "absolute" : "fixed",
|
|
157
157
|
"z-60 bottom-0 w-full overflow-hidden",
|
|
158
158
|
"bg-neutral-default-default",
|
|
159
159
|
"border-t border-neutral-strong-default rounded-t-[12px]",
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
I ? "" : "border-neutral-weak",
|
|
161
|
+
x,
|
|
162
162
|
"flex flex-col items-center",
|
|
163
163
|
"touch-none select-none"
|
|
164
164
|
),
|
|
@@ -171,41 +171,41 @@ const A = 44, V = "height 0.5s cubic-bezier(0.32, 0.72, 0, 1)", te = K((u, o) =>
|
|
|
171
171
|
children: /* @__PURE__ */ g.jsx("span", { className: "w-12 h-1 rounded-full bg-neutral-weak-default" })
|
|
172
172
|
}
|
|
173
173
|
),
|
|
174
|
-
typeof
|
|
174
|
+
typeof w == "string" ? /* @__PURE__ */ g.jsx("p", { className: " prometeo-fonts-headline-small text-neutral-default-default w-full h-11 bg-inherit absolute top-11 z-50 px-4", children: w }) : w,
|
|
175
175
|
/* @__PURE__ */ g.jsx(
|
|
176
176
|
"div",
|
|
177
177
|
{
|
|
178
178
|
ref: C,
|
|
179
|
-
className:
|
|
179
|
+
className: G(
|
|
180
180
|
"w-full h-full overflow-y-auto px-4 pb-4 ",
|
|
181
|
-
|
|
181
|
+
w ? "mt-22" : "mt-11"
|
|
182
182
|
),
|
|
183
183
|
style: {
|
|
184
184
|
overscrollBehavior: "contain",
|
|
185
|
-
overflow:
|
|
185
|
+
overflow: I ? "auto" : "hidden"
|
|
186
186
|
},
|
|
187
|
-
children:
|
|
187
|
+
children: a
|
|
188
188
|
}
|
|
189
189
|
)
|
|
190
190
|
]
|
|
191
191
|
}
|
|
192
192
|
)
|
|
193
193
|
] });
|
|
194
|
-
},
|
|
195
|
-
const
|
|
196
|
-
|
|
197
|
-
}, []),
|
|
198
|
-
|
|
199
|
-
}, []), s = c(() =>
|
|
194
|
+
}, te = () => {
|
|
195
|
+
const a = h(null), o = c((d, v) => {
|
|
196
|
+
a.current?.open(d, v);
|
|
197
|
+
}, []), x = c(() => {
|
|
198
|
+
a.current?.close();
|
|
199
|
+
}, []), s = c(() => a.current?.isOpen ?? !1, []), f = c(() => a.current?.getContext() ?? null, []);
|
|
200
200
|
return {
|
|
201
201
|
isOpen: s,
|
|
202
202
|
open: o,
|
|
203
|
-
close:
|
|
204
|
-
drawerRef:
|
|
203
|
+
close: x,
|
|
204
|
+
drawerRef: a,
|
|
205
205
|
getContext: f
|
|
206
206
|
};
|
|
207
207
|
};
|
|
208
208
|
export {
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
ee as default,
|
|
210
|
+
te as useDrawerMobile
|
|
211
211
|
};
|
package/dist/DropZone.es.js
CHANGED
package/dist/Header.es.js
CHANGED
package/dist/Icons.es.js
CHANGED
package/dist/Image.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as n } from "./jsx-runtime-
|
|
1
|
+
import { j as n } from "./jsx-runtime-ByW6EXIE.js";
|
|
2
2
|
import { memo as x, useState as E, useRef as R, useCallback as N, useEffect as b } from "react";
|
|
3
3
|
import M from "./Spinner.es.js";
|
|
4
4
|
import { c as d } from "./cn-B6yFEsav.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as t } from "./jsx-runtime-
|
|
1
|
+
import { j as t } from "./jsx-runtime-ByW6EXIE.js";
|
|
2
2
|
import ee, { memo as D, forwardRef as L, useRef as v, useEffect as te, useCallback as i, useState as R, useImperativeHandle as ne } from "react";
|
|
3
3
|
import { c as X } from "./cn-B6yFEsav.js";
|
|
4
4
|
import { u as re } from "./useDragScroll-CHN9OMwn.js";
|
|
5
|
-
import { B as S } from "./Button-
|
|
5
|
+
import { B as S } from "./Button-Bc0LYLfg.js";
|
|
6
6
|
import { Icons as M } from "./Icons.es.js";
|
|
7
7
|
const O = D(L(({ images: n, className: c }, r) => {
|
|
8
8
|
const { ref: d, bind: a } = re({
|
package/dist/ImageGallery.es.js
CHANGED