@alfadocs/ui-kit 0.49.0 → 0.50.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.
Files changed (85) hide show
  1. package/dist/_chunks/{antenatal-schedule-timeline-Dg0m0yFl.js → antenatal-schedule-timeline-CdiqkF05.js} +9 -8
  2. package/dist/_chunks/{bishop-score-2MzAz8NE.js → bishop-score-CMQxsdy4.js} +2 -2
  3. package/dist/_chunks/{bmi-calculator-DdylQzT6.js → bmi-calculator-DuUneHuZ.js} +2 -2
  4. package/dist/_chunks/{cycle-calculator-oOkj5wlB.js → cycle-calculator-vTtZZAmn.js} +2 -2
  5. package/dist/_chunks/{due-date-calculator-tDqZXPWO.js → due-date-calculator-CUm5KJbf.js} +3 -3
  6. package/dist/_chunks/{fetal-weight-Da-B4P4k.js → fetal-weight-Xf8-ZoDy.js} +2 -2
  7. package/dist/_chunks/{gestational-age-calculator-DbDfTJU2.js → gestational-age-calculator-830KJql3.js} +3 -3
  8. package/dist/_chunks/{hcg-doubling-DAnpbale.js → hcg-doubling-kVOpDfny.js} +2 -2
  9. package/dist/_chunks/insert-result-njqBthzT.js +742 -0
  10. package/dist/_chunks/pregnancy-dating-DT_244bG.js +421 -0
  11. package/dist/_chunks/{pregnancy-weight-gain-CCGrvarh.js → pregnancy-weight-gain-BMRBeA8V.js} +2 -2
  12. package/dist/_chunks/{unit-converter-jWp3Z85y.js → unit-converter-BQ6lEYvd.js} +2 -2
  13. package/dist/agent-catalog.json +1 -1
  14. package/dist/components/bishop-score/index.js +1 -1
  15. package/dist/components/bmi-calculator/index.js +1 -1
  16. package/dist/components/cycle-calculator/index.js +1 -1
  17. package/dist/components/due-date-calculator/due-date-calculator.d.ts +6 -0
  18. package/dist/components/due-date-calculator/index.js +2 -2
  19. package/dist/components/fetal-weight/index.js +1 -1
  20. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +7 -0
  21. package/dist/components/gestational-age-calculator/index.js +1 -1
  22. package/dist/components/hcg-doubling/index.js +1 -1
  23. package/dist/components/index.d.ts +1 -0
  24. package/dist/components/pregnancy-dating/index.d.ts +3 -0
  25. package/dist/components/pregnancy-dating/index.js +5 -0
  26. package/dist/components/pregnancy-dating/pregnancy-dating.d.ts +60 -0
  27. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  28. package/dist/components/unit-converter/index.js +1 -1
  29. package/dist/i18n/locales/ar.d.ts +52 -0
  30. package/dist/i18n/locales/ar.js +52 -0
  31. package/dist/i18n/locales/de.d.ts +52 -0
  32. package/dist/i18n/locales/de.js +52 -0
  33. package/dist/i18n/locales/el.d.ts +52 -0
  34. package/dist/i18n/locales/el.js +52 -0
  35. package/dist/i18n/locales/en.d.ts +52 -0
  36. package/dist/i18n/locales/en.js +52 -0
  37. package/dist/i18n/locales/es.d.ts +52 -0
  38. package/dist/i18n/locales/es.js +52 -0
  39. package/dist/i18n/locales/fr.d.ts +52 -0
  40. package/dist/i18n/locales/fr.js +52 -0
  41. package/dist/i18n/locales/hi.d.ts +52 -0
  42. package/dist/i18n/locales/hi.js +52 -0
  43. package/dist/i18n/locales/it.d.ts +52 -0
  44. package/dist/i18n/locales/it.js +52 -0
  45. package/dist/i18n/locales/ja.d.ts +52 -0
  46. package/dist/i18n/locales/ja.js +52 -0
  47. package/dist/i18n/locales/nl.d.ts +52 -0
  48. package/dist/i18n/locales/nl.js +52 -0
  49. package/dist/i18n/locales/pl.d.ts +52 -0
  50. package/dist/i18n/locales/pl.js +52 -0
  51. package/dist/i18n/locales/pt.d.ts +52 -0
  52. package/dist/i18n/locales/pt.js +52 -0
  53. package/dist/i18n/locales/ro.d.ts +52 -0
  54. package/dist/i18n/locales/ro.js +52 -0
  55. package/dist/i18n/locales/ru.d.ts +52 -0
  56. package/dist/i18n/locales/ru.js +52 -0
  57. package/dist/i18n/locales/sq.d.ts +52 -0
  58. package/dist/i18n/locales/sq.js +52 -0
  59. package/dist/i18n/locales/sv.d.ts +52 -0
  60. package/dist/i18n/locales/sv.js +52 -0
  61. package/dist/i18n/locales/tr.d.ts +52 -0
  62. package/dist/i18n/locales/tr.js +52 -0
  63. package/dist/i18n/locales/zh.d.ts +52 -0
  64. package/dist/i18n/locales/zh.js +52 -0
  65. package/dist/index.js +632 -630
  66. package/dist/locales/ar.json +52 -0
  67. package/dist/locales/de.json +52 -0
  68. package/dist/locales/el.json +52 -0
  69. package/dist/locales/en.json +52 -0
  70. package/dist/locales/es.json +52 -0
  71. package/dist/locales/fr.json +52 -0
  72. package/dist/locales/hi.json +52 -0
  73. package/dist/locales/it.json +52 -0
  74. package/dist/locales/ja.json +52 -0
  75. package/dist/locales/nl.json +52 -0
  76. package/dist/locales/pl.json +52 -0
  77. package/dist/locales/pt.json +52 -0
  78. package/dist/locales/ro.json +52 -0
  79. package/dist/locales/ru.json +52 -0
  80. package/dist/locales/sq.json +52 -0
  81. package/dist/locales/sv.json +52 -0
  82. package/dist/locales/tr.json +52 -0
  83. package/dist/locales/zh.json +52 -0
  84. package/package.json +5 -1
  85. package/dist/_chunks/insert-result-DNdi_JYW.js +0 -683
