@alfadocs/ui-kit 1.25.1-calendar.9 → 1.26.1
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/{address-fields-jFfjxOQR.js → address-fields-CZ0pEdEI.js} +3 -3
- package/dist/_chunks/{appointment-card-CvUFFEdS.js → appointment-card-Dzr3GeVz.js} +6 -8
- package/dist/_chunks/{appointment-timeline-DsMZY7U9.js → appointment-timeline-DhHwmHo1.js} +2 -2
- package/dist/_chunks/{appointment-tray-Z2GaOIYQ.js → appointment-tray-4FUu_5NX.js} +2 -2
- package/dist/_chunks/{booking-B8C7jMrn.js → booking-BtSOKjQu.js} +401 -384
- package/dist/_chunks/{calendar-CBqU-UIR.js → calendar-CI9MINcR.js} +2 -4
- package/dist/_chunks/calendar-workspace-DWW5ZtQ0.js +7506 -0
- package/dist/_chunks/{color-picker-Bl5f0iK1.js → color-picker-CU303VjY.js} +25 -28
- package/dist/_chunks/{combobox-DnSdYssy.js → combobox-D7_NLE2Z.js} +215 -216
- package/dist/_chunks/{country-select-CfDNFG5c.js → country-select-DzbPFktV.js} +2 -2
- package/dist/_chunks/{face-scheme-l-CQyLs-.js → face-scheme-DA2vjqaM.js} +2 -2
- package/dist/_chunks/{notes-panel-D4S2VwDx.js → notes-panel-CTNpsByN.js} +2 -2
- package/dist/_chunks/{patient-details-CdfursHt.js → patient-details-DYAmq76G.js} +3 -3
- package/dist/_chunks/{province-select-BaUnkg4S.js → province-select-BBc7s7vR.js} +2 -2
- package/dist/_chunks/{rich-text-editor-VJATL1Tk.js → rich-text-editor-lSCiE0Zz.js} +2 -2
- package/dist/_chunks/signature-status-chip-BSatI_Qc.js +179 -0
- package/dist/agent-catalog.json +3 -6
- package/dist/agent-i18n/en.json +2 -2
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/combobox.d.ts +0 -5
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/signature-status-chip/index.d.ts +2 -2
- package/dist/components/signature-status-chip/index.js +4 -3
- package/dist/components/signature-status-chip/signature-status-chip.d.ts +100 -1
- package/dist/i18n/locales/ar.d.ts +13 -0
- package/dist/i18n/locales/ar.js +17 -1
- package/dist/i18n/locales/de.d.ts +13 -0
- package/dist/i18n/locales/de.js +17 -1
- package/dist/i18n/locales/el.d.ts +13 -0
- package/dist/i18n/locales/el.js +17 -1
- package/dist/i18n/locales/en.d.ts +13 -0
- package/dist/i18n/locales/en.js +17 -1
- package/dist/i18n/locales/es.d.ts +13 -0
- package/dist/i18n/locales/es.js +17 -1
- package/dist/i18n/locales/fr.d.ts +13 -0
- package/dist/i18n/locales/fr.js +17 -1
- package/dist/i18n/locales/hi.d.ts +13 -0
- package/dist/i18n/locales/hi.js +13 -1
- package/dist/i18n/locales/it.d.ts +13 -0
- package/dist/i18n/locales/it.js +17 -1
- package/dist/i18n/locales/ja.d.ts +13 -0
- package/dist/i18n/locales/ja.js +17 -1
- package/dist/i18n/locales/nl.d.ts +13 -0
- package/dist/i18n/locales/nl.js +17 -1
- package/dist/i18n/locales/pl.d.ts +13 -0
- package/dist/i18n/locales/pl.js +17 -1
- package/dist/i18n/locales/pt.d.ts +13 -0
- package/dist/i18n/locales/pt.js +17 -1
- package/dist/i18n/locales/ro.d.ts +13 -0
- package/dist/i18n/locales/ro.js +17 -1
- package/dist/i18n/locales/ru.d.ts +13 -0
- package/dist/i18n/locales/ru.js +17 -1
- package/dist/i18n/locales/sq.d.ts +13 -0
- package/dist/i18n/locales/sq.js +17 -1
- package/dist/i18n/locales/sv.d.ts +13 -0
- package/dist/i18n/locales/sv.js +17 -1
- package/dist/i18n/locales/tr.d.ts +13 -0
- package/dist/i18n/locales/tr.js +17 -1
- package/dist/i18n/locales/zh.d.ts +13 -0
- package/dist/i18n/locales/zh.js +13 -1
- package/dist/index.js +281 -280
- package/dist/locales/ar.json +14 -1
- package/dist/locales/de.json +14 -1
- package/dist/locales/el.json +14 -1
- package/dist/locales/en.json +14 -1
- package/dist/locales/es.json +14 -1
- package/dist/locales/fr.json +14 -1
- package/dist/locales/hi.json +14 -1
- package/dist/locales/it.json +14 -1
- package/dist/locales/ja.json +14 -1
- package/dist/locales/nl.json +14 -1
- package/dist/locales/pl.json +14 -1
- package/dist/locales/pt.json +14 -1
- package/dist/locales/ro.json +14 -1
- package/dist/locales/ru.json +14 -1
- package/dist/locales/sq.json +14 -1
- package/dist/locales/sv.json +14 -1
- package/dist/locales/tr.json +14 -1
- package/dist/locales/zh.json +14 -1
- package/dist/patterns/calendar/calendar-workspace.d.ts +1 -21
- package/dist/patterns/calendar/calendar-workspace.model.d.ts +3 -1
- package/dist/patterns/calendar/calendar.data.d.ts +0 -17
- package/dist/patterns/calendar/calendar.journey.d.ts +1 -3
- package/dist/patterns/calendar/calendar.model.d.ts +0 -9
- package/dist/patterns/calendar/calendar.sheets.d.ts +4 -12
- package/dist/patterns/calendar/calendar.surface.d.ts +1 -3
- package/dist/patterns/calendar/index.d.ts +2 -3
- package/dist/patterns/calendar/index.js +1 -1
- package/package.json +2 -3
- package/dist/_chunks/calendar-workspace-DR-P6fWV.js +0 -7883
- package/dist/_chunks/signature-status-chip-DqrPIJtH.js +0 -97
- package/dist/patterns/calendar/calendar-editor-hydration.d.ts +0 -36
- package/dist/patterns/calendar/calendar-patient-picker.d.ts +0 -11
|
@@ -2,8 +2,8 @@ import { jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as _, useRef as j, useEffect as k, useCallback as E, useMemo as x } from "react";
|
|
3
3
|
import { c as L } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as N } from "react-i18next";
|
|
5
|
-
import { C as O } from "./country-select-
|
|
6
|
-
import { P as B } from "./province-select-
|
|
5
|
+
import { C as O } from "./country-select-DzbPFktV.js";
|
|
6
|
+
import { P as B } from "./province-select-BBc7s7vR.js";
|
|
7
7
|
import { P as q } from "./postal-code-input-BznBxVxf.js";
|
|
8
8
|
import { C as H } from "./city-input-DaQc-Hbj.js";
|
|
9
9
|
import { T as K } from "./text-input-CUvCb6ST.js";
|
|
@@ -243,4 +243,4 @@ export {
|
|
|
243
243
|
Z as A,
|
|
244
244
|
Y as a
|
|
245
245
|
};
|
|
246
|
-
//# sourceMappingURL=address-fields-
|
|
246
|
+
//# sourceMappingURL=address-fields-CZ0pEdEI.js.map
|
|
@@ -87,8 +87,6 @@ const ua = W(
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
), j = [
|
|
90
|
-
// Interactive elements need a box to remain keyboard-focusable in browsers.
|
|
91
|
-
"ds:inline-flex ds:min-w-0",
|
|
92
90
|
"ds:focus-visible:outline-none",
|
|
93
91
|
"ds:after:content-[''] ds:after:absolute ds:after:inset-0 ds:after:rounded-[var(--radius-md)]",
|
|
94
92
|
"ds:after:pointer-events-auto",
|
|
@@ -112,7 +110,7 @@ const ua = W(
|
|
|
112
110
|
className: U,
|
|
113
111
|
...D
|
|
114
112
|
}, $) => {
|
|
115
|
-
var C, k,
|
|
113
|
+
var C, k, T, w, z, R, S, I, L, V, O, P, M;
|
|
116
114
|
const { t: s } = Y(), l = !!n, B = !!a.url && X(a.url), p = ((C = a.patient) == null ? void 0 : C.name) ?? s("appointmentCard.noPatient"), t = (k = a.operator) == null ? void 0 : k.name, m = s(`appointmentCard.state.${a.state}`), h = g === "md" ? "md" : "sm", G = fa[a.type], b = d ? p : t ?? s("appointmentCard.appointment"), y = d ? s("appointmentCard.itemLabel", {
|
|
117
115
|
patient: p,
|
|
118
116
|
state: m
|
|
@@ -123,7 +121,7 @@ const ua = W(
|
|
|
123
121
|
{
|
|
124
122
|
href: a.url,
|
|
125
123
|
"aria-label": y,
|
|
126
|
-
className: j,
|
|
124
|
+
className: j + " ds:contents",
|
|
127
125
|
onClick: (e) => {
|
|
128
126
|
e.defaultPrevented || e.metaKey || e.ctrlKey || e.shiftKey || n == null || n(a);
|
|
129
127
|
},
|
|
@@ -134,7 +132,7 @@ const ua = W(
|
|
|
134
132
|
{
|
|
135
133
|
type: "button",
|
|
136
134
|
"aria-label": y,
|
|
137
|
-
className: j + " ds:bg-transparent ds:border-0 ds:p-0 ds:text-start",
|
|
135
|
+
className: j + " ds:contents ds:bg-transparent ds:border-0 ds:p-0 ds:text-start",
|
|
138
136
|
onClick: () => n == null ? void 0 : n(a),
|
|
139
137
|
children: u
|
|
140
138
|
}
|
|
@@ -155,7 +153,7 @@ const ua = W(
|
|
|
155
153
|
},
|
|
156
154
|
`${e.careName}-${K}`
|
|
157
155
|
);
|
|
158
|
-
}), f = (
|
|
156
|
+
}), f = (T = a.bookingReason) == null ? void 0 : T.advanceAmountCents, N = typeof f == "number" && f > 0;
|
|
159
157
|
return /* @__PURE__ */ o(
|
|
160
158
|
"div",
|
|
161
159
|
{
|
|
@@ -196,7 +194,7 @@ const ua = W(
|
|
|
196
194
|
_,
|
|
197
195
|
{
|
|
198
196
|
name: t,
|
|
199
|
-
color: ra((
|
|
197
|
+
color: ra((w = a.operator) == null ? void 0 : w.colorId),
|
|
200
198
|
size: h,
|
|
201
199
|
"aria-hidden": "true",
|
|
202
200
|
role: "presentation",
|
|
@@ -293,4 +291,4 @@ ga.displayName = "AppointmentCard";
|
|
|
293
291
|
export {
|
|
294
292
|
ga as A
|
|
295
293
|
};
|
|
296
|
-
//# sourceMappingURL=appointment-card-
|
|
294
|
+
//# sourceMappingURL=appointment-card-Dzr3GeVz.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as S, jsx as o, Fragment as ke } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as be, useId as Te, useMemo as F, useRef as T, useState as Z, useCallback as x, useImperativeHandle as xe } from "react";
|
|
3
3
|
import { c as De } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as we } from "react-i18next";
|
|
5
|
-
import { A as Re } from "./appointment-card-
|
|
5
|
+
import { A as Re } from "./appointment-card-Dzr3GeVz.js";
|
|
6
6
|
import { B as A } from "./button-nJaPh_HC.js";
|
|
7
7
|
import { B as Ie } from "./button-group-CaxRJsNG.js";
|
|
8
8
|
import { D as Se } from "./date-picker-B6NW_PS5.js";
|
|
@@ -400,4 +400,4 @@ export {
|
|
|
400
400
|
Ae as A,
|
|
401
401
|
_e as a
|
|
402
402
|
};
|
|
403
|
-
//# sourceMappingURL=appointment-timeline-
|
|
403
|
+
//# sourceMappingURL=appointment-timeline-DhHwmHo1.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as H } from "react-i18next";
|
|
|
5
5
|
import { I as M } from "./icon-button-DA2CAGHZ.js";
|
|
6
6
|
import { S as q } from "./skeleton-CZbwyJAA.js";
|
|
7
7
|
import { E as K } from "./empty-state-X0sVPfVo.js";
|
|
8
|
-
import { A as V } from "./appointment-card-
|
|
8
|
+
import { A as V } from "./appointment-card-Dzr3GeVz.js";
|
|
9
9
|
import { u as _ } from "./registry-DvAUVLHh.js";
|
|
10
10
|
import { C as B } from "./calendar-days-BGWklvE-.js";
|
|
11
11
|
import { P as D } from "./plus-DzMQ_c6b.js";
|
|
@@ -190,4 +190,4 @@ export {
|
|
|
190
190
|
ae as a,
|
|
191
191
|
L as b
|
|
192
192
|
};
|
|
193
|
-
//# sourceMappingURL=appointment-tray-
|
|
193
|
+
//# sourceMappingURL=appointment-tray-4FUu_5NX.js.map
|