@alfadocs/ui-kit 0.50.0 → 0.51.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 (159) hide show
  1. package/dist/_chunks/{agenda-card-BaSfVfrL.js → agenda-card-Bl-SBiCh.js} +55 -45
  2. package/dist/_chunks/agenda-tray-DA6qj8BL.js +203 -0
  3. package/dist/_chunks/{ai-consent-banner-F2md5JD3.js → ai-consent-banner-DBKV27je.js} +2 -2
  4. package/dist/_chunks/ai-tools-rail-7tC3GT4h.js +340 -0
  5. package/dist/_chunks/{alert-CUTxnym2.js → alert-_mUKLmwA.js} +54 -44
  6. package/dist/_chunks/{audio-recorder-DVJXV7_k.js → audio-recorder-D6OVfNiZ.js} +2 -2
  7. package/dist/_chunks/{bishop-score-2MzAz8NE.js → bishop-score-CMQxsdy4.js} +2 -2
  8. package/dist/_chunks/{bmi-calculator-DdylQzT6.js → bmi-calculator-DuUneHuZ.js} +2 -2
  9. package/dist/_chunks/{booking-DljH0JkS.js → booking-BUV9fspj.js} +2 -2
  10. package/dist/_chunks/{cycle-calculator-oOkj5wlB.js → cycle-calculator-vTtZZAmn.js} +2 -2
  11. package/dist/_chunks/{document-scanner-Cxqvq7GR.js → document-scanner-biBS_f6c.js} +2 -2
  12. package/dist/_chunks/dropdown-menu-DwwPovMZ.js +354 -0
  13. package/dist/_chunks/{due-date-calculator-DykajWzh.js → due-date-calculator-CUm5KJbf.js} +2 -2
  14. package/dist/_chunks/{editable-currency-cell-renderer-Bh48OHRv.js → editable-currency-cell-renderer-D5C5tCfu.js} +3 -3
  15. package/dist/_chunks/{fetal-weight-Da-B4P4k.js → fetal-weight-Xf8-ZoDy.js} +2 -2
  16. package/dist/_chunks/{freemium-paywall-BWaLWje-.js → freemium-paywall-gHGA44dW.js} +2 -2
  17. package/dist/_chunks/{gestational-age-calculator-Bc55hq6t.js → gestational-age-calculator-830KJql3.js} +2 -2
  18. package/dist/_chunks/{hcg-doubling-DAnpbale.js → hcg-doubling-kVOpDfny.js} +2 -2
  19. package/dist/_chunks/{header-settings-Bx0Biimh.js → header-settings-D5Z2B_Yz.js} +3 -3
  20. package/dist/_chunks/insert-result-njqBthzT.js +742 -0
  21. package/dist/_chunks/{marketplace-app-shell-UKSLx9K_.js → marketplace-app-shell-Dmo1S9av.js} +6 -6
  22. package/dist/_chunks/{patient-search-BJOmTmDA.js → patient-search-CArmRKeg.js} +3 -3
  23. package/dist/_chunks/{patient-shell-DUmhXnFq.js → patient-shell-c2YixkQw.js} +4 -4
  24. package/dist/_chunks/{payment-form-xmeCkxas.js → payment-form-DJ9vnzrT.js} +2 -2
  25. package/dist/_chunks/{pdf-viewer-q1D3Uion.js → pdf-viewer-4odMFuFW.js} +2 -2
  26. package/dist/_chunks/{practice-results-Cq1y8JFD.js → practice-results-CtfciF2v.js} +3 -3
  27. package/dist/_chunks/{pregnancy-dating-48Gfvod1.js → pregnancy-dating-BA37LSkF.js} +16 -16
  28. package/dist/_chunks/{pregnancy-weight-gain-CCGrvarh.js → pregnancy-weight-gain-BMRBeA8V.js} +2 -2
  29. package/dist/_chunks/{recaptcha-widget-CFYyLSEX.js → recaptcha-widget-BCNHsgqt.js} +2 -2
  30. package/dist/_chunks/{sidebar-h78cTNLh.js → sidebar-DPEHzxLZ.js} +397 -346
  31. package/dist/_chunks/{sign-document-CZkAf28g.js → sign-document-Bzld9jVM.js} +2 -2
  32. package/dist/_chunks/{task-card-CPyQ5AXC.js → task-card-BwY9jaV1.js} +48 -42
  33. package/dist/_chunks/task-tray-Cb_hK4yb.js +234 -0
  34. package/dist/_chunks/{theme-toggle-ClATnY4Q.js → theme-toggle-DAW7uC0B.js} +3 -3
  35. package/dist/_chunks/{unit-converter-jWp3Z85y.js → unit-converter-BQ6lEYvd.js} +2 -2
  36. package/dist/_chunks/use-edge-resize-ZnGG7gyO.js +139 -0
  37. package/dist/_chunks/use-theme-CAuo6EYT.js +159 -0
  38. package/dist/_chunks/{warning-stack-CXfoAT-_.js → warning-stack-Cv4fr5zo.js} +2 -2
  39. package/dist/_chunks/{workflow-map-DzX_LI4y.js → workflow-map-BJDUNYlX.js} +3 -3
  40. package/dist/agent-catalog.json +1 -1
  41. package/dist/components/agenda-card/agenda-card.d.ts +19 -2
  42. package/dist/components/agenda-card/index.js +1 -1
  43. package/dist/components/agenda-tray/agenda-tray.d.ts +24 -1
  44. package/dist/components/agenda-tray/index.js +1 -1
  45. package/dist/components/ai-consent-banner/index.js +1 -1
  46. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +8 -0
  47. package/dist/components/ai-tools-rail/index.js +1 -1
  48. package/dist/components/alert/index.js +1 -1
  49. package/dist/components/audio-recorder/index.js +1 -1
  50. package/dist/components/bishop-score/index.js +1 -1
  51. package/dist/components/bmi-calculator/index.js +1 -1
  52. package/dist/components/booking/index.js +1 -1
  53. package/dist/components/button-group/button-group.d.ts +1 -1
  54. package/dist/components/checkbox-group/checkbox-group.d.ts +1 -1
  55. package/dist/components/cycle-calculator/index.js +1 -1
  56. package/dist/components/data-table/index.js +1 -1
  57. package/dist/components/document-scanner/index.js +1 -1
  58. package/dist/components/dropdown-menu/dropdown-menu.d.ts +2 -0
  59. package/dist/components/dropdown-menu/index.js +1 -1
  60. package/dist/components/due-date-calculator/index.js +1 -1
  61. package/dist/components/fetal-weight/index.js +1 -1
  62. package/dist/components/form-field/form-field.d.ts +1 -1
  63. package/dist/components/freemium-paywall/index.js +1 -1
  64. package/dist/components/gestational-age-calculator/index.js +1 -1
  65. package/dist/components/hcg-doubling/index.js +1 -1
  66. package/dist/components/header-settings/index.js +1 -1
  67. package/dist/components/icon-button-group/icon-button-group.d.ts +15 -15
  68. package/dist/components/key-value-pair/key-value-pair.d.ts +1 -1
  69. package/dist/components/patient-search/index.js +1 -1
  70. package/dist/components/payment-form/index.js +1 -1
  71. package/dist/components/pdf-viewer/index.js +1 -1
  72. package/dist/components/practice-results/index.js +1 -1
  73. package/dist/components/pregnancy-dating/index.js +1 -1
  74. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  75. package/dist/components/radio-group/radio-group.d.ts +1 -1
  76. package/dist/components/recaptcha-widget/index.js +1 -1
  77. package/dist/components/separator/separator.d.ts +1 -1
  78. package/dist/components/sidebar/index.js +1 -1
  79. package/dist/components/sidebar/sidebar.d.ts +8 -0
  80. package/dist/components/sign-document/index.js +1 -1
  81. package/dist/components/tabs/tabs.d.ts +2 -2
  82. package/dist/components/task-card/index.js +1 -1
  83. package/dist/components/task-card/task-card.d.ts +15 -1
  84. package/dist/components/task-tray/index.js +1 -1
  85. package/dist/components/task-tray/task-tray.d.ts +24 -1
  86. package/dist/components/theme-toggle/index.js +1 -1
  87. package/dist/components/unit-converter/index.js +1 -1
  88. package/dist/components/warning-stack/index.js +1 -1
  89. package/dist/components/workflow/index.js +1 -1
  90. package/dist/components/workflow/workflow-map.d.ts +1 -1
  91. package/dist/hooks/index.d.ts +1 -0
  92. package/dist/hooks/index.js +12 -10
  93. package/dist/hooks/use-edge-resize.d.ts +78 -0
  94. package/dist/i18n/locales/ar.d.ts +4 -0
  95. package/dist/i18n/locales/ar.js +7 -3
  96. package/dist/i18n/locales/de.d.ts +4 -0
  97. package/dist/i18n/locales/de.js +7 -3
  98. package/dist/i18n/locales/el.d.ts +4 -0
  99. package/dist/i18n/locales/el.js +7 -3
  100. package/dist/i18n/locales/en.d.ts +4 -0
  101. package/dist/i18n/locales/en.js +7 -3
  102. package/dist/i18n/locales/es.d.ts +4 -0
  103. package/dist/i18n/locales/es.js +7 -3
  104. package/dist/i18n/locales/fr.d.ts +4 -0
  105. package/dist/i18n/locales/fr.js +7 -3
  106. package/dist/i18n/locales/hi.d.ts +4 -0
  107. package/dist/i18n/locales/hi.js +7 -3
  108. package/dist/i18n/locales/it.d.ts +4 -0
  109. package/dist/i18n/locales/it.js +7 -3
  110. package/dist/i18n/locales/ja.d.ts +4 -0
  111. package/dist/i18n/locales/ja.js +7 -3
  112. package/dist/i18n/locales/nl.d.ts +4 -0
  113. package/dist/i18n/locales/nl.js +7 -3
  114. package/dist/i18n/locales/pl.d.ts +4 -0
  115. package/dist/i18n/locales/pl.js +7 -3
  116. package/dist/i18n/locales/pt.d.ts +4 -0
  117. package/dist/i18n/locales/pt.js +7 -3
  118. package/dist/i18n/locales/ro.d.ts +4 -0
  119. package/dist/i18n/locales/ro.js +7 -3
  120. package/dist/i18n/locales/ru.d.ts +4 -0
  121. package/dist/i18n/locales/ru.js +7 -3
  122. package/dist/i18n/locales/sq.d.ts +4 -0
  123. package/dist/i18n/locales/sq.js +7 -3
  124. package/dist/i18n/locales/sv.d.ts +4 -0
  125. package/dist/i18n/locales/sv.js +7 -3
  126. package/dist/i18n/locales/tr.d.ts +4 -0
  127. package/dist/i18n/locales/tr.js +7 -3
  128. package/dist/i18n/locales/zh.d.ts +4 -0
  129. package/dist/i18n/locales/zh.js +7 -3
  130. package/dist/index.js +37 -37
  131. package/dist/locales/ar.json +7 -3
  132. package/dist/locales/de.json +7 -3
  133. package/dist/locales/el.json +7 -3
  134. package/dist/locales/en.json +7 -3
  135. package/dist/locales/es.json +7 -3
  136. package/dist/locales/fr.json +7 -3
  137. package/dist/locales/hi.json +7 -3
  138. package/dist/locales/it.json +7 -3
  139. package/dist/locales/ja.json +7 -3
  140. package/dist/locales/nl.json +7 -3
  141. package/dist/locales/pl.json +7 -3
  142. package/dist/locales/pt.json +7 -3
  143. package/dist/locales/ro.json +7 -3
  144. package/dist/locales/ru.json +7 -3
  145. package/dist/locales/sq.json +7 -3
  146. package/dist/locales/sv.json +7 -3
  147. package/dist/locales/tr.json +7 -3
  148. package/dist/locales/zh.json +7 -3
  149. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  150. package/dist/patterns/patient-shell/index.js +1 -1
  151. package/dist/tokens.css +1 -1
  152. package/package.json +1 -1
  153. package/dist/_chunks/agenda-tray-DQayYmQ0.js +0 -165
  154. package/dist/_chunks/ai-tools-rail-CYLWrRmm.js +0 -280
  155. package/dist/_chunks/circle-arrow-up-CC_85SuH.js +0 -16
  156. package/dist/_chunks/dropdown-menu-CUEXqKis.js +0 -299
  157. package/dist/_chunks/insert-result-DNdi_JYW.js +0 -683
  158. package/dist/_chunks/task-tray-B8jFv5FV.js +0 -196
  159. package/dist/_chunks/use-theme-C2dHKUAN.js +0 -145
