@dmitriikapustin/ui 0.4.1 → 0.4.2
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 +664 -527
- package/dist/index.d.cts +68 -6
- package/dist/index.d.ts +68 -6
- package/dist/index.js +665 -529
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createContext, useState, useEffect, useId, useRef, useCallback, useContext } from 'react';
|
|
1
|
+
import { createContext, useState, useEffect, createElement, useId, useRef, useCallback, useContext } from 'react';
|
|
2
2
|
import Lottie from 'lottie-react';
|
|
3
3
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
4
4
|
import { ResponsiveContainer, LineChart, CartesianGrid, XAxis, YAxis, Tooltip as Tooltip$1, Line, BarChart, Bar as Bar$1, ScatterChart, Scatter, Cell } from 'recharts';
|
|
@@ -1682,6 +1682,73 @@ function Skeleton({ variant = "line", width, height, className = "" }) {
|
|
|
1682
1682
|
);
|
|
1683
1683
|
}
|
|
1684
1684
|
|
|
1685
|
+
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/atoms/SectionHeading.module.scss
|
|
1686
|
+
__styleInject(`@charset "UTF-8";
|
|
1687
|
+
/* SectionHeading \u2014 \u0435\u0434\u0438\u043D\u0430\u044F \u0442\u0438\u043F\u043E\u0433\u0440\u0430\u0444\u0438\u043A\u0430 \u0434\u043B\u044F section-h2 \u0432 \u043F\u0430\u043A\u0435\u0442\u0435 \u0438 \u043F\u043E\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043B\u044F\u0445.
|
|
1688
|
+
\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0437\u0435\u0440\u043A\u0430\u043B\u044F\u0442 PromoSplit-module_heading / PromoTestimonials-module_heading. */
|
|
1689
|
+
.SectionHeading-module_heading {
|
|
1690
|
+
font-size: clamp(1.75rem, 4vw, 2.75rem);
|
|
1691
|
+
font-weight: 700;
|
|
1692
|
+
line-height: 1.1;
|
|
1693
|
+
letter-spacing: -0.03em;
|
|
1694
|
+
color: var(--fg);
|
|
1695
|
+
text-wrap: balance;
|
|
1696
|
+
margin: 0;
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
.SectionHeading-module_alignLeft {
|
|
1700
|
+
text-align: left;
|
|
1701
|
+
}
|
|
1702
|
+
|
|
1703
|
+
.SectionHeading-module_alignCenter {
|
|
1704
|
+
text-align: center;
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
.SectionHeading-module_wrap {
|
|
1708
|
+
display: flex;
|
|
1709
|
+
flex-direction: column;
|
|
1710
|
+
gap: 0.75rem;
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
.SectionHeading-module_wrapCenter {
|
|
1714
|
+
display: flex;
|
|
1715
|
+
flex-direction: column;
|
|
1716
|
+
align-items: center;
|
|
1717
|
+
gap: 0.75rem;
|
|
1718
|
+
text-align: center;
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
.SectionHeading-module_subtitle {
|
|
1722
|
+
font-size: 1rem;
|
|
1723
|
+
line-height: 1.625;
|
|
1724
|
+
color: var(--fg-secondary);
|
|
1725
|
+
margin: 0;
|
|
1726
|
+
max-width: 42rem;
|
|
1727
|
+
text-wrap: balance;
|
|
1728
|
+
}
|
|
1729
|
+
@media (min-width: 768px) {
|
|
1730
|
+
.SectionHeading-module_subtitle {
|
|
1731
|
+
font-size: 1.125rem;
|
|
1732
|
+
}
|
|
1733
|
+
}`);
|
|
1734
|
+
var __default20 = { "heading": "SectionHeading-module_heading", "alignLeft": "SectionHeading-module_alignLeft", "alignCenter": "SectionHeading-module_alignCenter", "wrap": "SectionHeading-module_wrap", "wrapCenter": "SectionHeading-module_wrapCenter", "subtitle": "SectionHeading-module_subtitle" };
|
|
1735
|
+
function SectionHeading({
|
|
1736
|
+
children,
|
|
1737
|
+
as = "h2",
|
|
1738
|
+
align = "left",
|
|
1739
|
+
subtitle,
|
|
1740
|
+
className = ""
|
|
1741
|
+
}) {
|
|
1742
|
+
const headingClass = `${__default20.heading} ${align === "center" ? __default20.alignCenter : __default20.alignLeft}${className ? ` ${className}` : ""}`;
|
|
1743
|
+
if (subtitle) {
|
|
1744
|
+
return /* @__PURE__ */ jsxs("div", { className: align === "center" ? __default20.wrapCenter : __default20.wrap, children: [
|
|
1745
|
+
createElement(as, { className: headingClass }, children),
|
|
1746
|
+
/* @__PURE__ */ jsx("p", { className: __default20.subtitle, children: subtitle })
|
|
1747
|
+
] });
|
|
1748
|
+
}
|
|
1749
|
+
return createElement(as, { className: headingClass }, children);
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1685
1752
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/atoms/TicketButton.module.scss
|
|
1686
1753
|
__styleInject(`@charset "UTF-8";
|
|
1687
1754
|
/* TicketButton SASS Module \u2014 scoped CSS replacing Tailwind group-hover utilities */
|
|
@@ -1746,7 +1813,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
1746
1813
|
align-items: center;
|
|
1747
1814
|
justify-content: center;
|
|
1748
1815
|
}`);
|
|
1749
|
-
var
|
|
1816
|
+
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" };
|
|
1750
1817
|
var DefaultIcon = () => /* @__PURE__ */ jsx("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("polyline", { points: "9 18 15 12 9 6" }) });
|
|
1751
1818
|
function TicketButton(_a) {
|
|
1752
1819
|
var _b = _a, {
|
|
@@ -1769,14 +1836,14 @@ function TicketButton(_a) {
|
|
|
1769
1836
|
return /* @__PURE__ */ jsxs(
|
|
1770
1837
|
"button",
|
|
1771
1838
|
__spreadProps(__spreadValues({
|
|
1772
|
-
className: `${
|
|
1839
|
+
className: `${__default21.root} ${className}`
|
|
1773
1840
|
}, props), {
|
|
1774
1841
|
children: [
|
|
1775
|
-
/* @__PURE__ */ jsxs("span", { className:
|
|
1842
|
+
/* @__PURE__ */ jsxs("span", { className: __default21.body, children: [
|
|
1776
1843
|
/* @__PURE__ */ jsxs(
|
|
1777
1844
|
"svg",
|
|
1778
1845
|
{
|
|
1779
|
-
className:
|
|
1846
|
+
className: __default21.bodySvg,
|
|
1780
1847
|
viewBox: "0 0 140 56",
|
|
1781
1848
|
fill: "none",
|
|
1782
1849
|
preserveAspectRatio: "none",
|
|
@@ -1801,13 +1868,13 @@ function TicketButton(_a) {
|
|
|
1801
1868
|
]
|
|
1802
1869
|
}
|
|
1803
1870
|
),
|
|
1804
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
1871
|
+
/* @__PURE__ */ jsx("span", { className: __default21.bodyText, style: { color: fg }, children })
|
|
1805
1872
|
] }),
|
|
1806
|
-
/* @__PURE__ */ jsxs("span", { className:
|
|
1873
|
+
/* @__PURE__ */ jsxs("span", { className: __default21.stub, children: [
|
|
1807
1874
|
/* @__PURE__ */ jsxs(
|
|
1808
1875
|
"svg",
|
|
1809
1876
|
{
|
|
1810
|
-
className:
|
|
1877
|
+
className: __default21.stubSvg,
|
|
1811
1878
|
viewBox: "0 0 56 56",
|
|
1812
1879
|
fill: "none",
|
|
1813
1880
|
preserveAspectRatio: "none",
|
|
@@ -1831,7 +1898,7 @@ function TicketButton(_a) {
|
|
|
1831
1898
|
]
|
|
1832
1899
|
}
|
|
1833
1900
|
),
|
|
1834
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
1901
|
+
/* @__PURE__ */ jsx("span", { className: __default21.stubIcon, style: { color: fg }, children: icon || /* @__PURE__ */ jsx(DefaultIcon, {}) })
|
|
1835
1902
|
] })
|
|
1836
1903
|
]
|
|
1837
1904
|
})
|
|
@@ -1932,7 +1999,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
1932
1999
|
.Card-module_spacer {
|
|
1933
2000
|
display: block;
|
|
1934
2001
|
}`);
|
|
1935
|
-
var
|
|
2002
|
+
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" };
|
|
1936
2003
|
|
|
1937
2004
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/molecules/IconBadge.module.scss
|
|
1938
2005
|
__styleInject(`@charset "UTF-8";
|
|
@@ -1952,9 +2019,9 @@ __styleInject(`@charset "UTF-8";
|
|
|
1952
2019
|
width: 20px;
|
|
1953
2020
|
height: 20px;
|
|
1954
2021
|
}`);
|
|
1955
|
-
var
|
|
2022
|
+
var __default23 = { "root": "IconBadge-module_root" };
|
|
1956
2023
|
function IconBadge({ icon, className = "" }) {
|
|
1957
|
-
return /* @__PURE__ */ jsx("div", { className: `${
|
|
2024
|
+
return /* @__PURE__ */ jsx("div", { className: `${__default23.root}${className ? ` ${className}` : ""}`, children: icon });
|
|
1958
2025
|
}
|
|
1959
2026
|
function Card({
|
|
1960
2027
|
image,
|
|
@@ -1971,20 +2038,20 @@ function Card({
|
|
|
1971
2038
|
const hasImage = !!image;
|
|
1972
2039
|
const hasBadgesOrAction = !!(badges && badges.length > 0 || action);
|
|
1973
2040
|
const showFooter = !!footer || hasBadgesOrAction;
|
|
1974
|
-
const variantClass = variant === "danger" ? ` ${
|
|
1975
|
-
return /* @__PURE__ */ jsxs("div", { className: `${
|
|
1976
|
-
hasImage && /* @__PURE__ */ jsx("div", { className:
|
|
2041
|
+
const variantClass = variant === "danger" ? ` ${__default22.danger}` : "";
|
|
2042
|
+
return /* @__PURE__ */ jsxs("div", { className: `${__default22.root}${variantClass}${className ? ` ${className}` : ""}`, children: [
|
|
2043
|
+
hasImage && /* @__PURE__ */ jsx("div", { className: __default22.imageWrapper, children: typeof image === "string" ? (
|
|
1977
2044
|
// eslint-disable-next-line @next/next/no-img-element
|
|
1978
|
-
/* @__PURE__ */ jsx("img", { src: image, alt: title || "", className:
|
|
2045
|
+
/* @__PURE__ */ jsx("img", { src: image, alt: title || "", className: __default22.image })
|
|
1979
2046
|
) : image }),
|
|
1980
|
-
/* @__PURE__ */ jsxs("div", { className: `${
|
|
1981
|
-
(title || description) && /* @__PURE__ */ jsxs("div", { className:
|
|
1982
|
-
title && /* @__PURE__ */ jsx("h3", { className:
|
|
1983
|
-
description && /* @__PURE__ */ jsx("p", { className: `${
|
|
2047
|
+
/* @__PURE__ */ jsxs("div", { className: `${__default22.body} ${hasImage ? __default22.bodyWithImage : __default22.bodyNoImage}`, children: [
|
|
2048
|
+
(title || description) && /* @__PURE__ */ jsxs("div", { className: __default22.titleBlock, children: [
|
|
2049
|
+
title && /* @__PURE__ */ jsx("h3", { className: __default22.title, children: title }),
|
|
2050
|
+
description && /* @__PURE__ */ jsx("p", { className: `${__default22.description}${descriptionClassName ? ` ${descriptionClassName}` : ""}`, children: description })
|
|
1984
2051
|
] }),
|
|
1985
2052
|
children,
|
|
1986
|
-
showFooter && /* @__PURE__ */ jsx("div", { className:
|
|
1987
|
-
badges && badges.length > 0 ? /* @__PURE__ */ jsx("div", { className:
|
|
2053
|
+
showFooter && /* @__PURE__ */ jsx("div", { className: __default22.footer, children: footer || /* @__PURE__ */ jsxs("div", { className: __default22.footerRow, children: [
|
|
2054
|
+
badges && badges.length > 0 ? /* @__PURE__ */ jsx("div", { className: __default22.badges, children: badges.map((b, i) => /* @__PURE__ */ jsx(IconBadge, { icon: b }, i)) }) : /* @__PURE__ */ jsx("span", { className: __default22.spacer }),
|
|
1988
2055
|
action && /* @__PURE__ */ jsx(
|
|
1989
2056
|
Button,
|
|
1990
2057
|
{
|
|
@@ -2077,7 +2144,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
2077
2144
|
height: auto;
|
|
2078
2145
|
display: block;
|
|
2079
2146
|
}`);
|
|
2080
|
-
var
|
|
2147
|
+
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" };
|
|
2081
2148
|
function Gallery({
|
|
2082
2149
|
variant = "grid",
|
|
2083
2150
|
images,
|
|
@@ -2086,10 +2153,10 @@ function Gallery({
|
|
|
2086
2153
|
}) {
|
|
2087
2154
|
if (images.length === 0) return null;
|
|
2088
2155
|
const isMasonry = variant === "masonry";
|
|
2089
|
-
const itemClass = isMasonry ?
|
|
2090
|
-
const containerClass = isMasonry ?
|
|
2091
|
-
return /* @__PURE__ */ jsxs("section", { className: `${
|
|
2092
|
-
title && /* @__PURE__ */ jsx("h2", { className:
|
|
2156
|
+
const itemClass = isMasonry ? __default24.masonryItem : __default24.gridItem;
|
|
2157
|
+
const containerClass = isMasonry ? __default24.masonry : __default24.grid;
|
|
2158
|
+
return /* @__PURE__ */ jsxs("section", { className: `${__default24.root}${className ? ` ${className}` : ""}`, children: [
|
|
2159
|
+
title && /* @__PURE__ */ jsx("h2", { className: __default24.title, children: title }),
|
|
2093
2160
|
/* @__PURE__ */ jsx("div", { className: containerClass, children: images.map((src, i) => /* @__PURE__ */ jsx("div", { className: itemClass, children: /* @__PURE__ */ jsx(
|
|
2094
2161
|
"img",
|
|
2095
2162
|
{
|
|
@@ -2097,7 +2164,7 @@ function Gallery({
|
|
|
2097
2164
|
alt: "",
|
|
2098
2165
|
loading: i === 0 ? "eager" : "lazy",
|
|
2099
2166
|
decoding: i === 0 ? "sync" : "async",
|
|
2100
|
-
className:
|
|
2167
|
+
className: __default24.image
|
|
2101
2168
|
}
|
|
2102
2169
|
) }, `${src}-${i}`)) })
|
|
2103
2170
|
] });
|
|
@@ -2116,12 +2183,12 @@ __styleInject(`@charset "UTF-8";
|
|
|
2116
2183
|
font-size: 0.8125rem;
|
|
2117
2184
|
color: var(--fg-muted);
|
|
2118
2185
|
}`);
|
|
2119
|
-
var
|
|
2186
|
+
var __default25 = { "root": "FormField-module_root", "hint": "FormField-module_hint" };
|
|
2120
2187
|
function FormField(_a) {
|
|
2121
2188
|
var _b = _a, { label, error, hint, icon } = _b, inputProps = __objRest(_b, ["label", "error", "hint", "icon"]);
|
|
2122
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
2189
|
+
return /* @__PURE__ */ jsxs("div", { className: __default25.root, children: [
|
|
2123
2190
|
/* @__PURE__ */ jsx(Input, __spreadValues({ label, error, icon }, inputProps)),
|
|
2124
|
-
hint && !error && /* @__PURE__ */ jsx("p", { className:
|
|
2191
|
+
hint && !error && /* @__PURE__ */ jsx("p", { className: __default25.hint, children: hint })
|
|
2125
2192
|
] });
|
|
2126
2193
|
}
|
|
2127
2194
|
|
|
@@ -2173,7 +2240,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
2173
2240
|
.SearchBar-module_clearBtn:hover {
|
|
2174
2241
|
color: var(--fg);
|
|
2175
2242
|
}`);
|
|
2176
|
-
var
|
|
2243
|
+
var __default26 = { "root": "SearchBar-module_root", "searchIcon": "SearchBar-module_searchIcon", "input": "SearchBar-module_input", "clearBtn": "SearchBar-module_clearBtn" };
|
|
2177
2244
|
function SearchBar({ placeholder = "Search...", value: controlledValue, onChange, className = "" }) {
|
|
2178
2245
|
const [internalValue, setInternalValue] = useState("");
|
|
2179
2246
|
const value = controlledValue != null ? controlledValue : internalValue;
|
|
@@ -2181,8 +2248,8 @@ function SearchBar({ placeholder = "Search...", value: controlledValue, onChange
|
|
|
2181
2248
|
setInternalValue(val);
|
|
2182
2249
|
onChange == null ? void 0 : onChange(val);
|
|
2183
2250
|
};
|
|
2184
|
-
return /* @__PURE__ */ jsxs("div", { className: `${
|
|
2185
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
2251
|
+
return /* @__PURE__ */ jsxs("div", { className: `${__default26.root}${className ? ` ${className}` : ""}`, children: [
|
|
2252
|
+
/* @__PURE__ */ jsx("div", { className: __default26.searchIcon, children: /* @__PURE__ */ jsx(IconlySearch, { size: 18 }) }),
|
|
2186
2253
|
/* @__PURE__ */ jsx(
|
|
2187
2254
|
"input",
|
|
2188
2255
|
{
|
|
@@ -2191,14 +2258,14 @@ function SearchBar({ placeholder = "Search...", value: controlledValue, onChange
|
|
|
2191
2258
|
onChange: (e) => handleChange(e.target.value),
|
|
2192
2259
|
placeholder,
|
|
2193
2260
|
"aria-label": "Search",
|
|
2194
|
-
className:
|
|
2261
|
+
className: __default26.input
|
|
2195
2262
|
}
|
|
2196
2263
|
),
|
|
2197
2264
|
value && /* @__PURE__ */ jsx(
|
|
2198
2265
|
"button",
|
|
2199
2266
|
{
|
|
2200
2267
|
onClick: () => handleChange(""),
|
|
2201
|
-
className:
|
|
2268
|
+
className: __default26.clearBtn,
|
|
2202
2269
|
"aria-label": "Clear search",
|
|
2203
2270
|
children: /* @__PURE__ */ jsx(IconlyClose, { size: 16 })
|
|
2204
2271
|
}
|
|
@@ -2244,18 +2311,18 @@ __styleInject(`@charset "UTF-8";
|
|
|
2244
2311
|
font-size: 0.875rem;
|
|
2245
2312
|
color: var(--fg-muted);
|
|
2246
2313
|
}`);
|
|
2247
|
-
var
|
|
2314
|
+
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" };
|
|
2248
2315
|
function Stat({ value, label, trend, className = "" }) {
|
|
2249
|
-
return /* @__PURE__ */ jsxs("div", { className: `${
|
|
2250
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
2251
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
2252
|
-
trend && /* @__PURE__ */ jsxs("span", { className: `${
|
|
2316
|
+
return /* @__PURE__ */ jsxs("div", { className: `${__default27.root}${className ? ` ${className}` : ""}`, children: [
|
|
2317
|
+
/* @__PURE__ */ jsxs("div", { className: __default27.valueRow, children: [
|
|
2318
|
+
/* @__PURE__ */ jsx("span", { className: __default27.value, children: value }),
|
|
2319
|
+
trend && /* @__PURE__ */ jsxs("span", { className: `${__default27.trend} ${trend.positive ? __default27.positive : __default27.negative}`, children: [
|
|
2253
2320
|
trend.positive ? "\u2191" : "\u2193",
|
|
2254
2321
|
" ",
|
|
2255
2322
|
trend.value
|
|
2256
2323
|
] })
|
|
2257
2324
|
] }),
|
|
2258
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
2325
|
+
/* @__PURE__ */ jsx("span", { className: __default27.label, children: label })
|
|
2259
2326
|
] });
|
|
2260
2327
|
}
|
|
2261
2328
|
|
|
@@ -2322,7 +2389,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
2322
2389
|
.Alert-module_dismiss:hover {
|
|
2323
2390
|
color: var(--fg);
|
|
2324
2391
|
}`);
|
|
2325
|
-
var
|
|
2392
|
+
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" };
|
|
2326
2393
|
var variantIcons = {
|
|
2327
2394
|
info: IconlyInfoCircle,
|
|
2328
2395
|
success: IconlySuccess,
|
|
@@ -2333,18 +2400,18 @@ function Alert({ variant = "info", title, children, closable = false, className
|
|
|
2333
2400
|
const [visible, setVisible] = useState(true);
|
|
2334
2401
|
if (!visible) return null;
|
|
2335
2402
|
const Icon = variantIcons[variant];
|
|
2336
|
-
const variantClass =
|
|
2337
|
-
return /* @__PURE__ */ jsxs("div", { className: `${
|
|
2338
|
-
/* @__PURE__ */ jsx("div", { className: `${
|
|
2339
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
2340
|
-
title && /* @__PURE__ */ jsx("p", { className: `${
|
|
2341
|
-
/* @__PURE__ */ jsx("p", { className:
|
|
2403
|
+
const variantClass = __default28[variant];
|
|
2404
|
+
return /* @__PURE__ */ jsxs("div", { className: `${__default28.root}${className ? ` ${className}` : ""}`, children: [
|
|
2405
|
+
/* @__PURE__ */ jsx("div", { className: `${__default28.icon} ${variantClass}`, children: /* @__PURE__ */ jsx(Icon, { size: 20 }) }),
|
|
2406
|
+
/* @__PURE__ */ jsxs("div", { className: __default28.content, children: [
|
|
2407
|
+
title && /* @__PURE__ */ jsx("p", { className: `${__default28.title} ${variantClass}`, children: title }),
|
|
2408
|
+
/* @__PURE__ */ jsx("p", { className: __default28.message, children })
|
|
2342
2409
|
] }),
|
|
2343
2410
|
closable && /* @__PURE__ */ jsx(
|
|
2344
2411
|
"button",
|
|
2345
2412
|
{
|
|
2346
2413
|
onClick: () => setVisible(false),
|
|
2347
|
-
className:
|
|
2414
|
+
className: __default28.dismiss,
|
|
2348
2415
|
"aria-label": "Dismiss",
|
|
2349
2416
|
children: /* @__PURE__ */ jsx(IconlyClose, { size: 16 })
|
|
2350
2417
|
}
|
|
@@ -2392,7 +2459,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
2392
2459
|
.Tabs-module_panel {
|
|
2393
2460
|
padding-top: 1rem;
|
|
2394
2461
|
}`);
|
|
2395
|
-
var
|
|
2462
|
+
var __default29 = { "tabList": "Tabs-module_tabList", "tab": "Tabs-module_tab", "active": "Tabs-module_active", "indicator": "Tabs-module_indicator", "panel": "Tabs-module_panel" };
|
|
2396
2463
|
function Tabs({ tabs, defaultTab, onChange, className = "" }) {
|
|
2397
2464
|
var _a, _b;
|
|
2398
2465
|
const [activeTab, setActiveTab] = useState(defaultTab || ((_a = tabs[0]) == null ? void 0 : _a.id));
|
|
@@ -2423,7 +2490,7 @@ function Tabs({ tabs, defaultTab, onChange, className = "" }) {
|
|
|
2423
2490
|
"div",
|
|
2424
2491
|
{
|
|
2425
2492
|
role: "tablist",
|
|
2426
|
-
className:
|
|
2493
|
+
className: __default29.tabList,
|
|
2427
2494
|
onKeyDown: handleKeyDown,
|
|
2428
2495
|
children: tabs.map((tab, index) => /* @__PURE__ */ jsxs(
|
|
2429
2496
|
"button",
|
|
@@ -2437,10 +2504,10 @@ function Tabs({ tabs, defaultTab, onChange, className = "" }) {
|
|
|
2437
2504
|
"aria-controls": `panel-${tab.id}`,
|
|
2438
2505
|
tabIndex: activeTab === tab.id ? 0 : -1,
|
|
2439
2506
|
onClick: () => activateTab(tab.id),
|
|
2440
|
-
className: `${
|
|
2507
|
+
className: `${__default29.tab} ${activeTab === tab.id ? __default29.active : ""}`,
|
|
2441
2508
|
children: [
|
|
2442
2509
|
tab.label,
|
|
2443
|
-
activeTab === tab.id && /* @__PURE__ */ jsx("span", { className:
|
|
2510
|
+
activeTab === tab.id && /* @__PURE__ */ jsx("span", { className: __default29.indicator })
|
|
2444
2511
|
]
|
|
2445
2512
|
},
|
|
2446
2513
|
tab.id
|
|
@@ -2453,7 +2520,7 @@ function Tabs({ tabs, defaultTab, onChange, className = "" }) {
|
|
|
2453
2520
|
role: "tabpanel",
|
|
2454
2521
|
id: `panel-${activeTab}`,
|
|
2455
2522
|
"aria-labelledby": `tab-${activeTab}`,
|
|
2456
|
-
className:
|
|
2523
|
+
className: __default29.panel,
|
|
2457
2524
|
children: activeContent
|
|
2458
2525
|
}
|
|
2459
2526
|
)
|
|
@@ -2518,7 +2585,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
2518
2585
|
align-items: center;
|
|
2519
2586
|
gap: 0.25rem;
|
|
2520
2587
|
}`);
|
|
2521
|
-
var
|
|
2588
|
+
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" };
|
|
2522
2589
|
function ChatInput({
|
|
2523
2590
|
placeholder = "\u0412\u0432\u0435\u0434\u0438 \u0441\u0432\u043E\u0439 email...",
|
|
2524
2591
|
buttonText = "\u041D\u0430\u0447\u0430\u0442\u044C \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",
|
|
@@ -2544,7 +2611,7 @@ function ChatInput({
|
|
|
2544
2611
|
var _a;
|
|
2545
2612
|
return (_a = inputRef.current) == null ? void 0 : _a.focus();
|
|
2546
2613
|
},
|
|
2547
|
-
className: `${
|
|
2614
|
+
className: `${__default30.root} ${contrast ? __default30.contrast : __default30.plain}${className ? ` ${className}` : ""}`,
|
|
2548
2615
|
children: [
|
|
2549
2616
|
/* @__PURE__ */ jsx(
|
|
2550
2617
|
"input",
|
|
@@ -2554,11 +2621,11 @@ function ChatInput({
|
|
|
2554
2621
|
value,
|
|
2555
2622
|
onChange: (e) => setValue(e.target.value),
|
|
2556
2623
|
placeholder,
|
|
2557
|
-
className:
|
|
2624
|
+
className: __default30.input
|
|
2558
2625
|
}
|
|
2559
2626
|
),
|
|
2560
|
-
/* @__PURE__ */ jsxs("div", { className: `${
|
|
2561
|
-
type === "full" && /* @__PURE__ */ jsxs("div", { className:
|
|
2627
|
+
/* @__PURE__ */ jsxs("div", { className: `${__default30.actions} ${type === "full" ? __default30.actionsFull : __default30.actionsEasy}`, children: [
|
|
2628
|
+
type === "full" && /* @__PURE__ */ jsxs("div", { className: __default30.toolGroup, children: [
|
|
2562
2629
|
/* @__PURE__ */ jsx(IconButton, { variant: "secondary", icon: /* @__PURE__ */ jsx(IconlySmile, { size: 20 }), type: "button", "aria-label": "Emoji" }),
|
|
2563
2630
|
/* @__PURE__ */ jsx(IconButton, { variant: "clear", icon: /* @__PURE__ */ jsx(IconlyAttach, { size: 20 }), type: "button", "aria-label": "Attach" }),
|
|
2564
2631
|
/* @__PURE__ */ jsx(IconButton, { variant: "clear", icon: /* @__PURE__ */ jsx(IconlyInfo, { size: 20 }), type: "button", "aria-label": "Info" })
|
|
@@ -2615,13 +2682,13 @@ __styleInject(`@charset "UTF-8";
|
|
|
2615
2682
|
color: var(--bg);
|
|
2616
2683
|
border-bottom-right-radius: 16px;
|
|
2617
2684
|
}`);
|
|
2618
|
-
var
|
|
2685
|
+
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" };
|
|
2619
2686
|
function ChatMessage({ children, role = "user", size = "sm", className = "" }) {
|
|
2620
2687
|
const isUser = role === "user";
|
|
2621
|
-
return /* @__PURE__ */ jsx("div", { className: `${
|
|
2688
|
+
return /* @__PURE__ */ jsx("div", { className: `${__default31.root} ${isUser ? __default31.user : __default31.ai}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsx(
|
|
2622
2689
|
"div",
|
|
2623
2690
|
{
|
|
2624
|
-
className: `${
|
|
2691
|
+
className: `${__default31.bubble} ${__default31[size]} ${isUser ? __default31.bubbleUser : __default31.bubbleAi}`,
|
|
2625
2692
|
children
|
|
2626
2693
|
}
|
|
2627
2694
|
) });
|
|
@@ -2641,10 +2708,10 @@ __styleInject(`@charset "UTF-8";
|
|
|
2641
2708
|
letter-spacing: -0.25px;
|
|
2642
2709
|
color: var(--fg-secondary);
|
|
2643
2710
|
}`);
|
|
2644
|
-
var
|
|
2711
|
+
var __default32 = { "root": "TopPromo-module_root", "text": "TopPromo-module_text" };
|
|
2645
2712
|
function TopPromo({ text, buttonText = "\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C", onButtonClick, className = "" }) {
|
|
2646
|
-
return /* @__PURE__ */ jsxs("div", { className: `${
|
|
2647
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
2713
|
+
return /* @__PURE__ */ jsxs("div", { className: `${__default32.root}${className ? ` ${className}` : ""}`, children: [
|
|
2714
|
+
/* @__PURE__ */ jsx("span", { className: __default32.text, children: text }),
|
|
2648
2715
|
/* @__PURE__ */ jsx(Button, { variant: "primary", size: "md", onClick: onButtonClick, children: buttonText })
|
|
2649
2716
|
] });
|
|
2650
2717
|
}
|
|
@@ -2680,16 +2747,16 @@ __styleInject(`@charset "UTF-8";
|
|
|
2680
2747
|
.ProfileNav-module_separator {
|
|
2681
2748
|
color: var(--fg-muted);
|
|
2682
2749
|
}`);
|
|
2683
|
-
var
|
|
2750
|
+
var __default33 = { "root": "ProfileNav-module_root", "stats": "ProfileNav-module_stats", "statItem": "ProfileNav-module_statItem", "statText": "ProfileNav-module_statText", "separator": "ProfileNav-module_separator" };
|
|
2684
2751
|
function ProfileNav({ stats, avatarSrc, avatarInitials = "DK", className = "" }) {
|
|
2685
|
-
return /* @__PURE__ */ jsxs("div", { className: `${
|
|
2686
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
2687
|
-
/* @__PURE__ */ jsxs("span", { className:
|
|
2752
|
+
return /* @__PURE__ */ jsxs("div", { className: `${__default33.root}${className ? ` ${className}` : ""}`, children: [
|
|
2753
|
+
/* @__PURE__ */ jsx("div", { className: __default33.stats, children: stats.map((stat, i) => /* @__PURE__ */ jsxs("span", { className: __default33.statItem, children: [
|
|
2754
|
+
/* @__PURE__ */ jsxs("span", { className: __default33.statText, children: [
|
|
2688
2755
|
stat.value,
|
|
2689
2756
|
" ",
|
|
2690
2757
|
stat.suffix
|
|
2691
2758
|
] }),
|
|
2692
|
-
i < stats.length - 1 && /* @__PURE__ */ jsx("span", { className:
|
|
2759
|
+
i < stats.length - 1 && /* @__PURE__ */ jsx("span", { className: __default33.separator, children: " //" })
|
|
2693
2760
|
] }, i)) }),
|
|
2694
2761
|
/* @__PURE__ */ jsx(Avatar, { size: "sm", src: avatarSrc, initials: avatarInitials })
|
|
2695
2762
|
] });
|
|
@@ -2722,12 +2789,12 @@ __styleInject(`@charset "UTF-8";
|
|
|
2722
2789
|
letter-spacing: -0.25px;
|
|
2723
2790
|
white-space: nowrap;
|
|
2724
2791
|
}`);
|
|
2725
|
-
var
|
|
2792
|
+
var __default34 = { "root": "IconWithText-module_root", "icon": "IconWithText-module_icon", "text": "IconWithText-module_text" };
|
|
2726
2793
|
function IconWithText({ icon, text, side = "left", className = "" }) {
|
|
2727
|
-
return /* @__PURE__ */ jsxs("div", { className: `${
|
|
2728
|
-
side === "left" && /* @__PURE__ */ jsx("span", { className:
|
|
2729
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
2730
|
-
side === "right" && /* @__PURE__ */ jsx("span", { className:
|
|
2794
|
+
return /* @__PURE__ */ jsxs("div", { className: `${__default34.root}${className ? ` ${className}` : ""}`, children: [
|
|
2795
|
+
side === "left" && /* @__PURE__ */ jsx("span", { className: __default34.icon, children: icon }),
|
|
2796
|
+
/* @__PURE__ */ jsx("span", { className: __default34.text, children: text }),
|
|
2797
|
+
side === "right" && /* @__PURE__ */ jsx("span", { className: __default34.icon, children: icon })
|
|
2731
2798
|
] });
|
|
2732
2799
|
}
|
|
2733
2800
|
|
|
@@ -2749,7 +2816,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
2749
2816
|
.StampCard-module_inner {
|
|
2750
2817
|
background: var(--bg);
|
|
2751
2818
|
}`);
|
|
2752
|
-
var
|
|
2819
|
+
var __default35 = { "root": "StampCard-module_root", "plain": "StampCard-module_plain", "inner": "StampCard-module_inner" };
|
|
2753
2820
|
function StampCard({
|
|
2754
2821
|
children,
|
|
2755
2822
|
className = "",
|
|
@@ -2801,9 +2868,9 @@ function StampCard({
|
|
|
2801
2868
|
};
|
|
2802
2869
|
}, [build, stamp]);
|
|
2803
2870
|
if (!stamp) {
|
|
2804
|
-
return /* @__PURE__ */ jsx("div", { className: `${
|
|
2871
|
+
return /* @__PURE__ */ jsx("div", { className: `${__default35.plain} ${className}`, children });
|
|
2805
2872
|
}
|
|
2806
|
-
return /* @__PURE__ */ jsx("div", { ref: outerRef, className: `${
|
|
2873
|
+
return /* @__PURE__ */ jsx("div", { ref: outerRef, className: `${__default35.root} ${className}`, children: /* @__PURE__ */ 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__ */ jsx(
|
|
2807
2874
|
"div",
|
|
2808
2875
|
{
|
|
2809
2876
|
style: {
|
|
@@ -2812,7 +2879,7 @@ function StampCard({
|
|
|
2812
2879
|
WebkitMaskSize: "100% 100%",
|
|
2813
2880
|
maskSize: "100% 100%"
|
|
2814
2881
|
},
|
|
2815
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
2882
|
+
children: /* @__PURE__ */ jsx("div", { className: __default35.inner, children })
|
|
2816
2883
|
}
|
|
2817
2884
|
) }) });
|
|
2818
2885
|
}
|
|
@@ -2826,7 +2893,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
2826
2893
|
justify-content: center;
|
|
2827
2894
|
cursor: pointer;
|
|
2828
2895
|
}`);
|
|
2829
|
-
var
|
|
2896
|
+
var __default36 = { "toggle": "PasswordInput-module_toggle" };
|
|
2830
2897
|
function PasswordInput(_a) {
|
|
2831
2898
|
var props = __objRest(_a, []);
|
|
2832
2899
|
const [showPassword, setShowPassword] = useState(false);
|
|
@@ -2839,7 +2906,7 @@ function PasswordInput(_a) {
|
|
|
2839
2906
|
{
|
|
2840
2907
|
type: "button",
|
|
2841
2908
|
onClick: () => setShowPassword((prev) => !prev),
|
|
2842
|
-
className:
|
|
2909
|
+
className: __default36.toggle,
|
|
2843
2910
|
"aria-label": showPassword ? "Hide password" : "Show password",
|
|
2844
2911
|
tabIndex: -1,
|
|
2845
2912
|
children: showPassword ? /* @__PURE__ */ jsx(IconlyEyeOff, { size: 18 }) : /* @__PURE__ */ jsx(IconlyEye, { size: 18 })
|
|
@@ -2886,21 +2953,21 @@ __styleInject(`@charset "UTF-8";
|
|
|
2886
2953
|
.Breadcrumbs-module_link:hover {
|
|
2887
2954
|
color: var(--fg);
|
|
2888
2955
|
}`);
|
|
2889
|
-
var
|
|
2956
|
+
var __default37 = { "list": "Breadcrumbs-module_list", "item": "Breadcrumbs-module_item", "separator": "Breadcrumbs-module_separator", "active": "Breadcrumbs-module_active", "link": "Breadcrumbs-module_link" };
|
|
2890
2957
|
function Breadcrumbs({
|
|
2891
2958
|
items,
|
|
2892
2959
|
separator = /* @__PURE__ */ jsx(IconlyChevronRight, { size: 14 })
|
|
2893
2960
|
}) {
|
|
2894
|
-
return /* @__PURE__ */ jsx("nav", { "aria-label": "Breadcrumb", children: /* @__PURE__ */ jsx("ol", { className:
|
|
2961
|
+
return /* @__PURE__ */ jsx("nav", { "aria-label": "Breadcrumb", children: /* @__PURE__ */ jsx("ol", { className: __default37.list, children: items.map((item, index) => {
|
|
2895
2962
|
var _a;
|
|
2896
2963
|
const isLast = index === items.length - 1;
|
|
2897
|
-
return /* @__PURE__ */ jsxs("li", { className:
|
|
2898
|
-
index > 0 && /* @__PURE__ */ jsx("span", { className:
|
|
2899
|
-
isLast ? /* @__PURE__ */ jsx("span", { className:
|
|
2964
|
+
return /* @__PURE__ */ jsxs("li", { className: __default37.item, children: [
|
|
2965
|
+
index > 0 && /* @__PURE__ */ jsx("span", { className: __default37.separator, "aria-hidden": "true", children: separator }),
|
|
2966
|
+
isLast ? /* @__PURE__ */ jsx("span", { className: __default37.active, "aria-current": "page", children: item.label }) : /* @__PURE__ */ jsx(
|
|
2900
2967
|
"a",
|
|
2901
2968
|
{
|
|
2902
2969
|
href: (_a = item.href) != null ? _a : "#",
|
|
2903
|
-
className:
|
|
2970
|
+
className: __default37.link,
|
|
2904
2971
|
children: item.label
|
|
2905
2972
|
}
|
|
2906
2973
|
)
|
|
@@ -2977,7 +3044,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
2977
3044
|
.Toast-module_dismiss:hover {
|
|
2978
3045
|
color: var(--fg);
|
|
2979
3046
|
}`);
|
|
2980
|
-
var
|
|
3047
|
+
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" };
|
|
2981
3048
|
var variantIcons2 = {
|
|
2982
3049
|
info: IconlyInfoCircle,
|
|
2983
3050
|
success: IconlySuccess,
|
|
@@ -3000,24 +3067,24 @@ function Toast({
|
|
|
3000
3067
|
}, [visible, duration, onClose]);
|
|
3001
3068
|
if (!visible) return null;
|
|
3002
3069
|
const Icon = variantIcons2[variant];
|
|
3003
|
-
const variantClass =
|
|
3070
|
+
const variantClass = __default38[variant];
|
|
3004
3071
|
return /* @__PURE__ */ jsxs(
|
|
3005
3072
|
"div",
|
|
3006
3073
|
{
|
|
3007
3074
|
role: "alert",
|
|
3008
3075
|
"aria-live": "assertive",
|
|
3009
|
-
className: `${
|
|
3076
|
+
className: `${__default38.root}${className ? ` ${className}` : ""}`,
|
|
3010
3077
|
children: [
|
|
3011
|
-
/* @__PURE__ */ jsx("div", { className: `${
|
|
3012
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
3013
|
-
title && /* @__PURE__ */ jsx("p", { className: `${
|
|
3014
|
-
/* @__PURE__ */ jsx("p", { className:
|
|
3078
|
+
/* @__PURE__ */ jsx("div", { className: `${__default38.icon} ${variantClass}`, children: /* @__PURE__ */ jsx(Icon, { size: 20 }) }),
|
|
3079
|
+
/* @__PURE__ */ jsxs("div", { className: __default38.content, children: [
|
|
3080
|
+
title && /* @__PURE__ */ jsx("p", { className: `${__default38.title} ${variantClass}`, children: title }),
|
|
3081
|
+
/* @__PURE__ */ jsx("p", { className: __default38.message, children: message })
|
|
3015
3082
|
] }),
|
|
3016
3083
|
/* @__PURE__ */ jsx(
|
|
3017
3084
|
"button",
|
|
3018
3085
|
{
|
|
3019
3086
|
onClick: onClose,
|
|
3020
|
-
className:
|
|
3087
|
+
className: __default38.dismiss,
|
|
3021
3088
|
"aria-label": "Dismiss",
|
|
3022
3089
|
children: /* @__PURE__ */ jsx(IconlyClose, { size: 16 })
|
|
3023
3090
|
}
|
|
@@ -3097,7 +3164,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
3097
3164
|
opacity: 0.5;
|
|
3098
3165
|
cursor: not-allowed;
|
|
3099
3166
|
}`);
|
|
3100
|
-
var
|
|
3167
|
+
var __default39 = { "root": "Pagination-module_root", "pageBtn": "Pagination-module_pageBtn", "activePage": "Pagination-module_activePage", "ellipsis": "Pagination-module_ellipsis", "nav": "Pagination-module_nav" };
|
|
3101
3168
|
function getPageRange(current, total, siblings) {
|
|
3102
3169
|
const range = /* @__PURE__ */ new Set();
|
|
3103
3170
|
range.add(1);
|
|
@@ -3126,24 +3193,24 @@ function Pagination({
|
|
|
3126
3193
|
const pages = getPageRange(currentPage, totalPages, siblingCount);
|
|
3127
3194
|
const isFirst = currentPage === 1;
|
|
3128
3195
|
const isLast = currentPage === totalPages;
|
|
3129
|
-
return /* @__PURE__ */ jsxs("nav", { "aria-label": "Pagination", className: `${
|
|
3196
|
+
return /* @__PURE__ */ jsxs("nav", { "aria-label": "Pagination", className: `${__default39.root} ${className}`, children: [
|
|
3130
3197
|
/* @__PURE__ */ jsx(
|
|
3131
3198
|
"button",
|
|
3132
3199
|
{
|
|
3133
3200
|
onClick: () => onPageChange(currentPage - 1),
|
|
3134
3201
|
disabled: isFirst,
|
|
3135
3202
|
"aria-label": "Previous page",
|
|
3136
|
-
className:
|
|
3203
|
+
className: __default39.nav,
|
|
3137
3204
|
children: /* @__PURE__ */ jsx(IconlyChevronLeft, { size: 18 })
|
|
3138
3205
|
}
|
|
3139
3206
|
),
|
|
3140
3207
|
pages.map(
|
|
3141
|
-
(page, i) => page === "\u2026" ? /* @__PURE__ */ jsx("span", { className:
|
|
3208
|
+
(page, i) => page === "\u2026" ? /* @__PURE__ */ jsx("span", { className: __default39.ellipsis, children: "\u2026" }, `ellipsis-${i}`) : /* @__PURE__ */ jsx(
|
|
3142
3209
|
"button",
|
|
3143
3210
|
{
|
|
3144
3211
|
onClick: () => onPageChange(page),
|
|
3145
3212
|
"aria-current": page === currentPage ? "page" : void 0,
|
|
3146
|
-
className: `${
|
|
3213
|
+
className: `${__default39.pageBtn} ${page === currentPage ? __default39.activePage : ""}`,
|
|
3147
3214
|
children: page
|
|
3148
3215
|
},
|
|
3149
3216
|
page
|
|
@@ -3155,7 +3222,7 @@ function Pagination({
|
|
|
3155
3222
|
onClick: () => onPageChange(currentPage + 1),
|
|
3156
3223
|
disabled: isLast,
|
|
3157
3224
|
"aria-label": "Next page",
|
|
3158
|
-
className:
|
|
3225
|
+
className: __default39.nav,
|
|
3159
3226
|
children: /* @__PURE__ */ jsx(IconlyChevronRight, { size: 18 })
|
|
3160
3227
|
}
|
|
3161
3228
|
)
|
|
@@ -3211,7 +3278,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
3211
3278
|
letter-spacing: -0.25px;
|
|
3212
3279
|
color: var(--color-error);
|
|
3213
3280
|
}`);
|
|
3214
|
-
var
|
|
3281
|
+
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" };
|
|
3215
3282
|
function CodeInput({
|
|
3216
3283
|
length,
|
|
3217
3284
|
value,
|
|
@@ -3264,9 +3331,9 @@ function CodeInput({
|
|
|
3264
3331
|
[length, onChange, focusInput]
|
|
3265
3332
|
);
|
|
3266
3333
|
const inputId = label == null ? void 0 : label.toLowerCase().replace(/\s+/g, "-");
|
|
3267
|
-
return /* @__PURE__ */ jsxs("div", { className: `${
|
|
3268
|
-
label && /* @__PURE__ */ jsx("label", { htmlFor: inputId, className:
|
|
3269
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
3334
|
+
return /* @__PURE__ */ jsxs("div", { className: `${__default40.root} ${className}`, children: [
|
|
3335
|
+
label && /* @__PURE__ */ jsx("label", { htmlFor: inputId, className: __default40.label, children: label }),
|
|
3336
|
+
/* @__PURE__ */ jsx("div", { className: __default40.group, role: "group", "aria-label": label || "Code input", children: Array.from({ length }, (_, i) => /* @__PURE__ */ jsx(
|
|
3270
3337
|
"input",
|
|
3271
3338
|
{
|
|
3272
3339
|
id: i === 0 ? inputId : void 0,
|
|
@@ -3281,12 +3348,12 @@ function CodeInput({
|
|
|
3281
3348
|
onKeyDown: handleKeyDown(i),
|
|
3282
3349
|
onPaste: handlePaste,
|
|
3283
3350
|
autoComplete: "one-time-code",
|
|
3284
|
-
className: `${
|
|
3351
|
+
className: `${__default40.digitInput} ${error ? __default40.digitError : ""}`,
|
|
3285
3352
|
"aria-label": `Digit ${i + 1}`
|
|
3286
3353
|
},
|
|
3287
3354
|
i
|
|
3288
3355
|
)) }),
|
|
3289
|
-
error && /* @__PURE__ */ jsx("p", { className:
|
|
3356
|
+
error && /* @__PURE__ */ jsx("p", { className: __default40.errorText, children: error })
|
|
3290
3357
|
] });
|
|
3291
3358
|
}
|
|
3292
3359
|
|
|
@@ -3350,7 +3417,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
3350
3417
|
justify-content: flex-end;
|
|
3351
3418
|
margin-top: 1.5rem;
|
|
3352
3419
|
}`);
|
|
3353
|
-
var
|
|
3420
|
+
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" };
|
|
3354
3421
|
function Modal({
|
|
3355
3422
|
open,
|
|
3356
3423
|
onClose,
|
|
@@ -3380,23 +3447,23 @@ function Modal({
|
|
|
3380
3447
|
ref: dialogRef,
|
|
3381
3448
|
onClose,
|
|
3382
3449
|
onClick: handleBackdropClick,
|
|
3383
|
-
className: `${
|
|
3384
|
-
children: /* @__PURE__ */ jsxs("div", { className:
|
|
3385
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
3386
|
-
title && /* @__PURE__ */ jsx("h2", { className:
|
|
3450
|
+
className: `${__default41.dialog}${className ? ` ${className}` : ""}`,
|
|
3451
|
+
children: /* @__PURE__ */ jsxs("div", { className: __default41.content, children: [
|
|
3452
|
+
/* @__PURE__ */ jsxs("div", { className: __default41.header, children: [
|
|
3453
|
+
title && /* @__PURE__ */ jsx("h2", { className: __default41.title, children: title }),
|
|
3387
3454
|
/* @__PURE__ */ jsx(
|
|
3388
3455
|
"button",
|
|
3389
3456
|
{
|
|
3390
3457
|
type: "button",
|
|
3391
3458
|
onClick: onClose,
|
|
3392
|
-
className:
|
|
3459
|
+
className: __default41.closeBtn,
|
|
3393
3460
|
"aria-label": "Close",
|
|
3394
3461
|
children: /* @__PURE__ */ jsx(IconlyClose, { size: 20 })
|
|
3395
3462
|
}
|
|
3396
3463
|
)
|
|
3397
3464
|
] }),
|
|
3398
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
3399
|
-
footer && /* @__PURE__ */ jsx("div", { className:
|
|
3465
|
+
/* @__PURE__ */ jsx("div", { className: __default41.body, children }),
|
|
3466
|
+
footer && /* @__PURE__ */ jsx("div", { className: __default41.footer, children: footer })
|
|
3400
3467
|
] })
|
|
3401
3468
|
}
|
|
3402
3469
|
);
|
|
@@ -3487,7 +3554,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
3487
3554
|
border: none;
|
|
3488
3555
|
border-top: 1px solid var(--border-color);
|
|
3489
3556
|
}`);
|
|
3490
|
-
var
|
|
3557
|
+
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" };
|
|
3491
3558
|
function DropdownMenu({
|
|
3492
3559
|
trigger,
|
|
3493
3560
|
items,
|
|
@@ -3555,7 +3622,7 @@ function DropdownMenu({
|
|
|
3555
3622
|
openMenu();
|
|
3556
3623
|
}
|
|
3557
3624
|
};
|
|
3558
|
-
return /* @__PURE__ */ jsxs("div", { ref: containerRef, className: `${
|
|
3625
|
+
return /* @__PURE__ */ jsxs("div", { ref: containerRef, className: `${__default42.root} ${className}`, children: [
|
|
3559
3626
|
/* @__PURE__ */ jsx(
|
|
3560
3627
|
"div",
|
|
3561
3628
|
{
|
|
@@ -3564,7 +3631,7 @@ function DropdownMenu({
|
|
|
3564
3631
|
tabIndex: 0,
|
|
3565
3632
|
onClick: () => isOpen ? closeMenu() : openMenu(),
|
|
3566
3633
|
onKeyDown: handleTriggerKeyDown,
|
|
3567
|
-
className:
|
|
3634
|
+
className: __default42.trigger,
|
|
3568
3635
|
"aria-haspopup": "true",
|
|
3569
3636
|
"aria-expanded": isOpen,
|
|
3570
3637
|
children: trigger
|
|
@@ -3575,9 +3642,9 @@ function DropdownMenu({
|
|
|
3575
3642
|
{
|
|
3576
3643
|
role: "menu",
|
|
3577
3644
|
onKeyDown: handleMenuKeyDown,
|
|
3578
|
-
className: `${
|
|
3645
|
+
className: `${__default42.menu} ${align === "right" ? __default42.alignRight : __default42.alignLeft}`,
|
|
3579
3646
|
children: items.map((item, i) => /* @__PURE__ */ jsxs("div", { children: [
|
|
3580
|
-
item.divider && /* @__PURE__ */ jsx("hr", { className:
|
|
3647
|
+
item.divider && /* @__PURE__ */ jsx("hr", { className: __default42.divider }),
|
|
3581
3648
|
/* @__PURE__ */ jsxs(
|
|
3582
3649
|
"button",
|
|
3583
3650
|
{
|
|
@@ -3591,9 +3658,9 @@ function DropdownMenu({
|
|
|
3591
3658
|
item.onClick();
|
|
3592
3659
|
closeMenu();
|
|
3593
3660
|
},
|
|
3594
|
-
className:
|
|
3661
|
+
className: __default42.item,
|
|
3595
3662
|
children: [
|
|
3596
|
-
item.icon && /* @__PURE__ */ jsx("span", { className:
|
|
3663
|
+
item.icon && /* @__PURE__ */ jsx("span", { className: __default42.itemIcon, children: item.icon }),
|
|
3597
3664
|
item.label
|
|
3598
3665
|
]
|
|
3599
3666
|
}
|
|
@@ -3665,7 +3732,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
3665
3732
|
color: var(--bg);
|
|
3666
3733
|
cursor: default;
|
|
3667
3734
|
}`);
|
|
3668
|
-
var
|
|
3735
|
+
var __default43 = { "root": "SegmentedControl-module_root", "sm": "SegmentedControl-module_sm", "segment": "SegmentedControl-module_segment", "md": "SegmentedControl-module_md", "segmentActive": "SegmentedControl-module_segmentActive" };
|
|
3669
3736
|
function SegmentedControl({
|
|
3670
3737
|
options,
|
|
3671
3738
|
value,
|
|
@@ -3679,7 +3746,7 @@ function SegmentedControl({
|
|
|
3679
3746
|
{
|
|
3680
3747
|
role: "group",
|
|
3681
3748
|
"aria-label": ariaLabel,
|
|
3682
|
-
className: `${
|
|
3749
|
+
className: `${__default43.root} ${__default43[size]}${className ? ` ${className}` : ""}`,
|
|
3683
3750
|
children: options.map((option) => {
|
|
3684
3751
|
const isActive = option.value === value;
|
|
3685
3752
|
const isDisabled = option.disabled || false;
|
|
@@ -3689,7 +3756,7 @@ function SegmentedControl({
|
|
|
3689
3756
|
type: "button",
|
|
3690
3757
|
"aria-pressed": isActive,
|
|
3691
3758
|
disabled: isDisabled,
|
|
3692
|
-
className: `${
|
|
3759
|
+
className: `${__default43.segment}${isActive ? ` ${__default43.segmentActive}` : ""}`,
|
|
3693
3760
|
onClick: () => {
|
|
3694
3761
|
if (isActive || isDisabled) return;
|
|
3695
3762
|
onChange(option.value);
|
|
@@ -3815,25 +3882,25 @@ __styleInject(`@charset "UTF-8";
|
|
|
3815
3882
|
padding-top: 1rem;
|
|
3816
3883
|
border-top: 1px solid var(--border-color);
|
|
3817
3884
|
}`);
|
|
3818
|
-
var
|
|
3885
|
+
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" };
|
|
3819
3886
|
function Header({ logo, navItems = [], actions, className = "" }) {
|
|
3820
3887
|
const [mobileOpen, setMobileOpen] = useState(false);
|
|
3821
|
-
return /* @__PURE__ */ jsxs("header", { className: `${
|
|
3822
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
3823
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
3888
|
+
return /* @__PURE__ */ jsxs("header", { className: `${__default44.root}${className ? ` ${className}` : ""}`, children: [
|
|
3889
|
+
/* @__PURE__ */ jsx("div", { className: __default44.container, children: /* @__PURE__ */ jsxs("div", { className: __default44.bar, children: [
|
|
3890
|
+
/* @__PURE__ */ jsxs("div", { className: __default44.leftGroup, children: [
|
|
3824
3891
|
logo,
|
|
3825
|
-
/* @__PURE__ */ jsx("nav", { className:
|
|
3892
|
+
/* @__PURE__ */ jsx("nav", { className: __default44.desktopNav, children: navItems.map((item) => /* @__PURE__ */ jsx(
|
|
3826
3893
|
"a",
|
|
3827
3894
|
{
|
|
3828
3895
|
href: item.href,
|
|
3829
|
-
className:
|
|
3896
|
+
className: __default44.navLink,
|
|
3830
3897
|
children: item.label
|
|
3831
3898
|
},
|
|
3832
3899
|
item.label
|
|
3833
3900
|
)) })
|
|
3834
3901
|
] }),
|
|
3835
|
-
actions && /* @__PURE__ */ jsx("div", { className:
|
|
3836
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
3902
|
+
actions && /* @__PURE__ */ jsx("div", { className: __default44.desktopActions, children: actions }),
|
|
3903
|
+
/* @__PURE__ */ jsx("div", { className: __default44.mobileToggle, children: /* @__PURE__ */ jsx(
|
|
3837
3904
|
IconButton,
|
|
3838
3905
|
{
|
|
3839
3906
|
variant: "primary",
|
|
@@ -3843,17 +3910,17 @@ function Header({ logo, navItems = [], actions, className = "" }) {
|
|
|
3843
3910
|
}
|
|
3844
3911
|
) })
|
|
3845
3912
|
] }) }),
|
|
3846
|
-
mobileOpen && /* @__PURE__ */ jsxs("div", { className:
|
|
3847
|
-
/* @__PURE__ */ jsx("nav", { className:
|
|
3913
|
+
mobileOpen && /* @__PURE__ */ jsxs("div", { className: __default44.mobileMenu, children: [
|
|
3914
|
+
/* @__PURE__ */ jsx("nav", { className: __default44.mobileNav, children: navItems.map((item) => /* @__PURE__ */ jsx(
|
|
3848
3915
|
"a",
|
|
3849
3916
|
{
|
|
3850
3917
|
href: item.href,
|
|
3851
|
-
className:
|
|
3918
|
+
className: __default44.navLink,
|
|
3852
3919
|
children: item.label
|
|
3853
3920
|
},
|
|
3854
3921
|
item.label
|
|
3855
3922
|
)) }),
|
|
3856
|
-
actions && /* @__PURE__ */ jsx("div", { className:
|
|
3923
|
+
actions && /* @__PURE__ */ jsx("div", { className: __default44.mobileActions, children: actions })
|
|
3857
3924
|
] })
|
|
3858
3925
|
] });
|
|
3859
3926
|
}
|
|
@@ -3987,7 +4054,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
3987
4054
|
.Footer-module_socialLink:hover {
|
|
3988
4055
|
color: var(--fg);
|
|
3989
4056
|
}`);
|
|
3990
|
-
var
|
|
4057
|
+
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" };
|
|
3991
4058
|
function Footer({
|
|
3992
4059
|
brand,
|
|
3993
4060
|
columns,
|
|
@@ -3998,24 +4065,24 @@ function Footer({
|
|
|
3998
4065
|
const hasBrand = !!(brand && (brand.logo || brand.tagline));
|
|
3999
4066
|
const hasGrid = hasBrand || columns && columns.length > 0;
|
|
4000
4067
|
const hasBottom = !!copyright || socials && socials.length > 0;
|
|
4001
|
-
return /* @__PURE__ */ jsx("footer", { className: `${
|
|
4002
|
-
hasGrid && /* @__PURE__ */ jsxs("div", { className:
|
|
4003
|
-
hasBrand && /* @__PURE__ */ jsxs("div", { className:
|
|
4068
|
+
return /* @__PURE__ */ jsx("footer", { className: `${__default45.root}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxs("div", { className: __default45.container, children: [
|
|
4069
|
+
hasGrid && /* @__PURE__ */ jsxs("div", { className: __default45.grid, children: [
|
|
4070
|
+
hasBrand && /* @__PURE__ */ jsxs("div", { className: __default45.brandCell, children: [
|
|
4004
4071
|
brand == null ? void 0 : brand.logo,
|
|
4005
|
-
(brand == null ? void 0 : brand.tagline) && /* @__PURE__ */ jsx("p", { className:
|
|
4072
|
+
(brand == null ? void 0 : brand.tagline) && /* @__PURE__ */ jsx("p", { className: __default45.tagline, children: brand.tagline })
|
|
4006
4073
|
] }),
|
|
4007
4074
|
columns == null ? void 0 : columns.map((col, ci) => /* @__PURE__ */ jsxs("div", { children: [
|
|
4008
|
-
/* @__PURE__ */ jsx("h4", { className:
|
|
4009
|
-
/* @__PURE__ */ jsx("ul", { className:
|
|
4075
|
+
/* @__PURE__ */ jsx("h4", { className: __default45.columnTitle, children: col.title }),
|
|
4076
|
+
/* @__PURE__ */ jsx("ul", { className: __default45.linkList, children: col.links.map((link, li) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: link.href, className: __default45.link, children: link.label }) }, `${ci}-${li}-${link.label}`)) })
|
|
4010
4077
|
] }, `${ci}-${col.title}`))
|
|
4011
4078
|
] }),
|
|
4012
|
-
hasBottom && /* @__PURE__ */ jsxs("div", { className:
|
|
4013
|
-
copyright && /* @__PURE__ */ jsx("p", { className:
|
|
4014
|
-
socials && socials.length > 0 && /* @__PURE__ */ jsx("div", { className:
|
|
4079
|
+
hasBottom && /* @__PURE__ */ jsxs("div", { className: __default45.bottom, children: [
|
|
4080
|
+
copyright && /* @__PURE__ */ jsx("p", { className: __default45.copyright, children: copyright }),
|
|
4081
|
+
socials && socials.length > 0 && /* @__PURE__ */ jsx("div", { className: __default45.socials, children: socials.map((social, si) => /* @__PURE__ */ jsx(
|
|
4015
4082
|
"a",
|
|
4016
4083
|
{
|
|
4017
4084
|
href: social.href,
|
|
4018
|
-
className:
|
|
4085
|
+
className: __default45.socialLink,
|
|
4019
4086
|
children: social.label
|
|
4020
4087
|
},
|
|
4021
4088
|
`${si}-${social.label}`
|
|
@@ -4111,7 +4178,7 @@ __styleInject(`.PricingCard-module_root {
|
|
|
4111
4178
|
.PricingCard-module_cta {
|
|
4112
4179
|
width: 100%;
|
|
4113
4180
|
}`);
|
|
4114
|
-
var
|
|
4181
|
+
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" };
|
|
4115
4182
|
function PricingCard({
|
|
4116
4183
|
plan,
|
|
4117
4184
|
price,
|
|
@@ -4126,26 +4193,26 @@ function PricingCard({
|
|
|
4126
4193
|
return /* @__PURE__ */ jsxs(
|
|
4127
4194
|
"div",
|
|
4128
4195
|
{
|
|
4129
|
-
className: `${
|
|
4196
|
+
className: `${__default46.root}${highlighted ? ` ${__default46.highlighted}` : ""}${className ? ` ${className}` : ""}`,
|
|
4130
4197
|
children: [
|
|
4131
|
-
badge && /* @__PURE__ */ jsx("div", { className:
|
|
4132
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
4133
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
4134
|
-
description && /* @__PURE__ */ jsx("p", { className:
|
|
4198
|
+
badge && /* @__PURE__ */ jsx("div", { className: __default46.badgeWrap, children: /* @__PURE__ */ jsx(Badge, { color: "info", children: badge }) }),
|
|
4199
|
+
/* @__PURE__ */ jsxs("div", { className: __default46.header, children: [
|
|
4200
|
+
/* @__PURE__ */ jsx("h3", { className: __default46.plan, children: plan }),
|
|
4201
|
+
description && /* @__PURE__ */ jsx("p", { className: __default46.description, children: description })
|
|
4135
4202
|
] }),
|
|
4136
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
4137
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
4138
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
4203
|
+
/* @__PURE__ */ jsxs("div", { className: __default46.priceBlock, children: [
|
|
4204
|
+
/* @__PURE__ */ jsx("span", { className: __default46.price, children: price }),
|
|
4205
|
+
/* @__PURE__ */ jsx("span", { className: __default46.period, children: period })
|
|
4139
4206
|
] }),
|
|
4140
|
-
/* @__PURE__ */ jsx("ul", { className:
|
|
4207
|
+
/* @__PURE__ */ jsx("ul", { className: __default46.features, children: features.map((feature, i) => {
|
|
4141
4208
|
const text = typeof feature === "string" ? feature : feature.text;
|
|
4142
4209
|
const isExcluded = typeof feature === "object" && feature.included === false;
|
|
4143
4210
|
return /* @__PURE__ */ jsxs(
|
|
4144
4211
|
"li",
|
|
4145
4212
|
{
|
|
4146
|
-
className: `${
|
|
4213
|
+
className: `${__default46.featureItem}${isExcluded ? ` ${__default46.featureItemExcluded}` : ""}`,
|
|
4147
4214
|
children: [
|
|
4148
|
-
/* @__PURE__ */ jsx("span", { className: `${
|
|
4215
|
+
/* @__PURE__ */ jsx("span", { className: `${__default46.featureIcon}${isExcluded ? ` ${__default46.featureIconExcluded}` : ""}`, children: isExcluded ? /* @__PURE__ */ jsx(IconlyClose, { size: 16 }) : /* @__PURE__ */ jsx(IconlyCheck, { size: 16 }) }),
|
|
4149
4216
|
text
|
|
4150
4217
|
]
|
|
4151
4218
|
},
|
|
@@ -4156,7 +4223,7 @@ function PricingCard({
|
|
|
4156
4223
|
Button,
|
|
4157
4224
|
{
|
|
4158
4225
|
variant: highlighted ? "primary" : "outline",
|
|
4159
|
-
className:
|
|
4226
|
+
className: __default46.cta,
|
|
4160
4227
|
onClick: cta.onClick,
|
|
4161
4228
|
children: cta.label
|
|
4162
4229
|
}
|
|
@@ -4204,21 +4271,21 @@ __styleInject(`.TestimonialCard-module_root {
|
|
|
4204
4271
|
font-size: 0.75rem;
|
|
4205
4272
|
color: var(--fg-muted);
|
|
4206
4273
|
}`);
|
|
4207
|
-
var
|
|
4274
|
+
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" };
|
|
4208
4275
|
function TestimonialCard({ quote, name, role, avatarSrc, className = "" }) {
|
|
4209
4276
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase();
|
|
4210
|
-
return /* @__PURE__ */ jsxs("div", { className: `${
|
|
4211
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
4212
|
-
/* @__PURE__ */ jsxs("p", { className:
|
|
4277
|
+
return /* @__PURE__ */ jsxs("div", { className: `${__default47.root}${className ? ` ${className}` : ""}`, children: [
|
|
4278
|
+
/* @__PURE__ */ jsx("div", { className: __default47.quoteIcon, children: /* @__PURE__ */ jsx(IconlyQuote, { size: 32 }) }),
|
|
4279
|
+
/* @__PURE__ */ jsxs("p", { className: __default47.quoteText, children: [
|
|
4213
4280
|
"\u201C",
|
|
4214
4281
|
quote,
|
|
4215
4282
|
"\u201D"
|
|
4216
4283
|
] }),
|
|
4217
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
4284
|
+
/* @__PURE__ */ jsxs("div", { className: __default47.author, children: [
|
|
4218
4285
|
/* @__PURE__ */ jsx(Avatar, { src: avatarSrc, initials, size: "sm" }),
|
|
4219
4286
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
4220
|
-
/* @__PURE__ */ jsx("p", { className:
|
|
4221
|
-
/* @__PURE__ */ jsx("p", { className:
|
|
4287
|
+
/* @__PURE__ */ jsx("p", { className: __default47.authorName, children: name }),
|
|
4288
|
+
/* @__PURE__ */ jsx("p", { className: __default47.authorRole, children: role })
|
|
4222
4289
|
] })
|
|
4223
4290
|
] })
|
|
4224
4291
|
] });
|
|
@@ -4290,17 +4357,17 @@ __styleInject(`.FeatureGrid-module_root {
|
|
|
4290
4357
|
color: var(--fg-muted);
|
|
4291
4358
|
line-height: 1.625;
|
|
4292
4359
|
}`);
|
|
4293
|
-
var
|
|
4360
|
+
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" };
|
|
4294
4361
|
function FeatureGrid({ features, columns = 3, className = "" }) {
|
|
4295
4362
|
const colsClass = {
|
|
4296
|
-
2:
|
|
4297
|
-
3:
|
|
4298
|
-
4:
|
|
4363
|
+
2: __default48.cols2,
|
|
4364
|
+
3: __default48.cols3,
|
|
4365
|
+
4: __default48.cols4
|
|
4299
4366
|
};
|
|
4300
|
-
return /* @__PURE__ */ jsx("div", { className: `${
|
|
4301
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
4302
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
4303
|
-
/* @__PURE__ */ jsx("p", { className:
|
|
4367
|
+
return /* @__PURE__ */ jsx("div", { className: `${__default48.root} ${colsClass[columns]}${className ? ` ${className}` : ""}`, children: features.map((feature, i) => /* @__PURE__ */ jsxs("div", { className: __default48.card, children: [
|
|
4368
|
+
/* @__PURE__ */ jsx("div", { className: __default48.cardIcon, children: feature.icon }),
|
|
4369
|
+
/* @__PURE__ */ jsx("h3", { className: __default48.cardTitle, children: feature.title }),
|
|
4370
|
+
/* @__PURE__ */ jsx("p", { className: __default48.cardDescription, children: feature.description })
|
|
4304
4371
|
] }, i)) });
|
|
4305
4372
|
}
|
|
4306
4373
|
|
|
@@ -4401,7 +4468,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
4401
4468
|
display: block;
|
|
4402
4469
|
}
|
|
4403
4470
|
}`);
|
|
4404
|
-
var
|
|
4471
|
+
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" };
|
|
4405
4472
|
var defaultMenuItems = [
|
|
4406
4473
|
"\u0413\u043B\u0430\u0432\u043D\u0430\u044F",
|
|
4407
4474
|
"\u041C\u043E\u0438 \u043A\u0443\u0440\u0441\u044B",
|
|
@@ -4445,19 +4512,19 @@ function Sidebar({
|
|
|
4445
4512
|
const items = normaliseItems(rawItems);
|
|
4446
4513
|
const [internalActive, setInternalActive] = useState(0);
|
|
4447
4514
|
const isControlled = activeId !== void 0;
|
|
4448
|
-
const widthClass = type === "courseSubmenu" ?
|
|
4515
|
+
const widthClass = type === "courseSubmenu" ? __default49.courseSubmenu : __default49.menu;
|
|
4449
4516
|
const showLegal = legalText !== null;
|
|
4450
4517
|
const legalContent = legalText === void 0 ? DEFAULT_LEGAL : legalText;
|
|
4451
4518
|
const isOpen = collapsed === false;
|
|
4452
4519
|
const collapseClasses = [
|
|
4453
|
-
collapsed ?
|
|
4454
|
-
isOpen ?
|
|
4520
|
+
collapsed ? __default49.collapsed : "",
|
|
4521
|
+
isOpen ? __default49.open : ""
|
|
4455
4522
|
].filter(Boolean).join(" ");
|
|
4456
4523
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
4457
4524
|
onToggle && /* @__PURE__ */ jsx(
|
|
4458
4525
|
"div",
|
|
4459
4526
|
{
|
|
4460
|
-
className: `${
|
|
4527
|
+
className: `${__default49.overlay}${isOpen ? ` ${__default49.overlayVisible}` : ""}`,
|
|
4461
4528
|
onClick: onToggle,
|
|
4462
4529
|
"aria-hidden": "true"
|
|
4463
4530
|
}
|
|
@@ -4465,10 +4532,10 @@ function Sidebar({
|
|
|
4465
4532
|
/* @__PURE__ */ jsxs(
|
|
4466
4533
|
"aside",
|
|
4467
4534
|
{
|
|
4468
|
-
className: `${
|
|
4535
|
+
className: `${__default49.root} ${widthClass}${layout === "compact" ? ` ${__default49.compact}` : ""}${collapseClasses ? ` ${collapseClasses}` : ""}${className ? ` ${className}` : ""}`,
|
|
4469
4536
|
children: [
|
|
4470
|
-
logo && /* @__PURE__ */ jsx("div", { className:
|
|
4471
|
-
/* @__PURE__ */ jsx("nav", { className:
|
|
4537
|
+
logo && /* @__PURE__ */ jsx("div", { className: __default49.logo, children: logo }),
|
|
4538
|
+
/* @__PURE__ */ jsx("nav", { className: __default49.nav, children: items.map((item, i) => {
|
|
4472
4539
|
const isActive = isControlled ? item.id === activeId : i === internalActive;
|
|
4473
4540
|
return /* @__PURE__ */ jsx(
|
|
4474
4541
|
MenuItem,
|
|
@@ -4484,9 +4551,9 @@ function Sidebar({
|
|
|
4484
4551
|
item.id
|
|
4485
4552
|
);
|
|
4486
4553
|
}) }),
|
|
4487
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
4554
|
+
/* @__PURE__ */ jsxs("div", { className: __default49.footer, children: [
|
|
4488
4555
|
type === "menu" && footer,
|
|
4489
|
-
showLegal && /* @__PURE__ */ jsx("p", { className:
|
|
4556
|
+
showLegal && /* @__PURE__ */ jsx("p", { className: __default49.legal, children: legalContent })
|
|
4490
4557
|
] })
|
|
4491
4558
|
]
|
|
4492
4559
|
}
|
|
@@ -4596,7 +4663,7 @@ __styleInject(`.AppCard-module_defaultCard {
|
|
|
4596
4663
|
.AppCard-module_stampBg {
|
|
4597
4664
|
background: var(--bg);
|
|
4598
4665
|
}`);
|
|
4599
|
-
var
|
|
4666
|
+
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" };
|
|
4600
4667
|
var HOLE_R = 4;
|
|
4601
4668
|
var HOLE_SP = 16;
|
|
4602
4669
|
function buildStampMask(w, h) {
|
|
@@ -4623,18 +4690,18 @@ function CardContent({
|
|
|
4623
4690
|
isStamp
|
|
4624
4691
|
}) {
|
|
4625
4692
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
4626
|
-
image && /* @__PURE__ */ jsx("div", { className: isStamp ?
|
|
4693
|
+
image && /* @__PURE__ */ jsx("div", { className: isStamp ? __default50.imageWrap : __default50.imageWrapRounded, children: /* @__PURE__ */ jsx("img", { src: image, alt: title, className: __default50.image }) }),
|
|
4627
4694
|
/* @__PURE__ */ jsxs(
|
|
4628
4695
|
"div",
|
|
4629
4696
|
{
|
|
4630
|
-
className: isStamp ?
|
|
4697
|
+
className: isStamp ? __default50.contentStamp : image ? __default50.contentDefaultWithImage : __default50.contentDefaultNoImage,
|
|
4631
4698
|
children: [
|
|
4632
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
4633
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
4634
|
-
/* @__PURE__ */ jsx("p", { className:
|
|
4699
|
+
/* @__PURE__ */ jsxs("div", { className: __default50.textGroup, children: [
|
|
4700
|
+
/* @__PURE__ */ jsx("h3", { className: __default50.cardTitle, children: title }),
|
|
4701
|
+
/* @__PURE__ */ jsx("p", { className: __default50.cardDesc, children: description })
|
|
4635
4702
|
] }),
|
|
4636
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
4637
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
4703
|
+
/* @__PURE__ */ jsxs("div", { className: __default50.footer, children: [
|
|
4704
|
+
/* @__PURE__ */ jsx("div", { className: __default50.iconRow, children: icons }),
|
|
4638
4705
|
/* @__PURE__ */ jsx(Button, { variant: buttonVariant === "outline" ? "outline" : "primary", size: "md", onClick: onButtonClick, children: buttonText })
|
|
4639
4706
|
] })
|
|
4640
4707
|
]
|
|
@@ -4651,7 +4718,7 @@ function AppCard(_a) {
|
|
|
4651
4718
|
"className"
|
|
4652
4719
|
]);
|
|
4653
4720
|
if (variant === "default") {
|
|
4654
|
-
return /* @__PURE__ */ jsx("div", { className: `${
|
|
4721
|
+
return /* @__PURE__ */ jsx("div", { className: `${__default50.defaultCard}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsx(CardContent, __spreadProps(__spreadValues({}, contentProps), { isStamp: false })) });
|
|
4655
4722
|
}
|
|
4656
4723
|
const padded = variant === "stamp-padded";
|
|
4657
4724
|
return /* @__PURE__ */ jsx(StampWrapper, { className, padded, children: /* @__PURE__ */ jsx(CardContent, __spreadProps(__spreadValues({}, contentProps), { isStamp: true })) });
|
|
@@ -4677,7 +4744,7 @@ function StampWrapper({ children, className, padded }) {
|
|
|
4677
4744
|
ro.disconnect();
|
|
4678
4745
|
};
|
|
4679
4746
|
}, [build]);
|
|
4680
|
-
return /* @__PURE__ */ jsx("div", { ref, className: `${
|
|
4747
|
+
return /* @__PURE__ */ jsx("div", { ref, className: `${__default50.stampCard}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsx("div", { className: __default50.shadowWrap, children: /* @__PURE__ */ jsx(
|
|
4681
4748
|
"div",
|
|
4682
4749
|
{
|
|
4683
4750
|
style: {
|
|
@@ -4686,7 +4753,7 @@ function StampWrapper({ children, className, padded }) {
|
|
|
4686
4753
|
WebkitMaskSize: "100% 100%",
|
|
4687
4754
|
maskSize: "100% 100%"
|
|
4688
4755
|
},
|
|
4689
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
4756
|
+
children: /* @__PURE__ */ jsx("div", { className: __default50.stampBg, style: padded ? { padding: STAMP_PADDING } : void 0, children })
|
|
4690
4757
|
}
|
|
4691
4758
|
) }) });
|
|
4692
4759
|
}
|
|
@@ -4699,7 +4766,7 @@ __styleInject(`.AppTopLine-module_root {
|
|
|
4699
4766
|
justify-content: space-between;
|
|
4700
4767
|
width: 100%;
|
|
4701
4768
|
}`);
|
|
4702
|
-
var
|
|
4769
|
+
var __default51 = { "root": "AppTopLine-module_root" };
|
|
4703
4770
|
function AppTopLine({
|
|
4704
4771
|
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",
|
|
4705
4772
|
promoButtonText = "\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",
|
|
@@ -4712,7 +4779,7 @@ function AppTopLine({
|
|
|
4712
4779
|
avatarSrc,
|
|
4713
4780
|
className = ""
|
|
4714
4781
|
}) {
|
|
4715
|
-
return /* @__PURE__ */ jsxs("div", { className: `${
|
|
4782
|
+
return /* @__PURE__ */ jsxs("div", { className: `${__default51.root}${className ? ` ${className}` : ""}`, children: [
|
|
4716
4783
|
/* @__PURE__ */ jsx(TopPromo, { text: promoText, buttonText: promoButtonText }),
|
|
4717
4784
|
/* @__PURE__ */ jsx(ProfileNav, { stats, avatarSrc })
|
|
4718
4785
|
] });
|
|
@@ -4753,13 +4820,13 @@ __styleInject(`.EmptyState-module_root {
|
|
|
4753
4820
|
.EmptyState-module_action {
|
|
4754
4821
|
margin-top: 1.25rem;
|
|
4755
4822
|
}`);
|
|
4756
|
-
var
|
|
4823
|
+
var __default52 = { "root": "EmptyState-module_root", "icon": "EmptyState-module_icon", "title": "EmptyState-module_title", "description": "EmptyState-module_description", "action": "EmptyState-module_action" };
|
|
4757
4824
|
function EmptyState({ icon, title, description, action, className = "" }) {
|
|
4758
|
-
return /* @__PURE__ */ jsxs("div", { className: `${
|
|
4759
|
-
icon && /* @__PURE__ */ jsx("div", { className:
|
|
4760
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
4761
|
-
/* @__PURE__ */ jsx("p", { className:
|
|
4762
|
-
action && /* @__PURE__ */ jsx("div", { className:
|
|
4825
|
+
return /* @__PURE__ */ jsxs("div", { className: `${__default52.root}${className ? ` ${className}` : ""}`, children: [
|
|
4826
|
+
icon && /* @__PURE__ */ jsx("div", { className: __default52.icon, children: icon }),
|
|
4827
|
+
/* @__PURE__ */ jsx("h3", { className: __default52.title, children: title }),
|
|
4828
|
+
/* @__PURE__ */ jsx("p", { className: __default52.description, children: description }),
|
|
4829
|
+
action && /* @__PURE__ */ jsx("div", { className: __default52.action, children: action })
|
|
4763
4830
|
] });
|
|
4764
4831
|
}
|
|
4765
4832
|
|
|
@@ -4807,6 +4874,18 @@ __styleInject(`@charset "UTF-8";
|
|
|
4807
4874
|
}
|
|
4808
4875
|
}
|
|
4809
4876
|
|
|
4877
|
+
/* 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.
|
|
4878
|
+
\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
|
|
4879
|
+
\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. */
|
|
4880
|
+
.HeroSection-module_innerNoVertical {
|
|
4881
|
+
padding-block: 0;
|
|
4882
|
+
}
|
|
4883
|
+
@media (min-width: 768px) {
|
|
4884
|
+
.HeroSection-module_innerNoVertical {
|
|
4885
|
+
padding-block: 0;
|
|
4886
|
+
}
|
|
4887
|
+
}
|
|
4888
|
+
|
|
4810
4889
|
.HeroSection-module_content {
|
|
4811
4890
|
max-width: 56rem;
|
|
4812
4891
|
}
|
|
@@ -4951,7 +5030,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
4951
5030
|
overflow: hidden;
|
|
4952
5031
|
background: var(--bg-secondary);
|
|
4953
5032
|
}`);
|
|
4954
|
-
var
|
|
5033
|
+
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" };
|
|
4955
5034
|
function HeroSection({
|
|
4956
5035
|
eyebrow,
|
|
4957
5036
|
title,
|
|
@@ -4961,36 +5040,43 @@ function HeroSection({
|
|
|
4961
5040
|
align = "center",
|
|
4962
5041
|
size = "default",
|
|
4963
5042
|
mediaPosition = "left",
|
|
5043
|
+
verticalPadding = "default",
|
|
4964
5044
|
className = ""
|
|
4965
5045
|
}) {
|
|
4966
5046
|
const isCenter = align === "center";
|
|
4967
5047
|
const isCompact = size === "compact";
|
|
4968
5048
|
const isSplitRight = !isCenter && mediaPosition === "right" && !!media;
|
|
4969
|
-
const contentBlock = /* @__PURE__ */ jsxs("div", { className: isCenter ?
|
|
4970
|
-
eyebrow && /* @__PURE__ */ jsx("div", { className: `${
|
|
4971
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
5049
|
+
const contentBlock = /* @__PURE__ */ jsxs("div", { className: isCenter ? __default53.contentCenter : __default53.content, children: [
|
|
5050
|
+
eyebrow && /* @__PURE__ */ jsx("div", { className: `${__default53.eyebrowWrap}${isCenter ? ` ${__default53.eyebrowCenter}` : ""}`, children: /* @__PURE__ */ jsxs("span", { className: __default53.eyebrow, children: [
|
|
5051
|
+
/* @__PURE__ */ jsx("span", { className: __default53.eyebrowDot }),
|
|
4972
5052
|
eyebrow
|
|
4973
5053
|
] }) }),
|
|
4974
|
-
/* @__PURE__ */ jsx("h1", { className:
|
|
4975
|
-
subtitle && /* @__PURE__ */ jsx("p", { className: `${
|
|
4976
|
-
actions && /* @__PURE__ */ jsx("div", { className: `${
|
|
5054
|
+
/* @__PURE__ */ jsx("h1", { className: __default53.title, children: title }),
|
|
5055
|
+
subtitle && /* @__PURE__ */ jsx("p", { className: `${__default53.subtitle}${isCenter ? ` ${__default53.subtitleCenter}` : ""}`, children: subtitle }),
|
|
5056
|
+
actions && /* @__PURE__ */ jsx("div", { className: `${__default53.actions}${isCenter ? ` ${__default53.actionsCenter}` : ""}`, children: actions })
|
|
4977
5057
|
] });
|
|
4978
5058
|
const mediaBlock = media && /* @__PURE__ */ jsx(
|
|
4979
5059
|
"div",
|
|
4980
5060
|
{
|
|
4981
|
-
className: isSplitRight ?
|
|
4982
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
5061
|
+
className: isSplitRight ? __default53.mediaSplit : isCenter ? __default53.mediaWrapCenter : __default53.mediaWrapLeft,
|
|
5062
|
+
children: /* @__PURE__ */ jsx("div", { className: __default53.mediaBox, children: media })
|
|
4983
5063
|
}
|
|
4984
5064
|
);
|
|
4985
|
-
return /* @__PURE__ */ jsxs("section", { className: `${
|
|
4986
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
4987
|
-
/* @__PURE__ */ jsx(
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
5065
|
+
return /* @__PURE__ */ jsxs("section", { className: `${__default53.root}${className ? ` ${className}` : ""}`, children: [
|
|
5066
|
+
/* @__PURE__ */ jsx("div", { className: __default53.bgGlow, "aria-hidden": "true", children: /* @__PURE__ */ jsx("div", { className: __default53.glowOrb }) }),
|
|
5067
|
+
/* @__PURE__ */ jsx(
|
|
5068
|
+
"div",
|
|
5069
|
+
{
|
|
5070
|
+
className: `${isCompact ? __default53.innerCompact : __default53.inner}${verticalPadding === "none" ? ` ${__default53.innerNoVertical}` : ""}`,
|
|
5071
|
+
children: isSplitRight ? /* @__PURE__ */ jsxs("div", { className: __default53.splitGrid, children: [
|
|
5072
|
+
contentBlock,
|
|
5073
|
+
mediaBlock
|
|
5074
|
+
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5075
|
+
contentBlock,
|
|
5076
|
+
mediaBlock
|
|
5077
|
+
] })
|
|
5078
|
+
}
|
|
5079
|
+
)
|
|
4994
5080
|
] });
|
|
4995
5081
|
}
|
|
4996
5082
|
|
|
@@ -5062,15 +5148,15 @@ __styleInject(`.LogoCloud-module_root {
|
|
|
5062
5148
|
font-size: 1rem;
|
|
5063
5149
|
}
|
|
5064
5150
|
}`);
|
|
5065
|
-
var
|
|
5151
|
+
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" };
|
|
5066
5152
|
function LogoCloud({
|
|
5067
5153
|
label = "Trusted by teams at",
|
|
5068
5154
|
logos,
|
|
5069
5155
|
className = ""
|
|
5070
5156
|
}) {
|
|
5071
|
-
return /* @__PURE__ */ jsxs("section", { className: `${
|
|
5072
|
-
label && /* @__PURE__ */ jsx("p", { className:
|
|
5073
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
5157
|
+
return /* @__PURE__ */ jsxs("section", { className: `${__default54.root}${className ? ` ${className}` : ""}`, children: [
|
|
5158
|
+
label && /* @__PURE__ */ jsx("p", { className: __default54.label, children: label }),
|
|
5159
|
+
/* @__PURE__ */ jsx("div", { className: __default54.grid, children: logos.map((logo) => /* @__PURE__ */ jsx("div", { className: __default54.logoItem, children: logo.src ? (
|
|
5074
5160
|
// eslint-disable-next-line @next/next/no-img-element
|
|
5075
5161
|
/* @__PURE__ */ jsx(
|
|
5076
5162
|
"img",
|
|
@@ -5078,10 +5164,10 @@ function LogoCloud({
|
|
|
5078
5164
|
src: logo.src,
|
|
5079
5165
|
alt: logo.name,
|
|
5080
5166
|
width: logo.width || 100,
|
|
5081
|
-
className: `${
|
|
5167
|
+
className: `${__default54.logoImg} logo-img`
|
|
5082
5168
|
}
|
|
5083
5169
|
)
|
|
5084
|
-
) : /* @__PURE__ */ jsx("span", { className:
|
|
5170
|
+
) : /* @__PURE__ */ jsx("span", { className: __default54.logoText, children: logo.name }) }, logo.name)) })
|
|
5085
5171
|
] });
|
|
5086
5172
|
}
|
|
5087
5173
|
|
|
@@ -5177,18 +5263,18 @@ __styleInject(`@charset "UTF-8";
|
|
|
5177
5263
|
color: var(--fg-muted);
|
|
5178
5264
|
letter-spacing: -0.25px;
|
|
5179
5265
|
}`);
|
|
5180
|
-
var
|
|
5266
|
+
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" };
|
|
5181
5267
|
function StatsBar({ stats, variant = "inline", className = "" }) {
|
|
5182
5268
|
if (variant === "cards") {
|
|
5183
|
-
return /* @__PURE__ */ jsx("section", { className: `${
|
|
5184
|
-
stat.icon && /* @__PURE__ */ jsx("div", { className:
|
|
5185
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
5186
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
5269
|
+
return /* @__PURE__ */ jsx("section", { className: `${__default55.root}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsx("div", { className: __default55.cardsGrid, children: stats.map((stat, i) => /* @__PURE__ */ jsxs("div", { className: __default55.card, children: [
|
|
5270
|
+
stat.icon && /* @__PURE__ */ jsx("div", { className: __default55.cardIconWrap, children: stat.icon }),
|
|
5271
|
+
/* @__PURE__ */ jsx("div", { className: __default55.statValue, children: stat.value }),
|
|
5272
|
+
/* @__PURE__ */ jsx("div", { className: __default55.statLabel, children: stat.label })
|
|
5187
5273
|
] }, i)) }) });
|
|
5188
5274
|
}
|
|
5189
|
-
return /* @__PURE__ */ jsx("section", { className: `${
|
|
5190
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
5191
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
5275
|
+
return /* @__PURE__ */ jsx("section", { className: `${__default55.root} ${__default55.inline}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsx("div", { className: __default55.inlineGrid, children: stats.map((stat, i) => /* @__PURE__ */ jsxs("div", { className: __default55.inlineItem, children: [
|
|
5276
|
+
/* @__PURE__ */ jsx("div", { className: __default55.statValue, children: stat.value }),
|
|
5277
|
+
/* @__PURE__ */ jsx("div", { className: __default55.statLabel, children: stat.label })
|
|
5192
5278
|
] }, i)) }) });
|
|
5193
5279
|
}
|
|
5194
5280
|
|
|
@@ -5208,6 +5294,16 @@ __styleInject(`@charset "UTF-8";
|
|
|
5208
5294
|
}
|
|
5209
5295
|
}
|
|
5210
5296
|
|
|
5297
|
+
/* 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. */
|
|
5298
|
+
.CTASection-module_defaultNoVertical {
|
|
5299
|
+
padding-block: 0;
|
|
5300
|
+
}
|
|
5301
|
+
@media (min-width: 768px) {
|
|
5302
|
+
.CTASection-module_defaultNoVertical {
|
|
5303
|
+
padding-block: 0;
|
|
5304
|
+
}
|
|
5305
|
+
}
|
|
5306
|
+
|
|
5211
5307
|
/* \u2500\u2500\u2500 Variant: filled \u2500\u2500\u2500 */
|
|
5212
5308
|
.CTASection-module_filled {
|
|
5213
5309
|
padding-block: 3rem;
|
|
@@ -5278,24 +5374,27 @@ __styleInject(`@charset "UTF-8";
|
|
|
5278
5374
|
gap: 0.75rem;
|
|
5279
5375
|
justify-content: center;
|
|
5280
5376
|
}`);
|
|
5281
|
-
var
|
|
5377
|
+
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" };
|
|
5282
5378
|
function CTASection({
|
|
5283
5379
|
title,
|
|
5284
5380
|
description,
|
|
5285
5381
|
actions,
|
|
5286
5382
|
variant = "default",
|
|
5383
|
+
verticalPadding = "default",
|
|
5287
5384
|
className = ""
|
|
5288
5385
|
}) {
|
|
5289
5386
|
const isFilled = variant === "filled";
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5387
|
+
const noVerticalClass = variant === "default" && verticalPadding === "none" ? ` ${__default56.defaultNoVertical}` : "";
|
|
5388
|
+
return /* @__PURE__ */ jsx("section", { className: `${__default56.root} ${__default56[variant]}${noVerticalClass}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxs("div", { className: __default56.inner, children: [
|
|
5389
|
+
/* @__PURE__ */ jsx("h2", { className: `${__default56.title}${isFilled ? ` ${__default56.titleFilled}` : ""}`, children: title }),
|
|
5390
|
+
description && /* @__PURE__ */ jsx("p", { className: `${__default56.description}${isFilled ? ` ${__default56.descriptionFilled}` : ""}`, children: description }),
|
|
5391
|
+
actions && /* @__PURE__ */ jsx("div", { className: __default56.actions, children: actions })
|
|
5294
5392
|
] }) });
|
|
5295
5393
|
}
|
|
5296
5394
|
|
|
5297
5395
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/organisms/BentoGrid.module.scss
|
|
5298
|
-
__styleInject(
|
|
5396
|
+
__styleInject(`@charset "UTF-8";
|
|
5397
|
+
.BentoGrid-module_root {
|
|
5299
5398
|
padding-block: 2.5rem;
|
|
5300
5399
|
}
|
|
5301
5400
|
@media (min-width: 768px) {
|
|
@@ -5304,6 +5403,16 @@ __styleInject(`.BentoGrid-module_root {
|
|
|
5304
5403
|
}
|
|
5305
5404
|
}
|
|
5306
5405
|
|
|
5406
|
+
/* 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. */
|
|
5407
|
+
.BentoGrid-module_rootNoVertical {
|
|
5408
|
+
padding-block: 0;
|
|
5409
|
+
}
|
|
5410
|
+
@media (min-width: 768px) {
|
|
5411
|
+
.BentoGrid-module_rootNoVertical {
|
|
5412
|
+
padding-block: 0;
|
|
5413
|
+
}
|
|
5414
|
+
}
|
|
5415
|
+
|
|
5307
5416
|
.BentoGrid-module_grid {
|
|
5308
5417
|
display: grid;
|
|
5309
5418
|
grid-template-columns: 1fr;
|
|
@@ -5386,21 +5495,22 @@ __styleInject(`.BentoGrid-module_root {
|
|
|
5386
5495
|
line-height: 1.625;
|
|
5387
5496
|
letter-spacing: -0.25px;
|
|
5388
5497
|
}`);
|
|
5389
|
-
var
|
|
5390
|
-
function BentoGrid({ items, className = "" }) {
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
const
|
|
5498
|
+
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" };
|
|
5499
|
+
function BentoGrid({ items, verticalPadding = "default", className = "" }) {
|
|
5500
|
+
const noVerticalClass = verticalPadding === "none" ? ` ${__default57.rootNoVertical}` : "";
|
|
5501
|
+
return /* @__PURE__ */ jsx("section", { className: `${__default57.root}${noVerticalClass}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsx("div", { className: __default57.grid, children: items.map((item, i) => {
|
|
5502
|
+
const spanClass = item.span === 2 ? ` ${__default57.colSpan2}` : "";
|
|
5503
|
+
const rowClass = item.rowSpan === 2 ? ` ${__default57.rowSpan2}` : "";
|
|
5394
5504
|
return /* @__PURE__ */ jsxs(
|
|
5395
5505
|
"div",
|
|
5396
5506
|
{
|
|
5397
|
-
className: `${
|
|
5507
|
+
className: `${__default57.item}${spanClass}${rowClass}${item.className ? ` ${item.className}` : ""}`,
|
|
5398
5508
|
children: [
|
|
5399
|
-
item.media && /* @__PURE__ */ jsx("div", { className:
|
|
5400
|
-
/* @__PURE__ */ jsxs("div", { className: `${
|
|
5401
|
-
item.icon && /* @__PURE__ */ jsx("div", { className:
|
|
5402
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
5403
|
-
item.description && /* @__PURE__ */ jsx("p", { className:
|
|
5509
|
+
item.media && /* @__PURE__ */ jsx("div", { className: __default57.mediaWrap, children: item.media }),
|
|
5510
|
+
/* @__PURE__ */ jsxs("div", { className: `${__default57.content}${item.rowSpan === 2 ? ` ${__default57.contentTall}` : ""}`, children: [
|
|
5511
|
+
item.icon && /* @__PURE__ */ jsx("div", { className: __default57.itemIcon, children: item.icon }),
|
|
5512
|
+
/* @__PURE__ */ jsx("h3", { className: __default57.itemTitle, children: item.title }),
|
|
5513
|
+
item.description && /* @__PURE__ */ jsx("p", { className: __default57.itemDescription, children: item.description })
|
|
5404
5514
|
] })
|
|
5405
5515
|
]
|
|
5406
5516
|
},
|
|
@@ -5515,7 +5625,7 @@ __styleInject(`.FAQSection-module_root {
|
|
|
5515
5625
|
line-height: 1.625;
|
|
5516
5626
|
padding-right: 2rem;
|
|
5517
5627
|
}`);
|
|
5518
|
-
var
|
|
5628
|
+
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" };
|
|
5519
5629
|
function FAQSection({
|
|
5520
5630
|
title = "Frequently asked questions",
|
|
5521
5631
|
subtitle,
|
|
@@ -5524,25 +5634,25 @@ function FAQSection({
|
|
|
5524
5634
|
}) {
|
|
5525
5635
|
const [openIndex, setOpenIndex] = useState(null);
|
|
5526
5636
|
const toggle = (i) => setOpenIndex(openIndex === i ? null : i);
|
|
5527
|
-
return /* @__PURE__ */ jsx("section", { className: `${
|
|
5528
|
-
title && /* @__PURE__ */ jsx("h2", { className:
|
|
5529
|
-
subtitle && /* @__PURE__ */ jsx("p", { className:
|
|
5530
|
-
/* @__PURE__ */ jsx("div", { className: title || subtitle ?
|
|
5637
|
+
return /* @__PURE__ */ jsx("section", { className: `${__default58.root}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxs("div", { className: __default58.container, children: [
|
|
5638
|
+
title && /* @__PURE__ */ jsx("h2", { className: __default58.title, children: title }),
|
|
5639
|
+
subtitle && /* @__PURE__ */ jsx("p", { className: __default58.subtitle, children: subtitle }),
|
|
5640
|
+
/* @__PURE__ */ jsx("div", { className: title || subtitle ? __default58.list : "", children: items.map((item, i) => {
|
|
5531
5641
|
const isOpen = openIndex === i;
|
|
5532
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
5642
|
+
return /* @__PURE__ */ jsxs("div", { className: __default58.item, children: [
|
|
5533
5643
|
/* @__PURE__ */ jsxs(
|
|
5534
5644
|
"button",
|
|
5535
5645
|
{
|
|
5536
5646
|
onClick: () => toggle(i),
|
|
5537
|
-
className:
|
|
5647
|
+
className: __default58.question,
|
|
5538
5648
|
"aria-expanded": isOpen,
|
|
5539
5649
|
children: [
|
|
5540
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
5541
|
-
/* @__PURE__ */ jsx("span", { className: isOpen ?
|
|
5650
|
+
/* @__PURE__ */ jsx("span", { className: __default58.questionText, children: item.question }),
|
|
5651
|
+
/* @__PURE__ */ jsx("span", { className: isOpen ? __default58.toggleIconOpen : __default58.toggleIcon, children: /* @__PURE__ */ jsx("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", children: /* @__PURE__ */ jsx("path", { d: "M7 1v12M1 7h12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }) }) })
|
|
5542
5652
|
]
|
|
5543
5653
|
}
|
|
5544
5654
|
),
|
|
5545
|
-
/* @__PURE__ */ jsx("div", { className: isOpen ?
|
|
5655
|
+
/* @__PURE__ */ jsx("div", { className: isOpen ? __default58.answerOpen : __default58.answerClosed, children: /* @__PURE__ */ jsx("p", { className: __default58.answerText, children: item.answer }) })
|
|
5546
5656
|
] }, i);
|
|
5547
5657
|
}) })
|
|
5548
5658
|
] }) });
|
|
@@ -5632,32 +5742,32 @@ __styleInject(`.ComparisonTable-module_root {
|
|
|
5632
5742
|
font-weight: 500;
|
|
5633
5743
|
color: var(--fg);
|
|
5634
5744
|
}`);
|
|
5635
|
-
var
|
|
5745
|
+
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" };
|
|
5636
5746
|
function ComparisonTable({ columns, rows, className = "" }) {
|
|
5637
|
-
return /* @__PURE__ */ jsx("section", { className: `${
|
|
5747
|
+
return /* @__PURE__ */ jsx("section", { className: `${__default59.root}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsx("div", { className: __default59.scrollWrap, children: /* @__PURE__ */ jsxs("table", { className: __default59.table, children: [
|
|
5638
5748
|
/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
5639
|
-
/* @__PURE__ */ jsx("th", { className:
|
|
5749
|
+
/* @__PURE__ */ jsx("th", { className: __default59.headerCell }),
|
|
5640
5750
|
columns.map((col, i) => /* @__PURE__ */ jsx(
|
|
5641
5751
|
"th",
|
|
5642
5752
|
{
|
|
5643
|
-
className: col.highlighted ?
|
|
5753
|
+
className: col.highlighted ? __default59.columnHeaderHighlighted : __default59.columnHeader,
|
|
5644
5754
|
children: col.label
|
|
5645
5755
|
},
|
|
5646
5756
|
i
|
|
5647
5757
|
))
|
|
5648
5758
|
] }) }),
|
|
5649
|
-
/* @__PURE__ */ jsx("tbody", { children: rows.map((row, ri) => /* @__PURE__ */ jsxs("tr", { className:
|
|
5650
|
-
/* @__PURE__ */ jsx("td", { className:
|
|
5759
|
+
/* @__PURE__ */ jsx("tbody", { children: rows.map((row, ri) => /* @__PURE__ */ jsxs("tr", { className: __default59.bodyRow, children: [
|
|
5760
|
+
/* @__PURE__ */ jsx("td", { className: __default59.featureCell, children: row.feature }),
|
|
5651
5761
|
row.values.map((val, vi) => {
|
|
5652
5762
|
var _a;
|
|
5653
5763
|
const isHighlighted = (_a = columns[vi]) == null ? void 0 : _a.highlighted;
|
|
5654
5764
|
const isLast = ri === rows.length - 1;
|
|
5655
|
-
const cellClass = isHighlighted ? isLast ?
|
|
5765
|
+
const cellClass = isHighlighted ? isLast ? __default59.valueCellHighlightedLast : __default59.valueCellHighlighted : __default59.valueCell;
|
|
5656
5766
|
return /* @__PURE__ */ jsx(
|
|
5657
5767
|
"td",
|
|
5658
5768
|
{
|
|
5659
5769
|
className: cellClass,
|
|
5660
|
-
children: typeof val === "boolean" ? val ? /* @__PURE__ */ jsx("span", { className:
|
|
5770
|
+
children: typeof val === "boolean" ? val ? /* @__PURE__ */ jsx("span", { className: __default59.iconSuccess, children: /* @__PURE__ */ jsx(IconlyCheck, { size: 18 }) }) : /* @__PURE__ */ jsx("span", { className: __default59.iconMuted, children: /* @__PURE__ */ jsx(IconlyClose, { size: 18 }) }) : typeof val === "string" ? /* @__PURE__ */ jsx("span", { className: __default59.textValue, children: val }) : val
|
|
5661
5771
|
},
|
|
5662
5772
|
vi
|
|
5663
5773
|
);
|
|
@@ -5822,7 +5932,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
5822
5932
|
background: var(--border-color-strong);
|
|
5823
5933
|
transition: background var(--transition-fast), width var(--transition-fast);
|
|
5824
5934
|
}`);
|
|
5825
|
-
var
|
|
5935
|
+
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" };
|
|
5826
5936
|
var BottomSheetContext = createContext(null);
|
|
5827
5937
|
function useBottomSheet(part) {
|
|
5828
5938
|
const ctx = useContext(BottomSheetContext);
|
|
@@ -5894,13 +6004,13 @@ function BottomSheet({
|
|
|
5894
6004
|
BottomSheetContext.Provider,
|
|
5895
6005
|
{
|
|
5896
6006
|
value: { open, setOpen, dragY, isDragging, onDragStart, onDragMove, onDragEnd },
|
|
5897
|
-
children: /* @__PURE__ */ jsx("div", { className: `${
|
|
6007
|
+
children: /* @__PURE__ */ jsx("div", { className: `${__default60.root}${className ? ` ${className}` : ""}`, children })
|
|
5898
6008
|
}
|
|
5899
6009
|
);
|
|
5900
6010
|
}
|
|
5901
6011
|
function Bar({ children, className = "" }) {
|
|
5902
6012
|
const { setOpen, onDragStart, onDragMove, onDragEnd } = useBottomSheet("Bar");
|
|
5903
|
-
return /* @__PURE__ */ jsxs("div", { className: `${
|
|
6013
|
+
return /* @__PURE__ */ jsxs("div", { className: `${__default60.bar}${className ? ` ${className}` : ""}`, children: [
|
|
5904
6014
|
/* @__PURE__ */ jsx(
|
|
5905
6015
|
"button",
|
|
5906
6016
|
{
|
|
@@ -5910,12 +6020,12 @@ function Bar({ children, className = "" }) {
|
|
|
5910
6020
|
onTouchMove: (e) => onDragMove(e.touches[0].clientY),
|
|
5911
6021
|
onTouchEnd: onDragEnd,
|
|
5912
6022
|
onTouchCancel: onDragEnd,
|
|
5913
|
-
className:
|
|
6023
|
+
className: __default60.barHandle,
|
|
5914
6024
|
"aria-label": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E",
|
|
5915
|
-
children: /* @__PURE__ */ jsx("span", { className:
|
|
6025
|
+
children: /* @__PURE__ */ jsx("span", { className: __default60.handleBar })
|
|
5916
6026
|
}
|
|
5917
6027
|
),
|
|
5918
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
6028
|
+
/* @__PURE__ */ jsx("div", { className: __default60.barActions, children })
|
|
5919
6029
|
] });
|
|
5920
6030
|
}
|
|
5921
6031
|
function Panel({ children, className = "" }) {
|
|
@@ -5936,7 +6046,7 @@ function Panel({ children, className = "" }) {
|
|
|
5936
6046
|
/* @__PURE__ */ jsx(
|
|
5937
6047
|
"div",
|
|
5938
6048
|
{
|
|
5939
|
-
className: `${
|
|
6049
|
+
className: `${__default60.backdrop}${open || isDraggingOpen ? ` ${__default60.backdropOpen}` : ""}`,
|
|
5940
6050
|
onClick: () => setOpen(false),
|
|
5941
6051
|
"aria-hidden": "true"
|
|
5942
6052
|
}
|
|
@@ -5944,7 +6054,7 @@ function Panel({ children, className = "" }) {
|
|
|
5944
6054
|
/* @__PURE__ */ jsx(
|
|
5945
6055
|
"div",
|
|
5946
6056
|
{
|
|
5947
|
-
className: `${
|
|
6057
|
+
className: `${__default60.panel}${open ? ` ${__default60.panelOpen}` : ""}${className ? ` ${className}` : ""}`,
|
|
5948
6058
|
role: "dialog",
|
|
5949
6059
|
"aria-modal": open,
|
|
5950
6060
|
"aria-hidden": !open && !isDraggingOpen,
|
|
@@ -5977,9 +6087,9 @@ function Handle({ className = "" }) {
|
|
|
5977
6087
|
if (e.pointerType === "mouse") return;
|
|
5978
6088
|
onDragEnd();
|
|
5979
6089
|
},
|
|
5980
|
-
className: `${
|
|
6090
|
+
className: `${__default60.handle}${className ? ` ${className}` : ""}`,
|
|
5981
6091
|
"aria-label": open ? "\u0417\u0430\u043A\u0440\u044B\u0442\u044C" : "\u041E\u0442\u043A\u0440\u044B\u0442\u044C",
|
|
5982
|
-
children: /* @__PURE__ */ jsx("span", { className:
|
|
6092
|
+
children: /* @__PURE__ */ jsx("span", { className: __default60.handleBar })
|
|
5983
6093
|
}
|
|
5984
6094
|
);
|
|
5985
6095
|
}
|
|
@@ -5989,7 +6099,7 @@ function Trigger({ children, className = "" }) {
|
|
|
5989
6099
|
"div",
|
|
5990
6100
|
{
|
|
5991
6101
|
onClick: () => setOpen(!open),
|
|
5992
|
-
className: `${
|
|
6102
|
+
className: `${__default60.trigger}${className ? ` ${className}` : ""}`,
|
|
5993
6103
|
children
|
|
5994
6104
|
}
|
|
5995
6105
|
);
|
|
@@ -6158,21 +6268,21 @@ __styleInject(`.PromoBento-module_root {
|
|
|
6158
6268
|
.PromoBento-module_cardCta {
|
|
6159
6269
|
margin-top: 0.25rem;
|
|
6160
6270
|
}`);
|
|
6161
|
-
var
|
|
6271
|
+
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" };
|
|
6162
6272
|
function PromoBentoCard({ pill, title, description, cta, media, className = "" }) {
|
|
6163
|
-
return /* @__PURE__ */ jsxs("div", { className: `${
|
|
6164
|
-
media && /* @__PURE__ */ jsxs("div", { className:
|
|
6165
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
6166
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
6273
|
+
return /* @__PURE__ */ jsxs("div", { className: `${__default61.card}${className ? ` ${className}` : ""}`, children: [
|
|
6274
|
+
media && /* @__PURE__ */ jsxs("div", { className: __default61.cardMedia, children: [
|
|
6275
|
+
/* @__PURE__ */ jsx("div", { className: __default61.cardMediaInner, children: media }),
|
|
6276
|
+
/* @__PURE__ */ jsx("div", { className: __default61.cardFade })
|
|
6167
6277
|
] }),
|
|
6168
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
6169
|
-
pill && /* @__PURE__ */ jsx("div", { className:
|
|
6170
|
-
pill.icon && /* @__PURE__ */ jsx("span", { className:
|
|
6278
|
+
/* @__PURE__ */ jsxs("div", { className: __default61.cardContent, children: [
|
|
6279
|
+
pill && /* @__PURE__ */ jsx("div", { className: __default61.pill, children: /* @__PURE__ */ jsxs("span", { className: __default61.pillInner, children: [
|
|
6280
|
+
pill.icon && /* @__PURE__ */ jsx("span", { className: __default61.pillIcon, children: pill.icon }),
|
|
6171
6281
|
pill.label
|
|
6172
6282
|
] }) }),
|
|
6173
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
6174
|
-
description && /* @__PURE__ */ jsx("p", { className:
|
|
6175
|
-
cta && /* @__PURE__ */ jsx("div", { className:
|
|
6283
|
+
/* @__PURE__ */ jsx("h3", { className: __default61.cardTitle, children: title }),
|
|
6284
|
+
description && /* @__PURE__ */ jsx("p", { className: __default61.cardDesc, children: description }),
|
|
6285
|
+
cta && /* @__PURE__ */ jsx("div", { className: __default61.cardCta, children: /* @__PURE__ */ jsx(
|
|
6176
6286
|
Button,
|
|
6177
6287
|
{
|
|
6178
6288
|
variant: "outline",
|
|
@@ -6185,12 +6295,12 @@ function PromoBentoCard({ pill, title, description, cta, media, className = "" }
|
|
|
6185
6295
|
] });
|
|
6186
6296
|
}
|
|
6187
6297
|
function PromoBento({ heading, subtitle, items, className = "" }) {
|
|
6188
|
-
return /* @__PURE__ */ jsxs("section", { className: `${
|
|
6189
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
6190
|
-
/* @__PURE__ */ jsx("h2", { className:
|
|
6191
|
-
subtitle && /* @__PURE__ */ jsx("p", { className:
|
|
6298
|
+
return /* @__PURE__ */ jsxs("section", { className: `${__default61.root}${className ? ` ${className}` : ""}`, children: [
|
|
6299
|
+
/* @__PURE__ */ jsxs("div", { className: __default61.header, children: [
|
|
6300
|
+
/* @__PURE__ */ jsx("h2", { className: __default61.heading, children: heading }),
|
|
6301
|
+
subtitle && /* @__PURE__ */ jsx("p", { className: __default61.subtitle, children: subtitle })
|
|
6192
6302
|
] }),
|
|
6193
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
6303
|
+
/* @__PURE__ */ jsx("div", { className: __default61.grid, children: items.map((item, i) => /* @__PURE__ */ jsx(PromoBentoCard, __spreadValues({}, item), i)) })
|
|
6194
6304
|
] });
|
|
6195
6305
|
}
|
|
6196
6306
|
|
|
@@ -6312,26 +6422,26 @@ __styleInject(`.PromoShowcase-module_root {
|
|
|
6312
6422
|
padding: 2.5rem;
|
|
6313
6423
|
}
|
|
6314
6424
|
}`);
|
|
6315
|
-
var
|
|
6425
|
+
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" };
|
|
6316
6426
|
function PromoShowcase({ heading, steps, className = "" }) {
|
|
6317
6427
|
const [activeIndex, setActiveIndex] = useState(0);
|
|
6318
|
-
return /* @__PURE__ */ jsxs("section", { className: `${
|
|
6319
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
6320
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
6321
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
6428
|
+
return /* @__PURE__ */ jsxs("section", { className: `${__default62.root}${className ? ` ${className}` : ""}`, children: [
|
|
6429
|
+
/* @__PURE__ */ jsx("div", { className: __default62.heading, children: /* @__PURE__ */ jsx("h2", { className: __default62.headingText, children: heading }) }),
|
|
6430
|
+
/* @__PURE__ */ jsxs("div", { className: __default62.body, children: [
|
|
6431
|
+
/* @__PURE__ */ jsx("div", { className: __default62.stepper, children: steps.map((step, i) => /* @__PURE__ */ jsx(
|
|
6322
6432
|
"button",
|
|
6323
6433
|
{
|
|
6324
6434
|
onClick: () => setActiveIndex(i),
|
|
6325
|
-
className: `${
|
|
6435
|
+
className: `${__default62.stepButton}${i === activeIndex ? ` ${__default62.stepButtonActive}` : ""}`,
|
|
6326
6436
|
children: step.label
|
|
6327
6437
|
},
|
|
6328
6438
|
i
|
|
6329
6439
|
)) }),
|
|
6330
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
6440
|
+
/* @__PURE__ */ jsx("div", { className: __default62.contentArea, children: steps.map((step, i) => /* @__PURE__ */ jsx(
|
|
6331
6441
|
"div",
|
|
6332
6442
|
{
|
|
6333
|
-
className: `${
|
|
6334
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
6443
|
+
className: `${__default62.panel}${i === activeIndex ? ` ${__default62.panelActive}` : ""}`,
|
|
6444
|
+
children: /* @__PURE__ */ jsx("div", { className: __default62.panelInner, children: step.content })
|
|
6335
6445
|
},
|
|
6336
6446
|
i
|
|
6337
6447
|
)) })
|
|
@@ -6340,7 +6450,8 @@ function PromoShowcase({ heading, steps, className = "" }) {
|
|
|
6340
6450
|
}
|
|
6341
6451
|
|
|
6342
6452
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/organisms/PromoSplit.module.scss
|
|
6343
|
-
__styleInject(
|
|
6453
|
+
__styleInject(`@charset "UTF-8";
|
|
6454
|
+
.PromoSplit-module_root {
|
|
6344
6455
|
padding: 4rem 0;
|
|
6345
6456
|
}
|
|
6346
6457
|
@media (min-width: 768px) {
|
|
@@ -6349,6 +6460,16 @@ __styleInject(`.PromoSplit-module_root {
|
|
|
6349
6460
|
}
|
|
6350
6461
|
}
|
|
6351
6462
|
|
|
6463
|
+
/* 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. */
|
|
6464
|
+
.PromoSplit-module_rootNoVertical {
|
|
6465
|
+
padding-block: 0;
|
|
6466
|
+
}
|
|
6467
|
+
@media (min-width: 768px) {
|
|
6468
|
+
.PromoSplit-module_rootNoVertical {
|
|
6469
|
+
padding-block: 0;
|
|
6470
|
+
}
|
|
6471
|
+
}
|
|
6472
|
+
|
|
6352
6473
|
.PromoSplit-module_grid {
|
|
6353
6474
|
display: grid;
|
|
6354
6475
|
grid-template-columns: 1fr;
|
|
@@ -6480,26 +6601,28 @@ __styleInject(`.PromoSplit-module_root {
|
|
|
6480
6601
|
align-items: center;
|
|
6481
6602
|
justify-content: center;
|
|
6482
6603
|
}`);
|
|
6483
|
-
var
|
|
6604
|
+
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" };
|
|
6484
6605
|
function PromoSplit({
|
|
6485
6606
|
heading,
|
|
6486
6607
|
description,
|
|
6487
6608
|
features,
|
|
6488
6609
|
media,
|
|
6489
6610
|
mediaPosition = "right",
|
|
6611
|
+
verticalPadding = "default",
|
|
6490
6612
|
className = ""
|
|
6491
6613
|
}) {
|
|
6492
6614
|
const isLeft = mediaPosition === "left";
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
/* @__PURE__ */ jsx("
|
|
6615
|
+
const noVerticalClass = verticalPadding === "none" ? ` ${__default63.rootNoVertical}` : "";
|
|
6616
|
+
return /* @__PURE__ */ jsx("section", { className: `${__default63.root}${noVerticalClass}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxs("div", { className: isLeft ? __default63.gridReversed : __default63.grid, children: [
|
|
6617
|
+
/* @__PURE__ */ jsxs("div", { className: `${__default63.textColumn}${isLeft ? ` ${__default63.textColumnLtr}` : ""}`, children: [
|
|
6618
|
+
/* @__PURE__ */ jsx("h2", { className: __default63.heading, children: heading }),
|
|
6619
|
+
description && /* @__PURE__ */ jsx("p", { className: __default63.description, children: description }),
|
|
6620
|
+
features && features.length > 0 && /* @__PURE__ */ jsx("div", { className: __default63.features, children: features.map((feature, i) => /* @__PURE__ */ jsxs("div", { className: __default63.feature, children: [
|
|
6621
|
+
/* @__PURE__ */ jsx("h3", { className: __default63.featureTitle, children: feature.title }),
|
|
6622
|
+
/* @__PURE__ */ jsx("p", { className: __default63.featureDesc, children: feature.description })
|
|
6500
6623
|
] }, i)) })
|
|
6501
6624
|
] }),
|
|
6502
|
-
/* @__PURE__ */ jsx("div", { className: `${
|
|
6625
|
+
/* @__PURE__ */ jsx("div", { className: `${__default63.mediaColumn}${isLeft ? ` ${__default63.mediaColumnLtr}` : ""}`, children: /* @__PURE__ */ jsx("div", { className: __default63.mediaBox, children: media ? /* @__PURE__ */ jsx("div", { className: __default63.mediaContent, children: media }) : /* @__PURE__ */ jsx("div", { className: __default63.mediaPlaceholder, children: /* @__PURE__ */ jsx("div", { className: __default63.placeholderCircle, children: /* @__PURE__ */ 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: [
|
|
6503
6626
|
/* @__PURE__ */ jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
6504
6627
|
/* @__PURE__ */ jsx("circle", { cx: "8.5", cy: "8.5", r: "1.5" }),
|
|
6505
6628
|
/* @__PURE__ */ jsx("path", { d: "m21 15-5-5L5 21" })
|
|
@@ -6616,16 +6739,16 @@ __styleInject(`.PromoTrustGrid-module_root {
|
|
|
6616
6739
|
justify-content: center;
|
|
6617
6740
|
padding: 1.5rem;
|
|
6618
6741
|
}`);
|
|
6619
|
-
var
|
|
6742
|
+
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" };
|
|
6620
6743
|
function PromoTrustGrid({ heading, features, media, className = "" }) {
|
|
6621
|
-
return /* @__PURE__ */ jsxs("section", { className: `${
|
|
6622
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
6623
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
6624
|
-
feature.icon && /* @__PURE__ */ jsx("div", { className:
|
|
6625
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
6626
|
-
/* @__PURE__ */ jsx("p", { className:
|
|
6744
|
+
return /* @__PURE__ */ jsxs("section", { className: `${__default64.root}${className ? ` ${className}` : ""}`, children: [
|
|
6745
|
+
/* @__PURE__ */ jsx("div", { className: __default64.heading, children: /* @__PURE__ */ jsx("h2", { className: __default64.headingText, children: heading }) }),
|
|
6746
|
+
/* @__PURE__ */ jsx("div", { className: __default64.grid, children: features.map((feature, i) => /* @__PURE__ */ jsxs("div", { className: __default64.featureCard, children: [
|
|
6747
|
+
feature.icon && /* @__PURE__ */ jsx("div", { className: __default64.featureIcon, children: feature.icon }),
|
|
6748
|
+
/* @__PURE__ */ jsx("h3", { className: __default64.featureTitle, children: feature.title }),
|
|
6749
|
+
/* @__PURE__ */ jsx("p", { className: __default64.featureDescription, children: feature.description })
|
|
6627
6750
|
] }, i)) }),
|
|
6628
|
-
media && /* @__PURE__ */ jsx("div", { className:
|
|
6751
|
+
media && /* @__PURE__ */ jsx("div", { className: __default64.media, children: /* @__PURE__ */ jsx("div", { className: __default64.mediaInner, children: media }) })
|
|
6629
6752
|
] });
|
|
6630
6753
|
}
|
|
6631
6754
|
|
|
@@ -6812,36 +6935,37 @@ __styleInject(`@charset "UTF-8";
|
|
|
6812
6935
|
border-radius: clamp(8px, 1.5vw, 16px);
|
|
6813
6936
|
background: var(--bg-tertiary);
|
|
6814
6937
|
}`);
|
|
6815
|
-
var
|
|
6938
|
+
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" };
|
|
6816
6939
|
function PromoDevicesCTA({
|
|
6817
6940
|
heading,
|
|
6818
6941
|
description,
|
|
6819
6942
|
cta,
|
|
6820
6943
|
className = ""
|
|
6821
6944
|
}) {
|
|
6822
|
-
return /* @__PURE__ */ jsxs("section", { className: `${
|
|
6823
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
6824
|
-
/* @__PURE__ */ jsx("h2", { className:
|
|
6825
|
-
description && /* @__PURE__ */ jsx("p", { className:
|
|
6826
|
-
cta && /* @__PURE__ */ jsx("div", { className:
|
|
6945
|
+
return /* @__PURE__ */ jsxs("section", { className: `${__default65.root}${className ? ` ${className}` : ""}`, children: [
|
|
6946
|
+
/* @__PURE__ */ jsxs("div", { className: __default65.textBlock, children: [
|
|
6947
|
+
/* @__PURE__ */ jsx("h2", { className: __default65.heading, children: heading }),
|
|
6948
|
+
description && /* @__PURE__ */ jsx("p", { className: __default65.description, children: description }),
|
|
6949
|
+
cta && /* @__PURE__ */ jsx("div", { className: __default65.ctaWrap, children: /* @__PURE__ */ jsx(Button, { variant: "primary", onClick: cta.onClick, children: cta.label }) })
|
|
6827
6950
|
] }),
|
|
6828
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
6829
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
6830
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
6831
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
6832
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
6951
|
+
/* @__PURE__ */ jsxs("div", { className: __default65.devices, children: [
|
|
6952
|
+
/* @__PURE__ */ jsxs("div", { className: __default65.laptop, children: [
|
|
6953
|
+
/* @__PURE__ */ jsx("div", { className: __default65.laptopScreen, children: /* @__PURE__ */ jsx("div", { className: __default65.laptopScreenInner }) }),
|
|
6954
|
+
/* @__PURE__ */ jsx("div", { className: __default65.laptopHinge }),
|
|
6955
|
+
/* @__PURE__ */ jsx("div", { className: __default65.laptopBase })
|
|
6833
6956
|
] }),
|
|
6834
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
6835
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
6836
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
6837
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
6957
|
+
/* @__PURE__ */ jsx("div", { className: __default65.tablet, children: /* @__PURE__ */ jsx("div", { className: __default65.tabletShell, children: /* @__PURE__ */ jsx("div", { className: __default65.tabletScreen }) }) }),
|
|
6958
|
+
/* @__PURE__ */ jsx("div", { className: __default65.phone, children: /* @__PURE__ */ jsxs("div", { className: __default65.phoneShell, children: [
|
|
6959
|
+
/* @__PURE__ */ jsx("div", { className: __default65.phoneNotch }),
|
|
6960
|
+
/* @__PURE__ */ jsx("div", { className: __default65.phoneScreen })
|
|
6838
6961
|
] }) })
|
|
6839
6962
|
] })
|
|
6840
6963
|
] });
|
|
6841
6964
|
}
|
|
6842
6965
|
|
|
6843
6966
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/organisms/PromoTestimonials.module.scss
|
|
6844
|
-
__styleInject(
|
|
6967
|
+
__styleInject(`@charset "UTF-8";
|
|
6968
|
+
.PromoTestimonials-module_root {
|
|
6845
6969
|
padding: 4rem 0;
|
|
6846
6970
|
}
|
|
6847
6971
|
@media (min-width: 768px) {
|
|
@@ -6850,6 +6974,16 @@ __styleInject(`.PromoTestimonials-module_root {
|
|
|
6850
6974
|
}
|
|
6851
6975
|
}
|
|
6852
6976
|
|
|
6977
|
+
/* 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. */
|
|
6978
|
+
.PromoTestimonials-module_rootNoVertical {
|
|
6979
|
+
padding-block: 0;
|
|
6980
|
+
}
|
|
6981
|
+
@media (min-width: 768px) {
|
|
6982
|
+
.PromoTestimonials-module_rootNoVertical {
|
|
6983
|
+
padding-block: 0;
|
|
6984
|
+
}
|
|
6985
|
+
}
|
|
6986
|
+
|
|
6853
6987
|
.PromoTestimonials-module_wrapper {
|
|
6854
6988
|
position: relative;
|
|
6855
6989
|
border-radius: clamp(20px, 3vw, 40px);
|
|
@@ -7023,22 +7157,24 @@ __styleInject(`.PromoTestimonials-module_root {
|
|
|
7023
7157
|
background: var(--bg-secondary);
|
|
7024
7158
|
overflow: hidden;
|
|
7025
7159
|
}`);
|
|
7026
|
-
var
|
|
7160
|
+
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" };
|
|
7027
7161
|
function PromoTestimonials({
|
|
7028
7162
|
heading,
|
|
7029
7163
|
subtitle,
|
|
7030
7164
|
testimonials,
|
|
7031
7165
|
media,
|
|
7166
|
+
verticalPadding = "default",
|
|
7032
7167
|
className = ""
|
|
7033
7168
|
}) {
|
|
7034
|
-
|
|
7035
|
-
|
|
7169
|
+
const noVerticalClass = verticalPadding === "none" ? ` ${__default66.rootNoVertical}` : "";
|
|
7170
|
+
return /* @__PURE__ */ jsx("section", { className: `${__default66.root}${noVerticalClass}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxs("div", { className: __default66.wrapper, children: [
|
|
7171
|
+
/* @__PURE__ */ jsx("div", { className: __default66.avatarSection, children: /* @__PURE__ */ jsxs("div", { className: __default66.avatarStack, children: [
|
|
7036
7172
|
testimonials.slice(0, 5).map((t, i) => {
|
|
7037
7173
|
const initials = t.name.split(" ").map((n) => n[0]).join("").toUpperCase();
|
|
7038
7174
|
return /* @__PURE__ */ jsx(
|
|
7039
7175
|
"div",
|
|
7040
7176
|
{
|
|
7041
|
-
className:
|
|
7177
|
+
className: __default66.avatarRing,
|
|
7042
7178
|
style: { zIndex: 10 - i },
|
|
7043
7179
|
children: /* @__PURE__ */ jsx(
|
|
7044
7180
|
Avatar,
|
|
@@ -7052,32 +7188,32 @@ function PromoTestimonials({
|
|
|
7052
7188
|
i
|
|
7053
7189
|
);
|
|
7054
7190
|
}),
|
|
7055
|
-
testimonials.length > 5 && /* @__PURE__ */ jsx("div", { className:
|
|
7191
|
+
testimonials.length > 5 && /* @__PURE__ */ jsx("div", { className: __default66.overflowBadge, children: /* @__PURE__ */ jsxs("div", { className: __default66.overflowCircle, children: [
|
|
7056
7192
|
"+",
|
|
7057
7193
|
testimonials.length - 5
|
|
7058
7194
|
] }) })
|
|
7059
7195
|
] }) }),
|
|
7060
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
7061
|
-
/* @__PURE__ */ jsx("h2", { className:
|
|
7062
|
-
subtitle && /* @__PURE__ */ jsx("p", { className:
|
|
7196
|
+
/* @__PURE__ */ jsxs("div", { className: __default66.headingSection, children: [
|
|
7197
|
+
/* @__PURE__ */ jsx("h2", { className: __default66.heading, children: heading }),
|
|
7198
|
+
subtitle && /* @__PURE__ */ jsx("p", { className: __default66.subtitle, children: subtitle })
|
|
7063
7199
|
] }),
|
|
7064
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
7200
|
+
/* @__PURE__ */ jsx("div", { className: __default66.cardsSection, children: /* @__PURE__ */ jsx("div", { className: __default66.cardsGrid, children: testimonials.map((t, i) => {
|
|
7065
7201
|
const initials = t.name.split(" ").map((n) => n[0]).join("").toUpperCase();
|
|
7066
7202
|
return /* @__PURE__ */ jsxs(
|
|
7067
7203
|
"div",
|
|
7068
7204
|
{
|
|
7069
|
-
className:
|
|
7205
|
+
className: __default66.card,
|
|
7070
7206
|
children: [
|
|
7071
|
-
/* @__PURE__ */ jsxs("p", { className:
|
|
7207
|
+
/* @__PURE__ */ jsxs("p", { className: __default66.quote, children: [
|
|
7072
7208
|
"\u201C",
|
|
7073
7209
|
t.quote,
|
|
7074
7210
|
"\u201D"
|
|
7075
7211
|
] }),
|
|
7076
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
7212
|
+
/* @__PURE__ */ jsxs("div", { className: __default66.author, children: [
|
|
7077
7213
|
/* @__PURE__ */ jsx(Avatar, { size: "sm", src: t.avatarSrc, initials }),
|
|
7078
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
7079
|
-
/* @__PURE__ */ jsx("p", { className:
|
|
7080
|
-
/* @__PURE__ */ jsx("p", { className:
|
|
7214
|
+
/* @__PURE__ */ jsxs("div", { className: __default66.authorInfo, children: [
|
|
7215
|
+
/* @__PURE__ */ jsx("p", { className: __default66.authorName, children: t.name }),
|
|
7216
|
+
/* @__PURE__ */ jsx("p", { className: __default66.authorRole, children: t.role })
|
|
7081
7217
|
] })
|
|
7082
7218
|
] })
|
|
7083
7219
|
]
|
|
@@ -7085,7 +7221,7 @@ function PromoTestimonials({
|
|
|
7085
7221
|
i
|
|
7086
7222
|
);
|
|
7087
7223
|
}) }) }),
|
|
7088
|
-
media && /* @__PURE__ */ jsx("div", { className:
|
|
7224
|
+
media && /* @__PURE__ */ jsx("div", { className: __default66.mediaSection, children: /* @__PURE__ */ jsx("div", { className: __default66.mediaBox, children: media }) })
|
|
7089
7225
|
] }) });
|
|
7090
7226
|
}
|
|
7091
7227
|
|
|
@@ -7237,7 +7373,7 @@ __styleInject(`.PromoHero-module_root {
|
|
|
7237
7373
|
align-items: center;
|
|
7238
7374
|
justify-content: center;
|
|
7239
7375
|
}`);
|
|
7240
|
-
var
|
|
7376
|
+
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" };
|
|
7241
7377
|
function PromoHero({
|
|
7242
7378
|
title,
|
|
7243
7379
|
subtitle,
|
|
@@ -7247,30 +7383,30 @@ function PromoHero({
|
|
|
7247
7383
|
variant = "dark",
|
|
7248
7384
|
className = ""
|
|
7249
7385
|
}) {
|
|
7250
|
-
const variantClass = variant === "dark" ?
|
|
7251
|
-
const subtitleClass = variant === "light" ?
|
|
7386
|
+
const variantClass = variant === "dark" ? __default67.dark : variant === "gradient" ? __default67.gradient : __default67.light;
|
|
7387
|
+
const subtitleClass = variant === "light" ? __default67.subtitleLight : __default67.subtitleDark;
|
|
7252
7388
|
const isLight = variant === "light";
|
|
7253
7389
|
return /* @__PURE__ */ jsxs(
|
|
7254
7390
|
"section",
|
|
7255
7391
|
{
|
|
7256
|
-
className: `${
|
|
7392
|
+
className: `${__default67.root} ${variantClass}${className ? ` ${className}` : ""}`,
|
|
7257
7393
|
children: [
|
|
7258
|
-
!isLight && /* @__PURE__ */ jsxs("div", { className:
|
|
7259
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
7260
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
7394
|
+
!isLight && /* @__PURE__ */ jsxs("div", { className: __default67.glowLayer, "aria-hidden": "true", children: [
|
|
7395
|
+
/* @__PURE__ */ jsx("div", { className: __default67.glowTop }),
|
|
7396
|
+
/* @__PURE__ */ jsx("div", { className: __default67.glowBottom })
|
|
7261
7397
|
] }),
|
|
7262
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
7263
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
7264
|
-
/* @__PURE__ */ jsx("h1", { className:
|
|
7265
|
-
subtitle && /* @__PURE__ */ jsx("p", { className: `${
|
|
7266
|
-
(cta || secondaryCta) && /* @__PURE__ */ jsxs("div", { className:
|
|
7398
|
+
/* @__PURE__ */ jsxs("div", { className: __default67.inner, children: [
|
|
7399
|
+
/* @__PURE__ */ jsxs("div", { className: __default67.textColumn, children: [
|
|
7400
|
+
/* @__PURE__ */ jsx("h1", { className: __default67.title, children: title }),
|
|
7401
|
+
subtitle && /* @__PURE__ */ jsx("p", { className: `${__default67.subtitle} ${subtitleClass}`, children: subtitle }),
|
|
7402
|
+
(cta || secondaryCta) && /* @__PURE__ */ jsxs("div", { className: __default67.actions, children: [
|
|
7267
7403
|
cta && /* @__PURE__ */ jsx(
|
|
7268
7404
|
Button,
|
|
7269
7405
|
{
|
|
7270
7406
|
variant: isLight ? "primary" : "outline",
|
|
7271
7407
|
size: "hero",
|
|
7272
7408
|
onClick: cta.onClick,
|
|
7273
|
-
className: !isLight ?
|
|
7409
|
+
className: !isLight ? __default67.ctaDark : "",
|
|
7274
7410
|
children: cta.label
|
|
7275
7411
|
}
|
|
7276
7412
|
),
|
|
@@ -7280,13 +7416,13 @@ function PromoHero({
|
|
|
7280
7416
|
variant: "ghost",
|
|
7281
7417
|
size: "hero",
|
|
7282
7418
|
onClick: secondaryCta.onClick,
|
|
7283
|
-
className: !isLight ?
|
|
7419
|
+
className: !isLight ? __default67.ghostDark : "",
|
|
7284
7420
|
children: secondaryCta.label
|
|
7285
7421
|
}
|
|
7286
7422
|
)
|
|
7287
7423
|
] })
|
|
7288
7424
|
] }),
|
|
7289
|
-
media && /* @__PURE__ */ jsx("div", { className:
|
|
7425
|
+
media && /* @__PURE__ */ jsx("div", { className: __default67.mediaColumn, children: media })
|
|
7290
7426
|
] })
|
|
7291
7427
|
]
|
|
7292
7428
|
}
|
|
@@ -7440,7 +7576,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
7440
7576
|
max-width: 640px;
|
|
7441
7577
|
width: 100%;
|
|
7442
7578
|
}`);
|
|
7443
|
-
var
|
|
7579
|
+
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" };
|
|
7444
7580
|
function PromoHeroForm({
|
|
7445
7581
|
title,
|
|
7446
7582
|
subtitle,
|
|
@@ -7463,17 +7599,17 @@ function PromoHeroForm({
|
|
|
7463
7599
|
onSubmit == null ? void 0 : onSubmit(trimmed);
|
|
7464
7600
|
};
|
|
7465
7601
|
const isDisabled = loading || value.trim().length === 0;
|
|
7466
|
-
return /* @__PURE__ */ jsx("section", { className: `${
|
|
7467
|
-
/* @__PURE__ */ jsx("h1", { className:
|
|
7468
|
-
subtitle && /* @__PURE__ */ jsx("p", { className:
|
|
7602
|
+
return /* @__PURE__ */ jsx("section", { className: `${__default68.root}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxs("div", { className: __default68.inner, children: [
|
|
7603
|
+
/* @__PURE__ */ jsx("h1", { className: __default68.title, children: title }),
|
|
7604
|
+
subtitle && /* @__PURE__ */ jsx("p", { className: __default68.subtitle, children: subtitle }),
|
|
7469
7605
|
/* @__PURE__ */ jsx(
|
|
7470
7606
|
"form",
|
|
7471
7607
|
{
|
|
7472
|
-
className:
|
|
7608
|
+
className: __default68.form,
|
|
7473
7609
|
onSubmit: handleSubmit,
|
|
7474
7610
|
"aria-busy": loading,
|
|
7475
7611
|
noValidate: true,
|
|
7476
|
-
children: /* @__PURE__ */ jsxs("div", { className:
|
|
7612
|
+
children: /* @__PURE__ */ jsxs("div", { className: __default68.formInner, children: [
|
|
7477
7613
|
/* @__PURE__ */ jsx(
|
|
7478
7614
|
"input",
|
|
7479
7615
|
{
|
|
@@ -7482,7 +7618,7 @@ function PromoHeroForm({
|
|
|
7482
7618
|
value,
|
|
7483
7619
|
onChange: (e) => setValue(e.target.value),
|
|
7484
7620
|
disabled: loading,
|
|
7485
|
-
className:
|
|
7621
|
+
className: __default68.input,
|
|
7486
7622
|
"aria-label": inputAriaLabel || inputPlaceholder
|
|
7487
7623
|
}
|
|
7488
7624
|
),
|
|
@@ -7500,8 +7636,8 @@ function PromoHeroForm({
|
|
|
7500
7636
|
] })
|
|
7501
7637
|
}
|
|
7502
7638
|
),
|
|
7503
|
-
hint && !error && /* @__PURE__ */ jsx("p", { className:
|
|
7504
|
-
error && /* @__PURE__ */ jsx("div", { className:
|
|
7639
|
+
hint && !error && /* @__PURE__ */ jsx("p", { className: __default68.hint, children: hint }),
|
|
7640
|
+
error && /* @__PURE__ */ jsx("div", { className: __default68.errorBox, role: "alert", children: error })
|
|
7505
7641
|
] }) });
|
|
7506
7642
|
}
|
|
7507
7643
|
|
|
@@ -7779,7 +7915,7 @@ __styleInject(`.PromoPricing-module_root {
|
|
|
7779
7915
|
.PromoPricing-module_ctaWrap {
|
|
7780
7916
|
margin-top: auto;
|
|
7781
7917
|
}`);
|
|
7782
|
-
var
|
|
7918
|
+
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" };
|
|
7783
7919
|
function PromoPricing({
|
|
7784
7920
|
heading,
|
|
7785
7921
|
subtitle,
|
|
@@ -7789,50 +7925,50 @@ function PromoPricing({
|
|
|
7789
7925
|
}) {
|
|
7790
7926
|
const isDark = variant === "dark";
|
|
7791
7927
|
const getTierClass = (highlighted) => {
|
|
7792
|
-
if (highlighted) return isDark ?
|
|
7793
|
-
return isDark ?
|
|
7928
|
+
if (highlighted) return isDark ? __default69.tierDarkHighlighted : __default69.tierHighlighted;
|
|
7929
|
+
return isDark ? __default69.tierDark : __default69.tierDefault;
|
|
7794
7930
|
};
|
|
7795
7931
|
const getNameClass = (highlighted) => {
|
|
7796
|
-
if (highlighted) return isDark ?
|
|
7797
|
-
return isDark ?
|
|
7932
|
+
if (highlighted) return isDark ? __default69.tierNameHighlightedDark : __default69.tierNameHighlightedLight;
|
|
7933
|
+
return isDark ? __default69.tierNameDark : __default69.tierNameMuted;
|
|
7798
7934
|
};
|
|
7799
7935
|
const getPeriodClass = (highlighted) => {
|
|
7800
|
-
if (highlighted) return isDark ?
|
|
7801
|
-
return isDark ?
|
|
7936
|
+
if (highlighted) return isDark ? __default69.periodHighlightedDark : __default69.periodHighlightedLight;
|
|
7937
|
+
return isDark ? __default69.periodDark : __default69.periodMuted;
|
|
7802
7938
|
};
|
|
7803
7939
|
const getDescClass = (highlighted) => {
|
|
7804
|
-
if (highlighted) return isDark ?
|
|
7805
|
-
return isDark ?
|
|
7940
|
+
if (highlighted) return isDark ? __default69.tierDescHighlightedDark : __default69.tierDescHighlightedLight;
|
|
7941
|
+
return isDark ? __default69.tierDescDark : __default69.tierDescMuted;
|
|
7806
7942
|
};
|
|
7807
7943
|
const getCheckClass = (highlighted) => {
|
|
7808
|
-
if (highlighted) return isDark ?
|
|
7809
|
-
return isDark ?
|
|
7944
|
+
if (highlighted) return isDark ? __default69.checkHighlightedDark : __default69.checkHighlightedLight;
|
|
7945
|
+
return isDark ? __default69.checkDark : __default69.checkDefault;
|
|
7810
7946
|
};
|
|
7811
7947
|
const getFeatureTextClass = (highlighted) => {
|
|
7812
|
-
if (highlighted) return isDark ?
|
|
7813
|
-
return isDark ?
|
|
7948
|
+
if (highlighted) return isDark ? __default69.featureTextHighlightedDark : __default69.featureTextHighlightedLight;
|
|
7949
|
+
return isDark ? __default69.featureTextDark : __default69.featureTextMuted;
|
|
7814
7950
|
};
|
|
7815
7951
|
return /* @__PURE__ */ jsxs(
|
|
7816
7952
|
"section",
|
|
7817
7953
|
{
|
|
7818
|
-
className: `${
|
|
7954
|
+
className: `${__default69.root} ${isDark ? __default69.dark : __default69.light}${className ? ` ${className}` : ""}`,
|
|
7819
7955
|
children: [
|
|
7820
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
7821
|
-
/* @__PURE__ */ jsx("h2", { className: `${
|
|
7822
|
-
subtitle && /* @__PURE__ */ jsx("p", { className: `${
|
|
7956
|
+
/* @__PURE__ */ jsxs("div", { className: __default69.headingSection, children: [
|
|
7957
|
+
/* @__PURE__ */ jsx("h2", { className: `${__default69.heading} ${isDark ? __default69.headingDark : __default69.headingLight}`, children: heading }),
|
|
7958
|
+
subtitle && /* @__PURE__ */ jsx("p", { className: `${__default69.subtitle} ${isDark ? __default69.subtitleDark : __default69.subtitleLight}`, children: subtitle })
|
|
7823
7959
|
] }),
|
|
7824
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
7960
|
+
/* @__PURE__ */ jsx("div", { className: __default69.tiersGrid, children: tiers.map((tier, i) => /* @__PURE__ */ jsxs(
|
|
7825
7961
|
"div",
|
|
7826
7962
|
{
|
|
7827
7963
|
className: getTierClass(tier.highlighted),
|
|
7828
7964
|
children: [
|
|
7829
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
7830
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
7965
|
+
/* @__PURE__ */ jsx("div", { className: __default69.tierName, children: /* @__PURE__ */ jsx("h3", { className: getNameClass(tier.highlighted), children: tier.name }) }),
|
|
7966
|
+
/* @__PURE__ */ jsxs("div", { className: __default69.price, children: [
|
|
7831
7967
|
/* @__PURE__ */ jsx("span", { children: tier.price }),
|
|
7832
|
-
tier.period && /* @__PURE__ */ jsx("span", { className: `${
|
|
7968
|
+
tier.period && /* @__PURE__ */ jsx("span", { className: `${__default69.period} ${getPeriodClass(tier.highlighted)}`, children: tier.period })
|
|
7833
7969
|
] }),
|
|
7834
|
-
tier.description && /* @__PURE__ */ jsx("p", { className: `${
|
|
7835
|
-
/* @__PURE__ */ jsx("ul", { className:
|
|
7970
|
+
tier.description && /* @__PURE__ */ jsx("p", { className: `${__default69.tierDesc} ${getDescClass(tier.highlighted)}`, children: tier.description }),
|
|
7971
|
+
/* @__PURE__ */ jsx("ul", { className: __default69.featureList, children: tier.features.map((feature, fi) => /* @__PURE__ */ jsxs("li", { className: __default69.featureItem, children: [
|
|
7836
7972
|
/* @__PURE__ */ jsx(
|
|
7837
7973
|
"svg",
|
|
7838
7974
|
{
|
|
@@ -7840,13 +7976,13 @@ function PromoPricing({
|
|
|
7840
7976
|
height: "16",
|
|
7841
7977
|
viewBox: "0 0 16 16",
|
|
7842
7978
|
fill: "none",
|
|
7843
|
-
className: `${
|
|
7979
|
+
className: `${__default69.checkIcon} ${getCheckClass(tier.highlighted)}`,
|
|
7844
7980
|
children: /* @__PURE__ */ jsx("path", { d: "M3.5 8.5L6.5 11.5L12.5 4.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
7845
7981
|
}
|
|
7846
7982
|
),
|
|
7847
7983
|
/* @__PURE__ */ jsx("span", { className: getFeatureTextClass(tier.highlighted), children: feature })
|
|
7848
7984
|
] }, fi)) }),
|
|
7849
|
-
tier.cta && /* @__PURE__ */ jsx("div", { className:
|
|
7985
|
+
tier.cta && /* @__PURE__ */ jsx("div", { className: __default69.ctaWrap, children: tier.cta })
|
|
7850
7986
|
]
|
|
7851
7987
|
},
|
|
7852
7988
|
i
|
|
@@ -8004,7 +8140,7 @@ __styleInject(`.PromoActionCards-module_root {
|
|
|
8004
8140
|
.PromoActionCards-module_ctaBtn:hover {
|
|
8005
8141
|
opacity: 0.9;
|
|
8006
8142
|
}`);
|
|
8007
|
-
var
|
|
8143
|
+
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" };
|
|
8008
8144
|
function PromoActionCards({
|
|
8009
8145
|
heading,
|
|
8010
8146
|
subtitle,
|
|
@@ -8012,28 +8148,28 @@ function PromoActionCards({
|
|
|
8012
8148
|
columns = 3,
|
|
8013
8149
|
className = ""
|
|
8014
8150
|
}) {
|
|
8015
|
-
const gridClass = columns === 2 ?
|
|
8016
|
-
return /* @__PURE__ */ jsxs("section", { className: `${
|
|
8017
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
8018
|
-
/* @__PURE__ */ jsx("h2", { className:
|
|
8019
|
-
subtitle && /* @__PURE__ */ jsx("p", { className:
|
|
8151
|
+
const gridClass = columns === 2 ? __default70.grid2 : __default70.grid3;
|
|
8152
|
+
return /* @__PURE__ */ jsxs("section", { className: `${__default70.root}${className ? ` ${className}` : ""}`, children: [
|
|
8153
|
+
/* @__PURE__ */ jsxs("div", { className: __default70.header, children: [
|
|
8154
|
+
/* @__PURE__ */ jsx("h2", { className: __default70.heading, children: heading }),
|
|
8155
|
+
subtitle && /* @__PURE__ */ jsx("p", { className: __default70.subtitle, children: subtitle })
|
|
8020
8156
|
] }),
|
|
8021
8157
|
/* @__PURE__ */ jsx("div", { className: gridClass, children: cards.map((card, i) => {
|
|
8022
8158
|
var _a;
|
|
8023
8159
|
return /* @__PURE__ */ jsxs(
|
|
8024
8160
|
"div",
|
|
8025
8161
|
{
|
|
8026
|
-
className:
|
|
8162
|
+
className: __default70.card,
|
|
8027
8163
|
children: [
|
|
8028
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
8029
|
-
/* @__PURE__ */ jsx("h3", { className:
|
|
8030
|
-
/* @__PURE__ */ jsx("p", { className:
|
|
8164
|
+
/* @__PURE__ */ jsxs("div", { className: __default70.cardContent, children: [
|
|
8165
|
+
/* @__PURE__ */ jsx("h3", { className: __default70.cardTitle, children: card.title }),
|
|
8166
|
+
/* @__PURE__ */ jsx("p", { className: __default70.cardDesc, children: card.description })
|
|
8031
8167
|
] }),
|
|
8032
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
8033
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
8168
|
+
/* @__PURE__ */ jsxs("div", { className: __default70.cardFooter, children: [
|
|
8169
|
+
/* @__PURE__ */ jsx("div", { className: __default70.iconGroup, children: (_a = card.icons) == null ? void 0 : _a.map((icon, ii) => /* @__PURE__ */ jsx(
|
|
8034
8170
|
"span",
|
|
8035
8171
|
{
|
|
8036
|
-
className:
|
|
8172
|
+
className: __default70.iconCircle,
|
|
8037
8173
|
children: icon
|
|
8038
8174
|
},
|
|
8039
8175
|
ii
|
|
@@ -8042,7 +8178,7 @@ function PromoActionCards({
|
|
|
8042
8178
|
"button",
|
|
8043
8179
|
{
|
|
8044
8180
|
onClick: card.cta.onClick,
|
|
8045
|
-
className:
|
|
8181
|
+
className: __default70.ctaBtn,
|
|
8046
8182
|
children: [
|
|
8047
8183
|
card.cta.label,
|
|
8048
8184
|
/* @__PURE__ */ jsx("svg", { width: "11", height: "11", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M4.5 2.5l4 3.5-4 3.5" }) })
|
|
@@ -8165,7 +8301,7 @@ __styleInject(`.ArticleHero-module_root {
|
|
|
8165
8301
|
color: rgba(255, 255, 255, 0.9);
|
|
8166
8302
|
line-height: 22.5px;
|
|
8167
8303
|
}`);
|
|
8168
|
-
var
|
|
8304
|
+
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" };
|
|
8169
8305
|
var DEFAULT_BG = "https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1600&h=900&fit=crop&q=80";
|
|
8170
8306
|
function ArticleHero({
|
|
8171
8307
|
category,
|
|
@@ -8177,20 +8313,20 @@ function ArticleHero({
|
|
|
8177
8313
|
className = ""
|
|
8178
8314
|
}) {
|
|
8179
8315
|
const bgSrc = backgroundImage != null ? backgroundImage : DEFAULT_BG;
|
|
8180
|
-
return /* @__PURE__ */ jsxs("section", { className: `${
|
|
8181
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
8182
|
-
/* @__PURE__ */ jsx("img", { src: bgSrc, alt: "", className:
|
|
8183
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
8316
|
+
return /* @__PURE__ */ jsxs("section", { className: `${__default71.root}${className ? ` ${className}` : ""}`, children: [
|
|
8317
|
+
/* @__PURE__ */ jsxs("div", { className: __default71.bgLayer, children: [
|
|
8318
|
+
/* @__PURE__ */ jsx("img", { src: bgSrc, alt: "", className: __default71.bgImage }),
|
|
8319
|
+
/* @__PURE__ */ jsx("div", { className: __default71.overlay })
|
|
8184
8320
|
] }),
|
|
8185
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
8186
|
-
logo && /* @__PURE__ */ jsx("div", { className:
|
|
8187
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
8188
|
-
nav && /* @__PURE__ */ jsx("div", { className:
|
|
8321
|
+
/* @__PURE__ */ jsxs("div", { className: __default71.topBar, children: [
|
|
8322
|
+
logo && /* @__PURE__ */ jsx("div", { className: __default71.logo, children: logo }),
|
|
8323
|
+
/* @__PURE__ */ jsx("div", { className: __default71.divider }),
|
|
8324
|
+
nav && /* @__PURE__ */ jsx("div", { className: __default71.nav, children: nav })
|
|
8189
8325
|
] }),
|
|
8190
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
8191
|
-
category && /* @__PURE__ */ jsx("p", { className:
|
|
8192
|
-
/* @__PURE__ */ jsx("h1", { className:
|
|
8193
|
-
subtitle && /* @__PURE__ */ jsx("p", { className:
|
|
8326
|
+
/* @__PURE__ */ jsxs("div", { className: __default71.bottom, children: [
|
|
8327
|
+
category && /* @__PURE__ */ jsx("p", { className: __default71.category, children: category }),
|
|
8328
|
+
/* @__PURE__ */ jsx("h1", { className: __default71.title, children: title }),
|
|
8329
|
+
subtitle && /* @__PURE__ */ jsx("p", { className: __default71.subtitle, children: subtitle })
|
|
8194
8330
|
] })
|
|
8195
8331
|
] });
|
|
8196
8332
|
}
|
|
@@ -8202,9 +8338,9 @@ __styleInject(`.ArticleBody-module_root {
|
|
|
8202
8338
|
color: var(--fg-secondary);
|
|
8203
8339
|
font-weight: 400;
|
|
8204
8340
|
}`);
|
|
8205
|
-
var
|
|
8341
|
+
var __default72 = { "root": "ArticleBody-module_root" };
|
|
8206
8342
|
function ArticleBody({ children, className = "" }) {
|
|
8207
|
-
return /* @__PURE__ */ jsx("div", { className: `${
|
|
8343
|
+
return /* @__PURE__ */ jsx("div", { className: `${__default72.root}${className ? ` ${className}` : ""}`, children });
|
|
8208
8344
|
}
|
|
8209
8345
|
|
|
8210
8346
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/templates/ArticleHeading.module.scss
|
|
@@ -8247,10 +8383,10 @@ __styleInject(`.ArticleHeading-module_root {
|
|
|
8247
8383
|
line-height: 1.25rem;
|
|
8248
8384
|
color: var(--fg-muted);
|
|
8249
8385
|
}`);
|
|
8250
|
-
var
|
|
8386
|
+
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" };
|
|
8251
8387
|
var levelClass = {
|
|
8252
|
-
2:
|
|
8253
|
-
3:
|
|
8388
|
+
2: __default73.h2,
|
|
8389
|
+
3: __default73.h3
|
|
8254
8390
|
};
|
|
8255
8391
|
function ArticleHeading({
|
|
8256
8392
|
level = 2,
|
|
@@ -8260,12 +8396,12 @@ function ArticleHeading({
|
|
|
8260
8396
|
className = ""
|
|
8261
8397
|
}) {
|
|
8262
8398
|
const Tag2 = `h${level}`;
|
|
8263
|
-
return /* @__PURE__ */ jsxs("div", { className: `${
|
|
8264
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
8399
|
+
return /* @__PURE__ */ jsxs("div", { className: `${__default73.root}${className ? ` ${className}` : ""}`, children: [
|
|
8400
|
+
/* @__PURE__ */ jsxs("div", { className: __default73.header, children: [
|
|
8265
8401
|
/* @__PURE__ */ jsx(Tag2, { className: levelClass[level], children }),
|
|
8266
|
-
action && /* @__PURE__ */ jsx("div", { className:
|
|
8402
|
+
action && /* @__PURE__ */ jsx("div", { className: __default73.action, children: action })
|
|
8267
8403
|
] }),
|
|
8268
|
-
subtitle && /* @__PURE__ */ jsx("p", { className:
|
|
8404
|
+
subtitle && /* @__PURE__ */ jsx("p", { className: __default73.subtitle, children: subtitle })
|
|
8269
8405
|
] });
|
|
8270
8406
|
}
|
|
8271
8407
|
|
|
@@ -8341,7 +8477,7 @@ __styleInject(`.ArticleFigure-module_root {
|
|
|
8341
8477
|
line-height: 1.25rem;
|
|
8342
8478
|
color: var(--fg-muted);
|
|
8343
8479
|
}`);
|
|
8344
|
-
var
|
|
8480
|
+
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" };
|
|
8345
8481
|
function ArticleFigure({
|
|
8346
8482
|
src,
|
|
8347
8483
|
alt = "",
|
|
@@ -8351,35 +8487,35 @@ function ArticleFigure({
|
|
|
8351
8487
|
children,
|
|
8352
8488
|
className = ""
|
|
8353
8489
|
}) {
|
|
8354
|
-
return /* @__PURE__ */ jsxs("figure", { className: `${
|
|
8490
|
+
return /* @__PURE__ */ jsxs("figure", { className: `${__default74.root}${className ? ` ${className}` : ""}`, children: [
|
|
8355
8491
|
/* @__PURE__ */ jsx(
|
|
8356
8492
|
"div",
|
|
8357
8493
|
{
|
|
8358
|
-
className:
|
|
8494
|
+
className: __default74.imageWrapper,
|
|
8359
8495
|
style: { minHeight: height },
|
|
8360
8496
|
children: src ? (
|
|
8361
8497
|
// eslint-disable-next-line @next/next/no-img-element
|
|
8362
|
-
/* @__PURE__ */ jsx("img", { src, alt, className:
|
|
8363
|
-
) : children ? /* @__PURE__ */ jsx("div", { className:
|
|
8498
|
+
/* @__PURE__ */ jsx("img", { src, alt, className: __default74.image })
|
|
8499
|
+
) : children ? /* @__PURE__ */ jsx("div", { className: __default74.childWrapper, children }) : /* @__PURE__ */ jsxs("div", { className: __default74.placeholder, children: [
|
|
8364
8500
|
/* @__PURE__ */ jsxs("svg", { width: "48", height: "48", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", children: [
|
|
8365
8501
|
/* @__PURE__ */ jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
8366
8502
|
/* @__PURE__ */ jsx("path", { d: "M3 16l5-5 4 4 4-6 5 7" })
|
|
8367
8503
|
] }),
|
|
8368
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
8504
|
+
/* @__PURE__ */ jsx("span", { className: __default74.placeholderText, children: "Figure placeholder" })
|
|
8369
8505
|
] })
|
|
8370
8506
|
}
|
|
8371
8507
|
),
|
|
8372
|
-
legend && legend.length > 0 && /* @__PURE__ */ jsx("div", { className:
|
|
8508
|
+
legend && legend.length > 0 && /* @__PURE__ */ jsx("div", { className: __default74.legend, children: legend.map((item) => /* @__PURE__ */ jsxs("div", { className: __default74.legendItem, children: [
|
|
8373
8509
|
/* @__PURE__ */ jsx(
|
|
8374
8510
|
"span",
|
|
8375
8511
|
{
|
|
8376
|
-
className:
|
|
8512
|
+
className: __default74.legendSwatch,
|
|
8377
8513
|
style: { backgroundColor: item.color }
|
|
8378
8514
|
}
|
|
8379
8515
|
),
|
|
8380
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
8516
|
+
/* @__PURE__ */ jsx("span", { className: __default74.legendLabel, children: item.label })
|
|
8381
8517
|
] }, item.label)) }),
|
|
8382
|
-
caption && /* @__PURE__ */ jsx("figcaption", { className:
|
|
8518
|
+
caption && /* @__PURE__ */ jsx("figcaption", { className: __default74.caption, children: caption })
|
|
8383
8519
|
] });
|
|
8384
8520
|
}
|
|
8385
8521
|
|
|
@@ -8472,7 +8608,7 @@ __styleInject(`.ArticleTable-module_root {
|
|
|
8472
8608
|
.ArticleTable-module_showMore:hover {
|
|
8473
8609
|
color: var(--fg);
|
|
8474
8610
|
}`);
|
|
8475
|
-
var
|
|
8611
|
+
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" };
|
|
8476
8612
|
function ArticleTable({
|
|
8477
8613
|
columns,
|
|
8478
8614
|
rows,
|
|
@@ -8484,19 +8620,19 @@ function ArticleTable({
|
|
|
8484
8620
|
const limit = initialVisible != null ? initialVisible : rows.length;
|
|
8485
8621
|
const visibleRows = expanded ? rows : rows.slice(0, limit);
|
|
8486
8622
|
const hiddenCount = rows.length - limit;
|
|
8487
|
-
return /* @__PURE__ */ jsxs("div", { className: `${
|
|
8488
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
8489
|
-
showRank && /* @__PURE__ */ jsx("div", { className:
|
|
8490
|
-
columns.map((col) => /* @__PURE__ */ jsx("div", { className:
|
|
8623
|
+
return /* @__PURE__ */ jsxs("div", { className: `${__default75.root}${className ? ` ${className}` : ""}`, children: [
|
|
8624
|
+
/* @__PURE__ */ jsxs("div", { className: __default75.headerRow, children: [
|
|
8625
|
+
showRank && /* @__PURE__ */ jsx("div", { className: __default75.rankCell }),
|
|
8626
|
+
columns.map((col) => /* @__PURE__ */ jsx("div", { className: __default75.headerCell, children: /* @__PURE__ */ jsx("span", { className: __default75.headerLabel, children: col.label }) }, col.key))
|
|
8491
8627
|
] }),
|
|
8492
|
-
/* @__PURE__ */ jsx("div", { children: visibleRows.map((row, i) => /* @__PURE__ */ jsxs("div", { className:
|
|
8493
|
-
showRank && /* @__PURE__ */ jsx("div", { className:
|
|
8628
|
+
/* @__PURE__ */ jsx("div", { children: visibleRows.map((row, i) => /* @__PURE__ */ jsxs("div", { className: __default75.row, children: [
|
|
8629
|
+
showRank && /* @__PURE__ */ jsx("div", { className: __default75.rankValue, children: /* @__PURE__ */ jsx("span", { children: i + 1 }) }),
|
|
8494
8630
|
columns.map((col) => {
|
|
8495
8631
|
const value = row[col.key];
|
|
8496
8632
|
const hasBadge = row._badge && row._badgeColumn === col.key;
|
|
8497
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
8498
|
-
col.render ? col.render(value, row) : /* @__PURE__ */ jsx("span", { className:
|
|
8499
|
-
hasBadge && /* @__PURE__ */ jsx("span", { className:
|
|
8633
|
+
return /* @__PURE__ */ jsxs("div", { className: __default75.cell, children: [
|
|
8634
|
+
col.render ? col.render(value, row) : /* @__PURE__ */ jsx("span", { className: __default75.cellText, children: String(value != null ? value : "") }),
|
|
8635
|
+
hasBadge && /* @__PURE__ */ jsx("span", { className: __default75.badge, children: row._badge })
|
|
8500
8636
|
] }, col.key);
|
|
8501
8637
|
})
|
|
8502
8638
|
] }, i)) }),
|
|
@@ -8504,7 +8640,7 @@ function ArticleTable({
|
|
|
8504
8640
|
"button",
|
|
8505
8641
|
{
|
|
8506
8642
|
onClick: () => setExpanded(true),
|
|
8507
|
-
className:
|
|
8643
|
+
className: __default75.showMore,
|
|
8508
8644
|
children: [
|
|
8509
8645
|
"Show ",
|
|
8510
8646
|
hiddenCount,
|
|
@@ -8537,19 +8673,19 @@ __styleInject(`.ArticleList-module_root {
|
|
|
8537
8673
|
.ArticleList-module_item {
|
|
8538
8674
|
padding-left: 0.25rem;
|
|
8539
8675
|
}`);
|
|
8540
|
-
var
|
|
8676
|
+
var __default76 = { "root": "ArticleList-module_root", "ordered": "ArticleList-module_ordered", "unordered": "ArticleList-module_unordered", "item": "ArticleList-module_item" };
|
|
8541
8677
|
function ArticleList({
|
|
8542
8678
|
variant = "unordered",
|
|
8543
8679
|
items,
|
|
8544
8680
|
className = ""
|
|
8545
8681
|
}) {
|
|
8546
8682
|
const Tag2 = variant === "ordered" ? "ol" : "ul";
|
|
8547
|
-
const variantClass = variant === "ordered" ?
|
|
8683
|
+
const variantClass = variant === "ordered" ? __default76.ordered : __default76.unordered;
|
|
8548
8684
|
return /* @__PURE__ */ jsx(
|
|
8549
8685
|
Tag2,
|
|
8550
8686
|
{
|
|
8551
|
-
className: `${
|
|
8552
|
-
children: items.map((item, i) => /* @__PURE__ */ jsx("li", { className:
|
|
8687
|
+
className: `${__default76.root} ${variantClass}${className ? ` ${className}` : ""}`,
|
|
8688
|
+
children: items.map((item, i) => /* @__PURE__ */ jsx("li", { className: __default76.item, children: item }, i))
|
|
8553
8689
|
}
|
|
8554
8690
|
);
|
|
8555
8691
|
}
|
|
@@ -8561,9 +8697,9 @@ __styleInject(`.ArticleNote-module_root {
|
|
|
8561
8697
|
color: var(--fg-secondary);
|
|
8562
8698
|
font-style: italic;
|
|
8563
8699
|
}`);
|
|
8564
|
-
var
|
|
8700
|
+
var __default77 = { "root": "ArticleNote-module_root" };
|
|
8565
8701
|
function ArticleNote({ children, className = "" }) {
|
|
8566
|
-
return /* @__PURE__ */ jsx("p", { className: `${
|
|
8702
|
+
return /* @__PURE__ */ jsx("p", { className: `${__default77.root}${className ? ` ${className}` : ""}`, children });
|
|
8567
8703
|
}
|
|
8568
8704
|
|
|
8569
8705
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/templates/ArticleChatBlock.module.scss
|
|
@@ -8676,11 +8812,11 @@ __styleInject(`.ArticleChatBlock-module_root {
|
|
|
8676
8812
|
.ArticleChatBlock-module_showMoreBtn:hover {
|
|
8677
8813
|
color: var(--fg);
|
|
8678
8814
|
}`);
|
|
8679
|
-
var
|
|
8815
|
+
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" };
|
|
8680
8816
|
var roleConfig = {
|
|
8681
|
-
assistant: { cls:
|
|
8682
|
-
system: { cls:
|
|
8683
|
-
user: { cls:
|
|
8817
|
+
assistant: { cls: __default78.assistant, gradient: "var(--bg-secondary)" },
|
|
8818
|
+
system: { cls: __default78.system, gradient: "var(--bg-tertiary)" },
|
|
8819
|
+
user: { cls: __default78.user, gradient: "var(--bg-secondary)" }
|
|
8684
8820
|
};
|
|
8685
8821
|
function ArticleChatBlock({
|
|
8686
8822
|
role,
|
|
@@ -8694,40 +8830,40 @@ function ArticleChatBlock({
|
|
|
8694
8830
|
var _a;
|
|
8695
8831
|
const [expanded, setExpanded] = useState(false);
|
|
8696
8832
|
const config = (_a = roleConfig[role]) != null ? _a : roleConfig.assistant;
|
|
8697
|
-
return /* @__PURE__ */ jsxs("div", { className: `${
|
|
8698
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
8833
|
+
return /* @__PURE__ */ jsxs("div", { className: `${__default78.root} ${config.cls}${className ? ` ${className}` : ""}`, children: [
|
|
8834
|
+
/* @__PURE__ */ jsx("div", { className: __default78.header, children: /* @__PURE__ */ jsxs("span", { className: __default78.roleLabel, children: [
|
|
8699
8835
|
role,
|
|
8700
8836
|
model && ` \u2022 ${model}`
|
|
8701
8837
|
] }) }),
|
|
8702
|
-
toolCall && /* @__PURE__ */ jsx("div", { className:
|
|
8703
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
8704
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
8838
|
+
toolCall && /* @__PURE__ */ jsx("div", { className: __default78.toolBadge, children: /* @__PURE__ */ jsxs("div", { className: __default78.toolBadgeInner, children: [
|
|
8839
|
+
/* @__PURE__ */ jsx("span", { className: __default78.toolDot }),
|
|
8840
|
+
/* @__PURE__ */ jsx("span", { className: __default78.toolLabel, children: toolCall })
|
|
8705
8841
|
] }) }),
|
|
8706
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
8707
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
8842
|
+
/* @__PURE__ */ jsx("div", { className: __default78.divider }),
|
|
8843
|
+
/* @__PURE__ */ jsxs("div", { className: __default78.contentWrapper, children: [
|
|
8708
8844
|
/* @__PURE__ */ jsx(
|
|
8709
8845
|
"div",
|
|
8710
8846
|
{
|
|
8711
|
-
className:
|
|
8847
|
+
className: __default78.content,
|
|
8712
8848
|
style: collapsible && !expanded ? { maxHeight: collapsedHeight, overflow: "hidden" } : void 0,
|
|
8713
8849
|
children
|
|
8714
8850
|
}
|
|
8715
8851
|
),
|
|
8716
|
-
collapsible && !expanded && /* @__PURE__ */ jsxs("div", { className:
|
|
8852
|
+
collapsible && !expanded && /* @__PURE__ */ jsxs("div", { className: __default78.fadeOverlay, children: [
|
|
8717
8853
|
/* @__PURE__ */ jsx(
|
|
8718
8854
|
"div",
|
|
8719
8855
|
{
|
|
8720
|
-
className:
|
|
8856
|
+
className: __default78.fadeGradient,
|
|
8721
8857
|
style: {
|
|
8722
8858
|
background: `linear-gradient(to top, ${config.gradient}, transparent)`
|
|
8723
8859
|
}
|
|
8724
8860
|
}
|
|
8725
8861
|
),
|
|
8726
|
-
/* @__PURE__ */ jsx("div", { className: `${
|
|
8862
|
+
/* @__PURE__ */ jsx("div", { className: `${__default78.showMoreBar} ${config.cls}`, children: /* @__PURE__ */ jsx(
|
|
8727
8863
|
"button",
|
|
8728
8864
|
{
|
|
8729
8865
|
onClick: () => setExpanded(true),
|
|
8730
|
-
className:
|
|
8866
|
+
className: __default78.showMoreBtn,
|
|
8731
8867
|
children: "Show more"
|
|
8732
8868
|
}
|
|
8733
8869
|
) })
|
|
@@ -8759,14 +8895,14 @@ __styleInject(`.ArticleLinkButton-module_root {
|
|
|
8759
8895
|
.ArticleLinkButton-module_root:active {
|
|
8760
8896
|
opacity: 0.8;
|
|
8761
8897
|
}`);
|
|
8762
|
-
var
|
|
8898
|
+
var __default79 = { "root": "ArticleLinkButton-module_root" };
|
|
8763
8899
|
function ArticleLinkButton({
|
|
8764
8900
|
children,
|
|
8765
8901
|
href,
|
|
8766
8902
|
onClick,
|
|
8767
8903
|
className = ""
|
|
8768
8904
|
}) {
|
|
8769
|
-
const cls = `${
|
|
8905
|
+
const cls = `${__default79.root}${className ? ` ${className}` : ""}`;
|
|
8770
8906
|
if (href) {
|
|
8771
8907
|
return /* @__PURE__ */ jsx("a", { href, className: cls, children });
|
|
8772
8908
|
}
|
|
@@ -8803,18 +8939,18 @@ __styleInject(`.ArticleFooter-module_root {
|
|
|
8803
8939
|
line-height: 1.25rem;
|
|
8804
8940
|
color: var(--fg-muted);
|
|
8805
8941
|
}`);
|
|
8806
|
-
var
|
|
8942
|
+
var __default80 = { "root": "ArticleFooter-module_root", "topBar": "ArticleFooter-module_topBar", "logo": "ArticleFooter-module_logo", "divider": "ArticleFooter-module_divider", "copyright": "ArticleFooter-module_copyright" };
|
|
8807
8943
|
function ArticleFooter({
|
|
8808
8944
|
logo,
|
|
8809
8945
|
copyright = `\xA9 ${(/* @__PURE__ */ new Date()).getFullYear()} All rights reserved.`,
|
|
8810
8946
|
className = ""
|
|
8811
8947
|
}) {
|
|
8812
|
-
return /* @__PURE__ */ jsxs("footer", { className: `${
|
|
8813
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
8814
|
-
logo && /* @__PURE__ */ jsx("div", { className:
|
|
8815
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
8948
|
+
return /* @__PURE__ */ jsxs("footer", { className: `${__default80.root}${className ? ` ${className}` : ""}`, children: [
|
|
8949
|
+
/* @__PURE__ */ jsxs("div", { className: __default80.topBar, children: [
|
|
8950
|
+
logo && /* @__PURE__ */ jsx("div", { className: __default80.logo, children: logo }),
|
|
8951
|
+
/* @__PURE__ */ jsx("div", { className: __default80.divider })
|
|
8816
8952
|
] }),
|
|
8817
|
-
/* @__PURE__ */ jsx("p", { className:
|
|
8953
|
+
/* @__PURE__ */ jsx("p", { className: __default80.copyright, children: copyright })
|
|
8818
8954
|
] });
|
|
8819
8955
|
}
|
|
8820
8956
|
|
|
@@ -8837,15 +8973,15 @@ __styleInject(`.ArticleLayout-module_root {
|
|
|
8837
8973
|
width: 100%;
|
|
8838
8974
|
max-width: 720px;
|
|
8839
8975
|
}`);
|
|
8840
|
-
var
|
|
8976
|
+
var __default81 = { "root": "ArticleLayout-module_root", "wide": "ArticleLayout-module_wide", "narrow": "ArticleLayout-module_narrow" };
|
|
8841
8977
|
function ArticleLayout({ children, className = "" }) {
|
|
8842
|
-
return /* @__PURE__ */ jsx("article", { className: `${
|
|
8978
|
+
return /* @__PURE__ */ jsx("article", { className: `${__default81.root}${className ? ` ${className}` : ""}`, children });
|
|
8843
8979
|
}
|
|
8844
8980
|
function ArticleWide({ children, className = "" }) {
|
|
8845
|
-
return /* @__PURE__ */ jsx("div", { className: `${
|
|
8981
|
+
return /* @__PURE__ */ jsx("div", { className: `${__default81.wide}${className ? ` ${className}` : ""}`, children });
|
|
8846
8982
|
}
|
|
8847
8983
|
function ArticleNarrow({ children, className = "" }) {
|
|
8848
|
-
return /* @__PURE__ */ jsx("div", { className: `${
|
|
8984
|
+
return /* @__PURE__ */ jsx("div", { className: `${__default81.narrow}${className ? ` ${className}` : ""}`, children });
|
|
8849
8985
|
}
|
|
8850
8986
|
|
|
8851
8987
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/templates/ArticleChart.module.scss
|
|
@@ -8932,7 +9068,7 @@ __styleInject(`.ArticleChart-module_figure {
|
|
|
8932
9068
|
line-height: 1rem;
|
|
8933
9069
|
color: var(--fg-secondary);
|
|
8934
9070
|
}`);
|
|
8935
|
-
var
|
|
9071
|
+
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" };
|
|
8936
9072
|
function ChartTooltip({
|
|
8937
9073
|
active,
|
|
8938
9074
|
payload,
|
|
@@ -8943,15 +9079,15 @@ function ChartTooltip({
|
|
|
8943
9079
|
}) {
|
|
8944
9080
|
if (!active || !(payload == null ? void 0 : payload.length)) return null;
|
|
8945
9081
|
const fmt = valueFormatter != null ? valueFormatter : ((v) => String(v));
|
|
8946
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
8947
|
-
label !== void 0 && /* @__PURE__ */ jsxs("p", { className:
|
|
9082
|
+
return /* @__PURE__ */ jsxs("div", { className: __default82.tooltip, children: [
|
|
9083
|
+
label !== void 0 && /* @__PURE__ */ jsxs("p", { className: __default82.tooltipLabel, children: [
|
|
8948
9084
|
xLabel ? `${xLabel}: ` : "",
|
|
8949
9085
|
label
|
|
8950
9086
|
] }),
|
|
8951
|
-
payload.map((entry, i) => /* @__PURE__ */ jsxs("div", { className:
|
|
8952
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
8953
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
8954
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
9087
|
+
payload.map((entry, i) => /* @__PURE__ */ jsxs("div", { className: __default82.tooltipRow, children: [
|
|
9088
|
+
/* @__PURE__ */ jsx("span", { className: __default82.tooltipDot, style: { backgroundColor: entry.color } }),
|
|
9089
|
+
/* @__PURE__ */ jsx("span", { className: __default82.tooltipName, children: entry.name }),
|
|
9090
|
+
/* @__PURE__ */ jsx("span", { className: __default82.tooltipValue, children: yLabel ? `${fmt(entry.value)} ` : fmt(entry.value) })
|
|
8955
9091
|
] }, i))
|
|
8956
9092
|
] });
|
|
8957
9093
|
}
|
|
@@ -8965,8 +9101,8 @@ function ArticleLineChart({
|
|
|
8965
9101
|
valueFormatter,
|
|
8966
9102
|
className = ""
|
|
8967
9103
|
}) {
|
|
8968
|
-
return /* @__PURE__ */ jsxs("figure", { className: `${
|
|
8969
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
9104
|
+
return /* @__PURE__ */ jsxs("figure", { className: `${__default82.figure}${className ? ` ${className}` : ""}`, children: [
|
|
9105
|
+
/* @__PURE__ */ jsx("div", { className: __default82.chartWrapper, style: { height }, children: /* @__PURE__ */ jsx(ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxs(LineChart, { data, margin: { top: 8, right: 16, bottom: 4, left: 8 }, children: [
|
|
8970
9106
|
/* @__PURE__ */ jsx(CartesianGrid, { strokeDasharray: "3 3", stroke: "var(--border-color)" }),
|
|
8971
9107
|
/* @__PURE__ */ jsx(
|
|
8972
9108
|
XAxis,
|
|
@@ -9016,9 +9152,9 @@ function ArticleLineChart({
|
|
|
9016
9152
|
s.dataKey
|
|
9017
9153
|
))
|
|
9018
9154
|
] }) }) }),
|
|
9019
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
9020
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
9021
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
9155
|
+
/* @__PURE__ */ jsx("div", { className: __default82.legend, children: series.map((s) => /* @__PURE__ */ jsxs("div", { className: __default82.legendItem, children: [
|
|
9156
|
+
/* @__PURE__ */ jsx("span", { className: __default82.legendSwatch, style: { backgroundColor: s.color } }),
|
|
9157
|
+
/* @__PURE__ */ jsx("span", { className: __default82.legendLabel, children: s.name })
|
|
9022
9158
|
] }, s.dataKey)) })
|
|
9023
9159
|
] });
|
|
9024
9160
|
}
|
|
@@ -9033,8 +9169,8 @@ function ArticleBarChart({
|
|
|
9033
9169
|
valueFormatter,
|
|
9034
9170
|
className = ""
|
|
9035
9171
|
}) {
|
|
9036
|
-
return /* @__PURE__ */ jsxs("figure", { className: `${
|
|
9037
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
9172
|
+
return /* @__PURE__ */ jsxs("figure", { className: `${__default82.figure}${className ? ` ${className}` : ""}`, children: [
|
|
9173
|
+
/* @__PURE__ */ jsx("div", { className: __default82.chartWrapper, style: { height }, children: /* @__PURE__ */ jsx(ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxs(BarChart, { data, margin: { top: 8, right: 16, bottom: 4, left: 8 }, children: [
|
|
9038
9174
|
/* @__PURE__ */ jsx(CartesianGrid, { strokeDasharray: "3 3", stroke: "var(--border-color)", vertical: false }),
|
|
9039
9175
|
/* @__PURE__ */ jsx(
|
|
9040
9176
|
XAxis,
|
|
@@ -9082,9 +9218,9 @@ function ArticleBarChart({
|
|
|
9082
9218
|
s.dataKey
|
|
9083
9219
|
))
|
|
9084
9220
|
] }) }) }),
|
|
9085
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
9086
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
9087
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
9221
|
+
/* @__PURE__ */ jsx("div", { className: __default82.legend, children: series.map((s) => /* @__PURE__ */ jsxs("div", { className: __default82.legendItem, children: [
|
|
9222
|
+
/* @__PURE__ */ jsx("span", { className: __default82.legendSwatch, style: { backgroundColor: s.color } }),
|
|
9223
|
+
/* @__PURE__ */ jsx("span", { className: __default82.legendLabel, children: s.name })
|
|
9088
9224
|
] }, s.dataKey)) })
|
|
9089
9225
|
] });
|
|
9090
9226
|
}
|
|
@@ -9102,7 +9238,7 @@ function ArticleScatterChart({
|
|
|
9102
9238
|
var _a;
|
|
9103
9239
|
return (_a = d.color) != null ? _a : color;
|
|
9104
9240
|
});
|
|
9105
|
-
return /* @__PURE__ */ jsx("figure", { className: `${
|
|
9241
|
+
return /* @__PURE__ */ jsx("figure", { className: `${__default82.figure}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsx("div", { className: __default82.chartWrapper, style: { height }, children: /* @__PURE__ */ jsx(ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxs(ScatterChart, { margin: { top: 8, right: 16, bottom: 4, left: 8 }, children: [
|
|
9106
9242
|
/* @__PURE__ */ jsx(CartesianGrid, { strokeDasharray: "3 3", stroke: "var(--border-color)" }),
|
|
9107
9243
|
/* @__PURE__ */ jsx(
|
|
9108
9244
|
XAxis,
|
|
@@ -9138,14 +9274,14 @@ function ArticleScatterChart({
|
|
|
9138
9274
|
if (!active || !(payload == null ? void 0 : payload.length)) return null;
|
|
9139
9275
|
const point = (_a = payload[0]) == null ? void 0 : _a.payload;
|
|
9140
9276
|
const fmt = valueFormatter != null ? valueFormatter : ((v) => String(v));
|
|
9141
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
9142
|
-
point.label && /* @__PURE__ */ jsx("p", { className:
|
|
9143
|
-
xLabel && /* @__PURE__ */ jsxs("p", { className:
|
|
9277
|
+
return /* @__PURE__ */ jsxs("div", { className: __default82.tooltip, children: [
|
|
9278
|
+
point.label && /* @__PURE__ */ jsx("p", { className: __default82.scatterTooltipLabel, children: point.label }),
|
|
9279
|
+
xLabel && /* @__PURE__ */ jsxs("p", { className: __default82.scatterTooltipRow, children: [
|
|
9144
9280
|
xLabel,
|
|
9145
9281
|
": ",
|
|
9146
9282
|
fmt(point.x)
|
|
9147
9283
|
] }),
|
|
9148
|
-
yLabel && /* @__PURE__ */ jsxs("p", { className:
|
|
9284
|
+
yLabel && /* @__PURE__ */ jsxs("p", { className: __default82.scatterTooltipRow, children: [
|
|
9149
9285
|
yLabel,
|
|
9150
9286
|
": ",
|
|
9151
9287
|
fmt(point.y)
|
|
@@ -9222,7 +9358,7 @@ __styleInject(`.LandingLayout-module_headerMode {
|
|
|
9222
9358
|
padding-right: 4rem;
|
|
9223
9359
|
}
|
|
9224
9360
|
}`);
|
|
9225
|
-
var
|
|
9361
|
+
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" };
|
|
9226
9362
|
function LandingLayout({
|
|
9227
9363
|
mode = "header",
|
|
9228
9364
|
nav,
|
|
@@ -9231,19 +9367,19 @@ function LandingLayout({
|
|
|
9231
9367
|
className = ""
|
|
9232
9368
|
}) {
|
|
9233
9369
|
if (mode === "sidebar") {
|
|
9234
|
-
return /* @__PURE__ */ jsxs("div", { className: `${
|
|
9235
|
-
nav && /* @__PURE__ */ jsx("div", { className:
|
|
9236
|
-
/* @__PURE__ */ jsxs("main", { className:
|
|
9237
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
9370
|
+
return /* @__PURE__ */ jsxs("div", { className: `${__default83.sidebarMode}${className ? ` ${className}` : ""}`, children: [
|
|
9371
|
+
nav && /* @__PURE__ */ jsx("div", { className: __default83.sidebarNav, children: nav }),
|
|
9372
|
+
/* @__PURE__ */ jsxs("main", { className: __default83.sidebarMain, children: [
|
|
9373
|
+
/* @__PURE__ */ jsx("div", { className: __default83.sidebarContent, children }),
|
|
9238
9374
|
footer
|
|
9239
9375
|
] })
|
|
9240
9376
|
] });
|
|
9241
9377
|
}
|
|
9242
|
-
return /* @__PURE__ */ jsxs("div", { className: `${
|
|
9378
|
+
return /* @__PURE__ */ jsxs("div", { className: `${__default83.headerMode}${className ? ` ${className}` : ""}`, children: [
|
|
9243
9379
|
nav,
|
|
9244
|
-
/* @__PURE__ */ jsx("main", { className:
|
|
9380
|
+
/* @__PURE__ */ jsx("main", { className: __default83.headerMain, children }),
|
|
9245
9381
|
footer
|
|
9246
9382
|
] });
|
|
9247
9383
|
}
|
|
9248
9384
|
|
|
9249
|
-
export { Alert, AppCard, AppTopLine, ArticleBarChart, ArticleBody, ArticleChatBlock, ArticleFigure, ArticleFooter, ArticleHeading, ArticleHero, ArticleLayout, ArticleLineChart, ArticleLinkButton, ArticleList, ArticleNarrow, ArticleNote, ArticleScatterChart, ArticleTable, ArticleWide, Avatar, Badge, BentoGrid, BottomSheet, Breadcrumbs, Button, CTASection, Card, ChatInput, ChatMessage, Checkbox, CodeInput, ComparisonTable, Divider, DropdownMenu, EmptyState, FAQSection, FeatureGrid, Footer, FormField, Gallery, Header, HeroSection, IconBadge, IconButton, IconWithText, IconlyActivity, IconlyAttach, IconlyBook, IconlyCategory, IconlyCheck, IconlyChevronDown, IconlyChevronLeft, IconlyChevronRight, IconlyClock, IconlyClose, IconlyError, IconlyEye, IconlyEyeOff, IconlyFolder, IconlyHeart, IconlyInfo, IconlyInfoCircle, IconlyLink, IconlyLock, IconlyMail, IconlyMenu, IconlyMoon, IconlyQuote, IconlyRoadmap, IconlySandbox, IconlySearch, IconlySend, IconlySetting, IconlyShield, IconlySmile, IconlyStar, IconlySuccess, IconlySun, IconlyWarning, Input, LandingLayout, Logo, LogoCloud, MenuItem, Modal, Pagination, PasswordInput, PricingCard, ProfileNav, PromoActionCards, PromoBento, PromoDevicesCTA, PromoHero, PromoHeroForm, PromoPricing, PromoShowcase, PromoSplit, PromoTestimonials, PromoTrustGrid, Radio, SearchBar, SegmentedControl, Select, Sidebar, Skeleton, Spinner, StampCard, Stat, StatBadge, StatsBar, Link as StyledLink, Tabs, Tag, TestimonialCard, Textarea, TicketButton, Toast, Toggle, Tooltip, TopPromo };
|
|
9385
|
+
export { Alert, AppCard, AppTopLine, ArticleBarChart, ArticleBody, ArticleChatBlock, ArticleFigure, ArticleFooter, ArticleHeading, ArticleHero, ArticleLayout, ArticleLineChart, ArticleLinkButton, ArticleList, ArticleNarrow, ArticleNote, ArticleScatterChart, ArticleTable, ArticleWide, Avatar, Badge, BentoGrid, BottomSheet, Breadcrumbs, Button, CTASection, Card, ChatInput, ChatMessage, Checkbox, CodeInput, ComparisonTable, Divider, DropdownMenu, EmptyState, FAQSection, FeatureGrid, Footer, FormField, Gallery, Header, HeroSection, IconBadge, IconButton, IconWithText, IconlyActivity, IconlyAttach, IconlyBook, IconlyCategory, IconlyCheck, IconlyChevronDown, IconlyChevronLeft, IconlyChevronRight, IconlyClock, IconlyClose, IconlyError, IconlyEye, IconlyEyeOff, IconlyFolder, IconlyHeart, IconlyInfo, IconlyInfoCircle, IconlyLink, IconlyLock, IconlyMail, IconlyMenu, IconlyMoon, IconlyQuote, IconlyRoadmap, IconlySandbox, IconlySearch, IconlySend, IconlySetting, IconlyShield, IconlySmile, IconlyStar, IconlySuccess, IconlySun, IconlyWarning, Input, LandingLayout, Logo, LogoCloud, MenuItem, Modal, Pagination, PasswordInput, PricingCard, ProfileNav, PromoActionCards, PromoBento, PromoDevicesCTA, PromoHero, PromoHeroForm, PromoPricing, PromoShowcase, PromoSplit, PromoTestimonials, PromoTrustGrid, Radio, SearchBar, SectionHeading, SegmentedControl, Select, Sidebar, Skeleton, Spinner, StampCard, Stat, StatBadge, StatsBar, Link as StyledLink, Tabs, Tag, TestimonialCard, Textarea, TicketButton, Toast, Toggle, Tooltip, TopPromo };
|