welcome-ui 10.0.6 → 10.0.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.
- package/dist/Icon.js +8 -7
- package/dist/Pagination.js +17 -18
- package/dist/Stamp.css +1 -0
- package/dist/Stamp.js +47 -0
- package/dist/Swiper.css +1 -1
- package/dist/Swiper.js +1988 -1853
- package/dist/Tabs.js +29 -28
- package/dist/theme.css +1 -1
- package/dist/types/components/Icon/icons.d.ts +2 -2
- package/dist/types/components/Stamp/index.d.ts +3 -0
- package/dist/types/components/{IconStamp → Stamp}/types.d.ts +8 -2
- package/dist/types/components/Swiper/components/SwiperNextButton.d.ts +2 -0
- package/dist/types/components/Swiper/components/SwiperPrevButton.d.ts +2 -0
- package/dist/types/components/Swiper/components/SwiperSlides.d.ts +2 -0
- package/dist/types/components/Swiper/index.d.ts +50 -31
- package/dist/types/components/Swiper/types.d.ts +39 -28
- package/dist/types/theme/generated/variables.d.ts +1611 -1536
- package/package.json +2 -2
- package/dist/IconStamp.css +0 -1
- package/dist/IconStamp.js +0 -34
- package/dist/types/components/IconStamp/index.d.ts +0 -2
- /package/dist/types/components/{IconStamp → Stamp}/index.test.d.ts +0 -0
package/dist/Icon.js
CHANGED
|
@@ -189,6 +189,7 @@ const s = "_root_576cf_2", A = {
|
|
|
189
189
|
/* @__PURE__ */ a("symbol", { id: "package", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M19,2H5A3,3,0,0,0,2,5V19a3,3,0,0,0,3,3H19a3,3,0,0,0,3-3V5A3,3,0,0,0,19,2ZM10,4h4V7.13l-1.45-1a1,1,0,0,0-1.1,0L10,7.13ZM20,19a1,1,0,0,1-1,1H5a1,1,0,0,1-1-1V5A1,1,0,0,1,5,4H8V9a1,1,0,0,0,.53.88,1,1,0,0,0,1-.05L12,8.2l2.45,1.63A1,1,0,0,0,16,9V4h3a1,1,0,0,1,1,1Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
190
190
|
/* @__PURE__ */ a("symbol", { id: "basketball", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M12,2A10,10,0,0,0,3.6,6.59l0,0A10,10,0,0,0,18.26,19.79l0,0A10,10,0,0,0,12,2Zm2,2.26A8,8,0,0,1,19.74,10,9.78,9.78,0,0,0,15,11.38a15.7,15.7,0,0,0-2.4-2.21A10.06,10.06,0,0,0,14,4.26ZM12,4a7.9,7.9,0,0,1-1.14,4.07c-.15-.08-.29-.17-.44-.24A15.52,15.52,0,0,0,6.33,6.36,8,8,0,0,1,12,4ZM5,8.16A13.75,13.75,0,0,1,9.49,9.6l.13.08A7.93,7.93,0,0,1,4,12,8,8,0,0,1,5,8.16Zm5,11.58A8,8,0,0,1,4.26,14a9.9,9.9,0,0,0,7.08-3.21,14,14,0,0,1,2,1.8A10,10,0,0,0,10,19.74ZM12,20a8,8,0,0,1,2.56-5.85c.06.08.12.15.17.23a14,14,0,0,1,1.84,4.18A7.93,7.93,0,0,1,12,20Zm6.21-3a16,16,0,0,0-1.8-3.75L16.2,13A7.93,7.93,0,0,1,20,12,8,8,0,0,1,18.21,17Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
191
191
|
/* @__PURE__ */ a("symbol", { id: "bill", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M9.5,10.5H12a1,1,0,0,0,0-2H11V8A1,1,0,0,0,9,8v.55a2.5,2.5,0,0,0,.5,4.95h1a.5.5,0,0,1,0,1H8a1,1,0,0,0,0,2H9V17a1,1,0,0,0,2,0v-.55a2.5,2.5,0,0,0-.5-4.95h-1a.5.5,0,0,1,0-1ZM21,12H18V3a1,1,0,0,0-.5-.87,1,1,0,0,0-1,0l-3,1.72-3-1.72a1,1,0,0,0-1,0l-3,1.72-3-1.72a1,1,0,0,0-1,0A1,1,0,0,0,2,3V19a3,3,0,0,0,3,3H19a3,3,0,0,0,3-3V13A1,1,0,0,0,21,12ZM5,20a1,1,0,0,1-1-1V4.73L6,5.87a1.08,1.08,0,0,0,1,0l3-1.72,3,1.72a1.08,1.08,0,0,0,1,0l2-1.14V19a3,3,0,0,0,.18,1Zm15-1a1,1,0,0,1-2,0V14h2Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
192
|
+
/* @__PURE__ */ a("symbol", { id: "invoice", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M13,16H7a1,1,0,0,0,0,2h6a1,1,0,0,0,0-2ZM9,10h2a1,1,0,0,0,0-2H9a1,1,0,0,0,0,2Zm12,2H18V3a1,1,0,0,0-.5-.87,1,1,0,0,0-1,0l-3,1.72-3-1.72a1,1,0,0,0-1,0l-3,1.72-3-1.72a1,1,0,0,0-1,0A1,1,0,0,0,2,3V19a3,3,0,0,0,3,3H19a3,3,0,0,0,3-3V13A1,1,0,0,0,21,12ZM5,20a1,1,0,0,1-1-1V4.73L6,5.87a1.08,1.08,0,0,0,1,0l3-1.72,3,1.72a1.08,1.08,0,0,0,1,0l2-1.14V19a3,3,0,0,0,.18,1Zm15-1a1,1,0,0,1-2,0V14h2Zm-7-7H7a1,1,0,0,0,0,2h6a1,1,0,0,0,0-2Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
192
193
|
/* @__PURE__ */ a("symbol", { id: "book-alt", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M18,2H8A4,4,0,0,0,4,6V18a4,4,0,0,0,4,4H18a2,2,0,0,0,2-2V4A2,2,0,0,0,18,2ZM6,6A2,2,0,0,1,8,4H18V14H8a3.91,3.91,0,0,0-2,.56ZM8,20a2,2,0,0,1,0-4H18v4ZM10,8h4a1,1,0,0,0,0-2H10a1,1,0,0,0,0,2Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
193
194
|
/* @__PURE__ */ a("symbol", { id: "lightbulb-alt", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M17.09,2.82a8,8,0,0,0-6.68-1.66A8,8,0,0,0,4.14,7.48a8.07,8.07,0,0,0,1.72,6.65A4.54,4.54,0,0,1,7,17v3a3,3,0,0,0,3,3h4a3,3,0,0,0,3-3V17.19A5.17,5.17,0,0,1,18.22,14a8,8,0,0,0-1.13-11.2ZM15,20a1,1,0,0,1-1,1H10a1,1,0,0,1-1-1V19h6Zm1.67-7.24A7.13,7.13,0,0,0,15,17H13V14a1,1,0,0,0-2,0v3H9a6.5,6.5,0,0,0-1.6-4.16,6,6,0,0,1,3.39-9.72A6,6,0,0,1,18,9,5.89,5.89,0,0,1,16.67,12.76Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
194
195
|
/* @__PURE__ */ a("symbol", { id: "life-ring", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M22,11.05c0-.11,0-.22,0-.33l-.09-.6-.09-.39c0-.17-.08-.34-.13-.51s-.08-.27-.13-.4a2.17,2.17,0,0,1-.07-.24s0,0,0-.05a10.1,10.1,0,0,0-5.9-5.9s0,0-.05,0l-.23-.07-.42-.13c-.15,0-.31-.08-.46-.12l-.46-.1-.46-.07c-.16,0-.31,0-.48-.06s-.35,0-.52,0L12,2l-.39,0c-.17,0-.35,0-.52,0s-.32,0-.48.06l-.46.07-.46.1c-.15,0-.31.07-.46.12l-.42.13-.23.07s0,0-.05,0a10.1,10.1,0,0,0-5.9,5.9s0,0,0,.05a2.17,2.17,0,0,1-.07.24c0,.13-.09.26-.13.4s-.09.34-.13.51l-.09.39-.09.6c0,.11,0,.22,0,.33,0,.31,0,.63,0,.95s0,.64,0,.95c0,.11,0,.22,0,.33l.09.6.09.39c0,.17.08.34.13.51s.08.27.13.4a2.17,2.17,0,0,1,.07.24.43.43,0,0,1,0,.07,10,10,0,0,0,5.89,5.88s0,0,.05,0l.24.07.4.13.51.13.39.09.6.09.33,0c.31,0,.63.05.95.05s.64,0,.95-.05l.33,0,.6-.09.39-.09.51-.13.4-.13.24-.07s0,0,.05,0a10,10,0,0,0,5.89-5.88.43.43,0,0,1,0-.07c0-.08.05-.16.07-.24s.09-.26.13-.4.09-.34.13-.51l.09-.39.09-.6c0-.11,0-.22,0-.33,0-.31.05-.63.05-.95S22,11.36,22,11.05Zm-6.3-6.16a8,8,0,0,1,3.46,3.46l-2.86,1a5.14,5.14,0,0,0-1.64-1.64Zm-5.36-.7c.21-.05.41-.08.61-.11l.24,0a8.24,8.24,0,0,1,1.72,0l.24,0c.2,0,.4.06.61.11h.06l-1,2.86A4.49,4.49,0,0,0,12,7a4.4,4.4,0,0,0-.73.06l-1-2.86Zm-1.94.7,1,2.86A5.14,5.14,0,0,0,7.75,9.39l-2.86-1A8,8,0,0,1,8.35,4.89ZM4.19,13.71a4.17,4.17,0,0,1-.1-.6c0-.09,0-.17,0-.25a7.42,7.42,0,0,1,0-1.72c0-.08,0-.16,0-.25a4.17,4.17,0,0,1,.1-.6s0,0,0-.06l2.86,1a4.47,4.47,0,0,0,0,1.46l-2.86,1S4.19,13.73,4.19,13.71Zm4.16,5.4a8,8,0,0,1-3.46-3.46l2.86-1a5.14,5.14,0,0,0,1.64,1.64Zm5.36.7c-.21.05-.41.08-.61.11l-.24,0a8.24,8.24,0,0,1-1.72,0l-.24,0c-.2,0-.4-.06-.61-.11h-.06l1-2.86a4.47,4.47,0,0,0,1.46,0l1,2.86Zm-.67-5h0c-.17.06-.34.1-.5.14a2.73,2.73,0,0,1-1,0c-.16,0-.33-.08-.5-.14h0A3,3,0,0,1,9.2,13v0a3.23,3.23,0,0,1-.14-.51,2.63,2.63,0,0,1,0-1A3.23,3.23,0,0,1,9.19,11v0A3,3,0,0,1,11,9.2h0c.17-.06.34-.1.5-.14a2.73,2.73,0,0,1,1,0c.16,0,.33.08.5.14h0A3,3,0,0,1,14.8,11v0a3.23,3.23,0,0,1,.14.51,2.63,2.63,0,0,1,0,1,3.23,3.23,0,0,1-.14.51v0A3,3,0,0,1,13,14.8Zm2.61,4.31-1-2.86a5.14,5.14,0,0,0,1.64-1.64l2.86,1A8,8,0,0,1,15.65,19.11ZM20,12.86c0,.08,0,.16,0,.25a4.17,4.17,0,0,1-.1.6s0,0,0,.06l-2.86-1a4.47,4.47,0,0,0,0-1.46l2.86-1s0,0,0,.06a4.17,4.17,0,0,1,.1.6c0,.09,0,.17,0,.25a7.42,7.42,0,0,1,0,1.72Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
@@ -228,22 +229,22 @@ const s = "_root_576cf_2", A = {
|
|
|
228
229
|
/* @__PURE__ */ a("symbol", { id: "trees", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M16.5,5A4.86,4.86,0,0,0,14,5.69,6,6,0,0,0,2.5,8v4a6,6,0,0,0,5,5.91V21a1,1,0,0,0,2,0V17.91a6.08,6.08,0,0,0,2.78-1.26A5,5,0,0,0,15.5,18.9V21a1,1,0,0,0,2,0V18.9a5,5,0,0,0,4-4.9V10A5,5,0,0,0,16.5,5Zm-5,5v4a5.23,5.23,0,0,0,.06.57,4,4,0,0,1-2.06,1.3V13a1,1,0,0,0-2,0v2.86A4,4,0,0,1,4.5,12V8a4,4,0,0,1,6.83-2.84,3.94,3.94,0,0,1,1.06,2A5,5,0,0,0,11.5,10Zm8,4a3,3,0,0,1-2,2.82V13a1,1,0,0,0-2,0v3.82a3,3,0,0,1-2-2.82V10a3,3,0,0,1,6,0Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
229
230
|
/* @__PURE__ */ a("symbol", { id: "exit", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M4,12a1,1,0,0,0,1,1h7.59l-2.3,2.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l4-4a1,1,0,0,0,.21-.33,1,1,0,0,0,0-.76,1,1,0,0,0-.21-.33l-4-4a1,1,0,1,0-1.42,1.42L12.59,11H5A1,1,0,0,0,4,12ZM17,2H7A3,3,0,0,0,4,5V8A1,1,0,0,0,6,8V5A1,1,0,0,1,7,4H17a1,1,0,0,1,1,1V19a1,1,0,0,1-1,1H7a1,1,0,0,1-1-1V16a1,1,0,0,0-2,0v3a3,3,0,0,0,3,3H17a3,3,0,0,0,3-3V5A3,3,0,0,0,17,2Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
230
231
|
/* @__PURE__ */ a("symbol", { id: "ban", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M12,2A10,10,0,1,0,22,12,10,10,0,0,0,12,2Zm0,18a8,8,0,0,1-8-8A7.92,7.92,0,0,1,5.69,7.1L16.9,18.31A7.92,7.92,0,0,1,12,20Zm6.31-3.1L7.1,5.69A7.92,7.92,0,0,1,12,4a8,8,0,0,1,8,8A7.92,7.92,0,0,1,18.31,16.9Z", xmlns: "http://www.w3.org/2000/svg" }) })
|
|
231
|
-
] }),
|
|
232
|
-
({ "aria-label": l, className: w, name: r, size: h = "md", ...
|
|
232
|
+
] }), m = e(A), n = C(
|
|
233
|
+
({ "aria-label": l, className: w, name: r, size: h = "md", ...i }, t) => /* @__PURE__ */ a(
|
|
233
234
|
"svg",
|
|
234
235
|
{
|
|
235
236
|
"aria-hidden": l ? "false" : "true",
|
|
236
237
|
"aria-label": l,
|
|
237
|
-
className:
|
|
238
|
-
ref:
|
|
238
|
+
className: m("root", `size-${h}`, `name-${r}`, w),
|
|
239
|
+
ref: t,
|
|
239
240
|
role: l ? "img" : void 0,
|
|
240
|
-
...
|
|
241
|
+
...i,
|
|
241
242
|
children: /* @__PURE__ */ a("use", { href: `#${r}` })
|
|
242
243
|
}
|
|
243
244
|
)
|
|
244
245
|
);
|
|
245
|
-
|
|
246
|
+
n.displayName = "Icon";
|
|
246
247
|
export {
|
|
247
|
-
|
|
248
|
+
n as Icon,
|
|
248
249
|
v as Sprite
|
|
249
250
|
};
|
package/dist/Pagination.js
CHANGED
|
@@ -18,20 +18,20 @@ function v({ page: c, pageCount: e, rangeDisplay: P }) {
|
|
|
18
18
|
return Y(() => {
|
|
19
19
|
if (e <= P || e <= h + 1)
|
|
20
20
|
return B(e, (b) => b + 1);
|
|
21
|
-
const
|
|
21
|
+
const t = g(c, e), o = t === "before" ? B(h, (b) => b + 1) : [1], r = t === "center" ? B(a, (b) => b + c - 1) : [], w = t === "after" ? B(h, (b) => b + e - h + 1) : [e];
|
|
22
22
|
return T([o, r, w], "-");
|
|
23
23
|
}, [c, e, P]);
|
|
24
24
|
}
|
|
25
25
|
function B(c, e) {
|
|
26
|
-
return Array.from({ length: c }, (P,
|
|
26
|
+
return Array.from({ length: c }, (P, t) => e(t));
|
|
27
27
|
}
|
|
28
28
|
function g(c, e) {
|
|
29
29
|
return c < h ? "before" : c >= h && c <= e - h + 1 ? "center" : c > e - h + 1 ? "after" : "center";
|
|
30
30
|
}
|
|
31
31
|
function T(c, e) {
|
|
32
|
-
return c.reduce((P,
|
|
32
|
+
return c.reduce((P, t, o) => {
|
|
33
33
|
const r = [];
|
|
34
|
-
return r.push(...P), r.push(...
|
|
34
|
+
return r.push(...P), r.push(...t), t.length && o < c.length - 1 && r.push(e), r;
|
|
35
35
|
}, []);
|
|
36
36
|
}
|
|
37
37
|
const m = H(x), ll = Z(
|
|
@@ -39,7 +39,7 @@ const m = H(x), ll = Z(
|
|
|
39
39
|
"aria-label": c,
|
|
40
40
|
buttonFirstProps: e,
|
|
41
41
|
buttonLastProps: P,
|
|
42
|
-
buttonNextProps:
|
|
42
|
+
buttonNextProps: t,
|
|
43
43
|
buttonPrevProps: o,
|
|
44
44
|
dataTestId: r,
|
|
45
45
|
getHref: w,
|
|
@@ -59,12 +59,12 @@ const m = H(x), ll = Z(
|
|
|
59
59
|
k || u(_);
|
|
60
60
|
}, [k, _, u]), U = y(() => {
|
|
61
61
|
if ($) return;
|
|
62
|
-
const
|
|
63
|
-
u(
|
|
62
|
+
const d = Math.max(f - 1, 1);
|
|
63
|
+
u(d);
|
|
64
64
|
}, [$, f, u]), V = y(() => {
|
|
65
65
|
if (z) return;
|
|
66
|
-
const
|
|
67
|
-
u(
|
|
66
|
+
const d = Math.min(f + 1, _);
|
|
67
|
+
u(d);
|
|
68
68
|
}, [z, f, _, u]);
|
|
69
69
|
return /* @__PURE__ */ s("nav", { "aria-label": c ?? "Pagination", "data-testid": r, ref: q, ...p, children: /* @__PURE__ */ N("ol", { className: m("list"), ...b, children: [
|
|
70
70
|
D ? /* @__PURE__ */ s("li", { children: /* @__PURE__ */ N(
|
|
@@ -111,28 +111,27 @@ const m = H(x), ll = Z(
|
|
|
111
111
|
}
|
|
112
112
|
) }),
|
|
113
113
|
J.map(
|
|
114
|
-
(
|
|
114
|
+
(d, W) => d === "-" ? /* @__PURE__ */ s("li", { children: /* @__PURE__ */ s(
|
|
115
115
|
"button",
|
|
116
116
|
{
|
|
117
117
|
"aria-label": "Collapsed Pages",
|
|
118
118
|
className: m("item", `size-${i}`),
|
|
119
119
|
type: "button",
|
|
120
|
-
...d,
|
|
121
120
|
children: "..."
|
|
122
121
|
}
|
|
123
122
|
) }, `${W}-`) : /* @__PURE__ */ s("li", { children: /* @__PURE__ */ s(
|
|
124
123
|
"a",
|
|
125
124
|
{
|
|
126
|
-
"aria-current":
|
|
125
|
+
"aria-current": d === f,
|
|
127
126
|
className: m("item", "page", `size-${i}`),
|
|
128
|
-
"data-testid": r ? `${r}-${
|
|
129
|
-
href: w == null ? void 0 : w(
|
|
127
|
+
"data-testid": r ? `${r}-${d}` : void 0,
|
|
128
|
+
href: w == null ? void 0 : w(d),
|
|
130
129
|
onClick: (X) => {
|
|
131
|
-
u && (X.preventDefault(), u(
|
|
130
|
+
u && (X.preventDefault(), u(d));
|
|
132
131
|
},
|
|
133
|
-
children:
|
|
132
|
+
children: d
|
|
134
133
|
}
|
|
135
|
-
) },
|
|
134
|
+
) }, d)
|
|
136
135
|
),
|
|
137
136
|
/* @__PURE__ */ s("li", { children: /* @__PURE__ */ N(
|
|
138
137
|
"button",
|
|
@@ -149,7 +148,7 @@ const m = H(x), ll = Z(
|
|
|
149
148
|
onClick: V,
|
|
150
149
|
ref: O,
|
|
151
150
|
type: "button",
|
|
152
|
-
...
|
|
151
|
+
...t,
|
|
153
152
|
children: [
|
|
154
153
|
l != null && l.nextPage ? F : null,
|
|
155
154
|
/* @__PURE__ */ s(A, { name: "angle-right", size: "lg" })
|
package/dist/Stamp.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer components{._root_jran2_2{display:inline-flex;flex-shrink:0;align-self:center;justify-content:center;align-items:center;border-color:var(--stamp-color-border-default);border-width:var(--stamp-border-width);border-style:solid;box-shadow:var(--elevation-10);box-sizing:border-box;transform:rotate(-2deg);color:var(--color, var(--color-icon-neutral-subtle));background:var(--backgroundColor);border-radius:var(--borderRadius);height:var(--size);width:var(--size)}._variant-brand_jran2_21{--backgroundColor: var(--stamp-color-background-brand);--color: var(--stamp-color-icon-brand)}._variant-warm_jran2_25{--backgroundColor: var(--stamp-color-background-warm);--color: var(--stamp-color-icon-warm)}._variant-red_jran2_29{--backgroundColor: var(--stamp-color-background-red);--color: var(--stamp-color-icon-red)}._variant-blue_jran2_33{--backgroundColor: var(--stamp-color-background-blue);--color: var(--stamp-color-icon-blue)}._variant-green_jran2_37{--backgroundColor: var(--stamp-color-background-green);--color: var(--stamp-color-icon-green)}._variant-orange_jran2_41{--backgroundColor: var(--stamp-color-background-orange);--color: var(--stamp-color-icon-orange)}._variant-teal_jran2_45{--backgroundColor: var(--stamp-color-background-teal);--color: var(--stamp-color-icon-teal)}._variant-violet_jran2_49{--backgroundColor: var(--stamp-color-background-violet);--color: var(--stamp-color-icon-violet)}._size-sm_jran2_53{--borderRadius: var(--stamp-border-radius-sm);--size: var(--stamp-size-sm)}._size-md_jran2_57{--borderRadius: var(--stamp-border-radius-md);--size: var(--stamp-size-md)}._size-lg_jran2_61{--borderRadius: var(--stamp-border-radius-lg);--size: var(--stamp-size-lg)}}
|
package/dist/Stamp.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import './Stamp.css';
|
|
3
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
4
|
+
import { forwardRef as i } from "react";
|
|
5
|
+
import { Icon as s } from "./Icon.js";
|
|
6
|
+
import { c as v } from "./index-PAaZGbyz.js";
|
|
7
|
+
const c = "_root_jran2_2", l = {
|
|
8
|
+
root: c,
|
|
9
|
+
"variant-brand": "_variant-brand_jran2_21",
|
|
10
|
+
"variant-warm": "_variant-warm_jran2_25",
|
|
11
|
+
"variant-red": "_variant-red_jran2_29",
|
|
12
|
+
"variant-blue": "_variant-blue_jran2_33",
|
|
13
|
+
"variant-green": "_variant-green_jran2_37",
|
|
14
|
+
"variant-orange": "_variant-orange_jran2_41",
|
|
15
|
+
"variant-teal": "_variant-teal_jran2_45",
|
|
16
|
+
"variant-violet": "_variant-violet_jran2_49",
|
|
17
|
+
"size-sm": "_size-sm_jran2_53",
|
|
18
|
+
"size-md": "_size-md_jran2_57",
|
|
19
|
+
"size-lg": "_size-lg_jran2_61"
|
|
20
|
+
}, o = v(l), d = i(
|
|
21
|
+
({ className: t, name: r, size: a = "md", variant: n, ..._ }, m) => /* @__PURE__ */ e(
|
|
22
|
+
"div",
|
|
23
|
+
{
|
|
24
|
+
..._,
|
|
25
|
+
className: o("root", n && `variant-${n}`, a && `size-${a}`, t),
|
|
26
|
+
ref: m,
|
|
27
|
+
children: /* @__PURE__ */ e(s, { name: r, size: a })
|
|
28
|
+
}
|
|
29
|
+
)
|
|
30
|
+
);
|
|
31
|
+
d.displayName = "IconStamp";
|
|
32
|
+
const j = i(
|
|
33
|
+
({ className: t, size: r = "md", src: a, ...n }, _) => /* @__PURE__ */ e(
|
|
34
|
+
"img",
|
|
35
|
+
{
|
|
36
|
+
src: a,
|
|
37
|
+
...n,
|
|
38
|
+
className: o("root", r && `size-${r}`, t),
|
|
39
|
+
ref: _
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
);
|
|
43
|
+
j.displayName = "ImageStamp";
|
|
44
|
+
export {
|
|
45
|
+
d as IconStamp,
|
|
46
|
+
j as ImageStamp
|
|
47
|
+
};
|
package/dist/Swiper.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer components{.
|
|
1
|
+
@layer components{._root_103s3_3{overflow-y:hidden;position:relative;width:100%;height:100%}._container_103s3_9{scroll-snap-type:x mandatory;display:flex;-webkit-overflow-scrolling:touch;overflow-x:scroll;margin:0;-ms-overflow-style:none;scrollbar-width:none;height:100%;padding:0}._container_103s3_9::-webkit-scrollbar{display:none}._container_103s3_9>[aria-roledescription=slide][aria-hidden=true]{pointer-events:none}._container_103s3_9>*{list-style-type:none;margin-right:var(--spaceBetween);min-width:var(--slideWidthMobile);max-width:var(--slideWidthMobile);flex:1}._container_103s3_9>*:last-child{margin-right:0}@media (min-width: 480px){._container-mobile_103s3_38>*{min-width:var(--slideWidthMobile);max-width:var(--slideWidthMobile)}._container-mobile_103s3_38>*:nth-of-type(n+1){scroll-snap-align:start}}@media (min-width: 736px){._container-tablet_103s3_47>*{min-width:var(--slideWidthTablet);max-width:var(--slideWidthTablet)}._container-tablet_103s3_47>*:nth-of-type(n+1){scroll-snap-align:start}}@media (min-width: 980px){._container-desktop_103s3_56>*{min-width:var(--slideWidthDesktop);max-width:var(--slideWidthDesktop);scroll-snap-align:unset}._container-desktop_103s3_56>*:nth-of-type(n+1){scroll-snap-align:start}._container-desktop_103s3_56>*:not(:nth-of-type(n+1)){scroll-snap-align:unset}}@media (min-width: 1280px){._container-full-width_103s3_69>*{min-width:var(--slideWithDesktopFullWidth);max-width:var(--slideWithDesktopFullWidth)}}._arrow-placement-side_103s3_74{position:absolute;top:50%;transform:translate3d(0,-50%,0);display:none;z-index:1}._arrow-placement-side-left_103s3_81{left:10px}._arrow-placement-side-right_103s3_84{right:10px}._arrow-mobile_103s3_87{display:flex;z-index:1}@media (min-width: 736px){._arrow_103s3_74{display:none;z-index:-1}._arrow-desktop_103s3_96{display:flex;z-index:1}}._arrow-background_103s3_101{background-color:var(--color-background-neutral-inverse-fixed)}._arrow-background_103s3_101:hover{background-color:var(--color-background-neutral-subtle)}}
|