@stokr/components-library 3.0.72-beta.4 → 3.0.72-beta.5
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.
|
@@ -155,11 +155,15 @@ const PaymentDisplay = ({
|
|
|
155
155
|
onAmountCopy,
|
|
156
156
|
onAddressCopy,
|
|
157
157
|
copyButtonStyle,
|
|
158
|
+
// Optional chip rendered at the top of the card (e.g. an expiry countdown
|
|
159
|
+
// pill) — a plain slot, the card has no opinion on what it contains.
|
|
160
|
+
chip,
|
|
158
161
|
// Arbitrary extra content (e.g. a "show details" toggle + table, extra
|
|
159
162
|
// buttons) — rendered last, inside the card.
|
|
160
163
|
children
|
|
161
164
|
}) => {
|
|
162
165
|
return /* @__PURE__ */ jsx(ComponentWrapper, { noPadding: true, center: true, style: containerStyle, className, children: /* @__PURE__ */ jsxs(CodeWrapper, { style: codeWrapperStyle, maxWidth, className: codeWrapperClassName, children: [
|
|
166
|
+
chip,
|
|
163
167
|
/* @__PURE__ */ jsxs(AmountBlock, { children: [
|
|
164
168
|
/* @__PURE__ */ jsx(SectionTitle, { children: amountTitle }),
|
|
165
169
|
/* @__PURE__ */ jsxs(AmountRow, { style: amountSectionStyle, children: [
|
|
@@ -60,6 +60,9 @@ const PaymentPendingCard = ({
|
|
|
60
60
|
actionHref,
|
|
61
61
|
onActionClick,
|
|
62
62
|
footerNote,
|
|
63
|
+
// Optional chip rendered at the top of the card (e.g. an expiry countdown
|
|
64
|
+
// pill) — a plain slot, the card has no opinion on what it contains.
|
|
65
|
+
chip,
|
|
63
66
|
maxWidth,
|
|
64
67
|
containerStyle,
|
|
65
68
|
codeWrapperStyle,
|
|
@@ -68,6 +71,7 @@ const PaymentPendingCard = ({
|
|
|
68
71
|
children
|
|
69
72
|
}) => {
|
|
70
73
|
return /* @__PURE__ */ jsx(ComponentWrapper, { noPadding: true, center: true, style: containerStyle, className, children: /* @__PURE__ */ jsxs(CodeWrapper, { style: { gap: "40px", ...codeWrapperStyle }, maxWidth, className: codeWrapperClassName, children: [
|
|
74
|
+
chip,
|
|
71
75
|
/* @__PURE__ */ jsx(Spinner, {}),
|
|
72
76
|
(title || description) && /* @__PURE__ */ jsxs(TextBlock, { children: [
|
|
73
77
|
title && /* @__PURE__ */ jsx(Title, { children: title }),
|