@alfadocs/ui-kit 1.3.11 → 1.3.13

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.
Files changed (45) hide show
  1. package/dist/_chunks/{anamnesis-i18n-DFXSM72N.js → anamnesis-i18n-CfC0qYzy.js} +883 -875
  2. package/dist/_chunks/{appointment-timeline-BB-c1LeR.js → appointment-timeline-B630OT_J.js} +2 -2
  3. package/dist/_chunks/{bmi-calculator-Bk2GAju7.js → bmi-calculator-CM0-G2mg.js} +2 -2
  4. package/dist/_chunks/{booking-BxFV0hT5.js → booking-DjNbd7C1.js} +2 -2
  5. package/dist/_chunks/{cycle-calculator-DNvvr0bP.js → cycle-calculator-BwqYVPB4.js} +3 -3
  6. package/dist/_chunks/{date-picker-BP_W6VtE.js → date-picker-ZHejTVAJ.js} +81 -77
  7. package/dist/_chunks/{due-date-calculator-BEcdoy_E.js → due-date-calculator-CwfsFd3T.js} +3 -3
  8. package/dist/_chunks/{fetal-weight-1F9N4IMx.js → fetal-weight-ePlLjJPc.js} +2 -2
  9. package/dist/_chunks/{gestational-age-calculator-CuGkVqKp.js → gestational-age-calculator-DdgbH69Z.js} +2 -2
  10. package/dist/_chunks/{hcg-doubling-fZ6qQN08.js → hcg-doubling-BBqD2wI2.js} +2 -2
  11. package/dist/_chunks/{link-cell-renderer-_DlEZHLI.js → link-cell-renderer-C5XLwVXQ.js} +2 -2
  12. package/dist/_chunks/number-input-DrozbZAU.js +370 -0
  13. package/dist/_chunks/{optical-prescription-BEjYQjiO.js → optical-prescription-BDHJr8Zz.js} +2 -2
  14. package/dist/_chunks/{patient-details-BAUg0FWs.js → patient-details-DqjjwPmt.js} +3 -3
  15. package/dist/_chunks/{patient-table-C7QHFC63.js → patient-table-BmIDrLIS.js} +2 -2
  16. package/dist/_chunks/{pregnancy-dating-BdFl-rB1.js → pregnancy-dating-DzYTlBkT.js} +3 -3
  17. package/dist/_chunks/{pregnancy-weight-gain-B-CkVYnU.js → pregnancy-weight-gain-O6J0sUIi.js} +2 -2
  18. package/dist/_chunks/{radiograph-panel.agent-AsXJBr1p.js → radiograph-panel.agent-BQZ64Riy.js} +2 -2
  19. package/dist/_chunks/{unit-converter-CSLWFDQh.js → unit-converter-COgkN7YP.js} +2 -2
  20. package/dist/agent-catalog.json +1 -1
  21. package/dist/components/appointment-timeline/index.js +1 -1
  22. package/dist/components/bmi-calculator/index.js +1 -1
  23. package/dist/components/booking/index.js +1 -1
  24. package/dist/components/cycle-calculator/index.js +1 -1
  25. package/dist/components/data-table/index.js +1 -1
  26. package/dist/components/date-picker/date-picker.d.ts +8 -0
  27. package/dist/components/date-picker/index.js +1 -1
  28. package/dist/components/due-date-calculator/index.js +1 -1
  29. package/dist/components/fetal-weight/index.js +1 -1
  30. package/dist/components/gestational-age-calculator/index.js +1 -1
  31. package/dist/components/hcg-doubling/index.js +1 -1
  32. package/dist/components/number-input/index.js +1 -1
  33. package/dist/components/optical-prescription/index.js +1 -1
  34. package/dist/components/patient-details/index.js +1 -1
  35. package/dist/components/patient-table/index.js +1 -1
  36. package/dist/components/pregnancy-dating/index.js +1 -1
  37. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  38. package/dist/components/radiograph-panel/index.js +1 -1
  39. package/dist/components/unit-converter/index.js +1 -1
  40. package/dist/index.js +19 -19
  41. package/dist/patterns/anamnesis/anamnesis-derive.d.ts +16 -0
  42. package/dist/patterns/anamnesis/anamnesis-target-strip.d.ts +4 -3
  43. package/dist/patterns/anamnesis/index.js +1 -1
  44. package/package.json +1 -1
  45. package/dist/_chunks/number-input-DjWzmlEY.js +0 -350
