@alfadocs/ui-kit 0.88.0 → 0.89.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.
Files changed (58) hide show
  1. package/dist/_chunks/{antenatal-schedule-timeline-BzJZqS-8.js → antenatal-schedule-timeline-UiZQze4P.js} +3 -3
  2. package/dist/_chunks/{appointment-timeline-DQTG0btW.js → appointment-timeline-CwpbQGC1.js} +2 -2
  3. package/dist/_chunks/{ar-B1GhtlBP.js → ar-C9FRRqJs.js} +2 -2
  4. package/dist/_chunks/{booking-BvCu2XWY.js → booking-DEwmDprH.js} +4 -4
  5. package/dist/_chunks/{cycle-calculator-OQp8Ik5U.js → cycle-calculator-DXSNIWFk.js} +3 -3
  6. package/dist/_chunks/{date-picker-DzQS8mvt.js → date-picker-ffmyjvlI.js} +2 -2
  7. package/dist/_chunks/{date-picker-variants-CYQAm1Gk.js → date-picker-variants-D9B6hg15.js} +37 -24
  8. package/dist/_chunks/{date-range-picker-Cbz1SKhm.js → date-range-picker-DSOH50-f.js} +48 -47
  9. package/dist/_chunks/{date-time-picker-B5IpU-nd.js → date-time-picker-BU-j0qj4.js} +2 -2
  10. package/dist/_chunks/{de-DETDHQ0o.js → de-C3_KZ6mR.js} +2 -2
  11. package/dist/_chunks/{due-date-calculator-DASNRgnH.js → due-date-calculator-BR_GuqHH.js} +3 -3
  12. package/dist/_chunks/{el-HV3jOI0z.js → el-v9xDKHgu.js} +2 -2
  13. package/dist/_chunks/{es-Dpo7Olwo.js → es-Lgmjq9Rp.js} +2 -2
  14. package/dist/_chunks/{fr-CgD4Jvtq.js → fr-INS1OD7m.js} +2 -2
  15. package/dist/_chunks/{gestational-age-calculator-BpYw-WF-.js → gestational-age-calculator-DBIcxfjP.js} +5 -5
  16. package/dist/_chunks/{hcg-doubling-Dqj-EqMT.js → hcg-doubling-BgCkds8R.js} +2 -2
  17. package/dist/_chunks/{hi-Bf8CAP6b.js → hi-BUYtlosF.js} +2 -2
  18. package/dist/_chunks/{isSameWeek-BYl5poz_.js → isSameWeek-BUNsv4OO.js} +2 -2
  19. package/dist/_chunks/{it-mt1V2DFS.js → it-VfsdUqeV.js} +3 -3
  20. package/dist/_chunks/{ja-CbOHn2TO.js → ja-Dfk9qwzE.js} +2 -2
  21. package/dist/_chunks/{link-cell-renderer-BQGUs45d.js → link-cell-renderer-BzITwSXq.js} +2 -2
  22. package/dist/_chunks/{marketplace-app-shell-DX5aLeIJ.js → marketplace-app-shell-35eRpT3r.js} +11 -5
  23. package/dist/_chunks/{nl-C6Y0QXnm.js → nl-Crxwg0IZ.js} +2 -2
  24. package/dist/_chunks/{patient-details-B9LCdyWW.js → patient-details-Dggsz-ki.js} +2 -2
  25. package/dist/_chunks/{patient-table-B6AKMTm3.js → patient-table-ps4byVwA.js} +2 -2
  26. package/dist/_chunks/{pl-BdazJAOp.js → pl-IdHtxWTl.js} +3 -3
  27. package/dist/_chunks/{pregnancy-dating-msMl_6wz.js → pregnancy-dating-CvIRwWaG.js} +5 -5
  28. package/dist/_chunks/{pt-B3UKvhHp.js → pt-CY2m2bBz.js} +2 -2
  29. package/dist/_chunks/{radiograph-panel.agent-M9XD4ze4.js → radiograph-panel.agent-C93AXgtV.js} +3 -3
  30. package/dist/_chunks/{ro-DVTEQpPK.js → ro-qoxLkXED.js} +2 -2
  31. package/dist/_chunks/{ru-C-Mp40SC.js → ru-BVZlxoKf.js} +3 -3
  32. package/dist/_chunks/{sq-DierVlw-.js → sq--eT8hIiD.js} +2 -2
  33. package/dist/_chunks/subDays-fEHRx4hg.js +8 -0
  34. package/dist/_chunks/{sv-gQWo_19z.js → sv-BGNQ5gX6.js} +2 -2
  35. package/dist/_chunks/{tr-Btm6M3Km.js → tr-B2NEu6Gy.js} +2 -2
  36. package/dist/_chunks/{zh-CN-DkVN4vsB.js → zh-CN-DClT1wDk.js} +3 -3
  37. package/dist/agent-catalog.json +1 -1
  38. package/dist/components/_shared/date-picker-variants.d.ts +1 -0
  39. package/dist/components/appointment-timeline/index.js +1 -1
  40. package/dist/components/booking/index.js +1 -1
  41. package/dist/components/cycle-calculator/index.js +1 -1
  42. package/dist/components/data-table/index.js +1 -1
  43. package/dist/components/date-picker/index.js +1 -1
  44. package/dist/components/date-range-picker/date-range-picker.d.ts +10 -0
  45. package/dist/components/date-range-picker/index.js +1 -1
  46. package/dist/components/date-time-picker/index.js +1 -1
  47. package/dist/components/due-date-calculator/index.js +2 -2
  48. package/dist/components/gestational-age-calculator/index.js +1 -1
  49. package/dist/components/hcg-doubling/index.js +1 -1
  50. package/dist/components/patient-details/index.js +1 -1
  51. package/dist/components/patient-table/index.js +1 -1
  52. package/dist/components/pregnancy-dating/index.js +1 -1
  53. package/dist/components/radiograph-panel/index.js +1 -1
  54. package/dist/index.js +16 -16
  55. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  56. package/dist/tokens.css +1 -1
  57. package/package.json +1 -1
  58. package/dist/_chunks/subDays-DIKRViZm.js +0 -8
