@alfadocs/ui-kit 1.13.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/actions-cell-renderer-yy03OgRL.js +137 -0
- package/dist/_chunks/{balance-badge-cell--iQ_gtmi.js → balance-badge-cell-CgkxYO96.js} +7 -6
- package/dist/_chunks/{calendar-B4Gnyu1C.js → calendar-CHT9Rm3M.js} +2 -2
- package/dist/_chunks/{calendar-event-card-Bjdbik8G.js → calendar-event-card-BjdHZaqz.js} +18 -14
- package/dist/_chunks/calendar-plus-BFrIRE4r.js +19 -0
- package/dist/_chunks/calendar-workspace-CGuY4kmv.js +7480 -0
- package/dist/_chunks/clipboard-list-rSzfIYZB.js +25 -0
- package/dist/_chunks/{color-picker-oZ6zYks8.js → color-picker-CU303VjY.js} +4 -2
- package/dist/_chunks/data-table-DC5rO3Ty.js +1817 -0
- package/dist/_chunks/{field-value-DG8zaZvo.js → field-value-D-vkX9uL.js} +120 -140
- package/dist/_chunks/{file-manager-UsD8e_AB.js → file-manager-DJMeB3V8.js} +138 -153
- package/dist/_chunks/folder-plus-CutOs4DP.js +22 -0
- package/dist/_chunks/hourglass-BEAzW1wE.js +26 -0
- package/dist/_chunks/{notes-panel-CymneXtl.js → notes-panel-DYAtlq_i.js} +2 -2
- package/dist/_chunks/{patient-details-BQaUzPqp.js → patient-details-BfzvFnxQ.js} +73 -92
- package/dist/_chunks/{patient-summary-card-CvDxhbBR.js → patient-summary-card-D5Vfa321.js} +2 -2
- package/dist/_chunks/{practice-results-D7ygCj_W.js → practice-results-DL_ExLYE.js} +159 -172
- package/dist/_chunks/{rich-text-editor-BDfFtK4H.js → rich-text-editor-DtbcA6s1.js} +2 -2
- package/dist/_chunks/signature-CpFNpsVK.js +21 -0
- package/dist/_chunks/{signature-field-0rFODJlW.js → signature-field-CEiPe-vX.js} +19 -34
- package/dist/_chunks/smartphone-C0rFF2if.js +15 -0
- package/dist/_chunks/{toast.agent-D1tdg6DS.js → toast-YZz2sBzB.js} +160 -212
- package/dist/_chunks/toast.agent-DNQ0JYGv.js +56 -0
- package/dist/_chunks/{workflow-map-wcw3t6g4.js → workflow-map-dNzJjBWG.js} +103 -112
- package/dist/agent-catalog.json +867 -1
- package/dist/agent-i18n/en.json +27 -0
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/calendar-event-card/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/data-table/index.js +39 -38
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/signature-field/index.js +1 -1
- package/dist/components/toast/index.js +7 -6
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +680 -0
- package/dist/i18n/locales/ar.js +680 -0
- package/dist/i18n/locales/de.d.ts +680 -0
- package/dist/i18n/locales/de.js +680 -0
- package/dist/i18n/locales/el.d.ts +680 -0
- package/dist/i18n/locales/el.js +680 -0
- package/dist/i18n/locales/en.d.ts +680 -0
- package/dist/i18n/locales/en.js +680 -0
- package/dist/i18n/locales/es.d.ts +680 -0
- package/dist/i18n/locales/es.js +680 -0
- package/dist/i18n/locales/fr.d.ts +680 -0
- package/dist/i18n/locales/fr.js +680 -0
- package/dist/i18n/locales/hi.d.ts +680 -0
- package/dist/i18n/locales/hi.js +680 -0
- package/dist/i18n/locales/it.d.ts +680 -0
- package/dist/i18n/locales/it.js +680 -0
- package/dist/i18n/locales/ja.d.ts +680 -0
- package/dist/i18n/locales/ja.js +680 -0
- package/dist/i18n/locales/nl.d.ts +680 -0
- package/dist/i18n/locales/nl.js +680 -0
- package/dist/i18n/locales/pl.d.ts +680 -0
- package/dist/i18n/locales/pl.js +680 -0
- package/dist/i18n/locales/pt.d.ts +680 -0
- package/dist/i18n/locales/pt.js +680 -0
- package/dist/i18n/locales/ro.d.ts +680 -0
- package/dist/i18n/locales/ro.js +680 -0
- package/dist/i18n/locales/ru.d.ts +680 -0
- package/dist/i18n/locales/ru.js +680 -0
- package/dist/i18n/locales/sq.d.ts +680 -0
- package/dist/i18n/locales/sq.js +680 -0
- package/dist/i18n/locales/sv.d.ts +680 -0
- package/dist/i18n/locales/sv.js +680 -0
- package/dist/i18n/locales/tr.d.ts +680 -0
- package/dist/i18n/locales/tr.js +680 -0
- package/dist/i18n/locales/zh.d.ts +680 -0
- package/dist/i18n/locales/zh.js +680 -0
- package/dist/index.js +821 -803
- package/dist/locales/ar.json +680 -0
- package/dist/locales/de.json +680 -0
- package/dist/locales/el.json +680 -0
- package/dist/locales/en.json +680 -0
- package/dist/locales/es.json +680 -0
- package/dist/locales/fr.json +680 -0
- package/dist/locales/hi.json +680 -0
- package/dist/locales/it.json +680 -0
- package/dist/locales/ja.json +680 -0
- package/dist/locales/nl.json +680 -0
- package/dist/locales/pl.json +680 -0
- package/dist/locales/pt.json +680 -0
- package/dist/locales/ro.json +680 -0
- package/dist/locales/ru.json +680 -0
- package/dist/locales/sq.json +680 -0
- package/dist/locales/sv.json +680 -0
- package/dist/locales/tr.json +680 -0
- package/dist/locales/zh.json +680 -0
- package/dist/patterns/calendar/calendar-workspace.d.ts +82 -0
- package/dist/patterns/calendar/calendar-workspace.model.d.ts +380 -0
- package/dist/patterns/calendar/calendar.data.d.ts +122 -0
- package/dist/patterns/calendar/calendar.host.d.ts +10 -0
- package/dist/patterns/calendar/calendar.journey.d.ts +119 -0
- package/dist/patterns/calendar/calendar.model.d.ts +684 -0
- package/dist/patterns/calendar/calendar.preferences.d.ts +74 -0
- package/dist/patterns/calendar/calendar.sheets.d.ts +398 -0
- package/dist/patterns/calendar/calendar.surface.d.ts +85 -0
- package/dist/patterns/calendar/calendar.types.d.ts +413 -0
- package/dist/patterns/calendar/index.d.ts +13 -0
- package/dist/patterns/calendar/index.js +19 -0
- package/package.json +5 -1
- package/dist/_chunks/actions-cell-renderer-ReurEy5i.js +0 -1945
|
@@ -19,7 +19,7 @@ import { a as pt } from "./tooltip-DvmfrNvB.js";
|
|
|
19
19
|
import { P as q } from "./popover-Cqcjx-Ny.js";
|
|
20
20
|
import { D as Ae } from "./dropdown-menu-DU-Hrf33.js";
|
|
21
21
|
import { D as B } from "./dialog-UbKJCi1X.js";
|
|
22
|
-
import { C as We } from "./color-picker-
|
|
22
|
+
import { C as We } from "./color-picker-CU303VjY.js";
|
|
23
23
|
import { T as Ie } from "./text-input-CUvCb6ST.js";
|
|
24
24
|
import { C as Xt } from "./checkbox-BuZ1u__2.js";
|
|
25
25
|
import { F as Ut } from "./file-upload-CwxdqkMK.js";
|
|
@@ -2626,4 +2626,4 @@ export {
|
|
|
2626
2626
|
hn as r,
|
|
2627
2627
|
Qn as w
|
|
2628
2628
|
};
|
|
2629
|
-
//# sourceMappingURL=rich-text-editor-
|
|
2629
|
+
//# sourceMappingURL=rich-text-editor-DtbcA6s1.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { c as a } from "./createLucideIcon-DhHxpK9K.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v1.22.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const t = [
|
|
9
|
+
[
|
|
10
|
+
"path",
|
|
11
|
+
{
|
|
12
|
+
d: "m21 17-2.156-1.868A.5.5 0 0 0 18 15.5v.5a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1c0-2.545-3.991-3.97-8.5-4a1 1 0 0 0 0 5c4.153 0 4.745-11.295 5.708-13.5a2.5 2.5 0 1 1 3.31 3.284",
|
|
13
|
+
key: "y32ogt"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
["path", { d: "M3 21h18", key: "itz85i" }]
|
|
17
|
+
], e = a("signature", t);
|
|
18
|
+
export {
|
|
19
|
+
e as S
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=signature-CpFNpsVK.js.map
|
|
@@ -1,27 +1,12 @@
|
|
|
1
1
|
import { jsx as s, jsxs as m, Fragment as v } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as k } from "react";
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
3
|
+
import { c as y } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as S } from "react-i18next";
|
|
5
5
|
import { S as T } from "./spinner-hbwuKwMf.js";
|
|
6
|
-
import { C as
|
|
7
|
-
import {
|
|
6
|
+
import { C as _ } from "./check-DrFSN__t.js";
|
|
7
|
+
import { S as w } from "./signature-CpFNpsVK.js";
|
|
8
8
|
import { P as $ } from "./pen-line-D0De5zdl.js";
|
|
9
|
-
|
|
10
|
-
* @license lucide-react v1.22.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 P = [
|
|
16
|
-
[
|
|
17
|
-
"path",
|
|
18
|
-
{
|
|
19
|
-
d: "m21 17-2.156-1.868A.5.5 0 0 0 18 15.5v.5a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1c0-2.545-3.991-3.97-8.5-4a1 1 0 0 0 0 5c4.153 0 4.745-11.295 5.708-13.5a2.5 2.5 0 1 1 3.31 3.284",
|
|
20
|
-
key: "y32ogt"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
["path", { d: "M3 21h18", key: "itz85i" }]
|
|
24
|
-
], V = S("signature", P), B = C(
|
|
9
|
+
const P = y(
|
|
25
10
|
[
|
|
26
11
|
// Overlay fields are always absolutely positioned within the
|
|
27
12
|
// renderPageOverlay box; the percent geometry rides the inline style.
|
|
@@ -100,7 +85,7 @@ const P = [
|
|
|
100
85
|
},
|
|
101
86
|
defaultVariants: { state: "unsigned", active: !1 }
|
|
102
87
|
}
|
|
103
|
-
),
|
|
88
|
+
), V = k(
|
|
104
89
|
({
|
|
105
90
|
state: e = "unsigned",
|
|
106
91
|
insetInlineStart: o,
|
|
@@ -117,12 +102,12 @@ const P = [
|
|
|
117
102
|
className: h,
|
|
118
103
|
...x
|
|
119
104
|
}, z) => {
|
|
120
|
-
const { t: i } =
|
|
105
|
+
const { t: i } = S(), f = p || e === "signing", n = {};
|
|
121
106
|
o !== void 0 && (n.insetInlineStart = `${o}%`), a !== void 0 && (n.insetBlockStart = `${a}%`), t !== void 0 && (n.inlineSize = `${t}%`), l !== void 0 && (n.blockSize = `${l}%`);
|
|
122
|
-
const F = r ?? i("signatureField.prompt"),
|
|
123
|
-
function
|
|
107
|
+
const F = r ?? i("signatureField.prompt"), j = e === "signing" ? r ? i("signatureField.signingNamed", { label: r }) : i("signatureField.signing") : e === "signed" ? r ? i("signatureField.signedNamed", { label: r }) : i("signatureField.signed") : r ?? i("signatureField.unsigned");
|
|
108
|
+
function N(C) {
|
|
124
109
|
if (f) {
|
|
125
|
-
|
|
110
|
+
C.preventDefault();
|
|
126
111
|
return;
|
|
127
112
|
}
|
|
128
113
|
d == null || d();
|
|
@@ -137,11 +122,11 @@ const P = [
|
|
|
137
122
|
"data-component-id": b,
|
|
138
123
|
"data-state": e,
|
|
139
124
|
"data-active": g || void 0,
|
|
140
|
-
"aria-label":
|
|
125
|
+
"aria-label": j,
|
|
141
126
|
"aria-disabled": f || void 0,
|
|
142
127
|
"aria-busy": e === "signing" || void 0,
|
|
143
|
-
onClick:
|
|
144
|
-
className: [
|
|
128
|
+
onClick: N,
|
|
129
|
+
className: [P({ state: e, active: g }), h].filter(Boolean).join(" "),
|
|
145
130
|
style: n,
|
|
146
131
|
children: e === "signing" ? (
|
|
147
132
|
// Decorative: the button's aria-label + aria-busy are the single
|
|
@@ -170,7 +155,7 @@ const P = [
|
|
|
170
155
|
) })
|
|
171
156
|
) : /* @__PURE__ */ m(v, { children: [
|
|
172
157
|
/* @__PURE__ */ s(
|
|
173
|
-
|
|
158
|
+
_,
|
|
174
159
|
{
|
|
175
160
|
"aria-hidden": "true",
|
|
176
161
|
className: "ds:block-size-4 ds:inline-size-4 ds:text-[var(--success)]"
|
|
@@ -180,7 +165,7 @@ const P = [
|
|
|
180
165
|
] }) : u ? (
|
|
181
166
|
// Glyph-only unsigned prompt — the Signature squiggle reads as
|
|
182
167
|
// "sign here" on its own, where the pen + caption would overflow.
|
|
183
|
-
/* @__PURE__ */ s(
|
|
168
|
+
/* @__PURE__ */ s(w, { "aria-hidden": "true", className: "ds:size-5" })
|
|
184
169
|
) : /* @__PURE__ */ m(v, { children: [
|
|
185
170
|
/* @__PURE__ */ s(
|
|
186
171
|
$,
|
|
@@ -195,9 +180,9 @@ const P = [
|
|
|
195
180
|
);
|
|
196
181
|
}
|
|
197
182
|
);
|
|
198
|
-
|
|
183
|
+
V.displayName = "SignatureField";
|
|
199
184
|
export {
|
|
200
|
-
|
|
201
|
-
|
|
185
|
+
V as S,
|
|
186
|
+
P as s
|
|
202
187
|
};
|
|
203
|
-
//# sourceMappingURL=signature-field-
|
|
188
|
+
//# sourceMappingURL=signature-field-CEiPe-vX.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { c as t } from "./createLucideIcon-DhHxpK9K.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v1.22.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const e = [
|
|
9
|
+
["rect", { width: "14", height: "20", x: "5", y: "2", rx: "2", ry: "2", key: "1yt0o3" }],
|
|
10
|
+
["path", { d: "M12 18h.01", key: "mhygvu" }]
|
|
11
|
+
], r = t("smartphone", e);
|
|
12
|
+
export {
|
|
13
|
+
r as S
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=smartphone-C0rFF2if.js.map
|