@@ -0,0 +1,370 @@
1
+ import { jsxs as we, jsx as F } from "react/jsx-runtime";
2
+ import { useMemo as Y, forwardRef as Ie, useRef as L, useCallback as z, useState as q, useEffect as De } from "react";
3
+ import { c as xe } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as Ce } from "react-i18next";
5
+ import { u as Fe } from "./use-controllable-state-BiY4xTzM.js";
6
+ import { u as Se } from "./form-field-context-B3APVHKx.js";
7
+ import { c as Ve } from "./compose-refs-C0k0tdqF.js";
8
+ import { u as Me } from "./registry-DvAUVLHh.js";
9
+ import { C as ke } from "./chevron-down-DWE7GSq9.js";
10
+ import { C as Te } from "./chevron-up-umRGgtJA.js";
11
+ const Pe = {
12
+ id: "number-input",
13
+ capabilities: ["set_value"],
14
+ state: {
15
+ value: {
16
+ type: "number | null",
17
+ descriptionKey: "ui.agent.numberInput.state.value",
18
+ description: "Current numeric value, or null when empty.",
19
+ read: (n) => n.getValue()
20
+ },
21
+ isEmpty: {
22
+ type: "boolean",
23
+ descriptionKey: "ui.agent.numberInput.state.isEmpty",
24
+ description: "Whether the input has no value.",
25
+ read: (n) => n.getValue() === null
26
+ }
27
+ },
28
+ actions: {
29
+ set_value: {
30
+ safety: "write",
31
+ argsType: "{ value: number | null }",
32
+ argsSchema: {
33
+ type: "object",
34
+ properties: { value: { type: ["number", "null"] } },
35
+ required: ["value"]
36
+ },
37
+ idempotent: !0,
38
+ examples: [{ args: { value: 42 } }, { args: { value: null } }],
39
+ descriptionKey: "ui.agent.numberInput.actions.setValue",
40
+ description: "Replace the numeric value, or pass null to clear.",
41
+ invoke: (n, s) => {
42
+ n.setValue(s.value);
43
+ }
44
+ },
45
+ clear: {
46
+ safety: "destructive",
47
+ idempotent: !0,
48
+ descriptionKey: "ui.agent.numberInput.actions.clear",
49
+ description: "Empty the input. Loses any typed value.",
50
+ invoke: (n) => {
51
+ n.clear();
52
+ }
53
+ },
54
+ focus: {
55
+ safety: "read",
56
+ idempotent: !0,
57
+ descriptionKey: "ui.agent.numberInput.actions.focus",
58
+ description: "Move keyboard focus to the input.",
59
+ invoke: (n) => {
60
+ n.focus();
61
+ }
62
+ }
63
+ },
64
+ domHooks: {
65
+ root: {
66
+ attr: "data-component",
67
+ value: "number-input",
68
+ description: "Marks the NumberInput wrapper."
69
+ },
70
+ instanceId: {
71
+ attr: "data-component-id",
72
+ sourceProp: "id",
73
+ description: "Sourced from the id prop."
74
+ }
75
+ }
76
+ };
77
+ function ze(n) {
78
+ let s = "";
79
+ for (const l of n) {
80
+ const r = l.codePointAt(0);
81
+ r !== void 0 && (r >= 1632 && r <= 1641 ? s += String.fromCodePoint(48 + (r - 1632)) : r >= 1776 && r <= 1785 ? s += String.fromCodePoint(48 + (r - 1776)) : s += l);
82
+ }
83
+ return s;
84
+ }
85
+ function Re(n, s, l) {
86
+ return Y(() => {
87
+ var V, M;
88
+ const r = new Intl.NumberFormat(n).formatToParts(1234.5), u = ((V = r.find((a) => a.type === "decimal")) == null ? void 0 : V.value) ?? ".", S = ((M = r.find((a) => a.type === "group")) == null ? void 0 : M.value) ?? ",", p = s === "currency" ? new Intl.NumberFormat(n, {
89
+ style: "currency",
90
+ currency: l ?? "USD"
91
+ }) : s === "percentage" ? new Intl.NumberFormat(n, {
92
+ style: "percent",
93
+ maximumFractionDigits: 4
94
+ }) : s === "integer" ? new Intl.NumberFormat(n, { maximumFractionDigits: 0 }) : new Intl.NumberFormat(n, { maximumFractionDigits: 10 }), R = (a) => Number.isFinite(a) ? p.format(a) : "", A = (a) => {
95
+ if (!a) return NaN;
96
+ const k = ze(a), h = k.trim(), I = h.startsWith("-") || h.startsWith("−");
97
+ let d = "";
98
+ for (const N of k)
99
+ N >= "0" && N <= "9" ? d += N : N === u && (d += ".");
100
+ if (!d || d === ".") return NaN;
101
+ let m = Number(d);
102
+ return Number.isFinite(m) ? (I && (m = -m), s === "percentage" && (m = m / 100), m) : NaN;
103
+ };
104
+ let g = "decimal";
105
+ if (s === "integer")
106
+ g = "numeric";
107
+ else if (s === "currency")
108
+ try {
109
+ const { maximumFractionDigits: a } = new Intl.NumberFormat(n, {
110
+ style: "currency",
111
+ currency: l ?? "USD"
112
+ }).resolvedOptions();
113
+ g = a === 0 ? "numeric" : "decimal";
114
+ } catch {
115
+ g = "decimal";
116
+ }
117
+ return {
118
+ format: R,
119
+ parse: A,
120
+ decimalSeparator: u,
121
+ groupingSeparator: S,
122
+ inputMode: g
123
+ };
124
+ }, [n, s, l]);
125
+ }
126
+ const Ae = xe(
127
+ [
128
+ "ds:flex ds:items-center ds:w-full ds:rounded-[var(--radius-sm)]",
129
+ "ds:border ds:bg-input ds:text-foreground",
130
+ "ds:shadow-[var(--shadow-input)]",
131
+ "ds:transition-[colors,box-shadow] ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
132
+ "ds:focus-within:outline-[length:var(--focus-ring-width)] ds:focus-within:outline-solid",
133
+ "ds:focus-within:outline-ring ds:focus-within:outline-offset-[length:var(--focus-ring-offset)]",
134
+ "ds:has-[:disabled]:cursor-not-allowed ds:has-[:disabled]:opacity-50"
135
+ ].join(" "),
136
+ {
137
+ variants: {
138
+ size: {
139
+ sm: "ds:h-8 ds:text-[length:var(--font-size-sm)]",
140
+ md: "ds:h-[var(--min-target-size)] ds:text-[length:var(--font-size-base)]",
141
+ lg: "ds:h-12 ds:text-[length:var(--font-size-lg)]"
142
+ },
143
+ tone: {
144
+ default: "ds:border-border",
145
+ error: "ds:border-destructive ds:focus-within:outline-destructive"
146
+ }
147
+ },
148
+ defaultVariants: { size: "md", tone: "default" }
149
+ }
150
+ ), X = [
151
+ "ds:inline-flex ds:items-center ds:justify-center",
152
+ "ds:h-full ds:shrink-0",
153
+ "ds:text-muted-foreground ds:hover:text-foreground",
154
+ "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
155
+ "ds:disabled:cursor-not-allowed ds:disabled:opacity-50"
156
+ ].join(" "), je = () => typeof navigator < "u" && navigator.language ? navigator.language : "en-US";
157
+ function Be(n) {
158
+ if (!Number.isFinite(n)) return 0;
159
+ const s = String(n), l = s.indexOf(".");
160
+ return l === -1 ? 0 : s.length - l - 1;
161
+ }
162
+ function Ee(n, s) {
163
+ if (s <= 0 || !Number.isFinite(s)) return n;
164
+ const r = 10 ** Be(s);
165
+ return Math.round(n * r) / r;
166
+ }
167
+ const Ue = Ie(
168
+ ({
169
+ value: n,
170
+ defaultValue: s,
171
+ onChange: l,
172
+ min: r,
173
+ max: u,
174
+ step: S = 1,
175
+ mode: p = "integer",
176
+ currency: R,
177
+ locale: A,
178
+ size: g = "md",
179
+ tone: V,
180
+ className: M,
181
+ id: a,
182
+ disabled: k,
183
+ onFocus: h,
184
+ onBlur: I,
185
+ onKeyDown: d,
186
+ ...m
187
+ }, N) => {
188
+ const { t: H } = Ce(), D = Se(), Z = a ?? D.id, T = !!(D.disabled || k), ee = A ?? je(), j = Re(ee, p, R), {
189
+ decimalSeparator: P,
190
+ groupingSeparator: W,
191
+ format: B,
192
+ parse: O
193
+ } = j, _ = L(null), te = Ve(N, _), [ne, re] = Fe({
194
+ value: n,
195
+ defaultValue: s ?? null,
196
+ onChange: l
197
+ }), i = ne ?? null, $ = L(i);
198
+ $.current = i;
199
+ const x = z(
200
+ (e) => {
201
+ const t = p === "percentage" ? e * 100 : e;
202
+ return (Number.isInteger(t) ? String(t) : t.toString()).replace(".", P);
203
+ },
204
+ [p, P]
205
+ ), v = z(
206
+ (e) => e == null || Number.isNaN(e) ? "" : B(e),
207
+ [B]
208
+ ), [E, c] = q(
209
+ () => v(i)
210
+ ), y = L(!1), [se, b] = q(!1), [U, C] = q(!1), K = z(
211
+ (e) => {
212
+ if (e >= "0" && e <= "9") return !0;
213
+ const t = e.codePointAt(0) ?? 0;
214
+ return t >= 1632 && t <= 1641 || t >= 1776 && t <= 1785 ? !0 : e === P || e === W || e === "-" || e === "−";
215
+ },
216
+ [P, W]
217
+ ), oe = z(
218
+ (e) => {
219
+ let t = "";
220
+ for (const o of e)
221
+ K(o) && (t += o);
222
+ return t;
223
+ },
224
+ [K]
225
+ );
226
+ De(() => {
227
+ !y.current && !U && c(v(i));
228
+ }, [i, v, U]);
229
+ const ie = se || U || i !== null && (r !== void 0 && i < r || u !== void 0 && i > u), G = D.invalid || ie, ae = G ? "error" : V ?? "default", f = (e) => {
230
+ re(e);
231
+ }, w = (e) => {
232
+ let o = (i ?? 0) + S * e;
233
+ r !== void 0 && (o = Math.max(r, o)), u !== void 0 && (o = Math.min(u, o)), o = Ee(o, S), f(o), b(!1), c(
234
+ y.current ? x(o) : v(o)
235
+ );
236
+ }, J = (e) => {
237
+ f(e), b(!1), c(
238
+ y.current ? x(e) : v(e)
239
+ );
240
+ }, ue = (e) => {
241
+ if (d == null || d(e), e.defaultPrevented || T) return;
242
+ const { key: t, shiftKey: o } = e;
243
+ t === "ArrowUp" ? (e.preventDefault(), w(o ? 10 : 1)) : t === "ArrowDown" ? (e.preventDefault(), w(o ? -10 : -1)) : t === "PageUp" ? (e.preventDefault(), w(100)) : t === "PageDown" ? (e.preventDefault(), w(-100)) : t === "Home" && r !== void 0 ? (e.preventDefault(), J(r)) : t === "End" && u !== void 0 && (e.preventDefault(), J(u));
244
+ }, le = (e) => {
245
+ const t = oe(e.target.value);
246
+ if (c(t), t.trim() === "") {
247
+ f(null), b(!1), C(!1);
248
+ return;
249
+ }
250
+ const o = O(t);
251
+ Number.isNaN(o) || (f(o), C(!1));
252
+ }, de = (e) => {
253
+ const { data: t } = e.nativeEvent;
254
+ typeof t != "string" || t.length !== 1 || K(t) || e.preventDefault();
255
+ }, ce = (e) => {
256
+ h == null || h(e), y.current = !0, i != null && c(x(i));
257
+ }, fe = (e) => {
258
+ if (I == null || I(e), y.current = !1, E.trim() === "") {
259
+ f(null), b(!1), C(!1), c("");
260
+ return;
261
+ }
262
+ const t = O(E);
263
+ if (Number.isNaN(t)) {
264
+ C(!0), b(!1), f(null);
265
+ return;
266
+ }
267
+ const o = r !== void 0 && t < r || u !== void 0 && t > u;
268
+ b(o), C(!1), f(t), c(v(t));
269
+ }, Q = (e) => {
270
+ e.preventDefault();
271
+ }, pe = () => w(1), me = () => w(-1), ve = Y(
272
+ () => ({
273
+ getValue: () => $.current,
274
+ setValue: (e) => {
275
+ f(e), c(
276
+ e === null ? "" : y.current ? x(e) : v(e)
277
+ );
278
+ },
279
+ clear: () => {
280
+ f(null), c(""), b(!1);
281
+ },
282
+ focus: () => {
283
+ var e;
284
+ return (e = _.current) == null ? void 0 : e.focus();
285
+ }
286
+ }),
287
+ // The handle is reconstructed per render; consumers (the agent runtime)
288
+ // re-register only when the identity changes, which is a cheap no-op.
289
+ // eslint-disable-next-line react-hooks/exhaustive-deps
290
+ [x, v]
291
+ );
292
+ Me(Pe, ve, a);
293
+ const be = T || r !== void 0 && i !== null && i <= r, ge = T || u !== void 0 && i !== null && i >= u, he = i ?? void 0, Ne = (p === "currency" || p === "percentage") && i !== null && i !== null ? B(i) : void 0, ye = j.inputMode === "numeric" ? "[0-9]*" : void 0;
294
+ return /* @__PURE__ */ we(
295
+ "div",
296
+ {
297
+ className: Ae({
298
+ size: g,
299
+ tone: ae,
300
+ className: M
301
+ }),
302
+ "data-component": "number-input",
303
+ "data-component-id": a,
304
+ "data-mode": p,
305
+ children: [
306
+ /* @__PURE__ */ F(
307
+ "button",
308
+ {
309
+ type: "button",
310
+ tabIndex: -1,
311
+ "aria-label": H("inputs.number.decrement", "Decrement"),
312
+ onClick: me,
313
+ onMouseDown: Q,
314
+ disabled: be,
315
+ className: `${X} ds:ps-2 ds:pe-1`,
316
+ children: /* @__PURE__ */ F(ke, { "aria-hidden": "true", className: "ds:size-4" })
317
+ }
318
+ ),
319
+ /* @__PURE__ */ F(
320
+ "input",
321
+ {
322
+ ref: te,
323
+ id: Z,
324
+ type: "text",
325
+ role: "spinbutton",
326
+ inputMode: j.inputMode,
327
+ pattern: ye,
328
+ autoComplete: "off",
329
+ value: E,
330
+ disabled: T,
331
+ "aria-valuemin": r,
332
+ "aria-valuemax": u,
333
+ "aria-valuenow": he,
334
+ "aria-valuetext": Ne,
335
+ "aria-invalid": G || void 0,
336
+ "aria-required": D.required || void 0,
337
+ "aria-describedby": D.describedBy || void 0,
338
+ onBeforeInput: de,
339
+ onChange: le,
340
+ onFocus: ce,
341
+ onBlur: fe,
342
+ onKeyDown: ue,
343
+ className: "ds:flex-1 ds:w-full ds:min-w-0 ds:bg-transparent ds:outline-none ds:ps-2 ds:pe-2 ds:text-start ds:tabular-nums ds:disabled:cursor-not-allowed",
344
+ ...m
345
+ }
346
+ ),
347
+ /* @__PURE__ */ F(
348
+ "button",
349
+ {
350
+ type: "button",
351
+ tabIndex: -1,
352
+ "aria-label": H("inputs.number.increment", "Increment"),
353
+ onClick: pe,
354
+ onMouseDown: Q,
355
+ disabled: ge,
356
+ className: `${X} ds:ps-1 ds:pe-2`,
357
+ children: /* @__PURE__ */ F(Te, { "aria-hidden": "true", className: "ds:size-4" })
358
+ }
359
+ )
360
+ ]
361
+ }
362
+ );
363
+ }
364
+ );
365
+ Ue.displayName = "NumberInput";
366
+ export {
367
+ Ue as N,
368
+ Re as u
369
+ };
370
+ //# sourceMappingURL=number-input-DrozbZAU.js.map
@@ -3,7 +3,7 @@ import { forwardRef as We, useId as je, useRef as ue, useState as Xe, useCallbac
3
3
  import { c as He } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as Fe } from "react-i18next";
