@atme-lab/ui-kit 0.1.20 → 0.1.22
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/components/content/ArticlePreview/components/ArticlePreviewContent/ArticlePreviewContent.d.ts +2 -1
- package/dist/components/content/DecorativeFrame/utils/patternGenerator.d.ts +2 -0
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs25.js.map +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs28.js.map +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs38.js.map +1 -1
- package/dist/index.cjs385.js +1 -1
- package/dist/index.cjs388.js +1 -1
- package/dist/index.cjs389.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs390.js +1 -1
- package/dist/index.cjs391.js +1 -1
- package/dist/index.cjs40.js +9 -1
- package/dist/index.cjs40.js.map +1 -1
- package/dist/index.cjs41.js +22 -1
- package/dist/index.cjs41.js.map +1 -1
- package/dist/index.cjs411.js +6 -1
- package/dist/index.cjs411.js.map +1 -1
- package/dist/index.cjs412.js +6 -1
- package/dist/index.cjs412.js.map +1 -1
- package/dist/index.cjs413.js +2 -2
- package/dist/index.cjs413.js.map +1 -1
- package/dist/index.cjs414.js +2 -2
- package/dist/index.cjs414.js.map +1 -1
- package/dist/index.cjs415.js +1 -6
- package/dist/index.cjs415.js.map +1 -1
- package/dist/index.cjs416.js +1 -6
- package/dist/index.cjs416.js.map +1 -1
- package/dist/index.cjs42.js +1 -9
- package/dist/index.cjs42.js.map +1 -1
- package/dist/index.cjs420.js +1 -1
- package/dist/index.cjs421.js +1 -1
- package/dist/index.cjs422.js +1 -1
- package/dist/index.cjs423.js +1 -1
- package/dist/index.cjs424.js +1 -1
- package/dist/index.cjs425.js +1 -1
- package/dist/index.cjs426.js +1 -1
- package/dist/index.cjs428.js +1 -1
- package/dist/index.cjs43.js +1 -22
- package/dist/index.cjs43.js.map +1 -1
- package/dist/index.cjs430.js +1 -1
- package/dist/index.cjs433.js +1 -1
- package/dist/index.cjs434.js +1 -6
- package/dist/index.cjs434.js.map +1 -1
- package/dist/index.cjs435.js +1 -6
- package/dist/index.cjs435.js.map +1 -1
- package/dist/index.cjs436.js +1 -6
- package/dist/index.cjs436.js.map +1 -1
- package/dist/index.cjs437.js +1 -6
- package/dist/index.cjs437.js.map +1 -1
- package/dist/index.cjs438.js +1 -1
- package/dist/index.cjs438.js.map +1 -1
- package/dist/index.cjs439.js +1 -1
- package/dist/index.cjs439.js.map +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs440.js +1 -1
- package/dist/index.cjs440.js.map +1 -1
- package/dist/index.cjs441.js +1 -1
- package/dist/index.cjs441.js.map +1 -1
- package/dist/index.cjs442.js +1 -1
- package/dist/index.cjs442.js.map +1 -1
- package/dist/index.cjs443.js +1 -1
- package/dist/index.cjs443.js.map +1 -1
- package/dist/index.cjs444.js +1 -1
- package/dist/index.cjs444.js.map +1 -1
- package/dist/index.cjs445.js +1 -1
- package/dist/index.cjs445.js.map +1 -1
- package/dist/index.cjs446.js +1 -1
- package/dist/index.cjs446.js.map +1 -1
- package/dist/index.cjs447.js +1 -1
- package/dist/index.cjs447.js.map +1 -1
- package/dist/index.cjs448.js +1 -1
- package/dist/index.cjs448.js.map +1 -1
- package/dist/index.cjs449.js +6 -1
- package/dist/index.cjs449.js.map +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs450.js +6 -1
- package/dist/index.cjs450.js.map +1 -1
- package/dist/index.cjs451.js +6 -1
- package/dist/index.cjs451.js.map +1 -1
- package/dist/index.cjs452.js +6 -1
- package/dist/index.cjs452.js.map +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs46.js.map +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs48.js.map +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs51.js.map +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs52.js.map +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs53.js.map +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs54.js.map +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs59.js.map +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs60.js.map +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs62.js.map +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs63.js.map +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs64.js.map +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs65.js.map +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs66.js.map +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs68.js.map +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs71.js.map +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.esm10.js +3 -3
- package/dist/index.esm11.js +2 -2
- package/dist/index.esm12.js +4 -4
- package/dist/index.esm13.js +2 -2
- package/dist/index.esm14.js +2 -2
- package/dist/index.esm15.js +2 -2
- package/dist/index.esm16.js +2 -2
- package/dist/index.esm17.js +2 -2
- package/dist/index.esm18.js +2 -2
- package/dist/index.esm19.js +2 -2
- package/dist/index.esm20.js +2 -2
- package/dist/index.esm21.js +3 -3
- package/dist/index.esm22.js +3 -3
- package/dist/index.esm23.js +2 -2
- package/dist/index.esm24.js +3 -3
- package/dist/index.esm25.js +26 -26
- package/dist/index.esm25.js.map +1 -1
- package/dist/index.esm26.js +2 -2
- package/dist/index.esm27.js +2 -2
- package/dist/index.esm28.js +49 -29
- package/dist/index.esm28.js.map +1 -1
- package/dist/index.esm29.js +2 -2
- package/dist/index.esm30.js +4 -4
- package/dist/index.esm36.js +1 -1
- package/dist/index.esm38.js +8 -5
- package/dist/index.esm38.js.map +1 -1
- package/dist/index.esm385.js +2 -2
- package/dist/index.esm388.js +45 -45
- package/dist/index.esm389.js +1 -1
- package/dist/index.esm39.js +2 -41
- package/dist/index.esm39.js.map +1 -1
- package/dist/index.esm390.js +1 -1
- package/dist/index.esm391.js +30 -22
- package/dist/index.esm391.js.map +1 -1
- package/dist/index.esm40.js +25 -7
- package/dist/index.esm40.js.map +1 -1
- package/dist/index.esm41.js +602 -2
- package/dist/index.esm41.js.map +1 -1
- package/dist/index.esm411.js +9 -5
- package/dist/index.esm411.js.map +1 -1
- package/dist/index.esm412.js +18 -5
- package/dist/index.esm412.js.map +1 -1
- package/dist/index.esm413.js +9 -3
- package/dist/index.esm413.js.map +1 -1
- package/dist/index.esm414.js +6 -7
- package/dist/index.esm414.js.map +1 -1
- package/dist/index.esm415.js +5 -15
- package/dist/index.esm415.js.map +1 -1
- package/dist/index.esm416.js +5 -17
- package/dist/index.esm416.js.map +1 -1
- package/dist/index.esm42.js +5 -26
- package/dist/index.esm42.js.map +1 -1
- package/dist/index.esm420.js +1 -1
- package/dist/index.esm421.js +2 -2
- package/dist/index.esm422.js +3 -3
- package/dist/index.esm423.js +3 -3
- package/dist/index.esm424.js +1 -1
- package/dist/index.esm425.js +2 -2
- package/dist/index.esm426.js +1 -1
- package/dist/index.esm428.js +1 -1
- package/dist/index.esm43.js +29 -602
- package/dist/index.esm43.js.map +1 -1
- package/dist/index.esm430.js +7 -7
- package/dist/index.esm433.js +1 -1
- package/dist/index.esm434.js +19 -21
- package/dist/index.esm434.js.map +1 -1
- package/dist/index.esm435.js +17 -9
- package/dist/index.esm435.js.map +1 -1
- package/dist/index.esm436.js +12 -38
- package/dist/index.esm436.js.map +1 -1
- package/dist/index.esm437.js +5 -18
- package/dist/index.esm437.js.map +1 -1
- package/dist/index.esm438.js +3 -18
- package/dist/index.esm438.js.map +1 -1
- package/dist/index.esm439.js +29 -15
- package/dist/index.esm439.js.map +1 -1
- package/dist/index.esm44.js +5 -42
- package/dist/index.esm44.js.map +1 -1
- package/dist/index.esm440.js +33 -11
- package/dist/index.esm440.js.map +1 -1
- package/dist/index.esm441.js +25 -4
- package/dist/index.esm441.js.map +1 -1
- package/dist/index.esm442.js +3 -3
- package/dist/index.esm442.js.map +1 -1
- package/dist/index.esm443.js +5 -30
- package/dist/index.esm443.js.map +1 -1
- package/dist/index.esm444.js +9 -33
- package/dist/index.esm444.js.map +1 -1
- package/dist/index.esm445.js +6 -25
- package/dist/index.esm445.js.map +1 -1
- package/dist/index.esm446.js +3 -3
- package/dist/index.esm446.js.map +1 -1
- package/dist/index.esm447.js +84 -5
- package/dist/index.esm447.js.map +1 -1
- package/dist/index.esm448.js +37 -9
- package/dist/index.esm448.js.map +1 -1
- package/dist/index.esm449.js +21 -7
- package/dist/index.esm449.js.map +1 -1
- package/dist/index.esm45.js +10 -28
- package/dist/index.esm45.js.map +1 -1
- package/dist/index.esm450.js +9 -4
- package/dist/index.esm450.js.map +1 -1
- package/dist/index.esm451.js +38 -85
- package/dist/index.esm451.js.map +1 -1
- package/dist/index.esm452.js +18 -38
- package/dist/index.esm452.js.map +1 -1
- package/dist/index.esm46.js +30 -65
- package/dist/index.esm46.js.map +1 -1
- package/dist/index.esm47.js +64 -10
- package/dist/index.esm47.js.map +1 -1
- package/dist/index.esm48.js +41 -30
- package/dist/index.esm48.js.map +1 -1
- package/dist/index.esm49.js +36 -39
- package/dist/index.esm49.js.map +1 -1
- package/dist/index.esm50.js +4 -16
- package/dist/index.esm50.js.map +1 -1
- package/dist/index.esm51.js +7 -16
- package/dist/index.esm51.js.map +1 -1
- package/dist/index.esm52.js +9 -5
- package/dist/index.esm52.js.map +1 -1
- package/dist/index.esm53.js +7 -14
- package/dist/index.esm53.js.map +1 -1
- package/dist/index.esm54.js +40 -87
- package/dist/index.esm54.js.map +1 -1
- package/dist/index.esm55.js +47 -33
- package/dist/index.esm55.js.map +1 -1
- package/dist/index.esm56.js +10 -40
- package/dist/index.esm56.js.map +1 -1
- package/dist/index.esm57.js +8 -36
- package/dist/index.esm57.js.map +1 -1
- package/dist/index.esm58.js +58 -6
- package/dist/index.esm58.js.map +1 -1
- package/dist/index.esm59.js +16 -9
- package/dist/index.esm59.js.map +1 -1
- package/dist/index.esm60.js +97 -7
- package/dist/index.esm60.js.map +1 -1
- package/dist/index.esm61.js +40 -8
- package/dist/index.esm61.js.map +1 -1
- package/dist/index.esm62.js +88 -9
- package/dist/index.esm62.js.map +1 -1
- package/dist/index.esm63.js +35 -85
- package/dist/index.esm63.js.map +1 -1
- package/dist/index.esm64.js +127 -35
- package/dist/index.esm64.js.map +1 -1
- package/dist/index.esm65.js +9 -120
- package/dist/index.esm65.js.map +1 -1
- package/dist/index.esm66.js +28 -47
- package/dist/index.esm66.js.map +1 -1
- package/dist/index.esm67.js +16 -10
- package/dist/index.esm67.js.map +1 -1
- package/dist/index.esm68.js +16 -6
- package/dist/index.esm68.js.map +1 -1
- package/dist/index.esm69.js +32 -40
- package/dist/index.esm69.js.map +1 -1
- package/dist/index.esm70.js +15 -8
- package/dist/index.esm70.js.map +1 -1
- package/dist/index.esm71.js +43 -28
- package/dist/index.esm71.js.map +1 -1
- package/dist/index.esm72.js +8 -58
- package/dist/index.esm72.js.map +1 -1
- package/dist/index.esm73.js +40 -15
- package/dist/index.esm73.js.map +1 -1
- package/dist/index.esm9.js +2 -2
- package/dist/styles.css +1 -1
- package/dist/ui-kit.css +1 -1
- package/package.json +1 -1
package/dist/index.esm64.js
CHANGED
|
@@ -1,39 +1,131 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
2
|
+
import { j as s } from "./index.esm36.js";
|
|
3
|
+
import T from "./index.esm42.js";
|
|
4
|
+
import { TRIANGLE_TEMPLATES as y } from "./index.esm62.js";
|
|
5
|
+
import e from "./index.esm391.js";
|
|
6
|
+
function D(i) {
|
|
7
|
+
return `polygon(${i.map(([c, t]) => `${c * 100}% ${t * 100}%`).join(", ")})`;
|
|
8
|
+
}
|
|
9
|
+
function I({ cell: i, colors: o }) {
|
|
10
|
+
const c = o[i.bgColorIndex] ?? o[0], t = o[i.shapeColorIndex] ?? o[1], a = Math.min(i.width, i.height), {
|
|
11
|
+
x,
|
|
12
|
+
y: C,
|
|
13
|
+
width: j,
|
|
14
|
+
height: b,
|
|
15
|
+
shapeType: l,
|
|
16
|
+
triangleIndex: d,
|
|
17
|
+
stripeDirection: h,
|
|
18
|
+
stripeCount: r = 4,
|
|
19
|
+
stripeMask: v,
|
|
20
|
+
animationDelay: N,
|
|
21
|
+
animationDuration: f,
|
|
22
|
+
animationScaleFrom: $ = 0.9,
|
|
23
|
+
dotScale: m = 0.45,
|
|
24
|
+
animationType: p,
|
|
25
|
+
animationPhase: k = 0
|
|
26
|
+
} = i, g = h === 1 ? a : a / (r * 2 - 1), u = h === 1 ? a / (r * 2 - 1) : a, P = v ?? Array(r).fill(!0), w = {
|
|
27
|
+
position: "absolute",
|
|
28
|
+
left: x,
|
|
29
|
+
top: C,
|
|
30
|
+
width: j,
|
|
31
|
+
height: b,
|
|
32
|
+
"--cell-delay": `${N}ms`,
|
|
33
|
+
"--cell-duration": `${f}ms`,
|
|
34
|
+
"--cell-scale-from": $,
|
|
35
|
+
"--cell-animation-phase": `${k}ms`
|
|
36
|
+
};
|
|
37
|
+
return /* @__PURE__ */ s.jsx("div", { className: e.cell, style: w, "aria-hidden": !0, children: /* @__PURE__ */ s.jsxs(
|
|
38
|
+
"div",
|
|
39
|
+
{
|
|
40
|
+
className: T(
|
|
41
|
+
e.cellInner,
|
|
42
|
+
p === "breathe" && e.cellBreathes,
|
|
43
|
+
p === "pulse" && e.cellPulses,
|
|
44
|
+
p === "opacity" && e.cellOpacity
|
|
45
|
+
),
|
|
46
|
+
children: [
|
|
47
|
+
/* @__PURE__ */ s.jsx("div", { className: e.bg, style: { backgroundColor: c } }),
|
|
48
|
+
l === "circle" && /* @__PURE__ */ s.jsx(
|
|
49
|
+
"div",
|
|
50
|
+
{
|
|
51
|
+
className: e.shapeCircle,
|
|
52
|
+
style: { backgroundColor: t }
|
|
53
|
+
}
|
|
54
|
+
),
|
|
55
|
+
l === "dot" && /* @__PURE__ */ s.jsx(
|
|
56
|
+
"div",
|
|
57
|
+
{
|
|
58
|
+
className: e.shapeDot,
|
|
59
|
+
style: {
|
|
60
|
+
backgroundColor: t,
|
|
61
|
+
width: `${m * 100}%`,
|
|
62
|
+
height: `${m * 100}%`
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
),
|
|
66
|
+
l === "triangle" && d !== void 0 && y[d] && /* @__PURE__ */ s.jsx(
|
|
67
|
+
"div",
|
|
68
|
+
{
|
|
69
|
+
className: e.shapeTriangle,
|
|
70
|
+
style: {
|
|
71
|
+
backgroundColor: t,
|
|
72
|
+
clipPath: D(y[d])
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
),
|
|
76
|
+
l === "diamond" && /* @__PURE__ */ s.jsx(
|
|
77
|
+
"div",
|
|
78
|
+
{
|
|
79
|
+
className: e.shapeDiamond,
|
|
80
|
+
style: { backgroundColor: t }
|
|
81
|
+
}
|
|
82
|
+
),
|
|
83
|
+
l === "cross" && /* @__PURE__ */ s.jsxs("div", { className: e.shapeCross, children: [
|
|
84
|
+
/* @__PURE__ */ s.jsx(
|
|
85
|
+
"div",
|
|
86
|
+
{
|
|
87
|
+
className: e.crossBar,
|
|
88
|
+
style: { backgroundColor: t }
|
|
89
|
+
}
|
|
90
|
+
),
|
|
91
|
+
/* @__PURE__ */ s.jsx(
|
|
92
|
+
"div",
|
|
93
|
+
{
|
|
94
|
+
className: e.crossBarVertical,
|
|
95
|
+
style: { backgroundColor: t }
|
|
96
|
+
}
|
|
97
|
+
)
|
|
98
|
+
] }),
|
|
99
|
+
l === "stripes" && /* @__PURE__ */ s.jsx("div", { className: e.stripes, children: Array.from(
|
|
100
|
+
{ length: r },
|
|
101
|
+
(S, n) => P[n] ? /* @__PURE__ */ s.jsx(
|
|
102
|
+
"div",
|
|
103
|
+
{
|
|
104
|
+
className: e.stripe,
|
|
105
|
+
style: {
|
|
106
|
+
backgroundColor: t,
|
|
107
|
+
...h === 1 ? {
|
|
108
|
+
top: `${2 * n * u / a * 100}%`,
|
|
109
|
+
left: 0,
|
|
110
|
+
width: "100%",
|
|
111
|
+
height: `${u / a * 100}%`
|
|
112
|
+
} : {
|
|
113
|
+
left: `${2 * n * g / a * 100}%`,
|
|
114
|
+
top: 0,
|
|
115
|
+
width: `${g / a * 100}%`,
|
|
116
|
+
height: "100%"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
n
|
|
121
|
+
) : null
|
|
122
|
+
) })
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
) });
|
|
126
|
+
}
|
|
127
|
+
I.displayName = "PatternCell";
|
|
24
128
|
export {
|
|
25
|
-
|
|
26
|
-
n as default,
|
|
27
|
-
t as root,
|
|
28
|
-
r as rootEdgeBottom,
|
|
29
|
-
i as rootEdgeLeft,
|
|
30
|
-
_ as rootEdgeRight,
|
|
31
|
-
o as rootEdgeTop,
|
|
32
|
-
s as strip,
|
|
33
|
-
p as stripBottom,
|
|
34
|
-
g as stripLeft,
|
|
35
|
-
j as stripMirror,
|
|
36
|
-
u as stripRight,
|
|
37
|
-
d as stripTop
|
|
129
|
+
I as PatternCell
|
|
38
130
|
};
|
|
39
131
|
//# sourceMappingURL=index.esm64.js.map
|
package/dist/index.esm64.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm64.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm64.js","sources":["../src/components/content/DecorativeFrame/components/PatternCell/PatternCell.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\nimport type { CellConfig, Point2D } from '../../utils/patternGenerator';\nimport { TRIANGLE_TEMPLATES } from '../../utils/patternGenerator';\nimport styles from './PatternCell.module.pcss';\n\nexport interface PatternCellProps {\n cell: CellConfig;\n colors: string[];\n}\n\nfunction polygonClipPath(template: Point2D[]): string {\n const points = template.map(([px, py]) => `${px * 100}% ${py * 100}%`).join(', ');\n return `polygon(${points})`;\n}\n\nexport function PatternCell({ cell, colors }: PatternCellProps) {\n const bgColor = colors[cell.bgColorIndex] ?? colors[0];\n const shapeColor = colors[cell.shapeColorIndex] ?? colors[1];\n const size = Math.min(cell.width, cell.height);\n const {\n x,\n y,\n width: cellWidth,\n height: cellHeight,\n shapeType,\n triangleIndex,\n stripeDirection,\n stripeCount = 4,\n stripeMask,\n animationDelay,\n animationDuration,\n animationScaleFrom = 0.9,\n dotScale = 0.45,\n animationType,\n animationPhase = 0,\n } = cell;\n\n const stripeWidth =\n stripeDirection === 1 ? size : size / (stripeCount * 2 - 1);\n const stripeHeight =\n stripeDirection === 1 ? size / (stripeCount * 2 - 1) : size;\n const visibleStripes = stripeMask ?? Array(stripeCount).fill(true);\n\n const cellStyle: React.CSSProperties = {\n position: 'absolute',\n left: x,\n top: y,\n width: cellWidth,\n height: cellHeight,\n '--cell-delay': `${animationDelay}ms`,\n '--cell-duration': `${animationDuration}ms`,\n '--cell-scale-from': animationScaleFrom,\n '--cell-animation-phase': `${animationPhase}ms`,\n } as React.CSSProperties;\n\n return (\n <div className={styles.cell} style={cellStyle} aria-hidden>\n <div\n className={cn(\n styles.cellInner,\n animationType === 'breathe' && styles.cellBreathes,\n animationType === 'pulse' && styles.cellPulses,\n animationType === 'opacity' && styles.cellOpacity\n )}\n >\n <div className={styles.bg} style={{ backgroundColor: bgColor }} />\n\n {shapeType === 'circle' && (\n <div\n className={styles.shapeCircle}\n style={{ backgroundColor: shapeColor }}\n />\n )}\n\n {shapeType === 'dot' && (\n <div\n className={styles.shapeDot}\n style={{\n backgroundColor: shapeColor,\n width: `${dotScale * 100}%`,\n height: `${dotScale * 100}%`,\n }}\n />\n )}\n\n {shapeType === 'triangle' &&\n triangleIndex !== undefined &&\n TRIANGLE_TEMPLATES[triangleIndex] && (\n <div\n className={styles.shapeTriangle}\n style={{\n backgroundColor: shapeColor,\n clipPath: polygonClipPath(TRIANGLE_TEMPLATES[triangleIndex]!),\n }}\n />\n )}\n\n {shapeType === 'diamond' && (\n <div\n className={styles.shapeDiamond}\n style={{ backgroundColor: shapeColor }}\n />\n )}\n\n {shapeType === 'cross' && (\n <div className={styles.shapeCross}>\n <div\n className={styles.crossBar}\n style={{ backgroundColor: shapeColor }}\n />\n <div\n className={styles.crossBarVertical}\n style={{ backgroundColor: shapeColor }}\n />\n </div>\n )}\n\n {shapeType === 'stripes' && (\n <div className={styles.stripes}>\n {Array.from({ length: stripeCount }, (_, i) =>\n visibleStripes[i] ? (\n <div\n key={i}\n className={styles.stripe}\n style={{\n backgroundColor: shapeColor,\n ...(stripeDirection === 1\n ? {\n top: `${((2 * i * stripeHeight) / size) * 100}%`,\n left: 0,\n width: '100%',\n height: `${(stripeHeight / size) * 100}%`,\n }\n : {\n left: `${((2 * i * stripeWidth) / size) * 100}%`,\n top: 0,\n width: `${(stripeWidth / size) * 100}%`,\n height: '100%',\n }),\n }}\n />\n ) : null\n )}\n </div>\n )}\n </div>\n </div>\n );\n}\n\nPatternCell.displayName = 'PatternCell';\n"],"names":["polygonClipPath","template","px","py","PatternCell","cell","colors","bgColor","shapeColor","size","y","cellWidth","cellHeight","shapeType","triangleIndex","stripeDirection","stripeCount","stripeMask","animationDelay","animationDuration","animationScaleFrom","dotScale","animationType","animationPhase","stripeWidth","stripeHeight","visibleStripes","cellStyle","jsx","styles","jsxs","cn","TRIANGLE_TEMPLATES","_","i"],"mappings":"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"}
|
package/dist/index.esm65.js
CHANGED
|
@@ -1,124 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
function D({ cell: i, colors: l }) {
|
|
9
|
-
const c = l[i.bgColorIndex] ?? l[0], t = l[i.shapeColorIndex] ?? l[1], o = Math.min(i.width, i.height), {
|
|
10
|
-
x: y,
|
|
11
|
-
y: x,
|
|
12
|
-
width: C,
|
|
13
|
-
height: j,
|
|
14
|
-
shapeType: a,
|
|
15
|
-
triangleIndex: d,
|
|
16
|
-
stripeDirection: h,
|
|
17
|
-
stripeCount: r = 4,
|
|
18
|
-
stripeMask: b,
|
|
19
|
-
animationDelay: v,
|
|
20
|
-
animationDuration: N,
|
|
21
|
-
animationScaleFrom: f = 0.9,
|
|
22
|
-
dotScale: p = 0.45
|
|
23
|
-
} = i, m = h === 1 ? o : o / (r * 2 - 1), g = h === 1 ? o / (r * 2 - 1) : o, $ = b ?? Array(r).fill(!0), k = {
|
|
24
|
-
position: "absolute",
|
|
25
|
-
left: y,
|
|
26
|
-
top: x,
|
|
27
|
-
width: C,
|
|
28
|
-
height: j,
|
|
29
|
-
"--cell-delay": `${v}ms`,
|
|
30
|
-
"--cell-duration": `${N}ms`,
|
|
31
|
-
"--cell-scale-from": f
|
|
32
|
-
};
|
|
33
|
-
return /* @__PURE__ */ s.jsxs(
|
|
34
|
-
"div",
|
|
35
|
-
{
|
|
36
|
-
className: e.cell,
|
|
37
|
-
style: k,
|
|
38
|
-
"aria-hidden": !0,
|
|
39
|
-
children: [
|
|
40
|
-
/* @__PURE__ */ s.jsx("div", { className: e.bg, style: { backgroundColor: c } }),
|
|
41
|
-
a === "circle" && /* @__PURE__ */ s.jsx(
|
|
42
|
-
"div",
|
|
43
|
-
{
|
|
44
|
-
className: e.shapeCircle,
|
|
45
|
-
style: { backgroundColor: t }
|
|
46
|
-
}
|
|
47
|
-
),
|
|
48
|
-
a === "dot" && /* @__PURE__ */ s.jsx(
|
|
49
|
-
"div",
|
|
50
|
-
{
|
|
51
|
-
className: e.shapeDot,
|
|
52
|
-
style: {
|
|
53
|
-
backgroundColor: t,
|
|
54
|
-
width: `${p * 100}%`,
|
|
55
|
-
height: `${p * 100}%`
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
),
|
|
59
|
-
a === "triangle" && d !== void 0 && u[d] && /* @__PURE__ */ s.jsx(
|
|
60
|
-
"div",
|
|
61
|
-
{
|
|
62
|
-
className: e.shapeTriangle,
|
|
63
|
-
style: {
|
|
64
|
-
backgroundColor: t,
|
|
65
|
-
clipPath: w(u[d])
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
),
|
|
69
|
-
a === "diamond" && /* @__PURE__ */ s.jsx(
|
|
70
|
-
"div",
|
|
71
|
-
{
|
|
72
|
-
className: e.shapeDiamond,
|
|
73
|
-
style: { backgroundColor: t }
|
|
74
|
-
}
|
|
75
|
-
),
|
|
76
|
-
a === "cross" && /* @__PURE__ */ s.jsxs("div", { className: e.shapeCross, children: [
|
|
77
|
-
/* @__PURE__ */ s.jsx(
|
|
78
|
-
"div",
|
|
79
|
-
{
|
|
80
|
-
className: e.crossBar,
|
|
81
|
-
style: { backgroundColor: t }
|
|
82
|
-
}
|
|
83
|
-
),
|
|
84
|
-
/* @__PURE__ */ s.jsx(
|
|
85
|
-
"div",
|
|
86
|
-
{
|
|
87
|
-
className: e.crossBarVertical,
|
|
88
|
-
style: { backgroundColor: t }
|
|
89
|
-
}
|
|
90
|
-
)
|
|
91
|
-
] }),
|
|
92
|
-
a === "stripes" && /* @__PURE__ */ s.jsx("div", { className: e.stripes, children: Array.from(
|
|
93
|
-
{ length: r },
|
|
94
|
-
(P, n) => $[n] ? /* @__PURE__ */ s.jsx(
|
|
95
|
-
"div",
|
|
96
|
-
{
|
|
97
|
-
className: e.stripe,
|
|
98
|
-
style: {
|
|
99
|
-
backgroundColor: t,
|
|
100
|
-
...h === 1 ? {
|
|
101
|
-
top: `${2 * n * g / o * 100}%`,
|
|
102
|
-
left: 0,
|
|
103
|
-
width: "100%",
|
|
104
|
-
height: `${g / o * 100}%`
|
|
105
|
-
} : {
|
|
106
|
-
left: `${2 * n * m / o * 100}%`,
|
|
107
|
-
top: 0,
|
|
108
|
-
width: `${m / o * 100}%`,
|
|
109
|
-
height: "100%"
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
n
|
|
114
|
-
) : null
|
|
115
|
-
) })
|
|
116
|
-
]
|
|
117
|
-
}
|
|
118
|
-
);
|
|
119
|
-
}
|
|
120
|
-
D.displayName = "PatternCell";
|
|
2
|
+
const n = "_link_10e20_1", l = "_linkText_10e20_33", e = "_linkIcon_10e20_38", t = {
|
|
3
|
+
link: n,
|
|
4
|
+
linkText: l,
|
|
5
|
+
linkIcon: e
|
|
6
|
+
};
|
|
121
7
|
export {
|
|
122
|
-
|
|
8
|
+
t as default,
|
|
9
|
+
n as link,
|
|
10
|
+
e as linkIcon,
|
|
11
|
+
l as linkText
|
|
123
12
|
};
|
|
124
13
|
//# sourceMappingURL=index.esm65.js.map
|
package/dist/index.esm65.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm65.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.esm65.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
package/dist/index.esm66.js
CHANGED
|
@@ -1,51 +1,32 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import { j as r } from "./index.esm36.js";
|
|
3
|
+
import { forwardRef as n } from "react";
|
|
4
|
+
import s from "./index.esm42.js";
|
|
5
|
+
import a from "./index.esm415.js";
|
|
6
|
+
const l = n(
|
|
7
|
+
({ decorative: o = !0, className: t, ...e }, i) => /* @__PURE__ */ r.jsxs(
|
|
8
|
+
"svg",
|
|
9
|
+
{
|
|
10
|
+
ref: i,
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
fill: "none",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
strokeWidth: 2,
|
|
16
|
+
strokeLinecap: "round",
|
|
17
|
+
strokeLinejoin: "round",
|
|
18
|
+
"aria-hidden": o,
|
|
19
|
+
className: s(a.root, t),
|
|
20
|
+
...e,
|
|
21
|
+
children: [
|
|
22
|
+
/* @__PURE__ */ r.jsx("g", { "data-chain": "left", children: /* @__PURE__ */ r.jsx("path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" }) }),
|
|
23
|
+
/* @__PURE__ */ r.jsx("g", { "data-chain": "right", children: /* @__PURE__ */ r.jsx("path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" }) })
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
);
|
|
28
|
+
l.displayName = "LinkIcon";
|
|
8
29
|
export {
|
|
9
|
-
|
|
10
|
-
s as addClassToHast,
|
|
11
|
-
g as applyColorReplacements,
|
|
12
|
-
G as bundledLanguages,
|
|
13
|
-
N as bundledLanguagesAlias,
|
|
14
|
-
V as bundledLanguagesBase,
|
|
15
|
-
q as bundledLanguagesInfo,
|
|
16
|
-
J as bundledThemes,
|
|
17
|
-
K as bundledThemesInfo,
|
|
18
|
-
n as codeToHtml,
|
|
19
|
-
m as createBundledHighlighter,
|
|
20
|
-
a as createHighlighter,
|
|
21
|
-
d as createHighlighterCore,
|
|
22
|
-
o as createOnigurumaEngine,
|
|
23
|
-
h as createPositionConverter,
|
|
24
|
-
c as createShikiInternal,
|
|
25
|
-
p as createShikiInternalSync,
|
|
26
|
-
u as createSingletonShorthands,
|
|
27
|
-
T as flatTokenVariants,
|
|
28
|
-
k as getTokenStyleObject,
|
|
29
|
-
f as guessEmbeddedLanguages,
|
|
30
|
-
S as hastToHtml,
|
|
31
|
-
b as isNoneTheme,
|
|
32
|
-
H as isPlainLang,
|
|
33
|
-
L as isSpecialLang,
|
|
34
|
-
x as isSpecialTheme,
|
|
35
|
-
i as loadWasm,
|
|
36
|
-
y as makeSingletonHighlighter,
|
|
37
|
-
C as normalizeGetter,
|
|
38
|
-
z as normalizeTheme,
|
|
39
|
-
I as resolveColorReplacements,
|
|
40
|
-
A as splitLines,
|
|
41
|
-
E as splitToken,
|
|
42
|
-
W as splitTokens,
|
|
43
|
-
v as stringifyTokenStyle,
|
|
44
|
-
B as toArray,
|
|
45
|
-
D as tokenizeAnsiWithTheme,
|
|
46
|
-
O as tokenizeWithTheme,
|
|
47
|
-
P as tokensToHast,
|
|
48
|
-
R as transformerDecorations,
|
|
49
|
-
j as warnDeprecated
|
|
30
|
+
l as LinkIcon
|
|
50
31
|
};
|
|
51
32
|
//# sourceMappingURL=index.esm66.js.map
|
package/dist/index.esm66.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm66.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm66.js","sources":["../src/components/primitives/Icon/Icons/custom/LinkIcon/LinkIcon.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport cn from \"classnames\";\nimport styles from \"./LinkIcon.module.pcss\";\n\nexport interface LinkIconProps extends React.SVGProps<SVGSVGElement> {\n decorative?: boolean;\n}\n\nexport const LinkIcon = forwardRef<SVGSVGElement, LinkIconProps>(\n ({ decorative = true, className, ...props }, ref) => (\n <svg\n ref={ref}\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n aria-hidden={decorative}\n className={cn(styles.root, className)}\n {...props}\n >\n <g data-chain=\"left\">\n <path d=\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\" />\n </g>\n <g data-chain=\"right\">\n <path d=\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\" />\n </g>\n </svg>\n )\n);\n\nLinkIcon.displayName = \"LinkIcon\";\n"],"names":["LinkIcon","forwardRef","decorative","className","props","ref","jsxs","cn","styles","jsx"],"mappings":";;;;;AAQO,MAAMA,IAAWC;AAAA,EACtB,CAAC,EAAE,YAAAC,IAAa,IAAM,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC3CC,gBAAAA,EAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAAD;AAAA,MACA,OAAM;AAAA,MACN,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,QAAO;AAAA,MACP,aAAa;AAAA,MACb,eAAc;AAAA,MACd,gBAAe;AAAA,MACf,eAAaH;AAAA,MACb,WAAWK,EAAGC,EAAO,MAAML,CAAS;AAAA,MACnC,GAAGC;AAAA,MAEJ,UAAA;AAAA,QAAAK,gBAAAA,EAAAA,IAAC,OAAE,cAAW,QACZ,gCAAC,QAAA,EAAK,GAAE,+DAA8D,EAAA,CACxE;AAAA,QACAA,gBAAAA,EAAAA,IAAC,OAAE,cAAW,SACZ,gCAAC,QAAA,EAAK,GAAE,gEAA+D,EAAA,CACzE;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN;AAEAT,EAAS,cAAc;"}
|
package/dist/index.esm67.js
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
const t = "_likeButton_1nv5d_1", n = "_heartWrap_1nv5d_49", _ = "_heart_1nv5d_49", o = "_countWrap_1nv5d_112", e = "_count_1nv5d_112", u = {
|
|
3
|
+
likeButton: t,
|
|
4
|
+
"likeButton--disabled": "_likeButton--disabled_1nv5d_19",
|
|
5
|
+
"likeButton--liked": "_likeButton--liked_1nv5d_25",
|
|
6
|
+
"likeButton--pop": "_likeButton--pop_1nv5d_49",
|
|
7
|
+
heartWrap: n,
|
|
8
|
+
heart: _,
|
|
9
|
+
countWrap: o,
|
|
10
|
+
"countWrap--bump": "_countWrap--bump_1nv5d_119",
|
|
11
|
+
count: e
|
|
7
12
|
};
|
|
8
13
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
+
e as count,
|
|
15
|
+
o as countWrap,
|
|
16
|
+
u as default,
|
|
17
|
+
_ as heart,
|
|
18
|
+
n as heartWrap,
|
|
19
|
+
t as likeButton
|
|
14
20
|
};
|
|
15
21
|
//# sourceMappingURL=index.esm67.js.map
|
package/dist/index.esm67.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm67.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm67.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
package/dist/index.esm68.js
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import { j as t } from "./index.esm36.js";
|
|
3
|
+
import n from "./index.esm414.js";
|
|
4
|
+
const a = ({
|
|
5
|
+
filled: r = !1,
|
|
6
|
+
decorative: o = !0,
|
|
7
|
+
...e
|
|
8
|
+
}) => /* @__PURE__ */ t.jsx(
|
|
9
|
+
n,
|
|
10
|
+
{
|
|
11
|
+
fill: r ? "currentColor" : "none",
|
|
12
|
+
stroke: "currentColor",
|
|
13
|
+
"aria-hidden": o,
|
|
14
|
+
...e
|
|
15
|
+
}
|
|
16
|
+
);
|
|
6
17
|
export {
|
|
7
|
-
|
|
8
|
-
c as icon
|
|
18
|
+
a as HeartIcon
|
|
9
19
|
};
|
|
10
20
|
//# sourceMappingURL=index.esm68.js.map
|
package/dist/index.esm68.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm68.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm68.js","sources":["../src/components/primitives/Icon/Icons/lucide/HeartIcon.tsx"],"sourcesContent":["import React from \"react\";\nimport { Heart, type LucideProps } from \"lucide-react\";\n\nexport interface HeartIconProps extends LucideProps {\n /** Залитое сердечко (лайк поставлен) */\n filled?: boolean;\n decorative?: boolean;\n className?: string;\n}\n\nexport const HeartIcon: React.FC<HeartIconProps> = ({\n filled = false,\n decorative = true,\n ...props\n}) => (\n <Heart\n fill={filled ? \"currentColor\" : \"none\"}\n stroke=\"currentColor\"\n aria-hidden={decorative}\n {...props}\n />\n);\n"],"names":["HeartIcon","filled","decorative","props","jsx","Heart"],"mappings":";;;AAUO,MAAMA,IAAsC,CAAC;AAAA,EAClD,QAAAC,IAAS;AAAA,EACT,YAAAC,IAAa;AAAA,EACb,GAAGC;AACL,MACEC,gBAAAA,EAAAA;AAAAA,EAACC;AAAA,EAAA;AAAA,IACC,MAAMJ,IAAS,iBAAiB;AAAA,IAChC,QAAO;AAAA,IACP,eAAaC;AAAA,IACZ,GAAGC;AAAA,EAAA;AACN;"}
|
package/dist/index.esm69.js
CHANGED
|
@@ -1,45 +1,37 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
islandElevationMd: z,
|
|
22
|
-
"island--elevation-lg": "_island--elevation-lg_1pzuz_45",
|
|
23
|
-
islandElevationLg: o,
|
|
24
|
-
"island--elevation-xl": "_island--elevation-xl_1pzuz_49",
|
|
25
|
-
islandElevationXl: p,
|
|
26
|
-
"island--bordered": "_island--bordered_1pzuz_54",
|
|
27
|
-
islandBordered: v
|
|
2
|
+
const o = "_root_13e6p_1", t = "_root--disabled_13e6p_10", c = "_input_13e6p_15", n = "_control_13e6p_26", _ = "_control--sm_13e6p_44", l = "_control--md_13e6p_49", r = "_control--lg_13e6p_54", e = "_control--checkbox_13e6p_59", s = "_control--radio_13e6p_63", p = "_content_13e6p_123", d = "_label_13e6p_129", i = "_description_13e6p_135", a = {
|
|
3
|
+
root: o,
|
|
4
|
+
"root--disabled": "_root--disabled_13e6p_10",
|
|
5
|
+
rootDisabled: t,
|
|
6
|
+
input: c,
|
|
7
|
+
control: n,
|
|
8
|
+
"control--sm": "_control--sm_13e6p_44",
|
|
9
|
+
controlSm: _,
|
|
10
|
+
"control--md": "_control--md_13e6p_49",
|
|
11
|
+
controlMd: l,
|
|
12
|
+
"control--lg": "_control--lg_13e6p_54",
|
|
13
|
+
controlLg: r,
|
|
14
|
+
"control--checkbox": "_control--checkbox_13e6p_59",
|
|
15
|
+
controlCheckbox: e,
|
|
16
|
+
"control--radio": "_control--radio_13e6p_63",
|
|
17
|
+
controlRadio: s,
|
|
18
|
+
content: p,
|
|
19
|
+
label: d,
|
|
20
|
+
description: i
|
|
28
21
|
};
|
|
29
22
|
export {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
e as islandVariantPaper
|
|
23
|
+
p as content,
|
|
24
|
+
n as control,
|
|
25
|
+
e as controlCheckbox,
|
|
26
|
+
r as controlLg,
|
|
27
|
+
l as controlMd,
|
|
28
|
+
s as controlRadio,
|
|
29
|
+
_ as controlSm,
|
|
30
|
+
a as default,
|
|
31
|
+
i as description,
|
|
32
|
+
c as input,
|
|
33
|
+
d as label,
|
|
34
|
+
o as root,
|
|
35
|
+
t as rootDisabled
|
|
44
36
|
};
|
|
45
37
|
//# sourceMappingURL=index.esm69.js.map
|
package/dist/index.esm69.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm69.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm69.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.esm70.js
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
const t = "_root_2pxdg_1", _ = "_title_2pxdg_7", i = "_list_2pxdg_13", l = "_item_2pxdg_20", e = "_link_2pxdg_29", n = "_linkText_2pxdg_48", o = {
|
|
3
|
+
root: t,
|
|
4
|
+
title: _,
|
|
5
|
+
list: i,
|
|
6
|
+
item: l,
|
|
7
|
+
link: e,
|
|
8
|
+
"link--active": "_link--active_2pxdg_48",
|
|
9
|
+
linkText: n
|
|
6
10
|
};
|
|
7
11
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
e as
|
|
11
|
-
|
|
12
|
+
o as default,
|
|
13
|
+
l as item,
|
|
14
|
+
e as link,
|
|
15
|
+
n as linkText,
|
|
16
|
+
i as list,
|
|
17
|
+
t as root,
|
|
18
|
+
_ as title
|
|
12
19
|
};
|
|
13
20
|
//# sourceMappingURL=index.esm70.js.map
|
package/dist/index.esm70.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm70.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm70.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|