@designa8/vibedesign-supabase-deepseek-image-v1-2-176b 0.3.2 → 0.3.4
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/README.md +1 -1
- package/dist/index.cjs +202 -117
- package/dist/index.js +202 -117
- package/dist/styles.css +13 -0
- package/package.json +1 -1
- package/src/atoms/BillingPeriodToggleDesktop/BillingPeriodToggleDesktop.tsx +14 -6
- package/src/atoms/PricingTable/PricingTable.tsx +37 -4
- package/src/atoms/PricingTable/preview.tsx +33 -7
- package/src/atoms/PricingTableDesktop/PricingTableDesktop.tsx +78 -23
- package/src/atoms/PricingTableDesktop/preview.tsx +33 -7
- package/src/atoms/PricingTableMobile/PricingTableMobile.tsx +12 -1
- package/src/atoms/TestimonialBlock/TestimonialBlock.tsx +37 -8
- package/src/atoms/TestimonialBlock/preview.tsx +43 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @designa8/vibedesign-supabase-deepseek-image-v1-2-176b
|
|
2
2
|
|
|
3
|
-
Complete design system generated by Atoms Design, version **0.3.
|
|
3
|
+
Complete design system generated by Atoms Design, version **0.3.4**.
|
|
4
4
|
Tokens, atoms, molecules, organisms, and templates — import from the package root;
|
|
5
5
|
never hardcode visual values in consumer code.
|
|
6
6
|
|
package/dist/index.cjs
CHANGED
|
@@ -1605,60 +1605,55 @@ var BillingPeriodToggleDesktop = React12.forwardRef(
|
|
|
1605
1605
|
buttonRefs.current[next]?.focus();
|
|
1606
1606
|
};
|
|
1607
1607
|
const indicator = selectedIndex >= 0 ? rects[selectedIndex] : void 0;
|
|
1608
|
-
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
1608
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { ref, className: cn9("inline-flex", className), ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|
|
1609
1609
|
"div",
|
|
1610
1610
|
{
|
|
1611
|
-
ref,
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
{
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
);
|
|
1656
|
-
})
|
|
1657
|
-
]
|
|
1658
|
-
}
|
|
1659
|
-
)
|
|
1611
|
+
ref: trackRef,
|
|
1612
|
+
role: "group",
|
|
1613
|
+
"aria-label": label,
|
|
1614
|
+
onKeyDown: handleKeyDown,
|
|
1615
|
+
className: "relative inline-flex items-center gap-xxs rounded-lg border border-hairline bg-surface-soft p-xxs",
|
|
1616
|
+
children: [
|
|
1617
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
1618
|
+
"span",
|
|
1619
|
+
{
|
|
1620
|
+
"aria-hidden": "true",
|
|
1621
|
+
className: "pointer-events-none absolute left-0 top-0 rounded-md border border-hairline bg-surface shadow-sm transition-[transform,width,height,opacity] duration-200 ease-out",
|
|
1622
|
+
style: {
|
|
1623
|
+
width: indicator?.width ?? 0,
|
|
1624
|
+
height: indicator?.height ?? 0,
|
|
1625
|
+
transform: `translate(${indicator?.x ?? 0}px, ${indicator?.y ?? 0}px)`,
|
|
1626
|
+
opacity: indicator ? 1 : 0
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
),
|
|
1630
|
+
options.map((option, index) => {
|
|
1631
|
+
const selected = index === selectedIndex;
|
|
1632
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
1633
|
+
Button,
|
|
1634
|
+
{
|
|
1635
|
+
ref: (node) => {
|
|
1636
|
+
buttonRefs.current[index] = node;
|
|
1637
|
+
},
|
|
1638
|
+
variant: "bare",
|
|
1639
|
+
size: "sm",
|
|
1640
|
+
"aria-pressed": selected,
|
|
1641
|
+
onClick: () => select(option.value),
|
|
1642
|
+
className: cn9(
|
|
1643
|
+
"relative z-10 px-md",
|
|
1644
|
+
selected ? "text-ink" : "text-muted hover:text-ink"
|
|
1645
|
+
),
|
|
1646
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("span", { className: "inline-flex items-center gap-xs", children: [
|
|
1647
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { children: option.label }),
|
|
1648
|
+
option.badge ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "rounded-full bg-primary/10 px-xs py-xxs text-caption text-primary-ink", children: option.badge }) : null
|
|
1649
|
+
] })
|
|
1650
|
+
},
|
|
1651
|
+
option.value
|
|
1652
|
+
);
|
|
1653
|
+
})
|
|
1654
|
+
]
|
|
1660
1655
|
}
|
|
1661
|
-
);
|
|
1656
|
+
) });
|
|
1662
1657
|
}
|
|
1663
1658
|
);
|
|
1664
1659
|
BillingPeriodToggleDesktop.displayName = "BillingPeriodToggleDesktop";
|
|
@@ -14677,6 +14672,7 @@ function resolveBilling(plan, period) {
|
|
|
14677
14672
|
}
|
|
14678
14673
|
var PricingTableDesktop = React72.forwardRef(
|
|
14679
14674
|
({
|
|
14675
|
+
surface = "canvas",
|
|
14680
14676
|
eyebrow = "Pricing table",
|
|
14681
14677
|
title = "Pricing table",
|
|
14682
14678
|
plans = DEFAULT_PRICING_PLANS,
|
|
@@ -14685,6 +14681,8 @@ var PricingTableDesktop = React72.forwardRef(
|
|
|
14685
14681
|
defaultPeriod,
|
|
14686
14682
|
onPeriodChange,
|
|
14687
14683
|
showPeriodToggle = true,
|
|
14684
|
+
featuredLabel,
|
|
14685
|
+
size = "md",
|
|
14688
14686
|
onPlanAction,
|
|
14689
14687
|
className,
|
|
14690
14688
|
...rest
|
|
@@ -14697,11 +14695,16 @@ var PricingTableDesktop = React72.forwardRef(
|
|
|
14697
14695
|
if (period === void 0) setUncontrolled(next);
|
|
14698
14696
|
onPeriodChange?.(next);
|
|
14699
14697
|
};
|
|
14698
|
+
const large = size === "lg";
|
|
14700
14699
|
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
14701
14700
|
"section",
|
|
14702
14701
|
{
|
|
14703
14702
|
ref,
|
|
14704
|
-
className: cn57(
|
|
14703
|
+
className: cn57(
|
|
14704
|
+
"w-full",
|
|
14705
|
+
surface === "canvas" ? "bg-canvas px-lg py-xl" : "bg-transparent",
|
|
14706
|
+
className
|
|
14707
|
+
),
|
|
14705
14708
|
...rest,
|
|
14706
14709
|
children: [
|
|
14707
14710
|
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "flex flex-col gap-base md:flex-row md:items-end md:justify-between", children: [
|
|
@@ -14726,54 +14729,85 @@ var PricingTableDesktop = React72.forwardRef(
|
|
|
14726
14729
|
"article",
|
|
14727
14730
|
{
|
|
14728
14731
|
className: cn57(
|
|
14729
|
-
"col-span-12 flex flex-col rounded-lg border
|
|
14730
|
-
|
|
14732
|
+
"col-span-12 flex h-full flex-col rounded-lg border transition duration-200 ease-out md:col-span-4",
|
|
14733
|
+
"hover:-translate-y-xs hover:shadow-card motion-reduce:transform-none",
|
|
14734
|
+
large ? "p-lg" : "p-base",
|
|
14735
|
+
featured ? "border-primary/40 bg-primary/10" : "border-hairline bg-surface",
|
|
14736
|
+
large && featured ? "shadow-card" : ""
|
|
14731
14737
|
),
|
|
14732
14738
|
children: [
|
|
14739
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "flex items-center gap-sm", children: [
|
|
14740
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
14741
|
+
"h3",
|
|
14742
|
+
{
|
|
14743
|
+
className: cn57(
|
|
14744
|
+
large ? "text-heading-sm" : "text-body-md",
|
|
14745
|
+
featured ? "text-primary-ink" : "text-ink"
|
|
14746
|
+
),
|
|
14747
|
+
children: plan.name
|
|
14748
|
+
}
|
|
14749
|
+
),
|
|
14750
|
+
featured && featuredLabel ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "whitespace-nowrap rounded-full border border-primary/40 bg-surface px-sm py-xxs text-caption text-primary-ink", children: featuredLabel }) : null
|
|
14751
|
+
] }),
|
|
14752
|
+
large ? /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "mt-base flex items-baseline gap-sm", children: [
|
|
14753
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "text-display-lg text-ink", children: billing.price }),
|
|
14754
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "text-caption text-muted", children: billing.period })
|
|
14755
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "mt-sm flex flex-col gap-xxs", children: [
|
|
14756
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "text-heading-md text-ink", children: billing.price }),
|
|
14757
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "text-caption text-muted", children: billing.period })
|
|
14758
|
+
] }),
|
|
14733
14759
|
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
14734
|
-
"
|
|
14760
|
+
"p",
|
|
14735
14761
|
{
|
|
14736
14762
|
className: cn57(
|
|
14737
|
-
"
|
|
14738
|
-
|
|
14763
|
+
"mt-base",
|
|
14764
|
+
large ? "text-body-md text-muted" : "text-body-sm text-muted"
|
|
14739
14765
|
),
|
|
14740
|
-
children: plan.
|
|
14766
|
+
children: plan.description
|
|
14741
14767
|
}
|
|
14742
14768
|
),
|
|
14743
|
-
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "mt-sm flex flex-col gap-xxs", children: [
|
|
14744
|
-
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "text-heading-md text-ink", children: billing.price }),
|
|
14745
|
-
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "text-caption text-muted", children: billing.period })
|
|
14746
|
-
] }),
|
|
14747
|
-
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("p", { className: "mt-base text-body-sm text-muted", children: plan.description }),
|
|
14748
14769
|
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "mt-base", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
14749
14770
|
Button,
|
|
14750
14771
|
{
|
|
14751
14772
|
variant: featured ? "primary" : "secondary",
|
|
14752
|
-
size: "sm",
|
|
14773
|
+
size: large ? "md" : "sm",
|
|
14753
14774
|
align: "center",
|
|
14775
|
+
fullWidth: large,
|
|
14754
14776
|
onClick: () => onPlanAction?.(plan),
|
|
14755
14777
|
children: plan.ctaLabel
|
|
14756
14778
|
}
|
|
14757
14779
|
) }),
|
|
14758
|
-
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
14759
|
-
"
|
|
14780
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
14781
|
+
"ul",
|
|
14760
14782
|
{
|
|
14761
|
-
className:
|
|
14762
|
-
|
|
14763
|
-
|
|
14764
|
-
|
|
14765
|
-
|
|
14766
|
-
|
|
14767
|
-
|
|
14768
|
-
|
|
14769
|
-
|
|
14770
|
-
|
|
14771
|
-
|
|
14772
|
-
|
|
14773
|
-
|
|
14774
|
-
|
|
14775
|
-
|
|
14776
|
-
|
|
14783
|
+
className: cn57(
|
|
14784
|
+
"flex flex-col",
|
|
14785
|
+
large ? "mt-lg gap-md" : "mt-lg gap-sm"
|
|
14786
|
+
),
|
|
14787
|
+
children: plan.features.map((feature) => /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
14788
|
+
"li",
|
|
14789
|
+
{
|
|
14790
|
+
className: cn57(
|
|
14791
|
+
"flex items-center gap-sm",
|
|
14792
|
+
large ? "text-body-md text-body" : "text-body-sm text-body"
|
|
14793
|
+
),
|
|
14794
|
+
children: [
|
|
14795
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
14796
|
+
Icon,
|
|
14797
|
+
{
|
|
14798
|
+
name: "check",
|
|
14799
|
+
size: 16,
|
|
14800
|
+
tone: "inherit",
|
|
14801
|
+
className: featured ? "text-primary-ink" : "text-muted"
|
|
14802
|
+
}
|
|
14803
|
+
),
|
|
14804
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { children: feature })
|
|
14805
|
+
]
|
|
14806
|
+
},
|
|
14807
|
+
feature
|
|
14808
|
+
))
|
|
14809
|
+
}
|
|
14810
|
+
)
|
|
14777
14811
|
]
|
|
14778
14812
|
},
|
|
14779
14813
|
plan.id
|
|
@@ -14840,6 +14874,7 @@ function resolveBilling2(plan, period) {
|
|
|
14840
14874
|
}
|
|
14841
14875
|
var PricingTableMobile = React73.forwardRef(
|
|
14842
14876
|
({
|
|
14877
|
+
surface = "canvas",
|
|
14843
14878
|
eyebrow,
|
|
14844
14879
|
title,
|
|
14845
14880
|
plans = DEFAULT_MOBILE_PRICING_PLANS,
|
|
@@ -14865,7 +14900,11 @@ var PricingTableMobile = React73.forwardRef(
|
|
|
14865
14900
|
"section",
|
|
14866
14901
|
{
|
|
14867
14902
|
ref,
|
|
14868
|
-
className: cn58(
|
|
14903
|
+
className: cn58(
|
|
14904
|
+
"w-full",
|
|
14905
|
+
surface === "canvas" ? "bg-canvas px-base py-lg" : "bg-transparent",
|
|
14906
|
+
className
|
|
14907
|
+
),
|
|
14869
14908
|
...rest,
|
|
14870
14909
|
children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "mx-auto flex w-full max-w-[24rem] flex-col gap-base", children: [
|
|
14871
14910
|
eyebrow ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "text-label-caps text-muted", children: eyebrow }) : null,
|
|
@@ -14951,6 +14990,7 @@ PricingTableMobile.displayName = "PricingTableMobile";
|
|
|
14951
14990
|
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
14952
14991
|
var PricingTable = React74.forwardRef(
|
|
14953
14992
|
({
|
|
14993
|
+
surface = "canvas",
|
|
14954
14994
|
eyebrow,
|
|
14955
14995
|
title,
|
|
14956
14996
|
plans,
|
|
@@ -14960,6 +15000,7 @@ var PricingTable = React74.forwardRef(
|
|
|
14960
15000
|
onPeriodChange,
|
|
14961
15001
|
showPeriodToggle = true,
|
|
14962
15002
|
featuredLabel,
|
|
15003
|
+
size = "md",
|
|
14963
15004
|
onPlanAction,
|
|
14964
15005
|
desktopClassName,
|
|
14965
15006
|
mobileClassName,
|
|
@@ -14974,35 +15015,63 @@ var PricingTable = React74.forwardRef(
|
|
|
14974
15015
|
if (period === void 0) setUncontrolledPeriod(next);
|
|
14975
15016
|
onPeriodChange?.(next);
|
|
14976
15017
|
};
|
|
14977
|
-
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
14978
|
-
|
|
14979
|
-
|
|
14980
|
-
|
|
14981
|
-
|
|
14982
|
-
|
|
14983
|
-
|
|
14984
|
-
|
|
14985
|
-
|
|
14986
|
-
|
|
14987
|
-
|
|
14988
|
-
|
|
14989
|
-
|
|
14990
|
-
|
|
14991
|
-
|
|
14992
|
-
|
|
14993
|
-
|
|
14994
|
-
|
|
14995
|
-
|
|
14996
|
-
|
|
14997
|
-
|
|
14998
|
-
|
|
14999
|
-
|
|
15000
|
-
|
|
15001
|
-
|
|
15002
|
-
|
|
15003
|
-
|
|
15004
|
-
|
|
15005
|
-
|
|
15018
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
15019
|
+
"div",
|
|
15020
|
+
{
|
|
15021
|
+
ref,
|
|
15022
|
+
className: [
|
|
15023
|
+
"w-full",
|
|
15024
|
+
surface === "transparent" ? "bg-transparent" : "bg-canvas",
|
|
15025
|
+
className
|
|
15026
|
+
].filter(Boolean).join(" "),
|
|
15027
|
+
...rest,
|
|
15028
|
+
children: [
|
|
15029
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
15030
|
+
"div",
|
|
15031
|
+
{
|
|
15032
|
+
className: ["hidden md:block", desktopClassName].filter(Boolean).join(" "),
|
|
15033
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
15034
|
+
PricingTableDesktop,
|
|
15035
|
+
{
|
|
15036
|
+
surface,
|
|
15037
|
+
eyebrow,
|
|
15038
|
+
title,
|
|
15039
|
+
plans,
|
|
15040
|
+
periods,
|
|
15041
|
+
period: currentPeriod,
|
|
15042
|
+
onPeriodChange: handlePeriodChange,
|
|
15043
|
+
showPeriodToggle,
|
|
15044
|
+
featuredLabel,
|
|
15045
|
+
size,
|
|
15046
|
+
onPlanAction
|
|
15047
|
+
}
|
|
15048
|
+
)
|
|
15049
|
+
}
|
|
15050
|
+
),
|
|
15051
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
15052
|
+
"div",
|
|
15053
|
+
{
|
|
15054
|
+
className: ["md:hidden", mobileClassName].filter(Boolean).join(" "),
|
|
15055
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
15056
|
+
PricingTableMobile,
|
|
15057
|
+
{
|
|
15058
|
+
surface,
|
|
15059
|
+
eyebrow,
|
|
15060
|
+
title,
|
|
15061
|
+
plans,
|
|
15062
|
+
periods,
|
|
15063
|
+
period: currentPeriod,
|
|
15064
|
+
onPeriodChange: handlePeriodChange,
|
|
15065
|
+
showPeriodToggle,
|
|
15066
|
+
featuredLabel,
|
|
15067
|
+
onPlanAction
|
|
15068
|
+
}
|
|
15069
|
+
)
|
|
15070
|
+
}
|
|
15071
|
+
)
|
|
15072
|
+
]
|
|
15073
|
+
}
|
|
15074
|
+
);
|
|
15006
15075
|
}
|
|
15007
15076
|
);
|
|
15008
15077
|
PricingTable.displayName = "PricingTable";
|
|
@@ -17696,12 +17765,17 @@ function QuoteMark({ size = 40 }) {
|
|
|
17696
17765
|
}
|
|
17697
17766
|
function Attribution({
|
|
17698
17767
|
name,
|
|
17768
|
+
role,
|
|
17699
17769
|
handle,
|
|
17700
17770
|
avatarSrc
|
|
17701
17771
|
}) {
|
|
17772
|
+
const secondary = role ?? handle;
|
|
17702
17773
|
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "flex items-center gap-sm", children: [
|
|
17703
|
-
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Avatar, { src: avatarSrc, name, size: "
|
|
17704
|
-
/* @__PURE__ */ (0, import_jsx_runtime86.
|
|
17774
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Avatar, { src: avatarSrc, name, size: "sm" }),
|
|
17775
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("span", { className: "flex min-w-0 flex-col", children: [
|
|
17776
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { className: "truncate text-label text-ink", children: name }),
|
|
17777
|
+
secondary ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { className: "truncate text-caption text-muted", children: secondary }) : null
|
|
17778
|
+
] })
|
|
17705
17779
|
] });
|
|
17706
17780
|
}
|
|
17707
17781
|
var TestimonialBlock = React87.forwardRef(
|
|
@@ -17709,6 +17783,7 @@ var TestimonialBlock = React87.forwardRef(
|
|
|
17709
17783
|
layout = "quote",
|
|
17710
17784
|
quote = DEFAULT_QUOTE,
|
|
17711
17785
|
name = "Alistair Chen",
|
|
17786
|
+
role,
|
|
17712
17787
|
handle = "@alistair.codes",
|
|
17713
17788
|
avatarSrc,
|
|
17714
17789
|
testimonials = DEFAULT_TESTIMONIALS,
|
|
@@ -17763,9 +17838,10 @@ var TestimonialBlock = React87.forwardRef(
|
|
|
17763
17838
|
children: testimonials.map((item) => /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
|
|
17764
17839
|
"li",
|
|
17765
17840
|
{
|
|
17766
|
-
className: "flex flex-col justify-between gap-lg rounded-lg border border-hairline bg-surface p-lg shadow-sm",
|
|
17841
|
+
className: "flex flex-col justify-between gap-lg rounded-lg border border-hairline bg-surface p-lg shadow-sm transition duration-200 ease-out hover:-translate-y-xs hover:shadow-card motion-reduce:transform-none",
|
|
17767
17842
|
children: [
|
|
17768
17843
|
/* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "flex flex-col gap-sm", children: [
|
|
17844
|
+
item.highlight ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "text-label text-primary-ink", children: item.highlight }) : null,
|
|
17769
17845
|
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(QuoteMark, { size: 30 }),
|
|
17770
17846
|
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("blockquote", { className: "text-body-lg text-ink", children: item.quote })
|
|
17771
17847
|
] }),
|
|
@@ -17773,13 +17849,14 @@ var TestimonialBlock = React87.forwardRef(
|
|
|
17773
17849
|
Attribution,
|
|
17774
17850
|
{
|
|
17775
17851
|
name: item.name,
|
|
17852
|
+
role: item.role,
|
|
17776
17853
|
handle: item.handle,
|
|
17777
17854
|
avatarSrc: item.avatarSrc
|
|
17778
17855
|
}
|
|
17779
17856
|
)
|
|
17780
17857
|
]
|
|
17781
17858
|
},
|
|
17782
|
-
item.name
|
|
17859
|
+
item.id ?? item.name
|
|
17783
17860
|
))
|
|
17784
17861
|
}
|
|
17785
17862
|
)
|
|
@@ -17796,7 +17873,15 @@ var TestimonialBlock = React87.forwardRef(
|
|
|
17796
17873
|
children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("figure", { className: "flex w-full flex-col gap-base", children: [
|
|
17797
17874
|
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(QuoteMark, { size: 40 }),
|
|
17798
17875
|
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("blockquote", { className: "max-w-2xl text-body-lg text-ink", children: quote }),
|
|
17799
|
-
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("figcaption", { children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
17876
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("figcaption", { children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
17877
|
+
Attribution,
|
|
17878
|
+
{
|
|
17879
|
+
name,
|
|
17880
|
+
role,
|
|
17881
|
+
handle,
|
|
17882
|
+
avatarSrc
|
|
17883
|
+
}
|
|
17884
|
+
) })
|
|
17800
17885
|
] })
|
|
17801
17886
|
}
|
|
17802
17887
|
);
|