5
5
  import { u as qe } from "./registry-DvAUVLHh.js";
6
- import { N as se } from "./number-input-DjWzmlEY.js";
6
+ import { N as se } from "./number-input-DrozbZAU.js";
7
7
  import { S as he } from "./select-BW5ecXlX.js";
8
8
  import { T as Ke } from "./text-area-Bt3p7Pt0.js";
9
9
  import { D as v } from "./description-list-ClNLdRMy.js";
@@ -1257,4 +1257,4 @@ export {
1257
1257
  yt as y,
1258
1258
  Re as z
1259
1259
  };
1260
- //# sourceMappingURL=optical-prescription-BEjYQjiO.js.map
1260
+ //# sourceMappingURL=optical-prescription-BDHJr8Zz.js.map
@@ -6,11 +6,11 @@ import { A as re } from "./avatar-BNQNhoyL.js";
6
6
  import { I as z } from "./icon-button-C_kbcd7I.js";
7
7
  import { C as F } from "./card-DPmk26CL.js";
8
8
  import { C as ne, b as le, a as oe } from "./collapsible-CTjxzGuF.js";
9
- import { D as de } from "./date-picker-BP_W6VtE.js";
9
+ import { D as de } from "./date-picker-ZHejTVAJ.js";
10
10
  import { D as S } from "./description-list-ClNLdRMy.js";
