@alfadocs/ui-kit 0.65.0 → 0.67.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-Bl-SBiCh.js → agenda-card-BxSFkqgY.js} +2 -2
- package/dist/_chunks/{agenda-tray-Bh1KfEOG.js → agenda-tray-T-BumlGZ.js} +2 -2
- package/dist/_chunks/{ai-consent-banner-Btzmk8OH.js → ai-consent-banner-Dxtx_WAh.js} +2 -2
- package/dist/_chunks/{ai-tools-rail-JnlTqfS4.js → ai-tools-rail-DfmewPUN.js} +92 -76
- package/dist/_chunks/{alia-sidebar-CN8pA6c-.js → alia-sidebar-Ckv0yCKi.js} +2 -2
- package/dist/_chunks/{anamnesis-card-qeLYRG79.js → anamnesis-card-N8pIKWuS.js} +2 -2
- package/dist/_chunks/{antenatal-schedule-timeline-BfzFjEyb.js → antenatal-schedule-timeline-35ebkcZT.js} +2 -2
- package/dist/_chunks/{appointment-tray-BQnJEora.js → appointment-tray-CQJ3Nbi5.js} +4 -4
- package/dist/_chunks/{badge-zsf5i5bH.js → badge-CqGsX32l.js} +46 -42
- package/dist/_chunks/{bishop-score-x2fNqbuZ.js → bishop-score-CjsB9bM-.js} +3 -3
- package/dist/_chunks/{bmi-calculator-C3roxbqD.js → bmi-calculator-n-823_1V.js} +3 -3
- package/dist/_chunks/{care-plan-card-D42WD4-T.js → care-plan-card-CJei-nl9.js} +4 -4
- package/dist/_chunks/{care-plan-entry-card-BukNI7Uy.js → care-plan-entry-card-EmfrbHu8.js} +4 -4
- package/dist/_chunks/{clinical-note-card-BYo437dU.js → clinical-note-card-gtrxv6zn.js} +2 -2
- package/dist/_chunks/{color-picker-9tL7pz5y.js → color-picker-B7xsn6tX.js} +186 -167
- package/dist/_chunks/columns-2-BTOBZbep.js +15 -0
- package/dist/_chunks/{contact-profile-card-CCeJmjbd.js → contact-profile-card-7BMB85T6.js} +2 -2
- package/dist/_chunks/{cycle-calculator-DrVXbIB4.js → cycle-calculator-BF0ointe.js} +3 -3
- package/dist/_chunks/{dependent-selector-CRWgieHm.js → dependent-selector-DpzGtr_J.js} +2 -2
- package/dist/_chunks/{document-scanner-biBS_f6c.js → document-scanner-D2qehl3-.js} +53 -53
- package/dist/_chunks/{due-date-calculator-D4K1BnE2.js → due-date-calculator-DU9AEWNy.js} +4 -4
- package/dist/_chunks/{editable-currency-cell-renderer-CFqQc56y.js → editable-currency-cell-renderer-BVJ04DkB.js} +914 -865
- package/dist/_chunks/{fetal-weight-B_pBjlO7.js → fetal-weight-BVSzOhuR.js} +3 -3
- package/dist/_chunks/{gestational-age-calculator-BETQAVkA.js → gestational-age-calculator-DBlFdoiP.js} +4 -4
- package/dist/_chunks/{hcg-doubling-8zXCJgAQ.js → hcg-doubling-if4Q8aSX.js} +3 -3
- package/dist/_chunks/{type-DZ5OMRA2.js → image-C6RM5hfF.js} +4 -16
- package/dist/_chunks/{insert-result-DIAG3ltJ.js → insert-result-njqBthzT.js} +68 -57
- package/dist/_chunks/{marketplace-app-shell-BXfRMiRk.js → marketplace-app-shell-Bu-HD3fy.js} +3 -3
- package/dist/_chunks/{message-card-Bgcvfj6-.js → message-card-Bx4GmLvf.js} +9 -9
- package/dist/_chunks/{message-tray-saAVMeHP.js → message-tray-CVyJajVJ.js} +2 -2
- package/dist/_chunks/{operator-hero-CM8949Hd.js → operator-hero-f_KaRhw5.js} +2 -2
- package/dist/_chunks/{patient-search-Bw9ONucF.js → patient-search-DR9XUYRQ.js} +2 -2
- package/dist/_chunks/{patient-shell-CF_qon7C.js → patient-shell-DrV_iekt.js} +2 -2
- package/dist/_chunks/{patient-summary-card-Bgso0p_l.js → patient-summary-card-ByfIU8N0.js} +4 -4
- package/dist/_chunks/{payment-request-card-DBz3hVDz.js → payment-request-card-yTjzKQCU.js} +3 -3
- package/dist/_chunks/{periodontal-chart-card-AYyHtU9K.js → periodontal-chart-card-Dh3KgvYG.js} +2 -2
- package/dist/_chunks/{practice-results-CVAgY2RZ.js → practice-results-DND2SAt7.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-BuzLTwjy.js → pregnancy-dating-QY-sqpvj.js} +4 -4
- package/dist/_chunks/{pregnancy-weight-gain-aicn7qs7.js → pregnancy-weight-gain-DOJXXNYP.js} +3 -3
- package/dist/_chunks/rich-text-editor-BOQr5lHx.js +1970 -0
- package/dist/_chunks/{scroll-area-BWqCkEGz.js → scroll-area-eccd_Uf-.js} +38 -28
- package/dist/_chunks/{sidebar-DPEHzxLZ.js → sidebar-CGjIk_FQ.js} +36 -22
- package/dist/_chunks/{suggestion-chip-C4kxWUIs.js → suggestion-chip-Bk4PmYTg.js} +30 -30
- package/dist/_chunks/{tab-bar-Xetknddo.js → tab-bar-B1ovILzh.js} +2 -2
- package/dist/_chunks/{tag-CdA0s_VV.js → tag-BQXwuJq1.js} +41 -38
- package/dist/_chunks/{transaction-chip-BZCa6XDn.js → transaction-chip-BrW8P50O.js} +19 -19
- package/dist/_chunks/trash-2-rPAKaRgB.js +18 -0
- package/dist/_chunks/{unit-converter-CHN2cZ4b.js → unit-converter-C1V3ACM9.js} +2 -2
- package/dist/_chunks/{workflow-map-BX3JY1Bu.js → workflow-map-JAZryZJr.js} +137 -149
- 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-consent-banner/index.js +1 -1
- package/dist/components/ai-tools-rail/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +1 -1
- package/dist/components/badge/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/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/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts +16 -0
- package/dist/components/data-table/cell-renderers/tooth-cell-renderer.d.ts +12 -0
- package/dist/components/data-table/data-table.d.ts +1 -1
- package/dist/components/data-table/index.d.ts +2 -0
- package/dist/components/data-table/index.js +13 -12
- package/dist/components/data-table/toolbar.d.ts +5 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/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/operator-hero/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/rich-text-editor/editor-toolbar.d.ts +36 -2
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +2 -0
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/suggestion-chip/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +26 -0
- package/dist/i18n/locales/ar.js +27 -1
- package/dist/i18n/locales/de.d.ts +26 -0
- package/dist/i18n/locales/de.js +27 -1
- package/dist/i18n/locales/el.d.ts +26 -0
- package/dist/i18n/locales/el.js +27 -1
- package/dist/i18n/locales/en.d.ts +26 -0
- package/dist/i18n/locales/en.js +27 -1
- package/dist/i18n/locales/es.d.ts +26 -0
- package/dist/i18n/locales/es.js +27 -1
- package/dist/i18n/locales/fr.d.ts +26 -0
- package/dist/i18n/locales/fr.js +27 -1
- package/dist/i18n/locales/hi.d.ts +26 -0
- package/dist/i18n/locales/hi.js +27 -1
- package/dist/i18n/locales/it.d.ts +26 -0
- package/dist/i18n/locales/it.js +27 -1
- package/dist/i18n/locales/ja.d.ts +26 -0
- package/dist/i18n/locales/ja.js +27 -1
- package/dist/i18n/locales/nl.d.ts +26 -0
- package/dist/i18n/locales/nl.js +25 -1
- package/dist/i18n/locales/pl.d.ts +26 -0
- package/dist/i18n/locales/pl.js +27 -1
- package/dist/i18n/locales/pt.d.ts +26 -0
- package/dist/i18n/locales/pt.js +27 -1
- package/dist/i18n/locales/ro.d.ts +26 -0
- package/dist/i18n/locales/ro.js +27 -1
- package/dist/i18n/locales/ru.d.ts +26 -0
- package/dist/i18n/locales/ru.js +27 -1
- package/dist/i18n/locales/sq.d.ts +26 -0
- package/dist/i18n/locales/sq.js +27 -1
- package/dist/i18n/locales/sv.d.ts +26 -0
- package/dist/i18n/locales/sv.js +25 -1
- package/dist/i18n/locales/tr.d.ts +26 -0
- package/dist/i18n/locales/tr.js +27 -1
- package/dist/i18n/locales/zh.d.ts +26 -0
- package/dist/i18n/locales/zh.js +25 -1
- package/dist/index.js +509 -508
- package/dist/locales/ar.json +27 -1
- package/dist/locales/de.json +27 -1
- package/dist/locales/el.json +27 -1
- package/dist/locales/en.json +27 -1
- package/dist/locales/es.json +27 -1
- package/dist/locales/fr.json +27 -1
- package/dist/locales/hi.json +27 -1
- package/dist/locales/it.json +27 -1
- package/dist/locales/ja.json +27 -1
- package/dist/locales/nl.json +27 -1
- package/dist/locales/pl.json +27 -1
- package/dist/locales/pt.json +27 -1
- package/dist/locales/ro.json +27 -1
- package/dist/locales/ru.json +27 -1
- package/dist/locales/sq.json +27 -1
- package/dist/locales/sv.json +27 -1
- package/dist/locales/tr.json +27 -1
- package/dist/locales/zh.json +27 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +6 -3
- package/package.json +1 -1
- package/dist/_chunks/rich-text-editor-u36FqSWz.js +0 -1190
|
@@ -5,8 +5,8 @@ import { useTranslation as A } from "react-i18next";
|
|
|
5
5
|
import { F as D } from "./form-field-BOm9hK35.js";
|
|
6
6
|
import { N as E } from "./number-input-Dj5L3pXK.js";
|
|
7
7
|
import { C as N } from "./card-DPmk26CL.js";
|
|
8
|
-
import { B as H } from "./badge-
|
|
9
|
-
import { I as S } from "./insert-result-
|
|
8
|
+
import { B as H } from "./badge-CqGsX32l.js";
|
|
9
|
+
import { I as S } from "./insert-result-njqBthzT.js";
|
|
10
10
|
function h(l) {
|
|
11
11
|
return typeof l == "number" && Number.isFinite(l) && l > 0 ? l / 10 : null;
|
|
12
12
|
}
|
|
@@ -119,4 +119,4 @@ export {
|
|
|
119
119
|
G as F,
|
|
120
120
|
q as e
|
|
121
121
|
};
|
|
122
|
-
//# sourceMappingURL=fetal-weight-
|
|
122
|
+
//# sourceMappingURL=fetal-weight-BVSzOhuR.js.map
|
|
@@ -9,9 +9,9 @@ import { D as w } from "./date-picker-oGg5BnXL.js";
|
|
|
9
9
|
import { S as le } from "./select-CEtRcon5.js";
|
|
10
10
|
import { S as se } from "./switch-BJ6HD3Mn.js";
|
|
11
11
|
import { C as R } from "./card-DPmk26CL.js";
|
|
12
|
-
import { B as T } from "./badge-
|
|
13
|
-
import { I as ie } from "./insert-result-
|
|
14
|
-
import { c as ne, g as oe, e as re, f as de, A as ce, h as me, i as ge, G as ue } from "./antenatal-schedule-timeline-
|
|
12
|
+
import { B as T } from "./badge-CqGsX32l.js";
|
|
13
|
+
import { I as ie } from "./insert-result-njqBthzT.js";
|
|
14
|
+
import { c as ne, g as oe, e as re, f as de, A as ce, h as me, i as ge, G as ue } from "./antenatal-schedule-timeline-35ebkcZT.js";
|
|
15
15
|
import { s as he } from "./subDays-BcYv1Lxi.js";
|
|
16
16
|
import { i as pe } from "./date-picker-variants-DAcSLTua.js";
|
|
17
17
|
const fe = ae("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
|
|
@@ -308,4 +308,4 @@ ve.displayName = "GestationalAgeCalculator";
|
|
|
308
308
|
export {
|
|
309
309
|
ve as G
|
|
310
310
|
};
|
|
311
|
-
//# sourceMappingURL=gestational-age-calculator-
|
|
311
|
+
//# sourceMappingURL=gestational-age-calculator-DBlFdoiP.js.map
|
|
@@ -6,8 +6,8 @@ import { F as f } from "./form-field-BOm9hK35.js";
|
|
|
6
6
|
import { N as L } from "./number-input-Dj5L3pXK.js";
|
|
7
7
|
import { D as M } from "./date-time-picker-Ze1My59T.js";
|
|
8
8
|
import { C as _ } from "./card-DPmk26CL.js";
|
|
9
|
-
import { B as A } from "./badge-
|
|
10
|
-
import { I as C } from "./insert-result-
|
|
9
|
+
import { B as A } from "./badge-CqGsX32l.js";
|
|
10
|
+
import { I as C } from "./insert-result-njqBthzT.js";
|
|
11
11
|
const O = 1e3 * 60 * 60, z = 35;
|
|
12
12
|
function G(D) {
|
|
13
13
|
const { hcg1: r, hcg2: s, date1: d, date2: o } = D;
|
|
@@ -167,4 +167,4 @@ export {
|
|
|
167
167
|
z as M,
|
|
168
168
|
G as a
|
|
169
169
|
};
|
|
170
|
-
//# sourceMappingURL=hcg-doubling-
|
|
170
|
+
//# sourceMappingURL=hcg-doubling-if4Q8aSX.js.map
|
|
@@ -5,24 +5,12 @@ import { c as e } from "./createLucideIcon-CrFbzy84.js";
|
|
|
5
5
|
* This source code is licensed under the ISC license.
|
|
6
6
|
* See the LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
|
-
const
|
|
8
|
+
const c = [
|
|
9
9
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
|
|
10
10
|
["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }],
|
|
11
11
|
["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
|
|
12
|
-
],
|
|
13
|
-
/**
|
|
14
|
-
* @license lucide-react v1.8.0 - ISC
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the ISC license.
|
|
17
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/
|
|
19
|
-
const a = [
|
|
20
|
-
["path", { d: "M12 4v16", key: "1654pz" }],
|
|
21
|
-
["path", { d: "M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2", key: "e0r10z" }],
|
|
22
|
-
["path", { d: "M9 20h6", key: "s66wpe" }]
|
|
23
|
-
], y = e("type", a);
|
|
12
|
+
], a = e("image", c);
|
|
24
13
|
export {
|
|
25
|
-
|
|
26
|
-
y as T
|
|
14
|
+
a as I
|
|
27
15
|
};
|
|
28
|
-
//# sourceMappingURL=
|
|
16
|
+
//# sourceMappingURL=image-C6RM5hfF.js.map
|
|
@@ -4,9 +4,20 @@ import { useTranslation as Dt } from "react-i18next";
|
|
|
4
4
|
import { c as Nt } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { B as Gt } from "./button-DD_0Xdmr.js";
|
|
6
6
|
import { L as Ht } from "./layers-pzGcbLPj.js";
|
|
7
|
-
import { I as Rt
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
import { I as Rt } from "./image-C6RM5hfF.js";
|
|
8
|
+
import { c as Pt } from "./createLucideIcon-CrFbzy84.js";
|
|
9
|
+
/**
|
|
10
|
+
* @license lucide-react v1.8.0 - ISC
|
|
11
|
+
*
|
|
12
|
+
* This source code is licensed under the ISC license.
|
|
13
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
14
|
+
*/
|
|
15
|
+
const Ft = [
|
|
16
|
+
["path", { d: "M12 4v16", key: "1654pz" }],
|
|
17
|
+
["path", { d: "M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2", key: "e0r10z" }],
|
|
18
|
+
["path", { d: "M9 20h6", key: "s66wpe" }]
|
|
19
|
+
], Ot = Pt("type", Ft), Ut = 15, at = 40, zt = [18.5, 25, 30];
|
|
20
|
+
function Mn() {
|
|
10
21
|
return {
|
|
11
22
|
bands: [
|
|
12
23
|
{ upTo: 18.5, colorToken: "--info" },
|
|
@@ -14,19 +25,19 @@ function Tn() {
|
|
|
14
25
|
{ upTo: 30, colorToken: "--warning-readable" },
|
|
15
26
|
{ upTo: at, colorToken: "--destructive" }
|
|
16
27
|
],
|
|
17
|
-
min:
|
|
28
|
+
min: Ut,
|
|
18
29
|
max: at,
|
|
19
|
-
ticks: [...
|
|
30
|
+
ticks: [...zt]
|
|
20
31
|
};
|
|
21
32
|
}
|
|
22
|
-
const V = 14, j = 12,
|
|
33
|
+
const V = 14, j = 12, Wt = j / 2, ot = 18, Xt = 12, Vt = 16;
|
|
23
34
|
function N(t, n, i, a, o) {
|
|
24
35
|
if (i <= n) return a;
|
|
25
36
|
const r = (t - n) / (i - n);
|
|
26
37
|
return a + r * (o - a);
|
|
27
38
|
}
|
|
28
39
|
function pt(t, { width: n, height: i }) {
|
|
29
|
-
const a = V, o = n - V, r = ot +
|
|
40
|
+
const a = V, o = n - V, r = ot + Xt, e = ot, c = r + j + Vt;
|
|
30
41
|
let u = t.min;
|
|
31
42
|
const d = t.bands.map((l) => {
|
|
32
43
|
const T = Math.max(t.min, Math.min(u, t.max)), y = Math.max(t.min, Math.min(l.upTo, t.max));
|
|
@@ -44,7 +55,7 @@ function pt(t, { width: n, height: i }) {
|
|
|
44
55
|
barEnd: o,
|
|
45
56
|
barY: r,
|
|
46
57
|
barH: j,
|
|
47
|
-
barRadius:
|
|
58
|
+
barRadius: Wt,
|
|
48
59
|
bands: d,
|
|
49
60
|
marker: {
|
|
50
61
|
x: k,
|
|
@@ -67,7 +78,7 @@ function bt(t, n, i, a, o, r) {
|
|
|
67
78
|
c - r
|
|
68
79
|
)} ${d} H${s(t + o)} ${f} V${s(n + o)} ${b} Z`;
|
|
69
80
|
}
|
|
70
|
-
function
|
|
81
|
+
function jt(t, n) {
|
|
71
82
|
const { resolve: i, font: a, fg: o, muted: r, track: e } = n, c = M(a), u = `<rect x="${s(t.barStart)}" y="${s(
|
|
72
83
|
t.barY
|
|
73
84
|
)}" width="${s(t.barEnd - t.barStart)}" height="${t.barH}" rx="${t.barRadius}" fill="${e}"/>`, d = t.bands.length, f = t.bands.map((m, x) => {
|
|
@@ -126,12 +137,12 @@ function Xt(t, n) {
|
|
|
126
137
|
t.ariaLabel
|
|
127
138
|
)}">${D}${u}${f}${h}${y}${E}${w}${B}${S}</g>`;
|
|
128
139
|
}
|
|
129
|
-
const
|
|
130
|
-
function
|
|
140
|
+
const Kt = 260, Q = 64;
|
|
141
|
+
function Zt(t) {
|
|
131
142
|
return `var(${t})`;
|
|
132
143
|
}
|
|
133
|
-
const
|
|
134
|
-
function({ model: n, width: i =
|
|
144
|
+
const qt = ht(
|
|
145
|
+
function({ model: n, width: i = Kt, height: a = Q, className: o }, r) {
|
|
135
146
|
const e = pt(n, { width: i, height: a }), c = e.barY + e.barH, u = c + 4, d = e.barY - 3, f = e.barY + e.barH + 3, b = e.barY - 4, k = e.bands.length, h = e.barY + e.barH / 2;
|
|
136
147
|
return /* @__PURE__ */ P(
|
|
137
148
|
"svg",
|
|
@@ -169,7 +180,7 @@ const Kt = ht(
|
|
|
169
180
|
l === 0 ? e.barRadius : 0,
|
|
170
181
|
l === k - 1 ? e.barRadius : 0
|
|
171
182
|
),
|
|
172
|
-
fill:
|
|
183
|
+
fill: Zt($.colorToken)
|
|
173
184
|
},
|
|
174
185
|
`${$.colorToken}-${l}`
|
|
175
186
|
)),
|
|
@@ -271,8 +282,8 @@ const Kt = ht(
|
|
|
271
282
|
);
|
|
272
283
|
}
|
|
273
284
|
);
|
|
274
|
-
|
|
275
|
-
const
|
|
285
|
+
qt.displayName = "BandedGauge";
|
|
286
|
+
const Jt = 24, mt = 18, G = 12, gt = {
|
|
276
287
|
activity: '<path d="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"/>',
|
|
277
288
|
scale: '<path d="M12 3v18"/><path d="m19 8 3 8a5 5 0 0 1-6 0zV7"/><path d="M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1"/><path d="m5 8 3 8a5 5 0 0 1-6 0zV7"/><path d="M7 21h10"/>',
|
|
278
289
|
ruler: '<path d="M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z"/><path d="m14.5 12.5 2-2"/><path d="m11.5 9.5 2-2"/><path d="m8.5 6.5 2-2"/><path d="m17.5 15.5 2-2"/>',
|
|
@@ -291,14 +302,14 @@ function xt(t) {
|
|
|
291
302
|
}
|
|
292
303
|
function rt(t, n, i, a, o) {
|
|
293
304
|
if (!xt(t)) return "";
|
|
294
|
-
const r = o /
|
|
305
|
+
const r = o / Jt;
|
|
295
306
|
return `<g transform="translate(${i} ${a}) scale(${r})" fill="none" color="${n}" stroke="${n}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">${gt[t]}</g>`;
|
|
296
307
|
}
|
|
297
308
|
function Y(t) {
|
|
298
309
|
return t.variant === "banded";
|
|
299
310
|
}
|
|
300
|
-
const
|
|
301
|
-
function
|
|
311
|
+
const Qt = ["fg", "muted", "accent", "border", "bg"], tt = "--primary", F = 380, vt = (t) => t.trim().replace(/^--/, "");
|
|
312
|
+
function tn(t) {
|
|
302
313
|
return `ds:text-[color:var(${t})]`;
|
|
303
314
|
}
|
|
304
315
|
function kt(t) {
|
|
@@ -368,8 +379,8 @@ function Lt(t) {
|
|
|
368
379
|
const n = t.fields.map((a) => `<li>${v(a.label)}: ${v(a.value)}</li>`).join(""), i = t.highlight ? `<p><strong>${v(t.highlight)}</strong></p>` : "";
|
|
369
380
|
return `<p><strong>${v(t.title)}</strong></p>${i}<ul>${n}</ul>`;
|
|
370
381
|
}
|
|
371
|
-
const L = 20, _ = L + 18, H = 22,
|
|
372
|
-
function
|
|
382
|
+
const L = 20, _ = L + 18, H = 22, nn = 10, wt = 22, st = 16, it = 12, en = 12, Tt = 34, Z = 9, q = (Tt + Z) * 2, an = 16, lt = mt, on = 6, R = L + G + on, X = F - L - R, ct = 13, Et = 14, It = 13, J = 16;
|
|
383
|
+
function rn(t) {
|
|
373
384
|
return t >= 4352 && t <= 4447 || // Hangul Jamo
|
|
374
385
|
t >= 11904 && t <= 42191 || // CJK radicals … Yi
|
|
375
386
|
t >= 44032 && t <= 55203 || // Hangul syllables
|
|
@@ -381,10 +392,10 @@ function an(t) {
|
|
|
381
392
|
function A(t, n) {
|
|
382
393
|
let i = 0;
|
|
383
394
|
for (const a of t)
|
|
384
|
-
i +=
|
|
395
|
+
i += rn(a.codePointAt(0) ?? 0) ? 1 : 0.62;
|
|
385
396
|
return i * n;
|
|
386
397
|
}
|
|
387
|
-
function
|
|
398
|
+
function sn(t, n, i) {
|
|
388
399
|
const a = [];
|
|
389
400
|
let o = "";
|
|
390
401
|
for (const r of t)
|
|
@@ -395,7 +406,7 @@ function ut(t, n, i) {
|
|
|
395
406
|
const a = [];
|
|
396
407
|
let o = "";
|
|
397
408
|
const r = (e) => {
|
|
398
|
-
const c =
|
|
409
|
+
const c = sn(e, n, i);
|
|
399
410
|
for (let u = 0; u < c.length - 1; u += 1) a.push(c[u]);
|
|
400
411
|
o = c[c.length - 1];
|
|
401
412
|
};
|
|
@@ -428,14 +439,14 @@ function nt(t, n) {
|
|
|
428
439
|
const i = n !== void 0 ? n : t.brand;
|
|
429
440
|
return typeof i == "string" ? i : !1;
|
|
430
441
|
}
|
|
431
|
-
function
|
|
442
|
+
function ln(t) {
|
|
432
443
|
if (typeof t.fraction == "number")
|
|
433
444
|
return Math.min(1, Math.max(0, t.fraction));
|
|
434
445
|
const n = parseFloat(t.value);
|
|
435
446
|
return Number.isFinite(n) && typeof t.max == "number" && t.max > 0 ? Math.min(1, Math.max(0, n / t.max)) : 1;
|
|
436
447
|
}
|
|
437
448
|
function _t(t, n) {
|
|
438
|
-
const i = !!t.highlight, a = _ +
|
|
449
|
+
const i = !!t.highlight, a = _ + nn, o = (i ? a + H + st : _ + st) + wt - 6, r = o + Mt(t).endDy, e = t.gauge && Y(t.gauge), d = t.gauge && !Y(t.gauge) ? (i ? a : _) + q : 0, f = e ? r + an : null, b = f !== null ? f + Q : 0, k = Math.max(r, d, b), h = n ? k + it + en - 4 : k, $ = Math.round(h + (n ? it : L));
|
|
439
450
|
return {
|
|
440
451
|
hasChip: i,
|
|
441
452
|
chipY: a,
|
|
@@ -449,8 +460,8 @@ function _t(t, n) {
|
|
|
449
460
|
function At(t, n) {
|
|
450
461
|
return _t(t, n !== !1).height;
|
|
451
462
|
}
|
|
452
|
-
function
|
|
453
|
-
const r = Tt, e = 2 * Math.PI * r, c =
|
|
463
|
+
function cn(t, n, i, a, o) {
|
|
464
|
+
const r = Tt, e = 2 * Math.PI * r, c = ln(t), u = O(n, t.colorToken, n.accent), d = typeof t.segments == "number" && t.segments > 1 ? t.segments : 0, f = d ? 3 : 0, b = d ? e / d - f : e, k = d ? `${b} ${f}` : "", h = `${e * c} ${e}`, $ = `transform="rotate(-90 ${a} ${o})"`, l = v(
|
|
454
465
|
t.label ? `${t.value} — ${t.label}` : t.value
|
|
455
466
|
), T = `<circle cx="${a}" cy="${o}" r="${r}" fill="none" stroke="${n.border}" stroke-width="${Z}"${k ? ` stroke-dasharray="${k}"` : ""} ${$}/>`, y = `<circle cx="${a}" cy="${o}" r="${r}" fill="none" stroke="${u}" stroke-width="${Z}" stroke-linecap="round" stroke-dasharray="${h}" ${$}/>`, p = `<text x="${a}" y="${o + 1}" text-anchor="middle" dominant-baseline="middle" font-family="${i}" font-size="16" font-weight="700" fill="${n.fg}">${v(
|
|
456
467
|
t.value
|
|
@@ -459,7 +470,7 @@ function sn(t, n, i, a, o) {
|
|
|
459
470
|
)}</text>` : "";
|
|
460
471
|
return `<g role="img" aria-label="${l}"><title>${l}</title>${T}${y}${p}${E}</g>`;
|
|
461
472
|
}
|
|
462
|
-
function
|
|
473
|
+
function un(t, n, i, a) {
|
|
463
474
|
const o = L - V, r = i - 2 * o, e = pt(
|
|
464
475
|
{
|
|
465
476
|
value: t.value,
|
|
@@ -473,7 +484,7 @@ function ln(t, n, i, a) {
|
|
|
473
484
|
ticks: t.ticks
|
|
474
485
|
},
|
|
475
486
|
{ width: r, height: Q }
|
|
476
|
-
), c =
|
|
487
|
+
), c = jt(e, {
|
|
477
488
|
resolve: (u) => O(n, u, n.accent),
|
|
478
489
|
// Raw theme font — buildBandedGaugeSvgString escapes it once. Passing the
|
|
479
490
|
// card's already-escaped `font` here would double-escape and break it.
|
|
@@ -495,14 +506,14 @@ function ft([t, n, i]) {
|
|
|
495
506
|
};
|
|
496
507
|
return 0.2126 * a(t) + 0.7152 * a(n) + 0.0722 * a(i);
|
|
497
508
|
}
|
|
498
|
-
function
|
|
509
|
+
function dn(t, n) {
|
|
499
510
|
const i = dt(t), a = dt(n);
|
|
500
511
|
if (!i || !a) return 0;
|
|
501
512
|
const o = ft(i), r = ft(a);
|
|
502
513
|
return (Math.max(o, r) + 0.05) / (Math.min(o, r) + 0.05);
|
|
503
514
|
}
|
|
504
|
-
function
|
|
505
|
-
const o = t.highlight, r = t.highlightToken ?? tt, e = O(n, r, n.accent), c =
|
|
515
|
+
function fn(t, n, i, a) {
|
|
516
|
+
const o = t.highlight, r = t.highlightToken ?? tt, e = O(n, r, n.accent), c = dn(n.bg, e) >= 3 ? n.bg : n.fg, u = Math.round(o.length * 7.2 + 28), d = L + u / 2, f = a + H / 2 + 1;
|
|
506
517
|
return `<rect x="${L}" y="${a}" width="${u}" height="${H}" rx="${H / 2}" fill="${e}"/><text x="${d}" y="${f}" text-anchor="middle" dominant-baseline="middle" font-family="${i}" font-size="12" font-weight="600" fill="${c}">${v(
|
|
507
518
|
o
|
|
508
519
|
)}</text>`;
|
|
@@ -537,9 +548,9 @@ function et(t, n, i = !1) {
|
|
|
537
548
|
)}</text>`;
|
|
538
549
|
}).join("");
|
|
539
550
|
return `${x}${C}`;
|
|
540
|
-
}).join(""), k = o.hasChip ?
|
|
551
|
+
}).join(""), k = o.hasChip ? fn(t, n, e, o.chipY) : "";
|
|
541
552
|
let h = "";
|
|
542
|
-
t.gauge && (Y(t.gauge) && o.bandedGaugeY !== null ? h =
|
|
553
|
+
t.gauge && (Y(t.gauge) && o.bandedGaugeY !== null ? h = un(t.gauge, n, a, o.bandedGaugeY) : Y(t.gauge) || (h = cn(
|
|
543
554
|
t.gauge,
|
|
544
555
|
n,
|
|
545
556
|
e,
|
|
@@ -555,7 +566,7 @@ function et(t, n, i = !1) {
|
|
|
555
566
|
t.title
|
|
556
567
|
)}">${T}${l}${d}${k}${h}${b}${$}${y}</svg>`;
|
|
557
568
|
}
|
|
558
|
-
function
|
|
569
|
+
function $n() {
|
|
559
570
|
var t;
|
|
560
571
|
return typeof navigator < "u" && typeof ((t = navigator.clipboard) == null ? void 0 : t.write) == "function" && typeof ClipboardItem < "u";
|
|
561
572
|
}
|
|
@@ -580,7 +591,7 @@ function Ct() {
|
|
|
580
591
|
const t = typeof window < "u" && typeof window.devicePixelRatio == "number" ? window.devicePixelRatio : 1;
|
|
581
592
|
return Math.max(2, t);
|
|
582
593
|
}
|
|
583
|
-
async function
|
|
594
|
+
async function _n(t, n = {}) {
|
|
584
595
|
return (await Yt(t, n)).dataUri;
|
|
585
596
|
}
|
|
586
597
|
async function Yt(t, n = {}) {
|
|
@@ -589,15 +600,15 @@ async function Yt(t, n = {}) {
|
|
|
589
600
|
Math.round(u * a),
|
|
590
601
|
Math.round(d * a)
|
|
591
602
|
);
|
|
592
|
-
return { dataUri: await
|
|
603
|
+
return { dataUri: await hn(f), width: u, height: d };
|
|
593
604
|
}
|
|
594
|
-
function
|
|
605
|
+
function hn(t) {
|
|
595
606
|
return new Promise((n, i) => {
|
|
596
607
|
const a = new FileReader();
|
|
597
608
|
a.onload = () => n(String(a.result)), a.onerror = () => i(a.error ?? new Error("FileReader error")), a.readAsDataURL(t);
|
|
598
609
|
});
|
|
599
610
|
}
|
|
600
|
-
async function
|
|
611
|
+
async function pn(t, n, i) {
|
|
601
612
|
const a = yt(n), o = new Blob([a], { type: "text/plain" });
|
|
602
613
|
if (t === "text")
|
|
603
614
|
return new ClipboardItem({ "text/plain": o });
|
|
@@ -615,7 +626,7 @@ async function $n(t, n, i) {
|
|
|
615
626
|
"text/plain": o
|
|
616
627
|
});
|
|
617
628
|
}
|
|
618
|
-
const
|
|
629
|
+
const bn = Nt(
|
|
619
630
|
"ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
620
631
|
{
|
|
621
632
|
variants: {
|
|
@@ -626,8 +637,8 @@ const hn = Nt(
|
|
|
626
637
|
},
|
|
627
638
|
defaultVariants: { variant: "insert" }
|
|
628
639
|
}
|
|
629
|
-
),
|
|
630
|
-
text: /* @__PURE__ */ g(
|
|
640
|
+
), mn = ["text", "image", "text-image"], gn = {
|
|
641
|
+
text: /* @__PURE__ */ g(Ot, { "aria-hidden": !0 }),
|
|
631
642
|
image: /* @__PURE__ */ g(Rt, { "aria-hidden": !0 }),
|
|
632
643
|
"text-image": /* @__PURE__ */ g(Ht, { "aria-hidden": !0 })
|
|
633
644
|
}, $t = {
|
|
@@ -641,7 +652,7 @@ const hn = Nt(
|
|
|
641
652
|
image: "insert.copyImage",
|
|
642
653
|
"text-image": "insert.copyTextImage"
|
|
643
654
|
}
|
|
644
|
-
},
|
|
655
|
+
}, xn = ht(
|
|
645
656
|
function({
|
|
646
657
|
card: n,
|
|
647
658
|
variant: i = "insert",
|
|
@@ -657,7 +668,7 @@ const hn = Nt(
|
|
|
657
668
|
const w = l === "text" ? null : K(f.current, W(n));
|
|
658
669
|
return w && (p = et(n, w, nt(n, void 0)), E = `data:image/svg+xml,${encodeURIComponent(p)}`), { mode: l, text: T, html: y, svg: p, imageDataUri: E, pngDataUri: () => w ? Yt(n, { colours: w }) : Promise.resolve({ dataUri: "", width: 0, height: 0 }) };
|
|
659
670
|
}, $ = i === "copy" ? (l) => {
|
|
660
|
-
if (
|
|
671
|
+
if (!$n()) {
|
|
661
672
|
r == null || r(new Error("Clipboard write unavailable in this context"));
|
|
662
673
|
return;
|
|
663
674
|
}
|
|
@@ -667,7 +678,7 @@ const hn = Nt(
|
|
|
667
678
|
);
|
|
668
679
|
(async () => {
|
|
669
680
|
try {
|
|
670
|
-
const y = await
|
|
681
|
+
const y = await pn(l, n, T);
|
|
671
682
|
await navigator.clipboard.write([y]), o == null || o(l);
|
|
672
683
|
} catch (y) {
|
|
673
684
|
r == null || r(y);
|
|
@@ -682,10 +693,10 @@ const hn = Nt(
|
|
|
682
693
|
ref: u,
|
|
683
694
|
"data-component": "insert-result",
|
|
684
695
|
"data-variant": i,
|
|
685
|
-
className:
|
|
696
|
+
className: bn({ variant: i }),
|
|
686
697
|
children: [
|
|
687
698
|
/* @__PURE__ */ P("span", { ref: f, "aria-hidden": !0, className: "ds:sr-only", children: [
|
|
688
|
-
|
|
699
|
+
Qt.map((l) => /* @__PURE__ */ g(
|
|
689
700
|
"span",
|
|
690
701
|
{
|
|
691
702
|
"data-k": l,
|
|
@@ -697,18 +708,18 @@ const hn = Nt(
|
|
|
697
708
|
"span",
|
|
698
709
|
{
|
|
699
710
|
"data-token": vt(l),
|
|
700
|
-
className:
|
|
711
|
+
className: tn(l)
|
|
701
712
|
},
|
|
702
713
|
l
|
|
703
714
|
))
|
|
704
715
|
] }),
|
|
705
|
-
|
|
716
|
+
mn.map((l) => /* @__PURE__ */ g(
|
|
706
717
|
Gt,
|
|
707
718
|
{
|
|
708
719
|
type: "button",
|
|
709
720
|
intent: c,
|
|
710
721
|
size: e,
|
|
711
|
-
startIcon:
|
|
722
|
+
startIcon: gn[l],
|
|
712
723
|
"aria-label": d($t[i][l]),
|
|
713
724
|
onClick: () => $(l),
|
|
714
725
|
children: d($t[i][l])
|
|
@@ -720,12 +731,12 @@ const hn = Nt(
|
|
|
720
731
|
);
|
|
721
732
|
}
|
|
722
733
|
);
|
|
723
|
-
|
|
734
|
+
xn.displayName = "InsertButton";
|
|
724
735
|
export {
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
736
|
+
qt as B,
|
|
737
|
+
xn as I,
|
|
738
|
+
_n as a,
|
|
739
|
+
Mn as b,
|
|
729
740
|
Yt as s
|
|
730
741
|
};
|
|
731
|
-
//# sourceMappingURL=insert-result-
|
|
742
|
+
//# sourceMappingURL=insert-result-njqBthzT.js.map
|
package/dist/_chunks/{marketplace-app-shell-BXfRMiRk.js → marketplace-app-shell-Bu-HD3fy.js}
RENAMED
|
@@ -7,11 +7,11 @@ import { A as C } from "./avatar-BNQNhoyL.js";
|
|
|
7
7
|
import { A as D } from "./alert-_mUKLmwA.js";
|
|
8
8
|
import { C as w } from "./card-DPmk26CL.js";
|
|
9
9
|
import { D as m } from "./dropdown-menu-DwwPovMZ.js";
|
|
10
|
-
import { T as F } from "./tab-bar-
|
|
10
|
+
import { T as F } from "./tab-bar-B1ovILzh.js";
|
|
11
11
|
import { a as S, H as q, g as G, f as A, e as J, c as K, d as Q } from "./header-CNszv2WQ.js";
|
|
12
12
|
import { H as U } from "./header-settings-CNOqIhoW.js";
|
|
13
13
|
import { S as X } from "./sign-in-with-alfadocs-button-LppxjlFt.js";
|
|
14
|
-
import { S as Y, a as Z, j as _, k as aa, i as ea, h as z } from "./sidebar-
|
|
14
|
+
import { S as Y, a as Z, j as _, k as aa, i as ea, h as z } from "./sidebar-CGjIk_FQ.js";
|
|
15
15
|
import { T as sa } from "./theme-root-BOO73p5t.js";
|
|
16
16
|
import { a as ta } from "./tooltip-DvmfrNvB.js";
|
|
17
17
|
import { u as ra } from "./use-theme-CAuo6EYT.js";
|
|
@@ -510,4 +510,4 @@ export {
|
|
|
510
510
|
va as M,
|
|
511
511
|
g as P
|
|
512
512
|
};
|
|
513
|
-
//# sourceMappingURL=marketplace-app-shell-
|
|
513
|
+
//# sourceMappingURL=marketplace-app-shell-Bu-HD3fy.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
2
|
+
import { forwardRef as R, useMemo as B, useState as L, useRef as U, useCallback as E } from "react";
|
|
3
3
|
import { c as W } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as D } from "react-i18next";
|
|
5
5
|
import { I as H } from "./icon-button-LqoiKcUN.js";
|
|
@@ -69,7 +69,7 @@ const O = W(
|
|
|
69
69
|
"ds:focus-visible:after:outline-[color:var(--ring)]",
|
|
70
70
|
"ds:focus-visible:after:outline-offset-[length:var(--focus-ring-offset)]",
|
|
71
71
|
"ds:forced-colors:focus-visible:after:outline-[CanvasText]"
|
|
72
|
-
].join(" "), Q =
|
|
72
|
+
].join(" "), Q = R(
|
|
73
73
|
({
|
|
74
74
|
item: e,
|
|
75
75
|
variant: d = "compact",
|
|
@@ -103,14 +103,14 @@ const O = W(
|
|
|
103
103
|
);
|
|
104
104
|
},
|
|
105
105
|
[o, e, f, w]
|
|
106
|
-
), F = e.read ? "read" : "unread",
|
|
106
|
+
), F = e.read ? "read" : "unread", _ = e.read ? "" : n("messageCard.unreadSuffix", ", unread"), P = e.subject ? n("messageCard.subjectFragment", {
|
|
107
107
|
subject: e.subject,
|
|
108
108
|
defaultValue: " — {{subject}}"
|
|
109
109
|
}) : "", C = n("messageCard.itemLabel", {
|
|
110
110
|
sender: e.sender.name,
|
|
111
|
-
subjectFragment:
|
|
111
|
+
subjectFragment: P,
|
|
112
112
|
time: S,
|
|
113
|
-
unreadSuffix:
|
|
113
|
+
unreadSuffix: _,
|
|
114
114
|
defaultValue: "Message from {{sender}}{{subjectFragment}}, {{time}}{{unreadSuffix}}"
|
|
115
115
|
}), p = !!e.url && G(e.url), i = /* @__PURE__ */ a(
|
|
116
116
|
"span",
|
|
@@ -154,7 +154,7 @@ const O = W(
|
|
|
154
154
|
children: i
|
|
155
155
|
}
|
|
156
156
|
) : t = i;
|
|
157
|
-
const
|
|
157
|
+
const I = typeof e.unreadCount == "number" && e.unreadCount > 1;
|
|
158
158
|
return /* @__PURE__ */ l(
|
|
159
159
|
"div",
|
|
160
160
|
{
|
|
@@ -190,7 +190,7 @@ const O = W(
|
|
|
190
190
|
}
|
|
191
191
|
),
|
|
192
192
|
d === "dashboard" ? /* @__PURE__ */ a("h3", { className: "ds:m-0 ds:flex-1 ds:min-w-0 type-title-item", children: t }) : /* @__PURE__ */ a("span", { className: "ds:flex-1 ds:min-w-0 type-title-item ds:text-[color:var(--foreground)]", children: t }),
|
|
193
|
-
|
|
193
|
+
I ? /* @__PURE__ */ a(
|
|
194
194
|
"span",
|
|
195
195
|
{
|
|
196
196
|
"aria-label": n("messageCard.threadCount", {
|
|
@@ -198,7 +198,7 @@ const O = W(
|
|
|
198
198
|
defaultValue_one: "{{count}} new message in thread",
|
|
199
199
|
defaultValue_other: "{{count}} new messages in thread"
|
|
200
200
|
}),
|
|
201
|
-
className: "ds:relative ds:z-[1] ds:shrink-0 ds:inline-flex ds:items-center ds:justify-center ds:min-w-[calc(var(--spacing-md)+var(--spacing-xs))] ds:h-[calc(var(--spacing-md)+var(--spacing-xs))] ds:ps-[calc(var(--spacing-xs)/1.5)] ds:pe-[calc(var(--spacing-xs)/1.5)] ds:rounded-[var(--radius-full)] ds:bg-[color:var(--accent)] ds:text-[color:var(--accent-foreground)] ds:text-[length:var(--font-size-xs)] ds:font-semibold ds:leading-none ds:forced-colors:outline ds:forced-colors:outline-1 ds:forced-colors:outline-[CanvasText]",
|
|
201
|
+
className: "ds:relative ds:z-[1] ds:shrink-0 ds:inline-flex ds:items-center ds:justify-center ds:min-w-[calc(var(--spacing-md)+var(--spacing-xs))] ds:h-[calc(var(--spacing-md)+var(--spacing-xs))] ds:ps-[calc(var(--spacing-xs)/1.5)] ds:pe-[calc(var(--spacing-xs)/1.5)] ds:rounded-[var(--radius-full)] ds:border ds:border-[color:color-mix(in_srgb,var(--foreground)_15%,transparent)] ds:bg-[color:var(--accent)] ds:text-[color:var(--accent-foreground)] ds:text-[length:var(--font-size-xs)] ds:font-semibold ds:leading-none ds:forced-colors:outline ds:forced-colors:outline-1 ds:forced-colors:outline-[CanvasText]",
|
|
202
202
|
children: e.unreadCount
|
|
203
203
|
}
|
|
204
204
|
) : null
|
|
@@ -274,4 +274,4 @@ Q.displayName = "MessageCard";
|
|
|
274
274
|
export {
|
|
275
275
|
Q as M
|
|
276
276
|
};
|
|
277
|
-
//# sourceMappingURL=message-card-
|
|
277
|
+
//# sourceMappingURL=message-card-Bx4GmLvf.js.map
|
|
@@ -9,7 +9,7 @@ import { I as me } from "./icon-button-LqoiKcUN.js";
|
|
|
9
9
|
import { B as E } from "./button-DD_0Xdmr.js";
|
|
10
10
|
import { S as L } from "./separator-CYU_bGFn.js";
|
|
11
11
|
import { S as f } from "./skeleton-CZbwyJAA.js";
|
|
12
|
-
import { M as pe } from "./message-card-
|
|
12
|
+
import { M as pe } from "./message-card-Bx4GmLvf.js";
|
|
13
13
|
import { u as ue } from "./registry-nPAVE19X.js";
|
|
14
14
|
import { M as F } from "./mail-C8irm52s.js";
|
|
15
15
|
const ge = {
|
|
@@ -412,4 +412,4 @@ export {
|
|
|
412
412
|
be as M,
|
|
413
413
|
ge as m
|
|
414
414
|
};
|
|
415
|
-
//# sourceMappingURL=message-tray-
|
|
415
|
+
//# sourceMappingURL=message-tray-CVyJajVJ.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as R, useId as A, useRef as O } from "react";
|
|
|
3
3
|
import { c as P } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as z } from "react-i18next";
|
|
5
5
|
import { A as j } from "./avatar-BNQNhoyL.js";
|
|
6
|
-
import { B as I } from "./badge-
|
|
6
|
+
import { B as I } from "./badge-CqGsX32l.js";
|
|
7
7
|
import { C as T } from "./card-DPmk26CL.js";
|
|
8
8
|
import { R as B } from "./rating-BRD7O74e.js";
|
|
9
9
|
import { u as F } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
@@ -195,4 +195,4 @@ export {
|
|
|
195
195
|
M as O,
|
|
196
196
|
V as o
|
|
197
197
|
};
|
|
198
|
-
//# sourceMappingURL=operator-hero-
|
|
198
|
+
//# sourceMappingURL=operator-hero-f_KaRhw5.js.map
|
|
@@ -705,7 +705,7 @@ function Ee({ cards: e }) {
|
|
|
705
705
|
// the 100% accent surface and fails AA on the 15% tint.
|
|
706
706
|
// Use `--foreground` which contrasts with the
|
|
707
707
|
// mostly-background mix in both light and dark themes.
|
|
708
|
-
/* @__PURE__ */ a("span", { className: "type-meta ds:ms-auto ds:inline-flex ds:items-center ds:rounded-[var(--radius-full)] ds:bg-[color-mix(in_srgb,var(--accent)_15%,var(--background))] ds:text-[color:var(--foreground)] ds:font-[var(--font-weight-semibold)] ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:pt-[var(--spacing-xs)] ds:pb-[var(--spacing-xs)]", children: t.badge })
|
|
708
|
+
/* @__PURE__ */ a("span", { className: "type-meta ds:ms-auto ds:inline-flex ds:items-center ds:rounded-[var(--radius-full)] ds:border ds:border-[color:var(--foreground)] ds:bg-[color-mix(in_srgb,var(--accent)_15%,var(--background))] ds:text-[color:var(--foreground)] ds:font-[var(--font-weight-semibold)] ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:pt-[var(--spacing-xs)] ds:pb-[var(--spacing-xs)]", children: t.badge })
|
|
709
709
|
) : null
|
|
710
710
|
] }),
|
|
711
711
|
/* @__PURE__ */ a("span", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)]", children: t.label }),
|
|
@@ -1155,4 +1155,4 @@ export {
|
|
|
1155
1155
|
Oe as P,
|
|
1156
1156
|
ye as p
|
|
1157
1157
|
};
|
|
1158
|
-
//# sourceMappingURL=patient-search-
|
|
1158
|
+
//# sourceMappingURL=patient-search-DR9XUYRQ.js.map
|
|
@@ -6,7 +6,7 @@ import { I as H } from "./icon-button-LqoiKcUN.js";
|
|
|
6
6
|
import { D as n } from "./dropdown-menu-DwwPovMZ.js";
|
|
7
7
|
import { H as B, g as N, f as T, e as k, a as x, c as M, d as O } from "./header-CNszv2WQ.js";
|
|
8
8
|
import { L as P } from "./logo-1FuSGx0n.js";
|
|
9
|
-
import { S as W, a as R, h as j, j as z, k as D, i as E } from "./sidebar-
|
|
9
|
+
import { S as W, a as R, h as j, j as z, k as D, i as E } from "./sidebar-CGjIk_FQ.js";
|
|
10
10
|
import { T as _ } from "./theme-root-BOO73p5t.js";
|
|
11
11
|
import { a as F } from "./tooltip-DvmfrNvB.js";
|
|
12
12
|
import { u as U } from "./use-theme-CAuo6EYT.js";
|
|
@@ -159,4 +159,4 @@ Y.displayName = "PatientShell";
|
|
|
159
159
|
export {
|
|
160
160
|
Y as P
|
|
161
161
|
};
|
|
162
|
-
//# sourceMappingURL=patient-shell-
|
|
162
|
+
//# sourceMappingURL=patient-shell-DrV_iekt.js.map
|
|
@@ -3,13 +3,13 @@ import { forwardRef as va, useId as ba, useMemo as xa } from "react";
|
|
|
3
3
|
import { c as Sa } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as Ca } from "react-i18next";
|
|
5
5
|
import { A as H } from "./avatar-BNQNhoyL.js";
|
|
6
|
-
import { B as w } from "./badge-
|
|
6
|
+
import { B as w } from "./badge-CqGsX32l.js";
|
|
7
7
|
import { C as O } from "./card-DPmk26CL.js";
|
|
8
8
|
import { K as Na, a as Aa } from "./key-value-pair-BrgbMfbF.js";
|
|
9
9
|
import { L as S } from "./link-DrD_cRUg.js";
|
|
10
10
|
import { S as C } from "./skeleton-CZbwyJAA.js";
|
|
11
|
-
import { T as W } from "./tag-
|
|
12
|
-
import { T as ka } from "./transaction-chip-
|
|
11
|
+
import { T as W } from "./tag-BQXwuJq1.js";
|
|
12
|
+
import { T as ka } from "./transaction-chip-BrW8P50O.js";
|
|
13
13
|
import { i as J } from "./is-safe-url-DkETxeHz.js";
|
|
14
14
|
import { u as Va } from "./registry-nPAVE19X.js";
|
|
15
15
|
import { M as Ma } from "./mail-C8irm52s.js";
|
|
@@ -440,4 +440,4 @@ export {
|
|
|
440
440
|
qa as P,
|
|
441
441
|
za as p
|
|
442
442
|
};
|
|
443
|
-
//# sourceMappingURL=patient-summary-card-
|
|
443
|
+
//# sourceMappingURL=patient-summary-card-ByfIU8N0.js.map
|
|
@@ -2,11 +2,11 @@ import { jsx as e, jsxs as c } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as B, useId as G, useMemo as I } from "react";
|
|
3
3
|
import { c as H } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as K } from "react-i18next";
|
|
5
|
-
import { B as O } from "./badge-
|
|
5
|
+
import { B as O } from "./badge-CqGsX32l.js";
|
|
6
6
|
import { C as R } from "./card-DPmk26CL.js";
|
|
7
7
|
import { D as d } from "./description-list-gkNGWk5G.js";
|
|
8
8
|
import { K as Y, a as j } from "./key-value-pair-BrgbMfbF.js";
|
|
9
|
-
import { T as W, A as te, a as re } from "./transaction-chip-
|
|
9
|
+
import { T as W, A as te, a as re } from "./transaction-chip-BrW8P50O.js";
|
|
10
10
|
import { u as J } from "./registry-nPAVE19X.js";
|
|
11
11
|
import { c as F } from "./createLucideIcon-CrFbzy84.js";
|
|
12
12
|
import { C as ne } from "./calendar-days-C4BmpCZg.js";
|
|
@@ -475,4 +475,4 @@ export {
|
|
|
475
475
|
Pe as b,
|
|
476
476
|
he as p
|
|
477
477
|
};
|
|
478
|
-
//# sourceMappingURL=payment-request-card-
|
|
478
|
+
//# sourceMappingURL=payment-request-card-yTjzKQCU.js.map
|