@@ -113,7 +113,7 @@ function ht(t) {
113
113
  crlInRange: t.crlMm >= L && t.crlMm <= B
114
114
  };
115
115
  }
116
- const n = (t, a = 0) => t * 7 + a, P = (t) => t === "uk" ? {
116
+ const n = (t, a = 0) => t * 7 + a, j = (t) => t === "uk" ? {
117
117
  key: "dating-nt",
118
118
  category: "screening",
119
119
  startDay: n(11, 2),
@@ -125,21 +125,21 @@ const n = (t, a = 0) => t * 7 + a, P = (t) => t === "uk" ? {
125
125
  startDay: n(11, 0),
126
126
  endDay: n(13, 6),
127
127
  source: "SIEOG-2021"
128
- }, W = {
128
+ }, P = {
129
129
  key: "nipt",
130
130
  category: "screening",
131
131
  startDay: n(10, 0),
132
132
  endDay: n(13, 6),
133
133
  condition: "on-indication",
134
134
  source: "ACOG-CO700"
135
- }, Y = {
135
+ }, W = {
136
136
  key: "cvs",
137
137
  category: "diagnostic",
138
138
  startDay: n(11, 0),
139
139
  endDay: n(13, 6),
140
140
  condition: "on-indication",
141
141
  source: "ISS"
142
- }, j = {
142
+ }, Y = {
143
143
  key: "amnio",
144
144
  category: "diagnostic",
145
145
  startDay: n(15, 0),
@@ -229,11 +229,11 @@ const n = (t, a = 0) => t * 7 + a, P = (t) => t === "uk" ? {
229
229
  };
230
230
  function tt(t) {
231
231
  return [
232
- P(t),
232
+ j(t),
233
+ P,
233
234
  W,
234
- Y,
235
235
  Z,
236
- j,
236
+ Y,
237
237
  K(t),
238
238
  q,
239
239
  V,
@@ -405,8 +405,9 @@ export {
405
405
  gt as g,
406
406
  Nt as h,
407
407
  ft as i,
408
+ S as j,
408
409
  F as p,
409
410
  ht as r,
410
411
  w as t
411
412
  };
412
- //# sourceMappingURL=antenatal-schedule-timeline-Dg0m0yFl.js.map
413
+ //# sourceMappingURL=antenatal-schedule-timeline-CdiqkF05.js.map
@@ -6,7 +6,7 @@ import { F as I } from "./form-field-BOm9hK35.js";
6
6
  import { S as P } from "./select-hsCaJSX3.js";
7
7
  import { C as m } from "./card-DPmk26CL.js";
8
8
  import { B as T } from "./badge-zsf5i5bH.js";
9
- import { I as A } from "./insert-result-DNdi_JYW.js";
9
+ import { I as A } from "./insert-result-njqBthzT.js";
10
10
  const b = [
11
11
  "dilation",
12
12
  "effacement",
@@ -182,4 +182,4 @@ export {
182
182
  D as d,
183
183
  M as e
184
184
  };
185
- //# sourceMappingURL=bishop-score-2MzAz8NE.js.map
185
+ //# sourceMappingURL=bishop-score-CMQxsdy4.js.map
@@ -8,7 +8,7 @@ import { F as D } from "./form-field-BOm9hK35.js";
8
8
  import { N as p } from "./number-input-Dj5L3pXK.js";
9
9
  import { C as M } from "./card-DPmk26CL.js";
10
10
  import { B as na } from "./badge-zsf5i5bH.js";
11
- import { B as ra, I as sa, b as oa } from "./insert-result-DNdi_JYW.js";
11
+ import { B as ra, I as sa, b as oa } from "./insert-result-njqBthzT.js";
12
12
  import { b as ca, e as ma, c as da, f as O, l as W, k as ua } from "./bmi-BxD-tFzU.js";
13
13
  const ga = la("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
14
14
  variants: {
@@ -255,4 +255,4 @@ pa.displayName = "BmiCalculator";
255
255
  export {
256
256
  pa as B
257
257
  };
258
- //# sourceMappingURL=bmi-calculator-DdylQzT6.js.map
258
+ //# sourceMappingURL=bmi-calculator-DuUneHuZ.js.map
@@ -7,7 +7,7 @@ import { D as z } from "./date-picker-BfHblqwA.js";
7
7
  import { N as D } from "./number-input-Dj5L3pXK.js";
8
8
  import { C as E } from "./card-DPmk26CL.js";
9
9
  import { B as P } from "./badge-zsf5i5bH.js";
10
- import { I as B } from "./insert-result-DNdi_JYW.js";
10
+ import { I as B } from "./insert-result-njqBthzT.js";
11
11
  import { a as i } from "./date-picker-variants-CXEAx3O_.js";
12
12
  import { C as G } from "./check-DPdL_Sm7.js";
13
13
  import { H as R } from "./heart-C0faivFf.js";
@@ -249,4 +249,4 @@ export {
249
249
  U as L,
250
250
  O as p
251
251
  };
252
- //# sourceMappingURL=cycle-calculator-oOkj5wlB.js.map
252
+ //# sourceMappingURL=cycle-calculator-vTtZZAmn.js.map
@@ -9,8 +9,8 @@ import { D as b } from "./date-picker-BfHblqwA.js";
9
9
  import { N as S } from "./number-input-Dj5L3pXK.js";
10
10
  import { C as k } from "./card-DPmk26CL.js";
11
11
  import { B } from "./badge-zsf5i5bH.js";
12
- import { I as X } from "./insert-result-DNdi_JYW.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-Dg0m0yFl.js";
12
+ import { I as X } from "./insert-result-njqBthzT.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-CdiqkF05.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-tDqZXPWO.js.map
256
+ //# sourceMappingURL=due-date-calculator-CUm5KJbf.js.map
@@ -6,7 +6,7 @@ import { F as D } from "./form-field-BOm9hK35.js";
6
6
  import { N as E } from "./number-input-Dj5L3pXK.js";
7
7
  import { C as N } from "./card-DPmk26CL.js";
8
8
  import { B as H } from "./badge-zsf5i5bH.js";
9
- import { I as S } from "./insert-result-DNdi_JYW.js";
9
+ import { I as S } from "./insert-result-njqBthzT.js";
10
10
  function h(l) {
11
11
  return typeof l == "number" && Number.isFinite(l) && l > 0 ? l / 10 : null;
12
12
  }
@@ -119,4 +119,4 @@ export {
119
119
  G as F,
120
120
  q as e
121
121
  };
122
- //# sourceMappingURL=fetal-weight-Da-B4P4k.js.map
122
+ //# sourceMappingURL=fetal-weight-Xf8-ZoDy.js.map
@@ -10,8 +10,8 @@ import { S as le } from "./select-hsCaJSX3.js";
10
10
  import { S as se } from "./switch-BJ6HD3Mn.js";
11
11
  import { C as R } from "./card-DPmk26CL.js";
12
12
  import { B as T } from "./badge-zsf5i5bH.js";
13
- import { I as ie } from "./insert-result-DNdi_JYW.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-Dg0m0yFl.js";
13
+ import { I as ie } from "./insert-result-njqBthzT.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-CdiqkF05.js";
15
15
  import { s as he } from "./subDays-Bs00akhK.js";
16
16
  import { i as pe } from "./date-picker-variants-CXEAx3O_.js";
17
17
  const fe = ae("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
@@ -308,4 +308,4 @@ ve.displayName = "GestationalAgeCalculator";
308
308
  export {
309
309
  ve as G
310
310
  };
311
- //# sourceMappingURL=gestational-age-calculator-DbDfTJU2.js.map
311
+ //# sourceMappingURL=gestational-age-calculator-830KJql3.js.map
@@ -7,7 +7,7 @@ import { N as L } from "./number-input-Dj5L3pXK.js";
7
7
  import { D as M } from "./date-time-picker-H-3Pwqlb.js";
8
8
  import { C as _ } from "./card-DPmk26CL.js";
9
9
  import { B as A } from "./badge-zsf5i5bH.js";
10
- import { I as C } from "./insert-result-DNdi_JYW.js";
10
+ import { I as C } from "./insert-result-njqBthzT.js";
11
11
  const O = 1e3 * 60 * 60, z = 35;
12
12
  function G(D) {
13
13
  const { hcg1: r, hcg2: s, date1: d, date2: o } = D;
@@ -167,4 +167,4 @@ export {
167
167
  z as M,
168
168
  G as a
169
169
  };
170
- //# sourceMappingURL=hcg-doubling-DAnpbale.js.map
170
+ //# sourceMappingURL=hcg-doubling-kVOpDfny.js.map