11
11
  import { E as ce } from "./email-input-Dpe63k0K.js";
12
12
  import { F as pe } from "./fiscal-code-input-QP9gkyDE.js";
13
- import { N as ue } from "./number-input-DjWzmlEY.js";
13
+ import { N as ue } from "./number-input-DrozbZAU.js";
14
14
  import { P as me } from "./panel-header-D313n_9-.js";
15
15
  import { P as fe } from "./phone-input-BsZIoE36.js";
16
16
  import { S as ge } from "./select-BW5ecXlX.js";
@@ -775,4 +775,4 @@ export {
775
775
  Ae as P,
776
776
  je as p
777
777
  };
778
- //# sourceMappingURL=patient-details-BAUg0FWs.js.map
778
+ //# sourceMappingURL=patient-details-DqjjwPmt.js.map
@@ -4,7 +4,7 @@ import { useTranslation as $ } from "react-i18next";
4
4
  import { a as p, T as b, A as be, d as ne, D as P, e as ge } from "./actions-cell-renderer-Ceah0ywE.js";
5
5
  import { S as Ce } from "./select-BW5ecXlX.js";
6
6
  import { u as ve } from "./registry-DvAUVLHh.js";
7
- import { I as Ne, L as we, b as L, a as _, c as U, N as H, d as F, S as R, T as ie, D as K, C as Te, g as Fe, f as Re, U as Ie, e as ye } from "./link-cell-renderer-_DlEZHLI.js";
7
+ import { I as Ne, L as we, b as L, a as _, c as U, N as H, d as F, S as R, T as ie, D as K, C as Te, g as Fe, f as Re, U as Ie, e as ye } from "./link-cell-renderer-C5XLwVXQ.js";
8
8
  import { B as ae } from "./badge-DCOqV9mI.js";
