@alfadocs/ui-kit 0.42.0 → 0.43.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 (84) hide show
  1. package/dist/_chunks/{ar-Cn_NxqkN.js → ar-DEz65ZJW.js} +2 -2
  2. package/dist/_chunks/bmi-calculator-DuVSFDuw.js +259 -0
  3. package/dist/_chunks/{booking-4mCw3Mpl.js → booking-CtLwaxkK.js} +4 -4
  4. package/dist/_chunks/{calculator-dialog-B74fqpFZ.js → calculator-dialog-DdexHrTP.js} +2 -2
  5. package/dist/_chunks/{chart-Cbt0_sKv.js → chart-Cg3e9EH9.js} +101 -99
  6. package/dist/_chunks/{cycle-calculator-DsZbyzX6.js → cycle-calculator-Dln-y1k_.js} +43 -42
  7. package/dist/_chunks/{date-picker-CvQfs6Xh.js → date-picker-Bq7xhMA-.js} +109 -108
  8. package/dist/_chunks/date-picker-variants-DLi1Va_e.js +3238 -0
  9. package/dist/_chunks/{date-range-picker-U9fn1g9d.js → date-range-picker-DcXuI9y7.js} +20 -19
  10. package/dist/_chunks/{date-time-picker-Cva0ZCWw.js → date-time-picker-RimumeLR.js} +18 -17
  11. package/dist/_chunks/{de-BMM2H7Bs.js → de-bTBGdjPS.js} +2 -2
  12. package/dist/_chunks/{dialog-Cee13rHU.js → dialog-DOYgd75U.js} +46 -37
  13. package/dist/_chunks/{due-date-calculator-s_CBgaFs.js → due-date-calculator-Cc4dRqTI.js} +46 -38
  14. package/dist/_chunks/{editable-currency-cell-renderer-BhUkRiPZ.js → editable-currency-cell-renderer-9jqwDv5x.js} +2 -2
  15. package/dist/_chunks/{el-BYPonAaK.js → el-BWG5RXxa.js} +6 -6
  16. package/dist/_chunks/{es-CMkVCQ4F.js → es-DfO_G435.js} +2 -2
  17. package/dist/_chunks/{fr-BcuWxqft.js → fr-BTn24bs8.js} +2 -2
  18. package/dist/_chunks/{gestation-BXEgDGmP.js → gestation-mWF4AXea.js} +3 -3
  19. package/dist/_chunks/{gestational-age-calculator-CWOG3bkI.js → gestational-age-calculator-ZMSrzkRW.js} +42 -41
  20. package/dist/_chunks/{header-CTZWX-tm.js → header-Ce1Br27u.js} +70 -75
  21. package/dist/_chunks/{hi-wkq_rQAh.js → hi-Dj3oYd84.js} +2 -2
  22. package/dist/_chunks/{insert-result-DtQQeSSf.js → insert-result-DisOY2G-.js} +91 -75
  23. package/dist/_chunks/{isSameWeek-Bim5ftRd.js → isSameWeek-HfxKk6Lz.js} +2 -2
  24. package/dist/_chunks/{it-GiQrQ9p4.js → it-Y85ofIQQ.js} +7 -7
  25. package/dist/_chunks/{ja-qfYg3Rua.js → ja-CQ7J6YoA.js} +2 -2
  26. package/dist/_chunks/{marketplace-app-shell-kVAVycz_.js → marketplace-app-shell-Dc5cTIt8.js} +186 -149
  27. package/dist/_chunks/{nl-xOogO4sZ.js → nl-D9kHCmp3.js} +2 -2
  28. package/dist/_chunks/{patient-shell-lDX3wwu6.js → patient-shell-CnT4L8gn.js} +2 -2
  29. package/dist/_chunks/{pl-GnOW6eGK.js → pl-B3Smqpkr.js} +3 -3
  30. package/dist/_chunks/{pregnancy-weight-gain-B7kBK-ZR.js → pregnancy-weight-gain-zZL5Ir2-.js} +49 -48
  31. package/dist/_chunks/{pt-_bV5b5RW.js → pt-D3J-1c_7.js} +6 -6
  32. package/dist/_chunks/{ro-BEcyh5Nj.js → ro-BKAbbEA3.js} +2 -2
  33. package/dist/_chunks/{ru-Bi86hqMf.js → ru-BeG8f0Ep.js} +3 -3
  34. package/dist/_chunks/{sign-document-QHfcNKFj.js → sign-document-B-3k_0LO.js} +165 -137
  35. package/dist/_chunks/{sq-BujHSAWu.js → sq-_hRPaeUy.js} +6 -6
  36. package/dist/_chunks/subDays-Dv7q9S7u.js +8 -0
  37. package/dist/_chunks/{sv-C8AeDrTA.js → sv-g009fSpe.js} +2 -2
  38. package/dist/_chunks/{tab-bar-C4II-7ej.js → tab-bar-Xetknddo.js} +53 -34
  39. package/dist/_chunks/{tr-CMSs_Vgf.js → tr-OKUOuhMW.js} +2 -2
  40. package/dist/_chunks/{unit-converter-D1UrEUxa.js → unit-converter-CuXCXJhK.js} +2 -2
  41. package/dist/_chunks/{zh-CN-eXB-PFu4.js → zh-CN-De4zwEhx.js} +3 -3
  42. package/dist/agent-catalog.json +1 -1
  43. package/dist/components/_shared/calendar-class-names.d.ts +8 -0
  44. package/dist/components/_shared/index.d.ts +2 -0
  45. package/dist/components/_shared/insert-result.d.ts +57 -2
  46. package/dist/components/badge/badge.d.ts +1 -1
  47. package/dist/components/bmi-calculator/index.js +1 -1
  48. package/dist/components/booking/index.js +1 -1
  49. package/dist/components/calculator-dialog/index.js +1 -1
  50. package/dist/components/card/card.d.ts +1 -1
  51. package/dist/components/chart/chart.d.ts +10 -0
  52. package/dist/components/chart/index.js +1 -1
  53. package/dist/components/cycle-calculator/index.js +1 -1
  54. package/dist/components/data-table/index.js +1 -1
  55. package/dist/components/date-picker/date-picker.d.ts +0 -1
  56. package/dist/components/date-picker/index.js +1 -1
  57. package/dist/components/date-range-picker/date-range-picker.d.ts +0 -1
  58. package/dist/components/date-range-picker/index.js +1 -1
  59. package/dist/components/date-time-picker/date-time-picker.d.ts +0 -1
  60. package/dist/components/date-time-picker/index.js +1 -1
  61. package/dist/components/dialog/index.js +1 -1
  62. package/dist/components/due-date-calculator/index.js +2 -2
  63. package/dist/components/gestational-age-calculator/index.js +1 -1
  64. package/dist/components/header/header.d.ts +8 -0
  65. package/dist/components/header/index.js +1 -1
  66. package/dist/components/index.d.ts +1 -1
  67. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  68. package/dist/components/public-header/public-header.d.ts +1 -1
  69. package/dist/components/sign-document/index.js +1 -1
  70. package/dist/components/sign-document/sign-document.d.ts +12 -0
  71. package/dist/components/stat/stat.d.ts +1 -1
  72. package/dist/components/tab-bar/index.d.ts +1 -1
  73. package/dist/components/tab-bar/index.js +1 -1
  74. package/dist/components/tab-bar/tab-bar.d.ts +44 -1
  75. package/dist/components/unit-converter/index.js +1 -1
  76. package/dist/index.js +495 -494
  77. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  78. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +57 -1
  79. package/dist/patterns/patient-shell/index.js +1 -1
  80. package/dist/tokens.css +1411 -2
  81. package/package.json +1 -1
  82. package/dist/_chunks/bmi-calculator-D4juUcyF.js +0 -219
  83. package/dist/_chunks/react-day-picker-CdtIiKjx.js +0 -3174
  84. package/dist/_chunks/subDays-_T9YeKPX.js +0 -8