@@ -1,5 +1,5 @@
1
- import { a as y, j as N } from "./date-picker-variants-CYQAm1Gk.js";
2
- import { s as p } from "./subDays-DIKRViZm.js";
1
+ import { a as y, j as N } from "./date-picker-variants-D9B6hg15.js";
2
+ import { s as p } from "./subDays-fEHRx4hg.js";
3
3
  import { jsx as u, jsxs as f } from "react/jsx-runtime";
4
4
  import { useMemo as M } from "react";
5
5
  import { useTranslation as T } from "react-i18next";
@@ -410,4 +410,4 @@ export {
410
410
  ht as r,
411
411
  w as t
412
412
  };
413
- //# sourceMappingURL=antenatal-schedule-timeline-BzJZqS-8.js.map
413
+ //# sourceMappingURL=antenatal-schedule-timeline-UiZQze4P.js.map
@@ -5,7 +5,7 @@ import { useTranslation as De } from "react-i18next";
5
5
  import { A as we } from "./appointment-card-DgKI5QKD.js";
6
6
  import { B as K } from "./button-CPGiR_bH.js";
7
7
  import { B as Re } from "./button-group-DzV5wgnx.js";
8
- import { D as Ie } from "./date-picker-DzQS8mvt.js";
8
+ import { D as Ie } from "./date-picker-ffmyjvlI.js";
9
9
  import { P as Se } from "./panel-header-D313n_9-.js";
10
10
  import { S as je } from "./skeleton-CZbwyJAA.js";
11
11
  import { E as Ce } from "./empty-state-CrLsi0XI.js";
@@ -385,4 +385,4 @@ export {
385
385
  Ke as A,
386
386
  Ne as a
387
387
  };