9
9
  import { c as Pe } from "./index-D2ZczOXr.js";
10
10
  import { T as We } from "./timestamp-BV2lC-wV.js";
@@ -1101,4 +1101,4 @@ export {
1101
1101
  q as g,
1102
1102
  tt as u
1103
1103
  };
1104
- //# sourceMappingURL=patient-table-C7QHFC63.js.map
1104
+ //# sourceMappingURL=patient-table-BmIDrLIS.js.map
@@ -5,8 +5,8 @@ import { useTranslation as be } from "react-i18next";
5
5
  import { R as r } from "./radio-TWf9Q-mp.js";
6
6
  import { R as L } from "./radio-group-CI-6SmSw.js";
7
7
  import { F as g } from "./form-field-M5UpX65Z.js";
8
- import { D as O } from "./date-picker-BP_W6VtE.js";
9
- import { N as _ } from "./number-input-DjWzmlEY.js";
8
+ import { D as O } from "./date-picker-ZHejTVAJ.js";
9
+ import { N as _ } from "./number-input-DrozbZAU.js";
10
10
  import { S as xe } from "./select-BW5ecXlX.js";
11
11
  import { S as Ne } from "./switch-OILsBLWo.js";
12
12
  import { C as M } from "./card-DPmk26CL.js";
@@ -418,4 +418,4 @@ je.displayName = "PregnancyDating";
418
418
  export {
419
419
  je as P
420
420
  };
