@alfadocs/ui-kit 1.0.0 → 1.2.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/_chunks/{actions-cell-renderer-DaL80uqL.js → actions-cell-renderer-ClGCSQnA.js} +600 -565
- package/dist/_chunks/{ai-consent-banner-BXD7W6FI.js → ai-consent-banner-DKgFfSzc.js} +2 -2
- package/dist/_chunks/{alert-Cxaqd-QO.js → alert-DS22ha1n.js} +103 -98
- package/dist/_chunks/{annotation-marker-qt5R9WZX.js → annotation-marker-CsUJGZjQ.js} +7 -5
- package/dist/_chunks/{audio-recorder-BjnB7V8n.js → audio-recorder-sRsGS-0V.js} +2 -2
- package/dist/_chunks/{booking-DSOK-bnR.js → booking-D8fCzcUd.js} +2 -2
- package/dist/_chunks/{care-plan-card-BrwhyIJI.js → care-plan-card-DjjVnBYz.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-DWEdCQM3.js → care-plan-entry-card-BVhpvd-P.js} +2 -2
- package/dist/_chunks/{collapsible-BrnRiCC6.js → collapsible-CGL9ontS.js} +65 -61
- package/dist/_chunks/{document-preview-DXsCEj4U.js → document-preview-DAczwybt.js} +2 -2
- package/dist/_chunks/{document-scanner-cS_ispQs.js → document-scanner-BRYIc3A-.js} +2 -2
- package/dist/_chunks/{entity-summary-BILN4wEG.js → entity-summary-BS6n7Iah.js} +2 -2
- package/dist/_chunks/{face-scheme-CjQAHvSP.js → face-scheme-Cou2efl7.js} +2 -2
- package/dist/_chunks/{file-manager-B9LZzT5E.js → file-manager-CNSLiuLo.js} +2 -2
- package/dist/_chunks/{freemium-paywall-Dr2342_S.js → freemium-paywall-DsT7MaLd.js} +2 -2
- package/dist/_chunks/link-cell-renderer-_DlEZHLI.js +772 -0
- package/dist/_chunks/{marketplace-app-shell-pCHBp8bo.js → marketplace-app-shell-DQC9Gpm0.js} +2 -2
- package/dist/_chunks/{muscle-scheme-kgCX5qfO.js → muscle-scheme-yfzP_xoJ.js} +2 -2
- package/dist/_chunks/notes-panel-CCz0J140.js +370 -0
- package/dist/_chunks/{patient-details-UmNcxL0c.js → patient-details-l7pnsUq9.js} +2 -2
- package/dist/_chunks/{patient-search-vtRTSdf6.js → patient-search-H54Utav2.js} +2 -2
- package/dist/_chunks/{patient-table-QEVsFvwq.js → patient-table-DXk0wW8Q.js} +243 -239
- package/dist/_chunks/payment-automation-upsell-C4LIw1iQ.js +305 -0
- package/dist/_chunks/{payment-form-BoGxEmGn.js → payment-form-CyKT20xZ.js} +2 -2
- package/dist/_chunks/{payment-request-card-CygO1anM.js → payment-request-card-CN30J6yM.js} +107 -138
- package/dist/_chunks/{pdf-viewer-CcOuR2wj.js → pdf-viewer-DHg8SfUI.js} +2 -2
- package/dist/_chunks/{practice-results-yKbwIxqa.js → practice-results-qvJRkvLn.js} +2 -2
- package/dist/_chunks/receipt-euro-C6k4Gzhr.js +36 -0
- package/dist/_chunks/{reviews-panel-DmOjvmyH.js → reviews-panel-BfUJhx3m.js} +2 -2
- package/dist/_chunks/{sign-document-cH9CboWB.js → sign-document-D70TEUw9.js} +2 -2
- package/dist/_chunks/{signature-request-BzXTV_RH.js → signature-request-BlNCXpRN.js} +2 -2
- package/dist/_chunks/sparkline-DJtZBe7O.js +501 -0
- package/dist/_chunks/{warning-stack-DKeAfj5M.js → warning-stack-IVf0oxh2.js} +2 -2
- package/dist/_chunks/{workflow-map-SIfAhmWz.js → workflow-map-ByyBYj6Y.js} +2 -2
- package/dist/agent-catalog.json +237 -7
- package/dist/agent-i18n/en.json +17 -5
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/alert/alert.d.ts +20 -0
- package/dist/components/alert/index.d.ts +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/annotation-marker/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/data-table/filters/select-filter.d.ts +6 -0
- package/dist/components/data-table/hooks/use-presentational-aria-fix.d.ts +19 -0
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +45 -2
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/sparkline/index.d.ts +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/sparkline/sparkline.d.ts +60 -3
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/host-compat.css +13 -1
- package/dist/i18n/locales/ar.d.ts +3 -0
- package/dist/i18n/locales/ar.js +3 -0
- package/dist/i18n/locales/de.d.ts +3 -0
- package/dist/i18n/locales/de.js +3 -0
- package/dist/i18n/locales/el.d.ts +3 -0
- package/dist/i18n/locales/el.js +3 -0
- package/dist/i18n/locales/en.d.ts +3 -0
- package/dist/i18n/locales/en.js +3 -0
- package/dist/i18n/locales/es.d.ts +3 -0
- package/dist/i18n/locales/es.js +3 -0
- package/dist/i18n/locales/fr.d.ts +3 -0
- package/dist/i18n/locales/fr.js +3 -0
- package/dist/i18n/locales/hi.d.ts +3 -0
- package/dist/i18n/locales/hi.js +3 -0
- package/dist/i18n/locales/it.d.ts +3 -0
- package/dist/i18n/locales/it.js +3 -0
- package/dist/i18n/locales/ja.d.ts +3 -0
- package/dist/i18n/locales/ja.js +3 -0
- package/dist/i18n/locales/nl.d.ts +3 -0
- package/dist/i18n/locales/nl.js +3 -0
- package/dist/i18n/locales/pl.d.ts +3 -0
- package/dist/i18n/locales/pl.js +3 -0
- package/dist/i18n/locales/pt.d.ts +3 -0
- package/dist/i18n/locales/pt.js +3 -0
- package/dist/i18n/locales/ro.d.ts +3 -0
- package/dist/i18n/locales/ro.js +3 -0
- package/dist/i18n/locales/ru.d.ts +3 -0
- package/dist/i18n/locales/ru.js +3 -0
- package/dist/i18n/locales/sq.d.ts +3 -0
- package/dist/i18n/locales/sq.js +3 -0
- package/dist/i18n/locales/sv.d.ts +3 -0
- package/dist/i18n/locales/sv.js +3 -0
- package/dist/i18n/locales/tr.d.ts +3 -0
- package/dist/i18n/locales/tr.js +3 -0
- package/dist/i18n/locales/zh.d.ts +3 -0
- package/dist/i18n/locales/zh.js +3 -0
- package/dist/index.js +974 -1268
- package/dist/locales/ar.json +3 -0
- package/dist/locales/de.json +3 -0
- package/dist/locales/el.json +3 -0
- package/dist/locales/en.json +3 -0
- package/dist/locales/es.json +3 -0
- package/dist/locales/fr.json +3 -0
- package/dist/locales/hi.json +3 -0
- package/dist/locales/it.json +3 -0
- package/dist/locales/ja.json +3 -0
- package/dist/locales/nl.json +3 -0
- package/dist/locales/pl.json +3 -0
- package/dist/locales/pt.json +3 -0
- package/dist/locales/ro.json +3 -0
- package/dist/locales/ru.json +3 -0
- package/dist/locales/sq.json +3 -0
- package/dist/locales/sv.json +3 -0
- package/dist/locales/tr.json +3 -0
- package/dist/locales/zh.json +3 -0
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +5 -0
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +5 -1
- package/dist/_chunks/link-cell-renderer-Bt-mXeQY.js +0 -728
- package/dist/_chunks/notes-panel-CTcOLLVo.js +0 -324
- package/dist/_chunks/sparkline-DcXqRZoq.js +0 -283
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as D, useId as r } from "react";
|
|
3
|
+
import { A as p } from "./alert-DS22ha1n.js";
|
|
4
|
+
import { B as P } from "./badge-DCOqV9mI.js";
|
|
5
|
+
import { B as y } from "./benefit-card-DB1Kdrmc.js";
|
|
6
|
+
import { B as C } from "./button-CPGiR_bH.js";
|
|
7
|
+
import { C as d } from "./card-DPmk26CL.js";
|
|
8
|
+
import { L as n } from "./list-DgE1xWBM.js";
|
|
9
|
+
import { S as U } from "./stat-Bs80Z6Yv.js";
|
|
10
|
+
import { C as f, R as q } from "./receipt-euro-C6k4Gzhr.js";
|
|
11
|
+
import { C as b } from "./circle-check-BN6rz4NV.js";
|
|
12
|
+
import { L as F } from "./lock-ClAFG1gy.js";
|
|
13
|
+
import { S as $ } from "./send-C5kDJ-Mz.js";
|
|
14
|
+
import { c as I } from "./createLucideIcon-DhHxpK9K.js";
|
|
15
|
+
import { C as O } from "./calendar-clock-hbObjfGY.js";
|
|
16
|
+
import { R as W } from "./refresh-cw-DnI0cLFC.js";
|
|
17
|
+
import { T as G } from "./triangle-alert-CBnO6nq_.js";
|
|
18
|
+
import { C as J } from "./clock-Drd4Wtis.js";
|
|
19
|
+
import { S as K } from "./shield-check-DCJALLVh.js";
|
|
20
|
+
/**
|
|
21
|
+
* @license lucide-react v1.22.0 - ISC
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the ISC license.
|
|
24
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/
|
|
26
|
+
const Q = [
|
|
27
|
+
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
28
|
+
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
29
|
+
], V = I("arrow-right", Q);
|
|
30
|
+
/**
|
|
31
|
+
* @license lucide-react v1.22.0 - ISC
|
|
32
|
+
*
|
|
33
|
+
* This source code is licensed under the ISC license.
|
|
34
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
35
|
+
*/
|
|
36
|
+
const X = [
|
|
37
|
+
["path", { d: "m17 2 4 4-4 4", key: "nntrym" }],
|
|
38
|
+
["path", { d: "M3 11v-1a4 4 0 0 1 4-4h14", key: "84bu3i" }],
|
|
39
|
+
["path", { d: "m7 22-4-4 4-4", key: "1wqhfi" }],
|
|
40
|
+
["path", { d: "M21 13v1a4 4 0 0 1-4 4H3", key: "1rx37r" }]
|
|
41
|
+
], Y = I("repeat", X), Z = [
|
|
42
|
+
// eslint-disable-next-line no-restricted-syntax -- sanctioned PAU marketing serif display heading (constraint 10)
|
|
43
|
+
"ds:[font-family:var(--font-serif)] ds:italic ds:font-semibold ds:leading-tight",
|
|
44
|
+
"ds:text-[color:var(--primary)]"
|
|
45
|
+
].join(" "), w = [
|
|
46
|
+
/* @__PURE__ */ e(O, { "aria-hidden": "true", className: "ds:size-5" }, "0"),
|
|
47
|
+
/* @__PURE__ */ e(f, { "aria-hidden": "true", className: "ds:size-5" }, "1"),
|
|
48
|
+
/* @__PURE__ */ e(W, { "aria-hidden": "true", className: "ds:size-5" }, "2"),
|
|
49
|
+
/* @__PURE__ */ e(Y, { "aria-hidden": "true", className: "ds:size-5" }, "3")
|
|
50
|
+
], z = ["violet", "purple", "magenta"], ee = {
|
|
51
|
+
paid: {
|
|
52
|
+
variant: "success",
|
|
53
|
+
icon: /* @__PURE__ */ e(b, { "aria-hidden": "true", className: "ds:size-3.5" })
|
|
54
|
+
},
|
|
55
|
+
authorized: {
|
|
56
|
+
variant: "info",
|
|
57
|
+
icon: /* @__PURE__ */ e(K, { "aria-hidden": "true", className: "ds:size-3.5" })
|
|
58
|
+
},
|
|
59
|
+
pending: {
|
|
60
|
+
variant: "warning",
|
|
61
|
+
icon: /* @__PURE__ */ e(J, { "aria-hidden": "true", className: "ds:size-3.5" })
|
|
62
|
+
},
|
|
63
|
+
overdue: {
|
|
64
|
+
variant: "error",
|
|
65
|
+
icon: /* @__PURE__ */ e(G, { "aria-hidden": "true", className: "ds:size-3.5" })
|
|
66
|
+
}
|
|
67
|
+
}, ae = D(
|
|
68
|
+
({
|
|
69
|
+
role: k = "owner",
|
|
70
|
+
labels: a,
|
|
71
|
+
steps: h,
|
|
72
|
+
features: l,
|
|
73
|
+
metrics: c,
|
|
74
|
+
previewRows: S,
|
|
75
|
+
locale: T = "it-IT",
|
|
76
|
+
currency: A = "EUR",
|
|
77
|
+
onActivate: L,
|
|
78
|
+
onNotifyAdmin: R,
|
|
79
|
+
className: B,
|
|
80
|
+
...H
|
|
81
|
+
}, E) => {
|
|
82
|
+
const g = r(), u = r(), o = r(), m = r(), v = r(), _ = new Intl.NumberFormat(T, {
|
|
83
|
+
style: "currency",
|
|
84
|
+
currency: A
|
|
85
|
+
}), M = Math.min(Math.max(h.length, 1), 4), x = Math.ceil(l.length / 2), j = [
|
|
86
|
+
l.slice(0, x),
|
|
87
|
+
l.slice(x)
|
|
88
|
+
].filter((s) => s.length > 0);
|
|
89
|
+
return /* @__PURE__ */ i(
|
|
90
|
+
"section",
|
|
91
|
+
{
|
|
92
|
+
ref: E,
|
|
93
|
+
"data-component": "payment-automation-upsell",
|
|
94
|
+
"aria-labelledby": g,
|
|
95
|
+
className: [
|
|
96
|
+
"ds:mx-auto ds:flex ds:w-full ds:max-w-[80rem] ds:flex-col ds:gap-[var(--spacing-lg)]",
|
|
97
|
+
"ds:text-[color:var(--foreground)]",
|
|
98
|
+
B ?? ""
|
|
99
|
+
].filter(Boolean).join(" "),
|
|
100
|
+
...H,
|
|
101
|
+
children: [
|
|
102
|
+
/* @__PURE__ */ e(d, { variant: "elevated", children: /* @__PURE__ */ i(d.Body, { className: "ds:relative ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:overflow-hidden ds:sm:flex-row ds:sm:items-center ds:sm:justify-between ds:sm:gap-[var(--spacing-lg)]", children: [
|
|
103
|
+
/* @__PURE__ */ i("div", { className: "ds:flex ds:max-w-prose ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
104
|
+
a.eyebrow ? /* @__PURE__ */ i("span", { className: "type-eyebrow ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)] ds:text-[color:var(--accent)]", children: [
|
|
105
|
+
/* @__PURE__ */ e(f, { "aria-hidden": "true", className: "ds:size-4" }),
|
|
106
|
+
a.eyebrow
|
|
107
|
+
] }) : null,
|
|
108
|
+
/* @__PURE__ */ e(
|
|
109
|
+
"h1",
|
|
110
|
+
{
|
|
111
|
+
id: g,
|
|
112
|
+
className: `${Z} ds:text-[length:var(--font-size-4xl)]`,
|
|
113
|
+
children: a.title
|
|
114
|
+
}
|
|
115
|
+
),
|
|
116
|
+
/* @__PURE__ */ e("p", { className: "type-body ds:text-[color:var(--muted-foreground)]", children: a.subtitle })
|
|
117
|
+
] }),
|
|
118
|
+
/* @__PURE__ */ e(
|
|
119
|
+
f,
|
|
120
|
+
{
|
|
121
|
+
"aria-hidden": "true",
|
|
122
|
+
className: "ds:pointer-events-none ds:hidden ds:size-28 ds:shrink-0 ds:text-[color:var(--accent)] ds:opacity-15 ds:lg:block"
|
|
123
|
+
}
|
|
124
|
+
)
|
|
125
|
+
] }) }),
|
|
126
|
+
/* @__PURE__ */ i(
|
|
127
|
+
"section",
|
|
128
|
+
{
|
|
129
|
+
"aria-labelledby": u,
|
|
130
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
|
|
131
|
+
children: [
|
|
132
|
+
/* @__PURE__ */ e("h2", { id: u, className: "type-title-section", children: a.howItWorksHeading }),
|
|
133
|
+
/* @__PURE__ */ e(y.Row, { columns: M, children: h.map((s, t) => /* @__PURE__ */ e(
|
|
134
|
+
y,
|
|
135
|
+
{
|
|
136
|
+
step: t + 1,
|
|
137
|
+
accent: z[t % z.length],
|
|
138
|
+
icon: s.icon ?? w[t % w.length],
|
|
139
|
+
title: s.title,
|
|
140
|
+
children: s.description
|
|
141
|
+
},
|
|
142
|
+
s.id
|
|
143
|
+
)) })
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
),
|
|
147
|
+
/* @__PURE__ */ i(
|
|
148
|
+
"section",
|
|
149
|
+
{
|
|
150
|
+
"aria-labelledby": o,
|
|
151
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
152
|
+
children: [
|
|
153
|
+
/* @__PURE__ */ i("div", { className: "ds:flex ds:items-baseline ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
154
|
+
/* @__PURE__ */ e("h2", { id: o, className: "type-title-section", children: a.previewHeading }),
|
|
155
|
+
a.previewCaption ? /* @__PURE__ */ e("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: a.previewCaption }) : null
|
|
156
|
+
] }),
|
|
157
|
+
/* @__PURE__ */ e(d, { variant: "elevated", children: /* @__PURE__ */ e(d.Body, { className: "ds:p-[var(--spacing-lg)]", children: /* @__PURE__ */ e(
|
|
158
|
+
n,
|
|
159
|
+
{
|
|
160
|
+
divider: "spaced",
|
|
161
|
+
density: "relaxed",
|
|
162
|
+
"aria-labelledby": o,
|
|
163
|
+
children: S.map((s) => {
|
|
164
|
+
const t = ee[s.status];
|
|
165
|
+
return /* @__PURE__ */ e(
|
|
166
|
+
n.Item,
|
|
167
|
+
{
|
|
168
|
+
title: s.title,
|
|
169
|
+
description: s.meta,
|
|
170
|
+
leading: /* @__PURE__ */ e("span", { className: "ds:flex ds:size-10 ds:items-center ds:justify-center ds:rounded-full ds:bg-[color:var(--muted)] ds:text-[color:var(--accent)]", children: /* @__PURE__ */ e(
|
|
171
|
+
q,
|
|
172
|
+
{
|
|
173
|
+
"aria-hidden": "true",
|
|
174
|
+
className: "ds:size-5"
|
|
175
|
+
}
|
|
176
|
+
) }),
|
|
177
|
+
trailing: /* @__PURE__ */ i("span", { className: "ds:flex ds:flex-col ds:items-end ds:gap-[var(--spacing-2xs)]", children: [
|
|
178
|
+
/* @__PURE__ */ e("span", { className: "type-metric ds:text-[color:var(--foreground)] ds:[--type-metric-size:var(--font-size-xl)]", children: _.format(s.amountCents / 100) }),
|
|
179
|
+
/* @__PURE__ */ e(
|
|
180
|
+
P,
|
|
181
|
+
{
|
|
182
|
+
variant: t.variant,
|
|
183
|
+
size: "sm",
|
|
184
|
+
leading: t.icon,
|
|
185
|
+
children: s.statusLabel
|
|
186
|
+
}
|
|
187
|
+
)
|
|
188
|
+
] })
|
|
189
|
+
},
|
|
190
|
+
s.id
|
|
191
|
+
);
|
|
192
|
+
})
|
|
193
|
+
}
|
|
194
|
+
) }) })
|
|
195
|
+
]
|
|
196
|
+
}
|
|
197
|
+
),
|
|
198
|
+
/* @__PURE__ */ i(
|
|
199
|
+
"section",
|
|
200
|
+
{
|
|
201
|
+
"aria-labelledby": m,
|
|
202
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]",
|
|
203
|
+
children: [
|
|
204
|
+
/* @__PURE__ */ i("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
205
|
+
/* @__PURE__ */ e("h2", { id: m, className: "type-title-section", children: a.ctaCardTitle }),
|
|
206
|
+
a.ctaCardSubtitle ? /* @__PURE__ */ e("p", { className: "type-body ds:text-[color:var(--muted-foreground)]", children: a.ctaCardSubtitle }) : null
|
|
207
|
+
] }),
|
|
208
|
+
c && c.length > 0 ? /* @__PURE__ */ e("div", { className: "ds:grid ds:gap-[var(--spacing-md)] ds:[grid-template-columns:repeat(auto-fit,minmax(14rem,1fr))]", children: c.map((s) => /* @__PURE__ */ e(
|
|
209
|
+
U,
|
|
210
|
+
{
|
|
211
|
+
label: s.label,
|
|
212
|
+
value: s.value,
|
|
213
|
+
variant: "elevated",
|
|
214
|
+
size: "lg",
|
|
215
|
+
intent: "primary",
|
|
216
|
+
className: "ds:[--type-metric-family:var(--font-serif)]"
|
|
217
|
+
},
|
|
218
|
+
s.id
|
|
219
|
+
)) }) : null,
|
|
220
|
+
/* @__PURE__ */ e(d, { variant: "elevated", children: /* @__PURE__ */ i(d.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)] ds:p-[var(--spacing-lg)]", children: [
|
|
221
|
+
a.featuresHeading ? /* @__PURE__ */ e(
|
|
222
|
+
"span",
|
|
223
|
+
{
|
|
224
|
+
id: v,
|
|
225
|
+
className: "type-eyebrow ds:text-[color:var(--muted-foreground)]",
|
|
226
|
+
children: a.featuresHeading
|
|
227
|
+
}
|
|
228
|
+
) : null,
|
|
229
|
+
/* @__PURE__ */ e("div", { className: "ds:grid ds:gap-x-[var(--spacing-2xl)] ds:gap-y-[var(--spacing-sm)] ds:sm:grid-cols-2", children: j.map((s, t) => /* @__PURE__ */ e(
|
|
230
|
+
n,
|
|
231
|
+
{
|
|
232
|
+
divider: "spaced",
|
|
233
|
+
density: "default",
|
|
234
|
+
"aria-labelledby": a.featuresHeading ? v : m,
|
|
235
|
+
children: s.map((N) => /* @__PURE__ */ e(
|
|
236
|
+
n.Item,
|
|
237
|
+
{
|
|
238
|
+
title: N.label,
|
|
239
|
+
leading: /* @__PURE__ */ e(
|
|
240
|
+
b,
|
|
241
|
+
{
|
|
242
|
+
"aria-hidden": "true",
|
|
243
|
+
className: "ds:size-5 ds:text-[color:var(--success)]"
|
|
244
|
+
}
|
|
245
|
+
)
|
|
246
|
+
},
|
|
247
|
+
N.id
|
|
248
|
+
))
|
|
249
|
+
},
|
|
250
|
+
t
|
|
251
|
+
)) })
|
|
252
|
+
] }) }),
|
|
253
|
+
/* @__PURE__ */ i("div", { className: "ds:mx-auto ds:flex ds:w-full ds:max-w-[28rem] ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
254
|
+
k === "member" ? /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
255
|
+
a.memberNoticeTitle || a.memberNoticeDescription ? /* @__PURE__ */ i(
|
|
256
|
+
p,
|
|
257
|
+
{
|
|
258
|
+
variant: "info",
|
|
259
|
+
live: "off",
|
|
260
|
+
icon: /* @__PURE__ */ e(F, { "aria-hidden": "true", className: "ds:size-4" }),
|
|
261
|
+
children: [
|
|
262
|
+
a.memberNoticeTitle ? /* @__PURE__ */ e(p.Title, { as: "p", children: a.memberNoticeTitle }) : null,
|
|
263
|
+
a.memberNoticeDescription ? /* @__PURE__ */ e(p.Description, { children: a.memberNoticeDescription }) : null
|
|
264
|
+
]
|
|
265
|
+
}
|
|
266
|
+
) : null,
|
|
267
|
+
/* @__PURE__ */ e(
|
|
268
|
+
C,
|
|
269
|
+
{
|
|
270
|
+
intent: "secondary",
|
|
271
|
+
size: "lg",
|
|
272
|
+
startIcon: /* @__PURE__ */ e($, {}),
|
|
273
|
+
flipIconInRtl: !0,
|
|
274
|
+
onClick: R,
|
|
275
|
+
className: "ds:w-full",
|
|
276
|
+
children: a.notifyAdminLabel ?? a.activateLabel
|
|
277
|
+
}
|
|
278
|
+
)
|
|
279
|
+
] }) : /* @__PURE__ */ e(
|
|
280
|
+
C,
|
|
281
|
+
{
|
|
282
|
+
intent: "primary",
|
|
283
|
+
size: "lg",
|
|
284
|
+
endIcon: /* @__PURE__ */ e(V, {}),
|
|
285
|
+
flipIconInRtl: !0,
|
|
286
|
+
onClick: L,
|
|
287
|
+
className: "ds:w-full",
|
|
288
|
+
children: a.activateLabel
|
|
289
|
+
}
|
|
290
|
+
),
|
|
291
|
+
a.priceNote ? /* @__PURE__ */ e("p", { className: "type-meta ds:text-center ds:text-[color:var(--muted-foreground)]", children: a.priceNote }) : null
|
|
292
|
+
] })
|
|
293
|
+
]
|
|
294
|
+
}
|
|
295
|
+
)
|
|
296
|
+
]
|
|
297
|
+
}
|
|
298
|
+
);
|
|
299
|
+
}
|
|
300
|
+
);
|
|
301
|
+
ae.displayName = "PaymentAutomationUpsell";
|
|
302
|
+
export {
|
|
303
|
+
ae as P
|
|
304
|
+
};
|
|
305
|
+
//# sourceMappingURL=payment-automation-upsell-C4LIw1iQ.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as de, useState as _, useEffect as D, useRef as K, useMemo a
|
|
|
3
3
|
import { c as A } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as W } from "react-i18next";
|
|
5
5
|
import { S as te } from "./spinner-hbwuKwMf.js";
|
|
6
|
-
import { A as ee } from "./alert-
|
|
6
|
+
import { A as ee } from "./alert-DS22ha1n.js";
|
|
7
7
|
import { loadStripe as ue } from "@stripe/stripe-js";
|
|
8
8
|
import { Elements as pe, useStripe as fe, useElements as be, PaymentElement as ye, AddressElement as ge } from "@stripe/react-stripe-js";
|
|
9
9
|
import { u as ve } from "./registry-DvAUVLHh.js";
|
|
@@ -687,4 +687,4 @@ export {
|
|
|
687
687
|
we as p,
|
|
688
688
|
se as s
|
|
689
689
|
};
|
|
690
|
-
//# sourceMappingURL=payment-form-
|
|
690
|
+
//# sourceMappingURL=payment-form-CyKT20xZ.js.map
|