@alfadocs/ui-kit 0.8.1 → 0.9.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/{agenda-card-CalZqycc.js → agenda-card-DU13wUTA.js} +4 -4
- package/dist/_chunks/{agenda-tray-3ffFDQZC.js → agenda-tray-gQUXklO4.js} +9 -9
- package/dist/_chunks/{ai-prompt-input-DLgY8lrW.js → ai-prompt-input-bAJwYu84.js} +45 -45
- package/dist/_chunks/{alert-CVMq99Cq.js → alert-pgdXrEO5.js} +2 -2
- package/dist/_chunks/{app-frame-CDJOgPXe.js → app-frame-BYx1gcV7.js} +2 -2
- package/dist/_chunks/{audio-recorder-cOl_Z_Pk.js → audio-recorder-BHBonrFf.js} +54 -54
- package/dist/_chunks/{audio-visualiser-ByDEFLNm.js → audio-visualiser-I-T4Z7EU.js} +2 -2
- package/dist/_chunks/{autocomplete-D4oUZbsP.js → autocomplete-C34hbfKh.js} +6 -6
- package/dist/_chunks/{avatar-Dcr6XuDQ.js → avatar-I10iCDs8.js} +2 -2
- package/dist/_chunks/{badge-DKFbntoa.js → badge-cLYVGlMh.js} +2 -2
- package/dist/_chunks/{balance-cell-renderer-BuExGe6u.js → balance-cell-renderer-DWWtX-VM.js} +5 -5
- package/dist/_chunks/{breadcrumb-D1snXjPb.js → breadcrumb--YI7lcHA.js} +4 -4
- package/dist/_chunks/{button-group-CONver7M.js → button-group-Bh2g_Ng-.js} +2 -2
- package/dist/_chunks/{chat-container-ClzsWXp2.js → chat-container-izziXViv.js} +4 -4
- package/dist/_chunks/{chat-message-DoAhgUTj.js → chat-message-g3lxpXM_.js} +2 -2
- package/dist/_chunks/{checkbox-group-CarPLDIC.js → checkbox-group-Qkm3Rg1S.js} +6 -6
- package/dist/_chunks/{color-picker-CTIcHlDF.js → color-picker-BPfcByHH.js} +13 -13
- package/dist/_chunks/{combobox-BLWruOxK.js → combobox-DUpWoPPk.js} +6 -6
- package/dist/_chunks/{contact-card-DNyATxKv.js → contact-card-VJIUqKB2.js} +13 -13
- package/dist/_chunks/{date-picker-B1PO1ZQP.js → date-picker-BD5FYW08.js} +3 -3
- package/dist/_chunks/{date-range-picker-mix2nEVC.js → date-range-picker-BZLVgcXE.js} +27 -27
- package/dist/_chunks/{date-time-picker-Dnong_BY.js → date-time-picker-CCoRWX7R.js} +5 -5
- package/dist/_chunks/{description-list-BYA77Yud.js → description-list-y7Hk51KI.js} +16 -16
- package/dist/_chunks/{dialog-W8uDfXD8.js → dialog-DRp6Dejy.js} +2 -2
- package/dist/_chunks/{file-upload-C947ACDK.js → file-upload-BVbfiANR.js} +81 -81
- package/dist/_chunks/{floating-action-button-C8OYj8mE.js → floating-action-button-pojvb9gG.js} +6 -6
- package/dist/_chunks/{form-field-Bmkeh7WY.js → form-field-BOm9hK35.js} +2 -2
- package/dist/_chunks/{freemium-paywall-B9kIDtm1.js → freemium-paywall-BTEiVkes.js} +29 -29
- package/dist/_chunks/{key-value-pair-CgWvAIGb.js → key-value-pair-AbrRwesr.js} +14 -14
- package/dist/_chunks/{leo-sidebar-BWECDYpu.js → leo-sidebar-B054wsZm.js} +8 -8
- package/dist/_chunks/{link-BcYW1eNM.js → link-BGpwaFik.js} +2 -2
- package/dist/_chunks/{list-qP6p0NTw.js → list-DcjV0m5B.js} +2 -2
- package/dist/_chunks/{message-card-DjvsB_3U.js → message-card-c6R0-qXq.js} +6 -6
- package/dist/_chunks/{message-tray-BbnAzlLH.js → message-tray-Fsend-du.js} +21 -21
- package/dist/_chunks/{multi-select-wqqrgjUQ.js → multi-select-Bh-xR8kP.js} +10 -10
- package/dist/_chunks/{navigation-menu-ClbHeawy.js → navigation-menu-Bav1d_wA.js} +2 -2
- package/dist/_chunks/{notification-card-uTPEvAQS.js → notification-card-CRIE2Cuk.js} +3 -3
- package/dist/_chunks/{notification-tray-PGtMqXbP.js → notification-tray-CfXNYrxv.js} +21 -21
- package/dist/_chunks/{number-input-Q7wkHnvQ.js → number-input-mpSLk-ld.js} +3 -3
- package/dist/_chunks/{otp-input-C9gUByF0.js → otp-input-CI-Zv5q6.js} +2 -2
- package/dist/_chunks/{pagination-3AC4zTsi.js → pagination-OQBlnb1H.js} +7 -7
- package/dist/_chunks/{patient-shell-IhMULVrt.js → patient-shell-BS2V6V1b.js} +3 -3
- package/dist/_chunks/{payment-form-C3HMAsGG.js → payment-form-CI77oIx1.js} +3 -3
- package/dist/_chunks/{pdf-viewer-DO95bm2o.js → pdf-viewer-CNETPubN.js} +3 -3
- package/dist/_chunks/{phone-input-CSHJOJ13.js → phone-input-DtBVs5fz.js} +7 -7
- package/dist/_chunks/{popover-DekUKNBk.js → popover--derJ_wq.js} +2 -2
- package/dist/_chunks/{progress-C11tqhoI.js → progress-B-PSO5OS.js} +4 -4
- package/dist/_chunks/{recaptcha-widget-NyfOfLII.js → recaptcha-widget-Kp1XntuE.js} +3 -3
- package/dist/_chunks/{resizable-mpXXyIsN.js → resizable-COV-cnth.js} +3 -3
- package/dist/_chunks/{search-bar-BTDfgYtg.js → search-bar-DmZZ9UvV.js} +2 -2
- package/dist/_chunks/{search-input-CdJIEjFo.js → search-input-BBtSRH-Q.js} +4 -4
- package/dist/_chunks/{select-BOU_Osnf.js → select-i9MwQeQy.js} +20 -20
- package/dist/_chunks/{sheet-BAg7GY9j.js → sheet-BT0izeoI.js} +9 -9
- package/dist/_chunks/{sidebar-Bx3wCDyy.js → sidebar-CoLHtVrP.js} +83 -83
- package/dist/_chunks/{sign-in-with-alfadocs-button-B9UrqOqH.js → sign-in-with-alfadocs-button-4zZC-I6y.js} +3 -3
- package/dist/_chunks/{skip-link-DmZ3c6cb.js → skip-link-BaSMtPwB.js} +2 -2
- package/dist/_chunks/{slider-BT2bZWsy.js → slider-CkR6CLun.js} +3 -3
- package/dist/_chunks/{sparkline-_gy8aJDG.js → sparkline-D4Np8ikf.js} +15 -15
- package/dist/_chunks/{spinner-DLaYfLPl.js → spinner-DirtWZNG.js} +2 -2
- package/dist/_chunks/{stat-B9PHSPbN.js → stat-CDQ_a0vk.js} +4 -4
- package/dist/_chunks/{switch-C0psfIQF.js → switch-D916VW86.js} +2 -2
- package/dist/_chunks/{tabs-BZQy_Rmb.js → tabs-Cg794H0Q.js} +3 -3
- package/dist/_chunks/{tag-DuLMjRbF.js → tag-CQmHRM4Y.js} +3 -3
- package/dist/_chunks/{task-card-Dw_ZJDL8.js → task-card-BUVMh6HN.js} +2 -2
- package/dist/_chunks/{task-tray-XlIW9ueh.js → task-tray-B3A2fRGR.js} +13 -13
- package/dist/_chunks/{text-area-CO9Dz0qX.js → text-area-DHtcpcLv.js} +13 -13
- package/dist/_chunks/{text-input-DZwt9L8H.js → text-input-1oqFRbVI.js} +2 -2
- package/dist/_chunks/{theme-toggle-B3UR6ouK.js → theme-toggle-B3meAb3y.js} +14 -14
- package/dist/_chunks/{time-picker-DvPUmHH-.js → time-picker-DeVZkIY2.js} +2 -2
- package/dist/_chunks/{timeline-BvmnQadS.js → timeline-BaSULpSJ.js} +2 -2
- package/dist/_chunks/{toast.agent-DihA6MON.js → toast.agent-32WNQ-_x.js} +2 -2
- package/dist/_chunks/{transaction-chip-DE6DITun.js → transaction-chip-eVbolm0B.js} +2 -2
- package/dist/_chunks/{transcript-panel-Bx5ANMsv.js → transcript-panel-BpJqPr7I.js} +8 -8
- package/dist/_chunks/{typing-indicator-BZ5jXZPn.js → typing-indicator-DHeVN4ob.js} +9 -9
- package/dist/_chunks/{use-password-requirements-DgEYdN4H.js → use-password-requirements-B1M8lE2t.js} +29 -32
- package/dist/_chunks/{warning-stack-CdLIe534.js → warning-stack-CeRihME9.js} +15 -15
- package/dist/_chunks/{workflow-map-CESZNNZe.js → workflow-map-D3MvrsZV.js} +4 -4
- package/dist/agent-catalog.json +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/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/app-frame/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/audio-visualiser/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/badge/index.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/contact-card/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/description-list/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/floating-action-button/index.js +1 -1
- package/dist/components/form-field/index.js +1 -1
- package/dist/components/freemium-paywall/freemium-paywall.d.ts +2 -2
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/list/index.js +1 -1
- package/dist/components/message-card/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 +2 -2
- package/dist/components/notification-card/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/password-input/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/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sidebar/sidebar.d.ts +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/skip-link/index.js +1 -1
- package/dist/components/skip-link/skip-link.d.ts +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/typing-indicator/index.js +1 -1
- package/dist/components/typing-indicator/typing-indicator.d.ts +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/config.d.ts +2 -1
- package/dist/i18n/config.js +49 -31
- package/dist/i18n/registerUiBundle.d.ts +15 -0
- package/dist/index.js +77 -77
- 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 +2 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as d } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as J, useId as R, useState as Q, useRef as m, useImperativeHandle as W, useMemo as X } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as i from "@radix-ui/react-alert-dialog";
|
|
4
4
|
import * as K from "@radix-ui/react-radio-group";
|
|
5
5
|
import { c as Y } from "./index-D2ZczOXr.js";
|
|
6
6
|
import { useTranslation as Z } from "react-i18next";
|
|
7
7
|
import { u as $ } from "./registry-C9nwlNyL.js";
|
|
8
8
|
import { B as j } from "./button-DD_0Xdmr.js";
|
|
9
|
-
import { P as ee } from "./progress-
|
|
10
|
-
import { f as se } from "./payment-form-
|
|
9
|
+
import { P as ee } from "./progress-B-PSO5OS.js";
|
|
10
|
+
import { f as se } from "./payment-form-CI77oIx1.js";
|
|
11
11
|
import { T as ae } from "./triangle-alert-CBPUIzQo.js";
|
|
12
12
|
import { C as re } from "./check-DPdL_Sm7.js";
|
|
13
13
|
const te = {
|
|
@@ -57,7 +57,7 @@ const te = {
|
|
|
57
57
|
description: "Sourced from the id prop."
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
},
|
|
60
|
+
}, de = Y(
|
|
61
61
|
[
|
|
62
62
|
"ds:fixed ds:z-[var(--z-modal)] ds:overflow-auto",
|
|
63
63
|
"ds:bg-[color:var(--popover)] ds:text-[color:var(--popover-foreground)]",
|
|
@@ -80,7 +80,7 @@ const te = {
|
|
|
80
80
|
},
|
|
81
81
|
defaultVariants: { layout: "centered", density: "full" }
|
|
82
82
|
}
|
|
83
|
-
),
|
|
83
|
+
), ie = J(
|
|
84
84
|
({
|
|
85
85
|
open: r,
|
|
86
86
|
onOpenChange: p,
|
|
@@ -127,9 +127,9 @@ const te = {
|
|
|
127
127
|
100,
|
|
128
128
|
Math.max(0, t.used / Math.max(1, t.limit) * 100)
|
|
129
129
|
) : 0, o = t ? t.used >= t.limit : !1;
|
|
130
|
-
return /* @__PURE__ */ e(
|
|
130
|
+
return /* @__PURE__ */ e(i.Root, { open: r, onOpenChange: p, children: /* @__PURE__ */ d(i.Portal, { children: [
|
|
131
131
|
/* @__PURE__ */ e(
|
|
132
|
-
|
|
132
|
+
i.Overlay,
|
|
133
133
|
{
|
|
134
134
|
className: [
|
|
135
135
|
"ds:fixed ds:inset-0 ds:z-[var(--z-modal-backdrop)]",
|
|
@@ -139,19 +139,19 @@ const te = {
|
|
|
139
139
|
].join(" ")
|
|
140
140
|
}
|
|
141
141
|
),
|
|
142
|
-
/* @__PURE__ */
|
|
143
|
-
|
|
142
|
+
/* @__PURE__ */ d(
|
|
143
|
+
i.Content,
|
|
144
144
|
{
|
|
145
145
|
ref: N,
|
|
146
146
|
"aria-labelledby": v,
|
|
147
147
|
"aria-describedby": g,
|
|
148
|
-
className:
|
|
148
|
+
className: de({ layout: T, density: M, className: O }),
|
|
149
149
|
"data-component": "freemium-paywall",
|
|
150
150
|
children: [
|
|
151
|
-
/* @__PURE__ */ e(
|
|
152
|
-
/* @__PURE__ */ e(
|
|
153
|
-
t ? /* @__PURE__ */
|
|
154
|
-
/* @__PURE__ */
|
|
151
|
+
/* @__PURE__ */ e(i.Title, { id: v, asChild: !0, children: /* @__PURE__ */ e("h2", { className: "type-title-card", children: z ?? s("paywall.title") }) }),
|
|
152
|
+
/* @__PURE__ */ e(i.Description, { id: g, asChild: !0, children: /* @__PURE__ */ e("p", { className: "ds:mt-[var(--spacing-xs)] ds:text-[color:var(--muted-foreground)]", children: C ?? s("paywall.description") }) }),
|
|
153
|
+
t ? /* @__PURE__ */ d("div", { className: "ds:mt-[var(--spacing-md)]", children: [
|
|
154
|
+
/* @__PURE__ */ d("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:mb-[var(--spacing-xs)]", children: [
|
|
155
155
|
o ? /* @__PURE__ */ e(
|
|
156
156
|
ae,
|
|
157
157
|
{
|
|
@@ -166,7 +166,7 @@ const te = {
|
|
|
166
166
|
"type-body-sm",
|
|
167
167
|
o ? "ds:text-[color:var(--destructive)]" : "ds:text-[color:var(--muted-foreground)]"
|
|
168
168
|
].join(" "),
|
|
169
|
-
children: o ? s("
|
|
169
|
+
children: o ? s("paywall.usageFull") : s("paywall.usageLabel", {
|
|
170
170
|
used: t.used,
|
|
171
171
|
limit: t.limit
|
|
172
172
|
})
|
|
@@ -178,7 +178,7 @@ const te = {
|
|
|
178
178
|
{
|
|
179
179
|
value: B,
|
|
180
180
|
max: 100,
|
|
181
|
-
ariaLabel: s("
|
|
181
|
+
ariaLabel: s("paywall.usageLabel", {
|
|
182
182
|
used: t.used,
|
|
183
183
|
limit: t.limit
|
|
184
184
|
}),
|
|
@@ -191,15 +191,15 @@ const te = {
|
|
|
191
191
|
{
|
|
192
192
|
value: l,
|
|
193
193
|
onValueChange: U,
|
|
194
|
-
"aria-label": s("
|
|
194
|
+
"aria-label": s("paywall.title"),
|
|
195
195
|
className: "ds:mt-[var(--spacing-md)] ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
196
196
|
children: u.map((a) => {
|
|
197
197
|
const I = se(
|
|
198
198
|
a.priceAmount,
|
|
199
199
|
a.currency,
|
|
200
200
|
S.language
|
|
201
|
-
), k = a.perKey ? s(a.perKey) : void 0, _ = k ? s("
|
|
202
|
-
return /* @__PURE__ */
|
|
201
|
+
), k = a.perKey ? s(a.perKey) : void 0, _ = k ? s("paywall.pricePer", { price: I, period: k }) : I, q = s(a.nameKey);
|
|
202
|
+
return /* @__PURE__ */ d(
|
|
203
203
|
K.Item,
|
|
204
204
|
{
|
|
205
205
|
value: a.id,
|
|
@@ -214,16 +214,16 @@ const te = {
|
|
|
214
214
|
"ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
|
|
215
215
|
].join(" "),
|
|
216
216
|
children: [
|
|
217
|
-
/* @__PURE__ */
|
|
217
|
+
/* @__PURE__ */ d("span", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
218
218
|
/* @__PURE__ */ e("span", { className: "ds:font-semibold", children: q }),
|
|
219
219
|
/* @__PURE__ */ e("span", { className: "ds:tabular-nums", children: _ })
|
|
220
220
|
] }),
|
|
221
221
|
a.featuresKeys && a.featuresKeys.length > 0 ? /* @__PURE__ */ e(
|
|
222
222
|
"ul",
|
|
223
223
|
{
|
|
224
|
-
"aria-label": s("
|
|
224
|
+
"aria-label": s("paywall.features"),
|
|
225
225
|
className: "ds:mt-[var(--spacing-xs)] ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
|
|
226
|
-
children: a.featuresKeys.map((G, E) => /* @__PURE__ */
|
|
226
|
+
children: a.featuresKeys.map((G, E) => /* @__PURE__ */ d(
|
|
227
227
|
"li",
|
|
228
228
|
{
|
|
229
229
|
className: "ds:flex ds:items-start ds:gap-[var(--spacing-xs)] type-body-sm",
|
|
@@ -249,9 +249,9 @@ const te = {
|
|
|
249
249
|
})
|
|
250
250
|
}
|
|
251
251
|
),
|
|
252
|
-
/* @__PURE__ */
|
|
253
|
-
/* @__PURE__ */ e(
|
|
254
|
-
/* @__PURE__ */ e(
|
|
252
|
+
/* @__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(j, { intent: "outline", onClick: y, children: s("paywall.notNow") }) }),
|
|
254
|
+
/* @__PURE__ */ e(i.Action, { asChild: !0, children: /* @__PURE__ */ e(j, { intent: "primary", onClick: b, children: s("paywall.upgrade") }) })
|
|
255
255
|
] })
|
|
256
256
|
]
|
|
257
257
|
}
|
|
@@ -259,9 +259,9 @@ const te = {
|
|
|
259
259
|
] }) });
|
|
260
260
|
}
|
|
261
261
|
);
|
|
262
|
-
|
|
262
|
+
ie.displayName = "FreemiumPaywall";
|
|
263
263
|
export {
|
|
264
|
-
|
|
264
|
+
ie as F,
|
|
265
265
|
te as f
|
|
266
266
|
};
|
|
267
|
-
//# sourceMappingURL=freemium-paywall-
|
|
267
|
+
//# sourceMappingURL=freemium-paywall-BTEiVkes.js.map
|
|
@@ -17,23 +17,23 @@ const z = V("ds:flex", {
|
|
|
17
17
|
}
|
|
18
18
|
}), T = C(
|
|
19
19
|
({
|
|
20
|
-
label:
|
|
20
|
+
label: n,
|
|
21
21
|
value: o,
|
|
22
|
-
layout:
|
|
22
|
+
layout: r = "horizontal",
|
|
23
23
|
mono: d = !1,
|
|
24
24
|
copyable: m = !1,
|
|
25
25
|
copyText: p,
|
|
26
|
-
className:
|
|
27
|
-
...
|
|
26
|
+
className: f,
|
|
27
|
+
...u
|
|
28
28
|
}, y) => {
|
|
29
|
-
const { t: s } = N(), [h,
|
|
29
|
+
const { t: s } = N(), [h, i] = c(!1), [k, e] = c(""), t = p ?? (typeof o == "string" ? o : void 0), v = g(async () => {
|
|
30
30
|
if (t)
|
|
31
31
|
try {
|
|
32
|
-
await navigator.clipboard.writeText(t),
|
|
33
|
-
|
|
32
|
+
await navigator.clipboard.writeText(t), i(!0), e(s("keyValuePair.copied")), setTimeout(() => {
|
|
33
|
+
i(!1), e("");
|
|
34
34
|
}, 2e3);
|
|
35
35
|
} catch {
|
|
36
|
-
e(s("
|
|
36
|
+
e(s("keyValuePair.notAvailable")), setTimeout(() => e(""), 3e3);
|
|
37
37
|
}
|
|
38
38
|
}, [t, s]), x = [
|
|
39
39
|
"type-body ds:text-foreground ds:min-w-0 ds:shrink ds:[unicode-bidi:isolate]",
|
|
@@ -43,12 +43,12 @@ const z = V("ds:flex", {
|
|
|
43
43
|
"div",
|
|
44
44
|
{
|
|
45
45
|
ref: y,
|
|
46
|
-
className: z({ layout:
|
|
46
|
+
className: z({ layout: r, className: f }),
|
|
47
47
|
"data-component": "key-value-pair",
|
|
48
|
-
...
|
|
48
|
+
...u,
|
|
49
49
|
children: [
|
|
50
50
|
/* @__PURE__ */ l("span", { className: "type-label ds:text-muted-foreground ds:shrink-0", children: [
|
|
51
|
-
|
|
51
|
+
n,
|
|
52
52
|
/* @__PURE__ */ a("span", { className: "ds:sr-only", children: ": " })
|
|
53
53
|
] }),
|
|
54
54
|
/* @__PURE__ */ a("span", { className: x, children: o }),
|
|
@@ -57,10 +57,10 @@ const z = V("ds:flex", {
|
|
|
57
57
|
{
|
|
58
58
|
icon: h ? /* @__PURE__ */ a(P, {}) : /* @__PURE__ */ a(w, {}),
|
|
59
59
|
size: "sm",
|
|
60
|
-
"aria-label": s("
|
|
60
|
+
"aria-label": s("keyValuePair.copy", { label: n }),
|
|
61
61
|
onClick: v,
|
|
62
62
|
intent: "ghost",
|
|
63
|
-
className:
|
|
63
|
+
className: r === "horizontal" ? "ds:ms-auto ds:shrink-0" : "ds:self-start"
|
|
64
64
|
}
|
|
65
65
|
),
|
|
66
66
|
/* @__PURE__ */ a("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: k })
|
|
@@ -73,4 +73,4 @@ T.displayName = "KeyValuePair";
|
|
|
73
73
|
export {
|
|
74
74
|
T as K
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=key-value-pair-
|
|
76
|
+
//# sourceMappingURL=key-value-pair-AbrRwesr.js.map
|
|
@@ -2,19 +2,19 @@ import { jsx as e, jsxs as c, Fragment as A } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as k, useMemo as U } from "react";
|
|
3
3
|
import * as ee from "@radix-ui/react-dialog";
|
|
4
4
|
import { useTranslation as y } from "react-i18next";
|
|
5
|
-
import { F as se } from "./floating-action-button-
|
|
5
|
+
import { F as se } from "./floating-action-button-pojvb9gG.js";
|
|
6
6
|
import { I as B } from "./icon-button-C4CGcYuz.js";
|
|
7
|
-
import { S as E } from "./sheet-
|
|
7
|
+
import { S as E } from "./sheet-BT0izeoI.js";
|
|
8
8
|
import { X as de } from "./x-CCcI3eJp.js";
|
|
9
|
-
import { A as L } from "./avatar-
|
|
9
|
+
import { A as L } from "./avatar-I10iCDs8.js";
|
|
10
10
|
import { B as D } from "./button-DD_0Xdmr.js";
|
|
11
|
-
import { C as ae } from "./chat-container-
|
|
12
|
-
import { C as re } from "./chat-message-
|
|
11
|
+
import { C as ae } from "./chat-container-izziXViv.js";
|
|
12
|
+
import { C as re } from "./chat-message-g3lxpXM_.js";
|
|
13
13
|
import { C as le } from "./chat-input-Bov-gkwP.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
|
-
import { T as oe } from "./typing-indicator-
|
|
17
|
-
import { P as te } from "./progress-
|
|
16
|
+
import { T as oe } from "./typing-indicator-DHeVN4ob.js";
|
|
17
|
+
import { P as te } from "./progress-B-PSO5OS.js";
|
|
18
18
|
import { S as ne } from "./square-CZoGU14v.js";
|
|
19
19
|
import { c as ce } from "./createLucideIcon-CrFbzy84.js";
|
|
20
20
|
import { P as me } from "./plus-CYKNmfuA.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-B054wsZm.js.map
|
|
@@ -71,7 +71,7 @@ const _ = [
|
|
|
71
71
|
onClick: o,
|
|
72
72
|
...v
|
|
73
73
|
}, h) => {
|
|
74
|
-
const { t: p } = N(), g = e ? "_blank" : m, x = e ? [r, "noopener", "noreferrer"].filter(Boolean).join(" ") : r, y = p("
|
|
74
|
+
const { t: p } = N(), g = e ? "_blank" : m, x = e ? [r, "noopener", "noreferrer"].filter(Boolean).join(" ") : r, y = p("link.opensInNewTab", "Opens in a new tab");
|
|
75
75
|
return /* @__PURE__ */ b(
|
|
76
76
|
"a",
|
|
77
77
|
{
|
|
@@ -131,4 +131,4 @@ q.displayName = "Link";
|
|
|
131
131
|
export {
|
|
132
132
|
q as L
|
|
133
133
|
};
|
|
134
|
-
//# sourceMappingURL=link-
|
|
134
|
+
//# sourceMappingURL=link-BGpwaFik.js.map
|
|
@@ -269,7 +269,7 @@ const J = X(
|
|
|
269
269
|
[l, n, v, f]
|
|
270
270
|
);
|
|
271
271
|
if (V(B, () => _, [_]), ne(oe, _, s.id), n) {
|
|
272
|
-
const e = P ?? T("
|
|
272
|
+
const e = P ?? T("list.label", "List");
|
|
273
273
|
return /* @__PURE__ */ i(q.Provider, { value: A, children: /* @__PURE__ */ i(
|
|
274
274
|
"div",
|
|
275
275
|
{
|
|
@@ -431,4 +431,4 @@ export {
|
|
|
431
431
|
ve as L,
|
|
432
432
|
oe as l
|
|
433
433
|
};
|
|
434
|
-
//# sourceMappingURL=list-
|
|
434
|
+
//# sourceMappingURL=list-DcjV0m5B.js.map
|
|
@@ -4,7 +4,7 @@ import { c as D } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as E } from "react-i18next";
|
|
5
5
|
import { I as H } from "./icon-button-C4CGcYuz.js";
|
|
6
6
|
import { B as k } from "./button-DD_0Xdmr.js";
|
|
7
|
-
import { A as X } from "./avatar-
|
|
7
|
+
import { A as X } from "./avatar-I10iCDs8.js";
|
|
8
8
|
import { T as q } from "./timestamp-BV2lC-wV.js";
|
|
9
9
|
import { X as G } from "./x-CCcI3eJp.js";
|
|
10
10
|
const J = D(
|
|
@@ -105,10 +105,10 @@ const Q = B(
|
|
|
105
105
|
);
|
|
106
106
|
},
|
|
107
107
|
[t, e, f, w]
|
|
108
|
-
), F = e.read ? "read" : "unread", P = e.read ? "" : n("
|
|
108
|
+
), F = e.read ? "read" : "unread", P = e.read ? "" : n("messageCard.unreadSuffix", ", unread"), I = e.subject ? n("messageCard.subjectFragment", {
|
|
109
109
|
subject: e.subject,
|
|
110
110
|
defaultValue: " — {{subject}}"
|
|
111
|
-
}) : "", C = n("
|
|
111
|
+
}) : "", C = n("messageCard.itemLabel", {
|
|
112
112
|
sender: e.sender.name,
|
|
113
113
|
subjectFragment: I,
|
|
114
114
|
time: M,
|
|
@@ -195,7 +195,7 @@ const Q = B(
|
|
|
195
195
|
R ? /* @__PURE__ */ a(
|
|
196
196
|
"span",
|
|
197
197
|
{
|
|
198
|
-
"aria-label": n("
|
|
198
|
+
"aria-label": n("messageCard.threadCount", {
|
|
199
199
|
count: e.unreadCount,
|
|
200
200
|
defaultValue_one: "{{count}} new message in thread",
|
|
201
201
|
defaultValue_other: "{{count}} new messages in thread"
|
|
@@ -263,7 +263,7 @@ const Q = B(
|
|
|
263
263
|
icon: /* @__PURE__ */ a(G, {}),
|
|
264
264
|
intent: "ghost",
|
|
265
265
|
size: "sm",
|
|
266
|
-
"aria-label": n("
|
|
266
|
+
"aria-label": n("messageCard.dismiss", "Dismiss message"),
|
|
267
267
|
onClick: y
|
|
268
268
|
}
|
|
269
269
|
) }) : null
|
|
@@ -277,4 +277,4 @@ export {
|
|
|
277
277
|
Q as M,
|
|
278
278
|
O as i
|
|
279
279
|
};
|
|
280
|
-
//# sourceMappingURL=message-card-
|
|
280
|
+
//# sourceMappingURL=message-card-c6R0-qXq.js.map
|
|
@@ -3,11 +3,11 @@ import { forwardRef as oe, useState as q, useCallback as F, useLayoutEffect as c
|
|
|
3
3
|
import * as b from "@radix-ui/react-popover";
|
|
4
4
|
import { c as S } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { useTranslation as W } from "react-i18next";
|
|
6
|
-
import { I as
|
|
6
|
+
import { I as pe } from "./icon-button-C4CGcYuz.js";
|
|
7
7
|
import { B as _ } from "./button-DD_0Xdmr.js";
|
|
8
8
|
import { S as U } from "./separator-CYU_bGFn.js";
|
|
9
9
|
import { S as f } from "./skeleton-CZbwyJAA.js";
|
|
10
|
-
import { M as
|
|
10
|
+
import { M as ue } from "./message-card-c6R0-qXq.js";
|
|
11
11
|
import { u as ge } from "./registry-C9nwlNyL.js";
|
|
12
12
|
import { M as Y } from "./mail-C8irm52s.js";
|
|
13
13
|
const fe = {
|
|
@@ -190,8 +190,8 @@ function be() {
|
|
|
190
190
|
children: /* @__PURE__ */ s(Y, {})
|
|
191
191
|
}
|
|
192
192
|
),
|
|
193
|
-
/* @__PURE__ */ s("p", { className: "type-title-item ds:text-[color:var(--foreground)]", children: a("
|
|
194
|
-
/* @__PURE__ */ s("p", { className: "type-meta ds:text-[color:var(--muted-foreground)]", children: a("
|
|
193
|
+
/* @__PURE__ */ s("p", { className: "type-title-item ds:text-[color:var(--foreground)]", children: a("messageTray.noMessages", "No messages") }),
|
|
194
|
+
/* @__PURE__ */ s("p", { className: "type-meta ds:text-[color:var(--muted-foreground)]", children: a("messageTray.noMessagesDescription", "Your inbox is clear.") })
|
|
195
195
|
]
|
|
196
196
|
}
|
|
197
197
|
);
|
|
@@ -203,8 +203,8 @@ const Te = oe(
|
|
|
203
203
|
unreadCount: T,
|
|
204
204
|
open: k,
|
|
205
205
|
onOpenChange: v,
|
|
206
|
-
onItemClick:
|
|
207
|
-
onDismiss:
|
|
206
|
+
onItemClick: p,
|
|
207
|
+
onDismiss: u,
|
|
208
208
|
onMarkRead: y,
|
|
209
209
|
onMarkAllRead: C,
|
|
210
210
|
loading: G = !1,
|
|
@@ -258,19 +258,19 @@ const Te = oe(
|
|
|
258
258
|
const e = (n = t[0]) == null ? void 0 : n.id, r = O.current;
|
|
259
259
|
if (r && e && r !== e && M.current) {
|
|
260
260
|
const o = t[0];
|
|
261
|
-
o && !o.read && (M.current.textContent = d("
|
|
261
|
+
o && !o.read && (M.current.textContent = d("messageTray.newMessage", {
|
|
262
262
|
sender: o.sender.name,
|
|
263
263
|
defaultValue: "New message from {{sender}}"
|
|
264
264
|
}));
|
|
265
265
|
}
|
|
266
266
|
O.current = e;
|
|
267
267
|
}, [t, d]);
|
|
268
|
-
const x = T ?? 0, te = x > 0 ? d("
|
|
268
|
+
const x = T ?? 0, te = x > 0 ? d("messageTray.triggerLabel", {
|
|
269
269
|
count: x,
|
|
270
270
|
defaultValue: "Messages, {{count}} unread"
|
|
271
|
-
}) : d("
|
|
271
|
+
}) : d("messageTray.triggerLabelNone", "Messages, none unread"), re = xe(
|
|
272
272
|
x,
|
|
273
|
-
d("
|
|
273
|
+
d("messageTray.badgeCountOverflow", "99+")
|
|
274
274
|
), ne = ye({ size: w }), l = m(t);
|
|
275
275
|
l.current = t;
|
|
276
276
|
const V = m(T);
|
|
@@ -286,7 +286,7 @@ const Te = oe(
|
|
|
286
286
|
getUnreadCount: () => V.current ?? l.current.filter((e) => !e.read).length,
|
|
287
287
|
selectItem: (e) => {
|
|
288
288
|
const r = l.current.find((n) => n.id === e);
|
|
289
|
-
r && (
|
|
289
|
+
r && (p == null || p(r));
|
|
290
290
|
},
|
|
291
291
|
markRead: (e) => {
|
|
292
292
|
const r = l.current.find((n) => n.id === e);
|
|
@@ -294,10 +294,10 @@ const Te = oe(
|
|
|
294
294
|
},
|
|
295
295
|
dismiss: (e) => {
|
|
296
296
|
const r = l.current.find((n) => n.id === e);
|
|
297
|
-
r && (
|
|
297
|
+
r && (u == null || u(r));
|
|
298
298
|
}
|
|
299
299
|
}),
|
|
300
|
-
[h,
|
|
300
|
+
[h, p, y, u]
|
|
301
301
|
), B = m(null);
|
|
302
302
|
return me(ee, () => B.current, []), ge(fe, ie, a), /* @__PURE__ */ s(
|
|
303
303
|
"div",
|
|
@@ -309,7 +309,7 @@ const Te = oe(
|
|
|
309
309
|
...D,
|
|
310
310
|
children: /* @__PURE__ */ c(b.Root, { open: z, onOpenChange: h, children: [
|
|
311
311
|
/* @__PURE__ */ s(b.Trigger, { asChild: !0, children: /* @__PURE__ */ s(
|
|
312
|
-
|
|
312
|
+
pe,
|
|
313
313
|
{
|
|
314
314
|
icon: /* @__PURE__ */ s(Y, {}),
|
|
315
315
|
intent: "outline",
|
|
@@ -340,7 +340,7 @@ const Te = oe(
|
|
|
340
340
|
b.Content,
|
|
341
341
|
{
|
|
342
342
|
role: "dialog",
|
|
343
|
-
"aria-label": d("
|
|
343
|
+
"aria-label": d("messageTray.panelTitle", "Messages"),
|
|
344
344
|
side: Z,
|
|
345
345
|
align: X,
|
|
346
346
|
sideOffset: 8,
|
|
@@ -348,7 +348,7 @@ const Te = oe(
|
|
|
348
348
|
className: ne,
|
|
349
349
|
children: [
|
|
350
350
|
/* @__PURE__ */ c("div", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)] ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:pb-[var(--spacing-xs)]", children: [
|
|
351
|
-
/* @__PURE__ */ s("h3", { className: "ds:m-0 type-title-card ds:text-[color:var(--foreground)]", children: d("
|
|
351
|
+
/* @__PURE__ */ s("h3", { className: "ds:m-0 type-title-card ds:text-[color:var(--foreground)]", children: d("messageTray.panelTitle", "Messages") }),
|
|
352
352
|
C && t.some((e) => !e.read) ? /* @__PURE__ */ s(
|
|
353
353
|
_,
|
|
354
354
|
{
|
|
@@ -356,7 +356,7 @@ const Te = oe(
|
|
|
356
356
|
size: "sm",
|
|
357
357
|
onClick: C,
|
|
358
358
|
className: "ds:text-[length:var(--font-size-xs)]",
|
|
359
|
-
children: d("
|
|
359
|
+
children: d("messageTray.markAllRead", "Mark all as read")
|
|
360
360
|
}
|
|
361
361
|
) : null
|
|
362
362
|
] }),
|
|
@@ -372,13 +372,13 @@ const Te = oe(
|
|
|
372
372
|
/* @__PURE__ */ s(R, {}),
|
|
373
373
|
/* @__PURE__ */ s(R, {})
|
|
374
374
|
] }) : g.length === 0 ? /* @__PURE__ */ s(be, {}) : g.map(({ item: e, leaving: r }) => /* @__PURE__ */ s(
|
|
375
|
-
|
|
375
|
+
ue,
|
|
376
376
|
{
|
|
377
377
|
item: e,
|
|
378
378
|
variant: "compact",
|
|
379
379
|
leaving: r,
|
|
380
|
-
onActivate:
|
|
381
|
-
onDismiss:
|
|
380
|
+
onActivate: p,
|
|
381
|
+
onDismiss: u,
|
|
382
382
|
"data-message-id": e.id
|
|
383
383
|
},
|
|
384
384
|
e.id
|
|
@@ -411,4 +411,4 @@ export {
|
|
|
411
411
|
Te as M,
|
|
412
412
|
fe as m
|
|
413
413
|
};
|
|
414
|
-
//# sourceMappingURL=message-tray-
|
|
414
|
+
//# sourceMappingURL=message-tray-Fsend-du.js.map
|
|
@@ -223,7 +223,7 @@ const We = {
|
|
|
223
223
|
[B]
|
|
224
224
|
);
|
|
225
225
|
He(We, Re, P);
|
|
226
|
-
const ne = pe ?? f("
|
|
226
|
+
const ne = pe ?? f("inputs.multiSelect.placeholder", "Select…"), oe = O(() => {
|
|
227
227
|
if (!p) return c;
|
|
228
228
|
const e = p.toLowerCase();
|
|
229
229
|
return c.filter((t) => M ? M(p, t) : t.label.toLowerCase().includes(e));
|
|
@@ -327,7 +327,7 @@ const We = {
|
|
|
327
327
|
return;
|
|
328
328
|
}
|
|
329
329
|
m(e), e || (j(""), q == null || q(r));
|
|
330
|
-
}, Le = H || X, Oe = f("
|
|
330
|
+
}, Le = H || X, Oe = f("inputs.multiSelect.selected", {
|
|
331
331
|
count: r.length,
|
|
332
332
|
defaultValue: `${r.length} selected`
|
|
333
333
|
}), { onClick: U, ...ze } = ge;
|
|
@@ -367,7 +367,7 @@ const We = {
|
|
|
367
367
|
type: "button",
|
|
368
368
|
tabIndex: -1,
|
|
369
369
|
"data-ui-chip-dismiss": "true",
|
|
370
|
-
"aria-label": f("
|
|
370
|
+
"aria-label": f("inputs.multiSelect.remove", {
|
|
371
371
|
label: e.label,
|
|
372
372
|
defaultValue: `Remove ${e.label}`
|
|
373
373
|
}),
|
|
@@ -398,11 +398,11 @@ const We = {
|
|
|
398
398
|
className: le({ size: T }),
|
|
399
399
|
tabIndex: 0,
|
|
400
400
|
role: "button",
|
|
401
|
-
"aria-label": f("
|
|
401
|
+
"aria-label": f("inputs.multiSelect.overflow", {
|
|
402
402
|
count: _,
|
|
403
403
|
defaultValue: `+${_} more`
|
|
404
404
|
}),
|
|
405
|
-
children: /* @__PURE__ */ n("span", { children: f("
|
|
405
|
+
children: /* @__PURE__ */ n("span", { children: f("inputs.multiSelect.overflow", {
|
|
406
406
|
count: _,
|
|
407
407
|
defaultValue: `+${_} more`
|
|
408
408
|
}) })
|
|
@@ -459,7 +459,7 @@ const We = {
|
|
|
459
459
|
value: rt,
|
|
460
460
|
onSelect: Ne,
|
|
461
461
|
className: ce,
|
|
462
|
-
children: f("
|
|
462
|
+
children: f("inputs.multiSelect.selectAll", "Select all")
|
|
463
463
|
}
|
|
464
464
|
) : null,
|
|
465
465
|
X ? /* @__PURE__ */ n(
|
|
@@ -468,11 +468,11 @@ const We = {
|
|
|
468
468
|
value: nt,
|
|
469
469
|
onSelect: _e,
|
|
470
470
|
className: ce,
|
|
471
|
-
children: f("
|
|
471
|
+
children: f("inputs.multiSelect.clearAll", "Clear all")
|
|
472
472
|
}
|
|
473
473
|
) : null
|
|
474
474
|
] }) : null,
|
|
475
|
-
/* @__PURE__ */ n(u.Empty, { className: "ds:ps-2 ds:pe-2 ds:py-2 type-body-sm ds:text-muted-foreground", children: f("
|
|
475
|
+
/* @__PURE__ */ n(u.Empty, { className: "ds:ps-2 ds:pe-2 ds:py-2 type-body-sm ds:text-muted-foreground", children: f("inputs.multiSelect.noOptions", "No options found") }),
|
|
476
476
|
Ce.map(({ group: e, items: t }, s) => {
|
|
477
477
|
const o = t.map((a) => {
|
|
478
478
|
const d = r.includes(a.value), l = !d && ee, h = !!a.disabled || l, R = /* @__PURE__ */ x(
|
|
@@ -507,7 +507,7 @@ const We = {
|
|
|
507
507
|
return l ? /* @__PURE__ */ n(
|
|
508
508
|
de,
|
|
509
509
|
{
|
|
510
|
-
label: f("
|
|
510
|
+
label: f("inputs.multiSelect.maxReached", {
|
|
511
511
|
count: b,
|
|
512
512
|
defaultValue: `Maximum ${b} selections`
|
|
513
513
|
}),
|
|
@@ -542,4 +542,4 @@ export {
|
|
|
542
542
|
Ze as a,
|
|
543
543
|
We as m
|
|
544
544
|
};
|
|
545
|
-
//# sourceMappingURL=multi-select-
|
|
545
|
+
//# sourceMappingURL=multi-select-Bh-xR8kP.js.map
|
|
@@ -108,7 +108,7 @@ const S = {
|
|
|
108
108
|
{
|
|
109
109
|
ref: u,
|
|
110
110
|
dir: y,
|
|
111
|
-
"aria-label": e ?? w("
|
|
111
|
+
"aria-label": e ?? w("navigation.nav.label"),
|
|
112
112
|
className: [V, t].filter(Boolean).join(" "),
|
|
113
113
|
id: i,
|
|
114
114
|
"data-component": "navigation-menu",
|
|
@@ -276,4 +276,4 @@ export {
|
|
|
276
276
|
f as g,
|
|
277
277
|
S as n
|
|
278
278
|
};
|
|
279
|
-
//# sourceMappingURL=navigation-menu-
|
|
279
|
+
//# sourceMappingURL=navigation-menu-Bav1d_wA.js.map
|
|
@@ -107,7 +107,7 @@ const G = M(
|
|
|
107
107
|
() => d(e),
|
|
108
108
|
Number.isFinite(y) ? y : 200
|
|
109
109
|
);
|
|
110
|
-
}, [d, e, f, b]), F = e.read ? "read" : "unread", I = e.read ? "" : u("
|
|
110
|
+
}, [d, e, f, b]), F = e.read ? "read" : "unread", I = e.read ? "" : u("notificationCard.unreadSuffix", ", unread"), x = u("notificationCard.itemLabel", {
|
|
111
111
|
title: e.title,
|
|
112
112
|
time: S,
|
|
113
113
|
unreadSuffix: I,
|
|
@@ -238,7 +238,7 @@ const G = M(
|
|
|
238
238
|
intent: "ghost",
|
|
239
239
|
size: "sm",
|
|
240
240
|
"aria-label": u(
|
|
241
|
-
"
|
|
241
|
+
"notificationCard.dismiss",
|
|
242
242
|
"Dismiss notification"
|
|
243
243
|
),
|
|
244
244
|
onClick: w
|
|
@@ -254,4 +254,4 @@ export {
|
|
|
254
254
|
G as N,
|
|
255
255
|
q as i
|
|
256
256
|
};
|
|
257
|
-
//# sourceMappingURL=notification-card-
|
|
257
|
+
//# sourceMappingURL=notification-card-CRIE2Cuk.js.map
|