421
- //# sourceMappingURL=pregnancy-dating-BdFl-rB1.js.map
421
+ //# sourceMappingURL=pregnancy-dating-DzYTlBkT.js.map
@@ -5,7 +5,7 @@ import { useTranslation as J } from "react-i18next";
5
5
  import { R as I } from "./radio-TWf9Q-mp.js";
6
6
  import { R as Q } from "./radio-group-CI-6SmSw.js";
7
7
  import { F as $ } from "./form-field-M5UpX65Z.js";
8
- import { N as R } from "./number-input-DjWzmlEY.js";
8
+ import { N as R } from "./number-input-DrozbZAU.js";
9
9
  import { C as P } from "./card-DPmk26CL.js";
10
10
  import { B as k } from "./badge-DCOqV9mI.js";
11
11
  import { I as X } from "./insert-result-D074GtHX.js";
@@ -319,4 +319,4 @@ export {
319
319
  ie as a,
320
320
  te as r
321
321
  };
322
- //# sourceMappingURL=pregnancy-weight-gain-B-CkVYnU.js.map
322
+ //# sourceMappingURL=pregnancy-weight-gain-O6J0sUIi.js.map
@@ -8,7 +8,7 @@ import { B as L } from "./badge-DCOqV9mI.js";
8
8
  import { F as V } from "./form-field-M5UpX65Z.js";
9
9
  import { T as oe } from "./text-area-Bt3p7Pt0.js";
10
10
  import { F as de } from "./file-upload-CwxdqkMK.js";
11
- import { D as te } from "./date-picker-BP_W6VtE.js";
11
+ import { D as te } from "./date-picker-ZHejTVAJ.js";
12
12
  import { D as le } from "./date-range-picker-pEG3Ln3i.js";
13
13
  import { E } from "./empty-state-CrLsi0XI.js";
14
14
  import { P as ne } from "./panel-header-D313n_9-.js";
@@ -533,4 +533,4 @@ export {
533
533
  qe as R,
534
534
  Ae as r
535
535
  };
536
- //# sourceMappingURL=radiograph-panel.agent-AsXJBr1p.js.map
536
+ //# sourceMappingURL=radiograph-panel.agent-BQZ64Riy.js.map
@@ -4,7 +4,7 @@ import { c as z } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as M } from "react-i18next";
5
5
  import { u as Y } from "./registry-DvAUVLHh.js";
6
6
  import { F as C } from "./form-field-M5UpX65Z.js";
7
- import { N as B } from "./number-input-DjWzmlEY.js";
7
+ import { N as B } from "./number-input-DrozbZAU.js";
8
8
  import { S } from "./select-BW5ecXlX.js";
9
9
  import { I as D } from "./insert-result-D074GtHX.js";
