@dmitriikapustin/ui 0.3.7 → 0.4.0
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 +576 -242
- package/dist/index.d.cts +25 -1
- package/dist/index.d.ts +25 -1
- package/dist/index.js +579 -246
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5559,6 +5559,339 @@ function ComparisonTable({ columns, rows, className = "" }) {
|
|
|
5559
5559
|
] }) }) });
|
|
5560
5560
|
}
|
|
5561
5561
|
|
|
5562
|
+
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/organisms/BottomSheet.module.scss
|
|
5563
|
+
__styleInject(`@charset "UTF-8";
|
|
5564
|
+
/* BottomSheet \u2014 sticky bar + sliding panel (mobile-first, opt-in \u0434\u043B\u044F desktop) */
|
|
5565
|
+
.BottomSheet-module_root {
|
|
5566
|
+
/* Container \u2014 context provider wrapper. \u041D\u0435 \u0432\u043B\u0438\u044F\u0435\u0442 \u043D\u0430 layout. */
|
|
5567
|
+
display: contents;
|
|
5568
|
+
}
|
|
5569
|
+
|
|
5570
|
+
/* \u2500\u2500\u2500 Trigger \u2500\u2500\u2500 */
|
|
5571
|
+
.BottomSheet-module_trigger {
|
|
5572
|
+
display: inline-flex;
|
|
5573
|
+
cursor: pointer;
|
|
5574
|
+
/* Trigger \u043F\u043E\u043B\u0443\u0447\u0430\u0435\u0442 focus \u043A\u0430\u043A \u043D\u0430\u0442\u0438\u0432\u043D\u0430\u044F \u0437\u043E\u043D\u0430 \u043A\u043B\u0438\u043A\u0430 \u2014 \u043D\u043E \u0444\u043E\u043A\u0443\u0441-\u0438\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440 \u0438\u0434\u0451\u0442 \u0447\u0435\u0440\u0435\u0437 children. */
|
|
5575
|
+
}
|
|
5576
|
+
.BottomSheet-module_trigger:focus, .BottomSheet-module_trigger:focus-visible {
|
|
5577
|
+
outline: none;
|
|
5578
|
+
}
|
|
5579
|
+
|
|
5580
|
+
/* \u2500\u2500\u2500 Bar (sticky bottom, \u0432\u0441\u0435\u0433\u0434\u0430 \u0432\u0438\u0434\u043D\u0430) \u2500\u2500\u2500 */
|
|
5581
|
+
.BottomSheet-module_bar {
|
|
5582
|
+
position: fixed;
|
|
5583
|
+
bottom: 0;
|
|
5584
|
+
left: 0;
|
|
5585
|
+
right: 0;
|
|
5586
|
+
z-index: 40;
|
|
5587
|
+
display: flex;
|
|
5588
|
+
flex-direction: column;
|
|
5589
|
+
gap: 16px;
|
|
5590
|
+
padding: 12px 16px 16px;
|
|
5591
|
+
padding-bottom: max(16px, env(safe-area-inset-bottom));
|
|
5592
|
+
background: var(--bg);
|
|
5593
|
+
border-top: 1px solid var(--border-color);
|
|
5594
|
+
border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
|
|
5595
|
+
box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
|
|
5596
|
+
}
|
|
5597
|
+
|
|
5598
|
+
/* Drag-handle \u0441\u0432\u0435\u0440\u0445\u0443 Bar \u2014 \u0438\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440 \xAB\u043C\u043E\u0436\u043D\u043E \u043F\u043E\u0442\u044F\u043D\u0443\u0442\u044C \u0432\u0432\u0435\u0440\u0445\xBB \u0432 closed-state. */
|
|
5599
|
+
.BottomSheet-module_barHandle {
|
|
5600
|
+
display: flex;
|
|
5601
|
+
justify-content: center;
|
|
5602
|
+
align-items: center;
|
|
5603
|
+
width: 100%;
|
|
5604
|
+
padding: 8px 0;
|
|
5605
|
+
border: none;
|
|
5606
|
+
background: transparent;
|
|
5607
|
+
cursor: grab;
|
|
5608
|
+
touch-action: none;
|
|
5609
|
+
user-select: none;
|
|
5610
|
+
-webkit-user-select: none;
|
|
5611
|
+
}
|
|
5612
|
+
.BottomSheet-module_barHandle:active {
|
|
5613
|
+
cursor: grabbing;
|
|
5614
|
+
}
|
|
5615
|
+
.BottomSheet-module_barHandle:hover .BottomSheet-module_handleBar, .BottomSheet-module_barHandle:focus-visible .BottomSheet-module_handleBar {
|
|
5616
|
+
background: var(--fg-secondary);
|
|
5617
|
+
width: 48px;
|
|
5618
|
+
}
|
|
5619
|
+
.BottomSheet-module_barHandle:focus, .BottomSheet-module_barHandle:focus-visible {
|
|
5620
|
+
outline: none;
|
|
5621
|
+
}
|
|
5622
|
+
|
|
5623
|
+
.BottomSheet-module_barActions {
|
|
5624
|
+
display: flex;
|
|
5625
|
+
align-items: stretch;
|
|
5626
|
+
gap: 12px;
|
|
5627
|
+
/* \u041A\u043D\u043E\u043F\u043A\u0438 \u0432\u043D\u0443\u0442\u0440\u0438 barActions \u0440\u0430\u0441\u0442\u044F\u0433\u0438\u0432\u0430\u044E\u0442\u0441\u044F \u0440\u0430\u0432\u043D\u044B\u043C\u0438 \u0434\u043E\u043B\u044F\u043C\u0438. */
|
|
5628
|
+
}
|
|
5629
|
+
.BottomSheet-module_barActions > * {
|
|
5630
|
+
flex: 1;
|
|
5631
|
+
min-width: 0;
|
|
5632
|
+
}
|
|
5633
|
+
|
|
5634
|
+
/* \u2500\u2500\u2500 Backdrop (\u0437\u0430\u0442\u0435\u043C\u043D\u0435\u043D\u0438\u0435 \u043F\u0440\u0438 open) \u2500\u2500\u2500 */
|
|
5635
|
+
.BottomSheet-module_backdrop {
|
|
5636
|
+
position: fixed;
|
|
5637
|
+
inset: 0;
|
|
5638
|
+
z-index: 49;
|
|
5639
|
+
background: rgba(0, 0, 0, 0.4);
|
|
5640
|
+
opacity: 0;
|
|
5641
|
+
pointer-events: none;
|
|
5642
|
+
transition: opacity 200ms ease-out;
|
|
5643
|
+
}
|
|
5644
|
+
|
|
5645
|
+
.BottomSheet-module_backdropOpen {
|
|
5646
|
+
opacity: 1;
|
|
5647
|
+
pointer-events: auto;
|
|
5648
|
+
}
|
|
5649
|
+
|
|
5650
|
+
/* \u2500\u2500\u2500 Panel (raise-from-bottom) \u2500\u2500\u2500 */
|
|
5651
|
+
.BottomSheet-module_panel {
|
|
5652
|
+
position: fixed;
|
|
5653
|
+
left: 0;
|
|
5654
|
+
right: 0;
|
|
5655
|
+
bottom: 0;
|
|
5656
|
+
z-index: 50;
|
|
5657
|
+
display: flex;
|
|
5658
|
+
flex-direction: column;
|
|
5659
|
+
max-height: 85vh;
|
|
5660
|
+
background: var(--bg);
|
|
5661
|
+
border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
|
|
5662
|
+
box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12), 0 -2px 4px rgba(0, 0, 0, 0.04);
|
|
5663
|
+
overflow-y: auto;
|
|
5664
|
+
/* overscroll-behavior \u0438\u0441\u043A\u043B\u044E\u0447\u0430\u0435\u0442 chain'\u0438\u043D\u0433 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u043D\u0430 body (\u0442\u0438\u043F\u0438\u0447\u043D\u043E \u0434\u043B\u044F bottom-sheet'\u043E\u0432). */
|
|
5665
|
+
overscroll-behavior: contain;
|
|
5666
|
+
/* touch-action: pan-y \u0447\u0442\u043E\u0431\u044B scrolling \u0432\u043D\u0443\u0442\u0440\u0438 panel \u0440\u0430\u0431\u043E\u0442\u0430\u043B, \u0430 pinch/zoom \u2014 \u043D\u0435\u0442. */
|
|
5667
|
+
touch-action: pan-y;
|
|
5668
|
+
transform: translateY(100%);
|
|
5669
|
+
transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
5670
|
+
padding: 0 20px 20px;
|
|
5671
|
+
padding-bottom: max(20px, env(safe-area-inset-bottom));
|
|
5672
|
+
}
|
|
5673
|
+
.BottomSheet-module_panel[aria-hidden=true] {
|
|
5674
|
+
pointer-events: none;
|
|
5675
|
+
}
|
|
5676
|
+
|
|
5677
|
+
.BottomSheet-module_panelOpen {
|
|
5678
|
+
transform: translateY(0);
|
|
5679
|
+
}
|
|
5680
|
+
|
|
5681
|
+
/* \u2500\u2500\u2500 Handle (drag indicator) \u2500\u2500\u2500 */
|
|
5682
|
+
.BottomSheet-module_handle {
|
|
5683
|
+
position: sticky;
|
|
5684
|
+
top: 0;
|
|
5685
|
+
display: flex;
|
|
5686
|
+
justify-content: center;
|
|
5687
|
+
align-items: center;
|
|
5688
|
+
width: 100%;
|
|
5689
|
+
padding: 14px 0 10px;
|
|
5690
|
+
border: none;
|
|
5691
|
+
background: var(--bg);
|
|
5692
|
+
cursor: grab;
|
|
5693
|
+
z-index: 1;
|
|
5694
|
+
/* touch-action: none \u2014 handle \u0437\u0430\u0445\u0432\u0430\u0442\u044B\u0432\u0430\u0435\u0442 \u0441\u0432\u0430\u0439\u043F \u0432\u043D\u0438\u0437 \u0434\u043B\u044F drag-to-close, \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D scroll'\u0438\u0442\u044C panel. */
|
|
5695
|
+
touch-action: none;
|
|
5696
|
+
user-select: none;
|
|
5697
|
+
-webkit-user-select: none;
|
|
5698
|
+
}
|
|
5699
|
+
.BottomSheet-module_handle:active {
|
|
5700
|
+
cursor: grabbing;
|
|
5701
|
+
}
|
|
5702
|
+
.BottomSheet-module_handle:hover .BottomSheet-module_handleBar, .BottomSheet-module_handle:focus-visible .BottomSheet-module_handleBar {
|
|
5703
|
+
background: var(--fg);
|
|
5704
|
+
width: 48px;
|
|
5705
|
+
}
|
|
5706
|
+
.BottomSheet-module_handle:focus, .BottomSheet-module_handle:focus-visible {
|
|
5707
|
+
outline: none;
|
|
5708
|
+
}
|
|
5709
|
+
|
|
5710
|
+
.BottomSheet-module_handleBar {
|
|
5711
|
+
display: block;
|
|
5712
|
+
width: 40px;
|
|
5713
|
+
height: 5px;
|
|
5714
|
+
border-radius: 9999px;
|
|
5715
|
+
background: var(--border-color-strong);
|
|
5716
|
+
transition: background var(--transition-fast), width var(--transition-fast);
|
|
5717
|
+
}`);
|
|
5718
|
+
var __default58 = { "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" };
|
|
5719
|
+
var BottomSheetContext = react.createContext(null);
|
|
5720
|
+
function useBottomSheet(part) {
|
|
5721
|
+
const ctx = react.useContext(BottomSheetContext);
|
|
5722
|
+
if (!ctx) {
|
|
5723
|
+
throw new Error(`<BottomSheet.${part}> must be used within <BottomSheet>`);
|
|
5724
|
+
}
|
|
5725
|
+
return ctx;
|
|
5726
|
+
}
|
|
5727
|
+
function BottomSheet({
|
|
5728
|
+
open: controlledOpen,
|
|
5729
|
+
onOpenChange,
|
|
5730
|
+
defaultOpen = false,
|
|
5731
|
+
swipeCloseThreshold = 80,
|
|
5732
|
+
children,
|
|
5733
|
+
className = ""
|
|
5734
|
+
}) {
|
|
5735
|
+
const [internalOpen, setInternalOpen] = react.useState(defaultOpen);
|
|
5736
|
+
const isControlled = controlledOpen !== void 0;
|
|
5737
|
+
const open = isControlled ? controlledOpen : internalOpen;
|
|
5738
|
+
const setOpen = react.useCallback(
|
|
5739
|
+
(next) => {
|
|
5740
|
+
if (!isControlled) setInternalOpen(next);
|
|
5741
|
+
onOpenChange == null ? void 0 : onOpenChange(next);
|
|
5742
|
+
},
|
|
5743
|
+
[isControlled, onOpenChange]
|
|
5744
|
+
);
|
|
5745
|
+
const [dragY, setDragY] = react.useState(0);
|
|
5746
|
+
const [isDragging, setIsDragging] = react.useState(false);
|
|
5747
|
+
const startYRef = react.useRef(0);
|
|
5748
|
+
const onDragStart = react.useCallback((clientY) => {
|
|
5749
|
+
startYRef.current = clientY;
|
|
5750
|
+
setIsDragging(true);
|
|
5751
|
+
}, []);
|
|
5752
|
+
const onDragMove = react.useCallback((clientY) => {
|
|
5753
|
+
setDragY(clientY - startYRef.current);
|
|
5754
|
+
}, []);
|
|
5755
|
+
const onDragEnd = react.useCallback(() => {
|
|
5756
|
+
setIsDragging(false);
|
|
5757
|
+
if (open && dragY > swipeCloseThreshold) {
|
|
5758
|
+
setOpen(false);
|
|
5759
|
+
} else if (!open && dragY < -swipeCloseThreshold) {
|
|
5760
|
+
setOpen(true);
|
|
5761
|
+
}
|
|
5762
|
+
setDragY(0);
|
|
5763
|
+
}, [dragY, swipeCloseThreshold, setOpen, open]);
|
|
5764
|
+
react.useEffect(() => {
|
|
5765
|
+
if (!open) {
|
|
5766
|
+
setDragY(0);
|
|
5767
|
+
setIsDragging(false);
|
|
5768
|
+
}
|
|
5769
|
+
}, [open]);
|
|
5770
|
+
react.useEffect(() => {
|
|
5771
|
+
if (!open) return;
|
|
5772
|
+
const handleKey = (e) => {
|
|
5773
|
+
if (e.key === "Escape") setOpen(false);
|
|
5774
|
+
};
|
|
5775
|
+
document.addEventListener("keydown", handleKey);
|
|
5776
|
+
return () => document.removeEventListener("keydown", handleKey);
|
|
5777
|
+
}, [open, setOpen]);
|
|
5778
|
+
react.useEffect(() => {
|
|
5779
|
+
if (!open) return;
|
|
5780
|
+
const prev = document.body.style.overflow;
|
|
5781
|
+
document.body.style.overflow = "hidden";
|
|
5782
|
+
return () => {
|
|
5783
|
+
document.body.style.overflow = prev;
|
|
5784
|
+
};
|
|
5785
|
+
}, [open]);
|
|
5786
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5787
|
+
BottomSheetContext.Provider,
|
|
5788
|
+
{
|
|
5789
|
+
value: { open, setOpen, dragY, isDragging, onDragStart, onDragMove, onDragEnd },
|
|
5790
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default58.root}${className ? ` ${className}` : ""}`, children })
|
|
5791
|
+
}
|
|
5792
|
+
);
|
|
5793
|
+
}
|
|
5794
|
+
function Bar({ children, className = "" }) {
|
|
5795
|
+
const { setOpen, onDragStart, onDragMove, onDragEnd } = useBottomSheet("Bar");
|
|
5796
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default58.bar}${className ? ` ${className}` : ""}`, children: [
|
|
5797
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5798
|
+
"button",
|
|
5799
|
+
{
|
|
5800
|
+
type: "button",
|
|
5801
|
+
onClick: () => setOpen(true),
|
|
5802
|
+
onTouchStart: (e) => onDragStart(e.touches[0].clientY),
|
|
5803
|
+
onTouchMove: (e) => onDragMove(e.touches[0].clientY),
|
|
5804
|
+
onTouchEnd: onDragEnd,
|
|
5805
|
+
onTouchCancel: onDragEnd,
|
|
5806
|
+
className: __default58.barHandle,
|
|
5807
|
+
"aria-label": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E",
|
|
5808
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default58.handleBar })
|
|
5809
|
+
}
|
|
5810
|
+
),
|
|
5811
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default58.barActions, children })
|
|
5812
|
+
] });
|
|
5813
|
+
}
|
|
5814
|
+
function Panel({ children, className = "" }) {
|
|
5815
|
+
const { open, dragY, isDragging, setOpen } = useBottomSheet("Panel");
|
|
5816
|
+
let transformStyle;
|
|
5817
|
+
if (isDragging) {
|
|
5818
|
+
if (open && dragY > 0) {
|
|
5819
|
+
transformStyle = { transform: `translateY(${dragY}px)`, transition: "none" };
|
|
5820
|
+
} else if (!open && dragY < 0) {
|
|
5821
|
+
transformStyle = {
|
|
5822
|
+
transform: `translateY(calc(100% + ${dragY}px))`,
|
|
5823
|
+
transition: "none"
|
|
5824
|
+
};
|
|
5825
|
+
}
|
|
5826
|
+
}
|
|
5827
|
+
const isDraggingOpen = isDragging && !open && dragY < 0;
|
|
5828
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5829
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5830
|
+
"div",
|
|
5831
|
+
{
|
|
5832
|
+
className: `${__default58.backdrop}${open || isDraggingOpen ? ` ${__default58.backdropOpen}` : ""}`,
|
|
5833
|
+
onClick: () => setOpen(false),
|
|
5834
|
+
"aria-hidden": "true"
|
|
5835
|
+
}
|
|
5836
|
+
),
|
|
5837
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5838
|
+
"div",
|
|
5839
|
+
{
|
|
5840
|
+
className: `${__default58.panel}${open ? ` ${__default58.panelOpen}` : ""}${className ? ` ${className}` : ""}`,
|
|
5841
|
+
role: "dialog",
|
|
5842
|
+
"aria-modal": open,
|
|
5843
|
+
"aria-hidden": !open && !isDraggingOpen,
|
|
5844
|
+
style: transformStyle,
|
|
5845
|
+
children
|
|
5846
|
+
}
|
|
5847
|
+
)
|
|
5848
|
+
] });
|
|
5849
|
+
}
|
|
5850
|
+
function Handle({ className = "" }) {
|
|
5851
|
+
const { open, setOpen, onDragStart, onDragMove, onDragEnd } = useBottomSheet("Handle");
|
|
5852
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5853
|
+
"button",
|
|
5854
|
+
{
|
|
5855
|
+
type: "button",
|
|
5856
|
+
onClick: () => setOpen(!open),
|
|
5857
|
+
onTouchStart: (e) => onDragStart(e.touches[0].clientY),
|
|
5858
|
+
onTouchMove: (e) => onDragMove(e.touches[0].clientY),
|
|
5859
|
+
onTouchEnd: onDragEnd,
|
|
5860
|
+
onTouchCancel: onDragEnd,
|
|
5861
|
+
onPointerDown: (e) => {
|
|
5862
|
+
if (e.pointerType === "mouse") return;
|
|
5863
|
+
onDragStart(e.clientY);
|
|
5864
|
+
},
|
|
5865
|
+
onPointerMove: (e) => {
|
|
5866
|
+
if (e.pointerType === "mouse") return;
|
|
5867
|
+
onDragMove(e.clientY);
|
|
5868
|
+
},
|
|
5869
|
+
onPointerUp: (e) => {
|
|
5870
|
+
if (e.pointerType === "mouse") return;
|
|
5871
|
+
onDragEnd();
|
|
5872
|
+
},
|
|
5873
|
+
className: `${__default58.handle}${className ? ` ${className}` : ""}`,
|
|
5874
|
+
"aria-label": open ? "\u0417\u0430\u043A\u0440\u044B\u0442\u044C" : "\u041E\u0442\u043A\u0440\u044B\u0442\u044C",
|
|
5875
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default58.handleBar })
|
|
5876
|
+
}
|
|
5877
|
+
);
|
|
5878
|
+
}
|
|
5879
|
+
function Trigger({ children, className = "" }) {
|
|
5880
|
+
const { open, setOpen } = useBottomSheet("Trigger");
|
|
5881
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5882
|
+
"div",
|
|
5883
|
+
{
|
|
5884
|
+
onClick: () => setOpen(!open),
|
|
5885
|
+
className: `${__default58.trigger}${className ? ` ${className}` : ""}`,
|
|
5886
|
+
children
|
|
5887
|
+
}
|
|
5888
|
+
);
|
|
5889
|
+
}
|
|
5890
|
+
BottomSheet.Bar = Bar;
|
|
5891
|
+
BottomSheet.Panel = Panel;
|
|
5892
|
+
BottomSheet.Handle = Handle;
|
|
5893
|
+
BottomSheet.Trigger = Trigger;
|
|
5894
|
+
|
|
5562
5895
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/organisms/PromoBento.module.scss
|
|
5563
5896
|
__styleInject(`.PromoBento-module_root {
|
|
5564
5897
|
padding: 4rem 0;
|
|
@@ -5718,21 +6051,21 @@ __styleInject(`.PromoBento-module_root {
|
|
|
5718
6051
|
.PromoBento-module_cardCta {
|
|
5719
6052
|
margin-top: 0.25rem;
|
|
5720
6053
|
}`);
|
|
5721
|
-
var
|
|
6054
|
+
var __default59 = { "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" };
|
|
5722
6055
|
function PromoBentoCard({ pill, title, description, cta, media, className = "" }) {
|
|
5723
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
5724
|
-
media && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5725
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5726
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6056
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default59.card}${className ? ` ${className}` : ""}`, children: [
|
|
6057
|
+
media && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default59.cardMedia, children: [
|
|
6058
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default59.cardMediaInner, children: media }),
|
|
6059
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default59.cardFade })
|
|
5727
6060
|
] }),
|
|
5728
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5729
|
-
pill && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5730
|
-
pill.icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
6061
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default59.cardContent, children: [
|
|
6062
|
+
pill && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default59.pill, children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: __default59.pillInner, children: [
|
|
6063
|
+
pill.icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default59.pillIcon, children: pill.icon }),
|
|
5731
6064
|
pill.label
|
|
5732
6065
|
] }) }),
|
|
5733
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
5734
|
-
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
5735
|
-
cta && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6066
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: __default59.cardTitle, children: title }),
|
|
6067
|
+
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default59.cardDesc, children: description }),
|
|
6068
|
+
cta && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default59.cardCta, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5736
6069
|
Button,
|
|
5737
6070
|
{
|
|
5738
6071
|
variant: "outline",
|
|
@@ -5745,12 +6078,12 @@ function PromoBentoCard({ pill, title, description, cta, media, className = "" }
|
|
|
5745
6078
|
] });
|
|
5746
6079
|
}
|
|
5747
6080
|
function PromoBento({ heading, subtitle, items, className = "" }) {
|
|
5748
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${
|
|
5749
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5750
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
5751
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
6081
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${__default59.root}${className ? ` ${className}` : ""}`, children: [
|
|
6082
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default59.header, children: [
|
|
6083
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: __default59.heading, children: heading }),
|
|
6084
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default59.subtitle, children: subtitle })
|
|
5752
6085
|
] }),
|
|
5753
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6086
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default59.grid, children: items.map((item, i) => /* @__PURE__ */ jsxRuntime.jsx(PromoBentoCard, __spreadValues({}, item), i)) })
|
|
5754
6087
|
] });
|
|
5755
6088
|
}
|
|
5756
6089
|
|
|
@@ -5872,26 +6205,26 @@ __styleInject(`.PromoShowcase-module_root {
|
|
|
5872
6205
|
padding: 2.5rem;
|
|
5873
6206
|
}
|
|
5874
6207
|
}`);
|
|
5875
|
-
var
|
|
6208
|
+
var __default60 = { "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" };
|
|
5876
6209
|
function PromoShowcase({ heading, steps, className = "" }) {
|
|
5877
6210
|
const [activeIndex, setActiveIndex] = react.useState(0);
|
|
5878
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${
|
|
5879
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5880
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
5881
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6211
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${__default60.root}${className ? ` ${className}` : ""}`, children: [
|
|
6212
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default60.heading, children: /* @__PURE__ */ jsxRuntime.jsx("h2", { className: __default60.headingText, children: heading }) }),
|
|
6213
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default60.body, children: [
|
|
6214
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default60.stepper, children: steps.map((step, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
5882
6215
|
"button",
|
|
5883
6216
|
{
|
|
5884
6217
|
onClick: () => setActiveIndex(i),
|
|
5885
|
-
className: `${
|
|
6218
|
+
className: `${__default60.stepButton}${i === activeIndex ? ` ${__default60.stepButtonActive}` : ""}`,
|
|
5886
6219
|
children: step.label
|
|
5887
6220
|
},
|
|
5888
6221
|
i
|
|
5889
6222
|
)) }),
|
|
5890
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6223
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default60.contentArea, children: steps.map((step, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
5891
6224
|
"div",
|
|
5892
6225
|
{
|
|
5893
|
-
className: `${
|
|
5894
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6226
|
+
className: `${__default60.panel}${i === activeIndex ? ` ${__default60.panelActive}` : ""}`,
|
|
6227
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default60.panelInner, children: step.content })
|
|
5895
6228
|
},
|
|
5896
6229
|
i
|
|
5897
6230
|
)) })
|
|
@@ -6040,7 +6373,7 @@ __styleInject(`.PromoSplit-module_root {
|
|
|
6040
6373
|
align-items: center;
|
|
6041
6374
|
justify-content: center;
|
|
6042
6375
|
}`);
|
|
6043
|
-
var
|
|
6376
|
+
var __default61 = { "root": "PromoSplit-module_root", "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" };
|
|
6044
6377
|
function PromoSplit({
|
|
6045
6378
|
heading,
|
|
6046
6379
|
description,
|
|
@@ -6050,16 +6383,16 @@ function PromoSplit({
|
|
|
6050
6383
|
className = ""
|
|
6051
6384
|
}) {
|
|
6052
6385
|
const isLeft = mediaPosition === "left";
|
|
6053
|
-
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${
|
|
6054
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
6055
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
6056
|
-
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
6057
|
-
features && features.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6058
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
6059
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
6386
|
+
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${__default61.root}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: isLeft ? __default61.gridReversed : __default61.grid, children: [
|
|
6387
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default61.textColumn}${isLeft ? ` ${__default61.textColumnLtr}` : ""}`, children: [
|
|
6388
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: __default61.heading, children: heading }),
|
|
6389
|
+
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default61.description, children: description }),
|
|
6390
|
+
features && features.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default61.features, children: features.map((feature, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default61.feature, children: [
|
|
6391
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: __default61.featureTitle, children: feature.title }),
|
|
6392
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default61.featureDesc, children: feature.description })
|
|
6060
6393
|
] }, i)) })
|
|
6061
6394
|
] }),
|
|
6062
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
6395
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default61.mediaColumn}${isLeft ? ` ${__default61.mediaColumnLtr}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default61.mediaBox, children: media ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default61.mediaContent, children: media }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default61.mediaPlaceholder, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default61.placeholderCircle, children: /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", stroke: "var(--fg-muted)", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
6063
6396
|
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
6064
6397
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "8.5", cy: "8.5", r: "1.5" }),
|
|
6065
6398
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m21 15-5-5L5 21" })
|
|
@@ -6176,16 +6509,16 @@ __styleInject(`.PromoTrustGrid-module_root {
|
|
|
6176
6509
|
justify-content: center;
|
|
6177
6510
|
padding: 1.5rem;
|
|
6178
6511
|
}`);
|
|
6179
|
-
var
|
|
6512
|
+
var __default62 = { "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" };
|
|
6180
6513
|
function PromoTrustGrid({ heading, features, media, className = "" }) {
|
|
6181
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${
|
|
6182
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6183
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6184
|
-
feature.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6185
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
6186
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
6514
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${__default62.root}${className ? ` ${className}` : ""}`, children: [
|
|
6515
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default62.heading, children: /* @__PURE__ */ jsxRuntime.jsx("h2", { className: __default62.headingText, children: heading }) }),
|
|
6516
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default62.grid, children: features.map((feature, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default62.featureCard, children: [
|
|
6517
|
+
feature.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default62.featureIcon, children: feature.icon }),
|
|
6518
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: __default62.featureTitle, children: feature.title }),
|
|
6519
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default62.featureDescription, children: feature.description })
|
|
6187
6520
|
] }, i)) }),
|
|
6188
|
-
media && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6521
|
+
media && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default62.media, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default62.mediaInner, children: media }) })
|
|
6189
6522
|
] });
|
|
6190
6523
|
}
|
|
6191
6524
|
|
|
@@ -6372,29 +6705,29 @@ __styleInject(`@charset "UTF-8";
|
|
|
6372
6705
|
border-radius: clamp(8px, 1.5vw, 16px);
|
|
6373
6706
|
background: var(--bg-tertiary);
|
|
6374
6707
|
}`);
|
|
6375
|
-
var
|
|
6708
|
+
var __default63 = { "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" };
|
|
6376
6709
|
function PromoDevicesCTA({
|
|
6377
6710
|
heading,
|
|
6378
6711
|
description,
|
|
6379
6712
|
cta,
|
|
6380
6713
|
className = ""
|
|
6381
6714
|
}) {
|
|
6382
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${
|
|
6383
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6384
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
6385
|
-
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
6386
|
-
cta && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6715
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${__default63.root}${className ? ` ${className}` : ""}`, children: [
|
|
6716
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default63.textBlock, children: [
|
|
6717
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: __default63.heading, children: heading }),
|
|
6718
|
+
description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default63.description, children: description }),
|
|
6719
|
+
cta && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default63.ctaWrap, children: /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "primary", onClick: cta.onClick, children: cta.label }) })
|
|
6387
6720
|
] }),
|
|
6388
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6389
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6390
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6391
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6392
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6721
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default63.devices, children: [
|
|
6722
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default63.laptop, children: [
|
|
6723
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default63.laptopScreen, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default63.laptopScreenInner }) }),
|
|
6724
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default63.laptopHinge }),
|
|
6725
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default63.laptopBase })
|
|
6393
6726
|
] }),
|
|
6394
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6395
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6396
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6397
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6727
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default63.tablet, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default63.tabletShell, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default63.tabletScreen }) }) }),
|
|
6728
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default63.phone, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default63.phoneShell, children: [
|
|
6729
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default63.phoneNotch }),
|
|
6730
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default63.phoneScreen })
|
|
6398
6731
|
] }) })
|
|
6399
6732
|
] })
|
|
6400
6733
|
] });
|
|
@@ -6583,7 +6916,7 @@ __styleInject(`.PromoTestimonials-module_root {
|
|
|
6583
6916
|
background: var(--bg-secondary);
|
|
6584
6917
|
overflow: hidden;
|
|
6585
6918
|
}`);
|
|
6586
|
-
var
|
|
6919
|
+
var __default64 = { "root": "PromoTestimonials-module_root", "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" };
|
|
6587
6920
|
function PromoTestimonials({
|
|
6588
6921
|
heading,
|
|
6589
6922
|
subtitle,
|
|
@@ -6591,14 +6924,14 @@ function PromoTestimonials({
|
|
|
6591
6924
|
media,
|
|
6592
6925
|
className = ""
|
|
6593
6926
|
}) {
|
|
6594
|
-
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${
|
|
6595
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6927
|
+
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${__default64.root}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default64.wrapper, children: [
|
|
6928
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default64.avatarSection, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default64.avatarStack, children: [
|
|
6596
6929
|
testimonials.slice(0, 5).map((t, i) => {
|
|
6597
6930
|
const initials = t.name.split(" ").map((n) => n[0]).join("").toUpperCase();
|
|
6598
6931
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6599
6932
|
"div",
|
|
6600
6933
|
{
|
|
6601
|
-
className:
|
|
6934
|
+
className: __default64.avatarRing,
|
|
6602
6935
|
style: { zIndex: 10 - i },
|
|
6603
6936
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6604
6937
|
Avatar,
|
|
@@ -6612,32 +6945,32 @@ function PromoTestimonials({
|
|
|
6612
6945
|
i
|
|
6613
6946
|
);
|
|
6614
6947
|
}),
|
|
6615
|
-
testimonials.length > 5 && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6948
|
+
testimonials.length > 5 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default64.overflowBadge, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default64.overflowCircle, children: [
|
|
6616
6949
|
"+",
|
|
6617
6950
|
testimonials.length - 5
|
|
6618
6951
|
] }) })
|
|
6619
6952
|
] }) }),
|
|
6620
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6621
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
6622
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
6953
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default64.headingSection, children: [
|
|
6954
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: __default64.heading, children: heading }),
|
|
6955
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default64.subtitle, children: subtitle })
|
|
6623
6956
|
] }),
|
|
6624
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6957
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default64.cardsSection, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default64.cardsGrid, children: testimonials.map((t, i) => {
|
|
6625
6958
|
const initials = t.name.split(" ").map((n) => n[0]).join("").toUpperCase();
|
|
6626
6959
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6627
6960
|
"div",
|
|
6628
6961
|
{
|
|
6629
|
-
className:
|
|
6962
|
+
className: __default64.card,
|
|
6630
6963
|
children: [
|
|
6631
|
-
/* @__PURE__ */ jsxRuntime.jsxs("p", { className:
|
|
6964
|
+
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: __default64.quote, children: [
|
|
6632
6965
|
"\u201C",
|
|
6633
6966
|
t.quote,
|
|
6634
6967
|
"\u201D"
|
|
6635
6968
|
] }),
|
|
6636
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6969
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default64.author, children: [
|
|
6637
6970
|
/* @__PURE__ */ jsxRuntime.jsx(Avatar, { size: "sm", src: t.avatarSrc, initials }),
|
|
6638
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6639
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
6640
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
6971
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default64.authorInfo, children: [
|
|
6972
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default64.authorName, children: t.name }),
|
|
6973
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default64.authorRole, children: t.role })
|
|
6641
6974
|
] })
|
|
6642
6975
|
] })
|
|
6643
6976
|
]
|
|
@@ -6645,7 +6978,7 @@ function PromoTestimonials({
|
|
|
6645
6978
|
i
|
|
6646
6979
|
);
|
|
6647
6980
|
}) }) }),
|
|
6648
|
-
media && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6981
|
+
media && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default64.mediaSection, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default64.mediaBox, children: media }) })
|
|
6649
6982
|
] }) });
|
|
6650
6983
|
}
|
|
6651
6984
|
|
|
@@ -6797,7 +7130,7 @@ __styleInject(`.PromoHero-module_root {
|
|
|
6797
7130
|
align-items: center;
|
|
6798
7131
|
justify-content: center;
|
|
6799
7132
|
}`);
|
|
6800
|
-
var
|
|
7133
|
+
var __default65 = { "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" };
|
|
6801
7134
|
function PromoHero({
|
|
6802
7135
|
title,
|
|
6803
7136
|
subtitle,
|
|
@@ -6807,30 +7140,30 @@ function PromoHero({
|
|
|
6807
7140
|
variant = "dark",
|
|
6808
7141
|
className = ""
|
|
6809
7142
|
}) {
|
|
6810
|
-
const variantClass = variant === "dark" ?
|
|
6811
|
-
const subtitleClass = variant === "light" ?
|
|
7143
|
+
const variantClass = variant === "dark" ? __default65.dark : variant === "gradient" ? __default65.gradient : __default65.light;
|
|
7144
|
+
const subtitleClass = variant === "light" ? __default65.subtitleLight : __default65.subtitleDark;
|
|
6812
7145
|
const isLight = variant === "light";
|
|
6813
7146
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6814
7147
|
"section",
|
|
6815
7148
|
{
|
|
6816
|
-
className: `${
|
|
7149
|
+
className: `${__default65.root} ${variantClass}${className ? ` ${className}` : ""}`,
|
|
6817
7150
|
children: [
|
|
6818
|
-
!isLight && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6819
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
6820
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
7151
|
+
!isLight && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default65.glowLayer, "aria-hidden": "true", children: [
|
|
7152
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default65.glowTop }),
|
|
7153
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default65.glowBottom })
|
|
6821
7154
|
] }),
|
|
6822
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6823
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6824
|
-
/* @__PURE__ */ jsxRuntime.jsx("h1", { className:
|
|
6825
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${
|
|
6826
|
-
(cta || secondaryCta) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7155
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default65.inner, children: [
|
|
7156
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default65.textColumn, children: [
|
|
7157
|
+
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: __default65.title, children: title }),
|
|
7158
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${__default65.subtitle} ${subtitleClass}`, children: subtitle }),
|
|
7159
|
+
(cta || secondaryCta) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default65.actions, children: [
|
|
6827
7160
|
cta && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6828
7161
|
Button,
|
|
6829
7162
|
{
|
|
6830
7163
|
variant: isLight ? "primary" : "outline",
|
|
6831
7164
|
size: "hero",
|
|
6832
7165
|
onClick: cta.onClick,
|
|
6833
|
-
className: !isLight ?
|
|
7166
|
+
className: !isLight ? __default65.ctaDark : "",
|
|
6834
7167
|
children: cta.label
|
|
6835
7168
|
}
|
|
6836
7169
|
),
|
|
@@ -6840,13 +7173,13 @@ function PromoHero({
|
|
|
6840
7173
|
variant: "ghost",
|
|
6841
7174
|
size: "hero",
|
|
6842
7175
|
onClick: secondaryCta.onClick,
|
|
6843
|
-
className: !isLight ?
|
|
7176
|
+
className: !isLight ? __default65.ghostDark : "",
|
|
6844
7177
|
children: secondaryCta.label
|
|
6845
7178
|
}
|
|
6846
7179
|
)
|
|
6847
7180
|
] })
|
|
6848
7181
|
] }),
|
|
6849
|
-
media && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
7182
|
+
media && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default65.mediaColumn, children: media })
|
|
6850
7183
|
] })
|
|
6851
7184
|
]
|
|
6852
7185
|
}
|
|
@@ -7000,7 +7333,7 @@ __styleInject(`@charset "UTF-8";
|
|
|
7000
7333
|
max-width: 640px;
|
|
7001
7334
|
width: 100%;
|
|
7002
7335
|
}`);
|
|
7003
|
-
var
|
|
7336
|
+
var __default66 = { "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" };
|
|
7004
7337
|
function PromoHeroForm({
|
|
7005
7338
|
title,
|
|
7006
7339
|
subtitle,
|
|
@@ -7023,17 +7356,17 @@ function PromoHeroForm({
|
|
|
7023
7356
|
onSubmit == null ? void 0 : onSubmit(trimmed);
|
|
7024
7357
|
};
|
|
7025
7358
|
const isDisabled = loading || value.trim().length === 0;
|
|
7026
|
-
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${
|
|
7027
|
-
/* @__PURE__ */ jsxRuntime.jsx("h1", { className:
|
|
7028
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
7359
|
+
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${__default66.root}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default66.inner, children: [
|
|
7360
|
+
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: __default66.title, children: title }),
|
|
7361
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default66.subtitle, children: subtitle }),
|
|
7029
7362
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7030
7363
|
"form",
|
|
7031
7364
|
{
|
|
7032
|
-
className:
|
|
7365
|
+
className: __default66.form,
|
|
7033
7366
|
onSubmit: handleSubmit,
|
|
7034
7367
|
"aria-busy": loading,
|
|
7035
7368
|
noValidate: true,
|
|
7036
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7369
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default66.formInner, children: [
|
|
7037
7370
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7038
7371
|
"input",
|
|
7039
7372
|
{
|
|
@@ -7042,7 +7375,7 @@ function PromoHeroForm({
|
|
|
7042
7375
|
value,
|
|
7043
7376
|
onChange: (e) => setValue(e.target.value),
|
|
7044
7377
|
disabled: loading,
|
|
7045
|
-
className:
|
|
7378
|
+
className: __default66.input,
|
|
7046
7379
|
"aria-label": inputAriaLabel || inputPlaceholder
|
|
7047
7380
|
}
|
|
7048
7381
|
),
|
|
@@ -7060,8 +7393,8 @@ function PromoHeroForm({
|
|
|
7060
7393
|
] })
|
|
7061
7394
|
}
|
|
7062
7395
|
),
|
|
7063
|
-
hint && !error && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
7064
|
-
error && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
7396
|
+
hint && !error && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default66.hint, children: hint }),
|
|
7397
|
+
error && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default66.errorBox, role: "alert", children: error })
|
|
7065
7398
|
] }) });
|
|
7066
7399
|
}
|
|
7067
7400
|
|
|
@@ -7339,7 +7672,7 @@ __styleInject(`.PromoPricing-module_root {
|
|
|
7339
7672
|
.PromoPricing-module_ctaWrap {
|
|
7340
7673
|
margin-top: auto;
|
|
7341
7674
|
}`);
|
|
7342
|
-
var
|
|
7675
|
+
var __default67 = { "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" };
|
|
7343
7676
|
function PromoPricing({
|
|
7344
7677
|
heading,
|
|
7345
7678
|
subtitle,
|
|
@@ -7349,50 +7682,50 @@ function PromoPricing({
|
|
|
7349
7682
|
}) {
|
|
7350
7683
|
const isDark = variant === "dark";
|
|
7351
7684
|
const getTierClass = (highlighted) => {
|
|
7352
|
-
if (highlighted) return isDark ?
|
|
7353
|
-
return isDark ?
|
|
7685
|
+
if (highlighted) return isDark ? __default67.tierDarkHighlighted : __default67.tierHighlighted;
|
|
7686
|
+
return isDark ? __default67.tierDark : __default67.tierDefault;
|
|
7354
7687
|
};
|
|
7355
7688
|
const getNameClass = (highlighted) => {
|
|
7356
|
-
if (highlighted) return isDark ?
|
|
7357
|
-
return isDark ?
|
|
7689
|
+
if (highlighted) return isDark ? __default67.tierNameHighlightedDark : __default67.tierNameHighlightedLight;
|
|
7690
|
+
return isDark ? __default67.tierNameDark : __default67.tierNameMuted;
|
|
7358
7691
|
};
|
|
7359
7692
|
const getPeriodClass = (highlighted) => {
|
|
7360
|
-
if (highlighted) return isDark ?
|
|
7361
|
-
return isDark ?
|
|
7693
|
+
if (highlighted) return isDark ? __default67.periodHighlightedDark : __default67.periodHighlightedLight;
|
|
7694
|
+
return isDark ? __default67.periodDark : __default67.periodMuted;
|
|
7362
7695
|
};
|
|
7363
7696
|
const getDescClass = (highlighted) => {
|
|
7364
|
-
if (highlighted) return isDark ?
|
|
7365
|
-
return isDark ?
|
|
7697
|
+
if (highlighted) return isDark ? __default67.tierDescHighlightedDark : __default67.tierDescHighlightedLight;
|
|
7698
|
+
return isDark ? __default67.tierDescDark : __default67.tierDescMuted;
|
|
7366
7699
|
};
|
|
7367
7700
|
const getCheckClass = (highlighted) => {
|
|
7368
|
-
if (highlighted) return isDark ?
|
|
7369
|
-
return isDark ?
|
|
7701
|
+
if (highlighted) return isDark ? __default67.checkHighlightedDark : __default67.checkHighlightedLight;
|
|
7702
|
+
return isDark ? __default67.checkDark : __default67.checkDefault;
|
|
7370
7703
|
};
|
|
7371
7704
|
const getFeatureTextClass = (highlighted) => {
|
|
7372
|
-
if (highlighted) return isDark ?
|
|
7373
|
-
return isDark ?
|
|
7705
|
+
if (highlighted) return isDark ? __default67.featureTextHighlightedDark : __default67.featureTextHighlightedLight;
|
|
7706
|
+
return isDark ? __default67.featureTextDark : __default67.featureTextMuted;
|
|
7374
7707
|
};
|
|
7375
7708
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7376
7709
|
"section",
|
|
7377
7710
|
{
|
|
7378
|
-
className: `${
|
|
7711
|
+
className: `${__default67.root} ${isDark ? __default67.dark : __default67.light}${className ? ` ${className}` : ""}`,
|
|
7379
7712
|
children: [
|
|
7380
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7381
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: `${
|
|
7382
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${
|
|
7713
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default67.headingSection, children: [
|
|
7714
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: `${__default67.heading} ${isDark ? __default67.headingDark : __default67.headingLight}`, children: heading }),
|
|
7715
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${__default67.subtitle} ${isDark ? __default67.subtitleDark : __default67.subtitleLight}`, children: subtitle })
|
|
7383
7716
|
] }),
|
|
7384
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
7717
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default67.tiersGrid, children: tiers.map((tier, i) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7385
7718
|
"div",
|
|
7386
7719
|
{
|
|
7387
7720
|
className: getTierClass(tier.highlighted),
|
|
7388
7721
|
children: [
|
|
7389
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
7390
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7722
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default67.tierName, children: /* @__PURE__ */ jsxRuntime.jsx("h3", { className: getNameClass(tier.highlighted), children: tier.name }) }),
|
|
7723
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default67.price, children: [
|
|
7391
7724
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: tier.price }),
|
|
7392
|
-
tier.period && /* @__PURE__ */ jsxRuntime.jsx("span", { className: `${
|
|
7725
|
+
tier.period && /* @__PURE__ */ jsxRuntime.jsx("span", { className: `${__default67.period} ${getPeriodClass(tier.highlighted)}`, children: tier.period })
|
|
7393
7726
|
] }),
|
|
7394
|
-
tier.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${
|
|
7395
|
-
/* @__PURE__ */ jsxRuntime.jsx("ul", { className:
|
|
7727
|
+
tier.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${__default67.tierDesc} ${getDescClass(tier.highlighted)}`, children: tier.description }),
|
|
7728
|
+
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: __default67.featureList, children: tier.features.map((feature, fi) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: __default67.featureItem, children: [
|
|
7396
7729
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7397
7730
|
"svg",
|
|
7398
7731
|
{
|
|
@@ -7400,13 +7733,13 @@ function PromoPricing({
|
|
|
7400
7733
|
height: "16",
|
|
7401
7734
|
viewBox: "0 0 16 16",
|
|
7402
7735
|
fill: "none",
|
|
7403
|
-
className: `${
|
|
7736
|
+
className: `${__default67.checkIcon} ${getCheckClass(tier.highlighted)}`,
|
|
7404
7737
|
children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3.5 8.5L6.5 11.5L12.5 4.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
7405
7738
|
}
|
|
7406
7739
|
),
|
|
7407
7740
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: getFeatureTextClass(tier.highlighted), children: feature })
|
|
7408
7741
|
] }, fi)) }),
|
|
7409
|
-
tier.cta && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
7742
|
+
tier.cta && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default67.ctaWrap, children: tier.cta })
|
|
7410
7743
|
]
|
|
7411
7744
|
},
|
|
7412
7745
|
i
|
|
@@ -7564,7 +7897,7 @@ __styleInject(`.PromoActionCards-module_root {
|
|
|
7564
7897
|
.PromoActionCards-module_ctaBtn:hover {
|
|
7565
7898
|
opacity: 0.9;
|
|
7566
7899
|
}`);
|
|
7567
|
-
var
|
|
7900
|
+
var __default68 = { "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" };
|
|
7568
7901
|
function PromoActionCards({
|
|
7569
7902
|
heading,
|
|
7570
7903
|
subtitle,
|
|
@@ -7572,28 +7905,28 @@ function PromoActionCards({
|
|
|
7572
7905
|
columns = 3,
|
|
7573
7906
|
className = ""
|
|
7574
7907
|
}) {
|
|
7575
|
-
const gridClass = columns === 2 ?
|
|
7576
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${
|
|
7577
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7578
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { className:
|
|
7579
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
7908
|
+
const gridClass = columns === 2 ? __default68.grid2 : __default68.grid3;
|
|
7909
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${__default68.root}${className ? ` ${className}` : ""}`, children: [
|
|
7910
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default68.header, children: [
|
|
7911
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: __default68.heading, children: heading }),
|
|
7912
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default68.subtitle, children: subtitle })
|
|
7580
7913
|
] }),
|
|
7581
7914
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: gridClass, children: cards.map((card, i) => {
|
|
7582
7915
|
var _a;
|
|
7583
7916
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7584
7917
|
"div",
|
|
7585
7918
|
{
|
|
7586
|
-
className:
|
|
7919
|
+
className: __default68.card,
|
|
7587
7920
|
children: [
|
|
7588
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7589
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className:
|
|
7590
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
7921
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default68.cardContent, children: [
|
|
7922
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: __default68.cardTitle, children: card.title }),
|
|
7923
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default68.cardDesc, children: card.description })
|
|
7591
7924
|
] }),
|
|
7592
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7593
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
7925
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default68.cardFooter, children: [
|
|
7926
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default68.iconGroup, children: (_a = card.icons) == null ? void 0 : _a.map((icon, ii) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
7594
7927
|
"span",
|
|
7595
7928
|
{
|
|
7596
|
-
className:
|
|
7929
|
+
className: __default68.iconCircle,
|
|
7597
7930
|
children: icon
|
|
7598
7931
|
},
|
|
7599
7932
|
ii
|
|
@@ -7602,7 +7935,7 @@ function PromoActionCards({
|
|
|
7602
7935
|
"button",
|
|
7603
7936
|
{
|
|
7604
7937
|
onClick: card.cta.onClick,
|
|
7605
|
-
className:
|
|
7938
|
+
className: __default68.ctaBtn,
|
|
7606
7939
|
children: [
|
|
7607
7940
|
card.cta.label,
|
|
7608
7941
|
/* @__PURE__ */ jsxRuntime.jsx("svg", { width: "11", height: "11", viewBox: "0 0 12 12", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.5 2.5l4 3.5-4 3.5" }) })
|
|
@@ -7725,7 +8058,7 @@ __styleInject(`.ArticleHero-module_root {
|
|
|
7725
8058
|
color: rgba(255, 255, 255, 0.9);
|
|
7726
8059
|
line-height: 22.5px;
|
|
7727
8060
|
}`);
|
|
7728
|
-
var
|
|
8061
|
+
var __default69 = { "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" };
|
|
7729
8062
|
var DEFAULT_BG = "https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1600&h=900&fit=crop&q=80";
|
|
7730
8063
|
function ArticleHero({
|
|
7731
8064
|
category,
|
|
@@ -7737,20 +8070,20 @@ function ArticleHero({
|
|
|
7737
8070
|
className = ""
|
|
7738
8071
|
}) {
|
|
7739
8072
|
const bgSrc = backgroundImage != null ? backgroundImage : DEFAULT_BG;
|
|
7740
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${
|
|
7741
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7742
|
-
/* @__PURE__ */ jsxRuntime.jsx("img", { src: bgSrc, alt: "", className:
|
|
7743
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8073
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: `${__default69.root}${className ? ` ${className}` : ""}`, children: [
|
|
8074
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default69.bgLayer, children: [
|
|
8075
|
+
/* @__PURE__ */ jsxRuntime.jsx("img", { src: bgSrc, alt: "", className: __default69.bgImage }),
|
|
8076
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default69.overlay })
|
|
7744
8077
|
] }),
|
|
7745
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7746
|
-
logo && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
7747
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
7748
|
-
nav && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8078
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default69.topBar, children: [
|
|
8079
|
+
logo && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default69.logo, children: logo }),
|
|
8080
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default69.divider }),
|
|
8081
|
+
nav && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default69.nav, children: nav })
|
|
7749
8082
|
] }),
|
|
7750
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
7751
|
-
category && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
7752
|
-
/* @__PURE__ */ jsxRuntime.jsx("h1", { className:
|
|
7753
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
8083
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default69.bottom, children: [
|
|
8084
|
+
category && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default69.category, children: category }),
|
|
8085
|
+
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: __default69.title, children: title }),
|
|
8086
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default69.subtitle, children: subtitle })
|
|
7754
8087
|
] })
|
|
7755
8088
|
] });
|
|
7756
8089
|
}
|
|
@@ -7762,9 +8095,9 @@ __styleInject(`.ArticleBody-module_root {
|
|
|
7762
8095
|
color: var(--fg-secondary);
|
|
7763
8096
|
font-weight: 400;
|
|
7764
8097
|
}`);
|
|
7765
|
-
var
|
|
8098
|
+
var __default70 = { "root": "ArticleBody-module_root" };
|
|
7766
8099
|
function ArticleBody({ children, className = "" }) {
|
|
7767
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
8100
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default70.root}${className ? ` ${className}` : ""}`, children });
|
|
7768
8101
|
}
|
|
7769
8102
|
|
|
7770
8103
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/templates/ArticleHeading.module.scss
|
|
@@ -7807,10 +8140,10 @@ __styleInject(`.ArticleHeading-module_root {
|
|
|
7807
8140
|
line-height: 1.25rem;
|
|
7808
8141
|
color: var(--fg-muted);
|
|
7809
8142
|
}`);
|
|
7810
|
-
var
|
|
8143
|
+
var __default71 = { "root": "ArticleHeading-module_root", "header": "ArticleHeading-module_header", "h2": "ArticleHeading-module_h2", "h3": "ArticleHeading-module_h3", "action": "ArticleHeading-module_action", "subtitle": "ArticleHeading-module_subtitle" };
|
|
7811
8144
|
var levelClass = {
|
|
7812
|
-
2:
|
|
7813
|
-
3:
|
|
8145
|
+
2: __default71.h2,
|
|
8146
|
+
3: __default71.h3
|
|
7814
8147
|
};
|
|
7815
8148
|
function ArticleHeading({
|
|
7816
8149
|
level = 2,
|
|
@@ -7820,12 +8153,12 @@ function ArticleHeading({
|
|
|
7820
8153
|
className = ""
|
|
7821
8154
|
}) {
|
|
7822
8155
|
const Tag2 = `h${level}`;
|
|
7823
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
7824
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8156
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default71.root}${className ? ` ${className}` : ""}`, children: [
|
|
8157
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default71.header, children: [
|
|
7825
8158
|
/* @__PURE__ */ jsxRuntime.jsx(Tag2, { className: levelClass[level], children }),
|
|
7826
|
-
action && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8159
|
+
action && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default71.action, children: action })
|
|
7827
8160
|
] }),
|
|
7828
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
8161
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default71.subtitle, children: subtitle })
|
|
7829
8162
|
] });
|
|
7830
8163
|
}
|
|
7831
8164
|
|
|
@@ -7901,7 +8234,7 @@ __styleInject(`.ArticleFigure-module_root {
|
|
|
7901
8234
|
line-height: 1.25rem;
|
|
7902
8235
|
color: var(--fg-muted);
|
|
7903
8236
|
}`);
|
|
7904
|
-
var
|
|
8237
|
+
var __default72 = { "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" };
|
|
7905
8238
|
function ArticleFigure({
|
|
7906
8239
|
src,
|
|
7907
8240
|
alt = "",
|
|
@@ -7911,35 +8244,35 @@ function ArticleFigure({
|
|
|
7911
8244
|
children,
|
|
7912
8245
|
className = ""
|
|
7913
8246
|
}) {
|
|
7914
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("figure", { className: `${
|
|
8247
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("figure", { className: `${__default72.root}${className ? ` ${className}` : ""}`, children: [
|
|
7915
8248
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7916
8249
|
"div",
|
|
7917
8250
|
{
|
|
7918
|
-
className:
|
|
8251
|
+
className: __default72.imageWrapper,
|
|
7919
8252
|
style: { minHeight: height },
|
|
7920
8253
|
children: src ? (
|
|
7921
8254
|
// eslint-disable-next-line @next/next/no-img-element
|
|
7922
|
-
/* @__PURE__ */ jsxRuntime.jsx("img", { src, alt, className:
|
|
7923
|
-
) : children ? /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8255
|
+
/* @__PURE__ */ jsxRuntime.jsx("img", { src, alt, className: __default72.image })
|
|
8256
|
+
) : children ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default72.childWrapper, children }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default72.placeholder, children: [
|
|
7924
8257
|
/* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "48", height: "48", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", children: [
|
|
7925
8258
|
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
7926
8259
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 16l5-5 4 4 4-6 5 7" })
|
|
7927
8260
|
] }),
|
|
7928
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8261
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default72.placeholderText, children: "Figure placeholder" })
|
|
7929
8262
|
] })
|
|
7930
8263
|
}
|
|
7931
8264
|
),
|
|
7932
|
-
legend && legend.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8265
|
+
legend && legend.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default72.legend, children: legend.map((item) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default72.legendItem, children: [
|
|
7933
8266
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7934
8267
|
"span",
|
|
7935
8268
|
{
|
|
7936
|
-
className:
|
|
8269
|
+
className: __default72.legendSwatch,
|
|
7937
8270
|
style: { backgroundColor: item.color }
|
|
7938
8271
|
}
|
|
7939
8272
|
),
|
|
7940
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8273
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default72.legendLabel, children: item.label })
|
|
7941
8274
|
] }, item.label)) }),
|
|
7942
|
-
caption && /* @__PURE__ */ jsxRuntime.jsx("figcaption", { className:
|
|
8275
|
+
caption && /* @__PURE__ */ jsxRuntime.jsx("figcaption", { className: __default72.caption, children: caption })
|
|
7943
8276
|
] });
|
|
7944
8277
|
}
|
|
7945
8278
|
|
|
@@ -8032,7 +8365,7 @@ __styleInject(`.ArticleTable-module_root {
|
|
|
8032
8365
|
.ArticleTable-module_showMore:hover {
|
|
8033
8366
|
color: var(--fg);
|
|
8034
8367
|
}`);
|
|
8035
|
-
var
|
|
8368
|
+
var __default73 = { "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" };
|
|
8036
8369
|
function ArticleTable({
|
|
8037
8370
|
columns,
|
|
8038
8371
|
rows,
|
|
@@ -8044,19 +8377,19 @@ function ArticleTable({
|
|
|
8044
8377
|
const limit = initialVisible != null ? initialVisible : rows.length;
|
|
8045
8378
|
const visibleRows = expanded ? rows : rows.slice(0, limit);
|
|
8046
8379
|
const hiddenCount = rows.length - limit;
|
|
8047
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
8048
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8049
|
-
showRank && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8050
|
-
columns.map((col) => /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8380
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default73.root}${className ? ` ${className}` : ""}`, children: [
|
|
8381
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default73.headerRow, children: [
|
|
8382
|
+
showRank && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default73.rankCell }),
|
|
8383
|
+
columns.map((col) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default73.headerCell, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default73.headerLabel, children: col.label }) }, col.key))
|
|
8051
8384
|
] }),
|
|
8052
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { children: visibleRows.map((row, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8053
|
-
showRank && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8385
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { children: visibleRows.map((row, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default73.row, children: [
|
|
8386
|
+
showRank && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default73.rankValue, children: /* @__PURE__ */ jsxRuntime.jsx("span", { children: i + 1 }) }),
|
|
8054
8387
|
columns.map((col) => {
|
|
8055
8388
|
const value = row[col.key];
|
|
8056
8389
|
const hasBadge = row._badge && row._badgeColumn === col.key;
|
|
8057
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8058
|
-
col.render ? col.render(value, row) : /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8059
|
-
hasBadge && /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8390
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default73.cell, children: [
|
|
8391
|
+
col.render ? col.render(value, row) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default73.cellText, children: String(value != null ? value : "") }),
|
|
8392
|
+
hasBadge && /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default73.badge, children: row._badge })
|
|
8060
8393
|
] }, col.key);
|
|
8061
8394
|
})
|
|
8062
8395
|
] }, i)) }),
|
|
@@ -8064,7 +8397,7 @@ function ArticleTable({
|
|
|
8064
8397
|
"button",
|
|
8065
8398
|
{
|
|
8066
8399
|
onClick: () => setExpanded(true),
|
|
8067
|
-
className:
|
|
8400
|
+
className: __default73.showMore,
|
|
8068
8401
|
children: [
|
|
8069
8402
|
"Show ",
|
|
8070
8403
|
hiddenCount,
|
|
@@ -8097,19 +8430,19 @@ __styleInject(`.ArticleList-module_root {
|
|
|
8097
8430
|
.ArticleList-module_item {
|
|
8098
8431
|
padding-left: 0.25rem;
|
|
8099
8432
|
}`);
|
|
8100
|
-
var
|
|
8433
|
+
var __default74 = { "root": "ArticleList-module_root", "ordered": "ArticleList-module_ordered", "unordered": "ArticleList-module_unordered", "item": "ArticleList-module_item" };
|
|
8101
8434
|
function ArticleList({
|
|
8102
8435
|
variant = "unordered",
|
|
8103
8436
|
items,
|
|
8104
8437
|
className = ""
|
|
8105
8438
|
}) {
|
|
8106
8439
|
const Tag2 = variant === "ordered" ? "ol" : "ul";
|
|
8107
|
-
const variantClass = variant === "ordered" ?
|
|
8440
|
+
const variantClass = variant === "ordered" ? __default74.ordered : __default74.unordered;
|
|
8108
8441
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8109
8442
|
Tag2,
|
|
8110
8443
|
{
|
|
8111
|
-
className: `${
|
|
8112
|
-
children: items.map((item, i) => /* @__PURE__ */ jsxRuntime.jsx("li", { className:
|
|
8444
|
+
className: `${__default74.root} ${variantClass}${className ? ` ${className}` : ""}`,
|
|
8445
|
+
children: items.map((item, i) => /* @__PURE__ */ jsxRuntime.jsx("li", { className: __default74.item, children: item }, i))
|
|
8113
8446
|
}
|
|
8114
8447
|
);
|
|
8115
8448
|
}
|
|
@@ -8121,9 +8454,9 @@ __styleInject(`.ArticleNote-module_root {
|
|
|
8121
8454
|
color: var(--fg-secondary);
|
|
8122
8455
|
font-style: italic;
|
|
8123
8456
|
}`);
|
|
8124
|
-
var
|
|
8457
|
+
var __default75 = { "root": "ArticleNote-module_root" };
|
|
8125
8458
|
function ArticleNote({ children, className = "" }) {
|
|
8126
|
-
return /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${
|
|
8459
|
+
return /* @__PURE__ */ jsxRuntime.jsx("p", { className: `${__default75.root}${className ? ` ${className}` : ""}`, children });
|
|
8127
8460
|
}
|
|
8128
8461
|
|
|
8129
8462
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/templates/ArticleChatBlock.module.scss
|
|
@@ -8236,11 +8569,11 @@ __styleInject(`.ArticleChatBlock-module_root {
|
|
|
8236
8569
|
.ArticleChatBlock-module_showMoreBtn:hover {
|
|
8237
8570
|
color: var(--fg);
|
|
8238
8571
|
}`);
|
|
8239
|
-
var
|
|
8572
|
+
var __default76 = { "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" };
|
|
8240
8573
|
var roleConfig = {
|
|
8241
|
-
assistant: { cls:
|
|
8242
|
-
system: { cls:
|
|
8243
|
-
user: { cls:
|
|
8574
|
+
assistant: { cls: __default76.assistant, gradient: "var(--bg-secondary)" },
|
|
8575
|
+
system: { cls: __default76.system, gradient: "var(--bg-tertiary)" },
|
|
8576
|
+
user: { cls: __default76.user, gradient: "var(--bg-secondary)" }
|
|
8244
8577
|
};
|
|
8245
8578
|
function ArticleChatBlock({
|
|
8246
8579
|
role,
|
|
@@ -8254,40 +8587,40 @@ function ArticleChatBlock({
|
|
|
8254
8587
|
var _a;
|
|
8255
8588
|
const [expanded, setExpanded] = react.useState(false);
|
|
8256
8589
|
const config = (_a = roleConfig[role]) != null ? _a : roleConfig.assistant;
|
|
8257
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
8258
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8590
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default76.root} ${config.cls}${className ? ` ${className}` : ""}`, children: [
|
|
8591
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default76.header, children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: __default76.roleLabel, children: [
|
|
8259
8592
|
role,
|
|
8260
8593
|
model && ` \u2022 ${model}`
|
|
8261
8594
|
] }) }),
|
|
8262
|
-
toolCall && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8263
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8264
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8595
|
+
toolCall && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default76.toolBadge, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default76.toolBadgeInner, children: [
|
|
8596
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default76.toolDot }),
|
|
8597
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default76.toolLabel, children: toolCall })
|
|
8265
8598
|
] }) }),
|
|
8266
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8267
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8599
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default76.divider }),
|
|
8600
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default76.contentWrapper, children: [
|
|
8268
8601
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8269
8602
|
"div",
|
|
8270
8603
|
{
|
|
8271
|
-
className:
|
|
8604
|
+
className: __default76.content,
|
|
8272
8605
|
style: collapsible && !expanded ? { maxHeight: collapsedHeight, overflow: "hidden" } : void 0,
|
|
8273
8606
|
children
|
|
8274
8607
|
}
|
|
8275
8608
|
),
|
|
8276
|
-
collapsible && !expanded && /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8609
|
+
collapsible && !expanded && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default76.fadeOverlay, children: [
|
|
8277
8610
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8278
8611
|
"div",
|
|
8279
8612
|
{
|
|
8280
|
-
className:
|
|
8613
|
+
className: __default76.fadeGradient,
|
|
8281
8614
|
style: {
|
|
8282
8615
|
background: `linear-gradient(to top, ${config.gradient}, transparent)`
|
|
8283
8616
|
}
|
|
8284
8617
|
}
|
|
8285
8618
|
),
|
|
8286
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
8619
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default76.showMoreBar} ${config.cls}`, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
8287
8620
|
"button",
|
|
8288
8621
|
{
|
|
8289
8622
|
onClick: () => setExpanded(true),
|
|
8290
|
-
className:
|
|
8623
|
+
className: __default76.showMoreBtn,
|
|
8291
8624
|
children: "Show more"
|
|
8292
8625
|
}
|
|
8293
8626
|
) })
|
|
@@ -8319,14 +8652,14 @@ __styleInject(`.ArticleLinkButton-module_root {
|
|
|
8319
8652
|
.ArticleLinkButton-module_root:active {
|
|
8320
8653
|
opacity: 0.8;
|
|
8321
8654
|
}`);
|
|
8322
|
-
var
|
|
8655
|
+
var __default77 = { "root": "ArticleLinkButton-module_root" };
|
|
8323
8656
|
function ArticleLinkButton({
|
|
8324
8657
|
children,
|
|
8325
8658
|
href,
|
|
8326
8659
|
onClick,
|
|
8327
8660
|
className = ""
|
|
8328
8661
|
}) {
|
|
8329
|
-
const cls = `${
|
|
8662
|
+
const cls = `${__default77.root}${className ? ` ${className}` : ""}`;
|
|
8330
8663
|
if (href) {
|
|
8331
8664
|
return /* @__PURE__ */ jsxRuntime.jsx("a", { href, className: cls, children });
|
|
8332
8665
|
}
|
|
@@ -8363,18 +8696,18 @@ __styleInject(`.ArticleFooter-module_root {
|
|
|
8363
8696
|
line-height: 1.25rem;
|
|
8364
8697
|
color: var(--fg-muted);
|
|
8365
8698
|
}`);
|
|
8366
|
-
var
|
|
8699
|
+
var __default78 = { "root": "ArticleFooter-module_root", "topBar": "ArticleFooter-module_topBar", "logo": "ArticleFooter-module_logo", "divider": "ArticleFooter-module_divider", "copyright": "ArticleFooter-module_copyright" };
|
|
8367
8700
|
function ArticleFooter({
|
|
8368
8701
|
logo,
|
|
8369
8702
|
copyright = `\xA9 ${(/* @__PURE__ */ new Date()).getFullYear()} All rights reserved.`,
|
|
8370
8703
|
className = ""
|
|
8371
8704
|
}) {
|
|
8372
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("footer", { className: `${
|
|
8373
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8374
|
-
logo && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8375
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8705
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("footer", { className: `${__default78.root}${className ? ` ${className}` : ""}`, children: [
|
|
8706
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default78.topBar, children: [
|
|
8707
|
+
logo && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default78.logo, children: logo }),
|
|
8708
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default78.divider })
|
|
8376
8709
|
] }),
|
|
8377
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
8710
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: __default78.copyright, children: copyright })
|
|
8378
8711
|
] });
|
|
8379
8712
|
}
|
|
8380
8713
|
|
|
@@ -8397,15 +8730,15 @@ __styleInject(`.ArticleLayout-module_root {
|
|
|
8397
8730
|
width: 100%;
|
|
8398
8731
|
max-width: 720px;
|
|
8399
8732
|
}`);
|
|
8400
|
-
var
|
|
8733
|
+
var __default79 = { "root": "ArticleLayout-module_root", "wide": "ArticleLayout-module_wide", "narrow": "ArticleLayout-module_narrow" };
|
|
8401
8734
|
function ArticleLayout({ children, className = "" }) {
|
|
8402
|
-
return /* @__PURE__ */ jsxRuntime.jsx("article", { className: `${
|
|
8735
|
+
return /* @__PURE__ */ jsxRuntime.jsx("article", { className: `${__default79.root}${className ? ` ${className}` : ""}`, children });
|
|
8403
8736
|
}
|
|
8404
8737
|
function ArticleWide({ children, className = "" }) {
|
|
8405
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
8738
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default79.wide}${className ? ` ${className}` : ""}`, children });
|
|
8406
8739
|
}
|
|
8407
8740
|
function ArticleNarrow({ children, className = "" }) {
|
|
8408
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${
|
|
8741
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${__default79.narrow}${className ? ` ${className}` : ""}`, children });
|
|
8409
8742
|
}
|
|
8410
8743
|
|
|
8411
8744
|
// css-inject-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/templates/ArticleChart.module.scss
|
|
@@ -8492,7 +8825,7 @@ __styleInject(`.ArticleChart-module_figure {
|
|
|
8492
8825
|
line-height: 1rem;
|
|
8493
8826
|
color: var(--fg-secondary);
|
|
8494
8827
|
}`);
|
|
8495
|
-
var
|
|
8828
|
+
var __default80 = { "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" };
|
|
8496
8829
|
function ChartTooltip({
|
|
8497
8830
|
active,
|
|
8498
8831
|
payload,
|
|
@@ -8503,15 +8836,15 @@ function ChartTooltip({
|
|
|
8503
8836
|
}) {
|
|
8504
8837
|
if (!active || !(payload == null ? void 0 : payload.length)) return null;
|
|
8505
8838
|
const fmt = valueFormatter != null ? valueFormatter : ((v) => String(v));
|
|
8506
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8507
|
-
label !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("p", { className:
|
|
8839
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default80.tooltip, children: [
|
|
8840
|
+
label !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: __default80.tooltipLabel, children: [
|
|
8508
8841
|
xLabel ? `${xLabel}: ` : "",
|
|
8509
8842
|
label
|
|
8510
8843
|
] }),
|
|
8511
|
-
payload.map((entry, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8512
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8513
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8514
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8844
|
+
payload.map((entry, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default80.tooltipRow, children: [
|
|
8845
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default80.tooltipDot, style: { backgroundColor: entry.color } }),
|
|
8846
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default80.tooltipName, children: entry.name }),
|
|
8847
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default80.tooltipValue, children: yLabel ? `${fmt(entry.value)} ` : fmt(entry.value) })
|
|
8515
8848
|
] }, i))
|
|
8516
8849
|
] });
|
|
8517
8850
|
}
|
|
@@ -8525,8 +8858,8 @@ function ArticleLineChart({
|
|
|
8525
8858
|
valueFormatter,
|
|
8526
8859
|
className = ""
|
|
8527
8860
|
}) {
|
|
8528
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("figure", { className: `${
|
|
8529
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8861
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("figure", { className: `${__default80.figure}${className ? ` ${className}` : ""}`, children: [
|
|
8862
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default80.chartWrapper, style: { height }, children: /* @__PURE__ */ jsxRuntime.jsx(recharts.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxRuntime.jsxs(recharts.LineChart, { data, margin: { top: 8, right: 16, bottom: 4, left: 8 }, children: [
|
|
8530
8863
|
/* @__PURE__ */ jsxRuntime.jsx(recharts.CartesianGrid, { strokeDasharray: "3 3", stroke: "var(--border-color)" }),
|
|
8531
8864
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8532
8865
|
recharts.XAxis,
|
|
@@ -8576,9 +8909,9 @@ function ArticleLineChart({
|
|
|
8576
8909
|
s.dataKey
|
|
8577
8910
|
))
|
|
8578
8911
|
] }) }) }),
|
|
8579
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8580
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8581
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8912
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default80.legend, children: series.map((s) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default80.legendItem, children: [
|
|
8913
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default80.legendSwatch, style: { backgroundColor: s.color } }),
|
|
8914
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default80.legendLabel, children: s.name })
|
|
8582
8915
|
] }, s.dataKey)) })
|
|
8583
8916
|
] });
|
|
8584
8917
|
}
|
|
@@ -8593,8 +8926,8 @@ function ArticleBarChart({
|
|
|
8593
8926
|
valueFormatter,
|
|
8594
8927
|
className = ""
|
|
8595
8928
|
}) {
|
|
8596
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("figure", { className: `${
|
|
8597
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8929
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("figure", { className: `${__default80.figure}${className ? ` ${className}` : ""}`, children: [
|
|
8930
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default80.chartWrapper, style: { height }, children: /* @__PURE__ */ jsxRuntime.jsx(recharts.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxRuntime.jsxs(recharts.BarChart, { data, margin: { top: 8, right: 16, bottom: 4, left: 8 }, children: [
|
|
8598
8931
|
/* @__PURE__ */ jsxRuntime.jsx(recharts.CartesianGrid, { strokeDasharray: "3 3", stroke: "var(--border-color)", vertical: false }),
|
|
8599
8932
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8600
8933
|
recharts.XAxis,
|
|
@@ -8642,9 +8975,9 @@ function ArticleBarChart({
|
|
|
8642
8975
|
s.dataKey
|
|
8643
8976
|
))
|
|
8644
8977
|
] }) }) }),
|
|
8645
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8646
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8647
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
8978
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default80.legend, children: series.map((s) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default80.legendItem, children: [
|
|
8979
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default80.legendSwatch, style: { backgroundColor: s.color } }),
|
|
8980
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: __default80.legendLabel, children: s.name })
|
|
8648
8981
|
] }, s.dataKey)) })
|
|
8649
8982
|
] });
|
|
8650
8983
|
}
|
|
@@ -8662,7 +8995,7 @@ function ArticleScatterChart({
|
|
|
8662
8995
|
var _a;
|
|
8663
8996
|
return (_a = d.color) != null ? _a : color;
|
|
8664
8997
|
});
|
|
8665
|
-
return /* @__PURE__ */ jsxRuntime.jsx("figure", { className: `${
|
|
8998
|
+
return /* @__PURE__ */ jsxRuntime.jsx("figure", { className: `${__default80.figure}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default80.chartWrapper, style: { height }, children: /* @__PURE__ */ jsxRuntime.jsx(recharts.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxRuntime.jsxs(recharts.ScatterChart, { margin: { top: 8, right: 16, bottom: 4, left: 8 }, children: [
|
|
8666
8999
|
/* @__PURE__ */ jsxRuntime.jsx(recharts.CartesianGrid, { strokeDasharray: "3 3", stroke: "var(--border-color)" }),
|
|
8667
9000
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8668
9001
|
recharts.XAxis,
|
|
@@ -8698,14 +9031,14 @@ function ArticleScatterChart({
|
|
|
8698
9031
|
if (!active || !(payload == null ? void 0 : payload.length)) return null;
|
|
8699
9032
|
const point = (_a = payload[0]) == null ? void 0 : _a.payload;
|
|
8700
9033
|
const fmt = valueFormatter != null ? valueFormatter : ((v) => String(v));
|
|
8701
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
8702
|
-
point.label && /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
8703
|
-
xLabel && /* @__PURE__ */ jsxRuntime.jsxs("p", { className:
|
|
9034
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default80.tooltip, children: [
|
|
9035
|
+
point.label && /* @__PURE__ */ jsxRuntime.jsx("p", { className: __default80.scatterTooltipLabel, children: point.label }),
|
|
9036
|
+
xLabel && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: __default80.scatterTooltipRow, children: [
|
|
8704
9037
|
xLabel,
|
|
8705
9038
|
": ",
|
|
8706
9039
|
fmt(point.x)
|
|
8707
9040
|
] }),
|
|
8708
|
-
yLabel && /* @__PURE__ */ jsxRuntime.jsxs("p", { className:
|
|
9041
|
+
yLabel && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: __default80.scatterTooltipRow, children: [
|
|
8709
9042
|
yLabel,
|
|
8710
9043
|
": ",
|
|
8711
9044
|
fmt(point.y)
|
|
@@ -8782,7 +9115,7 @@ __styleInject(`.LandingLayout-module_headerMode {
|
|
|
8782
9115
|
padding-right: 4rem;
|
|
8783
9116
|
}
|
|
8784
9117
|
}`);
|
|
8785
|
-
var
|
|
9118
|
+
var __default81 = { "headerMode": "LandingLayout-module_headerMode", "headerMain": "LandingLayout-module_headerMain", "sidebarMode": "LandingLayout-module_sidebarMode", "sidebarNav": "LandingLayout-module_sidebarNav", "sidebarMain": "LandingLayout-module_sidebarMain", "sidebarContent": "LandingLayout-module_sidebarContent" };
|
|
8786
9119
|
function LandingLayout({
|
|
8787
9120
|
mode = "header",
|
|
8788
9121
|
nav,
|
|
@@ -8791,17 +9124,17 @@ function LandingLayout({
|
|
|
8791
9124
|
className = ""
|
|
8792
9125
|
}) {
|
|
8793
9126
|
if (mode === "sidebar") {
|
|
8794
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
8795
|
-
nav && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
8796
|
-
/* @__PURE__ */ jsxRuntime.jsxs("main", { className:
|
|
8797
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
9127
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default81.sidebarMode}${className ? ` ${className}` : ""}`, children: [
|
|
9128
|
+
nav && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default81.sidebarNav, children: nav }),
|
|
9129
|
+
/* @__PURE__ */ jsxRuntime.jsxs("main", { className: __default81.sidebarMain, children: [
|
|
9130
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: __default81.sidebarContent, children }),
|
|
8798
9131
|
footer
|
|
8799
9132
|
] })
|
|
8800
9133
|
] });
|
|
8801
9134
|
}
|
|
8802
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${
|
|
9135
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default81.headerMode}${className ? ` ${className}` : ""}`, children: [
|
|
8803
9136
|
nav,
|
|
8804
|
-
/* @__PURE__ */ jsxRuntime.jsx("main", { className:
|
|
9137
|
+
/* @__PURE__ */ jsxRuntime.jsx("main", { className: __default81.headerMain, children }),
|
|
8805
9138
|
footer
|
|
8806
9139
|
] });
|
|
8807
9140
|
}
|
|
@@ -8828,6 +9161,7 @@ exports.ArticleWide = ArticleWide;
|
|
|
8828
9161
|
exports.Avatar = Avatar;
|
|
8829
9162
|
exports.Badge = Badge;
|
|
8830
9163
|
exports.BentoGrid = BentoGrid;
|
|
9164
|
+
exports.BottomSheet = BottomSheet;
|
|
8831
9165
|
exports.Breadcrumbs = Breadcrumbs;
|
|
8832
9166
|
exports.Button = Button;
|
|
8833
9167
|
exports.CTASection = CTASection;
|