@@ -4,17 +4,17 @@ import { useTranslation as M } from "react-i18next";
4
4
  import { c as p } from "./index-D2ZczOXr.js";
5
5
  import { A as E } from "./app-frame-BYx1gcV7.js";
6
6
  import { A as $ } from "./avatar-BNQNhoyL.js";
7
- import { A as D } from "./alert-CUTxnym2.js";
7
+ import { A as D } from "./alert-_mUKLmwA.js";
8
8
  import { C } from "./card-DPmk26CL.js";
9
- import { D as i } from "./dropdown-menu-CUEXqKis.js";
9
+ import { D as i } from "./dropdown-menu-DwwPovMZ.js";
10
10
  import { T as F } from "./tab-bar-Xetknddo.js";
11
11
  import { a as S, H as q, g as G, f as w, e as J, c as K, d as Q } from "./header-Ce1Br27u.js";
12
- import { H as U } from "./header-settings-Bx0Biimh.js";
12
+ import { H as U } from "./header-settings-D5Z2B_Yz.js";
13
13
  import { S as X } from "./sign-in-with-alfadocs-button-CuYn_kKP.js";
14
- import { S as Y, a as Z, j as _, k as ee, i as ae, h as A } from "./sidebar-h78cTNLh.js";
14
+ import { S as Y, a as Z, j as _, k as ee, i as ae, h as A } from "./sidebar-DPEHzxLZ.js";
15
15
  import { T as se } from "./theme-root-BOO73p5t.js";