388
- //# sourceMappingURL=appointment-timeline-DQTG0btW.js.map
388
+ //# sourceMappingURL=appointment-timeline-CwpbQGC1.js.map
@@ -1,4 +1,4 @@
1
- import { o as s, q as r, r as i, v as d } from "./date-picker-variants-CYQAm1Gk.js";
1
+ import { o as s, q as r, r as i, v as d } from "./date-picker-variants-D9B6hg15.js";
2
2
  const h = {
3
3
  lessThanXSeconds: {
4
4
  one: "أقل من ثانية",
@@ -396,4 +396,4 @@ const h = {
396
396
  export {
397
397
  z as ar
398
398
  };
399
- //# sourceMappingURL=ar-B1GhtlBP.js.map
399
+ //# sourceMappingURL=ar-C9FRRqJs.js.map
@@ -7,7 +7,7 @@ import { A as z } from "./alert-Cxaqd-QO.js";
7
7
  import { B as ie } from "./button-CPGiR_bH.js";
8
8
  import { C as Ke } from "./checkbox-BuZ1u__2.js";
9
9
  import { C as Bt } from "./checkbox-group-CfqMv57d.js";
10
- import { D as Et } from "./date-picker-DzQS8mvt.js";
10
+ import { D as Et } from "./date-picker-ffmyjvlI.js";
11
11
  import { E as Rt } from "./email-input-Dpe63k0K.js";
12
12
  import { F as Z } from "./form-field-M5UpX65Z.js";
13
13
  import { P as Vt } from "./phone-input-D00ZBAm-.js";
@@ -24,8 +24,8 @@ import { S as $t } from "./stepper-accordion-BeVMZPuG.js";
24
24
  import { S as zt } from "./stepper-progress-Bv0njx4g.js";
25
25
  import { p as L, S as Kt } from "./slot-grid-CQSULZjd.js";
26
26
  import { s as le, i as st } from "./isSameDay-DUEiAT0G.js";
27
- import { w as lt, i as ce, a as je, n as jt, f as ye, d as qt, h as Te, x as De } from "./date-picker-variants-CYQAm1Gk.js";
28
- import { s as Ht } from "./subDays-DIKRViZm.js";
27
+ import { w as lt, i as ce, a as je, n as jt, f as ye, d as qt, h as Te, x as De } from "./date-picker-variants-D9B6hg15.js";
28
+ import { s as Ht } from "./subDays-fEHRx4hg.js";
29
29
  import { C as Gt } from "./chevron-left-B8cOyH-V.js";
30
30
  import { C as Ut } from "./chevron-right-I9AeSxH2.js";
31
31
  import { c as F } from "./createLucideIcon-DhHxpK9K.js";
@@ -2692,4 +2692,4 @@ export {
2692
2692
  X as O,
2693
2693
  Cs as b
2694
2694
  };
2695
- //# sourceMappingURL=booking-BvCu2XWY.js.map
2695
+ //# sourceMappingURL=booking-DEwmDprH.js.map
@@ -3,12 +3,12 @@ import { forwardRef as A, useState as C, useMemo as N, useEffect as I } from "re
3
3
  import { c as S } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as k } from "react-i18next";
5
5
  import { F as L } from "./form-field-M5UpX65Z.js";
6
- import { D as z } from "./date-picker-DzQS8mvt.js";
6
+ import { D as z } from "./date-picker-ffmyjvlI.js";
7
7
  import { N as D } from "./number-input-DjWzmlEY.js";
8
8
  import { C as E } from "./card-DPmk26CL.js";
9
9
  import { B as P } from "./badge-DCOqV9mI.js";
10
10
  import { I as B } from "./insert-result-D074GtHX.js";
11
- import { a as i } from "./date-picker-variants-CYQAm1Gk.js";
11
+ import { a as i } from "./date-picker-variants-D9B6hg15.js";
12
12
  import { C as G } from "./check-DrFSN__t.js";
13
13
  import { H as R } from "./heart--qCA4ffe.js";
14
14
  import { c as Y } from "./createLucideIcon-DhHxpK9K.js";
@@ -249,4 +249,4 @@ export {
249
249
  U as L,
250
250
  O as p
251
251
  };
252
- //# sourceMappingURL=cycle-calculator-OQp8Ik5U.js.map
252
+ //# sourceMappingURL=cycle-calculator-DXSNIWFk.js.map
@@ -8,7 +8,7 @@ import * as Z from "@radix-ui/react-popover";
8
8
  import { u as He } from "./use-controllable-state-BiY4xTzM.js";
9
9
  import { u as qe } from "./form-field-context-B3APVHKx.js";
10
10
  import { u as Ce } from "./registry-DvAUVLHh.js";
11
- import { y as ce, z as Le, s as S, A as ue, B as Ne, E as Re, a as le, F as de, G as Qe, H as ae, I as We, J as ie, K as Ae, u as Fe, g as Be, h as oe, c as Ge, n as Ve, i as Xe, t as Ke, k as ze, p as Ze, D as $e, C as je, l as Je, m as Ue, L as Se } from "./date-picker-variants-CYQAm1Gk.js";
11
+ import { y as ce, z as Le, s as S, A as ue, B as Ne, E as Re, a as le, F as de, G as Qe, H as ae, I as We, J as ie, K as Ae, u as Fe, g as Be, h as oe, c as Ge, n as Ve, i as Xe, t as Ke, k as ze, p as Ze, D as $e, C as je, l as Je, m as Ue, L as Se } from "./date-picker-variants-D9B6hg15.js";
12
12
  import { C as et } from "./calendar-days-BGWklvE-.js";
13
13
  import { t as E, c as O, m as tt, a as rt, b as nt } from "./isSameDay-DUEiAT0G.js";
14
14
  function st() {
@@ -1842,4 +1842,4 @@ export {
1842
1842
  nr as D,
1843
1843
  rr as d
1844
1844
  };
1845
- //# sourceMappingURL=date-picker-DzQS8mvt.js.map
1845
+ //# sourceMappingURL=date-picker-ffmyjvlI.js.map
@@ -2987,23 +2987,23 @@ function As(e) {
2987
2987
  }
2988
2988
  const pt = {
2989
2989
  en: () => Promise.resolve().then(() => Tr).then((e) => e.enUS),
2990
- it: () => import("./it-mt1V2DFS.js").then((e) => e.it),
2991
- de: () => import("./de-DETDHQ0o.js").then((e) => e.de),
2992
- es: () => import("./es-Dpo7Olwo.js").then((e) => e.es),
2993
- fr: () => import("./fr-CgD4Jvtq.js").then((e) => e.fr),
2994
- pt: () => import("./pt-B3UKvhHp.js").then((e) => e.pt),
2995
- nl: () => import("./nl-C6Y0QXnm.js").then((e) => e.nl),
2996
- pl: () => import("./pl-BdazJAOp.js").then((e) => e.pl),
2997
- ro: () => import("./ro-DVTEQpPK.js").then((e) => e.ro),
2998
- ru: () => import("./ru-C-Mp40SC.js").then((e) => e.ru),
2999
- sv: () => import("./sv-gQWo_19z.js").then((e) => e.sv),
3000
- el: () => import("./el-HV3jOI0z.js").then((e) => e.el),
3001
- ja: () => import("./ja-CbOHn2TO.js").then((e) => e.ja),
3002
- zh: () => import("./zh-CN-DkVN4vsB.js").then((e) => e.zhCN),
3003
- hi: () => import("./hi-Bf8CAP6b.js").then((e) => e.hi),
3004
- ar: () => import("./ar-B1GhtlBP.js").then((e) => e.ar),
3005
- tr: () => import("./tr-Btm6M3Km.js").then((e) => e.tr),
3006
- sq: () => import("./sq-DierVlw-.js").then((e) => e.sq)
2990
+ it: () => import("./it-VfsdUqeV.js").then((e) => e.it),
2991
+ de: () => import("./de-C3_KZ6mR.js").then((e) => e.de),
2992
+ es: () => import("./es-Lgmjq9Rp.js").then((e) => e.es),
2993
+ fr: () => import("./fr-INS1OD7m.js").then((e) => e.fr),
2994
+ pt: () => import("./pt-CY2m2bBz.js").then((e) => e.pt),
2995
+ nl: () => import("./nl-Crxwg0IZ.js").then((e) => e.nl),
2996
+ pl: () => import("./pl-IdHtxWTl.js").then((e) => e.pl),
2997
+ ro: () => import("./ro-qoxLkXED.js").then((e) => e.ro),
2998
+ ru: () => import("./ru-BVZlxoKf.js").then((e) => e.ru),
2999
+ sv: () => import("./sv-BGNQ5gX6.js").then((e) => e.sv),
3000
+ el: () => import("./el-v9xDKHgu.js").then((e) => e.el),
3001
+ ja: () => import("./ja-Dfk9qwzE.js").then((e) => e.ja),
3002
+ zh: () => import("./zh-CN-DClT1wDk.js").then((e) => e.zhCN),
3003
+ hi: () => import("./hi-BUYtlosF.js").then((e) => e.hi),
3004
+ ar: () => import("./ar-C9FRRqJs.js").then((e) => e.ar),
3005
+ tr: () => import("./tr-B2NEu6Gy.js").then((e) => e.tr),
3006
+ sq: () => import("./sq--eT8hIiD.js").then((e) => e.sq)
3007
3007
  };
3008
3008
  async function Ys(e) {
3009
3009
  const t = e.toLowerCase().split("-")[0];
@@ -3127,10 +3127,7 @@ const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", _s = "ds
3127
3127
  }, Rs = Ye(
3128
3128
  [
3129
3129
  "ds:relative ds:flex ds:items-center ds:w-full",
3130
- // Soft-chrome look — matches `INPUT_SURFACE_CHROME` so the trigger
3131
- // shares the fill + halo with TextInput / Select / NumberInput.
3132
- "ds:rounded-[var(--radius-sm)] ds:border ds:bg-input ds:text-foreground",
3133
- "ds:shadow-[var(--shadow-input)]",
3130
+ "ds:border ds:text-foreground",
3134
3131
  "ds:placeholder:text-muted-foreground",
3135
3132
  "ds:transition-[colors,box-shadow] ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
3136
3133
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
@@ -3141,17 +3138,33 @@ const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", _s = "ds
3141
3138
  variants: {
3142
3139
  size: {
3143
3140
  sm: "ds:h-8 ds:text-[length:var(--font-size-sm)] ds:ps-3 ds:pe-10",
3144
- md: "ds:h-[var(--min-target-size)] ds:text-[length:var(--font-size-base)] ds:ps-3 ds:pe-10",
3141
+ md: "ds:text-[length:var(--font-size-base)] ds:ps-3 ds:pe-10",
3145
3142
  lg: "ds:h-12 ds:text-[length:var(--font-size-lg)] ds:ps-4 ds:pe-12"
3146
3143
  },
3147
3144
  tone: {
3148
3145
  default: "ds:border-border",
3149
3146
  error: "ds:border-destructive"
3147
+ },
3148
+ // `input` (default) shares the soft fill + halo with TextInput / Select
3149
+ // (`INPUT_SURFACE_CHROME`). `button` drops the halo and takes the outline
3150
+ // Button's chrome (radius-md, transparent fill, hover/active) so a picker
3151
+ // can sit flush among Buttons in a toolbar. The halo is a11y-load-bearing
3152
+ // on the input chrome (tokens `--shadow-input`), so `input` stays default.
3153
+ chrome: {
3154
+ input: "ds:rounded-[var(--radius-sm)] ds:bg-input ds:shadow-[var(--shadow-input)]",
3155
+ button: "ds:rounded-[var(--radius-md)] ds:bg-transparent ds:shadow-none ds:hover:bg-muted/10 ds:active:bg-muted/20"
3150
3156
  }
3151
3157
  },
3158
+ compoundVariants: [
3159
+ // `md` height is chrome-specific: `input` keeps the 44px touch target;
3160
+ // `button` matches the kit Button's `md` height (40px / h-10).
3161
+ { chrome: "input", size: "md", class: "ds:h-[var(--min-target-size)]" },
3162
+ { chrome: "button", size: "md", class: "ds:h-10" }
3163
+ ],
3152
3164
  defaultVariants: {
3153
3165
  size: "md",
3154
- tone: "default"
3166
+ tone: "default",
3167
+ chrome: "input"
3155
3168
  }
3156
3169
  }
3157
3170
  ), Vs = Ye(
@@ -3222,4 +3235,4 @@ export {
3222
3235
  ve as y,
3223
3236
  It as z
3224
3237
  };
3225
- //# sourceMappingURL=date-picker-variants-CYQAm1Gk.js.map
3238
+ //# sourceMappingURL=date-picker-variants-D9B6hg15.js.map
@@ -1,17 +1,17 @@
1
1
  import { jsx as n, jsxs as g } from "react/jsx-runtime";
2
- import { forwardRef as Q, useState as M, useRef as U, useCallback as X, useMemo as Z, useImperativeHandle as z } from "react";
3
- import { useTranslation as ee } from "react-i18next";
2
+ import { forwardRef as U, useState as M, useRef as X, useCallback as Z, useMemo as z, useImperativeHandle as ee } from "react";
3
+ import { useTranslation as te } from "react-i18next";
4
4
  import * as f from "@radix-ui/react-popover";
5
- import { u as te } from "./use-controllable-state-BiY4xTzM.js";
6
- import { u as ae } from "./form-field-context-B3APVHKx.js";
7
- import { u as ne } from "./registry-DvAUVLHh.js";
8
- import { b as re, u as se, g as oe, c as ie, e as T, s as W, d as de, f as ce, h as v, j as le, k as pe, t as me, p as ue, D as ge, C as fe, l as he, m as ye } from "./date-picker-variants-CYQAm1Gk.js";
9
- import { s as R } from "./subDays-DIKRViZm.js";
10
- import { C as ke } from "./calendar-days-BGWklvE-.js";
11
- function be(a, s, i) {
12
- return re(a, -1, i);
5
+ import { u as ae } from "./use-controllable-state-BiY4xTzM.js";
6
+ import { u as ne } from "./form-field-context-B3APVHKx.js";
7
+ import { u as re } from "./registry-DvAUVLHh.js";
8
+ import { b as se, u as oe, g as ie, c as de, e as T, s as W, d as ce, f as le, h as v, j as pe, k as me, t as ue, p as ge, D as fe, C as he, l as ye, m as ke } from "./date-picker-variants-D9B6hg15.js";
9
+ import { s as R } from "./subDays-fEHRx4hg.js";
10
+ import { C as be } from "./calendar-days-BGWklvE-.js";
11
+ function ve(a, s, i) {
12
+ return se(a, -1, i);
13
13
  }
14
- const ve = {
14
+ const Re = {
15
15
  id: "date-range-picker",
16
16
  capabilities: ["range_pick", "open", "close"],
17
17
  state: {
@@ -109,7 +109,7 @@ const ve = {
109
109
  description: "Sourced from the id prop."
110
110
  }
111
111
  }
112
- }, Re = Q(
112
+ }, De = U(
113
113
  ({
114
114
  value: a,
115
115
  defaultValue: s,
@@ -119,21 +119,22 @@ const ve = {
119
119
  presets: h,
120
120
  mergePresets: K = !1,
121
121
  size: D = "md",
122
- disabled: j,
123
- placeholder: F,
124
- className: L,
125
- id: A
126
- }, B) => {
127
- const { t: r, i18n: w } = ee(), c = ae(), y = A ?? c.id, P = c.disabled || j, H = c.invalid ? "error" : "default", o = se(w.language), k = oe(w.language), _ = F ?? r("inputs.dateRangePicker.placeholder", "Select date range"), [$, C] = te({
122
+ chrome: j = "input",
123
+ disabled: F,
124
+ placeholder: L,
125
+ className: A,
126
+ id: B
127
+ }, H) => {
128
+ const { t: r, i18n: w } = te(), c = ne(), y = B ?? c.id, P = c.disabled || F, _ = c.invalid ? "error" : "default", o = oe(w.language), k = ie(w.language), $ = L ?? r("inputs.dateRangePicker.placeholder", "Select date range"), [q, C] = ae({
128
129
  value: a,
129
130
  defaultValue: s ?? {},
130
131
  onChange: i
131
- }), t = $ ?? {}, [p, m] = M(!1), [q, O] = M(t.from ?? /* @__PURE__ */ new Date()), J = U(null), d = X(
132
+ }), t = q ?? {}, [p, m] = M(!1), [J, O] = M(t.from ?? /* @__PURE__ */ new Date()), Y = X(null), d = Z(
132
133
  (e) => {
133
134
  C(e);
134
135
  },
135
136
  [C]
136
- ), Y = ie(l, V), S = [
137
+ ), E = de(l, V), S = [
137
138
  {
138
139
  label: r("inputs.dateRangePicker.presets.today", "Today"),
139
140
  range: () => {
@@ -165,7 +166,7 @@ const ve = {
165
166
  {
166
167
  label: r("inputs.dateRangePicker.presets.lastWeek", "Last week"),
167
168
  range: () => {
168
- const e = be(/* @__PURE__ */ new Date());
169
+ const e = ve(/* @__PURE__ */ new Date());
169
170
  return {
170
171
  from: W(e, { locale: o }),
171
172
  to: T(e, { locale: o })
@@ -175,8 +176,8 @@ const ve = {
175
176
  {
176
177
  label: r("inputs.dateRangePicker.presets.thisMonth", "This month"),
177
178
  range: () => ({
178
- from: ce(/* @__PURE__ */ new Date()),
179
- to: de(/* @__PURE__ */ new Date())
179
+ from: le(/* @__PURE__ */ new Date()),
180
+ to: ce(/* @__PURE__ */ new Date())
180
181
  })
181
182
  },
182
183
  {
@@ -186,9 +187,9 @@ const ve = {
186
187
  to: /* @__PURE__ */ new Date()
187
188
  })
188
189
  }
189
- ], x = h ? K ? [...S, ...h] : h : S, E = (e) => {
190
+ ], x = h ? K ? [...S, ...h] : h : S, G = (e) => {
190
191
  d(e ? { from: e.from, to: e.to } : {});
191
- }, G = (e) => {
192
+ }, Q = (e) => {
192
193
  const u = e.range();
193
194
  d(u), O(u.from), m(!1);
194
195
  }, N = (() => {
@@ -199,13 +200,13 @@ const ve = {
199
200
  return t.from ? v(t.from, k, { locale: o }) : "";
200
201
  })(), I = (() => {
201
202
  if (t.from && t.to) {
202
- const e = le(t.to, t.from) + 1;
203
+ const e = pe(t.to, t.from) + 1;
203
204
  return r("inputs.dateRangePicker.days", "{{count}} days", {
204
205
  count: e
205
206
  });
206
207
  }
207
208
  return "";
208
- })(), b = Z(
209
+ })(), b = z(
209
210
  () => ({
210
211
  getRange: () => t,
211
212
  setRange: (e) => d(e),
@@ -216,17 +217,17 @@ const ve = {
216
217
  }),
217
218
  [t, d, p]
218
219
  );
219
- return z(B, () => b, [b]), ne(ve, b, y), /* @__PURE__ */ n(f.Root, { open: p, onOpenChange: m, children: /* @__PURE__ */ g(
220
+ return ee(H, () => b, [b]), re(Re, b, y), /* @__PURE__ */ n(f.Root, { open: p, onOpenChange: m, children: /* @__PURE__ */ g(
220
221
  "div",
221
222
  {
222
- className: L,
223
+ className: A,
223
224
  "data-component": "date-range-picker",
224
225
  "data-component-id": y,
225
226
  children: [
226
227
  /* @__PURE__ */ n(f.Trigger, { asChild: !0, disabled: P, children: /* @__PURE__ */ g(
227
228
  "button",
228
229
  {
229
- ref: J,
230
+ ref: Y,
230
231
  id: y,
231
232
  type: "button",
232
233
  disabled: P,
@@ -234,7 +235,7 @@ const ve = {
234
235
  "aria-invalid": c.invalid || void 0,
235
236
  "aria-haspopup": "dialog",
236
237
  "aria-expanded": p,
237
- className: me({ size: D, tone: H }),
238
+ className: ue({ size: D, tone: _, chrome: j }),
238
239
  children: [
239
240
  /* @__PURE__ */ n(
240
241
  "span",
@@ -248,15 +249,15 @@ const ve = {
248
249
  "ds:min-w-0 ds:flex-1 ds:truncate ds:text-start",
249
250
  N ? "ds:text-foreground" : "ds:text-muted-foreground"
250
251
  ].join(" "),
251
- children: N || _
252
+ children: N || $
252
253
  }
253
254
  ),
254
255
  /* @__PURE__ */ n(
255
256
  "span",
256
257
  {
257
258
  "aria-hidden": "true",
258
- className: pe({ size: D }),
259
- children: /* @__PURE__ */ n(ke, {})
259
+ className: me({ size: D }),
260
+ children: /* @__PURE__ */ n(be, {})
260
261
  }
261
262
  )
262
263
  ]
@@ -267,35 +268,35 @@ const ve = {
267
268
  {
268
269
  sideOffset: 4,
269
270
  align: "start",
270
- className: ye(),
271
+ className: ke(),
271
272
  children: /* @__PURE__ */ g("div", { className: "ds:flex ds:gap-[var(--spacing-md)]", children: [
272
273
  x.length > 0 ? /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:min-w-[8rem] ds:border-e ds:border-border ds:pe-[var(--spacing-md)]", children: x.map((e) => /* @__PURE__ */ n(
273
274
  "button",
274
275
  {
275
276
  type: "button",
276
- onClick: () => G(e),
277
- className: ue(),
277
+ onClick: () => Q(e),
278
+ className: ge(),
278
279
  children: e.label
279
280
  },
280
281
  e.label
281
282
  )) }) : null,
282
283
  /* @__PURE__ */ g("div", { children: [
283
284
  /* @__PURE__ */ n(
284
- ge,
285
+ fe,
285
286
  {
286
287
  mode: "range",
287
288
  selected: t.from ? { from: t.from, to: t.to } : void 0,
288
- onSelect: E,
289
- month: q,
289
+ onSelect: G,
290
+ month: J,
290
291
  onMonthChange: O,
291
292
  numberOfMonths: 2,
292
- disabled: Y,
293
+ disabled: E,
293
294
  locale: o,
294
295
  showOutsideDays: !0,
295
296
  fixedWeeks: !0,
296
297
  pagedNavigation: !0,
297
- classNames: he,
298
- components: { Chevron: fe }
298
+ classNames: ye,
299
+ components: { Chevron: he }
299
300
  }
300
301
  ),
301
302
  I ? /* @__PURE__ */ n(
@@ -316,9 +317,9 @@ const ve = {
316
317
  ) });
317
318
  }
318
319
  );
319
- Re.displayName = "DateRangePicker";
320
+ De.displayName = "DateRangePicker";
320
321
  export {
321
- Re as D,
322
- ve as d
322
+ De as D,
323
+ Re as d
323
324
  };
324
- //# sourceMappingURL=date-range-picker-Cbz1SKhm.js.map
325
+ //# sourceMappingURL=date-range-picker-DSOH50-f.js.map
@@ -7,7 +7,7 @@ import { u as me } from "./use-controllable-state-BiY4xTzM.js";
7
7
  import { u as pe } from "./form-field-context-B3APVHKx.js";
8
8
  import { T as fe } from "./time-picker-BPlJWm8w.js";
9
9
  import { u as ge } from "./registry-DvAUVLHh.js";
10
- import { u as he, c as ve, n as be, i as ye, h as Te, k as ke, t as we, D as Ce, C as De, l as Pe, m as xe } from "./date-picker-variants-CYQAm1Gk.js";
10
+ import { u as he, c as ve, n as be, i as ye, h as Te, k as ke, t as we, D as Ce, C as De, l as Pe, m as xe } from "./date-picker-variants-D9B6hg15.js";
11
11
  import { C as Oe } from "./calendar-days-BGWklvE-.js";
12
12
  import { t as A } from "./isSameDay-DUEiAT0G.js";
13
13
  function K(e, t, r) {
@@ -333,4 +333,4 @@ export {
333
333
  Ie as D,
334
334
  Ne as d
335
335
  };
336
- //# sourceMappingURL=date-time-picker-B5IpU-nd.js.map
336
+ //# sourceMappingURL=date-time-picker-BU-j0qj4.js.map
@@ -1,4 +1,4 @@
1
- import { o as s, q as n, r as o, v as u } from "./date-picker-variants-CYQAm1Gk.js";
1
+ import { o as s, q as n, r as o, v as u } from "./date-picker-variants-D9B6hg15.js";
2
2
  const d = {
3
3
  lessThanXSeconds: {
4
4
  standalone: {
@@ -474,4 +474,4 @@ const d = {
474
474
  export {
475
475
  O as de
476
476
  };
477
- //# sourceMappingURL=de-DETDHQ0o.js.map
477
+ //# sourceMappingURL=de-C3_KZ6mR.js.map
@@ -5,12 +5,12 @@ import { useTranslation as W } from "react-i18next";
5
5
  import { R as m } from "./radio-TWf9Q-mp.js";
6
6
  import { R as T } from "./radio-group-CI-6SmSw.js";
7
7
  import { F as g } from "./form-field-M5UpX65Z.js";
8
- import { D as b } from "./date-picker-DzQS8mvt.js";
8
+ import { D as b } from "./date-picker-ffmyjvlI.js";
9
9
  import { N as S } from "./number-input-DjWzmlEY.js";
10
10
  import { C as k } from "./card-DPmk26CL.js";
11
11
  import { B } from "./badge-DCOqV9mI.js";
12
12
  import { I as X } from "./insert-result-D074GtHX.js";
13
- import { D as y, r as Z, c as ee, e as ae, f as te, A as le, h as re, i as se } from "./antenatal-schedule-timeline-BzJZqS-8.js";
13
+ import { D as y, r as Z, c as ee, e as ae, f as te, A as le, h as re, i as se } from "./antenatal-schedule-timeline-UiZQze4P.js";
14
14
  const de = Q("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
15
15
  variants: {
16
16
  width: { full: "ds:w-full", auto: "ds:inline-flex" }
@@ -253,4 +253,4 @@ ce.displayName = "DueDateCalculator";
253
253
  export {
254
254
  ce as D
255
255
  };
256
- //# sourceMappingURL=due-date-calculator-DASNRgnH.js.map
256
+ //# sourceMappingURL=due-date-calculator-BR_GuqHH.js.map
@@ -1,4 +1,4 @@
1
- import { o as s, q as i, r as o, v as d } from "./date-picker-variants-CYQAm1Gk.js";
1
+ import { o as s, q as i, r as o, v as d } from "./date-picker-variants-D9B6hg15.js";
2
2
  const u = {
3
3
  lessThanXSeconds: {
4
4
  one: "λιγότερο από ένα δευτερόλεπτο",
@@ -370,4 +370,4 @@ const u = {
370
370
  export {
371
371
  O as el
372
372
  };
373
- //# sourceMappingURL=el-HV3jOI0z.js.map
373
+ //# sourceMappingURL=el-v9xDKHgu.js.map
@@ -1,4 +1,4 @@
1
- import { o as d, q as o, r, v as s } from "./date-picker-variants-CYQAm1Gk.js";
1
+ import { o as d, q as o, r, v as s } from "./date-picker-variants-D9B6hg15.js";
2
2
  const m = {
3
3
  lessThanXSeconds: {
4
4
  one: "menos de un segundo",
@@ -370,4 +370,4 @@ const m = {
370
370
  export {
371
371
  q as es
372
372
  };
373
- //# sourceMappingURL=es-Dpo7Olwo.js.map
373
+ //# sourceMappingURL=es-Lgmjq9Rp.js.map
@@ -1,4 +1,4 @@
1
- import { o as m, q as r, r as o, v as d } from "./date-picker-variants-CYQAm1Gk.js";
1
+ import { o as m, q as r, r as o, v as d } from "./date-picker-variants-D9B6hg15.js";
2
2
  const u = {
3
3
  lessThanXSeconds: {
4
4
  one: "moins d’une seconde",
@@ -335,4 +335,4 @@ const u = {
335
335
  export {
336
336
  q as fr
337
337
  };
338
- //# sourceMappingURL=fr-CgD4Jvtq.js.map
338
+ //# sourceMappingURL=fr-INS1OD7m.js.map
@@ -5,15 +5,15 @@ import { useTranslation as te } from "react-i18next";
5
5
  import { R as i } from "./radio-TWf9Q-mp.js";
6
6
  import { R as y } from "./radio-group-CI-6SmSw.js";
7
7
  import { F as x } from "./form-field-M5UpX65Z.js";
8
- import { D as w } from "./date-picker-DzQS8mvt.js";
8
+ import { D as w } from "./date-picker-ffmyjvlI.js";
9
9
  import { S as le } from "./select-BW5ecXlX.js";
10
10
  import { S as se } from "./switch-OILsBLWo.js";
11
11
  import { C as R } from "./card-DPmk26CL.js";
12
12
  import { B as T } from "./badge-DCOqV9mI.js";
13
13
  import { I as ie } from "./insert-result-D074GtHX.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-BzJZqS-8.js";
15
- import { s as he } from "./subDays-DIKRViZm.js";
16
- import { i as pe } from "./date-picker-variants-CYQAm1Gk.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-UiZQze4P.js";
15
+ import { s as he } from "./subDays-fEHRx4hg.js";
16
+ import { i as pe } from "./date-picker-variants-D9B6hg15.js";
17
17
  const fe = ae("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
18
18
  variants: {
19
19
  width: { full: "ds:w-full", auto: "ds:inline-flex" }
@@ -308,4 +308,4 @@ ve.displayName = "GestationalAgeCalculator";
308
308
  export {
309
309
  ve as G
310
310
  };
311
- //# sourceMappingURL=gestational-age-calculator-BpYw-WF-.js.map
311
+ //# sourceMappingURL=gestational-age-calculator-DBIcxfjP.js.map
@@ -4,7 +4,7 @@ import { c as V } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as j } from "react-i18next";
5
5
  import { F as f } from "./form-field-M5UpX65Z.js";
6
6
  import { N as L } from "./number-input-DjWzmlEY.js";
7
- import { D as M } from "./date-time-picker-B5IpU-nd.js";
7
+ import { D as M } from "./date-time-picker-BU-j0qj4.js";
8
8
  import { C as _ } from "./card-DPmk26CL.js";
9
9
  import { B as A } from "./badge-DCOqV9mI.js";
10
10
  import { I as C } from "./insert-result-D074GtHX.js";
@@ -167,4 +167,4 @@ export {
167
167
  z as M,
168
168
  G as a
169
169
  };
170
- //# sourceMappingURL=hcg-doubling-Dqj-EqMT.js.map
170
+ //# sourceMappingURL=hcg-doubling-BgCkds8R.js.map
@@ -1,4 +1,4 @@
1
- import { q as o, o as s, r, v as u } from "./date-picker-variants-CYQAm1Gk.js";
1
+ import { q as o, o as s, r, v as u } from "./date-picker-variants-D9B6hg15.js";
2
2
  const d = {
3
3
  locale: {
4
4
  1: "१",
@@ -430,4 +430,4 @@ const y = {
430
430
  export {
431
431
  H as hi
432
432
  };
433
- //# sourceMappingURL=hi-Bf8CAP6b.js.map
433
+ //# sourceMappingURL=hi-BUYtlosF.js.map
@@ -1,5 +1,5 @@
1
1
  import { n as l } from "./isSameDay-DUEiAT0G.js";
2
- import { s as r } from "./date-picker-variants-CYQAm1Gk.js";
2
+ import { s as r } from "./date-picker-variants-D9B6hg15.js";
3
3
  function i(a, m, e) {
4
4
  const [t, f] = l(
5
5
  e == null ? void 0 : e.in,
@@ -11,4 +11,4 @@ function i(a, m, e) {
11
11
  export {
12
12
  i
13
13
  };
14
- //# sourceMappingURL=isSameWeek-BYl5poz_.js.map
14
+ //# sourceMappingURL=isSameWeek-BUNsv4OO.js.map
@@ -1,5 +1,5 @@
1
- import { o as s, q as i, r, v as l } from "./date-picker-variants-CYQAm1Gk.js";
2
- import { i as d } from "./isSameWeek-BYl5poz_.js";
1
+ import { o as s, q as i, r, v as l } from "./date-picker-variants-D9B6hg15.js";
2
+ import { i as d } from "./isSameWeek-BUNsv4OO.js";
3
3
  const c = {
4
4
  lessThanXSeconds: {
5
5
  one: "meno di un secondo",
@@ -398,4 +398,4 @@ const P = {
398
398
  export {
399
399
  I as it
400
400
  };
401
- //# sourceMappingURL=it-mt1V2DFS.js.map
401
+ //# sourceMappingURL=it-VfsdUqeV.js.map
@@ -1,4 +1,4 @@
1
- import { o as s, q as o, r as i, v as d } from "./date-picker-variants-CYQAm1Gk.js";
1
+ import { o as s, q as o, r as i, v as d } from "./date-picker-variants-D9B6hg15.js";
2
2
  const u = {
3
3
  lessThanXSeconds: {
4
4
  one: "1秒未満",
@@ -363,4 +363,4 @@ const u = {
363
363
  export {
364
364
  L as ja
365
365
  };
366
- //# sourceMappingURL=ja-CbOHn2TO.js.map
366
+ //# sourceMappingURL=ja-Dfk9qwzE.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsx as u, jsxs as k } from "react/jsx-runtime";
2
2
  import { useState as w, useEffect as R, useMemo as z } from "react";
3
3
  import { useGridFilter as A } from "ag-grid-react";
4
- import { D as H } from "./date-range-picker-Cbz1SKhm.js";
4
+ import { D as H } from "./date-range-picker-DSOH50-f.js";
5
5
  import { useTranslation as O } from "react-i18next";
6
6
  import { C as Z } from "./checkbox-BuZ1u__2.js";
7
7
  import { B as E } from "./button-CPGiR_bH.js";
@@ -708,4 +708,4 @@ export {
708
708
  Oe as f,
709
709
  Pe as g
710
710
  };
711
- //# sourceMappingURL=link-cell-renderer-BQGUs45d.js.map
711
+ //# sourceMappingURL=link-cell-renderer-BzITwSXq.js.map