@alfadocs/ui-kit 0.41.2 → 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.
- package/dist/_chunks/address-autocomplete-CSjMrBvu.js +358 -0
- package/dist/_chunks/{alia-sidebar-DXsYPinm.js → alia-sidebar-BpX4z_af.js} +2 -2
- package/dist/_chunks/{ar-Cn_NxqkN.js → ar-DEz65ZJW.js} +2 -2
- package/dist/_chunks/bmi-calculator-DuVSFDuw.js +259 -0
- package/dist/_chunks/{booking-4mCw3Mpl.js → booking-CtLwaxkK.js} +4 -4
- package/dist/_chunks/{breadcrumb-CLlhx7qo.js → breadcrumb-OTbaY70e.js} +4 -4
- package/dist/_chunks/{calculator-dialog-B74fqpFZ.js → calculator-dialog-DdexHrTP.js} +2 -2
- package/dist/_chunks/{chart-Cbt0_sKv.js → chart-Cg3e9EH9.js} +101 -99
- package/dist/_chunks/cycle-calculator-Dln-y1k_.js +192 -0
- package/dist/_chunks/{date-picker-CvQfs6Xh.js → date-picker-Bq7xhMA-.js} +109 -108
- package/dist/_chunks/date-picker-variants-DLi1Va_e.js +3238 -0
- package/dist/_chunks/{date-range-picker-U9fn1g9d.js → date-range-picker-DcXuI9y7.js} +20 -19
- package/dist/_chunks/{date-time-picker-Cva0ZCWw.js → date-time-picker-RimumeLR.js} +18 -17
- package/dist/_chunks/{de-BMM2H7Bs.js → de-bTBGdjPS.js} +2 -2
- package/dist/_chunks/{dialog-Cee13rHU.js → dialog-DOYgd75U.js} +46 -37
- package/dist/_chunks/{document-scanner-CqS_klIr.js → document-scanner-BqLsGs4Y.js} +7 -7
- package/dist/_chunks/{dropdown-menu-BC5ZdOMo.js → dropdown-menu-CUEXqKis.js} +2 -2
- package/dist/_chunks/{due-date-calculator-CUspKSTw.js → due-date-calculator-Cc4dRqTI.js} +62 -41
- package/dist/_chunks/{editable-currency-cell-renderer-DgkCIIcO.js → editable-currency-cell-renderer-9jqwDv5x.js} +3 -3
- package/dist/_chunks/{el-BYPonAaK.js → el-BWG5RXxa.js} +6 -6
- package/dist/_chunks/{es-CMkVCQ4F.js → es-DfO_G435.js} +2 -2
- package/dist/_chunks/{fr-BcuWxqft.js → fr-BTn24bs8.js} +2 -2
- package/dist/_chunks/{freemium-paywall-BAk3a6er.js → freemium-paywall-BLXESpH4.js} +2 -2
- package/dist/_chunks/{gestation-BXEgDGmP.js → gestation-mWF4AXea.js} +3 -3
- package/dist/_chunks/{gestational-age-calculator-CsQ05qDy.js → gestational-age-calculator-ZMSrzkRW.js} +59 -45
- package/dist/_chunks/{header-CTZWX-tm.js → header-Ce1Br27u.js} +70 -75
- package/dist/_chunks/{header-settings-CBLwUK6t.js → header-settings-Bx0Biimh.js} +2 -2
- package/dist/_chunks/{hi-wkq_rQAh.js → hi-Dj3oYd84.js} +2 -2
- package/dist/_chunks/index.modern-D2LGACWg.js +1529 -0
- package/dist/_chunks/insert-result-DisOY2G-.js +243 -0
- package/dist/_chunks/{isSameWeek-Bim5ftRd.js → isSameWeek-HfxKk6Lz.js} +2 -2
- package/dist/_chunks/{it-GiQrQ9p4.js → it-Y85ofIQQ.js} +7 -7
- package/dist/_chunks/{ja-qfYg3Rua.js → ja-CQ7J6YoA.js} +2 -2
- package/dist/_chunks/{kbd-Cglkd7CY.js → kbd-D855ZXIW.js} +2 -2
- package/dist/_chunks/map-view-Tb5VfK9Y.js +333 -0
- package/dist/_chunks/marketplace-app-shell-Dc5cTIt8.js +428 -0
- package/dist/_chunks/{nl-xOogO4sZ.js → nl-D9kHCmp3.js} +2 -2
- package/dist/_chunks/{patient-search-CBq62kmL.js → patient-search-DPe2ZYEL.js} +2 -2
- package/dist/_chunks/{patient-shell-DF81lALv.js → patient-shell-CnT4L8gn.js} +3 -3
- package/dist/_chunks/{payment-form-Dy3WIIsC.js → payment-form-BzVsG6Ks.js} +5 -5
- package/dist/_chunks/{pdf-viewer-Cy6Ul3hZ.js → pdf-viewer-B6MC6VTx.js} +139 -126
- package/dist/_chunks/{pl-GnOW6eGK.js → pl-B3Smqpkr.js} +3 -3
- package/dist/_chunks/{practice-results-C0d4IL5E.js → practice-results-CrLpEiiW.js} +4 -4
- package/dist/_chunks/pregnancy-weight-gain-zZL5Ir2-.js +224 -0
- package/dist/_chunks/{pt-_bV5b5RW.js → pt-D3J-1c_7.js} +6 -6
- package/dist/_chunks/{public-header.agent-B2dDg2_d.js → public-header.agent-BY6FH71R.js} +2 -2
- package/dist/_chunks/radio-group-CLjK-SlK.js +167 -0
- package/dist/_chunks/{rich-text-editor-DLbg2852.js → rich-text-editor-DhGIBd4a.js} +10 -10
- package/dist/_chunks/{ro-BEcyh5Nj.js → ro-BKAbbEA3.js} +2 -2
- package/dist/_chunks/{ru-Bi86hqMf.js → ru-BeG8f0Ep.js} +3 -3
- package/dist/_chunks/{sheet-BV-yuLE2.js → sheet-xbzu4YiY.js} +7 -7
- package/dist/_chunks/sign-document-B-3k_0LO.js +344 -0
- package/dist/_chunks/{signature-capture-DoiBd6i3.js → signature-capture-CpMBhqQ9.js} +6 -6
- package/dist/_chunks/{sq-BujHSAWu.js → sq-_hRPaeUy.js} +6 -6
- package/dist/_chunks/subDays-Dv7q9S7u.js +8 -0
- package/dist/_chunks/{sv-C8AeDrTA.js → sv-g009fSpe.js} +2 -2
- package/dist/_chunks/tab-bar-Xetknddo.js +105 -0
- package/dist/_chunks/{theme-toggle-DpC28kt5.js → theme-toggle-ClATnY4Q.js} +2 -2
- package/dist/_chunks/{toast.agent-WHHfw5VX.js → toast.agent-B0MCsvdZ.js} +2 -2
- package/dist/_chunks/{tr-CMSs_Vgf.js → tr-OKUOuhMW.js} +2 -2
- package/dist/_chunks/{unit-converter-EUwO6QYq.js → unit-converter-CuXCXJhK.js} +46 -40
- package/dist/_chunks/{workflow-map-C3gB0FvB.js → workflow-map-BFNpzTiw.js} +2 -2
- package/dist/_chunks/{zh-CN-eXB-PFu4.js → zh-CN-De4zwEhx.js} +3 -3
- package/dist/agent-catalog.json +1 -1
- package/dist/brand/product-lockup/product-lockup.d.ts +16 -0
- package/dist/components/_shared/calendar-class-names.d.ts +8 -0
- package/dist/components/_shared/index.d.ts +2 -0
- package/dist/components/_shared/insert-result.d.ts +78 -6
- package/dist/components/address-autocomplete/address-autocomplete.d.ts +77 -0
- package/dist/components/address-autocomplete/index.d.ts +4 -0
- package/dist/components/address-autocomplete/index.js +6 -0
- package/dist/components/address-autocomplete/parse-address.d.ts +52 -0
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/bmi-calculator/bmi-calculator.d.ts +11 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/card/card.d.ts +1 -1
- package/dist/components/chart/chart.d.ts +10 -0
- package/dist/components/chart/index.js +1 -1
- package/dist/components/cycle-calculator/cycle-calculator.d.ts +12 -2
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/date-picker/date-picker.d.ts +0 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/date-range-picker.d.ts +0 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/date-time-picker.d.ts +0 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/due-date-calculator.d.ts +11 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +12 -2
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/header/header.d.ts +8 -0
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/kbd/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/matrix-rain/matrix-rain.d.ts +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +12 -2
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/public-header/public-header.d.ts +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/sign-document/sign-document.d.ts +12 -0
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/stat/stat.d.ts +1 -1
- package/dist/components/tab-bar/index.d.ts +3 -0
- package/dist/components/tab-bar/index.js +5 -0
- package/dist/components/tab-bar/tab-bar.d.ts +104 -0
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/unit-converter/unit-converter.d.ts +11 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +17 -0
- package/dist/i18n/locales/ar.js +18 -1
- package/dist/i18n/locales/de.d.ts +17 -0
- package/dist/i18n/locales/de.js +18 -1
- package/dist/i18n/locales/el.d.ts +17 -0
- package/dist/i18n/locales/el.js +18 -1
- package/dist/i18n/locales/en.d.ts +17 -0
- package/dist/i18n/locales/en.js +18 -1
- package/dist/i18n/locales/es.d.ts +17 -0
- package/dist/i18n/locales/es.js +18 -1
- package/dist/i18n/locales/fr.d.ts +17 -0
- package/dist/i18n/locales/fr.js +18 -1
- package/dist/i18n/locales/hi.d.ts +17 -0
- package/dist/i18n/locales/hi.js +18 -1
- package/dist/i18n/locales/it.d.ts +17 -0
- package/dist/i18n/locales/it.js +18 -1
- package/dist/i18n/locales/ja.d.ts +17 -0
- package/dist/i18n/locales/ja.js +18 -1
- package/dist/i18n/locales/nl.d.ts +17 -0
- package/dist/i18n/locales/nl.js +18 -1
- package/dist/i18n/locales/pl.d.ts +17 -0
- package/dist/i18n/locales/pl.js +18 -1
- package/dist/i18n/locales/pt.d.ts +17 -0
- package/dist/i18n/locales/pt.js +18 -1
- package/dist/i18n/locales/ro.d.ts +17 -0
- package/dist/i18n/locales/ro.js +18 -1
- package/dist/i18n/locales/ru.d.ts +17 -0
- package/dist/i18n/locales/ru.js +18 -1
- package/dist/i18n/locales/sq.d.ts +17 -0
- package/dist/i18n/locales/sq.js +18 -1
- package/dist/i18n/locales/sv.d.ts +17 -0
- package/dist/i18n/locales/sv.js +18 -1
- package/dist/i18n/locales/tr.d.ts +17 -0
- package/dist/i18n/locales/tr.js +18 -1
- package/dist/i18n/locales/zh.d.ts +17 -0
- package/dist/i18n/locales/zh.js +18 -1
- package/dist/index.js +605 -599
- package/dist/locales/ar.json +18 -1
- package/dist/locales/de.json +18 -1
- package/dist/locales/el.json +18 -1
- package/dist/locales/en.json +18 -1
- package/dist/locales/es.json +18 -1
- package/dist/locales/fr.json +18 -1
- package/dist/locales/hi.json +18 -1
- package/dist/locales/it.json +18 -1
- package/dist/locales/ja.json +18 -1
- package/dist/locales/nl.json +18 -1
- package/dist/locales/pl.json +18 -1
- package/dist/locales/pt.json +18 -1
- package/dist/locales/ro.json +18 -1
- package/dist/locales/ru.json +18 -1
- package/dist/locales/sq.json +18 -1
- package/dist/locales/sv.json +18 -1
- package/dist/locales/tr.json +18 -1
- package/dist/locales/zh.json +18 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +87 -4
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +1411 -2
- package/package.json +16 -1
- package/dist/_chunks/bmi-calculator-DnEr513I.js +0 -213
- package/dist/_chunks/cycle-calculator-B5Uj9QeT.js +0 -185
- package/dist/_chunks/insert-result-yJ0QavoN.js +0 -133
- package/dist/_chunks/map-view-qJLybrmN.js +0 -1850
- package/dist/_chunks/marketplace-app-shell-BlxVizU4.js +0 -296
- package/dist/_chunks/pregnancy-weight-gain-BCdi-JSv.js +0 -209
- package/dist/_chunks/radio-group-BcF92GEF.js +0 -152
- package/dist/_chunks/react-day-picker-CdtIiKjx.js +0 -3174
- package/dist/_chunks/sign-document-CpLDZ6Db.js +0 -316
- package/dist/_chunks/subDays-_T9YeKPX.js +0 -8
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as t, useRef as
|
|
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 {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
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
|
-
),
|
|
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:
|
|
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
|
-
),
|
|
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
|
-
),
|
|
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
|
-
),
|
|
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
|
-
},
|
|
158
|
-
const { t:
|
|
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
|
|
162
|
-
if (!
|
|
163
|
-
const
|
|
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
|
|
171
|
-
}, [d]), /* @__PURE__ */
|
|
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:
|
|
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:
|
|
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:
|
|
189
|
+
className: C({ variant: e, className: r }),
|
|
189
190
|
...i,
|
|
190
|
-
children: /* @__PURE__ */ s("div", { className:
|
|
191
|
+
children: /* @__PURE__ */ s("div", { className: S(), children: a })
|
|
191
192
|
}
|
|
192
193
|
)
|
|
193
194
|
] });
|
|
194
195
|
}
|
|
195
196
|
);
|
|
196
|
-
|
|
197
|
-
const
|
|
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
|
-
|
|
207
|
-
const
|
|
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: [
|
|
213
|
+
className: [z(), e].filter(Boolean).join(" "),
|
|
213
214
|
...r
|
|
214
215
|
}
|
|
215
216
|
));
|
|
216
|
-
|
|
217
|
-
const
|
|
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: [
|
|
223
|
+
className: [I(), e].filter(Boolean).join(" "),
|
|
223
224
|
...r
|
|
224
225
|
}
|
|
225
226
|
));
|
|
226
|
-
|
|
227
|
-
const
|
|
228
|
-
({ logo: e, children: r, href: a = "/", className: d,
|
|
229
|
-
"
|
|
230
|
-
{
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
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
|
-
|
|
250
|
-
function
|
|
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: [
|
|
254
|
+
className: [M(), e].filter(Boolean).join(" "),
|
|
260
255
|
...r
|
|
261
256
|
}
|
|
262
257
|
);
|
|
263
258
|
}
|
|
264
|
-
const
|
|
265
|
-
const { t: n } =
|
|
259
|
+
const P = t(({ onMenuOpen: e, "aria-label": r, className: a }, d) => {
|
|
260
|
+
const { t: n } = u();
|
|
266
261
|
return /* @__PURE__ */ s(
|
|
267
|
-
|
|
262
|
+
w,
|
|
268
263
|
{
|
|
269
264
|
ref: d,
|
|
270
265
|
className: ["ds:md:hidden", a].filter(Boolean).join(" "),
|
|
271
|
-
icon: /* @__PURE__ */ s(
|
|
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
|
-
|
|
278
|
-
const
|
|
279
|
-
const { t: i } =
|
|
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: [
|
|
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
|
-
|
|
286
|
+
q.displayName = "HeaderSkipLink";
|
|
292
287
|
export {
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
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-
|
|
297
|
+
//# sourceMappingURL=header-Ce1Br27u.js.map
|
|
@@ -4,7 +4,7 @@ import { c as N } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as E } from "react-i18next";
|
|
5
5
|
import { I as o } from "./icon-button-CKEOrN37.js";
|
|
6
6
|
import { I as M } from "./icon-button-group-C48khLE0.js";
|
|
7
|
-
import { D as r } from "./dropdown-menu-
|
|
7
|
+
import { D as r } from "./dropdown-menu-CUEXqKis.js";
|
|
8
8
|
import { S as R } from "./switch-BJ6HD3Mn.js";
|
|
9
9
|
import { c as v, a as H, L as _ } from "./locale-picker-D99UyZVJ.js";
|
|
10
10
|
import { u as O } from "./use-locale-BkCIHujH.js";
|
|
@@ -241,4 +241,4 @@ Y.displayName = "HeaderSettings";
|
|
|
241
241
|
export {
|
|
242
242
|
Y as H
|
|
243
243
|
};
|
|
244
|
-
//# sourceMappingURL=header-settings-
|
|
244
|
+
//# sourceMappingURL=header-settings-Bx0Biimh.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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-
|
|
433
|
+
//# sourceMappingURL=hi-Dj3oYd84.js.map
|