10
10
  const L = [
@@ -334,4 +334,4 @@ export {
334
334
  ee as b,
335
335
  Q as c
336
336
  };
337
- //# sourceMappingURL=unit-converter-CSLWFDQh.js.map
337
+ //# sourceMappingURL=unit-converter-COgkN7YP.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "1.3.11",
3
+ "packageVersion": "1.3.13",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -1,4 +1,4 @@
1
- import { A as i, a as t } from "../../_chunks/appointment-timeline-BB-c1LeR.js";
1
+ import { A as i, a as t } from "../../_chunks/appointment-timeline-B630OT_J.js";
2
2
  export {
3
3
  i as AppointmentTimeline,
4
4
  t as appointmentTimelineAgent
@@ -1,4 +1,4 @@
1
- import { B as m } from "../../_chunks/bmi-calculator-Bk2GAju7.js";
1
+ import { B as m } from "../../_chunks/bmi-calculator-CM0-G2mg.js";
2
2
  import { b as e, a as t, c as r, d as T, e as c, f as i, i as b, k as n, l as f } from "../../_chunks/bmi-BxD-tFzU.js";
3
3
  export {
4
4
  m as BmiCalculator,
@@ -1,4 +1,4 @@
1
- import { B as A, C as R, O as a, b as s } from "../../_chunks/booking-BxFV0hT5.js";
1
+ import { B as A, C as R, O as a, b as s } from "../../_chunks/booking-DjNbd7C1.js";
2
2
  export {
3
3
  A as Booking,
4
4
  R as CONFIRMATION_CHANNEL_ORDER,
@@ -1,4 +1,4 @@
1
- import { C as e, L as l, p as r } from "../../_chunks/cycle-calculator-DNvvr0bP.js";
1
+ import { C as e, L as l, p as r } from "../../_chunks/cycle-calculator-BwqYVPB4.js";
2
2
  export {
3
3
  e as CycleCalculator,
4
4
  l as LUTEAL_PHASE_DAYS,
@@ -1,6 +1,6 @@
1
1
  import { A as r, D as l, T as t, a as s, b as n, c as o, d, e as i, f as C } from "../../_chunks/actions-cell-renderer-Ceah0ywE.js";
2
2
  import { B as T, C as F, E as g, a as b, R as u, T as c, b as m, r as f, u as x } from "../../_chunks/editable-currency-cell-renderer-Uhzkd0ZP.js";
3
- import { C as p, D as h, a as y, b as E, I as S, L as A, N as L, c as N, S as B, d as I, e as P, T as U, f as W, g as k, U as v } from "../../_chunks/link-cell-renderer-_DlEZHLI.js";
3
+ import { C as p, D as h, a as y, b as E, I as S, L as A, N as L, c as N, S as B, d as I, e as P, T as U, f as W, g as k, U as v } from "../../_chunks/link-cell-renderer-C5XLwVXQ.js";
4
4
  export {
5
5
  r as ActionsCellRenderer,
6
6
  T as BalanceCellRenderer,
@@ -46,6 +46,14 @@ export interface DatePickerProps extends Pick<VariantProps<typeof triggerVariant
46
46
  className?: string;
47
47
  /** id override. */
48
48
  id?: string;
49
+ /** Accessible name for the date input, when the picker is NOT wrapped in a
50
+ * `FormField`. Without one — and without a FormField's `<label htmlFor>` —
51
+ * the input has no accessible name at all, so a picker placed inline beside
52
+ * chips or in a toolbar was unnamed to a screen reader. Ignored in favour of
53
+ * the FormField label when both are present. */
54
+ 'aria-label'?: string;
55
+ /** Accessible name by reference, same conditions as `aria-label`. */
56
+ 'aria-labelledby'?: string;
49
57
  }
50
58
  export declare const DatePicker: import("react").ForwardRefExoticComponent<DatePickerProps & import("react").RefAttributes<HTMLDivElement>>;
51
59
  //# sourceMappingURL=date-picker.d.ts.map
@@ -1,4 +1,4 @@
1
- import { D as r, d as t } from "../../_chunks/date-picker-BP_W6VtE.js";
1
+ import { D as r, d as t } from "../../_chunks/date-picker-ZHejTVAJ.js";
2
2
  export {
3
3
  r as DatePicker,
4
4
  t as datePickerAgent
@@ -1,4 +1,4 @@
1
- import { D as e } from "../../_chunks/due-date-calculator-BEcdoy_E.js";
1
+ import { D as e } from "../../_chunks/due-date-calculator-CwfsFd3T.js";
2
2
  import { C as r, a as o, D, G as _, M as T, T as M, c as E, b as l, g as C, p as A, r as N, d as i, t as n } from "../../_chunks/antenatal-schedule-timeline-BMMpi2lb.js";
3
3
  export {
4
4
  r as CRL_DATING_MAX_MM,
@@ -1,4 +1,4 @@
1
- import { F as a, e as i } from "../../_chunks/fetal-weight-1F9N4IMx.js";
1
+ import { F as a, e as i } from "../../_chunks/fetal-weight-ePlLjJPc.js";
2
2
  export {
3
3
  a as FetalWeight,
4
4
  i as estimateFetalWeight
@@ -1,4 +1,4 @@
1
- import { G as t } from "../../_chunks/gestational-age-calculator-CuGkVqKp.js";
1
+ import { G as t } from "../../_chunks/gestational-age-calculator-DdgbH69Z.js";
2
2
  export {
3
3
  t as GestationalAgeCalculator
4
4
  };
@@ -1,4 +1,4 @@
1
- import { H, M as g, a as o } from "../../_chunks/hcg-doubling-fZ6qQN08.js";
1
+ import { H, M as g, a as o } from "../../_chunks/hcg-doubling-BBqD2wI2.js";
2
2
  export {
3
3
  H as HcgDoubling,
4
4
  g as MINIMAL_48H_RISE_PERCENT,
@@ -1,4 +1,4 @@
1
- import { N as r, u as a } from "../../_chunks/number-input-DjWzmlEY.js";
1
+ import { N as r, u as a } from "../../_chunks/number-input-DrozbZAU.js";
2
2
  export {
3
3
  r as NumberInput,
4
4
  a as useLocaleNumber
@@ -1,4 +1,4 @@
1
- import { A as S, a as r, b as A, c as e, d as I, e as _, C as t, f as E, g as o, D as M, h as i, E as P, L as N, O as R, P as m, i as D, j as n, k as f, l, R as X, S as C, m as d, n as p, o as T, p as c, q as L, r as O, s as Y, t as g, u as x, v as B, w as u, x as w, y, z as H, B as b, F as h } from "../../_chunks/optical-prescription-BEjYQjiO.js";
1
+ import { A as S, a as r, b as A, c as e, d as I, e as _, C as t, f as E, g as o, D as M, h as i, E as P, L as N, O as R, P as m, i as D, j as n, k as f, l, R as X, S as C, m as d, n as p, o as T, p as c, q as L, r as O, s as Y, t as g, u as x, v as B, w as u, x as w, y, z as H, B as b, F as h } from "../../_chunks/optical-prescription-BDHJr8Zz.js";
2
2
  export {
3
3
  S as ADD_MAX,
4
4
  r as ADD_MIN,
@@ -1,4 +1,4 @@
1
- import { P as e, p as i } from "../../_chunks/patient-details-BAUg0FWs.js";
1
+ import { P as e, p as i } from "../../_chunks/patient-details-DqjjwPmt.js";
2
2
  export {
3
3
  e as PatientDetails,
4
4
  i as patientDetailsAgent
@@ -1,4 +1,4 @@
1
- import { B as s, C as l, N as t, P as n, a as C, b as i, g as o, u } from "../../_chunks/patient-table-C7QHFC63.js";
1
+ import { B as s, C as l, N as t, P as n, a as C, b as i, g as o, u } from "../../_chunks/patient-table-BmIDrLIS.js";
2
2
  export {
3
3
  s as BalanceBadgeCell,
4
4
  l as CarePlanStatusCell,
@@ -1,4 +1,4 @@
1
- import { P as r } from "../../_chunks/pregnancy-dating-BdFl-rB1.js";
1
+ import { P as r } from "../../_chunks/pregnancy-dating-DzYTlBkT.js";
2
2
  export {
3
3
  r as PregnancyDating
4
4
  };
@@ -1,4 +1,4 @@
1
- import { P as s, R as n, T as i, a as r, r as A } from "../../_chunks/pregnancy-weight-gain-B-CkVYnU.js";
1
+ import { P as s, R as n, T as i, a as r, r as A } from "../../_chunks/pregnancy-weight-gain-O6J0sUIi.js";
2
2
  export {
3
3
  s as PregnancyWeightGain,
4
4
  n as RATE_BANDS,
@@ -1,4 +1,4 @@
1
- import { R as o, I as e, r as n } from "../../_chunks/radiograph-panel.agent-AsXJBr1p.js";
1
+ import { R as o, I as e, r as n } from "../../_chunks/radiograph-panel.agent-BQZ64Riy.js";
2
2
  export {
3
3
  o as RadiographPanel,
4
4
  e as RadiographPanelIcon,
@@ -1,4 +1,4 @@
1
- import { C as r, U as t, a as U, b as e, c as n } from "../../_chunks/unit-converter-CSLWFDQh.js";
1
+ import { C as r, U as t, a as U, b as e, c as n } from "../../_chunks/unit-converter-COgkN7YP.js";
2
2
  export {
3
3
  r as CATEGORIES,
4
4
  t as UNITS,