@@ -1,4 +1,4 @@
1
- import { o as s, q as i, r as o, v as d } from "./react-day-picker-CdtIiKjx.js";
1
+ import { q as s, r as i, v as o, w as d } from "./date-picker-variants-DLi1Va_e.js";
2
2
  const u = {
3
3
  lessThanXSeconds: {
4
4
  one: "λιγότερο από ένα δευτερόλεπτο",
@@ -93,7 +93,7 @@ const u = {
93
93
  formats: m,
94
94
  defaultWidth: "full"
95
95
  })
96
- }, b = {
96
+ }, w = {
97
97
  lastWeek: (e) => {
98
98
  switch (e.getDay()) {
99
99
  case 6:
@@ -107,8 +107,8 @@ const u = {
107
107
  tomorrow: "'αύριο στις' p",
108
108
  nextWeek: "eeee 'στις' p",
109
109
  other: "P"
110
- }, w = (e, r) => {
111
- const a = b[e];
110
+ }, b = (e, r) => {
111
+ const a = w[e];
112
112
  return typeof a == "function" ? a(r) : a;
113
113
  }, y = {
114
114
  narrow: ["πΧ", "μΧ"],
@@ -359,7 +359,7 @@ const u = {
359
359
  code: "el",
360
360
  formatDistance: c,
361
361
  formatLong: f,
362
- formatRelative: w,
362
+ formatRelative: b,
363
363
  localize: k,
364
364
  match: q,
365
365
  options: {
@@ -370,4 +370,4 @@ const u = {
370
370
  export {
371
371
  O as el
372
372
  };
373
- //# sourceMappingURL=el-BYPonAaK.js.map
373
+ //# sourceMappingURL=el-BWG5RXxa.js.map
@@ -1,4 +1,4 @@
1
- import { o as d, q as o, r, v as s } from "./react-day-picker-CdtIiKjx.js";
1
+ import { q as d, r as o, v as r, w as s } from "./date-picker-variants-DLi1Va_e.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-CMkVCQ4F.js.map
373
+ //# sourceMappingURL=es-DfO_G435.js.map
@@ -1,4 +1,4 @@
1
- import { o as m, q as r, r as o, v as d } from "./react-day-picker-CdtIiKjx.js";
1
+ import { q as m, r, v as o, w as d } from "./date-picker-variants-DLi1Va_e.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-BcuWxqft.js.map
338
+ //# sourceMappingURL=fr-BTn24bs8.js.map
@@ -1,5 +1,5 @@
1
- import { a, d as E } from "./react-day-picker-CdtIiKjx.js";
2
- import { s as i } from "./subDays-_T9YeKPX.js";
1
+ import { a, d as E } from "./date-picker-variants-DLi1Va_e.js";
2
+ import { s as i } from "./subDays-Dv7q9S7u.js";
3
3
  const T = 280, m = 14, u = 266, d = 28;
4
4
  function p(e) {
5
5
  if (e < 0) return "preconception";
@@ -47,4 +47,4 @@ export {
47
47
  g,
48
48
  p as t
49
49
  };
50
- //# sourceMappingURL=gestation-BXEgDGmP.js.map
50
+ //# sourceMappingURL=gestation-mWF4AXea.js.map
@@ -1,55 +1,56 @@
1
1
  import { jsxs as s, jsx as a } from "react/jsx-runtime";
2
- import { forwardRef as L, useState as f, useMemo as m, useEffect as T } from "react";
3
- import { c as S } from "./index-D2ZczOXr.js";
4
- import { useTranslation as k } from "react-i18next";
2
+ import { forwardRef as T, useState as f, useMemo as m, useEffect as S } from "react";
3
+ import { c as k } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as B } from "react-i18next";
5
5
  import { R as h } from "./radio-TWf9Q-mp.js";
6
6
  import { R as E } from "./radio-group-CLjK-SlK.js";
7
7
  import { F } from "./form-field-BOm9hK35.js";
8
- import { D as B } from "./date-picker-CvQfs6Xh.js";
9
- import { B as x } from "./badge-zsf5i5bH.js";
10
- import { I } from "./insert-result-DtQQeSSf.js";
11
- import { c as M, g as j, G as R } from "./gestation-BXEgDGmP.js";
12
- import { s as z } from "./subDays-_T9YeKPX.js";
13
- import { i as V } from "./react-day-picker-CdtIiKjx.js";
14
- const _ = S("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
8
+ import { D as I } from "./date-picker-Bq7xhMA-.js";
9
+ import { C as x } from "./card-DPmk26CL.js";
10
+ import { B as A } from "./badge-zsf5i5bH.js";
11
+ import { I as M } from "./insert-result-DisOY2G-.js";
12
+ import { c as j, g as R, G as z } from "./gestation-mWF4AXea.js";
13
+ import { s as V } from "./subDays-Dv7q9S7u.js";
14
+ import { i as _ } from "./date-picker-variants-DLi1Va_e.js";
15
+ const O = k("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
15
16
  variants: {
16
17
  width: { full: "ds:w-full", auto: "ds:inline-flex" }
17
18
  },
18
19
  defaultVariants: { width: "full" }
19
- }), O = {
20
+ }), P = {
20
21
  preconception: "neutral",
21
22
  first: "info",
22
23
  second: "success",
23
24
  third: "warning",
24
25
  postterm: "error"
25
- }, P = L(
26
+ }, Y = T(
26
27
  ({
27
- defaultMethod: A = "lmp",
28
+ defaultMethod: v = "lmp",
28
29
  onResultChange: d,
29
30
  onInsert: g,
30
31
  insertVariant: u = "insert",
31
- onCopy: v,
32
+ onCopy: y,
32
33
  onError: b,
33
- id: y,
34
- width: C,
35
- className: N
36
- }, D) => {
37
- const { t: e, i18n: p } = k(), [o, w] = f(A), [i, $] = f(void 0), n = m(() => /* @__PURE__ */ new Date(), []), t = m(() => {
34
+ id: C,
35
+ width: N,
36
+ className: D
37
+ }, w) => {
38
+ const { t: e, i18n: p } = B(), [o, $] = f(v), [i, G] = f(void 0), n = m(() => /* @__PURE__ */ new Date(), []), t = m(() => {
38
39
  if (!i) return null;
39
- const l = o === "lmp" ? i : z(i, R), r = M({ method: "lmp", date: l }, n);
40
+ const l = o === "lmp" ? i : V(i, z), r = j({ method: "lmp", date: l }, n);
40
41
  return {
41
42
  result: {
42
43
  gestationalAge: r.gestationalAge,
43
44
  trimester: r.trimester,
44
45
  dueDate: r.dueDate
45
46
  },
46
- milestones: j(r.gestationalStart)
47
+ milestones: R(r.gestationalStart)
47
48
  };
48
- }, [o, i, n]), G = m(
49
+ }, [o, i, n]), L = m(
49
50
  () => new Intl.DateTimeFormat(p.language, { dateStyle: "medium" }),
50
51
  [p.language]
51
52
  );
52
- T(() => {
53
+ S(() => {
53
54
  d == null || d((t == null ? void 0 : t.result) ?? null);
54
55
  }, [t, d]);
55
56
  const c = (l) => l ? e("gestationalAgeCalculator.gestation", {
@@ -59,10 +60,10 @@ const _ = S("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
59
60
  return /* @__PURE__ */ s(
60
61
  "div",
61
62
  {
62
- ref: D,
63
+ ref: w,
63
64
  "data-component": "gestational-age-calculator",
64
- "data-component-id": y,
65
- className: _({ width: C, className: N }),
65
+ "data-component-id": C,
66
+ className: O({ width: N, className: D }),
66
67
  children: [
67
68
  /* @__PURE__ */ s(
68
69
  E,
@@ -70,7 +71,7 @@ const _ = S("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
70
71
  label: e("gestationalAgeCalculator.method.label"),
71
72
  variant: "horizontal",
72
73
  value: o,
73
- onValueChange: (l) => w(l),
74
+ onValueChange: (l) => $(l),
74
75
  children: [
75
76
  /* @__PURE__ */ a(h, { label: e("gestationalAgeCalculator.method.lmp"), value: "lmp" }),
76
77
  /* @__PURE__ */ a(h, { label: e("gestationalAgeCalculator.method.edd"), value: "edd" })
@@ -84,10 +85,10 @@ const _ = S("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
84
85
  o === "lmp" ? "gestationalAgeCalculator.lmpDate" : "gestationalAgeCalculator.eddDate"
85
86
  ),
86
87
  children: /* @__PURE__ */ a(
87
- B,
88
+ I,
88
89
  {
89
90
  value: i,
90
- onChange: $,
91
+ onChange: G,
91
92
  maxDate: o === "lmp" ? n : void 0
92
93
  }
93
94
  )
@@ -98,14 +99,14 @@ const _ = S("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
98
99
  )}. ${e("gestationalAgeCalculator.trimesterLabel")}: ${e(
99
100
  `gestationalAgeCalculator.trimester.${t.result.trimester}`
100
101
  )}.` : "" }),
101
- t ? /* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
102
+ t ? /* @__PURE__ */ a(x, { variant: "elevated", children: /* @__PURE__ */ s(x.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
102
103
  /* @__PURE__ */ s("dl", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:sm:grid-cols-2", children: [
103
104
  /* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:items-start ds:gap-[var(--spacing-xs)]", children: [
104
105
  /* @__PURE__ */ a("dt", { className: "type-label ds:text-muted-foreground", children: e("gestationalAgeCalculator.trimesterLabel") }),
105
106
  /* @__PURE__ */ a("dd", { children: /* @__PURE__ */ a(
106
- x,
107
+ A,
107
108
  {
108
- variant: O[t.result.trimester],
109
+ variant: P[t.result.trimester],
109
110
  size: "lg",
110
111
  children: e(
111
112
  `gestationalAgeCalculator.trimester.${t.result.trimester}`
@@ -121,7 +122,7 @@ const _ = S("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
121
122
  /* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
122
123
  /* @__PURE__ */ a("span", { className: "type-label ds:text-muted-foreground", children: e("gestationalAgeCalculator.milestonesLabel") }),
123
124
  /* @__PURE__ */ a("ul", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: t.milestones.map((l) => {
124
- const r = V(n, l.date);
125
+ const r = _(n, l.date);
125
126
  return /* @__PURE__ */ s(
126
127
  "li",
127
128
  {
@@ -129,8 +130,8 @@ const _ = S("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
129
130
  children: [
130
131
  /* @__PURE__ */ a("span", { className: "type-body ds:text-foreground", children: e(`gestationalAgeCalculator.milestone.${l.key}`) }),
131
132
  /* @__PURE__ */ s("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
132
- /* @__PURE__ */ a("span", { className: "type-body ds:text-muted-foreground", children: G.format(l.date) }),
133
- r ? /* @__PURE__ */ a(x, { variant: "success", children: e("gestationalAgeCalculator.reached") }) : null
133
+ /* @__PURE__ */ a("span", { className: "type-body ds:text-muted-foreground", children: L.format(l.date) }),
134
+ r ? /* @__PURE__ */ a(A, { variant: "success", children: e("gestationalAgeCalculator.reached") }) : null
134
135
  ] })
135
136
  ]
136
137
  },
@@ -139,11 +140,11 @@ const _ = S("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
139
140
  }) })
140
141
  ] }),
141
142
  u === "copy" || g ? /* @__PURE__ */ a(
142
- I,
143
+ M,
143
144
  {
144
145
  onInsert: g,
145
146
  variant: u,
146
- onCopy: v,
147
+ onCopy: y,
147
148
  onError: b,
148
149
  card: {
149
150
  title: e("insert.title.gestationalAge"),
@@ -165,14 +166,14 @@ const _ = S("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
165
166
  }
166
167
  }
167
168
  ) : null
168
- ] }) : /* @__PURE__ */ a("p", { className: "type-body ds:text-muted-foreground", children: e("gestationalAgeCalculator.empty") })
169
+ ] }) }) : /* @__PURE__ */ a("p", { className: "type-body ds:text-muted-foreground", children: e("gestationalAgeCalculator.empty") })
169
170
  ]
170
171
  }
171
172
  );
172
173
  }
173
174
  );
174
- P.displayName = "GestationalAgeCalculator";
175
+ Y.displayName = "GestationalAgeCalculator";
175
176
  export {
176
- P as G
177
+ Y as G
177
178
  };
178
- //# sourceMappingURL=gestational-age-calculator-CWOG3bkI.js.map
179
+ //# sourceMappingURL=gestational-age-calculator-ZMSrzkRW.js.map
@@ -1,10 +1,11 @@
1
- import { jsxs as v, Fragment as y, jsx as s } from "react/jsx-runtime";
2
- import { forwardRef as t, useRef as k, useState as N, useEffect as j } from "react";
1
+ import { jsxs as g, Fragment as y, jsx as s } from "react/jsx-runtime";
2
+ import { forwardRef as t, useRef as N, useState as k, useEffect as j } from "react";
3
3
  import { c as o } from "./index-D2ZczOXr.js";
4
- import { useTranslation as l } from "react-i18next";
5
- import { I as H } from "./icon-button-CKEOrN37.js";
6
- import { M as w } from "./menu-XRhW3_99.js";
7
- const B = o(
4
+ import { Slot as H } from "@radix-ui/react-slot";
5
+ import { useTranslation as u } from "react-i18next";
6
+ import { I as w } from "./icon-button-CKEOrN37.js";
7
+ import { M as B } from "./menu-XRhW3_99.js";
8
+ const C = o(
8
9
  [
9
10
  "ds:w-full",
10
11
  // Fixed height — a Header is always the `lg` token (64px). Using `h-*`
@@ -96,7 +97,7 @@ const B = o(
96
97
  variant: "brand"
97
98
  }
98
99
  }
99
- ), C = o(
100
+ ), S = o(
100
101
  [
101
102
  "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
102
103
  "ds:w-full ds:h-full",
@@ -104,11 +105,11 @@ const B = o(
104
105
  ].join(" ")
105
106
  ), V = o(
106
107
  "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]"
107
- ), S = o(
108
- "ds:hidden ds:md:flex ds:flex-1 ds:min-w-0 ds:items-center ds:justify-center ds:gap-[var(--spacing-sm)]"
109
108
  ), z = o(
110
- "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]"
109
+ "ds:hidden ds:md:flex ds:flex-1 ds:min-w-0 ds:items-center ds:justify-center ds:gap-[var(--spacing-sm)]"
111
110
  ), I = o(
111
+ "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]"
112
+ ), T = o(
112
113
  [
113
114
  "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]",
114
115
  "ds:text-[length:var(--font-size-base)] ds:font-[var(--font-weight-semibold)]",
@@ -128,13 +129,13 @@ const B = o(
128
129
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
129
130
  "ds:min-h-[var(--min-target-size)]"
130
131
  ].join(" ")
131
- ), T = o(
132
+ ), M = o(
132
133
  [
133
134
  "ds:hidden ds:md:inline-block",
134
135
  "ds:border-inline-start ds:border-[color:var(--border)]",
135
136
  "ds:self-stretch ds:my-[var(--spacing-xs)]"
136
137
  ].join(" ")
137
- ), M = o(
138
+ ), O = o(
138
139
  [
139
140
  "ds:sr-only ds:focus:not-sr-only",
140
141
  "ds:focus:absolute ds:focus:inset-inline-start-[var(--spacing-sm)] ds:focus:inset-block-start-[var(--spacing-sm)]",
@@ -146,7 +147,7 @@ const B = o(
146
147
  "ds:focus:outline-[length:var(--focus-ring-width)] ds:focus:outline-solid ds:focus:outline-[color:var(--ring)]",
147
148
  "ds:forced-colors:focus:outline-[CanvasText]"
148
149
  ].join(" ")
149
- ), O = t(
150
+ ), R = t(
150
151
  ({
151
152
  variant: e = "brand",
152
153
  className: r,
@@ -154,25 +155,25 @@ const B = o(
154
155
  scrollLinkedElevation: d = !0,
155
156
  "aria-label": n,
156
157
  ...i
157
- }, m) => {
158
- const { t: g } = l(), h = n ?? g("navigation.header.label", "Page header"), c = k(null), [p, b] = N(!1);
158
+ }, l) => {
159
+ const { t: c } = u(), h = n ?? c("navigation.header.label", "Page header"), f = N(null), [p, b] = k(!1);
159
160
  return j(() => {
160
161
  if (!d) return;
161
- const u = c.current;
162
- if (!u || typeof IntersectionObserver > "u") return;
163
- const f = new IntersectionObserver(
162
+ const v = f.current;
163
+ if (!v || typeof IntersectionObserver > "u") return;
164
+ const m = new IntersectionObserver(
164
165
  (x) => {
165
166
  const _ = x[0];
166
167
  b(!_.isIntersecting);
167
168
  },
168
169
  { threshold: 0 }
169
170
  );
170
- return f.observe(u), () => f.disconnect();
171
- }, [d]), /* @__PURE__ */ v(y, { children: [
171
+ return m.observe(v), () => m.disconnect();
172
+ }, [d]), /* @__PURE__ */ g(y, { children: [
172
173
  d ? /* @__PURE__ */ s(
173
174
  "div",
174
175
  {
175
- ref: c,
176
+ ref: f,
176
177
  "aria-hidden": "true",
177
178
  className: "ds:block ds:h-px ds:w-full"
178
179
  }
@@ -180,21 +181,21 @@ const B = o(
180
181
  /* @__PURE__ */ s(
181
182
  "header",
182
183
  {
183
- ref: m,
184
+ ref: l,
184
185
  role: "banner",
185
186
  "aria-label": h,
186
187
  "data-component": "header",
187
188
  "data-scrolled": p ? "true" : void 0,
188
- className: B({ variant: e, className: r }),
189
+ className: C({ variant: e, className: r }),
189
190
  ...i,
190
- children: /* @__PURE__ */ s("div", { className: C(), children: a })
191
+ children: /* @__PURE__ */ s("div", { className: S(), children: a })
191
192
  }
192
193
  )
193
194
  ] });
194
195
  }
195
196
  );
196
- O.displayName = "Header";
197
- const R = t(({ className: e, ...r }, a) => /* @__PURE__ */ s(
197
+ R.displayName = "Header";
198
+ const D = t(({ className: e, ...r }, a) => /* @__PURE__ */ s(
198
199
  "div",
199
200
  {
200
201
  ref: a,
@@ -203,51 +204,45 @@ const R = t(({ className: e, ...r }, a) => /* @__PURE__ */ s(
203
204
  ...r
204
205
  }
205
206
  ));
206
- R.displayName = "HeaderStart";
207
- const D = t(({ className: e, ...r }, a) => /* @__PURE__ */ s(
207
+ D.displayName = "HeaderStart";
208
+ const E = t(({ className: e, ...r }, a) => /* @__PURE__ */ s(
208
209
  "div",
209
210
  {
210
211
  ref: a,
211
212
  "data-header-slot": "center",
212
- className: [S(), e].filter(Boolean).join(" "),
213
+ className: [z(), e].filter(Boolean).join(" "),
213
214
  ...r
214
215
  }
215
216
  ));
216
- D.displayName = "HeaderCenter";
217
- const E = t(({ className: e, ...r }, a) => /* @__PURE__ */ s(
217
+ E.displayName = "HeaderCenter";
218
+ const F = t(({ className: e, ...r }, a) => /* @__PURE__ */ s(
218
219
  "div",
219
220
  {
220
221
  ref: a,
221
222
  "data-header-slot": "end",
222
- className: [z(), e].filter(Boolean).join(" "),
223
+ className: [I(), e].filter(Boolean).join(" "),
223
224
  ...r
224
225
  }
225
226
  ));
226
- E.displayName = "HeaderEnd";
227
- const F = t(
228
- ({ logo: e, children: r, href: a = "/", className: d, ...n }, i) => /* @__PURE__ */ v(
229
- "a",
230
- {
231
- ref: i,
232
- href: a,
233
- className: [I(), d].filter(Boolean).join(" "),
234
- ...n,
235
- children: [
236
- e ? /* @__PURE__ */ s(
237
- "span",
238
- {
239
- "aria-hidden": r ? "true" : void 0,
240
- className: "ds:inline-flex ds:items-center",
241
- children: e
242
- }
243
- ) : null,
244
- r ? /* @__PURE__ */ s("span", { className: "ds:truncate", children: r }) : null
245
- ]
246
- }
247
- )
227
+ F.displayName = "HeaderEnd";
228
+ const L = t(
229
+ ({ logo: e, children: r, href: a = "/", className: d, asChild: n = !1, ...i }, l) => {
230
+ const c = [T(), d].filter(Boolean).join(" ");
231
+ return n ? /* @__PURE__ */ s(H, { ref: l, className: c, ...i, children: r }) : /* @__PURE__ */ g("a", { ref: l, href: a, className: c, ...i, children: [
232
+ e ? /* @__PURE__ */ s(
233
+ "span",
234
+ {
235
+ "aria-hidden": r ? "true" : void 0,
236
+ className: "ds:inline-flex ds:items-center",
237
+ children: e
238
+ }
239
+ ) : null,
240
+ r ? /* @__PURE__ */ s("span", { className: "ds:truncate", children: r }) : null
241
+ ] });
242
+ }
248
243
  );
249
- F.displayName = "HeaderBrand";
250
- function U({
244
+ L.displayName = "HeaderBrand";
245
+ function X({
251
246
  className: e,
252
247
  ...r
253
248
  }) {
@@ -256,47 +251,47 @@ function U({
256
251
  {
257
252
  role: "presentation",
258
253
  "aria-hidden": "true",
259
- className: [T(), e].filter(Boolean).join(" "),
254
+ className: [M(), e].filter(Boolean).join(" "),
260
255
  ...r
261
256
  }
262
257
  );
263
258
  }
264
- const L = t(({ onMenuOpen: e, "aria-label": r, className: a }, d) => {
265
- const { t: n } = l();
259
+ const P = t(({ onMenuOpen: e, "aria-label": r, className: a }, d) => {
260
+ const { t: n } = u();
266
261
  return /* @__PURE__ */ s(
267
- H,
262
+ w,
268
263
  {
269
264
  ref: d,
270
265
  className: ["ds:md:hidden", a].filter(Boolean).join(" "),
271
- icon: /* @__PURE__ */ s(w, { "aria-hidden": !0 }),
266
+ icon: /* @__PURE__ */ s(B, { "aria-hidden": !0 }),
272
267
  "aria-label": r ?? n("navigation.sidebar.open", "Open menu"),
273
268
  onClick: e
274
269
  }
275
270
  );
276
271
  });
277
- L.displayName = "HeaderMenuButton";
278
- const P = t(({ href: e, children: r, className: a, ...d }, n) => {
279
- const { t: i } = l();
272
+ P.displayName = "HeaderMenuButton";
273
+ const q = t(({ href: e, children: r, className: a, ...d }, n) => {
274
+ const { t: i } = u();
280
275
  return /* @__PURE__ */ s(
281
276
  "a",
282
277
  {
283
278
  ref: n,
284
279
  href: e,
285
- className: [M(), a].filter(Boolean).join(" "),
280
+ className: [O(), a].filter(Boolean).join(" "),
286
281
  ...d,
287
282
  children: r ?? i("navigation.nav.skipToContent", "Skip to content")
288
283
  }
289
284
  );
290
285
  });
291
- P.displayName = "HeaderSkipLink";
286
+ q.displayName = "HeaderSkipLink";
292
287
  export {
293
- O as H,
294
- F as a,
295
- U as b,
296
- D as c,
297
- E as d,
298
- L as e,
299
- P as f,
300
- R as g
288
+ R as H,
289
+ L as a,
290
+ X as b,
291
+ E as c,
292
+ F as d,
293
+ P as e,
294
+ q as f,
295
+ D as g
301
296
  };
302
- //# sourceMappingURL=header-CTZWX-tm.js.map
297
+ //# sourceMappingURL=header-Ce1Br27u.js.map
@@ -1,4 +1,4 @@
1
- import { q as o, o as s, r, v as u } from "./react-day-picker-CdtIiKjx.js";
1
+ import { r as o, q as s, v as r, w as u } from "./date-picker-variants-DLi1Va_e.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-wkq_rQAh.js.map
433
+ //# sourceMappingURL=hi-Dj3oYd84.js.map