@dmitriikapustin/ui 0.4.1 → 0.4.3
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/index.cjs +685 -527
- package/dist/index.d.cts +77 -6
- package/dist/index.d.ts +77 -6
- package/dist/index.js +686 -529
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1688,6 +1688,94 @@ function Skeleton({ variant = "line", width, height, className = "" }) {
|
|
|
1688
1688
|
);
|
|
1689
1689
|
}
|
|
1690
1690
|
|
|
1691
|
+
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/atoms/SectionHeading.module.scss
|
|
1692
|
+
__styleInject(`@charset "UTF-8";
|
|
1693
|
+
/* SectionHeading \u2014 \u0442\u0438\u043F\u043E\u0433\u0440\u0430\u0444\u0438\u043A\u0430 \u0434\u043B\u044F section-headings.
|
|
1694
|
+
\u0422\u0440\u0438 \u0440\u0430\u0437\u043C\u0435\u0440\u0430: sm (sub-block), md (default, typical section h2), lg (landing promo). */
|
|
1695
|
+
.SectionHeading-module_heading {
|
|
1696
|
+
font-weight: 700;
|
|
1697
|
+
line-height: 1.1;
|
|
1698
|
+
letter-spacing: -0.03em;
|
|
1699
|
+
color: var(--fg);
|
|
1700
|
+
text-wrap: balance;
|
|
1701
|
+
margin: 0;
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
/* \u2014 \u0420\u0430\u0437\u043C\u0435\u0440\u044B (responsive clamp) \u2014 */
|
|
1705
|
+
.SectionHeading-module_sizeSm {
|
|
1706
|
+
font-size: clamp(1.125rem, 2.5vw, 1.375rem);
|
|
1707
|
+
letter-spacing: -0.02em;
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
.SectionHeading-module_sizeMd {
|
|
1711
|
+
font-size: clamp(1.5rem, 3vw, 2rem);
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
.SectionHeading-module_sizeLg {
|
|
1715
|
+
font-size: clamp(1.75rem, 4vw, 2.75rem);
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
/* \u2014 \u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435 \u2014 */
|
|
1719
|
+
.SectionHeading-module_alignLeft {
|
|
1720
|
+
text-align: left;
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
.SectionHeading-module_alignCenter {
|
|
1724
|
+
text-align: center;
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
/* \u2014 Wrapper \u0434\u043B\u044F subtitle \u2014 */
|
|
1728
|
+
.SectionHeading-module_wrap {
|
|
1729
|
+
display: flex;
|
|
1730
|
+
flex-direction: column;
|
|
1731
|
+
gap: 0.75rem;
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
.SectionHeading-module_wrapCenter {
|
|
1735
|
+
display: flex;
|
|
1736
|
+
flex-direction: column;
|
|
1737
|
+
align-items: center;
|
|
1738
|
+
gap: 0.75rem;
|
|
1739
|
+
text-align: center;
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
.SectionHeading-module_subtitle {
|
|
1743
|
+
font-size: 1rem;
|
|
1744
|
+
line-height: 1.625;
|
|
1745
|
+
color: var(--fg-secondary);
|
|
1746
|
+
margin: 0;
|
|
1747
|
+
max-width: 42rem;
|
|
1748
|
+
text-wrap: balance;
|
|
1749
|
+
}
|
|
1750
|
+
@media (min-width: 768px) {
|
|
1751
|
+
.SectionHeading-module_subtitle {
|
|
1752
|
+
font-size: 1.125rem;
|
|
1753
|
+
}
|
|
1754
|
+
}`);
|
|
1755
|
+
var __default20 = { "heading": "SectionHeading-module_heading", "sizeSm": "SectionHeading-module_sizeSm", "sizeMd": "SectionHeading-module_sizeMd", "sizeLg": "SectionHeading-module_sizeLg", "alignLeft": "SectionHeading-module_alignLeft", "alignCenter": "SectionHeading-module_alignCenter", "wrap": "SectionHeading-module_wrap", "wrapCenter": "SectionHeading-module_wrapCenter", "subtitle": "SectionHeading-module_subtitle" };
|
|
1756
|
+
var SIZE_CLASS = {
|
|
1757
|
+
sm: __default20.sizeSm,
|
|
1758
|
+
md: __default20.sizeMd,
|
|
1759
|
+
lg: __default20.sizeLg
|
|
1760
|
+
};
|
|
1761
|
+
function SectionHeading({
|
|
1762
|
+
children,
|
|
1763
|
+
size = "md",
|
|
1764
|
+
as = "h2",
|
|
1765
|
+
align = "left",
|
|
1766
|
+
subtitle,
|
|
1767
|
+
className = ""
|
|
1768
|
+
}) {
|
|
1769
|
+
const headingClass = `${__default20.heading} ${SIZE_CLASS[size]} ${align === "center" ? __default20.alignCenter : __default20.alignLeft}${className ? ` ${className}` : ""}`;
|
|
1770
|
+
if (subtitle) {
|
|
1771
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: align === "center" ? __default20.wrapCenter : __default20.wrap, children: [
|
|
1772
|
+
react.createElement(as, { className: headingClass }, children),
|
|
1773
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default20.subtitle, children: subtitle })
|
|
1774
|
+
] });
|
|
1775
|
+
}
|
|
1776
|
+
return react.createElement(as, { className: headingClass }, children);
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1691
1779
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/atoms/TicketButton.module.scss
|
|
1692
1780
|
__styleInject(`@charset "UTF-8";
|
|
1693
1781
|
/* TicketButton SASS Module \u2014 scoped CSS replacing Tailwind group-hover utilities */
|
|
@@ -1752,7 +1840,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
1752
1840
|
align-items: center;
|
|
1753
1841
|
justify-content: center;
|
|
1754
1842
|
}`);
|
|
1755
|
-
var
|
|
1843
|
+
var __default21 = { "root": "TicketButton-module_root", "stub": "TicketButton-module_stub", "body": "TicketButton-module_body", "bodySvg": "TicketButton-module_bodySvg", "bodyText": "TicketButton-module_bodyText", "stubSvg": "TicketButton-module_stubSvg", "stubIcon": "TicketButton-module_stubIcon" };
|
|
1756
1844
|
var DefaultIcon = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "9 18 15 12 9 6" }) });
|
|
1757
1845
|
function TicketButton(_a) {
|
|
1758
1846
|
var _b = _a, {
|
|
@@ -1775,14 +1863,14 @@ function TicketButton(_a) {
|
|
|
1775
1863
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1776
1864
|
"button",
|
|
1777
1865
|
__spreadProps(__spreadValues({
|
|
1778
|
-
className: `${
|
|
1866
|
+
className: `${__default21.root} ${className}`
|
|
1779
1867
|
}, props), {
|
|
1780
1868
|
children: [
|
|
1781
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className:
|
|
1869
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: __default21.body, children: [
|
|
1782
1870
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1783
1871
|
"svg",
|
|
1784
1872
|
{
|
|
1785
|
-
className:
|
|
1873
|
+
className: __default21.bodySvg,
|
|
1786
1874
|
viewBox: "0 0 140 56",
|
|
1787
1875
|
fill: "none",
|
|
1788
1876
|
preserveAspectRatio: "none",
|
|
@@ -1807,13 +1895,13 @@ function TicketButton(_a) {
|
|
|
1807
1895
|
]
|
|
1808
1896
|
}
|
|
1809
1897
|
),
|
|
1810
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
1898
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default21.bodyText, style: { color: fg }, children })
|
|
1811
1899
|
] }),
|
|
1812
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className:
|
|
1900
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: __default21.stub, children: [
|
|
1813
1901
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1814
1902
|
"svg",
|
|
1815
1903
|
{
|
|
1816
|
-
className:
|
|
1904
|
+
className: __default21.stubSvg,
|
|
1817
1905
|
viewBox: "0 0 56 56",
|
|
1818
1906
|
fill: "none",
|
|
1819
1907
|
preserveAspectRatio: "none",
|
|
@@ -1837,7 +1925,7 @@ function TicketButton(_a) {
|
|
|
1837
1925
|
]
|
|
1838
1926
|
}
|
|
1839
1927
|
),
|
|
1840
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
1928
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default21.stubIcon, style: { color: fg }, children: icon || /* @__PURE__ */ jsxRuntime.jsx(DefaultIcon, {}) })
|
|
1841
1929
|
] })
|
|
1842
1930
|
]
|
|
1843
1931
|
})
|
|
@@ -1938,7 +2026,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
1938
2026
|
.Card-module_spacer {
|
|
1939
2027
|
display: block;
|
|
1940
2028
|
}`);
|
|
1941
|
-
var
|
|
2029
|
+
var __default22 = { "root": "Card-module_root", "imageWrapper": "Card-module_imageWrapper", "image": "Card-module_image", "body": "Card-module_body", "bodyWithImage": "Card-module_bodyWithImage", "bodyNoImage": "Card-module_bodyNoImage", "titleBlock": "Card-module_titleBlock", "title": "Card-module_title", "danger": "Card-module_danger", "description": "Card-module_description", "footer": "Card-module_footer", "footerRow": "Card-module_footerRow", "badges": "Card-module_badges", "spacer": "Card-module_spacer" };
|
|
1942
2030
|
|
|
1943
2031
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/molecules/IconBadge.module.scss
|
|
1944
2032
|
__styleInject(`@charset "UTF-8";
|
|
@@ -1958,9 +2046,9 @@ __styleInject(`@charset "UTF-8";
|
|
|
1958
2046
|
width: 20px;
|
|
1959
2047
|
height: 20px;
|
|
1960
2048
|
}`);
|
|
1961
|
-
var
|
|
2049
|
+
var __default23 = { "root": "IconBadge-module_root" };
|
|
1962
2050
|
function IconBadge({ icon, className = "" }) {
|
|
1963
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
2051
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default23.root}${className ? ` ${className}` : ""}`, children: icon });
|
|
1964
2052
|
}
|
|
1965
2053
|
function Card({
|
|
1966
2054
|
image,
|
|
@@ -1977,20 +2065,20 @@ function Card({
|
|
|
1977
2065
|
const hasImage = !!image;
|
|
1978
2066
|
const hasBadgesOrAction = !!(badges && badges.length > 0 || action);
|
|
1979
2067
|
const showFooter = !!footer || hasBadgesOrAction;
|
|
1980
|
-
const variantClass = variant === "danger" ? ` ${
|
|
1981
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
1982
|
-
hasImage && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2068
|
+
const variantClass = variant === "danger" ? ` ${__default22.danger}` : "";
|
|
2069
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default22.root}${variantClass}${className ? ` ${className}` : ""}`, children: [
|
|
2070
|
+
hasImage && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default22.imageWrapper, children: typeof image === "string" ? (
|
|
1983
2071
|
// eslint-disable-next-line @next/next/no-img-element
|
|
1984
|
-
/* @__PURE__ */ jsxRuntime.jsx("img", { src: image, alt: title || "", className:
|
|
2072
|
+
/* @__PURE__ */ jsxRuntime.jsx("img", { src: image, alt: title || "", className: __default22.image })
|
|
1985
2073
|
) : image }),
|
|
1986
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
1987
|
-
(title || description) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1988
|
-
title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
1989
|
-
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${
|
|
2074
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default22.body} ${hasImage ? __default22.bodyWithImage : __default22.bodyNoImage}`, children: [
|
|
2075
|
+
(title || description) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default22.titleBlock, children: [
|
|
2076
|
+
title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: __default22.title, children: title }),
|
|
2077
|
+
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${__default22.description}${descriptionClassName ? ` ${descriptionClassName}` : ""}`, children: description })
|
|
1990
2078
|
] }),
|
|
1991
2079
|
children,
|
|
1992
|
-
showFooter && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1993
|
-
badges && badges.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2080
|
+
showFooter && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default22.footer, children: footer || /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default22.footerRow, children: [
|
|
2081
|
+
badges && badges.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default22.badges, children: badges.map((b, i) => /* @__PURE__ */ jsxRuntime.jsx(IconBadge, { icon: b }, i)) }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default22.spacer }),
|
|
1994
2082
|
action && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1995
2083
|
Button,
|
|
1996
2084
|
{
|
|
@@ -2083,7 +2171,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
2083
2171
|
height: auto;
|
|
2084
2172
|
display: block;
|
|
2085
2173
|
}`);
|
|
2086
|
-
var
|
|
2174
|
+
var __default24 = { "root": "Gallery-module_root", "title": "Gallery-module_title", "grid": "Gallery-module_grid", "gridItem": "Gallery-module_gridItem", "image": "Gallery-module_image", "masonry": "Gallery-module_masonry", "masonryItem": "Gallery-module_masonryItem" };
|
|
2087
2175
|
function Gallery({
|
|
2088
2176
|
variant = "grid",
|
|
2089
2177
|
images,
|
|
@@ -2092,10 +2180,10 @@ function Gallery({
|
|
|
2092
2180
|
}) {
|
|
2093
2181
|
if (images.length === 0) return null;
|
|
2094
2182
|
const isMasonry = variant === "masonry";
|
|
2095
|
-
const itemClass = isMasonry ?
|
|
2096
|
-
const containerClass = isMasonry ?
|
|
2097
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${
|
|
2098
|
-
title && /* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
2183
|
+
const itemClass = isMasonry ? __default24.masonryItem : __default24.gridItem;
|
|
2184
|
+
const containerClass = isMasonry ? __default24.masonry : __default24.grid;
|
|
2185
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${__default24.root}${className ? ` ${className}` : ""}`, children: [
|
|
2186
|
+
title && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: __default24.title, children: title }),
|
|
2099
2187
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: containerClass, children: images.map((src, i) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: itemClass, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2100
2188
|
"img",
|
|
2101
2189
|
{
|
|
@@ -2103,7 +2191,7 @@ function Gallery({
|
|
|
2103
2191
|
alt: "",
|
|
2104
2192
|
loading: i === 0 ? "eager" : "lazy",
|
|
2105
2193
|
decoding: i === 0 ? "sync" : "async",
|
|
2106
|
-
className:
|
|
2194
|
+
className: __default24.image
|
|
2107
2195
|
}
|
|
2108
2196
|
) }, `${src}-${i}`)) })
|
|
2109
2197
|
] });
|
|
@@ -2122,12 +2210,12 @@ __styleInject(`@charset "UTF-8";
|
|
|
2122
2210
|
font-size: 0.8125rem;
|
|
2123
2211
|
color: var(--fg-muted);
|
|
2124
2212
|
}`);
|
|
2125
|
-
var
|
|
2213
|
+
var __default25 = { "root": "FormField-module_root", "hint": "FormField-module_hint" };
|
|
2126
2214
|
function FormField(_a) {
|
|
2127
2215
|
var _b = _a, { label, error, hint, icon } = _b, inputProps = __objRest(_b, ["label", "error", "hint", "icon"]);
|
|
2128
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
2216
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default25.root, children: [
|
|
2129
2217
|
/* @__PURE__ */ jsxRuntime.jsx(Input, __spreadValues({ label, error, icon }, inputProps)),
|
|
2130
|
-
hint && !error && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
2218
|
+
hint && !error && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default25.hint, children: hint })
|
|
2131
2219
|
] });
|
|
2132
2220
|
}
|
|
2133
2221
|
|
|
@@ -2179,7 +2267,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
2179
2267
|
.SearchBar-module_clearBtn:hover {
|
|
2180
2268
|
color: var(--fg);
|
|
2181
2269
|
}`);
|
|
2182
|
-
var
|
|
2270
|
+
var __default26 = { "root": "SearchBar-module_root", "searchIcon": "SearchBar-module_searchIcon", "input": "SearchBar-module_input", "clearBtn": "SearchBar-module_clearBtn" };
|
|
2183
2271
|
function SearchBar({ placeholder = "Search...", value: controlledValue, onChange, className = "" }) {
|
|
2184
2272
|
const [internalValue, setInternalValue] = react.useState("");
|
|
2185
2273
|
const value = controlledValue != null ? controlledValue : internalValue;
|
|
@@ -2187,8 +2275,8 @@ function SearchBar({ placeholder = "Search...", value: controlledValue, onChange
|
|
|
2187
2275
|
setInternalValue(val);
|
|
2188
2276
|
onChange == null ? void 0 : onChange(val);
|
|
2189
2277
|
};
|
|
2190
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
2191
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2278
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default26.root}${className ? ` ${className}` : ""}`, children: [
|
|
2279
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default26.searchIcon, children: /* @__PURE__ */ jsxRuntime.jsx(IconlySearch, { size: 18 }) }),
|
|
2192
2280
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2193
2281
|
"input",
|
|
2194
2282
|
{
|
|
@@ -2197,14 +2285,14 @@ function SearchBar({ placeholder = "Search...", value: controlledValue, onChange
|
|
|
2197
2285
|
onChange: (e) => handleChange(e.target.value),
|
|
2198
2286
|
placeholder,
|
|
2199
2287
|
"aria-label": "Search",
|
|
2200
|
-
className:
|
|
2288
|
+
className: __default26.input
|
|
2201
2289
|
}
|
|
2202
2290
|
),
|
|
2203
2291
|
value && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2204
2292
|
"button",
|
|
2205
2293
|
{
|
|
2206
2294
|
onClick: () => handleChange(""),
|
|
2207
|
-
className:
|
|
2295
|
+
className: __default26.clearBtn,
|
|
2208
2296
|
"aria-label": "Clear search",
|
|
2209
2297
|
children: /* @__PURE__ */ jsxRuntime.jsx(IconlyClose, { size: 16 })
|
|
2210
2298
|
}
|
|
@@ -2250,18 +2338,18 @@ __styleInject(`@charset "UTF-8";
|
|
|
2250
2338
|
font-size: 0.875rem;
|
|
2251
2339
|
color: var(--fg-muted);
|
|
2252
2340
|
}`);
|
|
2253
|
-
var
|
|
2341
|
+
var __default27 = { "root": "Stat-module_root", "valueRow": "Stat-module_valueRow", "value": "Stat-module_value", "trend": "Stat-module_trend", "positive": "Stat-module_positive", "negative": "Stat-module_negative", "label": "Stat-module_label" };
|
|
2254
2342
|
function Stat({ value, label, trend, className = "" }) {
|
|
2255
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
2256
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
2257
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
2258
|
-
trend && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: `${
|
|
2343
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default27.root}${className ? ` ${className}` : ""}`, children: [
|
|
2344
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default27.valueRow, children: [
|
|
2345
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default27.value, children: value }),
|
|
2346
|
+
trend && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: `${__default27.trend} ${trend.positive ? __default27.positive : __default27.negative}`, children: [
|
|
2259
2347
|
trend.positive ? "\u2191" : "\u2193",
|
|
2260
2348
|
" ",
|
|
2261
2349
|
trend.value
|
|
2262
2350
|
] })
|
|
2263
2351
|
] }),
|
|
2264
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
2352
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default27.label, children: label })
|
|
2265
2353
|
] });
|
|
2266
2354
|
}
|
|
2267
2355
|
|
|
@@ -2328,7 +2416,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
2328
2416
|
.Alert-module_dismiss:hover {
|
|
2329
2417
|
color: var(--fg);
|
|
2330
2418
|
}`);
|
|
2331
|
-
var
|
|
2419
|
+
var __default28 = { "root": "Alert-module_root", "icon": "Alert-module_icon", "info": "Alert-module_info", "success": "Alert-module_success", "warning": "Alert-module_warning", "error": "Alert-module_error", "content": "Alert-module_content", "title": "Alert-module_title", "message": "Alert-module_message", "dismiss": "Alert-module_dismiss" };
|
|
2332
2420
|
var variantIcons = {
|
|
2333
2421
|
info: IconlyInfoCircle,
|
|
2334
2422
|
success: IconlySuccess,
|
|
@@ -2339,18 +2427,18 @@ function Alert({ variant = "info", title, children, closable = false, className
|
|
|
2339
2427
|
const [visible, setVisible] = react.useState(true);
|
|
2340
2428
|
if (!visible) return null;
|
|
2341
2429
|
const Icon = variantIcons[variant];
|
|
2342
|
-
const variantClass =
|
|
2343
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
2344
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
2345
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
2346
|
-
title && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${
|
|
2347
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
2430
|
+
const variantClass = __default28[variant];
|
|
2431
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default28.root}${className ? ` ${className}` : ""}`, children: [
|
|
2432
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default28.icon} ${variantClass}`, children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 20 }) }),
|
|
2433
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default28.content, children: [
|
|
2434
|
+
title && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${__default28.title} ${variantClass}`, children: title }),
|
|
2435
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default28.message, children })
|
|
2348
2436
|
] }),
|
|
2349
2437
|
closable && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2350
2438
|
"button",
|
|
2351
2439
|
{
|
|
2352
2440
|
onClick: () => setVisible(false),
|
|
2353
|
-
className:
|
|
2441
|
+
className: __default28.dismiss,
|
|
2354
2442
|
"aria-label": "Dismiss",
|
|
2355
2443
|
children: /* @__PURE__ */ jsxRuntime.jsx(IconlyClose, { size: 16 })
|
|
2356
2444
|
}
|
|
@@ -2398,7 +2486,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
2398
2486
|
.Tabs-module_panel {
|
|
2399
2487
|
padding-top: 1rem;
|
|
2400
2488
|
}`);
|
|
2401
|
-
var
|
|
2489
|
+
var __default29 = { "tabList": "Tabs-module_tabList", "tab": "Tabs-module_tab", "active": "Tabs-module_active", "indicator": "Tabs-module_indicator", "panel": "Tabs-module_panel" };
|
|
2402
2490
|
function Tabs({ tabs, defaultTab, onChange, className = "" }) {
|
|
2403
2491
|
var _a, _b;
|
|
2404
2492
|
const [activeTab, setActiveTab] = react.useState(defaultTab || ((_a = tabs[0]) == null ? void 0 : _a.id));
|
|
@@ -2429,7 +2517,7 @@ function Tabs({ tabs, defaultTab, onChange, className = "" }) {
|
|
|
2429
2517
|
"div",
|
|
2430
2518
|
{
|
|
2431
2519
|
role: "tablist",
|
|
2432
|
-
className:
|
|
2520
|
+
className: __default29.tabList,
|
|
2433
2521
|
onKeyDown: handleKeyDown,
|
|
2434
2522
|
children: tabs.map((tab, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2435
2523
|
"button",
|
|
@@ -2443,10 +2531,10 @@ function Tabs({ tabs, defaultTab, onChange, className = "" }) {
|
|
|
2443
2531
|
"aria-controls": `panel-${tab.id}`,
|
|
2444
2532
|
tabIndex: activeTab === tab.id ? 0 : -1,
|
|
2445
2533
|
onClick: () => activateTab(tab.id),
|
|
2446
|
-
className: `${
|
|
2534
|
+
className: `${__default29.tab} ${activeTab === tab.id ? __default29.active : ""}`,
|
|
2447
2535
|
children: [
|
|
2448
2536
|
tab.label,
|
|
2449
|
-
activeTab === tab.id && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
2537
|
+
activeTab === tab.id && /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default29.indicator })
|
|
2450
2538
|
]
|
|
2451
2539
|
},
|
|
2452
2540
|
tab.id
|
|
@@ -2459,7 +2547,7 @@ function Tabs({ tabs, defaultTab, onChange, className = "" }) {
|
|
|
2459
2547
|
role: "tabpanel",
|
|
2460
2548
|
id: `panel-${activeTab}`,
|
|
2461
2549
|
"aria-labelledby": `tab-${activeTab}`,
|
|
2462
|
-
className:
|
|
2550
|
+
className: __default29.panel,
|
|
2463
2551
|
children: activeContent
|
|
2464
2552
|
}
|
|
2465
2553
|
)
|
|
@@ -2524,7 +2612,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
2524
2612
|
align-items: center;
|
|
2525
2613
|
gap: 0.25rem;
|
|
2526
2614
|
}`);
|
|
2527
|
-
var
|
|
2615
|
+
var __default30 = { "root": "ChatInput-module_root", "contrast": "ChatInput-module_contrast", "plain": "ChatInput-module_plain", "input": "ChatInput-module_input", "actions": "ChatInput-module_actions", "actionsFull": "ChatInput-module_actionsFull", "actionsEasy": "ChatInput-module_actionsEasy", "toolGroup": "ChatInput-module_toolGroup" };
|
|
2528
2616
|
function ChatInput({
|
|
2529
2617
|
placeholder = "\u0412\u0432\u0435\u0434\u0438 \u0441\u0432\u043E\u0439 email...",
|
|
2530
2618
|
buttonText = "\u041D\u0430\u0447\u0430\u0442\u044C \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",
|
|
@@ -2550,7 +2638,7 @@ function ChatInput({
|
|
|
2550
2638
|
var _a;
|
|
2551
2639
|
return (_a = inputRef.current) == null ? void 0 : _a.focus();
|
|
2552
2640
|
},
|
|
2553
|
-
className: `${
|
|
2641
|
+
className: `${__default30.root} ${contrast ? __default30.contrast : __default30.plain}${className ? ` ${className}` : ""}`,
|
|
2554
2642
|
children: [
|
|
2555
2643
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2556
2644
|
"input",
|
|
@@ -2560,11 +2648,11 @@ function ChatInput({
|
|
|
2560
2648
|
value,
|
|
2561
2649
|
onChange: (e) => setValue(e.target.value),
|
|
2562
2650
|
placeholder,
|
|
2563
|
-
className:
|
|
2651
|
+
className: __default30.input
|
|
2564
2652
|
}
|
|
2565
2653
|
),
|
|
2566
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
2567
|
-
type === "full" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
2654
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default30.actions} ${type === "full" ? __default30.actionsFull : __default30.actionsEasy}`, children: [
|
|
2655
|
+
type === "full" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default30.toolGroup, children: [
|
|
2568
2656
|
/* @__PURE__ */ jsxRuntime.jsx(IconButton, { variant: "secondary", icon: /* @__PURE__ */ jsxRuntime.jsx(IconlySmile, { size: 20 }), type: "button", "aria-label": "Emoji" }),
|
|
2569
2657
|
/* @__PURE__ */ jsxRuntime.jsx(IconButton, { variant: "clear", icon: /* @__PURE__ */ jsxRuntime.jsx(IconlyAttach, { size: 20 }), type: "button", "aria-label": "Attach" }),
|
|
2570
2658
|
/* @__PURE__ */ jsxRuntime.jsx(IconButton, { variant: "clear", icon: /* @__PURE__ */ jsxRuntime.jsx(IconlyInfo, { size: 20 }), type: "button", "aria-label": "Info" })
|
|
@@ -2621,13 +2709,13 @@ __styleInject(`@charset "UTF-8";
|
|
|
2621
2709
|
color: var(--bg);
|
|
2622
2710
|
border-bottom-right-radius: 16px;
|
|
2623
2711
|
}`);
|
|
2624
|
-
var
|
|
2712
|
+
var __default31 = { "root": "ChatMessage-module_root", "user": "ChatMessage-module_user", "ai": "ChatMessage-module_ai", "bubble": "ChatMessage-module_bubble", "sm": "ChatMessage-module_sm", "lg": "ChatMessage-module_lg", "bubbleUser": "ChatMessage-module_bubbleUser", "bubbleAi": "ChatMessage-module_bubbleAi" };
|
|
2625
2713
|
function ChatMessage({ children, role = "user", size = "sm", className = "" }) {
|
|
2626
2714
|
const isUser = role === "user";
|
|
2627
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
2715
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default31.root} ${isUser ? __default31.user : __default31.ai}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2628
2716
|
"div",
|
|
2629
2717
|
{
|
|
2630
|
-
className: `${
|
|
2718
|
+
className: `${__default31.bubble} ${__default31[size]} ${isUser ? __default31.bubbleUser : __default31.bubbleAi}`,
|
|
2631
2719
|
children
|
|
2632
2720
|
}
|
|
2633
2721
|
) });
|
|
@@ -2647,10 +2735,10 @@ __styleInject(`@charset "UTF-8";
|
|
|
2647
2735
|
letter-spacing: -0.25px;
|
|
2648
2736
|
color: var(--fg-secondary);
|
|
2649
2737
|
}`);
|
|
2650
|
-
var
|
|
2738
|
+
var __default32 = { "root": "TopPromo-module_root", "text": "TopPromo-module_text" };
|
|
2651
2739
|
function TopPromo({ text, buttonText = "\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C", onButtonClick, className = "" }) {
|
|
2652
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
2653
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
2740
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default32.root}${className ? ` ${className}` : ""}`, children: [
|
|
2741
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default32.text, children: text }),
|
|
2654
2742
|
/* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "primary", size: "md", onClick: onButtonClick, children: buttonText })
|
|
2655
2743
|
] });
|
|
2656
2744
|
}
|
|
@@ -2686,16 +2774,16 @@ __styleInject(`@charset "UTF-8";
|
|
|
2686
2774
|
.ProfileNav-module_separator {
|
|
2687
2775
|
color: var(--fg-muted);
|
|
2688
2776
|
}`);
|
|
2689
|
-
var
|
|
2777
|
+
var __default33 = { "root": "ProfileNav-module_root", "stats": "ProfileNav-module_stats", "statItem": "ProfileNav-module_statItem", "statText": "ProfileNav-module_statText", "separator": "ProfileNav-module_separator" };
|
|
2690
2778
|
function ProfileNav({ stats, avatarSrc, avatarInitials = "DK", className = "" }) {
|
|
2691
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
2692
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2693
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className:
|
|
2779
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default33.root}${className ? ` ${className}` : ""}`, children: [
|
|
2780
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default33.stats, children: stats.map((stat, i) => /* @__PURE__ */ jsxRuntime.jsxs("span", { className: __default33.statItem, children: [
|
|
2781
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: __default33.statText, children: [
|
|
2694
2782
|
stat.value,
|
|
2695
2783
|
" ",
|
|
2696
2784
|
stat.suffix
|
|
2697
2785
|
] }),
|
|
2698
|
-
i < stats.length - 1 && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
2786
|
+
i < stats.length - 1 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default33.separator, children: " //" })
|
|
2699
2787
|
] }, i)) }),
|
|
2700
2788
|
/* @__PURE__ */ jsxRuntime.jsx(Avatar, { size: "sm", src: avatarSrc, initials: avatarInitials })
|
|
2701
2789
|
] });
|
|
@@ -2728,12 +2816,12 @@ __styleInject(`@charset "UTF-8";
|
|
|
2728
2816
|
letter-spacing: -0.25px;
|
|
2729
2817
|
white-space: nowrap;
|
|
2730
2818
|
}`);
|
|
2731
|
-
var
|
|
2819
|
+
var __default34 = { "root": "IconWithText-module_root", "icon": "IconWithText-module_icon", "text": "IconWithText-module_text" };
|
|
2732
2820
|
function IconWithText({ icon, text, side = "left", className = "" }) {
|
|
2733
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
2734
|
-
side === "left" && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
2735
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
2736
|
-
side === "right" && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
2821
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default34.root}${className ? ` ${className}` : ""}`, children: [
|
|
2822
|
+
side === "left" && /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default34.icon, children: icon }),
|
|
2823
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default34.text, children: text }),
|
|
2824
|
+
side === "right" && /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default34.icon, children: icon })
|
|
2737
2825
|
] });
|
|
2738
2826
|
}
|
|
2739
2827
|
|
|
@@ -2755,7 +2843,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
2755
2843
|
.StampCard-module_inner {
|
|
2756
2844
|
background: var(--bg);
|
|
2757
2845
|
}`);
|
|
2758
|
-
var
|
|
2846
|
+
var __default35 = { "root": "StampCard-module_root", "plain": "StampCard-module_plain", "inner": "StampCard-module_inner" };
|
|
2759
2847
|
function StampCard({
|
|
2760
2848
|
children,
|
|
2761
2849
|
className = "",
|
|
@@ -2807,9 +2895,9 @@ function StampCard({
|
|
|
2807
2895
|
};
|
|
2808
2896
|
}, [build, stamp]);
|
|
2809
2897
|
if (!stamp) {
|
|
2810
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
2898
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default35.plain} ${className}`, children });
|
|
2811
2899
|
}
|
|
2812
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { ref: outerRef, className: `${
|
|
2900
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { ref: outerRef, className: `${__default35.root} ${className}`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { style: { filter: "drop-shadow(0 1px 3px rgba(0,0,0,0.25)) drop-shadow(0 4px 12px rgba(0,0,0,0.20))" }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2813
2901
|
"div",
|
|
2814
2902
|
{
|
|
2815
2903
|
style: {
|
|
@@ -2818,7 +2906,7 @@ function StampCard({
|
|
|
2818
2906
|
WebkitMaskSize: "100% 100%",
|
|
2819
2907
|
maskSize: "100% 100%"
|
|
2820
2908
|
},
|
|
2821
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
2909
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default35.inner, children })
|
|
2822
2910
|
}
|
|
2823
2911
|
) }) });
|
|
2824
2912
|
}
|
|
@@ -2832,7 +2920,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
2832
2920
|
justify-content: center;
|
|
2833
2921
|
cursor: pointer;
|
|
2834
2922
|
}`);
|
|
2835
|
-
var
|
|
2923
|
+
var __default36 = { "toggle": "PasswordInput-module_toggle" };
|
|
2836
2924
|
function PasswordInput(_a) {
|
|
2837
2925
|
var props = __objRest(_a, []);
|
|
2838
2926
|
const [showPassword, setShowPassword] = react.useState(false);
|
|
@@ -2845,7 +2933,7 @@ function PasswordInput(_a) {
|
|
|
2845
2933
|
{
|
|
2846
2934
|
type: "button",
|
|
2847
2935
|
onClick: () => setShowPassword((prev) => !prev),
|
|
2848
|
-
className:
|
|
2936
|
+
className: __default36.toggle,
|
|
2849
2937
|
"aria-label": showPassword ? "Hide password" : "Show password",
|
|
2850
2938
|
tabIndex: -1,
|
|
2851
2939
|
children: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(IconlyEyeOff, { size: 18 }) : /* @__PURE__ */ jsxRuntime.jsx(IconlyEye, { size: 18 })
|
|
@@ -2892,21 +2980,21 @@ __styleInject(`@charset "UTF-8";
|
|
|
2892
2980
|
.Breadcrumbs-module_link:hover {
|
|
2893
2981
|
color: var(--fg);
|
|
2894
2982
|
}`);
|
|
2895
|
-
var
|
|
2983
|
+
var __default37 = { "list": "Breadcrumbs-module_list", "item": "Breadcrumbs-module_item", "separator": "Breadcrumbs-module_separator", "active": "Breadcrumbs-module_active", "link": "Breadcrumbs-module_link" };
|
|
2896
2984
|
function Breadcrumbs({
|
|
2897
2985
|
items,
|
|
2898
2986
|
separator = /* @__PURE__ */ jsxRuntime.jsx(IconlyChevronRight, { size: 14 })
|
|
2899
2987
|
}) {
|
|
2900
|
-
return /* @__PURE__ */ jsxRuntime.jsx("nav", { "aria-label": "Breadcrumb", children: /* @__PURE__ */ jsxRuntime.jsx("ol", { className:
|
|
2988
|
+
return /* @__PURE__ */ jsxRuntime.jsx("nav", { "aria-label": "Breadcrumb", children: /* @__PURE__ */ jsxRuntime.jsx("ol", { className: __default37.list, children: items.map((item, index) => {
|
|
2901
2989
|
var _a;
|
|
2902
2990
|
const isLast = index === items.length - 1;
|
|
2903
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("li", { className:
|
|
2904
|
-
index > 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
2905
|
-
isLast ? /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
2991
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("li", { className: __default37.item, children: [
|
|
2992
|
+
index > 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default37.separator, "aria-hidden": "true", children: separator }),
|
|
2993
|
+
isLast ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default37.active, "aria-current": "page", children: item.label }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
2906
2994
|
"a",
|
|
2907
2995
|
{
|
|
2908
2996
|
href: (_a = item.href) != null ? _a : "#",
|
|
2909
|
-
className:
|
|
2997
|
+
className: __default37.link,
|
|
2910
2998
|
children: item.label
|
|
2911
2999
|
}
|
|
2912
3000
|
)
|
|
@@ -2983,7 +3071,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
2983
3071
|
.Toast-module_dismiss:hover {
|
|
2984
3072
|
color: var(--fg);
|
|
2985
3073
|
}`);
|
|
2986
|
-
var
|
|
3074
|
+
var __default38 = { "root": "Toast-module_root", "icon": "Toast-module_icon", "info": "Toast-module_info", "success": "Toast-module_success", "warning": "Toast-module_warning", "error": "Toast-module_error", "content": "Toast-module_content", "title": "Toast-module_title", "message": "Toast-module_message", "dismiss": "Toast-module_dismiss" };
|
|
2987
3075
|
var variantIcons2 = {
|
|
2988
3076
|
info: IconlyInfoCircle,
|
|
2989
3077
|
success: IconlySuccess,
|
|
@@ -3006,24 +3094,24 @@ function Toast({
|
|
|
3006
3094
|
}, [visible, duration, onClose]);
|
|
3007
3095
|
if (!visible) return null;
|
|
3008
3096
|
const Icon = variantIcons2[variant];
|
|
3009
|
-
const variantClass =
|
|
3097
|
+
const variantClass = __default38[variant];
|
|
3010
3098
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3011
3099
|
"div",
|
|
3012
3100
|
{
|
|
3013
3101
|
role: "alert",
|
|
3014
3102
|
"aria-live": "assertive",
|
|
3015
|
-
className: `${
|
|
3103
|
+
className: `${__default38.root}${className ? ` ${className}` : ""}`,
|
|
3016
3104
|
children: [
|
|
3017
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
3018
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3019
|
-
title && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${
|
|
3020
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
3105
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default38.icon} ${variantClass}`, children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 20 }) }),
|
|
3106
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default38.content, children: [
|
|
3107
|
+
title && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${__default38.title} ${variantClass}`, children: title }),
|
|
3108
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default38.message, children: message })
|
|
3021
3109
|
] }),
|
|
3022
3110
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3023
3111
|
"button",
|
|
3024
3112
|
{
|
|
3025
3113
|
onClick: onClose,
|
|
3026
|
-
className:
|
|
3114
|
+
className: __default38.dismiss,
|
|
3027
3115
|
"aria-label": "Dismiss",
|
|
3028
3116
|
children: /* @__PURE__ */ jsxRuntime.jsx(IconlyClose, { size: 16 })
|
|
3029
3117
|
}
|
|
@@ -3103,7 +3191,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
3103
3191
|
opacity: 0.5;
|
|
3104
3192
|
cursor: not-allowed;
|
|
3105
3193
|
}`);
|
|
3106
|
-
var
|
|
3194
|
+
var __default39 = { "root": "Pagination-module_root", "pageBtn": "Pagination-module_pageBtn", "activePage": "Pagination-module_activePage", "ellipsis": "Pagination-module_ellipsis", "nav": "Pagination-module_nav" };
|
|
3107
3195
|
function getPageRange(current, total, siblings) {
|
|
3108
3196
|
const range = /* @__PURE__ */ new Set();
|
|
3109
3197
|
range.add(1);
|
|
@@ -3132,24 +3220,24 @@ function Pagination({
|
|
|
3132
3220
|
const pages = getPageRange(currentPage, totalPages, siblingCount);
|
|
3133
3221
|
const isFirst = currentPage === 1;
|
|
3134
3222
|
const isLast = currentPage === totalPages;
|
|
3135
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("nav", { "aria-label": "Pagination", className: `${
|
|
3223
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("nav", { "aria-label": "Pagination", className: `${__default39.root} ${className}`, children: [
|
|
3136
3224
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3137
3225
|
"button",
|
|
3138
3226
|
{
|
|
3139
3227
|
onClick: () => onPageChange(currentPage - 1),
|
|
3140
3228
|
disabled: isFirst,
|
|
3141
3229
|
"aria-label": "Previous page",
|
|
3142
|
-
className:
|
|
3230
|
+
className: __default39.nav,
|
|
3143
3231
|
children: /* @__PURE__ */ jsxRuntime.jsx(IconlyChevronLeft, { size: 18 })
|
|
3144
3232
|
}
|
|
3145
3233
|
),
|
|
3146
3234
|
pages.map(
|
|
3147
|
-
(page, i) => page === "\u2026" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
3235
|
+
(page, i) => page === "\u2026" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default39.ellipsis, children: "\u2026" }, `ellipsis-${i}`) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
3148
3236
|
"button",
|
|
3149
3237
|
{
|
|
3150
3238
|
onClick: () => onPageChange(page),
|
|
3151
3239
|
"aria-current": page === currentPage ? "page" : void 0,
|
|
3152
|
-
className: `${
|
|
3240
|
+
className: `${__default39.pageBtn} ${page === currentPage ? __default39.activePage : ""}`,
|
|
3153
3241
|
children: page
|
|
3154
3242
|
},
|
|
3155
3243
|
page
|
|
@@ -3161,7 +3249,7 @@ function Pagination({
|
|
|
3161
3249
|
onClick: () => onPageChange(currentPage + 1),
|
|
3162
3250
|
disabled: isLast,
|
|
3163
3251
|
"aria-label": "Next page",
|
|
3164
|
-
className:
|
|
3252
|
+
className: __default39.nav,
|
|
3165
3253
|
children: /* @__PURE__ */ jsxRuntime.jsx(IconlyChevronRight, { size: 18 })
|
|
3166
3254
|
}
|
|
3167
3255
|
)
|
|
@@ -3217,7 +3305,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
3217
3305
|
letter-spacing: -0.25px;
|
|
3218
3306
|
color: var(--color-error);
|
|
3219
3307
|
}`);
|
|
3220
|
-
var
|
|
3308
|
+
var __default40 = { "root": "CodeInput-module_root", "label": "CodeInput-module_label", "group": "CodeInput-module_group", "digitInput": "CodeInput-module_digitInput", "digitError": "CodeInput-module_digitError", "errorText": "CodeInput-module_errorText" };
|
|
3221
3309
|
function CodeInput({
|
|
3222
3310
|
length,
|
|
3223
3311
|
value,
|
|
@@ -3270,9 +3358,9 @@ function CodeInput({
|
|
|
3270
3358
|
[length, onChange, focusInput]
|
|
3271
3359
|
);
|
|
3272
3360
|
const inputId = label == null ? void 0 : label.toLowerCase().replace(/\s+/g, "-");
|
|
3273
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
3274
|
-
label && /* @__PURE__ */ jsxRuntime.jsx("label", { htmlFor: inputId, className:
|
|
3275
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3361
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default40.root} ${className}`, children: [
|
|
3362
|
+
label && /* @__PURE__ */ jsxRuntime.jsx("label", { htmlFor: inputId, className: __default40.label, children: label }),
|
|
3363
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default40.group, role: "group", "aria-label": label || "Code input", children: Array.from({ length }, (_, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3276
3364
|
"input",
|
|
3277
3365
|
{
|
|
3278
3366
|
id: i === 0 ? inputId : void 0,
|
|
@@ -3287,12 +3375,12 @@ function CodeInput({
|
|
|
3287
3375
|
onKeyDown: handleKeyDown(i),
|
|
3288
3376
|
onPaste: handlePaste,
|
|
3289
3377
|
autoComplete: "one-time-code",
|
|
3290
|
-
className: `${
|
|
3378
|
+
className: `${__default40.digitInput} ${error ? __default40.digitError : ""}`,
|
|
3291
3379
|
"aria-label": `Digit ${i + 1}`
|
|
3292
3380
|
},
|
|
3293
3381
|
i
|
|
3294
3382
|
)) }),
|
|
3295
|
-
error && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
3383
|
+
error && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default40.errorText, children: error })
|
|
3296
3384
|
] });
|
|
3297
3385
|
}
|
|
3298
3386
|
|
|
@@ -3356,7 +3444,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
3356
3444
|
justify-content: flex-end;
|
|
3357
3445
|
margin-top: 1.5rem;
|
|
3358
3446
|
}`);
|
|
3359
|
-
var
|
|
3447
|
+
var __default41 = { "dialog": "Modal-module_dialog", "content": "Modal-module_content", "header": "Modal-module_header", "title": "Modal-module_title", "closeBtn": "Modal-module_closeBtn", "body": "Modal-module_body", "footer": "Modal-module_footer" };
|
|
3360
3448
|
function Modal({
|
|
3361
3449
|
open,
|
|
3362
3450
|
onClose,
|
|
@@ -3386,23 +3474,23 @@ function Modal({
|
|
|
3386
3474
|
ref: dialogRef,
|
|
3387
3475
|
onClose,
|
|
3388
3476
|
onClick: handleBackdropClick,
|
|
3389
|
-
className: `${
|
|
3390
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3391
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3392
|
-
title && /* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
3477
|
+
className: `${__default41.dialog}${className ? ` ${className}` : ""}`,
|
|
3478
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default41.content, children: [
|
|
3479
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default41.header, children: [
|
|
3480
|
+
title && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: __default41.title, children: title }),
|
|
3393
3481
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3394
3482
|
"button",
|
|
3395
3483
|
{
|
|
3396
3484
|
type: "button",
|
|
3397
3485
|
onClick: onClose,
|
|
3398
|
-
className:
|
|
3486
|
+
className: __default41.closeBtn,
|
|
3399
3487
|
"aria-label": "Close",
|
|
3400
3488
|
children: /* @__PURE__ */ jsxRuntime.jsx(IconlyClose, { size: 20 })
|
|
3401
3489
|
}
|
|
3402
3490
|
)
|
|
3403
3491
|
] }),
|
|
3404
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3405
|
-
footer && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3492
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default41.body, children }),
|
|
3493
|
+
footer && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default41.footer, children: footer })
|
|
3406
3494
|
] })
|
|
3407
3495
|
}
|
|
3408
3496
|
);
|
|
@@ -3493,7 +3581,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
3493
3581
|
border: none;
|
|
3494
3582
|
border-top: 1px solid var(--border-color);
|
|
3495
3583
|
}`);
|
|
3496
|
-
var
|
|
3584
|
+
var __default42 = { "root": "DropdownMenu-module_root", "trigger": "DropdownMenu-module_trigger", "menu": "DropdownMenu-module_menu", "alignLeft": "DropdownMenu-module_alignLeft", "alignRight": "DropdownMenu-module_alignRight", "item": "DropdownMenu-module_item", "itemIcon": "DropdownMenu-module_itemIcon", "divider": "DropdownMenu-module_divider" };
|
|
3497
3585
|
function DropdownMenu({
|
|
3498
3586
|
trigger,
|
|
3499
3587
|
items,
|
|
@@ -3561,7 +3649,7 @@ function DropdownMenu({
|
|
|
3561
3649
|
openMenu();
|
|
3562
3650
|
}
|
|
3563
3651
|
};
|
|
3564
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: containerRef, className: `${
|
|
3652
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: containerRef, className: `${__default42.root} ${className}`, children: [
|
|
3565
3653
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3566
3654
|
"div",
|
|
3567
3655
|
{
|
|
@@ -3570,7 +3658,7 @@ function DropdownMenu({
|
|
|
3570
3658
|
tabIndex: 0,
|
|
3571
3659
|
onClick: () => isOpen ? closeMenu() : openMenu(),
|
|
3572
3660
|
onKeyDown: handleTriggerKeyDown,
|
|
3573
|
-
className:
|
|
3661
|
+
className: __default42.trigger,
|
|
3574
3662
|
"aria-haspopup": "true",
|
|
3575
3663
|
"aria-expanded": isOpen,
|
|
3576
3664
|
children: trigger
|
|
@@ -3581,9 +3669,9 @@ function DropdownMenu({
|
|
|
3581
3669
|
{
|
|
3582
3670
|
role: "menu",
|
|
3583
3671
|
onKeyDown: handleMenuKeyDown,
|
|
3584
|
-
className: `${
|
|
3672
|
+
className: `${__default42.menu} ${align === "right" ? __default42.alignRight : __default42.alignLeft}`,
|
|
3585
3673
|
children: items.map((item, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
3586
|
-
item.divider && /* @__PURE__ */ jsxRuntime.jsx("hr", { className:
|
|
3674
|
+
item.divider && /* @__PURE__ */ jsxRuntime.jsx("hr", { className: __default42.divider }),
|
|
3587
3675
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
3588
3676
|
"button",
|
|
3589
3677
|
{
|
|
@@ -3597,9 +3685,9 @@ function DropdownMenu({
|
|
|
3597
3685
|
item.onClick();
|
|
3598
3686
|
closeMenu();
|
|
3599
3687
|
},
|
|
3600
|
-
className:
|
|
3688
|
+
className: __default42.item,
|
|
3601
3689
|
children: [
|
|
3602
|
-
item.icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
3690
|
+
item.icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default42.itemIcon, children: item.icon }),
|
|
3603
3691
|
item.label
|
|
3604
3692
|
]
|
|
3605
3693
|
}
|
|
@@ -3671,7 +3759,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
3671
3759
|
color: var(--bg);
|
|
3672
3760
|
cursor: default;
|
|
3673
3761
|
}`);
|
|
3674
|
-
var
|
|
3762
|
+
var __default43 = { "root": "SegmentedControl-module_root", "sm": "SegmentedControl-module_sm", "segment": "SegmentedControl-module_segment", "md": "SegmentedControl-module_md", "segmentActive": "SegmentedControl-module_segmentActive" };
|
|
3675
3763
|
function SegmentedControl({
|
|
3676
3764
|
options,
|
|
3677
3765
|
value,
|
|
@@ -3685,7 +3773,7 @@ function SegmentedControl({
|
|
|
3685
3773
|
{
|
|
3686
3774
|
role: "group",
|
|
3687
3775
|
"aria-label": ariaLabel,
|
|
3688
|
-
className: `${
|
|
3776
|
+
className: `${__default43.root} ${__default43[size]}${className ? ` ${className}` : ""}`,
|
|
3689
3777
|
children: options.map((option) => {
|
|
3690
3778
|
const isActive = option.value === value;
|
|
3691
3779
|
const isDisabled = option.disabled || false;
|
|
@@ -3695,7 +3783,7 @@ function SegmentedControl({
|
|
|
3695
3783
|
type: "button",
|
|
3696
3784
|
"aria-pressed": isActive,
|
|
3697
3785
|
disabled: isDisabled,
|
|
3698
|
-
className: `${
|
|
3786
|
+
className: `${__default43.segment}${isActive ? ` ${__default43.segmentActive}` : ""}`,
|
|
3699
3787
|
onClick: () => {
|
|
3700
3788
|
if (isActive || isDisabled) return;
|
|
3701
3789
|
onChange(option.value);
|
|
@@ -3821,25 +3909,25 @@ __styleInject(`@charset "UTF-8";
|
|
|
3821
3909
|
padding-top: 1rem;
|
|
3822
3910
|
border-top: 1px solid var(--border-color);
|
|
3823
3911
|
}`);
|
|
3824
|
-
var
|
|
3912
|
+
var __default44 = { "root": "Header-module_root", "container": "Header-module_container", "bar": "Header-module_bar", "leftGroup": "Header-module_leftGroup", "desktopNav": "Header-module_desktopNav", "navLink": "Header-module_navLink", "desktopActions": "Header-module_desktopActions", "mobileToggle": "Header-module_mobileToggle", "mobileMenu": "Header-module_mobileMenu", "mobileNav": "Header-module_mobileNav", "mobileActions": "Header-module_mobileActions" };
|
|
3825
3913
|
function Header({ logo, navItems = [], actions, className = "" }) {
|
|
3826
3914
|
const [mobileOpen, setMobileOpen] = react.useState(false);
|
|
3827
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("header", { className: `${
|
|
3828
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3829
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3915
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("header", { className: `${__default44.root}${className ? ` ${className}` : ""}`, children: [
|
|
3916
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default44.container, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default44.bar, children: [
|
|
3917
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default44.leftGroup, children: [
|
|
3830
3918
|
logo,
|
|
3831
|
-
/* @__PURE__ */ jsxRuntime.jsx("nav", { className:
|
|
3919
|
+
/* @__PURE__ */ jsxRuntime.jsx("nav", { className: __default44.desktopNav, children: navItems.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3832
3920
|
"a",
|
|
3833
3921
|
{
|
|
3834
3922
|
href: item.href,
|
|
3835
|
-
className:
|
|
3923
|
+
className: __default44.navLink,
|
|
3836
3924
|
children: item.label
|
|
3837
3925
|
},
|
|
3838
3926
|
item.label
|
|
3839
3927
|
)) })
|
|
3840
3928
|
] }),
|
|
3841
|
-
actions && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3842
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3929
|
+
actions && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default44.desktopActions, children: actions }),
|
|
3930
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default44.mobileToggle, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3843
3931
|
IconButton,
|
|
3844
3932
|
{
|
|
3845
3933
|
variant: "primary",
|
|
@@ -3849,17 +3937,17 @@ function Header({ logo, navItems = [], actions, className = "" }) {
|
|
|
3849
3937
|
}
|
|
3850
3938
|
) })
|
|
3851
3939
|
] }) }),
|
|
3852
|
-
mobileOpen && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
3853
|
-
/* @__PURE__ */ jsxRuntime.jsx("nav", { className:
|
|
3940
|
+
mobileOpen && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default44.mobileMenu, children: [
|
|
3941
|
+
/* @__PURE__ */ jsxRuntime.jsx("nav", { className: __default44.mobileNav, children: navItems.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3854
3942
|
"a",
|
|
3855
3943
|
{
|
|
3856
3944
|
href: item.href,
|
|
3857
|
-
className:
|
|
3945
|
+
className: __default44.navLink,
|
|
3858
3946
|
children: item.label
|
|
3859
3947
|
},
|
|
3860
3948
|
item.label
|
|
3861
3949
|
)) }),
|
|
3862
|
-
actions && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3950
|
+
actions && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default44.mobileActions, children: actions })
|
|
3863
3951
|
] })
|
|
3864
3952
|
] });
|
|
3865
3953
|
}
|
|
@@ -3993,7 +4081,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
3993
4081
|
.Footer-module_socialLink:hover {
|
|
3994
4082
|
color: var(--fg);
|
|
3995
4083
|
}`);
|
|
3996
|
-
var
|
|
4084
|
+
var __default45 = { "root": "Footer-module_root", "container": "Footer-module_container", "grid": "Footer-module_grid", "brandCell": "Footer-module_brandCell", "tagline": "Footer-module_tagline", "columnTitle": "Footer-module_columnTitle", "linkList": "Footer-module_linkList", "link": "Footer-module_link", "bottom": "Footer-module_bottom", "copyright": "Footer-module_copyright", "socials": "Footer-module_socials", "socialLink": "Footer-module_socialLink" };
|
|
3997
4085
|
function Footer({
|
|
3998
4086
|
brand,
|
|
3999
4087
|
columns,
|
|
@@ -4004,24 +4092,24 @@ function Footer({
|
|
|
4004
4092
|
const hasBrand = !!(brand && (brand.logo || brand.tagline));
|
|
4005
4093
|
const hasGrid = hasBrand || columns && columns.length > 0;
|
|
4006
4094
|
const hasBottom = !!copyright || socials && socials.length > 0;
|
|
4007
|
-
return /* @__PURE__ */ jsxRuntime.jsx("footer", { className: `${
|
|
4008
|
-
hasGrid && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
4009
|
-
hasBrand && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
4095
|
+
return /* @__PURE__ */ jsxRuntime.jsx("footer", { className: `${__default45.root}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default45.container, children: [
|
|
4096
|
+
hasGrid && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default45.grid, children: [
|
|
4097
|
+
hasBrand && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default45.brandCell, children: [
|
|
4010
4098
|
brand == null ? void 0 : brand.logo,
|
|
4011
|
-
(brand == null ? void 0 : brand.tagline) && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
4099
|
+
(brand == null ? void 0 : brand.tagline) && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default45.tagline, children: brand.tagline })
|
|
4012
4100
|
] }),
|
|
4013
4101
|
columns == null ? void 0 : columns.map((col, ci) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
4014
|
-
/* @__PURE__ */ jsxRuntime.jsx("h4", { className:
|
|
4015
|
-
/* @__PURE__ */ jsxRuntime.jsx("ul", { className:
|
|
4102
|
+
/* @__PURE__ */ jsxRuntime.jsx("h4", { className: __default45.columnTitle, children: col.title }),
|
|
4103
|
+
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: __default45.linkList, children: col.links.map((link, li) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: link.href, className: __default45.link, children: link.label }) }, `${ci}-${li}-${link.label}`)) })
|
|
4016
4104
|
] }, `${ci}-${col.title}`))
|
|
4017
4105
|
] }),
|
|
4018
|
-
hasBottom && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
4019
|
-
copyright && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
4020
|
-
socials && socials.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
4106
|
+
hasBottom && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default45.bottom, children: [
|
|
4107
|
+
copyright && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default45.copyright, children: copyright }),
|
|
4108
|
+
socials && socials.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default45.socials, children: socials.map((social, si) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
4021
4109
|
"a",
|
|
4022
4110
|
{
|
|
4023
4111
|
href: social.href,
|
|
4024
|
-
className:
|
|
4112
|
+
className: __default45.socialLink,
|
|
4025
4113
|
children: social.label
|
|
4026
4114
|
},
|
|
4027
4115
|
`${si}-${social.label}`
|
|
@@ -4117,7 +4205,7 @@ __styleInject(`.PricingCard-module_root {
|
|
|
4117
4205
|
.PricingCard-module_cta {
|
|
4118
4206
|
width: 100%;
|
|
4119
4207
|
}`);
|
|
4120
|
-
var
|
|
4208
|
+
var __default46 = { "root": "PricingCard-module_root", "highlighted": "PricingCard-module_highlighted", "badgeWrap": "PricingCard-module_badgeWrap", "header": "PricingCard-module_header", "plan": "PricingCard-module_plan", "description": "PricingCard-module_description", "priceBlock": "PricingCard-module_priceBlock", "price": "PricingCard-module_price", "period": "PricingCard-module_period", "features": "PricingCard-module_features", "featureItem": "PricingCard-module_featureItem", "featureItemExcluded": "PricingCard-module_featureItemExcluded", "featureIcon": "PricingCard-module_featureIcon", "featureIconExcluded": "PricingCard-module_featureIconExcluded", "cta": "PricingCard-module_cta" };
|
|
4121
4209
|
function PricingCard({
|
|
4122
4210
|
plan,
|
|
4123
4211
|
price,
|
|
@@ -4132,26 +4220,26 @@ function PricingCard({
|
|
|
4132
4220
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4133
4221
|
"div",
|
|
4134
4222
|
{
|
|
4135
|
-
className: `${
|
|
4223
|
+
className: `${__default46.root}${highlighted ? ` ${__default46.highlighted}` : ""}${className ? ` ${className}` : ""}`,
|
|
4136
4224
|
children: [
|
|
4137
|
-
badge && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
4138
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
4139
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
4140
|
-
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
4225
|
+
badge && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default46.badgeWrap, children: /* @__PURE__ */ jsxRuntime.jsx(Badge, { color: "info", children: badge }) }),
|
|
4226
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default46.header, children: [
|
|
4227
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: __default46.plan, children: plan }),
|
|
4228
|
+
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default46.description, children: description })
|
|
4141
4229
|
] }),
|
|
4142
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
4143
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
4144
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
4230
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default46.priceBlock, children: [
|
|
4231
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default46.price, children: price }),
|
|
4232
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default46.period, children: period })
|
|
4145
4233
|
] }),
|
|
4146
|
-
/* @__PURE__ */ jsxRuntime.jsx("ul", { className:
|
|
4234
|
+
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: __default46.features, children: features.map((feature, i) => {
|
|
4147
4235
|
const text = typeof feature === "string" ? feature : feature.text;
|
|
4148
4236
|
const isExcluded = typeof feature === "object" && feature.included === false;
|
|
4149
4237
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4150
4238
|
"li",
|
|
4151
4239
|
{
|
|
4152
|
-
className: `${
|
|
4240
|
+
className: `${__default46.featureItem}${isExcluded ? ` ${__default46.featureItemExcluded}` : ""}`,
|
|
4153
4241
|
children: [
|
|
4154
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: `${
|
|
4242
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: `${__default46.featureIcon}${isExcluded ? ` ${__default46.featureIconExcluded}` : ""}`, children: isExcluded ? /* @__PURE__ */ jsxRuntime.jsx(IconlyClose, { size: 16 }) : /* @__PURE__ */ jsxRuntime.jsx(IconlyCheck, { size: 16 }) }),
|
|
4155
4243
|
text
|
|
4156
4244
|
]
|
|
4157
4245
|
},
|
|
@@ -4162,7 +4250,7 @@ function PricingCard({
|
|
|
4162
4250
|
Button,
|
|
4163
4251
|
{
|
|
4164
4252
|
variant: highlighted ? "primary" : "outline",
|
|
4165
|
-
className:
|
|
4253
|
+
className: __default46.cta,
|
|
4166
4254
|
onClick: cta.onClick,
|
|
4167
4255
|
children: cta.label
|
|
4168
4256
|
}
|
|
@@ -4210,21 +4298,21 @@ __styleInject(`.TestimonialCard-module_root {
|
|
|
4210
4298
|
font-size: 0.75rem;
|
|
4211
4299
|
color: var(--fg-muted);
|
|
4212
4300
|
}`);
|
|
4213
|
-
var
|
|
4301
|
+
var __default47 = { "root": "TestimonialCard-module_root", "quoteIcon": "TestimonialCard-module_quoteIcon", "quoteText": "TestimonialCard-module_quoteText", "author": "TestimonialCard-module_author", "authorName": "TestimonialCard-module_authorName", "authorRole": "TestimonialCard-module_authorRole" };
|
|
4214
4302
|
function TestimonialCard({ quote, name, role, avatarSrc, className = "" }) {
|
|
4215
4303
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase();
|
|
4216
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
4217
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
4218
|
-
/* @__PURE__ */ jsxRuntime.jsxs("p", { className:
|
|
4304
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default47.root}${className ? ` ${className}` : ""}`, children: [
|
|
4305
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default47.quoteIcon, children: /* @__PURE__ */ jsxRuntime.jsx(IconlyQuote, { size: 32 }) }),
|
|
4306
|
+
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: __default47.quoteText, children: [
|
|
4219
4307
|
"\u201C",
|
|
4220
4308
|
quote,
|
|
4221
4309
|
"\u201D"
|
|
4222
4310
|
] }),
|
|
4223
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
4311
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default47.author, children: [
|
|
4224
4312
|
/* @__PURE__ */ jsxRuntime.jsx(Avatar, { src: avatarSrc, initials, size: "sm" }),
|
|
4225
4313
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
4226
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
4227
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
4314
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default47.authorName, children: name }),
|
|
4315
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default47.authorRole, children: role })
|
|
4228
4316
|
] })
|
|
4229
4317
|
] })
|
|
4230
4318
|
] });
|
|
@@ -4296,17 +4384,17 @@ __styleInject(`.FeatureGrid-module_root {
|
|
|
4296
4384
|
color: var(--fg-muted);
|
|
4297
4385
|
line-height: 1.625;
|
|
4298
4386
|
}`);
|
|
4299
|
-
var
|
|
4387
|
+
var __default48 = { "root": "FeatureGrid-module_root", "cols2": "FeatureGrid-module_cols2", "cols3": "FeatureGrid-module_cols3", "cols4": "FeatureGrid-module_cols4", "card": "FeatureGrid-module_card", "cardIcon": "FeatureGrid-module_cardIcon", "cardTitle": "FeatureGrid-module_cardTitle", "cardDescription": "FeatureGrid-module_cardDescription" };
|
|
4300
4388
|
function FeatureGrid({ features, columns = 3, className = "" }) {
|
|
4301
4389
|
const colsClass = {
|
|
4302
|
-
2:
|
|
4303
|
-
3:
|
|
4304
|
-
4:
|
|
4390
|
+
2: __default48.cols2,
|
|
4391
|
+
3: __default48.cols3,
|
|
4392
|
+
4: __default48.cols4
|
|
4305
4393
|
};
|
|
4306
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
4307
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
4308
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
4309
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
4394
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default48.root} ${colsClass[columns]}${className ? ` ${className}` : ""}`, children: features.map((feature, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default48.card, children: [
|
|
4395
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default48.cardIcon, children: feature.icon }),
|
|
4396
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: __default48.cardTitle, children: feature.title }),
|
|
4397
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default48.cardDescription, children: feature.description })
|
|
4310
4398
|
] }, i)) });
|
|
4311
4399
|
}
|
|
4312
4400
|
|
|
@@ -4407,7 +4495,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
4407
4495
|
display: block;
|
|
4408
4496
|
}
|
|
4409
4497
|
}`);
|
|
4410
|
-
var
|
|
4498
|
+
var __default49 = { "root": "Sidebar-module_root", "menu": "Sidebar-module_menu", "courseSubmenu": "Sidebar-module_courseSubmenu", "logo": "Sidebar-module_logo", "compact": "Sidebar-module_compact", "footer": "Sidebar-module_footer", "nav": "Sidebar-module_nav", "legal": "Sidebar-module_legal", "overlay": "Sidebar-module_overlay", "collapsed": "Sidebar-module_collapsed", "open": "Sidebar-module_open", "overlayVisible": "Sidebar-module_overlayVisible" };
|
|
4411
4499
|
var defaultMenuItems = [
|
|
4412
4500
|
"\u0413\u043B\u0430\u0432\u043D\u0430\u044F",
|
|
4413
4501
|
"\u041C\u043E\u0438 \u043A\u0443\u0440\u0441\u044B",
|
|
@@ -4451,19 +4539,19 @@ function Sidebar({
|
|
|
4451
4539
|
const items = normaliseItems(rawItems);
|
|
4452
4540
|
const [internalActive, setInternalActive] = react.useState(0);
|
|
4453
4541
|
const isControlled = activeId !== void 0;
|
|
4454
|
-
const widthClass = type === "courseSubmenu" ?
|
|
4542
|
+
const widthClass = type === "courseSubmenu" ? __default49.courseSubmenu : __default49.menu;
|
|
4455
4543
|
const showLegal = legalText !== null;
|
|
4456
4544
|
const legalContent = legalText === void 0 ? DEFAULT_LEGAL : legalText;
|
|
4457
4545
|
const isOpen = collapsed === false;
|
|
4458
4546
|
const collapseClasses = [
|
|
4459
|
-
collapsed ?
|
|
4460
|
-
isOpen ?
|
|
4547
|
+
collapsed ? __default49.collapsed : "",
|
|
4548
|
+
isOpen ? __default49.open : ""
|
|
4461
4549
|
].filter(Boolean).join(" ");
|
|
4462
4550
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4463
4551
|
onToggle && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4464
4552
|
"div",
|
|
4465
4553
|
{
|
|
4466
|
-
className: `${
|
|
4554
|
+
className: `${__default49.overlay}${isOpen ? ` ${__default49.overlayVisible}` : ""}`,
|
|
4467
4555
|
onClick: onToggle,
|
|
4468
4556
|
"aria-hidden": "true"
|
|
4469
4557
|
}
|
|
@@ -4471,10 +4559,10 @@ function Sidebar({
|
|
|
4471
4559
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4472
4560
|
"aside",
|
|
4473
4561
|
{
|
|
4474
|
-
className: `${
|
|
4562
|
+
className: `${__default49.root} ${widthClass}${layout === "compact" ? ` ${__default49.compact}` : ""}${collapseClasses ? ` ${collapseClasses}` : ""}${className ? ` ${className}` : ""}`,
|
|
4475
4563
|
children: [
|
|
4476
|
-
logo && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
4477
|
-
/* @__PURE__ */ jsxRuntime.jsx("nav", { className:
|
|
4564
|
+
logo && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default49.logo, children: logo }),
|
|
4565
|
+
/* @__PURE__ */ jsxRuntime.jsx("nav", { className: __default49.nav, children: items.map((item, i) => {
|
|
4478
4566
|
const isActive = isControlled ? item.id === activeId : i === internalActive;
|
|
4479
4567
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4480
4568
|
MenuItem,
|
|
@@ -4490,9 +4578,9 @@ function Sidebar({
|
|
|
4490
4578
|
item.id
|
|
4491
4579
|
);
|
|
4492
4580
|
}) }),
|
|
4493
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
4581
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default49.footer, children: [
|
|
4494
4582
|
type === "menu" && footer,
|
|
4495
|
-
showLegal && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
4583
|
+
showLegal && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default49.legal, children: legalContent })
|
|
4496
4584
|
] })
|
|
4497
4585
|
]
|
|
4498
4586
|
}
|
|
@@ -4602,7 +4690,7 @@ __styleInject(`.AppCard-module_defaultCard {
|
|
|
4602
4690
|
.AppCard-module_stampBg {
|
|
4603
4691
|
background: var(--bg);
|
|
4604
4692
|
}`);
|
|
4605
|
-
var
|
|
4693
|
+
var __default50 = { "defaultCard": "AppCard-module_defaultCard", "stampCard": "AppCard-module_stampCard", "imageWrap": "AppCard-module_imageWrap", "imageWrapRounded": "AppCard-module_imageWrapRounded AppCard-module_imageWrap", "image": "AppCard-module_image", "contentDefaultNoImage": "AppCard-module_contentDefaultNoImage AppCard-module_contentDefault AppCard-module_contentArea", "contentDefaultWithImage": "AppCard-module_contentDefaultWithImage AppCard-module_contentDefault AppCard-module_contentArea", "contentStamp": "AppCard-module_contentStamp AppCard-module_contentArea", "textGroup": "AppCard-module_textGroup", "cardTitle": "AppCard-module_cardTitle", "cardDesc": "AppCard-module_cardDesc", "footer": "AppCard-module_footer", "iconRow": "AppCard-module_iconRow", "shadowWrap": "AppCard-module_shadowWrap", "stampBg": "AppCard-module_stampBg" };
|
|
4606
4694
|
var HOLE_R = 4;
|
|
4607
4695
|
var HOLE_SP = 16;
|
|
4608
4696
|
function buildStampMask(w, h) {
|
|
@@ -4629,18 +4717,18 @@ function CardContent({
|
|
|
4629
4717
|
isStamp
|
|
4630
4718
|
}) {
|
|
4631
4719
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4632
|
-
image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: isStamp ?
|
|
4720
|
+
image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: isStamp ? __default50.imageWrap : __default50.imageWrapRounded, children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: image, alt: title, className: __default50.image }) }),
|
|
4633
4721
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4634
4722
|
"div",
|
|
4635
4723
|
{
|
|
4636
|
-
className: isStamp ?
|
|
4724
|
+
className: isStamp ? __default50.contentStamp : image ? __default50.contentDefaultWithImage : __default50.contentDefaultNoImage,
|
|
4637
4725
|
children: [
|
|
4638
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
4639
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
4640
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
4726
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default50.textGroup, children: [
|
|
4727
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: __default50.cardTitle, children: title }),
|
|
4728
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default50.cardDesc, children: description })
|
|
4641
4729
|
] }),
|
|
4642
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
4643
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
4730
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default50.footer, children: [
|
|
4731
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default50.iconRow, children: icons }),
|
|
4644
4732
|
/* @__PURE__ */ jsxRuntime.jsx(Button, { variant: buttonVariant === "outline" ? "outline" : "primary", size: "md", onClick: onButtonClick, children: buttonText })
|
|
4645
4733
|
] })
|
|
4646
4734
|
]
|
|
@@ -4657,7 +4745,7 @@ function AppCard(_a) {
|
|
|
4657
4745
|
"className"
|
|
4658
4746
|
]);
|
|
4659
4747
|
if (variant === "default") {
|
|
4660
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
4748
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default50.defaultCard}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsx(CardContent, __spreadProps(__spreadValues({}, contentProps), { isStamp: false })) });
|
|
4661
4749
|
}
|
|
4662
4750
|
const padded = variant === "stamp-padded";
|
|
4663
4751
|
return /* @__PURE__ */ jsxRuntime.jsx(StampWrapper, { className, padded, children: /* @__PURE__ */ jsxRuntime.jsx(CardContent, __spreadProps(__spreadValues({}, contentProps), { isStamp: true })) });
|
|
@@ -4683,7 +4771,7 @@ function StampWrapper({ children, className, padded }) {
|
|
|
4683
4771
|
ro.disconnect();
|
|
4684
4772
|
};
|
|
4685
4773
|
}, [build]);
|
|
4686
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: `${
|
|
4774
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: `${__default50.stampCard}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default50.shadowWrap, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4687
4775
|
"div",
|
|
4688
4776
|
{
|
|
4689
4777
|
style: {
|
|
@@ -4692,7 +4780,7 @@ function StampWrapper({ children, className, padded }) {
|
|
|
4692
4780
|
WebkitMaskSize: "100% 100%",
|
|
4693
4781
|
maskSize: "100% 100%"
|
|
4694
4782
|
},
|
|
4695
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
4783
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default50.stampBg, style: padded ? { padding: STAMP_PADDING } : void 0, children })
|
|
4696
4784
|
}
|
|
4697
4785
|
) }) });
|
|
4698
4786
|
}
|
|
@@ -4705,7 +4793,7 @@ __styleInject(`.AppTopLine-module_root {
|
|
|
4705
4793
|
justify-content: space-between;
|
|
4706
4794
|
width: 100%;
|
|
4707
4795
|
}`);
|
|
4708
|
-
var
|
|
4796
|
+
var __default51 = { "root": "AppTopLine-module_root" };
|
|
4709
4797
|
function AppTopLine({
|
|
4710
4798
|
promoText = "\u0412\u0430\u043C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0441\u043A\u0438\u0434\u043A\u0430 10% \u043D\u0430 \u0432\u0441\u0435 \u043F\u043B\u0430\u0442\u043D\u044B\u0435 \u043A\u0443\u0440\u0441\u044B",
|
|
4711
4799
|
promoButtonText = "\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",
|
|
@@ -4718,7 +4806,7 @@ function AppTopLine({
|
|
|
4718
4806
|
avatarSrc,
|
|
4719
4807
|
className = ""
|
|
4720
4808
|
}) {
|
|
4721
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
4809
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default51.root}${className ? ` ${className}` : ""}`, children: [
|
|
4722
4810
|
/* @__PURE__ */ jsxRuntime.jsx(TopPromo, { text: promoText, buttonText: promoButtonText }),
|
|
4723
4811
|
/* @__PURE__ */ jsxRuntime.jsx(ProfileNav, { stats, avatarSrc })
|
|
4724
4812
|
] });
|
|
@@ -4759,13 +4847,13 @@ __styleInject(`.EmptyState-module_root {
|
|
|
4759
4847
|
.EmptyState-module_action {
|
|
4760
4848
|
margin-top: 1.25rem;
|
|
4761
4849
|
}`);
|
|
4762
|
-
var
|
|
4850
|
+
var __default52 = { "root": "EmptyState-module_root", "icon": "EmptyState-module_icon", "title": "EmptyState-module_title", "description": "EmptyState-module_description", "action": "EmptyState-module_action" };
|
|
4763
4851
|
function EmptyState({ icon, title, description, action, className = "" }) {
|
|
4764
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
4765
|
-
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
4766
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
4767
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
4768
|
-
action && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
4852
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default52.root}${className ? ` ${className}` : ""}`, children: [
|
|
4853
|
+
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default52.icon, children: icon }),
|
|
4854
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: __default52.title, children: title }),
|
|
4855
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default52.description, children: description }),
|
|
4856
|
+
action && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default52.action, children: action })
|
|
4769
4857
|
] });
|
|
4770
4858
|
}
|
|
4771
4859
|
|
|
@@ -4813,6 +4901,18 @@ __styleInject(`@charset "UTF-8";
|
|
|
4813
4901
|
}
|
|
4814
4902
|
}
|
|
4815
4903
|
|
|
4904
|
+
/* Opt-in \u0434\u043B\u044F consumer'\u043E\u0432, \u0443 \u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C \u0443\u0436\u0435 \u0437\u0430\u0434\u0430\u0451\u0442 vertical rhythm.
|
|
4905
|
+
\u041E\u0431\u044A\u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043F\u043E\u0441\u043B\u0435 \`.inner\` / \`.innerCompact\` \u2014 \u043F\u0440\u0438 applied \u043A\u0430\u043A \u0432\u0442\u043E\u0440\u043E\u0439
|
|
4906
|
+
\u043A\u043B\u0430\u0441\u0441 \u043F\u0435\u0440\u0435\u043A\u0440\u044B\u0432\u0430\u0435\u0442 \u0438\u0445 \`padding-block\` \u0437\u0430 \u0441\u0447\u0451\u0442 source-order specificity. */
|
|
4907
|
+
.HeroSection-module_innerNoVertical {
|
|
4908
|
+
padding-block: 0;
|
|
4909
|
+
}
|
|
4910
|
+
@media (min-width: 768px) {
|
|
4911
|
+
.HeroSection-module_innerNoVertical {
|
|
4912
|
+
padding-block: 0;
|
|
4913
|
+
}
|
|
4914
|
+
}
|
|
4915
|
+
|
|
4816
4916
|
.HeroSection-module_content {
|
|
4817
4917
|
max-width: 56rem;
|
|
4818
4918
|
}
|
|
@@ -4957,7 +5057,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
4957
5057
|
overflow: hidden;
|
|
4958
5058
|
background: var(--bg-secondary);
|
|
4959
5059
|
}`);
|
|
4960
|
-
var
|
|
5060
|
+
var __default53 = { "root": "HeroSection-module_root", "bgGlow": "HeroSection-module_bgGlow", "glowOrb": "HeroSection-module_glowOrb", "inner": "HeroSection-module_inner", "innerCompact": "HeroSection-module_innerCompact", "innerNoVertical": "HeroSection-module_innerNoVertical", "content": "HeroSection-module_content", "contentCenter": "HeroSection-module_contentCenter HeroSection-module_content", "eyebrowWrap": "HeroSection-module_eyebrowWrap", "eyebrowCenter": "HeroSection-module_eyebrowCenter", "eyebrow": "HeroSection-module_eyebrow", "eyebrowDot": "HeroSection-module_eyebrowDot", "title": "HeroSection-module_title", "subtitle": "HeroSection-module_subtitle", "subtitleCenter": "HeroSection-module_subtitleCenter", "actions": "HeroSection-module_actions", "actionsCenter": "HeroSection-module_actionsCenter", "mediaWrapCenter": "HeroSection-module_mediaWrapCenter HeroSection-module_mediaWrap", "mediaWrapLeft": "HeroSection-module_mediaWrapLeft HeroSection-module_mediaWrap", "splitGrid": "HeroSection-module_splitGrid", "mediaSplit": "HeroSection-module_mediaSplit", "mediaBox": "HeroSection-module_mediaBox" };
|
|
4961
5061
|
function HeroSection({
|
|
4962
5062
|
eyebrow,
|
|
4963
5063
|
title,
|
|
@@ -4967,36 +5067,43 @@ function HeroSection({
|
|
|
4967
5067
|
align = "center",
|
|
4968
5068
|
size = "default",
|
|
4969
5069
|
mediaPosition = "left",
|
|
5070
|
+
verticalPadding = "default",
|
|
4970
5071
|
className = ""
|
|
4971
5072
|
}) {
|
|
4972
5073
|
const isCenter = align === "center";
|
|
4973
5074
|
const isCompact = size === "compact";
|
|
4974
5075
|
const isSplitRight = !isCenter && mediaPosition === "right" && !!media;
|
|
4975
|
-
const contentBlock = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: isCenter ?
|
|
4976
|
-
eyebrow && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
4977
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
5076
|
+
const contentBlock = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: isCenter ? __default53.contentCenter : __default53.content, children: [
|
|
5077
|
+
eyebrow && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default53.eyebrowWrap}${isCenter ? ` ${__default53.eyebrowCenter}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: __default53.eyebrow, children: [
|
|
5078
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default53.eyebrowDot }),
|
|
4978
5079
|
eyebrow
|
|
4979
5080
|
] }) }),
|
|
4980
|
-
/* @__PURE__ */ jsxRuntime.jsx("h1", { className:
|
|
4981
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${
|
|
4982
|
-
actions && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
5081
|
+
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: __default53.title, children: title }),
|
|
5082
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${__default53.subtitle}${isCenter ? ` ${__default53.subtitleCenter}` : ""}`, children: subtitle }),
|
|
5083
|
+
actions && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default53.actions}${isCenter ? ` ${__default53.actionsCenter}` : ""}`, children: actions })
|
|
4983
5084
|
] });
|
|
4984
5085
|
const mediaBlock = media && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4985
5086
|
"div",
|
|
4986
5087
|
{
|
|
4987
|
-
className: isSplitRight ?
|
|
4988
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5088
|
+
className: isSplitRight ? __default53.mediaSplit : isCenter ? __default53.mediaWrapCenter : __default53.mediaWrapLeft,
|
|
5089
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default53.mediaBox, children: media })
|
|
4989
5090
|
}
|
|
4990
5091
|
);
|
|
4991
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${
|
|
4992
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
4993
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5092
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${__default53.root}${className ? ` ${className}` : ""}`, children: [
|
|
5093
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default53.bgGlow, "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default53.glowOrb }) }),
|
|
5094
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5095
|
+
"div",
|
|
5096
|
+
{
|
|
5097
|
+
className: `${isCompact ? __default53.innerCompact : __default53.inner}${verticalPadding === "none" ? ` ${__default53.innerNoVertical}` : ""}`,
|
|
5098
|
+
children: isSplitRight ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default53.splitGrid, children: [
|
|
5099
|
+
contentBlock,
|
|
5100
|
+
mediaBlock
|
|
5101
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5102
|
+
contentBlock,
|
|
5103
|
+
mediaBlock
|
|
5104
|
+
] })
|
|
5105
|
+
}
|
|
5106
|
+
)
|
|
5000
5107
|
] });
|
|
5001
5108
|
}
|
|
5002
5109
|
|
|
@@ -5068,15 +5175,15 @@ __styleInject(`.LogoCloud-module_root {
|
|
|
5068
5175
|
font-size: 1rem;
|
|
5069
5176
|
}
|
|
5070
5177
|
}`);
|
|
5071
|
-
var
|
|
5178
|
+
var __default54 = { "root": "LogoCloud-module_root", "label": "LogoCloud-module_label", "grid": "LogoCloud-module_grid", "logoItem": "LogoCloud-module_logoItem", "logoImg": "LogoCloud-module_logoImg", "logoText": "LogoCloud-module_logoText" };
|
|
5072
5179
|
function LogoCloud({
|
|
5073
5180
|
label = "Trusted by teams at",
|
|
5074
5181
|
logos,
|
|
5075
5182
|
className = ""
|
|
5076
5183
|
}) {
|
|
5077
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${
|
|
5078
|
-
label && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
5079
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5184
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${__default54.root}${className ? ` ${className}` : ""}`, children: [
|
|
5185
|
+
label && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default54.label, children: label }),
|
|
5186
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default54.grid, children: logos.map((logo) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default54.logoItem, children: logo.src ? (
|
|
5080
5187
|
// eslint-disable-next-line @next/next/no-img-element
|
|
5081
5188
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5082
5189
|
"img",
|
|
@@ -5084,10 +5191,10 @@ function LogoCloud({
|
|
|
5084
5191
|
src: logo.src,
|
|
5085
5192
|
alt: logo.name,
|
|
5086
5193
|
width: logo.width || 100,
|
|
5087
|
-
className: `${
|
|
5194
|
+
className: `${__default54.logoImg} logo-img`
|
|
5088
5195
|
}
|
|
5089
5196
|
)
|
|
5090
|
-
) : /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
5197
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default54.logoText, children: logo.name }) }, logo.name)) })
|
|
5091
5198
|
] });
|
|
5092
5199
|
}
|
|
5093
5200
|
|
|
@@ -5183,18 +5290,18 @@ __styleInject(`@charset "UTF-8";
|
|
|
5183
5290
|
color: var(--fg-muted);
|
|
5184
5291
|
letter-spacing: -0.25px;
|
|
5185
5292
|
}`);
|
|
5186
|
-
var
|
|
5293
|
+
var __default55 = { "root": "StatsBar-module_root", "inline": "StatsBar-module_inline", "inlineGrid": "StatsBar-module_inlineGrid", "inlineItem": "StatsBar-module_inlineItem", "cardsGrid": "StatsBar-module_cardsGrid", "card": "StatsBar-module_card", "cardIconWrap": "StatsBar-module_cardIconWrap", "statValue": "StatsBar-module_statValue", "statLabel": "StatsBar-module_statLabel" };
|
|
5187
5294
|
function StatsBar({ stats, variant = "inline", className = "" }) {
|
|
5188
5295
|
if (variant === "cards") {
|
|
5189
|
-
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${
|
|
5190
|
-
stat.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5191
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5192
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5296
|
+
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${__default55.root}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default55.cardsGrid, children: stats.map((stat, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default55.card, children: [
|
|
5297
|
+
stat.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default55.cardIconWrap, children: stat.icon }),
|
|
5298
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default55.statValue, children: stat.value }),
|
|
5299
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default55.statLabel, children: stat.label })
|
|
5193
5300
|
] }, i)) }) });
|
|
5194
5301
|
}
|
|
5195
|
-
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${
|
|
5196
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5197
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5302
|
+
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${__default55.root} ${__default55.inline}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default55.inlineGrid, children: stats.map((stat, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default55.inlineItem, children: [
|
|
5303
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default55.statValue, children: stat.value }),
|
|
5304
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default55.statLabel, children: stat.label })
|
|
5198
5305
|
] }, i)) }) });
|
|
5199
5306
|
}
|
|
5200
5307
|
|
|
@@ -5214,6 +5321,16 @@ __styleInject(`@charset "UTF-8";
|
|
|
5214
5321
|
}
|
|
5215
5322
|
}
|
|
5216
5323
|
|
|
5324
|
+
/* Opt-in \u0434\u043B\u044F default variant \u2014 \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 vertical rhythm. */
|
|
5325
|
+
.CTASection-module_defaultNoVertical {
|
|
5326
|
+
padding-block: 0;
|
|
5327
|
+
}
|
|
5328
|
+
@media (min-width: 768px) {
|
|
5329
|
+
.CTASection-module_defaultNoVertical {
|
|
5330
|
+
padding-block: 0;
|
|
5331
|
+
}
|
|
5332
|
+
}
|
|
5333
|
+
|
|
5217
5334
|
/* \u2500\u2500\u2500 Variant: filled \u2500\u2500\u2500 */
|
|
5218
5335
|
.CTASection-module_filled {
|
|
5219
5336
|
padding-block: 3rem;
|
|
@@ -5284,24 +5401,27 @@ __styleInject(`@charset "UTF-8";
|
|
|
5284
5401
|
gap: 0.75rem;
|
|
5285
5402
|
justify-content: center;
|
|
5286
5403
|
}`);
|
|
5287
|
-
var
|
|
5404
|
+
var __default56 = { "root": "CTASection-module_root", "default": "CTASection-module_default", "defaultNoVertical": "CTASection-module_defaultNoVertical", "filled": "CTASection-module_filled", "bordered": "CTASection-module_bordered", "inner": "CTASection-module_inner", "title": "CTASection-module_title", "titleFilled": "CTASection-module_titleFilled", "description": "CTASection-module_description", "descriptionFilled": "CTASection-module_descriptionFilled", "actions": "CTASection-module_actions" };
|
|
5288
5405
|
function CTASection({
|
|
5289
5406
|
title,
|
|
5290
5407
|
description,
|
|
5291
5408
|
actions,
|
|
5292
5409
|
variant = "default",
|
|
5410
|
+
verticalPadding = "default",
|
|
5293
5411
|
className = ""
|
|
5294
5412
|
}) {
|
|
5295
5413
|
const isFilled = variant === "filled";
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5414
|
+
const noVerticalClass = variant === "default" && verticalPadding === "none" ? ` ${__default56.defaultNoVertical}` : "";
|
|
5415
|
+
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${__default56.root} ${__default56[variant]}${noVerticalClass}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default56.inner, children: [
|
|
5416
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: `${__default56.title}${isFilled ? ` ${__default56.titleFilled}` : ""}`, children: title }),
|
|
5417
|
+
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${__default56.description}${isFilled ? ` ${__default56.descriptionFilled}` : ""}`, children: description }),
|
|
5418
|
+
actions && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default56.actions, children: actions })
|
|
5300
5419
|
] }) });
|
|
5301
5420
|
}
|
|
5302
5421
|
|
|
5303
5422
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/organisms/BentoGrid.module.scss
|
|
5304
|
-
__styleInject(
|
|
5423
|
+
__styleInject(`@charset "UTF-8";
|
|
5424
|
+
.BentoGrid-module_root {
|
|
5305
5425
|
padding-block: 2.5rem;
|
|
5306
5426
|
}
|
|
5307
5427
|
@media (min-width: 768px) {
|
|
@@ -5310,6 +5430,16 @@ __styleInject(`.BentoGrid-module_root {
|
|
|
5310
5430
|
}
|
|
5311
5431
|
}
|
|
5312
5432
|
|
|
5433
|
+
/* Opt-in \u0434\u043B\u044F consumer'\u043E\u0432 \u0441 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u043C vertical rhythm wrapper'\u043E\u043C. */
|
|
5434
|
+
.BentoGrid-module_rootNoVertical {
|
|
5435
|
+
padding-block: 0;
|
|
5436
|
+
}
|
|
5437
|
+
@media (min-width: 768px) {
|
|
5438
|
+
.BentoGrid-module_rootNoVertical {
|
|
5439
|
+
padding-block: 0;
|
|
5440
|
+
}
|
|
5441
|
+
}
|
|
5442
|
+
|
|
5313
5443
|
.BentoGrid-module_grid {
|
|
5314
5444
|
display: grid;
|
|
5315
5445
|
grid-template-columns: 1fr;
|
|
@@ -5392,21 +5522,22 @@ __styleInject(`.BentoGrid-module_root {
|
|
|
5392
5522
|
line-height: 1.625;
|
|
5393
5523
|
letter-spacing: -0.25px;
|
|
5394
5524
|
}`);
|
|
5395
|
-
var
|
|
5396
|
-
function BentoGrid({ items, className = "" }) {
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
const
|
|
5525
|
+
var __default57 = { "root": "BentoGrid-module_root", "rootNoVertical": "BentoGrid-module_rootNoVertical", "grid": "BentoGrid-module_grid", "item": "BentoGrid-module_item", "colSpan2": "BentoGrid-module_colSpan2", "rowSpan2": "BentoGrid-module_rowSpan2", "mediaWrap": "BentoGrid-module_mediaWrap", "content": "BentoGrid-module_content", "contentTall": "BentoGrid-module_contentTall", "itemIcon": "BentoGrid-module_itemIcon", "itemTitle": "BentoGrid-module_itemTitle", "itemDescription": "BentoGrid-module_itemDescription" };
|
|
5526
|
+
function BentoGrid({ items, verticalPadding = "default", className = "" }) {
|
|
5527
|
+
const noVerticalClass = verticalPadding === "none" ? ` ${__default57.rootNoVertical}` : "";
|
|
5528
|
+
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${__default57.root}${noVerticalClass}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default57.grid, children: items.map((item, i) => {
|
|
5529
|
+
const spanClass = item.span === 2 ? ` ${__default57.colSpan2}` : "";
|
|
5530
|
+
const rowClass = item.rowSpan === 2 ? ` ${__default57.rowSpan2}` : "";
|
|
5400
5531
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5401
5532
|
"div",
|
|
5402
5533
|
{
|
|
5403
|
-
className: `${
|
|
5534
|
+
className: `${__default57.item}${spanClass}${rowClass}${item.className ? ` ${item.className}` : ""}`,
|
|
5404
5535
|
children: [
|
|
5405
|
-
item.media && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5406
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
5407
|
-
item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5408
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
5409
|
-
item.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
5536
|
+
item.media && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default57.mediaWrap, children: item.media }),
|
|
5537
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default57.content}${item.rowSpan === 2 ? ` ${__default57.contentTall}` : ""}`, children: [
|
|
5538
|
+
item.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default57.itemIcon, children: item.icon }),
|
|
5539
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: __default57.itemTitle, children: item.title }),
|
|
5540
|
+
item.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default57.itemDescription, children: item.description })
|
|
5410
5541
|
] })
|
|
5411
5542
|
]
|
|
5412
5543
|
},
|
|
@@ -5521,7 +5652,7 @@ __styleInject(`.FAQSection-module_root {
|
|
|
5521
5652
|
line-height: 1.625;
|
|
5522
5653
|
padding-right: 2rem;
|
|
5523
5654
|
}`);
|
|
5524
|
-
var
|
|
5655
|
+
var __default58 = { "root": "FAQSection-module_root", "container": "FAQSection-module_container", "title": "FAQSection-module_title", "subtitle": "FAQSection-module_subtitle", "list": "FAQSection-module_list", "item": "FAQSection-module_item", "question": "FAQSection-module_question", "questionText": "FAQSection-module_questionText", "toggleIcon": "FAQSection-module_toggleIcon", "toggleIconOpen": "FAQSection-module_toggleIconOpen FAQSection-module_toggleIcon", "answerOpen": "FAQSection-module_answerOpen FAQSection-module_answer", "answerClosed": "FAQSection-module_answerClosed FAQSection-module_answer", "answerText": "FAQSection-module_answerText" };
|
|
5525
5656
|
function FAQSection({
|
|
5526
5657
|
title = "Frequently asked questions",
|
|
5527
5658
|
subtitle,
|
|
@@ -5530,25 +5661,25 @@ function FAQSection({
|
|
|
5530
5661
|
}) {
|
|
5531
5662
|
const [openIndex, setOpenIndex] = react.useState(null);
|
|
5532
5663
|
const toggle = (i) => setOpenIndex(openIndex === i ? null : i);
|
|
5533
|
-
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${
|
|
5534
|
-
title && /* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
5535
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
5536
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: title || subtitle ?
|
|
5664
|
+
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${__default58.root}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default58.container, children: [
|
|
5665
|
+
title && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: __default58.title, children: title }),
|
|
5666
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default58.subtitle, children: subtitle }),
|
|
5667
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: title || subtitle ? __default58.list : "", children: items.map((item, i) => {
|
|
5537
5668
|
const isOpen = openIndex === i;
|
|
5538
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5669
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default58.item, children: [
|
|
5539
5670
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5540
5671
|
"button",
|
|
5541
5672
|
{
|
|
5542
5673
|
onClick: () => toggle(i),
|
|
5543
|
-
className:
|
|
5674
|
+
className: __default58.question,
|
|
5544
5675
|
"aria-expanded": isOpen,
|
|
5545
5676
|
children: [
|
|
5546
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
5547
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: isOpen ?
|
|
5677
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default58.questionText, children: item.question }),
|
|
5678
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: isOpen ? __default58.toggleIconOpen : __default58.toggleIcon, children: /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M7 1v12M1 7h12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }) }) })
|
|
5548
5679
|
]
|
|
5549
5680
|
}
|
|
5550
5681
|
),
|
|
5551
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: isOpen ?
|
|
5682
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: isOpen ? __default58.answerOpen : __default58.answerClosed, children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default58.answerText, children: item.answer }) })
|
|
5552
5683
|
] }, i);
|
|
5553
5684
|
}) })
|
|
5554
5685
|
] }) });
|
|
@@ -5638,32 +5769,32 @@ __styleInject(`.ComparisonTable-module_root {
|
|
|
5638
5769
|
font-weight: 500;
|
|
5639
5770
|
color: var(--fg);
|
|
5640
5771
|
}`);
|
|
5641
|
-
var
|
|
5772
|
+
var __default59 = { "root": "ComparisonTable-module_root", "scrollWrap": "ComparisonTable-module_scrollWrap", "table": "ComparisonTable-module_table", "headerCell": "ComparisonTable-module_headerCell", "columnHeader": "ComparisonTable-module_columnHeader", "columnHeaderHighlighted": "ComparisonTable-module_columnHeaderHighlighted ComparisonTable-module_columnHeader", "bodyRow": "ComparisonTable-module_bodyRow", "featureCell": "ComparisonTable-module_featureCell", "valueCell": "ComparisonTable-module_valueCell", "valueCellHighlighted": "ComparisonTable-module_valueCellHighlighted ComparisonTable-module_valueCell", "valueCellHighlightedLast": "ComparisonTable-module_valueCellHighlightedLast ComparisonTable-module_valueCellHighlighted ComparisonTable-module_valueCell", "iconSuccess": "ComparisonTable-module_iconSuccess", "iconMuted": "ComparisonTable-module_iconMuted", "textValue": "ComparisonTable-module_textValue" };
|
|
5642
5773
|
function ComparisonTable({ columns, rows, className = "" }) {
|
|
5643
|
-
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${
|
|
5774
|
+
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${__default59.root}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default59.scrollWrap, children: /* @__PURE__ */ jsxRuntime.jsxs("table", { className: __default59.table, children: [
|
|
5644
5775
|
/* @__PURE__ */ jsxRuntime.jsx("thead", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
5645
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { className:
|
|
5776
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: __default59.headerCell }),
|
|
5646
5777
|
columns.map((col, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
5647
5778
|
"th",
|
|
5648
5779
|
{
|
|
5649
|
-
className: col.highlighted ?
|
|
5780
|
+
className: col.highlighted ? __default59.columnHeaderHighlighted : __default59.columnHeader,
|
|
5650
5781
|
children: col.label
|
|
5651
5782
|
},
|
|
5652
5783
|
i
|
|
5653
5784
|
))
|
|
5654
5785
|
] }) }),
|
|
5655
|
-
/* @__PURE__ */ jsxRuntime.jsx("tbody", { children: rows.map((row, ri) => /* @__PURE__ */ jsxRuntime.jsxs("tr", { className:
|
|
5656
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className:
|
|
5786
|
+
/* @__PURE__ */ jsxRuntime.jsx("tbody", { children: rows.map((row, ri) => /* @__PURE__ */ jsxRuntime.jsxs("tr", { className: __default59.bodyRow, children: [
|
|
5787
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: __default59.featureCell, children: row.feature }),
|
|
5657
5788
|
row.values.map((val, vi) => {
|
|
5658
5789
|
var _a;
|
|
5659
5790
|
const isHighlighted = (_a = columns[vi]) == null ? void 0 : _a.highlighted;
|
|
5660
5791
|
const isLast = ri === rows.length - 1;
|
|
5661
|
-
const cellClass = isHighlighted ? isLast ?
|
|
5792
|
+
const cellClass = isHighlighted ? isLast ? __default59.valueCellHighlightedLast : __default59.valueCellHighlighted : __default59.valueCell;
|
|
5662
5793
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5663
5794
|
"td",
|
|
5664
5795
|
{
|
|
5665
5796
|
className: cellClass,
|
|
5666
|
-
children: typeof val === "boolean" ? val ? /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
5797
|
+
children: typeof val === "boolean" ? val ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default59.iconSuccess, children: /* @__PURE__ */ jsxRuntime.jsx(IconlyCheck, { size: 18 }) }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default59.iconMuted, children: /* @__PURE__ */ jsxRuntime.jsx(IconlyClose, { size: 18 }) }) : typeof val === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default59.textValue, children: val }) : val
|
|
5667
5798
|
},
|
|
5668
5799
|
vi
|
|
5669
5800
|
);
|
|
@@ -5828,7 +5959,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
5828
5959
|
background: var(--border-color-strong);
|
|
5829
5960
|
transition: background var(--transition-fast), width var(--transition-fast);
|
|
5830
5961
|
}`);
|
|
5831
|
-
var
|
|
5962
|
+
var __default60 = { "root": "BottomSheet-module_root", "trigger": "BottomSheet-module_trigger", "bar": "BottomSheet-module_bar", "barHandle": "BottomSheet-module_barHandle", "handleBar": "BottomSheet-module_handleBar", "barActions": "BottomSheet-module_barActions", "backdrop": "BottomSheet-module_backdrop", "backdropOpen": "BottomSheet-module_backdropOpen", "panel": "BottomSheet-module_panel", "panelOpen": "BottomSheet-module_panelOpen", "handle": "BottomSheet-module_handle" };
|
|
5832
5963
|
var BottomSheetContext = react.createContext(null);
|
|
5833
5964
|
function useBottomSheet(part) {
|
|
5834
5965
|
const ctx = react.useContext(BottomSheetContext);
|
|
@@ -5900,13 +6031,13 @@ function BottomSheet({
|
|
|
5900
6031
|
BottomSheetContext.Provider,
|
|
5901
6032
|
{
|
|
5902
6033
|
value: { open, setOpen, dragY, isDragging, onDragStart, onDragMove, onDragEnd },
|
|
5903
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
6034
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default60.root}${className ? ` ${className}` : ""}`, children })
|
|
5904
6035
|
}
|
|
5905
6036
|
);
|
|
5906
6037
|
}
|
|
5907
6038
|
function Bar({ children, className = "" }) {
|
|
5908
6039
|
const { setOpen, onDragStart, onDragMove, onDragEnd } = useBottomSheet("Bar");
|
|
5909
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
6040
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default60.bar}${className ? ` ${className}` : ""}`, children: [
|
|
5910
6041
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5911
6042
|
"button",
|
|
5912
6043
|
{
|
|
@@ -5916,12 +6047,12 @@ function Bar({ children, className = "" }) {
|
|
|
5916
6047
|
onTouchMove: (e) => onDragMove(e.touches[0].clientY),
|
|
5917
6048
|
onTouchEnd: onDragEnd,
|
|
5918
6049
|
onTouchCancel: onDragEnd,
|
|
5919
|
-
className:
|
|
6050
|
+
className: __default60.barHandle,
|
|
5920
6051
|
"aria-label": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E",
|
|
5921
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
6052
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default60.handleBar })
|
|
5922
6053
|
}
|
|
5923
6054
|
),
|
|
5924
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6055
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default60.barActions, children })
|
|
5925
6056
|
] });
|
|
5926
6057
|
}
|
|
5927
6058
|
function Panel({ children, className = "" }) {
|
|
@@ -5942,7 +6073,7 @@ function Panel({ children, className = "" }) {
|
|
|
5942
6073
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5943
6074
|
"div",
|
|
5944
6075
|
{
|
|
5945
|
-
className: `${
|
|
6076
|
+
className: `${__default60.backdrop}${open || isDraggingOpen ? ` ${__default60.backdropOpen}` : ""}`,
|
|
5946
6077
|
onClick: () => setOpen(false),
|
|
5947
6078
|
"aria-hidden": "true"
|
|
5948
6079
|
}
|
|
@@ -5950,7 +6081,7 @@ function Panel({ children, className = "" }) {
|
|
|
5950
6081
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5951
6082
|
"div",
|
|
5952
6083
|
{
|
|
5953
|
-
className: `${
|
|
6084
|
+
className: `${__default60.panel}${open ? ` ${__default60.panelOpen}` : ""}${className ? ` ${className}` : ""}`,
|
|
5954
6085
|
role: "dialog",
|
|
5955
6086
|
"aria-modal": open,
|
|
5956
6087
|
"aria-hidden": !open && !isDraggingOpen,
|
|
@@ -5983,9 +6114,9 @@ function Handle({ className = "" }) {
|
|
|
5983
6114
|
if (e.pointerType === "mouse") return;
|
|
5984
6115
|
onDragEnd();
|
|
5985
6116
|
},
|
|
5986
|
-
className: `${
|
|
6117
|
+
className: `${__default60.handle}${className ? ` ${className}` : ""}`,
|
|
5987
6118
|
"aria-label": open ? "\u0417\u0430\u043A\u0440\u044B\u0442\u044C" : "\u041E\u0442\u043A\u0440\u044B\u0442\u044C",
|
|
5988
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
6119
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default60.handleBar })
|
|
5989
6120
|
}
|
|
5990
6121
|
);
|
|
5991
6122
|
}
|
|
@@ -5995,7 +6126,7 @@ function Trigger({ children, className = "" }) {
|
|
|
5995
6126
|
"div",
|
|
5996
6127
|
{
|
|
5997
6128
|
onClick: () => setOpen(!open),
|
|
5998
|
-
className: `${
|
|
6129
|
+
className: `${__default60.trigger}${className ? ` ${className}` : ""}`,
|
|
5999
6130
|
children
|
|
6000
6131
|
}
|
|
6001
6132
|
);
|
|
@@ -6164,21 +6295,21 @@ __styleInject(`.PromoBento-module_root {
|
|
|
6164
6295
|
.PromoBento-module_cardCta {
|
|
6165
6296
|
margin-top: 0.25rem;
|
|
6166
6297
|
}`);
|
|
6167
|
-
var
|
|
6298
|
+
var __default61 = { "root": "PromoBento-module_root", "header": "PromoBento-module_header", "heading": "PromoBento-module_heading", "subtitle": "PromoBento-module_subtitle", "grid": "PromoBento-module_grid", "card": "PromoBento-module_card", "cardMedia": "PromoBento-module_cardMedia", "cardMediaInner": "PromoBento-module_cardMediaInner", "cardFade": "PromoBento-module_cardFade", "cardContent": "PromoBento-module_cardContent", "pill": "PromoBento-module_pill", "pillInner": "PromoBento-module_pillInner", "pillIcon": "PromoBento-module_pillIcon", "cardTitle": "PromoBento-module_cardTitle", "cardDesc": "PromoBento-module_cardDesc", "cardCta": "PromoBento-module_cardCta" };
|
|
6168
6299
|
function PromoBentoCard({ pill, title, description, cta, media, className = "" }) {
|
|
6169
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
6170
|
-
media && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6171
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6172
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6300
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default61.card}${className ? ` ${className}` : ""}`, children: [
|
|
6301
|
+
media && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default61.cardMedia, children: [
|
|
6302
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default61.cardMediaInner, children: media }),
|
|
6303
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default61.cardFade })
|
|
6173
6304
|
] }),
|
|
6174
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6175
|
-
pill && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6176
|
-
pill.icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
6305
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default61.cardContent, children: [
|
|
6306
|
+
pill && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default61.pill, children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: __default61.pillInner, children: [
|
|
6307
|
+
pill.icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default61.pillIcon, children: pill.icon }),
|
|
6177
6308
|
pill.label
|
|
6178
6309
|
] }) }),
|
|
6179
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
6180
|
-
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
6181
|
-
cta && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6310
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: __default61.cardTitle, children: title }),
|
|
6311
|
+
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default61.cardDesc, children: description }),
|
|
6312
|
+
cta && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default61.cardCta, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6182
6313
|
Button,
|
|
6183
6314
|
{
|
|
6184
6315
|
variant: "outline",
|
|
@@ -6191,12 +6322,12 @@ function PromoBentoCard({ pill, title, description, cta, media, className = "" }
|
|
|
6191
6322
|
] });
|
|
6192
6323
|
}
|
|
6193
6324
|
function PromoBento({ heading, subtitle, items, className = "" }) {
|
|
6194
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${
|
|
6195
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6196
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
6197
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
6325
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${__default61.root}${className ? ` ${className}` : ""}`, children: [
|
|
6326
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default61.header, children: [
|
|
6327
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: __default61.heading, children: heading }),
|
|
6328
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default61.subtitle, children: subtitle })
|
|
6198
6329
|
] }),
|
|
6199
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6330
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default61.grid, children: items.map((item, i) => /* @__PURE__ */ jsxRuntime.jsx(PromoBentoCard, __spreadValues({}, item), i)) })
|
|
6200
6331
|
] });
|
|
6201
6332
|
}
|
|
6202
6333
|
|
|
@@ -6318,26 +6449,26 @@ __styleInject(`.PromoShowcase-module_root {
|
|
|
6318
6449
|
padding: 2.5rem;
|
|
6319
6450
|
}
|
|
6320
6451
|
}`);
|
|
6321
|
-
var
|
|
6452
|
+
var __default62 = { "root": "PromoShowcase-module_root", "heading": "PromoShowcase-module_heading", "headingText": "PromoShowcase-module_headingText", "body": "PromoShowcase-module_body", "stepper": "PromoShowcase-module_stepper", "stepButton": "PromoShowcase-module_stepButton", "stepButtonActive": "PromoShowcase-module_stepButtonActive", "contentArea": "PromoShowcase-module_contentArea", "panel": "PromoShowcase-module_panel", "panelActive": "PromoShowcase-module_panelActive", "panelInner": "PromoShowcase-module_panelInner" };
|
|
6322
6453
|
function PromoShowcase({ heading, steps, className = "" }) {
|
|
6323
6454
|
const [activeIndex, setActiveIndex] = react.useState(0);
|
|
6324
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${
|
|
6325
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6326
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6327
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6455
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${__default62.root}${className ? ` ${className}` : ""}`, children: [
|
|
6456
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default62.heading, children: /* @__PURE__ */ jsxRuntime.jsx("h2", { className: __default62.headingText, children: heading }) }),
|
|
6457
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default62.body, children: [
|
|
6458
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default62.stepper, children: steps.map((step, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
6328
6459
|
"button",
|
|
6329
6460
|
{
|
|
6330
6461
|
onClick: () => setActiveIndex(i),
|
|
6331
|
-
className: `${
|
|
6462
|
+
className: `${__default62.stepButton}${i === activeIndex ? ` ${__default62.stepButtonActive}` : ""}`,
|
|
6332
6463
|
children: step.label
|
|
6333
6464
|
},
|
|
6334
6465
|
i
|
|
6335
6466
|
)) }),
|
|
6336
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6467
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default62.contentArea, children: steps.map((step, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
6337
6468
|
"div",
|
|
6338
6469
|
{
|
|
6339
|
-
className: `${
|
|
6340
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6470
|
+
className: `${__default62.panel}${i === activeIndex ? ` ${__default62.panelActive}` : ""}`,
|
|
6471
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default62.panelInner, children: step.content })
|
|
6341
6472
|
},
|
|
6342
6473
|
i
|
|
6343
6474
|
)) })
|
|
@@ -6346,7 +6477,8 @@ function PromoShowcase({ heading, steps, className = "" }) {
|
|
|
6346
6477
|
}
|
|
6347
6478
|
|
|
6348
6479
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/organisms/PromoSplit.module.scss
|
|
6349
|
-
__styleInject(
|
|
6480
|
+
__styleInject(`@charset "UTF-8";
|
|
6481
|
+
.PromoSplit-module_root {
|
|
6350
6482
|
padding: 4rem 0;
|
|
6351
6483
|
}
|
|
6352
6484
|
@media (min-width: 768px) {
|
|
@@ -6355,6 +6487,16 @@ __styleInject(`.PromoSplit-module_root {
|
|
|
6355
6487
|
}
|
|
6356
6488
|
}
|
|
6357
6489
|
|
|
6490
|
+
/* Opt-in \u0434\u043B\u044F consumer'\u043E\u0432 \u0441 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u043C vertical rhythm wrapper'\u043E\u043C. */
|
|
6491
|
+
.PromoSplit-module_rootNoVertical {
|
|
6492
|
+
padding-block: 0;
|
|
6493
|
+
}
|
|
6494
|
+
@media (min-width: 768px) {
|
|
6495
|
+
.PromoSplit-module_rootNoVertical {
|
|
6496
|
+
padding-block: 0;
|
|
6497
|
+
}
|
|
6498
|
+
}
|
|
6499
|
+
|
|
6358
6500
|
.PromoSplit-module_grid {
|
|
6359
6501
|
display: grid;
|
|
6360
6502
|
grid-template-columns: 1fr;
|
|
@@ -6486,26 +6628,28 @@ __styleInject(`.PromoSplit-module_root {
|
|
|
6486
6628
|
align-items: center;
|
|
6487
6629
|
justify-content: center;
|
|
6488
6630
|
}`);
|
|
6489
|
-
var
|
|
6631
|
+
var __default63 = { "root": "PromoSplit-module_root", "rootNoVertical": "PromoSplit-module_rootNoVertical", "grid": "PromoSplit-module_grid", "gridReversed": "PromoSplit-module_gridReversed PromoSplit-module_grid", "textColumn": "PromoSplit-module_textColumn", "textColumnLtr": "PromoSplit-module_textColumnLtr", "heading": "PromoSplit-module_heading", "description": "PromoSplit-module_description", "features": "PromoSplit-module_features", "feature": "PromoSplit-module_feature", "featureTitle": "PromoSplit-module_featureTitle", "featureDesc": "PromoSplit-module_featureDesc", "mediaColumn": "PromoSplit-module_mediaColumn", "mediaColumnLtr": "PromoSplit-module_mediaColumnLtr", "mediaBox": "PromoSplit-module_mediaBox", "mediaContent": "PromoSplit-module_mediaContent", "mediaPlaceholder": "PromoSplit-module_mediaPlaceholder", "placeholderCircle": "PromoSplit-module_placeholderCircle" };
|
|
6490
6632
|
function PromoSplit({
|
|
6491
6633
|
heading,
|
|
6492
6634
|
description,
|
|
6493
6635
|
features,
|
|
6494
6636
|
media,
|
|
6495
6637
|
mediaPosition = "right",
|
|
6638
|
+
verticalPadding = "default",
|
|
6496
6639
|
className = ""
|
|
6497
6640
|
}) {
|
|
6498
6641
|
const isLeft = mediaPosition === "left";
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
|
|
6504
|
-
|
|
6505
|
-
/* @__PURE__ */ jsxRuntime.jsx("
|
|
6642
|
+
const noVerticalClass = verticalPadding === "none" ? ` ${__default63.rootNoVertical}` : "";
|
|
6643
|
+
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${__default63.root}${noVerticalClass}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: isLeft ? __default63.gridReversed : __default63.grid, children: [
|
|
6644
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default63.textColumn}${isLeft ? ` ${__default63.textColumnLtr}` : ""}`, children: [
|
|
6645
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: __default63.heading, children: heading }),
|
|
6646
|
+
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default63.description, children: description }),
|
|
6647
|
+
features && features.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default63.features, children: features.map((feature, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default63.feature, children: [
|
|
6648
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: __default63.featureTitle, children: feature.title }),
|
|
6649
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default63.featureDesc, children: feature.description })
|
|
6506
6650
|
] }, i)) })
|
|
6507
6651
|
] }),
|
|
6508
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
6652
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default63.mediaColumn}${isLeft ? ` ${__default63.mediaColumnLtr}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default63.mediaBox, children: media ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default63.mediaContent, children: media }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default63.mediaPlaceholder, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default63.placeholderCircle, children: /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", stroke: "var(--fg-muted)", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
6509
6653
|
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
6510
6654
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "8.5", cy: "8.5", r: "1.5" }),
|
|
6511
6655
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m21 15-5-5L5 21" })
|
|
@@ -6622,16 +6766,16 @@ __styleInject(`.PromoTrustGrid-module_root {
|
|
|
6622
6766
|
justify-content: center;
|
|
6623
6767
|
padding: 1.5rem;
|
|
6624
6768
|
}`);
|
|
6625
|
-
var
|
|
6769
|
+
var __default64 = { "root": "PromoTrustGrid-module_root", "heading": "PromoTrustGrid-module_heading", "headingText": "PromoTrustGrid-module_headingText", "grid": "PromoTrustGrid-module_grid", "featureCard": "PromoTrustGrid-module_featureCard", "featureIcon": "PromoTrustGrid-module_featureIcon", "featureTitle": "PromoTrustGrid-module_featureTitle", "featureDescription": "PromoTrustGrid-module_featureDescription", "media": "PromoTrustGrid-module_media", "mediaInner": "PromoTrustGrid-module_mediaInner" };
|
|
6626
6770
|
function PromoTrustGrid({ heading, features, media, className = "" }) {
|
|
6627
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${
|
|
6628
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6629
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6630
|
-
feature.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6631
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
6632
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
6771
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${__default64.root}${className ? ` ${className}` : ""}`, children: [
|
|
6772
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default64.heading, children: /* @__PURE__ */ jsxRuntime.jsx("h2", { className: __default64.headingText, children: heading }) }),
|
|
6773
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default64.grid, children: features.map((feature, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default64.featureCard, children: [
|
|
6774
|
+
feature.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default64.featureIcon, children: feature.icon }),
|
|
6775
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: __default64.featureTitle, children: feature.title }),
|
|
6776
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default64.featureDescription, children: feature.description })
|
|
6633
6777
|
] }, i)) }),
|
|
6634
|
-
media && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6778
|
+
media && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default64.media, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default64.mediaInner, children: media }) })
|
|
6635
6779
|
] });
|
|
6636
6780
|
}
|
|
6637
6781
|
|
|
@@ -6818,36 +6962,37 @@ __styleInject(`@charset "UTF-8";
|
|
|
6818
6962
|
border-radius: clamp(8px, 1.5vw, 16px);
|
|
6819
6963
|
background: var(--bg-tertiary);
|
|
6820
6964
|
}`);
|
|
6821
|
-
var
|
|
6965
|
+
var __default65 = { "root": "PromoDevicesCTA-module_root", "textBlock": "PromoDevicesCTA-module_textBlock", "heading": "PromoDevicesCTA-module_heading", "description": "PromoDevicesCTA-module_description", "ctaWrap": "PromoDevicesCTA-module_ctaWrap", "devices": "PromoDevicesCTA-module_devices", "laptop": "PromoDevicesCTA-module_laptop", "laptopScreen": "PromoDevicesCTA-module_laptopScreen", "laptopScreenInner": "PromoDevicesCTA-module_laptopScreenInner", "laptopHinge": "PromoDevicesCTA-module_laptopHinge", "laptopBase": "PromoDevicesCTA-module_laptopBase", "tablet": "PromoDevicesCTA-module_tablet", "tabletShell": "PromoDevicesCTA-module_tabletShell", "tabletScreen": "PromoDevicesCTA-module_tabletScreen", "phone": "PromoDevicesCTA-module_phone", "phoneShell": "PromoDevicesCTA-module_phoneShell", "phoneNotch": "PromoDevicesCTA-module_phoneNotch", "phoneScreen": "PromoDevicesCTA-module_phoneScreen" };
|
|
6822
6966
|
function PromoDevicesCTA({
|
|
6823
6967
|
heading,
|
|
6824
6968
|
description,
|
|
6825
6969
|
cta,
|
|
6826
6970
|
className = ""
|
|
6827
6971
|
}) {
|
|
6828
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${
|
|
6829
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6830
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
6831
|
-
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
6832
|
-
cta && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6972
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${__default65.root}${className ? ` ${className}` : ""}`, children: [
|
|
6973
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default65.textBlock, children: [
|
|
6974
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: __default65.heading, children: heading }),
|
|
6975
|
+
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default65.description, children: description }),
|
|
6976
|
+
cta && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default65.ctaWrap, children: /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "primary", onClick: cta.onClick, children: cta.label }) })
|
|
6833
6977
|
] }),
|
|
6834
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6835
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6836
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6837
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6838
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6978
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default65.devices, children: [
|
|
6979
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default65.laptop, children: [
|
|
6980
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default65.laptopScreen, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default65.laptopScreenInner }) }),
|
|
6981
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default65.laptopHinge }),
|
|
6982
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default65.laptopBase })
|
|
6839
6983
|
] }),
|
|
6840
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6841
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6842
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6843
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6984
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default65.tablet, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default65.tabletShell, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default65.tabletScreen }) }) }),
|
|
6985
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default65.phone, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default65.phoneShell, children: [
|
|
6986
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default65.phoneNotch }),
|
|
6987
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default65.phoneScreen })
|
|
6844
6988
|
] }) })
|
|
6845
6989
|
] })
|
|
6846
6990
|
] });
|
|
6847
6991
|
}
|
|
6848
6992
|
|
|
6849
6993
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/organisms/PromoTestimonials.module.scss
|
|
6850
|
-
__styleInject(
|
|
6994
|
+
__styleInject(`@charset "UTF-8";
|
|
6995
|
+
.PromoTestimonials-module_root {
|
|
6851
6996
|
padding: 4rem 0;
|
|
6852
6997
|
}
|
|
6853
6998
|
@media (min-width: 768px) {
|
|
@@ -6856,6 +7001,16 @@ __styleInject(`.PromoTestimonials-module_root {
|
|
|
6856
7001
|
}
|
|
6857
7002
|
}
|
|
6858
7003
|
|
|
7004
|
+
/* Opt-in \u0434\u043B\u044F consumer'\u043E\u0432 \u0441 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u043C vertical rhythm wrapper'\u043E\u043C. */
|
|
7005
|
+
.PromoTestimonials-module_rootNoVertical {
|
|
7006
|
+
padding-block: 0;
|
|
7007
|
+
}
|
|
7008
|
+
@media (min-width: 768px) {
|
|
7009
|
+
.PromoTestimonials-module_rootNoVertical {
|
|
7010
|
+
padding-block: 0;
|
|
7011
|
+
}
|
|
7012
|
+
}
|
|
7013
|
+
|
|
6859
7014
|
.PromoTestimonials-module_wrapper {
|
|
6860
7015
|
position: relative;
|
|
6861
7016
|
border-radius: clamp(20px, 3vw, 40px);
|
|
@@ -7029,22 +7184,24 @@ __styleInject(`.PromoTestimonials-module_root {
|
|
|
7029
7184
|
background: var(--bg-secondary);
|
|
7030
7185
|
overflow: hidden;
|
|
7031
7186
|
}`);
|
|
7032
|
-
var
|
|
7187
|
+
var __default66 = { "root": "PromoTestimonials-module_root", "rootNoVertical": "PromoTestimonials-module_rootNoVertical", "wrapper": "PromoTestimonials-module_wrapper", "avatarSection": "PromoTestimonials-module_avatarSection", "avatarStack": "PromoTestimonials-module_avatarStack", "avatarRing": "PromoTestimonials-module_avatarRing", "overflowBadge": "PromoTestimonials-module_overflowBadge", "overflowCircle": "PromoTestimonials-module_overflowCircle", "headingSection": "PromoTestimonials-module_headingSection", "heading": "PromoTestimonials-module_heading", "subtitle": "PromoTestimonials-module_subtitle", "cardsSection": "PromoTestimonials-module_cardsSection", "cardsGrid": "PromoTestimonials-module_cardsGrid", "card": "PromoTestimonials-module_card", "quote": "PromoTestimonials-module_quote", "author": "PromoTestimonials-module_author", "authorInfo": "PromoTestimonials-module_authorInfo", "authorName": "PromoTestimonials-module_authorName", "authorRole": "PromoTestimonials-module_authorRole", "mediaSection": "PromoTestimonials-module_mediaSection", "mediaBox": "PromoTestimonials-module_mediaBox" };
|
|
7033
7188
|
function PromoTestimonials({
|
|
7034
7189
|
heading,
|
|
7035
7190
|
subtitle,
|
|
7036
7191
|
testimonials,
|
|
7037
7192
|
media,
|
|
7193
|
+
verticalPadding = "default",
|
|
7038
7194
|
className = ""
|
|
7039
7195
|
}) {
|
|
7040
|
-
|
|
7041
|
-
|
|
7196
|
+
const noVerticalClass = verticalPadding === "none" ? ` ${__default66.rootNoVertical}` : "";
|
|
7197
|
+
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${__default66.root}${noVerticalClass}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default66.wrapper, children: [
|
|
7198
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default66.avatarSection, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default66.avatarStack, children: [
|
|
7042
7199
|
testimonials.slice(0, 5).map((t, i) => {
|
|
7043
7200
|
const initials = t.name.split(" ").map((n) => n[0]).join("").toUpperCase();
|
|
7044
7201
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7045
7202
|
"div",
|
|
7046
7203
|
{
|
|
7047
|
-
className:
|
|
7204
|
+
className: __default66.avatarRing,
|
|
7048
7205
|
style: { zIndex: 10 - i },
|
|
7049
7206
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7050
7207
|
Avatar,
|
|
@@ -7058,32 +7215,32 @@ function PromoTestimonials({
|
|
|
7058
7215
|
i
|
|
7059
7216
|
);
|
|
7060
7217
|
}),
|
|
7061
|
-
testimonials.length > 5 && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
7218
|
+
testimonials.length > 5 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default66.overflowBadge, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default66.overflowCircle, children: [
|
|
7062
7219
|
"+",
|
|
7063
7220
|
testimonials.length - 5
|
|
7064
7221
|
] }) })
|
|
7065
7222
|
] }) }),
|
|
7066
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7067
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
7068
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
7223
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default66.headingSection, children: [
|
|
7224
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: __default66.heading, children: heading }),
|
|
7225
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default66.subtitle, children: subtitle })
|
|
7069
7226
|
] }),
|
|
7070
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
7227
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default66.cardsSection, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default66.cardsGrid, children: testimonials.map((t, i) => {
|
|
7071
7228
|
const initials = t.name.split(" ").map((n) => n[0]).join("").toUpperCase();
|
|
7072
7229
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7073
7230
|
"div",
|
|
7074
7231
|
{
|
|
7075
|
-
className:
|
|
7232
|
+
className: __default66.card,
|
|
7076
7233
|
children: [
|
|
7077
|
-
/* @__PURE__ */ jsxRuntime.jsxs("p", { className:
|
|
7234
|
+
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: __default66.quote, children: [
|
|
7078
7235
|
"\u201C",
|
|
7079
7236
|
t.quote,
|
|
7080
7237
|
"\u201D"
|
|
7081
7238
|
] }),
|
|
7082
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7239
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default66.author, children: [
|
|
7083
7240
|
/* @__PURE__ */ jsxRuntime.jsx(Avatar, { size: "sm", src: t.avatarSrc, initials }),
|
|
7084
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7085
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
7086
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
7241
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default66.authorInfo, children: [
|
|
7242
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default66.authorName, children: t.name }),
|
|
7243
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default66.authorRole, children: t.role })
|
|
7087
7244
|
] })
|
|
7088
7245
|
] })
|
|
7089
7246
|
]
|
|
@@ -7091,7 +7248,7 @@ function PromoTestimonials({
|
|
|
7091
7248
|
i
|
|
7092
7249
|
);
|
|
7093
7250
|
}) }) }),
|
|
7094
|
-
media && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
7251
|
+
media && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default66.mediaSection, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default66.mediaBox, children: media }) })
|
|
7095
7252
|
] }) });
|
|
7096
7253
|
}
|
|
7097
7254
|
|
|
@@ -7243,7 +7400,7 @@ __styleInject(`.PromoHero-module_root {
|
|
|
7243
7400
|
align-items: center;
|
|
7244
7401
|
justify-content: center;
|
|
7245
7402
|
}`);
|
|
7246
|
-
var
|
|
7403
|
+
var __default67 = { "root": "PromoHero-module_root", "dark": "PromoHero-module_dark", "light": "PromoHero-module_light", "gradient": "PromoHero-module_gradient", "glowLayer": "PromoHero-module_glowLayer", "glowTop": "PromoHero-module_glowTop", "glowBottom": "PromoHero-module_glowBottom", "inner": "PromoHero-module_inner", "textColumn": "PromoHero-module_textColumn", "title": "PromoHero-module_title", "subtitle": "PromoHero-module_subtitle", "subtitleDark": "PromoHero-module_subtitleDark", "subtitleLight": "PromoHero-module_subtitleLight", "actions": "PromoHero-module_actions", "ctaDark": "PromoHero-module_ctaDark", "ghostDark": "PromoHero-module_ghostDark", "mediaColumn": "PromoHero-module_mediaColumn" };
|
|
7247
7404
|
function PromoHero({
|
|
7248
7405
|
title,
|
|
7249
7406
|
subtitle,
|
|
@@ -7253,30 +7410,30 @@ function PromoHero({
|
|
|
7253
7410
|
variant = "dark",
|
|
7254
7411
|
className = ""
|
|
7255
7412
|
}) {
|
|
7256
|
-
const variantClass = variant === "dark" ?
|
|
7257
|
-
const subtitleClass = variant === "light" ?
|
|
7413
|
+
const variantClass = variant === "dark" ? __default67.dark : variant === "gradient" ? __default67.gradient : __default67.light;
|
|
7414
|
+
const subtitleClass = variant === "light" ? __default67.subtitleLight : __default67.subtitleDark;
|
|
7258
7415
|
const isLight = variant === "light";
|
|
7259
7416
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7260
7417
|
"section",
|
|
7261
7418
|
{
|
|
7262
|
-
className: `${
|
|
7419
|
+
className: `${__default67.root} ${variantClass}${className ? ` ${className}` : ""}`,
|
|
7263
7420
|
children: [
|
|
7264
|
-
!isLight && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7265
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
7266
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
7421
|
+
!isLight && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default67.glowLayer, "aria-hidden": "true", children: [
|
|
7422
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default67.glowTop }),
|
|
7423
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default67.glowBottom })
|
|
7267
7424
|
] }),
|
|
7268
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7269
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7270
|
-
/* @__PURE__ */ jsxRuntime.jsx("h1", { className:
|
|
7271
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${
|
|
7272
|
-
(cta || secondaryCta) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7425
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default67.inner, children: [
|
|
7426
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default67.textColumn, children: [
|
|
7427
|
+
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: __default67.title, children: title }),
|
|
7428
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${__default67.subtitle} ${subtitleClass}`, children: subtitle }),
|
|
7429
|
+
(cta || secondaryCta) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default67.actions, children: [
|
|
7273
7430
|
cta && /* @__PURE__ */ jsxRuntime.jsx(
|
|
7274
7431
|
Button,
|
|
7275
7432
|
{
|
|
7276
7433
|
variant: isLight ? "primary" : "outline",
|
|
7277
7434
|
size: "hero",
|
|
7278
7435
|
onClick: cta.onClick,
|
|
7279
|
-
className: !isLight ?
|
|
7436
|
+
className: !isLight ? __default67.ctaDark : "",
|
|
7280
7437
|
children: cta.label
|
|
7281
7438
|
}
|
|
7282
7439
|
),
|
|
@@ -7286,13 +7443,13 @@ function PromoHero({
|
|
|
7286
7443
|
variant: "ghost",
|
|
7287
7444
|
size: "hero",
|
|
7288
7445
|
onClick: secondaryCta.onClick,
|
|
7289
|
-
className: !isLight ?
|
|
7446
|
+
className: !isLight ? __default67.ghostDark : "",
|
|
7290
7447
|
children: secondaryCta.label
|
|
7291
7448
|
}
|
|
7292
7449
|
)
|
|
7293
7450
|
] })
|
|
7294
7451
|
] }),
|
|
7295
|
-
media && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
7452
|
+
media && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default67.mediaColumn, children: media })
|
|
7296
7453
|
] })
|
|
7297
7454
|
]
|
|
7298
7455
|
}
|
|
@@ -7446,7 +7603,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
7446
7603
|
max-width: 640px;
|
|
7447
7604
|
width: 100%;
|
|
7448
7605
|
}`);
|
|
7449
|
-
var
|
|
7606
|
+
var __default68 = { "root": "PromoHeroForm-module_root", "inner": "PromoHeroForm-module_inner", "title": "PromoHeroForm-module_title", "subtitle": "PromoHeroForm-module_subtitle", "form": "PromoHeroForm-module_form", "formInner": "PromoHeroForm-module_formInner", "input": "PromoHeroForm-module_input", "hint": "PromoHeroForm-module_hint", "errorBox": "PromoHeroForm-module_errorBox" };
|
|
7450
7607
|
function PromoHeroForm({
|
|
7451
7608
|
title,
|
|
7452
7609
|
subtitle,
|
|
@@ -7469,17 +7626,17 @@ function PromoHeroForm({
|
|
|
7469
7626
|
onSubmit == null ? void 0 : onSubmit(trimmed);
|
|
7470
7627
|
};
|
|
7471
7628
|
const isDisabled = loading || value.trim().length === 0;
|
|
7472
|
-
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${
|
|
7473
|
-
/* @__PURE__ */ jsxRuntime.jsx("h1", { className:
|
|
7474
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
7629
|
+
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${__default68.root}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default68.inner, children: [
|
|
7630
|
+
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: __default68.title, children: title }),
|
|
7631
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default68.subtitle, children: subtitle }),
|
|
7475
7632
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7476
7633
|
"form",
|
|
7477
7634
|
{
|
|
7478
|
-
className:
|
|
7635
|
+
className: __default68.form,
|
|
7479
7636
|
onSubmit: handleSubmit,
|
|
7480
7637
|
"aria-busy": loading,
|
|
7481
7638
|
noValidate: true,
|
|
7482
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7639
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default68.formInner, children: [
|
|
7483
7640
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7484
7641
|
"input",
|
|
7485
7642
|
{
|
|
@@ -7488,7 +7645,7 @@ function PromoHeroForm({
|
|
|
7488
7645
|
value,
|
|
7489
7646
|
onChange: (e) => setValue(e.target.value),
|
|
7490
7647
|
disabled: loading,
|
|
7491
|
-
className:
|
|
7648
|
+
className: __default68.input,
|
|
7492
7649
|
"aria-label": inputAriaLabel || inputPlaceholder
|
|
7493
7650
|
}
|
|
7494
7651
|
),
|
|
@@ -7506,8 +7663,8 @@ function PromoHeroForm({
|
|
|
7506
7663
|
] })
|
|
7507
7664
|
}
|
|
7508
7665
|
),
|
|
7509
|
-
hint && !error && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
7510
|
-
error && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
7666
|
+
hint && !error && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default68.hint, children: hint }),
|
|
7667
|
+
error && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default68.errorBox, role: "alert", children: error })
|
|
7511
7668
|
] }) });
|
|
7512
7669
|
}
|
|
7513
7670
|
|
|
@@ -7785,7 +7942,7 @@ __styleInject(`.PromoPricing-module_root {
|
|
|
7785
7942
|
.PromoPricing-module_ctaWrap {
|
|
7786
7943
|
margin-top: auto;
|
|
7787
7944
|
}`);
|
|
7788
|
-
var
|
|
7945
|
+
var __default69 = { "root": "PromoPricing-module_root", "dark": "PromoPricing-module_dark", "light": "PromoPricing-module_light", "headingSection": "PromoPricing-module_headingSection", "heading": "PromoPricing-module_heading", "headingDark": "PromoPricing-module_headingDark", "headingLight": "PromoPricing-module_headingLight", "subtitle": "PromoPricing-module_subtitle", "subtitleDark": "PromoPricing-module_subtitleDark", "subtitleLight": "PromoPricing-module_subtitleLight", "tiersGrid": "PromoPricing-module_tiersGrid", "tierDefault": "PromoPricing-module_tierDefault PromoPricing-module_tierCard", "tierHighlighted": "PromoPricing-module_tierHighlighted PromoPricing-module_tierCard", "tierDark": "PromoPricing-module_tierDark PromoPricing-module_tierCard", "tierDarkHighlighted": "PromoPricing-module_tierDarkHighlighted PromoPricing-module_tierCard", "tierName": "PromoPricing-module_tierName", "tierNameMuted": "PromoPricing-module_tierNameMuted", "tierNameDark": "PromoPricing-module_tierNameDark", "tierNameHighlightedLight": "PromoPricing-module_tierNameHighlightedLight", "tierNameHighlightedDark": "PromoPricing-module_tierNameHighlightedDark", "price": "PromoPricing-module_price", "period": "PromoPricing-module_period", "periodMuted": "PromoPricing-module_periodMuted", "periodDark": "PromoPricing-module_periodDark", "periodHighlightedLight": "PromoPricing-module_periodHighlightedLight", "periodHighlightedDark": "PromoPricing-module_periodHighlightedDark", "tierDesc": "PromoPricing-module_tierDesc", "tierDescMuted": "PromoPricing-module_tierDescMuted", "tierDescDark": "PromoPricing-module_tierDescDark", "tierDescHighlightedLight": "PromoPricing-module_tierDescHighlightedLight", "tierDescHighlightedDark": "PromoPricing-module_tierDescHighlightedDark", "featureList": "PromoPricing-module_featureList", "featureItem": "PromoPricing-module_featureItem", "checkIcon": "PromoPricing-module_checkIcon", "checkDefault": "PromoPricing-module_checkDefault", "checkDark": "PromoPricing-module_checkDark", "checkHighlightedLight": "PromoPricing-module_checkHighlightedLight", "checkHighlightedDark": "PromoPricing-module_checkHighlightedDark", "featureTextMuted": "PromoPricing-module_featureTextMuted", "featureTextDark": "PromoPricing-module_featureTextDark", "featureTextHighlightedLight": "PromoPricing-module_featureTextHighlightedLight", "featureTextHighlightedDark": "PromoPricing-module_featureTextHighlightedDark", "ctaWrap": "PromoPricing-module_ctaWrap" };
|
|
7789
7946
|
function PromoPricing({
|
|
7790
7947
|
heading,
|
|
7791
7948
|
subtitle,
|
|
@@ -7795,50 +7952,50 @@ function PromoPricing({
|
|
|
7795
7952
|
}) {
|
|
7796
7953
|
const isDark = variant === "dark";
|
|
7797
7954
|
const getTierClass = (highlighted) => {
|
|
7798
|
-
if (highlighted) return isDark ?
|
|
7799
|
-
return isDark ?
|
|
7955
|
+
if (highlighted) return isDark ? __default69.tierDarkHighlighted : __default69.tierHighlighted;
|
|
7956
|
+
return isDark ? __default69.tierDark : __default69.tierDefault;
|
|
7800
7957
|
};
|
|
7801
7958
|
const getNameClass = (highlighted) => {
|
|
7802
|
-
if (highlighted) return isDark ?
|
|
7803
|
-
return isDark ?
|
|
7959
|
+
if (highlighted) return isDark ? __default69.tierNameHighlightedDark : __default69.tierNameHighlightedLight;
|
|
7960
|
+
return isDark ? __default69.tierNameDark : __default69.tierNameMuted;
|
|
7804
7961
|
};
|
|
7805
7962
|
const getPeriodClass = (highlighted) => {
|
|
7806
|
-
if (highlighted) return isDark ?
|
|
7807
|
-
return isDark ?
|
|
7963
|
+
if (highlighted) return isDark ? __default69.periodHighlightedDark : __default69.periodHighlightedLight;
|
|
7964
|
+
return isDark ? __default69.periodDark : __default69.periodMuted;
|
|
7808
7965
|
};
|
|
7809
7966
|
const getDescClass = (highlighted) => {
|
|
7810
|
-
if (highlighted) return isDark ?
|
|
7811
|
-
return isDark ?
|
|
7967
|
+
if (highlighted) return isDark ? __default69.tierDescHighlightedDark : __default69.tierDescHighlightedLight;
|
|
7968
|
+
return isDark ? __default69.tierDescDark : __default69.tierDescMuted;
|
|
7812
7969
|
};
|
|
7813
7970
|
const getCheckClass = (highlighted) => {
|
|
7814
|
-
if (highlighted) return isDark ?
|
|
7815
|
-
return isDark ?
|
|
7971
|
+
if (highlighted) return isDark ? __default69.checkHighlightedDark : __default69.checkHighlightedLight;
|
|
7972
|
+
return isDark ? __default69.checkDark : __default69.checkDefault;
|
|
7816
7973
|
};
|
|
7817
7974
|
const getFeatureTextClass = (highlighted) => {
|
|
7818
|
-
if (highlighted) return isDark ?
|
|
7819
|
-
return isDark ?
|
|
7975
|
+
if (highlighted) return isDark ? __default69.featureTextHighlightedDark : __default69.featureTextHighlightedLight;
|
|
7976
|
+
return isDark ? __default69.featureTextDark : __default69.featureTextMuted;
|
|
7820
7977
|
};
|
|
7821
7978
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7822
7979
|
"section",
|
|
7823
7980
|
{
|
|
7824
|
-
className: `${
|
|
7981
|
+
className: `${__default69.root} ${isDark ? __default69.dark : __default69.light}${className ? ` ${className}` : ""}`,
|
|
7825
7982
|
children: [
|
|
7826
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7827
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: `${
|
|
7828
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${
|
|
7983
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default69.headingSection, children: [
|
|
7984
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: `${__default69.heading} ${isDark ? __default69.headingDark : __default69.headingLight}`, children: heading }),
|
|
7985
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${__default69.subtitle} ${isDark ? __default69.subtitleDark : __default69.subtitleLight}`, children: subtitle })
|
|
7829
7986
|
] }),
|
|
7830
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
7987
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default69.tiersGrid, children: tiers.map((tier, i) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7831
7988
|
"div",
|
|
7832
7989
|
{
|
|
7833
7990
|
className: getTierClass(tier.highlighted),
|
|
7834
7991
|
children: [
|
|
7835
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
7836
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7992
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default69.tierName, children: /* @__PURE__ */ jsxRuntime.jsx("h3", { className: getNameClass(tier.highlighted), children: tier.name }) }),
|
|
7993
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default69.price, children: [
|
|
7837
7994
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: tier.price }),
|
|
7838
|
-
tier.period && /* @__PURE__ */ jsxRuntime.jsx("span", { className: `${
|
|
7995
|
+
tier.period && /* @__PURE__ */ jsxRuntime.jsx("span", { className: `${__default69.period} ${getPeriodClass(tier.highlighted)}`, children: tier.period })
|
|
7839
7996
|
] }),
|
|
7840
|
-
tier.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${
|
|
7841
|
-
/* @__PURE__ */ jsxRuntime.jsx("ul", { className:
|
|
7997
|
+
tier.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${__default69.tierDesc} ${getDescClass(tier.highlighted)}`, children: tier.description }),
|
|
7998
|
+
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: __default69.featureList, children: tier.features.map((feature, fi) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: __default69.featureItem, children: [
|
|
7842
7999
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7843
8000
|
"svg",
|
|
7844
8001
|
{
|
|
@@ -7846,13 +8003,13 @@ function PromoPricing({
|
|
|
7846
8003
|
height: "16",
|
|
7847
8004
|
viewBox: "0 0 16 16",
|
|
7848
8005
|
fill: "none",
|
|
7849
|
-
className: `${
|
|
8006
|
+
className: `${__default69.checkIcon} ${getCheckClass(tier.highlighted)}`,
|
|
7850
8007
|
children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3.5 8.5L6.5 11.5L12.5 4.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
7851
8008
|
}
|
|
7852
8009
|
),
|
|
7853
8010
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: getFeatureTextClass(tier.highlighted), children: feature })
|
|
7854
8011
|
] }, fi)) }),
|
|
7855
|
-
tier.cta && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8012
|
+
tier.cta && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default69.ctaWrap, children: tier.cta })
|
|
7856
8013
|
]
|
|
7857
8014
|
},
|
|
7858
8015
|
i
|
|
@@ -8010,7 +8167,7 @@ __styleInject(`.PromoActionCards-module_root {
|
|
|
8010
8167
|
.PromoActionCards-module_ctaBtn:hover {
|
|
8011
8168
|
opacity: 0.9;
|
|
8012
8169
|
}`);
|
|
8013
|
-
var
|
|
8170
|
+
var __default70 = { "root": "PromoActionCards-module_root", "header": "PromoActionCards-module_header", "heading": "PromoActionCards-module_heading", "subtitle": "PromoActionCards-module_subtitle", "grid2": "PromoActionCards-module_grid2 PromoActionCards-module_grid", "grid3": "PromoActionCards-module_grid3 PromoActionCards-module_grid", "card": "PromoActionCards-module_card", "cardContent": "PromoActionCards-module_cardContent", "cardTitle": "PromoActionCards-module_cardTitle", "cardDesc": "PromoActionCards-module_cardDesc", "cardFooter": "PromoActionCards-module_cardFooter", "iconGroup": "PromoActionCards-module_iconGroup", "iconCircle": "PromoActionCards-module_iconCircle", "ctaBtn": "PromoActionCards-module_ctaBtn" };
|
|
8014
8171
|
function PromoActionCards({
|
|
8015
8172
|
heading,
|
|
8016
8173
|
subtitle,
|
|
@@ -8018,28 +8175,28 @@ function PromoActionCards({
|
|
|
8018
8175
|
columns = 3,
|
|
8019
8176
|
className = ""
|
|
8020
8177
|
}) {
|
|
8021
|
-
const gridClass = columns === 2 ?
|
|
8022
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${
|
|
8023
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8024
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
8025
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
8178
|
+
const gridClass = columns === 2 ? __default70.grid2 : __default70.grid3;
|
|
8179
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${__default70.root}${className ? ` ${className}` : ""}`, children: [
|
|
8180
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default70.header, children: [
|
|
8181
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: __default70.heading, children: heading }),
|
|
8182
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default70.subtitle, children: subtitle })
|
|
8026
8183
|
] }),
|
|
8027
8184
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: gridClass, children: cards.map((card, i) => {
|
|
8028
8185
|
var _a;
|
|
8029
8186
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8030
8187
|
"div",
|
|
8031
8188
|
{
|
|
8032
|
-
className:
|
|
8189
|
+
className: __default70.card,
|
|
8033
8190
|
children: [
|
|
8034
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8035
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
8036
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
8191
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default70.cardContent, children: [
|
|
8192
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: __default70.cardTitle, children: card.title }),
|
|
8193
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default70.cardDesc, children: card.description })
|
|
8037
8194
|
] }),
|
|
8038
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8039
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8195
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default70.cardFooter, children: [
|
|
8196
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default70.iconGroup, children: (_a = card.icons) == null ? void 0 : _a.map((icon, ii) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
8040
8197
|
"span",
|
|
8041
8198
|
{
|
|
8042
|
-
className:
|
|
8199
|
+
className: __default70.iconCircle,
|
|
8043
8200
|
children: icon
|
|
8044
8201
|
},
|
|
8045
8202
|
ii
|
|
@@ -8048,7 +8205,7 @@ function PromoActionCards({
|
|
|
8048
8205
|
"button",
|
|
8049
8206
|
{
|
|
8050
8207
|
onClick: card.cta.onClick,
|
|
8051
|
-
className:
|
|
8208
|
+
className: __default70.ctaBtn,
|
|
8052
8209
|
children: [
|
|
8053
8210
|
card.cta.label,
|
|
8054
8211
|
/* @__PURE__ */ jsxRuntime.jsx("svg", { width: "11", height: "11", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.5 2.5l4 3.5-4 3.5" }) })
|
|
@@ -8171,7 +8328,7 @@ __styleInject(`.ArticleHero-module_root {
|
|
|
8171
8328
|
color: rgba(255, 255, 255, 0.9);
|
|
8172
8329
|
line-height: 22.5px;
|
|
8173
8330
|
}`);
|
|
8174
|
-
var
|
|
8331
|
+
var __default71 = { "root": "ArticleHero-module_root", "bgLayer": "ArticleHero-module_bgLayer", "bgImage": "ArticleHero-module_bgImage", "overlay": "ArticleHero-module_overlay", "topBar": "ArticleHero-module_topBar", "logo": "ArticleHero-module_logo", "divider": "ArticleHero-module_divider", "nav": "ArticleHero-module_nav", "bottom": "ArticleHero-module_bottom", "category": "ArticleHero-module_category", "title": "ArticleHero-module_title", "subtitle": "ArticleHero-module_subtitle" };
|
|
8175
8332
|
var DEFAULT_BG = "https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1600&h=900&fit=crop&q=80";
|
|
8176
8333
|
function ArticleHero({
|
|
8177
8334
|
category,
|
|
@@ -8183,20 +8340,20 @@ function ArticleHero({
|
|
|
8183
8340
|
className = ""
|
|
8184
8341
|
}) {
|
|
8185
8342
|
const bgSrc = backgroundImage != null ? backgroundImage : DEFAULT_BG;
|
|
8186
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${
|
|
8187
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8188
|
-
/* @__PURE__ */ jsxRuntime.jsx("img", { src: bgSrc, alt: "", className:
|
|
8189
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8343
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${__default71.root}${className ? ` ${className}` : ""}`, children: [
|
|
8344
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default71.bgLayer, children: [
|
|
8345
|
+
/* @__PURE__ */ jsxRuntime.jsx("img", { src: bgSrc, alt: "", className: __default71.bgImage }),
|
|
8346
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default71.overlay })
|
|
8190
8347
|
] }),
|
|
8191
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8192
|
-
logo && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8193
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8194
|
-
nav && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8348
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default71.topBar, children: [
|
|
8349
|
+
logo && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default71.logo, children: logo }),
|
|
8350
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default71.divider }),
|
|
8351
|
+
nav && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default71.nav, children: nav })
|
|
8195
8352
|
] }),
|
|
8196
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8197
|
-
category && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
8198
|
-
/* @__PURE__ */ jsxRuntime.jsx("h1", { className:
|
|
8199
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
8353
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default71.bottom, children: [
|
|
8354
|
+
category && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default71.category, children: category }),
|
|
8355
|
+
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: __default71.title, children: title }),
|
|
8356
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default71.subtitle, children: subtitle })
|
|
8200
8357
|
] })
|
|
8201
8358
|
] });
|
|
8202
8359
|
}
|
|
@@ -8208,9 +8365,9 @@ __styleInject(`.ArticleBody-module_root {
|
|
|
8208
8365
|
color: var(--fg-secondary);
|
|
8209
8366
|
font-weight: 400;
|
|
8210
8367
|
}`);
|
|
8211
|
-
var
|
|
8368
|
+
var __default72 = { "root": "ArticleBody-module_root" };
|
|
8212
8369
|
function ArticleBody({ children, className = "" }) {
|
|
8213
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
8370
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default72.root}${className ? ` ${className}` : ""}`, children });
|
|
8214
8371
|
}
|
|
8215
8372
|
|
|
8216
8373
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/templates/ArticleHeading.module.scss
|
|
@@ -8253,10 +8410,10 @@ __styleInject(`.ArticleHeading-module_root {
|
|
|
8253
8410
|
line-height: 1.25rem;
|
|
8254
8411
|
color: var(--fg-muted);
|
|
8255
8412
|
}`);
|
|
8256
|
-
var
|
|
8413
|
+
var __default73 = { "root": "ArticleHeading-module_root", "header": "ArticleHeading-module_header", "h2": "ArticleHeading-module_h2", "h3": "ArticleHeading-module_h3", "action": "ArticleHeading-module_action", "subtitle": "ArticleHeading-module_subtitle" };
|
|
8257
8414
|
var levelClass = {
|
|
8258
|
-
2:
|
|
8259
|
-
3:
|
|
8415
|
+
2: __default73.h2,
|
|
8416
|
+
3: __default73.h3
|
|
8260
8417
|
};
|
|
8261
8418
|
function ArticleHeading({
|
|
8262
8419
|
level = 2,
|
|
@@ -8266,12 +8423,12 @@ function ArticleHeading({
|
|
|
8266
8423
|
className = ""
|
|
8267
8424
|
}) {
|
|
8268
8425
|
const Tag2 = `h${level}`;
|
|
8269
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
8270
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8426
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default73.root}${className ? ` ${className}` : ""}`, children: [
|
|
8427
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default73.header, children: [
|
|
8271
8428
|
/* @__PURE__ */ jsxRuntime.jsx(Tag2, { className: levelClass[level], children }),
|
|
8272
|
-
action && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8429
|
+
action && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default73.action, children: action })
|
|
8273
8430
|
] }),
|
|
8274
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
8431
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default73.subtitle, children: subtitle })
|
|
8275
8432
|
] });
|
|
8276
8433
|
}
|
|
8277
8434
|
|
|
@@ -8347,7 +8504,7 @@ __styleInject(`.ArticleFigure-module_root {
|
|
|
8347
8504
|
line-height: 1.25rem;
|
|
8348
8505
|
color: var(--fg-muted);
|
|
8349
8506
|
}`);
|
|
8350
|
-
var
|
|
8507
|
+
var __default74 = { "root": "ArticleFigure-module_root", "imageWrapper": "ArticleFigure-module_imageWrapper", "image": "ArticleFigure-module_image", "childWrapper": "ArticleFigure-module_childWrapper", "placeholder": "ArticleFigure-module_placeholder", "placeholderText": "ArticleFigure-module_placeholderText", "legend": "ArticleFigure-module_legend", "legendItem": "ArticleFigure-module_legendItem", "legendSwatch": "ArticleFigure-module_legendSwatch", "legendLabel": "ArticleFigure-module_legendLabel", "caption": "ArticleFigure-module_caption" };
|
|
8351
8508
|
function ArticleFigure({
|
|
8352
8509
|
src,
|
|
8353
8510
|
alt = "",
|
|
@@ -8357,35 +8514,35 @@ function ArticleFigure({
|
|
|
8357
8514
|
children,
|
|
8358
8515
|
className = ""
|
|
8359
8516
|
}) {
|
|
8360
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("figure", { className: `${
|
|
8517
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("figure", { className: `${__default74.root}${className ? ` ${className}` : ""}`, children: [
|
|
8361
8518
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8362
8519
|
"div",
|
|
8363
8520
|
{
|
|
8364
|
-
className:
|
|
8521
|
+
className: __default74.imageWrapper,
|
|
8365
8522
|
style: { minHeight: height },
|
|
8366
8523
|
children: src ? (
|
|
8367
8524
|
// eslint-disable-next-line @next/next/no-img-element
|
|
8368
|
-
/* @__PURE__ */ jsxRuntime.jsx("img", { src, alt, className:
|
|
8369
|
-
) : children ? /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8525
|
+
/* @__PURE__ */ jsxRuntime.jsx("img", { src, alt, className: __default74.image })
|
|
8526
|
+
) : children ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default74.childWrapper, children }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default74.placeholder, children: [
|
|
8370
8527
|
/* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "48", height: "48", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", children: [
|
|
8371
8528
|
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
8372
8529
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 16l5-5 4 4 4-6 5 7" })
|
|
8373
8530
|
] }),
|
|
8374
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8531
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default74.placeholderText, children: "Figure placeholder" })
|
|
8375
8532
|
] })
|
|
8376
8533
|
}
|
|
8377
8534
|
),
|
|
8378
|
-
legend && legend.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8535
|
+
legend && legend.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default74.legend, children: legend.map((item) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default74.legendItem, children: [
|
|
8379
8536
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8380
8537
|
"span",
|
|
8381
8538
|
{
|
|
8382
|
-
className:
|
|
8539
|
+
className: __default74.legendSwatch,
|
|
8383
8540
|
style: { backgroundColor: item.color }
|
|
8384
8541
|
}
|
|
8385
8542
|
),
|
|
8386
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8543
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default74.legendLabel, children: item.label })
|
|
8387
8544
|
] }, item.label)) }),
|
|
8388
|
-
caption && /* @__PURE__ */ jsxRuntime.jsx("figcaption", { className:
|
|
8545
|
+
caption && /* @__PURE__ */ jsxRuntime.jsx("figcaption", { className: __default74.caption, children: caption })
|
|
8389
8546
|
] });
|
|
8390
8547
|
}
|
|
8391
8548
|
|
|
@@ -8478,7 +8635,7 @@ __styleInject(`.ArticleTable-module_root {
|
|
|
8478
8635
|
.ArticleTable-module_showMore:hover {
|
|
8479
8636
|
color: var(--fg);
|
|
8480
8637
|
}`);
|
|
8481
|
-
var
|
|
8638
|
+
var __default75 = { "root": "ArticleTable-module_root", "headerRow": "ArticleTable-module_headerRow", "rankCell": "ArticleTable-module_rankCell", "headerCell": "ArticleTable-module_headerCell", "headerLabel": "ArticleTable-module_headerLabel", "row": "ArticleTable-module_row", "rankValue": "ArticleTable-module_rankValue", "cell": "ArticleTable-module_cell", "cellText": "ArticleTable-module_cellText", "badge": "ArticleTable-module_badge", "showMore": "ArticleTable-module_showMore" };
|
|
8482
8639
|
function ArticleTable({
|
|
8483
8640
|
columns,
|
|
8484
8641
|
rows,
|
|
@@ -8490,19 +8647,19 @@ function ArticleTable({
|
|
|
8490
8647
|
const limit = initialVisible != null ? initialVisible : rows.length;
|
|
8491
8648
|
const visibleRows = expanded ? rows : rows.slice(0, limit);
|
|
8492
8649
|
const hiddenCount = rows.length - limit;
|
|
8493
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
8494
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8495
|
-
showRank && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8496
|
-
columns.map((col) => /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8650
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default75.root}${className ? ` ${className}` : ""}`, children: [
|
|
8651
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default75.headerRow, children: [
|
|
8652
|
+
showRank && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default75.rankCell }),
|
|
8653
|
+
columns.map((col) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default75.headerCell, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default75.headerLabel, children: col.label }) }, col.key))
|
|
8497
8654
|
] }),
|
|
8498
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { children: visibleRows.map((row, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8499
|
-
showRank && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8655
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { children: visibleRows.map((row, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default75.row, children: [
|
|
8656
|
+
showRank && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default75.rankValue, children: /* @__PURE__ */ jsxRuntime.jsx("span", { children: i + 1 }) }),
|
|
8500
8657
|
columns.map((col) => {
|
|
8501
8658
|
const value = row[col.key];
|
|
8502
8659
|
const hasBadge = row._badge && row._badgeColumn === col.key;
|
|
8503
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8504
|
-
col.render ? col.render(value, row) : /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8505
|
-
hasBadge && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8660
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default75.cell, children: [
|
|
8661
|
+
col.render ? col.render(value, row) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default75.cellText, children: String(value != null ? value : "") }),
|
|
8662
|
+
hasBadge && /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default75.badge, children: row._badge })
|
|
8506
8663
|
] }, col.key);
|
|
8507
8664
|
})
|
|
8508
8665
|
] }, i)) }),
|
|
@@ -8510,7 +8667,7 @@ function ArticleTable({
|
|
|
8510
8667
|
"button",
|
|
8511
8668
|
{
|
|
8512
8669
|
onClick: () => setExpanded(true),
|
|
8513
|
-
className:
|
|
8670
|
+
className: __default75.showMore,
|
|
8514
8671
|
children: [
|
|
8515
8672
|
"Show ",
|
|
8516
8673
|
hiddenCount,
|
|
@@ -8543,19 +8700,19 @@ __styleInject(`.ArticleList-module_root {
|
|
|
8543
8700
|
.ArticleList-module_item {
|
|
8544
8701
|
padding-left: 0.25rem;
|
|
8545
8702
|
}`);
|
|
8546
|
-
var
|
|
8703
|
+
var __default76 = { "root": "ArticleList-module_root", "ordered": "ArticleList-module_ordered", "unordered": "ArticleList-module_unordered", "item": "ArticleList-module_item" };
|
|
8547
8704
|
function ArticleList({
|
|
8548
8705
|
variant = "unordered",
|
|
8549
8706
|
items,
|
|
8550
8707
|
className = ""
|
|
8551
8708
|
}) {
|
|
8552
8709
|
const Tag2 = variant === "ordered" ? "ol" : "ul";
|
|
8553
|
-
const variantClass = variant === "ordered" ?
|
|
8710
|
+
const variantClass = variant === "ordered" ? __default76.ordered : __default76.unordered;
|
|
8554
8711
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8555
8712
|
Tag2,
|
|
8556
8713
|
{
|
|
8557
|
-
className: `${
|
|
8558
|
-
children: items.map((item, i) => /* @__PURE__ */ jsxRuntime.jsx("li", { className:
|
|
8714
|
+
className: `${__default76.root} ${variantClass}${className ? ` ${className}` : ""}`,
|
|
8715
|
+
children: items.map((item, i) => /* @__PURE__ */ jsxRuntime.jsx("li", { className: __default76.item, children: item }, i))
|
|
8559
8716
|
}
|
|
8560
8717
|
);
|
|
8561
8718
|
}
|
|
@@ -8567,9 +8724,9 @@ __styleInject(`.ArticleNote-module_root {
|
|
|
8567
8724
|
color: var(--fg-secondary);
|
|
8568
8725
|
font-style: italic;
|
|
8569
8726
|
}`);
|
|
8570
|
-
var
|
|
8727
|
+
var __default77 = { "root": "ArticleNote-module_root" };
|
|
8571
8728
|
function ArticleNote({ children, className = "" }) {
|
|
8572
|
-
return /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${
|
|
8729
|
+
return /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${__default77.root}${className ? ` ${className}` : ""}`, children });
|
|
8573
8730
|
}
|
|
8574
8731
|
|
|
8575
8732
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/templates/ArticleChatBlock.module.scss
|
|
@@ -8682,11 +8839,11 @@ __styleInject(`.ArticleChatBlock-module_root {
|
|
|
8682
8839
|
.ArticleChatBlock-module_showMoreBtn:hover {
|
|
8683
8840
|
color: var(--fg);
|
|
8684
8841
|
}`);
|
|
8685
|
-
var
|
|
8842
|
+
var __default78 = { "root": "ArticleChatBlock-module_root", "assistant": "ArticleChatBlock-module_assistant", "system": "ArticleChatBlock-module_system", "user": "ArticleChatBlock-module_user", "header": "ArticleChatBlock-module_header", "roleLabel": "ArticleChatBlock-module_roleLabel", "toolBadge": "ArticleChatBlock-module_toolBadge", "toolBadgeInner": "ArticleChatBlock-module_toolBadgeInner", "toolDot": "ArticleChatBlock-module_toolDot", "toolLabel": "ArticleChatBlock-module_toolLabel", "divider": "ArticleChatBlock-module_divider", "contentWrapper": "ArticleChatBlock-module_contentWrapper", "content": "ArticleChatBlock-module_content", "fadeOverlay": "ArticleChatBlock-module_fadeOverlay", "fadeGradient": "ArticleChatBlock-module_fadeGradient", "showMoreBar": "ArticleChatBlock-module_showMoreBar", "showMoreBtn": "ArticleChatBlock-module_showMoreBtn" };
|
|
8686
8843
|
var roleConfig = {
|
|
8687
|
-
assistant: { cls:
|
|
8688
|
-
system: { cls:
|
|
8689
|
-
user: { cls:
|
|
8844
|
+
assistant: { cls: __default78.assistant, gradient: "var(--bg-secondary)" },
|
|
8845
|
+
system: { cls: __default78.system, gradient: "var(--bg-tertiary)" },
|
|
8846
|
+
user: { cls: __default78.user, gradient: "var(--bg-secondary)" }
|
|
8690
8847
|
};
|
|
8691
8848
|
function ArticleChatBlock({
|
|
8692
8849
|
role,
|
|
@@ -8700,40 +8857,40 @@ function ArticleChatBlock({
|
|
|
8700
8857
|
var _a;
|
|
8701
8858
|
const [expanded, setExpanded] = react.useState(false);
|
|
8702
8859
|
const config = (_a = roleConfig[role]) != null ? _a : roleConfig.assistant;
|
|
8703
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
8704
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8860
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default78.root} ${config.cls}${className ? ` ${className}` : ""}`, children: [
|
|
8861
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default78.header, children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: __default78.roleLabel, children: [
|
|
8705
8862
|
role,
|
|
8706
8863
|
model && ` \u2022 ${model}`
|
|
8707
8864
|
] }) }),
|
|
8708
|
-
toolCall && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8709
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8710
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8865
|
+
toolCall && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default78.toolBadge, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default78.toolBadgeInner, children: [
|
|
8866
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default78.toolDot }),
|
|
8867
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default78.toolLabel, children: toolCall })
|
|
8711
8868
|
] }) }),
|
|
8712
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8713
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8869
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default78.divider }),
|
|
8870
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default78.contentWrapper, children: [
|
|
8714
8871
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8715
8872
|
"div",
|
|
8716
8873
|
{
|
|
8717
|
-
className:
|
|
8874
|
+
className: __default78.content,
|
|
8718
8875
|
style: collapsible && !expanded ? { maxHeight: collapsedHeight, overflow: "hidden" } : void 0,
|
|
8719
8876
|
children
|
|
8720
8877
|
}
|
|
8721
8878
|
),
|
|
8722
|
-
collapsible && !expanded && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8879
|
+
collapsible && !expanded && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default78.fadeOverlay, children: [
|
|
8723
8880
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8724
8881
|
"div",
|
|
8725
8882
|
{
|
|
8726
|
-
className:
|
|
8883
|
+
className: __default78.fadeGradient,
|
|
8727
8884
|
style: {
|
|
8728
8885
|
background: `linear-gradient(to top, ${config.gradient}, transparent)`
|
|
8729
8886
|
}
|
|
8730
8887
|
}
|
|
8731
8888
|
),
|
|
8732
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
8889
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default78.showMoreBar} ${config.cls}`, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
8733
8890
|
"button",
|
|
8734
8891
|
{
|
|
8735
8892
|
onClick: () => setExpanded(true),
|
|
8736
|
-
className:
|
|
8893
|
+
className: __default78.showMoreBtn,
|
|
8737
8894
|
children: "Show more"
|
|
8738
8895
|
}
|
|
8739
8896
|
) })
|
|
@@ -8765,14 +8922,14 @@ __styleInject(`.ArticleLinkButton-module_root {
|
|
|
8765
8922
|
.ArticleLinkButton-module_root:active {
|
|
8766
8923
|
opacity: 0.8;
|
|
8767
8924
|
}`);
|
|
8768
|
-
var
|
|
8925
|
+
var __default79 = { "root": "ArticleLinkButton-module_root" };
|
|
8769
8926
|
function ArticleLinkButton({
|
|
8770
8927
|
children,
|
|
8771
8928
|
href,
|
|
8772
8929
|
onClick,
|
|
8773
8930
|
className = ""
|
|
8774
8931
|
}) {
|
|
8775
|
-
const cls = `${
|
|
8932
|
+
const cls = `${__default79.root}${className ? ` ${className}` : ""}`;
|
|
8776
8933
|
if (href) {
|
|
8777
8934
|
return /* @__PURE__ */ jsxRuntime.jsx("a", { href, className: cls, children });
|
|
8778
8935
|
}
|
|
@@ -8809,18 +8966,18 @@ __styleInject(`.ArticleFooter-module_root {
|
|
|
8809
8966
|
line-height: 1.25rem;
|
|
8810
8967
|
color: var(--fg-muted);
|
|
8811
8968
|
}`);
|
|
8812
|
-
var
|
|
8969
|
+
var __default80 = { "root": "ArticleFooter-module_root", "topBar": "ArticleFooter-module_topBar", "logo": "ArticleFooter-module_logo", "divider": "ArticleFooter-module_divider", "copyright": "ArticleFooter-module_copyright" };
|
|
8813
8970
|
function ArticleFooter({
|
|
8814
8971
|
logo,
|
|
8815
8972
|
copyright = `\xA9 ${(/* @__PURE__ */ new Date()).getFullYear()} All rights reserved.`,
|
|
8816
8973
|
className = ""
|
|
8817
8974
|
}) {
|
|
8818
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("footer", { className: `${
|
|
8819
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8820
|
-
logo && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8821
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8975
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("footer", { className: `${__default80.root}${className ? ` ${className}` : ""}`, children: [
|
|
8976
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default80.topBar, children: [
|
|
8977
|
+
logo && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default80.logo, children: logo }),
|
|
8978
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default80.divider })
|
|
8822
8979
|
] }),
|
|
8823
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
8980
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default80.copyright, children: copyright })
|
|
8824
8981
|
] });
|
|
8825
8982
|
}
|
|
8826
8983
|
|
|
@@ -8843,15 +9000,15 @@ __styleInject(`.ArticleLayout-module_root {
|
|
|
8843
9000
|
width: 100%;
|
|
8844
9001
|
max-width: 720px;
|
|
8845
9002
|
}`);
|
|
8846
|
-
var
|
|
9003
|
+
var __default81 = { "root": "ArticleLayout-module_root", "wide": "ArticleLayout-module_wide", "narrow": "ArticleLayout-module_narrow" };
|
|
8847
9004
|
function ArticleLayout({ children, className = "" }) {
|
|
8848
|
-
return /* @__PURE__ */ jsxRuntime.jsx("article", { className: `${
|
|
9005
|
+
return /* @__PURE__ */ jsxRuntime.jsx("article", { className: `${__default81.root}${className ? ` ${className}` : ""}`, children });
|
|
8849
9006
|
}
|
|
8850
9007
|
function ArticleWide({ children, className = "" }) {
|
|
8851
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
9008
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default81.wide}${className ? ` ${className}` : ""}`, children });
|
|
8852
9009
|
}
|
|
8853
9010
|
function ArticleNarrow({ children, className = "" }) {
|
|
8854
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
9011
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default81.narrow}${className ? ` ${className}` : ""}`, children });
|
|
8855
9012
|
}
|
|
8856
9013
|
|
|
8857
9014
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/templates/ArticleChart.module.scss
|
|
@@ -8938,7 +9095,7 @@ __styleInject(`.ArticleChart-module_figure {
|
|
|
8938
9095
|
line-height: 1rem;
|
|
8939
9096
|
color: var(--fg-secondary);
|
|
8940
9097
|
}`);
|
|
8941
|
-
var
|
|
9098
|
+
var __default82 = { "figure": "ArticleChart-module_figure", "chartWrapper": "ArticleChart-module_chartWrapper", "tooltip": "ArticleChart-module_tooltip", "tooltipLabel": "ArticleChart-module_tooltipLabel", "tooltipRow": "ArticleChart-module_tooltipRow", "tooltipDot": "ArticleChart-module_tooltipDot", "tooltipName": "ArticleChart-module_tooltipName", "tooltipValue": "ArticleChart-module_tooltipValue", "scatterTooltipLabel": "ArticleChart-module_scatterTooltipLabel", "scatterTooltipRow": "ArticleChart-module_scatterTooltipRow", "legend": "ArticleChart-module_legend", "legendItem": "ArticleChart-module_legendItem", "legendSwatch": "ArticleChart-module_legendSwatch", "legendLabel": "ArticleChart-module_legendLabel" };
|
|
8942
9099
|
function ChartTooltip({
|
|
8943
9100
|
active,
|
|
8944
9101
|
payload,
|
|
@@ -8949,15 +9106,15 @@ function ChartTooltip({
|
|
|
8949
9106
|
}) {
|
|
8950
9107
|
if (!active || !(payload == null ? void 0 : payload.length)) return null;
|
|
8951
9108
|
const fmt = valueFormatter != null ? valueFormatter : ((v) => String(v));
|
|
8952
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8953
|
-
label !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("p", { className:
|
|
9109
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default82.tooltip, children: [
|
|
9110
|
+
label !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: __default82.tooltipLabel, children: [
|
|
8954
9111
|
xLabel ? `${xLabel}: ` : "",
|
|
8955
9112
|
label
|
|
8956
9113
|
] }),
|
|
8957
|
-
payload.map((entry, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8958
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8959
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8960
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
9114
|
+
payload.map((entry, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default82.tooltipRow, children: [
|
|
9115
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default82.tooltipDot, style: { backgroundColor: entry.color } }),
|
|
9116
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default82.tooltipName, children: entry.name }),
|
|
9117
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default82.tooltipValue, children: yLabel ? `${fmt(entry.value)} ` : fmt(entry.value) })
|
|
8961
9118
|
] }, i))
|
|
8962
9119
|
] });
|
|
8963
9120
|
}
|
|
@@ -8971,8 +9128,8 @@ function ArticleLineChart({
|
|
|
8971
9128
|
valueFormatter,
|
|
8972
9129
|
className = ""
|
|
8973
9130
|
}) {
|
|
8974
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("figure", { className: `${
|
|
8975
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
9131
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("figure", { className: `${__default82.figure}${className ? ` ${className}` : ""}`, children: [
|
|
9132
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default82.chartWrapper, style: { height }, children: /* @__PURE__ */ jsxRuntime.jsx(recharts.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxRuntime.jsxs(recharts.LineChart, { data, margin: { top: 8, right: 16, bottom: 4, left: 8 }, children: [
|
|
8976
9133
|
/* @__PURE__ */ jsxRuntime.jsx(recharts.CartesianGrid, { strokeDasharray: "3 3", stroke: "var(--border-color)" }),
|
|
8977
9134
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8978
9135
|
recharts.XAxis,
|
|
@@ -9022,9 +9179,9 @@ function ArticleLineChart({
|
|
|
9022
9179
|
s.dataKey
|
|
9023
9180
|
))
|
|
9024
9181
|
] }) }) }),
|
|
9025
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
9026
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
9027
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
9182
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default82.legend, children: series.map((s) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default82.legendItem, children: [
|
|
9183
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default82.legendSwatch, style: { backgroundColor: s.color } }),
|
|
9184
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default82.legendLabel, children: s.name })
|
|
9028
9185
|
] }, s.dataKey)) })
|
|
9029
9186
|
] });
|
|
9030
9187
|
}
|
|
@@ -9039,8 +9196,8 @@ function ArticleBarChart({
|
|
|
9039
9196
|
valueFormatter,
|
|
9040
9197
|
className = ""
|
|
9041
9198
|
}) {
|
|
9042
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("figure", { className: `${
|
|
9043
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
9199
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("figure", { className: `${__default82.figure}${className ? ` ${className}` : ""}`, children: [
|
|
9200
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default82.chartWrapper, style: { height }, children: /* @__PURE__ */ jsxRuntime.jsx(recharts.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxRuntime.jsxs(recharts.BarChart, { data, margin: { top: 8, right: 16, bottom: 4, left: 8 }, children: [
|
|
9044
9201
|
/* @__PURE__ */ jsxRuntime.jsx(recharts.CartesianGrid, { strokeDasharray: "3 3", stroke: "var(--border-color)", vertical: false }),
|
|
9045
9202
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9046
9203
|
recharts.XAxis,
|
|
@@ -9088,9 +9245,9 @@ function ArticleBarChart({
|
|
|
9088
9245
|
s.dataKey
|
|
9089
9246
|
))
|
|
9090
9247
|
] }) }) }),
|
|
9091
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
9092
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
9093
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
9248
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default82.legend, children: series.map((s) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default82.legendItem, children: [
|
|
9249
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default82.legendSwatch, style: { backgroundColor: s.color } }),
|
|
9250
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default82.legendLabel, children: s.name })
|
|
9094
9251
|
] }, s.dataKey)) })
|
|
9095
9252
|
] });
|
|
9096
9253
|
}
|
|
@@ -9108,7 +9265,7 @@ function ArticleScatterChart({
|
|
|
9108
9265
|
var _a;
|
|
9109
9266
|
return (_a = d.color) != null ? _a : color;
|
|
9110
9267
|
});
|
|
9111
|
-
return /* @__PURE__ */ jsxRuntime.jsx("figure", { className: `${
|
|
9268
|
+
return /* @__PURE__ */ jsxRuntime.jsx("figure", { className: `${__default82.figure}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default82.chartWrapper, style: { height }, children: /* @__PURE__ */ jsxRuntime.jsx(recharts.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxRuntime.jsxs(recharts.ScatterChart, { margin: { top: 8, right: 16, bottom: 4, left: 8 }, children: [
|
|
9112
9269
|
/* @__PURE__ */ jsxRuntime.jsx(recharts.CartesianGrid, { strokeDasharray: "3 3", stroke: "var(--border-color)" }),
|
|
9113
9270
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9114
9271
|
recharts.XAxis,
|
|
@@ -9144,14 +9301,14 @@ function ArticleScatterChart({
|
|
|
9144
9301
|
if (!active || !(payload == null ? void 0 : payload.length)) return null;
|
|
9145
9302
|
const point = (_a = payload[0]) == null ? void 0 : _a.payload;
|
|
9146
9303
|
const fmt = valueFormatter != null ? valueFormatter : ((v) => String(v));
|
|
9147
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
9148
|
-
point.label && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
9149
|
-
xLabel && /* @__PURE__ */ jsxRuntime.jsxs("p", { className:
|
|
9304
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default82.tooltip, children: [
|
|
9305
|
+
point.label && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default82.scatterTooltipLabel, children: point.label }),
|
|
9306
|
+
xLabel && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: __default82.scatterTooltipRow, children: [
|
|
9150
9307
|
xLabel,
|
|
9151
9308
|
": ",
|
|
9152
9309
|
fmt(point.x)
|
|
9153
9310
|
] }),
|
|
9154
|
-
yLabel && /* @__PURE__ */ jsxRuntime.jsxs("p", { className:
|
|
9311
|
+
yLabel && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: __default82.scatterTooltipRow, children: [
|
|
9155
9312
|
yLabel,
|
|
9156
9313
|
": ",
|
|
9157
9314
|
fmt(point.y)
|
|
@@ -9228,7 +9385,7 @@ __styleInject(`.LandingLayout-module_headerMode {
|
|
|
9228
9385
|
padding-right: 4rem;
|
|
9229
9386
|
}
|
|
9230
9387
|
}`);
|
|
9231
|
-
var
|
|
9388
|
+
var __default83 = { "headerMode": "LandingLayout-module_headerMode", "headerMain": "LandingLayout-module_headerMain", "sidebarMode": "LandingLayout-module_sidebarMode", "sidebarNav": "LandingLayout-module_sidebarNav", "sidebarMain": "LandingLayout-module_sidebarMain", "sidebarContent": "LandingLayout-module_sidebarContent" };
|
|
9232
9389
|
function LandingLayout({
|
|
9233
9390
|
mode = "header",
|
|
9234
9391
|
nav,
|
|
@@ -9237,17 +9394,17 @@ function LandingLayout({
|
|
|
9237
9394
|
className = ""
|
|
9238
9395
|
}) {
|
|
9239
9396
|
if (mode === "sidebar") {
|
|
9240
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
9241
|
-
nav && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
9242
|
-
/* @__PURE__ */ jsxRuntime.jsxs("main", { className:
|
|
9243
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
9397
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default83.sidebarMode}${className ? ` ${className}` : ""}`, children: [
|
|
9398
|
+
nav && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default83.sidebarNav, children: nav }),
|
|
9399
|
+
/* @__PURE__ */ jsxRuntime.jsxs("main", { className: __default83.sidebarMain, children: [
|
|
9400
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default83.sidebarContent, children }),
|
|
9244
9401
|
footer
|
|
9245
9402
|
] })
|
|
9246
9403
|
] });
|
|
9247
9404
|
}
|
|
9248
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
9405
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default83.headerMode}${className ? ` ${className}` : ""}`, children: [
|
|
9249
9406
|
nav,
|
|
9250
|
-
/* @__PURE__ */ jsxRuntime.jsx("main", { className:
|
|
9407
|
+
/* @__PURE__ */ jsxRuntime.jsx("main", { className: __default83.headerMain, children }),
|
|
9251
9408
|
footer
|
|
9252
9409
|
] });
|
|
9253
9410
|
}
|
|
@@ -9353,6 +9510,7 @@ exports.PromoTestimonials = PromoTestimonials;
|
|
|
9353
9510
|
exports.PromoTrustGrid = PromoTrustGrid;
|
|
9354
9511
|
exports.Radio = Radio;
|
|
9355
9512
|
exports.SearchBar = SearchBar;
|
|
9513
|
+
exports.SectionHeading = SectionHeading;
|
|
9356
9514
|
exports.SegmentedControl = SegmentedControl;
|
|
9357
9515
|
exports.Select = Select;
|
|
9358
9516
|
exports.Sidebar = Sidebar;
|