16
16
  import { a as te } from "./tooltip-DvmfrNvB.js";
17
- import { u as re } from "./use-theme-C2dHKUAN.js";
17
+ import { u as re } from "./use-theme-CAuo6EYT.js";
18
18
  import { L as ne } from "./logo-yituK7sE.js";
19
19
  const de = p("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), le = p(
20
20
  [
@@ -425,4 +425,4 @@ export {
425
425
  pe as M,
426
426
  h as P
427
427
  };
428
- //# sourceMappingURL=marketplace-app-shell-UKSLx9K_.js.map
428
+ //# sourceMappingURL=marketplace-app-shell-Dmo1S9av.js.map
@@ -6,8 +6,8 @@ import { A as se } from "./autocomplete-CDqxB68B.js";
6
6
  import { B as ue } from "./button-DD_0Xdmr.js";
7
7
  import { C as M } from "./card-DPmk26CL.js";
8
8
  import { S as fe } from "./slider-BHWzXdjt.js";
9
- import { A as Z } from "./alert-CUTxnym2.js";
10
- import { D as F } from "./dropdown-menu-CUEXqKis.js";
9
+ import { A as Z } from "./alert-_mUKLmwA.js";
10
+ import { D as F } from "./dropdown-menu-DwwPovMZ.js";
11
11
  import { u as pe } from "./registry-nPAVE19X.js";
12
12
  import { S as re } from "./search-BonnQsHv.js";
13
13
  import { X as ne } from "./x-CCcI3eJp.js";
@@ -1155,4 +1155,4 @@ export {
1155
1155
  Oe as P,
1156
1156
  ye as p
1157
1157
  };
1158
- //# sourceMappingURL=patient-search-BJOmTmDA.js.map
1158
+ //# sourceMappingURL=patient-search-CArmRKeg.js.map
@@ -3,13 +3,13 @@ import { forwardRef as k, useState as w } from "react";
3
3
  import { useTranslation as m } from "react-i18next";
4
4
  import { A } from "./app-frame-BYx1gcV7.js";
5
5
  import { I as C } from "./icon-button-CKEOrN37.js";
6
- import { D as i } from "./dropdown-menu-CUEXqKis.js";
6
+ import { D as i } from "./dropdown-menu-DwwPovMZ.js";
7
7
  import { H, g as x, f as N, e as B, a as M, c as T, d as O } from "./header-Ce1Br27u.js";
8
8
  import { L as P } from "./logo-yituK7sE.js";
9
- import { S as W, a as j, h as R, j as _, k as z, i as D } from "./sidebar-h78cTNLh.js";
9
+ import { S as W, a as j, h as R, j as _, k as z, i as D } from "./sidebar-DPEHzxLZ.js";
10
10
  import { T as E } from "./theme-root-BOO73p5t.js";
11
11
  import { a as q } from "./tooltip-DvmfrNvB.js";
12
- import { u as F } from "./use-theme-C2dHKUAN.js";
12
+ import { u as F } from "./use-theme-CAuo6EYT.js";
13
13
  import { S as U } from "./settings-ca2Yi9R8.js";
14
14
  import { c as G } from "./createLucideIcon-CrFbzy84.js";
15
15
  import { L as J } from "./log-out-616hnn2-.js";
@@ -171,4 +171,4 @@ $.displayName = "PatientShell";
171
171
  export {
172
172
  $ as P
173
173
  };
174
- //# sourceMappingURL=patient-shell-DUmhXnFq.js.map
174
+ //# sourceMappingURL=patient-shell-c2YixkQw.js.map
@@ -3,7 +3,7 @@ import { forwardRef as de, useState as _, useEffect as D, useRef as G, useMemo a
3
3
  import { c as A } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as W } from "react-i18next";
5
5
  import { S as te } from "./spinner-OjQNn8oN.js";
6
- import { A as ee } from "./alert-CUTxnym2.js";
6
+ import { A as ee } from "./alert-_mUKLmwA.js";
7
7
  import { loadStripe as ue } from "@stripe/stripe-js";
8
8
  import { Elements as pe, useStripe as fe, useElements as be, PaymentElement as ye, AddressElement as ge } from "@stripe/react-stripe-js";
9
9
  import { u as ve } from "./registry-nPAVE19X.js";
@@ -668,4 +668,4 @@ export {
668
668
  we as p,
669
669
  se as s
670
670
  };
671
- //# sourceMappingURL=payment-form-xmeCkxas.js.map
671
+ //# sourceMappingURL=payment-form-DJ9vnzrT.js.map
@@ -6,7 +6,7 @@ import { useTranslation as pe } from "react-i18next";
6
6
  import * as ee from "@radix-ui/react-popover";
7
7
  import Ce from "pdfjs-dist/legacy/build/pdf.worker.min.mjs?url";
8
8
  import { S as Ze } from "./spinner-OjQNn8oN.js";
9
- import { A as we } from "./alert-CUTxnym2.js";
9
+ import { A as we } from "./alert-_mUKLmwA.js";
10
10
  import { u as Ke } from "./registry-nPAVE19X.js";
11
11
  import { X as Be } from "./x-CCcI3eJp.js";
12
12
  import { C as He } from "./chevron-left-CX1jqD2M.js";
@@ -957,4 +957,4 @@ export {
957
957
  at as P,
958
958
  Ge as p
959
959
  };
960
- //# sourceMappingURL=pdf-viewer-q1D3Uion.js.map
960
+ //# sourceMappingURL=pdf-viewer-4odMFuFW.js.map
@@ -2,10 +2,10 @@ import { jsx as t, jsxs as p, Fragment as Ge } from "react/jsx-runtime";
2
2
  import { forwardRef as Ze, useState as me, useRef as I, useMemo as D, useImperativeHandle as Qe, useCallback as B, useEffect as J } from "react";
3
3
  import { c as Z } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as C } from "react-i18next";
5
- import { A as Y } from "./alert-CUTxnym2.js";
5
+ import { A as Y } from "./alert-_mUKLmwA.js";
6
6
  import { A as ke } from "./avatar-BNQNhoyL.js";
7
7
  import { B as G } from "./button-DD_0Xdmr.js";
8
- import { D as H } from "./dropdown-menu-CUEXqKis.js";
8
+ import { D as H } from "./dropdown-menu-DwwPovMZ.js";
9
9
  import { E as Je } from "./empty-state-BLy7tigq.js";
10
10
  import { M as We } from "./map-view-Tb5VfK9Y.js";
11
11
  import { R as Ce } from "./rating-BRD7O74e.js";
@@ -1570,4 +1570,4 @@ export {
1570
1570
  Ct as P,
1571
1571
  rt as p
1572
1572
  };
1573
- //# sourceMappingURL=practice-results-Cq1y8JFD.js.map
1573
+ //# sourceMappingURL=practice-results-CtfciF2v.js.map
@@ -11,8 +11,8 @@ import { S as xe } from "./select-hsCaJSX3.js";
11
11
  import { S as Ne } from "./switch-BJ6HD3Mn.js";
12
12
  import { C as M } from "./card-DPmk26CL.js";
13
13
  import { B as j } from "./badge-zsf5i5bH.js";
14
- import { I as Se } from "./insert-result-DNdi_JYW.js";
15
- import { D as k, r as Ae, c as Le, g as ke, e as Ce, f as Te, A as we, h as Ee, i as Re, j as P, G as Fe } from "./antenatal-schedule-timeline-CdiqkF05.js";
14
+ import { I as Se } from "./insert-result-njqBthzT.js";
15
+ import { D as k, r as Ae, c as Le, g as ke, e as Ce, f as we, A as Te, h as Ee, i as Re, j as P, G as Fe } from "./antenatal-schedule-timeline-CdiqkF05.js";
16
16
  import { s as C } from "./subDays-Bs00akhK.js";
17
17
  import { i as Ie } from "./date-picker-variants-CXEAx3O_.js";
18
18
  const Oe = ve("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
@@ -35,7 +35,7 @@ const Oe = ve("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
35
35
  onCopy: K,
36
36
  onError: U,
37
37
  insertBrand: q,
38
- showSchedule: T = !1,
38
+ showSchedule: w = !1,
39
39
  defaultPlurality: J = "singleton",
40
40
  defaultChorionicity: Q = "unknown",
41
41
  defaultRhNegative: W = !1,
@@ -47,7 +47,7 @@ const Oe = ve("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
47
47
  }, te) => {
48
48
  const { t: e, i18n: f } = be(), [s, ne] = i(z), [d, le] = i(
49
49
  Y
50
- ), [w, se] = i(
50
+ ), [T, se] = i(
51
51
  k
52
52
  ), [E, ie] = i(5), [D, re] = i(null), [v, de] = i(void 0), [b, ce] = i(
53
53
  null
@@ -56,7 +56,7 @@ const Oe = ve("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
56
56
  ), G = o(() => /* @__PURE__ */ new Date(), []), c = o(() => s !== "lmp" || !d || D === null || !v ? null : Ae({ lmp: d, scanDate: v, crlMm: D }), [s, d, D, v]), p = o(() => {
57
57
  if (!d) return null;
58
58
  let t, u = k;
59
- s === "lmp" ? (t = d, u = w ?? k) : s === "conception" ? t = C(d, P) : s === "ivf" ? t = C(d, E + P) : t = C(d, Fe), s === "lmp" && (c != null && c.redated) ? (t = c.gestationalStart, u = k) : b && (t = C(t, b));
59
+ s === "lmp" ? (t = d, u = T ?? k) : s === "conception" ? t = C(d, P) : s === "ivf" ? t = C(d, E + P) : t = C(d, Fe), s === "lmp" && (c != null && c.redated) ? (t = c.gestationalStart, u = k) : b && (t = C(t, b));
60
60
  const h = Le(
61
61
  { method: "lmp", date: t, cycleLength: u },
62
62
  m
@@ -73,12 +73,12 @@ const Oe = ve("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
73
73
  }, [
74
74
  s,
75
75
  d,
76
- w,
76
+ T,
77
77
  E,
78
78
  c,
79
79
  b,
80
80
  m
81
- ]), n = (p == null ? void 0 : p.result) ?? null, S = o(() => !T || !n ? null : Ce(n.gestationalStart, {
81
+ ]), n = (p == null ? void 0 : p.result) ?? null, S = o(() => !w || !n ? null : Ce(n.gestationalStart, {
82
82
  ...V,
83
83
  today: m,
84
84
  plurality: x,
@@ -86,7 +86,7 @@ const Oe = ve("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
86
86
  rhNegative: F,
87
87
  gdmRisk: N === "none" ? void 0 : N
88
88
  }), [
89
- T,
89
+ w,
90
90
  n,
91
91
  m,
92
92
  V,
@@ -168,7 +168,7 @@ const Oe = ve("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
168
168
  mode: "integer",
169
169
  min: 20,
170
170
  max: 45,
171
- value: w,
171
+ value: T,
172
172
  onChange: se
173
173
  }
174
174
  )
@@ -252,7 +252,7 @@ const Oe = ve("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
252
252
  c.crlInRange ? null : /* @__PURE__ */ a("span", { className: "type-meta ds:text-muted-foreground", children: e("pregnancyDating.crlOutOfRange") })
253
253
  ] }) : null
254
254
  ] }) : null,
255
- T ? /* @__PURE__ */ l(ye, { children: [
255
+ w ? /* @__PURE__ */ l(ye, { children: [
256
256
  /* @__PURE__ */ l(
257
257
  L,
258
258
  {
@@ -328,8 +328,8 @@ const Oe = ve("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
328
328
  n.gestationalAge
329
329
  )}.` : "" }),
330
330
  p && n ? /* @__PURE__ */ a(M, { variant: "elevated", children: /* @__PURE__ */ l(M.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
331
- /* @__PURE__ */ l("dl", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:sm:grid-cols-3", children: [
332
- /* @__PURE__ */ l("div", { className: "ds:flex ds:flex-col ds:items-start ds:gap-[var(--spacing-xs)]", children: [
331
+ /* @__PURE__ */ l("dl", { className: "ds:flex ds:flex-wrap ds:items-start ds:gap-x-[var(--spacing-xl)] ds:gap-y-[var(--spacing-md)]", children: [
332
+ /* @__PURE__ */ l("div", { className: "ds:basis-full ds:flex ds:flex-col ds:items-start ds:gap-[var(--spacing-xs)]", children: [
333
333
  /* @__PURE__ */ a("dt", { className: "type-label ds:text-muted-foreground", children: e("pregnancyDating.result.dueDateLabel") }),
334
334
  /* @__PURE__ */ a("dd", { className: "type-metric ds:text-foreground", children: A.format(n.dueDate) })
335
335
  ] }),
@@ -337,12 +337,12 @@ const Oe = ve("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
337
337
  /* @__PURE__ */ a("dt", { className: "type-label ds:text-muted-foreground", children: e("pregnancyDating.result.gestationLabel") }),
338
338
  /* @__PURE__ */ a("dd", { className: "type-body ds:text-foreground", children: I(n.gestationalAge) })
339
339
  ] }),
340
- /* @__PURE__ */ l("div", { className: "ds:flex ds:flex-col ds:items-end ds:gap-[var(--spacing-xs)] ds:text-end", children: [
340
+ /* @__PURE__ */ l("div", { className: "ds:flex ds:flex-col ds:items-start ds:gap-[var(--spacing-xs)]", children: [
341
341
  /* @__PURE__ */ a("dt", { className: "type-label ds:text-muted-foreground", children: e("pregnancyDating.result.trimesterLabel") }),
342
342
  /* @__PURE__ */ a("dd", { children: /* @__PURE__ */ a(
343
343
  j,
344
344
  {
345
- variant: Te[n.trimester],
345
+ variant: we[n.trimester],
346
346
  size: "lg",
347
347
  children: e(`pregnancyDating.trimester.${n.trimester}`)
348
348
  }
@@ -370,7 +370,7 @@ const Oe = ve("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
370
370
  }) })
371
371
  ] })
372
372
  ] }) }) : /* @__PURE__ */ a("p", { className: "type-body ds:text-muted-foreground", children: e("pregnancyDating.empty") }),
373
- S ? /* @__PURE__ */ a(we, { events: S }) : null,
373
+ S ? /* @__PURE__ */ a(Te, { events: S }) : null,
374
374
  n && (B === "copy" || $) ? /* @__PURE__ */ a(
375
375
  Se,
376
376
  {
@@ -418,4 +418,4 @@ je.displayName = "PregnancyDating";
418
418
  export {
419
419
  je as P
420
420
  };
421
- //# sourceMappingURL=pregnancy-dating-48Gfvod1.js.map
421
+ //# sourceMappingURL=pregnancy-dating-BA37LSkF.js.map
@@ -8,7 +8,7 @@ import { F as $ } from "./form-field-BOm9hK35.js";
8
8
  import { N as R } from "./number-input-Dj5L3pXK.js";
9
9
  import { C as P } from "./card-DPmk26CL.js";
10
10
  import { B as k } from "./badge-zsf5i5bH.js";
11
- import { I as X } from "./insert-result-DNdi_JYW.js";
11
+ import { I as X } from "./insert-result-njqBthzT.js";
12
12
  import { b as Y, e as Z } from "./bmi-BxD-tFzU.js";
13
13
  const ee = {
14
14
  underweight: { min: 12.5, max: 18 },
@@ -319,4 +319,4 @@ export {
319
319
  ie as a,
320
320
  te as r
321
321
  };
322
- //# sourceMappingURL=pregnancy-weight-gain-CCGrvarh.js.map
322
+ //# sourceMappingURL=pregnancy-weight-gain-BMRBeA8V.js.map
@@ -2,7 +2,7 @@ import { jsxs as G, jsx as F } from "react/jsx-runtime";
2
2
  import { forwardRef as U, useRef as m, useState as q, useEffect as C, useMemo as J, useImperativeHandle as K } from "react";
3
3
  import { useTranslation as Q } from "react-i18next";
4
4
  import { u as X } from "./form-field-context-B3APVHKx.js";
5
- import { u as Y } from "./use-theme-C2dHKUAN.js";
5
+ import { u as Y } from "./use-theme-CAuo6EYT.js";
6
6
  import { u as Z } from "./registry-nPAVE19X.js";
7
7
  const z = {
8
8
  id: "recaptcha-widget",
@@ -218,4 +218,4 @@ export {
218
218
  ae as R,
219
219
  z as r
220
220
  };
221
- //# sourceMappingURL=recaptcha-widget-CFYyLSEX.js.map
221
+ //# sourceMappingURL=recaptcha-widget-BCNHsgqt.js.map