@alfadocs/ui-kit 0.17.1 → 0.17.3
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/{accordion-DOmxGEWU.js → accordion-CNcodXuO.js} +6 -6
- package/dist/_chunks/{ai-prompt-input-DEiQwIMn.js → ai-prompt-input-B-w5Rx3V.js} +184 -181
- package/dist/_chunks/{alert-pgdXrEO5.js → alert-DBnawbmf.js} +64 -59
- package/dist/_chunks/{audio-recorder-CRh4uyFL.js → audio-recorder-DNkQLW1G.js} +3 -3
- package/dist/_chunks/{autocomplete-mOg7WLOh.js → autocomplete-BxfabhZ8.js} +167 -164
- package/dist/_chunks/{balance-cell-renderer-DWWtX-VM.js → balance-cell-renderer-DJB6WDPe.js} +2 -2
- package/dist/_chunks/{chat-input-UK-bXU7u.js → chat-input-B3XmFGDw.js} +123 -122
- package/dist/_chunks/checkbox-group-Bwmt1ovQ.js +213 -0
- package/dist/_chunks/{checkbox-D5EHnB14.js → checkbox-mwbrPZDY.js} +75 -70
- package/dist/_chunks/{collapsible-CuxUBoHJ.js → collapsible-hHiyZp0b.js} +61 -63
- package/dist/_chunks/{color-picker-BPfcByHH.js → color-picker-Bm-gzpsh.js} +2 -2
- package/dist/_chunks/{combobox-D5tWe0t_.js → combobox-Da9eq00i.js} +214 -211
- package/dist/_chunks/{copy-field-BCHAZ8QV.js → copy-field-BAF4mt9h.js} +95 -132
- package/dist/_chunks/{date-picker-BlhtBhPo.js → date-picker-BIoSLRly.js} +222 -219
- package/dist/_chunks/{date-range-picker-C2hRu_Ke.js → date-range-picker-9gANFNG9.js} +81 -78
- package/dist/_chunks/{date-time-picker-B67mPZmP.js → date-time-picker-DG7BiGdb.js} +98 -95
- package/dist/_chunks/{dialog-DRp6Dejy.js → dialog-DUomPCRS.js} +69 -71
- package/dist/_chunks/{dropdown-menu-dyV7gHh_.js → dropdown-menu-DZxwF23X.js} +108 -110
- package/dist/_chunks/{freemium-paywall-BTEiVkes.js → freemium-paywall-DXc7XlGE.js} +98 -97
- package/dist/_chunks/{leo-sidebar-D3TuyH5_.js → leo-sidebar-DIsiTju3.js} +2 -2
- package/dist/_chunks/{list-DcjV0m5B.js → list-BdvDctBz.js} +184 -180
- package/dist/_chunks/{message-tray-Fsend-du.js → message-tray-BNAS8al4.js} +111 -111
- package/dist/_chunks/{multi-select-DooDzQIp.js → multi-select-CyspR5ZF.js} +157 -154
- package/dist/_chunks/{navigation-menu-DdufF-_4.js → navigation-menu-CyS1fBJ7.js} +85 -87
- package/dist/_chunks/{notification-tray-C3dYdLAF.js → notification-tray-D_69dXFY.js} +114 -114
- package/dist/_chunks/{number-input-DH00o0DN.js → number-input-BZXu6bPY.js} +92 -89
- package/dist/_chunks/{otp-input-BBXYvLx5.js → otp-input-BDF_iNpa.js} +92 -93
- package/dist/_chunks/{pagination-F1ei4khE.js → pagination-BWaXF7W0.js} +194 -211
- package/dist/_chunks/{patient-shell-BE0CdPOJ.js → patient-shell-BOOaWZA9.js} +3 -3
- package/dist/_chunks/{payment-form-CI77oIx1.js → payment-form-BjkuQeqR.js} +2 -2
- package/dist/_chunks/{pdf-viewer-CnEJvmXC.js → pdf-viewer-BG_nsFT5.js} +2 -2
- package/dist/_chunks/{radio-group-Cz1a4QCA.js → radio-group-BHZOxrIK.js} +4 -4
- package/dist/_chunks/{select-Ca6ibiDL.js → select-C92AT_OZ.js} +7 -7
- package/dist/_chunks/{sidebar-D8Lq065m.js → sidebar-BqzlRBvC.js} +271 -291
- package/dist/_chunks/{slider-CkR6CLun.js → slider-CfEzeseL.js} +4 -4
- package/dist/_chunks/{tabs-CRCyPpJo.js → tabs-aEQfQV3x.js} +8 -8
- package/dist/_chunks/{theme-toggle-B3meAb3y.js → theme-toggle-BswYl0Yp.js} +2 -2
- package/dist/_chunks/use-controllable-state-BiY4xTzM.js +23 -0
- package/dist/_chunks/use-copy-to-clipboard-Cyfc_dlv.js +43 -0
- package/dist/_chunks/use-persistent-state-i23OWy6G.js +24 -0
- package/dist/_chunks/{warning-stack-CeRihME9.js → warning-stack-CDH9TudY.js} +2 -2
- package/dist/_chunks/{workflow-map-D3MvrsZV.js → workflow-map-BeKe23uw.js} +3 -3
- package/dist/agent-catalog.json +1 -1
- package/dist/components/_shared/use-debounced-callback.d.ts +1 -5
- package/dist/components/_shared/use-direction.d.ts +1 -18
- package/dist/components/_shared/use-focus-trap.d.ts +1 -31
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/command-palette.d.ts +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/icon-button-group/icon-button-group.d.ts +14 -14
- package/dist/components/list/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/navigation-menu/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/pagination/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/radio-group/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/sidebar/index.js +8 -7
- package/dist/components/sidebar/sidebar.d.ts +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.d.ts +8 -0
- package/dist/hooks/index.js +98 -15
- package/dist/hooks/use-debounced-callback.d.ts +19 -0
- package/dist/hooks/use-debounced-value.d.ts +16 -0
- package/dist/hooks/use-direction.d.ts +19 -0
- package/dist/hooks/use-focus-trap.d.ts +32 -0
- package/dist/hooks/use-isomorphic-layout-effect.d.ts +13 -0
- package/dist/hooks/use-persistent-state.d.ts +16 -0
- package/dist/index.js +493 -492
- package/dist/patterns/leo-assistant/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +4 -2
- package/dist/_chunks/checkbox-group-Qkm3Rg1S.js +0 -208
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { jsx as e, jsxs as d } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
2
|
+
import { forwardRef as G, useId as P, useRef as c, useImperativeHandle as E, useMemo as J } from "react";
|
|
3
3
|
import * as i from "@radix-ui/react-alert-dialog";
|
|
4
|
-
import * as
|
|
5
|
-
import { c as
|
|
6
|
-
import { useTranslation as
|
|
7
|
-
import { u as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
4
|
+
import * as I from "@radix-ui/react-radio-group";
|
|
5
|
+
import { c as Q } from "./index-D2ZczOXr.js";
|
|
6
|
+
import { useTranslation as W } from "react-i18next";
|
|
7
|
+
import { u as X } from "./use-controllable-state-BiY4xTzM.js";
|
|
8
|
+
import { u as Y } from "./registry-C9nwlNyL.js";
|
|
9
|
+
import { B as R } from "./button-DD_0Xdmr.js";
|
|
10
|
+
import { P as Z } from "./progress-B-PSO5OS.js";
|
|
11
|
+
import { f as $ } from "./payment-form-BjkuQeqR.js";
|
|
12
|
+
import { T as ee } from "./triangle-alert-CBPUIzQo.js";
|
|
13
|
+
import { C as se } from "./check-DPdL_Sm7.js";
|
|
14
|
+
const ae = {
|
|
14
15
|
id: "freemium-paywall",
|
|
15
16
|
capabilities: ["submit", "dismiss"],
|
|
16
17
|
state: {
|
|
@@ -18,13 +19,13 @@ const te = {
|
|
|
18
19
|
type: "boolean",
|
|
19
20
|
descriptionKey: "ui.agent.freemiumPaywall.state.isOpen",
|
|
20
21
|
description: "True when the paywall dialog is open.",
|
|
21
|
-
read: (
|
|
22
|
+
read: (a) => a.isOpen()
|
|
22
23
|
},
|
|
23
24
|
selectedPlanId: {
|
|
24
25
|
type: "string | null",
|
|
25
26
|
descriptionKey: "ui.agent.freemiumPaywall.state.selectedPlanId",
|
|
26
27
|
description: "Opaque id of the currently-selected plan.",
|
|
27
|
-
read: (
|
|
28
|
+
read: (a) => a.getSelectedPlanId()
|
|
28
29
|
}
|
|
29
30
|
},
|
|
30
31
|
actions: {
|
|
@@ -32,16 +33,16 @@ const te = {
|
|
|
32
33
|
safety: "write",
|
|
33
34
|
descriptionKey: "ui.agent.freemiumPaywall.actions.upgrade",
|
|
34
35
|
description: "Fire onUpgrade with the currently-selected plan id.",
|
|
35
|
-
invoke: (
|
|
36
|
-
|
|
36
|
+
invoke: (a) => {
|
|
37
|
+
a.upgrade();
|
|
37
38
|
}
|
|
38
39
|
},
|
|
39
40
|
dismiss: {
|
|
40
41
|
safety: "destructive",
|
|
41
42
|
descriptionKey: "ui.agent.freemiumPaywall.actions.dismiss",
|
|
42
43
|
description: "Dismiss the paywall via the Not Now action. Irreversible from the same UI.",
|
|
43
|
-
invoke: (
|
|
44
|
-
|
|
44
|
+
invoke: (a) => {
|
|
45
|
+
a.dismiss();
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
},
|
|
@@ -57,7 +58,7 @@ const te = {
|
|
|
57
58
|
description: "Sourced from the id prop."
|
|
58
59
|
}
|
|
59
60
|
}
|
|
60
|
-
},
|
|
61
|
+
}, re = Q(
|
|
61
62
|
[
|
|
62
63
|
"ds:fixed ds:z-[var(--z-modal)] ds:overflow-auto",
|
|
63
64
|
"ds:bg-[color:var(--popover)] ds:text-[color:var(--popover-foreground)]",
|
|
@@ -80,54 +81,54 @@ const te = {
|
|
|
80
81
|
},
|
|
81
82
|
defaultVariants: { layout: "centered", density: "full" }
|
|
82
83
|
}
|
|
83
|
-
),
|
|
84
|
+
), te = G(
|
|
84
85
|
({
|
|
85
|
-
open:
|
|
86
|
-
onOpenChange:
|
|
87
|
-
plans:
|
|
88
|
-
selectedPlanId:
|
|
89
|
-
defaultSelectedPlanId:
|
|
90
|
-
onSelectedPlanChange:
|
|
91
|
-
usage:
|
|
92
|
-
onUpgrade:
|
|
93
|
-
onCancel:
|
|
94
|
-
title:
|
|
95
|
-
description:
|
|
96
|
-
layout:
|
|
97
|
-
density:
|
|
98
|
-
className:
|
|
99
|
-
},
|
|
100
|
-
var
|
|
101
|
-
const { t: s, i18n:
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
},
|
|
106
|
-
|
|
107
|
-
},
|
|
108
|
-
l &&
|
|
109
|
-
},
|
|
110
|
-
|
|
111
|
-
const
|
|
112
|
-
|
|
113
|
-
const
|
|
114
|
-
|
|
115
|
-
const
|
|
86
|
+
open: a,
|
|
87
|
+
onOpenChange: m,
|
|
88
|
+
plans: p,
|
|
89
|
+
selectedPlanId: k,
|
|
90
|
+
defaultSelectedPlanId: C,
|
|
91
|
+
onSelectedPlanChange: K,
|
|
92
|
+
usage: r,
|
|
93
|
+
onUpgrade: j,
|
|
94
|
+
onCancel: n,
|
|
95
|
+
title: A,
|
|
96
|
+
description: F,
|
|
97
|
+
layout: S = "centered",
|
|
98
|
+
density: z = "full",
|
|
99
|
+
className: T
|
|
100
|
+
}, M) => {
|
|
101
|
+
var x;
|
|
102
|
+
const { t: s, i18n: O } = W(), u = P(), f = P(), [L, V] = X({
|
|
103
|
+
value: k,
|
|
104
|
+
defaultValue: C ?? ((x = p[0]) == null ? void 0 : x.id) ?? "",
|
|
105
|
+
onChange: K
|
|
106
|
+
}), l = L ?? "", v = () => {
|
|
107
|
+
n == null || n(), m(!1);
|
|
108
|
+
}, g = () => {
|
|
109
|
+
l && j(l);
|
|
110
|
+
}, h = c(a);
|
|
111
|
+
h.current = a;
|
|
112
|
+
const y = c(l);
|
|
113
|
+
y.current = l;
|
|
114
|
+
const b = c(null);
|
|
115
|
+
E(M, () => b.current, []);
|
|
116
|
+
const D = J(
|
|
116
117
|
() => ({
|
|
117
|
-
isOpen: () =>
|
|
118
|
-
getSelectedPlanId: () =>
|
|
119
|
-
upgrade: () =>
|
|
120
|
-
dismiss: () =>
|
|
118
|
+
isOpen: () => h.current,
|
|
119
|
+
getSelectedPlanId: () => y.current || null,
|
|
120
|
+
upgrade: () => g(),
|
|
121
|
+
dismiss: () => v()
|
|
121
122
|
}),
|
|
122
123
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
123
124
|
[]
|
|
124
125
|
);
|
|
125
|
-
|
|
126
|
-
const
|
|
126
|
+
Y(ae, D, void 0);
|
|
127
|
+
const H = r ? Math.min(
|
|
127
128
|
100,
|
|
128
|
-
Math.max(0,
|
|
129
|
-
) : 0, o =
|
|
130
|
-
return /* @__PURE__ */ e(i.Root, { open:
|
|
129
|
+
Math.max(0, r.used / Math.max(1, r.limit) * 100)
|
|
130
|
+
) : 0, o = r ? r.used >= r.limit : !1;
|
|
131
|
+
return /* @__PURE__ */ e(i.Root, { open: a, onOpenChange: m, children: /* @__PURE__ */ d(i.Portal, { children: [
|
|
131
132
|
/* @__PURE__ */ e(
|
|
132
133
|
i.Overlay,
|
|
133
134
|
{
|
|
@@ -142,18 +143,18 @@ const te = {
|
|
|
142
143
|
/* @__PURE__ */ d(
|
|
143
144
|
i.Content,
|
|
144
145
|
{
|
|
145
|
-
ref:
|
|
146
|
-
"aria-labelledby":
|
|
147
|
-
"aria-describedby":
|
|
148
|
-
className:
|
|
146
|
+
ref: b,
|
|
147
|
+
"aria-labelledby": u,
|
|
148
|
+
"aria-describedby": f,
|
|
149
|
+
className: re({ layout: S, density: z, className: T }),
|
|
149
150
|
"data-component": "freemium-paywall",
|
|
150
151
|
children: [
|
|
151
|
-
/* @__PURE__ */ e(i.Title, { id:
|
|
152
|
-
/* @__PURE__ */ e(i.Description, { id:
|
|
153
|
-
|
|
152
|
+
/* @__PURE__ */ e(i.Title, { id: u, asChild: !0, children: /* @__PURE__ */ e("h2", { className: "type-title-card", children: A ?? s("paywall.title") }) }),
|
|
153
|
+
/* @__PURE__ */ e(i.Description, { id: f, asChild: !0, children: /* @__PURE__ */ e("p", { className: "ds:mt-[var(--spacing-xs)] ds:text-[color:var(--muted-foreground)]", children: F ?? s("paywall.description") }) }),
|
|
154
|
+
r ? /* @__PURE__ */ d("div", { className: "ds:mt-[var(--spacing-md)]", children: [
|
|
154
155
|
/* @__PURE__ */ d("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:mb-[var(--spacing-xs)]", children: [
|
|
155
156
|
o ? /* @__PURE__ */ e(
|
|
156
|
-
|
|
157
|
+
ee,
|
|
157
158
|
{
|
|
158
159
|
"aria-hidden": "true",
|
|
159
160
|
className: "ds:size-4 ds:text-[color:var(--destructive)]"
|
|
@@ -167,42 +168,42 @@ const te = {
|
|
|
167
168
|
o ? "ds:text-[color:var(--destructive)]" : "ds:text-[color:var(--muted-foreground)]"
|
|
168
169
|
].join(" "),
|
|
169
170
|
children: o ? s("paywall.usageFull") : s("paywall.usageLabel", {
|
|
170
|
-
used:
|
|
171
|
-
limit:
|
|
171
|
+
used: r.used,
|
|
172
|
+
limit: r.limit
|
|
172
173
|
})
|
|
173
174
|
}
|
|
174
175
|
)
|
|
175
176
|
] }),
|
|
176
177
|
/* @__PURE__ */ e(
|
|
177
|
-
|
|
178
|
+
Z,
|
|
178
179
|
{
|
|
179
|
-
value:
|
|
180
|
+
value: H,
|
|
180
181
|
max: 100,
|
|
181
182
|
ariaLabel: s("paywall.usageLabel", {
|
|
182
|
-
used:
|
|
183
|
-
limit:
|
|
183
|
+
used: r.used,
|
|
184
|
+
limit: r.limit
|
|
184
185
|
}),
|
|
185
186
|
className: o ? "ds:[&_[role=progressbar]>*]:bg-[color:var(--destructive)]" : ""
|
|
186
187
|
}
|
|
187
188
|
)
|
|
188
189
|
] }) : null,
|
|
189
190
|
/* @__PURE__ */ e(
|
|
190
|
-
|
|
191
|
+
I.Root,
|
|
191
192
|
{
|
|
192
193
|
value: l,
|
|
193
|
-
onValueChange:
|
|
194
|
+
onValueChange: V,
|
|
194
195
|
"aria-label": s("paywall.title"),
|
|
195
196
|
className: "ds:mt-[var(--spacing-md)] ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
196
|
-
children:
|
|
197
|
-
const
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
),
|
|
197
|
+
children: p.map((t) => {
|
|
198
|
+
const w = $(
|
|
199
|
+
t.priceAmount,
|
|
200
|
+
t.currency,
|
|
201
|
+
O.language
|
|
202
|
+
), N = t.perKey ? s(t.perKey) : void 0, U = N ? s("paywall.pricePer", { price: w, period: N }) : w, B = s(t.nameKey);
|
|
202
203
|
return /* @__PURE__ */ d(
|
|
203
|
-
|
|
204
|
+
I.Item,
|
|
204
205
|
{
|
|
205
|
-
value:
|
|
206
|
+
value: t.id,
|
|
206
207
|
className: [
|
|
207
208
|
"ds:group ds:relative ds:flex ds:flex-col ds:items-stretch",
|
|
208
209
|
"ds:rounded-[var(--radius-md)] ds:border ds:border-border",
|
|
@@ -215,43 +216,43 @@ const te = {
|
|
|
215
216
|
].join(" "),
|
|
216
217
|
children: [
|
|
217
218
|
/* @__PURE__ */ d("span", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
218
|
-
/* @__PURE__ */ e("span", { className: "ds:font-semibold", children:
|
|
219
|
-
/* @__PURE__ */ e("span", { className: "ds:tabular-nums", children:
|
|
219
|
+
/* @__PURE__ */ e("span", { className: "ds:font-semibold", children: B }),
|
|
220
|
+
/* @__PURE__ */ e("span", { className: "ds:tabular-nums", children: U })
|
|
220
221
|
] }),
|
|
221
|
-
|
|
222
|
+
t.featuresKeys && t.featuresKeys.length > 0 ? /* @__PURE__ */ e(
|
|
222
223
|
"ul",
|
|
223
224
|
{
|
|
224
225
|
"aria-label": s("paywall.features"),
|
|
225
226
|
className: "ds:mt-[var(--spacing-xs)] ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
|
|
226
|
-
children:
|
|
227
|
+
children: t.featuresKeys.map((_, q) => /* @__PURE__ */ d(
|
|
227
228
|
"li",
|
|
228
229
|
{
|
|
229
230
|
className: "ds:flex ds:items-start ds:gap-[var(--spacing-xs)] type-body-sm",
|
|
230
231
|
children: [
|
|
231
232
|
/* @__PURE__ */ e(
|
|
232
|
-
|
|
233
|
+
se,
|
|
233
234
|
{
|
|
234
235
|
"aria-hidden": "true",
|
|
235
236
|
className: "ds:size-4 ds:shrink-0 ds:text-[color:var(--primary)] ds:mt-[1px]"
|
|
236
237
|
}
|
|
237
238
|
),
|
|
238
|
-
/* @__PURE__ */ e("span", { children: s(
|
|
239
|
+
/* @__PURE__ */ e("span", { children: s(_) })
|
|
239
240
|
]
|
|
240
241
|
},
|
|
241
|
-
|
|
242
|
+
q
|
|
242
243
|
))
|
|
243
244
|
}
|
|
244
245
|
) : null
|
|
245
246
|
]
|
|
246
247
|
},
|
|
247
|
-
|
|
248
|
+
t.id
|
|
248
249
|
);
|
|
249
250
|
})
|
|
250
251
|
}
|
|
251
252
|
),
|
|
252
253
|
/* @__PURE__ */ d("div", { className: "ds:mt-[var(--spacing-lg)] ds:flex ds:items-center ds:gap-[var(--spacing-sm)] ds:justify-end", children: [
|
|
253
|
-
/* @__PURE__ */ e(i.Cancel, { asChild: !0, children: /* @__PURE__ */ e(
|
|
254
|
-
/* @__PURE__ */ e(i.Action, { asChild: !0, children: /* @__PURE__ */ e(
|
|
254
|
+
/* @__PURE__ */ e(i.Cancel, { asChild: !0, children: /* @__PURE__ */ e(R, { intent: "outline", onClick: v, children: s("paywall.notNow") }) }),
|
|
255
|
+
/* @__PURE__ */ e(i.Action, { asChild: !0, children: /* @__PURE__ */ e(R, { intent: "primary", onClick: g, children: s("paywall.upgrade") }) })
|
|
255
256
|
] })
|
|
256
257
|
]
|
|
257
258
|
}
|
|
@@ -259,9 +260,9 @@ const te = {
|
|
|
259
260
|
] }) });
|
|
260
261
|
}
|
|
261
262
|
);
|
|
262
|
-
|
|
263
|
+
te.displayName = "FreemiumPaywall";
|
|
263
264
|
export {
|
|
264
|
-
|
|
265
|
-
|
|
265
|
+
te as F,
|
|
266
|
+
ae as f
|
|
266
267
|
};
|
|
267
|
-
//# sourceMappingURL=freemium-paywall-
|
|
268
|
+
//# sourceMappingURL=freemium-paywall-DXc7XlGE.js.map
|
|
@@ -10,7 +10,7 @@ import { A as L } from "./avatar-I10iCDs8.js";
|
|
|
10
10
|
import { B as D } from "./button-DD_0Xdmr.js";
|
|
11
11
|
import { C as ae } from "./chat-container-izziXViv.js";
|
|
12
12
|
import { C as re } from "./chat-message-g3lxpXM_.js";
|
|
13
|
-
import { C as le } from "./chat-input-
|
|
13
|
+
import { C as le } from "./chat-input-B3XmFGDw.js";
|
|
14
14
|
import { S as ie } from "./streaming-text-BgjCTVOw.js";
|
|
15
15
|
import { a as q, S as O } from "./suggestion-chip-C4Jz0LrM.js";
|
|
16
16
|
import { T as oe } from "./typing-indicator-DHeVN4ob.js";
|
|
@@ -756,4 +756,4 @@ export {
|
|
|
756
756
|
we as b,
|
|
757
757
|
Ce as c
|
|
758
758
|
};
|
|
759
|
-
//# sourceMappingURL=leo-sidebar-
|
|
759
|
+
//# sourceMappingURL=leo-sidebar-DIsiTju3.js.map
|