@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.esm28.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { j as s } from "./index.esm36.js";
|
|
3
|
-
import { forwardRef as B, useMemo as
|
|
4
|
-
import g from "./index.
|
|
3
|
+
import { forwardRef as B, useMemo as L, useCallback as M } from "react";
|
|
4
|
+
import g from "./index.esm42.js";
|
|
5
5
|
import { formatDateRu as k } from "./index.esm33.js";
|
|
6
|
-
import i from "./index.
|
|
7
|
-
import { ArticlePreviewContent as q } from "./index.
|
|
8
|
-
const
|
|
6
|
+
import i from "./index.esm59.js";
|
|
7
|
+
import { ArticlePreviewContent as q } from "./index.esm60.js";
|
|
8
|
+
const w = B(
|
|
9
9
|
({
|
|
10
10
|
title: m,
|
|
11
11
|
publishedAt: c,
|
|
@@ -13,55 +13,75 @@ const z = B(
|
|
|
13
13
|
description: f,
|
|
14
14
|
viewsCount: x,
|
|
15
15
|
readingTimeMinutes: j,
|
|
16
|
-
author:
|
|
16
|
+
author: N,
|
|
17
17
|
imageUrl: d,
|
|
18
18
|
view: l = "card",
|
|
19
|
-
imageAlt:
|
|
19
|
+
imageAlt: b = "",
|
|
20
20
|
href: t,
|
|
21
|
-
tags:
|
|
22
|
-
className:
|
|
23
|
-
testId:
|
|
24
|
-
onClick:
|
|
25
|
-
onKeyDown:
|
|
21
|
+
tags: A,
|
|
22
|
+
className: P,
|
|
23
|
+
testId: R,
|
|
24
|
+
onClick: r,
|
|
25
|
+
onKeyDown: e,
|
|
26
26
|
...E
|
|
27
|
-
},
|
|
28
|
-
const I =
|
|
27
|
+
}, u) => {
|
|
28
|
+
const I = L(
|
|
29
29
|
() => n ?? k(c),
|
|
30
30
|
[n, c]
|
|
31
|
-
),
|
|
32
|
-
!t &&
|
|
33
|
-
}, []), o = !!(t ||
|
|
31
|
+
), $ = M((a) => {
|
|
32
|
+
!t && r && (a.key === "Enter" || a.key === " ") && (a.preventDefault(), r(a)), e == null || e(a);
|
|
33
|
+
}, []), o = !!(t || r), y = g(
|
|
34
34
|
i.root,
|
|
35
35
|
i[`root--${l}`],
|
|
36
36
|
o && i["root--interactive"],
|
|
37
|
-
|
|
38
|
-
),
|
|
37
|
+
P
|
|
38
|
+
), p = /* @__PURE__ */ s.jsx(
|
|
39
39
|
q,
|
|
40
40
|
{
|
|
41
41
|
title: m,
|
|
42
42
|
description: f,
|
|
43
43
|
viewsCount: x,
|
|
44
44
|
readingTimeMinutes: j,
|
|
45
|
-
author:
|
|
46
|
-
...d != null ? { imageUrl: d, imageAlt:
|
|
45
|
+
author: N,
|
|
46
|
+
...d != null ? { imageUrl: d, imageAlt: b || m } : {},
|
|
47
47
|
formattedDate: I,
|
|
48
48
|
view: l,
|
|
49
|
-
tags:
|
|
49
|
+
tags: A,
|
|
50
|
+
href: t
|
|
50
51
|
}
|
|
51
52
|
), v = {
|
|
52
53
|
className: y,
|
|
53
|
-
onClick: e,
|
|
54
|
-
onKeyDown: o ? w : a,
|
|
55
54
|
"data-atme-ui": !0,
|
|
56
|
-
"data-testid":
|
|
57
|
-
...t ? { href: t } : { role: o ? "button" : void 0, tabIndex: o ? 0 : void 0 },
|
|
55
|
+
"data-testid": R,
|
|
58
56
|
...E
|
|
59
57
|
};
|
|
60
|
-
return t ? /* @__PURE__ */ s.
|
|
58
|
+
return t ? /* @__PURE__ */ s.jsxs("div", { ref: u, ...v, children: [
|
|
59
|
+
/* @__PURE__ */ s.jsx(
|
|
60
|
+
"a",
|
|
61
|
+
{
|
|
62
|
+
href: t,
|
|
63
|
+
className: i.cardLink,
|
|
64
|
+
"aria-label": `Перейти к статье: ${m}`,
|
|
65
|
+
onClick: r
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
p
|
|
69
|
+
] }) : /* @__PURE__ */ s.jsx(
|
|
70
|
+
"div",
|
|
71
|
+
{
|
|
72
|
+
ref: u,
|
|
73
|
+
...v,
|
|
74
|
+
onClick: r,
|
|
75
|
+
onKeyDown: o ? $ : e,
|
|
76
|
+
role: o ? "button" : void 0,
|
|
77
|
+
tabIndex: o ? 0 : void 0,
|
|
78
|
+
children: p
|
|
79
|
+
}
|
|
80
|
+
);
|
|
61
81
|
}
|
|
62
82
|
);
|
|
63
|
-
|
|
83
|
+
w.displayName = "ArticlePreview";
|
|
64
84
|
export {
|
|
65
|
-
|
|
85
|
+
w as ArticlePreview
|
|
66
86
|
};
|
|
67
87
|
//# sourceMappingURL=index.esm28.js.map
|
package/dist/index.esm28.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm28.js","sources":["../src/components/content/ArticlePreview/ArticlePreview.tsx"],"sourcesContent":["import React, { forwardRef, useCallback, useMemo } from 'react';\nimport cn from 'classnames';\nimport { BaseComponentProps } from '@components/types';\nimport { formatDateRu } from '@utils/date/formatDate';\nimport { ArticlePreviewContent } from './components/ArticlePreviewContent';\nimport styles from './ArticlePreview.module.pcss';\n\nexport type ArticlePreviewView = 'card' | 'row';\n\nexport interface ArticlePreviewAuthor {\n /** URL аватара автора */\n avatarUrl?: string;\n /** Имя автора (например, «Иван Иванов») */\n name: string;\n}\n\nexport interface ArticlePreviewProps\n extends BaseComponentProps,\n Omit<React.AnchorHTMLAttributes<HTMLAnchorElement> & React.HTMLAttributes<HTMLDivElement>, 'title'> {\n title: string;\n publishedAt: Date | string;\n formattedDate?: string;\n /** Краткое описание статьи */\n description?: string;\n /** Количество просмотров */\n viewsCount?: number;\n /** Время чтения в минутах */\n readingTimeMinutes?: number;\n /** Автор (опционально). Если не указан — блок автора не отображается */\n author?: ArticlePreviewAuthor;\n imageUrl?: string;\n view?: ArticlePreviewView;\n imageAlt?: string;\n href?: string;\n tags?: React.ReactNode;\n}\n\nexport const ArticlePreview = forwardRef<HTMLDivElement | HTMLAnchorElement, ArticlePreviewProps>(\n (\n {\n title,\n publishedAt,\n formattedDate: formattedDateProp,\n description,\n viewsCount,\n readingTimeMinutes,\n author,\n imageUrl,\n view = 'card',\n imageAlt = '',\n href,\n tags,\n className,\n testId,\n onClick,\n onKeyDown,\n ...props\n },\n ref\n ) => {\n const formattedDate = useMemo(\n () => formattedDateProp ?? formatDateRu(publishedAt),\n [formattedDateProp, publishedAt]\n );\n\n const handleKeyDown = useCallback((e: React.KeyboardEvent<HTMLElement>) => {\n if (!href && onClick && (e.key === 'Enter' || e.key === ' ')) {\n e.preventDefault();\n onClick(e as unknown as React.MouseEvent<HTMLDivElement>);\n }\n (onKeyDown as React.KeyboardEventHandler<HTMLElement>)?.(e);\n },[]);\n\n const isInteractive = Boolean(href || onClick);\n const sharedClassName = cn(\n styles.root,\n styles[`root--${view}`],\n isInteractive && styles['root--interactive'],\n className\n );\n const content = (\n <ArticlePreviewContent\n title={title}\n description={description}\n viewsCount={viewsCount}\n readingTimeMinutes={readingTimeMinutes}\n author={author}\n {...(imageUrl != null\n ? { imageUrl, imageAlt: imageAlt || title }\n : {})}\n formattedDate={formattedDate}\n view={view}\n tags={tags}\n />\n );\n\n const
|
|
1
|
+
{"version":3,"file":"index.esm28.js","sources":["../src/components/content/ArticlePreview/ArticlePreview.tsx"],"sourcesContent":["import React, { forwardRef, useCallback, useMemo } from 'react';\nimport cn from 'classnames';\nimport { BaseComponentProps } from '@components/types';\nimport { formatDateRu } from '@utils/date/formatDate';\nimport { ArticlePreviewContent } from './components/ArticlePreviewContent';\nimport styles from './ArticlePreview.module.pcss';\n\nexport type ArticlePreviewView = 'card' | 'row';\n\nexport interface ArticlePreviewAuthor {\n /** URL аватара автора */\n avatarUrl?: string;\n /** Имя автора (например, «Иван Иванов») */\n name: string;\n}\n\nexport interface ArticlePreviewProps\n extends BaseComponentProps,\n Omit<React.AnchorHTMLAttributes<HTMLAnchorElement> & React.HTMLAttributes<HTMLDivElement>, 'title'> {\n title: string;\n publishedAt: Date | string;\n formattedDate?: string;\n /** Краткое описание статьи */\n description?: string;\n /** Количество просмотров */\n viewsCount?: number;\n /** Время чтения в минутах */\n readingTimeMinutes?: number;\n /** Автор (опционально). Если не указан — блок автора не отображается */\n author?: ArticlePreviewAuthor;\n imageUrl?: string;\n view?: ArticlePreviewView;\n imageAlt?: string;\n href?: string;\n tags?: React.ReactNode;\n}\n\nexport const ArticlePreview = forwardRef<HTMLDivElement | HTMLAnchorElement, ArticlePreviewProps>(\n (\n {\n title,\n publishedAt,\n formattedDate: formattedDateProp,\n description,\n viewsCount,\n readingTimeMinutes,\n author,\n imageUrl,\n view = 'card',\n imageAlt = '',\n href,\n tags,\n className,\n testId,\n onClick,\n onKeyDown,\n ...props\n },\n ref\n ) => {\n const formattedDate = useMemo(\n () => formattedDateProp ?? formatDateRu(publishedAt),\n [formattedDateProp, publishedAt]\n );\n\n const handleKeyDown = useCallback((e: React.KeyboardEvent<HTMLElement>) => {\n if (!href && onClick && (e.key === 'Enter' || e.key === ' ')) {\n e.preventDefault();\n onClick(e as unknown as React.MouseEvent<HTMLDivElement>);\n }\n (onKeyDown as React.KeyboardEventHandler<HTMLElement>)?.(e);\n },[]);\n\n const isInteractive = Boolean(href || onClick);\n const sharedClassName = cn(\n styles.root,\n styles[`root--${view}`],\n isInteractive && styles['root--interactive'],\n className\n );\n const content = (\n <ArticlePreviewContent\n title={title}\n description={description}\n viewsCount={viewsCount}\n readingTimeMinutes={readingTimeMinutes}\n author={author}\n {...(imageUrl != null\n ? { imageUrl, imageAlt: imageAlt || title }\n : {})}\n formattedDate={formattedDate}\n view={view}\n tags={tags}\n href={href}\n />\n );\n\n const rootProps = {\n className: sharedClassName,\n 'data-atme-ui': true,\n 'data-testid': testId,\n ...props,\n };\n\n /* С href: stretched link + z-index — ссылка под контентом, теги/автор/мета поверх (z-index: 2) */\n if (href) {\n return (\n <div ref={ref as React.Ref<HTMLDivElement>} {...rootProps}>\n <a\n href={href}\n className={styles.cardLink}\n aria-label={`Перейти к статье: ${title}`}\n onClick={onClick}\n />\n {content}\n </div>\n );\n }\n\n /* Без href: div с onClick (теги с stopPropagation не вызывают переход) */\n return (\n <div\n ref={ref as React.Ref<HTMLDivElement>}\n {...rootProps}\n onClick={onClick}\n onKeyDown={isInteractive ? handleKeyDown : onKeyDown}\n role={isInteractive ? 'button' : undefined}\n tabIndex={isInteractive ? 0 : undefined}\n >\n {content}\n </div>\n );\n }\n);\n\nArticlePreview.displayName = 'ArticlePreview';\n"],"names":["ArticlePreview","forwardRef","title","publishedAt","formattedDateProp","description","viewsCount","readingTimeMinutes","author","imageUrl","view","imageAlt","href","tags","className","testId","onClick","onKeyDown","props","ref","formattedDate","useMemo","formatDateRu","handleKeyDown","useCallback","e","isInteractive","sharedClassName","cn","styles","content","jsx","ArticlePreviewContent","rootProps","jsxs"],"mappings":";;;;;;;AAqCO,MAAMA,IAAiBC;AAAA,EAC5B,CACE;AAAA,IACE,OAAAC;AAAA,IACA,aAAAC;AAAA,IACA,eAAeC;AAAA,IACf,aAAAC;AAAA,IACA,YAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,QAAAC;AAAA,IACA,UAAAC;AAAA,IACA,MAAAC,IAAO;AAAA,IACP,UAAAC,IAAW;AAAA,IACX,MAAAC;AAAA,IACA,MAAAC;AAAA,IACA,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,SAAAC;AAAA,IACA,WAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,GAELC,MACG;AACH,UAAMC,IAAgBC;AAAA,MACpB,MAAMjB,KAAqBkB,EAAanB,CAAW;AAAA,MACnD,CAACC,GAAmBD,CAAW;AAAA,IAAA,GAG3BoB,IAAgBC,EAAY,CAACC,MAAwC;AACzE,MAAI,CAACb,KAAQI,MAAYS,EAAE,QAAQ,WAAWA,EAAE,QAAQ,SACtDA,EAAE,eAAA,GACFT,EAAQS,CAAgD,IAEzDR,KAAA,QAAAA,EAAwDQ;AAAA,IAC3D,GAAE,CAAA,CAAE,GAEEC,IAAgB,GAAQd,KAAQI,IAChCW,IAAkBC;AAAA,MACtBC,EAAO;AAAA,MACPA,EAAO,SAASnB,CAAI,EAAE;AAAA,MACtBgB,KAAiBG,EAAO,mBAAmB;AAAA,MAC3Cf;AAAA,IAAA,GAEIgB,IACJC,gBAAAA,EAAAA;AAAAA,MAACC;AAAA,MAAA;AAAA,QACC,OAAA9B;AAAA,QACA,aAAAG;AAAA,QACA,YAAAC;AAAA,QACA,oBAAAC;AAAA,QACA,QAAAC;AAAA,QACC,GAAIC,KAAY,OACb,EAAE,UAAAA,GAAU,UAAUE,KAAYT,EAAA,IAClC,CAAA;AAAA,QACJ,eAAAkB;AAAA,QACA,MAAAV;AAAA,QACA,MAAAG;AAAA,QACA,MAAAD;AAAA,MAAA;AAAA,IAAA,GAIEqB,IAAY;AAAA,MAChB,WAAWN;AAAA,MACX,gBAAgB;AAAA,MAChB,eAAeZ;AAAA,MACf,GAAGG;AAAA,IAAA;AAIL,WAAIN,IAEAsB,gBAAAA,EAAAA,KAAC,OAAA,EAAI,KAAAf,GAAwC,GAAGc,GAC9C,UAAA;AAAA,MAAAF,gBAAAA,EAAAA;AAAAA,QAAC;AAAA,QAAA;AAAA,UACC,MAAAnB;AAAA,UACA,WAAWiB,EAAO;AAAA,UAClB,cAAY,qBAAqB3B,CAAK;AAAA,UACtC,SAAAc;AAAA,QAAA;AAAA,MAAA;AAAA,MAEDc;AAAA,IAAA,GACH,IAMFC,gBAAAA,EAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC,KAAAZ;AAAA,QACC,GAAGc;AAAA,QACJ,SAAAjB;AAAA,QACA,WAAWU,IAAgBH,IAAgBN;AAAA,QAC3C,MAAMS,IAAgB,WAAW;AAAA,QACjC,UAAUA,IAAgB,IAAI;AAAA,QAE7B,UAAAI;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;AAEA9B,EAAe,cAAc;"}
|
package/dist/index.esm29.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { j as s } from "./index.esm36.js";
|
|
3
3
|
import { forwardRef as d } from "react";
|
|
4
|
-
import i from "./index.
|
|
5
|
-
import r from "./index.
|
|
4
|
+
import i from "./index.esm42.js";
|
|
5
|
+
import r from "./index.esm70.js";
|
|
6
6
|
import { Root as f } from "./index.esm8.js";
|
|
7
7
|
import { Typography as n } from "./index.esm9.js";
|
|
8
8
|
const h = d(
|
package/dist/index.esm30.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { j as i } from "./index.esm36.js";
|
|
3
3
|
import { useRef as y, useState as F, useEffect as O, useMemo as $ } from "react";
|
|
4
|
-
import f from "./index.
|
|
5
|
-
import { createSeededRandom as k, generatePattern as X } from "./index.
|
|
6
|
-
import r from "./index.
|
|
7
|
-
import { PatternCell as Y } from "./index.
|
|
4
|
+
import f from "./index.esm42.js";
|
|
5
|
+
import { createSeededRandom as k, generatePattern as X } from "./index.esm62.js";
|
|
6
|
+
import r from "./index.esm63.js";
|
|
7
|
+
import { PatternCell as Y } from "./index.esm64.js";
|
|
8
8
|
import { Root as B } from "./index.esm8.js";
|
|
9
9
|
const R = 24, G = 1, H = 8, S = 400, K = 1e6, U = [
|
|
10
10
|
"var(--palette-border-subtle)",
|
package/dist/index.esm36.js
CHANGED
package/dist/index.esm38.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { __require as
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import { __module as e } from "./index.esm39.js";
|
|
3
|
+
import { __require as i } from "./index.esm40.js";
|
|
4
|
+
import { __require as t } from "./index.esm41.js";
|
|
5
|
+
var r;
|
|
6
|
+
function n() {
|
|
7
|
+
return r ? e.exports : (r = 1, process.env.NODE_ENV === "production" ? e.exports = i() : e.exports = t(), e.exports);
|
|
8
|
+
}
|
|
6
9
|
export {
|
|
7
|
-
|
|
10
|
+
n as __require
|
|
8
11
|
};
|
|
9
12
|
//# sourceMappingURL=index.esm38.js.map
|
package/dist/index.esm38.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm38.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm38.js","sources":["../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"names":["jsxRuntimeModule","require$$0","require$$1"],"mappings":";;;;;;iCAEI,QAAQ,IAAI,aAAa,eAC3BA,EAAA,UAAiBC,EAAA,IAEjBD,EAAA,UAAiBE,EAAA;;","x_google_ignoreList":[0]}
|
package/dist/index.esm385.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { j as r } from "./index.esm36.js";
|
|
3
3
|
import { useCallback as t } from "react";
|
|
4
|
-
import m from "./index.
|
|
5
|
-
import k from "./index.
|
|
4
|
+
import m from "./index.esm42.js";
|
|
5
|
+
import k from "./index.esm51.js";
|
|
6
6
|
import { Tag as u } from "./index.esm11.js";
|
|
7
7
|
const f = (o) => o.stopPropagation();
|
|
8
8
|
function d({ tag: o, baseTagProps: l }) {
|
package/dist/index.esm388.js
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const
|
|
3
|
-
content:
|
|
4
|
-
previewWrap:
|
|
5
|
-
"content--row": "_content--
|
|
6
|
-
rowIcon:
|
|
2
|
+
const o = "_content_1oeky_1", e = "_previewWrap_1oeky_7", t = "_rowIcon_1oeky_21", _ = "_rowBody_1oeky_32", a = "_tagsSlotRow_1oeky_40", c = "_title_1oeky_50", r = "_rowMeta_1oeky_55", n = "_previewImage_1oeky_63", s = "_date_1oeky_101", y = "_description_1oeky_106", d = "_views_1oeky_117", k = "_cardBody_1oeky_137", i = "_author_1oeky_151", w = "_authorAvatar_1oeky_159", l = "_authorAvatarPlaceholder_1oeky_167", h = "_authorName_1oeky_181", v = "_cardFooter_1oeky_187", g = "_tagsSlotCard_1oeky_197", m = "_meta_1oeky_205", u = "_readingTime_1oeky_220", p = "_clockIcon_1oeky_234", I = "_eyeIcon_1oeky_272", A = {
|
|
3
|
+
content: o,
|
|
4
|
+
previewWrap: e,
|
|
5
|
+
"content--row": "_content--row_1oeky_14",
|
|
6
|
+
rowIcon: t,
|
|
7
7
|
rowBody: _,
|
|
8
|
-
tagsSlotRow:
|
|
9
|
-
title:
|
|
8
|
+
tagsSlotRow: a,
|
|
9
|
+
title: c,
|
|
10
10
|
rowMeta: r,
|
|
11
|
-
previewImage:
|
|
12
|
-
"content--card": "_content--
|
|
13
|
-
date:
|
|
14
|
-
description:
|
|
15
|
-
views:
|
|
16
|
-
cardBody:
|
|
17
|
-
"content--card-no-image": "_content--card-no-
|
|
18
|
-
author:
|
|
19
|
-
authorAvatar:
|
|
20
|
-
authorAvatarPlaceholder:
|
|
21
|
-
authorName:
|
|
22
|
-
cardFooter:
|
|
23
|
-
tagsSlotCard:
|
|
24
|
-
meta:
|
|
25
|
-
readingTime:
|
|
26
|
-
clockIcon:
|
|
27
|
-
eyeIcon:
|
|
11
|
+
previewImage: n,
|
|
12
|
+
"content--card": "_content--card_1oeky_72",
|
|
13
|
+
date: s,
|
|
14
|
+
description: y,
|
|
15
|
+
views: d,
|
|
16
|
+
cardBody: k,
|
|
17
|
+
"content--card-no-image": "_content--card-no-image_1oeky_147",
|
|
18
|
+
author: i,
|
|
19
|
+
authorAvatar: w,
|
|
20
|
+
authorAvatarPlaceholder: l,
|
|
21
|
+
authorName: h,
|
|
22
|
+
cardFooter: v,
|
|
23
|
+
tagsSlotCard: g,
|
|
24
|
+
meta: m,
|
|
25
|
+
readingTime: u,
|
|
26
|
+
clockIcon: p,
|
|
27
|
+
eyeIcon: I
|
|
28
28
|
};
|
|
29
29
|
export {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
30
|
+
i as author,
|
|
31
|
+
w as authorAvatar,
|
|
32
|
+
l as authorAvatarPlaceholder,
|
|
33
|
+
h as authorName,
|
|
34
|
+
k as cardBody,
|
|
35
|
+
v as cardFooter,
|
|
36
|
+
p as clockIcon,
|
|
37
|
+
o as content,
|
|
38
|
+
s as date,
|
|
39
|
+
A as default,
|
|
40
|
+
y as description,
|
|
41
|
+
I as eyeIcon,
|
|
42
|
+
m as meta,
|
|
43
|
+
n as previewImage,
|
|
44
|
+
e as previewWrap,
|
|
45
|
+
u as readingTime,
|
|
46
46
|
_ as rowBody,
|
|
47
|
-
|
|
47
|
+
t as rowIcon,
|
|
48
48
|
r as rowMeta,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
g as tagsSlotCard,
|
|
50
|
+
a as tagsSlotRow,
|
|
51
|
+
c as title,
|
|
52
|
+
d as views
|
|
53
53
|
};
|
|
54
54
|
//# sourceMappingURL=index.esm388.js.map
|
package/dist/index.esm389.js
CHANGED
package/dist/index.esm39.js
CHANGED
|
@@ -1,45 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
tag: t,
|
|
4
|
-
"tag--link": "_tag--link_brr3k_18",
|
|
5
|
-
tagLink: r,
|
|
6
|
-
tagContent: a,
|
|
7
|
-
tagIcon: g,
|
|
8
|
-
tagClose: _,
|
|
9
|
-
"tag--sm": "_tag--sm_brr3k_77",
|
|
10
|
-
tagSm: n,
|
|
11
|
-
"tag--md": "_tag--md_brr3k_82",
|
|
12
|
-
tagMd: s,
|
|
13
|
-
"tag--lg": "_tag--lg_brr3k_87",
|
|
14
|
-
tagLg: o,
|
|
15
|
-
"tag--primary": "_tag--primary_brr3k_92",
|
|
16
|
-
tagPrimary: c,
|
|
17
|
-
"tag--secondary": "_tag--secondary_brr3k_98",
|
|
18
|
-
tagSecondary: e,
|
|
19
|
-
"tag--success": "_tag--success_brr3k_104",
|
|
20
|
-
tagSuccess: k,
|
|
21
|
-
"tag--warning": "_tag--warning_brr3k_110",
|
|
22
|
-
tagWarning: b,
|
|
23
|
-
"tag--error": "_tag--error_brr3k_116",
|
|
24
|
-
tagError: l,
|
|
25
|
-
"tag--neutral": "_tag--neutral_brr3k_122",
|
|
26
|
-
tagNeutral: i
|
|
27
|
-
};
|
|
2
|
+
var e = { exports: {} };
|
|
28
3
|
export {
|
|
29
|
-
|
|
30
|
-
t as tag,
|
|
31
|
-
_ as tagClose,
|
|
32
|
-
a as tagContent,
|
|
33
|
-
l as tagError,
|
|
34
|
-
g as tagIcon,
|
|
35
|
-
o as tagLg,
|
|
36
|
-
r as tagLink,
|
|
37
|
-
s as tagMd,
|
|
38
|
-
i as tagNeutral,
|
|
39
|
-
c as tagPrimary,
|
|
40
|
-
e as tagSecondary,
|
|
41
|
-
n as tagSm,
|
|
42
|
-
k as tagSuccess,
|
|
43
|
-
b as tagWarning
|
|
4
|
+
e as __module
|
|
44
5
|
};
|
|
45
6
|
//# sourceMappingURL=index.esm39.js.map
|
package/dist/index.esm39.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm39.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm39.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
package/dist/index.esm390.js
CHANGED
package/dist/index.esm391.js
CHANGED
|
@@ -1,29 +1,37 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const s = "
|
|
2
|
+
const s = "_cell_1kuik_1", e = "_cellInner_1kuik_12", c = "_cellBreathes_1kuik_19", l = "_cellPulses_1kuik_24", _ = "_cellOpacity_1kuik_29", a = "_bg_1kuik_90", t = "_shapeCircle_1kuik_95", i = "_shapeDot_1kuik_101", r = "_shapeTriangle_1kuik_109", o = "_shapeDiamond_1kuik_114", k = "_shapeCross_1kuik_120", n = "_crossBar_1kuik_128", p = "_crossBarVertical_1kuik_135", u = "_stripes_1kuik_142", h = "_stripe_1kuik_142", B = {
|
|
3
3
|
cell: s,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
cellInner: e,
|
|
5
|
+
cellBreathes: c,
|
|
6
|
+
cellPulses: l,
|
|
7
|
+
cellOpacity: _,
|
|
8
|
+
bg: a,
|
|
9
|
+
shapeCircle: t,
|
|
10
|
+
shapeDot: i,
|
|
11
|
+
shapeTriangle: r,
|
|
12
|
+
shapeDiamond: o,
|
|
13
|
+
shapeCross: k,
|
|
14
|
+
crossBar: n,
|
|
15
|
+
crossBarVertical: p,
|
|
16
|
+
stripes: u,
|
|
17
|
+
stripe: h
|
|
14
18
|
};
|
|
15
19
|
export {
|
|
16
|
-
|
|
20
|
+
a as bg,
|
|
17
21
|
s as cell,
|
|
18
|
-
c as
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
c as cellBreathes,
|
|
23
|
+
e as cellInner,
|
|
24
|
+
_ as cellOpacity,
|
|
25
|
+
l as cellPulses,
|
|
26
|
+
n as crossBar,
|
|
27
|
+
p as crossBarVertical,
|
|
28
|
+
B as default,
|
|
29
|
+
t as shapeCircle,
|
|
30
|
+
k as shapeCross,
|
|
31
|
+
o as shapeDiamond,
|
|
32
|
+
i as shapeDot,
|
|
33
|
+
r as shapeTriangle,
|
|
34
|
+
h as stripe,
|
|
35
|
+
u as stripes
|
|
28
36
|
};
|
|
29
37
|
//# sourceMappingURL=index.esm391.js.map
|
package/dist/index.esm391.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm391.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm391.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
package/dist/index.esm40.js
CHANGED
|
@@ -1,12 +1,30 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import { __exports as t } from "./index.esm74.js";
|
|
3
|
+
import d from "react";
|
|
4
|
+
/**
|
|
5
|
+
* @license React
|
|
6
|
+
* react-jsx-runtime.production.min.js
|
|
7
|
+
*
|
|
8
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the MIT license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/
|
|
13
|
+
var p;
|
|
14
|
+
function v() {
|
|
15
|
+
if (p) return t;
|
|
16
|
+
p = 1;
|
|
17
|
+
var s = d, m = Symbol.for("react.element"), c = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, R = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function _(o, e, i) {
|
|
19
|
+
var r, n = {}, u = null, f = null;
|
|
20
|
+
i !== void 0 && (u = "" + i), e.key !== void 0 && (u = "" + e.key), e.ref !== void 0 && (f = e.ref);
|
|
21
|
+
for (r in e) l.call(e, r) && !a.hasOwnProperty(r) && (n[r] = e[r]);
|
|
22
|
+
if (o && o.defaultProps) for (r in e = o.defaultProps, e) n[r] === void 0 && (n[r] = e[r]);
|
|
23
|
+
return { $$typeof: m, type: o, key: u, ref: f, props: n, _owner: R.current };
|
|
24
|
+
}
|
|
25
|
+
return t.Fragment = c, t.jsx = _, t.jsxs = _, t;
|
|
8
26
|
}
|
|
9
27
|
export {
|
|
10
|
-
|
|
28
|
+
v as __require
|
|
11
29
|
};
|
|
12
30
|
//# sourceMappingURL=index.esm40.js.map
|
package/dist/index.esm40.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm40.js","sources":["../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"index.esm40.js","sources":["../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n"],"names":["f","require$$0","k","l","m","n","p","q","c","a","g","b","d","e","h","reactJsxRuntime_production_min"],"mappings":";;;;;;;;;;;;;;;;AASa,MAAIA,IAAEC,GAAiBC,IAAE,OAAO,IAAI,eAAe,GAAEC,IAAE,OAAO,IAAI,gBAAgB,GAAEC,IAAE,OAAO,UAAU,gBAAeC,IAAEL,EAAE,mDAAmD,mBAAkBM,IAAE,EAAC,KAAI,IAAG,KAAI,IAAG,QAAO,IAAG,UAAS,GAAE;AAClP,WAASC,EAAEC,GAAEC,GAAEC,GAAE;AAAC,QAAIC,GAAEC,IAAE,CAAA,GAAGC,IAAE,MAAKC,IAAE;AAAK,IAASJ,MAAT,WAAaG,IAAE,KAAGH,IAAYD,EAAE,QAAX,WAAiBI,IAAE,KAAGJ,EAAE,MAAcA,EAAE,QAAX,WAAiBK,IAAEL,EAAE;AAAK,SAAIE,KAAKF,EAAE,CAAAL,EAAE,KAAKK,GAAEE,CAAC,KAAG,CAACL,EAAE,eAAeK,CAAC,MAAIC,EAAED,CAAC,IAAEF,EAAEE,CAAC;AAAG,QAAGH,KAAGA,EAAE,aAAa,MAAIG,KAAKF,IAAED,EAAE,cAAaC,EAAE,CAASG,EAAED,CAAC,MAAZ,WAAgBC,EAAED,CAAC,IAAEF,EAAEE,CAAC;AAAG,WAAM,EAAC,UAAST,GAAE,MAAKM,GAAE,KAAIK,GAAE,KAAIC,GAAE,OAAMF,GAAE,QAAOP,EAAE,QAAO;AAAA,EAAC;AAAC,SAAAU,aAAiBZ,GAAEY,EAAA,MAAYR,GAAEQ,EAAA,OAAaR;;","x_google_ignoreList":[0]}
|